Engineering & CAD / Beispielaufgabe
Generiertes öffentliches Beispiel
Modellieren Sie einen Halter nach seiner Zeichnung.
Eine vollständige Aufgabe von der Zeichnung zum Modell. Jede Datei wird aus einem einzigen Parametersatz generiert; dies ist kein echtes Teil irgendeines Unternehmens.
- Bereich
- Mechanische Bauteile
- Aufgabenfamilie
- Zeichnung zum Volumenmodell
- Zugriffsmodus
- Dateien, headless CAD-Kernel
- Liefergegenstand
- Ein STEP-Volumenkörper
- Verifier
- Deterministische Geometrie: 3 Gates, 10 Prüfungen
- Zeitlimit
- 45 Minuten
- Split
- Öffentliches Beispiel, nie in einem Trainings- oder Evaluationsset
Referenzzeichnung
DUF-S-001, Rev. A.
Drei Ansichten in Projektionsmethode 3, aus denselben Parametern generiert wie das Gold-Modell, sodass Zeichnung und Lösung nicht auseinanderlaufen können. Bernstein markiert die tolerierte Bohrung, die der Verifier misst.
In Aktion sehen
Vergleichen Sie die Einreichungen.
Aufgezeichnete Verifier-Ergebnisse. Gelb markiert die fehlgeschlagenen Prüfungen; klappen Sie einen Bericht auf, um jede Messung zu sehen.
Eingereicht
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
Verifier-Ausgabe · gold strikt bestanden · Reward 1 · Score 1,00
Alle Gates und Prüfungen bestanden.
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · solve_py strikt bestanden · Reward 1 · Score 1,00
Alle Gates und Prüfungen bestanden.
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · alt_rebuilt strikt bestanden · Reward 1 · Score 1,00
Alle Gates und Prüfungen bestanden.
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · alt_bore_18009 strikt bestanden · Reward 1 · Score 1,00
Alle Gates und Prüfungen bestanden.
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · alt_split_faces strikt bestanden · Reward 1 · Score 1,00
Alle Gates und Prüfungen bestanden.
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · empty strikt nicht bestanden · Reward 0 · Score 0,00
G1 FAIL output/bracket.step exists, is not empty and reads as STEP: the file is empty (0 bytes)
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · claim_only strikt nicht bestanden · Reward 0 · Score 0,00
G1 FAIL output/bracket.step exists, is not empty and reads as STEP: no file at output/bracket.step
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · scaled_copy strikt nicht bestanden · Reward 0 · Score 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
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · bore_oversize strikt nicht bestanden · Reward 0 · Score 0,80
C4 FAIL Bore diameter: Ø18.4000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · three_holes strikt nicht bestanden · Reward 0 · Score 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
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · mirrored strikt nicht bestanden · Reward 0 · Score 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
Vollständige Verifier-Ausgabe
$ 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
Verifier-Ausgabe · spline_faces strikt nicht bestanden · Reward 0 · Score 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
Vollständige Verifier-Ausgabe
$ 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
Aufgabenbeschreibung
Was dem Agenten gesagt wird.
Die Anweisung, die der Agent erhält, zusammen mit den Dateien und Tools, auf die er zugreifen kann.
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.
- Der Agent sieht
project/drawing.svgund einen leeren Ordneroutput/, in/workspace- Tools
- Eine Shell, Python 3.12 mit OpenCascade (OCP) und numpy, wie das Dockerfile sie installiert; kein Netzwerk
- Vor ihm verborgen
- Der Gold-Volumenkörper, die Testfälle und die Prüfungen in
tests/, die erst nach Ende des Laufs hineinkopiert werden, und die Referenzlösung insolution/ - Varianten
- Der Generator nimmt jedes Maß, das Lochbild und die Passung als Parameter, sodass eine Familie viele unterschiedliche Aufgaben ergibt
Liefergegenstand und Verifier
Bewertet anhand der Geometrie, Feature für Feature.
Zuerst die Gates: Eine Antwort, die fehlt, defekt ist oder die falschen Einheiten hat, erhält 0. Dann zehn gewichtete Prüfungen, jede eine Messung mit angegebener Toleranz. Zuerst kommen Vergleiche der Gesamtform. Dann wird jedes tolerierte Feature einzeln gemessen, in Schnitten durch den eingereichten Volumenkörper, und seine Flächen werden auf ihren Typ geprüft.
- Datei
output/bracket.step, STEP AP214 oder AP242, genau ein Volumenkörper- Koordinatensystem
- Millimeter, Ursprung in den Bezügen A, B und C, Z nach oben; der Verifier richtet vor dem Vergleich zusätzlich an den Bezugsflächen aus
- Nicht bewertet
- Feature-Baum, Körpernamen, Farben, Layer, wie das Modell aufgebaut wurde
- Reward
- 1 nur, wenn jedes Gate und jede der zehn Prüfungen besteht (striktes Bestehen), sonst 0. Das ist der Trainings-Reward
- Score
- Summe der Gewichte der bestandenen Prüfungen, geteilt durch 100; 0, wenn ein Gate scheitert. Er zeigt, wo eine Antwort danebenlag
Gates
| Gate | Muss gelten |
|---|---|
| G1 | output/bracket.step existiert, ist nicht leer und lässt sich als STEP lesen |
| G2 | Sie enthält genau einen geschlossenen, gültigen Volumenkörper mit positivem Volumen |
| G3 | Die Einheiten sind Millimeter, und das Teil passt in einen Würfel von 250 mm |
Prüfungen
| Prüfung | Was gemessen wird | Sollwert | Toleranz | Gewichtung |
|---|---|---|---|---|
| C1 | Hüllquader | 120,0 × 80,0 × 84,0 mm | ±0,10 mm | 10 |
| C2 | Volumen | 209,27 cm³ (Gold) | ±0.5% | 10 |
| C3 | Überdeckung mit dem Gold-Volumenkörper, ausgerichtet an A, B, C | Intersection over Union | mindestens 0,995 | 10 |
| C4 | Bohrungsdurchmesser, ein Kreis, an die Bohrungswand in drei Schnitten angepasst | Ø18 H7 | 18,000 bis 18,018 mm | 20 |
| C5 | Bohrungsachse: Position und Rechtwinkligkeit zu B | X 60.00, Z 52.00 | ±0,05 mm; 0,02 mm | 10 |
| C6 | Durchgangsbohrungen in der Grundplatte: Anzahl und Durchmesser | 4 × Ø9,0, durchgehend | ±0,10 mm | 10 |
| C7 | Lochbild: Mittelpunktpositionen | 90,0 × 36,0, erste Bohrung bei (15, 14) | ±0,10 mm | 10 |
| C8 | Nut: Breite, Länge, Mitte | 10,0 × 30,0, Mitte (42, 30) | ±0,10 mm | 10 |
| C9 | Vorhandene Feature-Typen | Bohrung und Löcher echte Zylinder; innere Rundung R6, vier Rundungen R10, zwei Fasen 1 × 45° an der Bohrung | nach Flächentyp; Radien nach ISO 2768-m | 5 |
| C10 | Händigkeit | Nut links der Bohrung, von vorn gesehen | exakt | 5 |
C4, in Bernstein auf Zeichnung und Modell, ist die Prüfung, die kein Vergleich der Gesamtform ersetzen kann.
Testfälle
Falsche Antworten muss er ablehnen, richtige bestehen lassen.
Bevor eine Aufgabe ausgeliefert wird, läuft ihr Verifier auf der Ausgabe der Referenzlösung, auf absichtlich falschen Antworten und auf korrekten, anders aufgebauten Alternativen. Reward Hacks müssen genau 0 erzielen, jeder plausible Fehler muss an den Prüfungen, die er auslösen soll, strikt scheitern, und die Referenzlösung sowie jede korrekte Alternative müssen bestehen. Jede Zeile unten stammt aus dem aufgezeichneten Lauf.
Alle Testfall-Einreichungen und Messungen
| Einreichung | Was es ist | Art | Vom Verifier gemessen | Erkannt durch | Score | Strikt |
|---|---|---|---|---|---|---|
gold | Der Gold-Volumenkörper, mit dem der Verifier vergleicht | Gold-Volumenkörper | Hüllquader innerhalb 0,10; Volumen +0,00 %; Überdeckung 1,0000; Bohrung Ø18,0000 | Nichts | 1.00 | Bestanden |
solve_py | Die Referenzlösung: solution/solve.py baut das Teil mit OCP aus den Maßen der Zeichnung | Referenzlösung | Hüllquader innerhalb 0,10; Volumen +0,00 %; Überdeckung 1,0000; Bohrung Ø18,0090 | Nichts | 1.00 | Bestanden |
alt_rebuilt | Anders aufgebaut: zwei Umrisse vereinigt, ein rotierter Bohrungsschnitt, Rundung zuletzt; STEP AP242 | korrekte Alternative | Hüllquader innerhalb 0,10; Volumen +0,00 %; Überdeckung 1,0000; Bohrung Ø18,0000 | Nichts | 1.00 | Bestanden |
alt_bore_18009 | Die Bohrung mit Ø18,009, innerhalb H7, alles andere wie Gold | korrekte Alternative | Hüllquader innerhalb 0,10; Volumen +0,00 %; Überdeckung 1,0000; Bohrung Ø18,0090 | Nichts | 1.00 | Bestanden |
alt_split_faces | Das Gold-Modell mit jeder geschlossenen Fläche zweigeteilt, wie manche CAD-Systeme sie schreiben | korrekte Alternative | Hüllquader innerhalb 0,10; Volumen +0,00 %; Überdeckung 1,0000; Bohrung Ø18,0000 | Nichts | 1.00 | Bestanden |
empty | Eine leere bracket.step | Reward Hack | Die Datei ist leer (0 Byte) | G1 | 0.00 | Nicht bestanden |
claim_only | Kein Modell, nur eine Notiz, das Teil sei modelliert und geprüft | Reward Hack | Keine Datei unter output/bracket.step | G1 | 0.00 | Nicht bestanden |
scaled_copy | Der Gold-Volumenkörper, skaliert um 1,02 | plausibler Fehler | Hüllquader 122,400 × 81,600 × 85,680; Volumen +6,12 %; Überdeckung 0,8386; Bohrung Ø18,3600 | C1 bis C8 | 0.10 | Nicht bestanden |
bore_oversize | Die Bohrung 0,4 mm zu groß, alles andere wie Gold | plausibler Fehler | Hüllquader innerhalb 0,10; Volumen -0,07 %; Überdeckung 0,9993; Bohrung Ø18,4000 | C4 | 0.80 | Nicht bestanden |
three_holes | Eine Bohrung in der Grundplatte fehlt | plausibler Fehler | Hüllquader innerhalb 0,10; Volumen +0,36 %; Überdeckung 0,9964; Bohrung Ø18,0000; Durchgangsbohrungen 3 durchgehend, alle Ø9,000; Lochbild 3 von 4 innerhalb 0,10, größte Abweichung 0,000, 1 fehlt | C6, C7 | 0.80 | Nicht bestanden |
mirrored | Der Gold-Volumenkörper, von links nach rechts gespiegelt | plausibler Fehler | Hüllquader innerhalb 0,10; Volumen +0,00 %; Überdeckung 0,9686; Bohrung Ø18,0000; Nut 10,000 × 30,000 bei (78,000; 30,000); Händigkeit Nut X 78,00 > Bohrung X 60,00: rechts | C3, C8, C10 | 0.75 | Nicht bestanden |
spline_faces | Das Gold-Modell mit jeder Fläche in eine B-Spline-Fläche umgewandelt: gleiche Form, keine echten Zylinder | plausibler Fehler | Hüllquader innerhalb 0,10; Volumen +0,00 %; Überdeckung 1,0000; Bohrung Ø18,0000; weder echter Zylinder noch Kegel noch Ebene | C9 | 0.95 | Nicht bestanden |
Generiert aus tests/run_results.json, dem Lauf im nächsten Abschnitt. Die zu große Bohrung besteht Hüllquader, Volumen und Überdeckung und wird erst erkannt, wenn die Bohrung gemessen wird, wie in unserer eigenen Geometriestudie. Die B-Spline-Kopie hat die richtige Form und scheitert nur am Feature-Typ: Ein CAM-System oder ein Prüfer findet darin keinen echten Zylinder, den er als Bohrung erfassen könnte.
tests/verify.py · wie C4 und C5 die Bohrung messendef 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))
Am Teil gemessen, nicht aus der Datei gelesen
Der Verifier vertraut nie der eigenen Bezeichnung eines Features. Er schneidet den Volumenkörper rechtwinklig zur Bohrung in drei Tiefen abseits der Fasen und passt in jedem Schnitt einen Kreis an den Umriss der Bohrung an. Der Durchmesser muss in jedem Schnitt innerhalb des 18-µm-H7-Bands liegen; die Achse durch die Mittelpunkte ergibt Position und Rechtwinkligkeit.
Löcher und Nut werden auf dieselbe Weise gemessen, in Schnitten durch die Grundplatte nahe beiden Flächen und auf halber Dicke, sodass ein Loch nur zählt, wenn es durchgeht. Die Feature-Typen (C9) sind die einzige Prüfung, die aus den eigenen Definitionen der Flächen gelesen wird.
Aufgabenordner
Was geliefert wird, Datei für Datei.
Der Download enthält jede unten aufgeführte Datei, einschließlich des aufgezeichneten Laufs und der Skripte, die zu seiner Reproduktion nötig sind.
| Pfad | Was es ist | Größe |
|---|---|---|
task.toml | ID, Bereich, Zugriffsmodus, Zeitlimit, Split, Container, Verifier-Befehl, Reward-Regel, Lösungsbefehl, Rechte | 1.1 KB |
instruction.md | Die Aufgabenbeschreibung oben | 818 B |
environment/Dockerfile | Der Container des Agenten: Python 3.12, OpenCascade über OCP, numpy, die Zeichnung; zur Laufzeit wird nichts abgerufen | 1.0 KB |
environment/project/drawing.svg | Die Referenzzeichnung, Rev. A | 21.6 KB |
tests/test.sh | Führt den Verifier aus; schreibt zuerst Reward 0, sodass auch ein Absturz oder eine Zeitüberschreitung 0 ergibt | 836 B |
tests/verify.py | Die Gates und die zehn Prüfungen | 27.0 KB |
tests/gold/bracket.step | Der Gold-Volumenkörper, auf der Seite des Evaluators | 91.3 KB |
tests/probes/ | Die Testfälle: 8 STEP-Volumenkörper, eine leere Datei, eine Notiz, die nur etwas behauptet, und probes.json, das angibt, welchen Score jede Einreichung erzielen muss | 796.1 KB |
tests/run_probes.py | Führt die Referenzlösung aus, dann den Verifier auf ihrer Ausgabe, dem Gold-Volumenkörper und jedem Testfall, und prüft jedes Ergebnis | 5.1 KB |
tests/run_results.json | Der auf dieser Seite gezeigte Lauf | 36.9 KB |
solution/solve.sh | Führt solve.py aus und schreibt output/bracket.step | 398 B |
solution/solve.py | Die Referenzlösung: baut den Halter mit OCP aus den Maßen der Zeichnung, ohne den Gold-Volumenkörper zu lesen | 7.6 KB |
Aufgabenordner herunterladen ZIP, 177,3 KB · ein öffentliches generiertes Beispiel, kein Evaluationselement
Der obige Lauf wurde in dem Container durchgeführt, den das Dockerfile baut, mit abgeschaltetem Netzwerk: Zuerst lief die Referenzlösung ohne tests/, dann wurde der Verifier hinzugefügt und ausgeführt.
Sie möchten solche Aufgaben für Ihr Harness?
Nennen Sie uns die Fähigkeit, die Sie trainieren, und das Format, das Ihr Harness erwartet. Sehen Sie sich die Engineering- & CAD-Daten an, aus denen wir Aufgaben bauen, und wie wir Umgebungen bauen.