1 line
8.1 KiB
JSON
1 line
8.1 KiB
JSON
{"nodes": [{"id": "d_yt_channel_scraper_tests_test_config_py", "label": "test_config.py", "file_type": "code", "source_file": "tests/test_config.py", "source_location": "L1"}, {"id": "d_yt_channel_scraper_tests_test_config_write_config", "label": "_write_config()", "file_type": "code", "source_file": "tests/test_config.py", "source_location": "L15", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_config_test_load_legacy_languages_list", "label": "test_load_legacy_languages_list()", "file_type": "code", "source_file": "tests/test_config.py", "source_location": "L21", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_config_test_load_legacy_languages_list_with_prefer_manual_false", "label": "test_load_legacy_languages_list_with_prefer_manual_false()", "file_type": "code", "source_file": "tests/test_config.py", "source_location": "L31", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_config_test_load_new_dict_languages", "label": "test_load_new_dict_languages()", "file_type": "code", "source_file": "tests/test_config.py", "source_location": "L40", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_config_test_load_unknown_mode_normalises_to_any", "label": "test_load_unknown_mode_normalises_to_any()", "file_type": "code", "source_file": "tests/test_config.py", "source_location": "L54", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_config_test_load_missing_languages_defaults_to_any_not_manual_only", "label": "test_load_missing_languages_defaults_to_any_not_manual_only()", "file_type": "code", "source_file": "tests/test_config.py", "source_location": "L63", "_callable": true}, {"id": "d_yt_channel_scraper_tests_test_config_rationale_1", "label": "Tests for the YAML config loader. Focuses on the ``languages`` and ``prefer_man", "file_type": "rationale", "source_file": "tests/test_config.py", "source_location": "L1"}, {"id": "d_yt_channel_scraper_tests_test_config_rationale_64", "label": "The default must fall back to auto captions. A manual-only default silently", "file_type": "rationale", "source_file": "tests/test_config.py", "source_location": "L64"}], "edges": [{"source": "d_yt_channel_scraper_tests_test_config_py", "target": "textwrap", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L8", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_py", "target": "pytest", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L10", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_py", "target": "yt_scraper_config", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L12", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_py", "target": "d_yt_channel_scraper_tests_test_config_write_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L15", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_py", "target": "d_yt_channel_scraper_tests_test_config_test_load_legacy_languages_list", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L21", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_py", "target": "d_yt_channel_scraper_tests_test_config_test_load_legacy_languages_list_with_prefer_manual_false", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L31", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_py", "target": "d_yt_channel_scraper_tests_test_config_test_load_new_dict_languages", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L40", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_py", "target": "d_yt_channel_scraper_tests_test_config_test_load_unknown_mode_normalises_to_any", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L54", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_py", "target": "d_yt_channel_scraper_tests_test_config_test_load_missing_languages_defaults_to_any_not_manual_only", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L63", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_test_load_legacy_languages_list", "target": "d_yt_channel_scraper_tests_test_config_write_config", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L22", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_test_load_legacy_languages_list_with_prefer_manual_false", "target": "d_yt_channel_scraper_tests_test_config_write_config", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L32", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_test_load_new_dict_languages", "target": "d_yt_channel_scraper_tests_test_config_write_config", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L41", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_test_load_unknown_mode_normalises_to_any", "target": "d_yt_channel_scraper_tests_test_config_write_config", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L55", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_test_load_missing_languages_defaults_to_any_not_manual_only", "target": "d_yt_channel_scraper_tests_test_config_write_config", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L70", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_rationale_1", "target": "d_yt_channel_scraper_tests_test_config_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L1", "weight": 1.0}, {"source": "d_yt_channel_scraper_tests_test_config_rationale_64", "target": "d_yt_channel_scraper_tests_test_config_test_load_missing_languages_defaults_to_any_not_manual_only", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_config.py", "source_location": "L64", "weight": 1.0}], "raw_calls": [{"caller_nid": "d_yt_channel_scraper_tests_test_config_write_config", "callee": "write_text", "is_member_call": true, "source_file": "tests/test_config.py", "source_location": "L17", "receiver": "p"}, {"caller_nid": "d_yt_channel_scraper_tests_test_config_write_config", "callee": "dedent", "is_member_call": true, "source_file": "tests/test_config.py", "source_location": "L17", "receiver": "textwrap"}, {"caller_nid": "d_yt_channel_scraper_tests_test_config_test_load_legacy_languages_list", "callee": "load_config", "is_member_call": false, "source_file": "tests/test_config.py", "source_location": "L27", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_config_test_load_legacy_languages_list_with_prefer_manual_false", "callee": "load_config", "is_member_call": false, "source_file": "tests/test_config.py", "source_location": "L36", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_config_test_load_new_dict_languages", "callee": "load_config", "is_member_call": false, "source_file": "tests/test_config.py", "source_location": "L48", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_config_test_load_unknown_mode_normalises_to_any", "callee": "load_config", "is_member_call": false, "source_file": "tests/test_config.py", "source_location": "L59", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_tests_test_config_test_load_missing_languages_defaults_to_any_not_manual_only", "callee": "load_config", "is_member_call": false, "source_file": "tests/test_config.py", "source_location": "L73", "receiver": null}]} |