From b62f546e4a9a1210d7a9b6998288db2a2f47656b Mon Sep 17 00:00:00 2001 From: mhucka Date: Wed, 8 Jul 2026 22:59:20 +0000 Subject: [PATCH 1/2] Mark test_kpoint_isdf_symmetries() as flaky This function occasionally fails to converge. --- .../resource_estimates/pbc/thc/factorizations/isdf_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py b/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py index 90589076c..af4bb7925 100644 --- a/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py +++ b/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py @@ -360,6 +360,7 @@ def get_complement(miller_indx, kmesh): @pytest.mark.skipif(not HAVE_DEPS_FOR_RESOURCE_ESTIMATES, reason='pyscf and/or jax not installed.') @pytest.mark.slow +@pytest.mark.flaky(reruns=1) def test_kpoint_isdf_symmetries(): cell = gto.Cell() cell.atom = """ From afabd2e90216f3d3570419a156ab8ec44944d101 Mon Sep 17 00:00:00 2001 From: Michael Hucka Date: Wed, 8 Jul 2026 16:09:09 -0700 Subject: [PATCH 2/2] Update src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- .../resource_estimates/pbc/thc/factorizations/isdf_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py b/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py index af4bb7925..741971681 100644 --- a/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py +++ b/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py @@ -360,7 +360,7 @@ def get_complement(miller_indx, kmesh): @pytest.mark.skipif(not HAVE_DEPS_FOR_RESOURCE_ESTIMATES, reason='pyscf and/or jax not installed.') @pytest.mark.slow -@pytest.mark.flaky(reruns=1) +@pytest.mark.flaky(retries=1) def test_kpoint_isdf_symmetries(): cell = gto.Cell() cell.atom = """