-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: updated tests to version 0.6.0 of nada_dsl * chore: updated examples to version 0.6.0 of nada_dsl * chore: version bump * chore: update poetry.lock
- Loading branch information
Showing
75 changed files
with
1,262 additions
and
2,427 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 |
---|---|---|
@@ -1,35 +1,18 @@ | ||
--- | ||
program: broadcasting | ||
inputs: | ||
B_1: | ||
SecretInteger: "3" | ||
A_0: | ||
SecretInteger: "3" | ||
C_1: | ||
SecretInteger: "3" | ||
B_0: | ||
SecretInteger: "3" | ||
D_0: | ||
SecretInteger: "3" | ||
C_2: | ||
SecretInteger: "3" | ||
C_0: | ||
SecretInteger: "3" | ||
A_2: | ||
SecretInteger: "3" | ||
A_1: | ||
SecretInteger: "3" | ||
D_1: | ||
SecretInteger: "3" | ||
B_2: | ||
SecretInteger: "3" | ||
D_2: | ||
SecretInteger: "3" | ||
|
||
B_1: 3 | ||
A_0: 3 | ||
C_1: 3 | ||
B_0: 3 | ||
D_0: 3 | ||
C_2: 3 | ||
C_0: 3 | ||
A_2: 3 | ||
A_1: 3 | ||
D_1: 3 | ||
B_2: 3 | ||
D_2: 3 | ||
expected_outputs: | ||
my_output_1: | ||
SecretInteger: "-3" | ||
my_output_2: | ||
SecretInteger: "-3" | ||
my_output_0: | ||
SecretInteger: "-3" | ||
my_output_1: -3 | ||
my_output_2: -3 | ||
my_output_0: -3 |
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 |
---|---|---|
@@ -1,20 +1,10 @@ | ||
--- | ||
program: dot_product | ||
inputs: | ||
|
||
A_0: | ||
SecretInteger: "3" | ||
A_1: | ||
SecretInteger: "3" | ||
A_2: | ||
SecretInteger: "3" | ||
B_0: | ||
SecretInteger: "3" | ||
B_1: | ||
SecretInteger: "3" | ||
B_2: | ||
SecretInteger: "3" | ||
|
||
A_0: 3 | ||
A_1: 3 | ||
A_2: 3 | ||
B_0: 3 | ||
B_1: 3 | ||
B_2: 3 | ||
expected_outputs: | ||
my_output: | ||
SecretInteger: "27" | ||
my_output: 27 |
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 |
---|---|---|
@@ -1,24 +1,13 @@ | ||
--- | ||
program: determinant | ||
inputs: | ||
A_0_0: | ||
SecretInteger: "1" | ||
A_0_1: | ||
SecretInteger: "0" | ||
A_0_2: | ||
SecretInteger: "0" | ||
A_1_0: | ||
SecretInteger: "0" | ||
A_1_1: | ||
SecretInteger: "2" | ||
A_1_2: | ||
SecretInteger: "0" | ||
A_2_0: | ||
SecretInteger: "0" | ||
A_2_1: | ||
SecretInteger: "0" | ||
A_2_2: | ||
SecretInteger: "3" | ||
A_0_0: 1 | ||
A_0_1: 0 | ||
A_0_2: 0 | ||
A_1_0: 0 | ||
A_1_1: 2 | ||
A_1_2: 0 | ||
A_2_0: 0 | ||
A_2_1: 0 | ||
A_2_2: 3 | ||
expected_outputs: | ||
my_output: | ||
Integer: "6" | ||
my_output: 6 |
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 |
---|---|---|
@@ -1,24 +1,13 @@ | ||
--- | ||
program: determinant | ||
inputs: | ||
A_0_0: | ||
SecretInteger: "1" | ||
A_0_1: | ||
SecretInteger: "2" | ||
A_0_2: | ||
SecretInteger: "3" | ||
A_1_0: | ||
SecretInteger: "4" | ||
A_1_1: | ||
SecretInteger: "5" | ||
A_1_2: | ||
SecretInteger: "6" | ||
A_2_0: | ||
SecretInteger: "7" | ||
A_2_1: | ||
SecretInteger: "8" | ||
A_2_2: | ||
SecretInteger: "10" | ||
A_0_0: 1 | ||
A_0_1: 2 | ||
A_0_2: 3 | ||
A_1_0: 4 | ||
A_1_1: 5 | ||
A_1_2: 6 | ||
A_2_0: 7 | ||
A_2_1: 8 | ||
A_2_2: 10 | ||
expected_outputs: | ||
my_output: | ||
Integer: "-3" | ||
my_output: -3 |
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 |
---|---|---|
@@ -1,24 +1,13 @@ | ||
--- | ||
program: determinant | ||
inputs: | ||
A_0_1: | ||
SecretInteger: "3" | ||
A_2_2: | ||
SecretInteger: "3" | ||
A_1_0: | ||
SecretInteger: "3" | ||
A_1_2: | ||
SecretInteger: "3" | ||
A_2_0: | ||
SecretInteger: "3" | ||
A_0_0: | ||
SecretInteger: "3" | ||
A_1_1: | ||
SecretInteger: "3" | ||
A_2_1: | ||
SecretInteger: "3" | ||
A_0_2: | ||
SecretInteger: "3" | ||
A_0_1: 3 | ||
A_2_2: 3 | ||
A_1_0: 3 | ||
A_1_2: 3 | ||
A_2_0: 3 | ||
A_0_0: 3 | ||
A_1_1: 3 | ||
A_2_1: 3 | ||
A_0_2: 3 | ||
expected_outputs: | ||
my_output: | ||
Integer: "0" | ||
my_output: 0 |
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 |
---|---|---|
@@ -1,42 +1,22 @@ | ||
--- | ||
program: gauss_jordan | ||
inputs: | ||
A_0_0: | ||
SecretInteger: "2" | ||
A_0_1: | ||
SecretInteger: "4" | ||
A_0_2: | ||
SecretInteger: "6" | ||
A_1_0: | ||
SecretInteger: "1" | ||
A_1_1: | ||
SecretInteger: "3" | ||
A_1_2: | ||
SecretInteger: "5" | ||
A_2_0: | ||
SecretInteger: "3" | ||
A_2_1: | ||
SecretInteger: "1" | ||
A_2_2: | ||
SecretInteger: "2" | ||
B: | ||
Integer: "456" | ||
A_0_0: 2 | ||
A_0_1: 4 | ||
A_0_2: 6 | ||
A_1_0: 1 | ||
A_1_1: 3 | ||
A_1_2: 5 | ||
A_2_0: 3 | ||
A_2_1: 1 | ||
A_2_2: 2 | ||
B: 456 | ||
expected_outputs: | ||
my_output_0_0: | ||
Integer: "1" | ||
my_output_0_1: | ||
Integer: "0" | ||
my_output_0_2: | ||
Integer: "0" | ||
my_output_1_0: | ||
Integer: "0" | ||
my_output_1_1: | ||
Integer: "1" | ||
my_output_1_2: | ||
Integer: "0" | ||
my_output_2_0: | ||
Integer: "0" | ||
my_output_2_1: | ||
Integer: "0" | ||
my_output_2_2: | ||
Integer: "1" | ||
my_output_0_0: 1 | ||
my_output_0_1: 0 | ||
my_output_0_2: 0 | ||
my_output_1_0: 0 | ||
my_output_1_1: 1 | ||
my_output_1_2: 0 | ||
my_output_2_0: 0 | ||
my_output_2_1: 0 | ||
my_output_2_2: 1 |
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 |
---|---|---|
@@ -1,38 +1,19 @@ | ||
--- | ||
program: linear_regression | ||
inputs: | ||
A_0_0: | ||
SecretInteger: "-256" | ||
A_0_1: | ||
SecretInteger: "-199" | ||
A_0_2: | ||
SecretInteger: "-142" | ||
A_1_0: | ||
SecretInteger: "-85" | ||
A_1_1: | ||
SecretInteger: "-28" | ||
A_1_2: | ||
SecretInteger: "28" | ||
A_2_0: | ||
SecretInteger: "85" | ||
A_2_1: | ||
SecretInteger: "142" | ||
A_2_2: | ||
SecretInteger: "256" | ||
b_0: | ||
SecretInteger: "-256" | ||
b_1: | ||
SecretInteger: "-199" | ||
b_2: | ||
SecretInteger: "-142" | ||
# lambda_0: | ||
# Integer: "1" | ||
A_0_0: -256 | ||
A_0_1: -199 | ||
A_0_2: -142 | ||
A_1_0: -85 | ||
A_1_1: -28 | ||
A_1_2: 28 | ||
A_2_0: 85 | ||
A_2_1: 142 | ||
A_2_2: 256 | ||
b_0: -256 | ||
b_1: -199 | ||
b_2: -142 | ||
expected_outputs: | ||
b: | ||
SecretInteger: "330643400256" | ||
w_0: | ||
SecretInteger: "1102041164640" | ||
w_1: | ||
SecretInteger: "-993683999568" | ||
w_2: | ||
SecretInteger: "1868226984" | ||
b: 330643400256 | ||
w_0: 1102041164640 | ||
w_1: -993683999568 | ||
w_2: 1868226984 |
51 changes: 16 additions & 35 deletions
51
examples/linear_regression/tests/linear_regression_1.yaml
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 |
---|---|---|
@@ -1,38 +1,19 @@ | ||
--- | ||
program: linear_regression | ||
inputs: | ||
A_0_0: | ||
SecretInteger: "-256" | ||
A_0_1: | ||
SecretInteger: "-199" | ||
A_0_2: | ||
SecretInteger: "-142" | ||
A_1_0: | ||
SecretInteger: "-85" | ||
A_1_1: | ||
SecretInteger: "-28" | ||
A_1_2: | ||
SecretInteger: "28" | ||
A_2_0: | ||
SecretInteger: "85" | ||
A_2_1: | ||
SecretInteger: "142" | ||
A_2_2: | ||
SecretInteger: "256" | ||
b_0: | ||
SecretInteger: "-256" | ||
b_1: | ||
SecretInteger: "-199" | ||
b_2: | ||
SecretInteger: "-142" | ||
# lambda_0: | ||
# Integer: "1" | ||
A_0_0: -256 | ||
A_0_1: -199 | ||
A_0_2: -142 | ||
A_1_0: -85 | ||
A_1_1: -28 | ||
A_1_2: 28 | ||
A_2_0: 85 | ||
A_2_1: 142 | ||
A_2_2: 256 | ||
b_0: -256 | ||
b_1: -199 | ||
b_2: -142 | ||
expected_outputs: | ||
b: | ||
SecretInteger: "330643400256" | ||
w_0: | ||
SecretInteger: "1102041164640" | ||
w_1: | ||
SecretInteger: "-993683999568" | ||
w_2: | ||
SecretInteger: "1868226984" | ||
b: 330643400256 | ||
w_0: 1102041164640 | ||
w_1: -993683999568 | ||
w_2: 1868226984 |
Oops, something went wrong.