Download tasks/lowes/solution/site/implementation/clone/landing.py from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 46.4 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/lowes/solution/site/implementation/clone/landing.py
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/lowes/solution/site/implementation/clone/landing.py
-
curl -L -o landing.py https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/lowes/solution/site/implementation/clone/landing.py
46.4 kB
| """Route-specific content for the source ``/l/...`` landing families. | |
| Provenance boundary: the Playwright probe in | |
| ``source-current/playwright-route-inventory-20260821/all-links-probe.json`` | |
| recorded ``Access Denied`` for every path in this table, so no source heading, | |
| copy, image or layout was observed. Each entry is therefore clone-authored | |
| around what the route's own URL names, and each page carries | |
| :data:`SOURCE_RESTRICTED_NOTE` so a reader is never told this is an accepted | |
| reproduction of the Lowe's page. | |
| What the table does guarantee is that the routes are real: every path gets its | |
| own document title, its own heading, its own copy, its own highlight cards and | |
| its own local destinations. There is no shared placeholder body. | |
| """ | |
| from __future__ import annotations | |
| from dataclasses import dataclass, field | |
| SOURCE_RESTRICTED_NOTE = ( | |
| "The Lowe's page at this path answered Access Denied to the recorded " | |
| "Playwright session, so this route is reconstructed locally from its own URL " | |
| "and is not offered as a visual match for the source page." | |
| ) | |
| # (query, category_id, sort) for an optional product strip. Empty tuple = none. | |
| CatalogScope = tuple[str, str, str] | |
| class Landing: | |
| """One source landing route rendered from local content only.""" | |
| family: str | |
| title: str | |
| heading: str | |
| intro: str | |
| highlights: tuple[tuple[str, str], ...] = () | |
| facts: tuple[tuple[str, str], ...] = () | |
| actions: tuple[tuple[str, str], ...] = () | |
| catalog: CatalogScope | tuple[()] = () | |
| catalog_heading: str = "" | |
| trail: tuple[tuple[str, str], ...] = field(default_factory=tuple) | |
| HELP_TRAIL = (("Home", "/"), ("Customer Service", "/l/help")) | |
| ABOUT_TRAIL = (("Home", "/"), ("About Lowe's", "/l/about/how-we-help")) | |
| PRO_TRAIL = (("Home", "/"), ("Lowe's for Pros", "/l/Pro")) | |
| SAVINGS_TRAIL = (("Home", "/"), ("Savings", "/l/savings")) | |
| SHOP_TRAIL = (("Home", "/"), ("Shop", "/l/shop/lowes-brands")) | |
| ROOT_TRAIL = (("Home", "/"),) | |
| LANDING_PAGES: dict[str, Landing] = { | |
| # ----------------------------------------------------------------------- | |
| # /l/help | |
| # ----------------------------------------------------------------------- | |
| "/l/help": Landing( | |
| family="Customer Service", | |
| title="Customer Service and Help Center | Lowe's", | |
| heading="Customer Service", | |
| intro=( | |
| "Every help topic below is answered by this offline clone itself. " | |
| "Nothing on this page opens a chat queue, a phone line, or a Lowe's " | |
| "service system." | |
| ), | |
| highlights=( | |
| ("Returns", "90-day returns on most local demo items, with the exceptions listed on the returns page."), | |
| ("Shipping and delivery", "Parcel, truck and appliance delivery windows used by the local checkout estimate."), | |
| ("Protection plans", "How the local clone represents an add-on plan on an eligible order."), | |
| ("Rebates", "Where a local rebate offer would appear and what a submission would need."), | |
| ("Recalls and safety", "How a recall notice is surfaced against the local catalog."), | |
| ("Special orders", "What happens when an item is quoted rather than stocked."), | |
| ), | |
| facts=( | |
| ("Help scope", "Local clone only"), | |
| ("Contact channels", "None — no chat, phone or email leaves this process"), | |
| ("Order lookup", "Local orders placed in this browser session"), | |
| ), | |
| actions=( | |
| ("Check order status", "/mylowes/orders/checkorderstatus"), | |
| ("Returns policy", "/l/help/returns-policy"), | |
| ("Shipping and delivery", "/l/help/shipping-delivery"), | |
| ("Rebate center", "/l/help/rebate-center"), | |
| ("Recalls and product safety", "/l/help/recalls-and-product-safety"), | |
| ("Special orders", "/l/help/special-orders"), | |
| ("Lowe's protection plans", "/l/help/lowes-protection-plan"), | |
| ), | |
| trail=HELP_TRAIL, | |
| ), | |
| "/l/help/lowes-protection-plan": Landing( | |
| family="Customer Service", | |
| title="Lowe's Protection Plans | Lowe's", | |
| heading="Lowe's Protection Plans", | |
| intro=( | |
| "A protection plan is an optional add-on tied to one purchased item. " | |
| "In this clone the plan is descriptive only: the local sandbox " | |
| "checkout records the item, never a plan contract or a premium." | |
| ), | |
| highlights=( | |
| ("3-year major appliance plan", "Covers mechanical and electrical failure after the manufacturer term ends."), | |
| ("4-year outdoor power plan", "Adds power-surge coverage and one annual maintenance visit."), | |
| ("2-year tool plan", "Covers hand-carried tools bought in the same transaction."), | |
| ), | |
| facts=( | |
| ("Enrolment window", "At checkout or within 30 days of the order"), | |
| ("Local behaviour", "Displayed only; no plan row is written to the local database"), | |
| ("Claims", "Not modelled in this clone"), | |
| ), | |
| actions=( | |
| ("Back to Customer Service", "/l/help"), | |
| ("Shop appliances", "/c/Appliances"), | |
| ("Check order status", "/mylowes/orders/checkorderstatus"), | |
| ), | |
| trail=HELP_TRAIL, | |
| ), | |
| "/l/help/rebate-center": Landing( | |
| family="Customer Service", | |
| title="Rebate Center | Lowe's", | |
| heading="Rebate Center", | |
| intro=( | |
| "Manufacturer and utility rebates are submitted after a purchase and " | |
| "paid by the issuer, not by the retailer. This clone shows where such " | |
| "an offer would appear; it cannot submit one, because a submission " | |
| "would leave the machine." | |
| ), | |
| highlights=( | |
| ("Find an offer", "Rebates are matched to an item's brand and model number."), | |
| ("Submit a claim", "A real claim needs the receipt, the model number and the purchase date."), | |
| ("Track a claim", "Issuers track by claim number, which this clone does not mint."), | |
| ), | |
| facts=( | |
| ("Typical window", "30 days from purchase"), | |
| ("Typical fulfilment", "6 to 8 weeks by the issuer"), | |
| ("Local behaviour", "No rebate is created, stored or submitted"), | |
| ), | |
| actions=( | |
| ("Back to Customer Service", "/l/help"), | |
| ("Coupons", "/l/savings/coupons"), | |
| ("Daily deals", "/l/savings/daily-deals"), | |
| ), | |
| trail=HELP_TRAIL, | |
| ), | |
| "/l/help/recalls-and-product-safety": Landing( | |
| family="Customer Service", | |
| title="Recalls and Product Safety | Lowe's", | |
| heading="Recalls and Product Safety", | |
| intro=( | |
| "A recall notice names the affected model numbers, the hazard and the " | |
| "remedy. This clone carries no recall data for real products and will " | |
| "not invent one; the page documents the surface instead." | |
| ), | |
| highlights=( | |
| ("What a notice contains", "Brand, model range, date range, hazard, remedy and how to stop using the item."), | |
| ("How to check an item", "Match the model number printed on the item's rating plate, not the marketing name."), | |
| ("Local catalog", "Every product in this clone is synthetic, so none of them can be under a real recall."), | |
| ), | |
| facts=( | |
| ("Recall records held", "0"), | |
| ("External lookups", "None — this clone never issues a remote request"), | |
| ("Authoritative source", "The manufacturer and the national regulator, not this demo"), | |
| ), | |
| actions=( | |
| ("Back to Customer Service", "/l/help"), | |
| ("Product safety at Lowe's", "/l/about/safe"), | |
| ("Returns policy", "/l/help/returns-policy"), | |
| ), | |
| trail=HELP_TRAIL, | |
| ), | |
| "/l/help/returns-policy": Landing( | |
| family="Customer Service", | |
| title="Returns Policy | Lowe's", | |
| heading="Returns Policy", | |
| intro=( | |
| "The returns rules below are the ones this clone's copy uses " | |
| "consistently across the order, cart and help surfaces. No return can " | |
| "actually be started here, because no real order exists." | |
| ), | |
| highlights=( | |
| ("Standard items", "90 days from the purchase date with proof of purchase."), | |
| ("Major appliances", "48 hours from delivery for damage or a wrong item."), | |
| ("Paint", "30 days, and a mistinted colour is corrected rather than refunded."), | |
| ("Holiday and seasonal", "Returned before the holiday it belongs to."), | |
| ), | |
| facts=( | |
| ("Proof of purchase", "Local order number from this browser session"), | |
| ("Refund method", "Not simulated — the local sandbox never charges"), | |
| ("Restocking fee", "None in this clone"), | |
| ), | |
| actions=( | |
| ("Back to Customer Service", "/l/help"), | |
| ("Check order status", "/mylowes/orders/checkorderstatus"), | |
| ("Shipping and delivery", "/l/help/shipping-delivery"), | |
| ), | |
| trail=HELP_TRAIL, | |
| ), | |
| "/l/help/shipping-delivery": Landing( | |
| family="Customer Service", | |
| title="Shipping and Delivery | Lowe's", | |
| heading="Shipping and Delivery", | |
| intro=( | |
| "These are the delivery rules the local checkout actually applies. " | |
| "The numbers below come from the same frozen table the cart total is " | |
| "computed from, so the page and the price agree." | |
| ), | |
| highlights=( | |
| ("Store pickup", "Free on every pickup-eligible item, held at the store you select."), | |
| ("Parcel shipping", "Free once the local subtotal reaches the free-delivery threshold."), | |
| ("Truck delivery", "Applied when a line is too bulky for parcel; the cart shows the fee before checkout."), | |
| ), | |
| facts=( | |
| ("Free parcel delivery from", "$45.00 subtotal"), | |
| ("Standard parcel fee", "$19.99"), | |
| ("Bulky delivery fee", "$79.99"), | |
| ("Pickup hold", "3 days"), | |
| ), | |
| actions=( | |
| ("Back to Customer Service", "/l/help"), | |
| ("View your cart", "/cart"), | |
| ("Returns policy", "/l/help/returns-policy"), | |
| ), | |
| trail=HELP_TRAIL, | |
| ), | |
| "/l/help/special-orders": Landing( | |
| family="Customer Service", | |
| title="Special Orders | Lowe's", | |
| heading="Special Orders", | |
| intro=( | |
| "A special order is quoted rather than picked from stock: a size, " | |
| "finish or configuration is built to the request. The blind " | |
| "configurator in this clone is the one surface that models that shape " | |
| "of order end to end." | |
| ), | |
| highlights=( | |
| ("Configured window treatments", "Choose width, height, mount, lift and opacity, then price it server-side."), | |
| ("Millwork and doors", "Quoted from measurements taken in the home; not modelled locally."), | |
| ("Special-order appliances", "Finishes outside the stocked range; not modelled locally."), | |
| ), | |
| facts=( | |
| ("Configurable locally", "Blinds and shades"), | |
| ("Quote basis", "Computed on the server from the frozen option table"), | |
| ("Deposit", "Never taken — the clone accepts no payment credential"), | |
| ), | |
| actions=( | |
| ("Configure a faux wood blind", "/configure/blinds/allen-roth-2-in-Slat-Width-20-in-x-36-in-Cordless-Smooth-White-Faux-Wood-Room-Darkening-Horizontal-Blinds/5015293435"), | |
| ("Configure a cellular shade", "/configure/blinds/allen-roth-Cordless-Cellular-Shade/5015737843"), | |
| ("Back to Customer Service", "/l/help"), | |
| ), | |
| trail=HELP_TRAIL, | |
| ), | |
| # ----------------------------------------------------------------------- | |
| # /l/about | |
| # ----------------------------------------------------------------------- | |
| "/l/about/download-apps": Landing( | |
| family="About Lowe's", | |
| title="Download the Lowe's Mobile Apps | Lowe's", | |
| heading="Download the Lowe's Apps", | |
| intro=( | |
| "The source page hands off to two app stores. This clone deliberately " | |
| "does not: an app-store link is a third-party destination, and every " | |
| "control here stays on this origin." | |
| ), | |
| highlights=( | |
| ("Shopping app", "Scan, search and check store stock from a phone."), | |
| ("Pro app", "Quotes, purchase history and job-account tools for a Pro account."), | |
| ("What you get here instead", "The same responsive layout, served locally at any viewport width."), | |
| ), | |
| facts=( | |
| ("App store links", "Intentionally omitted"), | |
| ("Mobile support", "The clone's own responsive breakpoints"), | |
| ("Push notifications", "Not modelled"), | |
| ), | |
| actions=( | |
| ("Browse on this device", "/"), | |
| ("MyLowe's Rewards", "/l/about/mylowes-rewards"), | |
| ("Lowe's for Pros", "/l/Pro"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/honor-our-military": Landing( | |
| family="About Lowe's", | |
| title="Military Discount Program | Lowe's", | |
| heading="Honor Our Military", | |
| intro=( | |
| "The military discount is an account benefit: eligibility is verified " | |
| "once and then applied at checkout. Verification is an identity check " | |
| "against an external service, so this clone describes it and stops " | |
| "there." | |
| ), | |
| highlights=( | |
| ("Who is eligible", "Active duty, reserve, retired and veteran service members, and their immediate family."), | |
| ("How it applies", "Enrolled on the account, then applied automatically to eligible purchases."), | |
| ("First responders", "A parallel benefit shown in this clone's account drawer."), | |
| ), | |
| facts=( | |
| ("Verification", "Not performed locally — no identity service is contacted"), | |
| ("Local discount applied", "None; the sandbox cart price is unchanged"), | |
| ("Where it appears", "The account drawer benefits list"), | |
| ), | |
| actions=( | |
| ("Open the account drawer", "/?account=open"), | |
| ("MyLowe's Rewards", "/l/about/mylowes-rewards"), | |
| ("How we help", "/l/about/how-we-help"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/how-we-help": Landing( | |
| family="About Lowe's", | |
| title="How We Help — Community and Impact | Lowe's", | |
| heading="How We Help", | |
| intro=( | |
| "This is the company's community and impact hub. It is the one " | |
| "About-family page that is purely editorial, so the clone reproduces " | |
| "its role as a hub without asserting any specific programme, figure " | |
| "or partner." | |
| ), | |
| highlights=( | |
| ("Community projects", "Local builds and repairs run with community partners."), | |
| ("Disaster relief", "Supplies and volunteer crews mobilised after severe weather."), | |
| ("Skilled trades", "Training routes into the trades for people entering the workforce."), | |
| ), | |
| facts=( | |
| ("Figures quoted", "None — this clone publishes no impact statistics"), | |
| ("Partners named", "None"), | |
| ("Donations", "Not accepted; the clone takes no payment"), | |
| ), | |
| actions=( | |
| ("Honor our military", "/l/about/honor-our-military"), | |
| ("Suppliers", "/l/about/suppliers"), | |
| ("Store services", "/l/about/store-services"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/lowes-marketplace": Landing( | |
| family="About Lowe's", | |
| title="Lowe's Marketplace | Lowe's", | |
| heading="Lowe's Marketplace", | |
| intro=( | |
| "Marketplace items are sold by third-party sellers and fulfilled by " | |
| "them, which changes returns, delivery and support. The local catalog " | |
| "has one seller — this clone — so marketplace items are described " | |
| "rather than listed." | |
| ), | |
| highlights=( | |
| ("Sold and shipped by the seller", "The seller name appears on the item, the cart line and the order."), | |
| ("Returns", "Handled under the seller's window rather than the standard 90 days."), | |
| ("Become a seller", "An application flow; not modelled locally."), | |
| ), | |
| facts=( | |
| ("Marketplace sellers in this clone", "0"), | |
| ("Catalog ownership", "Single synthetic seller"), | |
| ("Seller onboarding", "Not modelled"), | |
| ), | |
| actions=( | |
| ("Shop the local catalog", "/search"), | |
| ("Returns policy", "/l/help/returns-policy"), | |
| ("Suppliers", "/l/about/suppliers"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/mylowes-rewards": Landing( | |
| family="About Lowe's", | |
| title="MyLowe's Rewards | Lowe's", | |
| heading="MyLowe's Rewards", | |
| intro=( | |
| "MyLowe's Rewards is the free loyalty tier attached to an account. " | |
| "This clone creates and verifies accounts locally, so the tier is " | |
| "shown against a real local session — but no points balance is ever " | |
| "earned or spent." | |
| ), | |
| highlights=( | |
| ("Join free", "Create a local account from the header and the tier is attached to that session."), | |
| ("Earn on eligible purchases", "Described only; the local sandbox order records no points."), | |
| ("Member delivery offers", "Free delivery and haul away on the appliance bundles shown on the home page."), | |
| ), | |
| facts=( | |
| ("Account creation", "Real, local, and verified from the local outbox"), | |
| ("Points ledger", "Not modelled"), | |
| ("Tier upgrades", "Not modelled"), | |
| ), | |
| actions=( | |
| ("Create a local account", "/?account=open"), | |
| ("Home Care membership", "/l/about/mylowes-rewards-homecare"), | |
| ("Subscriptions", "/subscriptions"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/mylowes-rewards-homecare": Landing( | |
| family="About Lowe's", | |
| title="MyLowe's Rewards Home Care Membership | Lowe's", | |
| heading="MyLowe's Rewards Home Care", | |
| intro=( | |
| "Home Care is the paid membership tier layered on top of the free " | |
| "rewards account. Because it is a recurring charge, this clone will " | |
| "not sell it: the local sandbox has no subscription billing." | |
| ), | |
| highlights=( | |
| ("Annual membership", "A paid tier with delivery and service benefits."), | |
| ("Maintenance visits", "Seasonal home-maintenance appointments."), | |
| ("Why it is not purchasable here", "A recurring charge needs a real payment instrument, which this clone refuses by design."), | |
| ), | |
| facts=( | |
| ("Billing", "Not modelled; no recurring charge exists locally"), | |
| ("Free tier", "Available and functional"), | |
| ("Related local flow", "Repeat delivery on the subscriptions page"), | |
| ), | |
| actions=( | |
| ("Free MyLowe's Rewards", "/l/about/mylowes-rewards"), | |
| ("Subscriptions", "/subscriptions"), | |
| ("Home maintenance", "/l/shop/home-maintenance"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/privacy-and-security-statement": Landing( | |
| family="About Lowe's", | |
| title="Privacy and Security Statement | Lowe's", | |
| heading="Privacy and Security Statement", | |
| intro=( | |
| "This statement describes what the offline clone does, not what " | |
| "Lowe's does. It is deliberately narrow, because the clone's whole " | |
| "data surface is one local SQLite file." | |
| ), | |
| highlights=( | |
| ("What is stored", "A session row, an optional local account, cart lines and local sandbox orders."), | |
| ("What is never stored", "Card numbers, CVV, expiry, bank or wallet credentials — these are rejected before validation."), | |
| ("Where it goes", "Nowhere. The runtime makes no outbound request, and mail is written to a local outbox."), | |
| ), | |
| facts=( | |
| ("Session cookie", "Host-only, Secure, HttpOnly, from the generated runtime contract"), | |
| ("Verification codes", "Held in process memory; only a salted hash reaches the database"), | |
| ("Analytics and trackers", "None"), | |
| ), | |
| actions=( | |
| ("Terms and conditions of use", "/l/about/terms-and-conditions-of-use"), | |
| ("Product and store safety", "/l/about/safe"), | |
| ("Back to Customer Service", "/l/help"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/safe": Landing( | |
| family="About Lowe's", | |
| title="Product and Store Safety | Lowe's", | |
| heading="Product and Store Safety", | |
| intro=( | |
| "Safety information covers the store environment, safe handling of " | |
| "the products sold there, and how a hazard is reported. The clone " | |
| "reproduces the surface; it holds no real hazard data." | |
| ), | |
| highlights=( | |
| ("In the aisles", "Lifting help, powered-equipment demos and restricted areas."), | |
| ("Safe handling at home", "Ladders, power tools, treated lumber, paint and fuel storage."), | |
| ("Reporting a concern", "Reported to the manufacturer and the regulator, neither of which this clone contacts."), | |
| ), | |
| facts=( | |
| ("Hazard records held", "0"), | |
| ("Reporting channel", "Not available locally"), | |
| ("Related page", "Recalls and product safety"), | |
| ), | |
| actions=( | |
| ("Recalls and product safety", "/l/help/recalls-and-product-safety"), | |
| ("Store services", "/l/about/store-services"), | |
| ("Find a store", "/store/"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/store-services": Landing( | |
| family="About Lowe's", | |
| title="In-Store Services | Lowe's", | |
| heading="In-Store Services", | |
| intro=( | |
| "These are the counter services a store performs while you wait. " | |
| "None of them can be booked from this clone, which has no scheduling " | |
| "backend and no real store." | |
| ), | |
| highlights=( | |
| ("Key cutting", "Duplicate house and padlock keys at the hardware desk."), | |
| ("Paint colour matching", "Match a sample and mix it at the paint desk."), | |
| ("Blind and shade cutting", "Cut a stocked blind to a measured width in store."), | |
| ("Lumber and pipe cutting", "Rough cuts and threading at the building-materials desk."), | |
| ("Propane exchange", "Swap an empty cylinder at the front of the store."), | |
| ("Tool and truck rental", "Rented by the hour or day from the rental desk."), | |
| ), | |
| facts=( | |
| ("Booking", "Not available in this clone"), | |
| ("Store data", "Four synthetic stores back the local pickup selector"), | |
| ("Related local flow", "Store pickup at checkout"), | |
| ), | |
| actions=( | |
| ("Find a store", "/store/"), | |
| ("Tool rental", "/l/shop/rental"), | |
| ("Online paint store", "/l/shop/online-paint-store"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/suppliers": Landing( | |
| family="About Lowe's", | |
| title="Suppliers and Vendor Partners | Lowe's", | |
| heading="Suppliers", | |
| intro=( | |
| "The supplier hub is where vendors find onboarding, compliance and " | |
| "logistics requirements. It is a business-to-business surface with no " | |
| "shopping behaviour, and this clone treats it that way." | |
| ), | |
| highlights=( | |
| ("Becoming a supplier", "An application and compliance review; not modelled locally."), | |
| ("Logistics requirements", "Routing, labelling and appointment rules for inbound freight."), | |
| ("Existing vendor portals", "Authenticated third-party systems, deliberately not linked from here."), | |
| ), | |
| facts=( | |
| ("Supplier records held", "0"), | |
| ("Vendor portal links", "Intentionally omitted"), | |
| ("Catalog brands", "Invented for this clone; they name no real vendor"), | |
| ), | |
| actions=( | |
| ("Lowe's brands", "/b/lowesbrands"), | |
| ("Lowe's Marketplace", "/l/about/lowes-marketplace"), | |
| ("How we help", "/l/about/how-we-help"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| "/l/about/terms-and-conditions-of-use": Landing( | |
| family="About Lowe's", | |
| title="Terms and Conditions of Use | Lowe's", | |
| heading="Terms and Conditions of Use", | |
| intro=( | |
| "These terms govern this offline evaluation clone. They are not " | |
| "Lowe's terms and they create no relationship with Lowe's." | |
| ), | |
| highlights=( | |
| ("Purpose", "A local, offline reconstruction used for evaluation. It is not a store."), | |
| ("No transactions", "No order, payment, delivery, message or account at Lowe's is created by anything you do here."), | |
| ("Local data", "Everything you enter stays in this instance's SQLite file and is discarded on reset."), | |
| ), | |
| facts=( | |
| ("Operator", "The WebsiteBench offline-clone runtime"), | |
| ("Governing source terms", "Not reproduced — the source page was not accessible"), | |
| ("Reset", "Clears every local account, cart and order deterministically"), | |
| ), | |
| actions=( | |
| ("Privacy and security statement", "/l/about/privacy-and-security-statement"), | |
| ("Customer service", "/l/help"), | |
| ("Back to home", "/"), | |
| ), | |
| trail=ABOUT_TRAIL, | |
| ), | |
| # ----------------------------------------------------------------------- | |
| # credit, pro, install | |
| # ----------------------------------------------------------------------- | |
| "/l/Credit": Landing( | |
| family="Credit Center", | |
| title="Lowe's Credit Center | Lowe's", | |
| heading="Lowe's Credit Center", | |
| intro=( | |
| "The credit centre is where a card is applied for, managed and paid. " | |
| "All three are regulated financial actions, so this clone renders the " | |
| "surface and refuses the actions." | |
| ), | |
| highlights=( | |
| ("Consumer credit card", "Everyday purchase card with promotional financing offers."), | |
| ("Business account", "Purchase tracking and job-level reporting for a Pro account."), | |
| ("Manage and pay", "Handled by the card issuer's own portal, which this clone never opens."), | |
| ), | |
| facts=( | |
| ("Applications accepted", "None"), | |
| ("Card data accepted", "None — card-like fields are rejected before validation"), | |
| ("Issuer portal links", "Intentionally omitted"), | |
| ), | |
| actions=( | |
| ("Pro benefits", "/l/Pro/pro-benefits"), | |
| ("Savings and offers", "/l/savings"), | |
| ("Customer service", "/l/help"), | |
| ), | |
| trail=ROOT_TRAIL, | |
| ), | |
| "/l/Pro": Landing( | |
| family="Lowe's for Pros", | |
| title="Lowe's for Pros | Lowe's", | |
| heading="Lowe's for Pros", | |
| intro=( | |
| "The Pro hub collects the tools a trade account uses daily: volume " | |
| "pricing, job-level purchase history, rental and bulk delivery. This " | |
| "clone shows the hub and the local catalog behind it." | |
| ), | |
| highlights=( | |
| ("Pro account", "Job names on orders and a shared purchase history."), | |
| ("Volume pricing", "Quoted per job; not applied to the local sandbox cart."), | |
| ("Jobsite delivery", "Bulk delivery scheduled to a site rather than a home."), | |
| ("Tool rental", "Hourly and daily rental from the rental desk."), | |
| ), | |
| facts=( | |
| ("Pro account type", "Not modelled separately from a local account"), | |
| ("Local pricing", "Single synthetic price list"), | |
| ("Quotes", "Not modelled"), | |
| ), | |
| actions=( | |
| ("Pro benefits", "/l/Pro/pro-benefits"), | |
| ("Resources for Pros", "/l/Pro/resources-for-pros"), | |
| ("Tool rental", "/l/shop/rental"), | |
| ("Credit center", "/l/Credit"), | |
| ), | |
| catalog=("", "tools", "top-sellers"), | |
| catalog_heading="Tools Pros buy most in this catalog", | |
| trail=ROOT_TRAIL, | |
| ), | |
| "/l/Pro/pro-benefits": Landing( | |
| family="Lowe's for Pros", | |
| title="Pro Benefits | Lowe's for Pros", | |
| heading="Pro Benefits", | |
| intro=( | |
| "Benefits attach to a verified trade account. This clone verifies " | |
| "accounts locally but does not model a trade tier, so the benefits " | |
| "below are descriptive." | |
| ), | |
| highlights=( | |
| ("Bulk and volume savings", "Tiered pricing above a job-size threshold."), | |
| ("Dedicated Pro desk", "A staffed counter for quotes, will-call and returns."), | |
| ("Free delivery on qualifying orders", "Applied at the account level rather than per order."), | |
| ("Purchase tracking by job", "Orders tagged so a job's spend can be totalled."), | |
| ), | |
| facts=( | |
| ("Trade verification", "Not modelled"), | |
| ("Benefit applied to local totals", "None"), | |
| ("Local equivalent", "The standard local cart and checkout"), | |
| ), | |
| actions=( | |
| ("Lowe's for Pros", "/l/Pro"), | |
| ("Resources for Pros", "/l/Pro/resources-for-pros"), | |
| ("Credit center", "/l/Credit"), | |
| ), | |
| trail=PRO_TRAIL, | |
| ), | |
| "/l/Pro/resources-for-pros": Landing( | |
| family="Lowe's for Pros", | |
| title="Resources for Pros | Lowe's for Pros", | |
| heading="Resources for Pros", | |
| intro=( | |
| "Reference material a trade account uses on the job: estimating, " | |
| "code and spec sheets, and safety documents. The clone links only to " | |
| "local destinations, so no document downloads leave this origin." | |
| ), | |
| highlights=( | |
| ("Material estimators", "Coverage maths for paint, flooring, concrete and fasteners."), | |
| ("Spec and submittal sheets", "Per-item documents; not carried by the synthetic catalog."), | |
| ("Safety data sheets", "Required for chemicals and coatings; not carried locally."), | |
| ("Trade training", "Certification and continuing-education routes."), | |
| ), | |
| facts=( | |
| ("Downloadable documents", "None shipped with this clone"), | |
| ("External resource links", "Intentionally omitted"), | |
| ("Local how-to content", "One captured how-to article"), | |
| ), | |
| actions=( | |
| ("How to clean and maintain a grill", "/n/how-to/clean-and-maintain-your-grill-ht"), | |
| ("DIY projects and ideas", "/diy-projects-and-ideas"), | |
| ("Pro benefits", "/l/Pro/pro-benefits"), | |
| ), | |
| trail=PRO_TRAIL, | |
| ), | |
| "/l/install": Landing( | |
| family="Services", | |
| title="Installation Services | Lowe's", | |
| heading="Installation Services", | |
| intro=( | |
| "Installation is quoted from a measurement, scheduled with an " | |
| "independent installer and paid with the item. None of those three " | |
| "steps happens in this clone; the categories and the sequence do." | |
| ), | |
| highlights=( | |
| ("Appliances", "Delivery, hook-up and haul away of the replaced unit."), | |
| ("Flooring", "Measured, then installed over a prepared subfloor."), | |
| ("Windows and doors", "Measured in the home before the order is placed."), | |
| ("Water heaters", "Permit, disconnect, install and disposal."), | |
| ("HVAC", "Load calculation before an equipment recommendation."), | |
| ("Window treatments", "Cut or configured to the measured opening."), | |
| ), | |
| facts=( | |
| ("Scheduling", "Not available locally"), | |
| ("Installer network", "Not modelled"), | |
| ("Local equivalent", "Fulfilment choice at checkout"), | |
| ), | |
| actions=( | |
| ("Configure a blind", "/configure/blinds/allen-roth-Cordless-Cellular-Shade/5015737843"), | |
| ("Shop appliances", "/c/Appliances"), | |
| ("Store services", "/l/about/store-services"), | |
| ), | |
| trail=ROOT_TRAIL, | |
| ), | |
| # ----------------------------------------------------------------------- | |
| # savings | |
| # ----------------------------------------------------------------------- | |
| "/l/savings": Landing( | |
| family="Savings", | |
| title="Savings and Special Offers | Lowe's", | |
| heading="Savings", | |
| intro=( | |
| "Every discount below is computed from the local catalog's own was " | |
| "and now prices, so the savings shown on a card, in the cart and on " | |
| "the order all come from the same numbers." | |
| ), | |
| highlights=( | |
| ("Biggest savings", "The local catalog sorted by the largest was-to-now gap."), | |
| ("Coupons", "How a code would apply, and why this clone has none."), | |
| ("Daily deals", "A rotating slice of the catalog, fixed here so it stays reproducible."), | |
| ), | |
| facts=( | |
| ("Savings basis", "Catalog was-price minus current price"), | |
| ("Coupon codes accepted", "None"), | |
| ("Clearance", "Represented by the catalog's own sale flags"), | |
| ), | |
| actions=( | |
| ("Coupons", "/l/savings/coupons"), | |
| ("Daily deals", "/l/savings/daily-deals"), | |
| ("Weekly ad", "/weekly-ad"), | |
| ), | |
| catalog=("", "", "savings"), | |
| catalog_heading="Biggest savings in this catalog", | |
| trail=ROOT_TRAIL, | |
| ), | |
| "/l/savings/coupons": Landing( | |
| family="Savings", | |
| title="Coupons and Promo Codes | Lowe's", | |
| heading="Coupons", | |
| intro=( | |
| "A coupon changes an order total, so honouring one would mean " | |
| "printing a price this clone cannot back. The page explains the " | |
| "mechanism and applies nothing." | |
| ), | |
| highlights=( | |
| ("Where a code is entered", "At checkout, above the order summary."), | |
| ("Stacking rules", "One promotional code per order, applied before tax."), | |
| ("Why none are offered here", "No code exists in the local database, so none can be validated."), | |
| ), | |
| facts=( | |
| ("Codes stored", "0"), | |
| ("Codes accepted at checkout", "0"), | |
| ("Discounts that do apply", "The catalog's own was-price savings"), | |
| ), | |
| actions=( | |
| ("Savings", "/l/savings"), | |
| ("Daily deals", "/l/savings/daily-deals"), | |
| ("Rebate center", "/l/help/rebate-center"), | |
| ), | |
| trail=SAVINGS_TRAIL, | |
| ), | |
| "/l/savings/daily-deals": Landing( | |
| family="Savings", | |
| title="Daily Deals | Lowe's", | |
| heading="Daily Deals", | |
| intro=( | |
| "A daily deal rotates on a clock. This clone has no clock — every " | |
| "timestamp is frozen so two runs stay byte-identical — so the deal " | |
| "set below is fixed rather than time-based." | |
| ), | |
| highlights=( | |
| ("How the set is chosen", "The catalog's largest savings, ordered deterministically."), | |
| ("Why it does not rotate", "The runtime is deliberately clock-free and reproducible."), | |
| ("Quantity limits", "Not modelled; local stock is a static number per item."), | |
| ), | |
| facts=( | |
| ("Refresh cadence", "None — the set is frozen"), | |
| ("Countdown timers", "Not shown, because there is no clock to drive them"), | |
| ("Deal basis", "Catalog savings sort"), | |
| ), | |
| actions=( | |
| ("Savings", "/l/savings"), | |
| ("Coupons", "/l/savings/coupons"), | |
| ("Best sellers", "/best-sellers"), | |
| ), | |
| catalog=("", "", "savings"), | |
| catalog_heading="Today's fixed deal set", | |
| trail=SAVINGS_TRAIL, | |
| ), | |
| # ----------------------------------------------------------------------- | |
| # shop | |
| # ----------------------------------------------------------------------- | |
| "/l/shop/gift-cards": Landing( | |
| family="Shop", | |
| title="Lowe's Gift Cards | Lowe's", | |
| heading="Gift Cards", | |
| intro=( | |
| "A gift card is stored value: buying one takes a payment and issuing " | |
| "one mints a redeemable balance. This clone does neither, and says so " | |
| "rather than showing a card you cannot use." | |
| ), | |
| highlights=( | |
| ("Physical cards", "Mailed to a recipient address."), | |
| ("E-gift cards", "Delivered by email on a chosen date."), | |
| ("Checking a balance", "Requires the card number and PIN, which this clone never issues."), | |
| ), | |
| facts=( | |
| ("Cards issued", "0"), | |
| ("Balances stored", "0"), | |
| ("Redemption at checkout", "Not available"), | |
| ), | |
| actions=( | |
| ("Shop the catalog", "/search"), | |
| ("Savings", "/l/savings"), | |
| ("Customer service", "/l/help"), | |
| ), | |
| trail=SHOP_TRAIL, | |
| ), | |
| "/l/shop/home-maintenance": Landing( | |
| family="Shop", | |
| title="Home Maintenance Essentials | Lowe's", | |
| heading="Home Maintenance", | |
| intro=( | |
| "Maintenance shopping is seasonal and repetitive, which is why it " | |
| "pairs with repeat delivery. The list below is drawn from the local " | |
| "catalog so the page and the cart agree on what is available." | |
| ), | |
| highlights=( | |
| ("Spring", "Gutters, exterior wash, irrigation and mower service."), | |
| ("Summer", "Air-conditioning filters, deck sealing and pest control."), | |
| ("Autumn", "Leaf clearing, heating service and weatherstripping."), | |
| ("Winter", "Pipe insulation, ice melt and detector batteries."), | |
| ), | |
| facts=( | |
| ("Reminder scheduling", "Not modelled"), | |
| ("Repeat delivery", "Described on the subscriptions page"), | |
| ("Local catalog coverage", "Hardware, plumbing and lawn categories"), | |
| ), | |
| actions=( | |
| ("Subscriptions", "/subscriptions"), | |
| ("Home Care membership", "/l/about/mylowes-rewards-homecare"), | |
| ("Shop hardware", "/c/Hardware"), | |
| ), | |
| catalog=("", "hardware", "top-sellers"), | |
| catalog_heading="Maintenance items in this catalog", | |
| trail=SHOP_TRAIL, | |
| ), | |
| "/l/shop/lowes-brands": Landing( | |
| family="Shop", | |
| title="Shop Lowe's Own Brands | Lowe's", | |
| heading="Lowe's Brands", | |
| intro=( | |
| "Own-brand ranges are exclusive to the retailer. Every brand in this " | |
| "clone's catalog is invented for the clone and deliberately names no " | |
| "real Lowe's vendor, so this page shows the local brand list." | |
| ), | |
| highlights=( | |
| ("Exclusive ranges", "Sold under a house brand rather than a manufacturer's."), | |
| ("Why the names look unfamiliar", "The synthetic catalog avoids real vendor names on purpose."), | |
| ("Full brand directory", "The brand directory lists every brand in the local catalog."), | |
| ), | |
| facts=( | |
| ("Real brands reproduced", "None in the catalog"), | |
| ("Brand source", "backend/seed_data.py"), | |
| ("Directory route", "/b/lowesbrands"), | |
| ), | |
| actions=( | |
| ("Brand directory", "/b/lowesbrands"), | |
| ("Best sellers", "/best-sellers"), | |
| ("Suppliers", "/l/about/suppliers"), | |
| ), | |
| trail=SHOP_TRAIL, | |
| ), | |
| "/l/shop/lowes-creator": Landing( | |
| family="Shop", | |
| title="Lowe's Creator Network | Lowe's", | |
| heading="Lowe's Creator", | |
| intro=( | |
| "The creator programme connects makers and their project content to " | |
| "shoppable product lists. A creator page depends on third-party " | |
| "profiles and media, none of which this clone hosts or fetches." | |
| ), | |
| highlights=( | |
| ("Creator project lists", "A creator's build turned into a shoppable list."), | |
| ("Applying to the programme", "An application flow; not modelled locally."), | |
| ("Media", "Hosted off-origin, so intentionally absent here."), | |
| ), | |
| facts=( | |
| ("Creator profiles held", "0"), | |
| ("Embedded media", "None"), | |
| ("Local equivalent", "The DIY projects hub and the captured how-to article"), | |
| ), | |
| actions=( | |
| ("DIY projects and ideas", "/diy-projects-and-ideas"), | |
| ("Fresh projects and inspiration", "/l/fresh-projects-and-inspiration"), | |
| ("Workshops", "/diy-projects-and-ideas/workshops"), | |
| ), | |
| trail=SHOP_TRAIL, | |
| ), | |
| "/l/shop/online-paint-store": Landing( | |
| family="Shop", | |
| title="Online Paint Store | Lowe's", | |
| heading="Online Paint Store", | |
| intro=( | |
| "Paint is ordered by colour, sheen and container size, then tinted " | |
| "before pickup. The clone models the choices and the local catalog " | |
| "behind them; tinting is a store service it cannot perform." | |
| ), | |
| highlights=( | |
| ("Interior paint", "Flat, eggshell, satin and semi-gloss for walls, trim and ceilings."), | |
| ("Exterior paint", "Siding, trim and masonry coatings."), | |
| ("Primers and stains", "Bonding primers, deck stains and sealers."), | |
| ("Colour matching", "Performed at the paint desk from a physical sample."), | |
| ), | |
| facts=( | |
| ("Colour samples", "Not shipped with this clone"), | |
| ("Tinting", "In-store service; not modelled"), | |
| ("Local catalog category", "Paint"), | |
| ), | |
| actions=( | |
| ("Shop paint", "/c/Paint"), | |
| ("Store services", "/l/about/store-services"), | |
| ("Find a store", "/store/"), | |
| ), | |
| catalog=("", "paint", "relevance"), | |
| catalog_heading="Paint in this catalog", | |
| trail=SHOP_TRAIL, | |
| ), | |
| "/l/shop/rental": Landing( | |
| family="Shop", | |
| title="Tool and Truck Rental | Lowe's", | |
| heading="Tool Rental", | |
| intro=( | |
| "Rental is priced by time rather than by unit, and it ends with a " | |
| "return. This clone's cart only understands purchased units, so " | |
| "rental is shown as a store service rather than sold." | |
| ), | |
| highlights=( | |
| ("By the hour or day", "Four-hour, daily, weekly and monthly rates."), | |
| ("Truck rental", "Load-and-go rental for bulky purchases."), | |
| ("Deposit and return", "A deposit is held and released on return; not modelled locally."), | |
| ), | |
| facts=( | |
| ("Rentable items in this clone", "0"), | |
| ("Time-based pricing", "Not modelled by the local cart"), | |
| ("Related local flow", "Buying the equivalent tool outright"), | |
| ), | |
| actions=( | |
| ("Shop tools", "/c/Tools"), | |
| ("Store services", "/l/about/store-services"), | |
| ("Lowe's for Pros", "/l/Pro"), | |
| ), | |
| catalog=("", "tools", "price-high"), | |
| catalog_heading="Equipment you can buy instead in this catalog", | |
| trail=SHOP_TRAIL, | |
| ), | |
| # ----------------------------------------------------------------------- | |
| # inspiration and recommendations | |
| # ----------------------------------------------------------------------- | |
| "/l/fresh-projects-and-inspiration": Landing( | |
| family="Ideas", | |
| title="Fresh Projects and Inspiration | Lowe's", | |
| heading="Fresh Projects and Inspiration", | |
| intro=( | |
| "A seasonal editorial hub: rooms, projects and looks that point back " | |
| "into the catalog. Every destination below is local." | |
| ), | |
| highlights=( | |
| ("Refresh a room", "Paint, lighting and hardware changes that need no trade."), | |
| ("Outdoor living", "Decks, patios and the furniture that goes on them."), | |
| ("Seasonal decorating", "Holiday and seasonal displays."), | |
| ("Small upgrades", "Fixtures, faucets and switch plates."), | |
| ), | |
| facts=( | |
| ("Editorial photography", "Not shipped; the clone renders its own artwork"), | |
| ("Project count", "Four themes, all locally linked"), | |
| ("Related page", "DIY projects and ideas"), | |
| ), | |
| actions=( | |
| ("DIY projects and ideas", "/diy-projects-and-ideas"), | |
| ("Shop home decor", "/c/Home-decor"), | |
| ("Shop lighting", "/c/Lighting-ceiling-fans"), | |
| ("Your recommendations", "/l/your-recommendations"), | |
| ), | |
| trail=ROOT_TRAIL, | |
| ), | |
| "/l/your-recommendations": Landing( | |
| family="For You", | |
| title="Your Recommendations | Lowe's", | |
| heading="Your Recommendations", | |
| intro=( | |
| "A real recommendations page is personalised from browsing and " | |
| "purchase history. This clone tracks neither across sessions, so the " | |
| "list below is the catalog's top-rated items — the same for every " | |
| "visitor, and honest about it." | |
| ), | |
| highlights=( | |
| ("What it is based on", "Catalog rating and review count, not your behaviour."), | |
| ("What is not tracked", "No browsing history, profile or cross-session identity."), | |
| ("Make it yours", "Add items to the local cart; that state is per-session and real."), | |
| ), | |
| facts=( | |
| ("Personalisation signals", "None"), | |
| ("Ranking", "Top rated, then most reviewed, then id"), | |
| ("Stability", "Identical on every run"), | |
| ), | |
| actions=( | |
| ("Best sellers", "/best-sellers"), | |
| ("Fresh projects and inspiration", "/l/fresh-projects-and-inspiration"), | |
| ("Your cart", "/cart"), | |
| ), | |
| catalog=("", "", "rating"), | |
| catalog_heading="Top rated in this catalog", | |
| trail=ROOT_TRAIL, | |
| ), | |
| } | |