重构 改为标准化输出

This commit is contained in:
2026-09-01 14:10:23 +08:00
parent 7533b298f1
commit bc87bd6d2d
10151 changed files with 1709487 additions and 11776 deletions
@@ -0,0 +1,106 @@
{
"items": [
{
"acceptance_claims": [
{
"claim_kind": "solid_count_equals",
"expected": {
"value": 1
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 140
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 100
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 25
}
}
],
"assumptions": [],
"draft_id": "draft_001",
"source_ids": [
"src_001"
],
"statement": "制造一个CNC加工板,外形为单一长方体板件,成品尺寸为长140毫米、宽100毫米、厚25毫米。"
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "顶面中心存在一个长100毫米、宽70毫米、深8毫米的矩形口袋。"
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 25
}
}
],
"assumptions": [
"口袋坐标系以板件顶面中心为基准。"
],
"draft_id": "draft_002",
"source_ids": [
"src_001"
],
"statement": "在顶面中心加工一个矩形一级口袋,口袋尺寸为长100毫米、宽70毫米、深8毫米。"
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "一级口袋中心存在一个长60毫米、宽35毫米、比一级口袋底面再深7毫米的矩形二级口袋。"
}
}
],
"assumptions": [
"二级口袋位于一级口袋的几何中心。"
],
"draft_id": "draft_003",
"source_ids": [
"src_001"
],
"statement": "在一级口袋中心继续加工一个矩形二级口袋,二级口袋尺寸为长60毫米、宽35毫米,额外加深7毫米。"
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "所有内角均为R5圆角。"
}
}
],
"assumptions": [],
"draft_id": "draft_004",
"source_ids": [
"src_001"
],
"statement": "所有内角均采用R5圆角。"
}
],
"revision": 1,
"schema_version": "cad.requirements-draft.v1"
}
@@ -0,0 +1,122 @@
{
"items": [
{
"acceptance_claims": [
{
"claim_kind": "solid_count_equals",
"expected": {
"value": 1
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 140
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 100
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 25
}
}
],
"assumptions": [],
"draft_id": "draft_001",
"source_ids": [
"src_001"
],
"statement": "制造一个CNC加工板,外形为单一长方体板件,成品尺寸为长140毫米、宽100毫米、厚25毫米。"
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "顶面中心存在一个矩形一级口袋,口袋平面尺寸为长100毫米、宽70毫米,底面相对顶面下沉8毫米。"
}
},
{
"claim_kind": "visual",
"expected": {
"description": "一级口袋位于板件顶面几何中心,且口袋轮廓相对板件中心居中。"
}
},
{
"claim_kind": "visual",
"expected": {
"description": "一级口袋的所有内角均为R5圆角。"
}
}
],
"assumptions": [
"口袋坐标系以板件顶面中心为基准。"
],
"draft_id": "draft_002",
"source_ids": [
"src_001"
],
"statement": "在顶面中心加工一个矩形一级口袋,口袋尺寸为长100毫米、宽70毫米、深8毫米,且所有内角为R5圆角。"
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "一级口袋中心存在一个矩形二级口袋,口袋平面尺寸为长60毫米、宽35毫米。"
}
},
{
"claim_kind": "visual",
"expected": {
"description": "二级口袋相对一级口袋底面再下沉7毫米。"
}
},
{
"claim_kind": "visual",
"expected": {
"description": "二级口袋位于一级口袋的几何中心,且所有内角均为R5圆角。"
}
}
],
"assumptions": [
"二级口袋位于一级口袋的几何中心。"
],
"draft_id": "draft_003",
"source_ids": [
"src_001"
],
"statement": "在一级口袋中心继续加工一个矩形二级口袋,二级口袋尺寸为长60毫米、宽35毫米,额外加深7毫米,且所有内角为R5圆角。"
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "所有内角均为R5圆角,包括一级口袋和二级口袋的内轮廓。"
}
}
],
"assumptions": [],
"draft_id": "draft_004",
"source_ids": [
"src_001"
],
"statement": "所有内角均采用R5圆角。"
}
],
"revision": 2,
"schema_version": "cad.requirements-draft.v1"
}
@@ -0,0 +1,158 @@
{
"items": [
{
"acceptance_claims": [
{
"claim_kind": "solid_count_equals",
"expected": {
"value": 1
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 140
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 100
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "z",
"tolerance_mm": 0.1,
"value": 25
}
}
],
"assumptions": [],
"draft_id": "draft_001",
"source_ids": [
"src_001"
],
"statement": "制造一个CNC加工板,外形为单一长方体板件,成品尺寸为长140毫米、宽100毫米、厚25毫米。"
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "一级口袋位于板件顶面几何中心,口袋开口轮廓居中于顶面。"
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 100
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 70
}
},
{
"claim_kind": "cylindrical_bore_depth",
"expected": {
"depth_mm": 8,
"diameter_mm": 100,
"tolerance_mm": 0.1
}
},
{
"claim_kind": "visual",
"expected": {
"description": "一级口袋所有内角均为R5圆角。"
}
}
],
"assumptions": [
"口袋以板件顶面几何中心为基准居中。"
],
"draft_id": "draft_002",
"source_ids": [
"src_001"
],
"statement": "在顶面中心加工一个矩形一级口袋,口袋开口尺寸为长100毫米、宽70毫米,深8毫米,且所有内角为R5圆角。"
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "二级口袋位于一级口袋的几何中心,口袋开口轮廓居中于一级口袋底面区域。"
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "x",
"tolerance_mm": 0.1,
"value": 60
}
},
{
"claim_kind": "bbox_dimension_mm",
"expected": {
"axis": "y",
"tolerance_mm": 0.1,
"value": 35
}
},
{
"claim_kind": "cylindrical_bore_depth",
"expected": {
"depth_mm": 7,
"diameter_mm": 60,
"tolerance_mm": 0.1
}
},
{
"claim_kind": "visual",
"expected": {
"description": "二级口袋所有内角均为R5圆角。"
}
}
],
"assumptions": [
"二级口袋位于一级口袋的几何中心。"
],
"draft_id": "draft_003",
"source_ids": [
"src_001"
],
"statement": "在一级口袋中心继续加工一个矩形二级口袋,二级口袋开口尺寸为长60毫米、宽35毫米,额外加深7毫米,且所有内角为R5圆角。"
},
{
"acceptance_claims": [
{
"claim_kind": "visual",
"expected": {
"description": "一级口袋和二级口袋的所有内角均为R5圆角。"
}
}
],
"assumptions": [],
"draft_id": "draft_004",
"source_ids": [
"src_001"
],
"statement": "一级口袋与二级口袋的所有内角均采用R5圆角。"
}
],
"revision": 3,
"schema_version": "cad.requirements-draft.v1"
}
@@ -0,0 +1,45 @@
{
"coverage": [
{
"requirement_ids": [
"req_001",
"req_002",
"req_003",
"req_004"
],
"source_id": "src_001"
}
],
"issues": [
"draft_002 lacks exact executable acceptance claims for first pocket length 100 mm, width 70 mm, depth 8 mm, and centered placement; these are only in prose/visual description.",
"draft_003 lacks exact executable acceptance claims for second pocket length 60 mm, width 35 mm, extra depth 7 mm, and centered-in-first-pocket relationship; these are only in prose/visual description.",
"draft_004 lacks an exact executable acceptance claim for R5 internal corner radius; visual description alone does not verify the numeric radius."
],
"item_verdicts": [
{
"draft_id": "draft_001",
"question": null,
"reason_code": "none",
"verdict": "pass"
},
{
"draft_id": "draft_002",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
},
{
"draft_id": "draft_003",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
},
{
"draft_id": "draft_004",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
}
],
"verdict": "revise"
}
@@ -0,0 +1,45 @@
{
"coverage": [
{
"requirement_ids": [
"req_001",
"req_002",
"req_003",
"req_004"
],
"source_id": "src_001"
}
],
"issues": [
"draft_002 uses visual claims for the first pocket dimensions, depth, centering, and R5 radii; these independently measurable requirements need exact executable acceptance claims.",
"draft_003 uses visual claims for the second pocket dimensions, additional 7 mm depth, centering, and R5 radii; these independently measurable requirements need exact executable acceptance claims.",
"draft_004 duplicates the R5 prose as a visual claim, but does not add executable radius checks for the first and second pocket inner corners."
],
"item_verdicts": [
{
"draft_id": "draft_001",
"question": null,
"reason_code": "none",
"verdict": "pass"
},
{
"draft_id": "draft_002",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
},
{
"draft_id": "draft_003",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
},
{
"draft_id": "draft_004",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
}
],
"verdict": "revise"
}
@@ -0,0 +1,46 @@
{
"coverage": [
{
"requirement_ids": [
"req_001",
"req_002",
"req_003",
"req_004"
],
"source_id": "src_001"
}
],
"issues": [
"draft_002 uses cylindrical_bore_depth with diameter 100 for a rectangular 100 x 70 pocket; this claim is not feasible/exact for the required rectangular pocket depth.",
"draft_003 uses cylindrical_bore_depth with diameter 60 for a rectangular 60 x 35 pocket; this claim is not feasible/exact for the required rectangular pocket extra depth.",
"Pocket dimensions in draft_002 and draft_003 are expressed as generic bbox dimensions, which are ambiguous against the whole part/solid unless scoped to the pocket feature.",
"R5 corner radius is represented only by visual claims in draft_002, draft_003, and draft_004; the measurable radius value lacks an exact executable acceptance claim."
],
"item_verdicts": [
{
"draft_id": "draft_001",
"question": null,
"reason_code": "none",
"verdict": "pass"
},
{
"draft_id": "draft_002",
"question": null,
"reason_code": "claim_unverifiable",
"verdict": "revise"
},
{
"draft_id": "draft_003",
"question": null,
"reason_code": "claim_unverifiable",
"verdict": "revise"
},
{
"draft_id": "draft_004",
"question": null,
"reason_code": "missing_dimension",
"verdict": "revise"
}
],
"verdict": "revise"
}
@@ -0,0 +1,6 @@
{
"schema_version": "cad.source-index.v1",
"sources": {
"src_001": "生成一个CNC加工板,长140毫米,宽100毫米,厚25毫米。顶面中心先加工一个长100毫米、宽70毫米、深8毫米的矩形口袋,再在第一级口袋中心加工一个长60毫米、宽35毫米、额外深7毫米的第二级口袋,所有内角圆角R5。"
}
}