# Race Example

### Example Scenario

Let's consider a forecasting event where the entry fee is $5 per participant and we have 5 participants (A, B, C, D, and E) in total. This means we collect a total of $25 in entry fees.

Now let's break down how this total entry fee would be distributed:

* 5% goes to the Cracers platform as a rental fee: 0.05 \* $25 = $1.25
* 5% goes to the best score of the event: 0.05 \* $25 = $1.25
* For this example, set royalties (x) are 0%, so nothing is deducted for this.

So, after these deductions, we have a reward pool of $22.50 ($25 - $1.25 - $1.25).

Now, we distribute this reward pool using the inverted Score-based Reward system:

<table data-full-width="true"><thead><tr><th width="140" align="center">Participant</th><th width="139" align="center">Score</th><th width="168" align="center">Inverse Score</th><th width="258" align="center">Proportion of Total Inverse</th><th align="center">Reward</th></tr></thead><tbody><tr><td align="center">A</td><td align="center">20</td><td align="center">(1/20)=0.05</td><td align="center">(0.05/0.125)=0.4</td><td align="center">(0.4*22.50)=$9.00</td></tr><tr><td align="center">B</td><td align="center">25</td><td align="center">0.04</td><td align="center">0.32</td><td align="center">$7.20</td></tr><tr><td align="center">C</td><td align="center">50</td><td align="center">0.02</td><td align="center">0.16</td><td align="center">$3.60</td></tr><tr><td align="center">D</td><td align="center">100</td><td align="center">0.01</td><td align="center">0.08</td><td align="center">$1.80</td></tr><tr><td align="center">E</td><td align="center">200</td><td align="center">0.005</td><td align="center">0.04</td><td align="center">$0.90</td></tr><tr><td align="center">Total</td><td align="center">-</td><td align="center">0.125</td><td align="center">1.00</td><td align="center">$22.50</td></tr></tbody></table>

As seen in the table, Participant A who has the lowest score (closest forecast), receives the highest reward, while Participant E with the highest score (furthest forecast), gets the smallest reward. This system ensures a fair and attractive reward distribution among participants, focusing on the accuracy of their forecasts.

Also, Participant A, who has the closest forecast, would be considered the winner of the event and thus receive an additional reward of $1.25 (5% of the total entry fee). This means Participant A's total earnings would be $9.00 (from the reward pool) + $1.25 (winner's reward) = $10.25

This comprehensive and fair system of entry fee distribution and reward calculation ensures a transparent, engaging, and rewarding experience for all participants!


---

# 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://whitepaper.cracers.com/races/race-example.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.
