EnergySystemsModellingLab / EnergySystemsModellingLab/MUSE_OS

Better unit tests for model outputs

Open
#422 0 comments 0 reactions 0 assignees View on GitHub
infrastructure
Dominant language
Python
Stars
29
Forks
12
PR merge metrics
No merged PRs in 30d

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 `default` model), 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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.