Commit 3615575
committed
Integrate kpi-calculator from PyPI
- Add kpi-calculator>=0.4.0a2 dependency
- Use KpiManager.load_from_simulator and build_esdl_string_with_kpis
- Use logger.exception for KPI failure handling
- Fix log message: "Results will be returned without KPIs"
- Use ProtobufDict type annotation in integration test
- Update energy KPI assertion to match actual simulator output1 parent d30f10d commit 3615575
9 files changed
Lines changed: 598 additions & 148 deletions
File tree
- ci/linux
- src/simulator_worker
- testdata
- unit_test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
0 commit comments