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 0bc7c30 commit fcea871
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 fcea871

Please sign in to comment.