Download Rankings with OpenRank SDK
Downloading the rankings after running the OpenRank compute request
OpenRank allows you to download scores from any historical compute job done by the compute nodes. In order to downloading the scores, use the following command:
openrank download-scores [compute-id] --out-dir="./scores"
This will download scores computed in job with id: [compute-id], and save it into ./scores
folder. The folder structure corresponding to the template datasets:
/scores
degen.csv
jamfrens.csv
openrank.csv
small.csv
Each file in /scores folder corresponds to each file in /trust folder for this specific compute job.
Verifying the results
openrank
gives you an option to verify these scores locally, with following command:
openrank verify-local ./trust/degen.csv ./seed/degen.csv ./scores/degen.csv
This command will run one iteration of EigenTrust against the given scores and output the verification result in console.
For more information about the CLI tool and protocol in general, see our GitHub readme: https://github.com/openrankprotocol/openrank-tee/blob/main/sdk/README.md https://github.com/openrankprotocol/openrank-tee/blob/main/README.md
Last updated