Physical-Process Data Engine
physical-process-engine 0.1.0 ·
input: out/demo/input/process.mp4 ·
agent: rule
Health, physical state & labels over the clip
Label distribution
| state | windows |
|---|
| nominal | 18 |
| anomalous | 17 |
| end_of_life | 22 |
Confusion (ground truth × predicted)
| true \ pred | nominal | anomalous | end_of_life |
|---|
| nominal | 18 | 0 | 0 |
| anomalous | 0 | 16 | 0 |
| end_of_life | 0 | 1 | 22 |
Sensor fusion
| metric | value |
|---|
| omega_rmse_rad_s | 0.8079 |
| omega_corr | 0.9846 |
| vib_corr | 0.9787 |
| agreement | 0.9787 |
| baseline_omega_rad_s | 37.8921 |
| video_weight | 0.5000 |
| sensor_weight | 0.5000 |
| health_start | 0.9042 |
| health_end | 0.1772 |
Compute accounting
| item | value |
|---|
| frames processed | 900 |
| vision wall time | 0.218 s |
| vision CPU time | 0.315 s |
| throughput | 4,138 frames/s (measured) |
| GPU backend detected | none |
| GPU-hours (measured) | 0.000000 (not-measured (no accelerator backend used by this pipeline)) |
| GPU-hours (projected, this clip) | 0.001389 (projected (assumed accelerator throughput)) |
| GPU-hours per hour of video (projected) | 0.1667 |
| GPU cost (projected) | $0.003472 |
| agent backend | rule |
| agent tokens | 1329 in / 121 out (estimated) |
| agent token cost | $0.000272 |
Agentic curation
backend rule (estimated tokens) - objective 0.937 → 0.989
| iter | objective | accepted | rationale | patch |
|---|
| 0 | 0.9579 | yes | 5 end-of-life windows fell short -> lower failure thresholds; 1 anomalous windows read nominal -> lower anomaly threshol | {"labels": {"temp_fail_c": 66.96, "vib_fail": 4.185, "omega_drop_fail": 0.414, "temp_anom_c": 45.6, "vib_anom": 2.09, "omega_drop_anom": 0.141}} |
| 1 | 0.9895 | yes | 3 end-of-life windows fell short -> lower failure thresholds; 1 nominal windows over-flagged -> raise anomaly threshold | {"labels": {"temp_fail_c": 62.27, "vib_fail": 3.892, "omega_drop_fail": 0.381, "temp_anom_c": 47.88}} |
ONNX export (optional)
exported: False - onnx not installed (ModuleNotFoundError)
{
"exported": false,
"reason": "onnx not installed (ModuleNotFoundError)",
"n_windows": 57,
"n_train": 40,
"n_val": 17,
"train_accuracy": 1.0,
"val_accuracy": 1.0,
"feature_names": [
"current_mean",
"health_mean",
"health_min",
"health_slope",
"omega_drop_rel",
"omega_mean",
"omega_min",
"omega_video_mean",
"temp_max",
"temp_mean",
"vib_max",
"vib_mean",
"vib_video_mean"
],
"note": "ONNX export is optional; the trained linear classifier is produced either way."
}
Input keyframes
keyframe_0000.png
keyframe_0150.png
keyframe_0300.png
keyframe_0450.png
keyframe_0600.png
keyframe_0750.png
Extraction config (final)
{
"marker": {
"hue_low": 0,
"hue_high": 28,
"sat_min": 120,
"val_min": 120,
"disk_val_max": 120,
"min_blob_area": 80,
"smooth_frames": 5,
"vib_band_hz": 1.5
},
"window": {
"window_s": 2.0,
"stride_s": 0.5
},
"fusion": {
"video_weight": 0.5,
"sensor_weight": 0.5,
"health_temp_c": 60.0,
"health_vib": 4.0,
"health_current_a": 2.4,
"health_omega_ref": 12.0
},
"labels": {
"temp_anom_c": 47.88,
"vib_anom": 2.09,
"omega_drop_anom": 0.141,
"temp_fail_c": 62.27,
"vib_fail": 3.892,
"omega_drop_fail": 0.381
},
"compute": {
"assumed_gpu_frames_per_s": 180.0,
"assumed_gpu_hourly_usd": 2.5,
"price_per_1k_input_usd": 0.00015,
"price_per_1k_output_usd": 0.0006
},
"agent": {
"enabled": true,
"max_iterations": 5,
"target_objective": 0.97,
"base_url": null,
"model": null
}
}