1 line
19 KiB
JSON
1 line
19 KiB
JSON
{"nodes": [{"id": "$graphify-root$_scripts_ai_evals", "label": "ai-evals", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L1"}, {"id": "$graphify-root$_scripts_ai_evals_case", "label": "Case", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L21", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_scripts_ai_evals_split_terms", "label": "split_terms()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L31", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_load_cases", "label": "load_cases()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L35", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_fixture_text", "label": "fixture_text()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L52", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_run_explain_output", "label": "run_explain_output()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L59", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_run_repo_scan", "label": "run_repo_scan()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L72", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_run_case", "label": "run_case()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L97", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_print_list", "label": "print_list()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L129", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_print_show", "label": "print_show()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L135", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_print_run", "label": "print_run()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L150", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_main", "label": "main()", "file_type": "code", "source_file": "scripts/ai-evals", "source_location": "L178", "_callable": true}, {"id": "$graphify-root$_scripts_ai_evals_rationale_2", "label": "Deterministic eval harness for Jeannie and homelab RAG behavior.", "file_type": "rationale", "source_file": "scripts/ai-evals", "source_location": "L2"}], "edges": [{"source": "$graphify-root$_scripts_ai_evals", "target": "argparse", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "csv", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "subprocess", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "sys", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "dataclasses", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_split_terms", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L31", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_load_cases", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_load_cases", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_fixture_text", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L52", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_fixture_text", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L52", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_run_explain_output", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L59", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_run_explain_output", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L59", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_run_repo_scan", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L72", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_run_repo_scan", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L72", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_run_case", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L97", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_run_case", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L97", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_print_list", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L129", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_print_list", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L129", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_print_show", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L135", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_print_show", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L135", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_print_run", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L150", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_print_run", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L150", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals", "target": "$graphify-root$_scripts_ai_evals_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L178", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_load_cases", "target": "$graphify-root$_scripts_ai_evals_case", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L39", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_load_cases", "target": "$graphify-root$_scripts_ai_evals_split_terms", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L44", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_run_explain_output", "target": "$graphify-root$_scripts_ai_evals_fixture_text", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L62", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_run_repo_scan", "target": "$graphify-root$_scripts_ai_evals_fixture_text", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L73", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_run_case", "target": "$graphify-root$_scripts_ai_evals_run_explain_output", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L99", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_run_case", "target": "$graphify-root$_scripts_ai_evals_run_repo_scan", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L101", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_print_run", "target": "$graphify-root$_scripts_ai_evals_run_case", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L156", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_main", "target": "$graphify-root$_scripts_ai_evals_load_cases", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L190", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_main", "target": "$graphify-root$_scripts_ai_evals_print_list", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L192", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_main", "target": "$graphify-root$_scripts_ai_evals_print_show", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L194", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_main", "target": "$graphify-root$_scripts_ai_evals_print_run", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L196", "weight": 1.0}, {"source": "$graphify-root$_scripts_ai_evals_rationale_2", "target": "$graphify-root$_scripts_ai_evals", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "scripts/ai-evals", "source_location": "L2", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_scripts_ai_evals_split_terms", "callee": "strip", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L32", "receiver": "item"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_split_terms", "callee": "split", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L32", "receiver": "value"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_split_terms", "callee": "strip", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L32", "receiver": "item"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_load_cases", "callee": "open", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L36", "receiver": "CASES_FILE"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_load_cases", "callee": "DictReader", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L37", "receiver": "csv"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_load_cases", "callee": "handle", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/ai-evals", "source_location": "L37"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_fixture_text", "callee": "is_file", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L54", "receiver": "path"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_fixture_text", "callee": "SystemExit", "is_member_call": false, "source_file": "scripts/ai-evals", "source_location": "L55", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_ai_evals_fixture_text", "callee": "read_text", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L56", "receiver": "path"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_explain_output", "callee": "run", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L60", "receiver": "subprocess"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_explain_output", "callee": "REPO_ROOT", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/ai-evals", "source_location": "L66"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "is_file", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L81", "receiver": "path"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "relative_to", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L82", "receiver": "path"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "REPO_ROOT", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/ai-evals", "source_location": "L82"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "splitlines", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L83", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "read_text", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L83", "receiver": "path"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "lower", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L86", "receiver": "line"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "lower", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L87", "receiver": "term"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "extend", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L90", "receiver": "matches"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "append", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L92", "receiver": "haystack_parts"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "extend", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L93", "receiver": "haystack_parts"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_repo_scan", "callee": "join", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L94", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_case", "callee": "lower", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L112", "receiver": "output"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_case", "callee": "lower", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L113", "receiver": "term"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_run_case", "callee": "lower", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L114", "receiver": "term"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_print_show", "callee": "join", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L142", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_ai_evals_print_show", "callee": "join", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L143", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_ai_evals_print_run", "callee": "dumps", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L158", "receiver": "json"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_print_run", "callee": "join", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L168", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_ai_evals_print_run", "callee": "join", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L170", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_ai_evals_print_run", "callee": "splitlines", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L173", "receiver": null}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "ArgumentParser", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L179", "receiver": "argparse"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "__doc__", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "scripts/ai-evals", "source_location": "L179"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "add_subparsers", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L180", "receiver": "parser"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "add_parser", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L181", "receiver": "subparsers"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "add_parser", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L182", "receiver": "subparsers"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "add_argument", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L183", "receiver": "show_parser"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "add_parser", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L184", "receiver": "subparsers"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "add_argument", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L185", "receiver": "run_parser"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "add_argument", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L186", "receiver": "run_parser"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "add_argument", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L187", "receiver": "run_parser"}, {"caller_nid": "$graphify-root$_scripts_ai_evals_main", "callee": "parse_args", "is_member_call": true, "source_file": "scripts/ai-evals", "source_location": "L188", "receiver": "parser"}]} |