Skip to content

test(testing): curve-extraction golden snapshots (Stage 0.6)#461

Merged
jepegit merged 3 commits into
masterfrom
433-curve-extraction-goldens
Jul 9, 2026
Merged

test(testing): curve-extraction golden snapshots (Stage 0.6)#461
jepegit merged 3 commits into
masterfrom
433-curve-extraction-goldens

Conversation

@jepegit

@jepegit jepegit commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add nine curve-extraction golden suites under tests/data/goldens/curve_*/ for the get_cap family on the canonical Arbin .res cell.
  • Cover get_cap (back-and-forth, forth-and-forth labeled, interpolated, multi-cycle), get_ccap, get_dcap, get_ocv, plus NullData cases for missing cycles.
  • Register suites in dev/regenerate_goldens.py; 18 parametrized @pytest.mark.essential regression tests in tests/test_curve_goldens.py.

Closes #433

Test plan

  • uv run pytest tests/test_curve_goldens.py -m essential
  • uv run pytest tests/test_loader_goldens.py -m essential (no regression)
  • uv run python dev/regenerate_goldens.py curve_get_cap_back_and_forth_c1 ... curve_get_dcap_null_cycle

Made with Cursor

…Stage 0.6)

Add committed oracles for get_cap, get_ccap, get_dcap, and get_ocv on the
canonical Arbin cell, covering labeled/interpolated/multi-cycle variants
and explicit NullData cases for missing cycles.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@cursor cursor Bot requested a review from msudars July 9, 2026 20:07

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale comment

Not approving: the essential CI check failed with 9 failures in tests/test_curve_goldens.py (path-separator mismatch in golden metrics.json source fields). Cursor Bugbot was not enabled on this PR, so automated review was skipped. Human review is needed before merge.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

Windows backslashes in metrics.json source paths broke Linux CI parity
checks. Normalize to forward slashes via Path.as_posix() and regenerate
curve metrics fixtures.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Document that path strings in committed golden JSON must use forward
slashes so Windows-generated fixtures pass Linux CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved: essential CI passed and Cursor Bugbot is not enabled on this PR, so no automated findings block merge. No reviewers were assigned (msudars is already requested).

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@jepegit jepegit merged commit 9e40330 into master Jul 9, 2026
2 checks passed
@jepegit jepegit deleted the 433-curve-extraction-goldens branch July 9, 2026 21:53
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.

Stage 0.6: Curve-extraction golden snapshots (get_cap family)

1 participant