Repository navigation
Evaluate five-seed QFL and serve-box arms, then retune the InPlay decoder - #44
Draft
MaxLinCode wants to merge 8 commits into
Draft
MaxLinCode wants to merge 8 commits into
MaxLinCode wants to merge 8 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Full report: docs/qfl-diagonal-decoder-followup.md.
Model factorial
Seven-source development data, four camera-held-out folds, 25 epochs, batch 16, seeds 1729–1733 (80 fits). Arms: baseline, QFL, diagonal serve boxes, QFL + diagonal. Every fold uses the fixed production decoder (0.40 / 0.35 / 0.5 s / 0.3 s).
Paired deltas vs baseline (n = 20, 95% CI):
The diagonal arm wins 14/20 fold-seed F1 comparisons and is the only consistently non-harmful model change, but the effect is not resolved (seed-level t₄ = 2.37, p ≈ 0.077).
Decoder factorial
Preregistered grid:
max_gap_seconds{0.75, 1.0, 1.5, 2.0} ×minimum_duration_seconds{0.3, 0.5}; threshold/hysteresis/edge settings fixed. Leave-one-camera-out selection within each seed; deployment config is the modal choice.Development (production-recipe arm, 20 cells):
LOCO-selected vs production: ΔF1 +0.0446 [+0.0284, +0.0608], Δ false starts/min −0.3916 [−0.5197, −0.2635], Δ end MAE +1.86 frames [+0.40, +3.31]. Modal deployment choice: 2.0 s / 0.5 s (11/20).
Holdout, one shot with the frozen config:
Decision
Adopt max gap 2.0 s / minimum duration 0.5 s as a post-processing-only change, keeping threshold 0.40, continuation 0.35, and edge preservation. No retraining or checkpoint swap. The ~90 ms later rally ends are the tradeoff; 1.5 s / 0.5 s is the unconfirmed development compromise if latency is a hard constraint.
Dependencies
Stacked on #39 (
codex/rally-boundary-qfl) and also carries the serve-box commit from #43 because the factorial needs both features. Please retarget tomainafter #39 and #43 land; do not merge standalone.Validation
24 passedintests/test_rally_partitions.py,tests/test_rally_training_recovery.py,tests/test_rally_serve_boxes.py,tests/test_shortcut_diagnostic.py.test_decoder, and skips the all-source production fit.Caveats: the holdout had already been used for model-arm comparisons, so this is a single frozen-decoder confirmation rather than a pristine second holdout. The decoder grid was informed by an earlier exploratory sweep, but the selection/deployment/confirmation rules were frozen before the factorial run.