Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #442 +/- ##
==========================================
- Coverage 95.31% 86.51% -8.81%
==========================================
Files 31 31
Lines 4272 4272
Branches 4272 4272
==========================================
- Hits 4072 3696 -376
- Misses 105 497 +392
+ Partials 95 79 -16 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I think this will make things a bit tidier. (We currently have a separate Side note: for
Agent regions are represented with a
Ok cool. I think this is the right way to do things for now. |
Could do. I guess in future we may want decision rules to change over time, which would need its own table and more consistency checks.
The default should be "all" if nothing is specified for region. Also would be good to accept "ALL".
Where year is not specified we should assume it applies to all years. And yes could also accept "ALL"
As per the data schema, we should also accept nothing being entered for year, with the assumption that the value applies to all years. This behaviour would need to be documented. We should also check the user has not entered conflicting values for any year.
Yes at region level for now. But note that when commodity is tradable between regions this will need to be different (as per MUSE1)
As above, can we allow blank for year which implies all years?
For lexico I think we also only allow only two levels for now. primary and secondary.
As above, no entry means all years?
Yes, and document this. |
|
Thanks @ahawkes and @alexdewar for the comments! |
Description
Reworks the example model to fit the new schema provided by @ahawkes, particularly in relation to agent parameters. See schema
Obviously this cannot be merged yet as the example model will not run. The plan is to build on top of this branch, and merge into main only when everything is ready (or sufficiently ready so that the example model runs without error).
A couple of questions/comments:
To help guide development, I'm also listing the validation steps that I think we'll need to perform on the data:
agents.csv
agent_parameters.csv
agent_commodities.csv
agent_cost_limits.csv
agent_objectives.csv
agent_search_space.csv