Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49662
| Path | csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.109 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.78; '*S*': 0.00; '(its': 0.09; 'logic': 0.09; 'null,': 0.09; 'algorithm.': 0.16; 'jumping': 0.16; 'sorting': 0.16; 'wrote:': 0.18; 'lets': 0.24; 'math': 0.24; 'suggested': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'didnt': 0.31; 'one,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'crazy': 0.36; 'so,': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'previous': 0.38; 'anything': 0.39; 'explain': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'algorithms': 0.60; 'identify': 0.61; 'simple': 0.61; 'sum': 0.64; 'here': 0.66; 'nobody': 0.68; 'jul': 0.74; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=6JiU2QVe+XvCJbMofQOo1PL4QkY1Qq8Lws9VdhdrT80=; b=cVxZEfGqFiWDKozFyw9JWVZNtT3iK55/QgaMDMPqDSGWyZ5gI4lUJz0qUxljSW3AN3 3ph+d5TEC+TAbkrS+WIql8PhtwMesTbcEnPR2GuWVxAMQ1/VCMZOdxFWnS8jRdw3Vy3E DGdibAtei8mZTH7JSZ2Besp4hcoRXRYUrwiCKGsVUA7T8EJvB5v3od54wkdnsJC4KsFW BmQNgeGJHFkbVSPyCUhw1quKbdNpLqlAww3qZqVxzO0GhEjraeefonrF8ggAtz17Nn85 pitGOn+mnkI53CKyM/6yeZisgomVvtTxqudjIjb36ZQmkaJsuI3Y/e4C6bApnZAWPsuj /Lew== |
| X-Received | by 10.68.28.232 with SMTP id e8mr31455490pbh.94.1372804219148; Tue, 02 Jul 2013 15:30:19 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <CAArdDCrts2ypurhe_EDB92X2Vv7H6cL_zwLz+LrKA0KdqXwLgA@mail.gmail.com> |
| References | <mailman.4127.1372801460.3114.python-list@python.org> <T2IAt.5266$Jk4.4110@newsfe09.iad> <CAArdDCrts2ypurhe_EDB92X2Vv7H6cL_zwLz+LrKA0KdqXwLgA@mail.gmail.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Tue, 2 Jul 2013 16:29:38 -0600 |
| Subject | Re: how to calculate reputation |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4131.1372804228.3114.python-list@python.org> (permalink) |
| Lines | 36 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1372804228 news.xs4all.nl 15976 [2001:888:2000:d::a6]:37323 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:49662 |
Show key headers only | View raw
On Tue, Jul 2, 2013 at 4:19 PM, Surya Kasturi <suryak@ieee.org> wrote: > I think I didnt explain it clearly.. let me make it clear.. > > 1. The database we are using is having BooleanField for it!! so, cant do > anything > 2. I am not looking for sorting algorithms .. just simple math :) It sounds > crazy but let me describe my confusion Nobody has suggested a *sorting* algorithm. > lets have 3 users with > > [null, null, null] > reputation = 0 > > [T, - - ] > rept = 1 > > [T T T] > rept = 3 > > [T T F] > rept = 1 (its jumping from 3 to 1 -->but generally, we observe only decrease > in 1 right?) I'm with you so far. You see the reputation drop by 2 here because you have both removed an up-vote and added a down-vote. Each of these things individually will cause the sum to drop by 1. > [T T F] > rept = 3 (its jumping from 1 to 3) > > These jumpings are common? or my logic is going any wrong? This is the same scenario as the previous one, so I don't understand why you identify the reputation sum as 3 here.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to calculate reputation Surya Kasturi <suryak@ieee.org> - 2013-07-02 23:43 +0200
Re: how to calculate reputation Tobiah <toby@tobiah.org> - 2013-07-02 14:59 -0700
Re: how to calculate reputation Surya Kasturi <suryak@ieee.org> - 2013-07-03 00:19 +0200
Re: how to calculate reputation Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-02 16:29 -0600
Re: how to calculate reputation Joshua Landau <joshua.landau.ws@gmail.com> - 2013-07-02 23:27 +0100
Re: how to calculate reputation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-03 00:18 +0000
Re: how to calculate reputation Chris Angelico <rosuav@gmail.com> - 2013-07-03 10:26 +1000
csiph-web