1 line
17 KiB
JSON
1 line
17 KiB
JSON
{"nodes": [{"id": "d_yt_channel_scraper_tests_test_discover_incremental_py", "label": "test_discover_incremental.py", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L1"}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "label": "_ref()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L15", "_callable": true}, {"id": "videoref", "label": "VideoRef", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "D:\\yt-channel-scraper\\tests\\test_discover_incremental.py"}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "label": "_fake_channel()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L25", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_test_stops_at_first_run_of_known_videos", "label": "test_stops_at_first_run_of_known_videos()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L37", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_test_widens_window_when_the_whole_window_is_new", "label": "test_widens_window_when_the_whole_window_is_new()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L52", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_test_gives_up_at_max_window_and_says_so", "label": "test_gives_up_at_max_window_and_says_so()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L66", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_test_no_local_history_walks_the_whole_channel", "label": "test_no_local_history_walks_the_whole_channel()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L80", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_test_short_channel_is_exhausted_in_one_pass", "label": "test_short_channel_is_exhausted_in_one_pass()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L92", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_test_keep_filter_applies_before_the_overlap_check", "label": "test_keep_filter_applies_before_the_overlap_check()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L105", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_test_upload_date_cutoff_stops_the_scan_when_dates_are_available", "label": "test_upload_date_cutoff_stops_the_scan_when_dates_are_available()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L130", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_test_degenerate_settings_are_clamped", "label": "test_degenerate_settings_are_clamped()", "file_type": "code", "source_file": "tests/test_discover_incremental.py", "source_location": "L149", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_rationale_1", "label": "Windowed channel sync: only fetch what is newer than what we already have. The", "file_type": "rationale", "source_file": "tests/test_discover_incremental.py", "source_location": "L1"}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_rationale_26", "label": "Patch discover_channel with a channel whose /videos tab is `catalog` (newest", "file_type": "rationale", "source_file": "tests/test_discover_incremental.py", "source_location": "L26"}, {"id": "d_yt_channel_scraper_tests_test_discover_incremental_rationale_106", "label": "Shorts the store never recorded must not keep the window widening.", "file_type": "rationale", "source_file": "tests/test_discover_incremental.py", "source_location": "L106"}], "edges": [{"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "pytest", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L9", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "yt_scraper_discover", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L11", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "yt_scraper_store", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L12", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L15", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "target": "videoref", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L15", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L25", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "target": "videoref", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L25", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_test_stops_at_first_run_of_known_videos", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L37", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_test_widens_window_when_the_whole_window_is_new", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L52", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_test_gives_up_at_max_window_and_says_so", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L66", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_test_no_local_history_walks_the_whole_channel", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L80", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_test_short_channel_is_exhausted_in_one_pass", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L92", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_test_keep_filter_applies_before_the_overlap_check", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L105", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_test_upload_date_cutoff_stops_the_scan_when_dates_are_available", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L130", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_py", "target": "d_yt_channel_scraper_tests_test_discover_incremental_test_degenerate_settings_are_clamped", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L149", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "target": "videoref", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L16", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_stops_at_first_run_of_known_videos", "target": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L38", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_stops_at_first_run_of_known_videos", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L41", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_widens_window_when_the_whole_window_is_new", "target": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L53", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_widens_window_when_the_whole_window_is_new", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L56", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_gives_up_at_max_window_and_says_so", "target": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L67", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_gives_up_at_max_window_and_says_so", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L69", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_no_local_history_walks_the_whole_channel", "target": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L81", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_no_local_history_walks_the_whole_channel", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L83", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_short_channel_is_exhausted_in_one_pass", "target": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L93", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_short_channel_is_exhausted_in_one_pass", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L95", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_keep_filter_applies_before_the_overlap_check", "target": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L108", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_keep_filter_applies_before_the_overlap_check", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L116", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_upload_date_cutoff_stops_the_scan_when_dates_are_available", "target": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L132", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_upload_date_cutoff_stops_the_scan_when_dates_are_available", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L138", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_degenerate_settings_are_clamped", "target": "d_yt_channel_scraper_tests_test_discover_incremental_ref", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L150", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_test_degenerate_settings_are_clamped", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L152", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_rationale_1", "target": "d_yt_channel_scraper_tests_test_discover_incremental_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L1", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_rationale_26", "target": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L26", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_discover_incremental_rationale_106", "target": "d_yt_channel_scraper_tests_test_discover_incremental_test_keep_filter_applies_before_the_overlap_check", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_discover_incremental.py", "source_location": "L106", "weight": 1.0}], "raw_calls": [{"caller_nid": "d_yt_channel_scraper_tests_test_discover_incremental_fake_channel", "callee": "fake", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "tests/test_discover_incremental.py", "source_location": "L34"}, {"caller_nid": "d_yt_channel_scraper_tests_test_discover_incremental_test_stops_at_first_run_of_known_videos", "callee": "discover_incremental", "is_member_call": false, "source_file": "tests/test_discover_incremental.py", "source_location": "L43", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_discover_incremental_test_widens_window_when_the_whole_window_is_new", "callee": "discover_incremental", "is_member_call": false, "source_file": "tests/test_discover_incremental.py", "source_location": "L58", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_discover_incremental_test_gives_up_at_max_window_and_says_so", "callee": "discover_incremental", "is_member_call": false, "source_file": "tests/test_discover_incremental.py", "source_location": "L71", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_discover_incremental_test_no_local_history_walks_the_whole_channel", "callee": "discover_incremental", "is_member_call": false, "source_file": "tests/test_discover_incremental.py", "source_location": "L85", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_discover_incremental_test_short_channel_is_exhausted_in_one_pass", "callee": "discover_incremental", "is_member_call": false, "source_file": "tests/test_discover_incremental.py", "source_location": "L97", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_discover_incremental_test_keep_filter_applies_before_the_overlap_check", "callee": "discover_incremental", "is_member_call": false, "source_file": "tests/test_discover_incremental.py", "source_location": "L118", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_discover_incremental_test_upload_date_cutoff_stops_the_scan_when_dates_are_available", "callee": "discover_incremental", "is_member_call": false, "source_file": "tests/test_discover_incremental.py", "source_location": "L140", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_discover_incremental_test_degenerate_settings_are_clamped", "callee": "discover_incremental", "is_member_call": false, "source_file": "tests/test_discover_incremental.py", "source_location": "L154", "receiver": null}]} |