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

Duration Sampling #67

Merged
merged 9 commits into from
Apr 30, 2024
Merged

Conversation

derekpierre
Copy link
Member

@derekpierre derekpierre commented Mar 27, 2024

Depends on nucypher/nucypher#3491.

Before merging this PR there should be an update to the Pipfile to use nucypher branch v7.3.x after PR 3491 is merged.

Type of PR:

  • Bugfix
  • Feature
  • Documentation
  • Other

Required reviews:

  • 1
  • 2
  • 3

What this does:

High-level idea of the changes introduced in this PR.
List relevant API changes (if any), as well as related PRs and issues.

Allows optional duration parameter to be specified for the /bucket_sampling and /get_ursulas Porter endpoints.

Issues fixed/closed:

  • Fixes #...

Why it's needed:

Explain how this PR fits in the greater context of the NuCypher Network.
E.g., if this PR addresses a nucypher/productdev issue, let reviewers know!

Notes for reviewers:

What should reviewers focus on?
Is there a particular commit/function/section of your PR that requires more attention from reviewers?

@derekpierre derekpierre force-pushed the duration-sampling branch 2 times, most recently from 615b4fb to 68eb709 Compare April 29, 2024 20:39
@codecov-commenter
Copy link

codecov-commenter commented Apr 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.31%. Comparing base (5d6a416) to head (c1b7e65).

Additional details and impacted files
@@               Coverage Diff                @@
##           development      #67       +/-   ##
================================================
+ Coverage             0   87.31%   +87.31%     
================================================
  Files                0       18       +18     
  Lines                0      867      +867     
================================================
+ Hits                 0      757      +757     
- Misses               0      110      +110     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@derekpierre derekpierre changed the title [WIP] Duration Sampling Duration Sampling Apr 29, 2024
@derekpierre derekpierre self-assigned this Apr 29, 2024
@derekpierre derekpierre marked this pull request as ready for review April 29, 2024 21:13
…unts are managed by a separate test account manager instead of testerchain.
…longer because it wants the ursula ping check to complete before looking for other ursulas, so that the list of staking providers returned is mostly deterministic for the same random seed value.

Reduce stagger timout since ping already has a connection timeout of 3.05s from `nucypher`.
@derekpierre derekpierre merged commit 5a964fd into nucypher:development Apr 30, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

Fix Node Sampling to accomodate duration since deauthorization is a factor
4 participants