Article View: news.software.readers
Article #41849Article Scoring Concepts (SLRN, GNUS, etc)
From: David Goh
Date: Wed, 01 Jul 1998 00:00
Date: Wed, 01 Jul 1998 00:00
82 lines
3907 bytes
3907 bytes
Hiya people. Just something I've been thinking about for a couple of weeks now, initially in the context of slrn scoring, but this is applicable to the general concept of article scoring. Anyway. This all started because a friend of mine (Hiya, skud!) and I and got confused a couple of times when we got rather oddly scored articles displayed... We both (and I'm sure a lot of people that use article scoring in general) have quite complicated sets of scoring rules, with both positive and negative scores all over the place. Scores that one doesn't quite understand where they came from tend to result from articles that get both positive and negative scores from various scoring rules. Note: the following crap about octal bitfields and suchlike is not all that critical to the point of this article. So, if it confuses you, skip to the bit starting "Anyway. On to the main point." So... Initially, I thought, hrmm. How about having scores in a bitfield, instead? So, I could assign bit 3 to mean "Excellent Topics", and bit 1 to mean "Spammers", bit 2 to mean "Friends", and so forth. Then I thought, hmm, displaying a bitfield is really problematic, so we better use an octal bitfield, like chmod(1), so the bit pattern 001 101 111 100 comes out to 1574 octal. That, while it's possible (I have an slrn patch to allow scorefile entries which do bit-and-ing and bit-or-ing of the score instead of adding it, which I'll post a bit later), and sorta works okay... is not great, because you can't have negative scores. The only way to achieve anything resembling a negative score is to do something like this: Assign 0077 as the base score for all articles. Good articles of various kinds get bit-ored with masks bigger than 0077, eg 0177 for something just a little bit good, and 4077 for something ultra excellent, and of course, the final bitfield Bad articles of various kinds get bit-anded with negative masks such as 7776 for something only slightly bad (resulting in a score of 0076), and 7737 for something ultra bad (resulting in a score of (0037). And of course, combinations of bad things could result in a zero score. Anyway. On to the main point. While this all works... it's kinda painful. What I *really* want, is a way to have both the positive *and* negative score totalled up separately, and then have them *both* displayed. And I guess display sorting could be done on either separately, or the combined total... That gives a *much* nicer idea (even if you don't use the bitfield thing, and just score with positive and negative decimal numbers) of what your scoring rules are doing. It'd really help to figure out whether or not the article is *really* an excellent article written on a subject you really like by some super guru you always want to read, or whether despite the fact that its written by said super guru, it's really on some subject you just don't care about. Thoughts, anyone? Later, David -- | david@unico.com.au (David Goh, Unico Computer Systems, +61-3-9866-5688) "Yeah, but you're taking the universe out of context."
Technical Details
Message-ID:
<6nd26k$r4r@padre.unico.com.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <6nd26k$r4r@padre.unico.com.au> Subject: Article Scoring Concepts (SLRN, GNUS, etc) Date: Wed, 01 Jul 1998 00:00:00 +0000 From: david+usenet@unico.com.au (David Goh) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 367746036 Keywords: score killfile slrn gnus Reply-To: david+usenet@unico.com.au X-Silly-Line: Everyone talks about apathy, but no one does anything about it. Organization: UNICO Computer Systems, Melbourne, Australia Newsgroups: news.software.readers X-Religion: linux slrn mutt vim