重构 改为标准化输出
This commit is contained in:
+93
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "x",
|
||||
"tolerance_mm": 0.1,
|
||||
"value": 120
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "y",
|
||||
"tolerance_mm": 0.1,
|
||||
"value": 80
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "z",
|
||||
"tolerance_mm": 0.1,
|
||||
"value": 50
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"Base size is 120 mm x 80 mm x 10 mm.",
|
||||
"The rib is a vertical feature centered on the base and reaches 50 mm overall height."
|
||||
],
|
||||
"draft_id": "draft_001",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Assume a mounting plate in millimetres with a rectangular base 120 mm by 80 mm by 10 mm thick, and a vertical reinforcing rib centered on the top face and extending to a total overall height of 50 mm."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "single_connected_body",
|
||||
"expected": {}
|
||||
},
|
||||
{
|
||||
"claim_kind": "solid_count_equals",
|
||||
"expected": {
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_002",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Model the plate as a single connected solid body with the rectangular base and reinforcing rib fused into one part."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "circular_hole_pattern",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"pitch_radius_mm": 35,
|
||||
"tolerance_mm": 0.1
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"Mounting holes are assumed to be 8 mm diameter through holes.",
|
||||
"The four holes are arranged on a circular pattern with 35 mm pitch radius."
|
||||
],
|
||||
"draft_id": "draft_003",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Add four equally spaced mounting through holes on the base, using an assumed hole diameter of 8 mm and a circular pattern radius of 35 mm."
|
||||
}
|
||||
],
|
||||
"revision": 1,
|
||||
"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": [
|
||||
"Requirement asks for four equally spaced mounting through holes, but draft_003 assumes a circular pattern specifically. This is feasible, but the source does not require circular placement; no issue if treated as a reasonable assumption.",
|
||||
"Draft_001 and draft_002 cover the connected mounting plate, rectangular base, and vertical reinforcing rib with reasonable dimensions. Draft_003 covers four equally spaced through holes with stated dimensions."
|
||||
],
|
||||
"item_verdicts": [
|
||||
{
|
||||
"draft_id": "draft_001",
|
||||
"question": null,
|
||||
"reason_code": "none",
|
||||
"verdict": "pass"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_002",
|
||||
"question": null,
|
||||
"reason_code": "none",
|
||||
"verdict": "pass"
|
||||
},
|
||||
{
|
||||
"draft_id": "draft_003",
|
||||
"question": null,
|
||||
"reason_code": "none",
|
||||
"verdict": "pass"
|
||||
}
|
||||
],
|
||||
"verdict": "pass"
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"schema_version": "cad.source-index.v1",
|
||||
"sources": {
|
||||
"src_001": "Create one connected mounting plate in millimetres with a rectangular base, a vertical reinforcing rib, and four equally spaced mounting through holes. State reasonable dimensions as assumptions, then verify a single connected solid and the four-hole pattern."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user