No definition of 'active customer' provided in data.


Answer: 20

Counted customers with contract_status='open' in customers table.

Answer: 20


Answer: 20

Counted customers with contract_status='open'; status has no timestamp field.

Answer: 20


Answer: 46493

Sum invoice amounts minus returns dated within Q1 2026 (by invoice/return date).

Answer: 46493


Answer: 134719

Sum of invoice amounts minus returns dated within period (no catalogue definition).

Answer: 134719


Answer: 40

Delivered = customer_confirm_date present and <= 2026-05-31.

Answer: 40


Answer: 53

Delivered = shipments with customer_confirm_date on/before 2026-08-31.

Answer: 53


Answer: 47

Delivered = customer_confirm_date set and <= 2026-06-30.

Answer: 47


Answer: 27120

Net = sum(gross-discount) for orders in period minus returns dated by 2026-08-31.

Answer: 27120


No definition of 'active customer' or time-varying status provided.


Answer: 20

Active = contract_status='open'; no other definition available in data.

Answer: 20


No 'active customer' definition provided in data or context.


Answer: 100881

Order value = gross - discount + freight + tax, summed for non-cancelled orders in range.

Answer: 100881


Answer: 20

Counted customers with contract_status='open' as active.

Answer: 20


Answer: 20

Active = contract_status='open' as of 2026-03-31; 20 of 24 customers.

Answer: 20


Answer: 20

Active = customers.contract_status='open'; no historical status dates available.

Answer: 20


Answer: 22

Delivered=customer_confirm_date≤7/31/26; on time if ≤(revised or promised)_date.

Answer: 22


Answer: 13

Delivered = customer_confirm_date ≤2026-01-31; on time if ≤(revised_promised_date or promised_date).

Answer: 13


Answer: 12

On-time = confirm_date ≤ revised (or promised) date, delivered by 2026-01-15.

Answer: 12


Answer: 23

Delivered=confirm_date≤2026-08-31; on-time if confirm≤(revised or) promised_date.

Answer: 23


Answer: 11

Delivered=confirm_date≤2025-12-31; on-time=confirm_date≤(revised or promised_date).

Answer: 11


Answer: 13

On-time = customer_confirm_date <= revised (else) promised_date, confirmed by 2026-02-01.

Answer: 13


Answer: 27

Delivered = customer_confirm_date set and on/before 2026-07-31, supplier HAL.

Answer: 27


Answer: 13

Delivered = customer_confirm_date set, ≤2026-08-31, for HAL orders under C-118.

Answer: 13


Answer: 11

Delivered = customer_confirm_date present & ≤2026-06-30, HAL+C-118 orders.

Answer: 11


Answer: 40952

Sum(gross-discount+freight+tax) for HAL non-cancelled orders, order_date May-Jul 2026.

Answer: 40952


Answer: 11

Answer: 11


Answer: 6

On-time = confirm date ≤ (revised or original) promised date.

Answer: 6


Answer: 5

Delivered=customer_confirm_date≤2026-06-30; on-time vs promised/revised date.

Answer: 5


Answer: 87358

Sum of gross-discount+freight+tax for non-cancelled HAL orders, Jan-Mar 2026.

Answer: 87358


No churn date field exists; contract_status has no timestamp.


Answer: 11

Business days (Mon-Fri) from 2026-03-12 to 2026-03-27, order O025/shipment S022.

Answer: 11


No cost/COGS data provided; gross margin cannot be computed.


No damage/transit-condition field exists in shipments data.


No customer satisfaction score data provided in tables.


No 'customer's own working calendar' or business-day/holiday definition provided.


Answer: 44500

Sum of gross_amount for ZEN orders, non-cancelled, dated 2026-06-01 to 2026-08-31.

Answer: 44500


No definition of 'active' or future status data available.


Answer: 28

Delivered = shipment has customer_confirm_date on/before 2026-08-31.

Answer: 28


Answer: 6

On-time = confirm_date ≤ revised/promised date, delivered ≤2026-07-31, HAL C-118 orders.

Answer: 6


Answer: 21

Customers with ≥1 order between 2025-09-01 and 2026-08-31.

Answer: 21


Answer: 23

Customers with an order in the trailing 12 months (2025-06-01 to 2026-06-01).

Answer: 23


Answer: 23

Customers with an order dated 2025-07-15 to 2026-07-15.

Answer: 23


Answer: 27120

Sum(gross-discount) for orders dated Jul1-Aug31, minus returns dated same period.

Answer: 27120


Answer: 108960

Net = (gross-discount) for non-cancelled orders by order_date, minus returns.

