Skip to content

feat: JAX CPU policy hang matrix, research authority and board panel (PyAutoNerves#213) - #5

Merged
Jammy2211 merged 5 commits into
mainfrom
feature/jax-version-policy
Nov 11, 2026
Merged

Jammy2211 merged 5 commits into
mainfrom
feature/jax-version-policy

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

DNA now owns the JAX CPU policy (human decision 2026-11-10) and records the XLA:CPU hang grid from PyAutoLabs/PyAutoNerves#213 as its own research evidence.

  • New validation authority PyAutoDNA (research). These records appear on the board and can block a promotion, but they never satisfy one: only PyAutoHeart evidence can. A newer research failure blocks a stack that Heart has passed.
  • dna import-matrix <rows.jsonl>. Grid rows become one inventory, stack and validation record per (environment, jax version, XLA flags). Grid inventories describe throwaway test interpreters, so they never count as observations of an environment.
  • Public XLA options. An allowlist of option names, with simple values only (no paths or hosts). The environments table now shows each environment's XLA options.
  • "JAX CPU policy: hang matrix" panel. Shows a verdict per jax version and flag combination for each environment. There is also a yellow state item when an observed environment runs a combination that hung. Only the hang-relevant options (eigen and scheduler) count when matching.
  • Decision decisions/jax-cpu-policy-2026-11.md (supersedes the overdue jax-2026-10-04). It recommends jax>=0.12.0,<0.13 and jaxlib>=0.12.0,<0.13 after a Heart validation, and no default XLA flag (the eigen flag costs 18–50 % on pixelized likelihoods on 0.12).
  • inventories/public.json now carries the laptop pilot and RAL 415009 records, with all public fields allowlisted.

Scripts Changed

  • dna/matrix.py (new), dna/schema.py, dna/campaigns.py, dna/inventory.py, dna/board.py, dna/cli.py
  • tests/test_dna.py, tests/test_board.py — 7 new tests (25 in total)
  • decisions/jax-cpu-policy-2026-11.md (new), inventories/public.json

Test Plan

  • python -m unittest discover -s tests — 25 OK
  • Board rendered from the public file alone (as CI will): the panel shows the RAL and laptop rows with their XLA options, and the headline reads "1 on a hanging JAX CPU setup"
  • Public file checked for paths, hostnames, user names and evidence references: none

Heart was RED when this task started (development override recorded on PyAutoNerves#213) and was YELLOW at ship; the human acknowledged it on 2026-11-11. Merge via human /prm.

🤖 Generated with Claude Code

Jammy2211 and others added 5 commits November 10, 2026 18:02
…utoNerves#213)

- validation authority PyAutoDNA (research): shown, can block promotion, never satisfies it
- dna import-matrix: run_matrix rows -> inventory/stack/validation records
- public XLA option allowlist; environments table shows XLA options
- JAX CPU policy panel; yellow item when an observed environment runs a hanging setup
- matrix inventories never count as environment observations

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…efaults made names exceed the identity limit)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es#213)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…jaxlib>=0.12.0, no default XLA:CPU flag (PyAutoNerves#213)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ions and library checks (PyAutoNerves#213)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit ad0242f into main Nov 11, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/jax-version-policy branch November 11, 2026 12:13
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