Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sinter's test_main_collect less flaky #492

Open
Strilanc opened this issue Feb 7, 2023 · 0 comments
Open

Make sinter's test_main_collect less flaky #492

Strilanc opened this issue Feb 7, 2023 · 0 comments

Comments

@Strilanc
Copy link
Collaborator

Strilanc commented Feb 7, 2023

data = ExistingData.from_file(d / "out.csv").data
            assert len(data) == 3
            for k, v in data.items():
                assert v.discards == 0
                assert v.errors <= 50
>               assert v.shots >= 1000
E               AssertionError: assert 948 >= 1000
E                +  where 948 = TaskStats(strong_id='69f2036fdc2ccc88b1da0138bb546f1582c230618d3d2083e9eaecc[60](https://github.com/quantumlib/Stim/actions/runs/4113718436/jobs/7100582378#step:9:61)c5e8800', decoder='pymatching', json_metadata={'path': '/tmp/tmpccue__43/3.stim'}, shots=948, errors=12, discards=0, seconds=0.3[61](https://github.com/quantumlib/Stim/actions/runs/4113718436/jobs/7100582378#step:9:62)).shots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant