Datasets:
Download tasks/c24/task.json from Roy-DOU/Webdev-Bench: direct link, hf CLI and curl.
- Browser
- Download file 24 kB
-
https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c24/task.json
- Command line
-
hf download hf://datasets/Roy-DOU/Webdev-Bench/tasks/c24/task.json
-
curl -L -o task.json https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c24/task.json
24 kB
| { | |
| "task_id": "c24", | |
| "layer": "composite", | |
| "seed_type": "replicate", | |
| "operators": [ | |
| "replicate", | |
| "make interactive", | |
| "restyle", | |
| "add section" | |
| ], | |
| "difficulty": "regular", | |
| "levers": [ | |
| "exact numeric assertions" | |
| ], | |
| "domain": "community forms", | |
| "seed_meta": { | |
| "ref_image_src": "prototypes/reference.jpg" | |
| }, | |
| "title": "Castello Monaci Wedding Estate Website: Replicate · Form Interaction · Wine-Red Reskin · Budget Calculator Section", | |
| "milestones": [ | |
| { | |
| "operator": "replicate", | |
| "request": "We want to reproduce the homepage of the Castello Monaci wedding estate exactly, using the reference screenshot of how it looks live now, 1:1 within the visible area; all photos can be placeholders, but the text, colors, and layout must match.\n\nFrom top to bottom: at the very top is a thin narrow white bar, on the left the three horizontal lines plus the word MENU, in the exact center the estate's logo (fine-line castle graphic + the words CASTELLO MONACI), on the right first an olive-green solid rounded button reading RICHIEDI PREVENTIVO, then further right EN, a small flag, and a magnifying glass — this whole row on the same horizontal line.\n\nImmediately after is a large wedding-scene image, with two lines of white uppercase title overprinted on its lower-left area, \"LA MAGIA DI UN CASTELLO SOTTO UNA CASCATA DI FIORI\", and below the title a small white thin-outline button SCOPRI DI PIÙ.\n\nBelow is the white-background welcome section: a centered small heading BENVENUTI A CASTELLO MONACI, below it four lines of centered fine italic intro text (roughly: here you can combine the charm of history with high-caliber organization to give you a magical wedding befitting your personality; we are in the heart of Salento, in the Puglia region, by the sea and surrounded by the greenery of the countryside, among olive trees and vineyards).\n\nBelow that are the estate's nine service sections, in three rows of three. First row: AMBIENTI E SALE, PIANO A/PIANO B, MATRIMONI A TEMA; second row: BUFFET E PORTATE, WEDDING ASSISTANT, ADDOBBI E ALLESTIMENTI; third row: MUSICA E INTRATTENIMENTO, SUITE SPOSI, CAMERE PER OSPITI. The six sections in the first two rows each have a small banner image above; the three in the third row have only heading and text, no image. Each section is \"uppercase small heading + three to four lines of small gray text\". Below the nine sections a centered olive-green solid button SCOPRI DI PIÙ.\n\nBelow that is a light-gray-background area: a centered uppercase heading VISITA CASTELLO MONACI CON UN TOUR VIRTUALE, below it a placeholder aerial-video image, and in its exact center an overlaid play button — a white circle containing a triangle.\n\nThen a full-width olive-green band, its text arranged slightly right of center: heading MATRIMONIO CON RITO CIVILE, two lines of small white text (our estate is authorized by the Salice Salentino municipal government as a venue for civil wedding ceremonies), below a white thin-outline button SCOPRI DI PIÙ.\n\nBelow is the white-background retrospective area: the left column is a small heading RIVIVI UN EVENTO SVOLTO A CASTELLO MONACI plus two small paragraphs; the middle is a placeholder wedding-documentary image; the right is a dark card reading VIDEO TRAILERS, with a light small button SCOPRI DI PIÙ at the card's lower left.\n\nBelow that leave a blank stretch, then the Instagram section: a line of small text \"INSTAGRAM\" with a camera icon, below a very large light-colored heading #misposoacastellomonaci, below two lines of small italic text (inviting everyone to post photos taken at the estate with the official hashtag).\n\nThen the NEWSLETTER block (light beige background): small heading NEWSLETTER, two lines of small explanatory text, a very wide email input (placeholder \"Inserisci la tua email\"), below a small button ISCRIVITI.\n\nNext the CONTATTACI contact section: a small paragraph spelling out how to reach us by phone for inquiries, below a form — the left column, top to bottom, has three single-line inputs (name, email, phone, each with an Italian placeholder), then below a line of small text \"Richiesta di contatto per:\" and a dropdown defaulting to \"-- Seleziona un'opzione --\", with options Preventivo matrimonio, Visita alla location, Camere per ospiti, Altro; on the right a tall multi-line message box. Below the form two small checkboxes: ACCETTO I TERMINI DELLA PRIVACY, RICHIEDO ISCRIZIONE ALLA NEWSLETTER. Finally a centered INVIA button.\n\nAt the very bottom first a separate thin narrow light strip with a centered line of small text beginning with #ZEROSPRECHI (about the estate's participation in the Caritas anti-food-waste project), then the footer. The footer has four columns: the first the castle line-art icon and Copyright © 2019; the second the address and multiple phone numbers of CASTELLO MONACI SERVICE SRL; the third APERTO TUTTI I GIORNI, 9:30 - 19:30, and under SEGUICI three social links (Facebook / Instagram / Pinterest); the fourth RICONOSCIMENTI, below which is a square WEDDING AWARDS 2019 badge.\n\nAlso, in the page's lower-right corner a Cookie notice card always floats: heading Cookie Banner, an x at the upper right, a few lines of small gray cookie text in the middle, two buttons at the bottom — light gray Settings on the left and olive-green I accept on the right.\n\nThe main color is the olive green from the reference (around #7C8D6F), with generous whitespace and light gray/beige backgrounds, body small text in gray, headings all uppercase with letter spacing." | |
| }, | |
| { | |
| "operator": "make interactive", | |
| "request": "Right now this page is only pretty and not usable at all. Sales takes calls all day; we want the contact form to actually receive inquiries, and the Cookie card shouldn't keep sitting on screen unable to be dismissed.\n\nThe form: name, email, phone, inquiry-type dropdown, and message — all five must be filled, and the privacy-terms checkbox must be ticked; missing any one blocks submission, and each missing one shows a line of red text below it telling the user what's missing. The email must look like an email (something obviously incomplete like \"abc@\" must be blocked), the phone accepts digits only and must be 8 to 15 digits long — too short or too long both fail; once the user corrects it the message must disappear on its own, don't let it linger. The message box holds at most 300 characters, and next to it show the remaining count live — it starts at 300, becomes 290 after 10 characters, and once full nothing more can be typed in.\n\nAfter a successful submit: the form clears back to its initial state (dropdown back to \"-- Seleziona un'opzione --\", both checkboxes unticked), a success message appears on the page, and below the form a small \"Recent inquiries\" list is added recording this submission's name and inquiry type, newest first, keeping at most 5 entries — more than that pushes the oldest out; next to it a counter stating how many inquiries have been received in total (label wording is up to you, as long as it's understandable). Careful about the user double-clicking: after the form is already empty, clicking submit again must not add a phantom entry.\n\nOne more small linkage: if the user ticks \"RICHIEDO ISCRIZIONE ALLA NEWSLETTER\" in the form and submits successfully, the NEWSLETTER block above must switch to a subscribed state showing the email the user just entered; if unticked, everything stays as-is.\n\nCookie card: clicking I accept closes it, and opening the site again later must not show it again — it has to be remembered; clicking the x at the upper right only hides it this time, and it must not pop up again during this browsing session." | |
| }, | |
| { | |
| "operator": "restyle", | |
| "request": "The brand side is changing visual direction: the olive green feels too plain, and next year's push is a \"wine red + warm sand\" route. Please replace the whole site's green system with deep wine red #7A2E3C, replace the original light gray/off-white backgrounds uniformly with warm sand #F4EFE7, and keep body text in the dark range so it reads clearly on warm sand.\n\nTwo things I'll say up front, don't mess them up: first, the client wants the main call-to-action buttons (the top inquiry one, the SCOPRI DI PIÙ on the big image, the one below the nine-grid, the one in the full-width band, ISCRIVITI, INVIA, the Cookie's I accept) to stand out a bit more than now — don't make them hard to find; but second, the boss repeatedly stresses that the estate's tone is restrained, minimal, with lots of whitespace — no gaudiness allowed. Find that balance yourself; just keep it one consistent approach site-wide, don't do a different gimmick here and there.\n\nAlso, a reskin is a reskin: the page structure, copy, and the order of the nine sections may not change by a single word, and the previous version's form validation, character counter, inquiry list, and Cookie memory may not break either. While you're at it, watch the error messages — they're red text now, and the new theme's primary is also in the red family, so don't let the two reds collide until it's impossible to tell which is an error." | |
| }, | |
| { | |
| "operator": "add section", | |
| "request": "The most common questions on the inquiry line are \"roughly how much?\" and \"is a certain date still open?\", so we want to offer self-service budget estimation right on the homepage, placed between the virtual tour block and the full-width civil-wedding band, styled of course to match the new wine-red warm-sand theme.\n\nThis area must let guests do three things: choose a package, drag the guest count, and pick a date. Three package tiers: Classico at €80 per person, Prestige at €110 per person, Reale at €150 per person, with Classico selected by default. The guest count uses a draggable slider from 50 to 300 people in steps of 10, default 120, and the current count must always be displayed.\n\nOps explains the algorithm to guests like this: first a fixed venue base fee of €4500, plus the per-person rate times the guest count; if it's held on a Saturday, the whole amount goes up by fifteen percent; at 150 guests and above a group rate applies, subtracting another 8% on top of what's been calculated (and a \"Group discount 8%\" marker must appear alongside — hidden if under 150); finally, no matter how much of a remainder comes out, always cut it off — keep whole euros only (not rounding, always rounding down), displayed with thousands separators, e.g. €14,100.\n\nDates are chosen from our open 2026 season; the list ops gave is: April 11 (Saturday), 17 (Friday), 18 (Saturday), 24 (Friday), 25 (Saturday), 30 (Thursday); May 2 (Saturday), 8 (Friday), 9 (Saturday), 16 (Saturday), 21 (Thursday), 23 (Saturday); June 5 (Friday), 6 (Saturday), 13 (Saturday), 19 (Friday), 20 (Saturday), 27 (Saturday); July 3 (Friday), 4 (Saturday), 10 (Friday), 11 (Saturday), 18 (Saturday), 25 (Saturday); August 1 (Saturday), 7 (Friday), 8 (Saturday), 14 (Friday), 15 (Saturday), 22 (Saturday); September 4 (Friday), 5 (Saturday), 11 (Friday), 12 (Saturday), 19 (Saturday), 26 (Saturday); October 2 (Friday), 3 (Saturday), 9 (Friday), 10 (Saturday), 17 (Saturday), 24 (Saturday). Every day in the date list must display uniformly in the \"2026-04-11 (Saturday)\" style (year-month-day plus weekday), every day must be selectable, and the selected day must make clear at a glance which date it is.\n\nThe amount must change immediately whenever any condition changes — don't make guests click a \"Calculate\" button. Finally, place a button at the bottom of this area, \"INVIA QUESTO PREVENTIVO\" (send us this quote); clicking it takes the guest straight down to the contact form below, auto-selects the inquiry type Preventivo matrimonio, and auto-writes the just-chosen date, package, guest count, and computed amount into the message box — the date copied exactly as written in the list, the amount copied exactly too, don't change the numbers yourself; the message's remaining character count must of course update accordingly. All the guest has to do is add name, email, and phone, tick the privacy box, and send it — after sending it enters the Recent inquiries list just like any ordinary inquiry." | |
| } | |
| ], | |
| "checklist": [ | |
| { | |
| "id": "repl.section.order", | |
| "m": 1, | |
| "dimension": "coverage", | |
| "w": 1.5, | |
| "description": "The homepage has 12 blocks top to bottom, in exactly this order: top nav bar → large image with heading → BENVENUTI welcome section → nine-section services area → VISITA…TOUR VIRTUALE light area → full-width MATRIMONIO CON RITO CIVILE band → RIVIVI UN EVENTO retrospective area → #misposoacastellomonaci section → NEWSLETTER section → CONTATTACI form section → #ZEROSPRECHI thin narrow strip → footer; no extra blocks beyond the reference may be inserted in between." | |
| }, | |
| { | |
| "id": "repl.top.header.hero", | |
| "m": 1, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "Inside the thin white top bar, from left to right: three horizontal lines + the word MENU, the centered CASTELLO MONACI logo, and on the right the olive-green solid (green background, white text) button RICHIEDI PREVENTIVO followed by EN, a small flag, and a magnifying glass — 3 elements in all, all on the same horizontal line; below it, in the lower-left area of the large image (not centered), the two-line white uppercase title \"LA MAGIA DI UN CASTELLO SOTTO UNA CASCATA DI FIORI\" is overprinted, and directly below the title is a white thin-outline (not solid) SCOPRI DI PIÙ button." | |
| }, | |
| { | |
| "id": "repl.grid.nine", | |
| "m": 1, | |
| "dimension": "visual", | |
| "w": 1.5, | |
| "description": "The services area has exactly 9 sections in three rows of three, with headings in order AMBIENTI E SALE / PIANO A/PIANO B / MATRIMONI A TEMA / BUFFET E PORTATE / WEDDING ASSISTANT / ADDOBBI E ALLESTIMENTI / MUSICA E INTRATTENIMENTO / SUITE SPOSI / CAMERE PER OSPITI; the 6 in the first two rows each have an image, and the 3 in the third row have no image, only heading and text." | |
| }, | |
| { | |
| "id": "repl.form.fields", | |
| "m": 1, | |
| "dimension": "functional", | |
| "w": 1.0, | |
| "description": "The CONTATTACI form contains exactly: 3 single-line inputs (name/email/phone), 1 dropdown defaulting to \"-- Seleziona un'opzione --\" with 4 options, 1 multi-line message box, 2 checkboxes (privacy terms, newsletter subscription), 1 centered INVIA button." | |
| }, | |
| { | |
| "id": "repl.footer.strip", | |
| "m": 1, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "Above the footer there is a separate thin narrow light strip containing a centered line of small text beginning with \"#ZEROSPRECHI\"; the footer itself has 4 columns, the second containing the words CASTELLO MONACI SERVICE SRL and phone numbers, the third containing APERTO TUTTI I GIORNI and \"9:30 - 19:30\" plus the three social links Facebook/Instagram/Pinterest, and the fourth containing a square WEDDING AWARDS 2019 badge." | |
| }, | |
| { | |
| "id": "repl.cookie.card", | |
| "m": 1, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "In the page's lower-right corner the Cookie card is fixed and floating, with heading Cookie Banner, an x at the upper right, and two buttons side by side at the bottom: light gray Settings on the left, olive-green I accept on the right; the card does not scroll away with content when the page scrolls." | |
| }, | |
| { | |
| "id": "inter.required.six", | |
| "m": 2, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "Clicking INVIA in a completely blank state: the page does not submit, and error messages appear simultaneously in all 6 spots — name, email, phone, inquiry type, message, privacy checkbox — while the inquiry count still shows 0 and the Recent inquiries list produces no entry." | |
| }, | |
| { | |
| "id": "inter.validate.format", | |
| "m": 2, | |
| "dimension": "functional", | |
| "w": 1.0, | |
| "description": "Submitting an email of \"abc@\" is blocked with an error, and the error disappears after changing to a valid email; a phone of 7 digits or 16 digits is blocked with an error, and the error disappears after entering 10 pure digits; a phone containing letters is likewise blocked." | |
| }, | |
| { | |
| "id": "inter.counter.300", | |
| "m": 2, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "The remaining character count next to the message box shows exactly 300 when blank and exactly 290 after entering 10 characters; after reaching 300 characters the 301st cannot be entered (the count never goes negative and the text stops growing)." | |
| }, | |
| { | |
| "id": "inter.submit.list5", | |
| "m": 2, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "After filling everything valid and ticking privacy, submitting: the form is fully cleared (dropdown back to \"-- Seleziona un'opzione --\", both checkboxes unticked), a success message appears, the inquiry count goes from 0 to 1, and the first entry of the Recent inquiries list shows this submission's name and inquiry type; after submitting 6 times in a row the count shows 6 while the list keeps only the latest 5 with the newest at the top." | |
| }, | |
| { | |
| "id": "inter.idempotent", | |
| "m": 2, | |
| "dimension": "interaction", | |
| "w": 1.0, | |
| "description": "After one successful submission (form already cleared), immediately clicking INVIA twice more keeps the inquiry count unchanged and the Recent inquiries list entry count unchanged, and the required-field error messages appear again." | |
| }, | |
| { | |
| "id": "inter.newsletter.link", | |
| "m": 2, | |
| "dimension": "interaction", | |
| "w": 1.0, | |
| "description": "After ticking \"RICHIEDO ISCRIZIONE ALLA NEWSLETTER\" and submitting successfully, the NEWSLETTER block above switches to the subscribed state and shows the email just submitted (character-for-character as entered in the form); if that box is not ticked on submit, the NEWSLETTER block keeps the original input and ISCRIVITI button." | |
| }, | |
| { | |
| "id": "inter.cookie.memory", | |
| "m": 2, | |
| "dimension": "interaction", | |
| "w": 1.0, | |
| "description": "After clicking I accept the Cookie card disappears, and it does not reappear after refreshing the page; after clearing the site's local storage (or opening in a fresh session/private window) restores the card, clicking the x at the upper right makes the card disappear and it does not reappear while scrolling the page or operating the form within this session." | |
| }, | |
| { | |
| "id": "skin.primary.hex", | |
| "m": 3, | |
| "dimension": "visual", | |
| "w": 1.5, | |
| "description": "The top RICHIEDI PREVENTIVO button, the full-width MATRIMONIO CON RITO CIVILE block background, and the Cookie's I accept button are all deep wine red #7A2E3C (the same color value), and the original olive green #7C8D6F or any near green no longer appears site-wide." | |
| }, | |
| { | |
| "id": "skin.bg.sand", | |
| "m": 3, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "The original light-gray virtual tour area and the original off-white NEWSLETTER area backgrounds both become warm sand #F4EFE7, with their body text and headings still in the dark range and clearly legible (no light text on a light background making things unreadable)." | |
| }, | |
| { | |
| "id": "skin.content.intact", | |
| "m": 3, | |
| "dimension": "coverage", | |
| "w": 1.5, | |
| "description": "After the reskin the order of the 12 blocks, the two-line heading over the large image, the headings and arrangement order of the nine service sections, the #ZEROSPRECHI strip copy, and the footer's four-column content are all exactly as in requirement 1, with no copy added, removed, or rewritten." | |
| }, | |
| { | |
| "id": "skin.regression", | |
| "m": 3, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "After the reskin all of requirement 2's behavior is preserved: blank submission still produces 6 error messages, the message counter is still 300 → 290 after 10 characters, a successful submission increments the count by 1 with at most 5 list entries, and after I accept, refreshing no longer shows the Cookie card." | |
| }, | |
| { | |
| "id": "skin.tradeoff", | |
| "m": 3, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "All the site's main call-to-action buttons (top inquiry, the large image's SCOPRI DI PIÙ, the button below the nine-grid, the full-width band button, ISCRIVITI, INVIA, I accept) use the same accent treatment (same color/shape language), with none obviously doing its own thing; meanwhile the form error message color is clearly distinguishable from the primary #7A2E3C, so the error state is recognizable at a glance." | |
| }, | |
| { | |
| "id": "calc.place.dates", | |
| "m": 4, | |
| "dimension": "coverage", | |
| "w": 1.0, | |
| "description": "The budget calculator area sits between the virtual tour area and the full-width MATRIMONIO CON RITO CIVILE band, containing three package choices (Classico/Prestige/Reale), a guest-count slider and current-count display, and a selectable date list; the list has exactly 42 dates displayed in the \"2026-04-11 (Saturday)\" style with year-month-day and weekday, exactly 27 of them labeled Saturday, and the selected date item shows a visible selected style distinguishable from unselected ones." | |
| }, | |
| { | |
| "id": "calc.default.exact", | |
| "m": 4, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "The default state is Classico + 120 people; selecting any non-Saturday date (e.g. 2026-04-17, Friday) shows exactly €14,100; after switching to Prestige, dragging the count to 200, and selecting 2026-08-15 (Saturday), the amount becomes exactly €28,037, updating instantly with no extra \"Calculate\" click." | |
| }, | |
| { | |
| "id": "calc.discount.edge", | |
| "m": 4, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "Reale + 150 people + 2026-06-06 (Saturday) is exactly €28,566; Classico + 50 people + 2026-10-03 (Saturday) is exactly €9,775; with Prestige + 2026-09-04 (Friday), dragging the count from 140 to 150 changes the amount from €19,900 to €19,320 and simultaneously shows the \"Group discount 8%\" marker (the marker is not shown at 140 people)." | |
| }, | |
| { | |
| "id": "calc.floor.cents", | |
| "m": 4, | |
| "dimension": "functional", | |
| "w": 1.5, | |
| "description": "Remainders are always cut off, never rounded: Classico + 170 people + 2026-07-18 (Saturday) shows exactly €19,149 (not €19,150); Prestige + 170 people + 2026-05-09 (Saturday) shows exactly €24,545 (not €24,546); Reale + 190 people + 2026-05-09 (Saturday) shows exactly €34,914." | |
| }, | |
| { | |
| "id": "calc.range.bound", | |
| "m": 4, | |
| "dimension": "functional", | |
| "w": 1.0, | |
| "description": "The guest slider can reach both extremes and steps by 10: minimum 50, maximum 300, and it cannot be dragged below 50 or above 300; Reale + 300 people + 2026-08-01 (Saturday) is exactly €52,371." | |
| }, | |
| { | |
| "id": "calc.chain.prefill", | |
| "m": 4, | |
| "dimension": "interaction", | |
| "w": 1.5, | |
| "description": "In the Prestige/200 people/2026-08-15 (Saturday) state, clicking \"INVIA QUESTO PREVENTIVO\": the page scrolls to the CONTATTACI form, the inquiry type auto-changes to Preventivo matrimonio, and the pre-filled text in the message box contains the selected date written exactly as in the date list (2026-08-15 (Saturday)), Prestige, 200, and 28,037, with the remaining character count updating from 300 to 300 minus the pre-filled character count; then after filling in valid name/email/phone, ticking privacy, and submitting successfully, the inquiry count increments by 1 and the first entry of the Recent inquiries list has inquiry type Preventivo matrimonio." | |
| }, | |
| { | |
| "id": "calc.skin.consistent", | |
| "m": 4, | |
| "dimension": "visual", | |
| "w": 1.0, | |
| "description": "The budget calculator area uses the same theme as requirement 3: CTA buttons are #7A2E3C, the area's background belongs to the warm-sand/white family, no olive-green element appears within it, and the buttons' accent treatment matches the other main CTAs." | |
| } | |
| ], | |
| "inject": null, | |
| "qc_static": [], | |
| "review_status": "needs_human" | |
| } |