summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorLines
2021-03-01Update testsDaniel Friesel-18/+20
2021-03-01tests: update for file renames in model dbDaniel Friesel-2/+2
2021-02-26refactor param_info, show splits in analyze-archive outputDaniel Friesel-25/+25
2021-02-26add more complex decisiontree testDaniel Friesel-19/+586
2021-02-26add simple decisiontree testDaniel Friesel-2/+155
2021-02-26test_timingharness: disable decisiontrees for nrf24 testDaniel Friesel-0/+3
2021-02-25Adjust ParamStats interface in preparation for decision-tree modelsDaniel Friesel-9/+9
2021-02-18refactor model generation from Analytic/PTAModel into ModelAttribute classDaniel Friesel-48/+91
Iteration over states/transitions and model attributes is no longer hardcoded into most model generation code. This should make support for decision trees and sub-states much easier.
2021-01-08bin/analyze-archive, tests: use transition power, not energyDaniel Friesel-32/+158
2020-12-03use common energytrace loader codeDaniel Friesel-12/+12
this also fixes a nasty off-by-one in the barcode loader (now _load_energytrace): wrong: interval_start_timestamp = data[:-1, 0] * 1e-6 correct: interval_start_timestamp = data[1:, 0] * 1e-6
2020-12-03add tests for energytrace with timer/laDaniel Friesel-0/+134
2020-07-15Add PTAModel validation and crossvalidation testDaniel Friesel-7/+458
2020-07-06Rename dfatool.dfatool to dfatool.loaderDaniel Friesel-2/+2
2020-07-06Move ParamFit, PTAModel, AnalyticModel to model.py moduleDaniel Friesel-5/+7
2020-07-06make test_parameters work with NumPy <= 1.16Daniel Friesel-5/+10
The RNG has been introduced in NumPy 1.17, which is not yet available in DebianStable
2020-07-03Add param test for inter-param dependencyDaniel Friesel-16/+18
2020-07-03Add more complex parameter modeling testsDaniel Friesel-0/+127
2020-07-03blacken more codeDaniel Friesel-21/+7
2020-07-03AnalyticFunction: Remove _ prefix from public attributesDaniel Friesel-26/+26
2020-07-03test_parameters: Test function generationDaniel Friesel-2/+44
2020-07-03move get_fit_result to ParamFit classDaniel Friesel-1/+1
2020-07-03add a linear ParamFit testDaniel Friesel-0/+52
2020-07-02blacken test codeDaniel Friesel-704/+1089
2020-07-02Remove verbose arg from testsDaniel Friesel-18/+18
2020-04-29Use relative module paths. PYTHONPATH=lib bin/... is no longer neededDaniel Friesel-6/+7
2019-12-11move PTA simulation result to separate classDaniel Friesel-40/+40
2019-12-11test_pta: we're testing energy, not powerDaniel Friesel-16/+16
2019-12-10update codegen + test for PTA attribute changesDaniel Friesel-10/+10
2019-11-27PTA: Add breadth-first searchDaniel Friesel-0/+24
2019-11-26update PTA testsDaniel Friesel-5/+5
2019-11-26autopep8Daniel Friesel-327/+328
2019-11-26PTA: Calculate min/max duration until energy accounting overflowDaniel Friesel-3/+12
2019-10-07move ParamStats and helper functions to lib/parameters.pyDaniel Friesel-1/+1
2019-09-25PTA: Add shrink_argument_values functionDaniel Friesel-0/+106
2019-09-25Transition: fix arg_to_param_map semanticsDaniel Friesel-5/+5
2019-09-25PTA: handle None in parameter value normalizationDaniel Friesel-0/+88
2019-09-20test: mark CC1200 test as slowDaniel Friesel-1/+3
2019-09-19codegen / simulated accounting: respect granularityDaniel Friesel-0/+20
2019-09-11add simulation classes for online energy accounting inaccuraciesDaniel Friesel-0/+159
2019-09-11PTA: Support sleep pseudo-transitions in DFSDaniel Friesel-0/+19
2019-09-11PTA: Use "None" transition for sleepDaniel Friesel-2/+2
This way, PTA models can have sleep transitions without conflict
2019-08-16Add function override support to AnalyticModel, analyze-timing.pyDaniel Friesel-0/+29
2019-08-16optionally prune dependent parameters before analysisDaniel Friesel-0/+30
2019-08-15Fix generate-dfa-benchmark leaving out benchmark parts when splitting runsDaniel Friesel-3/+3
2019-08-13add fit tests for AnalyticModelDaniel Friesel-11/+18
2019-08-13adjust data path in test_timingharnessDaniel Friesel-1/+1
2019-08-12skip CC1200 tests for nowDaniel Friesel-0/+1
2019-08-12CI: Download test dataDaniel Friesel-14/+14
2019-07-26support '$' as trace filter terminatorDaniel Friesel-0/+2
2019-07-26tests: follow unittest naming schemeDaniel Friesel-0/+0