refactor: enhance Optuna backtesting framework, optimize orderbook filtering, and update database management utilities.

This commit is contained in:
Your Name
2026-08-12 10:19:19 +09:00
parent cb7e5037a0
commit c6bd62a25f
218 changed files with 31613 additions and 759 deletions

15
scratch/check_history.py Normal file
View File

@@ -0,0 +1,15 @@
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 'trigger_eval_collect' in line and data.get('type') == 'PLANNER_RESPONSE':
for call in data.get('tool_calls', []):
if call.get('name') in ('multi_replace_file_content', 'replace_file_content'):
args = call.get('args', {})
if 'trigger_eval_collect.py' in str(args):
print(f"Step {data.get('step_index')}: modified trigger_eval_collect")
print(args.get('Instruction'))