id: 1 unit: def update_timestamps_in_json() file: finealignment/video_alignment.py start line: 0 end line: 0 size: 67 LOC McCabe index: 28 number of parameters: 4 id: 2 unit: def adjust_scene_boundaries() file: finealignment/video_alignment.py start line: 0 end line: 0 size: 59 LOC McCabe index: 22 number of parameters: 4 id: 3 unit: def process_single_video() file: finealignment/video_alignment.py start line: 0 end line: 0 size: 58 LOC McCabe index: 10 number of parameters: 2 id: 4 unit: def time_to_frametimecode() file: finealignment/video_alignment.py start line: 0 end line: 0 size: 50 LOC McCabe index: 19 number of parameters: 5 id: 5 unit: def process_single_video() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 50 LOC McCabe index: 10 number of parameters: 2 id: 6 unit: def process_video() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 46 LOC McCabe index: 9 number of parameters: 3 id: 7 unit: def process_file() file: videocategorization/tgi_inference_client.py start line: 0 end line: 0 size: 40 LOC McCabe index: 5 number of parameters: 3 id: 8 unit: def select_videos() file: contentselection/oracle.py start line: 0 end line: 0 size: 40 LOC McCabe index: 13 number of parameters: 2 id: 9 unit: def process() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 29 LOC McCabe index: 13 number of parameters: 2 id: 10 unit: def check_static_video() file: dynamicfilters/videodynamismfiltering/check_static.py start line: 0 end line: 0 size: 29 LOC McCabe index: 7 number of parameters: 5 id: 11 unit: def read_filtered_parquet_files() file: rawdataset/filter-yt-commons.py start line: 0 end line: 0 size: 27 LOC McCabe index: 17 number of parameters: 3 id: 12 unit: def generate_prompts_and_save() file: videocategorization/create_prompts.py start line: 0 end line: 0 size: 23 LOC McCabe index: 8 number of parameters: 4 id: 13 unit: def main() file: videocategorization/tgi_inference_client.py start line: 0 end line: 0 size: 21 LOC McCabe index: 10 number of parameters: 0 id: 14 unit: def map_to_parent_categories() file: contentselection/oracle.py start line: 0 end line: 0 size: 18 LOC McCabe index: 7 number of parameters: 2 id: 15 unit: def download_youtube_video() file: rawdataset/ytdlps3/download_and_upload.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 16 unit: def process_video() file: rawdataset/ytdlps3/download_and_upload.py start line: 0 end line: 0 size: 18 LOC McCabe index: 9 number of parameters: 3 id: 17 unit: def obtain_json() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 18 unit: def handle_error() file: finealignment/video_alignment.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 4 id: 19 unit: def prep_return() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 6 id: 20 unit: def main() file: dynamicfilters/videodynamismfiltering/check_static.py start line: 0 end line: 0 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 21 unit: def duration_to_seconds() file: dynamicfilters/worddensityfiltering.py start line: 0 end line: 0 size: 13 LOC McCabe index: 10 number of parameters: 1 id: 22 unit: def upload_video() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 23 unit: def preprocess_df() file: contentselection/oracle.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 24 unit: def main_algorithm() file: contentselection/oracle.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 25 unit: def download_video_from_s3() file: dynamicfilters/videodynamismfiltering/check_static.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 26 unit: def get_leaves() file: videocategorization/create_prompts.py start line: 0 end line: 0 size: 9 LOC McCabe index: 6 number of parameters: 1 id: 27 unit: def download_video_from_s3() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 28 unit: def generate_prompt() file: videocategorization/create_prompts.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 29 unit: def download_video_from_s3() file: finealignment/video_alignment.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 30 unit: def compute_user_activity() file: contentselection/oracle.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 4 id: 31 unit: def upload_result_to_s3() file: dynamicfilters/videodynamismfiltering/check_static.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 32 unit: def log_failure() file: rawdataset/ytdlps3/download_and_upload.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 33 unit: def result_exists() file: finealignment/video_alignment.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 34 unit: def process_chunk() file: finealignment/video_alignment.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 3 id: 35 unit: def __init__() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 36 unit: def result_exists() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: def process_chunk() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 3 id: 38 unit: def get_samples_near_target() file: dynamicfilters/worddensityfiltering.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 4 id: 39 unit: def process_row() file: videocategorization/create_prompts.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 40 unit: def load_prompts_from_file() file: videocategorization/tgi_inference_client.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: def save_prompts_to_file() file: videocategorization/create_prompts.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 42 unit: def upload_to_s3() file: rawdataset/ytdlps3/download_and_upload.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 43 unit: def main() file: rawdataset/ytdlps3/download_and_upload.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 44 unit: def _read_api_key() file: contentannotation/video2annotation.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2