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

ponder-lab / Hybridize-Functions-Refactoring / 26981614816
78%

Build:
DEFAULT BRANCH: main
Ran 04 Jun 2026 09:51PM 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

04 Jun 2026 09:42PM UTC coverage: 77.538% (+1.1%) from 76.422%
26981614816

push

github

web-flow
Auto-inject `TensorSpec` and dtype constants for signature emission (#574) (#589)

When `convertToHybrid` finds no TensorFlow import, it auto-injects one and
proceeds. Previously it injected a bare `from tensorflow import function`,
leaving `TensorSpec` and the dtype constants out of scope, so input-signature
emission was skipped.

Extend the auto-inject to bring the signature's required symbols into scope:
`from tensorflow import function, TensorSpec, <dtypes>`. Track the injected name
set per file (replacing the `Set<File>` guard with a `Map<File, Set<String>>`),
so a later function in the same file emits when its dtypes are covered and is
safely skipped by the #585 gate otherwise, never a `NameError`-raising
decorator. A file-level union pre-pass to cover divergent dtypes across
functions in one file is left as a follow-up.

Also fix the emission-test helper to apply edits highest-offset-first, so an
injected import (low offset) does not shift the unapplied decorator edit's
anchor; in production LTK coordinates offsets in one change tree.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

15 of 15 new or added lines in 1 file covered. (100.0%)

1329 of 1714 relevant lines covered (77.54%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26981614816.1 04 Jun 2026 09:51PM UTC 31
77.54
GitHub Action Run
Source Files on build 26981614816
  • Tree
  • List 31
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26981614816
  • 9d334cb6 on github
  • Prev Build on gh-readonly-queue/main/pr-587-8b58ba491a0979e6c7c0b4069b90fe74a1f6e081
  • Next Build on 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