Files
seed-mcp/corpus/bayer_seeds/dekalb-dkc39-54rib.json
T
justin 75f714b454 Phase 4-5: deployable container + corpus snapshot + CI fixes
deploy/docker-compose.yml — replace <product>/<registry> placeholders
with concrete values for Drawbar's stack:
- image: git.jpaul.io/justin/seed-mcp:latest (CF tunnel for pulls; CI
  pushes via LAN 192.168.0.2:1234 to avoid 100 MB body cap)
- container_name: seed-mcp
- port 8001:8000 (8001 host-side to not collide with crop-chem-docs
  on 8000)
- PRODUCT_NAME=crop_seed, hybrid search enabled, stateless HTTP
- llama-rerank shared with crop-chem-docs (NOT redefined here —
  expected to already be in Drawbar's parent compose network)
- networks.drawbar-mcp external: true so seed-mcp joins the existing
  cross-MCP shared network

.gitignore — corpus/ is now COMMITTED, not ignored. The monthly
refresh workflow scrapes and commits corpus changes; the image-only
workflow rebuilds indexes from the committed corpus. Allowing the
corpus to flow through git means the :corpus-YYYY.MM.DD image tag
pins to a specific seed-catalog snapshot. chroma/ and bm25/ remain
ignored — those are deterministically derived from corpus.

Initial committed snapshot: 614 varieties.
- bayer_seeds: 475 (DEKALB 288 + Asgrow 102 + WestBred 85)
- golden_harvest: 139 (Syngenta corn + soy; 36 sitemap URLs
  302-redirected = discontinued)

rag/chunk.py — normalize brand and crop to uppercase/lowercase in
Chroma metadata so cross-vendor brand-filter lookups don't break on
casing inconsistency (Bayer stores "DEKALB", Golden Harvest stores
"Golden Harvest"; _build_where uppercases user-supplied brand which
matched the former but not the latter pre-fix). Sidecar JSON keeps
original casing for display.

Stub scrapers (nk, agripro, becks_pfr, becks_products) — change
return code from 2 to 0 so the monthly-refresh CI workflow doesn't
fail on deferred sources. Real implementations will return 0 on
success / 1 on failure when they ship.

Smoke-tested cross-vendor retrieval against the 614-chunk index:
- list_versions shows both vendors with correct facet counts
- broad "corn hybrid 100 RM" query returns both DEKALB and Golden
  Harvest hits in top 5
- brand='Golden Harvest' filter returns 3 GH-only varieties
- variety-code prefilter still works (E085Z5 → top hit on GH)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 13:40:05 -04:00

210 lines
5.6 KiB
JSON

{
"source": "bayer_seeds",
"source_key": "dekalb-dkc39-54rib",
"vendor": "Bayer",
"brand": "DEKALB",
"product_name": "DKC39-54RIB BRAND BLEND",
"product_id": "CORN_DKC39-54RIB BRAND BLEND_DEKALB_US",
"hybrid_prefix": "DKC39-54RIB",
"hybrid_suffix": "BRAND BLEND",
"crop": "corn",
"release_year": 2022,
"relative_maturity": "89",
"maturity_group": null,
"wheat_class": null,
"trait_stack": [
"SSRIB"
],
"trait_descriptions": [
"SmartStax® RIB Complete® corn blend"
],
"positioning_statement": "DKC39-54RIB Brand Blend is a broadly adapted medium stature product with excellent stalk strength, a good foliar disease tolerance package and excellent yield potential. It has shown excellent emergence and seedling vigor for early planting. ",
"strengths": [
"Has show very good yield potential across the cornbelt in the 90 RM zone with good north of zone movement",
"Widely adapted germplasm from East to West",
"Can provide very good tolerance to Northern Corn Leaf Blight",
"Product can show very good Goss's Wilt tolerance for elevated field pressure and corn following corn environments",
"Can provide very good test weight and grain drydown",
"Hybrid has shown to perform well in stressed growing conditions",
"Semi-flex ear type has shown good performance at lower plant populations"
],
"characteristics_groups": [
{
"label": "DISEASE RATINGS",
"type": "disease ratings",
"items": [
{
"characteristic": "ANTHRACNOSE STALK ROT",
"value": "3"
},
{
"characteristic": "GOSS'S WILT",
"value": "3"
},
{
"characteristic": "NORTHERN CORN LEAF BLIGHT - RACE 1",
"value": "3"
}
]
},
{
"label": "GROWTH",
"type": "growth",
"items": [
{
"characteristic": "SEEDLING GROWTH",
"value": "2"
},
{
"characteristic": "EMERGENCE",
"value": "2"
},
{
"characteristic": "ROOT STRENGTH",
"value": "2"
},
{
"characteristic": "STALK STRENGTH",
"value": "2"
},
{
"characteristic": "DROUGHT TOLERANCE",
"value": "3"
},
{
"characteristic": "GREENSNAP TOLERANCE",
"value": "2"
},
{
"characteristic": "PLANT HEIGHT",
"value": "Medium"
},
{
"characteristic": "EAR PLACEMENT",
"value": "Medium"
}
]
},
{
"label": "MANAGEMENT",
"type": "management",
"items": [
{
"characteristic": "GDUS TO MID-POLLINATION",
"value": "1200"
},
{
"characteristic": "GDUS TO BLACK LAYER",
"value": "2225"
},
{
"characteristic": "VALUE ADDED TRAIT",
"value": "SSRIB"
},
{
"characteristic": "RELATIVE MATURITY",
"value": "89"
},
{
"characteristic": "PLANTING RATE",
"value": "Medium"
},
{
"characteristic": "NEW PRODUCT",
"value": "NO"
},
{
"characteristic": "VARIETY",
"value": "01081376"
}
]
},
{
"label": "HARVEST",
"type": "harvest",
"items": [
{
"characteristic": "STAYGREEN",
"value": "3"
},
{
"characteristic": "HARVEST APPEARANCE",
"value": "3"
},
{
"characteristic": "DRYDOWN",
"value": "2"
},
{
"characteristic": "TEST WEIGHT",
"value": "2"
}
]
},
{
"label": "HERBICIDE",
"type": "herbicide",
"items": [
{
"characteristic": "GROWTH REGULATORS SENSITIVITY",
"value": "A"
},
{
"characteristic": "ISOXAZOLES SENSITIVITY - PREEMERGENCE",
"value": "A"
},
{
"characteristic": "SULFONYLUREAS SENSITIVITY",
"value": "A"
}
]
},
{
"label": "PLANT DESCRIPTION",
"type": "plant description",
"items": [
{
"characteristic": "COB COLOR",
"value": "Red"
},
{
"characteristic": "KERNEL CAP COLOR",
"value": "Yellow"
},
{
"characteristic": "KERNEL ROW",
"value": "16"
}
]
}
],
"_scale_direction": "1-9 (9 = best)",
"regional_recommendations": [
{
"product_list_name": "2027 Product Guide",
"agronomist": "Jeffrey Fuls",
"agronomist_email": "jeffrey.fuls@bayer.com",
"variant_id": "CORN_DKC39-54RIB BRAND BLEND_DEKALB_US_2027_J8P"
},
{
"product_list_name": "2027 Product Guide",
"agronomist": "Jeffrey Fuls",
"agronomist_email": "jeffrey.fuls@bayer.com",
"variant_id": "CORN_DKC39-54RIB BRAND BLEND_DEKALB_US_2027_J8L"
},
{
"product_list_name": "2027 Product Guide",
"agronomist": "Jeffrey Fuls",
"agronomist_email": "jeffrey.fuls@bayer.com",
"variant_id": "CORN_DKC39-54RIB BRAND BLEND_DEKALB_US_2027_J8J"
}
],
"image_url": "https://cs-assets.bayer.com/is/image/bayer/62503_31_MY23_DK_SEED_BAG_RENDERING_SMARTSTAX_RIBCOMPLETE_A",
"source_urls": [
"https://www.cropscience.bayer.us/corn/dekalb/dekalb-dkc39-54rib-corn"
],
"sitemap_last_modified": "2026-05-18T15:42:08.234Z",
"fetched_at": "2026-05-25T17:03:29.450865+00:00",
"scraper_version": "0.1.0"
}