Download tasks/lowes/tests/oracle-runtime/clone/backend/seed_data.py from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 34.3 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/lowes/tests/oracle-runtime/clone/backend/seed_data.py
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/lowes/tests/oracle-runtime/clone/backend/seed_data.py
-
curl -L -o seed_data.py https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/lowes/tests/oracle-runtime/clone/backend/seed_data.py
34.3 kB
| """Deterministic seed corpus for the Lowe's offline clone. | |
| Provenance note (read this before treating any row as source evidence): | |
| * The home page's promotional copy, category nav labels and recommended-search | |
| chips reproduce text that was *directly observed* on the desktop home page | |
| (see ``scope/claims.jsonl``). | |
| * The product catalog below is **synthetic**. Automated navigation to | |
| ``/Search=...`` and to a ``/pd/...`` product URL returned Access Denied | |
| during this evidence run, so no Lowe's product listing, price, rating or | |
| review count was observed. Brand names here are invented for the clone and | |
| deliberately do not name real Lowe's vendors, so nothing in this file can be | |
| mistaken for captured source data. | |
| * ``PRODUCTS`` is extended at the bottom of this module with | |
| ``inventory_catalog.PRODUCTS``, the rows that back the ``/pd/`` and | |
| ``/configure/blinds/`` pathnames recorded in the route inventory. Those rows | |
| *do* carry brand and title text observed in home-page anchor labels; read the | |
| provenance note in that module before treating any of their other fields as | |
| source evidence. | |
| Everything is a literal: no clock, no randomness, no derived ordering. The same | |
| seed run twice produces byte-identical rows, which is what | |
| ``clone/tests/test_reset.py`` asserts. | |
| """ | |
| from __future__ import annotations | |
| from typing import Any | |
| from backend import inventory_catalog | |
| SEED_ID = "lowes-synthetic-catalog-v1" | |
| # Category id -> (label, nav order, artwork palette) | |
| CATEGORIES: list[dict[str, Any]] = [ | |
| {"id": "appliances", "label": "Appliances", "position": 1, "art": ("#c9ccd1", "#8d949c")}, | |
| {"id": "bathroom", "label": "Bathroom", "position": 2, "art": ("#dfe7ec", "#8ea6b4")}, | |
| {"id": "building-supplies", "label": "Building Supplies", "position": 3, "art": ("#d8c7a6", "#a8895c")}, | |
| {"id": "doors-windows", "label": "Doors & Windows", "position": 4, "art": ("#dcd6cb", "#95836a")}, | |
| {"id": "electrical", "label": "Electrical", "position": 5, "art": ("#d7dbe2", "#6d7684")}, | |
| {"id": "flooring", "label": "Flooring", "position": 6, "art": ("#d9c3a5", "#9c7549")}, | |
| {"id": "hardware", "label": "Hardware", "position": 7, "art": ("#d3d6da", "#7e848c")}, | |
| {"id": "kitchen", "label": "Kitchen", "position": 8, "art": ("#cfd4d8", "#7c848d")}, | |
| {"id": "lawn-garden", "label": "Lawn & Garden", "position": 9, "art": ("#cbdcbf", "#5f8a4c")}, | |
| {"id": "lighting", "label": "Lighting & Ceiling Fans", "position": 10, "art": ("#f0e6cd", "#c2a35c")}, | |
| {"id": "outdoor-living", "label": "Outdoor Living", "position": 11, "art": ("#cfd8cf", "#6d7f6c")}, | |
| {"id": "paint", "label": "Paint", "position": 12, "art": ("#e3d9ef", "#8c74ad")}, | |
| {"id": "plumbing", "label": "Plumbing", "position": 13, "art": ("#d3e0e6", "#5f8695")}, | |
| {"id": "tools", "label": "Tools", "position": 14, "art": ("#f4dfc0", "#c8102e")}, | |
| ] | |
| # Store rows back the pickup selector. The observed home page showed a selected | |
| # store and ZIP pill; the store list itself was never enumerated on the source, | |
| # so these are clone-local fixtures. | |
| STORES: list[dict[str, Any]] = [ | |
| { | |
| "id": "hawthorne", | |
| "name": "Hawthorne Lowe's", | |
| "city": "Hawthorne", | |
| "state": "CA", | |
| "zip": "90250", | |
| "closes_at": "10 PM", | |
| "position": 1, | |
| }, | |
| { | |
| "id": "torrance", | |
| "name": "Torrance Lowe's", | |
| "city": "Torrance", | |
| "state": "CA", | |
| "zip": "90503", | |
| "closes_at": "9 PM", | |
| "position": 2, | |
| }, | |
| { | |
| "id": "long-beach", | |
| "name": "Long Beach Lowe's", | |
| "city": "Long Beach", | |
| "state": "CA", | |
| "zip": "90805", | |
| "closes_at": "9 PM", | |
| "position": 3, | |
| }, | |
| { | |
| "id": "burbank", | |
| "name": "Burbank Lowe's", | |
| "city": "Burbank", | |
| "state": "CA", | |
| "zip": "91502", | |
| "closes_at": "10 PM", | |
| "position": 4, | |
| }, | |
| ] | |
| DEFAULT_STORE_ID = "hawthorne" | |
| DEFAULT_ZIP = "90250" | |
| # Recommended-search chips. The first seven strings were legible in the | |
| # captured home page; the last three are clone-added so the row keeps working | |
| # against the synthetic catalog. See scope/claims.jsonl for the split. | |
| RECOMMENDED_SEARCHES: list[str] = [ | |
| "Refrigerator", | |
| "Lawn Mower", | |
| "Vacuum", | |
| "Ceiling Fan", | |
| "Quikrete", | |
| "Vinyl Floor", | |
| "Plywood", | |
| "Cordless Drill", | |
| "Interior Paint", | |
| "Water Heater", | |
| ] | |
| def _product( | |
| product_id: int, | |
| slug: str, | |
| title: str, | |
| brand: str, | |
| category: str, | |
| price_cents: int, | |
| *, | |
| was_cents: int | None = None, | |
| rating: float, | |
| review_count: int, | |
| badge: str | None = None, | |
| model: str, | |
| keywords: str, | |
| stock: int = 40, | |
| pickup_today: bool = True, | |
| free_delivery: bool = True, | |
| delivery_days: int = 3, | |
| specs: tuple[tuple[str, str], ...] = (), | |
| summary: str = "", | |
| ) -> dict[str, Any]: | |
| return { | |
| "id": product_id, | |
| "slug": slug, | |
| "title": title, | |
| "brand": brand, | |
| "category_id": category, | |
| "price_cents": price_cents, | |
| "was_cents": was_cents, | |
| "rating": rating, | |
| "review_count": review_count, | |
| "badge": badge, | |
| "model_number": model, | |
| "keywords": keywords, | |
| "stock": stock, | |
| "pickup_today": 1 if pickup_today else 0, | |
| "free_delivery": 1 if free_delivery else 0, | |
| "delivery_days": delivery_days, | |
| "specs": list(specs), | |
| "summary": summary, | |
| } | |
| PRODUCTS: list[dict[str, Any]] = [ | |
| _product( | |
| 1001, | |
| "aureline-professional-36-in-french-door-refrigerator", | |
| "Aureline Professional 36-in French Door Refrigerator (Fingerprint-Resistant Steel)", | |
| "Aureline", | |
| "appliances", | |
| 299900, | |
| was_cents=349900, | |
| rating=4.7, | |
| review_count=1842, | |
| badge="LUXURY", | |
| model="AUR-FD36-PRO", | |
| keywords="refrigerator fridge french door counter depth kitchen appliance", | |
| stock=12, | |
| delivery_days=5, | |
| specs=( | |
| ("Capacity", "22.6 cu ft"), | |
| ("Width", "35.75 in"), | |
| ("Ice maker", "Dual, in-door"), | |
| ("Energy rating", "ENERGY STAR certified"), | |
| ), | |
| summary="Counter-depth French door refrigerator with a dual ice system and a full-width chill drawer.", | |
| ), | |
| _product( | |
| 1002, | |
| "aureline-professional-36-in-gas-range", | |
| "Aureline Professional 36-in 6-Burner Slide-In Gas Range", | |
| "Aureline", | |
| "appliances", | |
| 169900, | |
| was_cents=199900, | |
| rating=4.6, | |
| review_count=934, | |
| badge="LUXURY", | |
| model="AUR-GR36-PRO", | |
| keywords="range stove gas oven burner kitchen appliance", | |
| stock=9, | |
| delivery_days=5, | |
| specs=( | |
| ("Burners", "6 sealed"), | |
| ("Oven capacity", "5.6 cu ft"), | |
| ("Convection", "True European"), | |
| ("Fuel type", "Natural gas"), | |
| ), | |
| summary="Six-burner slide-in gas range with a true convection oven and continuous cast-iron grates.", | |
| ), | |
| _product( | |
| 1003, | |
| "aureline-24-in-top-control-dishwasher", | |
| "Aureline 24-in Top-Control Dishwasher (44 dBA)", | |
| "Aureline", | |
| "appliances", | |
| 74900, | |
| was_cents=89900, | |
| rating=4.5, | |
| review_count=2611, | |
| badge="SAVE 16%", | |
| model="AUR-DW24-Q", | |
| keywords="dishwasher kitchen appliance quiet stainless", | |
| stock=26, | |
| delivery_days=4, | |
| specs=( | |
| ("Sound rating", "44 dBA"), | |
| ("Place settings", "16"), | |
| ("Third rack", "Yes"), | |
| ("Finish", "Fingerprint-resistant steel"), | |
| ), | |
| summary="Quiet top-control dishwasher with a third rack and a two-hour normal cycle.", | |
| ), | |
| _product( | |
| 1004, | |
| "aureline-4-5-cu-ft-front-load-washer", | |
| "Aureline 4.5-cu ft High-Efficiency Front-Load Washer", | |
| "Aureline", | |
| "appliances", | |
| 84900, | |
| rating=4.4, | |
| review_count=1288, | |
| model="AUR-WF45", | |
| keywords="washer laundry front load high efficiency", | |
| stock=18, | |
| delivery_days=4, | |
| specs=(("Capacity", "4.5 cu ft"), ("Cycles", "12"), ("Steam", "Yes")), | |
| summary="High-efficiency front-load washer with a steam cycle and a 30-minute quick wash.", | |
| ), | |
| _product( | |
| 1005, | |
| "aureline-7-4-cu-ft-electric-dryer", | |
| "Aureline 7.4-cu ft Stackable Electric Dryer", | |
| "Aureline", | |
| "appliances", | |
| 79900, | |
| rating=4.3, | |
| review_count=1104, | |
| model="AUR-DE74", | |
| keywords="dryer laundry electric stackable", | |
| stock=17, | |
| delivery_days=4, | |
| specs=(("Capacity", "7.4 cu ft"), ("Sensor dry", "Yes"), ("Stackable", "Yes")), | |
| summary="Stackable electric dryer with sensor drying and a wrinkle-guard hold cycle.", | |
| ), | |
| _product( | |
| 1006, | |
| "northglen-1-6-cu-ft-over-the-range-microwave", | |
| "Northglen 1.6-cu ft Over-the-Range Microwave", | |
| "Northglen", | |
| "appliances", | |
| 27900, | |
| was_cents=32900, | |
| rating=4.2, | |
| review_count=766, | |
| model="NG-OTR16", | |
| keywords="microwave over the range kitchen appliance", | |
| stock=34, | |
| specs=(("Capacity", "1.6 cu ft"), ("Wattage", "1000 W"), ("Venting", "3-speed")), | |
| summary="Over-the-range microwave with a three-speed vent and a one-touch sensor reheat.", | |
| ), | |
| _product( | |
| 1101, | |
| "harborline-single-handle-pull-down-kitchen-faucet", | |
| "Harborline Single-Handle Pull-Down Kitchen Faucet (Spot-Resist Nickel)", | |
| "Harborline", | |
| "kitchen", | |
| 18900, | |
| was_cents=22900, | |
| rating=4.6, | |
| review_count=3420, | |
| badge="TOP SELLER", | |
| model="HL-KF210", | |
| keywords="faucet kitchen sink pull down single handle", | |
| stock=62, | |
| specs=(("Finish", "Spot-resist nickel"), ("Spray modes", "3"), ("Flow rate", "1.5 gpm")), | |
| summary="Pull-down kitchen faucet with a magnetic docking spray head and a ceramic disc valve.", | |
| ), | |
| _product( | |
| 1102, | |
| "harborline-33-in-undermount-stainless-kitchen-sink", | |
| "Harborline 33-in Undermount 16-Gauge Stainless Kitchen Sink", | |
| "Harborline", | |
| "kitchen", | |
| 29900, | |
| rating=4.5, | |
| review_count=1180, | |
| model="HL-KS33U", | |
| keywords="sink kitchen undermount stainless single bowl", | |
| stock=28, | |
| specs=(("Gauge", "16"), ("Bowl", "Single, 10-in deep"), ("Includes", "Grid and strainer")), | |
| summary="Sixteen-gauge undermount sink with sound-dampening pads and a bottom grid.", | |
| ), | |
| _product( | |
| 1103, | |
| "northglen-30-in-butcher-block-countertop", | |
| "Northglen 8-ft Unfinished Birch Butcher Block Countertop", | |
| "Northglen", | |
| "kitchen", | |
| 24900, | |
| was_cents=27900, | |
| rating=4.4, | |
| review_count=522, | |
| model="NG-BB96", | |
| keywords="countertop butcher block birch kitchen counter", | |
| stock=15, | |
| pickup_today=False, | |
| delivery_days=6, | |
| specs=(("Length", "96 in"), ("Depth", "25 in"), ("Finish", "Unfinished")), | |
| summary="Edge-grain birch block that can be cut, sanded and sealed on site.", | |
| ), | |
| _product( | |
| 1201, | |
| "ridgeforge-20-volt-max-cordless-drill-driver-kit", | |
| "RidgeForge 20-Volt Max 1/2-in Cordless Drill/Driver Kit (2 Batteries)", | |
| "RidgeForge", | |
| "tools", | |
| 14900, | |
| was_cents=19900, | |
| rating=4.8, | |
| review_count=8421, | |
| badge="TOP SELLER", | |
| model="RF-DD20K", | |
| keywords="cordless drill driver 20 volt battery power tool kit", | |
| stock=140, | |
| specs=( | |
| ("Voltage", "20V max"), | |
| ("Chuck", "1/2-in keyless"), | |
| ("Speed", "0-450 / 0-1,800 RPM"), | |
| ("Includes", "2 batteries, charger, bag"), | |
| ), | |
| summary="Two-speed brushless drill/driver with an LED work light and a belt hook.", | |
| ), | |
| _product( | |
| 1202, | |
| "ridgeforge-20-volt-max-cordless-impact-driver", | |
| "RidgeForge 20-Volt Max 1/4-in Brushless Cordless Impact Driver (Tool Only)", | |
| "RidgeForge", | |
| "tools", | |
| 9900, | |
| rating=4.7, | |
| review_count=3355, | |
| model="RF-ID20", | |
| keywords="impact driver cordless brushless 20 volt power tool", | |
| stock=118, | |
| specs=(("Torque", "1,800 in-lb"), ("Speed", "0-3,200 RPM"), ("Battery", "Sold separately")), | |
| summary="Compact brushless impact driver with three speed settings and a one-handed bit collar.", | |
| ), | |
| _product( | |
| 1203, | |
| "ridgeforge-7-1-4-in-circular-saw", | |
| "RidgeForge 15-Amp 7-1/4-in Corded Circular Saw", | |
| "RidgeForge", | |
| "tools", | |
| 7900, | |
| was_cents=9900, | |
| rating=4.5, | |
| review_count=1902, | |
| model="RF-CS714", | |
| keywords="circular saw corded 7 1/4 power tool cutting", | |
| stock=74, | |
| specs=(("Motor", "15 amp"), ("Bevel", "0-56 degrees"), ("Blade", "24-tooth carbide")), | |
| summary="Fifteen-amp circular saw with an electric brake and a cast aluminum shoe.", | |
| ), | |
| _product( | |
| 1204, | |
| "ridgeforge-6-gallon-wet-dry-shop-vacuum", | |
| "RidgeForge 6-Gallon 3.5-Peak-HP Wet/Dry Shop Vacuum", | |
| "RidgeForge", | |
| "tools", | |
| 6900, | |
| rating=4.4, | |
| review_count=2740, | |
| model="RF-WD6", | |
| keywords="vacuum shop vac wet dry cleaning", | |
| stock=96, | |
| specs=(("Capacity", "6 gal"), ("Peak HP", "3.5"), ("Hose", "7-ft x 1-7/8-in")), | |
| summary="Portable wet/dry vacuum with a blower port and onboard accessory storage.", | |
| ), | |
| _product( | |
| 1205, | |
| "ridgeforge-25-ft-tape-measure-2-pack", | |
| "RidgeForge 25-ft Auto-Lock Tape Measure (2-Pack)", | |
| "RidgeForge", | |
| "tools", | |
| 2400, | |
| was_cents=2900, | |
| rating=4.6, | |
| review_count=4110, | |
| model="RF-TM25X2", | |
| keywords="tape measure hand tool measuring 25 ft", | |
| stock=210, | |
| specs=(("Length", "25 ft"), ("Blade width", "1-1/16 in"), ("Standout", "11 ft")), | |
| summary="Auto-locking tape measures with a nylon-coated blade and a two-sided hook.", | |
| ), | |
| _product( | |
| 1206, | |
| "ridgeforge-232-piece-mechanics-tool-set", | |
| "RidgeForge 232-Piece Mechanics Tool Set with Case", | |
| "RidgeForge", | |
| "tools", | |
| 16900, | |
| was_cents=21900, | |
| rating=4.7, | |
| review_count=1466, | |
| badge="SAVE 22%", | |
| model="RF-MT232", | |
| keywords="tool set mechanics sockets ratchet wrench hand tools", | |
| stock=41, | |
| specs=(("Pieces", "232"), ("Drive sizes", "1/4, 3/8, 1/2 in"), ("Case", "Blow-molded")), | |
| summary="Mechanics set with 72-tooth ratchets, deep and shallow sockets and combination wrenches.", | |
| ), | |
| _product( | |
| 1301, | |
| "greenfield-21-in-self-propelled-lawn-mower", | |
| "Greenfield 21-in 3-in-1 Self-Propelled Gas Lawn Mower", | |
| "Greenfield", | |
| "lawn-garden", | |
| 44900, | |
| was_cents=49900, | |
| rating=4.5, | |
| review_count=2130, | |
| badge="SAVE 10%", | |
| model="GF-LM21SP", | |
| keywords="lawn mower self propelled gas mowing yard grass", | |
| stock=22, | |
| delivery_days=4, | |
| specs=(("Cut width", "21 in"), ("Engine", "159 cc"), ("Modes", "Mulch, bag, side discharge")), | |
| summary="Self-propelled mower with a variable-speed rear drive and a single-lever height adjust.", | |
| ), | |
| _product( | |
| 1302, | |
| "greenfield-40-volt-cordless-string-trimmer", | |
| "Greenfield 40-Volt 15-in Cordless String Trimmer", | |
| "Greenfield", | |
| "lawn-garden", | |
| 17900, | |
| rating=4.3, | |
| review_count=888, | |
| model="GF-ST40", | |
| keywords="string trimmer weed eater cordless battery yard", | |
| stock=57, | |
| specs=(("Cut width", "15 in"), ("Battery", "40V, 2.5 Ah"), ("Line feed", "Bump")), | |
| summary="Battery string trimmer with a variable-speed trigger and a straight shaft.", | |
| ), | |
| _product( | |
| 1303, | |
| "greenfield-2-cu-ft-all-purpose-garden-soil", | |
| "Greenfield 2-cu ft All-Purpose Garden Soil", | |
| "Greenfield", | |
| "lawn-garden", | |
| 1098, | |
| rating=4.2, | |
| review_count=3401, | |
| model="GF-GS2", | |
| keywords="garden soil potting mix planting lawn dirt", | |
| stock=480, | |
| free_delivery=False, | |
| delivery_days=2, | |
| specs=(("Volume", "2 cu ft"), ("Use", "In-ground beds"), ("Feeds", "Up to 3 months")), | |
| summary="All-purpose bagged soil blend for in-ground beds and raised planters.", | |
| ), | |
| _product( | |
| 1304, | |
| "greenfield-6-ft-cedar-fence-picket", | |
| "Greenfield 6-ft Natural Cedar Dog-Ear Fence Picket", | |
| "Greenfield", | |
| "outdoor-living", | |
| 998, | |
| rating=4.1, | |
| review_count=1502, | |
| model="GF-CP6", | |
| keywords="fence picket cedar outdoor yard privacy", | |
| stock=900, | |
| free_delivery=False, | |
| delivery_days=2, | |
| specs=(("Height", "6 ft"), ("Species", "Western red cedar"), ("Profile", "Dog-ear")), | |
| summary="Rough-sawn cedar picket for privacy and shadowbox fence runs.", | |
| ), | |
| _product( | |
| 1305, | |
| "harborline-4-piece-outdoor-conversation-set", | |
| "Harborline 4-Piece Steel Outdoor Conversation Set with Cushions", | |
| "Harborline", | |
| "outdoor-living", | |
| 59900, | |
| was_cents=79900, | |
| rating=4.4, | |
| review_count=612, | |
| badge="SAVE 25%", | |
| model="HL-PC4", | |
| keywords="patio furniture conversation set outdoor seating cushions", | |
| stock=14, | |
| pickup_today=False, | |
| delivery_days=7, | |
| specs=(("Seats", "4"), ("Frame", "Powder-coated steel"), ("Cushions", "Olefin, fade-resistant")), | |
| summary="Loveseat, two chairs and a slat-top table with weather-resistant cushions.", | |
| ), | |
| _product( | |
| 1401, | |
| "sureset-80-lb-high-strength-concrete-mix", | |
| "SureSet 80-lb High-Strength Concrete Mix", | |
| "SureSet", | |
| "building-supplies", | |
| 698, | |
| rating=4.5, | |
| review_count=5290, | |
| badge="TOP SELLER", | |
| model="SS-CM80", | |
| keywords="quikrete concrete mix cement bag building post setting", | |
| stock=1200, | |
| free_delivery=False, | |
| delivery_days=2, | |
| specs=(("Weight", "80 lb"), ("Strength", "4,000 psi"), ("Yield", "0.6 cu ft")), | |
| summary="General-purpose 4,000 psi concrete mix for slabs, footings and setting posts.", | |
| ), | |
| _product( | |
| 1402, | |
| "sureset-4-ft-x-8-ft-sanded-plywood", | |
| "SureSet 3/4-in x 4-ft x 8-ft Sanded Pine Plywood", | |
| "SureSet", | |
| "building-supplies", | |
| 6498, | |
| was_cents=7298, | |
| rating=4.2, | |
| review_count=1044, | |
| model="SS-PLY34", | |
| keywords="plywood sheet goods lumber sanded pine building", | |
| stock=180, | |
| free_delivery=False, | |
| delivery_days=3, | |
| specs=(("Thickness", "3/4 in"), ("Panel", "4 ft x 8 ft"), ("Grade", "Sanded BC")), | |
| summary="Sanded pine panel for cabinets, shelving and subfloor repairs.", | |
| ), | |
| _product( | |
| 1403, | |
| "sureset-2-in-x-4-in-x-8-ft-stud", | |
| "SureSet 2-in x 4-in x 8-ft Kiln-Dried Framing Stud", | |
| "SureSet", | |
| "building-supplies", | |
| 498, | |
| rating=4.0, | |
| review_count=2870, | |
| model="SS-STUD8", | |
| keywords="lumber stud framing 2x4 building wood", | |
| stock=2400, | |
| free_delivery=False, | |
| delivery_days=2, | |
| specs=(("Nominal size", "2 in x 4 in"), ("Length", "8 ft"), ("Treatment", "Kiln dried")), | |
| summary="Kiln-dried framing stud for interior walls and general construction.", | |
| ), | |
| _product( | |
| 1501, | |
| "oakmere-vinyl-plank-flooring-24-sq-ft", | |
| "Oakmere Weathered Oak 7-in Waterproof Vinyl Plank Flooring (24.5-sq ft/carton)", | |
| "Oakmere", | |
| "flooring", | |
| 4498, | |
| was_cents=5298, | |
| rating=4.6, | |
| review_count=3960, | |
| badge="TOP SELLER", | |
| model="OM-VP7", | |
| keywords="vinyl floor plank flooring waterproof luxury lvp oak", | |
| stock=320, | |
| free_delivery=False, | |
| delivery_days=3, | |
| specs=(("Coverage", "24.5 sq ft/carton"), ("Wear layer", "12 mil"), ("Install", "Click-lock floating")), | |
| summary="Rigid-core waterproof plank with an attached underlayment and a 25-year residential warranty.", | |
| ), | |
| _product( | |
| 1502, | |
| "oakmere-12-mm-laminate-flooring", | |
| "Oakmere Smoked Hickory 12-mm Water-Resistant Laminate Flooring (17.9-sq ft/carton)", | |
| "Oakmere", | |
| "flooring", | |
| 3898, | |
| rating=4.3, | |
| review_count=1421, | |
| model="OM-LM12", | |
| keywords="laminate flooring hickory wood look floor", | |
| stock=260, | |
| free_delivery=False, | |
| delivery_days=3, | |
| specs=(("Coverage", "17.9 sq ft/carton"), ("Thickness", "12 mm"), ("AC rating", "AC4")), | |
| summary="Embossed laminate plank with a water-resistant core and painted bevels.", | |
| ), | |
| _product( | |
| 1503, | |
| "oakmere-12-in-x-24-in-porcelain-tile", | |
| "Oakmere Carrara 12-in x 24-in Matte Porcelain Floor and Wall Tile", | |
| "Oakmere", | |
| "flooring", | |
| 298, | |
| rating=4.4, | |
| review_count=980, | |
| model="OM-PT1224", | |
| keywords="tile porcelain floor wall bathroom kitchen marble look", | |
| stock=1600, | |
| free_delivery=False, | |
| delivery_days=3, | |
| specs=(("Size", "12 in x 24 in"), ("Finish", "Matte"), ("PEI rating", "4")), | |
| summary="Rectified porcelain tile with a marble-look glaze for floors, walls and shower surrounds.", | |
| ), | |
| _product( | |
| 1601, | |
| "lumenarc-52-in-indoor-ceiling-fan-with-light", | |
| "Lumenarc Wexford 52-in Brushed Nickel LED Indoor Ceiling Fan with Remote", | |
| "Lumenarc", | |
| "lighting", | |
| 16900, | |
| was_cents=19900, | |
| rating=4.5, | |
| review_count=2288, | |
| badge="SAVE 15%", | |
| model="LA-CF52", | |
| keywords="ceiling fan light led indoor remote fan", | |
| stock=48, | |
| specs=(("Blade span", "52 in"), ("Speeds", "6, reversible"), ("Light", "Integrated LED, dimmable")), | |
| summary="Reversible DC-motor fan with a dimmable LED light kit and a handheld remote.", | |
| ), | |
| _product( | |
| 1602, | |
| "lumenarc-3-light-brushed-brass-vanity-light", | |
| "Lumenarc 3-Light Brushed Brass Bathroom Vanity Light", | |
| "Lumenarc", | |
| "lighting", | |
| 8900, | |
| rating=4.4, | |
| review_count=740, | |
| model="LA-VL3", | |
| keywords="vanity light bathroom fixture brass 3 light", | |
| stock=63, | |
| specs=(("Lights", "3"), ("Width", "24 in"), ("Bulb base", "E26, not included")), | |
| summary="Three-light vanity bar that mounts up or down over a standard junction box.", | |
| ), | |
| _product( | |
| 1603, | |
| "lumenarc-60-watt-equivalent-a19-led-bulb-8-pack", | |
| "Lumenarc 60-Watt-Equivalent A19 Soft White LED Light Bulb (8-Pack)", | |
| "Lumenarc", | |
| "lighting", | |
| 1498, | |
| was_cents=1898, | |
| rating=4.6, | |
| review_count=6120, | |
| model="LA-A19X8", | |
| keywords="light bulb led a19 soft white pack lighting", | |
| stock=520, | |
| specs=(("Brightness", "800 lumens"), ("Color", "2700K soft white"), ("Life", "13 years rated")), | |
| summary="Dimmable A19 LEDs rated for enclosed fixtures and damp locations.", | |
| ), | |
| _product( | |
| 1701, | |
| "harborline-1-piece-elongated-dual-flush-toilet", | |
| "Harborline 1-Piece Elongated Dual-Flush Toilet (White)", | |
| "Harborline", | |
| "bathroom", | |
| 34900, | |
| was_cents=39900, | |
| rating=4.5, | |
| review_count=1310, | |
| model="HL-T1DF", | |
| keywords="toilet bathroom dual flush elongated one piece", | |
| stock=24, | |
| delivery_days=5, | |
| specs=(("Flush", "1.1 / 1.6 gpf"), ("Height", "Comfort, 17 in"), ("Seat", "Soft-close included")), | |
| summary="Skirted one-piece toilet with a glazed trapway and a soft-close seat.", | |
| ), | |
| _product( | |
| 1702, | |
| "harborline-60-in-x-32-in-alcove-shower-kit", | |
| "Harborline 60-in x 32-in White Alcove Shower Wall and Base Kit", | |
| "Harborline", | |
| "bathroom", | |
| 69900, | |
| rating=4.2, | |
| review_count=402, | |
| model="HL-SH6032", | |
| keywords="shower kit alcove base wall bathroom remodel", | |
| stock=11, | |
| pickup_today=False, | |
| delivery_days=8, | |
| specs=(("Size", "60 in x 32 in"), ("Material", "High-gloss acrylic"), ("Drain", "Left or right")), | |
| summary="Four-piece alcove kit with integrated shelves and a leak-resistant base flange.", | |
| ), | |
| _product( | |
| 1703, | |
| "harborline-30-in-bathroom-vanity-with-top", | |
| "Harborline Ashcroft 30-in Slate Bathroom Vanity with White Cultured Marble Top", | |
| "Harborline", | |
| "bathroom", | |
| 44900, | |
| was_cents=54900, | |
| rating=4.3, | |
| review_count=655, | |
| badge="SAVE 18%", | |
| model="HL-VN30", | |
| keywords="vanity bathroom cabinet sink top 30 in", | |
| stock=19, | |
| pickup_today=False, | |
| delivery_days=6, | |
| specs=(("Width", "30 in"), ("Top", "Cultured marble with backsplash"), ("Assembly", "Fully assembled")), | |
| summary="Soft-close vanity with a preassembled cabinet and a single-hole cultured marble top.", | |
| ), | |
| _product( | |
| 1801, | |
| "primerock-interior-paint-and-primer-1-gallon", | |
| "PrimeRock Interior Eggshell Paint and Primer, 1 Gallon (Base 1, Tintable)", | |
| "PrimeRock", | |
| "paint", | |
| 4298, | |
| was_cents=4798, | |
| rating=4.5, | |
| review_count=4880, | |
| badge="TOP SELLER", | |
| model="PR-INT1", | |
| keywords="paint interior primer gallon eggshell wall painting", | |
| stock=340, | |
| specs=(("Coverage", "400 sq ft/gal"), ("Sheen", "Eggshell"), ("Base", "Tintable base 1")), | |
| summary="Low-VOC interior paint and primer with a one-coat scrubbable finish.", | |
| ), | |
| _product( | |
| 1802, | |
| "primerock-exterior-flat-paint-5-gallon", | |
| "PrimeRock Exterior Flat Paint and Primer, 5 Gallon (Base 1, Tintable)", | |
| "PrimeRock", | |
| "paint", | |
| 17998, | |
| rating=4.4, | |
| review_count=1122, | |
| model="PR-EXT5", | |
| keywords="paint exterior 5 gallon flat siding painting", | |
| stock=88, | |
| free_delivery=False, | |
| delivery_days=4, | |
| specs=(("Coverage", "2,000 sq ft"), ("Sheen", "Flat"), ("Warranty", "Lifetime limited")), | |
| summary="Exterior acrylic paint and primer with mildew-resistant film protection.", | |
| ), | |
| _product( | |
| 1803, | |
| "primerock-9-piece-paint-roller-kit", | |
| "PrimeRock 9-Piece Paint Roller and Tray Kit", | |
| "PrimeRock", | |
| "paint", | |
| 1798, | |
| rating=4.3, | |
| review_count=2210, | |
| model="PR-RK9", | |
| keywords="paint roller kit tray brush supplies painting", | |
| stock=290, | |
| specs=(("Pieces", "9"), ("Roller", "9-in, 3/8-in nap"), ("Includes", "Tray, liner, brush")), | |
| summary="Roller, frame, tray, liner and an angled sash brush for a full room repaint.", | |
| ), | |
| _product( | |
| 1901, | |
| "harborline-40-gallon-electric-water-heater", | |
| "Harborline 40-Gallon Tall 4500-Watt Electric Water Heater", | |
| "Harborline", | |
| "plumbing", | |
| 54900, | |
| was_cents=62900, | |
| rating=4.3, | |
| review_count=1490, | |
| model="HL-WH40E", | |
| keywords="water heater electric 40 gallon tank plumbing", | |
| stock=21, | |
| delivery_days=5, | |
| specs=(("Capacity", "40 gal"), ("Elements", "2 x 4,500 W"), ("Warranty", "6-year limited")), | |
| summary="Glass-lined electric tank with two 4,500-watt elements and a factory-installed T&P valve.", | |
| ), | |
| _product( | |
| 1902, | |
| "harborline-1-2-in-x-10-ft-pex-tubing", | |
| "Harborline 1/2-in x 10-ft Red PEX-B Water Tubing Stick", | |
| "Harborline", | |
| "plumbing", | |
| 898, | |
| rating=4.4, | |
| review_count=980, | |
| model="HL-PEX12", | |
| keywords="pex tubing pipe plumbing water supply", | |
| stock=460, | |
| free_delivery=False, | |
| delivery_days=2, | |
| specs=(("Diameter", "1/2 in"), ("Length", "10 ft"), ("Rating", "160 psi at 73F")), | |
| summary="Rigid PEX-B stick for straight runs behind finished walls.", | |
| ), | |
| _product( | |
| 1903, | |
| "harborline-1-3-hp-garbage-disposal", | |
| "Harborline 1/3-HP Continuous-Feed Garbage Disposal", | |
| "Harborline", | |
| "plumbing", | |
| 9900, | |
| was_cents=11900, | |
| rating=4.1, | |
| review_count=1760, | |
| model="HL-GD13", | |
| keywords="garbage disposal sink kitchen plumbing waste", | |
| stock=52, | |
| specs=(("Motor", "1/3 HP"), ("Grind stages", "2"), ("Cord", "Included")), | |
| summary="Continuous-feed disposal with galvanized grind components and a quick-lock mount.", | |
| ), | |
| _product( | |
| 2001, | |
| "voltway-15-amp-tamper-resistant-outlet-10-pack", | |
| "Voltway 15-Amp 125-Volt Tamper-Resistant Duplex Outlet, White (10-Pack)", | |
| "Voltway", | |
| "electrical", | |
| 1998, | |
| rating=4.6, | |
| review_count=3120, | |
| model="VW-OUT15X10", | |
| keywords="outlet receptacle electrical 15 amp tamper resistant", | |
| stock=380, | |
| specs=(("Amperage", "15 A"), ("Voltage", "125 V"), ("Listing", "UL listed")), | |
| summary="Residential-grade tamper-resistant receptacles with back and side wiring.", | |
| ), | |
| _product( | |
| 2002, | |
| "voltway-7500-watt-portable-inverter-generator", | |
| "Voltway 7,500-Watt Gas Portable Inverter Generator with Electric Start", | |
| "Voltway", | |
| "electrical", | |
| 89900, | |
| was_cents=109900, | |
| rating=4.4, | |
| review_count=530, | |
| badge="SAVE 18%", | |
| model="VW-GEN7500", | |
| keywords="generator inverter portable power backup electrical", | |
| stock=7, | |
| pickup_today=False, | |
| delivery_days=6, | |
| specs=(("Running watts", "6,000"), ("Starting watts", "7,500"), ("Run time", "11 hr at 25% load")), | |
| summary="Electric-start inverter generator with a CO shutoff sensor and parallel-ready outlets.", | |
| ), | |
| _product( | |
| 2003, | |
| "voltway-smart-programmable-thermostat", | |
| "Voltway Smart Programmable Wi-Fi Thermostat (Local Control Only in This Clone)", | |
| "Voltway", | |
| "electrical", | |
| 12900, | |
| rating=4.2, | |
| review_count=1408, | |
| model="VW-TS100", | |
| keywords="thermostat smart programmable heating cooling hvac", | |
| stock=76, | |
| specs=(("Display", "2.4-in color"), ("Compatibility", "24 V systems"), ("C-wire", "Required")), | |
| summary="Seven-day programmable thermostat; this offline clone exposes no network pairing.", | |
| ), | |
| _product( | |
| 2101, | |
| "ironvale-entry-door-handleset-with-deadbolt", | |
| "Ironvale Satin Nickel Entry Door Handleset with Single-Cylinder Deadbolt", | |
| "Ironvale", | |
| "hardware", | |
| 11900, | |
| was_cents=13900, | |
| rating=4.5, | |
| review_count=1240, | |
| model="IV-HS100", | |
| keywords="door handleset deadbolt lock hardware entry knob", | |
| stock=84, | |
| specs=(("Finish", "Satin nickel"), ("Grade", "ANSI Grade 2"), ("Keyway", "Re-keyable")), | |
| summary="Handleset and deadbolt keyed alike, with an adjustable 2-3/8-in to 2-3/4-in backset.", | |
| ), | |
| _product( | |
| 2102, | |
| "ironvale-heavy-duty-garage-storage-rack", | |
| "Ironvale 4-Tier Heavy-Duty Steel Garage Storage Rack (72-in)", | |
| "Ironvale", | |
| "hardware", | |
| 13900, | |
| rating=4.6, | |
| review_count=2050, | |
| model="IV-GR72", | |
| keywords="storage rack shelving garage steel organization", | |
| stock=64, | |
| free_delivery=False, | |
| delivery_days=3, | |
| specs=(("Shelves", "4"), ("Capacity", "1,000 lb per shelf"), ("Assembly", "Boltless")), | |
| summary="Boltless wire-deck rack that adjusts on 1-1/2-in centers without tools.", | |
| ), | |
| _product( | |
| 2201, | |
| "clearview-36-in-x-80-in-fiberglass-entry-door", | |
| "ClearView 36-in x 80-in Fiberglass Half-Lite Prehung Entry Door (Right-Hand Inswing)", | |
| "ClearView", | |
| "doors-windows", | |
| 79900, | |
| was_cents=94900, | |
| rating=4.3, | |
| review_count=318, | |
| badge="SAVE 15%", | |
| model="CV-ED3680", | |
| keywords="entry door fiberglass prehung exterior doors windows", | |
| stock=8, | |
| pickup_today=False, | |
| delivery_days=9, | |
| specs=(("Size", "36 in x 80 in"), ("Swing", "Right-hand inswing"), ("Glass", "Low-E half lite")), | |
| summary="Prehung fiberglass entry door with an adjustable sill and a composite frame.", | |
| ), | |
| _product( | |
| 2202, | |
| "clearview-double-hung-vinyl-replacement-window", | |
| "ClearView 32-in x 54-in White Vinyl Double-Hung Replacement Window", | |
| "ClearView", | |
| "doors-windows", | |
| 29900, | |
| rating=4.2, | |
| review_count=506, | |
| model="CV-DH3254", | |
| keywords="window vinyl double hung replacement doors windows", | |
| stock=26, | |
| pickup_today=False, | |
| delivery_days=7, | |
| specs=(("Size", "32 in x 54 in"), ("Glass", "Double-pane Low-E argon"), ("Tilt-in sashes", "Yes")), | |
| summary="Insulated double-hung window with tilt-in sashes and a fusion-welded frame.", | |
| ), | |
| ] | |
| # The routes recorded in the Playwright route inventory need catalog rows of | |
| # their own so ``/pd/<slug>/<id>`` and ``/configure/blinds/<slug>/<id>`` resolve | |
| # against the same owner-scoped cart, checkout and order tables as every other | |
| # product. Those rows live in ``inventory_catalog`` with their own provenance | |
| # note; they are appended here rather than inlined so the two corpora stay | |
| # separately auditable. | |
| PRODUCTS.extend(inventory_catalog.PRODUCTS) | |
| # Home-page deal rail: ids in the order the home page renders them. | |
| HOME_DEAL_IDS = [1001, 1002, 1003, 1201, 1301, 1501, 1601, 1801] | |
| HOME_TOP_SELLER_IDS = [1101, 1205, 1401, 1902, 2101, 1603, 1204, 1802] | |