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

dgilland / pydash / 28823963307 / 1
100%
develop: 100%

Build:
DEFAULT BRANCH: develop
Ran 06 Jul 2026 09:20PM UTC
Files 14
Run time 2s
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

06 Jul 2026 09:18PM UTC coverage: 100.0%. Remained the same
28823963307.1

push

github

web-flow
fix: floor/ceil/round_ used as iteratees pass index as precision (#248)

pydash.floor, pydash.ceil, and pydash.round_ each accept an optional
`precision` argument.  helpers.getargcount() counts all positional
parameters, so it returns 2 for these functions.  When callit() then
invokes them with (element, index, collection) it passes the collection
index as `precision`, producing wrong grouping keys.

For example:
    count_by([6.1, 4.2, 6.3], floor)
returned {6.0: 1, 4.2: 1, 6.3: 1} instead of {6.0: 2, 4.0: 1}
because floor(4.2, 1) == 4.2 and floor(6.3, 2) == 6.3.

Setting _argcount = 1 on all three functions signals callit() to supply
only the element value, matching the intent of using them as iteratees.

Co-authored-by: Derrick Gilland <dgilland@gmail.com>

2552 of 2552 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 3.11 - 28823963307.1
  • Tree
  • List 14
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28823963307
  • 68d3047a on github
  • Prev Job for on develop (#28823820586.5)
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