You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A submission contains a mistake such that there's some pairs missing. The feedback in this case doesn't really help much:
No.
1 test was run
The following test case failed:
The result of the query "?- brother(X, Y)." is incorrect.
Your submission gives:
X = luke, Y = peter
X = peter, Y = luke
I think it would be better to also point out the mismatch with the test expectation as well.
One problem with changing this behavior is that sometimes the set of "correct/expected tuples" will contain "hidden data", such as people who were added behind the scenes to ensure generality. We don't want those items to appear in the feedback. (But maybe they can even now appear in the feedback, namely when they happen to be returned by the student's implementation and yet that implementation is not fully correct, e.g., misses some other pair?)
Activity
jvoigtlaender commentedon Dec 3, 2026
One problem with changing this behavior is that sometimes the set of "correct/expected tuples" will contain "hidden data", such as people who were added behind the scenes to ensure generality. We don't want those items to appear in the feedback. (But maybe they can even now appear in the feedback, namely when they happen to be returned by the student's implementation and yet that implementation is not fully correct, e.g., misses some other pair?)