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.
- 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.
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.
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
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.svge una cartellaoutput/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 insolution/ - 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
| Gate | Deve valere |
|---|---|
| G1 | output/bracket.step esiste, non è vuoto ed è leggibile come STEP |
| G2 | Contiene esattamente un solido chiuso e valido con volume positivo |
| G3 | Le unità sono millimetri e il pezzo sta in un cubo di 250 mm |
Controlli
| Controllo | Che cosa si misura | Obiettivo | Tolleranza | Peso |
|---|---|---|---|---|
| C1 | Ingombro | 120,0 × 80,0 × 84,0 mm | ±0,10 mm | 10 |
| C2 | Volume | 209,27 cm³ (gold) | ±0.5% | 10 |
| C3 | Sovrapposizione con il solido gold, allineato su A, B, C | Intersezione su unione | almeno 0,995 | 10 |
| C4 | Diametro del foro, un cerchio adattato alla parete del foro in tre sezioni | Ø18 H7 | da 18,000 a 18,018 mm | 20 |
| C5 | Asse del foro: posizione e perpendicolarità rispetto a B | X 60.00, Z 52.00 | ±0,05 mm; 0,02 mm | 10 |
| C6 | Fori passanti nella base: numero e diametro | 4 × Ø9,0, passanti | ±0,10 mm | 10 |
| C7 | Schema dei fori: posizioni dei centri | 90,0 × 36,0, primo foro in (15; 14) | ±0,10 mm | 10 |
| C8 | Cava: larghezza, lunghezza, centro | 10,0 × 30,0, centro (42; 30) | ±0,10 mm | 10 |
| C9 | Tipi di feature presenti | Foro e fori come cilindri veri; raccordo interno R6, quattro arrotondamenti R10, due smussi 1 × 45° sul foro | per tipo di faccia; raggi secondo ISO 2768-m | 5 |
| C10 | Lateralità | Cava a sinistra del foro, vista dal davanti | esatto | 5 |
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
| Sottomissione | Che cos’è | Tipo | Misurato dal verificatore | Rilevato da | Punteggio | Rigoroso |
|---|---|---|---|---|---|---|
gold | Il solido gold con cui il verificatore confronta | solido gold | ingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0000 | Nulla | 1.00 | Superato |
solve_py | La soluzione di riferimento: solution/solve.py costruisce il pezzo dalle quote del disegno con OCP | soluzione di riferimento | ingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0090 | Nulla | 1.00 | Superato |
alt_rebuilt | Costruito in altro modo: due profili fusi, un utensile di taglio del foro per rivoluzione, raccordo per ultimo; STEP AP242 | alternativa corretta | ingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0000 | Nulla | 1.00 | Superato |
alt_bore_18009 | Il foro a Ø18,009, entro H7, tutto il resto come il gold | alternativa corretta | ingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0090 | Nulla | 1.00 | Superato |
alt_split_faces | Il gold con ogni faccia chiusa divisa in due, come la scrivono alcuni sistemi CAD | alternativa corretta | ingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0000 | Nulla | 1.00 | Superato |
empty | Un bracket.step vuoto | reward hack | Il file è vuoto (0 byte) | G1 | 0.00 | Non superato |
claim_only | Nessun modello, solo una nota che dichiara che il pezzo è stato modellato e verificato | reward hack | Nessun file in output/bracket.step | G1 | 0.00 | Non superato |
scaled_copy | Il solido gold scalato di 1,02 | errore plausibile | ingombro 122,400 × 81,600 × 85,680; volume +6,12%; sovrapposizione 0,8386; foro Ø18,3600 | Da C1 a C8 | 0.10 | Non superato |
bore_oversize | Il foro maggiorato di 0,4 mm, tutto il resto come il gold | errore plausibile | ingombro entro 0,10; volume -0,07%; sovrapposizione 0,9993; foro Ø18,4000 | C4 | 0.80 | Non superato |
three_holes | Un foro della base omesso | errore plausibile | ingombro 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 mancante | C6, C7 | 0.80 | Non superato |
mirrored | Il solido gold specchiato da sinistra a destra | errore plausibile | ingombro 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: destra | C3, C8, C10 | 0.75 | Non superato |
spline_faces | Il gold con ogni faccia convertita in una superficie B-spline: stessa forma, nessun cilindro vero | errore plausibile | ingombro entro 0,10; volume +0,00%; sovrapposizione 1,0000; foro Ø18,0000; nessun cilindro, cono o piano vero | C9 | 0.95 | Non 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 forodef 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.
| Percorso | Che cos’è | Dimensione |
|---|---|---|
task.toml | Id, dominio, modalità di accesso, limite di tempo, suddivisione, container, comando del verificatore, regola di ricompensa, comando della soluzione, diritti | 1.1 KB |
instruction.md | Il brief qui sopra | 818 B |
environment/Dockerfile | Il container dell’agente: Python 3.12, OpenCascade tramite OCP, numpy, il disegno; nulla viene scaricato in fase di esecuzione | 1.0 KB |
environment/project/drawing.svg | Il disegno di riferimento, rev A | 21.6 KB |
tests/test.sh | Esegue il verificatore; scrive prima ricompensa 0, così anche un crash o un timeout ottengono 0 | 836 B |
tests/verify.py | I gate e i dieci controlli | 27.0 KB |
tests/gold/bracket.step | Il solido gold, dal lato del valutatore | 91.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 sottomissione | 796.1 KB |
tests/run_probes.py | Esegue la soluzione di riferimento, poi il verificatore sul suo output, sul solido gold e su ogni sonda, e verifica ogni risultato | 5.1 KB |
tests/run_results.json | L’esecuzione mostrata in questa pagina | 36.9 KB |
solution/solve.sh | Esegue solve.py e scrive output/bracket.step | 398 B |
solution/solve.py | La soluzione di riferimento: costruisce la staffa dalle quote del disegno con OCP, senza leggere il solido gold | 7.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.