Repository navigation
feat: default to 20 s windows with 10 s stride and 2048 packets - #89
Merged
Merged
Conversation
New raw-byte builds cut 20 s windows every 10 s with up to 2048 packets. Specs stored with a model keep their own window. Based on the pilot measurement 2026-10-16 (single player): p99 of 1969 packets per 20 s window.
TheMeinerLP
force-pushed
the
feat/window-20s
branch
from
October 16, 2026 13:17
c47ea30 to
3d52c0c
Compare
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
WindowConfigdefaults:window_seconds10 -> 20,stride_seconds5 -> 10 (half-window overlap kept),max_packets1024 -> 2048.WindowConfiginstead of repeating literals.max_packets = 2048is added to the tuning search space so the new default is searchable.Compatibility
Specs are stored and hashed with the model and written with every window field, so existing models keep their 10 s / 5 s / 1024 window; only new builds change. Tests cover loading and re-saving an old spec unchanged.
Not changed
FeatureSpec.window= 256 events) is event-count based, not time based.Tests
ml: new
test_raw_window_defaults.py, raw jobs/windows/streaming/eval suites; services: scoring suite. ruff clean for both.