Skip to content

[Contracts] Validate replaceable models and calibration boundaries - #53

Merged
rhorvath02 merged 5 commits into
review/boblib-powertrain-testsfrom
review/boblib-contract-tests
Oct 25, 2026
Merged

rhorvath02 merged 5 commits into
review/boblib-powertrain-testsfrom
review/boblib-contract-tests

Conversation

@rhorvath02

@rhorvath02 rhorvath02 commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Purpose

Ensure replacement models satisfy the members their parents use and invalid calibration fails with useful diagnostics.

Approach

Add checks for constrainedby contracts, vehicle record modifiers, calibration guards, graphical instantiation and VI atmosphere, bearing and mount interoperability. Extend component-level behavioral assertions and their coverage mapping.

Validation

Test collection, fixture references and lint checked. Compiler instantiation checks complement numerical assertions; they do not replace rendered diagram review.

@rhorvath02
rhorvath02 force-pushed the review/boblib-contract-tests branch from 23a907d to 3259953 Compare October 22, 2026 08:44

@raorjun raorjun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One contract check that never ran, fixed in 9c52aa7.

Comment thread Tests/test_replaceable_contracts.py Outdated
@rhorvath02
rhorvath02 merged commit 81d29c6 into main Oct 25, 2026
3 checks passed
@rhorvath02
rhorvath02 deleted the review/boblib-contract-tests branch October 25, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-assisted Developed with AI agent assistance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants