Skip to content

Commit

Permalink
chore: reduce validity requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
shellzbt committed Jan 11, 2025
1 parent 78759f9 commit 47feaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my_proof/proof.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def generate(self) -> ProofResponse:
# Calculate overall score and validity
total_score = (0.8 * self.proof_response.quality + 0.2 * self.proof_response.uniqueness) * self.proof_response.authenticity
self.proof_response.score = min(total_score * number_examples / 10_000, 1)
self.proof_response.valid = total_score > 0.1
self.proof_response.valid = total_score > 0

# Additional (public) properties to include in the proof about the data
self.proof_response.attributes = {
Expand Down

0 comments on commit 47feaf3

Please sign in to comment.