bayer_seeds: add Channel + DEKALB silage/sorghum/canola + Deltapine cotton (+456 varieties) #13
Reference in New Issue
Block a user
Delete Branch "bayer-expand-channel-deltapine"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
User flagged Channel is moving into their area. Re-walked the
cropscience.bayer.ussitemap and there were 8 brand×crop paths I hadn't scraped beyond the original DEKALB/Asgrow/WestBred triple. Net new: 456 varieties and 4 first-time crop categories.Coverage delta
/corn/channel//soybeans/channel//silage/channel//sorghum/channel//silage/dekalb/SILAGE_DKC093-05RIB_DEKALB_USis a distinct product with silage-specific ratings)/sorghum/dekalb//canola/dekalb//cotton/deltapine/Implementation
scrape/sources/bayer_seeds.py— replaced the 1:1BRANDS/CROP_SUFFIXdicts with a flatterBRAND_PATHSlist of(brand, url_path, crop, is_primary_for_brand)tuples. Channel and DEKALB are now multi-crop brands.-<crop>suffix is stripped (matches existing deployed keys); for SECONDARY crops the suffix is kept, so DEKALB-the-same-SKU sold as both grain corn AND silage gets two distinct source_keys.rag/chunk.py— Channel + Deltapine pages use slightly different characteristics group labels (DISEASEnotDISEASE RATINGS;AGRONOMIC CHARACTERISTICSnotGROWTH/HARVEST; plusMATURITY/ADAPTATION/HERBICIDES/OTHER). Folded them into the existing bucketing sets so chunks render under the standard sections.--cropCLI filter in bayer_seeds for incremental backfills.Test plan