clip-quality-env / server /tasks /task_easy.py
elix3r's picture
Upload folder using huggingface_hub
cb80875 verified
Raw
History Blame Contribute Delete
25.6 kB
EASY_TASK = {
"task_id": "task_easy",
"difficulty": "easy",
"description": (
"Classify clips with dominant quality evidence. Return one label in {KEEP, BORDERLINE, REJECT} with brief metadata-grounded reasoning."
),
"data_corpus": [
{
"clip_id": "clip_0011",
"duration_s": 16.04,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.8263,
"head_pose_yaw_deg": 8.317,
"head_pose_pitch_deg": 5.772,
"motion_score": 0.0222,
"bg_complexity": "solid_dark",
"bg_complexity_score": 0.0499,
"mouth_open_ratio": 0.2721,
"blink_rate_hz": 0.25,
"audio_snr_db": 23.226,
"transcript_word_count": 35,
"transcript_confidence": 0.4506,
"lighting_uniformity": 0.8243,
"occlusion_present": False,
"environment_tag": "podcast_studio",
"framing": "offgaze",
"expected_label": "KEEP",
"sharpness_score": 0.0101,
"temporal_flicker": 0.0047,
"bg_entropy": 0.6495,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 130.92,
"difficulty": "easy",
},
{
"clip_id": "clip_0012",
"duration_s": 9.195,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.5599,
"head_pose_yaw_deg": 9.131,
"head_pose_pitch_deg": 5.257,
"motion_score": 0.0269,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.114,
"mouth_open_ratio": 0.4881,
"blink_rate_hz": 0.25,
"audio_snr_db": 15.997,
"transcript_word_count": 31,
"transcript_confidence": 0.4506,
"lighting_uniformity": 0.5707,
"occlusion_present": True,
"environment_tag": "webcam_room",
"framing": "offgaze",
"expected_label": "KEEP",
"sharpness_score": 0.0274,
"temporal_flicker": 0.0126,
"bg_entropy": 0.5864,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 202.28,
"difficulty": "easy",
},
{
"clip_id": "clip_0013",
"duration_s": 11.337,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.7018,
"head_pose_yaw_deg": 8.789,
"head_pose_pitch_deg": 5.462,
"motion_score": 0.0315,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.0838,
"mouth_open_ratio": 0.4322,
"blink_rate_hz": 0.25,
"audio_snr_db": 23.736,
"transcript_word_count": 34,
"transcript_confidence": 0.4506,
"lighting_uniformity": 0.7066,
"occlusion_present": False,
"environment_tag": "office",
"framing": "offgaze",
"expected_label": "KEEP",
"sharpness_score": 0.0342,
"temporal_flicker": 0.0116,
"bg_entropy": 0.8032,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 179.94,
"difficulty": "easy",
},
{
"clip_id": "clip_0014",
"duration_s": 11.572,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.7652,
"head_pose_yaw_deg": 8.494,
"head_pose_pitch_deg": 5.651,
"motion_score": 0.0275,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.0709,
"mouth_open_ratio": 0.4209,
"blink_rate_hz": 0.25,
"audio_snr_db": 21.079,
"transcript_word_count": 34,
"transcript_confidence": 0.447,
"lighting_uniformity": 0.743,
"occlusion_present": False,
"environment_tag": "office",
"framing": "offgaze",
"expected_label": "REJECT",
"sharpness_score": 0.0173,
"temporal_flicker": 0.0226,
"bg_entropy": 0.4559,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 176.29,
"difficulty": "easy",
},
{
"clip_id": "clip_0015",
"duration_s": 14.028,
"fps": 25,
"resolution": "1280x704",
"face_area_ratio": 0.28,
"face_confidence": 0.7695,
"head_pose_yaw_deg": 7.347,
"head_pose_pitch_deg": 6.533,
"motion_score": 0.0153,
"bg_complexity": "solid_dark",
"bg_complexity_score": 0.0626,
"mouth_open_ratio": 0.3264,
"blink_rate_hz": 0.25,
"audio_snr_db": 18.096,
"transcript_word_count": 39,
"transcript_confidence": 0.4521,
"lighting_uniformity": 0.7731,
"occlusion_present": False,
"environment_tag": "podcast_studio",
"framing": "offgaze",
"expected_label": "BORDERLINE",
"sharpness_score": 0.0131,
"temporal_flicker": 0.0089,
"bg_entropy": 0.7435,
"eye_contact_ratio": 0.0,
"speech_rate_wpm": 166.81,
"difficulty": "easy",
},
{
"clip_id": "clip_0016",
"duration_s": 8.4,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.43,
"face_confidence": 0.94,
"head_pose_yaw_deg": 6.2,
"head_pose_pitch_deg": 4.3,
"motion_score": 0.09,
"bg_complexity": "solid_dark",
"bg_complexity_score": 0.05,
"mouth_open_ratio": 0.36,
"blink_rate_hz": 0.22,
"audio_snr_db": 27.4,
"transcript_word_count": 28,
"transcript_confidence": 0.89,
"lighting_uniformity": 0.88,
"occlusion_present": False,
"environment_tag": "studio",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.91,
"temporal_flicker": 0.03,
"bg_entropy": 0.08,
"eye_contact_ratio": 0.87,
"speech_rate_wpm": 142.0,
"difficulty": "easy",
},
{
"clip_id": "clip_0017",
"duration_s": 7.1,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.38,
"face_confidence": 0.9,
"head_pose_yaw_deg": 7.8,
"head_pose_pitch_deg": 5.0,
"motion_score": 0.12,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.09,
"mouth_open_ratio": 0.33,
"blink_rate_hz": 0.21,
"audio_snr_db": 24.1,
"transcript_word_count": 24,
"transcript_confidence": 0.86,
"lighting_uniformity": 0.8,
"occlusion_present": False,
"environment_tag": "office",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.85,
"temporal_flicker": 0.05,
"bg_entropy": 0.12,
"eye_contact_ratio": 0.79,
"speech_rate_wpm": 128.0,
"difficulty": "easy",
},
{
"clip_id": "clip_0018",
"duration_s": 8.0,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.25,
"face_confidence": 0.8,
"head_pose_yaw_deg": 17.5,
"head_pose_pitch_deg": 8.2,
"motion_score": 0.26,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.16,
"mouth_open_ratio": 0.25,
"blink_rate_hz": 0.29,
"audio_snr_db": 19.4,
"transcript_word_count": 19,
"transcript_confidence": 0.76,
"lighting_uniformity": 0.65,
"occlusion_present": False,
"environment_tag": "home_office",
"framing": "front",
"expected_label": "BORDERLINE",
"sharpness_score": 0.72,
"temporal_flicker": 0.09,
"bg_entropy": 0.21,
"eye_contact_ratio": 0.61,
"speech_rate_wpm": 115.0,
"difficulty": "easy",
},
{
"clip_id": "clip_0019",
"duration_s": 3.4,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.16,
"face_confidence": 0.56,
"head_pose_yaw_deg": 23.0,
"head_pose_pitch_deg": 11.2,
"motion_score": 0.54,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.45,
"mouth_open_ratio": 0.15,
"blink_rate_hz": 0.38,
"audio_snr_db": 11.0,
"transcript_word_count": 8,
"transcript_confidence": 0.44,
"lighting_uniformity": 0.38,
"occlusion_present": True,
"environment_tag": "corridor",
"framing": "offgaze",
"expected_label": "REJECT",
"sharpness_score": 0.41,
"temporal_flicker": 0.22,
"bg_entropy": 0.55,
"eye_contact_ratio": 0.18,
"speech_rate_wpm": 78.0,
"difficulty": "easy",
},
{
"clip_id": "clip_0020",
"duration_s": 5.0,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.18,
"face_confidence": 0.63,
"head_pose_yaw_deg": 25.5,
"head_pose_pitch_deg": 12.4,
"motion_score": 0.47,
"bg_complexity": "busy_indoor",
"bg_complexity_score": 0.42,
"mouth_open_ratio": 0.17,
"blink_rate_hz": 0.35,
"audio_snr_db": 13.1,
"transcript_word_count": 10,
"transcript_confidence": 0.51,
"lighting_uniformity": 0.42,
"occlusion_present": False,
"environment_tag": "street_interview",
"framing": "left",
"expected_label": "REJECT",
"sharpness_score": 0.48,
"temporal_flicker": 0.18,
"bg_entropy": 0.47,
"eye_contact_ratio": 0.29,
"speech_rate_wpm": 92.0,
"difficulty": "easy",
},
{
"clip_id": "clip_0021",
"duration_s": 9.2,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.41,
"face_confidence": 0.93,
"head_pose_yaw_deg": 4.7,
"head_pose_pitch_deg": 3.1,
"motion_score": 0.07,
"bg_complexity": "solid_dark",
"bg_complexity_score": 0.04,
"mouth_open_ratio": 0.38,
"blink_rate_hz": 0.2,
"audio_snr_db": 29.2,
"transcript_word_count": 31,
"transcript_confidence": 0.92,
"lighting_uniformity": 0.91,
"occlusion_present": False,
"environment_tag": "studio",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.94,
"temporal_flicker": 0.02,
"bg_entropy": 0.06,
"eye_contact_ratio": 0.91,
"speech_rate_wpm": 148.0,
"difficulty": "easy",
},
{
"clip_id": "clip_0022",
"duration_s": 6.8,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.26,
"face_confidence": 0.78,
"head_pose_yaw_deg": 16.3,
"head_pose_pitch_deg": 7.9,
"motion_score": 0.28,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.17,
"mouth_open_ratio": 0.27,
"blink_rate_hz": 0.28,
"audio_snr_db": 18.8,
"transcript_word_count": 18,
"transcript_confidence": 0.74,
"lighting_uniformity": 0.63,
"occlusion_present": False,
"environment_tag": "living_room",
"framing": "left",
"expected_label": "BORDERLINE",
"sharpness_score": 0.68,
"temporal_flicker": 0.11,
"bg_entropy": 0.24,
"eye_contact_ratio": 0.55,
"speech_rate_wpm": 108.0,
"difficulty": "easy",
},
{
"clip_id": "clip_0023",
"duration_s": 4.1,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.14,
"face_confidence": 0.52,
"head_pose_yaw_deg": 28.1,
"head_pose_pitch_deg": 14.0,
"motion_score": 0.58,
"bg_complexity": "outdoor_street",
"bg_complexity_score": 0.51,
"mouth_open_ratio": 0.12,
"blink_rate_hz": 0.41,
"audio_snr_db": 9.5,
"transcript_word_count": 6,
"transcript_confidence": 0.39,
"lighting_uniformity": 0.33,
"occlusion_present": True,
"environment_tag": "outdoor",
"framing": "offgaze",
"expected_label": "REJECT",
"sharpness_score": 0.35,
"temporal_flicker": 0.28,
"bg_entropy": 0.62,
"eye_contact_ratio": 0.12,
"speech_rate_wpm": 65.0,
"difficulty": "easy",
},
{
"clip_id": "clip_0040",
"duration_s": 11.0,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.35,
"face_confidence": 0.95,
"head_pose_yaw_deg": 10.0,
"head_pose_pitch_deg": 3.3,
"motion_score": 0.05,
"bg_complexity": "solid_dark",
"bg_complexity_score": 0.1,
"mouth_open_ratio": 0.24,
"blink_rate_hz": 0.23,
"audio_snr_db": 28.5,
"transcript_word_count": 14,
"transcript_confidence": 0.88,
"lighting_uniformity": 0.92,
"occlusion_present": False,
"environment_tag": "kitchen",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.9,
"temporal_flicker": 0.07,
"bg_entropy": 0.07,
"eye_contact_ratio": 0.8,
"speech_rate_wpm": 128.0,
},
{
"clip_id": "clip_0041",
"duration_s": 6.4,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.35,
"face_confidence": 0.92,
"head_pose_yaw_deg": 10.0,
"head_pose_pitch_deg": 8.6,
"motion_score": 0.08,
"bg_complexity": "office",
"bg_complexity_score": 0.1,
"mouth_open_ratio": 0.13,
"blink_rate_hz": 0.23,
"audio_snr_db": 26.2,
"transcript_word_count": 42,
"transcript_confidence": 0.84,
"lighting_uniformity": 0.85,
"occlusion_present": False,
"environment_tag": "library",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.9,
"temporal_flicker": 0.05,
"bg_entropy": 0.1,
"eye_contact_ratio": 0.8,
"speech_rate_wpm": 188.0,
},
{
"clip_id": "clip_0042",
"duration_s": 7.7,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.35,
"face_confidence": 0.88,
"head_pose_yaw_deg": 10.0,
"head_pose_pitch_deg": 4.7,
"motion_score": 0.15,
"bg_complexity": "office",
"bg_complexity_score": 0.1,
"mouth_open_ratio": 0.53,
"blink_rate_hz": 0.26,
"audio_snr_db": 22.4,
"transcript_word_count": 13,
"transcript_confidence": 0.84,
"lighting_uniformity": 0.78,
"occlusion_present": False,
"environment_tag": "gym",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.9,
"temporal_flicker": 0.04,
"bg_entropy": 0.11,
"eye_contact_ratio": 0.8,
"speech_rate_wpm": 107.0,
},
{
"clip_id": "clip_0043",
"duration_s": 9.9,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.35,
"face_confidence": 0.91,
"head_pose_yaw_deg": 10.0,
"head_pose_pitch_deg": 13.7,
"motion_score": 0.12,
"bg_complexity": "simple_room",
"bg_complexity_score": 0.1,
"mouth_open_ratio": 0.28,
"blink_rate_hz": 0.31,
"audio_snr_db": 24.8,
"transcript_word_count": 48,
"transcript_confidence": 0.87,
"lighting_uniformity": 0.81,
"occlusion_present": False,
"environment_tag": "park",
"framing": "front",
"expected_label": "KEEP",
"sharpness_score": 0.9,
"temporal_flicker": 0.07,
"bg_entropy": 0.14,
"eye_contact_ratio": 0.8,
"speech_rate_wpm": 166.0,
},
{
"clip_id": "clip_0044",
"duration_s": 12.5,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.22,
"face_confidence": 0.72,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 13.8,
"motion_score": 0.35,
"bg_complexity": "busy_indoor",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.49,
"blink_rate_hz": 0.39,
"audio_snr_db": 16.5,
"transcript_word_count": 32,
"transcript_confidence": 0.65,
"lighting_uniformity": 0.55,
"occlusion_present": False,
"environment_tag": "cafe",
"framing": "front",
"expected_label": "BORDERLINE",
"sharpness_score": 0.5,
"temporal_flicker": 0.14,
"bg_entropy": 0.27,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 121.0,
},
{
"clip_id": "clip_0045",
"duration_s": 6.9,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.22,
"face_confidence": 0.79,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 13.3,
"motion_score": 0.32,
"bg_complexity": "busy_indoor",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.4,
"blink_rate_hz": 0.33,
"audio_snr_db": 14.8,
"transcript_word_count": 18,
"transcript_confidence": 0.71,
"lighting_uniformity": 0.62,
"occlusion_present": False,
"environment_tag": "bus_stop",
"framing": "offgaze",
"expected_label": "BORDERLINE",
"sharpness_score": 0.5,
"temporal_flicker": 0.1,
"bg_entropy": 0.29,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 108.0,
},
{
"clip_id": "clip_0046",
"duration_s": 10.1,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.22,
"face_confidence": 0.75,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 10.5,
"motion_score": 0.29,
"bg_complexity": "busy_indoor",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.48,
"blink_rate_hz": 0.37,
"audio_snr_db": 19.2,
"transcript_word_count": 22,
"transcript_confidence": 0.78,
"lighting_uniformity": 0.58,
"occlusion_present": False,
"environment_tag": "car_interior",
"framing": "right",
"expected_label": "BORDERLINE",
"sharpness_score": 0.5,
"temporal_flicker": 0.16,
"bg_entropy": 0.28,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 81.0,
},
{
"clip_id": "clip_0047",
"duration_s": 7.5,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.45,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 10.2,
"motion_score": 0.65,
"bg_complexity": "crowded_event",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.29,
"blink_rate_hz": 0.4,
"audio_snr_db": 8.2,
"transcript_word_count": 37,
"transcript_confidence": 0.43,
"lighting_uniformity": 0.32,
"occlusion_present": False,
"environment_tag": "night_club",
"framing": "offgaze",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.15,
"bg_entropy": 0.57,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 144.0,
},
{
"clip_id": "clip_0048",
"duration_s": 13.9,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.52,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 7.4,
"motion_score": 0.58,
"bg_complexity": "crowded_event",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.21,
"blink_rate_hz": 0.42,
"audio_snr_db": 6.4,
"transcript_word_count": 40,
"transcript_confidence": 0.55,
"lighting_uniformity": 0.41,
"occlusion_present": False,
"environment_tag": "windy_beach",
"framing": "front",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.26,
"bg_entropy": 0.61,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 92.0,
},
{
"clip_id": "clip_0049",
"duration_s": 10.6,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.38,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 7.2,
"motion_score": 0.42,
"bg_complexity": "outdoor_street",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.38,
"blink_rate_hz": 0.29,
"audio_snr_db": 12.1,
"transcript_word_count": 24,
"transcript_confidence": 0.71,
"lighting_uniformity": 0.25,
"occlusion_present": False,
"environment_tag": "low_light_alley",
"framing": "offgaze",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.27,
"bg_entropy": 0.35,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 168.0,
},
{
"clip_id": "clip_0050",
"duration_s": 12.5,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.58,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 6.7,
"motion_score": 0.72,
"bg_complexity": "busy_room",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.25,
"blink_rate_hz": 0.22,
"audio_snr_db": 4.5,
"transcript_word_count": 8,
"transcript_confidence": 0.7,
"lighting_uniformity": 0.48,
"occlusion_present": False,
"environment_tag": "construction_site",
"framing": "front",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.28,
"bg_entropy": 0.43,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 139.0,
},
{
"clip_id": "clip_0051",
"duration_s": 13.6,
"fps": 25,
"resolution": "1280x720",
"face_area_ratio": 0.15,
"face_confidence": 0.41,
"head_pose_yaw_deg": 25.0,
"head_pose_pitch_deg": 6.3,
"motion_score": 0.49,
"bg_complexity": "outdoor_street",
"bg_complexity_score": 0.35,
"mouth_open_ratio": 0.39,
"blink_rate_hz": 0.33,
"audio_snr_db": 9.8,
"transcript_word_count": 17,
"transcript_confidence": 0.51,
"lighting_uniformity": 0.35,
"occlusion_present": False,
"environment_tag": "heavy_rain",
"framing": "front",
"expected_label": "REJECT",
"sharpness_score": 0.5,
"temporal_flicker": 0.15,
"bg_entropy": 0.64,
"eye_contact_ratio": 0.4,
"speech_rate_wpm": 195.0,
},
],
}