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-362: Checkstyle gnn #17

Closed A669015 closed 2 years ago

A669015 commented 2 years ago

This PR fixes the flake8 issues for the GNN use case. A flake8 config file has been added at the root level (in the tool folder), and the nox target uses it.

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: 157
models.py 89% :white_check_mark: 37-40 90 99
trainer.py 88% :white_check_mark: 75-76 80

Minimum allowed coverage is 80%

Generated by :monkey: cobertura-action against 5e1180fb74df98652572d966b40ea8d8bc4f94b6

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 5e1180fb74df98652572d966b40ea8d8bc4f94b6

github-actions[bot] commented 2 years ago

Coverage report for combustion/gnns/ use-case

File Coverage Missing
All files 88% :white_check_mark:
data.py 97% :white_check_mark: 85 151
models.py 68% :x: 85 116-131 156-160 210-214 234-238
plotters.py 98% :white_check_mark: 55-56
trainer.py 76% :x: 71-76 80-81

Minimum allowed coverage is 80%

Generated by :monkey: cobertura-action against 5e1180fb74df98652572d966b40ea8d8bc4f94b6