{ "experiment_name": "trial_0003", "created_at": "2000-01-01T00:00:03", "session": { "user_id": "1", "operator_id": "1", "session_id": "1", "trial_id": "3" }, "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": "no_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_0052.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.7411718091389836, "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": 9.000620115546036e-17, "efficiency_score": 0.17137622054692112, "temporal_stability_score": 0.615123144298493, "fatigue_metrics": { "num_points": 129, "stage_completion_time": 20.044359460999885, "path_length": 6.835514338649893, "displacement": 1.1714446128521057, "endpoint_displacement": 0.4177170837124871, "workspace_extent_displacement": 1.1714446128521057, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 5.83511526166613, "mean_speed": 0.3782499381204048, "speed_variance": 0.2513312688214535, "acceleration_variance": 9.677821819379885, "jerk_index": 18.473326552104417, "pause_ratio": 0.24023748578094517, "micro_stop_count": 1 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 42 ], "ref_index_range": [ 0, 166 ], "num_obs_points": 43, "num_ref_points": 167, "dtw_similarity": 0.6649649065336475, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.0, "expected_tool_match_score": 1.0, "final_score": 0.6282293044320056 }, { "window": "mid", "obs_index_range": [ 43, 85 ], "ref_index_range": [ 167, 257 ], "num_obs_points": 43, "num_ref_points": 91, "dtw_similarity": 0.824254430687746, "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.7696714364037444 }, { "window": "late", "obs_index_range": [ 86, 128 ], "ref_index_range": [ 258, 338 ], "num_obs_points": 43, "num_ref_points": 81, "dtw_similarity": 0.7787756753549524, "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.7311345767639681 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.709678439199906, "std_final_score": 0.05970339774559822, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.6282293044320056, "best_window_score": 0.7696714364037444, "early_to_late_delta": 0.10290527233196245 }, "final_score": 0.6896505078557827, "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.7411718091389836, "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": 41, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 0, "segment": { "start_frame": 134, "end_frame": 289, "start_time": 16.437554956999975, "end_time": 36.9021739719999, "num_points": 129 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 } ] }, { "stage": "A02_place_rear_cover", "operation_mode": "assembly", "feedback": { "stage_name": "A02_place_rear_cover", "stage_passed": true, "dtw_similarity": 0.8551352530416882, "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": "rear_cover", "expected_pose": "correct_pose", "temporal_window": "late", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 34, "matched_predictions": 34, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999779462814331, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999779462814331, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999881982803345, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999881982803345, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999897480010986, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999881982803345, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999842643737793, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999842643737793, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999901056289673, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999901056289673, "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": 4.395755503447089e-06, "efficiency_score": 0.35078331667252044, "temporal_stability_score": 0.5787852807579519, "fatigue_metrics": { "num_points": 100, "stage_completion_time": 16.884743538000066, "path_length": 1.7962215341848693, "displacement": 0.6300845472399715, "endpoint_displacement": 0.35538429339178457, "workspace_extent_displacement": 0.6300845472399715, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 2.8507627143897682, "mean_speed": 0.13824287417052716, "speed_variance": 0.08297403988866756, "acceleration_variance": 2.3927790809457656, "jerk_index": 6.167435570464903, "pause_ratio": 0.6220701281817741, "micro_stop_count": 4 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 33 ], "ref_index_range": [ 0, 87 ], "num_obs_points": 34, "num_ref_points": 88, "dtw_similarity": 0.9378015084926956, "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.8812368830612083 }, { "window": "mid", "obs_index_range": [ 34, 66 ], "ref_index_range": [ 88, 137 ], "num_obs_points": 33, "num_ref_points": 50, "dtw_similarity": 0.8737187875197338, "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.8305339102073976 } ], "temporal_consistency": { "num_windows": 2, "mean_final_score": 0.855885396634303, "std_final_score": 0.025351486426905323, "best_window": "early", "worst_window": "mid", "worst_window_score": 0.8305339102073976, "best_window_score": 0.8812368830612083 }, "final_score": 0.7974860708589073, "expected_parts": [ "rear_cover", "bttm_tie_rod_nut" ], "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.8551352530416882, "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": 58, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 1, "segment": { "start_frame": 293, "end_frame": 427, "start_time": 37.5696328319998, "end_time": 54.85951366899985, "num_points": 100 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 } ] }, { "stage": "A03_place_cylinder_tube", "operation_mode": "assembly", "feedback": { "stage_name": "A03_place_cylinder_tube", "stage_passed": true, "dtw_similarity": 0.7565341948515931, "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": 6, "matched_predictions": 6, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999879598617554, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999879598617554, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999390840530396, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999390840530396, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9983280301094055, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9983280301094055, "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": 7.980220047541176e-25, "efficiency_score": 0.39949149792335814, "temporal_stability_score": 0.6291583335338953, "fatigue_metrics": { "num_points": 36, "stage_completion_time": 4.544634583999823, "path_length": 2.382301646716508, "displacement": 0.9517092533520605, "endpoint_displacement": 0.8345922406481547, "workspace_extent_displacement": 0.9517092533520605, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 2.503182183346111, "mean_speed": 0.5105817824224654, "speed_variance": 0.383813171513534, "acceleration_variance": 17.278525928380887, "jerk_index": 27.74383066944488, "pause_ratio": 0.05786462698798077, "micro_stop_count": 2 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 11 ], "ref_index_range": [ 0, 76 ], "num_obs_points": 12, "num_ref_points": 77, "dtw_similarity": 0.8677662471353963, "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.8211794067003537 }, { "window": "mid", "obs_index_range": [ 12, 23 ], "ref_index_range": [ 77, 88 ], "num_obs_points": 12, "num_ref_points": 12, "dtw_similarity": 0.8392270035746185, "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.7891305104323797 }, { "window": "late", "obs_index_range": [ 24, 35 ], "ref_index_range": [ 89, 100 ], "num_obs_points": 12, "num_ref_points": 12, "dtw_similarity": 0.41006879039379496, "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.4047411749594021 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6716836973640451, "std_final_score": 0.18920978769400182, "best_window": "early", "worst_window": "late", "worst_window_score": 0.4047411749594021, "best_window_score": 0.8211794067003537, "early_to_late_delta": -0.4164382317409516 }, "final_score": 0.7100928240545198, "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.7565341948515931, "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_0052.mp4", "input_segment_index": 2, "segment": { "start_frame": 431, "end_frame": 470, "start_time": 55.41968657899997, "end_time": 60.34551719299998, "num_points": 36 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 55.170507344999805 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 55.41968657899997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 60.08975046499995 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 60.34551719299998 } ] }, { "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.5242249176620425, "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": 7, "matched_predictions": 7, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9964800477027893, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9964800477027893, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999768733978271, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999982118606567, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999982118606567, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999997615814209, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999997615814209, "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": 2.6045530597417888e-17, "efficiency_score": 0.3008252170273071, "temporal_stability_score": 0.7133924638762982, "fatigue_metrics": { "num_points": 65, "stage_completion_time": 8.474329446999946, "path_length": 3.624138456777625, "displacement": 1.0902322377971387, "endpoint_displacement": 1.0127237123333401, "workspace_extent_displacement": 1.0902322377971387, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 3.3241894076626766, "mean_speed": 0.41529453393992244, "speed_variance": 0.20593409942242064, "acceleration_variance": 8.009593722742832, "jerk_index": 19.093342745284996, "pause_ratio": 0.11234305132391463, "micro_stop_count": 2 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 21 ], "ref_index_range": [ 0, 36 ], "num_obs_points": 22, "num_ref_points": 37, "dtw_similarity": 0.3064252609148778, "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.3061721635322662 }, { "window": "mid", "obs_index_range": [ 22, 43 ], "ref_index_range": [ 37, 102 ], "num_obs_points": 22, "num_ref_points": 66, "dtw_similarity": 0.6378154352531842, "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": 1.0, "final_score": 0.6041360729369556 }, { "window": "late", "obs_index_range": [ 44, 64 ], "ref_index_range": [ 103, 129 ], "num_obs_points": 21, "num_ref_points": 27, "dtw_similarity": 0.7079332943991364, "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.6711918285915353 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.5271666883535856, "std_final_score": 0.15864646984695724, "best_window": "late", "worst_window": "early", "worst_window_score": 0.3061721635322662, "best_window_score": 0.6711918285915353, "early_to_late_delta": 0.3650196650592691 }, "final_score": 0.4977432031367161, "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.5242249176620425, "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": 2, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 3, "segment": { "start_frame": 474, "end_frame": 542, "start_time": 60.89431819499987, "end_time": 69.78236680299983, "num_points": 65 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 55.170507344999805 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 55.41968657899997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 60.08975046499995 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 60.34551719299998 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 60.63036469999997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 60.89431819499987 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 69.51076243199986 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 69.78236680299983 } ] }, { "stage": "A05_place_piston_on_rod", "operation_mode": "assembly", "feedback": { "stage_name": "A05_place_piston_on_rod", "stage_passed": true, "dtw_similarity": 0.5731704915911642, "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": "early", "min_confidence": 0.5, "min_match_ratio": 0.5, "observed_predictions": 6, "matched_predictions": 6, "match_ratio": 1.0, "passed": true, "samples": [ { "class_name": "correct_pose", "confidence": 0.9999992847442627, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999992847442627, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999986886978149, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999986886978149, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999959468841553, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999959468841553, "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": 1.6189144208899877e-18, "efficiency_score": 0.3255444860152053, "temporal_stability_score": 0.7650207580166091, "fatigue_metrics": { "num_points": 47, "stage_completion_time": 6.128816342999926, "path_length": 2.7521281421437207, "displacement": 0.8959401414821594, "endpoint_displacement": 0.0896003462696739, "workspace_extent_displacement": 0.8959401414821594, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 3.0717768015069153, "mean_speed": 0.447929070304623, "speed_variance": 0.18329643870934784, "acceleration_variance": 7.816187806034634, "jerk_index": 20.48238792991735, "pause_ratio": 0.04697215692041925, "micro_stop_count": 0 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 15 ], "ref_index_range": [ 0, 49 ], "num_obs_points": 16, "num_ref_points": 50, "dtw_similarity": 0.47948974707527, "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.4654929443330435 }, { "window": "mid", "obs_index_range": [ 16, 31 ], "ref_index_range": [ 50, 65 ], "num_obs_points": 16, "num_ref_points": 16, "dtw_similarity": 0.7705826531318846, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.6666666666666666, "expected_tool_match_score": 1.0, "final_score": 0.7347324044301766 }, { "window": "late", "obs_index_range": [ 32, 46 ], "ref_index_range": [ 66, 80 ], "num_obs_points": 15, "num_ref_points": 15, "dtw_similarity": 0.6189980612555654, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.6666666666666666, "expected_tool_match_score": 0.0, "final_score": 0.5976801722539977 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.5993018403390726, "std_final_score": 0.10992253052000621, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.4654929443330435, "best_window_score": 0.7347324044301766, "early_to_late_delta": 0.13218722792095422 }, "final_score": 0.5438520375745023, "expected_parts": [ "piston_rod", "cylinder_tube", "piston" ], "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.5731704915911642, "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": 11, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 4, "segment": { "start_frame": 546, "end_frame": 596, "start_time": 70.32539097599988, "end_time": 76.86239325899987, "num_points": 47 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 55.170507344999805 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 55.41968657899997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 60.08975046499995 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 60.34551719299998 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 60.63036469999997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 60.89431819499987 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 69.51076243199986 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 69.78236680299983 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 70.08211764099997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 70.32539097599988 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 76.59382333299982 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 76.86239325899987 } ] }, { "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.5892291713462422, "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": 7.281775098078988e-22, "efficiency_score": 0.43684441924796813, "temporal_stability_score": 0.7101417543682509, "fatigue_metrics": { "num_points": 24, "stage_completion_time": 3.0853444300000774, "path_length": 1.0702515227884037, "displacement": 0.4675334049217537, "endpoint_displacement": 0.33991894337584655, "workspace_extent_displacement": 0.4675334049217537, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 2.289144500738981, "mean_speed": 0.36717444151190504, "speed_variance": 0.19037924291102562, "acceleration_variance": 9.874325057431202, "jerk_index": 24.335748690614466, "pause_ratio": 0.1445988812989767, "micro_stop_count": 3 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 7 ], "ref_index_range": [ 0, 7 ], "num_obs_points": 8, "num_ref_points": 8, "dtw_similarity": 0.42084652059546096, "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.412891410731945 }, { "window": "mid", "obs_index_range": [ 8, 15 ], "ref_index_range": [ 8, 83 ], "num_obs_points": 8, "num_ref_points": 76, "dtw_similarity": 0.6190347029685109, "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.5970048112708037 }, { "window": "late", "obs_index_range": [ 16, 23 ], "ref_index_range": [ 84, 92 ], "num_obs_points": 8, "num_ref_points": 9, "dtw_similarity": 0.6338024472289954, "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.6143016666055533 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.5413992962027674, "std_final_score": 0.09114275532465285, "best_window": "late", "worst_window": "early", "worst_window_score": 0.412891410731945, "best_window_score": 0.6143016666055533, "early_to_late_delta": 0.20141025587360828 }, "final_score": 0.560488490010042, "expected_parts": [ "screw", "piston" ], "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.5892291713462422, "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": 4, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 5, "segment": { "start_frame": 600, "end_frame": 626, "start_time": 77.37229500799981, "end_time": 80.84621196199987, "num_points": 24 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 55.170507344999805 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 55.41968657899997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 60.08975046499995 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 60.34551719299998 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 60.63036469999997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 60.89431819499987 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 69.51076243199986 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 69.78236680299983 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 70.08211764099997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 70.32539097599988 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 76.59382333299982 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 76.86239325899987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 77.12758600199982 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 77.37229500799981 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 80.59368178 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 80.84621196199987 } ] }, { "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.6757462310172825, "tool_match_score": 0.7815533980582524, "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": 3.7800438650605565e-09, "efficiency_score": 0.16804036822634832, "temporal_stability_score": 0.70955637255814, "fatigue_metrics": { "num_points": 207, "stage_completion_time": 27.004073959000152, "path_length": 5.788901858524314, "displacement": 0.9727691999326179, "endpoint_displacement": 0.16063111229863591, "workspace_extent_displacement": 0.9727691999326179, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 5.950951015847646, "mean_speed": 0.21378852808263707, "speed_variance": 0.12975533778172657, "acceleration_variance": 3.4731963472191416, "jerk_index": 9.696765111434436, "pause_ratio": 0.25844126251454447, "micro_stop_count": 2 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 68 ], "ref_index_range": [ 0, 259 ], "num_obs_points": 69, "num_ref_points": 260, "dtw_similarity": 0.6751328545083701, "tool_match_score": 0.7185185185185186, "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.6390661251674227 }, { "window": "mid", "obs_index_range": [ 69, 137 ], "ref_index_range": [ 259, 321 ], "num_obs_points": 69, "num_ref_points": 63, "dtw_similarity": 0.929004108136037, "tool_match_score": 0.8082191780821918, "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.8687917940296606 }, { "window": "late", "obs_index_range": [ 138, 206 ], "ref_index_range": [ 321, 337 ], "num_obs_points": 69, "num_ref_points": 17, "dtw_similarity": 0.4207210048381717, "tool_match_score": 1.0, "active_part_match_score": 1.0, "active_tool_match_score": 0.0, "expected_part_match_score": 1.0, "expected_tool_match_score": 0.0, "final_score": 0.4026028972118198 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6368202721363011, "std_final_score": 0.19032744550893843, "best_window": "mid", "worst_window": "late", "worst_window_score": 0.4026028972118198, "best_window_score": 0.8687917940296606, "early_to_late_delta": -0.23646322795560287 }, "final_score": 0.6317986997311253, "expected_parts": [ "screw", "piston" ], "expected_tools": [ "screwdriver_small_l" ], "observed_tools": [ "screwdriver_large_l", "NONE", "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.6757462310172825, "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": 64, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 6, "segment": { "start_frame": 630, "end_frame": 842, "start_time": 81.38559629399992, "end_time": 108.80148393299987, "num_points": 207 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 55.170507344999805 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 55.41968657899997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 60.08975046499995 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 60.34551719299998 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 60.63036469999997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 60.89431819499987 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 69.51076243199986 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 69.78236680299983 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 70.08211764099997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 70.32539097599988 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 76.59382333299982 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 76.86239325899987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 77.12758600199982 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 77.37229500799981 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 80.59368178 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 80.84621196199987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 81.12546735899991 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.38559629399992 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 108.55417475500008 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 108.80148393299987 } ] }, { "stage": "A08_place_front_cover", "operation_mode": "assembly", "feedback": { "stage_name": "A08_place_front_cover", "stage_passed": true, "dtw_similarity": 0.656877969403762, "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": "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.8585214614868164, "frame_id": null }, { "class_name": "flipped_pose", "confidence": 0.8585214614868164, "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": 4.772524855762137e-13, "efficiency_score": 0.15606945608144174, "temporal_stability_score": 0.608563345864278, "fatigue_metrics": { "num_points": 172, "stage_completion_time": 22.340419453000322, "path_length": 6.636106771893608, "displacement": 1.0356935743878075, "endpoint_displacement": 0.11701255248135178, "workspace_extent_displacement": 1.0356935743878075, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 6.407403633662758, "mean_speed": 0.29858021456441475, "speed_variance": 0.2843574117937334, "acceleration_variance": 10.158706209148297, "jerk_index": 14.185365362098207, "pause_ratio": 0.2089771359854459, "micro_stop_count": 11 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 57 ], "ref_index_range": [ 0, 54 ], "num_obs_points": 58, "num_ref_points": 55, "dtw_similarity": 0.48872794311559614, "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.4599555621810635 }, { "window": "mid", "obs_index_range": [ 58, 114 ], "ref_index_range": [ 54, 55 ], "num_obs_points": 57, "num_ref_points": 2, "dtw_similarity": 0.8991917221837793, "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": 1.0, "final_score": 0.8444476425914326 }, { "window": "late", "obs_index_range": [ 115, 171 ], "ref_index_range": [ 56, 92 ], "num_obs_points": 57, "num_ref_points": 37, "dtw_similarity": 0.7625678237638893, "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.7150290672167267 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.6731440906630742, "std_final_score": 0.1597379174778663, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.4599555621810635, "best_window_score": 0.8444476425914326, "early_to_late_delta": 0.2550735050356632 }, "final_score": 0.6124830181850133, "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.656877969403762, "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": 21, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 7, "segment": { "start_frame": 846, "end_frame": 1024, "start_time": 109.37801689399976, "end_time": 132.10146035599973, "num_points": 172 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 55.170507344999805 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 55.41968657899997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 60.08975046499995 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 60.34551719299998 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 60.63036469999997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 60.89431819499987 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 69.51076243199986 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 69.78236680299983 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 70.08211764099997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 70.32539097599988 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 76.59382333299982 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 76.86239325899987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 77.12758600199982 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 77.37229500799981 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 80.59368178 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 80.84621196199987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 81.12546735899991 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.38559629399992 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 108.55417475500008 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 108.80148393299987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 109.13812946100006 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 109.37801689399976 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 131.84564642299983 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 132.10146035599973 } ] }, { "stage": "A09_place_long_tie_rod_assemblies", "operation_mode": "assembly", "feedback": { "stage_name": "A09_place_long_tie_rod_assemblies", "stage_passed": false, "final_score": 0.0, "recovery": { "reason": [ "Too few trajectory points: 25 < 30" ] } }, "raw_oob_count": 3, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 8, "segment": { "start_frame": 1028, "end_frame": 1055, "start_time": 132.66806988500002, "end_time": 136.26371158199981, "num_points": 25 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 55.170507344999805 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 55.41968657899997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 60.08975046499995 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 60.34551719299998 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 60.63036469999997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 60.89431819499987 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 69.51076243199986 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 69.78236680299983 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 70.08211764099997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 70.32539097599988 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 76.59382333299982 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 76.86239325899987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 77.12758600199982 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 77.37229500799981 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 80.59368178 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 80.84621196199987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 81.12546735899991 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.38559629399992 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 108.55417475500008 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 108.80148393299987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 109.13812946100006 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 109.37801689399976 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 131.84564642299983 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 132.10146035599973 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 132.3983237550001 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 132.66806988500002 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 136.01436375100002 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 136.26371158199981 } ] }, { "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.7943056794495422, "tool_match_score": 0.9944237918215614, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.5, "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": 0, "matched_predictions": 0, "match_ratio": 0.0, "passed": false, "samples": [] } ], "expected_poses": [ { "part_label": "front_cover", "expected_pose": "correct_pose", "temporal_window": "all", "min_confidence": 0.5, "min_match_ratio": 0.5 } ], "smoothness_score": 7.399680202657028e-10, "efficiency_score": 0.24025279789995102, "temporal_stability_score": 0.5914639291628012, "fatigue_metrics": { "num_points": 153, "stage_completion_time": 19.80577181100034, "path_length": 4.435508293323113, "displacement": 1.0656432775793145, "endpoint_displacement": 0.6233151351927363, "workspace_extent_displacement": 1.0656432775793145, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 4.162282432258841, "mean_speed": 0.22189826622973471, "speed_variance": 0.31298305859753645, "acceleration_variance": 8.637611575635436, "jerk_index": 10.512207073260662, "pause_ratio": 0.20811067396574134, "micro_stop_count": 5 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 50 ], "ref_index_range": [ 0, 45 ], "num_obs_points": 51, "num_ref_points": 46, "dtw_similarity": 0.6716098937188102, "tool_match_score": 0.9508196721311475, "active_part_match_score": 1.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.0, "expected_tool_match_score": 0.0, "final_score": 0.6384659626051129 }, { "window": "mid", "obs_index_range": [ 51, 101 ], "ref_index_range": [ 45, 413 ], "num_obs_points": 51, "num_ref_points": 369, "dtw_similarity": 0.8778634557329492, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 0.0, "expected_part_match_score": 0.0, "expected_tool_match_score": 0.0, "final_score": 0.8223514950703029 }, { "window": "late", "obs_index_range": [ 102, 152 ], "ref_index_range": [ 414, 519 ], "num_obs_points": 51, "num_ref_points": 106, "dtw_similarity": 0.6753267380545077, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 0.0, "expected_part_match_score": 0.5, "expected_tool_match_score": 0.0, "final_score": 0.6407845023465781 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.700533986673998, "std_final_score": 0.08614318669341975, "best_window": "mid", "worst_window": "early", "worst_window_score": 0.6384659626051129, "best_window_score": 0.8223514950703029, "early_to_late_delta": 0.002318539741465231 }, "final_score": 0.7394023109152682, "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.7943056794495422, "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": 30, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 9, "segment": { "start_frame": 1059, "end_frame": 1214, "start_time": 136.7765995269997, "end_time": 156.95949385699987, "num_points": 153 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 55.170507344999805 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 55.41968657899997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 60.08975046499995 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 60.34551719299998 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 60.63036469999997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 60.89431819499987 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 69.51076243199986 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 69.78236680299983 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 70.08211764099997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 70.32539097599988 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 76.59382333299982 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 76.86239325899987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 77.12758600199982 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 77.37229500799981 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 80.59368178 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 80.84621196199987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 81.12546735899991 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.38559629399992 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 108.55417475500008 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 108.80148393299987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 109.13812946100006 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 109.37801689399976 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 131.84564642299983 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 132.10146035599973 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 132.3983237550001 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 132.66806988500002 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 136.01436375100002 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 136.26371158199981 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 136.51216117500007 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 136.7765995269997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 156.71628564899993 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 156.95949385699987 } ] }, { "stage": "A11_tighten_top_bolt", "operation_mode": "assembly", "feedback": { "stage_name": "A11_tighten_top_bolt", "stage_passed": true, "dtw_similarity": 0.7727245112892459, "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.9434628975265018, "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": 283, "matched_predictions": 267, "match_ratio": 0.9434628975265018, "passed": true, "samples": [ { "class_name": "side_pose", "confidence": 0.9986017346382141, "frame_id": null }, { "class_name": "side_pose", "confidence": 0.9986017346382141, "frame_id": null }, { "class_name": "side_pose", "confidence": 0.9994015693664551, "frame_id": null }, { "class_name": "side_pose", "confidence": 0.9994015693664551, "frame_id": null }, { "class_name": "side_pose", "confidence": 0.9999649524688721, "frame_id": null }, { "class_name": "side_pose", "confidence": 0.9999649524688721, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.684553325176239, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.684553325176239, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999080896377563, "frame_id": null }, { "class_name": "correct_pose", "confidence": 0.9999080896377563, "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": 1.1582779857571685e-09, "efficiency_score": 0.04900147107923258, "temporal_stability_score": 0.7224285041040865, "fatigue_metrics": { "num_points": 828, "stage_completion_time": 108.44455935699989, "path_length": 24.064966891730506, "displacement": 1.179218779167822, "endpoint_displacement": 0.2666215797397162, "workspace_extent_displacement": 1.179218779167822, "displacement_definition": "max(endpoint_displacement, workspace_extent_diagonal)", "path_inefficiency_ratio": 20.407550589308986, "mean_speed": 0.21797683604748366, "speed_variance": 0.13272772223494256, "acceleration_variance": 4.281587906452252, "jerk_index": 10.288165714909754, "pause_ratio": 0.22668200459992843, "micro_stop_count": 33 }, "temporal_window_scores": [ { "window": "early", "obs_index_range": [ 0, 275 ], "ref_index_range": [ 0, 141 ], "num_obs_points": 276, "num_ref_points": 142, "dtw_similarity": 0.7764542496509255, "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.7224110177713698 }, { "window": "mid", "obs_index_range": [ 276, 551 ], "ref_index_range": [ 141, 143 ], "num_obs_points": 276, "num_ref_points": 3, "dtw_similarity": 0.7352121535922641, "tool_match_score": 1.0, "active_part_match_score": 0.0, "active_tool_match_score": 1.0, "expected_part_match_score": 0.6666666666666666, "expected_tool_match_score": 1.0, "final_score": 0.6835988243882106 }, { "window": "late", "obs_index_range": [ 552, 827 ], "ref_index_range": [ 144, 241 ], "num_obs_points": 276, "num_ref_points": 98, "dtw_similarity": 0.799573044615742, "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.7457051124418703 } ], "temporal_consistency": { "num_windows": 3, "mean_final_score": 0.7172383182004834, "std_final_score": 0.025617251603675513, "best_window": "late", "worst_window": "mid", "worst_window_score": 0.6835988243882106, "best_window_score": 0.7457051124418703, "early_to_late_delta": 0.023294094670500476 }, "final_score": 0.7169482959651077, "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.7727245112892459, "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": 155, "observed_video": "recordings/recording_0052.mp4", "input_segment_index": 10, "segment": { "start_frame": 1218, "end_frame": 2115, "start_time": 157.589599162, "end_time": 273.5779327350001, "num_points": 828 }, "fsm_transitions": [ { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 16.437554956999975 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 36.62046582599987 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 36.9021739719999 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 37.29838972799985 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 37.5696328319998 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 54.59748446899994 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 54.85951366899985 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 55.170507344999805 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 55.41968657899997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 60.08975046499995 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 60.34551719299998 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 60.63036469999997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 60.89431819499987 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 69.51076243199986 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 69.78236680299983 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 70.08211764099997 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 70.32539097599988 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 76.59382333299982 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 76.86239325899987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 77.12758600199982 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 77.37229500799981 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 80.59368178 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 80.84621196199987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 81.12546735899991 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 81.38559629399992 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 108.55417475500008 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 108.80148393299987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 109.13812946100006 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 109.37801689399976 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 131.84564642299983 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 132.10146035599973 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 132.3983237550001 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 132.66806988500002 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 136.01436375100002 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 136.26371158199981 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 136.51216117500007 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 136.7765995269997 }, { "from": "RECORDING", "to": "WAIT_COMPLETION_CONFIRM", "t": 156.71628564899993 }, { "from": "WAIT_COMPLETION_CONFIRM", "to": "COOLDOWN", "t": 156.95949385699987 }, { "from": "COOLDOWN", "to": "WAIT_TRIGGER", "t": 157.35019615200008 }, { "from": "WAIT_TRIGGER", "to": "RECORDING", "t": 157.589599162 } ] } ] }