27 lines
570 B
Markdown
27 lines
570 B
Markdown
# Step 1: surrogate-common
|
|
|
|
## 읽어야 할 파일
|
|
|
|
- `/AGENTS.md`
|
|
- `/docs/ARCHITECTURE.md`
|
|
- `/src/femsurrogate/data/`
|
|
|
|
## 작업
|
|
|
|
TDD로 surrogate 공통 split/evaluate/result helper를 구현한다.
|
|
|
|
- 테스트: `/tests/test_surrogate_common.py`.
|
|
- 구현: `/src/femsurrogate/surrogates/common.py`.
|
|
- metrics는 `rmse`, `mae`, `r2`, `fit_time_s`, `predict_time_s`를 포함한다.
|
|
|
|
## Acceptance Criteria
|
|
|
|
```powershell
|
|
uv run pytest tests/test_surrogate_common.py -q
|
|
uv run ruff check .
|
|
```
|
|
|
|
## 금지사항
|
|
|
|
- 개별 모델 builder를 이 step에 섞지 마라.
|