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

Qiskit / coheriq
93%

Build:
DEFAULT BRANCH: main
Repo Added 15 Sep 2026 11:43PM UTC
Token jKKuxHj3knTVtM5QGrtJHIfFoNeKYIoVO regen
Build 138 Last
Files 5
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 main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • decorator-factory-reuse
  • decorator-name-errors
  • docs-reference-implementation-terminology
  • docs-release-notes
  • document-fork-safety
  • domain-name-is-module
  • engine-introspection
  • engine-lock-ordering
  • faq-comparing-implementations
  • feature-list-domains
  • fix-release-workflow
  • garrison-patch-1
  • get-active-impl
  • gh-readonly-queue/main/pr-10-b76e9ac612e1d3788975b57da74118459ece3678
  • gh-readonly-queue/main/pr-11-eb9c534fec06ae2d7bc8993116af55950429049f
  • gh-readonly-queue/main/pr-12-494500368677b4aa652d16f496cad3ea5e3100ae
  • gh-readonly-queue/main/pr-13-197500fb5da27eebf1603b562fd389c36a24323a
  • gh-readonly-queue/main/pr-25-c2dcb9df572820a47ae6302e0802110382ff3abe
  • gh-readonly-queue/main/pr-26-0b7eae1cd8998e31228a39d018655f9e40b535ef
  • gh-readonly-queue/main/pr-27-50fde3184f59865a33ca6c91db9cc327a5ba8bb5
  • gh-readonly-queue/main/pr-28-baa57cdb1f472b3dc9ffb01992306c730fcc7906
  • gh-readonly-queue/main/pr-32-e21e0ba2ef15ed9b6218e5bc724aa925b005f34f
  • gh-readonly-queue/main/pr-33-9f1bc0f3de0a98ea14d232ffa4dd060f2d3dc8a0
  • gh-readonly-queue/main/pr-34-e1c71286fcd706f5ae6cc3e6d08c6287e6e20a90
  • gh-readonly-queue/main/pr-35-e8d71bc122308bd3895f7c444405f8e3b33f52bd
  • gh-readonly-queue/main/pr-36-78ab1f4a5a8f51b483093db60dd4ef7d35a1a7da
  • gh-readonly-queue/main/pr-37-37c50e378c15062061206892826797941a622a99
  • gh-readonly-queue/main/pr-38-b6608f105e47d49f7e2bcc0241eeda980439fa9c
  • gh-readonly-queue/main/pr-42-2637a85d05ba1a8272c89ae4f50ad37d7ad55a8f
  • gh-readonly-queue/main/pr-43-ebff2cf3cdf03c03a48d99d1ec495c17dc17a0e9
  • gh-readonly-queue/main/pr-44-0074877e2bf14f9bff5b9e1307c8d1320cec86e7
  • gh-readonly-queue/main/pr-45-962329bbfde15b9e58ca7b8dc88cd1ad4e7e5cac
  • gh-readonly-queue/main/pr-46-0be005578449dd86963b6191ce358aecccec822b
  • gh-readonly-queue/main/pr-49-28d877d82218d05b15e5725387e843d56ccb43f6
  • gh-readonly-queue/main/pr-50-2bdcc29c93522a46129c545584b0d7e1fbdd300f
  • gh-readonly-queue/main/pr-52-97a9f9f411b6aec7d08423c39d92b179d3d568b5
  • gh-readonly-queue/main/pr-9-8ef72f6b01ddce23ced97781d4165f480d550fe9
  • gitignore-os-detritus
  • initial-ci
  • main
  • one-engine-rationale
  • pin-pytest-below-9.2
  • prepare-0.1.0
  • py-typed
  • python-3.15
  • readme-absolute-links
  • readme-badges
  • readme-improvements
  • reference-as-engine
  • reference-as-engine-docs
  • require-materialized-domain
  • scheduler-activation-framing
  • semver-policy
  • share-domain-resolver
  • spawn-test-isolation
  • stable/0.1
  • test-ragged-on-all-platforms
  • tiered-engine-docs
  • update-agents-architecture

02 Nov 2026 11:30PM UTC coverage: 92.739% (+0.9%) from 91.809%
41546885011

push

github

