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

ponder-lab / Hybridize-Functions-Refactoring / #2269
80%
main: 80%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-739-6721f597b1febe25181379bb3e6a99b1f85dd4e0
DEFAULT BRANCH: main
Ran 02 Jul 2026 01:52AM UTC
Jobs 1
Files 32
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

02 Jul 2026 01:48AM UTC coverage: 79.789% (+0.5%) from 79.286%
#2269

Pull #712

github

khatchad
Recognize TensorFlow ops via import alias when module global points-to is empty

The NO_TENSOR_COMPUTATION detector (#709) resolved a callee's fully-qualified
name by walking its attribute chain back to the TensorFlow module via
points-to. In whole-program analysis the `tf` module global frequently has an
empty points-to set, so every `tf.<op>` call went unresolved and genuine
forward passes (e.g. `OutputLayer.call`, whose body is `tf.matmul`/`tf.reshape`/
`tf.shape`) were misreported as performing no tensor computation and blocked
from hybridizing.

`Util.isTensorFlowModule` now roots the attribute chain at TensorFlow by
points-to or, when the module global's points-to set is unavailable, by the
module import alias on the global read. The fallback is incompleteness-safe:
over-recognizing a tensor op only lets an eager function hybridize (the
pre-signal default). The existing `tensorflow.train.`/`tensorflow.io.`
exclusion still keeps proto and spec builders barren.
`Function.computeTensorComputation` unions over all call-graph nodes rather
than sampling the first.

`testGpt2GetLossVendored` gains a guard that `OutputLayer.call` performs a
tensor computation, reproducing the empty-points-to condition on the vendored
subject; the assertion fails on the pre-fix resolver.

The residual sub-layer-dispatch false positives are tracked in #714, which
blocks #709.

Refs #709.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FuhM8SsTRB6BraLt3Ph7ZC
Pull Request #712: Add a benefit precondition for barren eager functions

81 of 87 new or added lines in 4 files covered. (93.1%)

114 existing lines in 3 files now uncovered.

1741 of 2182 relevant lines covered (79.79%)

0.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
85.42
3.74% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Util.java
2
94.26
-0.11% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java

Coverage Regressions

Lines Coverage ∆ File
57
70.74
0.33% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/refactorings/HybridizeFunctionRefactoringProcessor.java
46
94.26
-0.11% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
11
85.42
3.74% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Util.java
Jobs
ID Job ID Ran Files Coverage
1 #2269.1 02 Jul 2026 01:52AM UTC 32
79.79
Source Files on build #2269
  • Tree
  • List 32
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #712
  • PR Base - main (#)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc