Project

scotchit

0.0
No commit activity in last 3 years
No release in over 3 years
Runs a lower bound confidence score on scotchit's whisky review archive to generate buy recommendations.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 12.3.3
 Project Readme

scotchit

Statistical analysis of reddit.com/r/scotch Scotch ratings.

You may want to obtain a new copy of the spreadsheet from the sidebar at reddit.com/r/scotch.

I use this as a survey of Scotchit's ratings to make recommendations on scotch to try.

Here's an example output:

  • Glenfarclas 40: 69% (11+, 11#) $$$$$
  • Laphroaig CĂ irdeas Portwood: 67% (25+, 29#) $$$
  • Ardbeg Uigeadail: 62% (73+, 100#) $$$
  • Aberlour A'bunadh batch #36: 61% (8+, 8#) $$
  • Benrinnes 23: 58% (7+, 7#) $$$$$
  • Benrinnes 14 AD Rattray Sherry Cask: 54% (6+, 6#) $$$$
  • Macallan Sherry Cask Strength: 51% (39+, 60#) $$$
  • Lagavulin 12: 50% (23+, 33#) $$$$

======= Where the first number is a confidence score expressed as a whole percentage followed by (positive votes, sample size) and a price indicator.

Installation

Add this line to your application's Gemfile:

gem 'scotchit'

And then execute:

$ bundle

Or install it yourself as:

$ gem install scotchit

Usage

Command line: ./bin/scotchit

Or, you can require scotchit and then use the methods off of the Scotchit module:

  • Scotchit.run() will use lib/ratings.csv and print-to-term the stats
  • Scotchit.ci_lower_bound(pos, n, confidence) will generate a lower bound wilson score
  • Scotchit.parse_csv(file_name) will populate the Scotchit::DB hash
  • Scotchit.score() will populate the statistics and price inidactors

Contributing

  1. Fork it ( https://github.com/rhardin/scotchit/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request