Two branches added a results field in different forms ({step, json} and {command, pointer,
value}). The grader keeps one: a 1-based step, an optional JSON pointer into its answer, and the
value matched as files are, with an optional relative or absolute tolerance. The construction and
inspect cases are rewritten to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
826 B
JSON
51 lines
826 B
JSON
{
|
|
"sources": [],
|
|
"what": "the overlap of two boxes",
|
|
"source": "analytic",
|
|
"method": "box 40 x 30 x 20 with a corner at the origin and a box 40 x 30 x 20 from (30,20,10): they share the cube x 30..40, y 20..30, z 10..20: V 1000, A 600, centre (35,25,15)",
|
|
"results": [
|
|
{
|
|
"step": 3,
|
|
"pointer": "/count",
|
|
"json": 1
|
|
},
|
|
{
|
|
"step": 3,
|
|
"pointer": "/interferences/0/volume_mm3",
|
|
"json": 1000.0
|
|
},
|
|
{
|
|
"step": 3,
|
|
"pointer": "/interferences/0/area_mm2",
|
|
"json": 600.0
|
|
},
|
|
{
|
|
"step": 3,
|
|
"pointer": "/interferences/0/center",
|
|
"json": [
|
|
35,
|
|
25,
|
|
15
|
|
]
|
|
},
|
|
{
|
|
"step": 3,
|
|
"pointer": "/interferences/0/bbox/min",
|
|
"json": [
|
|
30,
|
|
20,
|
|
10
|
|
]
|
|
},
|
|
{
|
|
"step": 3,
|
|
"pointer": "/interferences/0/bbox/max",
|
|
"json": [
|
|
40,
|
|
30,
|
|
20
|
|
]
|
|
}
|
|
]
|
|
}
|