Karyo
Documentation/ More documentation

Proximity walk distance

Karyo 2.1.1rendered at build time
On this page

Release evidence for how far operators walk under Karyo's three flow-simulator policies on a seeded demo warehouse with aisles: R (the built-ins), O (zone batching) and P (the live proximity rules, run through the production code). It also records the walk from the receiving dock to the suggested bin, with the Facility's proximity setting off and on. Nothing here changes a default: the karyo.proximity.enabled setting stays off.

What was verified

Date 2026-10-21 (UTC)
Code branch fm/karyo-px5-proximity-simulator-evidence on top of commit 614b756817283f6f1f63f663e7dabfaaa03c9c5d (main). Policy P and this record are in the same change
Machine AMD Ryzen 7 5800X3D, 16 threads, 62 GB; JDK 21; PostgreSQL from Quarkus Dev Services on rootless Podman 5.8.9
Warehouses two demo seeds, below. Both use the synthetic profile, seed 42, physical aisles of ten bays in serpentine walk order
Result ProximityWalkEvidenceDemoIT and ProximityWalkEvidenceBusyIT: 2 passed, 0 failed, 0 skipped
Warehouse History Orders per day SKUs Locations Picking crew
Demo as shipped 40 days 8 24 40 the crew the demo's history shows
Busy demo 28 days 40 60 200 one picker (karyo.flow.crews=PICKING=1), so work queues

Regenerate the figures with:

QUARKUS_HTTP_TEST_PORT=0 ./gradlew --no-build-cache :services:karyo-app:cleanTest :services:karyo-app:test \
  --tests 'com.karyo.flow.ProximityWalkEvidence*'

Each class seeds its demo, runs FlowSimulationService.compare for seeds 1 to 5 at one fixed moment and writes services/karyo-app/build/proximity-walk-evidence/demo.md and busy.md. The tables below are those files. They were regenerated after the last code change of this branch, and the same seeds at the same moment give the same figures. The demo is anchored to the time it is seeded, so a run on another day can move the figures by about the spread shown.

The policies

Policy Dispatch A walk takes Route Stock
R STRICT_PRIORITY one delivery order dispatch order where history picked it
O TRAVEL_PATH the first line's zone, filled with that zone's waiting lines nearest neighbour where history picked it
P PROXIMITY, per free picker one delivery order nearest neighbour, the live pick sequence SAME_DAY_NEAREST, the live rule

P is a what-if: it runs as if proximity were on for the Facility and every strategy had opted in. The route is LocationDistanceSnapshot.route, the dispatch is ProximityDispatchStrategy and the stock rule is PickSourceOrder.order, which live stock selection also calls. None is a copy.

Walk metres per line

Walk metres per line is the picker's walk, depot to stops and back, divided by the lines picked. Lift metres per line were 0.00 in every run, because the demo's locations are all on the floor.

Demo as shipped

Seed Orders Lines R walk O walk P walk R lines/h O lines/h P lines/h
1 4 7 29.57 28.80 28.80 72.62 73.77 73.77
2 9 18 31.50 29.40 29.40 69.90 72.87 72.87
3 4 8 37.58 34.20 34.20 62.53 66.42 66.42
4 6 13 24.65 24.65 24.65 80.63 80.63 80.63
5 7 14 38.70 38.70 38.70 61.33 61.33 61.33
Mean 6.0 12.0 32.40 31.15 31.15 69.40 71.01 71.01
Standard deviation 2.1 4.5 5.82 5.41 5.41 7.89 7.39 7.39

Busy demo

Seed Orders Lines R walk O walk P walk R lines/h O lines/h P lines/h
1 30 62 67.72 44.43 63.48 41.04 55.87 43.12
2 33 73 59.52 30.72 57.85 45.27 70.97 46.24
3 34 67 62.95 35.96 61.25 43.40 64.33 44.31
4 34 72 66.74 34.83 62.29 41.50 65.66 43.75
5 31 64 65.63 39.82 62.28 42.04 60.18 43.75
Mean 32.4 67.6 64.51 37.15 61.43 42.65 63.40 44.24
Standard deviation 1.8 4.8 3.31 5.20 2.15 1.71 5.71 1.20

Every policy picked every line of every seed's day (lines not picked: 0 in all 30 runs). Both warehouses leave 3 order lines with no known location, and 3 orders with no located line, out of the sample.

