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.8 KiB
2.8 KiB
2025 Wheat Following Soybeans 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-07/Wheat%20after%20Soy%202025.pdf
- Index page: https://agriprowheat.com/trials-data
- Varieties listed: AP Sunbird, AP Roadrunner, SY Wolverine, AP Bigfoot, AP Prolific, SY Monument, LCS Atomic AX
Trial data (verbatim from PDF)
2025 Wheat Following Soybeans Summary, Three-Year Data
Syngenta Commercial Variety Wheat Performance Test, 2023-2025
3-Yr Combined 2-Yr Combined Combined Belleville, Junction City, Salina,
Variety (2023-2025) (2024-2025) (2025) KS* KS KS
Hard Winter Wheat Yield TWT Yield TWT Yield TWT Yield Yield Yield
Bu/A Lb/Bu Bu/A Lb/Bu Bu/A Lb/Bu Bu/A Bu/A Bu/A
AP24 AX 66.1 58.8 76.6 59.0 78.7 55.3 64.8 94.7 76.7
AP Sunbird 62.3 61.0 70.7 60.9 70.7 57.7 59.0 86.7 66.5
AP Roadrunner 62.2 57.5 68.5 56.9 64.1 53.4 54.1 79.7 58.5
SY Wolverine 61.0 60.3 66.9 60.1 65.4 56.5 58.2 86.2 51.9
AP Bigfoot 60.3 61.3 67.5 61.2 68.6 58.7 53.1 86.6 65.9
AP Prolific 59.2 60.0 66.3 60.0 67.2 57.9 46.0 86.2 69.2
SY Monument 58.4 59.3 63.9 59.8 59.5 56.1 48.2 71.6 58.6
Bob Dole 56.7 58.5 63.0 58.1 60.0 54.6 47.0 68.3 64.6
Showdown 62.8 59.6 71.9 59.6 68.7 55.6 56.4 83.0 66.6
KS Providence 61.9 60.4 70.0 60.4 67.0 56.8 52.5 88.9 59.7
Rockstar 61.0 58.1 70.0 58.5 68.7 55.6 54.0 83.8 68.3
WB4401 59.5 59.5 66.7 59.2 63.0 55.1 51.7 78.8 58.5
LCS Atomic AX 59.1 61.3 67.7 61.2 70.2 58.7 52.3 88.0 70.1
WB4523 57.4 58.9 63.9 59.0 56.7 55.5 40.6 68.2 61.2
WB4422 72.5 58.6 73.5 55.2 62.5 87.3 70.6
KS Bill Snyder 78.4 58.8 59.3 94.6 81.2
WB4699 66.4 55.2 51.0 84.2 64.1
Polansky Goldenhawk 65.3 56.1 52.7 86.5 56.8
High Cotton 65.3 57.4 43.8 90.9 61.2
Doublestop CLP 63.8 56.9 53.9 74.0 63.4
Mean General 60.6 59.7 68.4 59.5 66.9 56.3 51.7 83.6 65.4
LSD General (5%) EE 4.6 1.4 5.6 1.7 9.2 0.0 9.5 10.7 9.9
CV (Effective) 8.6 2.5 8.3 2.7 9.2 3.8 11.2 7.8 9.2
Boldfaced numbers are within confidence interval at specific locations and combined years of yield data.
* Location was affected by a Wheat Streak Mosaic Virus infestation, which resulted in reduced yield of susceptible varieties.
Locations
2023 — Belleville, Conway Springs, Junction City, and Salina, KS
2024 — Belleville, Conway Springs, Junction City, and Salina, KS
2025 — Belleville, Conway Springs, Junction City, and Salina, KS
© 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.