Add roundtrip test functions skipping comparison with FlatTerm-decoded #4866
+94
−15
Garnix CI / check ghc984:byron-spec-chain:test:chain-rules-test [x86_64-linux]
succeeded
Feb 1, 2025 in 7m 9s
Run results
Build succeeded
Details
Last 100 lines of logs:
https://cache.nixos.org/7r17n9i4gwmm95mwpxc6gajq3g9w4ikz.narinfo
https://cache.garnix.io/7r17n9i4gwmm95mwpxc6gajq3g9w4ikz.narinfo
Running phase: unpackPhase
@nix {"action":"setPhase","phase":"unpackPhase"}
unpacking source archive /nix/store/x9c1lnmqk4dfabzcg1djf09j3n5vxkan-source-eras-byron-chain-executable-spec-test-chain-rules-test-root
source root is source-eras-byron-chain-executable-spec-test-chain-rules-test-root
Running phase: patchPhase
@nix {"action":"setPhase","phase":"patchPhase"}
Running phase: buildPhase
@nix {"action":"setPhase","phase":"buildPhase"}
/nix/store/nwvsywr2h68h9s9f1bms6paja214k16b-byron-spec-chain-test-chain-rules-test-1.0.1.0/bin:
patching script interpreter paths in /build/tmp.V53ERyCJgq/bin
Chain
Properties
Increasing slots: OK (0.13s)
✓ Increasing slots passed 100 tests.
trace length: empty 9% █▊··················
trace length: singleton 6% █▏··················
trace length: 100 6% █▏··················
trace length: [12, 22) 15% ███·················
trace length: [2, 12) 28% █████▌··············
trace length: [22, 32) 9% █▊··················
trace length: [32, 42) 6% █▏··················
trace length: [42, 52) 7% █▍··················
trace length: [52, 62) 4% ▊···················
trace length: [62, 72) 3% ▌···················
trace length: [72, 82) 6% █▏··················
trace length: [82, 92) 0% ····················
trace length: [92, 99) 1% ▏···················
Block issuers are delegates: OK (1.66s)
✓ Block issuers are delegates passed 300 tests.
trace length: empty 6% █▏··················
trace length: singleton 4% ▊···················
trace length: 100 4% ▋···················
trace length: [12, 22) 18% ███▋················
trace length: [2, 12) 24% ████▊···············
trace length: [22, 32) 13% ██▌·················
trace length: [32, 42) 8% █▌··················
trace length: [42, 52) 7% █▍··················
trace length: [52, 62) 4% ▊···················
trace length: [62, 72) 5% ▉···················
trace length: [72, 82) 4% ▊···················
trace length: [82, 92) 3% ▌···················
trace length: [92, 99) 0% ····················
Test abstractSize
AbstractSize - example - BlockHeader: OK
AbstractSize - example - BlockBody: OK
AbstractSize - example - Block: OK
AbstractSize - Block/Header/Body: OK (1.94s)
✓ AbstractSize - Block/Header/Body passed 50 tests.
Only valid signals are generated: OK (28.30s)
✓ Only valid signals are generated passed 200 tests.
Signers list is bounded by k : OK (2.64s)
✓ Signers list is bounded by k passed 300 tests.
We are generating reasonable Chain Traces: OK (4.87s)
✓ We are generating reasonable Chain Traces passed 200 tests.
there are more certificates than blocks 5% █··················· ✓ 1%
at most 75% of blocks have no certificates 19% ███▊················ ✓ 10%
at least 25% of delegates will delegate to this epoch 41% ████████▏··········· ✓ 25%
at least 50% of delegations will delegate to the next epoch 89% █████████████████▊·· ✓ 60%
at most 30% of certificates will self-delegate 24% ████▊··············· ✓ 10%
at least 25% delegates have multiple delegators 74% ██████████████▉····· ✓ 60%
some delegates have at least 5 corresponding delegators 32% ██████▎············· ✓ 20%
at most 50% of delegators change their delegation 17% ███▍················ ✓ 5%
some delegators have changed their delegation 5 or more times 32% ██████▎············· ✓ 20%
at most 25% of delegations are repeats 10% █▉·················· ✓ 2%
some delegations are repeated 10 or more times 38% ███████▌············ ✓ 30%
some blocks have 5 or more certificates 28% █████▋·············· ✓ 15%
there is at least one change of epoch in the trace 70% ██████████████······ ✓ 50%
there are at least 5 epoch changes in the trace 39% ███████▊············ ✓ 30%
All 9 tests passed (39.54s)
buildPhase completed in 39 seconds
Loading