Datasets:
File size: 16,841 Bytes
dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f dd5428d c14c78f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | {
"task_id": "c31",
"layer": "composite",
"seed_type": "prd",
"operators": [
"generate",
"restyle",
"remove section",
"make interactive"
],
"difficulty": "regular",
"levers": [
"boundary and error paths"
],
"domain": "local services",
"seed_meta": {},
"title": "Alley Corner community home-service booking site: build from scratch, night redesign, and checkout",
"milestones": [
{
"operator": "generate",
"request": "The new project is called \"Alley Corner\", a community home-service booking site, desktop-first — build the whole site from scratch.\n\nA top nav: on the left the site name \"Alley Corner\" plus a small line \"Things at your doorstep — leave them to Alley Corner\", in the middle a search box (searching by service name or shop name is fine), on the right a \"My bookings\" entry with a numeric badge showing how many services are currently in the list; when the list is empty the badge must not show.\n\nThe homepage is laid out top to bottom like this: first a hero banner, the big slogan \"Things at your doorstep — leave them to Alley Corner\", with a line of small text below \"Cleaning · Repairs · Nails · Pets · Errands — at your door within an hour\"; next a horizontal \"Flash sale\" card row with 6 services, each card showing both the limited-time price and the struck-through original price, each with a \"Grab\" button that adds straight to my booking list (charged at the limited-time price); below that, the main service list.\n\nThe list needs filters and sorting above it. Six categories: Cleaning, Appliance repair, Repair & installation, Nails & lashes, Pet services, Errands; four areas: Chaoyang, Haidian, Xicheng, Fengtai; three sorts: Recommended (by monthly orders high to low), Price low to high, Rating high to low, defaulting to Recommended. The list holds 12 per page, with the pager below the list. Each card must have service name, shop, unit price (how much per hour), rating, monthly orders, area, plus an \"Add to booking\" button. Clicking the same service repeatedly must not add a second row — just show a notice that it's already in the list, and the badge number must not go up either.\n\n\"My bookings\" lists service name and unit price row by row; each row can be deleted, and at the bottom there's a total (the sum of the rows' unit prices). When the list is empty there must be an empty state reading \"No services selected yet — go pick one\"; when a search finds nothing there must also be an empty state reading \"No matching services\".\n\nThe data is what the ops colleague tossed over, 42 entries in total; I'll paste a few for you, fill in the rest the same way, just make the names sound plausible: Auntie's Here · 3-Bedroom Deep Clean 98/hour 4.9 1280 monthly orders Haidian can be urgent; CleanNest · Daily Wipe-Down 68 4.6 860 Chaoyang can be urgent; Jiebang · Sofa & Carpet Cleaning 128 4.7 430 Xicheng cannot be urgent; Old Zhang Appliances · Range Hood Deep Clean 168 4.8 2130 Chaoyang can be urgent; Elec Er · AC Refrigerant & Relocation 138 4.5 970 Fengtai can be urgent; Quickhand Wang · Drain Unclogging 158 4.4 610 Xicheng can be urgent; Screwdriver · Furniture Assembly 88 4.6 520 Haidian cannot be urgent; Fingertip Garden · At-Home Manicure 158 4.9 340 Chaoyang cannot be urgent; Lash Whisper · Lash Extensions 198 4.8 210 Haidian cannot be urgent; Paw Pal · Pet Bath & SPA 200 4.7 180 Chaoyang can be urgent; Meow Planet · At-Home Pet Feeding 60 4.9 760 Haidian can be urgent; Courier Lao Li · Same-City Pickup & Delivery 40 4.3 3050 Chaoyang can be urgent; Golden Hand · Rosewood Furniture Care 298 4.6 90 Xicheng cannot be urgent (this one goes under Repair & installation).\n\nThe counts have to match: Cleaning 10, Appliance repair 8, Repair & installation 5, Nails & lashes 6, Pet services 6, Errands 7; by area Chaoyang 14, Haidian 12, Xicheng 9, Fengtai 7. Pets hasn't been rolled out in Fengtai yet — not a single one there. Prices all fall between 40 and 298; the cheapest is Lao Li's 40, the most expensive is Golden Hand's 298; the best seller is Lao Li's at 3050, second best is Old Zhang Appliances' 2130 — for the data you fill in, monthly orders must not exceed 2130 and must not be below 50.\n\nThe flash sale slots hold these 6: CleanNest · Daily Wipe-Down, Elec Er · AC Refrigerant & Relocation, Quickhand Wang · Drain Unclogging, Screwdriver · Furniture Assembly, Paw Pal · Pet Bath & SPA, Courier Lao Li · Same-City Pickup & Delivery. The limited-time price is 30% off the original, with odd cents dropped (i.e. just cut off the decimal part, no rounding)."
},
{
"operator": "restyle",
"request": "Before launch the style needs a refresh. This version is too bright and white — we want to go night-toned: dark background across the site (near-black dark gray), primary color switched to warm orange, body text in light colors, cards as dark blocks slightly brighter than the background. Buttons, badges, the filter selected state, and the current page in pagination are all pointed out with this warm orange, while everything else unselected stays dark neutral. Be restrained — don't turn it into the multicolored look of an e-commerce sales event; the whole site is threaded through by this one primary color.\n\nA new skin is a new skin, but don't mess up what the previous version built — the list is still 12 per page, the default is still sorted by monthly orders, the badge's \"repeated adds don't increase\" logic stays the same, and no field on the cards is lost; the empty states must turn dark too, don't leave a glaring white block in the page."
},
{
"operator": "remove section",
"request": "Product isn't going to continue with the flash sale gimmick — remove the whole \"Flash sale\" horizontal row on the homepage, together with its heading, and don't leave a hole in the page; the content below moves up accordingly.\n\nBut the discount can't disappear along with it: the 6 services that were in the flash sale slots should be marked directly on the list cards as discounted (state clearly that it's 30% off), with the price showing the discounted number (same algorithm as before: 30% off, odd cents dropped), and adding to the booking list charges the discounted price too. The tag must be noticeable so users can tell at a glance who's discounted, but don't make a mess of the overall tone we just settled on.\n\nAlso, the total list count and the counts per category and per area must not be affected; price sorting must also sort by the discounted prices."
},
{
"operator": "make interactive",
"request": "Finally, wire up the checkout flow end to end.\n\nFirst, in the booking list, each row can choose a service duration of 1 to 4 hours; services marked as not urgent must not be given an urgency option, while urgent-capable ones get a toggle.\n\nClicking \"Book now\" goes through three steps: step one reviews the service, duration, and urgency, and can still change them here; step two fills in contact name, phone number, door address, and desired time slot; step three is the bill breakdown plus submit. There must be a step indicator showing which step you're on, the ability to go back to the previous step, and what you've filled in or selected must not be lost.\n\nHow the money is calculated, so we're clear: throughout, \"drop the odd cents\" means cutting off the decimal part directly, no rounding: each row first takes unit price × duration; a row of 3 hours or more gets 10% off first, with odd cents dropped; if that row has urgency checked, add 15% on top of the discounted integer, and drop the odd cents again. The rows add up to the subtotal. The first-order coupon takes 30 off orders of 200 or more, applied only once to the whole order, checked by default for the user, and they can also uncheck it. If the final amount is under 99, add a 15 basic service fee. The breakdown must list everything clearly so users can understand every line.\n\nIn step two the phone number must be 11 digits and the address must not be empty; if they're not filled in correctly, don't let the user proceed, and show a notice. After submitting, show a success page with an order number, clear the list, and reset the badge to the empty state. Clicking the submit button several times by accident must not create several orders."
}
],
"checklist": [
{
"id": "list.count.paging",
"m": 1,
"dimension": "coverage",
"w": 1.5,
"description": "With no filters, the service list has 42 entries, 12 per page, the pager has 4 pages in total, and page 4 shows exactly 6 cards."
},
{
"id": "filter.pet.empty",
"m": 1,
"dimension": "functional",
"w": 1.5,
"description": "After filtering category \"Pet services\" the result is 6 entries; selecting area \"Fengtai\" on top of that gives 0 entries and the page shows an empty state such as \"No matching services\", with no service cards left in the list area."
},
{
"id": "sort.default.top",
"m": 1,
"dimension": "functional",
"w": 1.0,
"description": "The default sort is \"Recommended\": page 1 row 1 is \"Courier Lao Li · Same-City Pickup & Delivery\" (3050 monthly orders) and row 2 is \"Old Zhang Appliances · Range Hood Deep Clean\" (2130 monthly orders), the whole page sorted by monthly orders high to low; after switching to \"Rating high to low\" the first row's rating is 4.9."
},
{
"id": "cart.badge.dedup",
"m": 1,
"dimension": "interaction",
"w": 1.5,
"description": "After adding \"Auntie's Here · 3-Bedroom Deep Clean\" and \"Old Zhang Appliances · Range Hood Deep Clean\" from the list, the badge shows 2, the list has 2 rows, and the total is 266; clicking the add button on \"Auntie's Here\" again leaves the list at 2 rows and the badge at 2, and shows a notice that it's already in the list."
},
{
"id": "empty.states",
"m": 1,
"dimension": "interaction",
"w": 1.0,
"description": "Deleting the list entries one by one down to 0 makes \"No services selected yet — go pick one\" appear and the top badge stop showing a number; typing \"submarine\" into the search box makes the list show \"No matching services\"."
},
{
"id": "search.name.or.shop",
"m": 1,
"dimension": "functional",
"w": 1.0,
"description": "Typing the service-name keyword \"range hood\" into the search box matches \"Old Zhang Appliances · Range Hood Deep Clean\"; typing the shop-name keyword \"Old Zhang\" likewise matches that entry — both search modes return results."
},
{
"id": "seckill.price.70",
"m": 1,
"dimension": "functional",
"w": 1.0,
"description": "The 6 flash sale cards show both the discounted price and the struck-through original price, with discounted prices respectively: CleanNest 47, Elec Er 96, Quickhand Wang 110, Screwdriver 61, Paw Pal 140, Courier Lao Li 28; after clicking \"Grab\" the list totals at the discounted prices."
},
{
"id": "skin.dark.global",
"m": 2,
"dimension": "visual",
"w": 1.5,
"description": "The homepage banner, list area, filter area, and booking list all have near-black dark gray backgrounds with light body text, with no large white-background blocks anywhere on the page; the primary buttons and the \"My bookings\" badge are warm orange."
},
{
"id": "skin.accent.states",
"m": 2,
"dimension": "visual",
"w": 1.0,
"description": "Filter selected states and the current page in the pager are marked in warm orange, while unselected ones are dark neutral; across the site there is only this one highlight color, with no second clashing high-saturation color scheme."
},
{
"id": "skin.keep.behavior",
"m": 2,
"dimension": "coverage",
"w": 1.5,
"description": "After the restyle it still holds: 12 per page, 4 pages, the default Recommended sort's first row is still \"Courier Lao Li · Same-City Pickup & Delivery\", and repeatedly adding the same service does not increase the badge number."
},
{
"id": "skin.card.fields",
"m": 2,
"dimension": "visual",
"w": 1.0,
"description": "On the dark cards all six pieces of information — service name, shop, unit price, rating, monthly orders, area — are present, and the card background is slightly brighter than the page background with clearly readable text."
},
{
"id": "skin.empty.dark",
"m": 2,
"dimension": "visual",
"w": 1.0,
"description": "The list empty state and the search-no-results empty state are both dark background with light copy, and the copy is still \"No services selected yet — go pick one\" and \"No matching services\" respectively."
},
{
"id": "block.seckill.removed",
"m": 3,
"dimension": "coverage",
"w": 1.5,
"description": "The \"Flash sale\" heading and the horizontal flash sale cards no longer appear anywhere on the homepage; the hero banner is directly followed by the filter/list area, with no abnormally tall blank placeholder in between."
},
{
"id": "discount.prices",
"m": 3,
"dimension": "functional",
"w": 1.5,
"description": "These 6 entries in the list show the 30%-off tag and the discounted price: CleanNest 47, Elec Er 96, Quickhand Wang 110, Screwdriver 61, Paw Pal 140, Courier Lao Li 28; the other services' prices are unchanged (e.g. Auntie's Here is still 98)."
},
{
"id": "discount.sort.low",
"m": 3,
"dimension": "functional",
"w": 1.0,
"description": "Switching to \"Price low to high\", row 1 is Courier Lao Li (28), and the sorting as a whole is ascending by discounted price; the last row on the last page is Golden Hand · Rosewood Furniture Care (298)."
},
{
"id": "discount.counts.intact",
"m": 3,
"dimension": "coverage",
"w": 1.0,
"description": "After removing the flash sale section the list still has 42 entries in 4 pages, category \"Cleaning\" still has 10, and area \"Chaoyang\" still has 14."
},
{
"id": "discount.badge.tone",
"m": 3,
"dimension": "visual",
"w": 1.0,
"description": "The discount tag is noticeable and distinguishable (e.g. a 30%-off label with a warm orange background or warm orange outline), but follows requirement 2's dark + single warm orange tone without introducing a new clashing color, and after adding to the booking list the total is charged at the discounted price."
},
{
"id": "order.row.controls",
"m": 4,
"dimension": "interaction",
"w": 1.0,
"description": "Each booking list row can choose 1–4 hours; services marked as not urgent (e.g. Jiebang · Sofa & Carpet Cleaning, Screwdriver · Furniture Assembly) have no urgency option on that row, while urgent-capable services (e.g. Old Zhang Appliances) have an urgency toggle on that row."
},
{
"id": "order.wizard.steps",
"m": 4,
"dimension": "interaction",
"w": 1.5,
"description": "Clicking \"Book now\" enters the three-step flow with the step indicator marking the current step; going back from step 2 to step 1 and forward again preserves the contact name/phone/address already filled in for step 2 as well as the selected desired time slot, and the duration changed in step 1 is preserved too."
},
{
"id": "order.amount.exact",
"m": 4,
"dimension": "functional",
"w": 1.5,
"description": "When the list is \"Auntie's Here 98 × 3 hours with urgency on\" and \"Meow Planet · At-Home Pet Feeding 60 × 1 hour\", the breakdown shows those two lines as 303 and 60, subtotal 363, the first-order coupon checked by default taking 30 off, no basic service fee, and an amount due of 333; after unchecking the coupon the amount due becomes 363."
},
{
"id": "order.fee.threshold",
"m": 4,
"dimension": "functional",
"w": 1.0,
"description": "When the list only has \"Courier Lao Li 28 × 1 hour\", the subtotal is 28, the coupon doesn't apply since it's under 200, a 15 basic service fee is added because it's under 99, the amount due is 43, and this service fee is listed separately in the breakdown."
},
{
"id": "order.validate.block",
"m": 4,
"dimension": "interaction",
"w": 1.0,
"description": "In step 2, if the phone number is 10 digits or contains letters, or the address is left empty, clicking next is blocked with a notice and stays on step 2; only after changing it to 11 pure digits with a non-empty address can step 3 be entered."
},
{
"id": "order.submit.idempotent",
"m": 4,
"dimension": "interaction",
"w": 1.5,
"description": "In step 3, quickly clicking submit 3 times in a row generates only 1 order number and shows the success page only once; after success the list has 0 rows, the top badge no longer shows a number, and the list area returns to the empty-state copy."
}
],
"inject": null,
"qc_static": [],
"review_status": "needs_human"
}
|