🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #42734

[slrn] Scoring snafus (was: Re: [slrn] those darned regexps again)

#42734
From: Dawn Owens-Nicholson
Date: Sun, 16 Aug 1998 00:00
33 lines
2755 bytes
Stefan Haller <stk@snafu.de> wrote:
> Last I checked, "Score: =-9999" and "Score: -9999" do exactly the same.
> -9999 is a special value that implies the meaning of the equal sign.

Ah, then I think that's a bad thing; in my opinion, the kill score should
not be special in *that* way; I should be able to subtract 9,999 (or
kill_score) points from an article's score in a single score without killing
it.  The article should only be killed (or marked as read or marked high) if
the article's score matches the kill_score (or score below max_low_score or
score at or above min_high_score, respectively) *after* processing is
complete for that article.  If people want to stop processing of an
article's score before the end of the scorefile, they should have to use `='
followed by that score (for instance "=-9999") no matter what the value of
the score.

After all, for all the scoring routine knows, I've carefully constructed my
scorefile so some articles will end up with a score of -9,999 after all the
scores in my scorefile are processed, thus killing those articles.  That
careful construction might involve a series of additions and subtractions,
one of which might be "-9999", in which case, if "-9999" and "=-9999" mean
the same thing, slrn might kill an article I wanted marked read or even
marked high in some later score.  I can rewrite my scorefile to get what I
want done, but I still see this "=-9999"/"-9999" equivalence as an
unnecessary inconsistency.  I'm in favor of making the scoring system as
simple as possible without sacrificing scoring power.

A similar "magic value" limit happens regarding the Expires:, Lines: and
Score: keywords--since they match real or possible Usenet article headers,
how does one score for arbitrary values based on those headers?  I suspect
few people (if any) want to score with them beyond what's documented in
slrn's doc/score.txt, I'm just curious.

Technical Details
Message-ID: <slrn6temmn.4mv.bluemoon@ux6.cso.uiuc.edu>
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
References: <slrn6t8s6m.uoq.itz@kronstadt.rahul.net> <slrn6t94lm.bro.bluemoon@ux6.cso.uiuc.edu> <slrn6t9gp9.3tn.itz@kronstadt.rahul.net> <slrn6tbmdu.1te.bluemoon@ux6.cso.uiuc.edu> <1ddvhn5.155lpp3v3ijyN@n243-86.berlin.snafu.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6temmn.4mv.bluemoon@ux6.cso.uiuc.edu>
Subject: [slrn] Scoring snafus (was: Re: [slrn] those darned regexps again)
Date: Sun, 16 Aug 1998 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn6t8s6m.uoq.itz@kronstadt.rahul.net> <slrn6t94lm.bro.bluemoon@ux6.cso.uiuc.edu> <slrn6t9gp9.3tn.itz@kronstadt.rahul.net> <slrn6tbmdu.1te.bluemoon@ux6.cso.uiuc.edu> <1ddvhn5.155lpp3v3ijyN@n243-86.berlin.snafu.de>
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: 381771072
Organization: University of Illinois at Urbana-Champaign
Newsgroups: news.software.readers