Testing:tree structures#1
Closed
v1ta111 wants to merge 2 commits into
Closed
Conversation
martinkunev
approved these changes
Jan 31, 2024
Author
|
I mark this PR as a draft. |
|
why? don't you think it can be used as it is? why not?
Am 3. Februar 2024 09:29:20 MEZ schrieb Vitalii Chyhirov ***@***.***>:
…I mark this PR as a draft.
see: [PR 2: example of generating the tree](#2)
--
Reply to this email directly or view it on GitHub:
#1 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@mensch72 please take a look to see if the changes make sense.
Rationale
when we compare the outputs of two programs in testing the two outcomes are possible
The former outcome has an information gain of 0: tests may be wrong and dual to bugs in programs
The latter outcome has information gain greater or equal to zero by default.
These changes should reduce the chances of zero information gain when some tests are red.
Two questions
Proposed output structures are answering two questions
A
forwarddiagram answers the former with a prefix tree structure, while abackwarddiagram answers the latter.So what?
When we compare the outputs of simulations we will compare two prefix trees. And in a case when there's a mismatch, the case's
forwardandbackwardprefix trees will provide information on how different the answers for the two questions from above are.Addendum
An example of a
forwardtreeAn example of a
backwardtree