Skip to content

fix(builder): say what pause, attempts, retries and steps mean, and show each default - #334

Merged
aitianshi merged 6 commits into
ThinkFlowLab:mainfrom
pierreleca:fix/builder-words
Nov 24, 2026
Merged

aitianshi merged 6 commits into
ThinkFlowLab:mainfrom
pierreleca:fix/builder-words

Conversation

@pierreleca

@pierreleca pierreleca commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Closes #333

What

Four fields of the builder read unclear to a first user of OSWorld1. Pause named a function and an argument of the upstream's code. "Attempts per task" and "Retries per attempt" read alike. Steps per task showed "default" for an agent's run, with no number. The Where step showed Docker twice, once as if it were a choice of isolation.

Pause gives its unit and says what OSWorld waits for after each action. Attempts has a line under it. Retries is now "Retries after an error", also in the Harbor form and the builder's own check. Its line reads "Retry errors such as rate limits or crashes, but not failed tasks." with the benchmark's noun for its units. A benchmark option with a default by another option may name the value an agent's or a capability's run gets (yours): the definitions check it, and the input and Review show it. OSWorld1's steps input shows 100 for an agent's run. Where says the run's processes run as you on the machine and the VMs are OSWorld1's own, names the Docker requirement for the tasks' VMs, and says once when a chosen machine lacks it. The refusal of an unticked run no longer offers a container on a benchmark that boots its VMs. It now sits under the "Run it as me, not sandboxed" checkbox, in the type of the Docker requirement's warning.

Touches

templates and static · catalogue · the standard · docs and site

Before and after

OSWorld1 and an agent chosen, the server without Docker. Limits: the lines under Attempts and Retries, the steps input's 100. Where: the isolation lines, the Docker requirement's name, the note on a machine that lacks it, the unsandboxed warning under its checkbox and gone once it is ticked.

Before (main) After (this branch)
Limits step
01-limits-step-before

01-limits-step-after
Where step
02-where-step-before

02-where-step-after
Where step ticked
03-where-step-ticked-before

03-where-step-ticked-after

Verified

  • Both suites on a plain copy, one module a process: backend 170 modules, 2,826 tests; routes 68 modules, 661 tests. Only test_settings fails, as on main (no .env.example in the copy).
  • Tests: the steps input for each kind of run, its default and a label without it; the definitions' check of yours and its value on Review; the Where step's isolation lines, a machine that lacks Docker, the tick left unticked; the refusal without a container, tied to the checkbox.
  • field_contract.py --write and catalogue_docs.py --write change nothing; git diff --check is clean; the judge's own checks pass offline.
  • Limits and Where in a headless browser, on main and on this branch.

Risk

Words, one optional field of a benchmark option, and one default shown. A wrong yours would show a step limit the run does not use: the definitions refuse one that is not a value of the option, or one beside no by. Revert the commits to undo.

@aitianshi aitianshi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address these points:

  • Shorten the retry explanation to: “Retry errors such as rate limits or crashes, but not failed tasks.”
  • Use “Steps per task” without “(default 100)”: the input already shows 100.
  • Update the branch against current main and verify the affected builder screens again. The screenshots appear to show older interface elements; check which changes still apply and refresh the screenshots.

@aitianshi aitianshi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two final UI adjustments:

  • Place the unsandboxed warning directly below the “Run it as me, not sandboxed” checkbox, rather than at the bottom of the step, so the message is beside the control that resolves it.
  • Use consistent typography for the Docker requirement warning and the unsandboxed warning: the same font, font size and line spacing. They currently appear at different sizes.

Once these two points are addressed, this PR can be merged.

…seconds come from

The pause option named a function and an argument of the upstream's code,
which tells a first user nothing about what it changes. Its label now gives
its unit, and its summary says what OSWorld waits for after each action and
which of OSWorld's runners sets the default of 3 seconds. The first
good-to-know line names the two options as the builder shows them.
… an agent's run gets

On the Limits step "Attempts per task" and "Retries per attempt" read
alike, and OSWorld1's steps showed "default" for an agent's run with no
number, though the computer port gives its loop 100.

Each field now has a line under it, and the second reads "Retries after an
error". A benchmark option with a default by another option may name the
value an agent's or a capability's run gets (yours); the definitions check
it, Review and the builder show it, and a number default is named in the
label. OSWorld1's steps say 100.
…arts

The Where step showed Docker twice for OSWorld1: once as if it were a
choice of isolation, once as a requirement. The run's processes run as the
user on the machine, and Docker is what OSWorld itself uses to start each
task's VM. The step now says both apart, names the requirement for what it
is for, and says once when a chosen machine is known to lack it.

The refusal of an unticked run no longer offers a container on a benchmark
that boots its VMs: a container cannot start them, and the tick is the only
way. The tick stays the person's to give.
…ts field

The line under retries took two sentences to say one thing. It now reads
"Retry errors such as rate limits or crashes, but not failed tasks", with
the benchmark's own noun for its units. The steps label named its default
beside an input that already shows it: the label is the option's name
again on every benchmark, and the input keeps the default it shows.

The Harbor form's retries field and the builder's own check of that field
still said "Retries per attempt". Both now use the field's name, "Retries
after an error".
The warning that asks for "Run it as me, not sandboxed" was said at the
bottom of the Where step, away from the checkbox that resolves it, and in
a smaller type than the Docker requirement's warning above it.

The compiler now ties that error to the checkbox's field, as it does for
the Limits step's number of tasks. The page then says it under the
checkbox, in the type the page already uses for an error under a field,
which is the size and line spacing of the Docker requirement's warning.
Review lists it as before, and its link puts the focus on the checkbox.
The checkbox is still set by its change: its input event no longer
reaches the handler of typed fields.
@pierreleca

Copy link
Copy Markdown
Contributor Author

Both points done. The unsandboxed warning now sits under the "Run it as me, not sandboxed" checkbox. Ticking it removes the warning. It uses the same type as the Docker requirement warning: same font, 14 px, same line spacing. Rebased onto current main; pictures retaken.

@aitianshi aitianshi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The requested copy, warning placement, typography and documentation changes are addressed. Both checks pass on ee35389.

@aitianshi
aitianshi merged commit 3f2ab47 into ThinkFlowLab:main Nov 24, 2026
2 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.

Four builder fields read unclear to a new OSWorld1 user

2 participants