eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingJak zrobić test za pomocą PractRand?Re: Jak zrobić test za pomocą PractRand?
  • X-Received: by 2002:a37:9b92:: with SMTP id d140mr14805628qke.401.1629584277474; Sat,
    21 Aug 2021 15:17:57 -0700 (PDT)
    X-Received: by 2002:a37:9b92:: with SMTP id d140mr14805628qke.401.1629584277474; Sat,
    21 Aug 2021 15:17:57 -0700 (PDT)
    Path: news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news-2.dfn.de!n
    ews.dfn.de!2.eu.feeder.erje.net!feeder.erje.net!news.uzoreto.com!newsreader4.ne
    tcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!p
    eer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.
    com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-
    mail
    Newsgroups: pl.comp.programming
    Date: Sat, 21 Aug 2021 15:17:57 -0700 (PDT)
    In-Reply-To: <b...@g...com>
    Injection-Info: google-groups.googlegroups.com; posting-host=77.169.12.87;
    posting-account=5sNFBgoAAAAxlae8lv99mPyGsDs6ynwB
    NNTP-Posting-Host: 77.169.12.87
    References: <6...@g...com>
    <0...@g...com>
    <1...@g...com>
    <f...@g...com>
    <5...@g...com>
    <2...@g...com>
    <f...@g...com>
    <4...@g...com>
    <5...@g...com>
    <6...@g...com>
    <e...@g...com>
    <c...@g...com>
    <0...@g...com>
    <c...@g...com>
    <4...@g...com>
    <7...@g...com>
    <9...@g...com>
    <2...@g...com>
    <1...@g...com>
    <9...@g...com>
    <d...@g...com>
    <b...@g...com>
    User-Agent: G2/1.0
    MIME-Version: 1.0
    Message-ID: <b...@g...com>
    Subject: Re: Jak zrobić test za pomocą PractRand?
    From: "o...@g...com" <o...@g...com>
    Injection-Date: Sat, 21 Aug 2021 22:17:57 +0000
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable
    X-Received-Bytes: 8992
    Xref: news-archive.icm.edu.pl pl.comp.programming:215527
    [ ukryj nagłówki ]

    Swoją drogą program zadziałał po komendzie:

    python3 Mojgenerator.py | ./RNG_test stdin

    Ale znowu wystąpiły FAILE i ten sam błąd:

    RNG_test using PractRand version 0.93
    RNG = RNG_stdin, seed = 0xb223f1b6
    test set = normal, folding = standard(unknown format)

    rng=RNG_stdin, seed=0xb223f1b6
    length= 128 megabytes (2^27 bytes), time= 3.3 seconds
    Test Name Raw Processed Evaluation
    BCFN(2+0,13-3,T) R=+17706724 p = 0 FAIL !!!!!!!!
    BCFN(2+1,13-3,T) R=+8369402 p = 0 FAIL !!!!!!!!
    BCFN(2+2,13-3,T) R=+4018669 p = 0 FAIL !!!!!!!!
    BCFN(2+3,13-3,T) R=+1951923 p = 0 FAIL !!!!!!!!
    BCFN(2+4,13-4,T) R=+1217378 p = 0 FAIL !!!!!!!!
    BCFN(2+5,13-5,T) R=+754738 p = 0 FAIL !!!!!!!!
    BCFN(2+6,13-5,T) R=+373439 p = 0 FAIL !!!!!!!!
    BCFN(2+7,13-6,T) R=+229795 p = 0 FAIL !!!!!!!!
    BCFN(2+8,13-6,T) R=+114286 p = 0 FAIL !!!!!!!!
    BCFN(2+9,13-7,T) R=+69277 p = 0 FAIL !!!!!!!!
    BCFN(2+10,13-8,T) R=+41033 p = 0 FAIL !!!!!!!!
    BCFN(2+11,13-8,T) R=+20468 p = 1e-5195 FAIL !!!!!!!!
    BCFN(2+12,13-9,T) R=+11745 p = 3e-2640 FAIL !!!!!!!!
    BCFN(2+13,13-9,T) R= +5857 p = 4e-1317 FAIL !!!!!!!!
    DC6-9x1Bytes-1 R=+7289719 p = 0 FAIL !!!!!!!!
    Gap-16:A R=+3003944 p = 0 FAIL !!!!!!!!
    Gap-16:B R=+15169911 p = 0 FAIL !!!!!!!!
    FPF-14+6/16:(0,14-0) R=+4703480 p = 0 FAIL !!!!!!!!
    FPF-14+6/16:(1,14-0) R=+79390 p = 0 FAIL !!!!!!!!
    FPF-14+6/16:(4,14-2) R=+7118595 p = 0 FAIL !!!!!!!!
    FPF-14+6/16:all R=+6490693 p = 0 FAIL !!!!!!!!
    FPF-14+6/16:all2 R=+39503479195893 p = 0 FAIL !!!!!!!!
    FPF-14+6/16:cross R=+28219067 p = 0 FAIL !!!!!!!!
    BRank(12):128(4) R= +4256 p~= 2e-2264 FAIL !!!!!!!!
    BRank(12):256(4) R= +8744 p~= 1e-4651 FAIL !!!!!!!!
    BRank(12):384(1) R= +6353 p~= 2e-1913 FAIL !!!!!!!!
    BRank(12):512(2) R=+12622 p~= 1e-3800 FAIL !!!!!!!!
    BRank(12):768(1) R=+12316 p~= 2e-3708 FAIL !!!!!!!!
    BRank(12):1K(2) R=+24891 p~= 5e-7494 FAIL !!!!!!!!
    BRank(12):1536(1) R=+24672 p~= 4e-7428 FAIL !!!!!!!!
    [Low1/8]BCFN(2+0,13-5,T) R= +9.8 p = 4.9e-4 unusual
    [Low1/8]DC6-9x1Bytes-1 R= +50.0 p = 1.1e-28 FAIL !!!
    [Low1/8]FPF-14+6/16:(0,14-1) R= +37.0 p = 1.4e-32 FAIL !!!
    [Low1/8]FPF-14+6/16:(1,14-2) R= +25.8 p = 2.5e-22 FAIL !!
    [Low1/8]FPF-14+6/16:(2,14-2) R= +15.9 p = 1.0e-13 FAIL
    [Low1/8]FPF-14+6/16:(3,14-3) R= +7.9 p = 1.2e-6 mildly suspicious
    [Low1/8]FPF-14+6/16:all R= +48.8 p = 2.7e-45 FAIL !!!
    [Low1/8]FPF-14+6/16:all2 R=+504.6 p = 1.0e-174 FAIL !!!!!!
    [Low1/8]FPF-14+6/16:cross R= +71.2 p = 2.2e-56 FAIL !!!!
    [Low4/32]BCFN(2+0,13-5,T) R=+3546530 p = 0 FAIL !!!!!!!!
    [Low4/32]BCFN(2+1,13-5,T) R=+1676322 p = 0 FAIL !!!!!!!!
    [Low4/32]BCFN(2+2,13-5,T) R=+804897 p = 0 FAIL !!!!!!!!
    [Low4/32]BCFN(2+3,13-5,T) R=+390941 p = 0 FAIL !!!!!!!!
    [Low4/32]BCFN(2+4,13-6,T) R=+237394 p = 0 FAIL !!!!!!!!
    [Low4/32]BCFN(2+5,13-6,T) R=+116954 p = 0 FAIL !!!!!!!!
    [Low4/32]BCFN(2+6,13-7,T) R=+70419 p = 0 FAIL !!!!!!!!
    [Low4/32]BCFN(2+7,13-8,T) R=+41511 p = 0 FAIL !!!!!!!!
    [Low4/32]BCFN(2+8,13-8,T) R=+20637 p = 2e-5238 FAIL !!!!!!!!
    [Low4/32]BCFN(2+9,13-9,T) R=+11814 p = 1e-2655 FAIL !!!!!!!!
    [Low4/32]BCFN(2+10,13-9,T) R= +5881 p = 1e-1322 FAIL !!!!!!!!
    [Low4/32]DC6-9x1Bytes-1 R=+1284826 p = 0 FAIL !!!!!!!!
    [Low4/32]Gap-16:A R=+412185 p = 0 FAIL !!!!!!!!
    [Low4/32]Gap-16:B R=+2520495 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:(0,14-1) R=+631088 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:(1,14-2) R=+12449 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:(4,14-4) R=+705389 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:(5,14-5) R=+14266 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:(8,14-7) R=+743698 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:(9,14-8) R=+14419 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:(12,14-10) R=+535960 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:(13,14-11) R= +8504 p = 3e-3707 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:all R=+999316 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:all2 R=+451461539040 p = 0 FAIL !!!!!!!!
    [Low4/32]FPF-14+6/16:cross R=+5271881 p = 0 FAIL !!!!!!!!
    [Low4/32]BRank(12):128(4) R= +3718 p~= 5e-1978 FAIL !!!!!!!!
    [Low4/32]BRank(12):256(2) R= +5148 p~= 1e-1550 FAIL !!!!!!!!
    [Low4/32]BRank(12):384(1) R= +5018 p~= 1e-1511 FAIL !!!!!!!!
    [Low4/32]BRank(12):512(2) R= +8862 p~= 8e-2669 FAIL !!!!!!!!
    [Low4/32]BRank(12):768(1) R= +8376 p~= 1e-2522 FAIL !!!!!!!!
    ...and 60 test result(s) without anomalies

    Traceback (most recent call last):
    File "Collatzgenerator01.py", line 50, in <module>
    print(binary)
    BrokenPipeError: [Errno 32] Broken pipe

    Pytanie, czy program przetestował poprawnie, to co miał przetestować? Mam
    wątpliwości.

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: