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

Retry logic when "wheel" is not good enough #2

Merged
17 commits merged into from
Sep 18, 2024
Merged

Retry logic when "wheel" is not good enough #2

17 commits merged into from
Sep 18, 2024

Commits on Sep 13, 2024

  1. Add (failing) test for retry logic

    * Also add manual serialisation of Proof + roundtrip test as it cannot
    be automatically derived anymore
    * Write a test that crashes because proof cannot be generated
    * Add a retryCount field for the Proof to implement the logic
    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    7166769 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    507f83e View commit details
    Browse the repository at this point in the history
  3. Retry proof an unbounded number of times

    Property is a bit long to run as it now needs to repeat the whole
    proving process several times for a small set.
    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    bf67953 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29d86bc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b59ad3e View commit details
    Browse the repository at this point in the history
  6. Replace State monad with ST computation

    Even without benchmark, it's obvious from running tests State monad
    will be unbearably slow
    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    12590e7 View commit details
    Browse the repository at this point in the history
  7. Bound DFS with number of hashes in the "small" set case

    This completely ditch ST or State monad based computation which are
    way too expensive.
    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e486559 View commit details
    Browse the repository at this point in the history
  8. Use different bounds for nr. of hash depending on honest set size

    Note the test case does not actually matches the expected theoretical
    values. The average and max number of proof run should be 1 when n_p
    is greater than λ³ but it's not the case.
    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    ea49f26 View commit details
    Browse the repository at this point in the history
  9. Update some benchmarks

    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    35716c7 View commit details
    Browse the repository at this point in the history
  10. Update test application

    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    0db1d97 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2fa1105 View commit details
    Browse the repository at this point in the history
  12. Benchmark verification time

    Also improve readability of benchmarks' label
    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    7e21883 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9f634d1 View commit details
    Browse the repository at this point in the history
  14. Edit help

    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    aa0ca13 View commit details
    Browse the repository at this point in the history
  15. Remove unneeded package

    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    824418d View commit details
    Browse the repository at this point in the history
  16. Fix warnings

    abailly committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    2dc09eb View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c9240f2 View commit details
    Browse the repository at this point in the history