Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: "n.maisonneuve" Newsgroups: comp.lang.ruby Subject: Gem: acts_as_meritocracy Date: Wed, 2 May 2012 03:32:24 -0700 (PDT) Organization: http://groups.google.com Lines: 23 Message-ID: <11650460.1597.1335954744108.JavaMail.geo-discussion-forums@vbep19> NNTP-Posting-Host: 93.2.189.32 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1335954744 15660 127.0.0.1 (2 May 2012 10:32:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 2 May 2012 10:32:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.2.189.32; posting-account=trABLQoAAAAuAA4j9dRLKfHspV35l_yr User-Agent: G2/1.0 Xref: csiph.com comp.lang.ruby:6533 Hi ruby folks, I would like annonce the release of a gem called "acts_as_meritocracy". This gem is a mixin enabling a weighted majority voting system for any model with qualitative decisions/categories. As measure of consensus/inter-rater agreement, you can choose between a weighted variant of the Fleiss=92s Kappa (by default) or the entropy of the distribution of votes. The consensus score is in the interval [0,1]. very high consensus=3D1 , very low consensus=3D0 NOTE: this voting system has been developed to take (collective) a decision about items, not rank items (e.g. by popularity). i.e. generally once a certain level of consensus is reached on a given item, a decision is taken and the vote is close. it's a very alpha release but I hope it could be useful for some of you. feedback welcome Nicolas more info: https://github.com/nmaisonneuve/acts_as_meritocracy