Skip to content

P2: Harvest with a Grain Cart and a Truck at the Field Edge#

This page gives the procedure task P2 as it is built in the batched simulator, on the procedure layer (Procedure Layer). The design is in Farm Benchmark Suite: Design, section 6 (P2). The task is Fast/acres_batch/scenarios_harvest.py. The solvers are Fast/acres_batch/baselines/harvest.py. The runner is Benchmark/acres_bench/p2/run.py.

The tests are in Tests/Fast/test_p2.py. Each number on this page comes from a file in Results/Benchmarks/ that the text names.

1. The Task#

A harvester works a field in a back-and-forth pattern and fills its bunker (9 t). One grain cart, or two, must meet the harvester before the bunker is full and take the grain while the harvester drives (K11 and K12). A cart carries the grain to a truck at the edge of the field, docks beside the truck (K10), unloads into it (K12) and goes back. When no cart is there in time, the bunker becomes full and the harvester stands. This is the main loss of harvest time on a farm. The truck leaves when it is full and the next truck, or the same truck after its trip, comes back empty.

Rule Value
The target The passes 0 to n - 1 of the field (2.3 to 3 bunkers of grain with the bunker's level at the start, fewer for soybean)
The work share \(W\) The length of the target passes that the header has cut, over their length
The end \(W = 1\) (the target is harvested), or the deadline \(t_{max}\)
Success \(W \ge 0.95\) before the deadline, no safety event (contact, corridor left), no deadlock failure
\(T_{LB}\) The time of the harvester's script at which \(W = 1\): the harvester never stands full (its own stops without notice are in the script)
\(T_{ms}\) The end of the episode
The deadline \(t_{max} = T_{LB} + \max(900\ \text{s}, 0.35\,T_{LB})\), plus the longest truck trip (family truck_trips), plus the breakdown (family breakdown). At most 4,000 s
The main metric The stop share \(\iota_c = t_{full} / T_{ms}\): the time that the harvester stands with a full bunker

The bunker cannot overflow: the harvester stands when the bunker is full (harvester.py). The verifier still counts the grain that falls when a cart leaves its place while the auger runs (the spill of loads.py).

2. The Field, the Lanes and the Pad#

The field has its own frame: u along the passes and w across them. The crop is the rectangle \(0 \le u \le L_f\), \(0 \le w \le W_{crop}\). Headlands of 24 m at the two ends are cut, and the harvester turns there. The opened strip \(-W_{open} \le w \le 0\) is the stubble of the first passes of the field (cut before the scene). The harvester works pass 0 from its start, then pass 1 back, and the next passes in the same sequence. The target is the passes 0 to n - 1.

The carts drive on lanes that are one way, so that two carts never meet head on:

Lane Where Direction
Line i The stubble beside pass i, \(w_i = i\,W_h - c\) (c: the gap to the header and the half width of the tractor) Even lines along +u, odd lines along -u
U-turn of route j At the far end, before the headland, between line j and line j - 3 (radius 1.5 \(W_h\)) From the +u line to the -u line
The edge lane Beyond the near headland and the turns of the harvester Along +w. An even line starts from it
The return lane Between the edge lane and the headland Along -w. An odd line ends in it
The bottom U-turn Below the pad From the return lane to the edge lane
The pad The dock pose D on the edge lane, the truck beside it outside the lane. The hold spot 14 m before D

There is one route for each target pass (at most 16, lanes.N_ROUTES). Each route is a loop from D back to D. Route j of an even pass goes up the edge lane, along line j beside the harvester and through the U-turn. It then goes back along line j - 3, down the return lane, through the bottom U-turn and up to D.

Route j of an odd pass goes out along line j - 3 and through the U-turn. It then goes back along line j beside the harvester, and the same way to D. All routes have the same points from D up the edge lane to their first arc.

The layer keeps the arc of a cart when a new call puts it on a new route there (Task.keep_arc, Procedure Layer). Thus a cart that waits on the edge lane can still take a later even pass.

The waiting spot of a route for an even pass is on the edge lane, 4 m before the arc into the line. For an odd pass it is on line j - 3, 10 m before the U-turn. The corridor of the checker is the lanes only. Its half width is 3.8 m on the lines and lanes and 3.5 m in the arcs of 14 m radius (the cart's trailer cuts in 1.3 m there). At a junction the checker tests a point against the 4 capsules with the most room there (check.NEAR, the rule of the run-time library). An arc as wide as the line took the place of the line, and the checker refused the line's points.

Thus the lines are wider than the arcs. The U-turns of the odd routes start 20 m before those of the even routes, so that no two arcs end at one point. The corridor of the U-turns is one turn zone at the far end (Lanes.zone). This zone is one capsule from line -3 to line n - 1. It is as wide along u as all the U-turns with 3.5 m on each side (a half width of 19 m to 20 m).

Its round ends reach that far beyond line -3 and line n - 1. No route goes there. Before 12 Nov 2026 the corridor of each U-turn was its arc. The U-turns of the routes j and j + 2 cross 10 m from the end of route j's U-turn.

There the 4 capsules with the most room at the trailer were the chords of the two arcs. The checker refused the hopper's points outside them. With the Kinze 851 (1.8 m longer than the cart of before), the cart that followed the harvester out of an odd U-turn stood at its end (field F11).

The places on the edge lane below D come from the length of the cart's train (TRAIN_M, 13.0 m from the tractor's front to the hopper's rear end). The hold spot is 16 m before D and the end of the abandon 32 m before D. The bottom U-turn ends 26 m below D. Thus two trains stand 3.0 m apart (PAD_GAP_M, assumed: the gap that the 7.8 m cart of before had at the hold spot of 14 m).

With the Kinze's length and the old places (14 m, 30 m, 24 m), the cart at the hold spot touched the hopper of the cart at D. The checker refused both (its point rule), and each scene with two carts ended at its deadline. The speed limit is 4 m/s on every lane and arc. (The checker's rule of the lateral acceleration slows the turns. Two speed limits where two corridors overlap made the reference drive stand: the checker refused its chunks for their speed.)

The fields of the test split are the crop fields of the ACRE tile that are rectangles of at least 320 m by 60 m. (A rectangle here has an area of at least 0.8 of the least rectangle.) These fields are F02, F11, F13, F14, F15, F16, F17, F18 and F25 (Game/Content/Simulation/ACRE/Scouting/scouting_map.json). The scene takes the place, the heading and the size of the field's least rectangle. It takes a land of at most 650 m along it, and the crop of the field (crops_2026.json: corn or soybean).

The near end and the opened side are those of the field's entrance in the map. The lanes and the pad are drawn in the frame of the field. They are not the map's lanes.

The map has no paths inside a field. The lane beside a field has no room for the turns of a cart with a trailer. The pad and the lanes extend up to about 50 m beyond the near end and the opened side of the field. They go onto the lane and verge beside it. The train and validation splits have procedural fields of the same sizes (480 m to 650 m by 90 m to 130 m) at a random place and heading.

3. Values with No Measurement#

Every value of the harvester, the cart, the truck and the field is assumed. No GNSS or yield-monitor log of a harvest exists (design, section 12), and the game's cutter is not a model of a real machine. The table gives each value and its source, where it has one. The vehicle values are in one place, Fast/acres_batch/vehicle.py, so that a fit of the tractor changes no task code. The task values are at the top of scenarios_harvest.py.

Value Assumed Source or reason
The bunker of the harvester 9,000 kg The design ("about 9 t")
The harvester's unloading auger 100 kg/s to 150 kg/s The K12 bank
The header's width 7.5 m to 9.0 m 10 to 12 rows of 0.76 m
The work speed Corn 1.4 m/s to 2.0 m/s, soybean 1.8 m/s to 2.4 m/s (family high_rate: up to 15 % more) Assumed
The yield Corn 0.95 kg/m² to 1.25 kg/m², soybean 0.30 kg/m² to 0.40 kg/m² (family high_rate: up to 10 % more) The design gives corn 1.1 kg/m², no calibration
The harvester's turns, speeds, its body and header harvester.py The T5 and K11 values
The grain cart 21,591 kg (850 bu), its auger 201 kg/s (475 bu/min), 6,641 kg empty The Kinze 851 of Core and the game: the maker's sheet, Game/Content/Simulation/implements/grain_cart.json (since 12 Nov 2026, before it an assumed 15 t cart of 4,500 kg, its auger 150 kg/s to 250 kg/s)
The cart's geometry The pin 0.98 m behind the tractor's rear axle. 5.2 m from the pin to the cart's axle. The cart 8.64 m long (the hopper to 3.44 m behind the axle), the hopper 3.5 m wide. vehicle.TRAILERS["grain_cart"] from the same file: the length is the sheet's. The pin to the axle is Core's assumption. The width is assumed
The tractor The Maxxum of vehicle.py fitted to Core's Maxxum (the setting tractor core, ACRES_TRACTOR=core) The fit of 12 Nov 2026 (batch.md). The results of section 9 are with it
The speed of a loaded cart 4 m/s, as an empty cart Core's ground tables (ground.load_tractor, the grain cart's train, firm field soil). At a command of 4 m/s on the three soils of the map, the train with 9 t of grain reaches 4.1 to 4.2 m/s. With 15 t it reaches 3.1 m/s to 4.2 m/s. Full (21.6 t), it reaches 1.8 m/s to 3.2 m/s at the best command. A cart in P2 carries at most one bunker and a rest (10.4 t at most on the scenes of the check). Thus the cart's speed limit of 4 m/s holds. The task does not use the ground surrogate.
The places at the pad The hold spot 16 m before D, the abandon's end 32 m, the bottom U-turn 26 m below D: two trains 3.0 m apart From the train's length. The gap is assumed (section 2)
The truck 25,000 kg (assumed), the box of the game's tandem grain truck, 11.66 m by 2.59 m (npc_cars.json truck_tandem). Before 19 November 2026 it was an assumed 12 m by 2.5 m. It leaves 30 s to 90 s after it is full (assumed) The game's truck model
The truck's trip Family truck_trips: one truck, 600 s to 1,200 s to the elevator and back. The other families: the next truck of a queue on the pad after 120 s to 300 s Assumed
The speed of a cart 4 m/s on every lane and arc Assumed (a loaded cart on stubble)
The gap of the cart's tractor to the header's side 2.2 m to 2.8 m The K11 window
The window of the meeting The hopper's centre beside the auger's tip (sync.AUGER_LON, 1.5 m ahead of the harvester's reference point). The tractor's rear axle 8.1 m ahead of the harvester's reference point (the hopper's centre 6.6 m behind the axle, 7.0 m with the cart of before) Assumed
The headlands, the lanes, the arcs 24 m. The return lane 10 m beyond the headland, the edge lane 38 m beyond it. Arcs of 14 m radius The harvester's turns need 23 m. The checker's room at the junctions
The bunker at the start 1,500 kg to 5,000 kg, and at least 9,000 kg less 0.75 of the target's grain So that the do-nothing solver fails

