- Added scripts/extract_article_contents.py for batch scraping with stealth Foxcape and triple extraction (Trafilatura, Newspaper4k, Readability) - Created unit, integration, and E2E test suite in tests/test_extract_article_contents.py (90/90 passing) - Updated specs/003-article-content-extractor and README.md with usage documentation and CLI contracts - Passed ruff linting/formatting and mypy type checking cleanly
1 line
5.3 KiB
JSON
1 line
5.3 KiB
JSON
{"nodes": [{"id": "$graphify-root$_tests_test_adapters_py", "label": "test_adapters.py", "file_type": "code", "source_file": "tests/test_adapters.py", "source_location": "L1"}, {"id": "$graphify-root$_tests_test_adapters_test_embeddings_adapter_interface", "label": "test_embeddings_adapter_interface()", "file_type": "code", "source_file": "tests/test_adapters.py", "source_location": "L9", "_callable": true}, {"id": "$graphify-root$_tests_test_adapters_test_llm_adapter_interface", "label": "test_llm_adapter_interface()", "file_type": "code", "source_file": "tests/test_adapters.py", "source_location": "L15", "_callable": true}, {"id": "$graphify-root$_tests_test_adapters_test_classifier_with_adapter_flags", "label": "test_classifier_with_adapter_flags()", "file_type": "code", "source_file": "tests/test_adapters.py", "source_location": "L20", "_callable": true}, {"id": "$graphify-root$_tests_test_adapters_rationale_1", "label": "Unit tests for optional adapter interfaces (Tier 2 / Tier 3).", "file_type": "rationale", "source_file": "tests/test_adapters.py", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_tests_test_adapters_py", "target": "src_adapters_embeddings", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_adapters.py", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_tests_test_adapters_py", "target": "src_adapters_llm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_adapters.py", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_tests_test_adapters_py", "target": "src_classifier", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_adapters.py", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_tests_test_adapters_py", "target": "src_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_adapters.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_tests_test_adapters_py", "target": "$graphify-root$_tests_test_adapters_test_embeddings_adapter_interface", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_adapters.py", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_tests_test_adapters_py", "target": "$graphify-root$_tests_test_adapters_test_llm_adapter_interface", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_adapters.py", "source_location": "L15", "weight": 1.0}, {"source": "$graphify-root$_tests_test_adapters_py", "target": "$graphify-root$_tests_test_adapters_test_classifier_with_adapter_flags", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_adapters.py", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_tests_test_adapters_rationale_1", "target": "$graphify-root$_tests_test_adapters_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_adapters.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_tests_test_adapters_test_embeddings_adapter_interface", "callee": "LocalEmbeddingsAdapter", "is_member_call": false, "source_file": "tests/test_adapters.py", "source_location": "L10", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_adapters_test_embeddings_adapter_interface", "callee": "bool", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "tests/test_adapters.py", "source_location": "L11"}, {"caller_nid": "$graphify-root$_tests_test_adapters_test_embeddings_adapter_interface", "callee": "is_available", "is_member_call": true, "source_file": "tests/test_adapters.py", "source_location": "L11", "receiver": "adapter"}, {"caller_nid": "$graphify-root$_tests_test_adapters_test_embeddings_adapter_interface", "callee": "evaluate_similarity", "is_member_call": true, "source_file": "tests/test_adapters.py", "source_location": "L12", "receiver": "adapter"}, {"caller_nid": "$graphify-root$_tests_test_adapters_test_llm_adapter_interface", "callee": "LLMFallbackAdapter", "is_member_call": false, "source_file": "tests/test_adapters.py", "source_location": "L16", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_adapters_test_llm_adapter_interface", "callee": "bool", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "tests/test_adapters.py", "source_location": "L17"}, {"caller_nid": "$graphify-root$_tests_test_adapters_test_llm_adapter_interface", "callee": "is_available", "is_member_call": true, "source_file": "tests/test_adapters.py", "source_location": "L17", "receiver": "adapter"}, {"caller_nid": "$graphify-root$_tests_test_adapters_test_classifier_with_adapter_flags", "callee": "InherenceClassifier", "is_member_call": false, "source_file": "tests/test_adapters.py", "source_location": "L21", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_adapters_test_classifier_with_adapter_flags", "callee": "ECPSnapshot", "is_member_call": false, "source_file": "tests/test_adapters.py", "source_location": "L25", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_adapters_test_classifier_with_adapter_flags", "callee": "classify", "is_member_call": true, "source_file": "tests/test_adapters.py", "source_location": "L32", "receiver": "classifier"}]} |