Skip to content

Commit

Permalink
Changing to less than rank.
Browse files Browse the repository at this point in the history
Signed-off-by: jzonthemtn <[email protected]>
  • Loading branch information
jzonthemtn committed Dec 12, 2024
1 parent c7691e7 commit 57a530c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,7 @@ public Map<Integer, Double> getRankAggregatedClickThrough() throws Exception {

}

// TODO: Should this be LTE or just LT? Is rank zero-based?
for(int rank = 0; rank <= parameters.getMaxRank(); rank++) {
for(int rank = 0; rank < parameters.getMaxRank(); rank++) {

if(impressionCounts.containsKey(rank)) {

Expand Down

0 comments on commit 57a530c

Please sign in to comment.