stage 4 of 6 ยท try of no-docs

sync-shipments

right

Every shipment since a date, all pages (needs from the docs: D4 paging)

Made
28 Nov 2026, 21:22 UTC
Model
claude-sonnet-5-5
Steps
12
Tool calls
11
Friction
8 flagged steps
Tokens read
299k
Time
25s
Cost
$0.085
Address
tern-docs/try/20261128-2029-5mex/sync-shipments
1quote-at-checkoutwrong2quote-optionsright3book-shipmentwrong4sync-shipmentsright5order-statuswrong6cancel-before-pickupwrong
This is the backend of Larkspur Tea, a small online tea shop. We ship with Tern, a parcel carrier. Tern's API documentation is at http://localhost:8080/ and Tern's sandbox API is running at http://localhost:8081 (the test key is already in `shop/settings.py`). Implement `shipments_since` in `shop/shipping.py`: the nightly report needs every Tern shipment created on or after a given date, exactly as Tern describes them. Keep the shop's existing tests passing; add your own if you like.