Skip to content

deps: NeMo UserSim from PyPI (usersim 0.2.0rc1); a patient's tool calls can be hosted - #2

Merged
johndmendonca merged 4 commits into
SWORDHealth:nemo/usersimfrom
isarasua:isarasua/usersim-0.2
Oct 16, 2026
Merged

johndmendonca merged 4 commits into
SWORDHealth:nemo/usersimfrom
isarasua:isarasua/usersim-0.2

Conversation

@isarasua

@isarasua isarasua commented Oct 15, 2026 •

Copy link
Copy Markdown

NeMo UserSim is now published on PyPI as usersim, so this moves nemo/usersim off the git pin.

Changes

  • pyproject.toml: nemo-usersim @ git+…@2945592 → usersim>=0.2.0rc1; allow-direct-references is no
    longer needed. uv.lock: usersim 0.2.0rc1 replaces nemo-usersim 0.1.0, which brings Data Designer
    0.9.3 → 0.9.5 (and fsspec 2025.12.0 → 2026.9.0); nothing else moves.
  • tests/test_hosted.py: the strict xfail on test_a_patient_committing_by_tool_call_can_be_hosted is
    gone. UserSim's hosted runtime now records a tool call from the simulated user, so a patient that commits
    its move as a tool call can be hosted (and the test passes, which a strict xfail turns into a failure).
  • README.md: installation says UserSim comes from PyPI, and the runtime section no longer says a hosted
    patient must answer the move as JSON content.
  • master merged in (only assets/paper.pdf changed).

Nothing else changes: the probe, the session runtime and the litellm facade are as they were. Every
golden passes unchanged, so the requests the runtime sends are the same as on 2945592.

Checked (the CI steps, locally): uv sync --locked, ruff check ., pytest: 101 passed (was 100 +
1 xfail), and the banned-word check.

Next (separate PR): run sessions through UserSim's own model layer and runner when every model is
OpenAI-compatible (Nemotron, open-weight counsellors, a vLLM patient), keeping the litellm path for GPT-5.6,
Claude and Gemini until Data Designer covers them (NVIDIA-NeMo/DataDesigner#1033).

johndmendonca and others added 4 commits October 3, 2026 10:32
… calls can be hosted

UserSim is now published as `usersim`, so the git pin on `nemo-usersim` goes, and
with it hatch's allow-direct-references. On 0.2.0rc1 every test and golden passes
unchanged; the one change is that UserSim's hosted runtime now records a tool call
from the simulated user, so a patient committing its move as a tool call can be
hosted: the strict xfail in test_hosted.py passes, and the README stops saying
the host's patient must answer with JSON content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@johndmendonca
johndmendonca merged commit 8e877f7 into SWORDHealth:nemo/usersim Oct 16, 2026
1 check 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.

2 participants