Skip to content

feat: add disease and pest symptom matcher#344

Open
hualuoz wants to merge 1 commit into
mergeos-bounties:masterfrom
hualuoz:agent/plantguide-symptom-matcher
Open

feat: add disease and pest symptom matcher#344
hualuoz wants to merge 1 commit into
mergeos-bounties:masterfrom
hualuoz:agent/plantguide-symptom-matcher

Conversation

@hualuoz

@hualuoz hualuoz commented Jul 22, 2026

Copy link
Copy Markdown

Summary

  • replace the species-ranking placeholder with an offline symptom-to-issue matcher
  • add a five-issue JSON fixture covering scale, aphids, spider mites, fungal leaf spot, and root rot
  • return likely causes, practical remedies, escalation guidance, and an educational disclaimer
  • keep the existing plantguide identify disease entry point and improve its help text

Verification

  • python -m pytest -q51 passed
  • python -m pytest tests/test_disease.py -q4 passed
  • ruff check src/plantguide/identify/disease.py src/plantguide/cli.py tests/test_disease.pypassed
  • ruff format --check src/plantguide/identify/disease.py tests/test_disease.pypassed
  • git diff --checkpassed
  • plantguide identify disease --symptoms "yellow spots,sticky leaves" --top 3 → ranks scale_insects first at 1.0, with both symptoms, causes, remedies, escalation guidance, and the disclaimer

Fixes #6

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.

[50 MRG] Disease/pest symptom matcher

1 participant