test(testing): curve-extraction golden snapshots (Stage 0.6)#461
Conversation
…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>
|
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. |
There was a problem hiding this comment.
Stale comment
Not approving: the essential CI check failed with 9 failures in
tests/test_curve_goldens.py(path-separator mismatch in goldenmetrics.jsonsource fields). Cursor Bugbot was not enabled on this PR, so automated review was skipped. Human review is needed before merge.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>
|
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>
|
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. |


Summary
tests/data/goldens/curve_*/for theget_capfamily on the canonical Arbin.rescell.get_cap(back-and-forth, forth-and-forth labeled, interpolated, multi-cycle),get_ccap,get_dcap,get_ocv, plusNullDatacases for missing cycles.dev/regenerate_goldens.py; 18 parametrized@pytest.mark.essentialregression tests intests/test_curve_goldens.py.Closes #433
Test plan
uv run pytest tests/test_curve_goldens.py -m essentialuv 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_cycleMade with Cursor