From 4e6ae91ecbb8468ed140d412698213fa95d797fe Mon Sep 17 00:00:00 2001 From: EresDev Date: Thu, 18 Jul 2024 23:59:20 +0500 Subject: [PATCH] test: update output for unlisted html tags --- .../results/content-evaluator-results.json | 12 ++++++------ .../results/formatting-evaluator-results.json | 12 ++++++------ .../results/github-comment-results.json | 16 ++++++++-------- tests/__mocks__/results/output.html | 2 +- .../results/permit-generation-results.json | 14 +++++++------- 5 files changed, 28 insertions(+), 28 deletions(-) diff --git a/tests/__mocks__/results/content-evaluator-results.json b/tests/__mocks__/results/content-evaluator-results.json index 63152f82..418e709a 100644 --- a/tests/__mocks__/results/content-evaluator-results.json +++ b/tests/__mocks__/results/content-evaluator-results.json @@ -248,7 +248,7 @@ ] }, "0x4007": { - "total": 64.58, + "total": 60.96, "userId": 4975670, "comments": [ { @@ -386,7 +386,7 @@ }, "ol": { "count": 33, - "score": 1 + "score": 0 }, "li": { "count": 33, @@ -400,7 +400,7 @@ "wordValue": 0.1, "formattingMultiplier": 1 }, - "reward": 8.9, + "reward": 5.6, "relevance": 1 } }, @@ -463,7 +463,7 @@ }, "ul": { "count": 4, - "score": 1 + "score": 0 }, "li": { "count": 4, @@ -473,10 +473,10 @@ "wordValue": 0.1, "formattingMultiplier": 1 }, - "reward": 26.96, + "reward": 26.64, "relevance": 0.8 } } ] } -} +} \ No newline at end of file diff --git a/tests/__mocks__/results/formatting-evaluator-results.json b/tests/__mocks__/results/formatting-evaluator-results.json index 8b7401c9..b0256c1b 100644 --- a/tests/__mocks__/results/formatting-evaluator-results.json +++ b/tests/__mocks__/results/formatting-evaluator-results.json @@ -236,7 +236,7 @@ ] }, "0x4007": { - "total": 78.5, + "total": 74.8, "userId": 4975670, "comments": [ { @@ -368,7 +368,7 @@ }, "ol": { "count": 33, - "score": 1 + "score": 0 }, "li": { "count": 33, @@ -382,7 +382,7 @@ "wordValue": 0.1, "formattingMultiplier": 1 }, - "reward": 8.9 + "reward": 5.6 } }, { @@ -442,7 +442,7 @@ }, "ul": { "count": 4, - "score": 1 + "score": 0 }, "li": { "count": 4, @@ -452,9 +452,9 @@ "wordValue": 0.1, "formattingMultiplier": 1 }, - "reward": 33.7 + "reward": 33.3 } } ] } -} +} \ No newline at end of file diff --git a/tests/__mocks__/results/github-comment-results.json b/tests/__mocks__/results/github-comment-results.json index d8bbe35e..b7f370c2 100644 --- a/tests/__mocks__/results/github-comment-results.json +++ b/tests/__mocks__/results/github-comment-results.json @@ -252,7 +252,7 @@ "evaluationCommentHtml": "

[ 1.78 WXDAI ]

