Skip to content

Future work and next steps ​

grABM has one application-independent contract around Scenario, Simulation, and results. Keep new behavior explicit, measured, and documented before extending it.

Current foundation ​

Execution uses an independent congestion window; observation resolution changes only reporting. Boundary fixtures cover interrupted movement, stale arrivals, reservations, and horizon accounting. Decision records distinguish staying from unmet demand. The demo's inspector shows effective profiles, intended schedules, recorded trips, and reasons.

Batch experiments support independent browser/Node runs and seed summaries. Stored datasets support backend preparation and bounded window retention during replay. These capabilities do not distribute one engine run or make execution out-of-core.

Model validation ​

Empirical validation remains incomplete. External hosts can prepare regional data and compare results, but the engine does not provide a calibrated regional default. Exact synthetic tests can establish that rules were implemented consistently; they cannot establish realistic human behavior. Future validation should identify observable targets, distinguish measured inputs from assumptions and fitted parameters, and reserve held-out evidence. Raw trips, travel time, occupancy, and unmet activities should remain visible.

The opening-hours policy remains departure-time availability. A different arrival or whole-visit policy would change model behavior and needs explicit acceptance criteria. Departure-time congestion, stable capacity ordering, and free-flow agenda feasibility remain approximations. Demographic labels never imply hidden behavioral rules.

Performance evidence ​

Measure construction, execution, analysis, dataset preparation, transport, first frame, seek latency, and disposal separately. Record hardware, runtime, population, network, trip counts, seed, reporting resolution, resource sizes, and sampled memory. Start with 1,000 and 10,000 agents; larger workloads are opt-in. Do not enforce machine-specific timing thresholds in ordinary correctness tests.

The first dataset format uses independently compressed JSON and explicit size limits. Large individual inputs/scenes/detail records can exceed those limits; backend execution and analysis still retain a complete run. Potential improvements include paged static scenes, compact columns, off-main-thread browser decoding, incremental output, and out-of-core analysis. Adopt them only after profiling demonstrates the bottleneck.

Later modeling extensions ​

Potential directions include dynamic rerouting, richer accessibility restrictions, transit crowding, more flexible household tour chaining, multiple-day state, and resumable execution. Scheduled transfers, household shared journeys, optional vehicle tour continuity and conservative school escorts are already supported; see travel policies for their assumptions and limits. Each needs a concrete use case, a small expected-outcome fixture, deterministic and cancellation semantics, and a performance budget. Avoid restoring a strategy framework or compatibility layer without a demonstrated consumer need.

The external application continues to own source conversion, UI, authentication, job admission, durable storage policy, and hosting. Publishing, migration of PreFORM, and a long-term API stability policy remain separate work.

Documentation for the grABM library.