Skip to content

fix: harden scientific units, provenance, and BL19B2 resume - #7

Merged
D-sudoasd merged 1 commit into
mainfrom
feat/workbench-followup-local-wip
Aug 26, 2026
Merged

fix: harden scientific units, provenance, and BL19B2 resume#7
D-sudoasd merged 1 commit into
mainfrom
feat/workbench-followup-local-wip

Conversation

@D-sudoasd

Copy link
Copy Markdown
Owner

Summary

Local workbench follow-up WIP rescued from codex/fix-workbench-audit after PR #6 (0c03f93) already squash-merged that branch.

The committed trees of cac6efc (fix: close PR review gaps) and 15dac5a (fix: harden workbench units and usability) were already identical to origin/main, so those two extra commits were not cherry-picked. Only the uncommitted +3008/−432 working tree was replayed onto a new branch from origin/main.

What this PR changes

  • Uncertainty / subtraction: overflow-safe squaring; undefined high-q residual diagnostics return None instead of dummy pass; fluorescence sequential combine rejects infinities and shape mismatch.
  • CalibrationContext: ordered list/tuple provenance only; required SHA-256 sequence entries; canonicalized optional hashes.
  • Intensity / I/O: stricter absolute-unit column detection; semicolon + decimal-comma 1-D profiles; canSAS I/Idev unit-record validation; writer array/uncertainty guards.
  • BL19B2: output-collision checks, package-root path resolution, 1-D reintegration contracts and processing-signature digests.
  • Workbench: session-payload validation, theme availability, T2/T3 queue/mode contracts, safer session restore.

Tests

python -m pytest -q with Python 3.12: 1109 passed in 58.94s.

Notes

  • Does not merge to main.
  • Does not force-push main.
  • Branch is feat/workbench-followup-local-wip from origin/main (0c03f93).

Rescue local workbench follow-up WIP after the PR #6 squash-merge.
Guard uncertainty overflow, keep undefined high-q diagnostics as None,
validate CalibrationContext provenance sequences, parse semicolon/decimal-comma
and canSAS unit records more strictly, and pin BL19B2 output collisions plus
reintegration contracts. Workbench session restore, theme, and queue contracts
follow the same scientific gates.
@D-sudoasd
D-sudoasd merged commit 02ca653 into main Aug 26, 2026
13 checks passed
@D-sudoasd
D-sudoasd deleted the feat/workbench-followup-local-wip branch August 26, 2026 00:11
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