Skip to content

Commit

Permalink
Resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
johanah29 committed Sep 27, 2024
1 parent b4dd754 commit 229657f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public ContractConfig getConfig() {
@Override
public List<Contract> contracts() {
Long EXPIRATION_TIME = 3600L;
Double SCORE = 0.0;
ContractConfig contractConfig = getConfig();
// In this "internal" contract we can't express choices.
// Choices are contextual to a specific exercise.
Expand All @@ -78,7 +77,7 @@ public List<Contract> contracts() {
Expectation expectation = new Expectation();
expectation.setType(ARTICLE);
expectation.setName("Expect targets to read the article(s)");
expectation.setScore(SCORE);
expectation.setScore(0.0);
expectation.setExpirationTime(EXPIRATION_TIME);
ContractExpectations expectationsField = expectationsField(
"expectations", "Expectations", List.of(expectation)
Expand Down

0 comments on commit 229657f

Please sign in to comment.