Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

feat: native threshold circuit #347

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Conversation

brech1
Copy link
Member

@brech1 brech1 commented Aug 30, 2023

Description

This PR aims removes the comparison check for the bandada group score threshold from the cli crate and implements the Threshold circuit to verify the score value.

Related Issues

  • #345

Changes

  • Add num_rational dependency to the eigentrust lib to create a BigRational.
  • Parse the score values loaded from the file and implement the native Threshold circuit to validate the score.

@brech1 brech1 marked this pull request as ready for review August 31, 2023 12:22
eigentrust/src/lib.rs Outdated Show resolved Hide resolved
eigentrust/src/lib.rs Outdated Show resolved Hide resolved
@brech1 brech1 force-pushed the feat/native-threshold-circuit branch from a9f6b1c to 1c7275c Compare September 6, 2023 00:51
@brech1
Copy link
Member Author

brech1 commented Sep 6, 2023

Thanks for the review, I thought the threshold only applied to bandada groups, but after this review and today's meeting I understand it's part of the post processing.

@lazovicff lazovicff self-requested a review September 6, 2023 09:28
@lazovicff lazovicff merged commit 1cab80b into master Sep 6, 2023
1 check passed
@brech1 brech1 deleted the feat/native-threshold-circuit branch September 6, 2023 13:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants