Skip to content

Plan-time labelled check, peek and page fixes, csub from upstream main - #121

Merged
krokicki merged 6 commits into
mainfrom
plan-prechecks
Nov 26, 2026
Merged

krokicki merged 6 commits into
mainfrom
plan-prechecks

Conversation

@krokicki

@krokicki krokicki commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Six commits, the code the first tagged release is cut from.

Plan

  • A labelled filter leaves out a dataset whose binding reads no label array. The prepared row carries raw_labels (how many labels the binding pairs with each raw array) and plan.fit refuses the dataset with the reason, in a round's plan and in the designer's plan. Before, each such dataset got a stage job that drew 2000 times per split and failed.
  • Deploying this changes the plan of a buffer that uses labelled and had unlabelled datasets in its pool: those are out, the others take their share of sampling.crops, and the ones whose crop count grows get a new artifact id and restage on the buffer's next round.

Page

  • The labelled filter's refusals are one group, and the designer's plan is tested for them.
  • The peek: Previous crop steps back through the crops a peek showed; the bar is headed "Simulated buffer drawing:".

Docs

  • labelled is tested over a crop's whole footprint.

Dependencies

  • csub comes from saalfeldlab/csub main. A job's umask is then umask in the broker policy's [lsf] table (default 022) instead of the broker's own 077, so what a job writes is readable by the group. Note for operators: this csub turns on limits.max_pending_per_session (default 100).

Checks

  • pixi run lint and pixi run typecheck pass.
  • New tests: tests/test_buffers_plan.py, tests/test_mia_publish.py, tests/test_buffers_activities.py.

@StephanPreibisch @jakobtroidl

krokicki and others added 6 commits November 23, 2026 21:25
…abel

A prepared dataset's row says how many label arrays its binding pairs with
each array it reads (`raw_labels`). Under a `labelled` filter the plan, and
the designer's plan before a round exists, leaves out a dataset none of whose
arrays that hold the footprint has a label, with that reason: the stage job
would reject every draw. A row that does not say its labels is not refused.

A definition that leaves no dataset out keeps its plan digests.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The harness gives a label filter the labels over the coarsest level's box of a
draw, and a raw filter the full-resolution box. AGENTS.md, the developer guide,
the page's guide and architecture pages and the grammar say so.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…s plan is tested for them

A dataset the plan leaves out under a labelled filter reads "no label" in the designer's
funnel and decision column, with a line of help, whichever of the two reasons it has.
A test covers that the designer's kept plan is not served once a dataset's labels change.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The peek panel keeps the last 50 crops it showed. Previous crop steps back through
them and Next crop forward again, neither asking the service; Next crop asks for a
new crop past the last one, or when another split is chosen. The service still keeps
no trace of a peek.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The label stands before the split and the two buttons, in place of the sentence
after them about consumers and counts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A job no longer runs under the broker's umask 077: csub main sets the job's
umask from `umask` in the policy's [lsf] table (default 022), so what a stage
job writes is readable by the group.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@krokicki
krokicki merged commit df22ca0 into main Nov 26, 2026
1 check passed
@krokicki
krokicki deleted the plan-prechecks branch November 26, 2026 15:06
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