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

ponder-lab / Hybridize-Functions-Refactoring / #3870
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: ariadne-snapshot
DEFAULT BRANCH: main
Ran 27 Oct 2026 09:12AM UTC
Jobs 1
Files 51
Run time 1min
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

27 Oct 2026 08:59AM UTC coverage: 89.449% (-0.002%) from 89.451%
#3870

push

github

web-flow
Refuse a function combining an element of a NumPy argument with another dtype (#1176)

* Refuse a function combining an element of a NumPy argument with another dtype

A call site passing a parameter a NumPy array, and a body comparing or combining a subscripted element of it with a tensor of another dtype, now fails with HAS_NUMPY_ELEMENT_DTYPE_COERCIONS (#1111). Eagerly the element is a NumPy scalar the operation converts; traced, the array is a tensor of its own dtype, and the operation raises. Whether the argument is an array is the engine's NumPy origin on the value the call site passes; the subscript's consumers are read as the #861 coercion check reads a parameter's, against the parameter's own dtype.

Unpacking, the issue's second case, is pinned as converting with a FIXME: a destructuring read is not yet told from an attribute read (wala/ML#1117).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTnpjPjJj2aZy1ZkUD1eAn

* Read the element's own dtype, built against the engine snapshot

The divergence is now decided against the subscripted element's own tensor typing, not the parameter's: that a subscript keeps its tensor's dtype is the engine's fact, which the snapshot provides (ponder-lab/ML#1076). An untyped element decides nothing. The target points at 0.52.111-SNAPSHOT.

The unpacking pin's FIXME now names the iteration check (#830) as where the refusal will come from once wala/ML#1117 lands, and pins that check's answer today.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTnpjPjJj2aZy1ZkUD1eAn

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

72 of 82 new or added lines in 4 files covered. (87.8%)

5816 of 6502 relevant lines covered (89.45%)

0.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
92.98
-0.06% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
2
89.89
-0.65% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/EagerCoercionAnalysis.java
Jobs
ID Job ID Ran Files Coverage
1 #3870.1 27 Oct 2026 09:12AM UTC 51
89.45
Source Files on build #3870
  • Tree
  • List 51
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2b7bcfb7 on github
  • Prev Build on gh-readonly-queue/main/pr-1183-a8794964a2139c21ce10359808bf0403be932a9f
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