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

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

Build:
Build:
LAST BUILD BRANCH: feature/588-union-dtype-injection
DEFAULT BRANCH: main
Ran 11 Jun 2026 12:17AM UTC
Jobs 1
Files 31
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

11 Jun 2026 12:14AM UTC coverage: 79.886% (+0.9%) from 78.97%
#1897

Pull #608

travis-pro

khatchad
Overwrite a disagreeing `input_signature` (RECONFIGURE modify path)

When a hybrid `@tf.function` already supplies an `input_signature`, compare it
against the inferred one under the per-parameter, per-axis partial order on the
tensor-type lattice (wildcard/unknown-rank/`UNKNOWN`-dtype is the top, concrete
values are more specific, distinct concretes are incomparable) and respond per
relation:

- supplied strictly tighter than inferred → overwrite with the inferred one
  (informational: it broadens an over-tight signature to admit observed inputs);
- supplied strictly broader → preserve (informational: the broader contract may
  be intentional and invisible to the analysis);
- incomparable → overwrite (warning: it changes the inputs accepted at runtime);
- agreement → no-op.

- Add `PreconditionSuccess.P5` for the overwrite path. `check()` selects
  `RECONFIGURE`+`P5` for the overwrite relations, preserves for the broader
  relation, and no-ops on agreement, gated on the `inferInputSignatures` flag
  (default off), side-effect-free, non-recursive, and an emittable inferred
  signature — so the default precondition matrix is unchanged.
- Extend `reconfigure()` from insertion to in-place replacement of the existing
  `input_signature` value, whose AST node is retained during parameter parsing.
- Add `InputSignature.Relation` + `relate()` for the lattice comparison,
  unit-tested directly, plus an integration fixture per relation.

Closes #596

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #608: Overwrite a disagreeing `input_signature` (RECONFIGURE modify path)

100 of 103 new or added lines in 3 files covered. (97.09%)

1537 of 1924 relevant lines covered (79.89%)

0.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.1
-2.9% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/InputSignature.java
1
91.83
0.3% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Jobs
ID Job ID Ran Files Coverage
1 #1897.1 11 Jun 2026 12:17AM UTC 31
79.89
Source Files on build #1897
  • Tree
  • List 31
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #608
  • 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