Skip to content

feat(wctt): per-stream sensitivity output (v0.9.2)#196

Merged
avrabe merged 1 commit intomainfrom
feat/v0.9.2-4-sensitivity
May 3, 2026
Merged

feat(wctt): per-stream sensitivity output (v0.9.2)#196
avrabe merged 1 commit intomainfrom
feat/v0.9.2-4-sensitivity

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 1, 2026

Reviewer NC top-5 #13. After each WcttBound, emit WcttSensitivity with worst-hop partials: ∂σ_self, ∂ρ_competing, ∂T_link. Pure post-processing on closed-form derivatives.

Test plan: 2782/2782 tests pass; clippy/fmt/rivet clean; golden fixture updated.

🤖 Generated with Claude Code

@avrabe avrabe force-pushed the feat/v0.9.2-4-sensitivity branch 2 times, most recently from bb823d4 to e7b30e8 Compare May 2, 2026 14:30
…0.9.2)

Reviewer NC top-5 #13 — pure post-processing on closed-form
derivatives, no new bounds math. After each `WcttBound` Info
diagnostic, emit a `WcttSensitivity` Info diagnostic carrying
worst-hop partial derivatives at the operating point:

  ∂WCTT/∂σ_self      = 8e12 / min(R_residual)  (ps per byte;
                       worst hop dominates the chain)
  ∂WCTT/∂ρ_competing = σ_total / (R - ρ_c)²    (ps per bps,
                       worst hop)
  ∂WCTT/∂T_link      = hops_counted             (chain rule
                       across passthrough)

For the architect: "if I add 1 frame to this stream, does the
bound shift by 1 µs or 100 µs?" answered instantly without
re-running spar. Turns spar from judge into design partner.

REQ-NETWORK-012 + TEST-WCTT-SENSITIVITY. Existing fixture
classical_ethernet.expected.json updated to include the new
diagnostic.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avrabe avrabe force-pushed the feat/v0.9.2-4-sensitivity branch from e7b30e8 to eb5addc Compare May 3, 2026 05:41
@avrabe avrabe merged commit 7dcb652 into main May 3, 2026
13 checks passed
@avrabe avrabe deleted the feat/v0.9.2-4-sensitivity branch May 3, 2026 07:47
avrabe added a commit that referenced this pull request May 3, 2026
Honesty + tightness pass. Closes 6 reviewer items + Lean spec align
+ org-wide CI concurrency control:

- α(0)=0 causality fix (#193) — discharges 5/5 → 4 sorrys in MinPlus
- Spar_TSN::Hi/Lo_Credit user-tunable CBS (#195) — Tier A #8
- WCTT sensitivity output (#196) — NC top-5 #13
- Stop_For_Lock + ARINC severity (#197) — Tier A #6 + #9
- Context_Switch in RTA recurrence (#198) — Tier A #5 (partial)
- RTA→WCTT release-jitter coupling (#199) — NC top-5 #4
- Nightly fuzz + bench workflow fixes (#194)
- Org-wide CI concurrency control (#200)

Workspace version 0.9.1 → 0.9.2.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant