These two Shopster null-handling limitations affect v1.0.0 and do not affect v1.1.0. The release folders preserve each snapshot; choose the API release matching the task data when reporting results.
| Case | v1.0.0 | v1.1.0 |
|---|---|---|
Customer-order lookup encounters a guest order with customer: null |
get_customer_orders calls .get() on the null customer and raises AttributeError, even when the requested customer's orders are valid. |
The lookup skips orders without a customer before comparing IDs. |
Reading a refund line with total_tax: null |
RefundLineItemResponse requires a non-null decimal, so a stored null fails response validation. Cancellation can also stringify an explicit null as "None". |
The response field accepts null, and cancellation preserves null instead of converting it to a string. |
The affected source files in each release folder are:
APIs/shopster/orders.pyAPIs/shopster/SimulationEngine/endpoint_models.pyAPIs/shopster/SimulationEngine/db_models.py
This is a list of known differences, not a complete API correctness audit. Do not patch a released snapshot in place for an evaluation and report it as unchanged. If testing a local repair, record the SHA256 of its archive and identify it separately from the published release.
See API runtime packaging for version selection, archive hashes, and local source access.