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

blag / humanhash / 17

Build:
DEFAULT BRANCH: master
Ran 11 May 2017 03:10AM UTC
Jobs 5
Files 1
Run time 34s
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

pending completion
17

push

travis-ci

blag
Revised Compression Method (#2)

* compress may return less than target bytes

Instead of throwing an error or zero-padding, "compress" now returns the
input bytes if there are less than or equal to "target" number of them.
I think this is logical since the goal of compress is to reduce the
complexity of the digest before making it human consumable. In this case
the complexity is already low enough to proceed.

* Revised compression method

Excess bytes are now distributed amongst the compressed bytes, instead
of being dumped into the final bit as they were before.

* Compression method comments

* Updated tests

Set new correct test outputs for revised compression method. Editted comments to be within line limit.

45 of 46 relevant lines covered (97.83%)

4.78 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
humanhash.py
Jobs
ID Job ID Ran Files Coverage
1 17.1 11 May 2017 03:10AM UTC 0
86.96
Travis Job 17.1
2 17.2 11 May 2017 03:10AM UTC 0
97.83
Travis Job 17.2
3 17.3 11 May 2017 03:10AM UTC 0
97.83
Travis Job 17.3
4 17.4 11 May 2017 03:10AM UTC 0
97.83
Travis Job 17.4
5 17.5 11 May 2017 03:10AM UTC 0
97.83
Travis Job 17.5
Source Files on build 17
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #17
  • 14381457 on github
  • Prev Build on master (#13)
  • Next Build on master (#18)
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

© 2025 Coveralls, Inc