1 line
20 KiB
JSON
1 line
20 KiB
JSON
{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "label": "test_sources_api.py", "file_type": "code", "source_file": "tests/test_sources_api.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_db_reachable", "label": "_db_reachable()", "file_type": "code", "source_file": "tests/test_sources_api.py", "source_location": "L27", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "label": "api()", "file_type": "code", "source_file": "tests/test_sources_api.py", "source_location": "L44", "_callable": true}, {"id": "path", "label": "Path", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/tests/test_sources_api.py"}, {"id": "asyncclient", "label": "AsyncClient", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/tests/test_sources_api.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_login", "label": "_login()", "file_type": "code", "source_file": "tests/test_sources_api.py", "source_location": "L99", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_list_sources_includes_local", "label": "test_list_sources_includes_local()", "file_type": "code", "source_file": "tests/test_sources_api.py", "source_location": "L107", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_local_import_creates_streamable_tracks", "label": "test_local_import_creates_streamable_tracks()", "file_type": "code", "source_file": "tests/test_sources_api.py", "source_location": "L117", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_scan_requires_admin", "label": "test_scan_requires_admin()", "file_type": "code", "source_file": "tests/test_sources_api.py", "source_location": "L148", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_rationale_1", "label": "Integration tests for sources: enumeration + the real import path. Requires a r", "file_type": "rationale", "source_file": "tests/test_sources_api.py", "source_location": "L1"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "asyncio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L7", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L8", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "collections_abc", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L10", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "pytest", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L12", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "app_core_config", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L13", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "app_infrastructure_db", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L14", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "app_infrastructure_db_repositories", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L15", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "asgi_lifespan", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L19", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "httpx", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L20", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_db_reachable", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L27", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L44", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "target": "path", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L44", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "target": "asyncclient", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L44", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_login", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L99", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_login", "target": "asyncclient", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L99", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_list_sources_includes_local", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L107", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_list_sources_includes_local", "target": "asyncclient", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L107", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_local_import_creates_streamable_tracks", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L117", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_local_import_creates_streamable_tracks", "target": "asyncclient", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L117", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_scan_requires_admin", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L148", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_scan_requires_admin", "target": "asyncclient", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L148", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_db_reachable", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L45", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "target": "asyncclient", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L86", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_list_sources_includes_local", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_login", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L108", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_local_import_creates_streamable_tracks", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_login", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L118", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_sources_api.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_db_reachable", "callee": "timeout", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L34", "receiver": "asyncio"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_db_reachable", "callee": "connect", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L35", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_db_reachable", "callee": "get_engine", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L35", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_db_reachable", "callee": "execute", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L36", "receiver": "conn"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_db_reachable", "callee": "text", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L36", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "skip", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L46", "receiver": "pytest"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "mkdir", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L50", "receiver": "media"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "mkdir", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L51", "receiver": "music"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "write_bytes", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L53", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "mkdir", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L54", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "write_bytes", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L55", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "write_bytes", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L56", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "cache_clear", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L60", "receiver": "get_settings"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "begin", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L67", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "get_engine", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L67", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "run_sync", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L68", "receiver": "conn"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "run_sync", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L69", "receiver": "conn"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "session_scope", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L74", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "create_user", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L75", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "UserService", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L75", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "SqlAlchemyUserRepository", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L76", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "session", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "tests/test_sources_api.py", "source_location": "L76"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "SqlAlchemyRefreshTokenRepository", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L77", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "session", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "tests/test_sources_api.py", "source_location": "L77"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "Argon2PasswordHasher", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L78", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "create_app", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L83", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "LifespanManager", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L84", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "ASGITransport", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L85", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "begin", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L89", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "get_engine", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L89", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "run_sync", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L90", "receiver": "conn"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "dispose_engine", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L91", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "pop", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L94", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "pop", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L95", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_api", "callee": "cache_clear", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L96", "receiver": "get_settings"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_login", "callee": "post", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L100", "receiver": "api"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_login", "callee": "json", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L104", "receiver": "resp"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_list_sources_includes_local", "callee": "get", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L109", "receiver": "api"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_list_sources_includes_local", "callee": "json", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L111", "receiver": "resp"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_local_import_creates_streamable_tracks", "callee": "scan_local_folder", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L124", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_local_import_creates_streamable_tracks", "callee": "scan_local_folder", "is_member_call": false, "source_file": "tests/test_sources_api.py", "source_location": "L130", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_local_import_creates_streamable_tracks", "callee": "get", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L134", "receiver": "api"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_local_import_creates_streamable_tracks", "callee": "json", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L136", "receiver": "listing"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_local_import_creates_streamable_tracks", "callee": "get", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L143", "receiver": "api"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_tests_test_sources_api_test_scan_requires_admin", "callee": "post", "is_member_call": true, "source_file": "tests/test_sources_api.py", "source_location": "L150", "receiver": "api"}]} |