Skip to content

test: solver·스케줄·캐시 단위 테스트 + CI - #20

Merged
ysb2152 merged 1 commit into
mainfrom
test/solver-cache-ci
Aug 27, 2026
Merged

ysb2152 merged 1 commit into
mainfrom
test/solver-cache-ci

Conversation

@ysb2152

@ysb2152 ysb2152 commented Aug 27, 2026

Copy link
Copy Markdown
Owner

solver(shortest/priority/ai)·스케줄·역산·캐시 단위 테스트 추가(독립 브루트포스 대조로 최적성 검증). CI로 백엔드 unittest + 프론트 build 실행. 로컬 28개 통과. 🤖 Generated with Claude Code

- test_optimization.py: solve_shortest/priority/ai를 독립 브루트포스와 대조해
  최적해 검증, build_schedule 도착/약속대기/위반, recommended_departure 역산 검증.
- test_cache.py: get_final_leg 캐시 히트·폴백 미캐시·도보 무기한·자동차 TTL 만료·LRU 상한.
- main.py: 캐시 TTL 판정을 _now()로 분리(테스트가 asyncio 시계에 영향 없이 시간경과 흉내).
- .github/workflows/ci.yml: 백엔드 unittest + 프론트 build.

로컬 28개 테스트 통과.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
wtg-mate Ready Ready Preview Aug 27, 2026 2:17pm

@ysb2152
ysb2152 merged commit 72a91b5 into main Aug 27, 2026
5 checks passed
@ysb2152
ysb2152 deleted the test/solver-cache-ci branch August 27, 2026 14:18

This branch was successfully deployed

1 active deployment
Preview — 51809509 Deployed Aug 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant