-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add annotation for false positives and annotate first few problem types
- Loading branch information
1 parent
04ce087
commit 8c7c70f
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
autograder-core/src/main/java/de/firemage/autograder/core/HasFalsePositives.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package de.firemage.autograder.core; | ||
|
||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
/** | ||
* Marker annotation for problem types that may report false positives. | ||
*/ | ||
@Target({ElementType.FIELD}) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface HasFalsePositives { | ||
} |
47 changes: 47 additions & 0 deletions
47
autograder-core/src/main/java/de/firemage/autograder/core/ProblemType.java
This file contains 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