mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 11:43:10 +02:00
Frontend (React 19 + Vite 6 + TypeScript strict): - DropZone, ModeSelect, GameCanvas, PuzzleCanvas, ScoreScreen, PuzzleResult - File-drop game with AABB collision; download (JSZip) and upload (NestJS) modes - Puzzle mode: NxN image slice via OffscreenCanvas; Union-Find spatial clustering guarantees 100% catch rate is always achievable regardless of piece speeds - ESLint typescript-eslint strict-type-checked (zero errors) - 145 Vitest tests; 100% coverage on statements/branches/functions/lines Backend (NestJS 11): - POST /files/upload (multer disk storage) and GET /health Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YZ8QTmreFcaqrsvVb38Grd
17 lines
1016 B
JSON
17 lines
1016 B
JSON
{
|
|
"title": "bucket_catch: osu!catch browser game with 100% test coverage",
|
|
"objective": "Add bucket_catch to testsAndMisc — a browser game where falling files/puzzle pieces are caught with a mouse-tracked basket. The frontend (React 19 + Vite 6 + TypeScript strict) achieves 100% Vitest coverage across statements, branches, functions, and lines. The backend (NestJS 11) exposes file upload and health endpoints.",
|
|
"acceptance_criteria": [
|
|
"pnpm run coverage passes with 100% on all four metrics (statements, branches, functions, lines)",
|
|
"pnpm run lint passes with zero errors under typescript-eslint strict-type-checked",
|
|
"pnpm build succeeds with no TypeScript errors",
|
|
"Puzzle mode guarantees 100% catchable via Union-Find spatial clustering"
|
|
],
|
|
"out_of_scope": [
|
|
"Backend (NestJS) test suite — tracked as a separate task",
|
|
"E2E / browser automation tests",
|
|
"Deployment or CI integration"
|
|
],
|
|
"verifier": "pnpm run coverage && pnpm run lint (in packages/frontend)"
|
|
}
|