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

JuliaStats / Distances.jl / 210 / 3
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2017 08:59AM UTC
Files 7
Run time 1s
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 Apr 2017 08:42AM UTC coverage: 95.203% (+0.03%) from 95.176%
210.3

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.

516 of 542 relevant lines covered (95.2%)

1789.56 hits per line

Source Files on job 210.3
  • Tree
  • List 0
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 210
  • Travis Job 210.3
  • ac2fe106 on github
  • Prev Job for on master (#188.3)
  • Next Job for on master (#225.4)
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