AI4SIM / model-collection

This project contains a collection of deep learning models developed by the AI4Sim team with various partners. This is structured on the basis of use-cases providing canonical PyTorch Lightning pipelines allowing to train neural network models that are able to surrogate various physical processes.
Apache License 2.0
16 stars 5 forks source link

SBRA-370: Unit tests for the weather forcast use case #16

Closed A669015 closed 2 years ago

A669015 commented 2 years ago

This PR adds a unit test suite to cover the code of the weather forcast use case.

Should be rebased on master before merging.

github-actions[bot] commented 2 years ago

Coverage report for weather_forecast/gwd/ use-case

File Coverage Missing
All files 94% :white_check_mark:
data.py 98% :white_check_mark: 163
models.py 90% :white_check_mark: 40-43 96 106
trainer.py 88% :white_check_mark: 74-75 79

Minimum allowed coverage is 80%

Generated by :monkey: cobertura-action against e816e6586d6c1941a94e9937166ef3fa5557a06b

github-actions[bot] commented 2 years ago

Coverage report for combustion/gnns/ use-case

File Coverage Missing
All files 87% :white_check_mark:
data.py 94% :white_check_mark: 84 149 194 206
models.py 68% :x: 85 116-132 159-163 213-217 238-242
plotters.py 98% :white_check_mark: 50-51
trainer.py 77% :x: 69-74 78-79

Minimum allowed coverage is 80%

Generated by :monkey: cobertura-action against e816e6586d6c1941a94e9937166ef3fa5557a06b

github-actions[bot] commented 2 years ago

Coverage report for combustion/unets/ use-case

File Coverage Missing
All files 93% :white_check_mark:
data.py 93% :white_check_mark: 61 72 74 113 116
models.py 87% :white_check_mark: 41-42 45 48
trainer.py 77% :x: 59-61 65-66 69

Minimum allowed coverage is 80%

Generated by :monkey: cobertura-action against e816e6586d6c1941a94e9937166ef3fa5557a06b