Add a script to prerun a model with data from the ADR - #484
Open
r-ash wants to merge 5 commits into
Open
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #484 +/- ##
==========================================
- Coverage 98.47% 98.47% -0.01%
==========================================
Files 29 29
Lines 2365 2364 -1
==========================================
- Hits 2329 2328 -1
Misses 36 36 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will add 2 scripts
run_and_push_to_serverwhich will fit a model and calibration from a payload spec and then push the results to a specified server using the prerun feature saving the result as an output zipfit_and_pushwhich calls the first script which will read from a config json, there are two examples here which willWe want this because we want an easy way as a developer of the web app to be able to get a model fit into the app. This PR will remove the need to manually load data in and then set model options through the UI and fit the model.
Eventually I want to have some precanned data available in the app but I think for now this will be a good start, and will be something we can use later on to run for any country we don't have precanned data for
Expect the way you will run this from hint is