Skip to content

[WIP] Test audit/story 2 measurements#2498

Closed
JerryChen97 wants to merge 7 commits intomainfrom
test-audit/story-2-measurements
Closed

[WIP] Test audit/story 2 measurements#2498
JerryChen97 wants to merge 7 commits intomainfrom
test-audit/story-2-measurements

Conversation

@JerryChen97
Copy link
Copy Markdown
Contributor

@JerryChen97 JerryChen97 commented Feb 20, 2026

Following #2474, but logically we would like this to be independent/parallel

[sc-111255]

- Removed test_jax_dynamic_api.py from Story 2 scope
- This file tests JAX dynamic API features, not measurements
- Moved to Story 3 (JAX Integration) for proper scope alignment

Story 2 now focuses only on measurement-related tests.
Files audited with policy v2:
- test_measurements_results.py (58 tests, 2 capture_todo, 2 old_frontend)
- test_measurements_shots_results.py (25 tests, 1 old_frontend)
- test_measurement_transforms.py (17 old_frontend - Catalyst-specific transforms)
- test_measurement_dynamic_shapes.py (11 tests)
- test_pauli_rot_and_measure.py (8 tests)
- test_shotvector.py (5 tests)
- test_skip_initial_state_prep.py (19 tests)

Added capture_mode parameter wiring per policy v2.
@JerryChen97 JerryChen97 self-assigned this Feb 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.73%. Comparing base (2d6b422) to head (e4b1b6f).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2498      +/-   ##
==========================================
- Coverage   96.75%   96.73%   -0.03%     
==========================================
  Files         156      156              
  Lines       16989    17015      +26     
  Branches     1658     1658              
==========================================
+ Hits        16438    16459      +21     
- Misses        402      406       +4     
- Partials      149      150       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JerryChen97
Copy link
Copy Markdown
Contributor Author

quite some capturetodo xfail didn't work as expected 🤔 I think we need a better cleaner branch to redo this

@JerryChen97 JerryChen97 deleted the test-audit/story-2-measurements branch February 27, 2026 16:21
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