🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #308744

Re: test randomizacyjny w C

#308744
From: M.M.
Date: Fri, 30 Sep 2016 13:13
37 lines
3686 bytes
On Thursday, September 29, 2016 at 6:16:09 PM UTC+2, M.M. wrote:
> On Wednesday, September 28, 2016 at 1:12:11 PM UTC+2, bartekltg wrote:
> > On 28.09.2016 00:37, M.M. wrote:
> > 
> > > Teraz trzy testy wyszły na week. Nie zawsze zalicza 100%, ale to
> > 
> > Spróbuj zwiękzyć psamples.
> > 
> > 
> > > chyba też byłoby źle, jakby zawsze zaliczał 100%.
> > 
> >    -W weak - sets the 'weak' threshold to make the test(s) more or less
> > forgiving during e.g. a test-to-destruction run.  Default is
> > currently  0.005.
> > 
> > Majac ciąg losowy, powinieneś zaliczać na week 1 na 100 testów (bo mamy
> > 0.005 z obu stron). IMHO ciut za często wypadają.
> > 
> > pzdr
> > bartekltg
> 
> Zrobiłem teraz z opcją -m2. Ta wersja generatora pierwszy raz 
> oblała testy (failed). Ciekawe czy nie tak coś z systemem, czy te testy
> wychwyciły jakąś usterkę. Będę musiał poczytać co to za testy, bo
> diehard_sums jest testem uszkodzonym.

Po resecie systemu wszystko (chyba) wróciło do normy :)
Inne programy padały, czułem że coś nie tak ze środowiskiem
testowym. Gdy ustawiam m=1 to średnio weak jest raz 
na 30 testów, ani razu nie było failed.

Źródło tego testu niby można poczytać tam:
https://github.com/seehuhn/dieharder/blob/master/libdieharder/dab_bytedistrib.c

Ale nie tak łatwo ogarnąć czy kod jest poprawny, czy nie.

Pozdrawiam
Technical Details
Message-ID: <de0ec525-8f0f-48ae-8f88-a78987b954dc@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.glorb.com!w41no881591qtw.1!news-out.google.com!203ni2553itk.0!nntp.google.com!l13no786659itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <5777f44e$0$12548$65785112@news.neostrada.pl> <nsbr2o$a64$1@node2.news.atman.pl> <nsbtc8$ch5$1@node2.news.atman.pl> <nsc0nj$fs7$1@node2.news.atman.pl> <nsc240$4fb$1@node1.news.atman.pl> <e4777e03-0727-4ca9-9beb-0d74176bc08b@googlegroups.com> <nsc44o$j5i$1@node2.news.atman.pl> <nsc4ik$jlr$1@node2.news.atman.pl> <nsdtnq$9cb$1@node2.news.atman.pl> <33d8cc17-5fae-445b-b34d-d9f0c0b00f32@googlegroups.com> <nsebkj$dt6$1@node1.news.atman.pl> <b92f5c87-2cf7-46a5-8046-ca65e9dcca9d@googlegroups.com> <nsedbk$fot$1@node1.news.atman.pl> <990f8ec5-a932-4b78-9e24-47a87018acb1@googlegroups.com> <nsehu3$so7$1@node2.news.atman.pl> <c1782be6-6830-4161-9b75-9c94b5c59019@googlegroups.com> <nsekjo$vfq$1@node2.news.atman.pl> <f5a11016-2b93-4ae4-99a8-f061568e58ad@googlegroups.com> <nselfa$or$1@node2.news.atman.pl> <a4377ce5-10a1-428c-bb1e-14cb114a6a70@googlegroups.com> <98a3f29a-1b7d-4507-9235-4a13167b538a@googlegroups.com> <ed45d845-1cc5-41bd-9628-b1e0d552ed4b@googlegroups.com> <nsg8ia$ftn$2@node2.news.atman.pl> <41ba60d8-2c6e-417f-a729-d7d03ef28050@googlegroups.com>

Show Full Headers
Complete Article Headers
X-Received: by 10.31.172.12 with SMTP id v12mr1894792vke.36.1475241186213;        Fri, 30 Sep 2016 06:13:06 -0700 (PDT)
X-Received: by 10.36.121.23 with SMTP id z23mr220370itc.10.1475241186174; Fri, 30 Sep 2016 06:13:06 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.glorb.com!w41no881591qtw.1!news-out.google.com!203ni2553itk.0!nntp.google.com!l13no786659itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.c
Date: Fri, 30 Sep 2016 06:13:05 -0700 (PDT)
In-Reply-To: <41ba60d8-2c6e-417f-a729-d7d03ef28050@googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=77.254.35.87; posting-account=xjvq9QoAAAATMPC2X3btlHd_LkaJo_rj
NNTP-Posting-Host: 77.254.35.87
References: <5777f44e$0$12548$65785112@news.neostrada.pl> <nsbr2o$a64$1@node2.news.atman.pl> <nsbtc8$ch5$1@node2.news.atman.pl> <nsc0nj$fs7$1@node2.news.atman.pl> <nsc240$4fb$1@node1.news.atman.pl> <e4777e03-0727-4ca9-9beb-0d74176bc08b@googlegroups.com> <nsc44o$j5i$1@node2.news.atman.pl> <nsc4ik$jlr$1@node2.news.atman.pl> <nsdtnq$9cb$1@node2.news.atman.pl> <33d8cc17-5fae-445b-b34d-d9f0c0b00f32@googlegroups.com> <nsebkj$dt6$1@node1.news.atman.pl> <b92f5c87-2cf7-46a5-8046-ca65e9dcca9d@googlegroups.com> <nsedbk$fot$1@node1.news.atman.pl> <990f8ec5-a932-4b78-9e24-47a87018acb1@googlegroups.com> <nsehu3$so7$1@node2.news.atman.pl> <c1782be6-6830-4161-9b75-9c94b5c59019@googlegroups.com> <nsekjo$vfq$1@node2.news.atman.pl> <f5a11016-2b93-4ae4-99a8-f061568e58ad@googlegroups.com> <nselfa$or$1@node2.news.atman.pl> <a4377ce5-10a1-428c-bb1e-14cb114a6a70@googlegroups.com> <98a3f29a-1b7d-4507-9235-4a13167b538a@googlegroups.com> <ed45d845-1cc5-41bd-9628-b1e0d552ed4b@googlegroups.com> <nsg8ia$ftn$2@node2.news.atman.pl> <41ba60d8-2c6e-417f-a729-d7d03ef28050@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <de0ec525-8f0f-48ae-8f88-a78987b954dc@googlegroups.com>
Subject: Re: test randomizacyjny w C
From: "M.M." <mmarszik@gmail.com>
Injection-Date: Fri, 30 Sep 2016 13:13:06 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit