Datasets:
|
Download answer_key/answer_key.md from misatadata/retail-star-answer-key: direct link, hf CLI and curl.
- Browser
- Download file 10.3 kB
-
https://huggingface.co/datasets/misatadata/retail-star-answer-key/resolve/main/answer_key/answer_key.md
- Command line
-
hf download hf://datasets/misatadata/retail-star-answer-key/answer_key/answer_key.md
-
curl -L -o answer_key.md https://huggingface.co/datasets/misatadata/retail-star-answer-key/resolve/main/answer_key/answer_key.md
10.3 kB
Answer key
Each question has one expected value, computed from the data and checked on ClickHouse 24.3 and DuckDB. Money is exact to the cent. Averages of money (AOV) are given to the cent and graded within ±0.01. Ratios are given to six decimals and graded within ±0.0001 absolute. Members are exact names. The SQL for every question is in questions.jsonl.
All data is as of 2026-06-30. Amounts are in USD.
Measure definitions
| Measure | Definition |
|---|---|
| Revenue | Σ net_amount. Net of discounts. Not net of returns; returns are measured separately. |
| Quantity | Σ quantity. |
| Cost | Σ cost_amount. |
| Margin | Revenue − Cost. |
| Margin % | Margin / Revenue, a ratio of sums. |
| AOV | Revenue / count(distinct order_id). "Category AOV" means category revenue / distinct orders containing at least one line in that category. |
| Return Rate (sales cohort) | Σ returned_qty for lines sold in the period / Σ quantity sold in the period. Attribution is by sale_date. |
| Return Rate (return month) | Σ returned_qty with return_date in the period / Σ quantity sold in the period. |
| Distinct customers | count of distinct non-NULL customer_id with at least one order in the slice. |
| Repeat-customer rate | customers with at least 2 distinct orders within the period / distinct customers in the period. |
| YoY % | (X in period − X in the same period one year earlier) / X in the earlier period. |
| YTD | 1 Jan through the as-of date of the same year. "YTD 2026" covers 2026-01-01..2026-06-30. "Prior YTD" covers 2025-01-01..2025-06-30. |
| Same quarter last year | The same quarter, one year earlier. |
| Share of parent | child Revenue / parent Revenue: category / all, subcategory / its category, region / its country. |
| Geography slices | Guest orders have no customer, so they have no country, region or city. Any customer-geography question covers identified customers only, and the regions therefore don't sum to total Revenue. |
Questions
| ID | Question | Expected | Type | Measures |
|---|---|---|---|---|
| Q01 | What is total revenue over every order in the dataset (1 Jan 2023 to 30 Jun 2026), including guest orders? | 197329241.89 |
money | Revenue |
| Q02 | What was total revenue in calendar year 2025? | 61897312.54 |
money | Revenue |
| Q03 | How many units were sold in 2024? | 1542921 |
count | Quantity |
| Q04 | What was revenue from the Online channel in 2025? | 21050963.28 |
money | Revenue |
| Q05 | How many orders were placed in 2025? | 376829 |
count | Orders |
| Q06 | What was revenue for the Home & Kitchen category in Q4 2024? | 3188248.84 |
money | Revenue |
| Q07 | What was revenue for the Accessories subcategory of Apparel (not Electronics accessories) in 2025? | 982974.27 |
money | Revenue |
| Q08 | What was revenue from customers in Portland, Oregon (United States, West region) in 2025? Guest orders have no customer and are not counted in any customer geography. | 650588.55 |
money | Revenue |
| Q09 | What was revenue from customers in London, England (United Kingdom) in 2025? Guest orders have no customer and are not counted in any customer geography. | 6815358.27 |
money | Revenue |
| Q10 | What was the margin percentage across all sales in 2025? | 0.367050 |
ratio | Margin % |
| Q11 | What was the margin percentage for Electronics in 2025? | 0.252316 |
ratio | Margin % |
| Q12 | What was the margin (revenue minus cost) for Apparel in 2024? | 2665835.08 |
money | Margin |
| Q13 | What was the total margin of the product 'Vireo 65" QLED TV Q65-V' over the whole dataset? | -357083.07 |
money | Margin |
| Q14 | Which product had the lowest margin in 2025? | Vireo 65" QLED TV Q65-V |
member | Margin |
| Q15 | What was the margin percentage for Beauty in December 2025? | 0.574817 |
ratio | Margin % |
| Q16 | What was the margin percentage for the Store channel year to date in 2026? | 0.379002 |
ratio | Margin %, YTD |
| Q17 | What was the average order value in 2025? | 164.26 |
amount | AOV |
| Q18 | What was the average order value for Online orders in 2025? | 174.60 |
amount | AOV |
| Q19 | What was the average order value in November 2025? | 165.18 |
amount | AOV |
| Q20 | What was the Electronics category AOV in 2025, defined as Electronics revenue divided by the number of distinct orders that contain at least one Electronics line? | 186.34 |
amount | AOV |
| Q21 | What was the average order value of orders placed by Corporate-segment customers in 2025? | 238.17 |
amount | AOV |
| Q22 | What was the sales-cohort return rate for Apparel sold in March 2025? | 0.179999 |
ratio | Return Rate (sales cohort) |
| Q23 | What was the sales-cohort return rate for Electronics sold in 2025? | 0.077241 |
ratio | Return Rate (sales cohort) |
| Q24 | What was the return-month return rate for Apparel in January 2025: units returned with a return date in January 2025, divided by Apparel units sold in January 2025? | 0.266387 |
ratio | Return Rate (return month) |
| Q25 | What was the sales-cohort return rate across all categories for sales made in 2025? | 0.065530 |
ratio | Return Rate (sales cohort) |
| Q26 | What was the return-month return rate across all categories for January 2026? | 0.092284 |
ratio | Return Rate (return month) |
| Q27 | What is the sales-cohort return rate for Apparel sold in June 2026, as of 30 June 2026? | 0.083542 |
ratio | Return Rate (sales cohort) |
| Q28 | Excluding Apparel, which category had the highest sales-cohort return rate for sales made in Q4 2025? | Electronics |
member | Return Rate (sales cohort) |
| Q29 | How many returned lines came from sales made in December 2025 but were returned in January 2026? | 4450 |
count | Returns |
| Q30 | What was the total refund amount for returns received (by return date) in 2025? | 4705847.46 |
money | Refunds |
| Q31 | How many distinct customers placed at least one order in 2025? | 74597 |
count | Distinct customers |
| Q32 | How many distinct customers in Germany placed at least one order in Q4 2025? Guest orders have no customer and are not counted in any customer geography. | 7089 |
count | Distinct customers |
| Q33 | How many distinct customers placed at least one order in the first half of 2025 (January to June)? | 49755 |
count | Distinct customers |
| Q34 | What was the repeat-customer rate in 2025: customers with two or more orders in 2025 divided by customers with at least one? | 0.691288 |
ratio | Repeat-customer rate |
| Q35 | What was the repeat-customer rate for Online orders in 2025, counting only Online orders? | 0.518248 |
ratio | Repeat-customer rate |
| Q36 | How many distinct customers bought at least one Apparel item in 2024? | 34209 |
count | Distinct customers |
| Q37 | By what percentage did revenue grow in 2025 compared with 2024? | 0.104915 |
ratio | YoY % |
| Q38 | What was revenue year to date in 2026? | 29761734.70 |
money | Revenue, YTD |
| Q39 | By what percentage did year-to-date 2026 revenue change against the same period of 2025 (prior YTD)? | 0.136171 |
ratio | YoY %, YTD |
| Q40 | By what percentage did Q2 2025 revenue change against the same quarter last year? | 0.099760 |
ratio | YoY %, Same quarter last year |
| Q41 | By what percentage did Electronics units sold change in 2025 compared with 2024? | 0.113249 |
ratio | Quantity, YoY % |
| Q42 | By what percentage did February 2024 revenue change against February 2023? (February 2024 has 29 days.) | 0.121154 |
ratio | YoY % |
| Q43 | What was revenue on 29 February 2024? | 111840.93 |
money | Revenue |
| Q44 | How many percentage points did the margin percentage change from prior YTD (Jan to Jun 2025) to YTD 2026? Give the difference of the two margin percentages as a fraction (e.g. -0.0123). | 0.000796 |
ratio | Margin %, YTD |
| Q45 | Which month of 2025 had the highest revenue? | December |
member | Revenue |
| Q46 | By what percentage did December 2025 revenue change against November 2025? | 0.002600 |
ratio | Revenue |
| Q47 | By what percentage did Online revenue year to date in 2026 change against Online revenue in the prior YTD? | 0.153846 |
ratio | YoY %, YTD |
| Q48 | What share of total 2025 revenue came from Electronics? | 0.419988 |
ratio | Share of parent |
| Q49 | What share of Electronics revenue in 2025 came from the TVs subcategory? | 0.207002 |
ratio | Share of parent |
| Q50 | What share of Apparel revenue in 2025 came from Apparel's Accessories subcategory? | 0.163515 |
ratio | Share of parent |
| Q51 | What share of 2025 revenue from United States customers came from the Midwest region? Guest orders have no customer and are not counted in any customer geography. | 0.174677 |
ratio | Share of parent |
| Q52 | What share of 2025 revenue came from the Online channel? | 0.340095 |
ratio | Share of parent |
| Q53 | Which customer region (country and region) had the largest percentage revenue decline in Q2 2025 against Q2 2024, and what was that change? Answer as 'Country / Region' and the change as a fraction. Guest orders have no customer and are not counted in any customer geography. | United States / Midwest; -0.213373 |
member_and_ratio | YoY %, Same quarter last year |
| Q54 | Which category's sales-cohort return rate stays the same from month to month, across sale months whose 90-day return window had closed by 30 June 2026 (January 2023 to March 2026)? | Apparel |
member | Return Rate (sales cohort) |
| Q55 | Which product had a negative margin in every calendar year of the data (2023, 2024, 2025 and 2026 to date)? | Vireo 65" QLED TV Q65-V |
member | Margin |
| Q56 | On which date in 2025 was revenue highest? | 2025-11-28 |
member | Revenue |
| Q57 | In 2025, what was average monthly revenue in November and December divided by average monthly revenue from February to October? | 1.675232 |
ratio | Revenue |
| Q58 | What was revenue from guest checkouts (orders with no customer) in 2025? | 1384310.43 |
money | Revenue |
| Q59 | What share of 2025 revenue cannot be attributed to any customer country because the order was a guest checkout? | 0.022365 |
ratio | Share of parent |
| Q60 | What was 2025 revenue from customers whose segment is not recorded? | 596959.10 |
money | Revenue |