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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/setup-python-7
DEFAULT BRANCH: main
Ran 17 Jul 2026 04:30PM 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 04:26PM UTC coverage: 82.493% (+0.4%) from 82.085%
#2552

push

github

web-flow
Reduce sequence containers to nested input-signature entries (#792)

* 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,... (continued)

128 of 138 new or added lines in 5 files covered. (92.75%)

2323 of 2816 relevant lines covered (82.49%)

0.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
93.36
-0.28% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
5
87.94
0.83% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Parameter.java
Jobs
ID Job ID Ran Files Coverage
1 #2552.1 17 Jul 2026 04:30PM UTC 33
82.49
Source Files on build #2552
  • Tree
  • List 33
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dedaf074 on github
  • Prev Build on gh-readonly-queue/main/pr-789-643f04937f9c7074448d2512056637b65141d92c
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