1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_tests_test_anomaly_detection_py", "label": "test_anomaly_detection.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L1"}, {"id": "test_anomaly_detection_testanomalydetection", "label": "TestAnomalyDetection", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L8"}, {"id": "transactioncase", "label": "TransactionCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "test_anomaly_detection_testanomalydetection_test_returns_empty_when_no_comparison", "label": ".test_returns_empty_when_no_comparison()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L10"}, {"id": "test_anomaly_detection_testanomalydetection_test_flags_significant_increase", "label": ".test_flags_significant_increase()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L18"}, {"id": "test_anomaly_detection_testanomalydetection_test_skips_below_absolute_threshold", "label": ".test_skips_below_absolute_threshold()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L30"}, {"id": "test_anomaly_detection_testanomalydetection_test_skips_below_pct_threshold", "label": ".test_skips_below_pct_threshold()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L39"}, {"id": "test_anomaly_detection_testanomalydetection_test_severity_high_for_50pct_plus", "label": ".test_severity_high_for_50pct_plus()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L49"}, {"id": "test_anomaly_detection_testanomalydetection_test_orders_by_severity_then_amount", "label": ".test_orders_by_severity_then_amount()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L59"}, {"id": "test_anomaly_detection_rationale_1", "label": "Unit tests for anomaly_detection service.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_tests_test_anomaly_detection_py", "target": "odoo_tests_common", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_tests_test_anomaly_detection_py", "target": "odoo_addons_fusion_accounting_reports_services_anomaly_detection", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L4", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_tests_test_anomaly_detection_py", "target": "test_anomaly_detection_testanomalydetection", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L8", "weight": 1.0}, {"source": "test_anomaly_detection_testanomalydetection", "target": "transactioncase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L8", "weight": 1.0}, {"source": "test_anomaly_detection_testanomalydetection", "target": "test_anomaly_detection_testanomalydetection_test_returns_empty_when_no_comparison", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L10", "weight": 1.0}, {"source": "test_anomaly_detection_testanomalydetection", "target": "test_anomaly_detection_testanomalydetection_test_flags_significant_increase", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L18", "weight": 1.0}, {"source": "test_anomaly_detection_testanomalydetection", "target": "test_anomaly_detection_testanomalydetection_test_skips_below_absolute_threshold", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L30", "weight": 1.0}, {"source": "test_anomaly_detection_testanomalydetection", "target": "test_anomaly_detection_testanomalydetection_test_skips_below_pct_threshold", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L39", "weight": 1.0}, {"source": "test_anomaly_detection_testanomalydetection", "target": "test_anomaly_detection_testanomalydetection_test_severity_high_for_50pct_plus", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L49", "weight": 1.0}, {"source": "test_anomaly_detection_testanomalydetection", "target": "test_anomaly_detection_testanomalydetection_test_orders_by_severity_then_amount", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L59", "weight": 1.0}, {"source": "test_anomaly_detection_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_tests_test_anomaly_detection_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_anomaly_detection_testanomalydetection_test_returns_empty_when_no_comparison", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L16"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_returns_empty_when_no_comparison", "callee": "detect", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L16"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_flags_significant_increase", "callee": "detect", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L25"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_flags_significant_increase", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L26"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_flags_significant_increase", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L26"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_flags_significant_increase", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L27"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_flags_significant_increase", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L28"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_skips_below_absolute_threshold", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L37"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_skips_below_absolute_threshold", "callee": "detect", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L37"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_skips_below_pct_threshold", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L47"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_skips_below_pct_threshold", "callee": "detect", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L47"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_severity_high_for_50pct_plus", "callee": "detect", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L56"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_severity_high_for_50pct_plus", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L57"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_orders_by_severity_then_amount", "callee": "detect", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L71"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_orders_by_severity_then_amount", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L73"}, {"caller_nid": "test_anomaly_detection_testanomalydetection_test_orders_by_severity_then_amount", "callee": "assertEqual", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/tests/test_anomaly_detection.py", "source_location": "L74"}]} |