Repository navigation
Conversation
- munkres 2.x and 3.x are a rewrite with a native kernel and a pure python fallback; each of the three solvers breaks a tie between equally good assignments differently, so the same lists could give different fn, fd and tp per item by platform - uv.lock already pins 1.1.4, so ci tested a different solver than a fresh install of 1.1.0 got (3.0.0) - 1.1.4 gives identical assignments on linux arm64, linux amd64 and macos for the warehouse notebook frames that differed
Security Scan ResultsASH Security Scan Report
Scan Metadata
SummaryScanner ResultsThe table below shows findings by scanner, with status based on severity thresholds and dependencies:
Report generated by Automated Security Helper (ASH) at 2026-12-05T02:44:11+00:00 |
This branch has not been deployed
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.
tl;dr for humans
The same two lists could give different per-item counts depending on which munkres build was installed. munkres 2.x and 3.x are a rewrite, and each build breaks ties between equally good assignments differently. This caps munkres below 2, so users get the same solver CI tests (1.1.4, already in
uv.lock). Totals and scores of untied lists don't change.for agents
HungarianMatcher.match(src/stickler/algorithms/hungarian.py) returns whichever optimummunkres.Munkres().computepicks. Each build picks differently:non_matchesand anything sliced from them.pyproject.toml:munkres>=1.1.4,<2.uv.lock: the matchingrequires-distspecifier. The locked version stays 1.1.4, anduv lock --checkpasses.[Unreleased]Fixed entry with an upgrade note.fix(deps): cap munkres below 2. It's a fix: it corrects results that depended on the install. No public API changes.near_vehicle_missunder thestrictschema have bit-identical similarity matrices on every platform, and two assignments tie at 48.667 and 49.667. With munkres 1.1.4, the chosen pairs are identical onpython:3.12-slimarm64,python:3.12-slimamd64 and macOS arm64. With 3.0.0, the native wheels (amd64 and macOS) pick one optimum, and the arm64 fallback picks another.uv pip compile pyproject.tomlin a clean amd64 container resolvesmunkres==1.1.4.devwith munkres 3.0.0 forced (amd64 container) gives 7463 passed, 19 skipped and 1 xfailed. No test pins tie-breaking, which is why CI didn't catch this.