nopenpilot/selfdrive/test/process_replay
ZwX1616 de4031c98e
DM: more precision running on DSP + e2e outputs (#23900)
* update cereal

* run but not use

* log distraction type

* regression scaling

* clean up naming

* add calib buf

* add to header

* fake model

* no calib model

* adjust threshs

* 018a305f

* fix bn

* tweak1

* tweak2

* 0ff2/666

* tweak3

* t4

* t5

* fix out of bound

* skip when replaying old segments

* update ref

* fix onnxmodel

* get calib

* update model replay refs

* up ref
2022-03-15 19:02:21 -07:00
..
.gitignore segment regen (#21148) 2021-06-28 21:44:40 -07:00
README.md Process replay for C++ daemons (#2288) 2020-10-12 11:18:53 +02:00
__init__.py selfdrive/test 2020-01-17 11:16:14 -08:00
compare_logs.py compare_logs: catch typeError (#23632) 2022-01-26 17:13:32 +01:00
model_replay.py Fix tici bigmodel (#23817) 2022-02-21 19:57:04 -08:00
model_replay_ref_commit DM: more precision running on DSP + e2e outputs (#23900) 2022-03-15 19:02:21 -07:00
process_replay.py Subaru: remove Impreza CAN fingerprints (#23841) 2022-02-23 15:44:17 -08:00
ref_commit DM: more precision running on DSP + e2e outputs (#23900) 2022-03-15 19:02:21 -07:00
regen.py Rename RGB vision streams to match YUV streams (#23961) 2022-03-14 14:03:54 -07:00
regen_all.py Ensure controlsd can engage again in process replay (#23556) 2022-01-21 13:13:34 +01:00
test_fuzzy.py update test fuzzy 2021-05-06 19:27:58 +02:00
test_processes.py Ensure controlsd can engage again in process replay (#23556) 2022-01-21 13:13:34 +01:00
update_refs.py Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00

README.md

process replay

Process replay is a regression test designed to identify any changes in the output of a process. This test replays a segment through individual processes and compares the output to a known good replay. Each make is represented in the test with a segment.

If the test fails, make sure that you didn't unintentionally change anything. If there are intentional changes, the reference logs will be updated.

Use test_processes.py to run the test locally.

Currently the following processes are tested:

  • controlsd
  • radard
  • plannerd
  • calibrationd
  • ubloxd

Forks

openpilot forks can use this test with their own reference logs

To generate new logs:

./update_refs.py --no-upload

Then, check in the new logs using git-lfs. Make sure to also include the updated ref_commit file.