Skip to content

review(stark): tidy test layout + remove AGENTS.md (follow-up to #740)#744

Merged
MauroToscano merged 1 commit into
perf/commitment-row-pairfrom
review/commitment-tests-helper-cleanup
Jun 29, 2026
Merged

review(stark): tidy test layout + remove AGENTS.md (follow-up to #740)#744
MauroToscano merged 1 commit into
perf/commitment-row-pairfrom
review/commitment-tests-helper-cleanup

Conversation

@MauroToscano

Copy link
Copy Markdown
Contributor

Two cleanups that landed after #740 had already merged.

Shared test helper → trace_test_helpers.rs

#740 left row_pair_opening_tests.rs importing make_valid_simple_proof from a sibling test file (use super::small_trace_tests::...) — the only file in the suite that reached sideways into another test module. The crate's convention is shared test helpers live in tests/trace_test_helpers.rs (e.g. prover_tests sources get_trace_evaluations from there). This moves make_valid_simple_proof into trace_test_helpers.rs; both small_trace_tests.rs and row_pair_opening_tests.rs now import it from the shared module. Keeps test code in the #[cfg(test)] tests/ tree and out of the production source files.

Remove AGENTS.md

Added by #735; removed per request.

Verification

  • cargo test -p stark — 136 passed.
  • make lint — clean across all three combos.

Two items that landed too late for #740:

- Move the shared make_valid_simple_proof helper out of small_trace_tests.rs
  into tests/trace_test_helpers.rs, where the crate keeps shared test
  helpers (matching how prover_tests sources get_trace_evaluations).
  row_pair_opening_tests.rs and small_trace_tests.rs now both import it
  from there instead of one test file reaching sideways into another.
- Delete AGENTS.md (added by #735).
@MauroToscano MauroToscano merged commit bd1ebbb into perf/commitment-row-pair Jun 29, 2026
6 checks passed
@MauroToscano MauroToscano deleted the review/commitment-tests-helper-cleanup branch June 29, 2026 21:34
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