MedGRPO-Demo / examples.json
gaozhongpai's picture
Add test_idx to all examples for traceability
43c5604
[
{
"id": 0,
"task": "Temporal Action Localization",
"qa_type": "tal",
"data_source": "NurViD",
"question": "You are a specialist in analyzing nursing procedure videos. This clip presents a portion of a nursing task performed by a healthcare professional. The video shows part of the Vital Sign Assessment procedure. Possible actions include: Check the blood pressure meter, Check the thermometer, Document, Handwashing, Measure blood pressure, Measure body temperature, Measure pulse, Measure respiration. When does Measure pulse happen?",
"ground_truth": "46.0-61.8 seconds.",
"prediction": "43.0-65.0 seconds.",
"frames": [
"examples/example_000/frame_000.jpg",
"examples/example_000/frame_001.jpg",
"examples/example_000/frame_002.jpg",
"examples/example_000/frame_003.jpg",
"examples/example_000/frame_004.jpg",
"examples/example_000/frame_005.jpg",
"examples/example_000/frame_006.jpg",
"examples/example_000/frame_007.jpg",
"examples/example_000/frame_008.jpg",
"examples/example_000/frame_009.jpg",
"examples/example_000/frame_010.jpg",
"examples/example_000/frame_011.jpg",
"examples/example_000/frame_012.jpg",
"examples/example_000/frame_013.jpg",
"examples/example_000/frame_014.jpg",
"examples/example_000/frame_015.jpg"
],
"n_original_frames": 66,
"test_idx": 4793
},
{
"id": 1,
"task": "Temporal Action Localization",
"qa_type": "tal",
"data_source": "NurViD",
"question": "You are an expert in clinical video analysis. The video depicts a stage of a nursing procedure, showing specific actions within the process. The video shows part of the Vital Sign Assessment procedure. Possible actions include: Check the blood pressure meter, Check the thermometer, Document, Handwashing, Measure blood pressure, Measure body temperature, Measure pulse, Measure respiration. When does Measure respiration happen?",
"ground_truth": "40.4-50.8 seconds.",
"prediction": "42.0-56.0 seconds.",
"frames": [
"examples/example_001/frame_000.jpg",
"examples/example_001/frame_001.jpg",
"examples/example_001/frame_002.jpg",
"examples/example_001/frame_003.jpg",
"examples/example_001/frame_004.jpg",
"examples/example_001/frame_005.jpg",
"examples/example_001/frame_006.jpg",
"examples/example_001/frame_007.jpg",
"examples/example_001/frame_008.jpg",
"examples/example_001/frame_009.jpg",
"examples/example_001/frame_010.jpg",
"examples/example_001/frame_011.jpg",
"examples/example_001/frame_012.jpg",
"examples/example_001/frame_013.jpg",
"examples/example_001/frame_014.jpg",
"examples/example_001/frame_015.jpg"
],
"n_original_frames": 70,
"test_idx": 3934
},
{
"id": 2,
"task": "Spatiotemporal Grounding",
"qa_type": "stg",
"data_source": "CholecTrack20",
"question": "You are a specialist in analyzing minimally invasive surgery videos. This recording shows a laparoscopic cholecystectomy, a procedure to remove the gallbladder through small abdominal incisions. Between 60.0 seconds and 72.0 seconds, where is the grasper every 4 seconds?",
"ground_truth": "60.0 seconds: [130, 352, 222, 462] 64.0 seconds: [131, 321, 225, 410] 68.0 seconds: [129, 360, 206, 446] 72.0 seconds: [128, 333, 260, 438]",
"prediction": "60.0 seconds: [640, 0, 744, 110] 64.0 seconds: [640, 0, 744, 110] 68.0 seconds: [640, 0, 744, 110] 72.0 seconds: [640, 0, 744, 110]",
"frames": [
"examples/example_002/frame_000.jpg",
"examples/example_002/frame_001.jpg",
"examples/example_002/frame_002.jpg",
"examples/example_002/frame_003.jpg",
"examples/example_002/frame_004.jpg",
"examples/example_002/frame_005.jpg",
"examples/example_002/frame_006.jpg",
"examples/example_002/frame_007.jpg",
"examples/example_002/frame_008.jpg",
"examples/example_002/frame_009.jpg",
"examples/example_002/frame_010.jpg",
"examples/example_002/frame_011.jpg",
"examples/example_002/frame_012.jpg",
"examples/example_002/frame_013.jpg",
"examples/example_002/frame_014.jpg",
"examples/example_002/frame_015.jpg"
],
"n_original_frames": 90,
"test_idx": 1567
},
{
"id": 3,
"task": "Spatiotemporal Grounding",
"qa_type": "stg",
"data_source": "CholecTrack20",
"question": "You are an expert surgical analyst specializing in minimally invasive procedures. This video shows an endoscopic view of a laparoscopic cholecystectomy, a keyhole surgery to remove the gallbladder. Give the bounding boxes for the hook at every 4 seconds between 5.0 and 29.0 seconds.",
"ground_truth": "5.0 seconds: [578, 102, 834, 479] 9.0 seconds: [541, 202, 671, 433] 13.0 seconds: [632, 85, 841, 408] 17.0 seconds: [614, 208, 762, 433] 21.0 seconds: [651, 419, 759, 569] 25.0 seconds: [596, 79, 707, 333] 29.0 seconds: [562, 179, 707, 423]",
"prediction": "5.0 seconds: [560, 323, 679, 508] 9.0 seconds: [560, 323, 679, 508] 13.0 seconds: [560, 323, 679, 508] 17.0 seconds: [560, 323, 679, 508] 21.0 seconds: [560, 323, 679, 508] 25.0 seconds: [560, 323, 679, 508] 29.0 seconds: [560, 323, 679, 508]",
"frames": [
"examples/example_003/frame_000.jpg",
"examples/example_003/frame_001.jpg",
"examples/example_003/frame_002.jpg",
"examples/example_003/frame_003.jpg",
"examples/example_003/frame_004.jpg",
"examples/example_003/frame_005.jpg",
"examples/example_003/frame_006.jpg",
"examples/example_003/frame_007.jpg",
"examples/example_003/frame_008.jpg",
"examples/example_003/frame_009.jpg",
"examples/example_003/frame_010.jpg",
"examples/example_003/frame_011.jpg",
"examples/example_003/frame_012.jpg",
"examples/example_003/frame_013.jpg",
"examples/example_003/frame_014.jpg",
"examples/example_003/frame_015.jpg"
],
"n_original_frames": 60,
"test_idx": 1535
},
{
"id": 4,
"task": "Dense Captioning",
"qa_type": "dense_captioning_gemini",
"data_source": "NurViD",
"question": "You are an expert in procedural video interpretation. This video shows part of a nursing procedure performed in a clinical environment. You are reviewing a Infusion by Pump procedure. Detect and caption only clinically relevant actions from Connect infusion device, Flush the sealed tube, Release trapped air, Set parameters. Return start/end times with a brief, objective description.",
"ground_truth": "35.0-50.0 seconds: set parameters: A gloved hand interacts with the Baxter IV pump's control panel and screen, navigating through menus, inputting characters via the keypad to type a drug name, and selecting a specific drug from a displayed list, thereby setting the infusion parameters.",
"prediction": "0.0-14.0 seconds: flush the sealed tube: A gloved hand inserts a syringe into the port of a sealed IV catheter on the mannequin's arm, depresses the plunger to flush the line, and then detaches the syringe, leaving the IV port cap in place.\n33.0-50.0 seconds: set parameters: A gloved hand interacts with the control panel of an infusion pump, pressing buttons to adjust settings and confirm parameters, while the pump's display updates to reflect the configured infusion protocol.",
"frames": [
"examples/example_004/frame_000.jpg",
"examples/example_004/frame_001.jpg",
"examples/example_004/frame_002.jpg",
"examples/example_004/frame_003.jpg",
"examples/example_004/frame_004.jpg",
"examples/example_004/frame_005.jpg",
"examples/example_004/frame_006.jpg",
"examples/example_004/frame_007.jpg",
"examples/example_004/frame_008.jpg",
"examples/example_004/frame_009.jpg",
"examples/example_004/frame_010.jpg",
"examples/example_004/frame_011.jpg",
"examples/example_004/frame_012.jpg",
"examples/example_004/frame_013.jpg",
"examples/example_004/frame_014.jpg",
"examples/example_004/frame_015.jpg"
],
"n_original_frames": 67,
"test_idx": 5352
},
{
"id": 5,
"task": "Dense Captioning",
"qa_type": "dense_captioning_gpt",
"data_source": "NurViD",
"question": "You are a specialist in analyzing nursing procedure videos. This clip presents a portion of a nursing task performed by a healthcare professional. The following video is part of a Perineal Care procedure. Construct a compact summary of all occurrences of Clean and scrub the perineum, Draw bed curtains, Place an underpad, Position the patient. For each, provide [start, end] and a one-sentence caption.",
"ground_truth": "39.6-50.6 seconds: place an underpad: Over the course of these frames, the nurse\u2014wearing gloves\u2014unfolds and maneuvers an absorbent underpad beneath the patient\u2019s hips, ensuring it is smoothed into place and extends fully under the pelvic and perineal area in preparation for perineal care.",
"prediction": "41.0-50.0 seconds: place an underpad: The nurse unfolds and positions an underpad beneath the patient's hips, then rolls the patient's gown down to expose the perineal area, and finally smooths the underpad into place.",
"frames": [
"examples/example_005/frame_000.jpg",
"examples/example_005/frame_001.jpg",
"examples/example_005/frame_002.jpg",
"examples/example_005/frame_003.jpg",
"examples/example_005/frame_004.jpg",
"examples/example_005/frame_005.jpg",
"examples/example_005/frame_006.jpg",
"examples/example_005/frame_007.jpg",
"examples/example_005/frame_008.jpg",
"examples/example_005/frame_009.jpg",
"examples/example_005/frame_010.jpg",
"examples/example_005/frame_011.jpg",
"examples/example_005/frame_012.jpg",
"examples/example_005/frame_013.jpg",
"examples/example_005/frame_014.jpg",
"examples/example_005/frame_015.jpg"
],
"n_original_frames": 51,
"test_idx": 5624
},
{
"id": 6,
"task": "Next Action Prediction",
"qa_type": "next_action",
"data_source": "CholecT50",
"question": "You are an expert in operative video analysis. The following video contains endoscopic footage of a laparoscopic cholecystectomy, where the gallbladder is removed using small incisions and specialized instruments. Based on the phase candidates: ['preparation', 'carlot-triangle-dissection', 'clipping-and-cutting', 'gallbladder-dissection', 'gallbladder-packaging', 'cleaning-and-coagulation', 'gallbladder-extraction'], predict the next step after this video.",
"ground_truth": "gallbladder-extraction",
"prediction": "gallbladder-extraction",
"frames": [
"examples/example_006/frame_000.jpg",
"examples/example_006/frame_001.jpg",
"examples/example_006/frame_002.jpg",
"examples/example_006/frame_003.jpg",
"examples/example_006/frame_004.jpg",
"examples/example_006/frame_005.jpg",
"examples/example_006/frame_006.jpg",
"examples/example_006/frame_007.jpg",
"examples/example_006/frame_008.jpg",
"examples/example_006/frame_009.jpg",
"examples/example_006/frame_010.jpg",
"examples/example_006/frame_011.jpg",
"examples/example_006/frame_012.jpg",
"examples/example_006/frame_013.jpg",
"examples/example_006/frame_014.jpg",
"examples/example_006/frame_015.jpg"
],
"n_original_frames": 53,
"test_idx": 1102
},
{
"id": 7,
"task": "Next Action Prediction",
"qa_type": "next_action",
"data_source": "NurViD",
"question": "You are an expert in understanding procedural healthcare videos. This recording shows a partial sequence from a nursing procedure in a clinical setting. The Perineal Care procedure includes the following step list: Clean and scrub the perineum, Draw bed curtains, Place an underpad, Position the patient. What comes next after the current video?",
"ground_truth": "Position the patient",
"prediction": "Place an underpad",
"frames": [
"examples/example_007/frame_000.jpg",
"examples/example_007/frame_001.jpg",
"examples/example_007/frame_002.jpg",
"examples/example_007/frame_003.jpg",
"examples/example_007/frame_004.jpg",
"examples/example_007/frame_005.jpg",
"examples/example_007/frame_006.jpg",
"examples/example_007/frame_007.jpg",
"examples/example_007/frame_008.jpg",
"examples/example_007/frame_009.jpg",
"examples/example_007/frame_010.jpg",
"examples/example_007/frame_011.jpg",
"examples/example_007/frame_012.jpg",
"examples/example_007/frame_013.jpg",
"examples/example_007/frame_014.jpg",
"examples/example_007/frame_015.jpg"
],
"n_original_frames": 64,
"test_idx": 5975
},
{
"id": 8,
"task": "Video Summary",
"qa_type": "video_summary_gpt",
"data_source": "CoPESD",
"question": "You are an expert in surgical video interpretation. The following clip depicts an endoscopic submucosal dissection (ESD), a precise technique for lesion removal captured via an endoscopic camera. What is this video generally about? Write a short summary capturing the overall activity.",
"ground_truth": "The forceps consistently elevate and retract the mucosal flap, optimizing submucosal exposure, while the knife intermittently dissects the flap margin with controlled strokes during coordinated tissue separation.",
"prediction": "The procedure alternates between forceps-driven mucosal flap retraction and precise knife dissection, with coordinated instrument pauses for exposure optimization, enabling controlled, progressive submucosal tissue separation.",
"frames": [
"examples/example_008/frame_000.jpg",
"examples/example_008/frame_001.jpg",
"examples/example_008/frame_002.jpg",
"examples/example_008/frame_003.jpg",
"examples/example_008/frame_004.jpg",
"examples/example_008/frame_005.jpg",
"examples/example_008/frame_006.jpg",
"examples/example_008/frame_007.jpg",
"examples/example_008/frame_008.jpg",
"examples/example_008/frame_009.jpg",
"examples/example_008/frame_010.jpg",
"examples/example_008/frame_011.jpg",
"examples/example_008/frame_012.jpg",
"examples/example_008/frame_013.jpg",
"examples/example_008/frame_014.jpg",
"examples/example_008/frame_015.jpg"
],
"n_original_frames": 64,
"test_idx": 3094
},
{
"id": 9,
"task": "Video Summary",
"qa_type": "video_summary_gpt",
"data_source": "CoPESD",
"question": "You are an expert surgical video reviewer. This endoscopic footage captures the steps of a submucosal dissection, a minimally invasive procedure for precise tissue removal. Give a concise overview of what the video is about, without going into detailed steps.",
"ground_truth": "The procedure features coordinated forceps-driven elevation and retraction of the mucosal flap, intermittently enabling precise submucosal dissection by the knife, with careful transitions between active dissection and controlled exposure.",
"prediction": "The procedure alternates between forceps-mediated mucosal flap retraction and knife dissection, with coordinated instrument adjustments ensuring controlled submucosal separation and optimal visualization throughout the resection.",
"frames": [
"examples/example_009/frame_000.jpg",
"examples/example_009/frame_001.jpg",
"examples/example_009/frame_002.jpg",
"examples/example_009/frame_003.jpg",
"examples/example_009/frame_004.jpg",
"examples/example_009/frame_005.jpg",
"examples/example_009/frame_006.jpg",
"examples/example_009/frame_007.jpg",
"examples/example_009/frame_008.jpg",
"examples/example_009/frame_009.jpg",
"examples/example_009/frame_010.jpg",
"examples/example_009/frame_011.jpg",
"examples/example_009/frame_012.jpg",
"examples/example_009/frame_013.jpg",
"examples/example_009/frame_014.jpg",
"examples/example_009/frame_015.jpg"
],
"n_original_frames": 53,
"test_idx": 3185
},
{
"id": 10,
"task": "Region Caption",
"qa_type": "region_caption_gemini",
"data_source": "CoPESD",
"question": "You are a specialist in analyzing endoscopic surgery videos. This recording shows a submucosal dissection procedure, where mucosal flaps are carefully manipulated using specialized instruments. From 55 seconds to 61 seconds, what is the object doing in the region given by the bounding box at 55 seconds?",
"ground_truth": "The knife remains consistently idle and at rest, positioned without interacting with the tissue or flap.",
"prediction": "The knife remains consistently stationary and idle, demonstrating no interaction with tissue or dissection throughout.",
"frames": [
"examples/example_010/frame_000.jpg",
"examples/example_010/frame_001.jpg",
"examples/example_010/frame_002.jpg",
"examples/example_010/frame_003.jpg",
"examples/example_010/frame_004.jpg",
"examples/example_010/frame_005.jpg",
"examples/example_010/frame_006.jpg",
"examples/example_010/frame_007.jpg",
"examples/example_010/frame_008.jpg",
"examples/example_010/frame_009.jpg",
"examples/example_010/frame_010.jpg",
"examples/example_010/frame_011.jpg",
"examples/example_010/frame_012.jpg",
"examples/example_010/frame_013.jpg",
"examples/example_010/frame_014.jpg",
"examples/example_010/frame_015.jpg"
],
"n_original_frames": 62,
"test_idx": 3386
},
{
"id": 11,
"task": "Region Caption",
"qa_type": "region_caption_gemini",
"data_source": "CholecTrack20",
"question": "You are an expert surgical video reviewer. This endoscopic footage captures the steps of a laparoscopic cholecystectomy, a minimally invasive gallbladder removal surgery. From 0.0 seconds to 29.0 seconds, what is the object doing in the region given by the bounding box at 0.0 seconds?",
"ground_truth": "The grasper on the left continuously retracts tissue, likely the gallbladder, providing crucial exposure during the initial phase of dissection before moving out of view.",
"prediction": "The grasper on the top left consistently grasps and retracts the gallbladder or surrounding tissue, providing exposure for the dissection.",
"frames": [
"examples/example_011/frame_000.jpg",
"examples/example_011/frame_001.jpg",
"examples/example_011/frame_002.jpg",
"examples/example_011/frame_003.jpg",
"examples/example_011/frame_004.jpg",
"examples/example_011/frame_005.jpg",
"examples/example_011/frame_006.jpg",
"examples/example_011/frame_007.jpg",
"examples/example_011/frame_008.jpg",
"examples/example_011/frame_009.jpg",
"examples/example_011/frame_010.jpg",
"examples/example_011/frame_011.jpg",
"examples/example_011/frame_012.jpg",
"examples/example_011/frame_013.jpg",
"examples/example_011/frame_014.jpg",
"examples/example_011/frame_015.jpg"
],
"n_original_frames": 60,
"test_idx": 2149
},
{
"id": 12,
"task": "CVS Assessment",
"qa_type": "cvs_assessment",
"data_source": "Cholec80_CVS",
"question": "You are an expert surgical video evaluator. This Cholec80-CVS recording is for assessing Strasberg\u2019s three Critical View of Safety criteria. Scoring the CVS requires evaluating three components: (1) Are there exactly two structures entering the gallbladder? (2) Is the cystic plate clearly seen? (3) Is the hepatocystic triangle free of tissue? Use a 0,1,2 scale for each.",
"ground_truth": "Two structures: 0, Cystic plate: 0, Hepatocystic triangle: 0",
"prediction": "Two structures: 0, Cystic plate: 0, Hepatocystic triangle: 0",
"frames": [
"examples/example_012/frame_000.jpg",
"examples/example_012/frame_001.jpg",
"examples/example_012/frame_002.jpg",
"examples/example_012/frame_003.jpg",
"examples/example_012/frame_004.jpg",
"examples/example_012/frame_005.jpg",
"examples/example_012/frame_006.jpg",
"examples/example_012/frame_007.jpg",
"examples/example_012/frame_008.jpg",
"examples/example_012/frame_009.jpg",
"examples/example_012/frame_010.jpg",
"examples/example_012/frame_011.jpg",
"examples/example_012/frame_012.jpg",
"examples/example_012/frame_013.jpg",
"examples/example_012/frame_014.jpg",
"examples/example_012/frame_015.jpg"
],
"n_original_frames": 120,
"test_idx": 334
},
{
"id": 13,
"task": "CVS Assessment",
"qa_type": "cvs_assessment",
"data_source": "Cholec80_CVS",
"question": "You are an expert in intraoperative safety assessment. This Cholec80-CVS clip is used to score the Critical View of Safety. For this laparoscopic cholecystectomy procedure, evaluate the Critical View of Safety based on the three essential criteria: proper identification of two structures, adequate cystic plate exposure, and complete hepatocystic triangle clearance. Provide scores (0,1,2) for each criterion.",
"ground_truth": "Two structures: 0, Cystic plate: 0, Hepatocystic triangle: 0",
"prediction": "Two structures: 0, Cystic plate: 0, Hepatocystic triangle: 0",
"frames": [
"examples/example_013/frame_000.jpg",
"examples/example_013/frame_001.jpg",
"examples/example_013/frame_002.jpg",
"examples/example_013/frame_003.jpg",
"examples/example_013/frame_004.jpg",
"examples/example_013/frame_005.jpg",
"examples/example_013/frame_006.jpg",
"examples/example_013/frame_007.jpg",
"examples/example_013/frame_008.jpg",
"examples/example_013/frame_009.jpg",
"examples/example_013/frame_010.jpg",
"examples/example_013/frame_011.jpg",
"examples/example_013/frame_012.jpg",
"examples/example_013/frame_013.jpg",
"examples/example_013/frame_014.jpg",
"examples/example_013/frame_015.jpg"
],
"n_original_frames": 120,
"test_idx": 348
},
{
"id": 14,
"task": "Skill Assessment",
"qa_type": "skill_assessment",
"data_source": "jigsaws",
"question": "You are a surgical analyst. The video shows basic robotic surgical tasks\u2014suturing, knot-tying, or needle-passing. Analyze the surgical performance and provide ratings (1,2,3,4,5) for: Respect for tissue, Suture/needle handling, Time and motion, Flow of operation, Overall performance, Quality of final product.",
"ground_truth": "Respect for tissue: 1/5, Suture/needle handling: 1/5, Time and motion: 2/5, Flow of operation: 3/5, Overall performance: 2/5, Quality of final product: 1/5",
"prediction": "Respect for tissue: 3/5, Suture/needle handling: 2/5, Time and motion: 2/5, Flow of operation: 3/5, Overall performance: 3/5, Quality of final product: 3/5",
"frames": [
"examples/example_014/frame_000.jpg",
"examples/example_014/frame_001.jpg",
"examples/example_014/frame_002.jpg",
"examples/example_014/frame_003.jpg",
"examples/example_014/frame_004.jpg",
"examples/example_014/frame_005.jpg",
"examples/example_014/frame_006.jpg",
"examples/example_014/frame_007.jpg",
"examples/example_014/frame_008.jpg",
"examples/example_014/frame_009.jpg",
"examples/example_014/frame_010.jpg",
"examples/example_014/frame_011.jpg",
"examples/example_014/frame_012.jpg",
"examples/example_014/frame_013.jpg",
"examples/example_014/frame_014.jpg",
"examples/example_014/frame_015.jpg"
],
"n_original_frames": 90,
"test_idx": 6202
},
{
"id": 15,
"task": "Skill Assessment",
"qa_type": "skill_assessment",
"data_source": "jigsaws",
"question": "You are a surgical analyst. The video shows basic robotic surgical tasks\u2014suturing, knot-tying, or needle-passing. Watch the entire video and assess the surgical skills. Provide scores (1,2,3,4,5) for each metric: Respect for tissue, Suture/needle handling, Time and motion, Flow of operation, Overall performance, Quality of final product.",
"ground_truth": "Respect for tissue: 3/5, Suture/needle handling: 3/5, Time and motion: 3/5, Flow of operation: 3/5, Overall performance: 3/5, Quality of final product: 3/5",
"prediction": "Respect for tissue: 1/5, Suture/needle handling: 1/5, Time and motion: 1/5, Flow of operation: 1/5, Overall performance: 1/5, Quality of final product: 1/5",
"frames": [
"examples/example_015/frame_000.jpg",
"examples/example_015/frame_001.jpg",
"examples/example_015/frame_002.jpg",
"examples/example_015/frame_003.jpg",
"examples/example_015/frame_004.jpg",
"examples/example_015/frame_005.jpg",
"examples/example_015/frame_006.jpg",
"examples/example_015/frame_007.jpg",
"examples/example_015/frame_008.jpg",
"examples/example_015/frame_009.jpg",
"examples/example_015/frame_010.jpg",
"examples/example_015/frame_011.jpg",
"examples/example_015/frame_012.jpg",
"examples/example_015/frame_013.jpg",
"examples/example_015/frame_014.jpg",
"examples/example_015/frame_015.jpg"
],
"n_original_frames": 60,
"test_idx": 6118
}
]