菜单

工程与 CAD / 示例任务

生成的公开样例

根据图纸为支架建模。

一个完整的“图纸到模型”任务。所有文件均由同一组参数生成;这不是任何公司的真实零件。

比较提交结果 读懂图纸

下载任务文件夹

标准输出 · 拖动旋转琥珀色:C4 测量的孔
生成的安装支架,灰色着色并带深色边线:一块带 4 个孔和一个槽的底板,以及一块竖直腹板,其上有一个以琥珀色显示的孔
拖动旋转 · 使用 + / − 缩放 · 双击复位
领域
机械零件
任务类别
从图纸到实体模型
访问模式
文件,无界面 CAD 内核
交付物
一个 STEP 实体
验证器
确定性几何验证:3 项门槛检查,10 个检查项
时间限制
45 分钟
数据划分
公开样例,从不用于任何训练集或评测集

参考图纸

DUF-S-001, rev A.

以第三角投影绘制的三视图,与标准模型由同一组参数生成,因此图纸与答案不会产生偏差。琥珀色标出了验证器测量的带公差的孔。

参考图纸 DUF-S-001 rev A:L 形安装支架的主视图、俯视图和右视图,尺寸 120 × 80 × 84 mm,底板上有 4 个 9 mm 通孔,孔阵列为 90 × 36,一个 10 × 30 的槽,竖板上有一个 18 mm H7 孔,以琥珀色绘制
生成的图纸 · 查看原尺寸(SVG,21.6 KB)

查看运行过程

比较各个提交结果。

已记录的验证器结果。黄色标出未通过的检查项;展开报告可查看每项测量值。

选择一个提交结果

已提交

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

验证器输出 · gold 严格通过 · 奖励 1 · 得分 1.00

所有门槛检查和检查项均已通过。

完整验证器输出
$ 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

验证器输出 · solve_py 严格通过 · 奖励 1 · 得分 1.00

所有门槛检查和检查项均已通过。

完整验证器输出
$ 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

验证器输出 · alt_rebuilt 严格通过 · 奖励 1 · 得分 1.00

所有门槛检查和检查项均已通过。

完整验证器输出
$ 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

验证器输出 · alt_bore_18009 严格通过 · 奖励 1 · 得分 1.00

所有门槛检查和检查项均已通过。

完整验证器输出
$ 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

验证器输出 · alt_split_faces 严格通过 · 奖励 1 · 得分 1.00

所有门槛检查和检查项均已通过。

完整验证器输出
$ 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

验证器输出 · empty 严格未通过 · 奖励 0 · 得分 0.00

G1 FAIL output/bracket.step exists, is not empty and reads as STEP: the file is empty (0 bytes)
完整验证器输出
$ 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

验证器输出 · claim_only 严格未通过 · 奖励 0 · 得分 0.00

G1 FAIL output/bracket.step exists, is not empty and reads as STEP: no file at output/bracket.step
完整验证器输出
$ 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

验证器输出 · scaled_copy 严格未通过 · 奖励 0 · 得分 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
完整验证器输出
$ 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

验证器输出 · bore_oversize 严格未通过 · 奖励 0 · 得分 0.80

C4 FAIL Bore diameter: Ø18.4000, 3 sections within 0.0000 expected Ø18 H7: 18.000 to 18.018 · w20
完整验证器输出
$ 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

验证器输出 · three_holes 严格未通过 · 奖励 0 · 得分 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
完整验证器输出
$ 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

验证器输出 · mirrored 严格未通过 · 奖励 0 · 得分 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
完整验证器输出
$ 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

验证器输出 · spline_faces 严格未通过 · 奖励 0 · 得分 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
完整验证器输出
$ 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

2026年11月14日在任务容器中运行一次,该容器由 environment/Dockerfile 构建,运行时断开网络(Docker 29.1.3,Linux):Python 3.12.13,通过 OCP 8.0.1.1 调用 OpenCascade,numpy 2.5.4。共 12 个提交:标准实体、参考解法的输出以及 10 个探针(2 个奖励作弊、5 个看似合理的错误、3 个正确的替代解法),每个都在独立进程中评分:每个耗时 0.68 至 1.87 s,共计 12.3 s。12 个中 12 个符合预期。验证器 sha256 ea5e7f60c430b8ea…

任务简介

智能体收到的说明。

提供给智能体的任务说明,以及它可以访问的文件和工具。

