Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Extends response-time analysis with an ISR tier above the classical task-priority fixed-point. ISRs identified by Spar_Timing::ISR_Priority steal CPU capacity first; residual capacity feeds task RTA. Tindell- Clark jitter terms (Dispatch_Jitter) inflate the recurrence in the standard way. Compute_Execution_Time's Time_Range is consumed as (BCET, WCET) — only WCET enters the recurrence; both emerge in a ResponseBand diagnostic for v0.8.0 trace comparison. New diagnostics: IrqResponseBudget, IrqBudgetViolated, IsrOverloadedCpu, MissingBottomHalfServer, ResponseBand. Non-regression: models with no Spar_Timing::* properties produce byte-identical RTA output to the prior implementation (verified by no_isrs_matches_classical_rta). Out of scope (v0.7.1): priority inheritance / ceiling protocols; multi-processor ISR migration. Track A commit 2 of 4. Precedes Lean convergence sketch (commit 3) and integration + COMPLIANCE final wording (commit 4). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
f9282e0 to
6841c14
Compare
4 tasks
avrabe
added a commit
that referenced
this pull request
Apr 25, 2026
) Adds proofs/Proofs/Scheduling/RTAJittered.lean stating monotonicity and least-fixed-point convergence of the jittered response-time recurrence implemented as compute_response_time_jittered in PR #147. Theorem 2 connects the new function to the classical rtaStep when all jitters and ISR overheads vanish — the non-regression property that anchors the Rust-side test no_isrs_matches_classical_rta. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
avrabe
added a commit
that referenced
this pull request
Apr 25, 2026
…I integration (#154) Closes the v0.7.0 Track A milestone: - COMPLIANCE.md "In progress / v0.7.0" expanded into a full narrative covering all four Track A commits (foundation #145, hierarchical RTA #147, Lean convergence #148, this close-out), the Track B variant- contract foundation (#144), v0.7.x infrastructure landings (#141-143, #151), and v0.8.0 planning anchors (Track D #149/#152, Track E #150/#153). - Updated header date to 2026-04-25 and crate count from "16 crates, 1200+ tests" to "17 crates, 1900+ tests" reflecting the test growth through Track A and the v0.7.x infrastructure additions. - New CLI integration test crates/spar-cli/tests/track_a_close_out.rs exercises the full parse → instance → analyze pipeline on a model using the Spar_Timing::ISR_* property surface plus a sporadic handler thread. The unit + fixture tests in spar-analysis cover the algorithm at the analysis-crate level; this test guards the property surface flowing through the CLI binary end-to-end. Out-of-scope items explicitly recorded: PIP/PCP blocking deferred to v0.7.1, multi-processor ISR migration deferred, cache-aware interference inflation deferred to v1.0+. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 tasks
avrabe
added a commit
that referenced
this pull request
Apr 26, 2026
Extends the v0.7.0 hierarchical IRQ-aware RTA with a configurable blocking term B_i for tasks holding shared resources under PIP or PCP. Reads AS5506 Thread_Properties::Locking_Protocol and a new Spar_Timing::Critical_Section_Blocking time value. Joseph-Pandya / Buttazzo: R_i(n+1) = C_i + J_i + B_i + Σ⌈...⌉·C_j + ISR. Non-regression: models without Locking_Protocol produce byte-identical output to main (verified by no_locking_matches_v070 test). Closes the v0.7.1 follow-up explicitly carved out by #147 / #149. New requirement: REQ-TIMING-PIP-001. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
avrabe
added a commit
that referenced
this pull request
Apr 26, 2026
Extends the v0.7.0 hierarchical IRQ-aware RTA with a configurable blocking term B_i for tasks holding shared resources under PIP or PCP. Reads AS5506 Thread_Properties::Locking_Protocol and a new Spar_Timing::Critical_Section_Blocking time value. Joseph-Pandya / Buttazzo: R_i(n+1) = C_i + J_i + B_i + Σ⌈...⌉·C_j + ISR. Non-regression: models without Locking_Protocol produce byte-identical output to main (verified by no_locking_matches_v070 test). Closes the v0.7.1 follow-up explicitly carved out by #147 / #149. New requirement: REQ-TIMING-PIP-001. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
avrabe
added a commit
that referenced
this pull request
Apr 26, 2026
Extends the v0.7.0 hierarchical IRQ-aware RTA with a configurable blocking term B_i for tasks holding shared resources under PIP or PCP. Reads AS5506 Thread_Properties::Locking_Protocol and a new Spar_Timing::Critical_Section_Blocking time value. Joseph-Pandya / Buttazzo: R_i(n+1) = C_i + J_i + B_i + Σ⌈...⌉·C_j + ISR. Non-regression: models without Locking_Protocol produce byte-identical output to main (verified by no_locking_matches_v070 test). Closes the v0.7.1 follow-up explicitly carved out by #147 / #149. New requirement: REQ-TIMING-PIP-001. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
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
v0.7.0 Track A commit 2 of 4. Implements hierarchical IRQ-aware RTA per the design in #146.
What's in
Dispatch_Jitterget_execution_time_range;ResponseBanddiagnostic for v0.8.0REQ-TIMING-IRQ-{001,002,003}from feat(timing): Spar_Timing + Spar_Trace property sets (Track A foundation) (v0.7.0) #145What's explicitly NOT in
Critical non-regression
no_isrs_matches_classical_rtaasserts byte-identical output for models without anySpar_Timing::*property. It is run first in the test plan.Test plan
cargo test -p spar-analysis— all green (791 lib + 3 fixture tests).expected.jsoncargo clippy --workspace --all-targets -- -D warningscleancargo fmt --all -- --checkcleanrivet validatePASS🤖 Generated with Claude Code