Skip to content

ci: one test.yml on molcrafts-ci 3cc26f4 - #14

Merged
Roy-Kid merged 4 commits into
MolCrafts:devfrom
Roy-Kid:dev
Nov 16, 2026
Merged

Roy-Kid merged 4 commits into
MolCrafts:devfrom
Roy-Kid:dev

Conversation

@Roy-Kid

@Roy-Kid Roy-Kid commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Aligns molnex with the normalized MolCrafts CI scheme.

  • ci: fold lint.yml and docs.yml into test.yml: shared context.yml call, pytest matrix, pre-commit hooks, ty, strict docs build, test / workflows policy check, and the single required test / result. Every molcrafts-ci reference is pinned to 3cc26f4ff1b8b6d09365d677c4a05cc8cbb70a76.
  • chore: ignore .DS_Store.
  • test: two numeric asserts compared bits where only rounding is defined (pinv solve at 2043 eV; padded-buffer backward scatter order). They failed on macOS arm64; the leak/regression gates still bite at ~1e-2.

Test plan

  • check_workflows.py at 3cc26f4 passes locally
  • full pytest fast tier passes locally (macOS arm64, torch 2.15 CPU)
  • test / result green on this PR

One required workflow per the normalized MolCrafts CI scheme: test.yml
calls the shared context workflow, runs pytest, the pre-commit hooks, ty,
the strict docs build and the workflow policy check, and ends in
`test / result`. Every molcrafts-ci reference is pinned to
3cc26f4ff1b8b6d09365d677c4a05cc8cbb70a76.
…bits

LeastSquaresDress recovers -2043.8 eV through a pinv solve; abs=1e-12 is
about one ulp there and macOS Accelerate lands three ulp away. The MACE
dead-edge check keeps bit-equal energy; its forces differ by ~1e-17 when
the backward scatter runs over the padded buffer in another order, while
a leaking dead edge would move them by ~1e-2.
ty 0.0.100+ split missing-union-attribute, lost-keyword-for-regular-parameter
and invalid-implicit-return out of rules pyproject.toml already downgrades or
ty ignored, and made them errors, so `ty check` failed on an unchanged tree
under ty 0.0.104. They stay printed as warnings.
@Roy-Kid
Roy-Kid merged commit 7ffd6e4 into MolCrafts:dev Nov 16, 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