Optimize states (#256)

* optimization states for AC, DC and IDLE now similar probab. Also AC states taken from config. Maybe a single config option for AC and E-Auto States is sensefull.
 * Ruff
 * test_class_optimize: Update testdata
 * Write pdf and json to test/testdata/new.... so it can be analyzed
   manually or just copied as new expected result.
 * workflow: Upload pytest optimization result artifacts (pdf, json)

---------

Co-authored-by: Andreas <drbacke@gmx.de>
This commit is contained in:
Dominique Lasserre
2024-12-16 13:37:16 +01:00
committed by GitHub
parent a5e637ab4c
commit 79ecf71353
8 changed files with 842 additions and 871 deletions

View File

@@ -27,3 +27,9 @@ jobs:
run: |
pip install -e .
python -m pytest --full-run -vs --cov src --cov-report term-missing
- name: Upload test artifacts
uses: actions/upload-artifact@v4
with:
name: optimize-results
path: tests/testdata/new_optimize_result*