From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a37:6113:: with SMTP id v19mr13152070qkb.333.1640634281350; Mon, 27 Dec 2021 11:44:41 -0800 (PST) X-Received: by 2002:a25:ba05:: with SMTP id t5mr23920147ybg.675.1640634281115; Mon, 27 Dec 2021 11:44:41 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 27 Dec 2021 11:44:40 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=78.141.135.179; posting-account=sDyr7QoAAAA7hiaifqt-gaKY2K7OZ8RQ NNTP-Posting-Host: 78.141.135.179 References: <7bede061-4b0f-4029-beb1-1056637e57d6n@googlegroups.com> <49538254-21ed-4fd0-8316-1bccc7d3c635n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Some advice required [OT] From: Laurent Injection-Date: Mon, 27 Dec 2021 19:44:41 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63285 List-Id: On Monday, 27 December 2021 at 19:56:10 UTC+1, Niklas Holsti wrote: > On 2021-12-27 19:41, Dennis Lee Bieber wrote: > > On Mon, 27 Dec 2021 04:29:06 -0800 (PST), Laurent > > declaimed the following: > > > >> Why I would choose result from strain B over the result from strain > >> A. > >> > >> strain A: SSSRSS strain B: SSRRRS > >> > >> Simply counting the number of S, I and R doesn't work. ?Checksum > >> with/without weight for the column number doesn't work either. > > > > I wouldn't expect a checksum to be of any use, since the idea of > > most checksums (and CRCs) is to be able to verify that a data > > sequence has not been corrupted. Checksums don't "rank" data. > > > I believe that Laurent does not mean "checksum" in its usual meaning, > but a numerical "score" computed as a sum of terms multiplied by > weights. Whether such a score can solve Laurent's problem is not clear. I used the algorithm for calculating the checksum for the GTIN in barcodes as starting point so I got stuck on the term checksum. Half of the problem is finding the correct word with which to feed google to find an answer.