-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from NillionNetwork/ex/cardio-risk
add cardio risk example
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Cardio Risk | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
import TestProgram from '@site/src/components/TestProgram/index'; | ||
|
||
The cardio risk example program returns a risk score that depends on private checks. | ||
|
||
<Tabs> | ||
|
||
<TabItem value="program" label="Nada program" default> | ||
```python reference showGithubLink | ||
https://github.com/NillionNetwork/nada-by-example/blob/main/src/cardio_risk.py | ||
``` | ||
</TabItem> | ||
|
||
<TabItem value="test-0" label="Test 0"> | ||
```yaml reference showGithubLink | ||
https://github.com/NillionNetwork/nada-by-example/blob/main/tests/cardio_risk_0_test.yaml | ||
``` | ||
</TabItem> | ||
|
||
<TabItem value="test-1" label="Test 1"> | ||
```yaml reference showGithubLink | ||
https://github.com/NillionNetwork/nada-by-example/blob/main/tests/cardio_risk_1_test.yaml | ||
``` | ||
</TabItem> | ||
|
||
<TabItem value="test-2" label="Test 2"> | ||
```yaml reference showGithubLink | ||
https://github.com/NillionNetwork/nada-by-example/blob/main/tests/cardio_risk_2_test.yaml | ||
``` | ||
</TabItem> | ||
|
||
<TabItem value="test-3" label="Test 3"> | ||
```yaml reference showGithubLink | ||
https://github.com/NillionNetwork/nada-by-example/blob/main/tests/cardio_risk_3_test.yaml | ||
``` | ||
</TabItem> | ||
</Tabs> | ||
|
||
<TestProgram programName="cardio_risk" testFileName="cardio_risk_0_test"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters