Skip to content

P1: Hay Baling and Bale Haul to a Shed#

This page gives the procedure task P1 as it is built on the procedure layer (Procedure Layer). The design is in Farm Benchmark Suite: Design, section 6 (P1) and work package WP10. The task code is Fast/acres_batch/scenarios_hay.py. The runs are in Benchmark/acres_bench/p1/run.py. The tests are in Tests/Fast/test_p1.py. Each number on this page comes from a file in Results/Benchmarks/ that the text names.

1. The Task#

Hay lies in raked windrows in two or three fields. A round baler bales the windrows (K5). A bale drops from the baler when its chamber holds the mass of a bale. A front loader with a bale spear takes the bales one at a time (K7). It carries them to a shed (K8, K3) and puts them into the stack of the shed (K9). Rain comes at a forecast time.

A bale that rain falls on outside the shed is spoiled. Hay that is wet when it is baled is spoiled too.

Version Vehicles
One vehicle The Maxxum with the baler bales all fields, changes the implement at the yard (K16: the baler off, the front loader on, 10 min), and hauls all bales.
Several vehicles The Maxxum with the baler (agent 0) and the Maxxum with the front loader (agent 1). The loader hauls the bales while the baler bales.

The baler is the round baler of Core and the game (Case IH RB565 class, Game/Content/Simulation/implements/round_baler.json), on its own body (vehicle.TRAILERS round_baler). Its bale is the round bale of the game: 1.2 m long, 1.2 m across, 450 kg (items.py). The bale stays in the chamber for the wrap (20 s) and the eject (8 s) at rest, then it rolls off the tailgate (skills/work.round_bale_params). The file's bale (1.56 m wide, 1.5 m across) does not fit the loader's spear: on the spear (its centre 4.15 m ahead of the rear axle, loader_bale_fork.json), its near face is 3.37 m ahead, inside the tractor's front box (3.4 m). With that bale, the loader touched each bale that it put down in the shed (9 of 64 test scenes with two vehicles). The skills of a scene are K1 drive, K3 gate, K5 cover_field, K7 pick_up, K8 carry, K9 place and, with one vehicle, K16 change_implement.

2. What Differs from the Design#

Design Built Why
The fields and lanes of the farm map (the map rule of the design) A procedural farm, split by the seed, as the skill banks The map has no hay fields with windrows, no field gates and no shed. The skill banks that P1 chains are procedural too (an open gap). The shed on the map (a plain building away from the garage and from Beck's) is the work of WP13.
Two to four fields of 1 ha to 4 ha Two fields (one vehicle) or two or three fields (several) of 0.6 ha to 1.1 ha, 2 to 14 bales a scene The run time: one decision of a scene with the baler and the bales costs about 0.3 s on the shared GPU. This is so for any count of scenes up to 64 (section 7). A larger farm makes the checks of 64 scenes too long.
A stack of 4 x 8 places on 2 levels, 0.1 m between two bales One line of places on the axis of the door, 2 levels, 2.9 m between two bales (the working aisle of the place skill) The checker refuses the approach at 0.1 m (k9.md, section 6). The owner's decision (18 Nov 2026): the working aisle of 2.9 m, the checker's margin unchanged. The withdrawal of K9 is a straight line back. One line through the door is the stack that a loader can leave without a turn in the shed.
The baler: a Maxxum with the trailed square baler, bale 0.8 m x 0.9 m x 2.4 m The round baler of Core (RB565 class) on its own body, its own bale (1.56 m x 1.5 m) The owner's decision: round bales on a spear. Before 12 November 2026 the body was the square baler's (a stand-in). The bale of the round baler's file (1.56 m x 1.5 m) does not fit the loader's spear (section 1).
Fuel budget \(F \le 1.2 F_{ref}\), compaction \(A_\rho / A_{field} \le 0.15\) Not in the success The Maxxum has no fuel model and the skill environment has no ground surrogate.
Single-agent: bale all and haul all, or bale and haul field by field Bale all fields, change once, haul all K16 unhitches the baler but does not hitch it again (one stand a scene).
A bale wagon, two loaders One loader The two loaders share one door and the line before it. Not built.
The episode ends 2 h after the true onset of the rain, a time limit of 4 h (9.3) 10 min after the true onset (or earlier, when the procedure is complete), at most 2 h After the onset no bale can go into the store dry. Rain on a bale outside spoils it. Rain on a windrow makes its hay too wet to bale. The 2 h add run time and change no \(W\).
The classical baseline: a rolling-horizon CP-SAT schedule with SIPP reservations on the lanes The reference is the list scheduler of the layer with task rules. A CP-SAT baseline orders the bales (section 5). No SIPP. The lanes are wide enough for two vehicles to pass. The gates and the door are resources of one holder. The field order and the change are fixed by the graph.

3. The Farm and the Scenes#

X is east and Y is north, in metres. A lane runs along Y = 0 from the yard in the west to the fields in the east. Its corridor is 5 m on each side of its line: two vehicles pass, and the reference drive keeps right. The vehicles drive the lanes at 4 m/s, and the gates, the apron and the shed at 3 m/s. The loader's ways in a field (the join from the gate to the middle line and the strip) are at 2.0 m/s (FIELD_MPS: at 3 m/s the fitted tractor came onto the strip off its line, section 7).

  • The fields. The fields lie north of the lane, side by side, their south edge at Y = 40. Each has a gate (K3, a resource of items.py) in its fence on the line of the baler's last pass, 3.9 m to 6 m wide. The baler leaves in a straight line, with its trailer in line with the opening. (With a gate on the middle line, the trailer touched the fence of a gate of 3.6 m in 5 of 13 scenes. These were scenes of the family narrow, with the body of the square baler.) A straight stub of 30 m goes from the lane to the gate, with the baler's trailer in line with the opening. The vehicles drive it at the speed of the gate, 3 m/s. (At 4 m/s the fitted Maxxum was 0.4 m to 0.6 m off the line at the fence of 5 test scenes. At 3 m/s it was 0.13 m to 0.22 m off.) The region of the gate is the stub and 3 m past the fence. A vehicle holds the gate while its body is on the stub, so two vehicles do not meet on it. The stop line of K3 is where a route enters the region. The windrows run north, in two groups of 2 or 3 on the two sides of a middle strip. The strip is 20 m to 23 m wide on each side of the middle line and has no windrow. (The bales of the bank of K7 are 20 m to 26 m from its field route. A nearer bale ended the turn onto its axis too near, and the loader's box bumped the bale before the engage.) It is the loader's way to the bales (an engineering choice of the procedural farm). The windrows are 8.6 m to 9.5 m apart (cover_field: two passes in a row are 17.2 m apart or more) and 40 m to 60 m long, with 3 kg/m to 5 kg/m of hay (20 % variation along). The headlands are 45 m (south) and 22 m (north).
  • The shed. A plain building north of the lane at X = 0 with its door (4.6 m to 5.0 m wide) at Y = 70, facing south. The front wall beside the door is two things. The side walls are the edge of the corridor (3 m on each side of the axis). The worker works the door from a post outside it and checks the stack for 20 s to 40 s after a store (items.py). The stack is one line of places on the door's axis, two levels, 2.9 m between two bales, with the stack rule of items.stack_slots (back to front, bottom before top).
  • The yard. The baler starts at (-50, 0). With one vehicle, the dock pose of K16 is 30 m west of it, and the baler stands there after the change.

The routes of a scene (16 at most) use joins of the Dubins kind (bank.dubins, radius 10 m). The corridor of each route is its own chain of capsules (lanes.pack with own_chain): several routes go through one gate and one door. The ends of the baler's routes are also short lanes that each route sees, because the trailer stands behind the start of the next route.

Route Way
BF_f The baler: from the yard or the stub of the last field through the gate. Then the passes of the windrows in the order of cover_field.pass_order, with their turns. Then back through the gate to the stub (the last field: to the yard).
LI_f A loader from W0 (22 m before the door) round the apron, along the lane and through the gate. Then a join to the middle line of field f 33 m in, and north along it.
LO_f From the north end of the middle line south, then a join to the line of the gate 12 m before it (the loader's front in line with the opening). Then through the gate and along the lane to Q (34 m before the door).
P From Q past W0, through the door, along the stack line
K, YW One vehicle: from the yard to the dock pose of K16. From the dock pose to W0

The weather. A window of the station's record of the split's year (weather.Record: the evaporation, the wind and the weather that hay cures under). The window has no rain before the true onset and a constant rain from it, 0.5 mm/h to 4 mm/h (assumed).

The window starts in the hours of the hay harvest (scenarios_hay.harvest_starts). The sun is up for the 2 h of a scene. It sets no later than 9 h after the start. These are the three harvest periods of 3 h before the sunset of the model's manual (section 3.1).

Before them the dew is on the hay. Before 13 November 2026 the window started at any hour, also at night. The draw is the same (one integer). The farm, the routes, the onset of the rain and the breakdown of each scene are those of before. The forecast onset \(t_r\) is a key of the scene.

The true onset is \(t_r + \mathcal N(0, \sigma_r)\) on the 10-minute steps of the series, but no earlier than \(T_{LB} + N_{max} \cdot 228\) s (scenarios_hay.rain_floor). The margin of 228 s for each bale is the time that \(T_{LB}\) leaves out and that every plan spends on a bale. It is the wrap and the eject at rest (28 s), plus a pick-up and a place at the values of the estimate below (110 s and 90 s). Before 12 November 2026 the true onset of 2 test scenes was 600 s, before their \(T_{LB}\). No solver was able to pass them.

The rule changes 5 scenes of the family rain of the test banks and no scene of another family. At each decision (Hay.scene_step) the rain falls on the bales outside the shed (items.rain). The moisture of the windrow of each field follows the field-curing model of section 3.1. A bale is spoiled when it is baled wetter than 0.20 kg/kg or when rain falls on it outside the shed (items.spoiled).

3.1 The Moisture of the Hay#

The moisture \(M\) of the hay is in kg of water for each kg of dry matter (the dry basis). The wet basis is \(M / (1 + M)\). The work state has one value for the windrows of each field (work.moist, scenes x 4 fields). The pickup gives it to the chamber with each segment that it takes, and a bale has the mean moisture of its hay.

The model is the field-curing model of the farm models DAFOSYM and IFSM (Rotz and others 2022, section Field Curing, equations 6.1 to 6.8), in Fast/acres_batch/curing.py. Its drying rate is the model of Rotz and Chen (1985). That model comes from the field drying of alfalfa between 80 % and 20 % wet basis at East Lansing, Michigan, from 1977 to 1984. The manual uses it for alfalfa and for grass. Its dew and its rain are those of Rotz (1985). One of three laws acts in a step.

Each moves \(M\) to a target at a rate \(k\). A step of any length is exact while the weather of the step is constant:

\[ M(t + \Delta t) = M^* + \bigl(M(t) - M^*\bigr)\, e^{-k\,\Delta t} \]
Law When Target \(M^*\) Rate \(k\) (1/h) Equation of the Manual
Rain The step has rain 4.0 \(150\, r / S_D\), \(r\) the rain in mm/h 6.8
Drying No rain, the sun is up 0 \(D_R\) 6.1, 6.3
Dew No rain, the sun is down \(M_e\) \(4.0 / S_D\) 6.4, 6.5
\[ D_R = \frac{S_I + 5.42\, T_{db}}{66.4\, S_M + S_D\,(2.06 - 0.97\, d)\, 1.55 + 3037}, \qquad M_e = 0.4 + 3.6\, e^{-0.2\, u}\, e^{-2.5\,(1 - h_r)} \]
Symbol Quantity Unit Where It Comes From
\(S_I\) Solar radiation on a level surface W/m² The station's record (acre_station_periods.csv)
\(T_{db}\) Air temperature °C The station's record
\(S_M\) Soil moisture, a share of the dry soil's mass % The station's water content at 5 cm over the dry bulk density of its soil, 1.51 g/cm³ (below)
\(S_D\) Dry matter for each m² of ground that the hay covers g/m² The hay of the field's windrows (3 kg/m to 5 kg/m) over the width of a windrow, 1.2 m: 2,500 g/m² to 4,200 g/m²
\(d\) 1 on the day of the mowing or of a raking, else 0 1: the windrows were raked on the day of the baling
\(h_r\) Relative humidity a fraction The same station, measured (acre_station_humidity.csv)
\(u\) Wind m/s The 10 m wind of the scene's series

The numbers 5.42, 66.4, 2.06, 0.97, 1.55 and 3037 are the coefficients of equation 6.1 with mechanical conditioning and no chemical (the chemical rate \(A_R\) = 0. The factor \(1.55 + 21.9 A_R\) is 1.55 and \(1 + 9.30 A_R\) is 1). The numbers 4.0 g/m² an hour (the dew that hay takes up), 0.4, 3.6, 0.2 and 2.5 are those of equations 6.4 and 6.5. The numbers 4.0 kg/kg (the moisture that hay in the rain goes to) and 150 g/m² for each mm of rain are those of equation 6.8.

The form of the hay is in \(S_D\). Hay of 4 t/ha that is spread over the field has 400 g/m². The same hay raked from 9 m into a windrow of 1.2 m has 3,000 g/m². It dries 2.4 times slower in the same weather (at 600 W/m², 25 °C, a soil of 20 %, after the first day). The windrows of P1 are this dense.

What the weather series lacked. The series of a scene has the rain, the potential evaporation and the wind. The model needs the solar radiation, the air temperature, the soil moisture and the humidity. The first three are in the frozen record of the station (weather.Record.curing reads them for the intervals of the scene's window). The humidity is not in it. The code adds it from the record of the same station for the same intervals (the CS500 probe at 2 m, Data/Weather/acre_humidity_periods.py, as for the wind).

An interval with no value has the value of the interval before it (the humidity: 292 of 10,426 intervals. The soil: 15. The solar radiation: the 15 intervals of the station's gaps, where the frozen record has 0 W/m² with the sun up). The soil moisture is the water content of the station's sensor at 5 cm (m³/m³) over the dry bulk density of the soil. That density is (1 - 0.430) x 2.65 g/cm³ = 1.51 g/cm³. 0.430 is the saturation of the station's soil class in weather_fit.json (Chalmers silty clay loam, Core's value). 2.65 g/cm³ is the usual particle density of a mineral soil (assumed).

The start. A scene starts with hay that is ready for the baler. The windrows of each field start at a moisture drawn from 0.14 kg/kg to 0.19 kg/kg (12 % to 16 % wet basis), as before. The moisture is not computed from a time of cutting, because P1 starts after the raking.

curing.cure gives the moisture from the time since the cutting for a task that has the mowing (it steps the same laws over a weather series on the host). The moisture at the mowing is 4.5 kg/kg in summer and 5.0 kg/kg in spring and autumn. It is 0.03 less for each hour after the sunrise (the manual's values, curing.M_CUT).

The baling rule. A bale whose hay is wetter than 0.20 kg/kg is spoiled (items.SPOIL_MOISTURE, the metric spoiled_wet). 0.20 kg/kg dry basis is 16.7 % wet basis.

The highest moisture at which a bale keeps is 16 % to 18 % wet basis for a large round bale. It is 18 % to 20 % for a small rectangular bale and 12 % to 14 % for a large square bale (Idowu and others 2013, after Rotz and Muck 1994 and Collins 1995). The limit is the design's value, and it is in the published range. It did not change.

What the model does in a scene of P1. With no rain, the hay dries a little in the sun: at most 0.031 kg/kg before the onset in the 64 test scenes (the median 0.014 with one vehicle, 0.012 with several). It never gets wetter, so no bale spoils wet before the rain. From the onset, the hay takes up the rain by the model.

A windrow of 3,300 g/m² at 0.17 kg/kg goes over the limit after 0.17 mm of rain. This is 3 min at 4 mm/h and 21 min at 0.5 mm/h. Over the scenes' densities and start values this is 0.04 mm to 0.44 mm.

Before 13 November 2026 the assumed curve put all the rain's water into a swath of 500 g/m². The first decision of rain made the hay too wet. This does not change \(W\): a bale that forms in the rain is spoiled by the rain on it. In the 64 test scenes with one vehicle and with several, no bale spoils wet, before the change and after it. Each scene of the reference and of the do-nothing solver ends as before (section 7.1).

The checks of the model (Tests/Fast/test_curing.py): the drying rate at values worked by hand from equation 6.1. The three laws against their equations (6 h of sun, a night of 10 h, a rain of 5 mm). A step of 0.5 s 14,400 times gives the moisture of one step of 2 h. The hay takes up no more water than the rain brings (1 mm is 1,000 g/m²), for each density. No host sync in a step.

One check uses the station's weather. The check cuts hay of 4 t/ha at 10:00 on each day of the late summer of 2024 and 2025. Each of these days has no rain in the next four days. Hay spread over the field is at 20 % wet basis after 1 to 4 days (the median 2.1 days). A narrow swath of a third of the cut width needs 0.1 to 1.0 days more. Rotz (1995) gives up to two days more for a narrow swath in the Midwest.

Not checked: no figure and no table of Rotz and Chen (1985) or of Rotz (1985). The two papers were not read (they are not open). The equations and the coefficients are those that the manual of the model's first author prints.

What is read into the manual (each is an assumption of this page):

  • The manual prints equation 6.3 with the exponent 0.868 of equation 6.2 on its bracket. With that exponent the moisture after a time of zero is not the moisture of the start, so it is a printing error. The code has \(M = M_o\, e^{-D_R t}\), as the manual's text says (an equilibrium moisture of zero).
  • This page reads equation 6.5 with the usual order of its operations (the form above).
  • The manual steps a day in five periods with the mean weather of the day and a factor for each period. It steps the night in one step. The code gives each 10-minute step of the series its own weather. The drying rate is linear in the solar radiation and in the temperature. The mean rate of a day is that of the day's mean weather.
  • The sun is up where the solar radiation of the step is above zero. A step with rain has the law of the rain only.
  • The manual draws the humidity and the wind of the night from rules, because its weather file has none. The code uses the station's humidity and the 10 m wind of the series. The manual does not give the height of its wind.
  • The model's data are swaths of mown alfalfa. The windrows of P1 (2,500 g/m² to 4,200 g/m²) are denser than a mown swath. The manual uses the same equation after a raking, but whether the data of 1985 reach this density is not known here.
  • The drying law has an equilibrium moisture of zero. It holds between 80 % and 20 % wet basis. Under 20 % real hay dries slower. In a scene of P1 the law acts for 2 h at most, on hay that is ready.
  • The hay of a windrow segment (kg) is taken as dry matter. Each field has one moisture and one density: the variation of 20 % along a windrow is not in the moisture.

3.2 The Families#

The families. Scene i of a bank is of the family i mod 5:

Family What Changes Forecast \(t_r\) / estimate \(\sigma_r\)
base Gates 4.5 m to 6 m, the first field 40 m to 80 m east of the shed 1.2 to 1.5 0 to 15 min
rain As base 0.9 to 1.15 15 to 60 min
narrow Gates 3.9 m to 4.45 m (the round baler is 3.25 m wide. K3 leaves the Maxxum, 2.6 m wide, 3.25 m at least. The same room on each side gives 3.9 m.) 1.2 to 1.5 0 to 15 min
far The first field 150 m to 220 m east of the shed 1.2 to 1.5 0 to 15 min
breakdown One vehicle breaks down for 10 min to 30 min (the layer's event) 1.4 to 1.7 0 to 15 min

The estimate is a sum of the route lengths at 2.6 m/s, the wraps, the change of K16 and the calls of a trip (for the forecast only). The splits are those of the skill banks: the scene of index i of a split has the seed bank.SPLIT_SEED of the split plus i.

4. The Task Graph#

Nodes Skill and Arguments
For each field f (the baler, in the scene's order) gate (BF_f, in), cover_field (BF_f, to the arc before the gate), gate (BF_f, out), drive (BF_f, to its end). Field f + 1 after field f.
One vehicle change_implement (the baler off, the front loader on) after the last field, then drive (YW) to W0
A trip for each bale t (14 at most) gate (LI_f) → pick_up (LI_f, the bale, back_m) → carry (LO_f, start_m) → gate (LO_f, out) → carry (LO_f, to Q) → place (P, the slot, back_m). The place holds the resource 0 of the procedure (the shed) and has the work weight 1.

The nodes of a trip are hidden until the baler drops its bale. The task's hook events releases the trip of item t when item t of the scene's item table forms. The hook gives the arguments from the bale's pose: its field (the routes LI_f and LO_f), back_m of K7 (back on the bale's axis to 10 m past the middle line) and start_m of K8 (the arc of LO_f where the turn onto the middle line ends). The slot of a place is the solver's argument at the dispatch (the next valid slot). Each node has one retry, then stop_and_ask.

Three skills got an argument for P1. Each has the default of the behaviour of before, and the banks do not change:

  • K7 back_m: after the engage the reference backs on the bale's axis (the way back to the field route). 0: the success at the engage.
  • K8 start_m: the arc at which the call starts when it puts the row on a new route (the layer's rule of K5).
  • K9 back_m: after the withdrawal the reference backs on to this far behind the place pose, out of the shed. 0: the success at the end of the withdrawal.

K16 now unhitches a trailer: the trailer's body stays on the stand of the scene. The row's trailer state takes the hitch of the new implement. The K16 bank has no trailer. K16 does not hitch a trailer.

5. The Solvers#

All solvers are of level L2: they give the nodes and the arguments, and the reference skills drive (skills/library.Library).

Solver Rule
do_nothing It dispatches no node.
reference The list scheduler of P1 (scenarios_hay.Scheduler, rule reach). A trip runs on one vehicle. A free vehicle takes the next node of its trip, else a node that is no trip (the baler's chain, the change, the drive to W0), else a new trip. With several vehicles, no new trip starts while the baler drives home (each rule of the scheduler: the baler's way to the yard passes the junction where the loader's way to the fields turns onto the lane). A new trip is a bale whose way from the middle line is clear. Between the middle line and the bale, no windrow segment is still laid and no other bale is within 3 m of its axis. (Thus no wheel runs over hay, and no bale is in the way.) Among these, the scheduler takes the field nearest the shed, then the bale nearest the middle line, then the first formed. A place takes the free slot of the lowest index whose needs are full.
fifo As the reference, but a new trip is the first bale formed, with no rule of the way and no rule of the field.
oracle The solvability check's solver with full knowledge of the weather (scenarios_hay.CPSAT with truth, Hay.ORACLES). It is the cpsat schedule with the scene's true onset of the rain. The forecast onset less one \(\sigma_r\) is not used. It is not a baseline of the leaderboard (it reads the scene's privileged onset). Its runs: Results/Benchmarks/p1_oracle_a1.json and p1_oracle_a2.json (python -m acres_bench.p1.run oracle).
cpsat The classical baseline of the design for the order of the trips (scenarios_hay.CPSAT). Every 20 decisions (one host copy, as P4's VRPTW solver) a CP-SAT model of OR-Tools orders the bales that lie in the fields of each scene. The model has one interval for each trip on the one machine that hauls. The duration of an interval comes from the scene (the lanes at 4 m/s, a fixed 120 s, the bale's offset from the middle line there and back at 0.45 m/s). The objective is the most trips done before the forecast onset less one \(\sigma_r\) (the chance constraint), then the least sum of the ends. A deterministic time limit (0.05). Between two polls the scheduler takes the first trip of the plan whose way is clear, with the rules of the reference.

6. Metrics and Verifier#

\(W = N_{dry} / N_{max}\). \(N_{dry}\) is the count of bales stored in a slot and not spoiled. \(N_{max} = \lfloor M_w / m_b \rfloor\), with \(M_w\) the hay of the windrows and \(m_b\) = 450 kg. The success: \(W \ge 0.9\), no safety event, no deadlock failure, no rule of the verifier broken. The lower bound \(T_{LB}\): with one vehicle the baling, the change and the hauls one after the other, \(\sum_w L_w / v_{bale} + t_{change} + N_{max}\, t_{trip}\).

With several, \(\max(\sum_w L_w / v_{bale}, N_{max} t_{trip} / n_{load})\). \(v_{bale}\) = 2.2 m/s, \(t_{trip}\) the shortest round trip on the lanes (the shed to a gate at 4 m/s empty and back at 3 m/s).

The verifier (verify_procedure.grade with the task's grade) takes the bales from the final summary: their state, slot, moisture and rain. It also gives the formed, stored and spoiled bales (wet, rained on) and the hay loss share \(1 - m_b N_{dry} / M_w\). It gives the run-over share (the hay lost under a wheel over the hay of the windrows), the true onset of the rain and whether it came in the episode.

7. Results#

The checks (p1_validity_a1.json, p1_validity_a2.json) are of commit 23175aa, 13 November 2026, with the moisture of the hay by the field-curing model (section 3.1). The reference ran on an NVIDIA L40S of oats5 that other work used, the do-nothing solver on zuzu. Each scene of both solvers ends as in the files of before (commit acafa5a with the gate's speed of this section). The success, end, \(W\), makespan, bales formed, stored and spoiled are the same in 64 of 64 scenes with each vehicle count. The scenes are those of before but for the weather window (their arrays, their rain and their start moisture are equal in 128 of 128). The moisture does not act on the motion.

The baselines (p1_baselines_a1.json, p1_baselines_a2.json) are of commit acafa5a and were not run again.

All runs have these settings:

  • 13 November 2026, an NVIDIA L40S (the scenes' exact clock, and the changes of 13 November 2026 below).
  • The test split, 64 scenes (13 of each family, 12 of breakdown).
  • The settings of the fast simulator of acres_batch/defaults.py (the vehicle's follower, the vehicle's gearbox, the bodies of the rows, sync-free, the kernel of the agent rows). The sensor holds are of the drive environment. The skill environment has none.
  • The observation privileged, the default tractor core (the Maxxum fitted to Core's).

The checks ran on oats5 (L40S, shared), the baselines on zuzu (RTX 5060 Ti, 16 GB). Each result file names its tractor (tractor) and its machines (machines). The files are Results/Benchmarks/p1_validity_a1.json and p1_validity_a2.json (the checks), p1_baselines_a1.json and p1_baselines_a2.json (the baselines), and p1_speed.json (the speed, measured before 12 November 2026). Each file of the checks also holds the same reference with the assumed tractor (reference_assumed). Section 10 gives the command of each file.

The fitted tractor (13 November 2026). On the commit before these changes the reference passed 13 and 12 of 64 with the fitted tractor (59 and 54 with the assumed one). Two causes, both found in the trace of each call (its time in each state of the reference, its refusals, its speeds), and neither a time limit:

  • The drive to the shed after K16 timed out (7 of 64 scenes, one vehicle). The fitted Maxxum ends the change 0.2 m to 0.45 m short of the dock pose (within the tolerance). K16 put the unhitched baler's body at the scene's pose behind the dock pose. That much nearer to the tractor than the baler stood. The checker refused every chunk of the drive. Now the body stays where the baler stands (K16, the trailer's pose of the change). The drive then takes 62 s, as with the assumed tractor.
  • K7 stood for its whole time limit (900 s, twice). The loader came onto the field's strip at the gates' 3 m/s off its line (the fitted steering lags 0.57 s). Then K7's approach on the route (the reference drive to the turn's start) circled round its stop or crept off the route. In 16 test scenes with two vehicles: 7 of 31 calls at 3 m/s, none at 2.0 m/s or 1.5 m/s. Now the loader drives in a field at 2.0 m/s (scenarios_hay.FIELD_MPS, section 3). A pick-up then takes 92 s to 180 s with either tractor.

The time limits of the calls were not the cause. They do not change (scenarios_hay._graph, _trip_nodes):

Call Time Limit
K7 900 s
K8, from the bale to the gate 600 s
K8, to Q Its arc at 1 m/s + 300 s
K9 600 s
K3 Its arc at 1 m/s + 300 s
K1 Its length at 1 m/s + 60 s
K16 The change (600 s) + 300 s
K5 Twice the route at the work speed + 60 s a bale + 300 s

Each is several times the time of a call that does not stand still.

The gate's speed (13 November 2026). The vehicles drive the stub to a gate and the gate at 2.0 m/s (scenarios_hay.GATE_MPS, 3 m/s before). At 3 m/s the fitted Maxxum's baler came to its first gate off the route: 0.20 m on the median, 1.33 m at most. Its footprint touched the fence in one scene of each version (37 with one vehicle, 45 with several).

At 2.0 m/s no scene ends with a touch of a fence. The reference passes 57 and 54 of 64 (57 and 53 at 3 m/s). At 3 m/s with one vehicle, scene 37 passes and scene 55 ends with rain on a bale. At 3 m/s with several, scenes 34, 44 and 45 pass and scenes 14 and 41 end with rain on a bale.

At 1.2 m/s it passes 50 and 47: the scenes of the family narrow end by their time. A slower drive costs time, and the time decides the scenes with rain.

7.1 The Checks#

Check One Vehicle Several (Baler and Loader)
do_nothing passes 0 of 64 0 of 64
reference passes (Wilson 95 %), the fitted tractor 57 of 64 (0.79 to 0.95) 54 of 64 (0.74 to 0.91)
reference passes, the assumed tractor (commit a04b1f5, the gates at 3 m/s, not run again) 59 of 64 56 of 64
The log of each solver repeats (a second run of each scene) 64 of 64, both solvers 64 of 64, both solvers
The verifier agrees with the environment 64 of 64, both solvers 64 of 64, both solvers
Rules of the verifier broken (reference) 0 0
reference: \(W\), \(Q\), \(T_{ms}\), \(T_{LB}\) (means) 0.927, 0.331, 3905 s, 1353 s 0.923, 0.198, 3254 s, 711 s
reference: the idle share, deadlocks per 100 episodes, \(R_{safe}\) per 100 episodes 0.111, 0, 0 0.437, 0, 1.6
reference: the ends complete 57, incomplete 4, time 3 complete 54, time 7, incomplete 2, safety 1
The wall time of 64 scenes (do_nothing, reference, four runs on two GPUs) 1611 s, 1462 s 1642 s, 1393 s

The two checks of the layer pass with one vehicle and with several. The scenes that reference fails with the fitted tractor:

  • Rain on a bale (16 of the 17 failures). In each of them rain fell on one bale or more outside the shed. With one vehicle these are scenes 6, 26, 36 (rain), 24, 44, 54 (breakdown) and 55 (base). With several, scenes 21, 41, 46, 51, 56, 61 (rain), 4, 14 (breakdown) and 50 (base). No true onset comes before \(T_{LB} + N_{max} \cdot 228\) s (section 3). The reference's makespan is 2.9 (one vehicle) and 4.6 (several) times \(T_{LB}\) on the mean. These scenes are possible by the bound. No solver of this page passes them (Results/Benchmarks/solvability.json). In the breakdown scenes the breakdown takes the time. Whether a call that cannot start again after a breakdown in K7 or K9 (failure:start, section 9, scenes 44, and 29 and 34 at 3 m/s) is part of it in this run is not analysed again.
  • Safety (several: 29, breakdown, 1.6 per 100 episodes). A contact of the two vehicles' bodies. Each vehicle sees the other as the Polaris's plan box (section 9). At 3 m/s the contact was in scene 44 (the loader's bale on the round baler's body on the lane, where the baler stood broken down). The scene of this run is not analysed again.
  • No touch of a gate's fence (at 3 m/s: scene 37 with one vehicle, scene 45 with several).

The idle share of the loader is large with several vehicles (0.44): it waits until the baler leaves a field (section 9).

The reference by family (the fitted tractor. \(T_{ms}\) and \(T_{LB}\): means of the family. "rain on a bale": the share of scenes in which rain fell on a bale outside the shed):

Vehicles Family Passes (Wilson 95 %) W Q T_ms T_LB Rain on a Bale Ends
1 base 12 of 13 (0.67 to 0.99) 0.981 0.360 3526 s 1284 s 0.08 complete 12, incomplete 1
1 rain 10 of 13 (0.50 to 0.92) 0.814 0.305 3158 s 1200 s 0.23 complete 10, time 2, incomplete 1
1 narrow 13 of 13 (0.77 to 1.00) 1.000 0.356 3899 s 1378 s 0.00 complete 13
1 far 13 of 13 (0.77 to 1.00) 1.000 0.405 3929 s 1584 s 0.00 complete 13
1 breakdown 9 of 12 (0.47 to 0.91) 0.833 0.220 5105 s 1318 s 0.25 complete 9, incomplete 2, time 1
1 all 57 of 64 (0.79 to 0.95) 0.927 0.331 3905 s 1353 s 0.11 complete 57, incomplete 4, time 3
2 base 12 of 13 (0.67 to 0.99) 0.949 0.192 2612 s 529 s 0.08 complete 12, time 1
2 rain 7 of 13 (0.29 to 0.77) 0.760 0.157 2738 s 590 s 0.46 complete 7, time 5, incomplete 1
2 narrow 13 of 13 (0.77 to 1.00) 1.000 0.205 2869 s 596 s 0.00 complete 13
2 far 13 of 13 (0.77 to 1.00) 1.000 0.292 3951 s 1155 s 0.00 complete 13
2 breakdown 9 of 12 (0.47 to 0.91) 0.902 0.138 4171 s 683 s 0.17 complete 9, incomplete 1, time 1, safety 1
2 all 54 of 64 (0.74 to 0.91) 0.923 0.198 3254 s 711 s 0.14 complete 54, time 7, incomplete 2, safety 1

\(Q = T_{LB} / T_{ms}\) is low (0.33 and 0.20). \(T_{LB}\) has no turn, no gate, no door, no wait of the worker and no wait for the baler. The loader of the reference does not enter a field that the baler works.

7.2 The Baselines#

The same 64 scenes of each version (p1_baselines_a1.json, p1_baselines_a2.json, the fitted tractor, the verifier grades each log, agrees with the environment in each scene of each solver, and finds no rule broken):

Vehicles Solver Passes (Wilson 95 %) W Q T_ms Idle Share Rain on a Bale Ends
1 reference 57 of 64 (0.79 to 0.95) 0.927 0.331 3905 s 0.111 0.11 complete 57, incomplete 4, time 3
1 cpsat 57 of 64 (0.79 to 0.95) 0.927 0.331 3903 s 0.110 0.11 complete 57, incomplete 4, time 3
1 fifo 52 of 64 (0.70 to 0.89) 0.877 0.311 4052 s 0.145 0.17 complete 52, time 7, incomplete 5
2 reference 54 of 64 (0.74 to 0.91) 0.923 0.198 3254 s 0.437 0.14 complete 54, time 7, incomplete 2, safety 1
2 cpsat 54 of 64 (0.74 to 0.91) 0.923 0.198 3250 s 0.437 0.14 complete 54, time 7, incomplete 2, safety 1
2 fifo 31 of 64 (0.37 to 0.60) 0.575 0.138 3160 s 0.572 0.27 complete 31, incomplete 20, time 10, safety 3

By family (passes):

Vehicles Solver base rain narrow far breakdown
1 cpsat 12 of 13 10 of 13 13 of 13 13 of 13 9 of 12
1 fifo 12 of 13 10 of 13 11 of 13 12 of 13 7 of 12
2 cpsat 12 of 13 7 of 13 13 of 13 13 of 13 9 of 12
2 fifo 5 of 13 4 of 13 9 of 13 11 of 13 2 of 12
  • The CP-SAT order adds nothing to the reference. It passes the same scenes with each version. The makespan differs in 21 and 22 of 64 scenes by at most 56 s (one vehicle) and 92 s (several). The cause: with one loader the trips run one after the other. A trip's time does not depend on the trips before it, and every trip can start now. The most trips before a deadline then come from the shortest trips first. The reference's order (the field nearest to the shed, then the bale nearest to the middle line) is already about the shortest first. The graph fixes the field order, so the rain and the one loader leave no other choice.
  • fifo shows what the rules of the reference are for. With one vehicle (all bales lie on the ground before the haul) it loses 5 scenes more. The loader drives across the field to the bale formed first and takes more time. With several it passes 31 of 64. It sends the loader into the field that the baler works: 3 contacts (4.7 per 100 episodes), 10 time-outs and 20 incomplete. Before 12 November 2026, in 12 of its logs, a K3 call that the environment ended as a success failed its grade. The next node of that chain then started (a rule of the verifier broken). The grade was right. In each, the footprint touched the fence where the loader met the baler at the gate, 1.2 m to 3.1 m off the route (no intrusion). Now the environment ends such a call as a failure (Skill.passes, reason verdict, Skills). The chain then asks (the call cannot start again past the fence), and the episode is incomplete: no rule is broken.
  • The wall time of 64 scenes (four runs on two GPUs): cpsat 1549 s and 1448 s, fifo 1659 s and 1702 s (one vehicle, several).

7.3 The Speed#

The speed of benchmarks.md 7.5 (p1_speed.json): 2,048 scenes of two vehicles (4,096 rows), the reference solver, the fitted tractor, 200 decisions after 20 for the warm-up. Commit dfd3194, 13 Nov 2026, an NVIDIA L40S that ran nothing else.

Measure Value Target (7.5)
Agent-decisions/s, one chunk for each row 11,300 50,000 (missed: about 4 times less)
Agent-decisions/s, the reference skills and their candidates 9,100 5,000 (met)
The time of a decision: the layer, the skills, the step 10 ms, 86 ms, 354 ms
Host syncs a decision 0 0
Peak memory 5.9 GB

The cost of the hay's moisture (p1_curing_cost.json: zuzu, an RTX 5060 Ti that ran nothing else, 2,048 scenes of two vehicles). The task's part of a decision takes 0.20 ms with the model and 0.11 ms with the assumed curve of before. (This part is Hay.scene_step: the rain on the bales and the moisture of the windrows of 4 fields a scene, 2,000 calls, synchronised.) A decision takes 810.9 ms before and after (the layer 14.4 ms, the skills 187.6 ms, the step 608.85 ms before and 608.95 ms after): 6,572 and 6,571 agent-decisions/s with one chunk. No host sync, the same peak memory (5.91 GB). The state is one moisture and one density for each field of a scene. No array has the size of the windrow's segments.

The step is 79 % of a decision. It runs 10 physics steps, and at each the work of the baler on its windrows (work.py), the items (the bales, the door, the worker), their contact test and the agent rows. The refill task of the layer (no field, no items) gives 153,200 agent-decisions/s with one chunk on the same GPU (procedure.md). The speed of P1 is thus that of its physical state, not of the layer (3 % of the step). The file of before (12 Nov, a GPU that other work used at 99 %) gave 5,090 and 4,330.

8. Assumed Values#

No value below has a measurement. Each is in one place in the code.

Value Where
The speed limit with a load, 3.0 m/s skills/env.py LOAD_MPS
The wrap (20 s) and the eject (8 s) of the round baler, its axle 2.6 m behind the drawbar pin implements/round_baler.json (assumed in the file)
The round baler's outer size, 4.80 m x 3.25 m (a dealer listing of the RB565, not the maker's sheet). The front of its body 1.6 m ahead of its axle, its pickup 0.3 m behind that front. The bale's roll of 1.0 m off the tailgate. vehicle.py ROUND_BALER_LENGTH_M, ROUND_BALER_WIDTH_M, ROUND_BALER_FRONT_M. skills/work.py round_bale_params, ROLL_M
The door 10 s, the worker 1.2 m/s, the worker's check 20 s to 40 s items.py DOOR_S, WALK_MPS. scenarios_hay.py CHECK_S
The moisture of the windrows at the start, 0.14 kg/kg to 0.19 kg/kg (ready for the baler) scenarios_hay.py MOIST
The width of a raked windrow, 1.2 m (that of the bale chamber). The hay of a segment is dry matter scenarios_hay.py WINDROW_W_M
The windrows were raked on the day of the baling (the model's first-day term) scenarios_hay.py RAKED_TODAY (the practice in the model's manual)
The particle density of the soil, 2.65 g/cm³ (the soil moisture of the drying rate) weather.py PARTICLE_G_CM3
The readings of the manual's equations, the model at the density of a windrow and under 20 % wet basis, the wind's height Section 3.1 (the list at its end)
Any rain on a bale outside the shed spoils it items.py SPOIL_RAIN_MM
The rain from its onset, 0.5 mm/h to 4 mm/h, constant scenarios_hay.py RAIN_MM_H
Every parameter of the Maxxum, the loader and the baler vehicle.py (engineering estimates, refit by the tractor in Core changes no task code)
The change of the implement, 10 min skills/change_implement.py CHANGE_S (the design's value)

9. Limits#

  • The farm is procedural. The fields, lanes, gates and the shed are not those of the map (section 2). The map rule of the design is not met.
  • One loader. The several-vehicle version has one baler and one loader. Two loaders share one door and the line before it, and they need a queue there (not built).
  • One vehicle: one order. The single vehicle bales all fields, changes once and hauls all. K16 does not hitch the baler again. The plan "bale a field, haul it, bale the next" of the design is not open to a solver.
  • Each vehicle sees the other as the Polaris's plan box (agents.peers and the kernel of agent rows: 3.92 m x 1.6 m at the rear axle), not as its body. The Maxxum is 4.4 m x 2.6 m, and the loader reaches 5.4 m ahead of the rear axle. The round baler's trailer is 5 m more behind. Thus a vehicle's checker does not keep the other's loader or trailer clear. The contact test of the body sees them: these are the contacts of section 7.1. The fix is a body for each peer in the agent kernel (its frame box and its trailer's boxes), not built here. It changes the things of every task with several vehicles.
  • The loader enters a field only when the baler has left it (the reference's rule). Else the two vehicles met in the funnel to the gate and stood face to face (a deadlock). The rule costs time: the first field's bales wait until the baler goes to the next field. The baseline fifo has no such rule.
  • The rain. Any rain on a bale outside the shed spoils it (assumed). A windrow in the rain goes over the baling limit after 0.04 mm to 0.44 mm of rain (section 3.1: under 1 min to 53 min at the scenes' rain rates). The episode ends 10 min after the onset. After the onset the procedure can only store bales that are spoiled.
  • The windrow's moisture follows a published model (section 3.1), with no measurement at ACRE. The model is not checked against a figure or a table of its papers of 1985 (not read). The moisture at the start of a scene is drawn, not computed from a time of cutting. The moisture does not decide a scene. The hay is ready at the start and only dries before the rain. The graph fixes the order of the fields. The design's choice "bale the dry fields first or wait" needs fields that start too wet and a solver that orders the fields (not built).
  • The round baler has its own body and cycle since 12 November 2026 (the values of implements/round_baler.json, which Core reads too, the outer size from a dealer listing). The skill banks of K3 and K5 do not have it: they test the body of the square baler. Thus P1 uses the gate skill with a wider trailer than its bank tests.
  • The bale is the round baler file's (1.56 m x 1.5 m) since 15 November 2026. Before that date the bale was 1.2 m x 1.2 m, because the larger bale did not fit the spear of the first loader (load point 4.15 m). The loader of 15 November has its load point at 4.677 m. The bale that the game draws on the fork is 1.2 m x 1.2 m at this time.
  • No fuel, no compaction, no ruts. The Maxxum has no fuel model, and the skill environment has no ground surrogate (\(F\) is none).
  • The abstract mode has no physical state. The task's events (the bales that the baler drops) do not run in it, so the task releases no trip. P1 has no abstract test.
  • The speed of a decision is far below the target of 7.5 for one candidate (section 7).
  • The CP-SAT baseline orders only the trips, on the host every 20 decisions, and gives the reference's result (section 7.2). It does not plan the field order, the slots or the reservations of the lanes of the design.
  • The pick-up needs room. The bales of the K7 bank are 20 m to 26 m from the field route. The middle strip is 20 m to 23 m wide (section 3). A nearer bale is not in the skill's tested range.
  • A breakdown in the middle of a call (fixed on 19 Nov 2026). A breakdown ends the running call, and the node starts again after the repair with the same arguments. Before, four calls of the test banks did not start again (failure:start). They were a carry (K8) that stood at its end (scene 44, one vehicle) and a pick-up (K7) with the bale on the spear (scene 34, several). Also a place (K9) after the release (scenes 29 and 59, several). Now K1 and K8 start when their end condition holds (and end at once). K7 starts with the bale on the row's spear and goes on with the way back. The task gives the rest of the way back from where the loader stands. K9 starts with the bale in its slot: the task keeps that slot, and the reference withdraws when the door is open. The gate's job of P1 is the test.
  • Assumed values (section 8).

10. How to Run#

The commands that make each result file of P1 (from Sim, the tractor: the default, core):

export ACRES_RUNTIME_BUILD=<ACRES>/Vehicle/Runtime/Build
python -m acres_bench.p1.run validity --agents 1 --n 64       # Results/Benchmarks/p1_validity_a1.json
python -m acres_bench.p1.run validity --agents 2 --n 64       # Results/Benchmarks/p1_validity_a2.json
# or each solver in a process of its own (as for the files of section 7), then the record of the check:
python -m acres_bench.p1.run part --agents 1 --solver do_nothing --out A.json
python -m acres_bench.p1.run part --agents 1 --solver reference --out B.json
python -m acres_bench.p1.run combine --agents 1 --n 64 --parts A.json B.json   # p1_validity_a1.json
python -m acres_bench.p1.run baselines --agents 1 --n 64   # Results/Benchmarks/p1_baselines_a1.json
python -m acres_bench.p1.run baselines --agents 2 --n 64   # Results/Benchmarks/p1_baselines_a2.json
python -m acres_bench.p1.run speed --E 2048                # Results/Benchmarks/p1_speed.json
python -m acres_bench.skills.verdict --n 64                # Results/Benchmarks/skill_verdict_validity.json
python -m pytest Tests/Fast/test_p1.py -q -m "unit or integration"
python -m pytest Tests/Fast/test_curing.py -q -m "unit or integration"   # the moisture of the hay (section 3.1)
python -m pytest Tests/Fast/test_skill_verdict.py -q -m "unit or integration"   # (the GPU part is slow: 13 min)

The assumed tractor's line of p1_validity_a*.json (reference_assumed): the part line of the reference with ACRES_TRACTOR=assumed.

11. References#

  • Idowu, J., Grover, K., Marsalis, M., and Lauriault, L. (2013). Reducing Harvest and Post-Harvest Losses of Alfalfa and Other Hay. Circular 668, New Mexico State University Cooperative Extension Service.
  • Rotz, C. A. (1985). Economics of chemically conditioned alfalfa on Michigan dairy farms. Transactions of the ASAE, 28(4), 1024-1030. (Not read: as the manual of 2022 gives it.)
  • Rotz, C. A. (1995). Maintaining and enhancing forage quality during harvest and storage. Advances in Dairy Technology, 7 (Western Canadian Dairy Seminar), 147.
  • Rotz, C. A., and Chen, Y. (1985). Alfalfa drying model for the field environment. Transactions of the ASAE, 28(5), 1686-1691. (Not read: as the manual of 2022 gives it.)
  • Rotz, C. A., Corson, M. S., Chianese, D. S., Montes, F., Hafner, S. D., Bonifacio, H. F., and Coiner, C. U. (2022). The Integrated Farm System Model: Reference Manual, Version 4.7. Pasture Systems and Watershed Management Research Unit, USDA Agricultural Research Service. Chapter Crop Harvest Information, section Field Curing.
  • Rotz, C. A., and Muck, R. E. (1994). Changes in forage quality during harvest and storage. In Forage Quality, Evaluation, and Utilization, American Society of Agronomy, 828-868. (As Idowu and others 2013 give it.)