Fetching metadata from the HF Docker repository...
-
refactor: move safety-stock logic to Inventory Optimization module and add tests
blueeye-3184
- Remove inline inventory/safety-stock logic from main.py (~460 lines)
- Load all safety-stock functions from model-server/05.Inventory Optimization/
- main.py only routes and calls module functions (README role separation)
- Add backend pytest suite (73 tests, 52% coverage, 45% threshold)
- Add frontend Jest tests for lib/country.ts and coverage thresholds
- Add TDD.md, pytest.ini, jest.config.mjs; ignore coverage artifacts in .gitignore
Made-with: Cursor
-
feat: Inventory Action Center 媛쒖꽑 諛?Vercel/GitHub ?곕룞 ?뺣━
blueeye-3184 +1: Cursor
- GitHub-Vercel ?곕룞: VERCEL_GITHUB_SETUP.md 異붽?, Root Directory ?덈궡 蹂닿컯
- 諛고룷 肄붾뱶 ?뺣━: ?꾨줈?뺤뀡 諛깆뿏??URL ?⑥씪 ?뚯뒪(lib/backend-url.js), page.tsx API 濡쒖쭅 lib/api ?듭씪
- Inventory Action Center: Status ????留ㅽ븨(API Danger/Overstock ??UI ?꾪뿕/怨쇱엵), 諛깆뿏???쒓? status_filter ?섏슜
- 怨쇱엵 ?ш퀬 TOP 5 (?섎웾 湲곗?): ?곹뭹蹂??뚯씠釉??꾨줈洹몃젅??諛? API /api/safety-stock-overstock-top5 異붽?
- TypeScript 鍮뚮뱶 ?섏젙: overstock-status ?묐떟 ?뺢퇋??- GitHub Actions: checkout@v4濡??낅뜲?댄듃
Co-authored-by: Cursor <cursoragent@cursor.com>
-
fix(Vercel): rewrites use literal HF URL only, build-time destination validation, API paths use /api/... consistently
blueeye-3184 +1: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com> -
fix(Vercel): rewrites always use HF URL when VERCEL=1, build warning for missing env, env-based fallbacks
blueeye-3184 +1: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com> -
fix: Vercel rewrite localhost 404 - reject localhost/127.0.0.1 in rewrites and getApiBase, enforce HF Space URL in production
blueeye-3184 +1: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com> -
fix: Vercel API 404 - rewrites HF Space ?곸닔 fallback, getApiBase undefined 諛⑹?, API_ROUTES_AUDIT 異붽?
blueeye-3184 +1: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com> -
fix: Vercel API - localhost ?대갚 ?쒓굅, NEXT_PUBLIC_API_URL留??ъ슜, next.config rewrites ?섍꼍蹂??湲곕컲
blueeye-3184 +1: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com> -
fix: API/env/CORS - ?곷?寃쎈줈 ?곗꽑, NEXT_PUBLIC_ 二쇱꽍, BACKEND_URL ?앹뒳?섏떆 ?쒓굅, inventory-comments POST ?곷?寃쎈줈, CORS vercel.app 異붽?
blueeye-3184 +1: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com> -
fix: API ?몄텧 - CORS(Vercel), NEXT_PUBLIC_API_URL ?곗꽑 ?쒕룄, rewrites/route 諛깆뿏??URL
blueeye-3184 +1: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com> -
Initial Commit: Clean history without large files
blueeye-3184