Files
sanguo_vnpy/graphify-out/cache/ast/3c84597009840848438df2404f1a539c0ad11e34697ee27070ef4774f41ed2b9.json
T
2026-05-06 23:12:48 +08:00

1 line
16 KiB
JSON

{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_run_simayi_test_py", "label": "run_simayi_test.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L1"}, {"id": "backtest_run_simayi_test_check_simayi_scripts", "label": "check_simayi_scripts()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L10"}, {"id": "backtest_run_simayi_test_create_simayi_test_script", "label": "create_simayi_test_script()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L49"}, {"id": "backtest_run_simayi_test_teststrategy", "label": "TestStrategy", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L97"}, {"id": "ctatemplate", "label": "CtaTemplate", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "backtest_run_simayi_test_teststrategy_on_init", "label": ".on_init()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L100"}, {"id": "backtest_run_simayi_test_teststrategy_on_bar", "label": ".on_bar()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L103"}, {"id": "backtest_run_simayi_test_main", "label": "main()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L192"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_run_simayi_test_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L6", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_run_simayi_test_py", "target": "sys", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L7", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_run_simayi_test_py", "target": "subprocess", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L8", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_run_simayi_test_py", "target": "backtest_run_simayi_test_check_simayi_scripts", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L10", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_run_simayi_test_py", "target": "backtest_run_simayi_test_create_simayi_test_script", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L49", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_run_simayi_test_py", "target": "vnpy_ctastrategy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L95", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_run_simayi_test_py", "target": "backtest_run_simayi_test_teststrategy", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L97", "weight": 1.0}, {"source": "backtest_run_simayi_test_teststrategy", "target": "ctatemplate", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L97", "weight": 1.0}, {"source": "backtest_run_simayi_test_teststrategy", "target": "backtest_run_simayi_test_teststrategy_on_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L100", "weight": 1.0}, {"source": "backtest_run_simayi_test_teststrategy", "target": "backtest_run_simayi_test_teststrategy_on_bar", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L103", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_run_simayi_test_py", "target": "backtest_run_simayi_test_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L192", "weight": 1.0}, {"source": "backtest_run_simayi_test_check_simayi_scripts", "target": "backtest_run_simayi_test_create_simayi_test_script", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L47", "weight": 1.0}, {"source": "backtest_run_simayi_test_main", "target": "backtest_run_simayi_test_check_simayi_scripts", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L196", "weight": 1.0}, {"source": "backtest_run_simayi_test_main", "target": "backtest_run_simayi_test_create_simayi_test_script", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L203", "weight": 1.0}], "raw_calls": [{"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L12"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "exists", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L16"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L17"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "listdir", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L18"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L19"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L19"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L21"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L26"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "join", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L28"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L29"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "open", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L33"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "readlines", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L34"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L35"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L37"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "rstrip", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L37"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L39"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L42"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L45"}, {"caller_nid": "backtest_run_simayi_test_check_simayi_scripts", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L46"}, {"caller_nid": "backtest_run_simayi_test_create_simayi_test_script", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L51"}, {"caller_nid": "backtest_run_simayi_test_teststrategy_on_init", "callee": "write_log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L101"}, {"caller_nid": "backtest_run_simayi_test_teststrategy_on_bar", "callee": "write_log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L104"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L193"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "join", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L200"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "exists", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L202"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L204"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L205"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L206"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L208"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L209"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L211"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L212"}, {"caller_nid": "backtest_run_simayi_test_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/run_simayi_test.py", "source_location": "L213"}]}