Repository navigation
feat: implement Phase 18 fixed-owner fleet optimization - #24
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two current unassigned orders can compete for a rider whose eligibility is constrained by a hard deadline. Sequential greedy assignment can admit only one even though the fleet can serve both. Implement Phase 18 joint batch allocation and editable suffix resequencing while preserving every committed owner, custody fact, acceptance reference and active action.
Dispatch now supports canonical greedy, multi-start construction and best-improvement local search, using the shared whole-plan evaluator. Feasible plans maximize newly admitted count before minimizing remaining road seconds, distance and canonical fleet identity. Neighborhoods insert unplaced requests, relocate editable stops/proposed pairs, and eject/reinsert proposed work. Breached or unevaluable riders remain unchanged; unknown new-order forecasts are explicitly isolated. Complete declared search over the evaluable remainder may publish despite incomplete original input coverage. Budget exhaustion cannot publish an incumbent.
Publication binds exact world/version and clock/routing/traffic/readiness/policy/execution/config context and atomically installs all new assignments, plans and acceptance terms. Simulation schema 3 forms current batches and continues existing active execution before reading the current effective plan. Schemas 1/2 retain prior semantics. Readable/JSON CLI fixtures, API/architecture docs and a complete PASS/FAIL gate report are included. Phase 19 remains deferred.
The three commits group dispatch/independent proof, simulation/scenarios, and documentation/generated benchmark evidence. Generated replay JSON lives under
benchmarks/results/phase-18-replays; the handwritten gate report isdocs/phase-18-completion.md.Validation:
Reproduce the evidence: