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

ponder-lab / Hybridize-Functions-Refactoring / #2488
83%

Build:
DEFAULT BRANCH: main
Ran 13 Jul 2026 03:18AM UTC
Jobs 1
Files 33
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

13 Jul 2026 03:09AM UTC coverage: 81.853% (+0.02%) from 81.832%
#2488

push

github

web-flow
Exclude numpy-call results from tensor-computation detection (#774) (#775)

The benefit precondition (#709/#712) declines a function that performs no
tensor computation. `Util.performsTensorFlowOp` detected a tensor computation
in part by any instruction that defines a tensor-typed value. Because a numpy
array is tensor-convertible, the tensor-type analysis types the result of a
numpy call (`np.array`, `np.zeros`) as a tensor, so a pure-numpy body was
misreported as computing and hybridized despite containing no TensorFlow op.

Criterion (a) now excludes a tensor-typed def whose producing instruction is a
numpy invoke (a `Lnumpy/` callee), detected by the callee's points-to type,
mirroring the modeled-op check in `invokesTensorFlowOp`. Genuine TensorFlow
ops, tensor operators, and layer calls are unaffected. Other tensor-convertible
libraries (e.g. scipy) would be handled analogously, but numpy is the only one
the tensor-type analysis models.

Surfaces on Ariadne 0.52.26, which types the numpy-array parameters of four
`deep_recommenders` Cora data-prep methods, admitting them to the benefit
precondition where the false-positive let them hybridize. Adds
`testNumpyBodyTensorComputationFP`, a distilled repro: a numpy-array-fed
parameter with a pure-numpy body is declined `NO_TENSOR_COMPUTATION`, while a
`tf.reduce_sum` control still computes.


Claude-Session: https://claude.ai/code/session_01He1ULx8nRoHzGicMryry1A

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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

2138 of 2612 relevant lines covered (81.85%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #2488.1 13 Jul 2026 03:18AM UTC 33
81.85
Source Files on build #2488
  • Tree
  • List 33
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 38b05062 on github
  • Prev Build on gh-readonly-queue/main/pr-771-3834702d125ca8aaee8a0709943280949fa28ec9
  • Next Build on main
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