Datasets:
Download tasks/c26/task.json from Roy-DOU/Webdev-Bench: direct link, hf CLI and curl.
- Browser
- Download file 21 kB
-
https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c26/task.json
- Command line
-
hf download hf://datasets/Roy-DOU/Webdev-Bench/tasks/c26/task.json
-
curl -L -o task.json https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c26/task.json
21 kB
| { | |
| "task_id": "c26", | |
| "layer": "composite", | |
| "seed_type": "replicate", | |
| "operators": [ | |
| "replicate", | |
| "add section", | |
| "add state", | |
| "remove section", | |
| "make interactive" | |
| ], | |
| "difficulty": "challenging", | |
| "levers": [ | |
| "state coupling", | |
| "data scale × combined state" | |
| ], | |
| "domain": "e-commerce", | |
| "seed_meta": { | |
| "ref_image_src": "prototypes/reference.jpg" | |
| }, | |
| "title": "PaulHoda.UK SEO Site Replication + Package Store and Checkout Flow", | |
| "milestones": [ | |
| { | |
| "operator": "replicate", | |
| "request": "First reproduce this version of our homepage 1:1 — I sent you the screenshot, work from the visible parts, and keep all text as the original English from the image, don't translate or reword it. Top to bottom, roughly: at the very top a very thin dark info bar; then a white header with the PaulHoda wordmark plus a UK flag on the left and a row of nav Home, SEO, Blog, Case studies, Contact on the right; below that the hero, with the big heading \"Welcome to PaulHoda.UK, your search engine optimisation (SEO) expert in London\" on the left, a few paragraphs of intro text below it, a blue rounded BOOK NOW button and a \"5 Stars Rated on Google Reviews\" Google five-star review strip, and on the right a screenshot of a Google search result (a placeholder is fine for the image), with two lines of bold large text \"#1 with SEO\" and \"by PaulHoda.UK\" below the screenshot. Below that the centered heading \"SEO Case Studies: Latest Achievements\", and under it four cases (ChrisBowers, Dental Practice, Scichart, Total K9), each a two-column layout with text on the left and a screenshot on the right, the left having a small heading and a bulleted list of achievements. Then the gray-background \"Results Timeline with our SEO Expertise\", with six progress passages from 1st Month to 12th Month, and a long paragraph of small-print disclaimer at the bottom. Below that \"How Our Clients Review Us on Google\", a two-column set of review cards totaling seven, the last one occupying its own row on the left, each card with a name, a URL, five stars, and an English comment. Then \"SEO Packages for the #1 page of Google.co.uk:\" and four dark package cards, from left to right Standard SEO, Bronze SEO, Silver SEO, Gold SEO, with the title bars at the tops of the four cards colored green, copper-orange, silver-blue-gray, and gold respectively. Finally the long-form \"SEO Specialist in London UK\" paragraph, and the multi-column copy under the heading \"50% of all UK SEO agencies buy SEO from us\". Restore the overall restrained white-with-blue-accents style." | |
| }, | |
| { | |
| "operator": "add section", | |
| "request": "Static package cards aren't enough — clients keep calling to ask about prices. We want to add a package store below the review section where orders can be placed one by one. Ops dictated the pricing below; organize it yourself: what we actually sell is a combination — four tiers Standard, Bronze, Silver, Gold; keyword packs in four sizes of 3, 8, 15, 40; and contract lengths of 3 months, 6 months, 12 months. Listing the full permutation, every combination must appear on the page as a package that can be ordered on its own, so it's quite a lot — the page needs to show the total count for clients. The pricing is the boss's call: Standard £39 per keyword per month, Bronze £58, Silver £89, Gold £139; multiply by the number of keywords for the monthly fee; a half-year contract gets 10% off the whole contract, a full year gets 15% off, and 3 months gets no discount; if the result has a remainder, cut it off and keep whole pounds only. On every package card, both the monthly fee and the total to pay for that contract must be stated clearly, and the package name must reveal the tier, keyword size, and contract months. Also ops singled out a set of featured ones: any with 15 or 40 keywords and a full-year contract gets a HOT tag, and nothing else does. Don't change the color scheme on your own — for the tier colors follow the green/copper-orange/silver-blue/gold of the four dark package cards above." | |
| }, | |
| { | |
| "operator": "add state", | |
| "request": "There are too many packages and clients can't scroll through them. Give the store filtering: tiers are multi-select (check any of the four), and keyword size and contract months can each be filtered independently; also give a search box for fuzzy matching on package name. All four sorts are needed: monthly fee low to high, monthly fee high to low, contract total low to high, contract total high to low; with no sort selected use the default order, which is down through the tiers Standard, Bronze, Silver, Gold, and within a tier fewer keywords first, and for the same keyword count shorter contracts first. The list is fixed at 12 per page, with pagination below and a visible total page count. Next to the filter panel always show how many packages are currently filtered, and the number must match the list. When a sort produces ties (e.g. equal monthly fees), always put the shorter contract first, so every refresh shows the same order. Changing any filter condition must jump back to page 1 — don't leave clients on an empty page. If a search returns nothing, give a friendly message, and at that point the pagination control must not appear." | |
| }, | |
| { | |
| "operator": "remove section", | |
| "request": "Two points came out of the launch review: first, the original four dark SEO Packages cards are now fully replaced by the new store, and keeping them just makes clients think there are two price sets — remove the whole block, and the \"SEO Packages for the #1 page of Google.co.uk:\" heading goes with it; second, legal says the disclaimer wording in the gray-background timeline block \"Results Timeline with our SEO Expertise\" carries risk, so remove that whole block too — not one piece of the 1st Month through 12th Month text and the disclaimer small print below may remain. After deleting cleanly, don't let the page collapse into a big blank area; the spacing between the neighboring blocks should look similar to the other blocks. The hero, cases, and reviews are kept as-is, don't disturb their order, and the bottom \"SEO Specialist in London UK\" long-form and the \"50% of all UK SEO agencies buy SEO from us\" columns must stay too. One more thing to watch: although the package cards are deleted, the store's four tier colors came from them and must not disappear with them — green stays green. Keep the site's restrained white-with-blue-accents style from the reference; don't let this change introduce a new brand color. The store's filtering, sorting, and pagination must not be affected by this deletion either." | |
| }, | |
| { | |
| "operator": "make interactive", | |
| "request": "Finally close the business loop. Every package card must be addable to the cart; clicking the same package repeatedly increases its quantity rather than creating another row; the page needs a cart entry with an item-count badge, and when the client scrolls to the store area this entry must stay visible and prominent (don't make people hunt for it) — but pick its colors from our existing set (the blue of the hero button, or the tier colors), don't bring in a new color just to be prominent; the whole site should still look like one brand. Opening the cart shows each row's package name, unit price, quantity, and line subtotal; the unit price here is the total the client pays for that contract (not the monthly fee, don't get that wrong), and the line subtotal is unit price times quantity; the quantity can go up and down, and dropping to 0 removes the row; when the cart is entirely empty, show an empty-cart message and make the checkout button unclickable. The cart has a promo code input: entering SEO10 takes 10% off the whole order, remainders still cut off, and the amount due updates in real time. Clicking checkout runs three steps: step 1 collects name and email, and an email without @ blocks progress to the next step with a message; step 2 confirms the order, listing every row and the final amount due clearly, and allows going back to step 1 to revise the info without losing what was entered; step 3, after submitting, shows a success page whose amount must be exactly the same as the step-2 confirmation, and simultaneously the cart clears and the badge resets to zero. One more detail not to get wrong: if a package already added to the cart is subsequently filtered out of view by the client, the cart rows and the badge must not change, but since it's filtered out of the list it must no longer have an add-to-cart entry there." | |
| } | |
| ], | |
| "checklist": [ | |
| { | |
| "id": "hero.nav.copy", | |
| "m": 1, | |
| "dimension": "coverage", | |
| "w": 1.5, | |
| "description": "At the very top of the page is a dark thin info bar; below it the header's right side shows the nav in order Home, SEO, Blog, Case studies, Contact — 5 items — with the PaulHoda wordmark plus a UK flag on the left; the hero heading is verbatim \"Welcome to PaulHoda.UK, your search engine optimisation (SEO) expert in London\" (the original English, not replaced with Chinese or other business copy)." | |
| }, | |
| { | |
| "id": "hero.twocol.cta", | |
| "m": 1, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "The hero is two columns: the left column contains the intro paragraphs, a blue rounded BOOK NOW button, and a five-star review strip reading \"5 Stars Rated on Google Reviews\"; the right column is the search-result image (a placeholder is fine), directly below which are the two lines of bold large text \"#1 with SEO\" and \"by PaulHoda.UK\"." | |
| }, | |
| { | |
| "id": "cases.four.layout", | |
| "m": 1, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "Under the centered heading \"SEO Case Studies: Latest Achievements\" there are exactly 4 case sections (ChrisBowers, Dental Practice, Scichart, Total K9), each a two-column layout with text on the left and an image on the right, the left column containing at least one bulleted achievement list item." | |
| }, | |
| { | |
| "id": "reviews.seven.grid", | |
| "m": 1, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "The \"How Our Clients Review Us on Google\" section is a two-column card grid with exactly 7 review cards (the 7th occupies its own row in the left column), each card containing a name, a URL, five stars, and an English comment." | |
| }, | |
| { | |
| "id": "packages.four.colors", | |
| "m": 1, | |
| "dimension": "visual", | |
| "w": 1.5, | |
| "description": "[This item is evaluated on the page as of milestone 1 completion; after milestone 4 the block is deleted as expected and is out of scope here] Under \"SEO Packages for the #1 page of Google.co.uk:\" are 4 dark package cards with titles from left to right Standard SEO, Bronze SEO, Silver SEO, Gold SEO, whose top title-bar colors are, in order, green, copper-orange, silver-blue-gray, and gold, with all four colors distinct." | |
| }, | |
| { | |
| "id": "timeline.footer.copy", | |
| "m": 1, | |
| "dimension": "coverage", | |
| "w": 1.0, | |
| "description": "[The timeline part is evaluated on the page as of milestone 1 completion; deletion after milestone 4 is expected] The gray-background \"Results Timeline with our SEO Expertise\" section contains six passages from 1st Month to 12th Month and the disclaimer small print at the bottom; at the bottom of the page there is also the \"SEO Specialist in London UK\" long-form paragraph and the multi-column copy under the \"50% of all UK SEO agencies buy SEO from us\" heading (these two are content that must be kept in the final state too), with all text as the original English from the reference image." | |
| }, | |
| { | |
| "id": "shop.count48", | |
| "m": 2, | |
| "dimension": "coverage", | |
| "w": 1.5, | |
| "description": "Below the review section a package store block appears, with a total of 48 packages (4 tiers × keyword sizes 3/8/15/40 × contract lengths 3/6/12 months), and the visible total-count copy on the page shows 48." | |
| }, | |
| { | |
| "id": "shop.monthly.exact", | |
| "m": 2, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "The monthly fee is computed and displayed as the tier unit price (Standard 39 / Bronze 58 / Silver 89 / Gold 139) times the keyword count: Standard·3 keywords shows £117, Silver·15 keywords shows £1335, Gold·40 keywords shows £5560." | |
| }, | |
| { | |
| "id": "shop.total.discount", | |
| "m": 2, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "Contract total = monthly fee × months, with 10% off for 6 months, 15% off for 12 months, no discount for 3 months, and remainders cut down to whole pounds: Standard·3 keywords·12 months = £1193, Bronze·8 keywords·6 months = £2505, Silver·15 keywords·12 months = £13617, Gold·40 keywords·3 months = £16680." | |
| }, | |
| { | |
| "id": "shop.card.fields", | |
| "m": 2, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "Every package card shows all five pieces of information — tier, keyword size, contract months, monthly fee, and contract total — and the tier marker color follows the reference package-card scheme (Standard green / Bronze copper-orange / Silver silver-blue / Gold gold), with all four colors distinct." | |
| }, | |
| { | |
| "id": "shop.hot.eight", | |
| "m": 2, | |
| "dimension": "functional", | |
| "w": 1.0, | |
| "description": "Exactly 8 packages carry a HOT tag, and all of them satisfy \"15 or 40 keywords and a 12-month contract\"; the other 40 carry no HOT tag (for example Gold·40·6 months has none, Silver·15·12 months has one)." | |
| }, | |
| { | |
| "id": "list.default.page3", | |
| "m": 3, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "With no filter and the default sort (tier Standard→Bronze→Silver→Gold, within a tier fewer→more keywords, then shorter→longer contracts), 12 per page, there are 4 pages in total; the 1st item on page 3 is Silver·3 keywords·3 months, showing a monthly fee of £267 and a contract total of £801." | |
| }, | |
| { | |
| "id": "sort.monthly.asc", | |
| "m": 3, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "Switching to monthly fee low to high (ties broken by shorter contract first) with no filter, the last item on page 1 is Standard·8 keywords·12 months (monthly fee £312, total £3182), and the 1st item on page 2 is Gold·3 keywords·3 months (monthly fee £417)." | |
| }, | |
| { | |
| "id": "sort.other.two", | |
| "m": 3, | |
| "dimension": "functional", | |
| "w": 1.0, | |
| "description": "The other two sorts also work with correct results: with no filter and \"monthly fee high to low\", the 1st item on page 1 is Gold·40 keywords·3 months (monthly fee £5560, ties broken by shorter contract first); with \"contract total low to high\", the 1st item on page 1 is Standard·3 keywords·3 months (total £351)." | |
| }, | |
| { | |
| "id": "filter.combo.eight", | |
| "m": 3, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "With tiers multi-selected Silver+Gold and the contract filtered to 12 months, the count copy shows 8 packages, all shown on one page with only 1 page left in the pager; on top of that, filtering the keyword size to 40 changes the count to 2, and sorted by contract total high to low the first item is Gold·40·12 months showing £56712 and the second Silver·40·12 months showing £36312." | |
| }, | |
| { | |
| "id": "search.match.silver", | |
| "m": 3, | |
| "dimension": "functional", | |
| "w": 1.0, | |
| "description": "After clearing the other filters and typing \"Silver\" in the search box, the count shows 12, the pager is 1 page, and every package in the list is Silver tier, with no Standard/Bronze/Gold packages mixed in." | |
| }, | |
| { | |
| "id": "filter.reset.page1", | |
| "m": 3, | |
| "dimension": "interaction", | |
| "w": 1.0, | |
| "description": "Changing any filter condition while on page 3 immediately returns to page 1; after clearing all filters and search the count returns to 48 and the pager to 4 pages." | |
| }, | |
| { | |
| "id": "search.empty.state", | |
| "m": 3, | |
| "dimension": "interaction", | |
| "w": 1.0, | |
| "description": "After typing a nonexistent word (like Platinum) in the search box, the list shows a friendly empty-state message, the count shows 0, and at that point no pagination control appears on the page." | |
| }, | |
| { | |
| "id": "del.blocks.gone", | |
| "m": 4, | |
| "dimension": "coverage", | |
| "w": 1.5, | |
| "description": "On the final page the four dark SEO Packages cards and the \"SEO Packages for the #1 page of Google.co.uk:\" heading no longer exist, nor does the gray-background timeline block — searching the whole page finds no \"Results Timeline\", \"12th Month\", or their disclaimer small print." | |
| }, | |
| { | |
| "id": "del.colors.kept", | |
| "m": 4, | |
| "dimension": "visual", | |
| "w": 1.5, | |
| "description": "After deletion the tier colors on the store's package cards still take effect: Standard green, Bronze copper-orange, Silver silver-blue, Gold gold remain visible and distinct, not degraded to the same gray or a default color." | |
| }, | |
| { | |
| "id": "del.order.kept", | |
| "m": 4, | |
| "dimension": "coverage", | |
| "w": 1.0, | |
| "description": "After deletion the page order top to bottom is still: top dark info bar → header (5 nav items) → hero (with the blue BOOK NOW button) → cases (4 cases) → reviews (7 review cards) → store block → \"SEO Specialist in London UK\" long-form and \"50% of all UK SEO agencies buy SEO from us\" multi-column copy." | |
| }, | |
| { | |
| "id": "del.no.gap", | |
| "m": 4, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "The deleted blocks leave no empty shell containers: the blank space between neighboring blocks is comparable to the spacing elsewhere on the page, with no large blank area taller than half a screen or leftover divider line." | |
| }, | |
| { | |
| "id": "del.shop.intact", | |
| "m": 4, | |
| "dimension": "functional", | |
| "w": 1.0, | |
| "description": "After the deletion the store's functionality is unaffected: by default still 48 packages over 4 pages, and filtering, searching, sorting, and pagination all work normally with the count matching the list (e.g. Silver+Gold and 12 months still 8 items)." | |
| }, | |
| { | |
| "id": "cart.merge.badge", | |
| "m": 5, | |
| "dimension": "interaction", | |
| "w": 1.5, | |
| "description": "After clicking add-to-cart twice in a row on Standard·3 keywords·12 months, the cart has only one row for that package with quantity 2 (no second row), that row's unit price shows £1193 (the contract total, not the monthly fee £117), the line subtotal shows £2386, and the cart entry badge shows 2 by item count." | |
| }, | |
| { | |
| "id": "cart.total.promo", | |
| "m": 5, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "When the cart contains Standard·3 keywords·12 months ×1 (line unit price and subtotal both showing £1193) and Bronze·8 keywords·6 months ×1 (line unit price and subtotal both showing £2505), the combined subtotal shows £3698; after entering promo code SEO10 the amount due becomes £3328 (remainder cut after 10% off), and after removing the promo code the amount returns to £3698." | |
| }, | |
| { | |
| "id": "checkout.wizard.chain", | |
| "m": 5, | |
| "dimension": "interaction", | |
| "w": 1.5, | |
| "description": "In the state where the cart contains Standard·3 keywords·12 months ×1 and Bronze·8 keywords·6 months ×1 with promo code SEO10 applied (amount due £3328), clicking checkout: filling the step-1 email with \"abc.com\" (no @) blocks progress to the next step with a message, and changing to a valid email allows progress; step 2 lists these two rows and the amount due £3328, and going back to step 1 retains the name/email; after submitting the success page shows the same amount £3328, after which the cart is empty and the badge shows 0." | |
| }, | |
| { | |
| "id": "cart.filter.coupling", | |
| "m": 5, | |
| "dimension": "interaction", | |
| "w": 1.5, | |
| "description": "First add Gold·40 keywords·12 months to the cart, then switch the tier filter to Standard only: the package disappears from the list and no clickable add-to-cart entry remains, but the cart row, its quantity, and the badge number all stay unchanged; after clearing the filter the package reappears and the cart still has only one row, not duplicated." | |
| }, | |
| { | |
| "id": "cart.empty.idempotent", | |
| "m": 5, | |
| "dimension": "interaction", | |
| "w": 1.0, | |
| "description": "When the cart is empty, an empty-state message is shown and the checkout button is unavailable (clicking causes no navigation); reducing a row's quantity to 0 removes that row, and after removing all rows it returns to the empty state with the badge showing 0." | |
| }, | |
| { | |
| "id": "style.accent.consistent", | |
| "m": 5, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "The cart entry stays visible when scrolled to the store area (a fixed entry or a persistent entry within the block); the site introduces no new brand/accent colors beyond the reference's existing scheme (white background, the hero BOOK NOW blue, the four tier colors, and the dark of the top info bar), and the add-to-cart and checkout buttons take their accent colors from that existing scheme with consistent usage throughout." | |
| } | |
| ], | |
| "inject": null, | |
| "qc_static": [], | |
| "review_status": "needs_human" | |
| } |