instruction.md818 字节

# 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.
智能体可见
/workspace 中的 project/drawing.svg 和一个空的 output/ 文件夹
工具
一个 shell,按 Dockerfile 安装的 Python 3.12 及 OpenCascade(OCP)和 numpy;无网络
对其隐藏
tests/ 中的标准实体、探针和检查项(仅在运行结束后才复制进来),以及 solution/ 中的参考解法
变体
生成器将每个尺寸、孔阵列和配合都作为参数,因此一个任务类别可以产生许多不同的任务

交付物与验证器

按几何逐个特征评分。

先进行门槛检查:缺失、损坏或单位错误的答案得 0 分。之后是 10 个加权检查项,每一项都是一次带有规定公差的测量。先进行整体形状比较,然后在穿过所提交实体的剖面中逐一测量每个带公差的特征,并检查其面的类型。

文件
output/bracket.step,STEP AP214 或 AP242,恰好一个实体
坐标系
单位为毫米,原点位于基准 A、B 和 C,Z 轴向上;验证器在比较前还会按基准面进行对齐
不评分
特征树、实体名称、颜色、图层、模型的构建方式
奖励
仅当所有门槛检查和全部 10 个检查项均通过(严格通过)时为 1,否则为 0。这就是训练奖励
得分
通过的检查项权重之和除以 100;任何门槛检查未通过则为 0。它显示答案错在哪里

门槛检查

门槛检查必须满足
G1output/bracket.step 存在、非空,且可作为 STEP 读取
G2恰好包含一个封闭、有效且体积为正的实体
G3单位为毫米,且零件可放入 250 mm 的立方体内

检查项

检查项测量内容目标值公差权重
C1包络尺寸120.0 × 80.0 × 84.0 mm±0.10 mm10
C2体积209.27 cm³(标准)±0.5%10
C3与标准实体的重合度,按 A、B、C 对齐交并比不低于 0.99510
C4孔径,在三个剖面中对孔壁拟合圆Ø18 H718.000 至 18.018 mm20
C5孔轴线:位置,以及与 B 的垂直度X 60.00, Z 52.00±0.05 mm;0.02 mm10
C6底板通孔:数量和直径4 × Ø9.0,贯通±0.10 mm10
C7孔阵列:孔心位置90.0 × 36.0,第一个孔位于 (15, 14)±0.10 mm10
C8槽:宽度、长度、中心10.0 × 30.0,中心 (42, 30)±0.10 mm10
C9存在的特征类型孔和通孔为真圆柱面;R6 内圆角、4 处 R10 外圆角、孔口 2 处 1 × 45° 倒角按面类型;半径按 ISO 2768-m5
C10左右朝向从正面看,槽位于孔的左侧精确5

C4 在图纸和模型上以琥珀色标出,是整体形状比较无法替代的检查项。

探针

必须拒绝的错误答案,必须通过的正确答案。

任务发布之前,我们会用参考解法的输出、故意出错的答案以及以另一种方式构建的正确的替代解法来运行其验证器。奖励作弊必须恰好得 0 分;每个看似合理的错误都必须在其所针对的检查项上严格未通过;参考解法和每个正确的替代解法都必须通过。下表每一行都来自已记录的运行。

