Files
Atomizer/archive/scripts/monitor_e2e.py
Anto01 2b3573ec42 feat: Add AtomizerField training data export and intelligent model discovery
Major additions:
- Training data export system for AtomizerField neural network training
- Bracket stiffness optimization study with 50+ training samples
- Intelligent NX model discovery (auto-detect solutions, expressions, mesh)
- Result extractors module for displacement, stress, frequency, mass
- User-generated NX journals for advanced workflows
- Archive structure for legacy scripts and test outputs
- Protocol documentation and dashboard launcher

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 12:01:50 -05:00

47 lines
1.1 KiB
Python

"""
Monitor E2E test progress in real-time
Run this in a separate terminal to see live updates
"""
import subprocess
import sys
from pathlib import Path
# Load API key from .env
env_vars = {}
env_file = Path(".env")
if env_file.exists():
with open(env_file) as f:
for line in f:
line = line.strip()
if line and not line.startswith('#') and '=' in line:
key, value = line.split('=', 1)
env_vars[key.strip()] = value.strip()
if 'ANTHROPIC_API_KEY' not in env_vars:
print("[FAIL] No API key found in .env")
sys.exit(1)
print("[OK] API key loaded")
print()
print("=" * 80)
print("RUNNING E2E TEST - LIVE OUTPUT")
print("=" * 80)
print()
# Run test with live output (not in background)
python_exe = "c:/Users/antoi/anaconda3/envs/test_env/python.exe"
test_script = Path(__file__).parent / "tests" / "test_phase_3_2_e2e.py"
# Set environment and run
import os
os.environ.update(env_vars)
# Run with unbuffered output so we see it live
result = subprocess.run(
[python_exe, "-u", str(test_script)],
env=os.environ
)
sys.exit(result.returncode)