# Risk Calculator

![](https://3593952043-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MXJvBuZds6XAeA6bQiG%2F-MYo8zFlsIb3oO9BMQ6F%2F-MYob_LGJNDH2X8FzZR2%2FScreenshot%202021-04-21%20at%206.58.33%20PM.png?alt=media\&token=10bf1be6-cd65-4f6c-bfa3-d4e3ff768e25)

The next example for on-device calculation is a risk calculator. John contributes background status and activity with no-peek, and then alerts and risk scores are delivered to John also using no-peek methods. The calculator can have inputs including John’s age, comorbidities, test results, data from phone sensors, as well as external data such as mobility, the caseload in the region, and so on. Further, the calculator can also be told the activity John expects to do:  Is it very vigorous, like going to a gym and for how long, and is the gym crowded? Is it indoors or outdoors? And is John going to spend time with other people who are vaccinated?  By taking this input, the risk calculator uses machine learning to calculate John’s risk.

The server sends these risk calculations in no peek form to John's phone so that he can conduct operations locally without the server knowing the end results. This maintains John’s privacy.<br>

![](https://3593952043-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MXJvBuZds6XAeA6bQiG%2F-MYoblX4l_8yDnMVnC1b%2F-MYobyLhR9aM11O38n7q%2FScreenshot%202021-04-21%20at%207.00.01%20PM.png?alt=media\&token=58662c5b-511b-4695-a7cb-4be53d2c28fc)

**References**

* [**COVID-driven Risk Profile**](https://www.researchgate.net/publication/345823059_COVID-driven_Risk_Profile)
* [**COVID-19 Outbreak Prediction and Analysis using Self Reported Symptoms**](https://arxiv.org/abs/2101.10266)
* [**Can Self Reported Symptoms Predict Daily COVID-19 Cases?**](https://arxiv.org/abs/2105.08321)
* [**https://www.symptomchallenge.org/**](https://www.symptomchallenge.org/)

{% embed url="<https://github.com/PrivateKit/CovidSymptomChallenge>" %}


---

# 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://prep.pathcheck.org/privacy-preserved-ai-for-healthcare/risk-calculator.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.
