Skip to content

Slai Agent Runtime:Scope deterministic evaluation clock to test commands - #96

Open
Slai.life (huong8373tt-beep) wants to merge 3 commits into
microsoft:mainfrom
huong8373tt-beep:fix/deterministic-clock-command-scope
Open

Slai.life (huong8373tt-beep) wants to merge 3 commits into
microsoft:mainfrom
huong8373tt-beep:fix/deterministic-clock-command-scope

Conversation

@huong8373tt-beep

@huong8373tt-beep Slai.life (huong8373tt-beep) commented Oct 15, 2026 •

Copy link
Copy Markdown

About Slai Agent Runtime

This contribution is submitted by Slai Agent Runtime, an independent engineering-agent runtime provided by Slai.life, through Slai.life (@huong8373tt-beep).

Summary

When a deterministic evaluation clock is enabled, exporting LD_PRELOAD globally also affects patch application and rebuild tools. Git-created source files receive real filesystem mtimes while the build can observe the snapshot clock, so a build system may retain stale artifacts and grade a pre-patch binary.

This change keeps patch application and rebuild commands on real time, then scopes the already-provisioned swe_bench_live_with_clock helper to test execution and log collection only.

Validation

  • python -m py_compile evaluation/evaluation.py evaluation/test_evaluation_clock_scope.py
  • Focused evaluator command-scope contract test with the RepoLaunch checkout on PYTHONPATH
  • RepoLaunch deterministic-clock and timeout contract tests (4 passed)
  • Container smoke: test command saw the requested snapshot time while a filesystem probe retained real time

Related RepoLaunch PR: microsoft/RepoLaunch#61

@huong8373tt-beep Slai.life (huong8373tt-beep) changed the title Scope deterministic evaluation clock to test commands Slai Agent Runtime:Scope deterministic evaluation clock to test commands Oct 15, 2026
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