Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cosmicpython/code
/ Batch
Class
Batch
src/allocation/domain/model.py:48–90 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
9
test_prefers_warehouse_batches_to_shipments
Function · 0.90
test_prefers_earlier_batches
Function · 0.90
test_returns_allocated_batch_ref
Function · 0.90
test_outputs_allocated_event
Function · 0.90
test_records_out_of_stock_event_if_cannot_allocate
Function · 0.90
test_increments_version_number
Function · 0.90
test_allocating_to_a_batch_reduces_the_available_quantity
Function · 0.90
make_batch_and_line
Function · 0.90
test_cannot_allocate_if_skus_do_not_match
Function · 0.90
Calls
no outgoing calls
Tested by
9
test_prefers_warehouse_batches_to_shipments
Function · 0.72
test_prefers_earlier_batches
Function · 0.72
test_returns_allocated_batch_ref
Function · 0.72
test_outputs_allocated_event
Function · 0.72
test_records_out_of_stock_event_if_cannot_allocate
Function · 0.72
test_increments_version_number
Function · 0.72
test_allocating_to_a_batch_reduces_the_available_quantity
Function · 0.72
make_batch_and_line
Function · 0.72
test_cannot_allocate_if_skus_do_not_match
Function · 0.72