mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 20:07:04 +01:00
Live on this host since 2026-09-11 but never committed. The wheel firmware decodes the shifter's hall sensor itself and this unit's top row rests at Y 180-193, below the ~195 engage threshold, so 1st/3rd often did not register. g29_shifter.bpf.c re-decodes those two gates from the raw X/Y bytes with hysteresis (engage >= 160, release <= 140) and ORs the bit in before hid-logitech parses the report; it never clears a bit, so the firmware's working gates cannot regress. fix_g29_shifter.sh builds, attaches and installs it persistently (udev-hid-bpf rule + a systemd safety-net unit pulled in on every re-enumeration); g29_shifter_capture.py records and grades raw captures per gate. Two files were over the 250-line cap: the test file is split at the record/CLI boundary with the report builders moved into a conftest fixture (the naming hook allows only test_*.py in tests/), and the grader's docstrings are tightened. No behaviour change to the installed fix. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SS8M5wk88nJTXxDWz61KKk |
||
|---|---|---|
| .. | ||
| lib | ||
| __init__.py | ||
| conftest.py | ||
| test_fast_count.py | ||
| test_g29_shifter_capture_cli.py | ||
| test_g29_shifter_capture.py | ||
| test_i3blocks_efficiency.sh | ||
| test_i3blocks_persist_common.sh | ||
| test_network_diagnostics.bats | ||
| test_security_hardening.sh | ||
| test_session_autopsy_hooks.py | ||
| test_setup_dns_blocker.sh | ||
| test_transcribe_diarize_audio.py | ||
| test_transcribe_diarize_classifier.py | ||
| test_transcribe_diarize_cluster.py | ||
| test_transcribe_diarize_pipeline.py | ||
| test_transcribe_diarize_probe.py | ||
| test_transcribe_diarize_segments.py | ||
| test_transcribe_fw_main.py | ||
| test_transcribe_fw_pipeline.py | ||
| test_transcribe_fw_progress.py | ||
| test_transcribe_helpers_cli.py | ||
| test_transcribe_model_ops.py | ||
| test_transcribe_probes.py | ||
| test_transcribe_wav.py | ||
| test_validate_contract.py | ||
| test_validate_evidence.py | ||