{
 "tests": [
  {
   "id": "T01",
   "kind": "amount field",
   "what_is_open": "The request does not specify whether ride charges mean base fares or recorded trip totals.",
   "open_request": "What was the sum of ride charges in the January 2024 sample, in dollars, excluding missing amounts?",
   "readings": [
    {
     "reading": "R1",
     "words": "Ride charges mean recorded trip totals.",
     "closed_request": "What was the sum of ride charges using recorded trip totals in the January 2024 sample, in dollars, excluding missing amounts?",
     "sql": "SELECT SUM(trip_total) FROM trips",
     "value": 205185.66000001365,
     "marks": [
      "trip total",
      "inclusive"
     ],
     "marks_given": [
      "trip_total",
      "inclusive"
     ]
    },
    {
     "reading": "R2",
     "words": "Ride charges mean base fares.",
     "closed_request": "What was the sum of ride charges using base fares in the January 2024 sample, in dollars, excluding missing amounts?",
     "sql": "SELECT SUM(fare) FROM trips",
     "value": 151465.0,
     "marks": [
      "fare",
      "base"
     ],
     "marks_given": [
      "fare",
      "base"
     ]
    }
   ]
  },
  {
   "id": "T02",
   "kind": "amount field",
   "what_is_open": "The amount averaged could be the base fare or the recorded trip total.",
   "open_request": "What was the average charge per ride in the January 2024 sample, in dollars, excluding missing amounts?",
   "readings": [
    {
     "reading": "R1",
     "words": "The average uses recorded trip totals.",
     "closed_request": "What was the average charge per ride using recorded trip totals in the January 2024 sample, in dollars, excluding missing amounts?",
     "sql": "SELECT AVG(trip_total) FROM trips",
     "value": 20.553506961836487,
     "marks": [
      "trip total",
      "inclusive"
     ],
     "marks_given": [
      "trip_total",
      "inclusive"
     ]
    },
    {
     "reading": "R2",
     "words": "The average uses base fares.",
     "closed_request": "What was the average charge per ride using base fares in the January 2024 sample, in dollars, excluding missing amounts?",
     "sql": "SELECT AVG(fare) FROM trips",
     "value": 15.172292897926475,
     "marks": [
      "fare",
      "base"
     ],
     "marks_given": [
      "fare",
      "base"
     ]
    }
   ]
  },
  {
   "id": "T03",
   "kind": "amount field",
   "what_is_open": "Ride charges for Loop pickups could refer to base fares or recorded trip totals.",
   "open_request": "What was the sum of ride charges for trips starting in the Loop in the January 2024 sample, in dollars, excluding missing amounts?",
   "readings": [
    {
     "reading": "R1",
     "words": "The sum uses recorded trip totals.",
     "closed_request": "What was the sum of ride charges using recorded trip totals for trips starting in the Loop in the January 2024 sample, in dollars, excluding missing amounts?",
     "sql": "SELECT SUM(t.trip_total) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Loop'",
     "value": 12965.81999999994,
     "marks": [
      "trip total",
      "inclusive"
     ],
     "marks_given": [
      "trip_total",
      "inclusive"
     ]
    },
    {
     "reading": "R2",
     "words": "The sum uses base fares.",
     "closed_request": "What was the sum of ride charges using base fares for trips starting in the Loop in the January 2024 sample, in dollars, excluding missing amounts?",
     "sql": "SELECT SUM(t.fare) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Loop'",
     "value": 9105.0,
     "marks": [
      "fare",
      "base"
     ],
     "marks_given": [
      "fare",
      "base"
     ]
    }
   ]
  },
  {
   "id": "T04",
   "kind": "amount field",
   "what_is_open": "The charge for an Ohare pickup could mean its base fare or its recorded trip total.",
   "open_request": "What was the average charge per ride starting in Ohare in the January 2024 sample, in dollars, excluding missing amounts?",
   "readings": [
    {
     "reading": "R1",
     "words": "Charges are recorded trip totals.",
     "closed_request": "What was the average charge per ride using recorded trip totals for rides starting in Ohare in the January 2024 sample, in dollars, excluding missing amounts?",
     "sql": "SELECT AVG(t.trip_total) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Ohare'",
     "value": 51.00073232323224,
     "marks": [
      "trip total",
      "inclusive"
     ],
     "marks_given": [
      "trip_total",
      "inclusive"
     ]
    },
    {
     "reading": "R2",
     "words": "Charges are base fares.",
     "closed_request": "What was the average charge per ride using base fares for rides starting in Ohare in the January 2024 sample, in dollars, excluding missing amounts?",
     "sql": "SELECT AVG(t.fare) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Ohare'",
     "value": 37.00126262626262,
     "marks": [
      "fare",
      "base"
     ],
     "marks_given": [
      "fare",
      "base"
     ]
    }
   ]
  },
  {
   "id": "T05",
   "kind": "amount field",
   "what_is_open": "The request leaves the monetary measure of ride charges unspecified.",
   "open_request": "What was the sum of ride charges from January 1 through January 15, 2024, inclusive, in the sample, in dollars, excluding missing amounts?",
   "readings": [
    {
     "reading": "R1",
     "words": "The sum measures recorded trip totals.",
     "closed_request": "What was the sum of ride charges using recorded trip totals from January 1 through January 15, 2024, inclusive, in the sample, in dollars, excluding missing amounts?",
     "sql": "SELECT SUM(trip_total) FROM trips WHERE trip_date >= DATE '2024-01-01' AND trip_date < DATE '2024-01-16'",
     "value": 87873.78000000074,
     "marks": [
      "trip total",
      "all-in"
     ],
     "marks_given": [
      "trip_total",
      "all-in"
     ]
    },
    {
     "reading": "R2",
     "words": "The sum measures base fares.",
     "closed_request": "What was the sum of ride charges using base fares from January 1 through January 15, 2024, inclusive, in the sample, in dollars, excluding missing amounts?",
     "sql": "SELECT SUM(fare) FROM trips WHERE trip_date >= DATE '2024-01-01' AND trip_date < DATE '2024-01-16'",
     "value": 64977.5,
     "marks": [
      "fare",
      "base"
     ],
     "marks_given": [
      "fare",
      "base"
     ]
    }
   ]
  },
  {
   "id": "T06",
   "kind": "amount field",
   "what_is_open": "The charge averaged could be the recorded trip total or just the base fare.",
   "open_request": "What was the average charge per ride from January 16 through January 31, 2024, inclusive, in the sample, in dollars, excluding missing amounts?",
   "readings": [
    {
     "reading": "R1",
     "words": "The average measures recorded trip totals.",
     "closed_request": "What was the average charge per ride using recorded trip totals from January 16 through January 31, 2024, inclusive, in the sample, in dollars, excluding missing amounts?",
     "sql": "SELECT AVG(trip_total) FROM trips WHERE trip_date >= DATE '2024-01-16' AND trip_date < DATE '2024-02-01'",
     "value": 21.387762989972764,
     "marks": [
      "trip total",
      "all-in"
     ],
     "marks_given": [
      "trip_total",
      "all-in"
     ]
    },
    {
     "reading": "R2",
     "words": "The average measures base fares.",
     "closed_request": "What was the average charge per ride using base fares from January 16 through January 31, 2024, inclusive, in the sample, in dollars, excluding missing amounts?",
     "sql": "SELECT AVG(fare) FROM trips WHERE trip_date >= DATE '2024-01-16' AND trip_date < DATE '2024-02-01'",
     "value": 15.768003646308113,
     "marks": [
      "fare",
      "base"
     ],
     "marks_given": [
      "fare",
      "base"
     ]
    }
   ]
  },
  {
   "id": "T11",
   "kind": "averaging weights",
   "what_is_open": "Daily average base fares could receive equal weight or weight proportional to their nonmissing trip counts.",
   "open_request": "What was the average daily base fare per trip in the January 2024 sample, in dollars, excluding missing fares?",
   "readings": [
    {
     "reading": "R1",
     "words": "Each date with a nonmissing fare receives equal weight.",
     "closed_request": "What was the average daily base fare per trip in the January 2024 sample, in dollars, excluding missing fares and weighting each represented date equally?",
     "sql": "SELECT AVG(day_mean) FROM (SELECT trip_date, AVG(fare) AS day_mean FROM trips WHERE fare IS NOT NULL GROUP BY trip_date) d",
     "value": 15.106694509106523,
     "marks": [
      "unweighted",
      "equal weights"
     ],
     "marks_given": [
      "unweighted",
      "equal weights"
     ]
    },
    {
     "reading": "R2",
     "words": "Each date is weighted by its number of trips with nonmissing fares.",
     "closed_request": "What was the average daily base fare per trip in the January 2024 sample, in dollars, excluding missing fares and weighting each represented date by its nonmissing fare count?",
     "sql": "SELECT AVG(fare) FROM trips WHERE fare IS NOT NULL",
     "value": 15.172292897926475,
     "marks": [
      "pooled",
      "trip-weighted"
     ],
     "marks_given": [
      "pooled",
      "trip-weighted"
     ]
    }
   ]
  },
  {
   "id": "T12",
   "kind": "averaging weights",
   "what_is_open": "Daily mean distances could be averaged equally or weighted by their nonmissing distance counts.",
   "open_request": "What was the average daily distance per trip in the January 2024 sample, in miles, excluding missing distances?",
   "readings": [
    {
     "reading": "R1",
     "words": "The calculation equally averages the represented dates' mean distances.",
     "closed_request": "What was the average daily distance per trip in the January 2024 sample, in miles, excluding missing distances and weighting each represented date equally?",
     "sql": "SELECT AVG(day_mean) FROM (SELECT trip_date, AVG(trip_miles) AS day_mean FROM trips WHERE trip_miles IS NOT NULL GROUP BY trip_date) d",
     "value": 6.579873941325625,
     "marks": [
      "unweighted",
      "equal weights"
     ],
     "marks_given": [
      "unweighted",
      "equal weights"
     ]
    },
    {
     "reading": "R2",
     "words": "The calculation weights dates by their nonmissing distance counts.",
     "closed_request": "What was the average daily distance per trip in the January 2024 sample, in miles, excluding missing distances and weighting each represented date by its nonmissing distance count?",
     "sql": "SELECT AVG(trip_miles) FROM trips WHERE trip_miles IS NOT NULL",
     "value": 6.546544340000013,
     "marks": [
      "pooled",
      "trip-weighted"
     ],
     "marks_given": [
      "pooled",
      "trip-weighted"
     ]
    }
   ]
  },
  {
   "id": "T13",
   "kind": "averaging weights",
   "what_is_open": "The daily mean durations could receive equal weights or weights based on nonmissing duration counts.",
   "open_request": "What was the average daily duration per trip in the January 2024 sample, in minutes, excluding missing durations?",
   "readings": [
    {
     "reading": "R1",
     "words": "Each represented date's mean duration receives equal weight.",
     "closed_request": "What was the average daily duration per trip in the January 2024 sample, in minutes, excluding missing durations and weighting each represented date equally?",
     "sql": "SELECT AVG(day_mean) / 60.0 FROM (SELECT trip_date, AVG(trip_seconds) AS day_mean FROM trips WHERE trip_seconds IS NOT NULL GROUP BY trip_date) d",
     "value": 16.87472160159214,
     "marks": [
      "unweighted",
      "equal weights"
     ],
     "marks_given": [
      "unweighted",
      "equal weights"
     ]
    },
    {
     "reading": "R2",
     "words": "Dates are weighted by their counts of nonmissing durations.",
     "closed_request": "What was the average daily duration per trip in the January 2024 sample, in minutes, excluding missing durations and weighting each represented date by its nonmissing duration count?",
     "sql": "SELECT AVG(trip_seconds) / 60.0 FROM trips WHERE trip_seconds IS NOT NULL",
     "value": 16.901111666666665,
     "marks": [
      "pooled",
      "trip-weighted"
     ],
     "marks_given": [
      "pooled",
      "trip-weighted"
     ]
    }
   ]
  },
  {
   "id": "T14",
   "kind": "averaging weights",
   "what_is_open": "The average across recorded pickup zones could weight trips equally or weight zone means equally.",
   "open_request": "What was the average base fare per trip across recorded pickup zones in the January 2024 sample, in dollars, excluding missing fares and missing pickup zone IDs?",
   "readings": [
    {
     "reading": "R1",
     "words": "Each eligible trip receives equal weight.",
     "closed_request": "What was the average base fare per trip across recorded pickup zones in the January 2024 sample, in dollars, excluding missing fares and missing pickup zone IDs, weighting each eligible trip equally?",
     "sql": "SELECT AVG(fare) FROM trips WHERE fare IS NOT NULL AND pickup_zone_id IS NOT NULL",
     "value": 15.172292897926475,
     "marks": [
      "pooled",
      "trip-weighted"
     ],
     "marks_given": [
      "pooled",
      "trip-weighted"
     ]
    },
    {
     "reading": "R2",
     "words": "Each represented pickup zone's mean fare receives equal weight.",
     "closed_request": "What was the average base fare per trip across recorded pickup zones in the January 2024 sample, in dollars, excluding missing fares and missing pickup zone IDs, weighting each represented zone equally?",
     "sql": "SELECT AVG(zone_mean) FROM (SELECT pickup_zone_id, AVG(fare) AS zone_mean FROM trips WHERE fare IS NOT NULL AND pickup_zone_id IS NOT NULL GROUP BY pickup_zone_id) a",
     "value": 13.748932336900662,
     "marks": [
      "unweighted",
      "equal weights"
     ],
     "marks_given": [
      "unweighted",
      "equal weights"
     ]
    }
   ]
  },
  {
   "id": "T15",
   "kind": "averaging weights",
   "what_is_open": "Trip distance across pickup zones could be averaged over trips or over zone means.",
   "open_request": "What was the average distance per trip across recorded pickup zones in the January 2024 sample, in miles, excluding missing distances and missing pickup zone IDs?",
   "readings": [
    {
     "reading": "R1",
     "words": "The calculation equally weights eligible trips.",
     "closed_request": "What was the average distance per trip across recorded pickup zones in the January 2024 sample, in miles, excluding missing distances and missing pickup zone IDs, weighting each eligible trip equally?",
     "sql": "SELECT AVG(trip_miles) FROM trips WHERE trip_miles IS NOT NULL AND pickup_zone_id IS NOT NULL",
     "value": 6.546544340000013,
     "marks": [
      "pooled",
      "trip-weighted"
     ],
     "marks_given": [
      "pooled",
      "trip-weighted"
     ]
    },
    {
     "reading": "R2",
     "words": "The calculation equally weights represented pickup zones' mean distances.",
     "closed_request": "What was the average distance per trip across recorded pickup zones in the January 2024 sample, in miles, excluding missing distances and missing pickup zone IDs, weighting each represented zone equally?",
     "sql": "SELECT AVG(zone_mean) FROM (SELECT pickup_zone_id, AVG(trip_miles) AS zone_mean FROM trips WHERE trip_miles IS NOT NULL AND pickup_zone_id IS NOT NULL GROUP BY pickup_zone_id) a",
     "value": 6.607212676682313,
     "marks": [
      "unweighted",
      "equal weights"
     ],
     "marks_given": [
      "unweighted",
      "equal weights"
     ]
    }
   ]
  },
  {
   "id": "T16",
   "kind": "averaging weights",
   "what_is_open": "The average duration could weight eligible trips equally or represented pickup zones equally.",
   "open_request": "What was the average duration per trip across recorded pickup zones in the January 2024 sample, in minutes, excluding missing durations and missing pickup zone IDs?",
   "readings": [
    {
     "reading": "R1",
     "words": "Each eligible trip receives equal weight in the duration average.",
     "closed_request": "What was the average duration per trip across recorded pickup zones in the January 2024 sample, in minutes, excluding missing durations and missing pickup zone IDs, weighting each eligible trip equally?",
     "sql": "SELECT AVG(trip_seconds) / 60.0 FROM trips WHERE trip_seconds IS NOT NULL AND pickup_zone_id IS NOT NULL",
     "value": 16.901111666666665,
     "marks": [
      "pooled",
      "trip-weighted"
     ],
     "marks_given": [
      "pooled",
      "trip-weighted"
     ]
    },
    {
     "reading": "R2",
     "words": "Each represented pickup zone's mean duration receives equal weight.",
     "closed_request": "What was the average duration per trip across recorded pickup zones in the January 2024 sample, in minutes, excluding missing durations and missing pickup zone IDs, weighting each represented zone equally?",
     "sql": "SELECT AVG(zone_mean) / 60.0 FROM (SELECT pickup_zone_id, AVG(trip_seconds) AS zone_mean FROM trips WHERE trip_seconds IS NOT NULL AND pickup_zone_id IS NOT NULL GROUP BY pickup_zone_id) a",
     "value": 17.38025923449955,
     "marks": [
      "unweighted",
      "equal weights"
     ],
     "marks_given": [
      "unweighted",
      "equal weights"
     ]
    }
   ]
  },
  {
   "id": "T17",
   "kind": "qualifying flag",
   "what_is_open": "Shared rides could mean trips actually matched for sharing or trips merely authorized for sharing.",
   "open_request": "How many trips were shared rides in the January 2024 sample?",
   "readings": [
    {
     "reading": "R1",
     "words": "A shared ride requires a true shared-match flag.",
     "closed_request": "How many trips were rides matched for sharing in the January 2024 sample?",
     "sql": "SELECT COUNT(*) FROM trips WHERE shared_trip_match = TRUE",
     "value": 347,
     "marks": [
      "shared trip match",
      "matched"
     ],
     "marks_given": [
      "shared_trip_match",
      "matched"
     ]
    },
    {
     "reading": "R2",
     "words": "A shared ride requires a true sharing-authorization flag.",
     "closed_request": "How many trips were rides authorized for sharing in the January 2024 sample?",
     "sql": "SELECT COUNT(*) FROM trips WHERE shared_trip_authorized = TRUE",
     "value": 724,
     "marks": [
      "shared trip authorized",
      "authorized"
     ],
     "marks_given": [
      "shared_trip_authorized",
      "authorized"
     ]
    }
   ]
  },
  {
   "id": "T18",
   "kind": "qualifying flag",
   "what_is_open": "The shared-ride numerator could use actual matches or sharing authorizations.",
   "open_request": "What fraction of all trips in the January 2024 sample were shared rides, expressed from 0 to 1?",
   "readings": [
    {
     "reading": "R1",
     "words": "The numerator counts trips actually matched for sharing.",
     "closed_request": "What fraction of all trips in the January 2024 sample were rides matched for sharing, expressed from 0 to 1?",
     "sql": "SELECT CAST(COUNT(CASE WHEN shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(*), 0) FROM trips",
     "value": 0.0347,
     "marks": [
      "shared trip match",
      "matched"
     ],
     "marks_given": [
      "shared_trip_match",
      "matched"
     ]
    },
    {
     "reading": "R2",
     "words": "The numerator counts trips authorized for sharing.",
     "closed_request": "What fraction of all trips in the January 2024 sample were rides authorized for sharing, expressed from 0 to 1?",
     "sql": "SELECT CAST(COUNT(CASE WHEN shared_trip_authorized = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(*), 0) FROM trips",
     "value": 0.0724,
     "marks": [
      "shared trip authorized",
      "authorized"
     ],
     "marks_given": [
      "shared_trip_authorized",
      "authorized"
     ]
    }
   ]
  },
  {
   "id": "T19",
   "kind": "qualifying flag",
   "what_is_open": "The population of shared rides could be selected by the match flag or the authorization flag.",
   "open_request": "What was the sum of base fares for shared rides in the January 2024 sample, in dollars, excluding missing fares?",
   "readings": [
    {
     "reading": "R1",
     "words": "The sum includes trips actually matched for sharing.",
     "closed_request": "What was the sum of base fares for rides matched for sharing in the January 2024 sample, in dollars, excluding missing fares?",
     "sql": "SELECT SUM(fare) FROM trips WHERE shared_trip_match = TRUE",
     "value": 4037.5,
     "marks": [
      "shared trip match",
      "matched"
     ],
     "marks_given": [
      "shared_trip_match",
      "matched"
     ]
    },
    {
     "reading": "R2",
     "words": "The sum includes trips authorized for sharing.",
     "closed_request": "What was the sum of base fares for rides authorized for sharing in the January 2024 sample, in dollars, excluding missing fares?",
     "sql": "SELECT SUM(fare) FROM trips WHERE shared_trip_authorized = TRUE",
     "value": 7782.5,
     "marks": [
      "shared trip authorized",
      "authorized"
     ],
     "marks_given": [
      "shared_trip_authorized",
      "authorized"
     ]
    }
   ]
  },
  {
   "id": "T20",
   "kind": "qualifying flag",
   "what_is_open": "Shared rides could include all sharing-authorized trips or only actual shared matches.",
   "open_request": "What was the average distance of shared rides in the January 2024 sample, in miles, excluding missing distances?",
   "readings": [
    {
     "reading": "R1",
     "words": "The average includes trips actually matched for sharing.",
     "closed_request": "What was the average distance of rides matched for sharing in the January 2024 sample, in miles, excluding missing distances?",
     "sql": "SELECT AVG(trip_miles) FROM trips WHERE shared_trip_match = TRUE",
     "value": 9.1347288184438,
     "marks": [
      "shared trip match",
      "matched"
     ],
     "marks_given": [
      "shared_trip_match",
      "matched"
     ]
    },
    {
     "reading": "R2",
     "words": "The average includes trips authorized for sharing.",
     "closed_request": "What was the average distance of rides authorized for sharing in the January 2024 sample, in miles, excluding missing distances?",
     "sql": "SELECT AVG(trip_miles) FROM trips WHERE shared_trip_authorized = TRUE",
     "value": 7.239568922651922,
     "marks": [
      "shared trip authorized",
      "authorized"
     ],
     "marks_given": [
      "shared_trip_authorized",
      "authorized"
     ]
    }
   ]
  },
  {
   "id": "T21",
   "kind": "qualifying flag",
   "what_is_open": "The request leaves the flag defining shared rides unspecified.",
   "open_request": "What was the average duration of shared rides in the January 2024 sample, in minutes, excluding missing durations?",
   "readings": [
    {
     "reading": "R1",
     "words": "Shared rides are trips actually matched for sharing.",
     "closed_request": "What was the average duration of rides matched for sharing in the January 2024 sample, in minutes, excluding missing durations?",
     "sql": "SELECT AVG(trip_seconds) / 60.0 FROM trips WHERE shared_trip_match = TRUE",
     "value": 26.25994236311239,
     "marks": [
      "shared trip match",
      "matched"
     ],
     "marks_given": [
      "shared_trip_match",
      "matched"
     ]
    },
    {
     "reading": "R2",
     "words": "Shared rides are trips authorized for sharing.",
     "closed_request": "What was the average duration of rides authorized for sharing in the January 2024 sample, in minutes, excluding missing durations?",
     "sql": "SELECT AVG(trip_seconds) / 60.0 FROM trips WHERE shared_trip_authorized = TRUE",
     "value": 19.778890423572744,
     "marks": [
      "shared trip authorized",
      "authorized"
     ],
     "marks_given": [
      "shared_trip_authorized",
      "authorized"
     ]
    }
   ]
  },
  {
   "id": "T22",
   "kind": "qualifying flag",
   "what_is_open": "Shared rides could be identified by completed matching or by permission to share.",
   "open_request": "What was the sum of recorded trip totals for shared rides in the January 2024 sample, in dollars, excluding missing totals?",
   "readings": [
    {
     "reading": "R1",
     "words": "The sum uses trips actually matched for sharing.",
     "closed_request": "What was the sum of recorded trip totals for rides matched for sharing in the January 2024 sample, in dollars, excluding missing totals?",
     "sql": "SELECT SUM(trip_total) FROM trips WHERE shared_trip_match = TRUE",
     "value": 5059.3899999999985,
     "marks": [
      "shared trip match",
      "matched"
     ],
     "marks_given": [
      "shared_trip_match",
      "matched"
     ]
    },
    {
     "reading": "R2",
     "words": "The sum uses trips authorized for sharing.",
     "closed_request": "What was the sum of recorded trip totals for rides authorized for sharing in the January 2024 sample, in dollars, excluding missing totals?",
     "sql": "SELECT SUM(trip_total) FROM trips WHERE shared_trip_authorized = TRUE",
     "value": 10186.889999999994,
     "marks": [
      "shared trip authorized",
      "authorized"
     ],
     "marks_given": [
      "shared_trip_authorized",
      "authorized"
     ]
    }
   ]
  },
  {
   "id": "T23",
   "kind": "area assignment",
   "what_is_open": "Loop trips could be assigned to the area by their pickup or their dropoff.",
   "open_request": "How many Loop trips were in the January 2024 sample?",
   "readings": [
    {
     "reading": "R1",
     "words": "A trip belongs to the Loop when its pickup is there.",
     "closed_request": "How many trips starting in the Loop were in the January 2024 sample?",
     "sql": "SELECT COUNT(*) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Loop'",
     "value": 639,
     "marks": [
      "pickup",
      "origin"
     ],
     "marks_given": [
      "pickup",
      "origin"
     ]
    },
    {
     "reading": "R2",
     "words": "A trip belongs to the Loop when its dropoff is there.",
     "closed_request": "How many trips ending in the Loop were in the January 2024 sample?",
     "sql": "SELECT COUNT(*) FROM trips t JOIN zones z ON t.dropoff_zone_id = z.zone_id WHERE z.zone_name = 'Loop'",
     "value": 747,
     "marks": [
      "dropoff",
      "destination"
     ],
     "marks_given": [
      "dropoff",
      "destination"
     ]
    }
   ]
  },
  {
   "id": "T24",
   "kind": "area assignment",
   "what_is_open": "Ohare trips could mean trips starting there or trips ending there.",
   "open_request": "What was the sum of base fares for Ohare trips in the January 2024 sample, in dollars, excluding missing fares?",
   "readings": [
    {
     "reading": "R1",
     "words": "Trips are assigned to Ohare by pickup location.",
     "closed_request": "What was the sum of base fares for trips starting in Ohare in the January 2024 sample, in dollars, excluding missing fares?",
     "sql": "SELECT SUM(t.fare) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Ohare'",
     "value": 14652.5,
     "marks": [
      "pickup",
      "origin"
     ],
     "marks_given": [
      "pickup",
      "origin"
     ]
    },
    {
     "reading": "R2",
     "words": "Trips are assigned to Ohare by dropoff location.",
     "closed_request": "What was the sum of base fares for trips ending in Ohare in the January 2024 sample, in dollars, excluding missing fares?",
     "sql": "SELECT SUM(t.fare) FROM trips t JOIN zones z ON t.dropoff_zone_id = z.zone_id WHERE z.zone_name = 'Ohare'",
     "value": 14417.5,
     "marks": [
      "dropoff",
      "destination"
     ],
     "marks_given": [
      "dropoff",
      "destination"
     ]
    }
   ]
  },
  {
   "id": "T25",
   "kind": "area assignment",
   "what_is_open": "Near North Side membership could use the pickup area or the dropoff area.",
   "open_request": "What was the average distance of Near North Side trips in the January 2024 sample, in miles, excluding missing distances?",
   "readings": [
    {
     "reading": "R1",
     "words": "The average uses trips picked up in Near North Side.",
     "closed_request": "What was the average distance of trips starting in Near North Side in the January 2024 sample, in miles, excluding missing distances?",
     "sql": "SELECT AVG(t.trip_miles) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Near North Side'",
     "value": 4.389438088012142,
     "marks": [
      "pickup",
      "origin"
     ],
     "marks_given": [
      "pickup",
      "origin"
     ]
    },
    {
     "reading": "R2",
     "words": "The average uses trips dropped off in Near North Side.",
     "closed_request": "What was the average distance of trips ending in Near North Side in the January 2024 sample, in miles, excluding missing distances?",
     "sql": "SELECT AVG(t.trip_miles) FROM trips t JOIN zones z ON t.dropoff_zone_id = z.zone_id WHERE z.zone_name = 'Near North Side'",
     "value": 4.314267793880837,
     "marks": [
      "dropoff",
      "destination"
     ],
     "marks_given": [
      "dropoff",
      "destination"
     ]
    }
   ]
  },
  {
   "id": "T26",
   "kind": "area assignment",
   "what_is_open": "West Town trips could be selected by their starting or ending area.",
   "open_request": "What was the average duration of West Town trips in the January 2024 sample, in minutes, excluding missing durations?",
   "readings": [
    {
     "reading": "R1",
     "words": "West Town is the pickup area.",
     "closed_request": "What was the average duration of trips starting in West Town in the January 2024 sample, in minutes, excluding missing durations?",
     "sql": "SELECT AVG(t.trip_seconds) / 60.0 FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'West Town'",
     "value": 13.447345132743362,
     "marks": [
      "pickup",
      "origin"
     ],
     "marks_given": [
      "pickup",
      "origin"
     ]
    },
    {
     "reading": "R2",
     "words": "West Town is the dropoff area.",
     "closed_request": "What was the average duration of trips ending in West Town in the January 2024 sample, in minutes, excluding missing durations?",
     "sql": "SELECT AVG(t.trip_seconds) / 60.0 FROM trips t JOIN zones z ON t.dropoff_zone_id = z.zone_id WHERE z.zone_name = 'West Town'",
     "value": 13.589841597796143,
     "marks": [
      "dropoff",
      "destination"
     ],
     "marks_given": [
      "dropoff",
      "destination"
     ]
    }
   ]
  },
  {
   "id": "T27",
   "kind": "area assignment",
   "what_is_open": "Hyde Park attribution could depend on where a trip starts or where it ends.",
   "open_request": "What was the sum of tips for Hyde Park trips in the January 2024 sample, in dollars, excluding missing tips?",
   "readings": [
    {
     "reading": "R1",
     "words": "The sum uses trips picked up in Hyde Park.",
     "closed_request": "What was the sum of tips for trips starting in Hyde Park in the January 2024 sample, in dollars, excluding missing tips?",
     "sql": "SELECT SUM(t.tip) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Hyde Park'",
     "value": 167.0,
     "marks": [
      "pickup",
      "origin"
     ],
     "marks_given": [
      "pickup",
      "origin"
     ]
    },
    {
     "reading": "R2",
     "words": "The sum uses trips dropped off in Hyde Park.",
     "closed_request": "What was the sum of tips for trips ending in Hyde Park in the January 2024 sample, in dollars, excluding missing tips?",
     "sql": "SELECT SUM(t.tip) FROM trips t JOIN zones z ON t.dropoff_zone_id = z.zone_id WHERE z.zone_name = 'Hyde Park'",
     "value": 144.0,
     "marks": [
      "dropoff",
      "destination"
     ],
     "marks_given": [
      "dropoff",
      "destination"
     ]
    }
   ]
  },
  {
   "id": "T28",
   "kind": "area assignment",
   "what_is_open": "Lake View trips could be defined by pickup or dropoff location.",
   "open_request": "What was the sum of recorded trip totals for Lake View trips in the January 2024 sample, in dollars, excluding missing totals?",
   "readings": [
    {
     "reading": "R1",
     "words": "Lake View is used as the pickup area.",
     "closed_request": "What was the sum of recorded trip totals for trips starting in Lake View in the January 2024 sample, in dollars, excluding missing totals?",
     "sql": "SELECT SUM(t.trip_total) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Lake View'",
     "value": 10791.629999999934,
     "marks": [
      "pickup",
      "origin"
     ],
     "marks_given": [
      "pickup",
      "origin"
     ]
    },
    {
     "reading": "R2",
     "words": "Lake View is used as the dropoff area.",
     "closed_request": "What was the sum of recorded trip totals for trips ending in Lake View in the January 2024 sample, in dollars, excluding missing totals?",
     "sql": "SELECT SUM(t.trip_total) FROM trips t JOIN zones z ON t.dropoff_zone_id = z.zone_id WHERE z.zone_name = 'Lake View'",
     "value": 9861.659999999953,
     "marks": [
      "dropoff",
      "destination"
     ],
     "marks_given": [
      "dropoff",
      "destination"
     ]
    }
   ]
  },
  {
   "id": "T29",
   "kind": "rate denominator",
   "what_is_open": "The shared-ride match rate could divide matched trips by authorized trips or by all trips.",
   "open_request": "What was the shared-ride match rate in the January 2024 sample, as a fraction from 0 to 1?",
   "readings": [
    {
     "reading": "R1",
     "words": "Matched trips are divided by the number of trips authorized for sharing.",
     "closed_request": "What was the shared-ride match rate in the January 2024 sample, as a fraction from 0 to 1, using sharing-authorized trips as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(CASE WHEN shared_trip_authorized = TRUE THEN 1 END), 0) FROM trips",
     "value": 0.47928176795580113,
     "marks": [
      "authorized",
      "shared trip authorized"
     ],
     "marks_given": [
      "authorized",
      "shared_trip_authorized"
     ]
    },
    {
     "reading": "R2",
     "words": "Matched trips are divided by the number of all trips.",
     "closed_request": "What was the shared-ride match rate in the January 2024 sample, as a fraction from 0 to 1, using all trips as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(*), 0) FROM trips",
     "value": 0.0347,
     "marks": [
      "all trips",
      "unconditional"
     ],
     "marks_given": [
      "all trips",
      "unconditional"
     ]
    }
   ]
  },
  {
   "id": "T30",
   "kind": "rate denominator",
   "what_is_open": "The denominator for the match rate could include only sharing-authorized trips or every trip in the stated period.",
   "open_request": "What was the shared-ride match rate from January 1 through January 15, 2024, inclusive, in the sample, as a fraction from 0 to 1?",
   "readings": [
    {
     "reading": "R1",
     "words": "The denominator counts sharing-authorized trips in the stated period.",
     "closed_request": "What was the shared-ride match rate from January 1 through January 15, 2024, inclusive, in the sample, as a fraction from 0 to 1, using sharing-authorized trips as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(CASE WHEN shared_trip_authorized = TRUE THEN 1 END), 0) FROM trips WHERE trip_date >= DATE '2024-01-01' AND trip_date < DATE '2024-01-16'",
     "value": 0.44108761329305135,
     "marks": [
      "authorized",
      "shared trip authorized"
     ],
     "marks_given": [
      "authorized",
      "shared_trip_authorized"
     ]
    },
    {
     "reading": "R2",
     "words": "The denominator counts every trip in the stated period.",
     "closed_request": "What was the shared-ride match rate from January 1 through January 15, 2024, inclusive, in the sample, as a fraction from 0 to 1, using all trips as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(*), 0) FROM trips WHERE trip_date >= DATE '2024-01-01' AND trip_date < DATE '2024-01-16'",
     "value": 0.03240843507214206,
     "marks": [
      "all trips",
      "unconditional"
     ],
     "marks_given": [
      "all trips",
      "unconditional"
     ]
    }
   ]
  },
  {
   "id": "T31",
   "kind": "rate denominator",
   "what_is_open": "The rate could be conditional on sharing authorization or calculated over every trip in the period.",
   "open_request": "What was the shared-ride match rate from January 16 through January 31, 2024, inclusive, in the sample, as a fraction from 0 to 1?",
   "readings": [
    {
     "reading": "R1",
     "words": "The rate divides matched trips by sharing-authorized trips in the period.",
     "closed_request": "What was the shared-ride match rate from January 16 through January 31, 2024, inclusive, in the sample, as a fraction from 0 to 1, using sharing-authorized trips as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(CASE WHEN shared_trip_authorized = TRUE THEN 1 END), 0) FROM trips WHERE trip_date >= DATE '2024-01-16' AND trip_date < DATE '2024-02-01'",
     "value": 0.5114503816793893,
     "marks": [
      "authorized",
      "shared trip authorized"
     ],
     "marks_given": [
      "authorized",
      "shared_trip_authorized"
     ]
    },
    {
     "reading": "R2",
     "words": "The rate divides matched trips by all trips in the period.",
     "closed_request": "What was the shared-ride match rate from January 16 through January 31, 2024, inclusive, in the sample, as a fraction from 0 to 1, using all trips as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(*), 0) FROM trips WHERE trip_date >= DATE '2024-01-16' AND trip_date < DATE '2024-02-01'",
     "value": 0.036578707916287534,
     "marks": [
      "all trips",
      "unconditional"
     ],
     "marks_given": [
      "all trips",
      "unconditional"
     ]
    }
   ]
  },
  {
   "id": "T32",
   "kind": "rate denominator",
   "what_is_open": "For Loop pickups, matched trips could be divided by sharing-authorized pickups or by all pickups.",
   "open_request": "What was the shared-ride match rate for Loop pickups in the January 2024 sample, as a fraction from 0 to 1?",
   "readings": [
    {
     "reading": "R1",
     "words": "The denominator is sharing-authorized trips starting in the Loop.",
     "closed_request": "What was the shared-ride match rate for Loop pickups in the January 2024 sample, as a fraction from 0 to 1, using sharing-authorized Loop pickups as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN t.shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(CASE WHEN t.shared_trip_authorized = TRUE THEN 1 END), 0) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Loop'",
     "value": 0.42424242424242425,
     "marks": [
      "authorized",
      "shared trip authorized"
     ],
     "marks_given": [
      "authorized",
      "shared_trip_authorized"
     ]
    },
    {
     "reading": "R2",
     "words": "The denominator is all trips starting in the Loop.",
     "closed_request": "What was the shared-ride match rate for Loop pickups in the January 2024 sample, as a fraction from 0 to 1, using all Loop pickups as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN t.shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(*), 0) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Loop'",
     "value": 0.02190923317683881,
     "marks": [
      "all trips",
      "unconditional"
     ],
     "marks_given": [
      "all trips",
      "unconditional"
     ]
    }
   ]
  },
  {
   "id": "T33",
   "kind": "rate denominator",
   "what_is_open": "The match rate for Near North Side pickups could use authorized trips or all trips as its denominator.",
   "open_request": "What was the shared-ride match rate for Near North Side pickups in the January 2024 sample, as a fraction from 0 to 1?",
   "readings": [
    {
     "reading": "R1",
     "words": "The denominator counts sharing-authorized Near North Side pickups.",
     "closed_request": "What was the shared-ride match rate for Near North Side pickups in the January 2024 sample, as a fraction from 0 to 1, using sharing-authorized Near North Side pickups as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN t.shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(CASE WHEN t.shared_trip_authorized = TRUE THEN 1 END), 0) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Near North Side'",
     "value": 0.5185185185185185,
     "marks": [
      "authorized",
      "shared trip authorized"
     ],
     "marks_given": [
      "authorized",
      "shared_trip_authorized"
     ]
    },
    {
     "reading": "R2",
     "words": "The denominator counts all Near North Side pickups.",
     "closed_request": "What was the shared-ride match rate for Near North Side pickups in the January 2024 sample, as a fraction from 0 to 1, using all Near North Side pickups as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN t.shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(*), 0) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Near North Side'",
     "value": 0.021244309559939303,
     "marks": [
      "all trips",
      "unconditional"
     ],
     "marks_given": [
      "all trips",
      "unconditional"
     ]
    }
   ]
  },
  {
   "id": "T34",
   "kind": "rate denominator",
   "what_is_open": "The Lake View match rate could divide matches by sharing-authorized pickups or by all pickups.",
   "open_request": "What was the shared-ride match rate for Lake View pickups in the January 2024 sample, as a fraction from 0 to 1?",
   "readings": [
    {
     "reading": "R1",
     "words": "The denominator counts sharing-authorized Lake View pickups.",
     "closed_request": "What was the shared-ride match rate for Lake View pickups in the January 2024 sample, as a fraction from 0 to 1, using sharing-authorized Lake View pickups as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN t.shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(CASE WHEN t.shared_trip_authorized = TRUE THEN 1 END), 0) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Lake View'",
     "value": 0.4,
     "marks": [
      "authorized",
      "shared trip authorized"
     ],
     "marks_given": [
      "authorized",
      "shared_trip_authorized"
     ]
    },
    {
     "reading": "R2",
     "words": "The denominator counts all Lake View pickups.",
     "closed_request": "What was the shared-ride match rate for Lake View pickups in the January 2024 sample, as a fraction from 0 to 1, using all Lake View pickups as the denominator?",
     "sql": "SELECT CAST(COUNT(CASE WHEN t.shared_trip_match = TRUE THEN 1 END) AS DOUBLE) / NULLIF(COUNT(*), 0) FROM trips t JOIN zones z ON t.pickup_zone_id = z.zone_id WHERE z.zone_name = 'Lake View'",
     "value": 0.016611295681063124,
     "marks": [
      "all trips",
      "unconditional"
     ],
     "marks_given": [
      "all trips",
      "unconditional"
     ]
    }
   ]
  }
 ],
 "dropped": [
  {
   "id": "T07",
   "reasons": [
    "the readings give the same number"
   ]
  },
  {
   "id": "T08",
   "reasons": [
    "the readings give the same number"
   ]
  },
  {
   "id": "T09",
   "reasons": [
    "the readings give the same number"
   ]
  },
  {
   "id": "T10",
   "reasons": [
    "the readings give the same number"
   ]
  },
  {
   "id": "T35",
   "reasons": [
    "past the first 30 kept"
   ]
  },
  {
   "id": "T36",
   "reasons": [
    "past the first 30 kept"
   ]
  }
 ],
 "repairs": []
}
