1 line
21 KiB
JSON
1 line
21 KiB
JSON
{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "label": "test_catalog.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L1"}, {"id": "data_platform_test_catalog_dummymastrategy", "label": "DummyMAStrategy", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L23"}, {"id": "basestrategy", "label": "BaseStrategy", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "data_platform_test_catalog_dummymastrategy_generate_signals", "label": ".generate_signals()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L26"}, {"id": "data_platform_test_catalog_test_config", "label": "test_config()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L40"}, {"id": "data_platform_test_catalog_test_get_daily", "label": "test_get_daily()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L47"}, {"id": "data_platform_test_catalog_test_get_daily_batch", "label": "test_get_daily_batch()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L55"}, {"id": "data_platform_test_catalog_test_get_stock_list", "label": "test_get_stock_list()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L64"}, {"id": "data_platform_test_catalog_test_get_test_data", "label": "test_get_test_data()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L73"}, {"id": "data_platform_test_catalog_test_list_available", "label": "test_list_available()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L80"}, {"id": "data_platform_test_catalog_test_backtest_runner", "label": "test_backtest_runner()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L87"}, {"id": "data_platform_test_catalog_test_backtest_batch", "label": "test_backtest_batch()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L119"}, {"id": "data_platform_test_catalog_rationale_1", "label": "\u6570\u636e\u5e73\u53f0\u5b8c\u6574\u6d4b\u8bd5 - \u9a8c\u8bc1 DataCatalog + BacktestRunner \u8fd0\u884c\u65b9\u5f0f\uff1acd sanguo_quant_live && python3", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L1"}, {"id": "data_platform_test_catalog_rationale_88", "label": "\u6d4b\u8bd5\u5b8c\u6574\u56de\u6d4b\u6d41\u7a0b\uff1a\u83b7\u53d6\u6570\u636e \u2192 \u7b56\u7565 \u2192 \u6a21\u62df\u4ea4\u6613 \u2192 \u62a5\u544a", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L88"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "sys", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L7", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L8", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L12", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "pandas", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L16", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform_test_catalog_dummymastrategy", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L23", "weight": 1.0}, {"source": "data_platform_test_catalog_dummymastrategy", "target": "basestrategy", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L23", "weight": 1.0}, {"source": "data_platform_test_catalog_dummymastrategy", "target": "data_platform_test_catalog_dummymastrategy_generate_signals", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L26", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform_test_catalog_test_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L40", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform_test_catalog_test_get_daily", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L47", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform_test_catalog_test_get_daily_batch", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L55", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform_test_catalog_test_get_stock_list", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L64", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform_test_catalog_test_get_test_data", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L73", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform_test_catalog_test_list_available", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L80", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform_test_catalog_test_backtest_runner", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L87", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "target": "data_platform_test_catalog_test_backtest_batch", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L119", "weight": 1.0}, {"source": "data_platform_test_catalog_test_backtest_runner", "target": "data_platform_test_catalog_dummymastrategy", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L91", "weight": 1.0}, {"source": "data_platform_test_catalog_test_backtest_batch", "target": "data_platform_test_catalog_dummymastrategy", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L123", "weight": 1.0}, {"source": "data_platform_test_catalog_rationale_1", "target": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_data_platform_test_catalog_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L1", "weight": 1.0}, {"source": "data_platform_test_catalog_rationale_88", "target": "data_platform_test_catalog_test_backtest_runner", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L88", "weight": 1.0}], "raw_calls": [{"caller_nid": "data_platform_test_catalog_dummymastrategy_generate_signals", "callee": "copy", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L27"}, {"caller_nid": "data_platform_test_catalog_dummymastrategy_generate_signals", "callee": "mean", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L28"}, {"caller_nid": "data_platform_test_catalog_dummymastrategy_generate_signals", "callee": "rolling", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L28"}, {"caller_nid": "data_platform_test_catalog_dummymastrategy_generate_signals", "callee": "mean", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L29"}, {"caller_nid": "data_platform_test_catalog_dummymastrategy_generate_signals", "callee": "rolling", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L29"}, {"caller_nid": "data_platform_test_catalog_test_config", "callee": "DataPlatformConfig", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L41"}, {"caller_nid": "data_platform_test_catalog_test_config", "callee": "exists", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L42"}, {"caller_nid": "data_platform_test_catalog_test_config", "callee": "exists", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L43"}, {"caller_nid": "data_platform_test_catalog_test_config", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L44"}, {"caller_nid": "data_platform_test_catalog_test_get_daily", "callee": "DataCatalog", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L48"}, {"caller_nid": "data_platform_test_catalog_test_get_daily", "callee": "get_daily", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L49"}, {"caller_nid": "data_platform_test_catalog_test_get_daily", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L50"}, {"caller_nid": "data_platform_test_catalog_test_get_daily", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L52"}, {"caller_nid": "data_platform_test_catalog_test_get_daily_batch", "callee": "DataCatalog", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L56"}, {"caller_nid": "data_platform_test_catalog_test_get_daily_batch", "callee": "get_daily_batch", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L57"}, {"caller_nid": "data_platform_test_catalog_test_get_daily_batch", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L58"}, {"caller_nid": "data_platform_test_catalog_test_get_daily_batch", "callee": "items", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L59"}, {"caller_nid": "data_platform_test_catalog_test_get_daily_batch", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L60"}, {"caller_nid": "data_platform_test_catalog_test_get_daily_batch", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L61"}, {"caller_nid": "data_platform_test_catalog_test_get_stock_list", "callee": "DataCatalog", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L65"}, {"caller_nid": "data_platform_test_catalog_test_get_stock_list", "callee": "get_stock_list", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L66"}, {"caller_nid": "data_platform_test_catalog_test_get_stock_list", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L67"}, {"caller_nid": "data_platform_test_catalog_test_get_stock_list", "callee": "get_stock_list", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L68"}, {"caller_nid": "data_platform_test_catalog_test_get_stock_list", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L69"}, {"caller_nid": "data_platform_test_catalog_test_get_stock_list", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L70"}, {"caller_nid": "data_platform_test_catalog_test_get_test_data", "callee": "DataCatalog", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L74"}, {"caller_nid": "data_platform_test_catalog_test_get_test_data", "callee": "get_test_data", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L75"}, {"caller_nid": "data_platform_test_catalog_test_get_test_data", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L76"}, {"caller_nid": "data_platform_test_catalog_test_get_test_data", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L77"}, {"caller_nid": "data_platform_test_catalog_test_list_available", "callee": "DataCatalog", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L81"}, {"caller_nid": "data_platform_test_catalog_test_list_available", "callee": "list_available", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L82"}, {"caller_nid": "data_platform_test_catalog_test_list_available", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L84"}, {"caller_nid": "data_platform_test_catalog_test_backtest_runner", "callee": "DataCatalog", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L89"}, {"caller_nid": "data_platform_test_catalog_test_backtest_runner", "callee": "BacktestRunner", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L90"}, {"caller_nid": "data_platform_test_catalog_test_backtest_runner", "callee": "run", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L93"}, {"caller_nid": "data_platform_test_catalog_test_backtest_runner", "callee": "BacktestReport", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L104"}, {"caller_nid": "data_platform_test_catalog_test_backtest_runner", "callee": "to_text", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L105"}, {"caller_nid": "data_platform_test_catalog_test_backtest_runner", "callee": "to_dict", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L109"}, {"caller_nid": "data_platform_test_catalog_test_backtest_runner", "callee": "to_json", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L113"}, {"caller_nid": "data_platform_test_catalog_test_backtest_runner", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L116"}, {"caller_nid": "data_platform_test_catalog_test_backtest_batch", "callee": "DataCatalog", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L121"}, {"caller_nid": "data_platform_test_catalog_test_backtest_batch", "callee": "BacktestRunner", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L122"}, {"caller_nid": "data_platform_test_catalog_test_backtest_batch", "callee": "run_batch", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L125"}, {"caller_nid": "data_platform_test_catalog_test_backtest_batch", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L126"}, {"caller_nid": "data_platform_test_catalog_test_backtest_batch", "callee": "items", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L127"}, {"caller_nid": "data_platform_test_catalog_test_backtest_batch", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/data_platform/test_catalog.py", "source_location": "L129"}]} |