Files
tfm_ainventory/graphify-out/cache/4aa1ef8df0443597ccf80334e7b7f9aebd0841507463c5c73c67ddf8afd0568a.json

1 line
12 KiB
JSON

{"nodes": [{"id": "backend_tests_test_ai_extraction_py", "label": "test_ai_extraction.py", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L1"}, {"id": "test_ai_extraction_testaiextraction", "label": "TestAIExtraction", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L16"}, {"id": "test_ai_extraction_testaiextraction_test_gemini_extraction", "label": ".test_gemini_extraction()", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L19"}, {"id": "test_ai_extraction_testaiextraction_test_claude_extraction", "label": ".test_claude_extraction()", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L28"}, {"id": "test_ai_extraction_testaiextraction_test_extraction_box_mode", "label": ".test_extraction_box_mode()", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L37"}, {"id": "test_ai_extraction_testaiextraction_test_extraction_invalid_file_type", "label": ".test_extraction_invalid_file_type()", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L46"}, {"id": "test_ai_extraction_testaiextraction_test_extraction_missing_file", "label": ".test_extraction_missing_file()", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L55"}, {"id": "test_ai_extraction_testaivalidation", "label": "TestAIValidation", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L64"}, {"id": "test_ai_extraction_testaivalidation_test_extraction_requires_auth", "label": ".test_extraction_requires_auth()", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L67"}, {"id": "test_ai_extraction_testaivalidation_test_extraction_result_not_auto_saved", "label": ".test_extraction_result_not_auto_saved()", "file_type": "code", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L75"}, {"id": "test_ai_extraction_rationale_17", "label": "Test AI label extraction pipeline (mocked).", "file_type": "rationale", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L17"}, {"id": "test_ai_extraction_rationale_20", "label": "Test AI extraction using Gemini.", "file_type": "rationale", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L20"}, {"id": "test_ai_extraction_rationale_29", "label": "Test AI extraction using Claude.", "file_type": "rationale", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L29"}, {"id": "test_ai_extraction_rationale_38", "label": "Test AI extraction in 'box' mode (focus on labels).", "file_type": "rationale", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L38"}, {"id": "test_ai_extraction_rationale_47", "label": "Test that invalid file type is rejected.", "file_type": "rationale", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L47"}, {"id": "test_ai_extraction_rationale_56", "label": "Test that missing file returns 422.", "file_type": "rationale", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L56"}, {"id": "test_ai_extraction_rationale_65", "label": "Test AI extraction validation (user confirmation before save).", "file_type": "rationale", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L65"}, {"id": "test_ai_extraction_rationale_68", "label": "Test that extraction endpoint requires authentication.", "file_type": "rationale", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L68"}, {"id": "test_ai_extraction_rationale_76", "label": "Test that extracted data is returned but not auto-saved to DB.", "file_type": "rationale", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L76"}], "edges": [{"source": "backend_tests_test_ai_extraction_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_tests_test_ai_extraction_py", "target": "io", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_tests_test_ai_extraction_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_tests_test_ai_extraction_py", "target": "unittest_mock", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_tests_test_ai_extraction_py", "target": "test_ai_extraction_testaiextraction", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L16", "weight": 1.0}, {"source": "test_ai_extraction_testaiextraction", "target": "test_ai_extraction_testaiextraction_test_gemini_extraction", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L19", "weight": 1.0}, {"source": "test_ai_extraction_testaiextraction", "target": "test_ai_extraction_testaiextraction_test_claude_extraction", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L28", "weight": 1.0}, {"source": "test_ai_extraction_testaiextraction", "target": "test_ai_extraction_testaiextraction_test_extraction_box_mode", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L37", "weight": 1.0}, {"source": "test_ai_extraction_testaiextraction", "target": "test_ai_extraction_testaiextraction_test_extraction_invalid_file_type", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L46", "weight": 1.0}, {"source": "test_ai_extraction_testaiextraction", "target": "test_ai_extraction_testaiextraction_test_extraction_missing_file", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L55", "weight": 1.0}, {"source": "backend_tests_test_ai_extraction_py", "target": "test_ai_extraction_testaivalidation", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L64", "weight": 1.0}, {"source": "test_ai_extraction_testaivalidation", "target": "test_ai_extraction_testaivalidation_test_extraction_requires_auth", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L67", "weight": 1.0}, {"source": "test_ai_extraction_testaivalidation", "target": "test_ai_extraction_testaivalidation_test_extraction_result_not_auto_saved", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L75", "weight": 1.0}, {"source": "test_ai_extraction_rationale_17", "target": "test_ai_extraction_testaiextraction", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L17", "weight": 1.0}, {"source": "test_ai_extraction_rationale_20", "target": "test_ai_extraction_testaiextraction_test_gemini_extraction", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L20", "weight": 1.0}, {"source": "test_ai_extraction_rationale_29", "target": "test_ai_extraction_testaiextraction_test_claude_extraction", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L29", "weight": 1.0}, {"source": "test_ai_extraction_rationale_38", "target": "test_ai_extraction_testaiextraction_test_extraction_box_mode", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L38", "weight": 1.0}, {"source": "test_ai_extraction_rationale_47", "target": "test_ai_extraction_testaiextraction_test_extraction_invalid_file_type", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L47", "weight": 1.0}, {"source": "test_ai_extraction_rationale_56", "target": "test_ai_extraction_testaiextraction_test_extraction_missing_file", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L56", "weight": 1.0}, {"source": "test_ai_extraction_rationale_65", "target": "test_ai_extraction_testaivalidation", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L65", "weight": 1.0}, {"source": "test_ai_extraction_rationale_68", "target": "test_ai_extraction_testaivalidation_test_extraction_requires_auth", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L68", "weight": 1.0}, {"source": "test_ai_extraction_rationale_76", "target": "test_ai_extraction_testaivalidation_test_extraction_result_not_auto_saved", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L76", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_ai_extraction_testaiextraction_test_gemini_extraction", "callee": "post", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L21"}, {"caller_nid": "test_ai_extraction_testaiextraction_test_gemini_extraction", "callee": "BytesIO", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L23"}, {"caller_nid": "test_ai_extraction_testaiextraction_test_claude_extraction", "callee": "post", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L30"}, {"caller_nid": "test_ai_extraction_testaiextraction_test_claude_extraction", "callee": "BytesIO", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L32"}, {"caller_nid": "test_ai_extraction_testaiextraction_test_extraction_box_mode", "callee": "post", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L39"}, {"caller_nid": "test_ai_extraction_testaiextraction_test_extraction_box_mode", "callee": "BytesIO", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L41"}, {"caller_nid": "test_ai_extraction_testaiextraction_test_extraction_invalid_file_type", "callee": "post", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L48"}, {"caller_nid": "test_ai_extraction_testaiextraction_test_extraction_invalid_file_type", "callee": "BytesIO", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L50"}, {"caller_nid": "test_ai_extraction_testaiextraction_test_extraction_missing_file", "callee": "post", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L57"}, {"caller_nid": "test_ai_extraction_testaivalidation_test_extraction_requires_auth", "callee": "post", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L69"}, {"caller_nid": "test_ai_extraction_testaivalidation_test_extraction_requires_auth", "callee": "BytesIO", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L71"}, {"caller_nid": "test_ai_extraction_testaivalidation_test_extraction_result_not_auto_saved", "callee": "count", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L79"}, {"caller_nid": "test_ai_extraction_testaivalidation_test_extraction_result_not_auto_saved", "callee": "query", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L79"}, {"caller_nid": "test_ai_extraction_testaivalidation_test_extraction_result_not_auto_saved", "callee": "post", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L81"}, {"caller_nid": "test_ai_extraction_testaivalidation_test_extraction_result_not_auto_saved", "callee": "BytesIO", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L83"}, {"caller_nid": "test_ai_extraction_testaivalidation_test_extraction_result_not_auto_saved", "callee": "count", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L89"}, {"caller_nid": "test_ai_extraction_testaivalidation_test_extraction_result_not_auto_saved", "callee": "query", "source_file": "backend/tests/test_ai_extraction.py", "source_location": "L89"}]}