The sizing with the cart of Core (12 Nov 2026). The check of the scene's sizes with the Kinze 851, on the 64 scenes of the test bank (scenarios_harvest's values). The cycle is an estimate. It has the route at 4 m/s and the transfer of a bunker at the net rate of the harvester's auger. It then has 60 s to dock, the unloading at 201 kg/s and 60 s more.

Quantity Value What it means
The cart against the bunker 21.6 t against 9 t: 2.4 bunkers The sync ends when the bunker is empty. A cart carries one bunker and a rest (10.4 t at most on the scenes of the check). The cart's capacity does not limit the task. The truck at the field's edge is near, and a crew then unloads each bunker
The time in which the bunker fills 373 s to 2,106 s (median 942 s, corn 576 s, soybean 1,389 s)
The cycle of one cart 514 s to 622 s (median 580 s) Shorter than the fill time in 51 of 64 scenes. One cart can keep the harvester moving there. A second cart is surplus, as in a crew that sizes its carts to the harvester
The trips to the truck A truck of 25 t holds 2.8 bunkers (1.2 carts) The truck leaves after two or three deliveries. In the family truck_trips the cart waits full for it
\(T_{LB}\) 921 s to 2,614 s The harvester's script: the cart does not change it
The speed of the loaded cart 4 m/s With one bunker the train keeps 4 m/s in Core's ground tables (the table above)

