Files
TextNLPClassifierApp/graphify-out/cache/ast/v0.9.47-s2/d3323e05dd21f20686d9293f767ebb2ced206c7b74e7ca89d2ac02c0a4e31282.json
T
andreferraro 6a45368cb0 feat(extractor): implement multi-engine article content extractor
- 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
2026-08-20 19:22:20 -03:00

1 line
7.2 KiB
JSON

{"nodes": [{"id": "$graphify-root$_tests_test_classifier_py", "label": "test_classifier.py", "file_type": "code", "source_file": "tests/test_classifier.py", "source_location": "L1"}, {"id": "fixture", "label": "fixture", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/tests/test_classifier.py"}, {"id": "$graphify-root$_tests_test_classifier_petrobras_ecp", "label": "petrobras_ecp()", "file_type": "code", "source_file": "tests/test_classifier.py", "source_location": "L10", "_callable": true}, {"id": "$graphify-root$_tests_test_classifier_test_direct_inherent", "label": "test_direct_inherent()", "file_type": "code", "source_file": "tests/test_classifier.py", "source_location": "L33", "_callable": true}, {"id": "$graphify-root$_tests_test_classifier_test_contextual_inherent", "label": "test_contextual_inherent()", "file_type": "code", "source_file": "tests/test_classifier.py", "source_location": "L49", "_callable": true}, {"id": "$graphify-root$_tests_test_classifier_test_tangential_inherent", "label": "test_tangential_inherent()", "file_type": "code", "source_file": "tests/test_classifier.py", "source_location": "L64", "_callable": true}, {"id": "$graphify-root$_tests_test_classifier_test_not_related", "label": "test_not_related()", "file_type": "code", "source_file": "tests/test_classifier.py", "source_location": "L78", "_callable": true}, {"id": "$graphify-root$_tests_test_classifier_test_negative_anchor_suppression", "label": "test_negative_anchor_suppression()", "file_type": "code", "source_file": "tests/test_classifier.py", "source_location": "L91", "_callable": true}, {"id": "$graphify-root$_tests_test_classifier_rationale_1", "label": "Unit tests for deterministic classification decision logic.", "file_type": "rationale", "source_file": "tests/test_classifier.py", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_tests_test_classifier_py", "target": "pytest", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_tests_test_classifier_py", "target": "src_classifier", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_tests_test_classifier_py", "target": "src_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_tests_test_classifier_petrobras_ecp", "target": "fixture", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L9", "weight": 1.0, "context": "decorator"}, {"source": "$graphify-root$_tests_test_classifier_py", "target": "$graphify-root$_tests_test_classifier_petrobras_ecp", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_tests_test_classifier_py", "target": "$graphify-root$_tests_test_classifier_test_direct_inherent", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L33", "weight": 1.0}, {"source": "$graphify-root$_tests_test_classifier_py", "target": "$graphify-root$_tests_test_classifier_test_contextual_inherent", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L49", "weight": 1.0}, {"source": "$graphify-root$_tests_test_classifier_py", "target": "$graphify-root$_tests_test_classifier_test_tangential_inherent", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L64", "weight": 1.0}, {"source": "$graphify-root$_tests_test_classifier_py", "target": "$graphify-root$_tests_test_classifier_test_not_related", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_tests_test_classifier_py", "target": "$graphify-root$_tests_test_classifier_test_negative_anchor_suppression", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L91", "weight": 1.0}, {"source": "$graphify-root$_tests_test_classifier_rationale_1", "target": "$graphify-root$_tests_test_classifier_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "tests/test_classifier.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_tests_test_classifier_petrobras_ecp", "callee": "ECPSnapshot", "is_member_call": false, "source_file": "tests/test_classifier.py", "source_location": "L11", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_classifier_petrobras_ecp", "callee": "RelatedEntity", "is_member_call": false, "source_file": "tests/test_classifier.py", "source_location": "L20", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_direct_inherent", "callee": "InherenceClassifier", "is_member_call": false, "source_file": "tests/test_classifier.py", "source_location": "L34", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_direct_inherent", "callee": "classify", "is_member_call": true, "source_file": "tests/test_classifier.py", "source_location": "L40", "receiver": "classifier"}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_contextual_inherent", "callee": "InherenceClassifier", "is_member_call": false, "source_file": "tests/test_classifier.py", "source_location": "L50", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_contextual_inherent", "callee": "classify", "is_member_call": true, "source_file": "tests/test_classifier.py", "source_location": "L56", "receiver": "classifier"}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_tangential_inherent", "callee": "InherenceClassifier", "is_member_call": false, "source_file": "tests/test_classifier.py", "source_location": "L65", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_tangential_inherent", "callee": "classify", "is_member_call": true, "source_file": "tests/test_classifier.py", "source_location": "L71", "receiver": "classifier"}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_not_related", "callee": "InherenceClassifier", "is_member_call": false, "source_file": "tests/test_classifier.py", "source_location": "L79", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_not_related", "callee": "classify", "is_member_call": true, "source_file": "tests/test_classifier.py", "source_location": "L85", "receiver": "classifier"}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_negative_anchor_suppression", "callee": "InherenceClassifier", "is_member_call": false, "source_file": "tests/test_classifier.py", "source_location": "L92", "receiver": null}, {"caller_nid": "$graphify-root$_tests_test_classifier_test_negative_anchor_suppression", "callee": "classify", "is_member_call": true, "source_file": "tests/test_classifier.py", "source_location": "L97", "receiver": "classifier"}]}