Menu

Ingegneria & CAD / Task di esempio

Esempio pubblico generato

Modellare una staffa a partire dal suo disegno.

Un task completo dal disegno al modello. Ogni file è generato da un unico insieme di parametri; non si tratta del pezzo reale di alcuna azienda.

Confronti le sottomissioni Leggere il disegno

Scarichi la cartella del task

Output gold · trascini per ruotareAmbra: il foro misurato da C4
La staffa di montaggio generata, ombreggiata in grigio con spigoli scuri: una piastra di base con quattro fori e una cava, un’anima verticale con un foro evidenziato in ambra
Trascini per ruotare · usi + / − per lo zoom · doppio clic per il reset
Dominio
Componenti meccanici
Famiglia di task
Dal disegno al modello solido
Modalità di accesso
File, kernel CAD headless
Deliverable
Un solido STEP
Verificatore
Geometria deterministica: 3 gate, 10 controlli
Limite di tempo
45 minuti
Suddivisione
Esempio pubblico, mai in un set di addestramento o di valutazione

Disegno di riferimento

DUF-S-001, rev A.

Tre viste in proiezione americana (terzo diedro), generate dagli stessi parametri del modello gold, così il disegno e la risposta non possono divergere. L’ambra indica il foro con tolleranza misurato dal verificatore.

Disegno di riferimento DUF-S-001 rev A: viste frontale, dall’alto e da destra di una staffa di montaggio a L, 120 per 80 per 84 millimetri, con quattro fori passanti da 9 millimetri su uno schema di 90 per 36, una cava 10 per 30 e un foro da 18 millimetri H7 nella parte verticale, disegnato in ambra
Disegno generato · versione a grandezza naturale (SVG, 21,6 KB)

Lo veda in esecuzione

Confronti le sottomissioni.

Risultati registrati del verificatore. Il giallo indica i controlli non superati; espanda un report per vedere ogni misura.

Scelga una sottomissione

Sottomesso

output/bracket.step  ←  tests/gold/bracket.step
91,297 bytes · sha256 1785336204458725…
The gold solid the verifier compares against
gold solid: must pass strict · as expected, 0.87 s
output/bracket.step  ←  written by solution/solve.py (85,015 bytes, built in 0.61 s)
solution/solve.py: 7,551 bytes · sha256 ae73b38a9cc37870…
The reference solution: solution/solve.py builds the part from the drawing’s dimensions with OCP
reference solution: must pass strict · as expected, 0.91 s
output/bracket.step  ←  tests/probes/alt_rebuilt.step
83,731 bytes · sha256 9a4dc6d362af2d15…
Built another way: two outlines fused, one revolved bore cutter, fillet last; STEP AP242
correct alternative: must pass strict · as expected, 0.88 s
output/bracket.step  ←  tests/probes/alt_bore_18009.step
91,386 bytes · sha256 00e293e59fc76bb1…
The bore at Ø18.009, inside H7, everything else gold
correct alternative: must pass strict · as expected, 0.82 s
output/bracket.step  ←  tests/probes/alt_split_faces.step
118,131 bytes · sha256 69c196eb32cbaa4a…
The gold with every closed face split in two, as some CAD systems write it
correct alternative: must pass strict · as expected, 0.87 s
output/bracket.step  ←  tests/probes/empty.step
0 bytes · sha256 e3b0c44298fc1c14…
An empty bracket.step
reward hack: must score exactly 0 · as expected, 0.68 s
output/bracket.step  ←  a note, and no output/bracket.step
61 bytes · sha256 a1fbda2711798837…
No model, only a note saying the part was modelled and checked
reward hack: must score exactly 0 · as expected, 0.68 s
output/bracket.step  ←  tests/probes/scaled_copy.step
96,498 bytes · sha256 7a19df708266b18d…
The gold solid scaled by 1.02
plausible mistake: must fail strict, caught by C1 to C8 · as expected, 0.91 s
output/bracket.step  ←  tests/probes/bore_oversize.step
91,317 bytes · sha256 201c90aa78c85c88…
The bore 0.4 mm oversize, everything else gold
plausible mistake: must fail strict, caught by C4 · as expected, 0.82 s
output/bracket.step  ←  tests/probes/three_holes.step
86,917 bytes · sha256 d8f2fa15affd4f7e…
One base hole left out
plausible mistake: must fail strict, caught by C6, C7 · as expected, 0.88 s
output/bracket.step  ←  tests/probes/mirrored.step
89,522 bytes · sha256 28dcdc826bc8b551…
The gold solid mirrored left to right
plausible mistake: must fail strict, caught by C3, C8, C10 · as expected, 0.91 s
output/bracket.step  ←  tests/probes/spline_faces.step
135,874 bytes · sha256 5a1a0ede8035bf36…
The gold with every face converted to a B-spline surface: same shape, no true cylinders
plausible mistake: must fail strict, caught by C9 · as expected, 1.87 s

