NYC taxi trips: readiness report
Against your bar
- Met: At least 90% of questions right every time (11 of 12 (91.7%))
- Met: No question never right (none)
- Met: Every expected answer current (all current)
Where it stands, by area
What the states mean
- Right every time. Every ask, in every wording, gave the right number.
- Sometimes right. Right on some asks and wrong on others. Closest to fixed.
- Never right. No ask was right, and at least one gave a number. It looks like an answer, which makes it the dangerous one.
- Declines. No ask was right, and none gave a number. A safe failure.
- Can't tell. The expected answer was out of date when it was asked, so it can't be graded.
What to fix next
| Question | Area | State | What happened | Look first |
|---|---|---|---|---|
| TQ1 | time | Sometimes right | Right on 14 of 15 asks. 1 answer matched another reading. Runs split at the query it wrote in 1 of 3 wordings. 1 answer named a method it didn't use. | Pin down the reading, Make the label match the method, Give it the measure |
Guides
Pin down the reading
What points here. Its wordings split at how it read the question, it gave an answer that matches another reading your suite lists, or one wording is right every time while another isn't.
Why it happens. Business terms often have more than one sensible meaning: a simple or a weighted average, a calendar or a fiscal quarter, every record or only the valid ones. Unless it's told, the agent picks one, and can pick differently when the question is worded differently or asked again. It gives no sign there was a choice.
What to try- Write the definition your business uses for the term, in a sentence or two, where your kind of source reads it.
- Semantic model: put it in the measure's or column's description (first 200 characters), add synonyms, and add it to Prep data for AI: AI instructions can be written through the model's definition, and a person adds a verified answer for the exact question in Power BI. The agent's own instructions are ignored when it writes DAX.
- Lakehouse or warehouse: put it in the agent's or the data source's instructions, or give an example query that applies it. Genie: put it in the space's text instruction or a SQL snippet.
- If the agent keeps taking a reading you don't use, rule it out by name, in the same place: “Average price means the simple mean of interval prices, not the demand-weighted price.”
- Say which calendar a period means: “Last quarter means the calendar quarter before the current one.”
- Run again under a new config label.
How you will know. The question should be right every time, in every wording. Look at the rest of the suite too: a definition can reach into questions it wasn't written for.
Give it the measure
What points here. Its wordings split at the query the agent wrote.
Why it happens. The agent worked the calculation out itself, and differently between runs. A figure your business already calculates should be a measure with a clear name and description (semantic model), or an example query (lakehouse, warehouse or Genie), so the agent uses it instead of reinventing it.
What to try- Semantic model: add a measure for the figure, with a description that says what it includes. Example queries aren't supported for a semantic-model source. A person can also add a verified answer in Power BI (Prep data for AI) for the exact question.
- Lakehouse or warehouse: add an example question and its SQL to the data source (up to 100), or a view that holds the calculation.
- Genie: add an example SQL or a SQL snippet to the space.
- Keep names honest: a measure named Average Price should compute the average your business means.
How you will know. Runs of the question should now use the same calculation and agree with the expected answer.
Make the label match the method
What points here. Some answers stated a method that differs from the one they computed.
Why it happens. An answer can name the right method and compute a different one, which is harder to spot than a plain wrong number. In our published runs on Australian electricity data, 101 of 120 average-price runs used the measure named Average Price, and answers labelled demand-weighted were simple averages.
What to try- Rename the measure, or add a description that says exactly what it computes. This works for every kind of source.
- Define the term the answer names, so the agent picks the measure that matches: in synonyms and Prep data for AI's AI instructions for a semantic model (written through the model's definition); in the data source instructions or an example query for a lakehouse or warehouse; in the text instruction for Genie.
How you will know. Answers should name the method they used, and match the expected answer.
Prep pack: fixes drafted for your model
| Fix | Where | Draft | Why | Status |
|---|---|---|---|---|
| F001 |
taxi_zone_lookup |
Taxi-zone geography lookup keyed by LocationID. Borough, Zone and service_zone are distinct attributes. Trip geography defaults to pickup; drop-off uses a separate location join. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F002 |
taxi_zone_lookup[Borough] |
Borough label for geographic grouping. Stored values: Bronx, Brooklyn, EWR, Manhattan, N/A, Queens, Staten Island, Unknown. Keep N/A and Unknown; do not substitute service_zone. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F003 |
taxi_zone_lookup[Borough] |
borough name, pickup borough | The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F004 |
taxi_zone_lookup[LocationID] |
Taxi-zone identifier used to join trip locations; Zone holds the zone name. Match PULocationID by default, or DOLocationID for drop-off geography. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used taxi_zone_lookup[LocationID] in 18 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F005 |
taxi_zone_lookup[LocationID] |
taxi zone identifier, taxi zone code | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used taxi_zone_lookup[LocationID] in 18 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F006 |
taxi_zone_lookup[service_zone] |
Service-area classification, not borough. Stored values: Airports, Boro Zone, EWR, N/A, Yellow Zone. Use Borough for borough comparisons. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used taxi_zone_lookup[service_zone] in 1 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F007 |
taxi_zone_lookup[service_zone] |
taxi service area, service area | The correct answer reads taxi_zone_lookup[service_zone] in the semantic model. 1 question(s) here (YT4) were not right every time: 4 of 9 asks correct. |
approved |
| F008 |
taxi_zone_lookup[Zone] |
Taxi-zone name associated with LocationID, the zone identifier. Distinct from the Borough label and service_zone classification. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F009 |
taxi_zone_lookup[Zone] |
taxi zone name | The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F010 |
yellow_tripdata |
Trip records for trip counts and payment metrics. Trips require positive fare and distance; Tip Rate % additionally requires card payment.
## Metrics
- Trips: count rows in yellow_tripdata where [fare_amount] > 0 AND [trip_distance] > 0. Null and nonpositive values in either column do not qualify.
- Tip Rate %, tip percentage and tip rate: on rows satisfying [fare_amount] > 0, [trip_distance] > 0 and [payment_type] = 1, compute 100.0 * SUM([tip_amount]) / SUM([fare_amount]). Use the same qualifying rows for both sums. Do not use [total_amount], average row-level percentages, or impose an additional positive-tip filter.
- Card Share %, card payment share and card payment percentage: compute 100.0 * the count of qualifying trips with [payment_type] = 1 divided by the count of all qualifying trips. Both counts require [fare_amount] > 0 AND [trip_distance] > 0. Do not remove null [payment_type] rows from the denominator.
- Preserve existing filters and intersect them with metric conditions; do not replace them. Return NULL for a zero or missing denominator.
## Ambiguity
- Geography defaults to pickup: join yellow_tripdata[PULocationID] to taxi_zone_lookup[LocationID]. Apply lookup filters and grouping through this relationship.
- Explicit drop-off or destination geography instead uses yellow_tripdata[DOLocationID] joined to taxi_zone_lookup[LocationID].
- Borough grouping uses taxi_zone_lookup[Borough], not taxi_zone_lookup[service_zone]. Do not exclude N/A or Unknown merely because they are special labels.
## Terminology
- taxi_zone_lookup[LocationID] holds the taxi-zone identifier; taxi_zone_lookup[Zone] holds its name. yellow_tripdata[PULocationID] and yellow_tripdata[DOLocationID] hold the corresponding pickup and drop-off identifiers.
- taxi_zone_lookup[Borough] holds borough labels: Bronx, Brooklyn, EWR, Manhattan, N/A, Queens, Staten Island, Unknown.
- taxi_zone_lookup[service_zone] holds service-area labels: Airports, Boro Zone, EWR, N/A, Yellow Zone. A shared label does not make Borough and service_zone interchangeable.
- For user-supplied codes or labels, filter only on stored values using their stored spelling and case, rather than guessed labels or substring matches. If a query returns no rows, look up the relevant column's distinct values and retry once before answering. Check failed: description is 2323 characters; the limit is 2,000 |
The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
rejected |
| F011 |
yellow_tripdata[Airport_fee] |
Airport fee amount, not an airport-trip classifier. Airport Trips does not require a positive fee; it uses pickup or drop-off location codes and the business trip-count eligibility rules. | The correct answer reads [Airport Trips] in the semantic model; the agent's SQL used yellow_tripdata[Airport_fee] in 4 of 18 asks. 2 question(s) here (YT10, YT18) were not right every time: 0 of 18 asks correct. |
approved |
| F012 |
yellow_tripdata[Airport_fee] |
airport charge, airport surcharge | The correct answer reads [Airport Trips] in the semantic model; the agent's SQL used yellow_tripdata[Airport_fee] in 4 of 18 asks. 2 question(s) here (YT10, YT18) were not right every time: 0 of 18 asks correct. |
approved |
| F013 |
yellow_tripdata[DOLocationID] |
Drop-off taxi-zone identifier. Join to taxi_zone_lookup[LocationID] for explicitly requested drop-off geography; otherwise use pickup geography. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F014 |
yellow_tripdata[DOLocationID] |
drop-off location code, drop-off zone identifier, destination zone code | The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F015 |
yellow_tripdata[fare_amount] |
Fare amount used as the Tip Rate % denominator. Trips, Card Share % and Tip Rate % exclude rows with fare_amount <= 0 or trip_distance <= 0; Tip Rate % also requires payment_type = 1. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[fare_amount] in 3 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F016 |
yellow_tripdata[fare_amount] |
fare, fare charge | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[fare_amount] in 3 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F017 |
yellow_tripdata[payment_type] |
Payment method code; payment_type = 1 selects card payments. Tip Rate % uses card trips only; Card Share % counts all qualifying trips in its denominator, including null payment codes. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[payment_type] in 9 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F018 |
yellow_tripdata[payment_type] |
payment method, payment method code, form of payment | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[payment_type] in 9 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F019 |
yellow_tripdata[PULocationID] |
Pickup taxi-zone identifier. Default geography join to taxi_zone_lookup[LocationID] for borough, zone and service-area grouping. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[PULocationID] in 18 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F020 |
yellow_tripdata[PULocationID] |
pickup location code, pickup zone identifier, origin zone code | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[PULocationID] in 18 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F021 |
yellow_tripdata[tip_amount] |
Tip amount summed for Tip Rate %. Use only payment_type = 1, fare_amount > 0 and trip_distance > 0; divide by summed fare_amount, not total_amount. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[tip_amount] in 9 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F022 |
yellow_tripdata[tip_amount] |
tip, gratuity, gratuity amount | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[tip_amount] in 9 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F023 |
yellow_tripdata[total_amount] |
Total trip amount. Not the denominator for Tip Rate %; that metric divides summed tip_amount by summed fare_amount on qualifying card trips. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[total_amount] in 3 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F024 |
yellow_tripdata[total_amount] |
total charge, total trip charge | The correct answer reads taxi_zone_lookup[Borough] in the semantic model; the agent's SQL used yellow_tripdata[total_amount] in 3 of 18 asks. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F025 |
yellow_tripdata[tpep_dropoff_datetime] |
drop-off date, drop-off time, trip end time, drop-off timestamp | The correct answer reads [Tip Rate %] in the semantic model. 2 question(s) here (YT14, YT7) were not right every time: 0 of 18 asks correct. |
approved |
| F026 |
yellow_tripdata[tpep_pickup_datetime] |
Pickup timestamp; default time field for trip and card-share periods. Use inclusive period starts and exclusive next-period starts. Apply no date restriction for all-period totals. | The correct answer reads [Card Share %] in the semantic model. 4 question(s) here (YT17, YT2, YT3, YT5) were not right every time: 0 of 36 asks correct. |
approved |
| F027 |
yellow_tripdata[tpep_pickup_datetime] |
pickup date, pickup time, trip start date, trip start time | The correct answer reads [Card Share %] in the semantic model. 4 question(s) here (YT17, YT2, YT3, YT5) were not right every time: 0 of 36 asks correct. |
approved |
| F028 |
yellow_tripdata[trip_distance] |
Trip distance used to qualify trips. Trips, Card Share % and Tip Rate % require trip_distance > 0 and fare_amount > 0; null or nonpositive values do not qualify. | The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F029 |
yellow_tripdata[trip_distance] |
trip length, distance traveled, ride distance | The correct answer reads taxi_zone_lookup[Borough] in the semantic model. 2 question(s) here (YT12, YT9) were not right every time: 16 of 18 asks correct. |
approved |
| F030 |
model |
## Metrics All measures use yellow_tripdata. Eligible rows have [fare_amount] > 0 AND [trip_distance] > 0; exclude rows failing either condition. Intersect these conditions and each measure's additional conditions with existing filters; do not replace existing filters. The default period date for every measure is [tpep_pickup_datetime]. - **Trips:** Number of eligible trip rows, in trips. Count rows, not passengers or distinct locations. “Rides” also means Trips. - **Airport Trips:** Number of eligible rows where [PULocationID] IN (1, 132, 138) OR [DOLocationID] IN (1, 132, 138), in trips. Count each row once, even when both endpoints qualify. Retain any separate geography filters. - **Revenue:** SUM([total_amount]) over eligible rows, in the stored amount units. Use stored signs; do not substitute [fare_amount], reconstruct the total, or add positivity filters on [total_amount]. - **Tip Rate %:** 100 × SUM([tip_amount]) / SUM([fare_amount]), with both sums restricted to eligible rows having [payment_type] = 1. Unit: percentage. Exclude other payment types from both sums. This is a ratio of sums, not an average of row-level percentages; do not use [total_amount] as the denominator or exclude nonpositive tips. - **Average Fare:** AVG([fare_amount]) over eligible rows, in stored fare units per trip. Use the fare, not [total_amount]; do not weight by [passenger_count]. - **Card Share %:** 100 × count of eligible rows with [payment_type] = 1 / count of all eligible rows in the same filter context. Unit: percentage of trips, not percentage of money. Apply the card condition only to the numerator, while retaining existing payment filters in both numerator and denominator. For both percentage measures, return NULL when the denominator is zero or NULL, rather than a fabricated percentage. Preserve NULL aggregate results rather than automatically replacing them with zero. ## Dates - Filter periods directly on yellow_tripdata.[tpep_pickup_datetime], the pickup timestamp. Use an inclusive period start and an exclusive next-period start so the full final day is included. - When no period restriction is requested, do not add a date filter. ## Terminology - taxi_zone_lookup.[Borough] holds borough labels: 'Bronx', 'Brooklyn', 'EWR', 'Manhattan', 'N/A', 'Queens', 'Staten Island', 'Unknown'. - taxi_zone_lookup.[service_zone] holds service-zone labels: 'Airports', 'Boro Zone', 'EWR', 'N/A', 'Yellow Zone'. It is a separate classification from [Borough] and [Zone]. - yellow_tripdata.[store_and_fwd_flag] stores 'N' and 'Y'. - yellow_tripdata.[PULocationID] and [DOLocationID] hold pickup and drop-off location identifiers, respectively. Join them to taxi_zone_lookup.[LocationID]; taxi_zone_lookup.[Zone] holds the location name. Match location codes through the identifier columns, not by searching names. - [payment_type] = 1 is the card condition used by Tip Rate % and Card Share %. Airport Trips uses the endpoint identifiers 1, 132 and 138, not a text search for airport labels. - Filter labels using their exact stored values, not substring matches or invented spellings. 'N/A' and 'Unknown' are literal labels, not SQL NULL. Do not exclude them from comparisons or rankings by default. - For code or label filters, use only stored values. If a filtered query returns no rows, look up the relevant column's distinct values and retry once using the matching stored value before answering. ## Ambiguity - Unqualified geography filters and groupings use pickup geography: join yellow_tripdata.[PULocationID] = taxi_zone_lookup.[LocationID]. This is the active relationship and applies to both [Borough] and [service_zone]. - Explicit drop-off or destination geography uses yellow_tripdata.[DOLocationID] = taxi_zone_lookup.[LocationID] instead. Do not require both endpoints to match an unqualified geography filter. When both roles are explicitly needed, use separate lookup aliases for pickup and drop-off. - Do not add geography joins to model-wide metrics that do not need geography filtering or grouping; unnecessary joins can remove trip rows. - Airport Trips is an endpoint-code measure. 'Airports' is a stored [service_zone] label. A service-zone restriction does not itself select Airport Trips, and Airport Trips does not itself require [service_zone] = 'Airports'. When both are requested, intersect the endpoint-code condition with the service-zone filter on the selected geography role. - Revenue uses [total_amount]; mean or average fare uses [fare_amount]. Tip percentage uses Tip Rate %, including its card-only restriction. Card payment share uses Card Share %, based on eligible trip counts. - Keep [Borough] and [service_zone] distinct even when they contain identical labels. An explicitly named classification determines which column to filter. | 18 question(s) were not right every time (YT1, YT10, YT11, YT12, YT13, YT14, YT16, YT17, YT18, YT19, YT2, YT20, YT3, YT4, YT5, YT6, YT7, YT9): 20 of 162 asks correct. |
approved |
Before and after
Before: 4 of 12 right every time (33.3%). Now: 11 of 12 (91.7%).
Questions now right every time (7)
- TQ10
- TQ2
- TQ3
- TQ4
- TQ5
- TQ6
- TQ7