-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix drepr inference; minor change in the backend interface
- Loading branch information
Binh Vu
committed
Mar 3, 2020
1 parent
74115e8
commit 966157c
Showing
55 changed files
with
1,208 additions
and
54 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,7 +1,7 @@ | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[package] | ||
name = "engine" | ||
version = "1.0.7" # ___PKG_VERSION___: DO NOT MODIFY the version here. Update it via version_manager.py! | ||
version = "1.0.8" # ___PKG_VERSION___: DO NOT MODIFY the version here. Update it via version_manager.py! | ||
authors = ["Binh Vu <[email protected]>"] | ||
edition = "2018" | ||
|
||
|
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
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
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
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
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
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
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
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 @@ | ||
pub mod test_infer_func; |
46 changes: 46 additions & 0 deletions
46
drepr/engine/tests/alignments/inference/resources/s01/assertion.json
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,46 @@ | ||
{ | ||
"alignments": [ | ||
{ | ||
"pair": [9, 8], | ||
"aligns": [ | ||
{"type": "range", "source": 9, "target": 8, "aligned_dims": [ | ||
{"source": 3, "target": 3}, {"source": 4, "target": 4} | ||
]} | ||
] | ||
}, | ||
{ | ||
"pair": [9, 0], | ||
"aligns": [ | ||
{"type": "range", "source": 9, "target": 0, "aligned_dims": [ | ||
{"source": 3, "target": 2} | ||
]} | ||
] | ||
}, | ||
{ | ||
"pair": [8, 1], | ||
"aligns": [ | ||
{"type": "range", "source": 8, "target": 1, "aligned_dims": [ | ||
{"source": 4, "target": 2} | ||
]} | ||
] | ||
}, | ||
{ | ||
"pair": [9, 1], | ||
"aligns": [ | ||
{"type": "range", "source": 9, "target": 1, "aligned_dims": [ | ||
{"source": 4, "target": 2} | ||
]} | ||
] | ||
} | ||
], | ||
"infer_funcs": [ | ||
{ | ||
"triple": [9, 8, 1], | ||
"aligns": [ | ||
{"type": "range", "source": 9, "target": 1, "aligned_dims": [ | ||
{"source": 4, "target": 2} | ||
]} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.