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

JuliaStats / Distances.jl / 210
95%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2017 08:45AM UTC
Jobs 4
Files 7
Run time 13min
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
210

push

travis-ci

KristofferC
Tests for correct Pre/Semi/Metric subtyping (#68)

* test_dists.jl: Fixes errors that could arise in the unlikely event that all values in p are < 0.3.

* Introduce tests to make sure that claims of PreMetric, SemiMetric and Metric-ness for the distance measures are justified.

* Improved and more widespread fix to problem of fixed 0.3 threshold for setting p to 0.

* Tidying test code to standard julia style used in rest of package of using .0 at end of floating point and not just .

* Force exact computation of tests, which now results in test failures.

* Individual columns of P matrix can still be zero, so fix to remove elements per column.

* Removing duplicated tests for equality with zero now we have PreMetric tests.

* Improve documentation by describing argument types of distance measures.

* Removing floating point rounding errors (sum(p) != 1) in RenyiDivergence causing v small negative divergences. RenyiDivergence now internally normalises arguments.

* Add in some extra checks for RenyiDivergence, and remove one which no longer applies post-normalisation.

* CosineDist and CorrDist can both have small rounding errors - corrected for now by increasing error tolerance.

* Add length match check for Bhattacharyya and Mahalanobis distances, especially since Bhattacharyya guarantees this using @inbounds.

* Add in metric-ness tests for Jaccard, SpanNormDist and RogersTanimoto.

* Update benchmarks to include Renyi divergences, and pass them probability distributions.

* Update benchmark processor information.

* Add in new DimensionMismatch checks to confirm implementation.

* Fix indentation problems.

* typo

* More indentation fixes - mostly to make @testsets indent.

* Remove a final equal-to-zero test.

* Fixed indent.

* There are more rounding errors resulting in dxz ≤ dxy + dyz failing because dxz ≈ dxy + dyz but on the wrong side of the equality. For the time being, we just need to accept this.

* Fix README.md argument explanation.

* Indent.

* Add in Renyi divergence docs.

* Add in new DimensionMismatch checks to confirm implementation.

* Fix indentation problems.

* typo

* More indentation fixes - mostly to make @testsets indent.

* Remove a final equal-to-zero test.

* Fixed indent.

* There are more rounding errors resulting in dxz ≤ dxy + dyz failing because dxz ≈ dxy + dyz but on the wrong side of the equality. For the time being, we just need to accept this.

* Fix README.md argument explanation.

* Indent.

* Add in Renyi divergence docs.

* Fix benchmarks.

521 of 542 relevant lines covered (96.13%)

4399.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 210.1 12 Apr 2017 08:50AM UTC 0
95.2
Travis Job 210.1
2 210.2 12 Apr 2017 08:45AM UTC 0
95.16
Travis Job 210.2
3 210.3 12 Apr 2017 08:59AM UTC 0
95.2
Travis Job 210.3
4 210.4 12 Apr 2017 08:52AM UTC 0
95.16
Travis Job 210.4
Source Files on build 210
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #210
  • ac2fe106 on github
  • Prev Build on master (#188)
  • Next Build on master (#225)
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