Commit Graph

15 Commits

Author SHA1 Message Date
9f9b88c8db drop old model 2026-06-07 19:20:42 -04:00
bc4843fb88 herm 2026-06-07 16:41:33 -04:00
c61540fc63 scraping improvements 2026-06-07 15:05:09 -04:00
9e6696758e beep 2026-06-07 14:34:32 -04:00
876c26968b prevelance data added 2026-06-07 12:06:41 -04:00
cc7b2a593a oopa 2026-06-06 17:38:26 -04:00
96de91e86c flag impl fin 2026-06-06 17:22:31 -04:00
db4c656730 flagging 2026-06-06 17:02:45 -04:00
47609e5e42 scripting 2026-06-06 15:45:21 -04:00
06295c83ca beepboop 2026-06-06 15:09:46 -04:00
78220d3568 ooooeee 2026-06-06 10:15:53 -04:00
71d7a9d6f0 search, db integration 2026-06-05 21:47:00 -04:00
365d1281dd feat(test): add comprehensive test suite with vitest coverage
- Add vitest coverage-v8 plugin and configure coverage thresholds (80% lines)
- Add coverage exclusions for server-only pages, DB layer, and ML backends
- Create eslint-disable annotations for test mocks and setup
- Exclude test files from tsconfig to avoid type errors on mocks
- Rewrite API route tests (diseases, plants) for async diseases-db imports
- Update component tests (EmptyState, Footer, Navbar, LoadingSkeleton,
  ResultsDashboard, ImageUpload) to match current component implementations
- Add page-level tests for homepage, 404, and results page
- Fix upload-client tests with proper mock resets in beforeEach
- Add diseases-db module as async knowledge base backend
- Refactor API routes to use async diseases-db (listDiseases, getDiseaseById,
  getPlantById, getLookalikeDiseases, etc.)
- Add plant field to PredictionResult type and identify route response
- Add KB generation scripts (plant-list, disease-templates, generate-full-kb)
- Update constants with expanded featured plants and trust signals
- Fix ResultsDashboard to use plant from prediction result instead of DB lookup
2026-06-05 21:26:46 -04:00
58b5804d7a establish db 2026-06-05 20:30:28 -04:00
820a872f07 Initial commit: Plant Disease Identification app
- Next.js 16 App Router project with Tailwind CSS
- Plant disease knowledge base (93 diseases, 25 plants)
- Image upload with client+server preprocessing
- ML inference pipeline with mock/demo fallback
- Responsive results page with disease cards and treatment
- Full test suite (285 passing tests)
2026-06-05 19:21:16 -04:00