Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Resonance fork with latest Robyn #1

Open
wants to merge 1,359 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1359 commits
Select commit Hold shift + click to select a range
d5a7411
remove plotter functions from ridge_model_builder
alxlyj Oct 2, 2024
a7e3709
add convergence implementation
alxlyj Oct 2, 2024
42a2c96
remove old code from model_builder
alxlyj Oct 2, 2024
f1046b9
add new convergence code
alxlyj Oct 2, 2024
5062f62
update convergence code
alxlyj Oct 2, 2024
39619b7
remove data mapper from modeling
alxlyj Oct 2, 2024
a449677
rename files
alxlyj Oct 2, 2024
db95d56
Merge branch 'robynpy_release' into review_ready_impl_modeling_new
alxlyj Oct 2, 2024
9352511
update feature eng notebook
alxlyj Oct 2, 2024
a09e63e
update feature eng notebook
alxlyj Oct 2, 2024
22a6017
update modeling notebook
alxlyj Oct 2, 2024
e0458e7
Merge pull request #1067 from facebookexperimental/review_ready_impl_…
alxlyj Oct 2, 2024
afa48d7
add data mapper code
alxlyj Oct 1, 2024
0008b51
add data mapper src code
alxlyj Oct 1, 2024
f6ae085
update data mapper notebook
alxlyj Oct 1, 2024
440c667
update data mapper code
alxlyj Oct 4, 2024
1e845ae
update data mapper code
alxlyj Oct 4, 2024
9bf2304
update data mapper code initializations
alxlyj Oct 4, 2024
0f2e590
add calibration input validation implementation
shivkanthb Oct 4, 2024
b3baeab
visualizer classes
shivkanthb Oct 4, 2024
582b957
Delete visualizer.py
shivkanthb Oct 4, 2024
3f2392e
update data_mapper
alxlyj Oct 6, 2024
f3b8ad8
Update robyn_visualizer.py
shivkanthb Oct 7, 2024
2deb356
Update input_visualizer.py
shivkanthb Oct 7, 2024
70f4560
Merge pull request #1062 from facebookexperimental/feature/visualizat…
shivkanthb Oct 8, 2024
4f62566
Merge branch 'robynpy_release' of /~https://github.com/facebookexperime…
shivkanthb Oct 9, 2024
e4a2518
calibration_input_validation
shivkanthb Oct 9, 2024
9ae5df0
update code
alxlyj Oct 9, 2024
640812c
fix import
alxlyj Oct 9, 2024
f1a4aac
Merge pull request #1066 from facebookexperimental/feature/new_data_m…
alxlyj Oct 9, 2024
1395ac1
Merge pull request #1070 from facebookexperimental/feature/calibratio…
shivkanthb Oct 9, 2024
e5809b1
fix code and indents
alxlyj Oct 10, 2024
a76b970
remove print logs
alxlyj Oct 10, 2024
163a366
Merge pull request #1072 from facebookexperimental/feature/fix_data_m…
alxlyj Oct 10, 2024
c4a37d2
Updating pareto-optimizer until it generates plot data (#1075)
dhavalpatel624624 Oct 14, 2024
8ae158b
Added tranformations.py and moved logic from response_curve to transf…
Oct 16, 2024
394f869
first commit
alxlyj Oct 17, 2024
e9ce377
push fix to modeling code
alxlyj Oct 17, 2024
ab70674
update notebook code
alxlyj Oct 17, 2024
ecec62d
update notebook code
alxlyj Oct 17, 2024
a8d5f72
remove .env.sample
alxlyj Oct 17, 2024
fefd8e2
tidy up feature eng
alxlyj Oct 17, 2024
a22c8d1
tidy up feature eng
alxlyj Oct 17, 2024
636a238
update notebook
alxlyj Oct 17, 2024
5fd9b2d
Merge pull request #1077 from facebookexperimental/feature/fix_modeli…
alxlyj Oct 17, 2024
c8bb458
docs: update seeds param to explain how each trial increases seed by …
laresbernardo Oct 21, 2024
0116cf3
first commit
alxlyj Oct 21, 2024
f5943c8
update model_run calls for using Hyperparameters data class
alxlyj Oct 21, 2024
c7b1d59
update print to loggers
alxlyj Oct 21, 2024
bbde3e4
update prints to loggers for modelling
alxlyj Oct 21, 2024
6d08ba5
address slicing warning
alxlyj Oct 21, 2024
940970a
update notebooks, update train_size dtype
alxlyj Oct 21, 2024
afb6d96
Merge pull request #1079 from facebookexperimental/feaeture/fix_hyper…
sumane81 Oct 22, 2024
6e3bad4
Finalized transformations log and more of _generate_plot_data
Oct 22, 2024
0652241
first commit
alxlyj Oct 17, 2024
7441204
push fix to modeling code
alxlyj Oct 17, 2024
5f66aa8
update notebook code
alxlyj Oct 17, 2024
4ccbd4e
update notebook code
alxlyj Oct 17, 2024
04e52d1
remove .env.sample
alxlyj Oct 17, 2024
0d8730f
tidy up feature eng
alxlyj Oct 17, 2024
0b11141
tidy up feature eng
alxlyj Oct 17, 2024
6d749e5
update notebook
alxlyj Oct 17, 2024
91c4eab
first commit
alxlyj Oct 21, 2024
49812ce
update model_run calls for using Hyperparameters data class
alxlyj Oct 21, 2024
a8de04a
update print to loggers
alxlyj Oct 21, 2024
f9c2c3a
update prints to loggers for modelling
alxlyj Oct 21, 2024
9a23f81
address slicing warning
alxlyj Oct 21, 2024
ee3008b
update notebooks, update train_size dtype
alxlyj Oct 21, 2024
d2370bf
minor renaming
Oct 22, 2024
686a478
Adding model_run to robyn.py and updating tutorial1
sumane81 Oct 22, 2024
0dd1149
Merge pull request #1081 from facebookexperimental/feature/robyn_abst…
sumane81 Oct 22, 2024
b287729
fixed transformer and pareto_optimizer
Oct 22, 2024
3558719
updated notebook
Oct 22, 2024
4b9b5ce
Merge remote-tracking branch 'origin/robynpy_release' into robynpy_pa…
Oct 22, 2024
b1a6ef3
Adding feature engineering unit test cases and Bumping up robynpy pac…
sumane81 Oct 22, 2024
5b8c337
fixing simulated data file path
sumane81 Oct 22, 2024
1470bb4
Adding upload artifacts
sumane81 Oct 22, 2024
7315f29
Fixing typo
sumane81 Oct 22, 2024
e5daf03
Upload artifact fix
sumane81 Oct 22, 2024
1b55928
Output artifact action fixture
sumane81 Oct 22, 2024
46a5906
testing upload artifact
sumane81 Oct 22, 2024
eeb20cb
Uploading coverage artifact
sumane81 Oct 22, 2024
5250916
Generating html coverage
sumane81 Oct 22, 2024
893426c
Fixed html coverage artifact
sumane81 Oct 22, 2024
8f66a7a
Removing support for 3.9
sumane81 Oct 22, 2024
9741c53
Changes that provide 99% accuracy with pareto_optimizer
Oct 23, 2024
5287d4e
fixed lint errors and cleaned up notebook
Oct 23, 2024
589ec66
build failure fixes
Oct 23, 2024
2070461
Merge pull request #1083 from facebookexperimental/feature/calibration
sumane81 Oct 23, 2024
ef23f18
Merge pull request #1080 from facebookexperimental/robynpy_pareto_plo…
sumane81 Oct 24, 2024
f280456
feature: add code for calibration (#1084)
alxlyj Oct 25, 2024
a1a5679
cluster builder interface and updated output (#1089)
dhavalpatel624624 Oct 25, 2024
9328e5d
Add hillcalculator test
Oct 29, 2024
df0c07b
Updating module init file with logging config
sumane81 Oct 29, 2024
6941c06
Update __init__.py
sumane81 Oct 29, 2024
5158359
Merge pull request #1097 from facebookexperimental/loggingconfigupdate
sumane81 Oct 30, 2024
6f0df72
Add tests for response_curve
Oct 30, 2024
56325ea
Fix code as slice (a,b) a is inclusive, b is exclusive
Oct 30, 2024
953e07b
Updating logging config
sumane81 Oct 30, 2024
3811ef5
[feature/experimental] add outputcollect to data mapper script util (…
alxlyj Oct 30, 2024
dc9d61d
[feature] add allocator (#1088)
alxlyj Oct 31, 2024
cb08ab3
Moving tutorials inside robyn so it gets included in PyPi package
sumane81 Oct 31, 2024
3fe97cc
One pager interface
sumalreddy17 Oct 29, 2024
59f955d
One page visualizer
sumalreddy17 Oct 31, 2024
8829428
fix One page visualizer
sumalreddy17 Oct 31, 2024
28fa788
Removed unused imports and move one pager under reporting.
sumalreddy17 Oct 31, 2024
7999f7f
Removed additional empty line and added a todo
sumalreddy17 Oct 31, 2024
6304508
Minor formatting changes
sumalreddy17 Oct 31, 2024
bf2b2e2
Resolve merge conflicts and addressed fiel name change
sumalreddy17 Oct 31, 2024
78d19b4
Merge branch 'loggingconfigupdate' of /~https://github.com/facebookexpe…
sumane81 Oct 31, 2024
83baa42
Merge pull request #1096 from facebookexperimental/feature_export_one…
sumalreddy17 Oct 31, 2024
d40ac70
Putting back tutorial6
sumane81 Oct 31, 2024
0241756
Fixing resource path in unit test case
sumane81 Nov 1, 2024
2eaf970
Merge pull request #1103 from facebookexperimental/loggingconfigupdate
sumane81 Nov 1, 2024
c17ded5
[fix] plot_data_collect on paretoresults (#1105)
alxlyj Nov 4, 2024
dd6ddb6
Fix bug that thrown an error if data_range was a list.
Nov 4, 2024
0986bb6
Commit for running test workflow
Nov 4, 2024
cee1740
Merge pull request #1101 from facebookexperimental/test/unit_tests_fo…
Marco-Premier Nov 4, 2024
ddd271a
added clustering tutorial and changed model entities (#1106)
dhavalpatel624624 Nov 5, 2024
2cc846e
Robynpy pareto cleanup with 100% accuracy now
dhavalpatel624624 Nov 5, 2024
f2753d8
waterfall plot implementation
sumalreddy17 Nov 5, 2024
cca117f
Add minor fix
sumalreddy17 Nov 5, 2024
da88895
Robyn one pager: fitted_vs_actual plot implementation
sumalreddy17 Nov 6, 2024
b881040
[test] add feature eng unit test and refactor unit test dir. (#1110)
alxlyj Nov 6, 2024
f08cbb8
Robyn one pager: generate_diagnostic_plot plot implementation
sumalreddy17 Nov 6, 2024
e3bd5e2
Merge pull request #1095 from facebookexperimental/test/add_unit_test…
Marco-Premier Nov 6, 2024
06f3ed8
Cluster_builder implementation (#1108)
dhavalpatel624624 Nov 6, 2024
e6c6a5a
Update convergence.py
sumane81 Nov 6, 2024
c43727b
Robyn one pager: Ad stock and immediate_vs_carryover implementation
sumalreddy17 Nov 6, 2024
182b989
Merge pull request #1116 from facebookexperimental/logging_1
sumane81 Nov 6, 2024
20ef796
[refactor] refactor modeling code (#1115)
alxlyj Nov 7, 2024
a80dfe6
generated base_visualizer and allocator_plotter using ai-codegen (#1114)
Marco-Premier Nov 7, 2024
bb39e92
Merge pull request #1113 from facebookexperimental/generate_diagnosti…
sumalreddy17 Nov 7, 2024
ca1b8ce
Merge branch 'robynpy_release' into waterfall_plot
sumalreddy17 Nov 7, 2024
a3dc442
fix lint error
sumalreddy17 Nov 7, 2024
e25e758
Merge pull request #1111 from facebookexperimental/waterfall_plot
sumalreddy17 Nov 7, 2024
023f346
Merge branch 'robynpy_release' into generate_fitted_vs_actual
sumalreddy17 Nov 7, 2024
67a2ed7
Merge pull request #1112 from facebookexperimental/generate_fitted_vs…
sumalreddy17 Nov 7, 2024
b927653
Merge branch 'robynpy_release' into ad_stock
sumalreddy17 Nov 7, 2024
613cbe5
Address review comments
sumalreddy17 Nov 7, 2024
6cb6556
Merge pull request #1117 from facebookexperimental/ad_stock
sumalreddy17 Nov 7, 2024
8e79c92
Robyn one pager: generate_spend_effect_comparison plot implementation
sumalreddy17 Nov 7, 2024
a007162
Remove debug logs
sumalreddy17 Nov 7, 2024
9954858
Merge pull request #1122 from facebookexperimental/spend_effect
sumalreddy17 Nov 8, 2024
32b938f
new integration fixes (#1119)
alxlyj Nov 8, 2024
bdfb1e1
Robyn one pager: Response curve plot implementation
sumalreddy17 Nov 8, 2024
b48df22
Robynpy clustering plots implementation (#1120)
dhavalpatel624624 Nov 8, 2024
1f3ddcf
Merge pull request #1123 from facebookexperimental/response_curve
sumalreddy17 Nov 8, 2024
b0aa552
[feature] update robyn apis (#1125)
alxlyj Nov 8, 2024
6a70206
Removed default value of cores
sumane81 Nov 8, 2024
98af284
Added Common Utils
sumane81 Nov 8, 2024
2ee0d57
Updated cores
sumane81 Nov 8, 2024
0305036
Merge pull request #1126 from facebookexperimental/cores_update
sumane81 Nov 8, 2024
6bc54e9
Added logging
sumane81 Nov 8, 2024
f3eff94
Added AI generated logging to most classes
sumane81 Nov 9, 2024
ad2dc98
Fixed errors related to auto generated logging
sumane81 Nov 10, 2024
757c124
Adding back _hill_function due to unit test failure
sumane81 Nov 10, 2024
7b66d09
Added logging to budget_allocator
sumane81 Nov 10, 2024
71c643d
Added logging to cluster_builder
sumane81 Nov 11, 2024
acb3308
Merge pull request #1127 from facebookexperimental/logging_1
sumane81 Nov 11, 2024
954ae43
Robyn one pager: bootstrap plot implementation (#1118)
sumalreddy17 Nov 11, 2024
5dd6080
One pager reporter initializing viz and calling plot functions. (#1124)
sumalreddy17 Nov 11, 2024
82b5137
Added logging to visualizer components
sumane81 Nov 12, 2024
ec87b24
fixed bug
sumane81 Nov 12, 2024
171e05d
Robynpy pareto bugfix (#1128)
dhavalpatel624624 Nov 12, 2024
4910467
Delete allocator_visualizer_original.py
sumane81 Nov 12, 2024
2e42934
Delete robyn_visualizer.py
sumane81 Nov 12, 2024
cbfc283
Merge pull request #1131 from facebookexperimental/viz_logging
sumane81 Nov 12, 2024
943af54
changed solID column names to sol_id (#1129)
dhavalpatel624624 Nov 12, 2024
00400af
one pager end to end integration.
sumalreddy17 Nov 13, 2024
bf67b16
Minor fixes
sumalreddy17 Nov 13, 2024
5177336
[integration] re-run e2e integration through modeling (#1134)
alxlyj Nov 13, 2024
0f0f78a
clustering Plot fixes with better accuracy and Pareto minor change (#…
dhavalpatel624624 Nov 13, 2024
ca170bc
fixed logging level inside exception
sumalreddy17 Nov 13, 2024
b657644
Merge pull request #1133 from facebookexperimental/one_pager_final
sumalreddy17 Nov 13, 2024
ede2aa8
enhance OnePagerReporter with PlotType enum and validation
sumalreddy17 Nov 13, 2024
e57eb97
Addressing comments
sumalreddy17 Nov 14, 2024
c839103
dynamic placing of plots.
sumalreddy17 Nov 14, 2024
3902c54
Adding ToDo
sumalreddy17 Nov 14, 2024
cb6a4a7
Merge pull request #1137 from facebookexperimental/error_handling
sumalreddy17 Nov 14, 2024
5f963b7
Integrated pareto clustering and visualizers (#1139)
dhavalpatel624624 Nov 14, 2024
d2452e8
[integration] Integration/e2e robyn all (#1138)
alxlyj Nov 15, 2024
09e0b7f
Update base_visualizer.py
sumane81 Nov 16, 2024
997c7cd
Pareto e2e allocator (#1142)
dhavalpatel624624 Nov 16, 2024
0178c0b
Merge pull request #1143 from facebookexperimental/feature/base_visua…
sumane81 Nov 16, 2024
5eab567
Refactored robyn.py with visualizer call
sumane81 Nov 16, 2024
bc47db6
Merge pull request #1145 from facebookexperimental/refactor/robyn_api
sumane81 Nov 16, 2024
4257b04
added plot_all in all visualizers and common display functionality to…
sumane81 Nov 18, 2024
648d48d
Merge pull request #1146 from facebookexperimental/refactor/plot_all
sumane81 Nov 18, 2024
86d1c98
Pass featurized mmm data to FeaturePlotter instance creation.
sumalreddy17 Nov 18, 2024
96c0358
Merge pull request #1149 from facebookexperimental/viz_accuracy
sumalreddy17 Nov 18, 2024
8c46a29
Robynpy bugfix graphs (#1150)
dhavalpatel624624 Nov 18, 2024
6ef7fdf
[accuracy] fix accuracies on input and modeling. (#1151)
alxlyj Nov 19, 2024
f8e7a8c
added formatting with black-formatter (#1153)
dhavalpatel624624 Nov 20, 2024
3b048d7
test allocator changes
alxlyj Nov 20, 2024
c50c5cb
Fix spend effect graph
sumalreddy17 Nov 20, 2024
1611ad8
Added offset to move labels right of dots
sumalreddy17 Nov 20, 2024
a0bbbc2
More fixes for one pager
sumalreddy17 Nov 20, 2024
924a3d3
Further fixes to match accuracy
sumalreddy17 Nov 20, 2024
40d6122
update allocator notebooks
alxlyj Nov 20, 2024
fc1f136
allocator accuract fixes
alxlyj Nov 20, 2024
5bdbd6a
working code for allocator
alxlyj Nov 20, 2024
98cb63e
fix vertical lines in fitted vs actual
sumalreddy17 Nov 21, 2024
cb60234
improved allocator algorithms
alxlyj Nov 21, 2024
fa44120
improve allocator accuracy
alxlyj Nov 21, 2024
435242a
allocator accuracy fixes
alxlyj Nov 21, 2024
b35dc07
update plots
alxlyj Nov 21, 2024
bb61a67
update robynpy calls
alxlyj Nov 21, 2024
6b0cff9
cleanup deprecated files
alxlyj Nov 21, 2024
e644ce4
Merge pull request #1155 from facebookexperimental/accuracy/allocator…
sumane81 Nov 21, 2024
44ddabc
fix the accuracy for alll 8 plots in one pager
sumalreddy17 Nov 21, 2024
c6f879b
[fixes] update e2e notebooks, improve accuracy for allocator scenario…
alxlyj Nov 21, 2024
158668f
Merge branch 'robynpy_release' into sort_one_pager_graph_labelling
sumalreddy17 Nov 21, 2024
6c36bf3
Verify formatting.
sumalreddy17 Nov 21, 2024
b295b14
Clean up and reformat
sumalreddy17 Nov 21, 2024
0e601a0
Merge pull request #1154 from facebookexperimental/sort_one_pager_gra…
sumalreddy17 Nov 22, 2024
5e15e95
extract model metrics and optimize the one pager code (#1158)
sumalreddy17 Nov 22, 2024
9b75fc2
Robyn one pager end to end flow for tutorial 1
sumalreddy17 Nov 22, 2024
d832ea8
Format files
sumalreddy17 Nov 22, 2024
b9c7497
Allow user to pass in a single solution id from client interface layer
sumalreddy17 Nov 22, 2024
c19636e
Address comments
sumalreddy17 Nov 22, 2024
f0e6322
Merge pull request #1160 from facebookexperimental/onepager_e2e
sumalreddy17 Nov 22, 2024
209513b
Added 4 new graphs to Pareto Optimizer + bug fixes (#1159)
dhavalpatel624624 Nov 22, 2024
9332be4
close the pyplot before return
sumalreddy17 Nov 22, 2024
ad0af90
Merge pull request #1163 from facebookexperimental/fix_spend_exposure…
sumalreddy17 Nov 22, 2024
24665fd
Update/requirements.txt (#1162)
alxlyj Nov 22, 2024
78423ff
[fix] accuracy e2e (#1168)
alxlyj Dec 2, 2024
dc8e309
refactored pareto_optimizer code (#1171)
dhavalpatel624624 Dec 4, 2024
72c9f38
change the order of one pager plots (#1172)
sumalreddy17 Dec 4, 2024
634980b
[switch] ridge modeling version to better match convergence for initi…
alxlyj Dec 5, 2024
0b98a2f
Code cleanup and proper logging for pareto and clustering (#1180)
dhavalpatel624624 Dec 6, 2024
7c020a1
[accuracy] modeling changes for calculate_decomp_spend_dist (#1175)
alxlyj Dec 6, 2024
f8a0c90
Robynpy readme updates (#1169)
dhavalpatel624624 Dec 6, 2024
b6c4d63
Moving tutorials into tests and organizing tests
sumane81 Dec 6, 2024
64a1f25
Merge pull request #1178 from facebookexperimental/tutorials_cleanup
sumane81 Dec 6, 2024
14e6713
[cleanup] cleanup loggers for console/notebook (#1181)
alxlyj Dec 6, 2024
7ff5ccc
update colab notebooks (#1182)
alxlyj Dec 7, 2024
1cbe9e8
Bumping up python release to 0.1.1
sumane81 Dec 9, 2024
988913d
Merge pull request #1185 from facebookexperimental/realease_0.1.1
sumane81 Dec 9, 2024
368806e
Merge pull request #1183 from facebookexperimental/robynpy_release
sumane81 Dec 9, 2024
65f9382
doc: update main readme
gufengzhou Dec 9, 2024
a5ce9d9
Exposure fitting, curve calibration & reach and frequency allocator (…
gufengzhou Dec 19, 2024
5d16e98
build(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 in /websi…
dependabot[bot] Dec 20, 2024
d0b4e22
Bump nanoid from 3.3.6 to 3.3.8 in /website (#1188)
dependabot[bot] Dec 20, 2024
c925201
fix: adstock constant warning on annotate (#1192)
laresbernardo Dec 20, 2024
18c3d2f
fix: min max bug when calibration returns NaN + underlying linetype d…
laresbernardo Dec 23, 2024
7a0de39
fix: prev versions' response curves and mean spends per channel on on…
laresbernardo Jan 8, 2025
597fb1a
fix: plot error with paid_media_spends #1204
gufengzhou Jan 21, 2025
03752e9
fix: media var selection error #1191
gufengzhou Jan 21, 2025
98a2261
fix: modeling window coverage considers all actual dates data + legac…
laresbernardo Jan 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.git
.gitignore
node_modules
npm-debug.log
Dockerfile*
docker-compose*
README.md
LICENSE
.vscode

11 changes: 6 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
## Project Robyn

## Describe issue
Describe your issue and provide error message
Describe your issue and provide warnings and error messages.

## Provide dummy data & model configuration
Issues are often related to custom input data that is difficult to debug without. If necessary, please modify your data to mask real values and share a dataset that is able to reproduce the issue. Please also share your model configuration.
## Provide reproducible example
Issues are often related to custom input data that is difficult to debug without. If necessary, please modify your data to mask real values and share a dataset that is able to reproduce the issue. Please also share your model configuration and exported JSON files if available.

## Environment & Robyn version
R version (R --version)
Please make sure you're using the latest Robyn version
Make sure you're using the latest Robyn version before you post an issue.
- Check and share Robyn version: `packageVersion("Robyn")`
- R version (Please, check and share: `sessionInfo()` or `R.version$version.string`)
28 changes: 11 additions & 17 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
# Project Robyn
## Project Robyn

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes # (issue)

# Type of change
## Type of change
- fix: Bug fix (non-breaking change which fixes an issue)
- feat: New feature (non-breaking change which adds functionality)
- docs: API change with a documentation update
- test: Additional test coverage
- reformat: Code cleanup, recoding or reformating code

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- API change with a documentation update
- Additional test coverage
- Code cleanup or just keeping up with the latest Rustc nightly

# How Has This Been Tested?

Checklist:

- Fork the repo and create your branch from master.
- If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
## How Has This Been Tested?
- Fork the repo and create your branch from master (latest dev version).
- If you've changed docuemntation, run `devtools::document()`. Should update .Rd files.
- Ensure all tests pass, run `devtools::check()`. Should have no notes, no warning, no errors.
- Make sure your code lints.
63 changes: 63 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
# A continuous integration (CI) workflow to build and test Robyn Python project

name: Robyn Python application

on:
push:
branches: ['robynpy_release']
pull_request:
branches: ['robynpy_release']

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ['3.10']

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: updating PATH to enable importing robyn modules
run: |
echo "PYTHONPATH=$PYTHONPATH:$(pwd)/python/src" >> $GITHUB_ENV

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov
if [ -f python/requirements.txt ]; then pip install -r python/requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=./robyn_api/*.py
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=./robyn_api/*.py
- name: Test with pytest. Enable this once first set of tests are written
run: |
pytest ./python/tests --doctest-modules --junitxml=junit/test-results.xml --cov=robyn --cov-report=html
- name: 'Upload Unit Test Results'
uses: actions/upload-artifact@v4
with:
name: robynpy-output-artifact
path: junit/test-results.xml
retention-days: 30
- name: Upload Coverage Report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: htmlcov
retention-days: 30
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '16.x'
- name: Test Build
run: |
if [ -e yarn.lock ]; then
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '16.x'
- uses: webfactory/ssh-agent@v0.5.0
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
Expand Down
50 changes: 50 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,54 @@
.DS_Store
.Rproj.user
.Rhistory
.venv/
robynpy.egg-info/
node_modules/
RobynApp.Rcheck/00_pkg_src/RobynApp/R/ui.R
RobynApp.Rcheck/00_pkg_src/RobynApp/README.md
RobynApp.Rcheck/00check.log
RobynApp.Rcheck/00install.out
RobynApp.Rcheck/R_check_bin/R
RobynApp.Rcheck/R_check_bin/Rscript
RobynApp.Rcheck/RobynApp/DESCRIPTION
RobynApp.Rcheck/RobynApp/help/aliases.rds
RobynApp.Rcheck/RobynApp/help/AnIndex
RobynApp.Rcheck/RobynApp/help/figures/logo.png
RobynApp.Rcheck/RobynApp/help/paths.rds
RobynApp.Rcheck/RobynApp/help/RobynApp.rdb
RobynApp.Rcheck/RobynApp/help/RobynApp.rdx
RobynApp.Rcheck/RobynApp/html/00Index.html
RobynApp.Rcheck/RobynApp/html/R.css
RobynApp.Rcheck/RobynApp/INDEX
RobynApp.Rcheck/RobynApp/LICENSE
RobynApp.Rcheck/RobynApp/Meta/features.rds
RobynApp.Rcheck/RobynApp/Meta/hsearch.rds
RobynApp.Rcheck/RobynApp/Meta/links.rds
RobynApp.Rcheck/RobynApp/Meta/nsInfo.rds
RobynApp.Rcheck/RobynApp/Meta/package.rds
RobynApp.Rcheck/RobynApp/Meta/Rd.rds
RobynApp.Rcheck/RobynApp/NAMESPACE
RobynApp.Rcheck/RobynApp/R/RobynApp
RobynApp.Rcheck/RobynApp/R/RobynApp.rdb
RobynApp.Rcheck/RobynApp/R/RobynApp.rdx
RobynApp_1.0.0.tar.gz
Robyn_Fork.Rproj
python/src/tutorials/demo.py
python/.venv
python/**/.venv
python/dist
python/**/__pycache__
python/.vscode
python/src/robynpy.egg-info*
python/oldportedcode
python/src/tutorials/mytestenv
*.log
python/src/tutorials/test_modeling.py
python/src/tutorials/data/*
python/src/tutorials/test_modeling.py
python/src/tutorials/data/R/*
python/src/tutorials/data/*
*.pkl
python/src/robyn/_deprecate/*
python/src/robyn/tutorials/output/*
python/src/robyn/debug/*
10 changes: 10 additions & 0 deletions .idea/Robyn.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading