clip-quality-env / server /tasks /task_medium.py
elix3r's picture
Upload folder using huggingface_hub
cb80875 verified
Raw
History Blame Contribute Delete
25.7 kB
MEDIUM_TASK = {
"task_id": "task_medium",
"difficulty": "medium",
"description": (
"Classify clips with mixed quality indicators. Weigh competing features and explain trade-off reasoning."
),
"data_corpus": [
{
"clip_id": "clip_0006",
"duration_s": 9.96,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.6392,
"head_pose_yaw_deg": 10.75,
"head_pose_pitch_deg": 4.465,
"motion_score": 0.0354,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.1005,
"mouth_open_ratio": 0.293,
"blink_rate_hz": 0.25,
"audio_snr_db": 57.205,
"transcript_word_count": 22,
"transcript_confidence": 0.4406,
"lighting_uniformity": 0.6382,
"occlusion_present": False,
"environment_tag": "home_office",
"framing": "offgaze",
"expected_label": "REJECT",
"sharpness_score": 0.0226,
"temporal_flicker": 0.0129,
"bg_entropy": 0.8525,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 132.53,
"difficulty": "medium",
},
{
"clip_id": "clip_0007",
"duration_s": 10.031,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.6411,
"head_pose_yaw_deg": 8.385,
"head_pose_pitch_deg": 5.725,
"motion_score": 0.023,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.1048,
"mouth_open_ratio": 0.62,
"blink_rate_hz": 0.25,
"audio_snr_db": 16.848,
"transcript_word_count": 34,
"transcript_confidence": 0.4632,
"lighting_uniformity": 0.6365,
"occlusion_present": False,
"environment_tag": "home_office",
"framing": "offgaze",
"expected_label": "REJECT",
"sharpness_score": 0.0308,
"temporal_flicker": 0.0099,
"bg_entropy": 0.8167,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 203.37,
"difficulty": "medium",
},
{
"clip_id": "clip_0008",
"duration_s": 16.04,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.6593,
"head_pose_yaw_deg": 7.048,
"head_pose_pitch_deg": 6.811,
"motion_score": 0.0135,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.0925,
"mouth_open_ratio": 0.18,
"blink_rate_hz": 0.25,
"audio_snr_db": 17.52,
"transcript_word_count": 47,
"transcript_confidence": 0.4605,
"lighting_uniformity": 0.662,
"occlusion_present": False,
"environment_tag": "home_office",
"framing": "offgaze",
"expected_label": "KEEP",
"sharpness_score": 0.0186,
"temporal_flicker": 0.0065,
"bg_entropy": 0.8717,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 175.81,
"difficulty": "medium",
},
{
"clip_id": "clip_0009",
"duration_s": 14.76,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.5823,
"head_pose_yaw_deg": 8.863,
"head_pose_pitch_deg": 5.416,
"motion_score": 0.0236,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.1139,
"mouth_open_ratio": 0.3477,
"blink_rate_hz": 0.25,
"audio_snr_db": 21.738,
"transcript_word_count": 39,
"transcript_confidence": 0.4458,
"lighting_uniformity": 0.5904,
"occlusion_present": False,
"environment_tag": "webcam_room",
"framing": "offgaze",
"expected_label": "BORDERLINE",
"sharpness_score": 0.0236,
"temporal_flicker": 0.0167,
"bg_entropy": 0.94,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 158.54,
"difficulty": "medium",
},
{
"clip_id": "clip_0010",
"duration_s": 14.76,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.778,
"head_pose_yaw_deg": 5.803,
"head_pose_pitch_deg": 8.271,
"motion_score": 0.0143,
"bg_complexity": "solid_dark",
"bg_complexity_score": 0.0618,
"mouth_open_ratio": 0.18,
"blink_rate_hz": 0.25,
"audio_snr_db": 19.274,
"transcript_word_count": 40,
"transcript_confidence": 0.4405,
"lighting_uniformity": 0.7779,
"occlusion_present": True,
"environment_tag": "podcast_studio",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.0082,
"temporal_flicker": 0.0092,
"bg_entropy": 0.7296,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 162.6,
"difficulty": "medium",
},
{
"clip_id": "clip_0024",
"duration_s": 6.2,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.24,
"face_confidence": 0.78,
"head_pose_yaw_deg": 14.4,
"head_pose_pitch_deg": 9.3,
"motion_score": 0.29,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.18,
"mouth_open_ratio": 0.23,
"blink_rate_hz": 0.3,
"audio_snr_db": 18.5,
"transcript_word_count": 20,
"transcript_confidence": 0.75,
"lighting_uniformity": 0.62,
"occlusion_present": False,
"environment_tag": "office",
"framing": "left",
"expected_label": "BORDERLINE",
"sharpness_score": 0.7,
"temporal_flicker": 0.1,
"bg_entropy": 0.23,
"eye_contact_ratio": 0.58,
"speech_rate_wpm": 118.0,
"difficulty": "medium",
},
{
"clip_id": "clip_0025",
"duration_s": 10.6,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.23,
"face_confidence": 0.77,
"head_pose_yaw_deg": 16.1,
"head_pose_pitch_deg": 9.8,
"motion_score": 0.31,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.19,
"mouth_open_ratio": 0.24,
"blink_rate_hz": 0.31,
"audio_snr_db": 17.4,
"transcript_word_count": 23,
"transcript_confidence": 0.73,
"lighting_uniformity": 0.59,
"occlusion_present": False,
"environment_tag": "podcast_corner",
"framing": "front",
"expected_label": "BORDERLINE",
"sharpness_score": 0.67,
"temporal_flicker": 0.12,
"bg_entropy": 0.25,
"eye_contact_ratio": 0.53,
"speech_rate_wpm": 124.0,
"difficulty": "medium",
},
{
"clip_id": "clip_0026",
"duration_s": 7.4,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.27,
"face_confidence": 0.82,
"head_pose_yaw_deg": 11.2,
"head_pose_pitch_deg": 7.7,
"motion_score": 0.24,
"bg_complexity": "office",
"bg_complexity_score": 0.14,
"mouth_open_ratio": 0.29,
"blink_rate_hz": 0.26,
"audio_snr_db": 20.1,
"transcript_word_count": 22,
"transcript_confidence": 0.81,
"lighting_uniformity": 0.66,
"occlusion_present": False,
"environment_tag": "workstation",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.76,
"temporal_flicker": 0.07,
"bg_entropy": 0.18,
"eye_contact_ratio": 0.66,
"speech_rate_wpm": 131.0,
"difficulty": "medium",
},
{
"clip_id": "clip_0027",
"duration_s": 4.3,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.21,
"face_confidence": 0.69,
"head_pose_yaw_deg": 19.1,
"head_pose_pitch_deg": 10.6,
"motion_score": 0.39,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.23,
"mouth_open_ratio": 0.21,
"blink_rate_hz": 0.34,
"audio_snr_db": 15.0,
"transcript_word_count": 13,
"transcript_confidence": 0.69,
"lighting_uniformity": 0.54,
"occlusion_present": False,
"environment_tag": "classroom",
"framing": "offgaze",
"expected_label": "BORDERLINE",
"sharpness_score": 0.59,
"temporal_flicker": 0.15,
"bg_entropy": 0.31,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 98.0,
"difficulty": "medium",
},
{
"clip_id": "clip_0028",
"duration_s": 8.7,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.36,
"face_confidence": 0.91,
"head_pose_yaw_deg": 8.1,
"head_pose_pitch_deg": 5.4,
"motion_score": 0.14,
"bg_complexity": "solid_dark",
"bg_complexity_score": 0.08,
"mouth_open_ratio": 0.34,
"blink_rate_hz": 0.24,
"audio_snr_db": 23.9,
"transcript_word_count": 29,
"transcript_confidence": 0.88,
"lighting_uniformity": 0.81,
"occlusion_present": False,
"environment_tag": "studio",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.87,
"temporal_flicker": 0.04,
"bg_entropy": 0.1,
"eye_contact_ratio": 0.82,
"speech_rate_wpm": 139.0,
"difficulty": "medium",
},
{
"clip_id": "clip_0029",
"duration_s": 5.1,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.19,
"face_confidence": 0.62,
"head_pose_yaw_deg": 22.5,
"head_pose_pitch_deg": 11.7,
"motion_score": 0.46,
"bg_complexity": "busy_indoor",
"bg_complexity_score": 0.39,
"mouth_open_ratio": 0.18,
"blink_rate_hz": 0.37,
"audio_snr_db": 12.8,
"transcript_word_count": 11,
"transcript_confidence": 0.58,
"lighting_uniformity": 0.41,
"occlusion_present": False,
"environment_tag": "cafe",
"framing": "offgaze",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.19,
"bg_entropy": 0.44,
"eye_contact_ratio": 0.28,
"speech_rate_wpm": 87.0,
"difficulty": "medium",
},
{
"clip_id": "clip_0030",
"duration_s": 7.8,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.28,
"face_confidence": 0.83,
"head_pose_yaw_deg": 13.2,
"head_pose_pitch_deg": 8.1,
"motion_score": 0.22,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.13,
"mouth_open_ratio": 0.31,
"blink_rate_hz": 0.25,
"audio_snr_db": 21.7,
"transcript_word_count": 25,
"transcript_confidence": 0.83,
"lighting_uniformity": 0.71,
"occlusion_present": False,
"environment_tag": "meeting_room",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.78,
"temporal_flicker": 0.06,
"bg_entropy": 0.17,
"eye_contact_ratio": 0.71,
"speech_rate_wpm": 134.0,
"difficulty": "medium",
},
{
"clip_id": "clip_0031",
"duration_s": 3.6,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.17,
"face_confidence": 0.59,
"head_pose_yaw_deg": 26.3,
"head_pose_pitch_deg": 13.5,
"motion_score": 0.52,
"bg_complexity": "outdoor",
"bg_complexity_score": 0.48,
"mouth_open_ratio": 0.14,
"blink_rate_hz": 0.4,
"audio_snr_db": 10.2,
"transcript_word_count": 7,
"transcript_confidence": 0.42,
"lighting_uniformity": 0.35,
"occlusion_present": False,
"environment_tag": "street",
"framing": "offgaze",
"expected_label": "REJECT",
"sharpness_score": 0.39,
"temporal_flicker": 0.25,
"bg_entropy": 0.58,
"eye_contact_ratio": 0.15,
"speech_rate_wpm": 72.0,
"difficulty": "medium",
},
{
"clip_id": "clip_0052",
"duration_s": 9.4,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.35,
"face_confidence": 0.85,
"head_pose_yaw_deg": 10.0,
"head_pose_pitch_deg": 4.2,
"motion_score": 0.22,
"bg_complexity": "office",
"bg_complexity_score": 0.1,
"mouth_open_ratio": 0.28,
"blink_rate_hz": 0.42,
"audio_snr_db": 21.5,
"transcript_word_count": 27,
"transcript_confidence": 0.82,
"lighting_uniformity": 0.75,
"occlusion_present": False,
"environment_tag": "studio_small",
"framing": "offgaze",
"expected_label": "KEEP",
"sharpness_score": 0.9,
"temporal_flicker": 0.03,
"bg_entropy": 0.14,
"eye_contact_ratio": 0.8,
"speech_rate_wpm": 82.0,
},
{
"clip_id": "clip_0053",
"duration_s": 13.0,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.35,
"face_confidence": 0.82,
"head_pose_yaw_deg": 10.0,
"head_pose_pitch_deg": 13.8,
"motion_score": 0.24,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.1,
"mouth_open_ratio": 0.35,
"blink_rate_hz": 0.21,
"audio_snr_db": 20.8,
"transcript_word_count": 38,
"transcript_confidence": 0.92,
"lighting_uniformity": 0.68,
"occlusion_present": False,
"environment_tag": "conference_hall",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.9,
"temporal_flicker": 0.03,
"bg_entropy": 0.13,
"eye_contact_ratio": 0.8,
"speech_rate_wpm": 153.0,
},
{
"clip_id": "clip_0054",
"duration_s": 11.8,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.35,
"face_confidence": 0.87,
"head_pose_yaw_deg": 10.0,
"head_pose_pitch_deg": 7.4,
"motion_score": 0.18,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.1,
"mouth_open_ratio": 0.41,
"blink_rate_hz": 0.27,
"audio_snr_db": 22.1,
"transcript_word_count": 41,
"transcript_confidence": 0.85,
"lighting_uniformity": 0.72,
"occlusion_present": False,
"environment_tag": "classroom_empty",
"framing": "right",
"expected_label": "KEEP",
"sharpness_score": 0.9,
"temporal_flicker": 0.03,
"bg_entropy": 0.07,
"eye_contact_ratio": 0.8,
"speech_rate_wpm": 75.0,
},
{
"clip_id": "clip_0055",
"duration_s": 10.5,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.35,
"face_confidence": 0.84,
"head_pose_yaw_deg": 10.0,
"head_pose_pitch_deg": 3.1,
"motion_score": 0.2,
"bg_complexity": "office",
"bg_complexity_score": 0.1,
"mouth_open_ratio": 0.42,
"blink_rate_hz": 0.19,
"audio_snr_db": 21.2,
"transcript_word_count": 12,
"transcript_confidence": 0.92,
"lighting_uniformity": 0.7,
"occlusion_present": False,
"environment_tag": "study_room",
"framing": "offgaze",
"expected_label": "KEEP",
"sharpness_score": 0.9,
"temporal_flicker": 0.07,
"bg_entropy": 0.07,
"eye_contact_ratio": 0.8,
"speech_rate_wpm": 104.0,
},
{
"clip_id": "clip_0056",
"duration_s": 6.4,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.22,
"face_confidence": 0.75,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 4.5,
"motion_score": 0.38,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.52,
"blink_rate_hz": 0.32,
"audio_snr_db": 15.5,
"transcript_word_count": 38,
"transcript_confidence": 0.64,
"lighting_uniformity": 0.54,
"occlusion_present": False,
"environment_tag": "street_market",
"framing": "offgaze",
"expected_label": "BORDERLINE",
"sharpness_score": 0.5,
"temporal_flicker": 0.13,
"bg_entropy": 0.28,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 85.0,
},
{
"clip_id": "clip_0057",
"duration_s": 7.9,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.22,
"face_confidence": 0.68,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 7.5,
"motion_score": 0.42,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.49,
"blink_rate_hz": 0.19,
"audio_snr_db": 14.2,
"transcript_word_count": 14,
"transcript_confidence": 0.59,
"lighting_uniformity": 0.61,
"occlusion_present": False,
"environment_tag": "train_station",
"framing": "front",
"expected_label": "BORDERLINE",
"sharpness_score": 0.5,
"temporal_flicker": 0.15,
"bg_entropy": 0.37,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 87.0,
},
{
"clip_id": "clip_0058",
"duration_s": 9.9,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.55,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 4.5,
"motion_score": 0.62,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.2,
"blink_rate_hz": 0.29,
"audio_snr_db": 9.5,
"transcript_word_count": 12,
"transcript_confidence": 0.53,
"lighting_uniformity": 0.38,
"occlusion_present": False,
"environment_tag": "concert_crowd",
"framing": "right",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.28,
"bg_entropy": 0.52,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 79.0,
},
{
"clip_id": "clip_0059",
"duration_s": 14.7,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.42,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 13.2,
"motion_score": 0.35,
"bg_complexity": "crowded_event",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.48,
"blink_rate_hz": 0.22,
"audio_snr_db": 11.5,
"transcript_word_count": 39,
"transcript_confidence": 0.54,
"lighting_uniformity": 0.28,
"occlusion_present": False,
"environment_tag": "dark_basement",
"framing": "front",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.28,
"bg_entropy": 0.62,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 94.0,
},
{
"clip_id": "clip_0060",
"duration_s": 6.9,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.62,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 11.6,
"motion_score": 1.25,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.32,
"blink_rate_hz": 0.28,
"audio_snr_db": 10.2,
"transcript_word_count": 43,
"transcript_confidence": 0.61,
"lighting_uniformity": 0.45,
"occlusion_present": False,
"environment_tag": "subway_ride",
"framing": "front",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.21,
"bg_entropy": 0.41,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 101.0,
},
{
"clip_id": "clip_0061",
"duration_s": 12.2,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.48,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 3.6,
"motion_score": 0.47,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.37,
"blink_rate_hz": 0.3,
"audio_snr_db": 5.8,
"transcript_word_count": 41,
"transcript_confidence": 0.43,
"lighting_uniformity": 0.32,
"occlusion_present": False,
"environment_tag": "factory_floor",
"framing": "right",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.29,
"bg_entropy": 0.37,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 97.0,
},
{
"clip_id": "clip_0062",
"duration_s": 11.4,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.59,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 5.6,
"motion_score": 0.88,
"bg_complexity": "outdoor_street",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.17,
"blink_rate_hz": 0.39,
"audio_snr_db": 3.4,
"transcript_word_count": 23,
"transcript_confidence": 0.58,
"lighting_uniformity": 0.52,
"occlusion_present": False,
"environment_tag": "wind_tunnel",
"framing": "right",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.13,
"bg_entropy": 0.37,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 159.0,
},
{
"clip_id": "clip_0063",
"duration_s": 14.3,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.51,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 5.2,
"motion_score": 0.52,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.43,
"blink_rate_hz": 0.24,
"audio_snr_db": 8.1,
"transcript_word_count": 33,
"transcript_confidence": 0.42,
"lighting_uniformity": 0.44,
"occlusion_present": False,
"environment_tag": "heavy_traffic",
"framing": "front",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.24,
"bg_entropy": 0.49,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 196.0,
},
],
}