Where P walks further

  • P walks further than O on the busy demo, on every seed. The mean is 61.43 m per line for P against 37.15 m for O, and O picks 63.40 lines an hour against P's 44.24. P walks one delivery order at a time, as live pick orders do, so it cannot share a walk between orders. O fills a cart with one zone's lines from many orders. P's rules improve the route inside one order, not the number of walks.
  • P never walks further than R in these ten days, but the gain is small under a queue: 5% on the busy demo (61.43 m against 64.51 m), 4% on the demo as shipped.
  • At light load all three policies are the same or close. On the demo as shipped, seeds 4 and 5 give one figure for all three. Their days hold few orders, so a route or a batch rarely has anything to change. This is the light-load effect the flow model already states for zone batching. P matches O on every seed of the demo as shipped.
  • The pick-source rule changed nothing. The demo's stock carries no strategy date (0 of 25 stock units on the demo as shipped, 0 of 61 on the busy demo), and an unknown date never forms an interchangeable day, so SAME_DAY_NEAREST keeps each line where history picked it. The rule is proved on dated stock by FlowSimulationTest, and live by ProximityPickSourceTest. The figures above are therefore the effect of PROXIMITY dispatch and the nearest-first route only.
  • PROXIMITY dispatch is nearly idle for picks. A simulated picker returns to the depot after every cart, so dispatch measures every pick from the depot. The position that follows a putaway drop, which ADR 0063 gives interleaving, moves only after putaway, replenishment and count work, which a simulated day of picks never generates. This record does not measure interleaving.

Determinism

The same seeds at the same moment give the same figures. ProximityWalkEvidence asserts that two runs of all five seeds are equal, and that seed 1 run alone equals seed 1 of the five. Seed 3 of the busy demo, run twice (the values are printed in full):

Policy Run Lines picked Picking person-hours Walk per line (m) Lines per picker hour
R 1 67 1.5437222222222227 62.9462686567164 43.40159067189692
R 2 67 1.5437222222222227 62.9462686567164 43.40159067189692
O 1 67 1.0414722222222224 35.95970149253732 64.33200864161309
O 2 67 1.0414722222222224 35.95970149253732 64.33200864161309
P 1 67 1.5122222222222226 61.25373134328357 44.30565760470241
P 2 67 1.5122222222222226 61.25373134328357 44.30565760470241

Replay of a demo day

GET /api/v1/flow/replay runs a past day's own orders through the baseline and holds the result against the day. It is unchanged by policy P. The test asserts the day is reproduced within the stated 10% tolerance. Orders shipped is not compared, because no crew packs and ships.

Warehouse Day from Measure Actual Simulated Within 10%
Demo as shipped 2026-10-20T00:00:00Z lines picked 21 21 yes
Demo as shipped 2026-10-20T00:00:00Z picking person-hours 0.33 0.33 yes
Busy demo 2026-10-20T00:00:00Z lines picked 110 110 yes
Busy demo 2026-10-20T00:00:00Z picking person-hours 1.71 1.74 yes

Putaway walk from the dock

The TRAVEL_DISTANCE putaway sort cannot enter a simulated day of picks, since the day puts nothing away. It was measured through the live finder instead. Six pallets were received at the Receiving Dock. The production LocationFinder suggested a bin for each with the Facility default strategy, and the shared distance service measured the walk from the dock. Each suggestion stayed reserved until the end, so the next pallet was suggested another bin.

Warehouse Proximity setting Pallets given a bin Mean walk (m) Longest walk (m)
Demo as shipped off 6 31.65 43.20
Demo as shipped on 6 30.15 34.20
Busy demo off 6 55.95 63.00
Busy demo on 6 51.75 54.90

Six pallets is under the number of free bins on both demos, so the order the finder ranks them in decides which six it takes. With 20 pallets on the demo as shipped, the 12 free bins are all taken whatever the order, and the two settings tie.

What this does not show

  • Pack, Loci's proximityRank (still from location orderIndex) and the live rules themselves were not changed or measured.
  • P does not batch across orders. A wave batch uses the proximity route only when every contributing order opted in (ADR 0062), and this record does not combine proximity with zone batching.
  • Every place a SKU's stock was picked from on a day is treated as holding stock, and the walk has no congestion. Both warehouses are small: the busy demo's day is about 33 orders.