Skip to content

Run benchmarks with Nodus inference and a kept-alive e2b orchestrator - #27

Merged
reason-machines[bot] merged 6 commits into
mainfrom
reason/deepswe-on-nodus-compute-4f500b5d
Nov 16, 2026
Merged

reason-machines[bot] merged 6 commits into
mainfrom
reason/deepswe-on-nodus-compute-4f500b5d

Conversation

@reason-machines

@reason-machines reason-machines Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Runs the benchmarks with Nodus as the model inference provider and e2b for task sandboxes, with the Harbor orchestrator itself in a kept-alive e2b sandbox so nothing local (a sleeping laptop, a parked cloud session) can kill a run.

An earlier version of this PR added Nodus Sandboxes as a Harbor environment. That approach is dropped: Nodus is used for inference only, per Sven.

What changed

  • connect-nodus.sh: registers a Nodus inference key as the Reason workspace's Custom (OpenAI-compatible) provider, so models such as byok:custom-endpoint:zai-org/glm-5.3 can be passed as MODEL.
  • e2b-orchestrator.py (start / status / fetch): uploads the checkout's tracked files to a new e2b sandbox (4 CPU, 8 GB), installs the pinned Harbor and starts run.sh there. Keys go to a mode-600 file inside the sandbox, never onto a command line.
    • Keep-alive: the sandbox starts with a 1h timeout, and a loop inside it pushes the timeout 1h ahead every 5 minutes while run.sh is alive, up to --max-hours. When run.sh exits it sets one final 2h window for fetch, so an idle sandbox isn't kept. status/fetch only ever lengthen the timeout.
  • README: both workflows and their caveats.

Live canary (2026-11-16): passed

e2b-orchestrator.py start -- deepswe -i datacurve/tomlkit-toml-table-converters with MODEL=byok:custom-endpoint:zai-org/glm-5.3 (Nodus), high effort, HARNESS=runtime/reason-agent-1.3.1, ATTEMPTS=1, task sandbox on e2b. (igel-persist-feature-schema was not used: it's one of the two tasks the repo lists as not gradable on e2b.)

Reward 1.0 (fail-to-pass 60/60, pass-to-pass 964/964)
Trial time 32m 17s (00:53:43Z → 01:26:00Z)
Tokens 22.26M input (21.76M cache read), 170k output
Nodus cost $8.16 (balance $242.34 → $234.18; score.py shows $0 because it has no price for glm-5.3)
run.sh exit 0; screening and scoring ran

Keep-alive evidence from the orchestrator sandbox's keepalive.log (sandbox i4vsh8r8v0c4p6bvc5sld):

2026-11-16T01:18:43Z timeout set to 3600s (run.sh alive)
2026-11-16T01:23:43Z timeout set to 3600s (run.sh alive)
2026-11-16T01:28:43Z timeout set to 7200s (run.sh exited with 0)

fetch then copied jobs/ and logs/ back to the launching checkout.

Checks

  • CodeQL, test and the other required checks pass on the head.
  • Live canary above (one task, one attempt).

Not verified

  • Behaviour at scale (PART=e2b E2B_CONCURRENCY=80 over the 111 e2b-gradable CPU-only tasks). At ~$8/trial a full run costs ~$900 of Nodus credit, so it waits on a budget decision.

Co-authored-by: svemyh <40596752+svemyh@users.noreply.github.com>
Comment thread nodus_environment.py Fixed
reason-machines Bot and others added 5 commits November 15, 2026 23:09
…ocument the scope and NODUS_BASE_URL pitfall

Co-authored-by: svemyh <40596752+svemyh@users.noreply.github.com>
Co-authored-by: svemyh <40596752+svemyh@users.noreply.github.com>
…nnect-nodus.sh

Co-authored-by: svemyh <40596752+svemyh@users.noreply.github.com>
…ndbox

Co-authored-by: svemyh <40596752+svemyh@users.noreply.github.com>
Co-authored-by: svemyh <40596752+svemyh@users.noreply.github.com>
@reason-machines reason-machines Bot changed the title Run benchmarks on Nodus Sandboxes (HARBOR_ENV=nodus, experimental) Run benchmarks with Nodus inference and a kept-alive e2b orchestrator Nov 16, 2026
@reason-machines
reason-machines Bot marked this pull request as ready for review November 16, 2026 01:36
@reason-machines
reason-machines Bot merged commit 23b7790 into main Nov 16, 2026
4 checks passed
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