Skip to content

Commit

Permalink
chore: fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Sep 13, 2024
1 parent cf5ecb6 commit 83b507c
Show file tree
Hide file tree
Showing 7 changed files with 150 additions and 150 deletions.
44 changes: 22 additions & 22 deletions tests/__mocks__/results/content-evaluator-results.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"multiplier": 1
},
"relevance": 0.8,
"reward": 3.36
"reward": 2.128
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948930217"
Expand All @@ -44,7 +44,7 @@
"multiplier": 1
},
"relevance": 0.8,
"reward": 2.56
"reward": 1.688
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949201722"
Expand Down Expand Up @@ -77,7 +77,7 @@
"multiplier": 1
},
"relevance": 0.8,
"reward": 11.36
"reward": 6.136
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949203681"
Expand All @@ -101,7 +101,7 @@
"multiplier": 1
},
"relevance": 0.8,
"reward": 1.44
"reward": 1.032
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949633751"
Expand All @@ -125,7 +125,7 @@
"multiplier": 1
},
"relevance": 0.8,
"reward": 1.28
"reward": 0.936
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949639054"
Expand All @@ -149,7 +149,7 @@
"multiplier": 1
},
"relevance": 0.8,
"reward": 8.16
"reward": 4.528
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949642845"
Expand Down Expand Up @@ -209,7 +209,7 @@
"multiplier": 1
},
"relevance": 1,
"reward": 6.1
"reward": 3.55
},
"type": "ISSUE_SPECIFICATION",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22"
Expand All @@ -233,7 +233,7 @@
"multiplier": 1
},
"relevance": 1,
"reward": 0.7
"reward": 0.52
},
"type": "PULL_COLLABORATOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949021356"
Expand All @@ -257,7 +257,7 @@
"multiplier": 1
},
"relevance": 1,
"reward": 1.2
"reward": 0.83
},
"type": "PULL_COLLABORATOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949196677"
Expand Down Expand Up @@ -326,13 +326,13 @@
"multiplier": 1
},
"relevance": 1,
"reward": 65
"reward": 27.3
},
"type": "PULL_COLLABORATOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949196678"
}
],
"total": 101.16,
"total": 48.648,
"userId": 4975670
},
"gitcoindev": {
Expand Down Expand Up @@ -404,7 +404,7 @@
"multiplier": 2
},
"relevance": 1,
"reward": 4
"reward": 2.83
},
"type": "PULL_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949044575"
Expand All @@ -428,7 +428,7 @@
"multiplier": 2
},
"relevance": 1,
"reward": 6
"reward": 4
},
"type": "PULL_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949046925"
Expand All @@ -438,7 +438,7 @@
"multiplier": 1,
"reward": 37.5
},
"total": 47.5,
"total": 44.33,
"userId": 88761781
},
"molecula451": {
Expand Down Expand Up @@ -471,7 +471,7 @@
"multiplier": 0.25
},
"relevance": 0.8,
"reward": 0.32
"reward": 0.208
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948916343"
Expand All @@ -495,7 +495,7 @@
"multiplier": 0.25
},
"relevance": 0.8,
"reward": 0.1
"reward": 0.08
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948989989"
Expand All @@ -519,7 +519,7 @@
"multiplier": 0.25
},
"relevance": 0.8,
"reward": 0.28
"reward": 0.192
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949195772"
Expand All @@ -543,7 +543,7 @@
"multiplier": 0.25
},
"relevance": 0.8,
"reward": 0.24
"reward": 0.168
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949564869"
Expand All @@ -567,7 +567,7 @@
"multiplier": 0.25
},
"relevance": 0.8,
"reward": 0.62
"reward": 0.368
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949635137"
Expand Down Expand Up @@ -615,7 +615,7 @@
"multiplier": 0.25
},
"relevance": 1,
"reward": 0.025
"reward": 0.03
},
"type": "PULL_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949038563"
Expand All @@ -639,13 +639,13 @@
"multiplier": 0.25
},
"relevance": 1,
"reward": 0.45
"reward": 0.29
},
"type": "PULL_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949044855"
}
],
"total": 2.075,
"total": 1.376,
"userId": 41552663
}
}
44 changes: 22 additions & 22 deletions tests/__mocks__/results/formatting-evaluator-results.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"multiplier": 1
},
"reward": 4.2
"reward": 2.66
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948930217"
Expand All @@ -42,7 +42,7 @@
},
"multiplier": 1
},
"reward": 3.2
"reward": 2.11
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949201722"
Expand Down Expand Up @@ -74,7 +74,7 @@
},
"multiplier": 1
},
"reward": 14.2
"reward": 7.67
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949203681"
Expand All @@ -97,7 +97,7 @@
},
"multiplier": 1
},
"reward": 1.8
"reward": 1.29
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949633751"
Expand All @@ -120,7 +120,7 @@
},
"multiplier": 1
},
"reward": 1.6
"reward": 1.17
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949639054"
Expand All @@ -143,7 +143,7 @@
},
"multiplier": 1
},
"reward": 10.2
"reward": 5.66
},
"type": "ISSUE_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949642845"
Expand Down Expand Up @@ -202,7 +202,7 @@
},
"multiplier": 1
},
"reward": 6.1
"reward": 3.55
},
"type": "ISSUE_SPECIFICATION",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22"
Expand All @@ -225,7 +225,7 @@
},
"multiplier": 1
},
"reward": 0.7
"reward": 0.52
},
"type": "PULL_COLLABORATOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949021356"
Expand All @@ -248,7 +248,7 @@
},
"multiplier": 1
},
"reward": 1.2
"reward": 0.83
},
"type": "PULL_COLLABORATOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949196677"
Expand Down Expand Up @@ -316,13 +316,13 @@
},
"multiplier": 1
},
"reward": 65
"reward": 27.3
},
"type": "PULL_COLLABORATOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949196678"
}
],
"total": 108.2,
"total": 52.76,
"userId": 4975670
},
"gitcoindev": {
Expand Down Expand Up @@ -391,7 +391,7 @@
},
"multiplier": 2
},
"reward": 4
"reward": 2.83
},
"type": "PULL_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949044575"
Expand All @@ -414,7 +414,7 @@
},
"multiplier": 2
},
"reward": 6
"reward": 4
},
"type": "PULL_AUTHOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949046925"
Expand All @@ -424,7 +424,7 @@
"multiplier": 1,
"reward": 37.5
},
"total": 47.5,
"total": 44.33,
"userId": 88761781
},
"molecula451": {
Expand Down Expand Up @@ -456,7 +456,7 @@
},
"multiplier": 0.25
},
"reward": 0.4
"reward": 0.26
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948916343"
Expand All @@ -479,7 +479,7 @@
},
"multiplier": 0.25
},
"reward": 0.125
"reward": 0.1
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948989989"
Expand All @@ -502,7 +502,7 @@
},
"multiplier": 0.25
},
"reward": 0.35
"reward": 0.24
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949195772"
Expand All @@ -525,7 +525,7 @@
},
"multiplier": 0.25
},
"reward": 0.3
"reward": 0.21
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949564869"
Expand All @@ -548,7 +548,7 @@
},
"multiplier": 0.25
},
"reward": 0.775
"reward": 0.46
},
"type": "ISSUE_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949635137"
Expand Down Expand Up @@ -594,7 +594,7 @@
},
"multiplier": 0.25
},
"reward": 0.025
"reward": 0.03
},
"type": "PULL_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949038563"
Expand All @@ -617,13 +617,13 @@
},
"multiplier": 0.25
},
"reward": 0.45
"reward": 0.29
},
"type": "PULL_CONTRIBUTOR",
"url": "https://github.com/ubiquibot/comment-incentives/pull/25#issuecomment-1949044855"
}
],
"total": 2.475,
"total": 1.64,
"userId": 41552663
}
}
Loading

0 comments on commit 83b507c

Please sign in to comment.