重构 改为标准化输出
This commit is contained in:
+97
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "x",
|
||||
"tolerance_mm": 5,
|
||||
"value": 120
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "y",
|
||||
"tolerance_mm": 5,
|
||||
"value": 80
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "bbox_dimension_mm",
|
||||
"expected": {
|
||||
"axis": "z",
|
||||
"tolerance_mm": 5,
|
||||
"value": 30
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "visual",
|
||||
"expected": {
|
||||
"description": "Rectangular base with a vertical reinforcing rib attached to it."
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [
|
||||
"Dimensions are interpreted in millimetres.",
|
||||
"Base size is assumed to be approximately 120 mm x 80 mm x 10 mm.",
|
||||
"The reinforcing rib is assumed to be centered on the base and oriented vertically."
|
||||
],
|
||||
"draft_id": "draft_001",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Model the part as a single mounting plate in millimetres. Use these working assumptions unless the source is later refined: rectangular base approximately 120 mm by 80 mm by 10 mm, with one vertical reinforcing rib centered on the long axis and extending upward from the base."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "solid_count_equals",
|
||||
"expected": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "single_connected_body",
|
||||
"expected": {}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_002",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "The model shall be a single connected solid body representing the full mounting plate assembly, with no separate disconnected bodies."
|
||||
},
|
||||
{
|
||||
"acceptance_claims": [
|
||||
{
|
||||
"claim_kind": "through_cylindrical_bore",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"tolerance_mm": 0.2
|
||||
}
|
||||
},
|
||||
{
|
||||
"claim_kind": "circular_hole_pattern",
|
||||
"expected": {
|
||||
"count": 4,
|
||||
"diameter_mm": 8,
|
||||
"pitch_radius_mm": 35,
|
||||
"tolerance_mm": 0.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"assumptions": [],
|
||||
"draft_id": "draft_003",
|
||||
"source_ids": [
|
||||
"src_001"
|
||||
],
|
||||
"statement": "Add four mounting through holes arranged as an equally spaced circular pattern on the plate."
|
||||
}
|
||||
],
|
||||
"revision": 1,
|
||||
"schema_version": "cad.requirements-draft.v1"
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"coverage": [
|
||||
{
|
||||
"requirement_ids": [
|
||||
"req_001",
|
||||
"req_002",
|
||||
"req_003"
|
||||
],
|
||||
"source_id": "src_001"
|
||||
}
|
||||
],
|
||||
"issues": [
|
||||
"Draft 003 changes the source requirement from four equally spaced mounting through holes to an equally spaced circular pattern with a 35 mm pitch radius; the source does not specify a circular bolt circle, so that geometry is an added unverifiable assumption. The source also asks to verify the four-hole pattern, but the draft does not explicitly require the"
|
||||
],
|
||||
"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": "Should the four equally spaced mounting holes be on a circular bolt pattern, or should they be equally spaced in another layout such as a rectangular pattern?",
|
||||
"reason_code": "claim_unverifiable",
|
||||
"verdict": "waiting_for_user"
|
||||
}
|
||||
],
|
||||
"verdict": "waiting_for_user"
|
||||
}
|
||||
+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."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
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