Files
민헌andClaude Opus 5.5 13ab9dee84 chore: 2차년도 성능평가 측정 구성 초기 업로드
data(train 520·holdout 120), server(발화 생성 서버), eval(grounding_eval), run_eval.py·run_test.sh.
logs/ 는 실행 때마다 생기는 기록이라 README.md 만 올리고 나머지는 .gitignore 로 뺀다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 14:05:48 +09:00

15 lines
437 B
Python

"""서버 루트 기준 경로 정의."""
from pathlib import Path
SERVER_ROOT = Path(__file__).resolve().parents[1]
RESOURCES_DIR = SERVER_ROOT / "resources"
DATA_DIR = SERVER_ROOT / "data"
LOGS_DIR = SERVER_ROOT / "logs"
def resolve_data_path(path_str: str) -> Path:
"""config 의 상대경로를 서버 루트 기준 절대경로로 변환한다."""
p = Path(path_str)
return p if p.is_absolute() else SERVER_ROOT / p