Repository navigation
Conversation
…ious report Publish the TSV report through a temp file + replace so a mid-write OSError leaves any prior complete outcomes file intact. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Tested on Apple M1 Max, macOS 27.2.1 arm64, Python 3.12.16: |
|
Tested Test Suite Execution
Negative ControlReverted
Clean-Room & Repository Hygiene
LGTM! AI-assisted: verified and reviewed on Windows 11 environment. |
|
Tested
Independent check (not the author). Run by an AI agent (DeepSeek V4.1 Flash) and re-run by the orchestrating session (Claude Code) before posting. |
sds-228
left a comment
There was a problem hiding this comment.
Focused suite passes 65/65 at this head (1 skip); the new write-failure case fails against the pre-change tool. The staged publish keeps an existing outcomes report intact, and non-regular destinations still get a direct write.
AI-assisted (OpenCode).
|
Tested What was verified:
Negative control:Restoring No game files used. AI-assisted. |
Summary
tools/ab_control_flow.pyoutcomes.tsvthrough a temp file +replace_retryso a mid-write failure leaves any previous complete report (same preserve pattern as d3d12_iid_scan: stage --json so a write failure keeps the previous report #9016 / d3d12_guid_sites: stage --json so a write failure keeps the previous report #9004 / fragment_children: stage --json so a write failure keeps the previous report #8992).Claim: #8504 (comment)
Synthetic; no game files. AI-assisted (Cursor / Composer).
Test plan
python3 -I -m unittest discover -s tests -p test_ab_control_flow.py— OKMade with Cursor