Skip to content

Commit

Permalink
feat: update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-neil-1206 committed Nov 22, 2024
1 parent 22bd415 commit c2782a2
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@ This poc provides a basic structure for building proof tasks that:

```json
{
"dlp_id": 1234, // DLP ID is found in the Root Network contract after the DLP is registered
"valid": false, // A single boolean to summarize if the file is considered valid in this DLP
"score": 0.7614457831325301, // A score between 0 and 1 for the file, used to determine how valuable the file is. This can be an aggregation of the individual scores below.
"authenticity": 1.0, // A score between 0 and 1 to rate if the file has been tampered with
"ownership": 1.0, // A score between 0 and 1 to verify the ownership of the file
"quality": 0.6024096385542169, // A score between 0 and 1 to show the quality of the file
"uniqueness": 0, // A score between 0 and 1 to show unique the file is, compared to others in the DLP
"attributes": { // Custom attributes that can be added to the proof to provide extra context about the encrypted file
"total_score": 0.5,
"score_threshold": 0.83,
"email_verified": true
}
"dlp_id": 5,
"valid": true,
"score": 0.7614457831325301,
"time_minimums": 1.0,
"time_correlation": 1.0,
"time_distribution": 1.0,
"repeat_anwsers": 1.0,
"both_sides": 0,
"model_distribution": 0.0,
"poison_data": 0.0,
"uniqueness": 0.0
}
```

Expand Down

0 comments on commit c2782a2

Please sign in to comment.