重构 改为标准化输出
This commit is contained in:
+93
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "single_connected_body",
|
||||
"expected": {}
|
||||
},
|
||||
{
|
||||
"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": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "z",
|
||||
"tolerance_mm": 0.1,
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "外轮廓为100毫米 x 70毫米 x 8毫米的盖板,四个外角均为R5圆角。"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_001",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "生成一个单个盖板实体,外形为长100毫米、宽70毫米、厚8毫米的矩形盖板,四角圆角R5。"
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "rectangular_corner_through_bore_pattern",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 6.5,
|
||||
"edge_offset_mm": 5,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 6.5,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "conical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"included_angle_deg": 90,
|
||||
"large_diameter_mm": 12,
|
||||
"small_diameter_mm": 6.5,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "四个角位置各有一个贯穿孔,孔口为90度沉头,沉头最大直径12毫米,通孔直径6.5毫米。"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_002",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "盖板四角各有一个直径6.5毫米的贯穿孔,孔顶部带90度沉头,沉头最大直径12毫米。"
|
||||
}
|
||||
],
|
||||
"revision": 1,
|
||||
"schema_version": "cad.requirements-draft.v1"
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "single_connected_body",
|
||||
"expected": {}
|
||||
},
|
||||
{
|
||||
"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": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "z",
|
||||
"tolerance_mm": 0.1,
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "外轮廓为100毫米 x 70毫米 x 8毫米的盖板,四个外角均为R5圆角。"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_001",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "生成一个单个盖板实体,外形为长100毫米、宽70毫米、厚8毫米的矩形盖板,四角圆角R5。"
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 6.5,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "conical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"included_angle_deg": 90,
|
||||
"large_diameter_mm": 12,
|
||||
"small_diameter_mm": 6.5,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "四个角位置各有一个贯穿孔,孔口为90度沉头,沉头最大直径12毫米,通孔直径6.5毫米,沉头在上表面一侧。"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"四个孔位于盖板四角附近,按常规四角孔布置。",
|
||||
"沉头位于盖板上表面一侧。"
|
||||
],
|
||||
"draft_id": "draft_002",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "盖板四角各有一个直径6.5毫米的贯穿孔,孔顶部带90度沉头,沉头最大直径12毫米。"
|
||||
}
|
||||
],
|
||||
"revision": 2,
|
||||
"schema_version": "cad.requirements-draft.v1"
|
||||
}
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "single_connected_body",
|
||||
"expected": {}
|
||||
},
|
||||
{
|
||||
"claim_kind": "solid_count_equals",
|
||||
"expected": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "z",
|
||||
"tolerance_mm": 0.1,
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "外轮廓为100毫米 x 70毫米 x 8毫米的盖板,四个外角均为R5圆角。"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_001",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "生成一个单个盖板实体,外形为长100毫米、宽70毫米、厚8毫米的矩形盖板,四角圆角R5。"
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "rectangular_corner_through_bore_pattern",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 6.5,
|
||||
"edge_offset_mm": 5,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "conical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"included_angle_deg": 90,
|
||||
"large_diameter_mm": 12,
|
||||
"small_diameter_mm": 6.5,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "四个角位置各有一个贯穿孔,孔口为90度沉头,沉头最大直径12毫米,通孔直径6.5毫米,沉头在上表面一侧。"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"沉头位于盖板上表面一侧。"
|
||||
],
|
||||
"draft_id": "draft_002",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "盖板四角各有一个直径6.5毫米的贯穿孔,孔顶部带90度沉头,沉头最大直径12毫米。"
|
||||
}
|
||||
],
|
||||
"revision": 3,
|
||||
"schema_version": "cad.requirements-draft.v1"
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"coverage": [
|
||||
{
|
||||
"requirement_ids": [
|
||||
"req_001",
|
||||
"req_002"
|
||||
],
|
||||
"source_id": "src_001"
|
||||
}
|
||||
],
|
||||
"issues": [
|
||||
"draft_002 invents an executable edge_offset_mm of 5 mm for the four-hole pattern; the source only says the holes are at the four corners and does not specify hole center offsets, so this claim is not supported by the source.",
|
||||
"The source requirement that the four holes are at the four corners is not fully executable without a source-specified hole center/location definition; prose alone cannot resolve the missing measurable placement dimension. The draft should not assume 5 mm offsets unless declared as an assumption needing user confirmation."
|
||||
],
|
||||
"item_verdicts": [
|
||||
{
|
||||
"draft_id": "draft_001",
|
||||
"question": null,
|
||||
"reason_code": "none",
|
||||
"verdict": "pass"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_002",
|
||||
"question": "What are the intended center offsets or coordinates for the four corner through holes?",
|
||||
"reason_code": "claim_unverifiable",
|
||||
"verdict": "waiting_for_user"
|
||||
}
|
||||
],
|
||||
"verdict": "waiting_for_user"
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"coverage": [
|
||||
{
|
||||
"requirement_ids": [
|
||||
"req_001",
|
||||
"req_002"
|
||||
],
|
||||
"source_id": "src_001"
|
||||
}
|
||||
],
|
||||
"issues": [
|
||||
"draft_001 represents the R5 corner radius only in a visual/prose claim; the independently measurable 5 mm radius needs an exact executable acceptance claim.",
|
||||
"draft_002 invents a 5 mm edge_offset_mm for the four-hole corner pattern; the source says holes are at the four corners but does not specify an exact offset.",
|
||||
"draft_002 does not encode the countersink being on the top face as an executable geometric/orientation claim; it appears only in prose/visual text."
|
||||
],
|
||||
"item_verdicts": [
|
||||
{
|
||||
"draft_id": "draft_001",
|
||||
"question": null,
|
||||
"reason_code": "missing_dimension",
|
||||
"verdict": "revise"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_002",
|
||||
"question": null,
|
||||
"reason_code": "claim_unverifiable",
|
||||
"verdict": "revise"
|
||||
}
|
||||
],
|
||||
"verdict": "revise"
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"coverage": [
|
||||
{
|
||||
"requirement_ids": [
|
||||
"req_001",
|
||||
"req_002"
|
||||
],
|
||||
"source_id": "src_001"
|
||||
}
|
||||
],
|
||||
"issues": [
|
||||
"draft_002 does not include executable acceptance claims for the four hole locations being at the four corners or near-corner positions; the source requires one hole at each of the four corners, but this is only prose/assumption and not measurable.",
|
||||
"draft_001 visual prose covers R5 corner radius, but there is no exact executable acceptance claim measuring the four outside corner fillet radii/count."
|
||||
],
|
||||
"item_verdicts": [
|
||||
{
|
||||
"draft_id": "draft_001",
|
||||
"question": null,
|
||||
"reason_code": "missing_dimension",
|
||||
"verdict": "revise"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_002",
|
||||
"question": null,
|
||||
"reason_code": "missing_dimension",
|
||||
"verdict": "revise"
|
||||
}
|
||||
],
|
||||
"verdict": "revise"
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"schema_version": "cad.source-index.v1",
|
||||
"sources": {
|
||||
"src_001": "生成一个盖板,长100毫米,宽70毫米,厚度8毫米,四角圆角R5,四角各有一个直径6.5毫米的贯穿孔,孔顶部带90度沉头,沉头最大直径12毫米。"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user