{ "experiment_name": "trial_0022", "created_at": "2000-01-01T00:00:01", "session": { "user_id": "3", "operator_id": "3", "session_id": "3", "trial_id": "22" }, "references": [ "references/ref_A01_01_rgb.mp4", "references/ref_A02_01_rgb.mp4", "references/ref_A03_01_rgb.mp4", "references/ref_A04_01_rgb.mp4", "references/ref_A05_01_rgb.mp4", "references/ref_A06_01_rgb.mp4", "references/ref_A07_01_rgb.mp4", "references/ref_A08_01_rgb.mp4", "references/ref_A09_01_rgb.mp4", "references/ref_A10_01_rgb.mp4", "references/ref_A11_01_rgb.mp4" ], "system_config": { "mode": "guidance_ui", "guidance_mode": "full_guidance_mode", "operation_mode": "assembly", "anchor_mode": "wrist_index_midpoint", "dominant_hand": "RIGHT", "active_hand_policy": "best_match", "regions_config": "configs/regions_v2.json", "stage_descriptors_config": "configs/stage_descriptors_v1.json", "stage_weights": { "dtw": 1.0, "tool": 0.0, "smoothness": 0.05, "efficiency": 0.03, "temporal_stability": 0.02 }, "remote_inference": { "enabled": true, "timeout_sec": 2.0, "jpeg_quality": 80 }, "guidance_filters": { "object_detection_min_confidence": 0.5, "disable_object_detector": false, "object_score_weight_scale": 0.5, "pose_classifier_min_confidence": 0.5, "pose_detection_regions": [ "assembly_target" ], "pose_all_workspace": false, "enforce_pose_gate": false, "async_inference": true, "detector_min_interval_sec": 0.2, "pose_min_interval_sec": 0.25, "remote_inference_min_interval_sec": 0.2, "hand_frame_scale": 0.75 }, "segment_split_policy": { "no_hand_frames_to_split": 200, "rearm_no_hand_frames": 1, "min_segment_points": 30, "terminal_no_hand_frames_to_close": 60, "terminal_min_segment_points": 30 }, "reference_cache": { "enabled": true, "dir": "experiments/reference_cache" }, "record_video": { "enabled": true, "output": "recordings/recording_0004.mp4" }, "reference_demo": { "dir": "data/gifs", "speed": 3 } }, "protocol": { "version": "1.1", "min_reader_version": "1.1", "schema_changes": [ "unordered_group_stage_schema", "group_progress_fields", "remaining_subtasks_total_subtasks_fields", "margin_gate_fields", "subtask_roi_gate_fields" ], "naming_policy": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$", "run_manifest": { "python_executable": "python3", "mode": "guidance_ui", "operation_mode": "assembly", "anchor_mode": "wrist_index_midpoint", "dominant_hand": "RIGHT", "regions_config": "configs/regions_v2.json", "use_region_detector": false, "motion_fsm_version": "v2", "stage_descriptors_config": "configs/stage_descriptors_v1.json", "stage_names": [ "A01_place_bottom_tie_rod_nuts", "A02_place_rear_cover", "A03_place_cylinder_tube", "A04_place_piston_rod_in_rod_holder", "A05_place_piston_on_rod", "A06_place_mounting_screw_on_piston", "A07_small_l_tool_tighten_and_insert_subassembly", "A08_place_front_cover", "A09_place_long_tie_rod_assemblies", "A10_large_l_tool_tighten_tie_rods", "A11_tighten_top_bolt" ], "expected_tools": [ "NONE", "NONE", "NONE", "NONE", "NONE", "NONE", "NONE", "NONE", "NONE", "NONE", "NONE" ], "requested_stage_thresholds": [], "effective_stage_thresholds": [], "stage_thresholds": [], "margin_mins": [], "stage_types": [], "required_counts": [], "lockout_enabled": [], "stage_schema": [ { "name": "A01_place_bottom_tie_rod_nuts", "expected_tools": [ "NONE" ], "score_threshold": 0.5, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A01_01_rgb.mp4" ], "expected_parts": [ "bttm_tie_rod_nut" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "bttm_tie_rod_nut" ], "active_tool_candidates": [ "NONE" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false }, { "name": "A02_place_rear_cover", "expected_tools": [ "NONE" ], "score_threshold": 0.4, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A02_01_rgb.mp4" ], "expected_parts": [ "rear_cover", "bttm_tie_rod_nut" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "rear_cover" ], "active_tool_candidates": [ "NONE" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [ { "part_label": "rear_cover", "expected_pose": "correct_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "min_segment_points": 12 }, { "name": "A03_place_cylinder_tube", "expected_tools": [ "NONE" ], "score_threshold": 0.4, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A03_01_rgb.mp4" ], "expected_parts": [ "rear_cover", "cylinder_tube" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "cylinder_tube" ], "active_tool_candidates": [ "NONE" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [ { "part_label": "rear_cover", "expected_pose": "correct_pose", "temporal_window": "early", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "min_segment_points": 12 }, { "name": "A04_place_piston_rod_in_rod_holder", "expected_tools": [ "NONE" ], "score_threshold": 0.4, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A04_01_rgb.mp4" ], "expected_parts": [ "cylinder_tube", "piston_rod" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "piston_rod" ], "active_tool_candidates": [ "NONE" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [ { "part_label": "piston_rod", "expected_pose": "correct_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "min_segment_points": 12 }, { "name": "A05_place_piston_on_rod", "expected_tools": [ "NONE" ], "score_threshold": 0.4, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A05_01_rgb.mp4" ], "expected_parts": [ "cylinder_tube", "piston_rod", "piston" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "piston" ], "active_tool_candidates": [ "NONE" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [ { "part_label": "piston_rod", "expected_pose": "correct_pose", "temporal_window": "early", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "min_segment_points": 12 }, { "name": "A06_place_mounting_screw_on_piston", "expected_tools": [ "NONE" ], "score_threshold": 0.4, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A06_01_rgb.mp4" ], "expected_parts": [ "piston", "screw" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "screw" ], "active_tool_candidates": [ "NONE" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "min_segment_points": 12 }, { "name": "A07_small_l_tool_tighten_and_insert_subassembly", "expected_tools": [ "screwdriver_small_l" ], "score_threshold": 0.5, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A07_01_rgb.mp4" ], "expected_parts": [ "piston", "screw" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "piston" ], "active_tool_candidates": [ "screwdriver_small_l" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [ { "part_label": "piston_rod", "expected_pose": "flipped_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "enforce_active_tool_match": true, "enforce_active_part_match": false, "enforce_expected_pose_match": false }, { "name": "A08_place_front_cover", "expected_tools": [ "NONE" ], "score_threshold": 0.4, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A08_01_rgb.mp4" ], "expected_parts": [ "front_cover" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "front_cover" ], "active_tool_candidates": [ "NONE" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "min_segment_points": 12 }, { "name": "A09_place_long_tie_rod_assemblies", "expected_tools": [ "NONE" ], "score_threshold": 0.5, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A09_01_rgb.mp4" ], "expected_parts": [ "front_cover", "tie_rod_assembly" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "tie_rod_assembly" ], "active_tool_candidates": [ "NONE" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false }, { "name": "A10_large_l_tool_tighten_tie_rods", "expected_tools": [ "screwdriver_large_l" ], "score_threshold": 0.5, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A10_01_rgb.mp4" ], "expected_parts": [ "front_cover", "tie_rod_assembly" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "NONE" ], "active_tool_candidates": [ "screwdriver_large_l" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "enforce_active_tool_match": true, "enforce_active_part_match": false, "enforce_expected_pose_match": false }, { "name": "A11_tighten_top_bolt", "expected_tools": [ "NONE" ], "score_threshold": 0.5, "margin_min": 0.0, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "subtask_groups": { "S1": [ 0 ] }, "subtask_refs": [ "references/ref_A11_01_rgb.mp4" ], "expected_parts": [ "front_cover", "tie_rod_assembly", "nut" ], "expected_inventory": {}, "required_part_counts": {}, "required_tool_counts": {}, "active_part_candidates": [ "nut" ], "active_tool_candidates": [ "NONE" ], "forbidden_parts": [], "forbidden_tools": [], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false } ], "segment_split_policy": { "no_hand_frames_to_split": 200, "rearm_no_hand_frames": 1, "min_segment_points": 30 } }, "data_sources": { "calibration": { "path": "calibration/calibration_02", "exists": true, "is_file": false, "size_bytes": null }, "references": [ { "path": "references/ref_A01_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 25899178 }, { "path": "references/ref_A02_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 19346648 }, { "path": "references/ref_A03_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 13754232 }, { "path": "references/ref_A04_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 14569173 }, { "path": "references/ref_A05_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 11137518 }, { "path": "references/ref_A06_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 11461710 }, { "path": "references/ref_A07_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 22227805 }, { "path": "references/ref_A08_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 11207369 }, { "path": "references/ref_A09_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 20966114 }, { "path": "references/ref_A10_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 26939547 }, { "path": "references/ref_A11_01_rgb.mp4", "exists": true, "is_file": true, "size_bytes": 18205477 } ], "observed_videos": [], "observed_full_video": null }, "camera_calibration_checklist": { "calibration_path_exists": true, "homography_exists": true, "calibration_meta_exists": true, "references_all_exist": true, "observed_inputs_all_exist": false } }, "fsm_decisions": [ { "stage": "A01_place_bottom_tie_rod_nuts", "operation_mode": "assembly", "feedback": { "stage_name": "A01_place_bottom_tie_rod_nuts", "stage_passed": true, "dtw_similarity": 0.6911232953629514, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [], "expected_poses": [], "smoothness_score": 0.0006527551753051219, "efficiency_score": 0.19424229542662985, "temporal_stability_score": 0.7264659702241716, "fatigue_metrics": { "num_points": 131, "stage_completion_time": 21.94430726599967, "path_length": 2.77355319765916, "displacement": 0.5387413396011844, "endpoint_displacement": 0.1623837900191869, "workspace_extent_displacement": 0.5387413396011844, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 5.148209342376336, "mean_speed": 0.13109615324081836, "speed_variance": 0.031242421674730902, "acceleration_variance": 0.675919887288045, "jerk_index": 3.6671542109760447, "pause_ratio": 0.45759912159804306, "micro_stop_count": 2 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 43 ], "ref_index_range": [ 0, 43 ], "num_obs_points": 44, "num_ref_points": 44, "dtw_similarity": 0.25058375094962504, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "final_score": 0.2658805796359649 }, { "window": "mid", "obs_index_range": [ 44, 87 ], "ref_index_range": [ 44, 214 ], "num_obs_points": 44, "num_ref_points": 171, "dtw_similarity": 0.8710154133502854, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "final_score": 0.8168393247997782 }, { "window": "late", "obs_index_range": [ 88, 130 ], "ref_index_range": [ 215, 338 ], "num_obs_points": 43, "num_ref_points": 124, "dtw_similarity": 0.8774410741741582, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.8186381741038539 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6337860261798657, "std_final_score": 0.26014947262705845, "best_window": "late", "worst_window": "early", "worst_window_score": 0.2658805796359649, "best_window_score": 0.8186381741038539, "early_to_late_delta": 0.552757594467889 }, "final_score": 0.6468295648990899, "expected_parts": [ "bttm_tie_rod_nut" ], "expected_tools": [ "NONE" ], "observed_tools": [ "NONE" ], "active_part_candidates": [ "bttm_tie_rod_nut" ], "active_tool_candidates": [ "NONE" ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.6911232953629514, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A02_place_rear_cover", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 0, "total_stages": 11, "stages_left": 10 }, "raw_oob_count": 0, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 0, "segment": { "start_frame": 94, "end_frame": 227, "start_time": 15.125981330000286, "end_time": 37.718910053999934, "num_points": 131 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 } ] }, { "stage": "A02_place_rear_cover", "operation_mode": "assembly", "feedback": { "stage_name": "A02_place_rear_cover", "stage_passed": true, "dtw_similarity": 0.9339021786381736, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [ { "part_label": "rear_cover", "expected_pose": "correct_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 21, "matched_predictions": 21, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999921321868896, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999921321868896, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999911785125732, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999911785125732, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999943971633911, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999904632568359, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999902248382568, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999902248382568, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999938011169434, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999938011169434, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "rear_cover", "expected_pose": "correct_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.1910717675873519, "efficiency_score": 0.4179510125381961, "temporal_stability_score": 0.6538563636437957, "fatigue_metrics": { "num_points": 63, "stage_completion_time": 12.66613758800031, "path_length": 0.6367480684228032, "displacement": 0.26612949992905116, "endpoint_displacement": 0.045893654026755715, "workspace_extent_displacement": 0.26612949992905116, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 2.3926249010070553, "mean_speed": 0.05047252443579037, "speed_variance": 0.009743578469228485, "acceleration_variance": 0.0999823498168799, "jerk_index": 0.8275530874899591, "pause_ratio": 0.6634796228616009, "micro_stop_count": 1 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 20 ], "ref_index_range": [ 0, 20 ], "num_obs_points": 21, "num_ref_points": 21, "dtw_similarity": 0.964173517887559, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.9436246562267367 }, { "window": "mid", "obs_index_range": [ 21, 41 ], "ref_index_range": [ 21, 135 ], "num_obs_points": 21, "num_ref_points": 115, "dtw_similarity": 0.9439700177658876, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.888682763254924 }, { "window": "late", "obs_index_range": [ 42, 62 ], "ref_index_range": [ 136, 137 ], "num_obs_points": 21, "num_ref_points": 2, "dtw_similarity": 0.8269270420304194, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.5, "expected_tool_match_score": 0.0, "final_score": 0.7984739109154039 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.8769271101323549, "std_final_score": 0.05983773197218448, "best_window": "early", "worst_window": "late", "worst_window_score": 0.7984739109154039, "best_window_score": 0.9436246562267367, "early_to_late_delta": -0.14515074531133287 }, "final_score": 0.880974022424148, "expected_parts": [ "bttm_tie_rod_nut", "rear_cover" ], "expected_tools": [ "NONE" ], "observed_tools": [ "NONE" ], "active_part_candidates": [ "rear_cover" ], "active_tool_candidates": [ "NONE" ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.9339021786381736, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A03_place_cylinder_tube", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 1, "total_stages": 11, "stages_left": 9 }, "raw_oob_count": 0, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 1, "segment": { "start_frame": 231, "end_frame": 296, "start_time": 39.678238491999764, "end_time": 52.98992776100022, "num_points": 63 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 } ] }, { "stage": "A03_place_cylinder_tube", "operation_mode": "assembly", "feedback": { "stage_name": "A03_place_cylinder_tube", "stage_passed": true, "dtw_similarity": 0.8482501133923666, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [ { "part_label": "rear_cover", "expected_pose": "correct_pose", "temporal_window": "early", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 41, "matched_predictions": 41, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999927282333374, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999927282333374, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999911785125732, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999911785125732, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999948740005493, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999949932098389, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999936819076538, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999936819076538, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999942779541016, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999942779541016, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "rear_cover", "expected_pose": "correct_pose", "temporal_window": "early", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.14735168124123313, "efficiency_score": 0.33807853522553777, "temporal_stability_score": 0.6955189272641761, "fatigue_metrics": { "num_points": 124, "stage_completion_time": 24.996170832000644, "path_length": 1.4549497201686856, "displacement": 0.4918872702214353, "endpoint_displacement": 0.31772917842896237, "workspace_extent_displacement": 0.4918872702214353, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 2.957892607209989, "mean_speed": 0.05834277010214169, "speed_variance": 0.013531059621394226, "acceleration_variance": 0.14643061060833956, "jerk_index": 0.9574665800073203, "pause_ratio": 0.5691818336345644, "micro_stop_count": 1 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 41 ], "ref_index_range": [ 0, 15 ], "num_obs_points": 42, "num_ref_points": 16, "dtw_similarity": 0.9618020318170368, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.9070341093205021 }, { "window": "mid", "obs_index_range": [ 42, 82 ], "ref_index_range": [ 15, 59 ], "num_obs_points": 41, "num_ref_points": 45, "dtw_similarity": 0.9545885402542271, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.8973809673962913 }, { "window": "late", "obs_index_range": [ 83, 123 ], "ref_index_range": [ 60, 100 ], "num_obs_points": 41, "num_ref_points": 41, "dtw_similarity": 0.6868709515429766, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.5, "expected_tool_match_score": 0.0, "final_score": 0.6580383506524741 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.8208178091230892, "std_final_score": 0.11516990307727178, "best_window": "early", "worst_window": "late", "worst_window_score": 0.6580383506524741, "best_window_score": 0.9070341093205021, "early_to_late_delta": -0.24899575866802803 }, "final_score": 0.7997003927786162, "expected_parts": [ "cylinder_tube", "rear_cover" ], "expected_tools": [ "NONE" ], "observed_tools": [ "NONE" ], "active_part_candidates": [ "cylinder_tube" ], "active_tool_candidates": [ "NONE" ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.8482501133923666, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A04_place_piston_rod_in_rod_holder", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 2, "total_stages": 11, "stages_left": 8 }, "raw_oob_count": 1, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 2, "segment": { "start_frame": 300, "end_frame": 426, "start_time": 53.946495948999655, "end_time": 79.57484768900031, "num_points": 124 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 53.52193072499995 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 53.946495948999655 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 79.14492047000022 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 79.57484768900031 } ] }, { "stage": "A04_place_piston_rod_in_rod_holder", "operation_mode": "assembly", "feedback": { "stage_name": "A04_place_piston_rod_in_rod_holder", "stage_passed": true, "dtw_similarity": 0.6397662825187397, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [ { "part_label": "piston_rod", "expected_pose": "correct_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 23, "matched_predictions": 23, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999914169311523, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999992847442627, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999984502792358, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999984502792358, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999978542327881, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999978542327881, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999916553497314, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999916553497314, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999988079071045, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999988079071045, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "piston_rod", "expected_pose": "correct_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.000838629079725102, "efficiency_score": 0.4395495300272596, "temporal_stability_score": 0.4134145393120389, "fatigue_metrics": { "num_points": 65, "stage_completion_time": 13.171941945000071, "path_length": 1.5311978941227908, "displacement": 0.6730373147404023, "endpoint_displacement": 0.26135078283899627, "workspace_extent_displacement": 0.6730373147404023, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 2.275056465054081, "mean_speed": 0.11777615431520912, "speed_variance": 0.1655003624154272, "acceleration_variance": 2.8640671762808525, "jerk_index": 3.541871023657139, "pause_ratio": 0.7818274959758453, "micro_stop_count": 2 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 21 ], "ref_index_range": [ 0, 52 ], "num_obs_points": 22, "num_ref_points": 53, "dtw_similarity": 0.39961888917793303, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.41853099066371685 }, { "window": "mid", "obs_index_range": [ 22, 43 ], "ref_index_range": [ 53, 79 ], "num_obs_points": 22, "num_ref_points": 27, "dtw_similarity": 0.9010127717089994, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.8670984600795275 }, { "window": "late", "obs_index_range": [ 44, 64 ], "ref_index_range": [ 80, 129 ], "num_obs_points": 21, "num_ref_points": 50, "dtw_similarity": 0.8303863899941581, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.7729038412370725 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.686177763993439, "std_final_score": 0.19312215997493673, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.41853099066371685, "best_window_score": 0.8670984600795275, "early_to_late_delta": 0.3543728505733556 }, "final_score": 0.6011481733270768, "expected_parts": [ "piston_rod", "cylinder_tube" ], "expected_tools": [ "NONE" ], "observed_tools": [ "NONE" ], "active_part_candidates": [ "piston_rod" ], "active_tool_candidates": [ "NONE" ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.6397662825187397, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A05_place_piston_on_rod", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 3, "total_stages": 11, "stages_left": 7 }, "raw_oob_count": 0, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 3, "segment": { "start_frame": 430, "end_frame": 497, "start_time": 81.13878681900042, "end_time": 94.95092106599986, "num_points": 65 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 53.52193072499995 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 53.946495948999655 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 79.14492047000022 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 79.57484768900031 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 80.6864456559997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.13878681900042 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 94.51831758499975 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 94.95092106599986 } ] }, { "stage": "A05_place_piston_on_rod", "operation_mode": "assembly", "feedback": { "stage_name": "A05_place_piston_on_rod", "stage_passed": true, "dtw_similarity": 0.5144925102223162, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [ { "part_label": "piston_rod", "expected_pose": "correct_pose", "temporal_window": "early", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 22, "matched_predictions": 22, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999966621398926, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999972581863403, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999983310699463, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999984502792358, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999973773956299, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.999997615814209, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999969005584717, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999985694885254, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.999998927116394, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999982118606567, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "piston_rod", "expected_pose": "correct_pose", "temporal_window": "early", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.19316203242761368, "efficiency_score": 0.6755176379013021, "temporal_stability_score": 0.6399351556199786, "fatigue_metrics": { "num_points": 66, "stage_completion_time": 13.443545148999874, "path_length": 0.6947135840511205, "displacement": 0.46929127931616066, "endpoint_displacement": 0.4123164873499196, "workspace_extent_displacement": 0.46929127931616066, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 1.4803462469267263, "mean_speed": 0.05262586869836813, "speed_variance": 0.0241384035294583, "acceleration_variance": 0.23769703462765226, "jerk_index": 0.8221129480210104, "pause_ratio": 0.6502742984910825, "micro_stop_count": 1 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 21 ], "ref_index_range": [ 0, 21 ], "num_obs_points": 22, "num_ref_points": 22, "dtw_similarity": 0.3526113631190737, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.37237904386343407 }, { "window": "mid", "obs_index_range": [ 22, 43 ], "ref_index_range": [ 22, 43 ], "num_obs_points": 22, "num_ref_points": 22, "dtw_similarity": 0.6054007576635357, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.5973248987525426 }, { "window": "late", "obs_index_range": [ 44, 65 ], "ref_index_range": [ 44, 80 ], "num_obs_points": 22, "num_ref_points": 37, "dtw_similarity": 0.604014482357615, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.5843015391550913 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.5180018272570227, "std_final_score": 0.10310802832069915, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.37237904386343407, "best_window_score": 0.5973248987525426, "early_to_late_delta": 0.21192249529165724 }, "final_score": 0.5065589491755778, "expected_parts": [ "piston_rod", "piston", "cylinder_tube" ], "expected_tools": [ "NONE" ], "observed_tools": [ "NONE" ], "active_part_candidates": [ "piston" ], "active_tool_candidates": [ "NONE" ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.5144925102223162, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A06_place_mounting_screw_on_piston", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 4, "total_stages": 11, "stages_left": 6 }, "raw_oob_count": 0, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 4, "segment": { "start_frame": 501, "end_frame": 569, "start_time": 96.35129858399978, "end_time": 110.41005684500033, "num_points": 66 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 53.52193072499995 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 53.946495948999655 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 79.14492047000022 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 79.57484768900031 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 80.6864456559997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.13878681900042 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 94.51831758499975 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 94.95092106599986 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 95.87422338899978 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 96.35129858399978 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.98607054900003 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 110.41005684500033 } ] }, { "stage": "A06_place_mounting_screw_on_piston", "operation_mode": "assembly", "feedback": { "stage_name": "A06_place_mounting_screw_on_piston", "stage_passed": true, "dtw_similarity": 0.6135602111303624, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [], "expected_poses": [], "smoothness_score": 0.00519111475021987, "efficiency_score": 0.30971938992742964, "temporal_stability_score": 0.6594221080908307, "fatigue_metrics": { "num_points": 69, "stage_completion_time": 13.678266405000613, "path_length": 1.9329734422825138, "displacement": 0.5986793552896638, "endpoint_displacement": 0.0638009453969442, "workspace_extent_displacement": 0.5986793552896638, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 3.228729077098822, "mean_speed": 0.14119843907443902, "speed_variance": 0.055616440308157, "acceleration_variance": 0.700969129116239, "jerk_index": 2.630403408385843, "pause_ratio": 0.5274829093372945, "micro_stop_count": 1 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 22 ], "ref_index_range": [ 0, 22 ], "num_obs_points": 23, "num_ref_points": 23, "dtw_similarity": 0.3657285782932248, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.36280261537995623 }, { "window": "mid", "obs_index_range": [ 23, 45 ], "ref_index_range": [ 23, 82 ], "num_obs_points": 23, "num_ref_points": 60, "dtw_similarity": 0.744356778570966, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "final_score": 0.7051862331479095 }, { "window": "late", "obs_index_range": [ 46, 68 ], "ref_index_range": [ 83, 92 ], "num_obs_points": 23, "num_ref_points": 10, "dtw_similarity": 0.7762319478061299, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.7398966633188937 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6026285039489198, "std_final_score": 0.17017353125869958, "best_window": "late", "worst_window": "early", "worst_window_score": 0.36280261537995623, "best_window_score": 0.7398966633188937, "early_to_late_delta": 0.37709404793893747 }, "final_score": 0.5784543552068299, "expected_parts": [ "piston", "screw" ], "expected_tools": [ "NONE" ], "observed_tools": [ "NONE" ], "active_part_candidates": [ "screw" ], "active_tool_candidates": [ "NONE" ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.6135602111303624, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A07_small_l_tool_tighten_and_insert_subassembly", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 5, "total_stages": 11, "stages_left": 5 }, "raw_oob_count": 8, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 5, "segment": { "start_frame": 573, "end_frame": 644, "start_time": 111.47785181099971, "end_time": 125.78678968500026, "num_points": 69 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 53.52193072499995 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 53.946495948999655 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 79.14492047000022 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 79.57484768900031 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 80.6864456559997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.13878681900042 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 94.51831758499975 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 94.95092106599986 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 95.87422338899978 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 96.35129858399978 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.98607054900003 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 110.41005684500033 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 111.07853146700018 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 111.47785181099971 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 125.38600133799991 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 125.78678968500026 } ] }, { "stage": "A07_small_l_tool_tighten_and_insert_subassembly", "operation_mode": "assembly", "feedback": { "stage_name": "A07_small_l_tool_tighten_and_insert_subassembly", "stage_passed": true, "dtw_similarity": 0.7663275314424994, "tool_match_score": 0.9436997319034852, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [ { "part_label": "piston_rod", "expected_pose": "flipped_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 56, "matched_predictions": 56, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "flipped_pose", "confidence": 0.7181533575057983, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.8673641085624695, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9346839189529419, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.8318389058113098, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.8668742775917053, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.7297948002815247, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9592123031616211, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.8771840929985046, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9797043800354004, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9999091625213623, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "piston_rod", "expected_pose": "flipped_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.049787359521786714, "efficiency_score": 0.15666583632546158, "temporal_stability_score": 0.6522783100085662, "fatigue_metrics": { "num_points": 208, "stage_completion_time": 48.55673665799986, "path_length": 5.314051466639915, "displacement": 0.832530317297688, "endpoint_displacement": 0.05610086061023043, "workspace_extent_displacement": 0.832530317297688, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 6.383012553691506, "mean_speed": 0.1088616037420392, "speed_variance": 0.052521974067643536, "acceleration_variance": 0.4257236845916973, "jerk_index": 1.4999970760171166, "pause_ratio": 0.5496638796380718, "micro_stop_count": 7 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 69 ], "ref_index_range": [ 0, 125 ], "num_obs_points": 70, "num_ref_points": 126, "dtw_similarity": 0.7924801256876861, "tool_match_score": 0.910958904109589, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "final_score": 0.7504194514774638 }, { "window": "mid", "obs_index_range": [ 70, 138 ], "ref_index_range": [ 126, 230 ], "num_obs_points": 69, "num_ref_points": 105, "dtw_similarity": 0.7640903641502209, "tool_match_score": 0.9545454545454546, "active_part_match_score": 1.0, "active_tool_match_score": 0.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "final_score": 0.7154038774323283 }, { "window": "late", "obs_index_range": [ 139, 207 ], "ref_index_range": [ 230, 337 ], "num_obs_points": 69, "num_ref_points": 108, "dtw_similarity": 0.7341492661772951, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 0.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.6980506225923444 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.7212913171673788, "std_final_score": 0.021781031804073904, "best_window": "early", "worst_window": "late", "worst_window_score": 0.6980506225923444, "best_window_score": 0.7504194514774638, "early_to_late_delta": -0.0523688288851194 }, "final_score": 0.7150567642804762, "expected_parts": [ "piston", "screw" ], "expected_tools": [ "screwdriver_small_l" ], "observed_tools": [ "screwdriver_large_l", "screwdriver_small_l", "NONE" ], "active_part_candidates": [ "piston" ], "active_tool_candidates": [ "screwdriver_small_l" ], "enforce_active_tool_match": true, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.7663275314424994, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A08_place_front_cover", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 6, "total_stages": 11, "stages_left": 4 }, "raw_oob_count": 9, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 6, "segment": { "start_frame": 648, "end_frame": 858, "start_time": 126.79990401099985, "end_time": 176.070169824, "num_points": 208 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 53.52193072499995 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 53.946495948999655 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 79.14492047000022 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 79.57484768900031 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 80.6864456559997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.13878681900042 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 94.51831758499975 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 94.95092106599986 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 95.87422338899978 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 96.35129858399978 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.98607054900003 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 110.41005684500033 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 111.07853146700018 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 111.47785181099971 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 125.38600133799991 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 125.78678968500026 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 126.33476466200045 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 126.79990401099985 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 175.591914437 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 176.070169824 } ] }, { "stage": "A08_place_front_cover", "operation_mode": "assembly", "feedback": { "stage_name": "A08_place_front_cover", "stage_passed": true, "dtw_similarity": 0.6599508961514746, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 91, "matched_predictions": 91, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999998807907104, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999998807907104, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999998807907104, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999998807907104, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.0100640403725207, "efficiency_score": 0.234743677630117, "temporal_stability_score": 0.6192263898540489, "fatigue_metrics": { "num_points": 123, "stage_completion_time": 24.938567561000127, "path_length": 1.960303663822584, "displacement": 0.46016889131750593, "endpoint_displacement": 0.030833473409176207, "workspace_extent_displacement": 0.46016889131750593, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 4.259965636116892, "mean_speed": 0.07943472735511778, "speed_variance": 0.03607036050416732, "acceleration_variance": 0.6870768701057336, "jerk_index": 2.299393283727064, "pause_ratio": 0.6589853641272926, "micro_stop_count": 3 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 40 ], "ref_index_range": [ 0, 40 ], "num_obs_points": 41, "num_ref_points": 41, "dtw_similarity": 0.513412525251658, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.4924543149189719 }, { "window": "mid", "obs_index_range": [ 41, 81 ], "ref_index_range": [ 41, 77 ], "num_obs_points": 41, "num_ref_points": 37, "dtw_similarity": 0.8001545711562732, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.7488209281730208 }, { "window": "late", "obs_index_range": [ 82, 122 ], "ref_index_range": [ 78, 92 ], "num_obs_points": 41, "num_ref_points": 15, "dtw_similarity": 0.7288787867381924, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.7202774969930954 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.653850913361696, "std_final_score": 0.11471799730220258, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.4924543149189719, "best_window_score": 0.7488209281730208, "early_to_late_delta": 0.2278231820741235 }, "final_score": 0.6180735784509864, "expected_parts": [ "front_cover" ], "expected_tools": [ "NONE" ], "observed_tools": [ "NONE" ], "active_part_candidates": [ "front_cover" ], "active_tool_candidates": [ "NONE" ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.6599508961514746, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A09_place_long_tie_rod_assemblies", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 7, "total_stages": 11, "stages_left": 3 }, "raw_oob_count": 0, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 7, "segment": { "start_frame": 862, "end_frame": 987, "start_time": 178.50996075399962, "end_time": 204.08228022300045, "num_points": 123 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 53.52193072499995 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 53.946495948999655 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 79.14492047000022 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 79.57484768900031 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 80.6864456559997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.13878681900042 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 94.51831758499975 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 94.95092106599986 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 95.87422338899978 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 96.35129858399978 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.98607054900003 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 110.41005684500033 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 111.07853146700018 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 111.47785181099971 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 125.38600133799991 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 125.78678968500026 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 126.33476466200045 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 126.79990401099985 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 175.591914437 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 176.070169824 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 178.1058959510001 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 178.50996075399962 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 203.65874449500006 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 204.08228022300045 } ] }, { "stage": "A09_place_long_tie_rod_assemblies", "operation_mode": "assembly", "feedback": { "stage_name": "A09_place_long_tie_rod_assemblies", "stage_passed": true, "dtw_similarity": 0.7797916241376891, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 80, "matched_predictions": 80, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.0018474403270372075, "efficiency_score": 0.21134998280503287, "temporal_stability_score": 0.782638635665033, "fatigue_metrics": { "num_points": 90, "stage_completion_time": 18.424168696999914, "path_length": 3.037787305161952, "displacement": 0.6420362947113256, "endpoint_displacement": 0.42464162126683547, "workspace_extent_displacement": 0.6420362947113256, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 4.731488437936069, "mean_speed": 0.16570532644475452, "speed_variance": 0.04218837464165428, "acceleration_variance": 0.7541372715325316, "jerk_index": 3.146977102483411, "pause_ratio": 0.3158394945627999, "micro_stop_count": 1 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 29 ], "ref_index_range": [ 0, 121 ], "num_obs_points": 30, "num_ref_points": 122, "dtw_similarity": 0.5903597529296065, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.5822035652012458 }, { "window": "mid", "obs_index_range": [ 30, 59 ], "ref_index_range": [ 122, 291 ], "num_obs_points": 30, "num_ref_points": 170, "dtw_similarity": 0.8677958864205316, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.8118433346225945 }, { "window": "late", "obs_index_range": [ 60, 89 ], "ref_index_range": [ 292, 382 ], "num_obs_points": 30, "num_ref_points": 91, "dtw_similarity": 0.859060840761515, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.8125147913043733 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.7355205637094046, "std_final_score": 0.10841183587653744, "best_window": "late", "worst_window": "early", "worst_window_score": 0.5822035652012458, "best_window_score": 0.8125147913043733, "early_to_late_delta": 0.2303112261031275 }, "final_score": 0.7289793348649931, "expected_parts": [ "front_cover", "tie_rod_assembly" ], "expected_tools": [ "NONE" ], "observed_tools": [ "NONE" ], "active_part_candidates": [ "tie_rod_assembly" ], "active_tool_candidates": [ "NONE" ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.7797916241376891, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A10_large_l_tool_tighten_tie_rods", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 8, "total_stages": 11, "stages_left": 2 }, "raw_oob_count": 1, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 8, "segment": { "start_frame": 991, "end_frame": 1083, "start_time": 205.90195523300008, "end_time": 224.95013101099994, "num_points": 90 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 53.52193072499995 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 53.946495948999655 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 79.14492047000022 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 79.57484768900031 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 80.6864456559997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.13878681900042 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 94.51831758499975 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 94.95092106599986 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 95.87422338899978 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 96.35129858399978 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.98607054900003 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 110.41005684500033 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 111.07853146700018 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 111.47785181099971 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 125.38600133799991 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 125.78678968500026 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 126.33476466200045 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 126.79990401099985 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 175.591914437 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 176.070169824 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 178.1058959510001 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 178.50996075399962 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 203.65874449500006 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 204.08228022300045 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 205.4427233209999 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 205.90195523300008 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 224.542833513 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 224.95013101099994 } ] }, { "stage": "A10_large_l_tool_tighten_tie_rods", "operation_mode": "assembly", "feedback": { "stage_name": "A10_large_l_tool_tighten_tie_rods", "stage_passed": true, "dtw_similarity": 0.8245823249043055, "tool_match_score": 0.46946564885496184, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "expected_pose_match_score": 0.9727272727272728, "pose_expectation_results": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 110, "matched_predictions": 107, "match_ratio": 0.9727272727272728, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null }, { "class_name": "correct_pose", "confidence": 1.0, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.005037113918375793, "efficiency_score": 0.18765257249522516, "temporal_stability_score": 0.7302927952280484, "fatigue_metrics": { "num_points": 154, "stage_completion_time": 31.116452774999743, "path_length": 4.084691130427013, "displacement": 0.7665027984730581, "endpoint_displacement": 0.2704609927499245, "workspace_extent_displacement": 0.7665027984730581, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 5.328997022012289, "mean_speed": 0.12788096554618492, "speed_variance": 0.07003968394082251, "acceleration_variance": 1.0031193420732705, "jerk_index": 2.6454609980799684, "pause_ratio": 0.3499021597264579, "micro_stop_count": 8 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 51 ], "ref_index_range": [ 0, 159 ], "num_obs_points": 52, "num_ref_points": 160, "dtw_similarity": 0.7779751062516829, "tool_match_score": 0.2, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "final_score": 0.7377861032158853 }, { "window": "mid", "obs_index_range": [ 52, 102 ], "ref_index_range": [ 160, 353 ], "num_obs_points": 51, "num_ref_points": 194, "dtw_similarity": 0.9639966967199148, "tool_match_score": 0.6134020618556701, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "final_score": 0.9052528391981715 }, { "window": "late", "obs_index_range": [ 103, 153 ], "ref_index_range": [ 354, 519 ], "num_obs_points": 51, "num_ref_points": 166, "dtw_similarity": 0.7395233140083138, "tool_match_score": 0.2573099415204678, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 1.0, "final_score": 0.6919353313856509 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.7783247579332359, "std_final_score": 0.09168288346089333, "best_window": "mid", "worst_window": "late", "worst_window_score": 0.6919353313856509, "best_window_score": 0.9052528391981715, "early_to_late_delta": -0.04585077183023445 }, "final_score": 0.7682451033451291, "expected_parts": [ "front_cover", "tie_rod_assembly" ], "expected_tools": [ "screwdriver_large_l" ], "observed_tools": [ "screwdriver_large_l", "NONE" ], "active_part_candidates": [ "NONE" ], "active_tool_candidates": [ "screwdriver_large_l" ], "enforce_active_tool_match": true, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.8245823249043055, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": "A11_tighten_top_bolt", "task_complete": false, "task_status": "IN_PROGRESS", "stage_index": 9, "total_stages": 11, "stages_left": 1 }, "raw_oob_count": 4, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 9, "segment": { "start_frame": 1087, "end_frame": 1243, "start_time": 225.8899878760003, "end_time": 257.6218829449999, "num_points": 154 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 53.52193072499995 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 53.946495948999655 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 79.14492047000022 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 79.57484768900031 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 80.6864456559997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.13878681900042 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 94.51831758499975 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 94.95092106599986 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 95.87422338899978 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 96.35129858399978 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.98607054900003 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 110.41005684500033 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 111.07853146700018 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 111.47785181099971 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 125.38600133799991 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 125.78678968500026 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 126.33476466200045 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 126.79990401099985 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 175.591914437 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 176.070169824 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 178.1058959510001 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 178.50996075399962 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 203.65874449500006 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 204.08228022300045 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 205.4427233209999 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 205.90195523300008 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 224.542833513 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 224.95013101099994 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 225.4919736970005 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 225.8899878760003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 257.21438658700026 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 257.6218829449999 } ] }, { "stage": "A11_tighten_top_bolt", "operation_mode": "assembly", "feedback": { "stage_name": "A11_tighten_top_bolt", "stage_passed": true, "dtw_similarity": 0.9125377361483559, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "expected_pose_match_score": 1.0, "pose_expectation_results": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 47, "matched_predictions": 47, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9888911247253418, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999489784240723, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9997983574867249, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9996540546417236, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.5537322759628296, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.5537322759628296, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9998334646224976, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9998334646224976, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999992847442627, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999992847442627, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.14500880205286726, "efficiency_score": 0.423230779194052, "temporal_stability_score": 0.7093304149624675, "fatigue_metrics": { "num_points": 47, "stage_completion_time": 9.288415882999288, "path_length": 0.49827914760033637, "displacement": 0.2108870718950384, "endpoint_displacement": 0.047317301520774506, "workspace_extent_displacement": 0.2108870718950384, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 2.362777116315301, "mean_speed": 0.05384020085750055, "speed_variance": 0.007049106101359362, "acceleration_variance": 0.0820686220452377, "jerk_index": 0.9654804172955435, "pause_ratio": 0.5604138883926606, "micro_stop_count": 3 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 15 ], "ref_index_range": [ 0, 13 ], "num_obs_points": 16, "num_ref_points": 14, "dtw_similarity": 0.9500391316198403, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.902071847583083 }, { "window": "mid", "obs_index_range": [ 16, 31 ], "ref_index_range": [ 14, 226 ], "num_obs_points": 16, "num_ref_points": 213, "dtw_similarity": 0.9181664794523948, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.8706593547561831 }, { "window": "late", "obs_index_range": [ 32, 46 ], "ref_index_range": [ 227, 241 ], "num_obs_points": 15, "num_ref_points": 15, "dtw_similarity": 0.8363240528635649, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.8138911499722414 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.8622074507705024, "std_final_score": 0.03649232675984585, "best_window": "early", "worst_window": "late", "worst_window_score": 0.8138911499722414, "best_window_score": 0.902071847583083, "early_to_late_delta": -0.08818069761084157 }, "final_score": 0.8606106435691545, "expected_parts": [ "front_cover", "tie_rod_assembly", "nut" ], "expected_tools": [ "NONE" ], "observed_tools": [ "NONE" ], "active_part_candidates": [ "nut" ], "active_tool_candidates": [ "NONE" ], "enforce_active_tool_match": false, "enforce_active_part_match": false, "enforce_expected_pose_match": false, "pose_valid": true, "reference_id": 0, "best_match_score": 0.9125377361483559, "best_match_reference_id": 0, "second_best_score": null, "second_best_reference_id": null, "margin": null, "stage_type": "ordered", "required_count": 1, "lockout_enabled": true, "margin_min": 0.0, "next_stage": null, "task_complete": true, "task_status": "COMPLETE", "stage_index": 10, "total_stages": 11, "stages_left": 0 }, "raw_oob_count": 0, "observed_video": "recordings/recording_0004.mp4", "input_segment_index": 10, "segment": { "start_frame": 1247, "end_frame": 1353, "start_time": 258.7382038900005, "end_time": 280.0028211629997, "num_points": 47 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 15.125981330000286 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 37.270461840999815 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 37.718910053999934 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 39.289849966000475 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 39.678238491999764 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 52.55802458499966 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 52.98992776100022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 53.52193072499995 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 53.946495948999655 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 79.14492047000022 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 79.57484768900031 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 80.6864456559997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.13878681900042 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 94.51831758499975 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 94.95092106599986 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 95.87422338899978 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 96.35129858399978 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.98607054900003 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 110.41005684500033 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 111.07853146700018 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 111.47785181099971 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 125.38600133799991 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 125.78678968500026 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 126.33476466200045 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 126.79990401099985 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 175.591914437 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 176.070169824 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 178.1058959510001 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 178.50996075399962 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 203.65874449500006 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 204.08228022300045 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 205.4427233209999 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 205.90195523300008 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 224.542833513 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 224.95013101099994 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 225.4919736970005 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 225.8899878760003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 257.21438658700026 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 257.6218829449999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 258.2826657000005 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 258.7382038900005 } ] } ] }