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

ponder-lab / Hybridize-Functions-Refactoring / 25753932090
72%

Build:
DEFAULT BRANCH: main
Ran 12 May 2026 06:27PM UTC
Jobs 1
Files 30
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

12 May 2026 06:19PM UTC coverage: 70.959%. Remained the same
25753932090

push

github

web-flow
Classify `def f(self):` as an instance method. (#475)

Closes #324.

`Function.isMethod()` required `parameters.size() > 1`, so a Python
method whose only parameter is `self` (e.g., `def __init__(self):`)
was classified as not-a-method. Relax to `>= 1`: a function whose
first parameter is named `self` is an instance method regardless of
arity. Top-level functions don't take a `self` parameter in real
code, so the false-positive surface is essentially zero.

Adds regression test `testSelfOnlyMethod` exercising
`def f(self): return tf.constant(1)`. Test fails on the prior
behavior and passes after the fix.

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

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

1102 of 1553 relevant lines covered (70.96%)

0.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25753932090.1 12 May 2026 06:27PM UTC 30
70.96
GitHub Action Run
Source Files on build 25753932090
  • Tree
  • List 30
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25753932090
  • bf298f06 on github
  • Prev Build on gh-readonly-queue/main/pr-473-9a25765a3fffd7ef19993b3c5c6b31222e2a4d90 (#25747540363)
  • 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