No size of the scene changes with the cart of Core: the bunker, the truck, the target and the deadlines are as before. The places at the pad and the corridor at the far end change (section 2).

4. The Procedure as a Graph#

Each cart has its own chain of nodes in the task graph (env_procedure.graph). Cart 0 starts at D. Cart 1 (two carts) starts at the hold spot, and its chain starts with a dock.

Node (role) Skill Resource Branch What It Does
go K1 drive 2 retries To the waiting spot of the route of the next meeting
sync K12 transfer, synchronised SIDE (one cart beside the harvester) its alternative abandon Beside the moving harvester, from the bunker into the cart, until the bunker is empty or the cart full
abandon K1 drive 2 retries Released only when the sync fails: to the end of the route's way back
home K1 drive 2 retries To the hold spot before D
dock K10 dock PAD 2 retries At D beside the truck
unload K12 transfer, stationary PAD 2 retries From the cart into the truck

A cycle is go, sync, home, dock and unload. The go of the next cycle comes after the unload. One cart has 6 cycles in the graph, two carts 4 each (49 nodes at most). The arguments of each call (the route, the spot, the window, the stores, the time limits) are in the table p2_args of the scene, by cart, route and role. The solver gives the arguments at the dispatch (level L2: the parameters of the calls are the solver's part).

The events are these:

  • The bunker becomes full (the harvester stands, the counter t_full_s).
  • The truck leaves when it is full, and the next truck comes after its trip (loads.py).
  • A breakdown of cart 0 for 300 s to 900 s (family breakdown, the layer's event). Its running call ends, and its node is ready again.
  • The harvester's own stops without notice (its script).

5. Families#

The scene of index i has the family FAMILIES[i % 5]. In the test split, it has the ACRE field MAP_FIELDS[(i // 5) % 9].

Family What Is Different What It Tests
steady A truck queue on the pad (the next truck after 120 s to 300 s), 0 to 2 stops of the harvester of 10 s to 60 s The base case: the timing of the meetings
high_rate The yield and the work speed at the top of their ranges and above: the bunker fills fastest The cart's cycle against the fill time
truck_trips One truck, 12 t to 20 t in it at the start. It leaves full and is back after 600 s to 1,200 s The cart waits full. The plan around the truck's absence
breakdown Cart 0 breaks down for 300 s to 900 s at 15 % to 55 % of \(T_{LB}\) With one cart the harvester stands. With two carts the other one takes over
stops The harvester stops without notice 3 to 5 times for 30 s to 120 s A wrong prediction of the fill times

The skills that the task uses: K1 (drive), K10 (dock), K11 through K12 (the synchronised transfer uses the window and the MPC of K11), K12 (transfer). Not in the task: K2 (no oncoming traffic: the lanes are one way), K4 (no culvert or bank at the entrance), K6 (the harvester's turns are scripted, the carts' turns are arcs of their routes), K13 (a cart that waits for the pad or the harvester stands at its spot with no call).

6. The Solvers#

The solvers work at level L2: they give the node of each free cart and the arguments of its call. The reference skills drive the carts (skills/library.Library). Both classical solvers use the same rules of the calls (baselines/harvest.Dispatch, on the GPU, no host sync) and differ only in the plan. The route (the pass) of each cart's next meeting.

Role When the call starts
go The cart has a plan, and no other cart of the scene holds that route (it goes there, waits at its spot or is in its sync). The harvester reaches the meeting of that pass before its bunker is full (the pattern's arc to the meeting times the fill per metre within the room). The end: the waiting spot, or, when the harvester already cuts that pass, 40 m behind the window of the meeting.
sync An even pass: the harvester cuts that pass, with its header's front at least 15 m into the crop and past the plan's position. (Or earlier, when the window is about to leave the cart's reach.) The window is at most 200 m ahead of the cart on its route (the K12 approach sees 240 m of route ahead). An odd pass: at once (the cart waits behind the U-turn). A cart at an even spot whose pass the harvester has left takes the next even pass while it is on the routes' shared start. A waiting cart whose pass the harvester has left and that cannot switch calls its sync with a time limit of 1 s. The sync fails, its alternative abandon drives the rest of the route behind the harvester, and the chain goes on. Sometimes the transfer cannot end before the harvester is 40 m from the end of its pass. Then the call moves only the grain of the rest of the pass (at least 600 kg).
abandon, home At once
dock No other cart is at the pad (docked, unloading, docking or standing at D)
unload The truck is at the pad with room, or the cart is empty

Two branches are the same for both plans. A full bunker (the harvester stands): when no cart goes to the harvester (a cart that waits for another pass does not count), the first free cart goes to the pass where the harvester stands. A free cart with no plan at D. The other cart comes back to the pad, leaves for the spot of the next even pass.

Solver The plan
Do-nothing No node: the harvester stands at its first full bunker
Reference: the rolling-horizon MILP (Planner) The design's classical baseline: the in-field logistics as a routing problem with time windows (after Bochtis and Sørensen). Every 2 min (240 decisions) the planner solves, on the host, for each scene, a MILP of the next 3 meetings in their order. A meeting is a slot: a pass and, on an even pass, the position of the header's front at the call (15 m, 50 m, 85 m or 120 m). The prediction: the harvester on its known pattern at the pattern's speeds, with the stops of its script removed (the stops without notice are not known). The bunker's fill from the cut travel. The constraints: one cart beside the harvester at a time. The bunker not full before a meeting (a slack with a large cost). A cart at its spot before the call. (This has its travel from D at 4 m/s, its way back, the dock and the unloading. After the delivery that fills the truck it has the truck's trip. A slack is its lateness, 20 a second.) The carts take the meetings in turn, the first free first (they share the edge lane and cannot pass each other). The cost: the bunker's slack (1,000 a metre of cut), the cart's lateness, then meetings as late as possible (more grain each). scipy.optimize.milp (HiGHS), at most 2 s a scene. The synchronisation is the K12 reference: the linear MPC of K11 beside the harvester.
Operator rule (rule70) The design's second classical row: the first free cart leaves when the bunker is 70 % full and no other cart goes to the harvester. Its pass is the harvester's pass when the cart (at 4 m/s from D) reaches the window there 60 m before the end of the pass. It is also that pass when the harvester stands full. Else it is the next pass.

The parameters of both solvers are assumed and not tuned. The design's equal tuning budget (Bayesian optimisation on the training scenes) is not run.

7. The Verifier and the Log#

The verifier is that of the layer (verify_procedure.grade) with the task's grade. It grades the episode from the final summary of its own run of the logged commands. It grades each node's last call by the grade of its skill. It then grades the rules of the graph (precedence, one cart for each resource, one node for each cart, the done events). Last, it computes the task's \(W\) from the counter arc_m (the script's arc at the end of the procedure) and the pass table of the scene. It also computes these metrics:

  • \(\iota_c\).
  • The grain delivered (the counter into_truck_kg less the truck's level at the start), and its share of the grain harvested.
  • The spill.
  • The crop that the carts crushed in standing crop (harvester.standing_all, every pass).
  • The loaded travel of the carts times the cart's width (an upper bound of \(A_{cart}\): overlaps count twice). python -m acres_bench.verify LOG.json runs a log again and grades it (task p2).

8. Changes to Other Parts#

Part Change Old behaviour
vehicle.py The grain cart: a trailer of the checker's body, in the contact test of the skill environment (CONTACT_TRAILERS), its tare in the payload (TRAILER_TARE_KG) The square baler's body is unchanged. No other trailer is in the contact test or the payload
harvester.py The script's length from its table (knots), the pass table (pass_table), the standing crop of every pass (standing_all) standing and the scripts of KNOTS are as before. The step reads the flag of a script from the skill env (made at the reset), not from the whole table at each physics step: the same results
loads.py A truck with a trip time comes back empty after its trip (the store's column 5 for a truck) A truck without one does not come back, as before
env_procedure.py, verify_procedure.py The task hooks complete, keep_arc and makespan (Procedure Layer) The defaults are the layer's rules of before
env_procedure.py The dispatch of a node applies no guards of the precedence (node_step(..., guards=False)). The call of a decision runs twice in an episode (EP.decision, then the step) and once in a re-simulation. The guards at the dispatch moved a cancellation down a chain faster in the episode. Thus 10 of 64 logs of the operator rule with two carts did not repeat. The refill task's checks give the same numbers in each scene (one and two vehicles)
acres_bench/procedure.py The speed run takes a solver that gives the arguments of its calls. Each scene of a check has repeats
skills/transfer.py The MPC of a synchronised transfer predicts a harvester with a full bunker at rest The K12 bank gives the same ends and times
skills/bank.py An edge of a scene can be one straight capsule, and can have its own speed Edges without these values are as before
skills/sync.py put_harvester takes the script's length and the pass table The skill banks call it as before

9. Results on the Test Split#

The test bank has 64 scenes for each count of carts (13 of each family, 12 of stops), on the nine ACRE fields: 30 scenes of corn and 34 of soybean. The settings are the owner's settings of 11 Nov 2026 (acres_bench/procedure.VEHICLE). The vehicle's follower, gearbox and holds, the bodies "rows", the sync-free step and the kernel of agent rows. The files are Results/Benchmarks/p2_validity_a1.json (one cart) and p2_validity_a2.json (two carts). \(Q\) is the score of the layer (verify_procedure.grade).

\(\iota_c\) is the stop share. "\(T_{ms}/T_{LB}\)" is the mean over the scenes.

The checks (the Kinze 851 of Core and the fitted tractor, ACRES_TRACTOR=core). The checks ran again on 13 Nov 2026 on the final tree of stage 1, commit dfd3194, on the second machine (an NVIDIA GeForce RTX 5060 Ti). The do-nothing solver fails 64 of 64 scenes with one cart and with two (\(W\) 0.44 at the deadline). The reference passes 62 of 64 with one cart and 62 of 64 with two.

Every log of the three solvers repeats from its logged commands (64 of 64 for each solver and each count of carts). The verifier's \(W\) and makespan are those of the env in each scene. These are the four validity checks. The reference ends 1 scene with one cart and 2 with two on a safety event (below).

Solver Carts Success \(W\) \(Q\) Mean makespan / mean \(T_{LB}\) Ends
Do-nothing 1 and 2 0 / 64 0.436 0.253 1.79 time 64
Reference (MILP) 1 62 / 64 0.983 0.903 1.10 complete 62, time 1, safety 1
Reference (MILP) 2 62 / 64 0.986 0.923 1.05 complete 62, safety 2
Operator rule 70 % 1 56 / 64 0.954 0.771 1.30 complete 56, time 8
Operator rule 70 % 2 53 / 64 0.916 0.831 1.20 complete 53, time 11

The table is of 14 Nov 2026 (commit e892971, an NVIDIA GeForce RTX 5060 Ti), with the limits of each vehicle. A loaded cart brakes less. Thus a plan keeps more room, and the reference is a little slower.

The rows with two carts changed on 14 Nov 2026. Since that date each cart sees the real body of the other cart (the tractor, and the cart as a second box), not a box of the Polaris. On the tree before this change the same check gave 61 of 64 for the reference and 41 of 64 for the operator rule. A second seed gave the same results, because the check does not depend on the seed.

With the real bodies the reference also passes scene 8 with two carts. For the operator rule, 20 scenes changed their end: 16 from time to complete and 4 from complete to time. In the scenes that end on time, one skill call ends on its time limit and the cart then stands. The cause of each change is not analysed.

The operator rule's ends on time with two carts (19 Nov 2026). The result file of 19 Nov 2026 (commit 97d3caf) has 53 of 64 and 11 ends on time. Seven are of the family breakdown, 2 of high_rate, 1 of truck_trips, and one is scene 6. Each scene alone gives the same end.

In 9 of the 11 no skill call fails. The harvester stands full for 1,779 s to 3,355 s, and no cart gets a new call. In scenes 22, 23, 31 and 48 only the first calls run (cart 0's first go, cart 1's dock at D). The state at the deadline of scenes 22 and 31 shows the cause.

The rule sent cart 0 to its spot of pass 2 on the edge lane, where its sync waits for the harvester (the rule takes the next pass when the cart cannot reach the harvester 60 m before the end of its pass). The harvester then fills on pass 0 and stands. The branch of a full bunker sends cart 1 to pass 0. Its way into line 0 passes the rear of cart 0's train (13 m), which stands on the shared edge lane. The checker holds it to the deadline. Cart 0 waits for pass 2, which the harvester does not reach.

With the box of the Polaris for the peer (before 14 Nov 2026) the train was not in the way. That is one way in which the real bodies change the ends. The 20 changes of 14 Nov 2026 are not analysed one by one. The fix of 19 Nov 2026 (no sync from an empty bunker) also acts on the operator rule.

What changed with the cart of Core. The check used the Kinze 851 (21.6 t, 8.64 m), the fitted tractor and the scenes of before. 8 test scenes gave 6 of 8 with one cart and 0 of 8 with two. The causes and the corrections:

  1. The hold spot of 14 m put the second train against the first one's hopper. The places at the pad now come from the train's length (section 2).
  2. The arcs of the U-turns crossed where the cart left an odd U-turn. The checker's 4 capsules missed the hopper's points (the turn zone, section 2).
  3. The plan sent the second cart to the odd spot where the first cart waited for its meeting. Now no go goes to a route that another cart holds. A sync that waits for the harvester is a commitment in the plan (section 6).

(4) a cart at D after a dock did not count as at the pad, and the other cart docked behind it. Before the cart changed (the assumed 15 t cart, the assumed tractor): the reference 62 and 59 of 64, the operator rule 56 and 43.

What still fails. (a) The lane gap, scene 8 (breakdown, F11), one cart (and two carts before 14 Nov 2026). The bunker fills while the cart is down, with the harvester's front 16 m into odd pass 3.

The window of the meeting is then before the end of the odd route's U-turn, and no route reaches it. (This is the first 45 m of an odd pass: the U-turn's radius, 12 m to the far end and the 20 m of stagger.) A turn zone with the U-turns at the far end of the crop (no stagger, 4 m) closes the gap to 17 m. It passes this scene, but loses two other breakdown scenes (one on a safety event). It is not used.

(b) Scene 61 (high_rate, F14, a harvester at 2.7 m/s), one cart and two. The cart comes out of the odd U-turn behind the harvester and reaches the window 140 s later (the MPC of K11 closes at most 1.3 m/s on a harvester this fast). Its transfer runs to the end of the pass, and its way home meets the harvester's headland turn (a contact). The rule of a late transfer (section 6) does not see this case: the odd sync is called before the harvester is on the pass.

(c) Scene 39 (stops, F18), two carts: a safety end with 179 m² of crop crushed.

The cause (19 Nov 2026, the scene alone): cart 0 emptied the bunker at 1,098 s. The harvester then stood (a stop of the family). At 1,172 s cart 1, at the spot of odd pass 5, got its sync. K12 ended at once with success (the source empty). The next node, home, drove the rest of route 5 along line 5. It drove beside a pass that the harvester had not cut, through the standing crop and into the harvester (a contact at 1,202 s).

The fix (19 Nov 2026): a sync starts only when the bunker holds grain (more than loads.EMPTY_KG, both solvers: baselines/harvest.Dispatch). Until then the cart stands at its spot with no call. Scene 39 with two carts then passes (\(W\) 1.0, \(Q\) 1.0).

The analysis of scene 61 on 19 Nov 2026 (one cart, the scene alone): the sync of odd pass 1 started at 173 s. The transfer ended at 476 s with the bunker empty (8.5 t moved, 75.5 s of flow). The cart caught the harvester late, and the transfer ended near the end of the pass. The home drive met the harvester's headland turn 7 s later.

The rule of a late transfer does not apply here. It acts only on a sync that starts while the harvester cuts that pass, and its amount leaves out the time of the catch-up. A fix needs the amount of an odd sync from the time of the catch-up that the plan predicts (not built). Scene 8 (one cart) stays as (a) says: a limit of the routes.

Two properties of the scenes, not of the solvers. The cycle of one cart is shorter than the time in which the bunker fills in 51 of the 64 scenes (section 3). A second cart is surplus there, as in a crew that sizes its carts to keep the harvester moving. The episode ends at the end of the harvest, with grain still in the bunker and in the cart. At that time 0.63 (one cart) and 0.57 (two carts) of the harvested grain is at the truck.

The reference for each family:

Family One cart: success \(W\) \(Q\) Two carts: success \(W\) \(Q\)
steady 13 / 13 1.000 0.993 13 / 13 1.000 0.993
high_rate 12 / 13 0.948 0.878 12 / 13 0.948 0.903
truck_trips 13 / 13 1.000 0.998 13 / 13 1.000 0.998
breakdown 12 / 13 0.968 0.697 12 / 13 0.988 0.798
stops 12 / 12 1.000 0.994 11 / 12 0.983 0.910

The operator rule for each family (one cart, two carts):

Family One Cart Two Carts
steady 12 of 13 7 of 13
high_rate 9 10
truck_trips 12 9
breakdown 10 9
stops 12 of 12 6 of 12

What the numbers show:

  • The task is solvable and not trivial: the plan of the meetings matters. The operator rule leaves the harvester standing full for about a quarter of the episode (\(\iota_c\) 0.24), the MILP for 0.07 (one cart) and 0.05 (two carts). A cart that leaves at 70 % often comes too late on a long pass or comes before the bunker has a full load.
  • The breakdown family is still the hardest for the reference (\(Q\) 0.70 and 0.80): with one cart the harvester must stand while the cart is down.
  • Two carts help the reference little on this bank (one cart's cycle is shorter than the fill time in most scenes). The second cart waits more (the idle share 0.55 against 0.38). With two carts the operator rule is worse than with one (41 against 55): both carts leave at 70 % and wait for the same harvester.
  • Of the grain harvested, about 0.6 reaches the truck: the episode ends when the target is harvested, with grain in the carts. The truck's grain is a metric, not part of the success.
  • The crop crushed by the carts is 0 m² in every scene but scene 39 with two carts.

The parameters of the solvers are assumed and not tuned (section 6). No learned baseline is trained.

10. Speed#

The speed of benchmarks.md 7.5 (Results/Benchmarks/p2_speed.json) has these settings. 2,048 scenes of the train bank with two carts each (4,096 agent rows) and the reference solver. The cart of Core, the fitted tractor and the fast paths with the kernel of agent rows. 200 decisions after 20 of warm-up. Commit dfd3194, 13 Nov 2026, an NVIDIA L40S that ran nothing else.

Measure P2 The refill task on the same GPU (procedure_refill_speed.json) Target (7.5)
Agent-decisions/s, one chunk for each row (a learner) 90,723 153,238 50,000
Agent-decisions/s, the reference skills with their candidates (a search planner) 46,538 80,977 5,000
Time of a decision: the solver, dispatch and calls. The reference skills. The step 7.6 ms. 42.9 ms. 37.5 ms 2.9 ms. 23.9 ms. 23.8 ms
Host syncs in a decision 0 0 0
Peak GPU memory 2.5 GB 1.9 GB

P2 meets both targets. Its step is 1.6 times that of the refill task (the harvester, the bunker and the truck, the cart's trailer in the contact test, the counters of the task) and its solver part 2.6 times. The file of before (12 Nov, before the cart of Core, an L40S that other work used at 100 %) gave 36,037 and 13,973. The measure on a GPU with no other work, which that page asked for, is this one.

The layer and the task's part (the solver's rules on the GPU, the dispatch, the calls) are 17 % of a decision of one candidate. No host sync is in the solver, the dispatch, the call or the step. The MILP of the reference runs on the host every 240 decisions and is not in this measure (one solve before the measure). The harvester's step read the whole knot table at each physics step (a fifth of the GPU time of a decision with P2's script of 8,192 knots). It now reads a flag that the env makes at the reset (section 8).

11. Limits and Gaps#

Limit What it means
No measurement of the harvester, the cart or the truck Every value of section 3 is assumed. The harvester is a script: it does not react to a cart, it stands only when its bunker is full
One harvester in a scene The design's two harvesters for two carts are not built: the second cart serves the same harvester
The grain cart's motion is the fast trailer The cart has the size, the mass and the auger of Core's Kinze 851 (section 3). Its motion is the kinematic trailer of the fast simulator (vehicle.tow). The fit of the tractor (12 Nov 2026) has turns with the grain cart as an expected failure (the cart pushes Core's tractor wide, the fast model has no trailer understeer)
The trucks do not drive the lanes A truck appears at the pad and leaves after its trip (loads.py). No truck is in the traffic of the carts
No fuel for the Maxxum The layer's fuel is that of the Polaris only: \(F\) is not a P2 metric yet
No ruts or compaction from the cart's axle loads The loaded travel times the cart's width is an upper bound of \(A_{cart}\). The ground surrogate is not in the task
One field window of 256 m and 64 capsules At most 6 target passes (PASSES_MAX). The routes' straight lanes are one capsule each
The abstract mode Not built for P2 (no L1 statistics of a synchronised transfer with the cart's chain)
No rain The design's branch "rain stops the harvest" is not built
The window error of K11 One number of the K11 check, as before. P2 adds no measure of it

P2 closes these gaps:

  • The grain cart has a body (the checker's trailer, the contact test, its tare).
  • The task follows the crop of every pass (standing_all).
  • A truck comes back after its trip.
  • A new route of a cart keeps the arc where the routes share their start (Task.keep_arc).

12. How to Run#

cd <the ACRES checkout>
export PYTHONPATH=$PWD/Fast:$PWD/Benchmark:$PWD/Vehicle CUDA_VISIBLE_DEVICES=0 ACRES_TRACTOR=core     # the fitted tractor (section 9)
python -m acres_bench.p2.run validity --agents 1 --n 64     # Results/Benchmarks/p2_validity_a1.json (about 1.5 h)
python -m acres_bench.p2.run validity --agents 2 --n 64     # Results/Benchmarks/p2_validity_a2.json
python -m acres_bench.p2.run speed --E 2048              # Results/Benchmarks/p2_speed.json
python -m acres_bench.verify LOG.json                    # a log again, and its grade (task p2)
python -m pytest Tests/Fast/test_p2.py -q -m "unit or integration"