Answer: 108960


Answer: 42

Delivered = customer_confirm_date present, on/before 2026-05-31.

Answer: 42


Answer: 53

Shipments with customer_confirm_date on/before 2026-08-31 (delivery = customer receipt).

Answer: 53


Answer: 93800

Sum(gross-discount) for non-cancelled orders in Q2, minus matched returns.

Answer: 93800


Answer: 47

Delivered = customer_confirm_date set and ≤ 2026-06-30.

Answer: 47


Answer: 22

Used 'ordered in past year' definition (past 12 months of order_date).

Answer: 22


Answer: 22

Active = ordered in past 12 months (2025-02-01 to 2026-01-31).

Answer: 22


Answer: 100881

Sum of (gross−discount+freight+tax) for non-cancelled orders dated 2026‑05‑01–07‑31.

Answer: 100881


Answer: 22

Used customer confirm as delivery; compared to revised/promised date.

Answer: 22


Answer: 22

Distinct customers with orders 2025-03-15 to 2026-03-15.

Answer: 22


Answer: 22

Customers with an order dated 2025-02-15 to 2026-02-15.

Answer: 22


Answer: 11

delivered=customer_confirm_date; on_time=confirm<=revised_promised_date or promised_date

Counted shipments confirmed by customer ≤2025-12-31 meeting agreed date.

Answer: 11


Answer: 23

Active = ordered within prior 12 months (2025-04-01 to 2026-04-01); all but C019.

Answer: 23


Answer: 13

Delivered=customer_confirm_date≤2026-01-31; on-time vs revised/promised date.

Answer: 13


Answer: 23

Applied 'ordered in past year' definition; only C019 had no order.

Answer: 23


Answer: 12

Delivered=confirm date ≤2026-01-15; on-time vs revised/promised date.

Answer: 12


Answer: 13

delivered=customer_confirm_date (HAL orders under C-118)

Halden shipments, contract C-118, customer_confirm_date ≤ 2026-08-31.

Answer: 13


Answer: 13

13 of 31 confirmed-delivered shipments by 2026-02-01 met promised/revised date.

Answer: 13


Answer: 32

