openpilot0/selfdrive/test/process_replay
Shane Smiskol d05c173fe6 Longcontrol: remove starting state (#23328)
* remove starting state

* new ref

* ready for merge

* try this

* cereal now on master

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: cf9792dc53
2022-01-04 15:40:39 -08:00
..
.gitignore segment regen (#21148) 2021-06-28 21:44:40 -07:00
README.md
__init__.py
compare_logs.py Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305) 2021-12-24 11:18:39 -08:00
model_replay.py Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00
model_replay_ref_commit update model replay ref commit after increased model idx precision 2021-12-16 15:58:56 -08:00
process_replay.py Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305) 2021-12-24 11:18:39 -08:00
ref_commit Longcontrol: remove starting state (#23328) 2022-01-04 15:40:39 -08:00
regen.py rename yuv streams (#23071) 2021-11-29 18:14:59 -08:00
regen_all.py Refactor lateral lag compensation (#21334) 2021-06-30 14:19:39 -07:00
test_fuzzy.py
test_processes.py Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305) 2021-12-24 11:18:39 -08: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.