mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1813] [CLOSED] Add exact speculative-window token parity and coverage gate #3693
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3693
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1813
Author: @CC-David-CC
Created: 10/10/2026
Status: ❌ Closed
Base:
main← Head:test/speculative-window-parity📝 Commits (6)
adf9795test: gate greedy output across speculative windows and TCP2536e9bMerge remote-tracking branch 'upstream/main' into HEAD5c84266Refresh speculative parity evidence with exact routing controls5cdd7a7Compare adaptive parity arms at matching request historiescd4d067Exercise adaptive-history parity through engine protocol9ea7a42Merge Strata v0.1.43 into test/speculative-window-parity📊 Changes
41 files changed (+33903 additions, -0 deletions)
View changed files
➕
bench/results/2026-10-10-p4-spec-window-parity/README.md(+103 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/default-engine.txt(+127 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/default-manifest.json(+121 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/default-result.json(+290 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/pipeline-engine-0.txt(+2403 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/pipeline-engine-1.txt(+663 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/pipeline-manifest.json(+276 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/pipeline-result.json(+1112 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/profile.bin(+0 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/profile.json(+1544 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/suffix-engine-0.txt(+599 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/suffix-engine-1.txt(+601 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/suffix-manifest.json(+220 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/suffix-result.json(+243 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/tcp-local-engine.txt(+111 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/tcp-local-manifest.json(+114 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/tcp-remote-engine.txt(+108 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/tcp-remote-manifest.json(+114 -0)➕
bench/results/2026-10-10-p4-spec-window-parity/tcp-result.json(+566 -0)➕
bench/results/2026-10-11-spec-window-refresh/1813-current1748-tcp-local/engine-0.txt(+113 -0)...and 21 more files
📄 Description
Adds an opt-in standard-library gate comparing full token IDs and finish reasons across draft floors, serial/pipeline windows, forced rollback and repeated references. It fails on divergence, prompt reuse, incomplete requests, ignored switches or missing required coverage. It changes no engine defaults.
Refreshed to main
61b3fb5d: all 48 pipeline comparisons and 12 default-dispatch comparisons pass with exact routing controlled bySTRATA_ROUTE_TAIL_SKIP=0. The separate 24-request matched local/TCP comparison passes on current PR #1748 (f2673bd2), which supplies TCP support absent from plain main. Fifteen GPU-free gate tests pass. An explicitmatched-historymode compares adaptive arms at the same repeat and prompt while rejecting reordered histories; the default still requires stable repeated references.The eight-request suffix control matches tokens but correctly fails because pipeline suffix coverage is zero. Earlier default rank-7 routing differences reflect an intentional approximation whose expert decisions depend on all rows in a window; they do not establish a rollback defect. The docs now specify tail skipping, CPU arithmetic and placement controls separately.
Fresh manifests, full outputs, engine logs and limits. Historical evidence remains separately dated. These finite P4 checks do not certify dynamic adaptation, sampled decoding, arbitrary pipeline depth, other backends or remote overlapped decode.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.