Skip to content

M2 Test output #2

@JB273

Description

@JB273

Running Test M2 on Jupyter notebook 6.0.3 , output is not correct;

Test-M2: Median is correctly computed for even and odd number of available slots
enter the number of blocks you want to test: 10
current and last block numbers 11796 11817
wait until the new epoch begins at block number ... 11818
new epoch first block reached 11818 will begin testing
1iteration will begin ...
current block number 11818

KeyError Traceback (most recent call last)
in
----> 1 M2_test()

in M2_test()
31 if i['metrics'] == None:
32 continue
---> 33 by_shard_metrics = i['metrics']['by-shard']
34 slots = len(by_shard_metrics)
35 delegation = total_delegation / slots

KeyError: 'by-shard'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions