Commit Graph

1410 Commits

Author SHA1 Message Date
Matt T. Proud e0b92aec7a - Separate out the packages' files' documentation into a separate documentation file per package.
- Provide better examples in the examples subdirectory.
- Make the comments consistent in terms of using multi-line format for future-proofing.
- Extract major constants out.
2012-05-24 20:02:44 +02:00
Matt T. Proud 5ea9b1a0b5 - Improved comments throughout the package.
- Added normal and exponential distributions to one of the examples.
- Improved the naming of a couple of local variables.
- Handled an error in the AccumulatingBucket ValueForIndex function whereby
  the vestigal old behavior was accidentally preserved and not updated.
  This could have been caught had the tests been updated first.
- Simplify Histogram prospectiveIndexForPercentile such that various
  small tasks it performs are extracted into separate functions for easier
  testing and code comprehension.
- Remedy a regression in Histogram prospectiveIndexForPercentile whereby
  the prospective index may have included the terminating element of a
  bucket.
- Provide help for Histogram prospectiveIndexForPercentile such that requesting
  the terminating element of a bucket will fast-forward to the first element of
  the next non-empty bucket.
- Fix TallingBucket's boundary constant, because they were originally keyed toward
  percentages [0, 100], not decimal-based ones.  The antique tests had been
  temporarily commented out, which prevented this regression from being exposed.
2012-05-22 09:20:09 +02:00
Matt T. Proud fe4f71b333 - Provide an example of this working with a uniform distribution. 2012-05-21 11:05:41 +02:00
Matt T. Proud a1f4f3eec2 - Extract main out of the package root and into the examples/ hierarchy. 2012-05-21 10:43:21 +02:00
Matt T. Proud 2c4784f8ee - Decouple exporter from the DefaultRegistry. 2012-05-21 10:23:22 +02:00
Matt T. Proud 7675c256ad - Add percentile index calculation annotations. 2012-05-20 00:22:41 +02:00
Matt T. Proud f7968cb90f - Kill off the vestiges of the old percentage tally, which was never a
correct approach.
2012-05-20 00:13:31 +02:00
Matt T. Proud 4d91ee5f5c - When bucketForPercentile was re-written and replaced with bucketForPercentile2,
the original and deprecated function was never deleted and migrated.  This has
  been done.
- Update associated tests, which were originally inaccurate, to correct expectations!
2012-05-20 00:10:52 +02:00
Matt T. Proud 5a56c47909 Incorporate the Travis-CI (continuous integration) configuration such
that test status will be reported.
2012-05-20 00:00:39 +02:00
Matt T. Proud 959403ad3e Initial commit into version control. 2012-05-19 23:59:25 +02:00