- Add TrialManager (trial_manager.py) for consistent trial_NNNN naming - Add DashboardDB (dashboard_db.py) for Optuna-compatible database schema - Update CLAUDE.md with trial management documentation - Update ATOMIZER_CONTEXT.md with v1.8 trial system - Update cheatsheet v2.2 with new utilities - Update SYS_14 protocol to v2.3 with TrialManager integration - Add LAC learnings for trial management patterns - Add archive/README.md for deprecated code policy Key principles: - Trial numbers NEVER reset (monotonic) - Folders NEVER get overwritten - Database always synced with filesystem - Surrogate predictions are NOT trials (only FEA results) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
40 lines
1.3 KiB
Markdown
40 lines
1.3 KiB
Markdown
# Atomizer Archive
|
|
|
|
This directory contains deprecated/replaced code that is kept for reference and potential rollback.
|
|
|
|
## Structure
|
|
|
|
```
|
|
archive/
|
|
├── extractors/ # Deprecated physics extractors
|
|
│ └── zernike_legacy/ # Pre-OPD Zernike extractors
|
|
└── README.md
|
|
```
|
|
|
|
## Archive Policy
|
|
|
|
When replacing functionality:
|
|
1. Move the old file to the appropriate archive subdirectory
|
|
2. Add a header comment noting the archive date and replacement
|
|
3. Update this README with the change
|
|
|
|
## Archived Items
|
|
|
|
### extractors/zernike_legacy/ (2024-12-28)
|
|
|
|
**Replaced by:** `extract_zernike_opd.py` (ZernikeOPDExtractor)
|
|
|
|
**Reason:** The OPD method provides more accurate wavefront error calculations by:
|
|
- Using optical path difference (OPD) directly instead of surface displacement
|
|
- Proper handling of relative subcase comparisons
|
|
- Better numerical stability for high-order Zernike modes
|
|
|
|
**Archived files:**
|
|
| File | Original Class | Description |
|
|
|------|----------------|-------------|
|
|
| `extract_zernike.py` | `ZernikeExtractor` | Original displacement-based Zernike |
|
|
| `extract_zernike_surface.py` | `ZernikeSurfaceExtractor` | Surface-normal projection variant |
|
|
| `extract_zernike_figure.py` | `ZernikeFigureExtractor` | Figure error variant |
|
|
|
|
**To restore:** Copy files back to `optimization_engine/extractors/` and update `__init__.py`
|