feat(M01): 조합 알약 물량 길 GET /combo/{키}/inputs

- 담은 로직 결과단위 분모(원/㎥ → ㎥)가 물량 하나 · 설계 조건은 안 넣음(조건 자리만)
- 이름 = 로직 이름 끝 괄호 뗀 것 · 같은 이름·단위는 합침 · 원/10㎡ 은 배 10
- 시험 test_m01_combo_inputs.py(UA000004 · 031 · 002 · 없는 조합 404)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TULoa94ZFL26KU6ZqVpjkF
This commit is contained in:
2026-09-28 12:11:49 +09:00
co-authored by Claude Opus 5.5
parent e010f72505
commit 32d73aa2c9
3 changed files with 96 additions and 0 deletions
+6
View File
@@ -318,6 +318,12 @@ def get_combo(key: str) -> dict:
return _call(combo_store.combo, key)
@router.get("/combo/{key}/inputs")
def get_combo_inputs(key: str) -> dict:
"""조합 알약 — 담은 로직 결과단위 분모마다 물량 하나(같은 이름·단위는 합침)."""
return _call(combo_store.combo_inputs, key)
@router.get("/logic/combos")
def get_logic_combos(key: str) -> dict:
"""이 단가산출 로직을 담은 조합 — 로직 쪽에서 거꾸로 봄."""