Used carrier_scan_date (Halden's reporting basis) ≤ 2026-07-31.

Answer: 32


Answer: 6

Delivered=customer_confirm_date; on-time vs promised/revised_promised_date, HAL C-118 orders.

Answer: 6


Answer: 40952

Sum of HAL orders (O006,O015,O029,O060,O061) net+freight+tax, excl. cancelled.

Answer: 40952


Answer: 6

Delivered=customer_confirm_date≤6/30; on-time vs revised/promised date, HAL+C-118 orders.

Answer: 6


Answer: 6

Delivered=customer_confirm_date≤7/31/26; on-time vs revised/promised date.

Answer: 6


Answer: 16

Counted HAL/C-118 shipments with carrier_scan_date ≤ 2026-06-30 (logistics-partner delivery view).

Answer: 16


Answer: 11

Weekdays from 2026-03-13 to 2026-03-27 (carrier scan date used per logistics note).

Answer: 11


Answer: 11

Weekdays from 2026-03-27 to 2026-04-11 (Mon–Fri only, no holidays).

Answer: 11


Answer: 87358

Sum of (gross-discount+freight+tax) for non-cancelled HAL orders, Jan–Mar 2026.

Answer: 87358


No churn event dates available; contract_status has no change timestamp.


No cost/COGS data provided; cannot compute gross margin.


No damage/condition data tracked in shipments table.


No customer satisfaction score data present in tables.


No customer-specific holiday calendars provided to compute business days.


Future date; orders after 2026-09-06 unknown, cannot compute past-year activity.


Answer: 44500

Sum of gross_amount for ZEN non-cancelled orders dated Jun–Aug 2026.

Answer: 44500


Answer: 28

Delivered = customer_confirm_date set, on/before 2026-08-31, order under C-204.

Answer: 28


Answer: 16

Customers with non-cancelled order dated (2026-01-16, 2026-07-15].

Answer: 16


Answer: 14

Customers with non-cancelled orders in (2026-03-04, 2026-08-31], 180-day window.

Answer: 14


Answer: 109940

Sum(gross-discount) for invoices Apr–Jun 2026 minus returns (R010) same period.

Answer: 109940


Answer: 15

Window 180d (2025-12-03,2026-06-01], non-cancelled orders; 15 customers qualify.

Answer: 15


Answer: 33020

Sum invoice order values (gross-discount) minus returns dated Jul-Aug 2026.

Answer: 33020


Answer: 37422

Sum (gross-discount) for 7 invoices Q1'26 minus 2 returns (3748).

Answer: 37422


Answer: 52

Shipments with customer_confirm_date present, on/before 2026-08-31.

Answer: 52


Answer: 42

Counted shipments with customer_confirm_date present and ≤ 2026-05-31.

Answer: 42


Answer: 47

Shipments with customer_confirm_date on/before 2026-06-30.

Answer: 47


Answer: 82590

Sum of gross-discount for 10 non-cancelled orders dated 2026-05-01..07-31.

Answer: 82590


Answer: 21

365-day window (v1, effective through 2026-03-31); orders excl. cancelled, 2025-03-01–2026-02-28.

Answer: 21


Answer: 21

Orders (non-cancelled) in (2025-01-31,2026-01-31]; 21 distinct customers qualify.

Answer: 21


Answer: 23

Delivered=customer_confirm_date; on-time vs revised (or original) promised date.

Answer: 23


Answer: 21

365-day window (2025-02-16 to 2026-02-15), non-cancelled orders, 21 customers.

Answer: 21


Answer: 21

365-day window; excludes C013, C019, C022 (no qualifying orders).

Answer: 21


Answer: 22

Customers with non-cancelled order in (2025-03-31, 2026-03-31], 365-day window.

Answer: 22


Answer: 10

Used meridian delivered v1 (confirm_date≤D) and on_time v1 (vs promised_date only).

Answer: 10


Answer: 32

Delivered per supplier: HAL=carrier_scan, ZEN=confirm; on-time uses revised/promised date.

Answer: 32


Answer: 9

27 delivered (confirm_date≤12/31); 9 met promised_date per v1 rule.

Answer: 9


I'll rely on my manual computation since tool access isn't available.

Based on my calculation: 50 shipments are delivered as of 2026-07-31 (customer_confirm_date present and ≤ 2026-07-31), of which 22 meet the on-time criterion using the definition in force on that date (compare to revised_promised_date if present, else promised_date).

{"answer": 22, "definition_id": "meridian.def.on_time", "definition_version": 2, "unanswerable": false, "note": "Delivered=confirm_date≤2026-07-31 (meridian v1); on-time v2 applies (post 2026-02-01)."}

Answer: 22


Answer: 17

Window 180d (2025-10-03,2026-04-01], orders excl. cancelled, 17 unique customers.

Answer: 17


Answer: 31

Counted HAL shipments with carrier_scan_date on/before 2026-07-31.

Answer: 31


Answer: 14

Delivered per supplier scope (HAL=scan date, ZEN=confirm date); v1 on_time uses promised_date only.

Answer: 14


Answer: 13

Delivered (meridian v1) shipments on time using revised/promised date (on_time v2).

Answer: 13


Answer: 33

33 C-118 shipments have carrier_scan_date on/before 2026-08-31.

Answer: 33


Answer: 13

Used halden.def.delivered v2 (carrier_scan_date) with on_time v2 for delivery status.

Answer: 13


Answer: 34590

Sum of gross-discount+freight for 5 non-cancelled HAL orders in range.

Answer: 34590


Answer: 31

Counted C-118 order shipments with carrier_scan_date on/before 2026-06-30.

Answer: 31


Answer: 73715

Summed gross-discount+freight for non-cancelled HAL orders in Q1 2026.

Answer: 73715


Answer: 9

Counted weekdays 2026-03-27 to 2026-04-11, excluding Halden holidays 04-03,04-06.

Answer: 9


Answer: 11

11 weekdays (no Halden holidays) between 2026-03-12 and 2026-03-27.

Answer: 11


No churn definition exists in the catalogue to compute this.


No gross margin/cost-of-goods definition or data provided.


No damage-in-transit field or definition exists in the data.


Answer: 12

Used carrier_scan_date delivery + on_time v2 (revised/promised date) for HAL/C-118.

Answer: 12


Answer: 43800

Sum of gross-discount for 5 ZEN non-cancelled orders, Jun-Aug 2026.

Answer: 43800


Answer: 12

Used halden.def.delivered v2 (carrier_scan_date) plus on_time v2; 16 delivered, 12 on time.

Answer: 12


Requires future order data beyond 2026-09-06; cannot be known yet.


Answer: 14

Answer: 14


Answer: 109940

Sum invoice (gross-discount) Apr-Jun 2026 minus returns in period.

Answer: 109940


Answer: 15

Orders (non-cancelled) in (2025-12-03,2026-06-01], 15 distinct customers.

Answer: 15


Answer: 28

meridian.def.delivered (ZEN shipments) / halden.def.delivered (HAL shipments)

ZEN uses confirm_date rule v1; HAL uses scan_date rule v2, both ≤2026-08-31.

Answer: 28


Answer: 37422

Sum(gross-discount) of invoices in period minus returns in period.

Answer: 37422


Answer: 33020

Sum(gross-discount) for July-Aug invoices minus Aug return R007 (11300).

Answer: 33020


Answer: 16

180-day window (v2, effective 2026-04-01) applied to non-cancelled orders.

Answer: 16


Answer: 58

ZEN uses meridian v1 (confirm date); HAL uses halden v2 (fed.C-118) via carrier scan.

Answer: 58


Answer: 47

meridian.def.delivered / halden.def.delivered (fed.C-118.delivered)

HAL/C-118 uses carrier_scan_date (halden v2); ZEN uses customer_confirm_date (meridian v1).

Answer: 47


Answer: 82590

Sum gross-discount for 10 non-cancelled orders May-Jul 2026; general metric, meridian default.

Answer: 82590


Answer: 55

Hybrid: halden.def.delivered v2 (carrier_scan) for HAL/C-118 shipments via federation, meridian v1 (confirm date) otherwise.

Answer: 55


Answer: 18

Used delivered/on_time v2 + meridian business_day calendar; >2 business days late.

Answer: 18


Answer: 21

365-day window (2025-02-28,2026-02-28], excluding cancelled orders.

Answer: 21


Answer: 21

365-day window (2025-02-01–2026-01-31), non-cancelled orders, distinct customers.

Answer: 21


Answer: 21

365-day window (2025-03-16 to 2026-03-15), non-cancelled orders, 21 customers qualify.

Answer: 21


Answer: 22

365-day window (v1, effective through 2026-03-31); only C013,C019 inactive.

Answer: 22


Answer: 21

Distinct customers with non-cancelled orders in prior 365 days.

Answer: 21


Answer: 32

Delivered per fed-pinned halden.def.delivered v2 (HAL/C-118) or meridian v1 (ZEN/C-204); on-time via meridian v2.

Answer: 32


Answer: 34

Combined meridian v2 on-time with Halden delivered/on-time for C-118/HAL per federation rules.

Answer: 34


Answer: 17

Answer: 17


Answer: 33

Halden delivered def (carrier_scan_date ≤ D) governs C-118 per federation record.

Answer: 33


Answer: 15

Delivered per fed.C-118/HAL rules; on-time v1 (pre-2026-02) vs promised_date.

Answer: 15


Answer: 16

Applied fed rules: HAL/C-118 use carrier_scan_date, others customer_confirm_date; promised_date only.

Answer: 16


Answer: 15

Delivered via halden/meridian scope rules; on-time uses v1 promised_date comparison.

Answer: 15


Answer: 32

Per fed.C-118.delivered, HAL shipments use carrier_scan_date ≤2026-07-31.

Answer: 32


Answer: 31

33 C-118 shipments exist; 2 scanned after cutoff, so 31 delivered.

Answer: 31


Answer: 22

Fed rules (halden delivered) for C-118/HAL; meridian for C-204+ZEN; v2 pinned as current.

Answer: 22


Answer: 34590

Sum gross-discount+freight for 5 HAL orders, May-Jul 2026, non-cancelled.

Answer: 34590


Answer: 73715

Sum gross-discount+freight for HAL orders Jan1-Mar31 2026, non-cancelled.

Answer: 73715


Answer: 9

Business days 2026-03-27 to 2026-04-11, excl. Sat/Sun & Halden holidays.

Answer: 9


Answer: 21

Per fed.C-118 rules: HAL carrier_scan delivery, on-time vs revised/promised date.

Answer: 21


Answer: 22

Per fed.C-118 pins: HAL delivered=carrier_scan_date; on_time uses revised/promised date.

Answer: 22


Answer: 11

Business days Mar13–Mar27 2026, no holidays fall in range.

Answer: 11


No churn definition exists; contract_status has no change date.


Answer: 21

31 C-118 shipments delivered (carrier scan) by 2026-06-30; 21 on time per fed rules.

Answer: 21


No gross margin definition or cost data exists in catalogue/tables.


No data field records damage-in-transit status for shipments.


Answer: 28

C-204 not federated; used meridian delivered def (confirm_date ≤ 2026-08-31).

Answer: 28


Answer: 43800

ZEN not covered by federation; used meridian order_value (gross - discount).

Answer: 43800


Answer: 3

Answer: 3


No definition exists for a customer-specific working/business-day calendar.