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

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

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-739-6721f597b1febe25181379bb3e6a99b1f85dd4e0
DEFAULT BRANCH: main
Ran 02 Jul 2026 06:47PM 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 06:43PM UTC coverage: 79.864% (+0.6%) from 79.286%
#2274

Pull #712

github

khatchad
Compute the tensor-op check only where it can affect a decision

`computeTensorComputation` was run for every tensor-parameter candidate, but
`check()` consults the result only for eager candidates (barren blocks
hybridization) and hybrid candidates with no primitive parameter (barren
de-hybridizes). A hybrid function with a primitive parameter de-hybridizes on
the literal regardless, so computing the tensor op there—an IR and call-graph
traversal—is wasted. Gate on the cases that can decide, still overridable by
`alwaysCheckTensorComputation`. The gate is deliberately narrower than the
recursion check's, whose result is consulted for every tensor-parameter
candidate.

Refs #709.

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

122 of 130 new or added lines in 5 files covered. (93.85%)

11 existing lines in 1 file now uncovered.

1757 of 2200 relevant lines covered (79.86%)

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.32
-0.06% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
2
70.65
0.24% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/refactorings/HybridizeFunctionRefactoringProcessor.java

Coverage Regressions

Lines Coverage ∆ File
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 #2274.1 02 Jul 2026 06:47PM UTC 32
79.86
Source Files on build #2274
  • Tree
  • List 32
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
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