Skip to content

Fix hosted CI Python collection and macOS/Linux hash parity - #1

Merged
JaidenAGrimminck merged 2 commits into
mainfrom
fix/ci-python-parity
Sep 2, 2026
Merged

Fix hosted CI Python collection and macOS/Linux hash parity#1
JaidenAGrimminck merged 2 commits into
mainfrom
fix/ci-python-parity

Conversation

@JaidenAGrimminck

Copy link
Copy Markdown
Member

Summary

  • Python unit jobs install ./python[test] without Stable-Baselines3; skip collecting test_integration.py in that environment and keep the VecEnv seed check behind importorskip.
  • Finite numbers that enter identity hashes now round to 12 decimal places so independently resolved IGVC worlds produce the same resolvedHash / simulationSemanticHash / episodeHash on linux-x64 and darwin-arm64.
  • Regenerated the characterization fixture hashes only (snapshots unchanged) because the action tape includes Math.PI.

Test plan

  • python -m pytest -m 'not integration' python/tests in a venv without stable_baselines3 (30 passed, 1 skipped, integration file not collected)
  • Focused hash/world/lidar/run-manifest tests
  • npm test (636 passed, 2 skipped)
  • npm run lint / npm run lint:python
  • GitHub Actions CI on this PR (Python unit + macOS/Linux semantic parity)

Made with Cursor

JaidenAGrimminck and others added 2 commits September 2, 2026 14:10
Unit jobs install the Python package without Stable-Baselines3, so skip SB3-only collection there. Round hashed finite numbers to 12 decimals so independently resolved IGVC worlds keep the same identity hashes across CPU libm implementations.

Co-authored-by: Cursor <cursoragent@cursor.com>
Twelve-decimal rounding left Mercator cancellation in macOS/Linux hashes and broke Python rfc8785 checks. Quantize hashed numbers to six decimals, round resolvedHash inputs without changing canonical JSON, and install Node in the Python unit matrix.

Co-authored-by: Cursor <cursoragent@cursor.com>
@JaidenAGrimminck
JaidenAGrimminck merged commit 38e1b64 into main Sep 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant