Skip to content

[codex] Test layer-static runtime contracts#1152

Merged
increpare merged 1 commit into
cppfrom
codex-layer-static-runtime-contracts
May 12, 2026
Merged

[codex] Test layer-static runtime contracts#1152
increpare merged 1 commit into
cppfrom
codex-layer-static-runtime-contracts

Conversation

@increpare
Copy link
Copy Markdown
Owner

Summary

  • Add static collision-layer contracts to the testdata.js runtime replay harness.
  • Snapshot each proved-static layer's per-cell occupant signature and fail if it changes across normal replay boundaries.
  • Include layer contract counts and boundary-check totals in the runner summary.

Validation

  • node src/tests/ps_static_analysis_node.js
  • node src/tests/static_analysis_testdata_runner.js
  • node src/tests/static_analysis_testdata_runner_node.js
  • node src/tests/static_analysis_explorer_node.js
  • node src/tests/solver_static_opt_node.js
  • node src/tests/compare_solver_static_opt_runs_node.js
  • node src/tests/run_static_analysis_runtime_contracts_node_test.js
  • node src/tests/static_analysis_performance_node.js
  • git diff --check
  • node src/tests/run_static_analysis_runtime_contracts_node.js

Full runtime replay result: 469 cases, 16 analysis-unavailable, 447 with static objects, 441 with static layers, 450 with constant-quantity objects, 78247 object-boundary checks, 38419 layer-boundary checks, 296000 quantity-boundary checks.

@increpare increpare marked this pull request as ready for review May 12, 2026 12:11
@increpare increpare merged commit 6dddefd into cpp May 12, 2026
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