refactor: enhance Optuna backtesting framework, optimize orderbook filtering, and update database management utilities.
This commit is contained in:
16
scratch/check_accidents.py
Normal file
16
scratch/check_accidents.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import json
|
||||
|
||||
with open('/home/hoon/.gemini/antigravity-ide/brain/e07d5342-58aa-4443-a5b3-73bde0f593dd/.system_generated/logs/transcript.jsonl', 'r') as f:
|
||||
for line in f:
|
||||
try:
|
||||
data = json.loads(line)
|
||||
except:
|
||||
continue
|
||||
if data.get('step_index') in [5795, 5804, 5805, 5806, 5807, 5808, 5809]:
|
||||
if data.get('type') == 'PLANNER_RESPONSE':
|
||||
for call in data.get('tool_calls', []):
|
||||
print(f"Step {data.get('step_index')}: {call.get('name')}")
|
||||
if 'args' in call:
|
||||
for k, v in call['args'].items():
|
||||
if k == 'TargetFile':
|
||||
print(f" Modified: {v}")
|
||||
Reference in New Issue
Block a user