Skip to content

Unhelpful feedback in some cases? #95

Backlog

Description

@patritzenfeld

last week's task configuration contains:

specifications:
  - 'brother(X, Y): brother(peter, mary), brother(peter, luke),
     brother(luke, mary), brother(luke, peter), brother(paul, sandra)'

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.

Activity

  1. jvoigtlaender commented on Dec 3, 2026

    @jvoigtlaender
    Member

    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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions