FIELD NOTES · SEARCH EVIDENCE

Keep handling and transit calendars separate in shipping markup

AI-assisted original exercise with ten synthetic review packets. No real merchant, carrier, order or delivery promise is represented.

One copied calendar can erase a real operational difference

A fictional merchant processes orders Monday to Friday, while the supplied transit policy includes Saturday. A developer reuses one calendar object for both stages. The resulting markup can look orderly while losing the distinction the business approved. This task compares each explicit calendar against its own approved record. It does not calculate when an order will arrive.

Supporting platform facts

Google's ShippingService guidance uses ServicePeriod for handling time and for transit time under ShippingConditions. The respective businessDays describe processing days and transit days. Handling can have cutoffTime; transit does not use that property. A duration can use a fixed value or an upper bound with optional lower bound, with a day unit. A fixed value must not be combined with minValue or maxValue.

Make the two inputs visible before reviewing a result

The filled packet explicitly records approved handlingDays Monday to Friday and transitDays Monday to Saturday. Its handling cutoff is 14:30:00+11:00. The supplied durations are 0–1 handling days and 1–3 transit days. These numbers are invented teaching inputs, not service recommendations. A's selected calendars and fields match. The response still keeps deliveryDateCalculated and carrierServiceVerified false.

B removes Saturday from transit only. It returns TRANSIT_CALENDAR_MISMATCH. C adds Saturday to handling instead, producing HANDLING_CALENDAR_MISMATCH. These outcomes identify different corrections. Replacing both inputs with the same week would make the JSON tidier but would fail the original brief. Keep the approved policy version, the two supplied calendars and the conflict reason together so a reviewer can see exactly which stage changed.

A copied cutoff does not become a transit rule

D copies the handling cutoff into transitTime. The finite checker flags TRANSIT_CUTOFF_NOT_USED. E omits the handling calendar; our explicit-evidence contract keeps it unresolved. This is a stricter teaching requirement to compare two declared calendars, not a claim that Google requires every recommended field. It deliberately does not infer a missing calendar from a default or from store opening hours.

H omits the offset from the supplied handling cutoff. The helper cannot match it to the approved string and leaves the boundary unresolved. It does not choose a timezone, adjust for daylight saving or decide which seasonal offset applies to a real order. The time shown here belongs only to this synthetic packet. A real implementation must obtain that policy meaning from its owner.

Separate the duration shape from a delivery forecast

F supplies value together with range fields. G reverses the supplied transit bounds. J uses a Boolean maximum. These are rejected by the selected duration checks. I represents the same explicit handling days as schema.org URLs and remains a selected match; the helper accepts only its named weekday forms and rejects unknown or duplicate days. It never turns the bounds into a calendar date or adds handling and transit numbers into an advertised guarantee.

Use a clear supplier handoff

  1. Obtain the current approved processing calendar, transit calendar, handling cutoff and applicable service scope. Leave unsupported facts unresolved.
  2. Replay the ten packets, then replace the synthetic inputs only in a separate authorised review copy. Keep each mismatch tied to its stage.
  3. Review the complete ShippingService and ShippingConditions implementation, visible shipping policy and real service evidence separately before any actual merchant release.

Five test groups check filled decisions, malformed inputs, distinct conflict reasons, weekday and duration boundaries, and the absence of a delivery promise. The downloadable JSON is an original review projection, not complete production JSON-LD. Rates, destination coverage, holidays, seasonal overrides, carrier capacity and live checkout remain outside this exercise. Passing these finite checks establishes only the selected supplied-field comparison.

Filled cases and exact outputs

CaseExpected teaching output
ASELECTED_CALENDARS_MATCH_ONLY
BSELECTED_CONTRACT_CONFLICT
CSELECTED_CONTRACT_CONFLICT
DSELECTED_CONTRACT_CONFLICT
EEXPLICIT_CALENDAR_UNRESOLVED
FSELECTED_CONTRACT_CONFLICT
GSELECTED_CONTRACT_CONFLICT
HSELECTED_CONTRACT_CONFLICT
ISELECTED_CALENDARS_MATCH_ONLY
JSELECTED_CONTRACT_CONFLICT

Replay offline

Python 3.10 or newer; standard library. Keep five files together. No credentials or customer records.

python3 -B -m unittest -v test_review.py
python3 -B review.py filled-review.json

Sources and version boundary

Supporting passages read 6 November 2026. Our cases, labels and procedures are original finite review design. Google guidance can change; verify the current complete requirements for a real integration.

Related independent merchant acceptance exercise · Review return-policy scope separately