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

ponder-lab / Hybridize-Functions-Refactoring / 27298743008
79%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2026 06:56PM 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

10 Jun 2026 06:52PM UTC coverage: 77.99% (+0.08%) from 77.909%
27298743008

push

github

web-flow
Recognize `tf.Tensor` subtypes in the type-hint check (#599)

* Recognize `tf.Tensor` subtypes in the type-hint check

`Parameter.hasTensorTypeHint` matched only the exact `tf.Tensor` FQN, so a
parameter annotated with a tensor-equivalent subtype (`tf.RaggedTensor`,
`tf.SparseTensor`, `tf.Variable`, `tf.IndexedSlices`) was not classified as
tensor-typed via the Phase 1 type-hint path. Recognize those subtype FQNs via a
`TF_TENSOR_TYPE_HINT_FQNS` set. The `*Spec` descriptors (`TensorSpec`,
`RaggedTensorSpec`, …) are deliberately excluded — they describe tensors but are
not tensors.

Add positive tests for the three subtypes plus a negative test pinning that
`tf.RaggedTensorSpec` is not classified.

Closes #434

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* Extract named constants for the tensor-subtype FQNs

Replace the inline subtype FQN string literals in `TF_TENSOR_TYPE_HINT_FQNS`
with named constants (`TF_RAGGED_TENSOR_FQN`, `TF_SPARSE_TENSOR_FQN`,
`TF_VARIABLE_FQN`, `TF_INDEXED_SLICES_FQN`), each documented like the existing
`TF_TENSOR_FQN`. Pure refactor; behavior unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

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

1389 of 1781 relevant lines covered (77.99%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27298743008.1 10 Jun 2026 06:56PM UTC 31
77.99
GitHub Action Run
Source Files on build 27298743008
  • 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 #27298743008
  • 239e010a on github
  • Prev Build on gh-readonly-queue/main/pr-594-cf7865941f45bf842d545b3acb75edd952795db6
  • 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