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

ponder-lab / Hybridize-Functions-Refactoring / #1272
71%
main: 72%

Build:
Build:
LAST BUILD BRANCH: test/precision-audit-batch-14
DEFAULT BRANCH: main
Ran 12 May 2026 05:42PM 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 05:39PM UTC coverage: 70.959%. Remained the same
#1272

Pull #475

travis-pro

khatchad
Classify `def f(self):` as an instance method.

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>
Pull Request #475: Classify `def f(self):` as an instance method (closes #324)

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 #1272.1 12 May 2026 05:42PM UTC 30
70.96
Source Files on build #1272
  • Tree
  • List 30
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #475
  • 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