• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DrudgeCAS / gristmill
91%
master: 92%

Build:
Build:
LAST BUILD BRANCH: ci/release-0.9.0
DEFAULT BRANCH: master
Repo Added 21 Sep 2025 02:43AM UTC
Token yDDaOeF8QgHBZuI9i9AC3wTFx8dHd0JPn regen
Build 94 Last
Files 4
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/deterministic-optimization
branch: fix/deterministic-optimization
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/deterministic-optimization
  • ci/release-0.9.0
  • ci/release-please
  • ci/release-please-setup
  • ci/ruff
  • copilot/add-cprinter-unit-tests
  • copilot/sub-pr-16
  • copilot/sub-pr-9
  • copilot/update-git-submodules
  • copilot/update-git-submodules-again
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/astral-sh/setup-uv-7
  • dependabot/submodules/deps/fbitset-3a54534
  • dependabot/submodules/deps/fbitset-bf87654
  • dependabot/submodules/deps/libparenth-b1e240e
  • dependabot/uv/dependencies-1ab08fcbb0
  • dependabot/uv/dependencies-1d49c30b6a
  • dependabot/uv/dependencies-890d39c709
  • dependabot/uv/dependencies-b6b76a6067
  • dependabot/uv/filelock-3.20.3
  • dependabot/uv/idna-3.15
  • dependabot/uv/pygments-2.20.0
  • dependabot/uv/pytest-9.0.3
  • dependabot/uv/requests-2.33.0
  • dependabot/uv/tornado-6.5.7
  • dependabot/uv/urllib3-2.7.0
  • deps/bump-cpp-submodules
  • deps/refresh-drudge-lock
  • fix/deterministic-dimension-chunks
  • fix/index-free-product-crash
  • fix/order-independent-constriction
  • fix/scikit-build-core-config-keys
  • fix/verify-external-symbols
  • master
  • scikit
  • test/restore-ccsd-energy-assertion
  • tmp/check-effective-t-on-linux

15 Aug 2026 04:57PM UTC coverage: 91.244% (-0.005%) from 91.249%
31896956605

Pull #39

github

chenpeizhi
refactor: Take the dimensions of a factor without scanning them all

Addressing review feedback.

Determinism was reached by looping over every dimension of the product and
keeping the ones the factor involves.  That is O(all dimensions) per
factor, where the original was O(symbols in the factor).  Collect the
dimensions the factor does involve and sort those instead.

The order is the same either way.  `dumm2dim` is filled in category then
index order, so walking it yields exactly the ascending `(cat, index)`
order that sorting produces.  The evaluation sequences come out
byte-identical, and the result is still the same across eight hash seeds.

No measurable speed difference on a twelve-matrix chain, 0.194 against
0.195 seconds, since this loop is a small part of the work.  The change is
worth having for the complexity rather than for a number.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #39: fix: Stop unordered iteration deciding the optimization result

3 of 3 new or added lines in 1 file covered. (100.0%)

1782 of 1953 relevant lines covered (91.24%)

0.91 hits per line

Relevant lines Covered
Build:
Build:
1953 RELEVANT LINES 1782 COVERED LINES
0.91 HITS PER LINE
Source Files on fix/deterministic-optimization
  • Tree
  • List 4
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
31896956605 fix/deterministic-optimization refactor: Take the dimensions of a factor without scanning them all Addressing review feedback. Determinism was reached by looping over every dimension of the product and keeping the ones the factor involves. That is O(all dimensions) per facto... Pull #39 15 Aug 2026 05:00PM UTC chenpeizhi github
91.24
31896635431 fix/deterministic-optimization fix: Restore the hash-seed part of the determinism fix The previous commit only carried the sort of the libparenth memoir. The change to `_optimize_prod`, which stops the dimension-to-factor map being built in the order a set iterates, was lost ... Pull #39 15 Aug 2026 04:53PM UTC chenpeizhi github
91.25
31896575864 fix/deterministic-optimization fix: Stop unordered iteration deciding the optimization result Two containers with unspecified iteration order were feeding the result. `_optimize_prod` built its dimension-to-factor map by looping over `factor.atoms(Symbol)`, a set. That order... push 15 Aug 2026 04:52PM UTC chenpeizhi github
91.25
See All Builds (94)

Badge your Repo: gristmill

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc