Better unit tests for model outputs
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by inventorying every model output and the example models available, including the default model. Add unit coverage for successful execution, expected column titles, and relevant validity checks such as zero or NaN values, then run the complete output test suite to confirm all outputs are covered.
Written by the indexing model from the issue text.
Description
There are several issues with the outputs which have gone under the radar. I think one reason for this is that the test coverage for the outputs is poor, and the example models only use a small subset of the tests.
We need to add unit tests for every output, and specifically check:
- whether the output runs successfully with an example model (e.g. the
defaultmodel), or several example models - check that the column titles are as expected
- a few other checks where relevant (e.g. no zero or nan values)
- Dominant language
- Python
- Stars
- 29
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EnergySystemsModellingLab/MUSE_OS
-
EnergySystemsModellingLab/MUSE_OS#850 · 1 assignee ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
bug
EnergySystemsModellingLab/MUSE_OS#804 · 2 comments · 3 assignees ·
-
bug
EnergySystemsModellingLab/MUSE_OS#795 · 5 comments · 2 assignees ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in EnergySystemsModellingLab/MUSE_OS
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100