-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding links to elaborative testing #155
Conversation
@@ -229,6 +229,8 @@ the IEEE-754 specification. | |||
// %result: [[6, 8], [10, 12]] | |||
``` | |||
|
|||
[More Examples](https://github.com/sdasgup3/stablehlo/blob/main/stablehlo/tests/interpret_add.mlir) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also what do you think about turning "Examples` into a link? We don't really need to keep examples in the markdown file once we have exhaustive tests, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already thought about this and here are our thoughts:
We want to keep a short example right in the spec to demonstrate, using a trivial (no corner cases) example, the functioning of the op and ask the reader to follow the link for more detailed tests. I believe having that quick-example-view provides better experience. Having said that, I agree that the example section of spec should be concise: One representative should be enough to capture the high level behavior unless the there are multiple behaviors like bitwise ops.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
" believe having that quick-example-view provides better experience". Sounds good, let's give this a try and see how it works out.
4ebeaa9
to
0c4f0ec
Compare
@@ -229,6 +229,8 @@ the IEEE-754 specification. | |||
// %result: [[6, 8], [10, 12]] | |||
``` | |||
|
|||
[More Examples](https://github.com/sdasgup3/stablehlo/blob/main/stablehlo/tests/interpret_add.mlir) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
" believe having that quick-example-view provides better experience". Sounds good, let's give this a try and see how it works out.
Adding hyperlinks in spec to test-files having elaborative tests.
Adding hyperlinks in spec to test-files having elaborative tests.
fixes #36
The indent is to differentiate the added link to the following "Back to Ops" link.