1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_factors_dynamic_weight_timing_20260327_utils_factor_combiner_py", "label": "factor_combiner.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L1"}, {"id": "utils_factor_combiner_factorcombiner", "label": "FactorCombiner", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L11"}, {"id": "utils_factor_combiner_factorcombiner_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L14"}, {"id": "utils_factor_combiner_factorcombiner_combine", "label": ".combine()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L31"}, {"id": "utils_factor_combiner_factorcombiner_get_factors", "label": ".get_factors()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L58"}, {"id": "utils_factor_combiner_factorcombiner_update_weights", "label": ".update_weights()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L62"}, {"id": "utils_factor_combiner_factorcombiner_get_weights", "label": ".get_weights()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L68"}, {"id": "utils_factor_combiner_rationale_1", "label": "\u56e0\u5b50\u5408\u6210\u5de5\u5177 \u5c06\u591a\u4e2a\u56e0\u5b50\u6309\u6743\u91cd\u5408\u6210\u6700\u7ec8\u5f97\u5206", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L1"}, {"id": "utils_factor_combiner_rationale_12", "label": "\u56e0\u5b50\u5408\u6210\u5668 - \u628a\u591a\u4e2a\u56e0\u5b50\u6309\u6743\u91cd\u5408\u6210\u6700\u7ec8\u5f97\u5206", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L12"}, {"id": "utils_factor_combiner_rationale_15", "label": "\u53c2\u6570: factors: \u56e0\u5b50\u5b57\u5178 {\u56e0\u5b50\u540d\u79f0: \u56e0\u5b50\u5b9e\u4f8b} weights: \u56e0\u5b50\u6743\u91cd {\u56e0\u5b50\u540d\u79f0: \u6743\u91cd},", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L15"}, {"id": "utils_factor_combiner_rationale_32", "label": "\u5408\u6210\u56e0\u5b50\u5f97\u5206 \u53c2\u6570: data: \u539f\u59cb\u884c\u60c5\u8d22\u52a1\u6570\u636eDataFrame \u8fd4\u56de: \u6700", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L32"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_factors_dynamic_weight_timing_20260327_utils_factor_combiner_py", "target": "pandas", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L5", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_factors_dynamic_weight_timing_20260327_utils_factor_combiner_py", "target": "numpy", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L6", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_factors_dynamic_weight_timing_20260327_utils_factor_combiner_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L7", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_factors_dynamic_weight_timing_20260327_utils_factor_combiner_py", "target": "factors_base_factor", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L8", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_factors_dynamic_weight_timing_20260327_utils_factor_combiner_py", "target": "utils_factor_combiner_factorcombiner", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L11", "weight": 1.0}, {"source": "utils_factor_combiner_factorcombiner", "target": "utils_factor_combiner_factorcombiner_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L14", "weight": 1.0}, {"source": "utils_factor_combiner_factorcombiner", "target": "utils_factor_combiner_factorcombiner_combine", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L31", "weight": 1.0}, {"source": "utils_factor_combiner_factorcombiner", "target": "utils_factor_combiner_factorcombiner_get_factors", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L58", "weight": 1.0}, {"source": "utils_factor_combiner_factorcombiner", "target": "utils_factor_combiner_factorcombiner_update_weights", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L62", "weight": 1.0}, {"source": "utils_factor_combiner_factorcombiner", "target": "utils_factor_combiner_factorcombiner_get_weights", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L68", "weight": 1.0}, {"source": "utils_factor_combiner_rationale_1", "target": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_factors_dynamic_weight_timing_20260327_utils_factor_combiner_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L1", "weight": 1.0}, {"source": "utils_factor_combiner_rationale_12", "target": "utils_factor_combiner_factorcombiner", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L12", "weight": 1.0}, {"source": "utils_factor_combiner_rationale_15", "target": "utils_factor_combiner_factorcombiner_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L15", "weight": 1.0}, {"source": "utils_factor_combiner_rationale_32", "target": "utils_factor_combiner_factorcombiner_combine", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L32", "weight": 1.0}], "raw_calls": [{"caller_nid": "utils_factor_combiner_factorcombiner_init", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L24"}, {"caller_nid": "utils_factor_combiner_factorcombiner_init", "callee": "sum", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L28"}, {"caller_nid": "utils_factor_combiner_factorcombiner_init", "callee": "values", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L28"}, {"caller_nid": "utils_factor_combiner_factorcombiner_init", "callee": "items", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L29"}, {"caller_nid": "utils_factor_combiner_factorcombiner_combine", "callee": "items", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L41"}, {"caller_nid": "utils_factor_combiner_factorcombiner_combine", "callee": "process", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L45"}, {"caller_nid": "utils_factor_combiner_factorcombiner_combine", "callee": "add", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L54"}, {"caller_nid": "utils_factor_combiner_factorcombiner_get_factors", "callee": "list", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L60"}, {"caller_nid": "utils_factor_combiner_factorcombiner_get_factors", "callee": "keys", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L60"}, {"caller_nid": "utils_factor_combiner_factorcombiner_update_weights", "callee": "sum", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L65"}, {"caller_nid": "utils_factor_combiner_factorcombiner_update_weights", "callee": "values", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L65"}, {"caller_nid": "utils_factor_combiner_factorcombiner_update_weights", "callee": "items", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L66"}, {"caller_nid": "utils_factor_combiner_factorcombiner_get_weights", "callee": "copy", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/factors-dynamic-weight-timing-20260327/utils/factor_combiner.py", "source_location": "L70"}]} |