Skip to content

Heuristically detect if a .interaction sample is inverted #446

Description

@Matistjati

Currently, it's easy to mess this up. Example: https://open.kattis.com/problems/absolutedistanceplan

The thing that makes it so hard is that we don't make it clear whether the sample interaction is from the perspective of the judge or the contestant (without reading the spec, which not many authors do). It would be nice if we could give some warning without having a too-high false positive rate.

Some heuristics:

  • The judge rarely starts a line with ? or !
  • The interaction typically starts with the judge writing something and ends with the contestant writing something. (This is much less reliable, though)

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