1 line
21 KiB
JSON
1 line
21 KiB
JSON
{"nodes": [{"id": "backend_tests_test_ai_vision_py", "label": "test_ai_vision.py", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L1"}, {"id": "test_ai_vision_testimageprocessingparsing", "label": "TestImageProcessingParsing", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L19"}, {"id": "test_ai_vision_testimageprocessingparsing_test_extract_label_info_returns_image_processing", "label": ".test_extract_label_info_returns_image_processing()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L22"}, {"id": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "label": ".test_image_processing_crop_bounds_structure()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L56"}, {"id": "test_ai_vision_testimageprocessingparsing_test_image_processing_rotation_degrees_range", "label": ".test_image_processing_rotation_degrees_range()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L92"}, {"id": "test_ai_vision_testimageprocessingparsing_test_image_processing_confidence_float_0_to_1", "label": ".test_image_processing_confidence_float_0_to_1()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L129"}, {"id": "test_ai_vision_testimageprocessingparsing_test_image_processing_missing_gracefully_handled", "label": ".test_image_processing_missing_gracefully_handled()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L156"}, {"id": "test_ai_vision_testimageprocessingparsing_test_multiple_items_with_image_processing", "label": ".test_multiple_items_with_image_processing()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L184"}, {"id": "test_ai_vision_testimageprocessingparsing_test_image_processing_with_partial_data", "label": ".test_image_processing_with_partial_data()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L227"}, {"id": "test_ai_vision_testimageprocessingparsing_test_crop_bounds_zero_values_valid", "label": ".test_crop_bounds_zero_values_valid()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L251"}, {"id": "test_ai_vision_testimageprocessingparsing_test_image_processing_box_mode_ignored", "label": ".test_image_processing_box_mode_ignored()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L277"}, {"id": "test_ai_vision_testimageprocessingparsing_test_large_crop_bounds_values", "label": ".test_large_crop_bounds_values()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L300"}, {"id": "test_ai_vision_testimageprocessingparsing_test_claude_provider_with_image_processing", "label": ".test_claude_provider_with_image_processing()", "file_type": "code", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L327"}, {"id": "test_ai_vision_rationale_1", "label": "Test suite for AI vision extraction with image_processing field parsing. Tests t", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L1"}, {"id": "test_ai_vision_rationale_20", "label": "Test parsing of image_processing field from AI extraction.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L20"}, {"id": "test_ai_vision_rationale_23", "label": "Test that extract_label_info returns image_processing field when present.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L23"}, {"id": "test_ai_vision_rationale_57", "label": "Test that crop_bounds has correct structure: {x, y, width, height}.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L57"}, {"id": "test_ai_vision_rationale_93", "label": "Test that rotation_degrees is within -360 to +360 range.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L93"}, {"id": "test_ai_vision_rationale_130", "label": "Test that confidence is a float between 0.0 and 1.0.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L130"}, {"id": "test_ai_vision_rationale_157", "label": "Test graceful handling when image_processing field is missing.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L157"}, {"id": "test_ai_vision_rationale_185", "label": "Test multiple items each with their own image_processing data.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L185"}, {"id": "test_ai_vision_rationale_228", "label": "Test handling when image_processing has partial data.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L228"}, {"id": "test_ai_vision_rationale_252", "label": "Test that crop_bounds with zero values (x=0, y=0) are valid.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L252"}, {"id": "test_ai_vision_rationale_278", "label": "Test that image_processing works even in box mode (container discovery).", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L278"}, {"id": "test_ai_vision_rationale_301", "label": "Test handling of large crop bound values (e.g., 4K image dimensions).", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L301"}, {"id": "test_ai_vision_rationale_328", "label": "Test image_processing parsing with Claude provider.", "file_type": "rationale", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L328"}], "edges": [{"source": "backend_tests_test_ai_vision_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_tests_test_ai_vision_py", "target": "unittest_mock", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_tests_test_ai_vision_py", "target": "backend_ai_vision", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_tests_test_ai_vision_py", "target": "test_ai_vision_testimageprocessingparsing", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L19", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_extract_label_info_returns_image_processing", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L22", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L56", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_rotation_degrees_range", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L92", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_confidence_float_0_to_1", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L129", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_missing_gracefully_handled", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L156", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_multiple_items_with_image_processing", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L184", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_with_partial_data", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L227", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_crop_bounds_zero_values_valid", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L251", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_box_mode_ignored", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L277", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_large_crop_bounds_values", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L300", "weight": 1.0}, {"source": "test_ai_vision_testimageprocessingparsing", "target": "test_ai_vision_testimageprocessingparsing_test_claude_provider_with_image_processing", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L327", "weight": 1.0}, {"source": "test_ai_vision_rationale_1", "target": "backend_tests_test_ai_vision_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L1", "weight": 1.0}, {"source": "test_ai_vision_rationale_20", "target": "test_ai_vision_testimageprocessingparsing", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L20", "weight": 1.0}, {"source": "test_ai_vision_rationale_23", "target": "test_ai_vision_testimageprocessingparsing_test_extract_label_info_returns_image_processing", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L23", "weight": 1.0}, {"source": "test_ai_vision_rationale_57", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L57", "weight": 1.0}, {"source": "test_ai_vision_rationale_93", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_rotation_degrees_range", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L93", "weight": 1.0}, {"source": "test_ai_vision_rationale_130", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_confidence_float_0_to_1", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L130", "weight": 1.0}, {"source": "test_ai_vision_rationale_157", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_missing_gracefully_handled", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L157", "weight": 1.0}, {"source": "test_ai_vision_rationale_185", "target": "test_ai_vision_testimageprocessingparsing_test_multiple_items_with_image_processing", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L185", "weight": 1.0}, {"source": "test_ai_vision_rationale_228", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_with_partial_data", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L228", "weight": 1.0}, {"source": "test_ai_vision_rationale_252", "target": "test_ai_vision_testimageprocessingparsing_test_crop_bounds_zero_values_valid", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L252", "weight": 1.0}, {"source": "test_ai_vision_rationale_278", "target": "test_ai_vision_testimageprocessingparsing_test_image_processing_box_mode_ignored", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L278", "weight": 1.0}, {"source": "test_ai_vision_rationale_301", "target": "test_ai_vision_testimageprocessingparsing_test_large_crop_bounds_values", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L301", "weight": 1.0}, {"source": "test_ai_vision_rationale_328", "target": "test_ai_vision_testimageprocessingparsing_test_claude_provider_with_image_processing", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L328", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_ai_vision_testimageprocessingparsing_test_extract_label_info_returns_image_processing", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L45"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_extract_label_info_returns_image_processing", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L47"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_extract_label_info_returns_image_processing", "callee": "len", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L51"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L72"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L74"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "callee": "isinstance", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L77"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "callee": "isinstance", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L82"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "callee": "isinstance", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L83"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "callee": "isinstance", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L84"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_crop_bounds_structure", "callee": "isinstance", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L85"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_rotation_degrees_range", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L121"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_rotation_degrees_range", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L123"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_rotation_degrees_range", "callee": "isinstance", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L126"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_confidence_float_0_to_1", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L148"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_confidence_float_0_to_1", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L150"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_confidence_float_0_to_1", "callee": "isinstance", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L153"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_missing_gracefully_handled", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L172"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_missing_gracefully_handled", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L174"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_missing_gracefully_handled", "callee": "len", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L178"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_missing_gracefully_handled", "callee": "get", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L182"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_missing_gracefully_handled", "callee": "get", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L182"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_multiple_items_with_image_processing", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L218"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_multiple_items_with_image_processing", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L220"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_multiple_items_with_image_processing", "callee": "len", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L222"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_multiple_items_with_image_processing", "callee": "enumerate", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L223"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_with_partial_data", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L243"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_with_partial_data", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L245"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_crop_bounds_zero_values_valid", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L267"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_crop_bounds_zero_values_valid", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L269"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_box_mode_ignored", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L290"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_box_mode_ignored", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L292"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_image_processing_box_mode_ignored", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L295"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_large_crop_bounds_values", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L316"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_large_crop_bounds_values", "callee": "extract_label_info", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L318"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_claude_provider_with_image_processing", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L343"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_claude_provider_with_image_processing", "callee": "patch", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L346"}, {"caller_nid": "test_ai_vision_testimageprocessingparsing_test_claude_provider_with_image_processing", "callee": "mock_extract", "source_file": "backend/tests/test_ai_vision.py", "source_location": "L348"}]} |