We should avoid this by just passing the whole dataset directly, like model.math_documentation.inputs does. This also hints at a need for better functions to update stuff in the backend and ensure that it also does not fall out of sync with user updates to the data.
Ok, so turns out that this is only partially true. We only copy the configuration, and create a shallow copy of model_data. This has other issues, but it should be a separate issue.
What happened?
This issue may be related to #616
Calliope is duplicating
model._model_data
in the backend, leading to sync issues and unexpected behavior!We should avoid this by just passing the whole dataset directly, like
model.math_documentation.inputs
does. This also hints at a need for better functions to update stuff in the backend and ensure that it also does not fall out of sync with user updates to the data.Which operating systems have you used?
Version
v0.7
Relevant log output
No response