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
forward
diagram answers the former with a prefix tree structure, while abackward
diagram 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
forward
andbackward
prefix trees will provide information on how different the answers for the two questions from above are.Addendum
An example of a
forward
treeAn example of a
backward
tree