所有探针提交及测量结果
提交内容类型验证器测得由何检出得分严格
gold验证器用作比较基准的标准实体标准实体包络在 0.10 以内;体积 +0.00%;重合度 1.0000;孔 Ø18.0000无1.00通过
solve_py参考解法:solution/solve.py 使用 OCP 根据图纸尺寸构建零件参考解法包络在 0.10 以内;体积 +0.00%;重合度 1.0000;孔 Ø18.0090无1.00通过
alt_rebuilt以另一种方式构建:融合两个轮廓,使用一个旋转生成的孔切除体,最后倒圆角;STEP AP242正确的替代解法包络在 0.10 以内;体积 +0.00%;重合度 1.0000;孔 Ø18.0000无1.00通过
alt_bore_18009孔径为 Ø18.009,在 H7 范围内,其余均与标准一致正确的替代解法包络在 0.10 以内;体积 +0.00%;重合度 1.0000;孔 Ø18.0090无1.00通过
alt_split_faces将标准实体的每个封闭面一分为二,与某些 CAD 系统的写出方式相同正确的替代解法包络在 0.10 以内;体积 +0.00%;重合度 1.0000;孔 Ø18.0000无1.00通过
empty一个空的 bracket.step奖励作弊文件为空(0 字节)G10.00未通过
claim_only没有模型,只有一条声称零件已建模并检查过的说明奖励作弊output/bracket.step 处没有文件G10.00未通过
scaled_copy将标准实体缩放 1.02 倍看似合理的错误包络 122.400 × 81.600 × 85.680; 体积 +6.12%; 重合度 0.8386; 孔 Ø18.3600C1 至 C80.10未通过
bore_oversize孔径偏大 0.4 mm,其余均与标准一致看似合理的错误包络在 0.10 以内;体积 -0.07%;重合度 0.9993;孔 Ø18.4000C40.80未通过
three_holes漏掉底板上的一个孔看似合理的错误包络在 0.10 以内;体积 +0.36%;重合度 0.9964;孔 Ø18.0000;通孔 3 个贯通,均为 Ø9.000;孔阵列 4 个中 3 个在 0.10 以内,最大偏差 0.000,缺失 1 个C6, C70.80未通过
mirrored将标准实体左右镜像看似合理的错误包络在 0.10 以内;体积 +0.00%;重合度 0.9686;孔 Ø18.0000;槽 10.000 × 30.000,位于 (78.000, 30.000);左右朝向:槽 X 78.00 > 孔 X 60.00:右C3, C8, C100.75未通过
spline_faces将标准实体的每个面都转换为 B 样条曲面:形状相同,但没有真圆柱面看似合理的错误包络在 0.10 以内;体积 +0.00%;重合度 1.0000;孔 Ø18.0000;没有真正的圆柱面、圆锥面或平面C90.95未通过

由下一节中的运行 tests/run_results.json 生成。孔径偏大的提交通过了包络、体积和重合度检查,只有在测量孔径时才被发现,这与我们自己的几何研究结果一致。B 样条副本形状正确,只在特征类型上未通过:CAM 系统或检验人员在其中找不到可识别为孔的真圆柱面。

tests/verify.py · C4 和 C5 如何测量孔
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))

在零件上测量,而非从文件中读取

验证器从不信任特征自带的标签。它在避开倒角的三个深度处垂直于孔剖切实体,并在每个剖面中对孔的轮廓拟合圆。每个剖面中的直径都必须落在 18 µm 的 H7 公差带内;穿过各圆心的轴线给出位置和垂直度。

通孔和槽以相同方式测量,剖面穿过底板,分别靠近两个表面和位于厚度中间,因此只有贯通的孔才计数。特征类型(C9)是唯一一个从面自身定义中读取的检查项。

任务文件夹

交付内容,逐个文件列出。

下载内容包含下列每个文件,包括已记录的运行以及复现该运行所需的脚本。

路径内容大小
task.tomlID、领域、访问模式、时间限制、数据划分、容器、验证器命令、奖励规则、解法命令、权利1.1 KB
instruction.md上文的任务简介818 B
environment/Dockerfile智能体的容器:Python 3.12、通过 OCP 调用的 OpenCascade、numpy、图纸;运行时不获取任何内容1.0 KB
environment/project/drawing.svg参考图纸,rev A21.6 KB
tests/test.sh运行验证器;先写入奖励 0,因此即使崩溃或超时也得 0 分836 B
tests/verify.py门槛检查和 10 个检查项27.0 KB
tests/gold/bracket.step标准实体,位于评估方一侧91.3 KB
tests/probes/探针:8 个 STEP 实体、一个空文件、一条仅声称完成的说明,以及说明每个提交应得分数的 probes.json796.1 KB
tests/run_probes.py运行参考解法,然后对其输出、标准实体和每个探针运行验证器,并检查每个结果5.1 KB
tests/run_results.json本页面展示的运行36.9 KB
solution/solve.sh运行 solve.py 并写入 output/bracket.step398 B
solution/solve.py参考解法:使用 OCP 根据图纸尺寸构建支架,不读取标准实体7.6 KB

下载任务文件夹 ZIP,177.3 KB · 公开的生成样例,并非评测项目

上述运行在 Dockerfile 构建的容器中进行,且断开网络:先在没有 tests/ 的情况下运行参考解法,然后加入验证器并运行。

想为您的评测框架获取这样的任务吗?

告诉我们您正在训练的能力以及您的评测框架所接受的格式。了解我们用于构建任务的工程与 CAD 数据,以及我们如何构建环境。

申请样本包