{ "experiment_name": "trial_0041", "created_at": "2000-01-01T00:00:01", "session": { "user_id": "5", "operator_id": "5", "session_id": "5", "trial_id": "41" }, "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_0001.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": "flipped_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.7820432472784119, "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.0031560629346177294, "efficiency_score": 0.15785259149088043, "temporal_stability_score": 0.7995202000313765, "fatigue_metrics": { "num_points": 218, "stage_completion_time": 38.183424409999134, "path_length": 5.15199340976419, "displacement": 0.8132555110752149, "endpoint_displacement": 0.6050940000757155, "workspace_extent_displacement": 0.8132555110752149, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 6.33502428154797, "mean_speed": 0.1312699098911278, "speed_variance": 0.037952147299586486, "acceleration_variance": 0.617985112648239, "jerk_index": 2.8792149674684815, "pause_ratio": 0.29334565587229877, "micro_stop_count": 7 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 72 ], "ref_index_range": [ 0, 63 ], "num_obs_points": 73, "num_ref_points": 64, "dtw_similarity": 0.5807593541601577, "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.5656267973686383 }, { "window": "mid", "obs_index_range": [ 73, 145 ], "ref_index_range": [ 63, 256 ], "num_obs_points": 73, "num_ref_points": 194, "dtw_similarity": 0.8672164473161238, "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.8127430243642627 }, { "window": "late", "obs_index_range": [ 146, 217 ], "ref_index_range": [ 257, 338 ], "num_obs_points": 72, "num_ref_points": 82, "dtw_similarity": 0.851092505333196, "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.7939880155501088 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.7241192790943366, "std_final_score": 0.11233235705287785, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.5656267973686383, "best_window_score": 0.8127430243642627, "early_to_late_delta": 0.22836121818147048 }, "final_score": 0.7299336656095424, "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.7820432472784119, "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": 46, "observed_video": "recordings/recording_0001.mp4", "input_segment_index": 0, "segment": { "start_frame": 103, "end_frame": 323, "start_time": 16.332665948000795, "end_time": 55.128438703999564, "num_points": 218 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 } ] }, { "stage": "A02_place_rear_cover", "operation_mode": "assembly", "feedback": { "stage_name": "A02_place_rear_cover", "stage_passed": true, "dtw_similarity": 0.9062287726002094, "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": 0.8888888888888888, "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": 36, "matched_predictions": 32, "match_ratio": 0.8888888888888888, "passed": true, "samples": [ { "class_name": "flipped_pose", "confidence": 0.9998965263366699, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9998965263366699, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999967813491821, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9999998807907104, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9999998807907104, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9994876384735107, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9994876384735107, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999954700469971, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999954700469971, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.99998939037323, "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.21738938389346701, "efficiency_score": 0.3510234778652458, "temporal_stability_score": 0.851563657466879, "fatigue_metrics": { "num_points": 119, "stage_completion_time": 24.044720907000737, "path_length": 1.3025716283990927, "displacement": 0.4572332231692461, "endpoint_displacement": 0.14089888683468874, "workspace_extent_displacement": 0.4572332231692461, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 2.848812296207405, "mean_speed": 0.05413506858561387, "speed_variance": 0.0030113164548519356, "acceleration_variance": 0.028774575422574784, "jerk_index": 0.7630325688120609, "pause_ratio": 0.2878794192191269, "micro_stop_count": 2 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 39 ], "ref_index_range": [ 0, 31 ], "num_obs_points": 40, "num_ref_points": 32, "dtw_similarity": 0.84168414805996, "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.8062760692403618 }, { "window": "mid", "obs_index_range": [ 40, 79 ], "ref_index_range": [ 32, 82 ], "num_obs_points": 40, "num_ref_points": 51, "dtw_similarity": 0.9348970978781125, "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.8927194618082555 }, { "window": "late", "obs_index_range": [ 80, 118 ], "ref_index_range": [ 83, 137 ], "num_obs_points": 39, "num_ref_points": 55, "dtw_similarity": 0.9306136156054065, "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.888285149090735 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.8624268933797841, "std_final_score": 0.03974587669156335, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.8062760692403618, "best_window_score": 0.8927194618082555, "early_to_late_delta": 0.0820090798503732 }, "final_score": 0.8587820175274342, "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.9062287726002094, "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_0001.mp4", "input_segment_index": 1, "segment": { "start_frame": 327, "end_frame": 448, "start_time": 57.11214225900039, "end_time": 81.80435523800043, "num_points": 119 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 } ] }, { "stage": "A03_place_cylinder_tube", "operation_mode": "assembly", "feedback": { "stage_name": "A03_place_cylinder_tube", "stage_passed": true, "dtw_similarity": 0.828283013716844, "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": 42, "matched_predictions": 42, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999971389770508, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999977350234985, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999979734420776, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999980926513672, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999980926513672, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999967813491821, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999969005584717, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999982118606567, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999986886978149, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999986886978149, "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.19381554438919477, "efficiency_score": 0.2924467022039847, "temporal_stability_score": 0.7907459288679286, "fatigue_metrics": { "num_points": 126, "stage_completion_time": 25.97679277499992, "path_length": 1.4408175399424399, "displacement": 0.42136233803382456, "endpoint_displacement": 0.16336718929854227, "workspace_extent_displacement": 0.42136233803382456, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 3.4194264885315384, "mean_speed": 0.05602443184018681, "speed_variance": 0.006192144181776564, "acceleration_variance": 0.05776773875358538, "jerk_index": 0.8204241871677078, "pause_ratio": 0.40010318818081214, "micro_stop_count": 5 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 41 ], "ref_index_range": [ 0, 21 ], "num_obs_points": 42, "num_ref_points": 22, "dtw_similarity": 0.8601726370061076, "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.8223344312382286 }, { "window": "mid", "obs_index_range": [ 42, 83 ], "ref_index_range": [ 22, 69 ], "num_obs_points": 42, "num_ref_points": 48, "dtw_similarity": 0.9167953450166826, "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.8742737098546187 }, { "window": "late", "obs_index_range": [ 84, 125 ], "ref_index_range": [ 70, 100 ], "num_obs_points": 42, "num_ref_points": 31, "dtw_similarity": 0.7070215056448707, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.5, "expected_tool_match_score": 0.0, "final_score": 0.6785062067240993 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.7917047826056489, "std_final_score": 0.08280442963998946, "best_window": "mid", "worst_window": "late", "worst_window_score": 0.6785062067240993, "best_window_score": 0.8742737098546187, "early_to_late_delta": -0.14382822451412924 }, "final_score": 0.7841473732543471, "expected_parts": [ "rear_cover", "cylinder_tube" ], "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.828283013716844, "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": 4, "observed_video": "recordings/recording_0001.mp4", "input_segment_index": 2, "segment": { "start_frame": 452, "end_frame": 581, "start_time": 82.8279923150003, "end_time": 109.45670037200034, "num_points": 126 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 82.39589958700162 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 82.8279923150003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.03624165899964 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 109.45670037200034 } ] }, { "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.631029274820856, "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": [ { "part_label": "piston_rod", "expected_pose": "correct_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 20, "matched_predictions": 20, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.999991774559021, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.999991774559021, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999949932098389, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999793767929077, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999963045120239, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999963045120239, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999957084655762, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999957084655762, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999947547912598, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999947547912598, "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.002758924368357305, "efficiency_score": 0.29639214144328985, "temporal_stability_score": 0.7297578029561098, "fatigue_metrics": { "num_points": 114, "stage_completion_time": 22.960386190999998, "path_length": 3.8960625362793606, "displacement": 1.1547623183248148, "endpoint_displacement": 0.6974589624769839, "workspace_extent_displacement": 1.1547623183248148, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 3.3739086169102595, "mean_speed": 0.16666496343307613, "speed_variance": 0.10308929697391364, "acceleration_variance": 1.0586430506691316, "jerk_index": 2.9464571984119767, "pause_ratio": 0.27446851009292655, "micro_stop_count": 5 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 37 ], "ref_index_range": [ 0, 43 ], "num_obs_points": 38, "num_ref_points": 44, "dtw_similarity": 0.46712029067309885, "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.460991436618012 }, { "window": "mid", "obs_index_range": [ 38, 75 ], "ref_index_range": [ 44, 81 ], "num_obs_points": 38, "num_ref_points": 38, "dtw_similarity": 0.7115201748680912, "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": 1.0, "final_score": 0.6758211325452984 }, { "window": "late", "obs_index_range": [ 76, 113 ], "ref_index_range": [ 82, 129 ], "num_obs_points": 38, "num_ref_points": 48, "dtw_similarity": 0.7559963715426181, "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.7125431060278086 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6164518917303731, "std_final_score": 0.11094470292873938, "best_window": "late", "worst_window": "early", "worst_window_score": 0.460991436618012, "best_window_score": 0.7125431060278086, "early_to_late_delta": 0.25155166940979656 }, "final_score": 0.5951401284924498, "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.631029274820856, "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": 6, "observed_video": "recordings/recording_0001.mp4", "input_segment_index": 3, "segment": { "start_frame": 585, "end_frame": 701, "start_time": 110.83242936900206, "end_time": 134.45225009000205, "num_points": 114 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 82.39589958700162 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 82.8279923150003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.03624165899964 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 109.45670037200034 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 110.45407707499908 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 110.83242936900206 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 134.0207028770019 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 134.45225009000205 } ] }, { "stage": "A05_place_piston_on_rod", "operation_mode": "assembly", "feedback": { "stage_name": "A05_place_piston_on_rod", "stage_passed": true, "dtw_similarity": 0.5963047914526876, "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": 41, "matched_predictions": 41, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999926090240479, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999926090240479, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999896287918091, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999896287918091, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999964237213135, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999964237213135, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999974966049194, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999974966049194, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999974966049194, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999974966049194, "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.0004726548814710331, "efficiency_score": 0.18422462961096744, "temporal_stability_score": 0.6961530916065339, "fatigue_metrics": { "num_points": 125, "stage_completion_time": 25.503931660998205, "path_length": 4.25673462191274, "displacement": 0.784195359074056, "endpoint_displacement": 0.15695672901924382, "workspace_extent_displacement": 0.784195359074056, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 5.428155844914599, "mean_speed": 0.1661640708426106, "speed_variance": 0.09093165752233165, "acceleration_variance": 1.4541046576268675, "jerk_index": 3.8285725366346393, "pause_ratio": 0.3689426653142286, "micro_stop_count": 4 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 41 ], "ref_index_range": [ 0, 37 ], "num_obs_points": 42, "num_ref_points": 38, "dtw_similarity": 0.4094769485454443, "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.4125586227589335 }, { "window": "mid", "obs_index_range": [ 42, 83 ], "ref_index_range": [ 38, 72 ], "num_obs_points": 42, "num_ref_points": 35, "dtw_similarity": 0.8310769133462382, "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.7838693254410393 }, { "window": "late", "obs_index_range": [ 84, 124 ], "ref_index_range": [ 72, 80 ], "num_obs_points": 41, "num_ref_points": 9, "dtw_similarity": 0.6593481361912753, "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.6176514059651281 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6046931180550336, "std_final_score": 0.151863639274933, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.4125586227589335, "best_window_score": 0.7838693254410393, "early_to_late_delta": 0.20509278320619462 }, "final_score": 0.5597983862883825, "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.5963047914526876, "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": 9, "observed_video": "recordings/recording_0001.mp4", "input_segment_index": 4, "segment": { "start_frame": 705, "end_frame": 832, "start_time": 135.76284853900142, "end_time": 161.97079997699984, "num_points": 125 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 82.39589958700162 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 82.8279923150003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.03624165899964 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 109.45670037200034 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 110.45407707499908 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 110.83242936900206 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 134.0207028770019 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 134.45225009000205 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 135.34867060500255 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 135.76284853900142 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 161.5223030920024 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 161.97079997699984 } ] }, { "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.7789576801153062, "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.002162033403449378, "efficiency_score": 0.2882861314402309, "temporal_stability_score": 0.8008781984263311, "fatigue_metrics": { "num_points": 106, "stage_completion_time": 21.488088437999977, "path_length": 3.7784372588881574, "displacement": 1.089271060254497, "endpoint_displacement": 0.8435415682386725, "workspace_extent_displacement": 1.089271060254497, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 3.4687759518786483, "mean_speed": 0.174479245995827, "speed_variance": 0.07689961329002316, "acceleration_variance": 1.0276555481172116, "jerk_index": 3.068353054815184, "pause_ratio": 0.19222214786197866, "micro_stop_count": 2 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 35 ], "ref_index_range": [ 0, 40 ], "num_obs_points": 36, "num_ref_points": 41, "dtw_similarity": 0.7177620766485979, "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.6809213397019043 }, { "window": "mid", "obs_index_range": [ 36, 70 ], "ref_index_range": [ 40, 61 ], "num_obs_points": 35, "num_ref_points": 22, "dtw_similarity": 0.8158655500747168, "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.773017253248128 }, { "window": "late", "obs_index_range": [ 71, 105 ], "ref_index_range": [ 61, 92 ], "num_obs_points": 35, "num_ref_points": 32, "dtw_similarity": 0.8288049085441781, "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.785468763755506 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.746469118901846, "std_final_score": 0.04662719912248701, "best_window": "late", "worst_window": "early", "worst_window_score": 0.6809213397019043, "best_window_score": 0.785468763755506, "early_to_late_delta": 0.10454742405360173 }, "final_score": 0.7306653906338292, "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.7789576801153062, "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": 18, "observed_video": "recordings/recording_0001.mp4", "input_segment_index": 5, "segment": { "start_frame": 836, "end_frame": 944, "start_time": 162.99288827599958, "end_time": 185.08416772700002, "num_points": 106 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 82.39589958700162 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 82.8279923150003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.03624165899964 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 109.45670037200034 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 110.45407707499908 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 110.83242936900206 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 134.0207028770019 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 134.45225009000205 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 135.34867060500255 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 135.76284853900142 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 161.5223030920024 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 161.97079997699984 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 162.59223820700208 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 162.99288827599958 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 184.67612191700027 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 185.08416772700002 } ] }, { "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.7348514579179616, "tool_match_score": 0.6384615384615384, "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": 0.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": 0, "matched_predictions": 0, "match_ratio": 0.0, "passed": false, "samples": [] } ], "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.022639220178732766, "efficiency_score": 0.05473666676499737, "temporal_stability_score": 0.8321303050578269, "fatigue_metrics": { "num_points": 513, "stage_completion_time": 121.41207390599811, "path_length": 14.440216539503488, "displacement": 0.7904093207372059, "endpoint_displacement": 0.10347659997998103, "workspace_extent_displacement": 0.7904093207372059, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 18.269289291825736, "mean_speed": 0.11823171490724574, "speed_variance": 0.02373195953013388, "acceleration_variance": 0.3301949373859978, "jerk_index": 1.89403573532132, "pause_ratio": 0.2670188464376903, "micro_stop_count": 9 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 170 ], "ref_index_range": [ 0, 165 ], "num_obs_points": 171, "num_ref_points": 166, "dtw_similarity": 0.6906407154540559, "tool_match_score": 0.38011695906432746, "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.6481269161582981 }, { "window": "mid", "obs_index_range": [ 171, 341 ], "ref_index_range": [ 166, 253 ], "num_obs_points": 171, "num_ref_points": 88, "dtw_similarity": 0.7220434736274636, "tool_match_score": 0.576271186440678, "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.6785696918357432 }, { "window": "late", "obs_index_range": [ 342, 512 ], "ref_index_range": [ 254, 337 ], "num_obs_points": 171, "num_ref_points": 84, "dtw_similarity": 0.8074649182064882, "tool_match_score": 0.9590643274853801, "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.7522975879252695 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6929980653064369, "std_final_score": 0.043734164256737054, "best_window": "late", "worst_window": "early", "worst_window_score": 0.6481269161582981, "best_window_score": 0.7522975879252695, "early_to_late_delta": 0.10417067176697137 }, "final_score": 0.6856982954827315, "expected_parts": [ "piston", "screw" ], "expected_tools": [ "screwdriver_small_l" ], "observed_tools": [ "NONE", "screwdriver_large_l", "screwdriver_small_l" ], "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.7348514579179616, "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": 24, "observed_video": "recordings/recording_0001.mp4", "input_segment_index": 6, "segment": { "start_frame": 948, "end_frame": 1465, "start_time": 186.08411925200198, "end_time": 308.3100450310012, "num_points": 513 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 82.39589958700162 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 82.8279923150003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.03624165899964 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 109.45670037200034 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 110.45407707499908 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 110.83242936900206 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 134.0207028770019 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 134.45225009000205 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 135.34867060500255 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 135.76284853900142 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 161.5223030920024 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 161.97079997699984 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 162.59223820700208 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 162.99288827599958 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 184.67612191700027 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 185.08416772700002 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 185.62110394000047 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 186.08411925200198 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 307.7881596590014 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 308.3100450310012 } ] }, { "stage": "A08_place_front_cover", "operation_mode": "assembly", "feedback": { "stage_name": "A08_place_front_cover", "stage_passed": true, "dtw_similarity": 0.6996584225727918, "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": "flipped_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 2, "matched_predictions": 2, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "flipped_pose", "confidence": 0.9985051155090332, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9985051155090332, "frame_id": null } ] } ], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "flipped_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 0.0734830540378753, "efficiency_score": 0.3286919526524931, "temporal_stability_score": 0.862638926323565, "fatigue_metrics": { "num_points": 69, "stage_completion_time": 13.984701155997755, "path_length": 1.4332939318943025, "displacement": 0.4711121811993078, "endpoint_displacement": 0.1918052006163087, "workspace_extent_displacement": 0.4711121811993078, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 3.0423622845955154, "mean_speed": 0.10264758586775347, "speed_variance": 0.01236713235098327, "acceleration_variance": 0.11602461388823751, "jerk_index": 1.3053502283267935, "pause_ratio": 0.23830057373558516, "micro_stop_count": 3 }, "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.49767573516171515, "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.48160363392835676 }, { "window": "mid", "obs_index_range": [ 23, 45 ], "ref_index_range": [ 23, 57 ], "num_obs_points": 23, "num_ref_points": 35, "dtw_similarity": 0.701564634926351, "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.6752626960392671 }, { "window": "late", "obs_index_range": [ 46, 68 ], "ref_index_range": [ 58, 92 ], "num_obs_points": 23, "num_ref_points": 35, "dtw_similarity": 0.9141887054561745, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.0, "expected_tool_match_score": 0.0, "final_score": 0.8726302686316738 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6764988661997658, "std_final_score": 0.15963834825285478, "best_window": "late", "worst_window": "early", "worst_window_score": 0.48160363392835676, "best_window_score": 0.8726302686316738, "early_to_late_delta": 0.39102663470331706 }, "final_score": 0.6640419203461196, "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.6996584225727918, "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_0001.mp4", "input_segment_index": 7, "segment": { "start_frame": 1469, "end_frame": 1540, "start_time": 311.04404782500205, "end_time": 325.66684754200105, "num_points": 69 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 82.39589958700162 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 82.8279923150003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.03624165899964 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 109.45670037200034 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 110.45407707499908 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 110.83242936900206 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 134.0207028770019 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 134.45225009000205 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 135.34867060500255 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 135.76284853900142 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 161.5223030920024 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 161.97079997699984 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 162.59223820700208 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 162.99288827599958 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 184.67612191700027 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 185.08416772700002 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 185.62110394000047 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 186.08411925200198 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 307.7881596590014 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 308.3100450310012 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 310.62752890400225 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 311.04404782500205 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 325.25670528200135 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 325.66684754200105 } ] }, { "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.7650970076361759, "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": 0.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": 2, "matched_predictions": 0, "match_ratio": 0.0, "passed": false, "samples": [ { "class_name": "side_pose", "confidence": 0.5912591218948364, "frame_id": null }, { "class_name": "side_pose", "confidence": 0.5912591218948364, "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.0007309926549202612, "efficiency_score": 0.17161866690619468, "temporal_stability_score": 0.8320289897734691, "fatigue_metrics": { "num_points": 125, "stage_completion_time": 25.471760776999872, "path_length": 3.790670933737141, "displacement": 0.6505498923280283, "endpoint_displacement": 0.0883414763130373, "workspace_extent_displacement": 0.6505498923280283, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 5.826871971605464, "mean_speed": 0.14614571201571247, "speed_variance": 0.042765693632481325, "acceleration_variance": 0.9702377159118523, "jerk_index": 3.610553573126838, "pause_ratio": 0.21553405078900184, "micro_stop_count": 5 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 41 ], "ref_index_range": [ 0, 72 ], "num_obs_points": 42, "num_ref_points": 73, "dtw_similarity": 0.5207254519799633, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.5, "expected_tool_match_score": 0.0, "final_score": 0.5036733426418217 }, { "window": "mid", "obs_index_range": [ 42, 83 ], "ref_index_range": [ 73, 360 ], "num_obs_points": 42, "num_ref_points": 288, "dtw_similarity": 0.8645775340622393, "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.8105995214656918 }, { "window": "late", "obs_index_range": [ 84, 124 ], "ref_index_range": [ 361, 382 ], "num_obs_points": 41, "num_ref_points": 22, "dtw_similarity": 0.813452287726612, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.5, "expected_tool_match_score": 0.0, "final_score": 0.7649690450919883 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6930806363998339, "std_final_score": 0.1352205045843596, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.5036733426418217, "best_window_score": 0.8105995214656918, "early_to_late_delta": 0.26129570245016653 }, "final_score": 0.7153842700650702, "expected_parts": [ "tie_rod_assembly", "front_cover" ], "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.7650970076361759, "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": 4, "observed_video": "recordings/recording_0001.mp4", "input_segment_index": 8, "segment": { "start_frame": 1544, "end_frame": 1671, "start_time": 327.2968220130024, "end_time": 353.4189270650022, "num_points": 125 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 82.39589958700162 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 82.8279923150003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.03624165899964 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 109.45670037200034 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 110.45407707499908 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 110.83242936900206 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 134.0207028770019 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 134.45225009000205 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 135.34867060500255 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 135.76284853900142 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 161.5223030920024 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 161.97079997699984 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 162.59223820700208 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 162.99288827599958 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 184.67612191700027 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 185.08416772700002 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 185.62110394000047 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 186.08411925200198 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 307.7881596590014 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 308.3100450310012 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 310.62752890400225 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 311.04404782500205 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 325.25670528200135 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 325.66684754200105 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 326.91262475199983 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 327.2968220130024 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 352.9961400739994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 353.4189270650022 } ] }, { "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.8001732984567126, "tool_match_score": 0.6527777777777778, "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.8434504792332268, "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": 313, "matched_predictions": 264, "match_ratio": 0.8434504792332268, "passed": true, "samples": [ { "class_name": "flipped_pose", "confidence": 0.9844279885292053, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9844279885292053, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9925764203071594, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9925764203071594, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9879335761070251, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9879335761070251, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9479530453681946, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9565080404281616, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.9565080404281616, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.701720654964447, "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.016550655778920623, "efficiency_score": 0.050637751356120884, "temporal_stability_score": 0.8424250194417497, "fatigue_metrics": { "num_points": 754, "stage_completion_time": 157.54171070099983, "path_length": 19.280306527694055, "displacement": 0.9763113680191658, "endpoint_displacement": 0.24708487015839542, "workspace_extent_displacement": 0.9763113680191658, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 19.748112292097744, "mean_speed": 0.12202852473012502, "speed_variance": 0.028481581461900846, "acceleration_variance": 0.32775509770365313, "jerk_index": 2.050664776920057, "pause_ratio": 0.23325383316255438, "micro_stop_count": 40 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 251 ], "ref_index_range": [ 0, 277 ], "num_obs_points": 252, "num_ref_points": 278, "dtw_similarity": 0.821646141690636, "tool_match_score": 0.8235294117647058, "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.7663167075399971 }, { "window": "mid", "obs_index_range": [ 252, 502 ], "ref_index_range": [ 278, 350 ], "num_obs_points": 251, "num_ref_points": 73, "dtw_similarity": 0.7983707719882411, "tool_match_score": 0.4050179211469534, "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.7442720481842274 }, { "window": "late", "obs_index_range": [ 503, 753 ], "ref_index_range": [ 350, 519 ], "num_obs_points": 251, "num_ref_points": 170, "dtw_similarity": 0.7773392827092904, "tool_match_score": 0.6727272727272727, "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.727040907164077 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.7458765542961006, "std_final_score": 0.016074367871232367, "best_window": "early", "worst_window": "late", "worst_window_score": 0.727040907164077, "best_window_score": 0.7663167075399971, "early_to_late_delta": -0.039275800375920156 }, "final_score": 0.7448804219774338, "expected_parts": [ "tie_rod_assembly", "front_cover" ], "expected_tools": [ "screwdriver_large_l" ], "observed_tools": [ "NONE", "screwdriver_large_l" ], "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.8001732984567126, "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": 10, "observed_video": "recordings/recording_0001.mp4", "input_segment_index": 9, "segment": { "start_frame": 1675, "end_frame": 2432, "start_time": 354.3641293940018, "end_time": 512.5543742049995, "num_points": 754 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 82.39589958700162 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 82.8279923150003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.03624165899964 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 109.45670037200034 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 110.45407707499908 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 110.83242936900206 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 134.0207028770019 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 134.45225009000205 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 135.34867060500255 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 135.76284853900142 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 161.5223030920024 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 161.97079997699984 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 162.59223820700208 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 162.99288827599958 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 184.67612191700027 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 185.08416772700002 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 185.62110394000047 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 186.08411925200198 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 307.7881596590014 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 308.3100450310012 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 310.62752890400225 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 311.04404782500205 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 325.25670528200135 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 325.66684754200105 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 326.91262475199983 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 327.2968220130024 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 352.9961400739994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 353.4189270650022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 353.9479694319998 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 354.3641293940018 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 512.1289908550025 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 512.5543742049995 } ] }, { "stage": "A11_tighten_top_bolt", "operation_mode": "assembly", "feedback": { "stage_name": "A11_tighten_top_bolt", "stage_passed": true, "dtw_similarity": 0.7978160547248375, "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": 0.9702660406885759, "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": 639, "matched_predictions": 620, "match_ratio": 0.9702660406885759, "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.004957085773068775, "efficiency_score": 0.03472489216829164, "temporal_stability_score": 0.8448357604906636, "fatigue_metrics": { "num_points": 1042, "stage_completion_time": 222.3652147419998, "path_length": 30.38284340379744, "displacement": 1.055040960962957, "endpoint_displacement": 0.39273124220156386, "workspace_extent_displacement": 1.055040960962957, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 28.797785610206464, "mean_speed": 0.13469517987763616, "speed_variance": 0.039041022003660775, "acceleration_variance": 0.6367517889342419, "jerk_index": 2.653468628335104, "pause_ratio": 0.19980420121714834, "micro_stop_count": 71 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 347 ], "ref_index_range": [ 0, 58 ], "num_obs_points": 348, "num_ref_points": 59, "dtw_similarity": 0.7319396997632421, "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.6825800090192632 }, { "window": "mid", "obs_index_range": [ 348, 694 ], "ref_index_range": [ 58, 141 ], "num_obs_points": 347, "num_ref_points": 84, "dtw_similarity": 0.8483941910710946, "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.78912941445046 }, { "window": "late", "obs_index_range": [ 695, 1041 ], "ref_index_range": [ 141, 241 ], "num_obs_points": 347, "num_ref_points": 101, "dtw_similarity": 0.8127178113977257, "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.7573002513158283 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.7430032249285171, "std_final_score": 0.04465794197433788, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.6825800090192632, "best_window_score": 0.78912941445046, "early_to_late_delta": 0.07472024229656515 }, "final_score": 0.741820337262139, "expected_parts": [ "nut", "tie_rod_assembly", "front_cover" ], "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.7978160547248375, "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": 42, "observed_video": "recordings/recording_0001.mp4", "input_segment_index": 10, "segment": { "start_frame": 2436, "end_frame": 3544, "start_time": 513.738484706002, "end_time": 748.7328387160014, "num_points": 1042 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.332665948000795 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.735945172000356 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 55.128438703999564 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 56.71462723800141 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 57.11214225900039 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 81.38031521200173 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 81.80435523800043 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 82.39589958700162 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 82.8279923150003 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 109.03624165899964 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 109.45670037200034 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 110.45407707499908 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 110.83242936900206 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 134.0207028770019 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 134.45225009000205 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 135.34867060500255 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 135.76284853900142 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 161.5223030920024 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 161.97079997699984 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 162.59223820700208 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 162.99288827599958 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 184.67612191700027 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 185.08416772700002 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 185.62110394000047 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 186.08411925200198 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 307.7881596590014 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 308.3100450310012 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 310.62752890400225 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 311.04404782500205 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 325.25670528200135 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 325.66684754200105 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 326.91262475199983 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 327.2968220130024 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 352.9961400739994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 353.4189270650022 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 353.9479694319998 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 354.3641293940018 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 512.1289908550025 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 512.5543742049995 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 513.3016591800006 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 513.738484706002 } ] } ] }