web-flow
Report the right type, and stay in the CoheriqError hierarchy (#52)

Two pre-existing problems in how `acceleration_candidate` and `override`
resolve a lookup name.

A non-string `name` reported the type of the decorated function rather
than of `name` itself, so `name=123` complained `got function instead`.
The branch is only reachable when `name` is given, since a name derived
from `__name__` is always a string, so `type(f)` was never the right
thing to report there.

Reading `f.__name__` unguarded raised a bare `AttributeError` naming a
dunder.  That escaped the CoheriqError hierarchy, so a caller wrapping
setup in `except CoheriqError` did not catch it.  It affected two
different situations: a caller error such as passing an int, and
legitimate callables that carry no `__name__`, which includes
`functools.partial` objects and instances of classes defining
`__call__`.  Both now raise CoheriqDomainError or CoheriqEngineError and
point at the explicit `name` argument, which has always worked for them.

The new exception is raised `from None`.  The AttributeError only
restates the attribute the message already names, and "During handling
of the above exception" would suggest coheriq hit a bug when the except
branch is in fact the designed path.

The decorator-side validation had no test, which is how the wrong type
survived; `test_nonstring_name` covers the constructor's name instead.

Assisted-by: Claude Opus 5

12 of 12 new or added lines in 2 files covered. (100.0%)

281 of 303 relevant lines covered (92.74%)

0.93 hits per line

Relevant lines Covered
Build:
Build:
303 RELEVANT LINES 281 COVERED LINES
0.93 HITS PER LINE
Source Files on main
  • Tree
  • List 5
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
41546885011 main Report the right type, and stay in the CoheriqError hierarchy (#52) Two pre-existing problems in how `acceleration_candidate` and `override` resolve a lookup name. A non-string `name` reported the type of the decorated function rather than of `n... push 02 Nov 2026 11:38PM UTC web-flow github
92.74
41545944104 gh-readonly-queue/main/pr-52-97a9f9f411b6aec7d08423c39d92b179d3d568b5 Report the right type, and stay in the CoheriqError hierarchy (#52) Two pre-existing problems in how `acceleration_candidate` and `override` resolve a lookup name. A non-string `name` reported the type of the decorated function rather than of `n... push 02 Nov 2026 11:30PM UTC web-flow github
92.74
41515576801 decorator-name-errors Merge 99abe480d into 97a9f9f41 Pull #52 02 Nov 2026 08:03PM UTC web-flow github
92.74
41501053300 py-typed Merge b126ee539 into 97a9f9f41 Pull #47 02 Nov 2026 06:29PM UTC web-flow github
92.26
41498421760 main Resolve each decoration's lookup name independently (#49) `acceleration_candidate` and `override` both did `nonlocal name` and wrote the decorated function's `__name__` into the enclosing scope. When the factory they return is applied more than ... push 02 Nov 2026 06:13PM UTC web-flow github
91.81
41497057046 gh-readonly-queue/main/pr-49-28d877d82218d05b15e5725387e843d56ccb43f6 Resolve each decoration's lookup name independently (#49) `acceleration_candidate` and `override` both did `nonlocal name` and wrote the decorated function's `__name__` into the enclosing scope. When the factory they return is applied more than ... push 02 Nov 2026 06:05PM UTC web-flow github
91.81
41486684171 main Improve the README, user guide, and platform test coverage (#50) * Improve the README, user guide, and platform test coverage The note at the top of the user guide told the reader to call enable_engine before explaining what a domain is or how t... push 02 Nov 2026 04:59PM UTC web-flow github
91.53
41485539770 gh-readonly-queue/main/pr-50-2bdcc29c93522a46129c545584b0d7e1fbdd300f Improve the README, user guide, and platform test coverage (#50) * Improve the README, user guide, and platform test coverage The note at the top of the user guide told the reader to call enable_engine before explaining what a domain is or how t... push 02 Nov 2026 04:51PM UTC web-flow github
91.53
41484248794 readme-improvements Merge 23475fadc into 2bdcc29c9 Pull #50 02 Nov 2026 04:43PM UTC web-flow github
91.53
41463387891 readme-improvements Merge 7e3310f99 into 2bdcc29c9 Pull #50 02 Nov 2026 02:36PM UTC web-flow github
91.53
See All Builds (138)

Badge your Repo: coheriq

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