Thread View: news.software.readers
6 messages
6 total messages
Started by Steve Crook
Mon, 09 Jan 2017 10:23
[slrn] Scoring on References
Author: Steve Crook
Date: Mon, 09 Jan 2017 10:23
Date: Mon, 09 Jan 2017 10:23
43 lines
2090 bytes
2090 bytes
Hi all,
I've been trying to create a simple slrn rule to score against a series
of messages, all referencing the same parent. An example message is:
Message-ID: <514d9311c7ae239ec6e6d7cd2207bc31@remailer.org.uk>
This message (and many others) share the same Reference:
References: <8e915bf950565b085a875f550e05bd77@dizum.com>
If I try to score on the entire References header, it doesn't match:
Score: -1000
References: <8e915bf950565b085a875f550e05bd77@dizum.com>
After some tweaking, I do get a match if I use:
Score: -1000
References: 0e05bd77@dizum\.com>
Prefix one more character to the Reference and the match fails. I'd be
interested to know if others see the same behaviour or have any theories
to explain it.
Cheers,
Steve
slrn 1.0.3
S-Lang Library Version: 2.3.0
Operating System: Linux
COMPILE TIME OPTIONS:
Backends: +nntp -slrnpull -spool
External programs / libs: -canlock -inews -ssl -uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
-grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.
DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp
--
What shall we use
To fill the empty spaces
Where we used to talk?
Re: [slrn] Scoring on References
Author: Whiskers
Date: Mon, 09 Jan 2017 18:31
Date: Mon, 09 Jan 2017 18:31
84 lines
3917 bytes
3917 bytes
On 2017-01-09, Steve Crook <steve@mixmin.net> wrote:
> Hi all,
>
> I've been trying to create a simple slrn rule to score against a series
> of messages, all referencing the same parent. An example message is:
> Message-ID: <514d9311c7ae239ec6e6d7cd2207bc31@remailer.org.uk>
>
> This message (and many others) share the same Reference:
> References: <8e915bf950565b085a875f550e05bd77@dizum.com>
>
> If I try to score on the entire References header, it doesn't match:
> Score: -1000
> References: <8e915bf950565b085a875f550e05bd77@dizum.com>
>
> After some tweaking, I do get a match if I use:
> Score: -1000
> References: 0e05bd77@dizum\.com>
>
> Prefix one more character to the Reference and the match fails. I'd be
> interested to know if others see the same behaviour or have any theories
> to explain it.
>
> Cheers,
> Steve
>
> slrn 1.0.3
> S-Lang Library Version: 2.3.0
> Operating System: Linux
>
> COMPILE TIME OPTIONS:
> Backends: +nntp -slrnpull -spool
> External programs / libs: -canlock -inews -ssl -uudeview +iconv
> Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
> -grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
> Using 64 bit integers for article numbers.
>
> DEFAULTS:
> Default server object: nntp
> Default posting mechanism: nntp
These entries have been part of my score file for years, and still seem
to work as intended:
#v+
Score:: 1000 %fup to mine
References: ID-107770\.user\.individual\.net>$
References: ID-107770\.user\.individual\.net>[^>]+>$
References: ID-107770\.user\.individual\.net>[^>]+>[^>]+>$
References: ID-107770\.user\.individual\.net>[^>]+>[^>]+>[^>]+>$
References: ID-107770\.user\.individual\.net>[^>]+>[^>]+>[^>]+>[^>]+>$
Score: 4000 %direct fup to mine
References: ID-107770\.user\.individual\.net>$
#v-
The k command in slrn has always in my experience constructed a score
with all the 'escaped' characters properly identified in References
headers, eg
#v+
%BOS
%Score created by slrn on Mon Jan 9 18:14:48 2017
[news.software.readers]
Score: =-9999
%Expires:
% Subject: \[slrn\] Scoring on References
% From: Steve Crook <steve@mixmin\.net>
References: <slrno76p4q\.c37\.steve@fleegle\.mixmin\.net>
% Xref: uni-berlin\.de news\.software\.readers:288002
% Newsgroup: news\.software\.readers
%EOS
#v-
So my best guess, for what it's worth, is that some part of the MID
you've encountered is being interpreted as a character that needs to be
escaped. But if that could happen, it would surely have been
encountered and corrected long ago unless something in slrn's latest
changes has introduced a new bug.
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Re: [slrn] Scoring on References
Author: J.B. Nicholson
Date: Tue, 10 Jan 2017 02:55
Date: Tue, 10 Jan 2017 02:55
50 lines
3006 bytes
3006 bytes
Steve Crook <steve@mixmin.net> wrote: > If I try to score on the entire References header, it doesn't match: > Score: -1000 > References: <8e915bf950565b085a875f550e05bd77@dizum.com> I have a few ideas for things you can try: Just to see what would happen: Have you tried escaping the "<" as "\<"? You're sure that the message you're expecting to come out with a -1000 score has <8e915bf950565b085a875f550e05bd77@dizum.com> in the References: header? Threading only requires the parent message-ID to be listed there, so if you're looking to downscore all children of <8e915bf950565b085a875f550e05bd77@dizum.com> you will need to include grandchild (and further descendant) article message-IDs too. I vaguely recall that a long time ago some AOL-initiated posts trimmed the References: header and caused some headaches for people expecting all descendants of an article to get scored. The AOL users weren't doing this, AOL's software was doing this. Have you checked out slrn's explanation of how the score got to be what it is by going to an article you think should get -1000 points and pressing "v" to bring up the report of matching scorefile(s) lines? Are there other score entries interfering with this score? I'd try making sure slrn sees only one scorefile and putting only one rule into that scorefile. > After some tweaking, I do get a match if I use: > Score: -1000 > References: 0e05bd77@dizum\.com> > > Prefix one more character to the Reference and the match fails. I'd be > interested to know if others see the same behaviour or have any theories > to explain it. So: References: 0e05bd77@dizum\.com> works and References: 50e05bd77@dizum\.com> does not work? Thanks for posting your slrn version details.
Re: [slrn] Scoring on References
Author: Steve Crook
Date: Tue, 10 Jan 2017 09:29
Date: Tue, 10 Jan 2017 09:29
69 lines
3490 bytes
3490 bytes
On Tue, 10 Jan 2017 02:55:40 +0000 (UTC), J.B. Nicholson wrote in Message-Id: <slrno78j9c.2p1.jbn@forestfield.org>: > Steve Crook <steve@mixmin.net> wrote: >> If I try to score on the entire References header, it doesn't match: >> Score: -1000 >> References: <8e915bf950565b085a875f550e05bd77@dizum.com> > > I have a few ideas for things you can try: > > Just to see what would happen: Have you tried escaping the "<" as > "\<"? Yes, that was my first thought but it doesn't work. Even stripping it out completely and just matching from the "8e" doesn't help. > > You're sure that the message you're expecting to come out with a -1000 > score has <8e915bf950565b085a875f550e05bd77@dizum.com> in the > References: header? Threading only requires the parent message-ID to > be listed there, so if you're looking to downscore all children of ><8e915bf950565b085a875f550e05bd77@dizum.com> you will need to include > grandchild (and further descendant) article message-IDs too. All the messages I was attempting to score have a single Reference to their parent article. > I vaguely recall that a long time ago some AOL-initiated posts trimmed > the References: header and caused some headaches for people expecting > all descendants of an article to get scored. The AOL users weren't > doing this, AOL's software was doing this. One of AOL's many flunks over their years. :) > Have you checked out slrn's explanation of how the score got to be > what it is by going to an article you think should get -1000 points > and pressing "v" to bring up the report of matching scorefile(s) > lines? Yes, if the article is scored (by using only the abreviated Reference), pressing 'v' correctly shows the rule as matching. If the whole Reference is used, no scores match the article. > Are there other score entries interfering with this score? I'd try > making sure slrn sees only one scorefile and putting only one rule > into that scorefile. I created a score file with only a single entry in it. That made no difference to the behaviour exhibited. >> After some tweaking, I do get a match if I use: >> Score: -1000 >> References: 0e05bd77@dizum\.com> >> >> Prefix one more character to the Reference and the match fails. I'd be >> interested to know if others see the same behaviour or have any theories >> to explain it. > > So: > > References: 0e05bd77@dizum\.com> > > works and > > References: 50e05bd77@dizum\.com> > > does not work? Correct. Thanks for your reply! -- What shall we use To fill the empty spaces Where we used to talk?
Re: [slrn] Scoring on References
Author: tlvp
Date: Tue, 10 Jan 2017 10:53
Date: Tue, 10 Jan 2017 10:53
24 lines
1870 bytes
1870 bytes
On Mon, 9 Jan 2017 10:23:22 -0000 (UTC), Steve Crook wrote: > y to score on the entire References header, it doesn't match: > Score: -1000 > References: <8e915bf950565b085a875f550e05bd77@dizum.com> > > After some tweaking, I do get a match if I use: > Score: -1000 > References: 0e05bd77@dizum\.com> > > Prefix one more character to the Reference and the match fails. ... This may be a complete red herring (in which case, my apologies) but: do you really mean to have an @dizum.com in the first References entry, but an @dizum\.com in the second? Could the absence/presence of that backslash between the "dizum" and the ".com" be playing any role here? [Or maybe there's just an 8-char limit to what precedes an @ symbol :-) .] HTH. Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: [slrn] Scoring on References
Author: J.B. Nicholson
Date: Tue, 10 Jan 2017 23:56
Date: Tue, 10 Jan 2017 23:56
25 lines
2228 bytes
2228 bytes
Steve Crook <steve@mixmin.net> wrote:
> I created a score file with only a single entry in it. That made no
> difference to the behaviour exhibited.
Here's something else to try. This should make no difference, but it
would be interesting to see if this does score the desired posts. Put
this as the sole score in your scorefile:
[*]
Score: -1000
References: 8e915bf950565b085a875f550e05bd77@dizum\.com>$
That should match all groups ("[*]") and subtract 1000 points to the
score of all unread articles which are direct followups to the named
message-ID.
It would also be a good idea to make sure you're getting the
References: header in the news overview (NOV) data, or you could turn
on "prefer_head" (by setting it to 1) which will make slrn prefer to
get header data on each article when it enters a group (aka expensive
scoring because this approach takes more time than getting the NOV
data).
http://slrn.sourceforge.net/docs/slrn-manual-6.html#ss6.75 has
documentation on prefer_head.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads