# Download Rankings with OpenRank SDK

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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openrank.com/openrank-sdk/download-rankings-with-openrank-sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
