AdaptiveStressTestingToolbox
AdaptiveStressTestingToolbox copied to clipboard
Automatic transmission MATLAB/Simulink example
This PR adds the automatic transmission (AT) Simulink example and the random search solver.
Codecov Report
Merging #39 into master will decrease coverage by
7.01%. The diff coverage is15.17%.
@@ Coverage Diff @@
## master #39 +/- ##
==========================================
- Coverage 90.07% 83.06% -7.02%
==========================================
Files 53 58 +5
Lines 3154 3490 +336
Branches 379 434 +55
==========================================
+ Hits 2841 2899 +58
- Misses 197 476 +279
+ Partials 116 115 -1
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/ast_toolbox/simulators/example_at_simulator.py | 2.15% <2.15%> (ø) |
|
| src/ast_toolbox/algos/random_search.py | 17.30% <17.30%> (ø) |
|
| src/ast_toolbox/rewards/example_at_reward.py | 26.66% <26.66%> (ø) |
|
| src/ast_toolbox/spaces/example_at_spaces.py | 29.16% <29.16%> (ø) |
|
| src/ast_toolbox/policies/random_policy.py | 37.25% <37.25%> (ø) |
|
| src/ast_toolbox/algos/__init__.py | 90.00% <100.00%> (+1.11%) |
:arrow_up: |
| src/ast_toolbox/policies/__init__.py | 100.00% <100.00%> (ø) |
|
| src/ast_toolbox/rewards/__init__.py | 100.00% <100.00%> (ø) |
|
| src/ast_toolbox/simulators/__init__.py | 100.00% <100.00%> (ø) |
|
| src/ast_toolbox/spaces/__init__.py | 100.00% <100.00%> (ø) |
|
| ... and 6 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 24882e4...ec74e50. Read the comment docs.
@mossr Can you add unit testing to bring the codecov up to 90%? Also docstrings to whatever files you are adding. Check out the contributions guide for more information