Skip to content

feat: Deadline.fraction_used and has CLI - #10

Merged
skyeng2 merged 2 commits into
mainfrom
feat/fraction-used-and-has
Aug 14, 2026
Merged

skyeng2 merged 2 commits into
mainfrom
feat/fraction-used-and-has

Conversation

@skyeng2

@skyeng2 skyeng2 commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Deadline.fraction_used() returning elapsed/timeout clamped to [0, 1] (timeout 0 → 1.0)
  • Add CLI has <scenario_id> that exits 0 when known, else 1 with stderr

Test plan

  • python3 -m unittest discover -s tests -v
  • CI green on PR

Made with Cursor

skyeng2 and others added 2 commits August 14, 2026 14:47
Co-authored-by: Cursor Agent <cursoragent@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@users.noreply.github.com>
@skyeng2
skyeng2 merged commit 15338f3 into main Aug 14, 2026
2 checks passed
@skyeng2
skyeng2 deleted the feat/fraction-used-and-has branch August 14, 2026 14:31
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