Output del verificatore · gold rigoroso: superato · ricompensa 1 · punteggio 1,00

Tutti i gate e i controlli superati.

Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 91297 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 25 faces, volume 209268.6 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 120.00 × 80.00 × 84.00 mm
C1 ok Envelope: 120.000 × 80.000 × 84.000 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 ok Volume: 209.27 cm³ (+0.00%) expected 209.27 cm³ ±0.5% · w10
C3 ok Overlap with the gold (IoU): 1.0000 expected ≥ 0.995 · w10
C4 ok Bore diameter: Ø18.0000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 ok Bore axis: position, square to B: X 60.000, Z 52.000; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 ok Through holes: count and diameter: 4 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 ok Hole pattern: centre positions: 4 of 4 within 0.10, worst 0.000 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 ok Slot: width, length, centre: 10.000 × 30.000 at (42.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 ok Feature types: all present · faces: 2 cone, 13 cylinder, 10 plane expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 ok Handedness: slot X 42.00 < bore X 60.00: left expected slot left of the bore, seen from the front · w5
strict_pass true
reward 1
score 1.00

Output del verificatore · solve_py rigoroso: superato · ricompensa 1 · punteggio 1,00

Tutti i gate e i controlli superati.

Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 85015 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 24 faces, volume 209265.5 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 120.00 × 80.00 × 84.00 mm
C1 ok Envelope: 120.000 × 80.000 × 84.000 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 ok Volume: 209.27 cm³ (+0.00%) expected 209.27 cm³ ±0.5% · w10
C3 ok Overlap with the gold (IoU): 1.0000 expected ≥ 0.995 · w10
C4 ok Bore diameter: Ø18.0090, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 ok Bore axis: position, square to B: X 60.000, Z 52.000; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 ok Through holes: count and diameter: 4 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 ok Hole pattern: centre positions: 4 of 4 within 0.10, worst 0.000 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 ok Slot: width, length, centre: 10.000 × 30.000 at (42.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 ok Feature types: all present · faces: 2 cone, 12 cylinder, 10 plane expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 ok Handedness: slot X 42.00 < bore X 60.00: left expected slot left of the bore, seen from the front · w5
strict_pass true
reward 1
score 1.00

Output del verificatore · alt_rebuilt rigoroso: superato · ricompensa 1 · punteggio 1,00

Tutti i gate e i controlli superati.

Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 83731 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 24 faces, volume 209268.6 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 120.00 × 80.00 × 84.00 mm
C1 ok Envelope: 120.000 × 80.000 × 84.000 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 ok Volume: 209.27 cm³ (+0.00%) expected 209.27 cm³ ±0.5% · w10
C3 ok Overlap with the gold (IoU): 1.0000 expected ≥ 0.995 · w10
C4 ok Bore diameter: Ø18.0000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 ok Bore axis: position, square to B: X 60.000, Z 52.000; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 ok Through holes: count and diameter: 4 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 ok Hole pattern: centre positions: 4 of 4 within 0.10, worst 0.000 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 ok Slot: width, length, centre: 10.000 × 30.000 at (42.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 ok Feature types: all present · faces: 2 cone, 12 cylinder, 10 plane expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 ok Handedness: slot X 42.00 < bore X 60.00: left expected slot left of the bore, seen from the front · w5
strict_pass true
reward 1
score 1.00

Output del verificatore · alt_bore_18009 rigoroso: superato · ricompensa 1 · punteggio 1,00

Tutti i gate e i controlli superati.

Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 91386 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 25 faces, volume 209265.5 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 120.00 × 80.00 × 84.00 mm
C1 ok Envelope: 120.000 × 80.000 × 84.000 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 ok Volume: 209.27 cm³ (+0.00%) expected 209.27 cm³ ±0.5% · w10
C3 ok Overlap with the gold (IoU): 1.0000 expected ≥ 0.995 · w10
C4 ok Bore diameter: Ø18.0090, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 ok Bore axis: position, square to B: X 60.000, Z 52.000; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 ok Through holes: count and diameter: 4 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 ok Hole pattern: centre positions: 4 of 4 within 0.10, worst 0.000 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 ok Slot: width, length, centre: 10.000 × 30.000 at (42.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 ok Feature types: all present · faces: 2 cone, 13 cylinder, 10 plane expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 ok Handedness: slot X 42.00 < bore X 60.00: left expected slot left of the bore, seen from the front · w5
strict_pass true
reward 1
score 1.00

Output del verificatore · alt_split_faces rigoroso: superato · ricompensa 1 · punteggio 1,00

Tutti i gate e i controlli superati.

Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 118131 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 32 faces, volume 209268.6 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 120.00 × 80.00 × 84.00 mm
C1 ok Envelope: 120.000 × 80.000 × 84.000 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 ok Volume: 209.27 cm³ (+0.00%) expected 209.27 cm³ ±0.5% · w10
C3 ok Overlap with the gold (IoU): 1.0000 expected ≥ 0.995 · w10
C4 ok Bore diameter: Ø18.0000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 ok Bore axis: position, square to B: X 60.000, Z 52.000; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 ok Through holes: count and diameter: 4 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 ok Hole pattern: centre positions: 4 of 4 within 0.10, worst 0.000 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 ok Slot: width, length, centre: 10.000 × 30.000 at (42.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 ok Feature types: all present · faces: 4 cone, 18 cylinder, 10 plane expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 ok Handedness: slot X 42.00 < bore X 60.00: left expected slot left of the bore, seen from the front · w5
strict_pass true
reward 1
score 1.00

Output del verificatore · empty rigoroso: non superato · ricompensa 0 · punteggio 0,00

G1 FAIL output/bracket.step exists, is not empty and reads as STEP: the file is empty (0 bytes)
Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 FAIL output/bracket.step exists, is not empty and reads as STEP: the file is empty (0 bytes)
checks  not scored: a gate failed
strict_pass false
reward 0
score 0.00

Output del verificatore · claim_only rigoroso: non superato · ricompensa 0 · punteggio 0,00

G1 FAIL output/bracket.step exists, is not empty and reads as STEP: no file at output/bracket.step
Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 FAIL output/bracket.step exists, is not empty and reads as STEP: no file at output/bracket.step
checks  not scored: a gate failed
strict_pass false
reward 0
score 0.00

Output del verificatore · scaled_copy rigoroso: non superato · ricompensa 0 · punteggio 0,10

C1 FAIL Envelope: 122.400 × 81.600 × 85.680 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 FAIL Volume: 222.08 cm³ (+6.12%) expected 209.27 cm³ ±0.5% · w10
C3 FAIL Overlap with the gold (IoU): 0.8386 expected ≥ 0.995 · w10
C4 FAIL Bore diameter: Ø18.3600, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 FAIL Bore axis: position, square to B: X 61.200, Z 53.040; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 FAIL Through holes: count and diameter: 4 through, all Ø9.180 expected 4 × Ø9.0 ±0.10, through · w10
C7 FAIL Hole pattern: centre positions: 0 of 4 within 0.10, worst 2.100 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 FAIL Slot: width, length, centre: 10.200 × 30.600 at (42.840, 30.600) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 96498 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 25 faces, volume 222077.5 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 122.40 × 81.60 × 85.68 mm
C1 FAIL Envelope: 122.400 × 81.600 × 85.680 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 FAIL Volume: 222.08 cm³ (+6.12%) expected 209.27 cm³ ±0.5% · w10
C3 FAIL Overlap with the gold (IoU): 0.8386 expected ≥ 0.995 · w10
C4 FAIL Bore diameter: Ø18.3600, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 FAIL Bore axis: position, square to B: X 61.200, Z 53.040; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 FAIL Through holes: count and diameter: 4 through, all Ø9.180 expected 4 × Ø9.0 ±0.10, through · w10
C7 FAIL Hole pattern: centre positions: 0 of 4 within 0.10, worst 2.100 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 FAIL Slot: width, length, centre: 10.200 × 30.600 at (42.840, 30.600) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 ok Feature types: all present · faces: 2 cone, 13 cylinder, 10 plane expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 ok Handedness: slot X 42.84 < bore X 61.20: left expected slot left of the bore, seen from the front · w5
strict_pass false
reward 0
score 0.10

Output del verificatore · bore_oversize rigoroso: non superato · ricompensa 0 · punteggio 0,80

C4 FAIL Bore diameter: Ø18.4000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 91317 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 25 faces, volume 209130.1 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 120.00 × 80.00 × 84.00 mm
C1 ok Envelope: 120.000 × 80.000 × 84.000 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 ok Volume: 209.13 cm³ (-0.07%) expected 209.27 cm³ ±0.5% · w10
C3 ok Overlap with the gold (IoU): 0.9993 expected ≥ 0.995 · w10
C4 FAIL Bore diameter: Ø18.4000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 ok Bore axis: position, square to B: X 60.000, Z 52.000; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 ok Through holes: count and diameter: 4 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 ok Hole pattern: centre positions: 4 of 4 within 0.10, worst 0.000 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 ok Slot: width, length, centre: 10.000 × 30.000 at (42.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 ok Feature types: all present · faces: 2 cone, 13 cylinder, 10 plane expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 ok Handedness: slot X 42.00 < bore X 60.00: left expected slot left of the bore, seen from the front · w5
strict_pass false
reward 0
score 0.80

Output del verificatore · three_holes rigoroso: non superato · ricompensa 0 · punteggio 0,80

C6 FAIL Through holes: count and diameter: 3 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 FAIL Hole pattern: centre positions: 3 of 4 within 0.10, worst 0.000, 1 missing expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 86917 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 24 faces, volume 210032.0 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 120.00 × 80.00 × 84.00 mm
C1 ok Envelope: 120.000 × 80.000 × 84.000 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 ok Volume: 210.03 cm³ (+0.36%) expected 209.27 cm³ ±0.5% · w10
C3 ok Overlap with the gold (IoU): 0.9964 expected ≥ 0.995 · w10
C4 ok Bore diameter: Ø18.0000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 ok Bore axis: position, square to B: X 60.000, Z 52.000; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 FAIL Through holes: count and diameter: 3 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 FAIL Hole pattern: centre positions: 3 of 4 within 0.10, worst 0.000, 1 missing expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 ok Slot: width, length, centre: 10.000 × 30.000 at (42.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 ok Feature types: all present · faces: 2 cone, 12 cylinder, 10 plane expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 ok Handedness: slot X 42.00 < bore X 60.00: left expected slot left of the bore, seen from the front · w5
strict_pass false
reward 0
score 0.80

Output del verificatore · mirrored rigoroso: non superato · ricompensa 0 · punteggio 0,75

C3 FAIL Overlap with the gold (IoU): 0.9686 expected ≥ 0.995 · w10
C8 FAIL Slot: width, length, centre: 10.000 × 30.000 at (78.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C10 FAIL Handedness: slot X 78.00 > bore X 60.00: right expected slot left of the bore, seen from the front · w5
Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 89522 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 25 faces, volume 209268.6 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 120.00 × 80.00 × 84.00 mm
C1 ok Envelope: 120.000 × 80.000 × 84.000 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 ok Volume: 209.27 cm³ (+0.00%) expected 209.27 cm³ ±0.5% · w10
C3 FAIL Overlap with the gold (IoU): 0.9686 expected ≥ 0.995 · w10
C4 ok Bore diameter: Ø18.0000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 ok Bore axis: position, square to B: X 60.000, Z 52.000; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 ok Through holes: count and diameter: 4 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 ok Hole pattern: centre positions: 4 of 4 within 0.10, worst 0.000 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 FAIL Slot: width, length, centre: 10.000 × 30.000 at (78.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 ok Feature types: all present · faces: 2 cone, 13 cylinder, 10 plane expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 FAIL Handedness: slot X 78.00 > bore X 60.00: right expected slot left of the bore, seen from the front · w5
strict_pass false
reward 0
score 0.75

Output del verificatore · spline_faces rigoroso: non superato · ricompensa 0 · punteggio 0,95

C9 FAIL Feature types: missing: bore cylinder; 0/4 hole cylinders; R6 fillet ×0; R10 rounds ×0; 1×45° chamfers ×0 · faces: 25 B-spline expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
Output completo del verificatore
$ bash tests/test.sh output/bracket.step
G1 ok output/bracket.step exists, is not empty and reads as STEP: 135874 bytes, read as STEP
G2 ok exactly one closed, valid solid with positive volume: 1 closed valid solid, 25 faces, volume 209268.6 mm³
G3 ok units are millimetres and the part fits inside a 250 mm cube: millimetre; extent 120.00 × 80.00 × 84.00 mm
C1 ok Envelope: 120.000 × 80.000 × 84.000 expected 120.0 × 80.0 × 84.0 ±0.10 · w10
C2 ok Volume: 209.27 cm³ (+0.00%) expected 209.27 cm³ ±0.5% · w10
C3 ok Overlap with the gold (IoU): 1.0000 expected ≥ 0.995 · w10
C4 ok Bore diameter: Ø18.0000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
C5 ok Bore axis: position, square to B: X 60.000, Z 52.000; square 0.0000 expected X 60.00, Z 52.00 ±0.05; square ≤ 0.02 · w10
C6 ok Through holes: count and diameter: 4 through, all Ø9.000 expected 4 × Ø9.0 ±0.10, through · w10
C7 ok Hole pattern: centre positions: 4 of 4 within 0.10, worst 0.000 expected 90.0 × 36.0 from (15, 14), ±0.10 · w10
C8 ok Slot: width, length, centre: 10.000 × 30.000 at (42.000, 30.000) expected 10.0 × 30.0 at (42, 30) ±0.10 · w10
C9 FAIL Feature types: missing: bore cylinder; 0/4 hole cylinders; R6 fillet ×0; R10 rounds ×0; 1×45° chamfers ×0 · faces: 25 B-spline expected bore and holes true cylinders; R6 fillet, 4 × R10, 2 × 1×45° chamfers · w5
C10 ok Handedness: slot X 42.00 < bore X 60.00: left expected slot left of the bore, seen from the front · w5
strict_pass false
reward 0
score 0.95

Un’esecuzione, il 14 novembre 2026, nel container del task, costruito da environment/Dockerfile ed eseguito con la rete disattivata (Docker 29.1.3, Linux): Python 3.12.13, OpenCascade tramite OCP 8.0.1.1, numpy 2.5.4. 12 sottomissioni: il solido gold, l’output della soluzione di riferimento e 10 sonde (2 reward hack, 5 errori plausibili, 3 alternative corrette), ciascuna valutata in un processo separato: da 0,68 a 1,87 s ciascuna, 12,3 s in totale. 12 su 12 come previsto. Verificatore sha256 ea5e7f60c430b8ea…

Brief del task

Che cosa viene detto all’agente.

L’istruzione fornita all’agente, insieme ai file e agli strumenti a cui può accedere.

instruction.md818 byte

# Model the bracket on drawing DUF-S-001

`project/drawing.svg` is a released drawing (rev A) of a mounting bracket. Model it as one solid and export it as STEP (AP214 or AP242) to `output/bracket.step`.

- Work in millimetres. Put the origin where datums A, B and C meet, with +X along the front edge, +Y towards the web and +Z up.
- Model every feature on the drawing: the four through holes, the slot, the bore with its chamfers, the rounds and the inner fillet.
- Model the Ø18 H7 bore at a diameter inside its tolerance (18.000 to 18.018).
- The drawing governs. Where it is silent, ISO 2768-m applies.
- Python 3.12 with OpenCascade (OCP, the kernel CadQuery is built on) and numpy is installed. You have no network access.

When the file is written, say so in one line. Do not describe checks you did not run.
L’agente vede
project/drawing.svg e una cartella output/ vuota, in /workspace
Strumenti
Una shell, Python 3.12 con OpenCascade (OCP) e numpy, così come li installa il Dockerfile; nessuna rete
Nascosto all’agente
Il solido gold, le sonde e i controlli in tests/, copiati solo al termine dell’esecuzione, e la soluzione di riferimento in solution/
Varianti
Il generatore riceve come parametri ogni quota, lo schema dei fori e l’accoppiamento, così una sola famiglia produce molti task distinti

Deliverable e verificatore

Valutato sulla geometria, feature per feature.

Prima i gate: una risposta mancante, danneggiata o nelle unità sbagliate ottiene 0. Poi dieci controlli ponderati, ciascuno una misura con una tolleranza dichiarata. Prima vengono i confronti sulla forma complessiva. Poi ogni feature con tolleranza viene misurata singolarmente, in sezioni tagliate attraverso il solido sottomesso, e se ne verifica il tipo delle facce.

File
output/bracket.step, STEP AP214 o AP242, esattamente un solido
Sistema di riferimento
Millimetri, origine nei riferimenti A, B e C, Z verso l’alto; il verificatore allinea anche sulle facce di riferimento prima del confronto
Non valutato
Albero delle feature, nomi dei corpi, colori, layer, modo in cui è stato costruito il modello
Ricompensa
1 solo se ogni gate e ciascuno dei dieci controlli sono superati (superamento rigoroso), altrimenti 0. È la ricompensa di addestramento
Punteggio
Somma dei pesi dei controlli superati, divisa per 100; 0 se un gate non è superato. Mostra dove una risposta ha sbagliato

Gate

GateDeve valere
G1output/bracket.step esiste, non è vuoto ed è leggibile come STEP
G2Contiene esattamente un solido chiuso e valido con volume positivo
G3Le unità sono millimetri e il pezzo sta in un cubo di 250 mm

Controlli

ControlloChe cosa si misuraObiettivoTolleranzaPeso
C1Ingombro120,0 × 80,0 × 84,0 mm±0,10 mm10
C2Volume209,27 cm³ (gold)±0.5%10
C3Sovrapposizione con il solido gold, allineato su A, B, CIntersezione su unionealmeno 0,99510
C4Diametro del foro, un cerchio adattato alla parete del foro in tre sezioniØ18 H7da 18,000 a 18,018 mm20
C5Asse del foro: posizione e perpendicolarità rispetto a BX 60.00, Z 52.00±0,05 mm; 0,02 mm10
C6Fori passanti nella base: numero e diametro4 × Ø9,0, passanti±0,10 mm10
C7Schema dei fori: posizioni dei centri90,0 × 36,0, primo foro in (15; 14)±0,10 mm10
C8Cava: larghezza, lunghezza, centro10,0 × 30,0, centro (42; 30)±0,10 mm10
C9Tipi di feature presentiForo e fori come cilindri veri; raccordo interno R6, quattro arrotondamenti R10, due smussi 1 × 45° sul foroper tipo di faccia; raggi secondo ISO 2768-m5
C10LateralitàCava a sinistra del foro, vista dal davantiesatto5

C4, in ambra sul disegno e sul modello, è il controllo che nessun confronto sulla forma complessiva può sostituire.

Sonde

Risposte sbagliate da respingere, risposte giuste da accettare.

Prima del rilascio di un task, il suo verificatore viene eseguito sull’output della soluzione di riferimento, su risposte volutamente sbagliate e su alternative corrette costruite in altro modo. I reward hack devono ottenere esattamente 0, ogni errore plausibile non deve superare il criterio rigoroso sui controlli che è stato costruito per far scattare, e la soluzione di riferimento e ogni alternativa corretta devono essere superate. Ogni riga qui sotto proviene dall’esecuzione registrata.

Tutte le sottomissioni delle sonde e le misure
SottomissioneChe cos’èTipoMisurato dal verificatoreRilevato daPunteggioRigoroso
goldIl solido gold con cui il verificatore confrontasolido goldingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0000Nulla1.00Superato
solve_pyLa soluzione di riferimento: solution/solve.py costruisce il pezzo dalle quote del disegno con OCPsoluzione di riferimentoingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0090Nulla1.00Superato
alt_rebuiltCostruito in altro modo: due profili fusi, un utensile di taglio del foro per rivoluzione, raccordo per ultimo; STEP AP242alternativa correttaingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0000Nulla1.00Superato
alt_bore_18009Il foro a Ø18,009, entro H7, tutto il resto come il goldalternativa correttaingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0090Nulla1.00Superato
alt_split_facesIl gold con ogni faccia chiusa divisa in due, come la scrivono alcuni sistemi CADalternativa correttaingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0000Nulla1.00Superato
emptyUn bracket.step vuotoreward hackIl file è vuoto (0 byte)G10.00Non superato
claim_onlyNessun modello, solo una nota che dichiara che il pezzo è stato modellato e verificatoreward hackNessun file in output/bracket.stepG10.00Non superato
scaled_copyIl solido gold scalato di 1,02errore plausibileingombro 122,400 × 81,600 × 85,680; volume +6,12%; sovrapposizione 0,8386; foro Ø18,3600Da C1 a C80.10Non superato
bore_oversizeIl foro maggiorato di 0,4 mm, tutto il resto come il golderrore plausibileingombro entro 0,10; volume -0,07%; sovrapposizione 0,9993; foro Ø18,4000C40.80Non superato
three_holesUn foro della base omessoerrore plausibileingombro entro 0,10; volume +0,36%; sovrapposizione 0,9964; foro Ø18,0000; fori passanti 3 passanti, tutti Ø9,000; schema dei fori 3 su 4 entro 0,10, peggiore 0,000, 1 mancanteC6, C70.80Non superato
mirroredIl solido gold specchiato da sinistra a destraerrore plausibileingombro entro 0,10; volume +0,00%; sovrapposizione 0,9686; foro Ø18,0000; cava 10,000 × 30,000 in (78,000; 30,000); lateralità: cava X 78,00 > foro X 60,00: destraC3, C8, C100.75Non superato
spline_facesIl gold con ogni faccia convertita in una superficie B-spline: stessa forma, nessun cilindro veroerrore plausibileingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0000; nessun cilindro, cono o piano veroC90.95Non superato

Generato da tests/run_results.json, l’esecuzione della sezione successiva. Il foro maggiorato supera i controlli di ingombro, volume e sovrapposizione e viene rilevato solo quando si misura il foro, come nella nostra ricerca sulla geometria. La copia in B-spline ha la forma giusta e fallisce solo sul tipo di feature: un sistema CAM o un ispettore non vi trova alcun cilindro vero da riconoscere come foro.

tests/verify.py · come C4 e C5 misurano il foro
def measure_bore(solid):
    """The Ø18 H7 bore. Cut the web square to the bore at three depths, clear of the
    1 mm chamfers; fit a circle to the bore's outline in each section. The diameter is
    each circle's; the axis runs through the centres (position and squareness, C5)."""
    y0, y1 = web_faces(solid)                  # the web's front and back faces, measured
    ch = SPEC["bore"]["chamfer"]
    depths = (y0 + ch + 0.5, (y0 + y1) / 2, y1 - ch - 0.5)
    nominal = np.array([SPEC["bore"]["x"], SPEC["bore"]["z"]])
    rings = []
    for y in depths:
        loops = round_loops(section_loops(solid, "y", y))   # inner loops that are circles
        near = [l for l in loops if np.linalg.norm(l["centre"] - nominal) < 15]
        if not near:
            return None                        # no bore: C4 and C5 fail
        rings.append(min(near, key=lambda l: np.linalg.norm(l["centre"] - nominal)))
    shift = np.linalg.norm(rings[2]["centre"] - rings[0]["centre"])
    tilt = shift * (y1 - y0) / (depths[2] - depths[0])   # over the web's thickness
    return dict(d=[l["d"] for l in rings], centre=rings[1]["centre"], square=float(tilt),
                roundness=max(l["roundness"] for l in rings))

Misurato sul pezzo, non letto dal file

Il verificatore non si fida mai dell’etichetta di una feature. Taglia il solido perpendicolarmente al foro a tre profondità lontane dagli smussi e in ciascuna adatta un cerchio al contorno del foro. Il diametro deve rientrare nella banda H7 di 18 µm in ogni sezione; l’asse che passa per i centri fornisce la posizione e la perpendicolarità.

I fori e la cava si misurano allo stesso modo, in sezioni attraverso la base vicino a entrambe le facce e a metà spessore, così un foro conta solo se è passante. I tipi di feature (C9) sono l’unico controllo letto dalle definizioni stesse delle facce.

Cartella del task

Che cosa viene consegnato, file per file.

Il download contiene ciascuno dei file elencati qui sotto, compresi l’esecuzione registrata e gli script necessari per riprodurla.

PercorsoChe cos’èDimensione
task.tomlId, dominio, modalità di accesso, limite di tempo, suddivisione, container, comando del verificatore, regola di ricompensa, comando della soluzione, diritti1.1 KB
instruction.mdIl brief qui sopra818 B
environment/DockerfileIl container dell’agente: Python 3.12, OpenCascade tramite OCP, numpy, il disegno; nulla viene scaricato in fase di esecuzione1.0 KB
environment/project/drawing.svgIl disegno di riferimento, rev A21.6 KB
tests/test.shEsegue il verificatore; scrive prima ricompensa 0, così anche un crash o un timeout ottengono 0836 B
tests/verify.pyI gate e i dieci controlli27.0 KB
tests/gold/bracket.stepIl solido gold, dal lato del valutatore91.3 KB
tests/probes/Le sonde: 8 solidi STEP, un file vuoto, una nota di sola dichiarazione e probes.json, che indica il punteggio che deve ottenere ogni sottomissione796.1 KB
tests/run_probes.pyEsegue la soluzione di riferimento, poi il verificatore sul suo output, sul solido gold e su ogni sonda, e verifica ogni risultato5.1 KB
tests/run_results.jsonL’esecuzione mostrata in questa pagina36.9 KB
solution/solve.shEsegue solve.py e scrive output/bracket.step398 B
solution/solve.pyLa soluzione di riferimento: costruisce la staffa dalle quote del disegno con OCP, senza leggere il solido gold7.6 KB

Scarichi la cartella del task ZIP, 177,3 KB · un esempio pubblico generato, non un elemento di valutazione

L’esecuzione qui sopra è stata effettuata nel container costruito dal Dockerfile, con la rete disattivata: prima è stata eseguita la soluzione di riferimento in assenza di tests/, poi è stato aggiunto ed eseguito il verificatore.

Vuole task come questo per il Suo harness?

Ci indichi la capacità che sta addestrando e il formato accettato dal Suo harness. Veda i dati di Ingegneria & CAD da cui costruiamo i task e come costruiamo gli ambienti.

Richieda un pacchetto di esempi