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

ponder-lab / Hybridize-Functions-Refactoring / #3857
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: ariadne-snapshot
DEFAULT BRANCH: main
Ran 27 Oct 2026 08:37AM UTC
Jobs 1
Files 51
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

27 Oct 2026 08:24AM UTC coverage: 89.482% (-0.02%) from 89.497%
#3857

push

github

web-flow
Refuse a function that reshapes with a shape that may be a scalar (#1177)

* Build against the engine snapshot carrying ponder-lab/ML#1091

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTnpjPjJj2aZy1ZkUD1eAn

* Refuse a function that reshapes with a shape that may be a scalar

Eagerly, `tf.reshape(t, -1)` works, but graph shape inference requires a
rank-1 shape operand, so the converted function raises on its first trace
(#1170). The new RESHAPES_WITH_SCALAR_SHAPE precondition refuses the
conversion when a reachable call to `tf.reshape`, as the engine names it,
has a shape operand the engine reports may be rank 0. An operand of
unknown rank still converts.

The check walks the call graph the way the eager-only-call check does,
through a walk moved out of `EagerOnlyCallAnalysis` into
`Util.reachesInstruction`, which both now share.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTnpjPjJj2aZy1ZkUD1eAn

* Give each unknown-rank reshape witness its own cause

A computed int waits on wala/ML#1149 and `len` on wala/ML#1104. A
starred argument is of unknown rank by design, so it carries no TODO.
Also rewrap two comments that broke mid-sentence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTnpjPjJj2aZy1ZkUD1eAn

* Refuse a reshape by the result of `len`

With wala/ML#1104 on the engine snapshot, `ShapeOperandRank` reads an
int of unknown value as rank 0, so the shape operand of
`tf.reshape(x, len(xs))` may be rank 0 and the function is refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTnpjPjJj2aZy1ZkUD1eAn

* Point the computed-int reshape TODO at its HFR issue

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTnpjPjJj2aZy1ZkUD1eAn

* Refuse a reshape by a comp... (continued)

42 of 46 new or added lines in 6 files covered. (91.3%)

5768 of 6446 relevant lines covered (89.48%)

0.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.13
-0.13% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Jobs
ID Job ID Ran Files Coverage
1 #3857.1 27 Oct 2026 08:37AM UTC 51
89.48
Source Files on build #3857
  • Tree
  • List 51
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a8794964 on github
  • Prev Build on gh-readonly-queue/main/pr-1179-6f95a3bf59a5dfe7b8296fd22cbd4bbf23492958
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