Repository navigation
New snippet for tiff/http: empiar-13156-hela-stard3-fib-sem-organelles - #66
Conversation
… HTTP folders, one glob url per folder, concatenated in order as zyx For EMPIAR-13156 (issue #60): the raw volumes are one TIFF per z slice, split over numbered sub-folders (1-100/ ... 501-600/). A directory glob does not descend into sub-folders and tiff-series-http's counter cannot change folder, so each folder is one <dir>/::<glob> url; files are ordered by number within a glob, urls are concatenated in binding order, the numbers must increase along the list, and params.count pins the plane count. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
snippets: round 1 pushed
|
|
Review judge: The PR adds a new snippet, tiff-series-glob. It reads a numbered single-page TIFF series spread over several HTTP sub-folders, one glob URL per folder joined in order as zyx, with checks on number order and file count. Its example binding reads the 600-slice HeLaSTARD3_FA_YA raw volume and pairs it with the two binary ROI label stacks, which is what the issue asks for. The code follows the SPEC's interface, import and layout rules, but nothing in the evidence shows a real-data test of the binding.
confidence 0.8 · model Shadow mode: this verdict is recorded and compared with the human label; it decides nothing. |
|
/revise the crops at Crops at
Binding (sha256 record: empiar-13156-hela-stard3-fib-sem-organelles
record_commit: 3f75709f1d2778fe86fd9c436b2b5ff948a72c7b
snippets_commit: 12b2e8a83326972ba51c16bfcf1cfe00dd1f209a
raw:
- snippet: tiff-series-glob
urls:
- https://ftp.ebi.ac.uk/empiar/world_availability/13156/data/HeLaSTARD3_FA_YA_Raw/1-100/::image*.tif
- https://ftp.ebi.ac.uk/empiar/world_availability/13156/data/HeLaSTARD3_FA_YA_Raw/101-200/::image*.tif
- https://ftp.ebi.ac.uk/empiar/world_availability/13156/data/HeLaSTARD3_FA_YA_Raw/201-300/::image*.tif
- https://ftp.ebi.ac.uk/empiar/world_availability/13156/data/HeLaSTARD3_FA_YA_Raw/301-400/::image*.tif
- https://ftp.ebi.ac.uk/empiar/world_availability/13156/data/HeLaSTARD3_FA_YA_Raw/401-500/::image*.tif
- https://ftp.ebi.ac.uk/empiar/world_availability/13156/data/HeLaSTARD3_FA_YA_Raw/501-600/::image*.tif
params:
count: 600
labels:
- snippet: tiff-zip-member
urls:
- https://ftp.ebi.ac.uk/empiar/world_availability/13156/data/HeLaSTARD3_FA_YA_Raw/Endosomes_ROI.tif
params: {}
pairs_with: 0
label_key: unknown-endosome_lysosome-semantic
segmentation_type: binary
- snippet: tiff-zip-member
urls:
- https://ftp.ebi.ac.uk/empiar/world_availability/13156/data/HeLaSTARD3_FA_YA_Raw/Mitochondria_ROI.tif
params: {}
pairs_with: 0
label_key: unknown-mitochondria-semantic
segmentation_type: binary
reasons:
- 'tiff-series-glob with six glob urls, one per sub-folder in series order: the HeLaSTARD3_FA_YA
raw is 600 single-page uint8 TIFFs image001.tif ... image600.tif, one z slice each
(record alignment_notes ''z = slice number in the file name''), kept 100 to a folder
in 1-100/ ... 501-600/ (harness list: all 600 listed by name, no gaps); a directory
glob does not descend into sub-folders and tiff-series-http''s counter cannot change
folder, so each folder is one `<dir>/::image*.tif` url and the snippet concatenates
them as zyx 600x1092x2516'
- 'count 600: the record''s slice count for this volume (600 pages in each label stack,
600 files in the listing); the snippet refuses to open if the six indexes give another
number, so the raw cannot silently pair with the 600-page label stacks at a wrong
z'
- 'only the HeLaSTARD3_FA_YA volume is bound: it is the one the record sampled; HeLaSTARD3_WT
(810 slices, image_NNN.tif in 4 folders) and HeLaWT (993 slices, ROI_CICGFA_NNN.tif
in 5 folders, number 154 absent) read the same way, but HeLaWT''s label page count
(993 or 994) is not established, an open point of the match report'
- 'tiff-zip-member for the labels: each is one multi-page uint8 LZW TIFF at a plain
URL (record technical.arrays); axes left to the file, no override'
- 'label keys: provenance unknown because annotations.source is mixed; class from
the record''s classes (endosome/lysosome, mitochondria); kind semantic and segmentation_type
binary because the record gives encoding binary, values {0,1}, for Endosomes_ROI.tif
and Mitochondria_ROI.tif. Only the curated-ROI masks are bound: the whole-volume
masks (X.tif) would take the same label_key for the same raw, and ER_ROI.tif, Endosomes.tif
and Mitochondria.tif have encoding unknown in the record'
- 'no voxel size bound: record imaging.voxel_size_nm is null (differs per volume)
and the TIFFs carry no calibration (record notes: ImageJ default of 1 px = 1 micron,
ignored)' |
|
Round 2 started: agent job |
…uests that fail in transit The crop job at 12b2e8a ended in "ReadTimeout: timed out" after 1.2 MB: the six directory indexes and the first raw header, then the open of a label stack. ftp.ebi.ac.uk takes 12-35 s to answer each request, the harness's client gives up after 60 s without a retry, and the labels were bound to tiff-zip-member, whose open walks the 600 IFDs of each 22 MB stack in about 23 separate 1 MiB requests. - When the urls stand for one multi-page file, its pages are the z planes (one grey page per plane). A stack up to 64 MiB is read whole at open in 8 MiB range requests into the job's block cache, so the IFD walk and every page read cost no further request. - Every step that makes requests (index, HEAD + header, row range, stack run) is tried up to 4 times on the HTTP client's transport errors and 5xx/429; everything else is raised at once. - The example binding names this snippet for the labels as well. - params.count counts z planes: files of a series, or pages of a stack. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
snippets: round 2 pushed
|
|
Review judge: The PR adds a new snippet, tiff-series-glob. It reads a numbered single-page TIFF series spread over several HTTP sub-folders, one directory glob per folder, as one zyx stack, and it also reads a lone multi-page TIFF as a stack. Requests that fail in transit are retried, for the slow EMPIAR server. The example binding pairs the full 600-slice HeLaSTARD3_FA_YA raw volume with its two binary ROI label stacks. This is what the issue asks for, within the spec's layout and import rules; the remaining concerns are partial coverage of the dataset and no CI evidence.
confidence 0.75 · model Shadow mode: this verdict is recorded and compared with the human label; it decides nothing. |
|
/approve eec0675 |
































Closes #60: For empiar-13156-hela-stard3-fib-sem-organelles: dataset
empiar-13156-hela-stard3-fib-sem-organelleshas no snippet that reads it.Implemented by snippets: Claude Code running in a sandboxed job on the cluster. The agent's own
summary is the first comment.
/approve <head sha>(needed when running under a personal token; atrusted worker posts it when the output of this head is approved).
snippets merges once an approval matches the current head and checks are not failing.
/revise <what to change>.Up to 3 revision rounds.