File size: 9,841 Bytes
148f3c7
 
 
 
 
c14c78f
 
 
 
 
148f3c7
c14c78f
148f3c7
c14c78f
 
 
148f3c7
c14c78f
148f3c7
 
 
 
4385304
148f3c7
c14c78f
148f3c7
 
c14c78f
 
148f3c7
 
c14c78f
 
148f3c7
 
c14c78f
 
148f3c7
 
c14c78f
 
148f3c7
 
c14c78f
 
148f3c7
 
 
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
c14c78f
148f3c7
c14c78f
148f3c7
 
 
 
 
 
 
 
c14c78f
 
 
 
148f3c7
 
4385304
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
{
 "task_id": "c43",
 "layer": "composite",
 "seed_type": "prd",
 "operators": [
  "generate",
  "make responsive",
  "add state",
  "restructure layout",
  "remove section"
 ],
 "difficulty": "challenging",
 "levers": [
  "state coupling",
  "cross-requirement combined state",
  "exact numeric assertions"
 ],
 "domain": "local services",
 "repair": false,
 "inject_type": null,
 "seed_meta": {
  "authored_by": "hand",
  "materials": "none"
 },
 "title": "Xiangkou Life: local services site from build to narrow-screen collapse and section takedown",
 "milestones": [
  {
   "operator": "generate",
   "request": "Build the homepage of \"Xiangkou Life\", a local services site. Put the site name and a \"My favorites (0)\" in the top bar. Below, an area bar: All city / East / West / South, defaulting to \"All city\".\n\nThe main body is a merchant list, 22 in total: East 8, West 7, South 7. Each needs a shop name, area, rating, per-person price, and a \"Favorite\" button. Ratings start at 4.9 and decrease by 0.1 per shop, and once they reach a minimum of 2.8 they cycle back to 4.9. Per-person price is computed by position: the n-th shop = 30 + n × 5. The list defaults to rating high to low."
  },
  {
   "operator": "make responsive",
   "request": "On narrow screens (browser width around 500px) it has to be viewable: the merchant list goes from multiple columns to a single vertical column; if the area bar doesn't fit, fold it into two rows or tuck it into a dropdown, but all four areas must still be selectable. At desktop width keep it as-is."
  },
  {
   "operator": "add state",
   "request": "Favorites have to actually work. Clicking \"Favorite\" changes it to \"Favorited\" and increments the top-bar count by 1; clicking again cancels it and decrements the count by 1. This state must not be lost after switching area or switching between narrow and wide screens."
  },
  {
   "operator": "restructure layout",
   "request": "Change the merchant list from a long vertical list to a grid: 3 shops per row at desktop width. After the change, the rating sort, per-person prices, and favorite states must be exactly the same as before."
  },
  {
   "operator": "remove section",
   "request": "We're not doing the \"South\" area any more — remove the tab and those 7 merchants together. After removal, per-person prices are recomputed by the new positions (the n-th shop = 30 + n × 5)."
  }
 ],
 "checklist": [
  {
   "id": "gen.areas.four",
   "m": 1,
   "dimension": "visual",
   "w": 1.5,
   "description": "The area bar has exactly 4 tabs: All city / East / West / South, with \"All city\" in the selected state."
  },
  {
   "id": "gen.count.22",
   "m": 1,
   "dimension": "functional",
   "w": 1.5,
   "description": "Under All city there are exactly 22 merchants."
  },
  {
   "id": "gen.score.desc",
   "m": 1,
   "dimension": "functional",
   "w": 1.5,
   "description": "The default is rating descending: shop 1 is 4.9, shop 2 is 4.8, shop 3 is 4.7."
  },
  {
   "id": "gen.price.rule",
   "m": 1,
   "dimension": "functional",
   "w": 1.5,
   "description": "Per-person price is computed by position: shop 1 is ¥35, shop 2 is ¥40, shop 10 is ¥80."
  },
  {
   "id": "gen.area.split",
   "m": 1,
   "dimension": "functional",
   "w": 1.0,
   "description": "After switching area: East 8, West 7, South 7."
  },
  {
   "id": "gen.card.parts",
   "m": 1,
   "dimension": "visual",
   "w": 1.0,
   "description": "Each merchant card simultaneously shows shop name, area, rating, per-person price, and a \"Favorite\" button."
  },
  {
   "id": "gen.fav.zero",
   "m": 1,
   "dimension": "visual",
   "w": 1.0,
   "description": "The top bar shows the site name \"Xiangkou Life\" and the favorites entry, with an initial count of 0."
  },
  {
   "id": "resp.narrow.single",
   "m": 2,
   "dimension": "visual",
   "w": 1.5,
   "description": "On narrow screens (about 500px wide) merchant cards are in a single vertical column, with no side-by-side two-column arrangement."
  },
  {
   "id": "resp.narrow.areas",
   "m": 2,
   "dimension": "interaction",
   "w": 1.5,
   "description": "On narrow screens the four area tabs can still each be clicked and take effect (possibly wrapped or tucked into a dropdown, but all selectable)."
  },
  {
   "id": "resp.wide.keep",
   "m": 2,
   "dimension": "visual",
   "w": 1.0,
   "description": "After returning to desktop width the layout returns to multiple columns, with no leftover single-column narrow-screen form."
  },
  {
   "id": "resp.narrow.noclip",
   "m": 2,
   "dimension": "visual",
   "w": 1.0,
   "description": "On narrow screens the shop name and per-person price are both fully visible, not clipped or overflowing the screen."
  },
  {
   "id": "st.fav.add",
   "m": 3,
   "dimension": "interaction",
   "w": 1.5,
   "description": "Clicking \"Favorite\" on shop 1 changes the button to \"Favorited\" and the top-bar count becomes 1."
  },
  {
   "id": "st.fav.three",
   "m": 3,
   "dimension": "interaction",
   "w": 1.5,
   "description": "Then favoriting shops 2 and 3 makes the top-bar count 3, with all three showing \"Favorited\"."
  },
  {
   "id": "st.fav.cancel",
   "m": 3,
   "dimension": "interaction",
   "w": 1.5,
   "description": "Clicking shop 2 again returns the button to \"Favorite\" and the count becomes 2."
  },
  {
   "id": "st.fav.keep.area",
   "m": 3,
   "dimension": "interaction",
   "w": 1.5,
   "description": "After favoriting 3 shops, switching to West and back to All city leaves the top-bar count at 3 and the original three shops still \"Favorited\"."
  },
  {
   "id": "st.fav.keep.resp",
   "m": 3,
   "dimension": "interaction",
   "w": 1.5,
   "description": "After favoriting 3 shops, switching to narrow screen and back to wide screen leaves the top-bar count and each shop's button state unchanged."
  },
  {
   "id": "ref.grid.three",
   "m": 4,
   "dimension": "visual",
   "w": 1.5,
   "description": "At desktop width merchant cards are arranged in a grid with exactly 3 per row."
  },
  {
   "id": "ref.order.same",
   "m": 4,
   "dimension": "functional",
   "w": 1.5,
   "description": "After the restructure the sort is still rating descending, with the first three ratings 4.9 / 4.8 / 4.7 in order."
  },
  {
   "id": "ref.price.same",
   "m": 4,
   "dimension": "functional",
   "w": 1.0,
   "description": "After the restructure shop 1's per-person price is still ¥35 and shop 10's still ¥80."
  },
  {
   "id": "ref.fav.same",
   "m": 4,
   "dimension": "interaction",
   "w": 1.5,
   "description": "Favorite 2 shops before the restructure; after restructuring into a grid the top-bar count is still 2 and those 2 shops are still \"Favorited\"."
  },
  {
   "id": "ref.grid.narrow",
   "m": 4,
   "dimension": "visual",
   "w": 1.0,
   "description": "The grid layout still degrades to a single column on narrow screens, with no horizontal scrollbar."
  },
  {
   "id": "del.south.gone",
   "m": 5,
   "dimension": "coverage",
   "w": 1.5,
   "description": "The area bar has only 3 tabs left, and \"South\" no longer appears."
  },
  {
   "id": "del.count.15",
   "m": 5,
   "dimension": "functional",
   "w": 1.5,
   "description": "Under All city the merchants become 15."
  },
  {
   "id": "del.no.south",
   "m": 5,
   "dimension": "coverage",
   "w": 1.0,
   "description": "Browsing all 15 shops, none belongs to the South area."
  },
  {
   "id": "del.price.recalc",
   "m": 5,
   "dimension": "functional",
   "w": 1.5,
   "description": "Per-person prices are recomputed by the new positions: after deletion shop 1 is ¥35, shop 10 is ¥80, and the last shop (the 15th) is ¥105."
  },
  {
   "id": "del.keep.fav",
   "m": 5,
   "dimension": "interaction",
   "w": 1.5,
   "description": "Favorite 2 East shops before deletion; after removing South the top-bar count is still 2 and those 2 shops are still \"Favorited\"."
  },
  {
   "id": "del.grid.reflow",
   "m": 5,
   "dimension": "visual",
   "w": 1.0,
   "description": "After deletion the grid still has 3 per row, with the last row arranged by the remaining count and no empty placeholder cells."
  },
  {
   "id": "del.area.recheck",
   "m": 5,
   "dimension": "interaction",
   "w": 1.0,
   "description": "After removing South, switching back and forth twice between East and West, each time the merchant counts are 8 and 7 respectively and the sort is still rating descending."
  },
  {
   "id": "del.combo",
   "m": 5,
   "dimension": "interaction",
   "w": 1.5,
   "description": "Favorite 2 shops → switch to narrow screen → switch to West → return to wide screen, and the top-bar count and favorite states are still correct."
  },
  {
   "id": "c43a.sel.single",
   "m": 1,
   "dimension": "visual",
   "w": 1.0,
   "description": "At any moment only one tab in the filter controls is in the selected state, and the selected state is distinguishable from the unselected state."
  },
  {
   "id": "c43a.info.intact",
   "m": 1,
   "dimension": "visual",
   "w": 1.0,
   "description": "After switching views each card's information is still fully visible, with no text truncation or element overlap."
  },
  {
   "id": "c43b.sel.single",
   "m": 5,
   "dimension": "visual",
   "w": 1.0,
   "description": "At any moment only one tab in the filter controls is in the selected state, and the selected state is distinguishable from the unselected state."
  },
  {
   "id": "c43b.info.intact",
   "m": 5,
   "dimension": "visual",
   "w": 1.0,
   "description": "After switching views each card's information is still fully visible, with no text truncation or element overlap."
  }
 ],
 "inject": null,
 "qc_static": [],
 "review_status": "hand_authored",
 "hand_notes": {
  "cross_requirement_items": 6,
  "dim_counts": {
   "visual": 13,
   "functional": 8,
   "interaction": 10,
   "coverage": 2
  }
 }
}