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

ponder-lab / Hybridize-Functions-Refactoring / #2544
82%
main: 83%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/setup-python-7
DEFAULT BRANCH: main
Ran 17 Jul 2026 02:50PM 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

17 Jul 2026 02:45PM UTC coverage: 81.96% (-0.1%) from 82.085%
#2544

Pull #792

github

khatchad
Reduce sequence containers to nested input-signature entries

A parameter receiving a Python list or tuple of tensors previously blocked
input-signature inference wholesale (`TENSOR_CONTAINER_UNSUPPORTED`): Phase 3
classified it as a tensor container while `getTensorContainers` discarded the
element types the analysis holds (`pair.snd`). TensorFlow accepts and enforces a
nested signature for exactly this shape (verified on 2.9.3: a list of specs
inside the outer list; a bare tensor against it raises `TypeError`, a length
mismatch raises `ValueError`, and retracing across distinct singleton-list calls
collapses to one trace), so the elements are now surfaced and reduced.

`InputSignature` models a parameter's contribution as a sealed `SpecEntry`:
`Single` (one `TensorType`, the pre-existing shape) or `Sequence` (per-element
types, rendering as a nested spec list). Rendering, required-name collection,
and `relate()` dispatch over both; a flat entry against a nested one is
incomparable in either direction, since the two admit disjoint call structures,
and two sequences of different arity likewise (no wildcard arity exists).
`ofSingles` keeps the flat construction path (a constructor overload is
impossible: `List<TensorType>` and `List<SpecEntry>` erase identically), and
`singleTypes()` is the flat projection consumers that predate nesting use. The
supplied-signature parser still produces flat signatures only, so a nested
inferred signature against a developer-written flat one reconfigures via the
incomparable path.

`Parameter` now caches container element evidence per analysis (container
instance key to field name to element types) instead of the bare key set, and
`extractContainerElements` surfaces a parameter's per-position element types
when the form is modeled: every reaching value a list or tuple known to the
analysis, catalogs a contiguous constant run 0..n-1, arities agreeing, every
position evidenced. Disagreeing arities set their own signal; an... (continued)
Pull Request #792: Reduce sequence containers to nested input-signature entries

114 of 138 new or added lines in 5 files covered. (82.61%)

1 existing line in 1 file now uncovered.

2308 of 2816 relevant lines covered (81.96%)

0.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
92.29
-1.34% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
7
87.23
0.12% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Parameter.java
1
97.14
-0.15% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/InputSignature.java

Coverage Regressions

Lines Coverage ∆ File
1
92.29
-1.34% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Jobs
ID Job ID Ran Files Coverage
1 #2544.1 17 Jul 2026 02:50PM UTC 33
81.96
Source Files on build #2544
  • Tree
  • List 33
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #792
  • 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