Skip to content

Business questions

Five questions, graded 0 to 2 each, for a maximum of 10. The data covers 2024-01-01 to 2025-12-31; the latest month is 2025-12.

Q01: How many prescriptions were filled by region and month?

Section titled “Q01: How many prescriptions were filled by region and month?”

Paraphrases (other ways a user might ask; try them in chat, the grader scores the main wording):

  • Show monthly prescription fill counts for each region.
  • What is the fill volume per region per month?
  • Break down prescriptions filled by region and calendar month.
  • How many scripts did each region fill every month?

Answer columns: region, year_month, prescriptions_filled

Grading: table, partial credit by row_fraction.

How the reference answer is defined

Count every fill, new prescriptions and refills together, by store region and calendar month for all 24 months in the data (January 2024 to December 2025).

Expected answer (96 rows, first 12 shown)
regionyear_monthprescriptions_filled
East2024-01454
East2024-02436
East2024-03438
East2024-04396
East2024-05445
East2024-06441
East2024-07453
East2024-08378
East2024-09409
East2024-10440
East2024-11448
East2024-12468

Q02: Which medication categories experienced the largest volume changes?

Section titled “Q02: Which medication categories experienced the largest volume changes?”

Paraphrases (other ways a user might ask; try them in chat, the grader scores the main wording):

  • Which therapeutic categories moved the most in the latest month?
  • Where did prescription volume change the most by drug category?
  • Rank medication categories by how much their fill volume changed.
  • Which categories grew or shrank the most last month?

Answer columns: category, prior_month_fills, latest_month_fills, change, change_pct

Grading: ranking, partial credit by top_key.

How the reference answer is defined

Compare fills in the latest complete month in the data (December 2025) with the previous month (November 2025) for each therapeutic category. Rank categories by the absolute change in fills, largest first. Report both months, the change, and the percent change as a fraction (0.25 means 25 percent).

Expected answer (8 rows)
categoryprior_month_fillslatest_month_fillschangechange_pct
Respiratory2194562371.082192
Anti-infective197271740.375635
Dermatology11260-52-0.464286
Cardiovascular346377310.089595
Pain and Inflammation185210250.135135
Gastrointestinal213203-10-0.046948
Diabetes253246-7-0.027668
Mental Health236229-7-0.029661

Q03: What was the average prescription processing time by store?

Section titled “Q03: What was the average prescription processing time by store?”

Paraphrases (other ways a user might ask; try them in chat, the grader scores the main wording):

  • How long does each store take to process a prescription on average?
  • Show mean processing minutes per store.
  • Which stores are slowest at getting prescriptions ready?
  • Average time from intake to ready for pickup, by store.

Answer columns: store, avg_processing_minutes

Grading: ranking, partial credit by top_key.

How the reference answer is defined

Average processing minutes per fill for each store across the full data window (January 2024 to December 2025). Sort slowest first.

Expected answer (12 rows)
storeavg_processing_minutes
Sunset Mesa20.519744
Harbor Point13.169722
Granite Park12.41314
Riverbend12.318225
Lakeview12.077522
Oak Terrace12.043905
Bayside12.014074
Magnolia Square11.567551
Fox Run11.476436
Pine Hollow11.362979
Willow Creek10.933369
Stonebridge10.862511

Q04: Which stores had unusually high refill activity?

Section titled “Q04: Which stores had unusually high refill activity?”

Paraphrases (other ways a user might ask; try them in chat, the grader scores the main wording):

  • Which stores are refilling far more than the rest of the chain?
  • Flag stores with abnormal refill rates.
  • Where is refill activity unusually high?
  • Which pharmacies stand out for refills recently?

Answer columns: store, refill_rate, refill_rate_index

Grading: set, partial credit by any_key.

How the reference answer is defined

For the latest quarter in the data (October to December 2025), compute each store’s refill rate (refills divided by all fills) and its index against the chain-wide refill rate for the same quarter. A store is unusually high when its index is 1.25 or more. Return only the flagged stores. Rates are fractions (0.8 means 80 percent).

Expected answer (2 rows)
storerefill_raterefill_rate_index
Riverbend0.7957371.368062
Granite Park0.7816331.343813

Q05: How did prescription volume compare with the previous period?

Section titled “Q05: How did prescription volume compare with the previous period?”

Paraphrases (other ways a user might ask; try them in chat, the grader scores the main wording):

  • Is prescription volume up or down versus the prior period?
  • Compare this month’s fills with last month.
  • How much did total fills change period over period?
  • What was the month-over-month change in prescriptions filled?

Answer columns: period, prescriptions_filled, previous_period_fills, change, change_pct

Grading: table, partial credit by column_match.

How the reference answer is defined

Compare total fills in the latest complete month in the data (December 2025) with the previous month (November 2025). Report the period as YYYY-MM, both totals, the change, and the percent change as a fraction.

Expected answer (1 rows)
periodprescriptions_filledprevious_period_fillschangechange_pct
2025-12205217612910.165247