c737871c4c
This PR introduces TRIAL data — yield-performance results from real
field trials — as a SEPARATE data type alongside variety identity.
The two are complementary:
search_docs → "What's the disease resistance of DKC62-08RIB?"
(variety identity — what it IS)
search_trials → "Which corn hybrid won the IA 2024 trials?"
(performance data — how it PERFORMED)
scrape/sources/gh_plot_reports.py — Golden Harvest plot reports
- 4,618 expected (2024+2025; 2023 deferred to a backfill pass).
- URL: /<crop>/plot-report/<state>/<year>/<plot_id>
- Cross-vendor: each plot lists products from multiple brands
(NK / DEKALB / Golden Harvest / Enogen / Pioneer / Channel) side
by side at one cooperator's field — the kind of independent
comparison data Bayer doesn't publish itself.
- Generic per-column metrics dict (Yield/MST/Test Weight/$/Ac for
corn+soy, Ton/Acre + Milk + Beef columns for silage).
- Politeness: 1 req/sec, retries on 429/5xx, no redirect-follow.
scrape/sources/agripro_trials.py — AgriPro regional trial PDFs
- 14 unique PDFs (38 sitemap links deduped) at /trials-data
- pdfplumber text extraction, region/year detection from filename
- Verbatim PDF text preserved in chunk body so variety + yield
number adjacency drives retrieval (AP Iliad's Aberdeen ID yield
matches a query about "AP Iliad Idaho yield")
rag/chunk.py — chunks_from_trial() dispatching by source
- Plot reports: identity preamble + Top-5 by primary metric + full
ranking table. Metric labels chosen from the data (corn/soy use
"Yield", silage uses "Ton/Acre").
- AgriPro PDFs: identity preamble + verbatim trial body inline so
per-location yields surface for region+variety queries.
- Variety chunks get data_type="variety" metadata; trial chunks get
data_type="trial". Single Chroma collection; the tool router
filters by data_type rather than maintaining two collections.
rag/index.py — dispatch by sidecar's data_type field
rag/bm25.py — new filter columns (data_type, year, state)
docs_mcp/server.py — sixth MCP tool: search_trials(crop?, state?,
year?, product?, k=10)
- Filters trial chunks via where={"data_type": "trial", ...}
- Optional product substring post-filter for "DKC62-08RIB Iowa 2024"
style searches
- search_docs now defaults to data_type="variety" so trial chunks
don't bleed into variety identity queries
- Tool docstring routes the agent: "use lookup_variety to verify
identity details on any trial winner you surface"
NK trial endpoint (/NKSeeds/wsProxy.asmx/GetPlotResult) is documented
as deferred — the ASMX-SOAP shape returned empty XML on initial
probe. Bayer per-variety yield data is not publicly indexed at all
— documented in the trial-scope note (DEKALB/Asgrow trial data flows
through Channel reps, not the web). AgRevival research books exist
as 10 large annual PDFs but are deferred (low ROI per parse).
Initial corpus shipped in this PR: 14 AgriPro trial PDFs. The 4,618
Golden Harvest plot reports are scraping in background and will be
added in a follow-up corpus-snapshot PR (~70 min ETA).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.4 KiB
2.4 KiB
2025 South Dakota Winter Wheat Summary, Three-Year Data
- Source: AgriPro (Syngenta) regional trial PDF
- Vendor: Syngenta
- Brand: AgriPro
- Crop: Wheat
- Data type: trial
- Year: 2025
- PDF: https://agriprowheat.com/sites/default/files/2025-08/South%20Dakota%202025.pdf
- Index page: https://agriprowheat.com/trials-data
- Varieties listed: AP Prolific, AP Sunbird, AP Bigfoot, SY, SY Wolverine, SY WOLF, SY Monument, AP Clair, AP Solid, LCS Helix AX
Trial data (verbatim from PDF)
2025 South Dakota Winter Wheat Summary, Three-Year Data
Syngenta Commercial Variety Wheat Performance Test, 2023-2025
3-Yr Combined 2-Yr Combined Combined Agar, Presho,
Variety (2023-2025) (2024-2025) (2025) SD SD
Hard Winter Wheat Yield TWT Yield TWT Yield TWT Yield Yield
Bu/A Lb/Bu Bu/A Lb/Bu Bu/A Lb/Bu Bu/A Bu/A
AP18 AX 57.3 59.3 64.7 58.6 57.2 54.2 52.5 61.9
AP24 AX 56.8 59.0 64.2 57.8 61.2 53.9 59.9 62.5
AP Prolific 56.1 59.5 62.9 58.8 58.6 54.6 56.1 61.1
AP Sunbird 55.9 59.5 58.5 59.1 58.4 56.1 56.8 59.9
AP Bigfoot 55.6 59.6 62.9 58.9 64.1 55.9 62.2 66.1
SY 517 CL2 52.5 60.8 56.6 60.3 59.9 57.8 60.0 59.7
SY Wolverine 52.3 58.5 56.9 58.5 53.5 55.4 47.5 59.5
SY WOLF 51.4 59.1 55.5 57.9 53.5 53.7 49.4 57.6
SY Monument 50.1 57.3 56.1 55.9 56.6 51.9 54.7 58.6
AP Clair 49.2 59.7 57.8 59.5 52.9 56.2 50.6 55.1
AP Solid 54.7 56.8 47.8 61.7
WB4422 58.2 59.9 63.8 58.4 65.3 55.5 63.5 67.1
LCS Helix AX 57.2 61.1 66.0 60.6 65.2 57.9 65.0 65.3
Winner 56.5 60.5 66.7 59.7 65.9 57.0 68.7 63.1
SD Andes 55.7 60.6 60.9 59.8 54.2 55.8 50.3 58.1
SD Midland 54.6 59.8 59.4 58.7 54.4 54.1 49.7 59.0
Kivari AX 54.3 56.8 50.7 53.2 44.5 56.9
SD Pheasant 54.1 56.4 49.7 58.5
Mean General 54.6 59.6 60.4 58.5 57.7 55.2 55.2 60.3
LSD General (5%) EE 5.4 1.2 7.7 1.5 7.4 1.8 13.0 6.1
CV (Effective) 10.3 1.8 8.7 1.9 11.2 2.0 14.3 6.2
Boldfaced numbers are within confidence interval at specific locations and combined years of yield data.
Locations
2023 — Hayes and Ideal, SD
2024 — Hayes and Ideal, SD
2025 — Agar and Presho, SD
© 2025 Syngenta. All rights reserved. Reproduction expressly prohibited without written permission. Some or all of the varieties may be protected under one or more of the following: Plant Variety Protection, United
States Plant Patents and/or Utility Patents and may not be propagated or reproduced without authorization. AgriPro® and the Syngenta logo are trademarks of a Syngenta Group Company.