feat: US minimum price entry filter (#320) #340
Reference in New Issue
Block a user
Delete Branch "feature/issue-320-us-min-price-filter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
US_MIN_PRICEsetting (default 5.0)Validation
Ticket Maturity Update (2026-02-28)
Coverage Matrix:
Review: PR #340 — feat: US minimum price entry filter (#320)
플랜 일치: ✅ ACT-03 정확히 일치
코드 품질: ✅ 양호
US_MIN_PRICE: float = Field(default=5.0, ge=0.0)— pydantic 검증 포함market.code.startswith("US")로 US 시장만 필터링테스트: ❌ 없음 — BLOCKING
우려사항
current_price <= min_price—<=사용으로 정확히 .00도 차단됨. ACT-03 계획의 " 이하 차단"과 일치하므로 의도된 동작이나, 경계값 테스트로 확인 필요결론: Changes Requested — 테스트 추가 필수
리뷰 요청 반영 완료했습니다.
추가 테스트:
검증:
pytest -q tests/test_main.py -k "us_min_price_filter_boundary or us_min_price_filter_not_applied_to_kr_market"Re-review: PR #340 — feat: US minimum price entry filter (#320)
이전 리뷰 지적사항 반영 확인
경계값 테스트: ✅ 추가됨
@pytest.mark.parametrize로 $4.99(차단), $5.00(차단), $5.01(허용) 경계값 테스트KR 시장 미적용 테스트: ✅ 추가됨
test_us_min_price_filter_not_applied_to_kr_market: KR 시장에서 price=4.0이어도 주문 실행 확인코드 품질
결론: LGTM ✅