refactor: move standalone scripts to scripts/ directory

Move batch_runner, trajectory_compressor, mini_swe_runner, and rl_cli
from the project root into scripts/, update all imports, logger names,
pyproject.toml, and downstream test references.
This commit is contained in:
alt-glitch 2026-04-21 15:23:23 +05:30
parent 224e6d46d9
commit ca2b6a529e
20 changed files with 51 additions and 41 deletions

View file

@ -30,7 +30,7 @@ from pathlib import Path
from typing import List, Dict, Any
import traceback
# Add project root to path to import batch_runner
# Add project root to path to import scripts.batch_runner
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
@ -135,7 +135,7 @@ def test_current_implementation():
shutil.rmtree(output_dir)
# Import here to avoid issues if module changes
from batch_runner import BatchRunner
from scripts.batch_runner import BatchRunner
checkpoint_file = output_dir / "checkpoint.json"
@ -229,7 +229,7 @@ def test_interruption_and_resume():
if output_dir.exists():
shutil.rmtree(output_dir)
from batch_runner import BatchRunner
from scripts.batch_runner import BatchRunner
checkpoint_file = output_dir / "checkpoint.json"