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

ponder-lab / Hybridize-Functions-Refactoring / #2657
84%
main: 84%

Build:
Build:
LAST BUILD BRANCH: fed0cbf564e64cc505c53a264e244d915a2c46bd
DEFAULT BRANCH: main
Ran 01 Aug 2026 12:13PM UTC
Jobs 1
Files 37
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

01 Aug 2026 12:09PM UTC coverage: 83.512% (+0.04%) from 83.476%
#2657

Pull #831

github

khatchad
Add a symbolic-iteration safety precondition

Iterating a tensor parameter with a Python loop works eagerly, since the elements are tensors, but raises `OperatorNotAllowedInGraphError` under `tf.function` tracing once the parameter is symbolic, even with AutoGraph converting the loop (runtime-verified on TensorFlow 2.9.3). MusicTransformer's `EventSeq.from_array` is the live case: through Ariadne 0.52.36 its barren verdict accidentally shielded the conversion, and 0.52.76's element-typing improvement removed the shield without adding the guard, which the 0.52.76 verification audit surfaced (#830).

`TensorIterationAnalysis` scans each body: parameter value numbers seed a forward def-use taint, and an `EachElementGetInstruction` whose iterated object is tainted and tensor-typed fires `HAS_TENSOR_PARAMETER_ITERATION` (code 20), the sixth safety failure in the family. The tensor-typed gate keeps ordinary collection parameters out, and the parameter-derived anchor keeps AutoGraph-supported in-body `tf.range` loops convertible. `alwaysCheckTensorIteration` mirrors the sibling knobs end-to-end.

`testTensorParameterIterationBlocksHybridization` pins the `from_array` distillation declining and the `tf.range` control converting; the fixture runs to completion eagerly, which is exactly the shape that made the hazard invisible without tracing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GcqABsog1rtb4m2CDZdcRD
Pull Request #831: Add a symbolic-iteration safety precondition

49 of 57 new or added lines in 4 files covered. (85.96%)

36 existing lines in 1 file now uncovered.

2968 of 3554 relevant lines covered (83.51%)

0.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
91.99
-0.21% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
2
93.75
edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/TensorIterationAnalysis.java
2
70.0
-0.16% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/refactorings/HybridizeFunctionRefactoringProcessor.java

Coverage Regressions

Lines Coverage ∆ File
36
91.99
-0.21% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Jobs
ID Job ID Ran Files Coverage
1 #2657.1 01 Aug 2026 12:13PM UTC 37
83.51
Source Files on build #2657
  • Tree
  • List 37
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #831
  • PR Base - 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