@molecula451
Contributions Overview
View Contribution Count Reward
Issue Comment 6 1.4
Review Comment 2 0.38
Conversation Incentives
Comment Formatting Relevance Reward
pavlovcik i think we need to update a bit the readme ![image_2024-02-16_131036879](https://github.com/ubiquibot/comme… dm what to whom?
0.375
content:
  p:
    count: 15
    score: 1
  img:
    count: 1
    score: 0
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.3
let us know when done
0.125
content:
  p:
    count: 5
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.1
https://github.com/ubiquibot/comment-incentives/actions/runs/793…
0.175
content:
  p:
    count: 7
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.14
@pavlovcik permitted with hard debug (tho no funds in the privat…
0.3
content:
  p:
    count: 12
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.24
pavlovcik i re-generated the X25519 to trigger the permit, what …
0.725
content:
  p:
    count: 29
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.58
sure thing
0.05
content:
  p:
    count: 2
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.04
indeed
0.025
content:
  p:
    count: 1
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.02
go to go pavlovick, we'll be using this one for test only or tes…
0.45
content:
  p:
    count: 18
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.36
" }, "0x4007": { - "total": 64.58, + "total": 60.96, "userId": 4975670, "comments": [ { @@ -390,7 +390,7 @@ }, "ol": { "count": 33, - "score": 1 + "score": 0 }, "li": { "count": 33, @@ -404,7 +404,7 @@ "wordValue": 0.1, "formattingMultiplier": 1 }, - "reward": 8.9, + "reward": 5.6, "relevance": 1 } }, @@ -467,7 +467,7 @@ }, "ul": { "count": 4, - "score": 1 + "score": 0 }, "li": { "count": 4, @@ -477,12 +477,12 @@ "wordValue": 0.1, "formattingMultiplier": 1 }, - "reward": 26.96, + "reward": 26.64, "relevance": 0.8 } } ], - "permitUrl": "https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiI2NDU4MDAwMDAwMDAwMDAwMDAwMCJ9LCJub25jZSI6IjEzOTgwNzc0NDc2OTc2NzY0NTA0ODk5MjU5NjcyODM3NDI0NzU0ODkxMTY5NDMxMDE4MzYyNTI4MjAzMTI5OTY5NTkwODgyMDgxNjEiLCJkZWFkbGluZSI6IjU3ODk2MDQ0NjE4NjU4MDk3NzExNzg1NDkyNTA0MzQzOTUzOTI2NjM0OTkyMzMyODIwMjgyMDE5NzI4NzkyMDAzOTU2NTY0ODE5OTY3In0sInRyYW5zZmVyRGV0YWlscyI6eyJ0byI6IjB4NEQwNzA0ZjQwMEQ1N0JhOTNlRWE4ODc2NUMzRmNEQkQ4MjZkQ0ZjNCIsInJlcXVlc3RlZEFtb3VudCI6IjY0NTgwMDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHhkOTUzMEYzZmJCRWExMWJlRDAxREMwOUU3OTMxOGYyZjIwMjIzNzE2Iiwic2lnbmF0dXJlIjoiMHhiOWRjNjk5ZGZhNjg0OWU0YzljYjMxODdmNjdhNmE3OWIzMmQyNDQzYmE2NWE5M2E5YTk4NTgxMmJkZmY5NmU1MDY5YTE1NTAzM2I3MTFmM2NkYjY5YzM3MWRmMmVmZGZiNTBhOTdiZGViZDE1MzEyODMwNjBjYWYyMzYzY2Y1NzFjIiwibmV0d29ya0lkIjoxMDB9XQ==", - "evaluationCommentHtml": "

[ 64.58 WXDAI ]

@0x4007
Contributions Overview
View Contribution Count Reward
Issue Specification 1 8.9
Issue Comment 6 27.2
Review Comment 3 28.48
Conversation Incentives
Comment Formatting Relevance Reward
Can somebody work on generating a new `X25519_PRIVATE_KEY … 1. Generate a new key 2. Encrypt a new `evmPrivateKeyEncrypted` (no funds!) and add to the org bot config 3. Add the shared test key to the `comment-incentives` readme. https://github.com/ubiquibot/comment-incentives/pull/21/commits/567419d9688e92edf698f64c697f1a7cafe1d02e _Originally posted by @pavlovcik in https://github.com/ubiquibot/comment-incentives/issues/19#issuecomment-1948876653_
8.9
content:
  p:
    count: 20
    score: 1
  code:
    count: 3
    score: 1
  ol:
    count: 33
    score: 1
  li:
    count: 33
    score: 1
  em:
    count: 6
    score: 0
wordValue: 0.1
formattingMultiplier: 1
1 8.9
Link below for conversation context. It was to me. Anyways you n…
4.2
content:
  p:
    count: 21
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 3.36
In the repository secrets I think I need to change the key to ma…
3
content:
  p:
    count: 15
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 2.4
I just changed it to `627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3… I hope that it doesn't break production for some reason (it should get it from Netlify secrets, but not sure if we implemented this correctly!) I fear that we might need to build a feature for this to support development key pair and production. Unfortunately I'm already winding down for the day so I'll leave you guys to try and investigate.
13.6
content:
  p:
    count: 67
    score: 1
  code:
    count: 1
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 10.88
I don't understand what you mean by this
1.6
content:
  p:
    count: 8
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 1.28
I'll investigate more on my computer later.
1.4
content:
  p:
    count: 7
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 1.12
Will it be an issue if I revert to the commit and secret that I … It was the production x25519 key in the GitHub repository secrets when it was working like eight hours ago. Posting this message before checking on my computer to get you before you log off.
10.2
content:
  p:
    count: 51
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 8.16
Need to document a private key too
0.7
content:
  p:
    count: 7
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 0.56
I was editing this right now but was too slow to push.
1.2
content:
  p:
    count: 12
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 0.96
I am quoting some code! <task-lists sortable=\"\"> <table class=\"d-block user-select-contain\" data-paste-markdow… <tbody class=\"d-block\"> <tr class=\"d-block\"> <td class=\"d-block comment-body markdown-body js-comment-body\"> <details open=\"\"> <summary> <b> <h3 dir=\"auto\"> <a href=\"https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiIyODAwMDAwMDAwMDAwMDAwMDAifSwibm9uY2UiOiIzODYyOTY0MDg5ODkzNzI1MzYwMjc5MjAyNzMxMjA2NzgzMTY0NDI2OTA3NTY2NTIxNzQ0NDkyNjQ1MTA0NTIyODU4Nzk1MjgzMDk0NCIsImRlYWRsaW5lIjoiNTc4OTYwNDQ2MTg2NTgwOTc3MTE3ODU0OTI1MDQzNDM5NTM5MjY2MzQ5OTIzMzI4MjAyODIwMTk3Mjg3OTIwMDM5NTY1NjQ4MTk5NjcifSwidHJhbnNmZXJEZXRhaWxzIjp7InRvIjoiMHgwZkMxYjkwOWJhOTI2NUE4NDZiODJDRjRDRTM1MmZjM2U3RWVCMkVEIiwicmVxdWVzdGVkQW1vdW50IjoiMjgwMDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHg0NENhMTVEYjEwMWZEMWMxOTQ0NjdEYjZBRjBjNjdDNkJiRjRBQjUxIiwic2lnbmF0dXJlIjoiMHhiMzE4MmIwNjJiMDJmMjEwZTIzN2UzODQxMDNmNGE4YTUwMDNjMmYyODhiMDY5Nzg4MTY1ZDkwOWY4ODZmYTMzNTM4MjJlYjA5MGI1ODdjMWFiNWFiOTNjNTVlZDhkOTdiYzM3YzBmZjZlZDJhMWRkM2U1NjQ4M2JlMzk5MWIwNTFjIiwibmV0d29ya0lkIjoxMDB9XQ==\" rel=\"nofollow\"> [ 0.28 WXDAI ] </a> </h3> <h6 dir=\"auto\"> <a class=\"user-mention notranslate\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/gentlementlegen/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"https://github.com/gentlementlegen\">@gentlementlegen</a> </h6> </b> </summary> <h6 dir=\"auto\">Contributions Overview</h6> <table role=\"table\"> <thead> <tr> <th>View</th> <th>Contribution</th> <th>Count</th> <th>Reward</th> </tr> </thead> <tbody> <tr> <td>Issue</td> <td>Specification</td> <td>1</td> <td>0.1</td> </tr> <tr> <td>Issue</td> <td>Comment</td> <td>7</td> <td>0.18</td> </tr> </tbody> </table> <h6 dir=\"auto\">Conversation Incentives</h6> <table role=\"table\"> <thead> <tr> <th>Comment</th> <th>Formatting</th> <th>Relevance</th> <th>Reward</th> </tr> </thead> <tbody> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">issue 2</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 2 score: 1 </pre> </details> </td> <td>0.5</td> <td>0.1</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076607863\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">test</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076628437\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">```hey```</a> </h6> </td> <td> <details> <summary> 0.4 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 code: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076628605\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">``` heyo ```</a> </h6> </td> <td> <details> <summary> 0.4 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 code: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076632071\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">gr</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076960228\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">te</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076964178\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">fwe</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076972544\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">te</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>0.9</td> <td>0.18</td> </tr> </tbody> </table> </details> </td> </tr> </tbody> </table> </task-lists> [😂](https://emojipedia.org/face-with-tears-of-joy) - elem 1 - elem 2
33.7
content:
  p:
    count: 326
    score: 1
  code:
    count: 2
    score: 1
  a:
    count: 1
    score: 1
  ul:
    count: 4
    score: 1
  li:
    count: 4
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 26.96
" + "permitUrl": "https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiI2MDk2MDAwMDAwMDAwMDAwMDAwMCJ9LCJub25jZSI6IjEzOTgwNzc0NDc2OTc2NzY0NTA0ODk5MjU5NjcyODM3NDI0NzU0ODkxMTY5NDMxMDE4MzYyNTI4MjAzMTI5OTY5NTkwODgyMDgxNjEiLCJkZWFkbGluZSI6IjU3ODk2MDQ0NjE4NjU4MDk3NzExNzg1NDkyNTA0MzQzOTUzOTI2NjM0OTkyMzMyODIwMjgyMDE5NzI4NzkyMDAzOTU2NTY0ODE5OTY3In0sInRyYW5zZmVyRGV0YWlscyI6eyJ0byI6IjB4NEQwNzA0ZjQwMEQ1N0JhOTNlRWE4ODc2NUMzRmNEQkQ4MjZkQ0ZjNCIsInJlcXVlc3RlZEFtb3VudCI6IjYwOTYwMDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHhkOTUzMEYzZmJCRWExMWJlRDAxREMwOUU3OTMxOGYyZjIwMjIzNzE2Iiwic2lnbmF0dXJlIjoiMHg2Y2VmN2E3MGVkNWJkNjE3MDQ4YmQwNGQ4MGZiYzk5MGIyNzc4YTZmM2VlMWE5OGQwMTI4YWY3NGQzNWJkNjY3MTVjMjhlMTNjMjE5ZGQ0ZGFiNjRiYzIyMGJhYmY3YzIzZTM4ODE2ZDE1OTFkN2UwYmRiN2NlNDZiN2RjY2JkNzFjIiwibmV0d29ya0lkIjoxMDB9XQ==", + "evaluationCommentHtml": "

[ 60.96 WXDAI ]

@0x4007
Contributions Overview
View Contribution Count Reward
Issue Specification 1 5.6
Issue Comment 6 27.2
Review Comment 3 28.16
Conversation Incentives
Comment Formatting Relevance Reward
Can somebody work on generating a new `X25519_PRIVATE_KEY … 1. Generate a new key 2. Encrypt a new `evmPrivateKeyEncrypted` (no funds!) and add to the org bot config 3. Add the shared test key to the `comment-incentives` readme. https://github.com/ubiquibot/comment-incentives/pull/21/commits/567419d9688e92edf698f64c697f1a7cafe1d02e _Originally posted by @pavlovcik in https://github.com/ubiquibot/comment-incentives/issues/19#issuecomment-1948876653_
5.6
content:
  p:
    count: 20
    score: 1
  code:
    count: 3
    score: 1
  ol:
    count: 33
    score: 0
  li:
    count: 33
    score: 1
  em:
    count: 6
    score: 0
wordValue: 0.1
formattingMultiplier: 1
1 5.6
Link below for conversation context. It was to me. Anyways you n…
4.2
content:
  p:
    count: 21
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 3.36
In the repository secrets I think I need to change the key to ma…
3
content:
  p:
    count: 15
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 2.4
I just changed it to `627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3… I hope that it doesn't break production for some reason (it should get it from Netlify secrets, but not sure if we implemented this correctly!) I fear that we might need to build a feature for this to support development key pair and production. Unfortunately I'm already winding down for the day so I'll leave you guys to try and investigate.
13.6
content:
  p:
    count: 67
    score: 1
  code:
    count: 1
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 10.88
I don't understand what you mean by this
1.6
content:
  p:
    count: 8
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 1.28
I'll investigate more on my computer later.
1.4
content:
  p:
    count: 7
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 1.12
Will it be an issue if I revert to the commit and secret that I … It was the production x25519 key in the GitHub repository secrets when it was working like eight hours ago. Posting this message before checking on my computer to get you before you log off.
10.2
content:
  p:
    count: 51
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 8.16
Need to document a private key too
0.7
content:
  p:
    count: 7
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 0.56
I was editing this right now but was too slow to push.
1.2
content:
  p:
    count: 12
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 0.96
I am quoting some code! <task-lists sortable=\"\"> <table class=\"d-block user-select-contain\" data-paste-markdow… <tbody class=\"d-block\"> <tr class=\"d-block\"> <td class=\"d-block comment-body markdown-body js-comment-body\"> <details open=\"\"> <summary> <b> <h3 dir=\"auto\"> <a href=\"https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiIyODAwMDAwMDAwMDAwMDAwMDAifSwibm9uY2UiOiIzODYyOTY0MDg5ODkzNzI1MzYwMjc5MjAyNzMxMjA2NzgzMTY0NDI2OTA3NTY2NTIxNzQ0NDkyNjQ1MTA0NTIyODU4Nzk1MjgzMDk0NCIsImRlYWRsaW5lIjoiNTc4OTYwNDQ2MTg2NTgwOTc3MTE3ODU0OTI1MDQzNDM5NTM5MjY2MzQ5OTIzMzI4MjAyODIwMTk3Mjg3OTIwMDM5NTY1NjQ4MTk5NjcifSwidHJhbnNmZXJEZXRhaWxzIjp7InRvIjoiMHgwZkMxYjkwOWJhOTI2NUE4NDZiODJDRjRDRTM1MmZjM2U3RWVCMkVEIiwicmVxdWVzdGVkQW1vdW50IjoiMjgwMDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHg0NENhMTVEYjEwMWZEMWMxOTQ0NjdEYjZBRjBjNjdDNkJiRjRBQjUxIiwic2lnbmF0dXJlIjoiMHhiMzE4MmIwNjJiMDJmMjEwZTIzN2UzODQxMDNmNGE4YTUwMDNjMmYyODhiMDY5Nzg4MTY1ZDkwOWY4ODZmYTMzNTM4MjJlYjA5MGI1ODdjMWFiNWFiOTNjNTVlZDhkOTdiYzM3YzBmZjZlZDJhMWRkM2U1NjQ4M2JlMzk5MWIwNTFjIiwibmV0d29ya0lkIjoxMDB9XQ==\" rel=\"nofollow\"> [ 0.28 WXDAI ] </a> </h3> <h6 dir=\"auto\"> <a class=\"user-mention notranslate\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/gentlementlegen/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"https://github.com/gentlementlegen\">@gentlementlegen</a> </h6> </b> </summary> <h6 dir=\"auto\">Contributions Overview</h6> <table role=\"table\"> <thead> <tr> <th>View</th> <th>Contribution</th> <th>Count</th> <th>Reward</th> </tr> </thead> <tbody> <tr> <td>Issue</td> <td>Specification</td> <td>1</td> <td>0.1</td> </tr> <tr> <td>Issue</td> <td>Comment</td> <td>7</td> <td>0.18</td> </tr> </tbody> </table> <h6 dir=\"auto\">Conversation Incentives</h6> <table role=\"table\"> <thead> <tr> <th>Comment</th> <th>Formatting</th> <th>Relevance</th> <th>Reward</th> </tr> </thead> <tbody> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">issue 2</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 2 score: 1 </pre> </details> </td> <td>0.5</td> <td>0.1</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076607863\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">test</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076628437\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">```hey```</a> </h6> </td> <td> <details> <summary> 0.4 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 code: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076628605\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">``` heyo ```</a> </h6> </td> <td> <details> <summary> 0.4 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 code: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076632071\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">gr</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076960228\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">te</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076964178\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">fwe</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir=\"auto\"> <a href=\"https://github.com/Meniole/bot/issues/3#issuecomment-2076972544\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Meniole/bot/issues/3/hovercard\">te</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class=\"notranslate\">p: count: 1 score: 1 </pre> </details> </td> <td>0.9</td> <td>0.18</td> </tr> </tbody> </table> </details> </td> </tr> </tbody> </table> </task-lists> [😂](https://emojipedia.org/face-with-tears-of-joy) - elem 1 - elem 2
33.3
content:
  p:
    count: 326
    score: 1
  code:
    count: 2
    score: 1
  a:
    count: 1
    score: 1
  ul:
    count: 4
    score: 0
  li:
    count: 4
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 26.64
" } -} +} \ No newline at end of file diff --git a/tests/__mocks__/results/output.html b/tests/__mocks__/results/output.html index 324d7397..2316b254 100644 --- a/tests/__mocks__/results/output.html +++ b/tests/__mocks__/results/output.html @@ -1 +1 @@ -

[ 45.5 WXDAI ]

@gitcoindev
Contributions Overview
View Contribution Count Reward
Issue Task 1 37.5
Issue Comment 1 0
Review Comment 3 8
Conversation Incentives
Comment Formatting Relevance Reward
@molecula451 I tried to override X25519_PRIVATE_KEY but it did n…
0
content:
  p:
    count: 26
    score: 1
wordValue: 0
formattingMultiplier: 0
0.8 -
The new evmPrivateKeyEncrypted generated for address 0x3a2E44e10… Resolves: https://github.com/ubiquibot/comment-incentives/issues/22
0
content:
  p:
    count: 11
    score: 1
wordValue: 0
formattingMultiplier: 0
0.8 -
@pavlovcik @molecula451 please check now again, I added to docs.
4
content:
  p:
    count: 10
    score: 1
wordValue: 0.2
formattingMultiplier: 2
0.8 3.2
No way, full details are available in plain sight, only for test…
6
content:
  p:
    count: 15
    score: 1
wordValue: 0.2
formattingMultiplier: 2
0.8 4.8

[ 1.78 WXDAI ]

@molecula451
Contributions Overview
View Contribution Count Reward
Issue Comment 6 1.4
Review Comment 2 0.38
Conversation Incentives
Comment Formatting Relevance Reward
pavlovcik i think we need to update a bit the readme ![image_2024-02-16_131036879](https://github.com/ubiquibot/comme… dm what to whom?
0.375
content:
  p:
    count: 15
    score: 1
  img:
    count: 1
    score: 0
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.3
let us know when done
0.125
content:
  p:
    count: 5
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.1
https://github.com/ubiquibot/comment-incentives/actions/runs/793…
0.175
content:
  p:
    count: 7
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.14
@pavlovcik permitted with hard debug (tho no funds in the privat…
0.3
content:
  p:
    count: 12
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.24
pavlovcik i re-generated the X25519 to trigger the permit, what …
0.725
content:
  p:
    count: 29
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.58
sure thing
0.05
content:
  p:
    count: 2
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.04
indeed
0.025
content:
  p:
    count: 1
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.02
go to go pavlovick, we'll be using this one for test only or tes…
0.45
content:
  p:
    count: 18
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.36

[ 64.58 WXDAI ]

@0x4007
Contributions Overview
View Contribution Count Reward
Issue Specification 1 8.9
Issue Comment 6 27.2
Review Comment 3 28.48
Conversation Incentives
Comment Formatting Relevance Reward
Can somebody work on generating a new `X25519_PRIVATE_KEY … 1. Generate a new key 2. Encrypt a new `evmPrivateKeyEncrypted` (no funds!) and add to the org bot config 3. Add the shared test key to the `comment-incentives` readme. https://github.com/ubiquibot/comment-incentives/pull/21/commits/567419d9688e92edf698f64c697f1a7cafe1d02e _Originally posted by @pavlovcik in https://github.com/ubiquibot/comment-incentives/issues/19#issuecomment-1948876653_
8.9
content:
  p:
    count: 20
    score: 1
  code:
    count: 3
    score: 1
  ol:
    count: 33
    score: 1
  li:
    count: 33
    score: 1
  em:
    count: 6
    score: 0
wordValue: 0.1
formattingMultiplier: 1
1 8.9
Link below for conversation context. It was to me. Anyways you n…
4.2
content:
  p:
    count: 21
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 3.36
In the repository secrets I think I need to change the key to ma…
3
content:
  p:
    count: 15
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 2.4
I just changed it to `627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3… I hope that it doesn't break production for some reason (it should get it from Netlify secrets, but not sure if we implemented this correctly!) I fear that we might need to build a feature for this to support development key pair and production. Unfortunately I'm already winding down for the day so I'll leave you guys to try and investigate.
13.6
content:
  p:
    count: 67
    score: 1
  code:
    count: 1
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 10.88
I don't understand what you mean by this
1.6
content:
  p:
    count: 8
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 1.28
I'll investigate more on my computer later.
1.4
content:
  p:
    count: 7
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 1.12
Will it be an issue if I revert to the commit and secret that I … It was the production x25519 key in the GitHub repository secrets when it was working like eight hours ago. Posting this message before checking on my computer to get you before you log off.
10.2
content:
  p:
    count: 51
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 8.16
Need to document a private key too
0.7
content:
  p:
    count: 7
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 0.56
I was editing this right now but was too slow to push.
1.2
content:
  p:
    count: 12
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 0.96
I am quoting some code! <task-lists sortable=""> <table class="d-block user-select-contain" data-paste-markdow… <tbody class="d-block"> <tr class="d-block"> <td class="d-block comment-body markdown-body js-comment-body"> <details open=""> <summary> <b> <h3 dir="auto"> <a href="https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiIyODAwMDAwMDAwMDAwMDAwMDAifSwibm9uY2UiOiIzODYyOTY0MDg5ODkzNzI1MzYwMjc5MjAyNzMxMjA2NzgzMTY0NDI2OTA3NTY2NTIxNzQ0NDkyNjQ1MTA0NTIyODU4Nzk1MjgzMDk0NCIsImRlYWRsaW5lIjoiNTc4OTYwNDQ2MTg2NTgwOTc3MTE3ODU0OTI1MDQzNDM5NTM5MjY2MzQ5OTIzMzI4MjAyODIwMTk3Mjg3OTIwMDM5NTY1NjQ4MTk5NjcifSwidHJhbnNmZXJEZXRhaWxzIjp7InRvIjoiMHgwZkMxYjkwOWJhOTI2NUE4NDZiODJDRjRDRTM1MmZjM2U3RWVCMkVEIiwicmVxdWVzdGVkQW1vdW50IjoiMjgwMDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHg0NENhMTVEYjEwMWZEMWMxOTQ0NjdEYjZBRjBjNjdDNkJiRjRBQjUxIiwic2lnbmF0dXJlIjoiMHhiMzE4MmIwNjJiMDJmMjEwZTIzN2UzODQxMDNmNGE4YTUwMDNjMmYyODhiMDY5Nzg4MTY1ZDkwOWY4ODZmYTMzNTM4MjJlYjA5MGI1ODdjMWFiNWFiOTNjNTVlZDhkOTdiYzM3YzBmZjZlZDJhMWRkM2U1NjQ4M2JlMzk5MWIwNTFjIiwibmV0d29ya0lkIjoxMDB9XQ==" rel="nofollow"> [ 0.28 WXDAI ] </a> </h3> <h6 dir="auto"> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gentlementlegen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gentlementlegen">@gentlementlegen</a> </h6> </b> </summary> <h6 dir="auto">Contributions Overview</h6> <table role="table"> <thead> <tr> <th>View</th> <th>Contribution</th> <th>Count</th> <th>Reward</th> </tr> </thead> <tbody> <tr> <td>Issue</td> <td>Specification</td> <td>1</td> <td>0.1</td> </tr> <tr> <td>Issue</td> <td>Comment</td> <td>7</td> <td>0.18</td> </tr> </tbody> </table> <h6 dir="auto">Conversation Incentives</h6> <table role="table"> <thead> <tr> <th>Comment</th> <th>Formatting</th> <th>Relevance</th> <th>Reward</th> </tr> </thead> <tbody> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">issue 2</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 2 score: 1 </pre> </details> </td> <td>0.5</td> <td>0.1</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076607863" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">test</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076628437" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">```hey```</a> </h6> </td> <td> <details> <summary> 0.4 </summary> <pre class="notranslate">p: count: 1 score: 1 code: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076628605" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">``` heyo ```</a> </h6> </td> <td> <details> <summary> 0.4 </summary> <pre class="notranslate">p: count: 1 score: 1 code: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076632071" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">gr</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076960228" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">te</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076964178" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">fwe</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076972544" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">te</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>0.9</td> <td>0.18</td> </tr> </tbody> </table> </details> </td> </tr> </tbody> </table> </task-lists> [😂](https://emojipedia.org/face-with-tears-of-joy) - elem 1 - elem 2
33.7
content:
  p:
    count: 326
    score: 1
  code:
    count: 2
    score: 1
  a:
    count: 1
    score: 1
  ul:
    count: 4
    score: 1
  li:
    count: 4
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 26.96
\ No newline at end of file +

[ 45.5 WXDAI ]

@gitcoindev
Contributions Overview
View Contribution Count Reward
Issue Task 1 37.5
Issue Comment 1 0
Review Comment 3 8
Conversation Incentives
Comment Formatting Relevance Reward
@molecula451 I tried to override X25519_PRIVATE_KEY but it did n…
0
content:
  p:
    count: 26
    score: 1
wordValue: 0
formattingMultiplier: 0
0.8 -
The new evmPrivateKeyEncrypted generated for address 0x3a2E44e10… Resolves: https://github.com/ubiquibot/comment-incentives/issues/22
0
content:
  p:
    count: 11
    score: 1
wordValue: 0
formattingMultiplier: 0
0.8 -
@pavlovcik @molecula451 please check now again, I added to docs.
4
content:
  p:
    count: 10
    score: 1
wordValue: 0.2
formattingMultiplier: 2
0.8 3.2
No way, full details are available in plain sight, only for test…
6
content:
  p:
    count: 15
    score: 1
wordValue: 0.2
formattingMultiplier: 2
0.8 4.8

[ 1.78 WXDAI ]

@molecula451
Contributions Overview
View Contribution Count Reward
Issue Comment 6 1.4
Review Comment 2 0.38
Conversation Incentives
Comment Formatting Relevance Reward
pavlovcik i think we need to update a bit the readme ![image_2024-02-16_131036879](https://github.com/ubiquibot/comme… dm what to whom?
0.375
content:
  p:
    count: 15
    score: 1
  img:
    count: 1
    score: 0
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.3
let us know when done
0.125
content:
  p:
    count: 5
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.1
https://github.com/ubiquibot/comment-incentives/actions/runs/793…
0.175
content:
  p:
    count: 7
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.14
@pavlovcik permitted with hard debug (tho no funds in the privat…
0.3
content:
  p:
    count: 12
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.24
pavlovcik i re-generated the X25519 to trigger the permit, what …
0.725
content:
  p:
    count: 29
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.58
sure thing
0.05
content:
  p:
    count: 2
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.04
indeed
0.025
content:
  p:
    count: 1
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.02
go to go pavlovick, we'll be using this one for test only or tes…
0.45
content:
  p:
    count: 18
    score: 1
wordValue: 0.1
formattingMultiplier: 0.25
0.8 0.36

[ 60.96 WXDAI ]

@0x4007
Contributions Overview
View Contribution Count Reward
Issue Specification 1 5.6
Issue Comment 6 27.2
Review Comment 3 28.16
Conversation Incentives
Comment Formatting Relevance Reward
Can somebody work on generating a new `X25519_PRIVATE_KEY … 1. Generate a new key 2. Encrypt a new `evmPrivateKeyEncrypted` (no funds!) and add to the org bot config 3. Add the shared test key to the `comment-incentives` readme. https://github.com/ubiquibot/comment-incentives/pull/21/commits/567419d9688e92edf698f64c697f1a7cafe1d02e _Originally posted by @pavlovcik in https://github.com/ubiquibot/comment-incentives/issues/19#issuecomment-1948876653_
5.6
content:
  p:
    count: 20
    score: 1
  code:
    count: 3
    score: 1
  ol:
    count: 33
    score: 0
  li:
    count: 33
    score: 1
  em:
    count: 6
    score: 0
wordValue: 0.1
formattingMultiplier: 1
1 5.6
Link below for conversation context. It was to me. Anyways you n…
4.2
content:
  p:
    count: 21
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 3.36
In the repository secrets I think I need to change the key to ma…
3
content:
  p:
    count: 15
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 2.4
I just changed it to `627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3… I hope that it doesn't break production for some reason (it should get it from Netlify secrets, but not sure if we implemented this correctly!) I fear that we might need to build a feature for this to support development key pair and production. Unfortunately I'm already winding down for the day so I'll leave you guys to try and investigate.
13.6
content:
  p:
    count: 67
    score: 1
  code:
    count: 1
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 10.88
I don't understand what you mean by this
1.6
content:
  p:
    count: 8
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 1.28
I'll investigate more on my computer later.
1.4
content:
  p:
    count: 7
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 1.12
Will it be an issue if I revert to the commit and secret that I … It was the production x25519 key in the GitHub repository secrets when it was working like eight hours ago. Posting this message before checking on my computer to get you before you log off.
10.2
content:
  p:
    count: 51
    score: 1
wordValue: 0.2
formattingMultiplier: 1
0.8 8.16
Need to document a private key too
0.7
content:
  p:
    count: 7
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 0.56
I was editing this right now but was too slow to push.
1.2
content:
  p:
    count: 12
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 0.96
I am quoting some code! <task-lists sortable=""> <table class="d-block user-select-contain" data-paste-markdow… <tbody class="d-block"> <tr class="d-block"> <td class="d-block comment-body markdown-body js-comment-body"> <details open=""> <summary> <b> <h3 dir="auto"> <a href="https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiIyODAwMDAwMDAwMDAwMDAwMDAifSwibm9uY2UiOiIzODYyOTY0MDg5ODkzNzI1MzYwMjc5MjAyNzMxMjA2NzgzMTY0NDI2OTA3NTY2NTIxNzQ0NDkyNjQ1MTA0NTIyODU4Nzk1MjgzMDk0NCIsImRlYWRsaW5lIjoiNTc4OTYwNDQ2MTg2NTgwOTc3MTE3ODU0OTI1MDQzNDM5NTM5MjY2MzQ5OTIzMzI4MjAyODIwMTk3Mjg3OTIwMDM5NTY1NjQ4MTk5NjcifSwidHJhbnNmZXJEZXRhaWxzIjp7InRvIjoiMHgwZkMxYjkwOWJhOTI2NUE4NDZiODJDRjRDRTM1MmZjM2U3RWVCMkVEIiwicmVxdWVzdGVkQW1vdW50IjoiMjgwMDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHg0NENhMTVEYjEwMWZEMWMxOTQ0NjdEYjZBRjBjNjdDNkJiRjRBQjUxIiwic2lnbmF0dXJlIjoiMHhiMzE4MmIwNjJiMDJmMjEwZTIzN2UzODQxMDNmNGE4YTUwMDNjMmYyODhiMDY5Nzg4MTY1ZDkwOWY4ODZmYTMzNTM4MjJlYjA5MGI1ODdjMWFiNWFiOTNjNTVlZDhkOTdiYzM3YzBmZjZlZDJhMWRkM2U1NjQ4M2JlMzk5MWIwNTFjIiwibmV0d29ya0lkIjoxMDB9XQ==" rel="nofollow"> [ 0.28 WXDAI ] </a> </h3> <h6 dir="auto"> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gentlementlegen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gentlementlegen">@gentlementlegen</a> </h6> </b> </summary> <h6 dir="auto">Contributions Overview</h6> <table role="table"> <thead> <tr> <th>View</th> <th>Contribution</th> <th>Count</th> <th>Reward</th> </tr> </thead> <tbody> <tr> <td>Issue</td> <td>Specification</td> <td>1</td> <td>0.1</td> </tr> <tr> <td>Issue</td> <td>Comment</td> <td>7</td> <td>0.18</td> </tr> </tbody> </table> <h6 dir="auto">Conversation Incentives</h6> <table role="table"> <thead> <tr> <th>Comment</th> <th>Formatting</th> <th>Relevance</th> <th>Reward</th> </tr> </thead> <tbody> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">issue 2</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 2 score: 1 </pre> </details> </td> <td>0.5</td> <td>0.1</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076607863" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">test</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076628437" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">```hey```</a> </h6> </td> <td> <details> <summary> 0.4 </summary> <pre class="notranslate">p: count: 1 score: 1 code: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076628605" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">``` heyo ```</a> </h6> </td> <td> <details> <summary> 0.4 </summary> <pre class="notranslate">p: count: 1 score: 1 code: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076632071" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">gr</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076960228" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">te</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076964178" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">fwe</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>-</td> <td>-</td> </tr> <tr> <td> <h6 dir="auto"> <a href="https://github.com/Meniole/bot/issues/3#issuecomment-2076972544" data-hovercard-type="issue" data-hovercard-url="/Meniole/bot/issues/3/hovercard">te</a> </h6> </td> <td> <details> <summary> 0.2 </summary> <pre class="notranslate">p: count: 1 score: 1 </pre> </details> </td> <td>0.9</td> <td>0.18</td> </tr> </tbody> </table> </details> </td> </tr> </tbody> </table> </task-lists> [😂](https://emojipedia.org/face-with-tears-of-joy) - elem 1 - elem 2
33.3
content:
  p:
    count: 326
    score: 1
  code:
    count: 2
    score: 1
  a:
    count: 1
    score: 1
  ul:
    count: 4
    score: 0
  li:
    count: 4
    score: 1
wordValue: 0.1
formattingMultiplier: 1
0.8 26.64
\ No newline at end of file diff --git a/tests/__mocks__/results/permit-generation-results.json b/tests/__mocks__/results/permit-generation-results.json index a7023714..9ce2a631 100644 --- a/tests/__mocks__/results/permit-generation-results.json +++ b/tests/__mocks__/results/permit-generation-results.json @@ -250,7 +250,7 @@ "permitUrl": "https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiIxNzgwMDAwMDAwMDAwMDAwMDAwIn0sIm5vbmNlIjoiNTI3ODUzNTAyNjczOTk4MzczNzk3NzMyNTIzMjczMjE4NDgwMzIwMjAyMzk4MjQ4NjYyMDQ3Mjc0NTUzMTcwMTIzMDk3NjYwMDQ2OTciLCJkZWFkbGluZSI6IjU3ODk2MDQ0NjE4NjU4MDk3NzExNzg1NDkyNTA0MzQzOTUzOTI2NjM0OTkyMzMyODIwMjgyMDE5NzI4NzkyMDAzOTU2NTY0ODE5OTY3In0sInRyYW5zZmVyRGV0YWlscyI6eyJ0byI6IjB4NEQwNzA0ZjQwMEQ1N0JhOTNlRWE4ODc2NUMzRmNEQkQ4MjZkQ0ZjNCIsInJlcXVlc3RlZEFtb3VudCI6IjE3ODAwMDAwMDAwMDAwMDAwMDAifSwib3duZXIiOiIweGQ5NTMwRjNmYkJFYTExYmVEMDFEQzA5RTc5MzE4ZjJmMjAyMjM3MTYiLCJzaWduYXR1cmUiOiIweDdhZDcwMjVmYmU1OGI1MjkwOTE1YzUxMGYxZGUzZDllNzQ0MjIwNzY0NmU1NWIzNGU5NjUxNTg5MTg0OTQzMzEzNzE4NDNjMmYwNzZjYTRkNjA3YzdjNzJmZjQyY2QwOThmZDI0NjYxYzFmZjJlMmJiMjVmNjg4MzdlMzMwZWM0MWMiLCJuZXR3b3JrSWQiOjEwMH1d" }, "0x4007": { - "total": 64.58, + "total": 60.96, "userId": 4975670, "comments": [ { @@ -388,7 +388,7 @@ }, "ol": { "count": 33, - "score": 1 + "score": 0 }, "li": { "count": 33, @@ -402,7 +402,7 @@ "wordValue": 0.1, "formattingMultiplier": 1 }, - "reward": 8.9, + "reward": 5.6, "relevance": 1 } }, @@ -465,7 +465,7 @@ }, "ul": { "count": 4, - "score": 1 + "score": 0 }, "li": { "count": 4, @@ -475,11 +475,11 @@ "wordValue": 0.1, "formattingMultiplier": 1 }, - "reward": 26.96, + "reward": 26.64, "relevance": 0.8 } } ], - "permitUrl": "https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiI2NDU4MDAwMDAwMDAwMDAwMDAwMCJ9LCJub25jZSI6IjEzOTgwNzc0NDc2OTc2NzY0NTA0ODk5MjU5NjcyODM3NDI0NzU0ODkxMTY5NDMxMDE4MzYyNTI4MjAzMTI5OTY5NTkwODgyMDgxNjEiLCJkZWFkbGluZSI6IjU3ODk2MDQ0NjE4NjU4MDk3NzExNzg1NDkyNTA0MzQzOTUzOTI2NjM0OTkyMzMyODIwMjgyMDE5NzI4NzkyMDAzOTU2NTY0ODE5OTY3In0sInRyYW5zZmVyRGV0YWlscyI6eyJ0byI6IjB4NEQwNzA0ZjQwMEQ1N0JhOTNlRWE4ODc2NUMzRmNEQkQ4MjZkQ0ZjNCIsInJlcXVlc3RlZEFtb3VudCI6IjY0NTgwMDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHhkOTUzMEYzZmJCRWExMWJlRDAxREMwOUU3OTMxOGYyZjIwMjIzNzE2Iiwic2lnbmF0dXJlIjoiMHhiOWRjNjk5ZGZhNjg0OWU0YzljYjMxODdmNjdhNmE3OWIzMmQyNDQzYmE2NWE5M2E5YTk4NTgxMmJkZmY5NmU1MDY5YTE1NTAzM2I3MTFmM2NkYjY5YzM3MWRmMmVmZGZiNTBhOTdiZGViZDE1MzEyODMwNjBjYWYyMzYzY2Y1NzFjIiwibmV0d29ya0lkIjoxMDB9XQ==" + "permitUrl": "https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiI2MDk2MDAwMDAwMDAwMDAwMDAwMCJ9LCJub25jZSI6IjEzOTgwNzc0NDc2OTc2NzY0NTA0ODk5MjU5NjcyODM3NDI0NzU0ODkxMTY5NDMxMDE4MzYyNTI4MjAzMTI5OTY5NTkwODgyMDgxNjEiLCJkZWFkbGluZSI6IjU3ODk2MDQ0NjE4NjU4MDk3NzExNzg1NDkyNTA0MzQzOTUzOTI2NjM0OTkyMzMyODIwMjgyMDE5NzI4NzkyMDAzOTU2NTY0ODE5OTY3In0sInRyYW5zZmVyRGV0YWlscyI6eyJ0byI6IjB4NEQwNzA0ZjQwMEQ1N0JhOTNlRWE4ODc2NUMzRmNEQkQ4MjZkQ0ZjNCIsInJlcXVlc3RlZEFtb3VudCI6IjYwOTYwMDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHhkOTUzMEYzZmJCRWExMWJlRDAxREMwOUU3OTMxOGYyZjIwMjIzNzE2Iiwic2lnbmF0dXJlIjoiMHg2Y2VmN2E3MGVkNWJkNjE3MDQ4YmQwNGQ4MGZiYzk5MGIyNzc4YTZmM2VlMWE5OGQwMTI4YWY3NGQzNWJkNjY3MTVjMjhlMTNjMjE5ZGQ0ZGFiNjRiYzIyMGJhYmY3YzIzZTM4ODE2ZDE1OTFkN2UwYmRiN2NlNDZiN2RjY2JkNzFjIiwibmV0d29ya0lkIjoxMDB9XQ==" } -} +} \ No newline at end of file