Compare failure costs with and without monitoring
compare_failure_costsCompare expected waste per good part for unmonitored, detect-and-stop, and detect-and-adapt 3D-printing failure handling to select a monitoring strategy by cost.
Instructions
Expected waste per good part for A) unmonitored, B) detect-and-stop and C) detect-and-adapt (HW4 tool). Errors: values outside their ranges.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"print_time_h": "<print_time_h>",
"filament_g": "<filament_g>"
},
"name": "compare_failure_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | No | Good parts to total over; default 100 | |
| filament_g | Yes | Filament of one attempt [g, 0.1–10000] | |
| print_time_h | Yes | Time of one attempt [h, 0.05–500] | |
| recoverable_share | No | Share of detected failures repaired in place (hypothesis); default 0.4 [-, 0–1] | |
| machine_cost_per_h | No | Machine time cost; default 0.5 [$/h, 0–200] | |
| mean_failure_point | No | Mean share of the job done when it fails; default 0.3 [-, 0–1] | |
| detection_delay_min | No | Camera detection delay; default 10 [min, 0–600] | |
| failure_probability | No | Chance one attempt fails; default 0.15 [-, 0–0.9] | |
| filament_price_per_kg | No | Filament price; default 23 [$/kg, 0–500] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| checks | Yes | ||
| inputs | Yes | Every input actually used, after defaults. | |
| results | Yes | ||
| summary | Yes | ||
| verdict | Yes | Worst status among the checks. | |
| decision | No | Recommended action (new tools only). | |
| features | No | Per-feature table (check_deviated_part). | |
| warnings | Yes | ||
| assumptions | Yes | ||
| human_checks | No | What a person must verify before acting. | |
| defaults_used | Yes | Inputs the user did not give and the default applied. |