重构 改为标准化输出
This commit is contained in:
+107
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"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": 60
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "z",
|
||||
"tolerance_mm": 0.1,
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "Rectangular plate with rounded corners"
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "single_connected_body",
|
||||
"expected": {}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_001",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Create a CNC rectangular mounting plate with rounded corners, overall dimensions 100 mm x 60 mm x 8 mm thick."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "rectangular_corner_through_bore_pattern",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"edge_offset_mm": 10,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "Four symmetric corner holes offset uniformly from the plate edges"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_002",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Include four corner through holes of 8 mm diameter, one near each corner, with each hole center located 10 mm from the adjacent left/right edge and 10 mm from the adjacent top/bottom edge."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 1,
|
||||
"diameter_mm": 30,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "One central circular through hole"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_003",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Include one centered through hole of 30 mm diameter."
|
||||
}
|
||||
],
|
||||
"revision": 1,
|
||||
"schema_version": "cad.requirements-draft.v1"
|
||||
}
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"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": 60
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "z",
|
||||
"tolerance_mm": 0.1,
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "Rectangular plate with four R6 rounded corners"
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "single_connected_body",
|
||||
"expected": {}
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"All four outer corners are rounded with radius 6 mm."
|
||||
],
|
||||
"draft_id": "draft_001",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Create a CNC rectangular mounting plate with rounded corners, overall dimensions 100 mm x 60 mm x 8 mm thick."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "rectangular_corner_through_bore_pattern",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"edge_offset_mm": 10,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "Four symmetric corner holes offset uniformly from the plate edges"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_002",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Include four corner through holes of 8 mm diameter, one near each corner, with each hole center located 10 mm from the adjacent left/right edge and 10 mm from the adjacent top/bottom edge."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 1,
|
||||
"diameter_mm": 30,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "One central circular through hole"
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "The 30 mm hole is centered on the plate midpoint"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"The 30 mm through hole is centered on the plate midpoint."
|
||||
],
|
||||
"draft_id": "draft_003",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Include one centered through hole of 30 mm diameter."
|
||||
}
|
||||
],
|
||||
"revision": 2,
|
||||
"schema_version": "cad.requirements-draft.v1"
|
||||
}
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"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": 60
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "z",
|
||||
"tolerance_mm": 0.1,
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "Rectangular plate with four rounded outer corners, each corner radius R6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "single_connected_body",
|
||||
"expected": {}
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"All four outer corners are rounded with radius 6 mm."
|
||||
],
|
||||
"draft_id": "draft_001",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Create a CNC rectangular mounting plate with rounded corners, overall dimensions 100 mm x 60 mm x 8 mm thick."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "rectangular_corner_through_bore_pattern",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"edge_offset_mm": 10,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "Four symmetric corner holes offset uniformly from the plate edges"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_002",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Include four corner through holes of 8 mm diameter, one near each corner, with each hole center located 10 mm from the adjacent left/right edge and 10 mm from the adjacent top/bottom edge."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 1,
|
||||
"diameter_mm": 30,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "One central circular through hole"
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "The 30 mm hole is centered on the plate midpoint"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"The 30 mm through hole is centered on the plate midpoint."
|
||||
],
|
||||
"draft_id": "draft_003",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Include one centered through hole of 30 mm diameter."
|
||||
}
|
||||
],
|
||||
"revision": 3,
|
||||
"schema_version": "cad.requirements-draft.v1"
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"coverage": [
|
||||
{
|
||||
"requirement_ids": [
|
||||
"req_001",
|
||||
"req_002",
|
||||
"req_003"
|
||||
],
|
||||
"source_id": "src_001"
|
||||
}
|
||||
],
|
||||
"issues": [
|
||||
"Source requires four corner radii R6, but no exact executable acceptance claim verifies corner radius value 6 mm; draft_001 only has a visual rounded-corner claim.",
|
||||
"Source requires the central 30 mm through hole to be centered, but draft_003 has no executable acceptance claim for center position or concentric/centered relationship."
|
||||
],
|
||||
"item_verdicts": [
|
||||
{
|
||||
"draft_id": "draft_001",
|
||||
"question": null,
|
||||
"reason_code": "missing_dimension",
|
||||
"verdict": "revise"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_002",
|
||||
"question": null,
|
||||
"reason_code": "none",
|
||||
"verdict": "pass"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_003",
|
||||
"question": null,
|
||||
"reason_code": "missing_dimension",
|
||||
"verdict": "revise"
|
||||
}
|
||||
],
|
||||
"verdict": "revise"
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"coverage": [
|
||||
{
|
||||
"requirement_ids": [
|
||||
"req_001",
|
||||
"req_002",
|
||||
"req_003"
|
||||
],
|
||||
"source_id": "src_001"
|
||||
}
|
||||
],
|
||||
"issues": [
|
||||
"draft_001 includes rounded corners only as a visual claim/prose assumption; the R6 corner radius is an independently measurable requirement and needs an executable radius claim."
|
||||
],
|
||||
"item_verdicts": [
|
||||
{
|
||||
"draft_id": "draft_001",
|
||||
"question": null,
|
||||
"reason_code": "missing_dimension",
|
||||
"verdict": "revise"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_002",
|
||||
"question": null,
|
||||
"reason_code": "none",
|
||||
"verdict": "pass"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_003",
|
||||
"question": null,
|
||||
"reason_code": "none",
|
||||
"verdict": "pass"
|
||||
}
|
||||
],
|
||||
"verdict": "revise"
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"coverage": [
|
||||
{
|
||||
"requirement_ids": [
|
||||
"req_001",
|
||||
"req_002",
|
||||
"req_003"
|
||||
],
|
||||
"source_id": "src_001"
|
||||
}
|
||||
],
|
||||
"issues": [
|
||||
"draft_001 represents the R6 corner radius only as a visual claim/prose assumption; the independently measurable 6 mm radius needs an exact executable acceptance claim.",
|
||||
"draft_003 represents central placement of the 30 mm through hole only as a visual claim/prose assumption; the midpoint/centering relationship needs an exact executable acceptance claim."
|
||||
],
|
||||
"item_verdicts": [
|
||||
{
|
||||
"draft_id": "draft_001",
|
||||
"question": null,
|
||||
"reason_code": "missing_dimension",
|
||||
"verdict": "revise"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_002",
|
||||
"question": null,
|
||||
"reason_code": "none",
|
||||
"verdict": "pass"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_003",
|
||||
"question": null,
|
||||
"reason_code": "missing_dimension",
|
||||
"verdict": "revise"
|
||||
}
|
||||
],
|
||||
"verdict": "revise"
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"schema_version": "cad.source-index.v1",
|
||||
"sources": {
|
||||
"src_001": "生成一个CNC矩形安装板,长100毫米,宽60毫米,厚8毫米,四角圆角R6,四角各有一个直径8毫米的贯穿孔,孔中心距左右边10毫米、上下边10毫米,中心有一个直径30毫米的贯穿孔。"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user