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:
@@ -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:
|
||||
"""이 단가산출 로직을 담은 조합 — 로직 쪽에서 거꾸로 봄."""
|
||||
|
||||
Reference in New Issue
Block a user