From 78546ce4c8c86addcb59050957d297009006efd0 Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Tue, 19 Nov 2024 20:50:53 +0900 Subject: [PATCH] refactor: simplify reward split result mock file Removed nested structure for comments in reward-split.json to improve readability. --- .../results/content-evaluator-results.json | 516 +++++++++-------- .../results/formatting-evaluator-results.json | 516 +++++++++-------- .../results/github-comment-results.json | 524 ++++++++++-------- .../results/output-reward-split.html | 10 +- tests/__mocks__/results/output.html | 2 +- .../results/permit-generation-results.json | 521 +++++++++-------- tests/__mocks__/results/reward-split.json | 502 ++++++++--------- tests/process.issue.test.ts | 6 +- 8 files changed, 1423 insertions(+), 1174 deletions(-) diff --git a/tests/__mocks__/results/content-evaluator-results.json b/tests/__mocks__/results/content-evaluator-results.json index 35e634a1..918e4c8e 100644 --- a/tests/__mocks__/results/content-evaluator-results.json +++ b/tests/__mocks__/results/content-evaluator-results.json @@ -23,14 +23,14 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 16.448, "words": { "result": 2.64, "wordCount": 47, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2030164289" @@ -49,14 +49,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 7.552, "words": { "result": 1.11, "wordCount": 17, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2033488255" @@ -87,14 +87,14 @@ "result": 12 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 87.072, "words": { "result": 12.21, "wordCount": 285, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036355445" @@ -105,6 +105,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 4, "score": 1 @@ -114,17 +118,17 @@ "score": 1 } }, - "result": 8 + "result": 9 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 56.928, + "reward": 59.776, "words": { - "result": 7.79, - "wordCount": 168, + "result": 7.43, + "wordCount": 159, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036370459" @@ -151,14 +155,14 @@ "result": 7 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 47.904, "words": { "result": 6.22, "wordCount": 129, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036393020" @@ -170,7 +174,7 @@ "formatting": { "content": { "a": { - "elementCount": 2, + "elementCount": 1, "score": 1 }, "code": { @@ -190,17 +194,17 @@ "score": 0 } }, - "result": 12 + "result": 11 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 78.624, + "reward": 74.624, "words": { "result": 9.57, "wordCount": 214, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036433646" @@ -231,14 +235,14 @@ "result": 8 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 47.776, "words": { "result": 4.93, "wordCount": 98, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036516869" @@ -265,14 +269,14 @@ "result": 5 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 35.616, "words": { "result": 4.88, "wordCount": 97, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2053332029" @@ -291,14 +295,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 9.6, "words": { "result": 1.75, "wordCount": 29, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2055783331" @@ -317,14 +321,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.092, "words": { "result": 0.39, "wordCount": 5, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#pullrequestreview-2007841578" @@ -344,14 +348,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.456, "words": { "result": 0.52, "wordCount": 7, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1569964797" @@ -371,14 +375,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 11.644, "words": { "result": 2.73, "wordCount": 49, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1569970517" @@ -398,14 +402,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.288, "words": { "result": 0.46, "wordCount": 6, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1569971792" @@ -429,14 +433,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 16.76, "words": { "result": 1.7, "wordCount": 28, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570133378" @@ -460,14 +464,14 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 10.632, "words": { "result": 0.94, "wordCount": 14, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570159594" @@ -495,14 +499,14 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 12.172, "words": { "result": 1.49, "wordCount": 24, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570588757" @@ -522,14 +526,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.092, "words": { "result": 0.39, "wordCount": 5, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570589892" @@ -549,14 +553,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.652, "words": { "result": 0.59, "wordCount": 8, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570591425" @@ -584,14 +588,14 @@ "result": 4 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 25.744, "words": { "result": 3.48, "wordCount": 65, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570596007" @@ -611,14 +615,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 8.032, "words": { "result": 1.44, "wordCount": 23, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573720820" @@ -638,14 +642,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.092, "words": { "result": 0.39, "wordCount": 5, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573722731" @@ -669,14 +673,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 15.416, "words": { "result": 1.22, "wordCount": 19, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573723262" @@ -696,14 +700,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 8.312, "words": { "result": 1.54, "wordCount": 25, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573723774" @@ -723,14 +727,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.456, "words": { "result": 0.52, "wordCount": 7, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573724498" @@ -750,14 +754,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 4.504, "words": { "result": 0.18, "wordCount": 2, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573724853" @@ -777,14 +781,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.652, "words": { "result": 0.59, "wordCount": 8, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574086028" @@ -804,14 +808,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 4.504, "words": { "result": 0.18, "wordCount": 2, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574086293" @@ -835,14 +839,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 17.04, "words": { "result": 1.8, "wordCount": 30, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575555444" @@ -862,14 +866,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 10.58, "words": { "result": 2.35, "wordCount": 41, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575556553" @@ -889,14 +893,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 26.14, "words": { "result": 5.05, "wordCount": 101, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1576666170" @@ -916,14 +920,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 8.76, "words": { "result": 1.7, "wordCount": 28, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1577225638" @@ -942,20 +946,20 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 6.968, "words": { "result": 1.06, "wordCount": 16, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#issuecomment-2063712447" } ], - "total": 617.508, + "total": 616.356, "userId": 4975670 }, "gentlementlegen": { @@ -966,22 +970,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 2, + "score": 1 + }, "p": { "elementCount": 1, "score": 1 } }, - "result": 1 + "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 17.152, + "reward": 19.104, "words": { - "result": 4.11, - "wordCount": 35, + "result": 2.22, + "wordCount": 17, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2033404518" @@ -992,6 +1000,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "li": { "elementCount": 3, "score": 1 @@ -1005,17 +1017,17 @@ "score": 1 } }, - "result": 9 + "result": 10 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 71.04, + "reward": 73.152, "words": { - "result": 10.95, - "wordCount": 111, + "result": 10.36, + "wordCount": 104, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036174312" @@ -1026,6 +1038,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 3, "score": 1 @@ -1035,17 +1051,17 @@ "score": 1 } }, - "result": 6 + "result": 7 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 60.128, + "reward": 61.696, "words": { - "result": 11.29, - "wordCount": 115, + "result": 10.53, + "wordCount": 106, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036367126" @@ -1068,14 +1084,14 @@ "result": 5 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 61.12, "words": { "result": 12.85, "wordCount": 134, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036385985" @@ -1094,14 +1110,14 @@ "result": 5 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 67.584, "words": { "result": 14.87, "wordCount": 159, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036411811" @@ -1120,14 +1136,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 23.296, "words": { "result": 6.03, "wordCount": 55, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036458775" @@ -1150,14 +1166,14 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 35.936, "words": { "result": 8.73, "wordCount": 85, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036535332" @@ -1180,14 +1196,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 32.192, "words": { "result": 6.31, "wordCount": 58, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2051094255" @@ -1218,14 +1234,14 @@ "result": 16 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 83.008, "words": { "result": 5.94, "wordCount": 54, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2054424028" @@ -1256,14 +1272,14 @@ "result": 11 }, "multiplier": 1, + "priority": 4, "relevance": 1, - "reward": 63.72, + "reward": 61.8, "words": { - "result": 4.93, - "wordCount": 98, + "result": 4.45, + "wordCount": 87, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_SPECIFICATION", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5" @@ -1282,14 +1298,14 @@ "result": 3 }, "multiplier": 0, + "priority": 4, "relevance": 0.7, "reward": 0, "words": { "result": 0, "wordCount": 19, "wordValue": 0 - }, - "priority": 4 + } }, "type": "PULL_SPECIFICATION", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12" @@ -1313,14 +1329,14 @@ "result": 6 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 84.344, "words": { "result": 6.49, "wordCount": 60, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570010044" @@ -1344,14 +1360,14 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 27.816, "words": { "result": 2.11, "wordCount": 16, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570011467" @@ -1363,22 +1379,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 1, "score": 1 } }, - "result": 1 + "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 21.664, + "reward": 27.2, "words": { - "result": 2.44, - "wordCount": 19, + "result": 2, + "wordCount": 15, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570014142" @@ -1402,14 +1422,14 @@ "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 49.76, "words": { "result": 4.6, "wordCount": 40, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570187141" @@ -1421,6 +1441,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 2, "score": 1 @@ -1430,17 +1454,17 @@ "score": 1 } }, - "result": 4 + "result": 5 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 48.688, + "reward": 47.952, "words": { - "result": 2.98, - "wordCount": 24, + "result": 1.42, + "wordCount": 10, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570188450" @@ -1452,22 +1476,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 3, "score": 1 } }, - "result": 3 + "result": 4 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 54.072, + "reward": 54.456, "words": { - "result": 5.37, - "wordCount": 48, + "result": 4.01, + "wordCount": 34, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573413974" @@ -1487,14 +1515,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 25.304, "words": { "result": 3.09, "wordCount": 25, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573416633" @@ -1522,14 +1550,14 @@ "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 50.32, "words": { "result": 4.7, "wordCount": 41, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573420718" @@ -1541,22 +1569,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 2, "score": 1 } }, - "result": 2 + "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 40.136, + "reward": 43.04, "words": { - "result": 4.31, - "wordCount": 37, + "result": 3.4, + "wordCount": 28, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573731420" @@ -1568,22 +1600,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 1, "score": 1 } }, - "result": 1 + "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 20.432, + "reward": 22.552, "words": { - "result": 2.22, - "wordCount": 17, + "result": 1.17, + "wordCount": 8, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573731649" @@ -1595,6 +1631,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 1, "score": 1 @@ -1604,17 +1644,17 @@ "score": 1 } }, - "result": 3 + "result": 4 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 51.384, + "reward": 57.2, "words": { - "result": 4.89, - "wordCount": 43, + "result": 4.5, + "wordCount": 39, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573733603" @@ -1634,14 +1674,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 17.24, "words": { "result": 1.65, "wordCount": 12, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573737049" @@ -1661,14 +1701,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 29.896, "words": { "result": 3.91, "wordCount": 33, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574114225" @@ -1692,14 +1732,14 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 56.432, "words": { "result": 7.22, "wordCount": 68, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574622869" @@ -1723,14 +1763,14 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 33.304, "words": { "result": 3.09, "wordCount": 25, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574702577" @@ -1750,14 +1790,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 24.688, "words": { "result": 2.98, "wordCount": 24, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574724902" @@ -1769,22 +1809,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 2, "score": 1 } }, - "result": 2 + "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 29.664, + "reward": 31.952, "words": { - "result": 2.44, - "wordCount": 19, + "result": 1.42, + "wordCount": 10, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574767984" @@ -1796,6 +1840,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "li": { "elementCount": 2, "score": 1 @@ -1809,17 +1857,17 @@ "score": 1 } }, - "result": 8 + "result": 9 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 90.88, + "reward": 92.72, "words": { - "result": 4.8, - "wordCount": 42, + "result": 3.7, + "wordCount": 31, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575659438" @@ -1843,14 +1891,14 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 36.16, "words": { "result": 3.6, "wordCount": 30, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575675704" @@ -1874,14 +1922,14 @@ "result": 15 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 158.92, "words": { "result": 6.95, "wordCount": 65, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1576567583" @@ -1901,14 +1949,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 38.072, "words": { "result": 5.37, "wordCount": 48, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1577477616" @@ -1920,6 +1968,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 5, "score": 1 @@ -1929,17 +1981,17 @@ "score": 1 } }, - "result": 10 + "result": 11 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 115.336, + "reward": 117.568, "words": { - "result": 6.31, - "wordCount": 58, + "result": 5.28, + "wordCount": 47, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1578162024" @@ -1950,22 +2002,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 2, "score": 1 } }, - "result": 2 + "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 27.816, + "reward": 29.88, "words": { - "result": 2.11, - "wordCount": 16, + "result": 1.05, + "wordCount": 7, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#issuecomment-2056635516" @@ -1984,14 +2040,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 26.424, "words": { "result": 3.29, "wordCount": 27, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#issuecomment-2063348339" @@ -2001,7 +2057,7 @@ "multiplier": 1, "reward": 400 }, - "total": 2073.928, + "total": 2102.088, "userId": 9807008 }, "whilefoo": { @@ -2028,14 +2084,14 @@ "result": 9 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.8, "reward": 15.402, "words": { "result": 7.99, "wordCount": 173, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2035427134" @@ -2063,14 +2119,14 @@ "result": 2 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 2.678, "words": { "result": 0.94, "wordCount": 14, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574427305" @@ -2090,14 +2146,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 2.098, "words": { "result": 1.54, "wordCount": 25, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574441918" @@ -2117,14 +2173,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.507, "words": { "result": 0.71, "wordCount": 10, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574458540" @@ -2144,14 +2200,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.616, "words": { "result": 0.88, "wordCount": 13, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574460099" @@ -2171,14 +2227,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 2.033, "words": { "result": 1.49, "wordCount": 24, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574487172" @@ -2198,14 +2254,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.896, "words": { "result": 1.28, "wordCount": 20, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574492061" @@ -2225,14 +2281,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.445, "words": { "result": 0.65, "wordCount": 9, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575851470" @@ -2244,22 +2300,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 3, "score": 1 } }, - "result": 3 + "result": 4 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, - "reward": 5.744, + "reward": 6.386, "words": { - "result": 3.92, - "wordCount": 75, + "result": 3.38, + "wordCount": 63, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1576482609" @@ -2279,14 +2339,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.787, "words": { "result": 1.11, "wordCount": 17, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1578040543" @@ -2310,14 +2370,14 @@ "result": 4 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 5.49, "words": { "result": 2.1, "wordCount": 36, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1578050965" @@ -2337,20 +2397,20 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.224, "words": { "result": 0.32, "wordCount": 4, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1579556333" } ], - "total": 42.92, + "total": 43.562, "userId": 139262667 } -} +} \ 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 ad169d63..e1e6e81a 100644 --- a/tests/__mocks__/results/formatting-evaluator-results.json +++ b/tests/__mocks__/results/formatting-evaluator-results.json @@ -23,13 +23,13 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "reward": 4.64, "words": { "result": 2.64, "wordCount": 47, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2030164289" @@ -48,13 +48,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 2.11, "words": { "result": 1.11, "wordCount": 17, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2033488255" @@ -85,13 +85,13 @@ "result": 12 }, "multiplier": 1, + "priority": 4, "reward": 24.21, "words": { "result": 12.21, "wordCount": 285, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036355445" @@ -102,6 +102,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 4, "score": 1 @@ -111,16 +115,16 @@ "score": 1 } }, - "result": 8 + "result": 9 }, "multiplier": 1, - "reward": 15.79, + "priority": 4, + "reward": 16.43, "words": { - "result": 7.79, - "wordCount": 168, + "result": 7.43, + "wordCount": 159, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036370459" @@ -147,13 +151,13 @@ "result": 7 }, "multiplier": 1, + "priority": 4, "reward": 13.22, "words": { "result": 6.22, "wordCount": 129, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036393020" @@ -165,7 +169,7 @@ "formatting": { "content": { "a": { - "elementCount": 2, + "elementCount": 1, "score": 1 }, "code": { @@ -185,16 +189,16 @@ "score": 0 } }, - "result": 12 + "result": 11 }, "multiplier": 1, - "reward": 21.57, + "priority": 4, + "reward": 20.57, "words": { "result": 9.57, "wordCount": 214, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036433646" @@ -225,13 +229,13 @@ "result": 8 }, "multiplier": 1, + "priority": 4, "reward": 12.93, "words": { "result": 4.93, "wordCount": 98, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036516869" @@ -258,13 +262,13 @@ "result": 5 }, "multiplier": 1, + "priority": 4, "reward": 9.88, "words": { "result": 4.88, "wordCount": 97, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2053332029" @@ -283,13 +287,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 2.75, "words": { "result": 1.75, "wordCount": 29, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2055783331" @@ -308,13 +312,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.39, "words": { "result": 0.39, "wordCount": 5, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#pullrequestreview-2007841578" @@ -334,13 +338,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.52, "words": { "result": 0.52, "wordCount": 7, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1569964797" @@ -360,13 +364,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 3.73, "words": { "result": 2.73, "wordCount": 49, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1569970517" @@ -386,13 +390,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.46, "words": { "result": 0.46, "wordCount": 6, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1569971792" @@ -416,13 +420,13 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "reward": 4.7, "words": { "result": 1.7, "wordCount": 28, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570133378" @@ -446,13 +450,13 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "reward": 2.94, "words": { "result": 0.94, "wordCount": 14, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570159594" @@ -480,13 +484,13 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "reward": 3.49, "words": { "result": 1.49, "wordCount": 24, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570588757" @@ -506,13 +510,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.39, "words": { "result": 0.39, "wordCount": 5, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570589892" @@ -532,13 +536,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.59, "words": { "result": 0.59, "wordCount": 8, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570591425" @@ -566,13 +570,13 @@ "result": 4 }, "multiplier": 1, + "priority": 4, "reward": 7.48, "words": { "result": 3.48, "wordCount": 65, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570596007" @@ -592,13 +596,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 2.44, "words": { "result": 1.44, "wordCount": 23, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573720820" @@ -618,13 +622,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.39, "words": { "result": 0.39, "wordCount": 5, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573722731" @@ -648,13 +652,13 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "reward": 4.22, "words": { "result": 1.22, "wordCount": 19, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573723262" @@ -674,13 +678,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 2.54, "words": { "result": 1.54, "wordCount": 25, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573723774" @@ -700,13 +704,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.52, "words": { "result": 0.52, "wordCount": 7, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573724498" @@ -726,13 +730,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.18, "words": { "result": 0.18, "wordCount": 2, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573724853" @@ -752,13 +756,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.59, "words": { "result": 0.59, "wordCount": 8, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574086028" @@ -778,13 +782,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 1.18, "words": { "result": 0.18, "wordCount": 2, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574086293" @@ -808,13 +812,13 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "reward": 4.8, "words": { "result": 1.8, "wordCount": 30, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575555444" @@ -834,13 +838,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 3.35, "words": { "result": 2.35, "wordCount": 41, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575556553" @@ -860,13 +864,13 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "reward": 8.05, "words": { "result": 5.05, "wordCount": 101, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1576666170" @@ -886,13 +890,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 2.7, "words": { "result": 1.7, "wordCount": 28, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1577225638" @@ -911,19 +915,19 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 2.06, "words": { "result": 1.06, "wordCount": 16, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#issuecomment-2063712447" } ], - "total": 173.81, + "total": 173.45, "userId": 4975670 }, "gentlementlegen": { @@ -934,21 +938,25 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 2, + "score": 1 + }, "p": { "elementCount": 1, "score": 1 } }, - "result": 1 + "result": 3 }, "multiplier": 1, - "reward": 5.11, + "priority": 4, + "reward": 5.22, "words": { - "result": 4.11, - "wordCount": 35, + "result": 2.22, + "wordCount": 17, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2033404518" @@ -959,6 +967,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "li": { "elementCount": 3, "score": 1 @@ -972,16 +984,16 @@ "score": 1 } }, - "result": 9 + "result": 10 }, "multiplier": 1, - "reward": 19.95, + "priority": 4, + "reward": 20.36, "words": { - "result": 10.95, - "wordCount": 111, + "result": 10.36, + "wordCount": 104, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036174312" @@ -992,6 +1004,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 3, "score": 1 @@ -1001,16 +1017,16 @@ "score": 1 } }, - "result": 6 + "result": 7 }, "multiplier": 1, - "reward": 17.29, + "priority": 4, + "reward": 17.53, "words": { - "result": 11.29, - "wordCount": 115, + "result": 10.53, + "wordCount": 106, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036367126" @@ -1033,13 +1049,13 @@ "result": 5 }, "multiplier": 1, + "priority": 4, "reward": 17.85, "words": { "result": 12.85, "wordCount": 134, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036385985" @@ -1058,13 +1074,13 @@ "result": 5 }, "multiplier": 1, + "priority": 4, "reward": 19.87, "words": { "result": 14.87, "wordCount": 159, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036411811" @@ -1083,13 +1099,13 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "reward": 7.03, "words": { "result": 6.03, "wordCount": 55, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036458775" @@ -1112,13 +1128,13 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "reward": 10.73, "words": { "result": 8.73, "wordCount": 85, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036535332" @@ -1141,13 +1157,13 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "reward": 9.31, "words": { "result": 6.31, "wordCount": 58, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2051094255" @@ -1178,13 +1194,13 @@ "result": 16 }, "multiplier": 1, + "priority": 4, "reward": 21.94, "words": { "result": 5.94, "wordCount": 54, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2054424028" @@ -1215,13 +1231,13 @@ "result": 11 }, "multiplier": 1, - "reward": 15.93, + "priority": 4, + "reward": 15.45, "words": { - "result": 4.93, - "wordCount": 98, + "result": 4.45, + "wordCount": 87, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_SPECIFICATION", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5" @@ -1240,13 +1256,13 @@ "result": 3 }, "multiplier": 0, + "priority": 4, "reward": 0, "words": { "result": 0, "wordCount": 19, "wordValue": 0 - }, - "priority": 4 + } }, "type": "PULL_SPECIFICATION", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12" @@ -1270,13 +1286,13 @@ "result": 6 }, "multiplier": 2, + "priority": 4, "reward": 24.98, "words": { "result": 6.49, "wordCount": 60, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570010044" @@ -1300,13 +1316,13 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "reward": 8.22, "words": { "result": 2.11, "wordCount": 16, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570011467" @@ -1318,21 +1334,25 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 1, "score": 1 } }, - "result": 1 + "result": 2 }, "multiplier": 2, - "reward": 6.88, + "priority": 4, + "reward": 8, "words": { - "result": 2.44, - "wordCount": 19, + "result": 2, + "wordCount": 15, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570014142" @@ -1356,13 +1376,13 @@ "result": 3 }, "multiplier": 2, + "priority": 4, "reward": 15.2, "words": { "result": 4.6, "wordCount": 40, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570187141" @@ -1374,6 +1394,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 2, "score": 1 @@ -1383,16 +1407,16 @@ "score": 1 } }, - "result": 4 + "result": 5 }, "multiplier": 2, - "reward": 13.96, + "priority": 4, + "reward": 12.84, "words": { - "result": 2.98, - "wordCount": 24, + "result": 1.42, + "wordCount": 10, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570188450" @@ -1404,21 +1428,25 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 3, "score": 1 } }, - "result": 3 + "result": 4 }, "multiplier": 2, - "reward": 16.74, + "priority": 4, + "reward": 16.02, "words": { - "result": 5.37, - "wordCount": 48, + "result": 4.01, + "wordCount": 34, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573413974" @@ -1438,13 +1466,13 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "reward": 8.18, "words": { "result": 3.09, "wordCount": 25, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573416633" @@ -1472,13 +1500,13 @@ "result": 3 }, "multiplier": 2, + "priority": 4, "reward": 15.4, "words": { "result": 4.7, "wordCount": 41, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573420718" @@ -1490,21 +1518,25 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 2, "score": 1 } }, - "result": 2 + "result": 3 }, "multiplier": 2, - "reward": 12.62, + "priority": 4, + "reward": 12.8, "words": { - "result": 4.31, - "wordCount": 37, + "result": 3.4, + "wordCount": 28, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573731420" @@ -1516,21 +1548,25 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 1, "score": 1 } }, - "result": 1 + "result": 2 }, "multiplier": 2, - "reward": 6.44, + "priority": 4, + "reward": 6.34, "words": { - "result": 2.22, - "wordCount": 17, + "result": 1.17, + "wordCount": 8, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573731649" @@ -1542,6 +1578,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 1, "score": 1 @@ -1551,16 +1591,16 @@ "score": 1 } }, - "result": 3 + "result": 4 }, "multiplier": 2, - "reward": 15.78, + "priority": 4, + "reward": 17, "words": { - "result": 4.89, - "wordCount": 43, + "result": 4.5, + "wordCount": 39, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573733603" @@ -1580,13 +1620,13 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "reward": 5.3, "words": { "result": 1.65, "wordCount": 12, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573737049" @@ -1606,13 +1646,13 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "reward": 9.82, "words": { "result": 3.91, "wordCount": 33, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574114225" @@ -1636,13 +1676,13 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "reward": 18.44, "words": { "result": 7.22, "wordCount": 68, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574622869" @@ -1666,13 +1706,13 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "reward": 10.18, "words": { "result": 3.09, "wordCount": 25, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574702577" @@ -1692,13 +1732,13 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "reward": 7.96, "words": { "result": 2.98, "wordCount": 24, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574724902" @@ -1710,21 +1750,25 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 2, "score": 1 } }, - "result": 2 + "result": 3 }, "multiplier": 2, - "reward": 8.88, + "priority": 4, + "reward": 8.84, "words": { - "result": 2.44, - "wordCount": 19, + "result": 1.42, + "wordCount": 10, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574767984" @@ -1736,6 +1780,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "li": { "elementCount": 2, "score": 1 @@ -1749,16 +1797,16 @@ "score": 1 } }, - "result": 8 + "result": 9 }, "multiplier": 2, - "reward": 25.6, + "priority": 4, + "reward": 25.4, "words": { - "result": 4.8, - "wordCount": 42, + "result": 3.7, + "wordCount": 31, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575659438" @@ -1782,13 +1830,13 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "reward": 11.2, "words": { "result": 3.6, "wordCount": 30, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575675704" @@ -1812,13 +1860,13 @@ "result": 15 }, "multiplier": 2, + "priority": 4, "reward": 43.9, "words": { "result": 6.95, "wordCount": 65, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1576567583" @@ -1838,13 +1886,13 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "reward": 12.74, "words": { "result": 5.37, "wordCount": 48, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1577477616" @@ -1856,6 +1904,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 5, "score": 1 @@ -1865,16 +1917,16 @@ "score": 1 } }, - "result": 10 + "result": 11 }, "multiplier": 2, - "reward": 32.62, + "priority": 4, + "reward": 32.56, "words": { - "result": 6.31, - "wordCount": 58, + "result": 5.28, + "wordCount": 47, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1578162024" @@ -1885,21 +1937,25 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 2, "score": 1 } }, - "result": 2 + "result": 3 }, "multiplier": 2, - "reward": 8.22, + "priority": 4, + "reward": 8.1, "words": { - "result": 2.11, - "wordCount": 16, + "result": 1.05, + "wordCount": 7, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#issuecomment-2056635516" @@ -1918,13 +1974,13 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "reward": 8.58, "words": { "result": 3.29, "wordCount": 27, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#issuecomment-2063348339" @@ -1934,7 +1990,7 @@ "multiplier": 1, "reward": 400 }, - "total": 892.85, + "total": 893.29, "userId": 9807008 }, "whilefoo": { @@ -1961,13 +2017,13 @@ "result": 9 }, "multiplier": 0.25, + "priority": 4, "reward": 4.25, "words": { "result": 7.99, "wordCount": 173, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2035427134" @@ -1995,13 +2051,13 @@ "result": 2 }, "multiplier": 0.25, + "priority": 4, "reward": 0.74, "words": { "result": 0.94, "wordCount": 14, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574427305" @@ -2021,13 +2077,13 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "reward": 0.64, "words": { "result": 1.54, "wordCount": 25, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574441918" @@ -2047,13 +2103,13 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "reward": 0.43, "words": { "result": 0.71, "wordCount": 10, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574458540" @@ -2073,13 +2129,13 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "reward": 0.47, "words": { "result": 0.88, "wordCount": 13, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574460099" @@ -2099,13 +2155,13 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "reward": 0.62, "words": { "result": 1.49, "wordCount": 24, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574487172" @@ -2125,13 +2181,13 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "reward": 0.57, "words": { "result": 1.28, "wordCount": 20, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574492061" @@ -2151,13 +2207,13 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "reward": 0.41, "words": { "result": 0.65, "wordCount": 9, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575851470" @@ -2169,21 +2225,25 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 3, "score": 1 } }, - "result": 3 + "result": 4 }, "multiplier": 0.25, - "reward": 1.73, + "priority": 4, + "reward": 1.85, "words": { - "result": 3.92, - "wordCount": 75, + "result": 3.38, + "wordCount": 63, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1576482609" @@ -2203,13 +2263,13 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "reward": 0.53, "words": { "result": 1.11, "wordCount": 17, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1578040543" @@ -2233,13 +2293,13 @@ "result": 4 }, "multiplier": 0.25, + "priority": 4, "reward": 1.53, "words": { "result": 2.1, "wordCount": 36, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1578050965" @@ -2259,19 +2319,19 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "reward": 0.33, "words": { "result": 0.32, "wordCount": 4, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1579556333" } ], - "total": 12.25, + "total": 12.37, "userId": 139262667 } -} +} \ 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 49fc3a09..d4385e5e 100644 --- a/tests/__mocks__/results/github-comment-results.json +++ b/tests/__mocks__/results/github-comment-results.json @@ -23,14 +23,14 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 16.448, "words": { "result": 2.64, "wordCount": 47, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2030164289" @@ -49,14 +49,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 7.552, "words": { "result": 1.11, "wordCount": 17, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2033488255" @@ -87,14 +87,14 @@ "result": 12 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 87.072, "words": { "result": 12.21, "wordCount": 285, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036355445" @@ -105,6 +105,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 4, "score": 1 @@ -114,17 +118,17 @@ "score": 1 } }, - "result": 8 + "result": 9 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 56.928, + "reward": 59.776, "words": { - "result": 7.79, - "wordCount": 168, + "result": 7.43, + "wordCount": 159, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036370459" @@ -151,14 +155,14 @@ "result": 7 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 47.904, "words": { "result": 6.22, "wordCount": 129, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036393020" @@ -170,7 +174,7 @@ "formatting": { "content": { "a": { - "elementCount": 2, + "elementCount": 1, "score": 1 }, "code": { @@ -190,17 +194,17 @@ "score": 0 } }, - "result": 12 + "result": 11 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 78.624, + "reward": 74.624, "words": { "result": 9.57, "wordCount": 214, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036433646" @@ -231,14 +235,14 @@ "result": 8 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 47.776, "words": { "result": 4.93, "wordCount": 98, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036516869" @@ -265,14 +269,14 @@ "result": 5 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 35.616, "words": { "result": 4.88, "wordCount": 97, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2053332029" @@ -291,14 +295,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 9.6, "words": { "result": 1.75, "wordCount": 29, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2055783331" @@ -317,14 +321,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.092, "words": { "result": 0.39, "wordCount": 5, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#pullrequestreview-2007841578" @@ -344,14 +348,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.456, "words": { "result": 0.52, "wordCount": 7, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1569964797" @@ -371,14 +375,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 11.644, "words": { "result": 2.73, "wordCount": 49, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1569970517" @@ -398,14 +402,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.288, "words": { "result": 0.46, "wordCount": 6, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1569971792" @@ -429,14 +433,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 16.76, "words": { "result": 1.7, "wordCount": 28, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570133378" @@ -460,14 +464,14 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 10.632, "words": { "result": 0.94, "wordCount": 14, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570159594" @@ -495,14 +499,14 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 12.172, "words": { "result": 1.49, "wordCount": 24, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570588757" @@ -522,14 +526,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.092, "words": { "result": 0.39, "wordCount": 5, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570589892" @@ -549,14 +553,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.652, "words": { "result": 0.59, "wordCount": 8, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570591425" @@ -584,14 +588,14 @@ "result": 4 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 25.744, "words": { "result": 3.48, "wordCount": 65, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570596007" @@ -611,14 +615,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 8.032, "words": { "result": 1.44, "wordCount": 23, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573720820" @@ -638,14 +642,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.092, "words": { "result": 0.39, "wordCount": 5, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573722731" @@ -669,14 +673,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 15.416, "words": { "result": 1.22, "wordCount": 19, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573723262" @@ -696,14 +700,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 8.312, "words": { "result": 1.54, "wordCount": 25, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573723774" @@ -723,14 +727,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.456, "words": { "result": 0.52, "wordCount": 7, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573724498" @@ -750,14 +754,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 4.504, "words": { "result": 0.18, "wordCount": 2, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573724853" @@ -777,14 +781,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 5.652, "words": { "result": 0.59, "wordCount": 8, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574086028" @@ -804,14 +808,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 4.504, "words": { "result": 0.18, "wordCount": 2, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574086293" @@ -835,14 +839,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 17.04, "words": { "result": 1.8, "wordCount": 30, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575555444" @@ -862,14 +866,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 10.58, "words": { "result": 2.35, "wordCount": 41, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575556553" @@ -889,14 +893,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 26.14, "words": { "result": 5.05, "wordCount": 101, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1576666170" @@ -916,14 +920,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 8.76, "words": { "result": 1.7, "wordCount": 28, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1577225638" @@ -942,22 +946,22 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.7, "reward": 6.968, "words": { "result": 1.06, "wordCount": 16, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_COLLABORATOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#issuecomment-2063712447" } ], - "evaluationCommentHtml": "

 [ 617.508 WXDAI ] 

@0x4007
Contributions Overview
ViewContributionCountReward
IssueComment9387.52
ReviewComment23229.988
Conversation Incentives
CommentFormattingRelevancePriorityReward
@whilefoo rfc on how we can deal with comment outputs. Perhaps w…
4.64
content:
  content:
    p:
      score: 1
      elementCount: 1
    pre:
      score: 0
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 47
  wordValue: 0.1
  result: 2.64
0.8416.448
I think you should fork from and overtake that second pull due t…
2.11
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 17
  wordValue: 0.1
  result: 1.11
0.847.552
I think the most pure architecture would be that plugins can NOT…
24.21
content:
  content:
    p:
      score: 1
      elementCount: 7
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 2
  result: 12
regex:
  wordCount: 285
  wordValue: 0.1
  result: 12.21
0.8487.072
I know JSON makes things more complicated than it needs to be wi…
15.79
content:
  content:
    p:
      score: 1
      elementCount: 4
    code:
      score: 1
      elementCount: 4
  result: 8
regex:
  wordCount: 168
  wordValue: 0.1
  result: 7.79
0.8456.928
Going back to my \"plugin-side-rendering\" mention, the data manip…
13.22
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 5
    pre:
      score: 0
      elementCount: 1
  result: 7
regex:
  wordCount: 129
  wordValue: 0.1
  result: 6.22
0.8447.904
The proposed `comment` output is intended for ease of co…
21.57
content:
  content:
    p:
      score: 1
      elementCount: 6
    code:
      score: 1
      elementCount: 3
    a:
      score: 1
      elementCount: 2
    h3:
      score: 1
      elementCount: 1
    pre:
      score: 0
      elementCount: 1
  result: 12
regex:
  wordCount: 214
  wordValue: 0.1
  result: 9.57
0.8478.624
I understand your concern and I would need to put more thought i…
12.93
content:
  content:
    p:
      score: 1
      elementCount: 5
    code:
      score: 1
      elementCount: 1
    ol:
      score: 0
      elementCount: 1
    li:
      score: 1
      elementCount: 2
  result: 8
regex:
  wordCount: 98
  wordValue: 0.1
  result: 4.93
0.8447.776
I see, so you're suggesting that we must annotate each comment a…
9.88
content:
  content:
    p:
      score: 1
      elementCount: 1
    ol:
      score: 0
      elementCount: 1
    li:
      score: 1
      elementCount: 4
  result: 5
regex:
  wordCount: 97
  wordValue: 0.1
  result: 4.88
0.8435.616
Consider calling it \"contributor\" and \"collaborator\" as that is …
2.75
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 29
  wordValue: 0.1
  result: 1.75
0.849.6
Nice code quality per usual
1.39
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 5
  wordValue: 0.1
  result: 0.39
0.745.092
\"Comment\" implication isn't clear to me
1.52
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 7
  wordValue: 0.1
  result: 0.52
0.745.456
I've always been anti empty string for variable declarations. It…
3.73
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 49
  wordValue: 0.1
  result: 2.73
0.7411.644
Our RPCs don't work anymore
1.46
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 6
  wordValue: 0.1
  result: 0.46
0.745.288
Yes consider changing them to verbs `ISSUER``COMME…
4.7
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 2
  result: 3
regex:
  wordCount: 28
  wordValue: 0.1
  result: 1.7
0.7416.76
`[].join(\"\");` yields an empty string as well if there's…
2.94
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 14
  wordValue: 0.1
  result: 0.94
0.7410.632
Perhaps it will make the config more expressive if you add other…
3.49
content:
  content:
    p:
      score: 1
      elementCount: 1
    pre:
      score: 0
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 24
  wordValue: 0.1
  result: 1.49
0.7412.172
What is this @link syntax
1.39
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 5
  wordValue: 0.1
  result: 0.39
0.745.092
Just noticed the bit wise operators 1337 code
1.59
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 8
  wordValue: 0.1
  result: 0.59
0.745.652
It might seem convoluted but I think that it condenses the logic…
7.48
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 3
    pre:
      score: 0
      elementCount: 1
  result: 4
regex:
  wordCount: 65
  wordValue: 0.1
  result: 3.48
0.7425.744
I am aware of its purpose. I am proposing to make the config mor…
2.44
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 23
  wordValue: 0.1
  result: 1.44
0.748.032
Will you use array syntax?
1.39
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 5
  wordValue: 0.1
  result: 0.39
0.745.092
This regex appears to convert repeating spaces i.e. `\" \"&#…
4.22
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 2
  result: 3
regex:
  wordCount: 19
  wordValue: 0.1
  result: 1.22
0.7415.416
This doesn't seem right. Network ID 1 is mainnet. The RPC clearl…
2.54
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 25
  wordValue: 0.1
  result: 1.54
0.748.312
Seems like not a very useful mock.
1.52
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 7
  wordValue: 0.1
  result: 0.52
0.745.456
Same here
1.18
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 2
  wordValue: 0.1
  result: 0.18
0.744.504
The token address indeed represents DAI on mainnet.
1.59
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 8
  wordValue: 0.1
  result: 0.59
0.745.652
@gentlementlegen rfc
1.18
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 2
  wordValue: 0.1
  result: 0.18
0.744.504
Why not do it in the industry standard way? All values are denom…
4.8
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 2
  result: 3
regex:
  wordCount: 30
  wordValue: 0.1
  result: 1.8
0.7417.04
I'm not sure if I understand but task reward is if you completed…
3.35
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 41
  wordValue: 0.1
  result: 2.35
0.7410.58
Spoke a bit on this in dms. @whilefoo my intent with referring t…
8.05
content:
  content:
    p:
      score: 1
      elementCount: 3
  result: 3
regex:
  wordCount: 101
  wordValue: 0.1
  result: 5.05
0.7426.14
Possibly. I personally haven't had that issue but either way my …
2.7
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 28
  wordValue: 0.1
  result: 1.7
0.748.76
I think it's fine. I generally scrutinize test code less than no…
2.06
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 16
  wordValue: 0.1
  result: 1.06
0.746.968
", - "permitUrl": "https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiI2MTc1MDgwMDAwMDAwMDAwMDAwMDAifSwibm9uY2UiOiIzMzkyOTQxNzYyNzkzOTc1NTkzMTc4MTExNTY1OTgzNzk3NDc1ODk0MDM3NDk1NDA0MTMxMjg2MzgyNzgwNDExNjg3NzA4MzUyODg4IiwiZGVhZGxpbmUiOiIxMTU3OTIwODkyMzczMTYxOTU0MjM1NzA5ODUwMDg2ODc5MDc4NTMyNjk5ODQ2NjU2NDA1NjQwMzk0NTc1ODQwMDc5MTMxMjk2Mzk5MzUifSwidHJhbnNmZXJEZXRhaWxzIjp7InRvIjoiMHg0RDA3MDRmNDAwRDU3QmE5M2VFYTg4NzY1QzNGY0RCRDgyNmRDRmM0IiwicmVxdWVzdGVkQW1vdW50IjoiNjE3NTA4MDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHhkOTUzMEYzZmJCRWExMWJlRDAxREMwOUU3OTMxOGYyZjIwMjIzNzE2Iiwic2lnbmF0dXJlIjoiMHhlMjZjYWE0MGM3N2IzZjZkNTkxYzRjNmNjMjY2NDBiMmU4NzUwYjYyYmNiMmU5Y2I2OGNmYmQ0ZDBlYWFjYzA1NWMzMTVmYzQyNzhhZGY4MzJlZGViZTE3YjY2NTdmMjhmZjAyMTQyYWQyZmRhODU3NWMyY2NkMjhjOGY2MTg1NzFiIiwibmV0d29ya0lkIjoxMDB9XQ==", - "total": 617.508, + "evaluationCommentHtml": "

 [ 616.356 WXDAI ] 

@0x4007
Contributions Overview
ViewContributionCountReward
IssueComment9386.368
ReviewComment23229.988
Conversation Incentives
CommentFormattingRelevancePriorityReward
@whilefoo rfc on how we can deal with comment outputs. Perhaps w…
4.64
content:
  content:
    p:
      score: 1
      elementCount: 1
    pre:
      score: 0
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 47
  wordValue: 0.1
  result: 2.64
0.8416.448
I think you should fork from and overtake that second pull due t…
2.11
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 17
  wordValue: 0.1
  result: 1.11
0.847.552
I think the most pure architecture would be that plugins can NOT…
24.21
content:
  content:
    p:
      score: 1
      elementCount: 7
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 2
  result: 12
regex:
  wordCount: 285
  wordValue: 0.1
  result: 12.21
0.8487.072
I know JSON makes things more complicated than it needs to be wi…
16.43
content:
  content:
    p:
      score: 1
      elementCount: 4
    code:
      score: 1
      elementCount: 4
    a:
      score: 1
      elementCount: 1
  result: 9
regex:
  wordCount: 159
  wordValue: 0.1
  result: 7.43
0.8459.776
Going back to my \"plugin-side-rendering\" mention, the data manip…
13.22
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 5
    pre:
      score: 0
      elementCount: 1
  result: 7
regex:
  wordCount: 129
  wordValue: 0.1
  result: 6.22
0.8447.904
The proposed `comment` output is intended for ease of co…
20.57
content:
  content:
    p:
      score: 1
      elementCount: 6
    code:
      score: 1
      elementCount: 3
    h3:
      score: 1
      elementCount: 1
    pre:
      score: 0
      elementCount: 1
    a:
      score: 1
      elementCount: 1
  result: 11
regex:
  wordCount: 214
  wordValue: 0.1
  result: 9.57
0.8474.624
I understand your concern and I would need to put more thought i…
12.93
content:
  content:
    p:
      score: 1
      elementCount: 5
    code:
      score: 1
      elementCount: 1
    ol:
      score: 0
      elementCount: 1
    li:
      score: 1
      elementCount: 2
  result: 8
regex:
  wordCount: 98
  wordValue: 0.1
  result: 4.93
0.8447.776
I see, so you're suggesting that we must annotate each comment a…
9.88
content:
  content:
    p:
      score: 1
      elementCount: 1
    ol:
      score: 0
      elementCount: 1
    li:
      score: 1
      elementCount: 4
  result: 5
regex:
  wordCount: 97
  wordValue: 0.1
  result: 4.88
0.8435.616
Consider calling it \"contributor\" and \"collaborator\" as that is …
2.75
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 29
  wordValue: 0.1
  result: 1.75
0.849.6
Nice code quality per usual
1.39
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 5
  wordValue: 0.1
  result: 0.39
0.745.092
\"Comment\" implication isn't clear to me
1.52
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 7
  wordValue: 0.1
  result: 0.52
0.745.456
I've always been anti empty string for variable declarations. It…
3.73
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 49
  wordValue: 0.1
  result: 2.73
0.7411.644
Our RPCs don't work anymore
1.46
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 6
  wordValue: 0.1
  result: 0.46
0.745.288
Yes consider changing them to verbs `ISSUER``COMME…
4.7
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 2
  result: 3
regex:
  wordCount: 28
  wordValue: 0.1
  result: 1.7
0.7416.76
`[].join(\"\");` yields an empty string as well if there's…
2.94
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 14
  wordValue: 0.1
  result: 0.94
0.7410.632
Perhaps it will make the config more expressive if you add other…
3.49
content:
  content:
    p:
      score: 1
      elementCount: 1
    pre:
      score: 0
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 24
  wordValue: 0.1
  result: 1.49
0.7412.172
What is this @link syntax
1.39
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 5
  wordValue: 0.1
  result: 0.39
0.745.092
Just noticed the bit wise operators 1337 code
1.59
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 8
  wordValue: 0.1
  result: 0.59
0.745.652
It might seem convoluted but I think that it condenses the logic…
7.48
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 3
    pre:
      score: 0
      elementCount: 1
  result: 4
regex:
  wordCount: 65
  wordValue: 0.1
  result: 3.48
0.7425.744
I am aware of its purpose. I am proposing to make the config mor…
2.44
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 23
  wordValue: 0.1
  result: 1.44
0.748.032
Will you use array syntax?
1.39
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 5
  wordValue: 0.1
  result: 0.39
0.745.092
This regex appears to convert repeating spaces i.e. `\" \"&#…
4.22
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 2
  result: 3
regex:
  wordCount: 19
  wordValue: 0.1
  result: 1.22
0.7415.416
This doesn't seem right. Network ID 1 is mainnet. The RPC clearl…
2.54
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 25
  wordValue: 0.1
  result: 1.54
0.748.312
Seems like not a very useful mock.
1.52
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 7
  wordValue: 0.1
  result: 0.52
0.745.456
Same here
1.18
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 2
  wordValue: 0.1
  result: 0.18
0.744.504
The token address indeed represents DAI on mainnet.
1.59
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 8
  wordValue: 0.1
  result: 0.59
0.745.652
@gentlementlegen rfc
1.18
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 2
  wordValue: 0.1
  result: 0.18
0.744.504
Why not do it in the industry standard way? All values are denom…
4.8
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 2
  result: 3
regex:
  wordCount: 30
  wordValue: 0.1
  result: 1.8
0.7417.04
I'm not sure if I understand but task reward is if you completed…
3.35
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 41
  wordValue: 0.1
  result: 2.35
0.7410.58
Spoke a bit on this in dms. @whilefoo my intent with referring t…
8.05
content:
  content:
    p:
      score: 1
      elementCount: 3
  result: 3
regex:
  wordCount: 101
  wordValue: 0.1
  result: 5.05
0.7426.14
Possibly. I personally haven't had that issue but either way my …
2.7
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 28
  wordValue: 0.1
  result: 1.7
0.748.76
I think it's fine. I generally scrutinize test code less than no…
2.06
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 16
  wordValue: 0.1
  result: 1.06
0.746.968
", + "permitUrl": "https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiI2MTYzNTYwMDAwMDAwMDAwMDAwMDAifSwibm9uY2UiOiIzMzkyOTQxNzYyNzkzOTc1NTkzMTc4MTExNTY1OTgzNzk3NDc1ODk0MDM3NDk1NDA0MTMxMjg2MzgyNzgwNDExNjg3NzA4MzUyODg4IiwiZGVhZGxpbmUiOiIxMTU3OTIwODkyMzczMTYxOTU0MjM1NzA5ODUwMDg2ODc5MDc4NTMyNjk5ODQ2NjU2NDA1NjQwMzk0NTc1ODQwMDc5MTMxMjk2Mzk5MzUifSwidHJhbnNmZXJEZXRhaWxzIjp7InRvIjoiMHg0RDA3MDRmNDAwRDU3QmE5M2VFYTg4NzY1QzNGY0RCRDgyNmRDRmM0IiwicmVxdWVzdGVkQW1vdW50IjoiNjE2MzU2MDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHhkOTUzMEYzZmJCRWExMWJlRDAxREMwOUU3OTMxOGYyZjIwMjIzNzE2Iiwic2lnbmF0dXJlIjoiMHg1MzMyODgxNjMzMjk4OWQzY2RiYTY4MjllOWRhMDcwOWU3MDU2OWMzNmRlZWFhNDc1NTY2ODQzZTBlZjY0ODc2MTgwMWQwYmMyY2I0MGI1YjdkNTc3NDc5NzY5MjRlNzgzNDgxODE2NTJlMmUzNjFlNTRiMTVmYTBhYTcwYjAwNTFiIiwibmV0d29ya0lkIjoxMDB9XQ==", + "total": 616.356, "userId": 4975670 }, "gentlementlegen": { @@ -968,22 +972,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 2, + "score": 1 + }, "p": { "elementCount": 1, "score": 1 } }, - "result": 1 + "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 17.152, + "reward": 19.104, "words": { - "result": 4.11, - "wordCount": 35, + "result": 2.22, + "wordCount": 17, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2033404518" @@ -994,6 +1002,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "li": { "elementCount": 3, "score": 1 @@ -1007,17 +1019,17 @@ "score": 1 } }, - "result": 9 + "result": 10 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 71.04, + "reward": 73.152, "words": { - "result": 10.95, - "wordCount": 111, + "result": 10.36, + "wordCount": 104, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036174312" @@ -1028,6 +1040,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 3, "score": 1 @@ -1037,17 +1053,17 @@ "score": 1 } }, - "result": 6 + "result": 7 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, - "reward": 60.128, + "reward": 61.696, "words": { - "result": 11.29, - "wordCount": 115, + "result": 10.53, + "wordCount": 106, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036367126" @@ -1070,14 +1086,14 @@ "result": 5 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 61.12, "words": { "result": 12.85, "wordCount": 134, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036385985" @@ -1096,14 +1112,14 @@ "result": 5 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 67.584, "words": { "result": 14.87, "wordCount": 159, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036411811" @@ -1122,14 +1138,14 @@ "result": 1 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 23.296, "words": { "result": 6.03, "wordCount": 55, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036458775" @@ -1152,14 +1168,14 @@ "result": 2 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 35.936, "words": { "result": 8.73, "wordCount": 85, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2036535332" @@ -1182,14 +1198,14 @@ "result": 3 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 32.192, "words": { "result": 6.31, "wordCount": 58, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2051094255" @@ -1220,14 +1236,14 @@ "result": 16 }, "multiplier": 1, + "priority": 4, "relevance": 0.8, "reward": 83.008, "words": { "result": 5.94, "wordCount": 54, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "ISSUE_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2054424028" @@ -1258,14 +1274,14 @@ "result": 11 }, "multiplier": 1, + "priority": 4, "relevance": 1, - "reward": 63.72, + "reward": 61.8, "words": { - "result": 4.93, - "wordCount": 98, + "result": 4.45, + "wordCount": 87, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_SPECIFICATION", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5" @@ -1284,14 +1300,14 @@ "result": 3 }, "multiplier": 0, + "priority": 4, "relevance": 0.7, "reward": 0, "words": { "result": 0, "wordCount": 19, "wordValue": 0 - }, - "priority": 4 + } }, "type": "PULL_SPECIFICATION", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12" @@ -1315,14 +1331,14 @@ "result": 6 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 84.344, "words": { "result": 6.49, "wordCount": 60, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570010044" @@ -1346,14 +1362,14 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 27.816, "words": { "result": 2.11, "wordCount": 16, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570011467" @@ -1365,22 +1381,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 1, "score": 1 } }, - "result": 1 + "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 21.664, + "reward": 27.2, "words": { - "result": 2.44, - "wordCount": 19, + "result": 2, + "wordCount": 15, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570014142" @@ -1404,14 +1424,14 @@ "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 49.76, "words": { "result": 4.6, "wordCount": 40, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570187141" @@ -1423,6 +1443,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 2, "score": 1 @@ -1432,17 +1456,17 @@ "score": 1 } }, - "result": 4 + "result": 5 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 48.688, + "reward": 47.952, "words": { - "result": 2.98, - "wordCount": 24, + "result": 1.42, + "wordCount": 10, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1570188450" @@ -1454,22 +1478,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 3, "score": 1 } }, - "result": 3 + "result": 4 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 54.072, + "reward": 54.456, "words": { - "result": 5.37, - "wordCount": 48, + "result": 4.01, + "wordCount": 34, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573413974" @@ -1489,14 +1517,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 25.304, "words": { "result": 3.09, "wordCount": 25, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573416633" @@ -1524,14 +1552,14 @@ "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 50.32, "words": { "result": 4.7, "wordCount": 41, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573420718" @@ -1543,22 +1571,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 2, "score": 1 } }, - "result": 2 + "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 40.136, + "reward": 43.04, "words": { - "result": 4.31, - "wordCount": 37, + "result": 3.4, + "wordCount": 28, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573731420" @@ -1570,22 +1602,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 1, "score": 1 } }, - "result": 1 + "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 20.432, + "reward": 22.552, "words": { - "result": 2.22, - "wordCount": 17, + "result": 1.17, + "wordCount": 8, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573731649" @@ -1597,6 +1633,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 1, "score": 1 @@ -1606,17 +1646,17 @@ "score": 1 } }, - "result": 3 + "result": 4 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 51.384, + "reward": 57.2, "words": { - "result": 4.89, - "wordCount": 43, + "result": 4.5, + "wordCount": 39, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573733603" @@ -1636,14 +1676,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 17.24, "words": { "result": 1.65, "wordCount": 12, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1573737049" @@ -1663,14 +1703,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 29.896, "words": { "result": 3.91, "wordCount": 33, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574114225" @@ -1694,14 +1734,14 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 56.432, "words": { "result": 7.22, "wordCount": 68, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574622869" @@ -1725,14 +1765,14 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 33.304, "words": { "result": 3.09, "wordCount": 25, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574702577" @@ -1752,14 +1792,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 24.688, "words": { "result": 2.98, "wordCount": 24, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574724902" @@ -1771,22 +1811,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 2, "score": 1 } }, - "result": 2 + "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 29.664, + "reward": 31.952, "words": { - "result": 2.44, - "wordCount": 19, + "result": 1.42, + "wordCount": 10, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574767984" @@ -1798,6 +1842,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "li": { "elementCount": 2, "score": 1 @@ -1811,17 +1859,17 @@ "score": 1 } }, - "result": 8 + "result": 9 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 90.88, + "reward": 92.72, "words": { - "result": 4.8, - "wordCount": 42, + "result": 3.7, + "wordCount": 31, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575659438" @@ -1845,14 +1893,14 @@ "result": 2 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 36.16, "words": { "result": 3.6, "wordCount": 30, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575675704" @@ -1876,14 +1924,14 @@ "result": 15 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 158.92, "words": { "result": 6.95, "wordCount": 65, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1576567583" @@ -1903,14 +1951,14 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 38.072, "words": { "result": 5.37, "wordCount": 48, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1577477616" @@ -1922,6 +1970,10 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "code": { "elementCount": 5, "score": 1 @@ -1931,17 +1983,17 @@ "score": 1 } }, - "result": 10 + "result": 11 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 115.336, + "reward": 117.568, "words": { - "result": 6.31, - "wordCount": 58, + "result": 5.28, + "wordCount": 47, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1578162024" @@ -1952,22 +2004,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 2, "score": 1 } }, - "result": 2 + "result": 3 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, - "reward": 27.816, + "reward": 29.88, "words": { - "result": 2.11, - "wordCount": 16, + "result": 1.05, + "wordCount": 7, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#issuecomment-2056635516" @@ -1986,26 +2042,26 @@ "result": 1 }, "multiplier": 2, + "priority": 4, "relevance": 0.7, "reward": 26.424, "words": { "result": 3.29, "wordCount": 27, "wordValue": 0.2 - }, - "priority": 4 + } }, "type": "PULL_AUTHOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#issuecomment-2063348339" } ], - "evaluationCommentHtml": "

 [ 2073.928 WXDAI ] 

@gentlementlegen
Contributions Overview
ViewContributionCountReward
IssueTask1400
IssueSpecification163.72
IssueComment9451.456
ReviewComment251158.752
Conversation Incentives
CommentFormattingRelevancePriorityReward
In the v1 of the Ubiquibot, when a result gets evaluated, a reca…
15.93
content:
  content:
    p:
      score: 1
      elementCount: 6
    a:
      score: 1
      elementCount: 1
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 3
  result: 11
regex:
  wordCount: 98
  wordValue: 0.1
  result: 4.93
1463.72
This needs https://github.com/ubiquity-os/conversation-rewards/p…
5.11
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 35
  wordValue: 0.2
  result: 4.11
0.8417.152
To me 1 is the most straightforward to do for few reasons:- th…
19.95
content:
  content:
    p:
      score: 1
      elementCount: 5
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 3
  result: 9
regex:
  wordCount: 111
  wordValue: 0.2
  result: 10.95
0.8471.04
I think each plugin should output JSON not html as it is not rel…
17.29
content:
  content:
    p:
      score: 1
      elementCount: 3
    code:
      score: 1
      elementCount: 3
  result: 6
regex:
  wordCount: 115
  wordValue: 0.2
  result: 11.29
0.8460.128
If you want to manipulate and convey data, HTML really is not ma…
17.85
content:
  content:
    p:
      score: 1
      elementCount: 4
    a:
      score: 1
      elementCount: 1
  result: 5
regex:
  wordCount: 134
  wordValue: 0.2
  result: 12.85
0.8461.12
But then how do we consider the formatting of that output?Prac…
19.87
content:
  content:
    p:
      score: 1
      elementCount: 5
  result: 5
regex:
  wordCount: 159
  wordValue: 0.2
  result: 14.87
0.8467.584
This can work, but we skyrocket coupling and to me defeat purpos…
7.03
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 55
  wordValue: 0.2
  result: 6.03
0.8423.296
@pavlovcik To mitigate that that's why inside the comment reward…
10.73
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 85
  wordValue: 0.2
  result: 8.73
0.8435.936
I realized that to carry this task properly we need to handle fl…
9.31
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 2
  result: 3
regex:
  wordCount: 58
  wordValue: 0.2
  result: 6.31
0.8432.192
Agreed, I think currently there are 3 possible things to annotat…
21.94
content:
  content:
    p:
      score: 1
      elementCount: 5
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 3
    code:
      score: 1
      elementCount: 7
  result: 16
regex:
  wordCount: 54
  wordValue: 0.2
  result: 5.94
0.8483.008
Resolves #5 Depends on #8 Reviews looks gigantic but it's on…
3
content:
  content:
    p:
      score: 1
      elementCount: 3
  result: 3
regex:
  wordCount: 19
  wordValue: 0
  result: 0
0.740
I think in this case it makes sense because this function will r…
12.49
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 4
  result: 6
regex:
  wordCount: 60
  wordValue: 0.2
  result: 6.49
0.7484.344
It is supposed to represent a comment. Would you prefer a descri…
4.11
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 16
  wordValue: 0.2
  result: 2.11
0.7427.816
True, just picked this up from the previous codebase. https://rp…
3.44
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 19
  wordValue: 0.2
  result: 2.44
0.7421.664
Seems convoluted to me and I don't know what problem that solved…
7.6
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 40
  wordValue: 0.2
  result: 4.6
0.7449.76
Changed `COMMENT` to `COMMENTED`, added jsdoc de…
6.98
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 2
  result: 4
regex:
  wordCount: 24
  wordValue: 0.2
  result: 2.98
0.7448.688
Simply makes the docs linking the code within the comment, for c…
8.37
content:
  content:
    p:
      score: 1
      elementCount: 3
  result: 3
regex:
  wordCount: 48
  wordValue: 0.2
  result: 5.37
0.7454.072
In the case of a string it would coerce the value and you would …
4.09
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 25
  wordValue: 0.2
  result: 3.09
0.7425.304
`observe` would help to chose what we want to include an…
7.7
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
    a:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 41
  wordValue: 0.2
  result: 4.7
0.7450.32
Not very useful indeed. I am working on the tests on a separate …
6.31
content:
  content:
    p:
      score: 1
      elementCount: 2
  result: 2
regex:
  wordCount: 37
  wordValue: 0.2
  result: 4.31
0.7440.136
See https://github.com/ubiquity-os/conversation-rewards/pull/14 …
3.22
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 17
  wordValue: 0.2
  result: 2.22
0.7420.432
Good point, also symbol should not be DAI but ETH isn't it? …
7.89
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 43
  wordValue: 0.2
  result: 4.89
0.7451.384
Had changed it everywhere else but here, now it should be fine
2.65
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 12
  wordValue: 0.2
  result: 1.65
0.7417.24
This matches any whitespace character (spaces, tabs, line breaks…
4.91
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 33
  wordValue: 0.2
  result: 3.91
0.7429.896
By definition `dump` was just outputting results to stdo…
9.22
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 68
  wordValue: 0.2
  result: 7.22
0.7456.432
Un-nested them one level. I think that the `buildXrow` s…
5.09
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 25
  wordValue: 0.2
  result: 3.09
0.7433.304
I assumed BigInt only handles integers, and we manipulate a lot …
3.98
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 24
  wordValue: 0.2
  result: 2.98
0.7424.688
There is one permit generated per participating user, last run:…
4.44
content:
  content:
    p:
      score: 1
      elementCount: 2
  result: 2
regex:
  wordCount: 19
  wordValue: 0.2
  result: 2.44
0.7429.664
I made it according to the previous version:- Issue Specificat…
12.8
content:
  content:
    p:
      score: 1
      elementCount: 5
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 2
  result: 8
regex:
  wordCount: 42
  wordValue: 0.2
  result: 4.8
0.7490.88
Wouldn't that lead to precision loss in JS and after the divisio…
5.6
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 30
  wordValue: 0.2
  result: 3.6
0.7436.16
That is correct. I understand now why you're confused:The valu…
21.95
content:
  content:
    p:
      score: 1
      elementCount: 8
    code:
      score: 1
      elementCount: 7
  result: 15
regex:
  wordCount: 65
  wordValue: 0.2
  result: 6.95
0.74158.92
I don't think is it relevant in this scenario because we are not…
6.37
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 48
  wordValue: 0.2
  result: 5.37
0.7438.072
@whilefoo you are correct, these were wrongly used. I corrected …
16.31
content:
  content:
    p:
      score: 1
      elementCount: 5
    code:
      score: 1
      elementCount: 5
  result: 10
regex:
  wordCount: 58
  wordValue: 0.2
  result: 6.31
0.74115.336
Example of successful comment posting with results:https://git…
4.11
content:
  content:
    p:
      score: 1
      elementCount: 2
  result: 2
regex:
  wordCount: 16
  wordValue: 0.2
  result: 2.11
0.7427.816
@0x4007 I believe that if I had all the tests in this PR it will…
4.29
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 27
  wordValue: 0.2
  result: 3.29
0.7426.424
", - "permitUrl": "https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiIyMDczOTI4MDAwMDAwMDAwMDAwMDAwIn0sIm5vbmNlIjoiODMwNzY0Mzc0NDY0OTk1ODkzMDQ2MTExMjg5NjM5MTY3MTAxMDY4ODYxMDI0MzYwMjM4ODE1MjAwNTgzNDY4MDA1Nzg3NTQ0MDE3NTUiLCJkZWFkbGluZSI6IjExNTc5MjA4OTIzNzMxNjE5NTQyMzU3MDk4NTAwODY4NzkwNzg1MzI2OTk4NDY2NTY0MDU2NDAzOTQ1NzU4NDAwNzkxMzEyOTYzOTkzNSJ9LCJ0cmFuc2ZlckRldGFpbHMiOnsidG8iOiIweDREMDcwNGY0MDBENTdCYTkzZUVhODg3NjVDM0ZjREJEODI2ZENGYzQiLCJyZXF1ZXN0ZWRBbW91bnQiOiIyMDczOTI4MDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHhkOTUzMEYzZmJCRWExMWJlRDAxREMwOUU3OTMxOGYyZjIwMjIzNzE2Iiwic2lnbmF0dXJlIjoiMHg5NmM3MDM5NjMzNGRmN2YyNzA3ODU0MjE4YjkyOWNlOGNjYThlYTAyOGI4YjZiNjU2YTdkNjk4ZTQ2N2E4NzU5NjEwOTI3NzNiY2FkODhjZjMxNzQxNmJkNmFiNzYyZjI0YTZhMjcyNDcxZjVmOWNhNDA0ZGZjYjJhY2MxMTc5NjFjIiwibmV0d29ya0lkIjoxMDB9XQ==", + "evaluationCommentHtml": "

 [ 2102.088 WXDAI ] 

@gentlementlegen
Contributions Overview
ViewContributionCountReward
IssueTask1400
IssueSpecification161.8
IssueComment9457.088
ReviewComment251183.2
Conversation Incentives
CommentFormattingRelevancePriorityReward
In the v1 of the Ubiquibot, when a result gets evaluated, a reca…
15.45
content:
  content:
    p:
      score: 1
      elementCount: 6
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 3
    a:
      score: 1
      elementCount: 1
  result: 11
regex:
  wordCount: 87
  wordValue: 0.1
  result: 4.45
1461.8
This needs https://github.com/ubiquity-os/conversation-rewards/p…
5.22
content:
  content:
    p:
      score: 1
      elementCount: 1
    a:
      score: 1
      elementCount: 2
  result: 3
regex:
  wordCount: 17
  wordValue: 0.2
  result: 2.22
0.8419.104
To me 1 is the most straightforward to do for few reasons:- th…
20.36
content:
  content:
    p:
      score: 1
      elementCount: 5
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 3
    a:
      score: 1
      elementCount: 1
  result: 10
regex:
  wordCount: 104
  wordValue: 0.2
  result: 10.36
0.8473.152
I think each plugin should output JSON not html as it is not rel…
17.53
content:
  content:
    p:
      score: 1
      elementCount: 3
    code:
      score: 1
      elementCount: 3
    a:
      score: 1
      elementCount: 1
  result: 7
regex:
  wordCount: 106
  wordValue: 0.2
  result: 10.53
0.8461.696
If you want to manipulate and convey data, HTML really is not ma…
17.85
content:
  content:
    p:
      score: 1
      elementCount: 4
    a:
      score: 1
      elementCount: 1
  result: 5
regex:
  wordCount: 134
  wordValue: 0.2
  result: 12.85
0.8461.12
But then how do we consider the formatting of that output?Prac…
19.87
content:
  content:
    p:
      score: 1
      elementCount: 5
  result: 5
regex:
  wordCount: 159
  wordValue: 0.2
  result: 14.87
0.8467.584
This can work, but we skyrocket coupling and to me defeat purpos…
7.03
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 55
  wordValue: 0.2
  result: 6.03
0.8423.296
@pavlovcik To mitigate that that's why inside the comment reward…
10.73
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 85
  wordValue: 0.2
  result: 8.73
0.8435.936
I realized that to carry this task properly we need to handle fl…
9.31
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 2
  result: 3
regex:
  wordCount: 58
  wordValue: 0.2
  result: 6.31
0.8432.192
Agreed, I think currently there are 3 possible things to annotat…
21.94
content:
  content:
    p:
      score: 1
      elementCount: 5
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 3
    code:
      score: 1
      elementCount: 7
  result: 16
regex:
  wordCount: 54
  wordValue: 0.2
  result: 5.94
0.8483.008
Resolves #5 Depends on #8 Reviews looks gigantic but it's on…
3
content:
  content:
    p:
      score: 1
      elementCount: 3
  result: 3
regex:
  wordCount: 19
  wordValue: 0
  result: 0
0.740
I think in this case it makes sense because this function will r…
12.49
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 4
  result: 6
regex:
  wordCount: 60
  wordValue: 0.2
  result: 6.49
0.7484.344
It is supposed to represent a comment. Would you prefer a descri…
4.11
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 16
  wordValue: 0.2
  result: 2.11
0.7427.816
True, just picked this up from the previous codebase. https://rp…
4
content:
  content:
    p:
      score: 1
      elementCount: 1
    a:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 15
  wordValue: 0.2
  result: 2
0.7427.2
Seems convoluted to me and I don't know what problem that solved…
7.6
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 40
  wordValue: 0.2
  result: 4.6
0.7449.76
Changed `COMMENT` to `COMMENTED`, added jsdoc de…
6.42
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 2
    a:
      score: 1
      elementCount: 1
  result: 5
regex:
  wordCount: 10
  wordValue: 0.2
  result: 1.42
0.7447.952
Simply makes the docs linking the code within the comment, for c…
8.01
content:
  content:
    p:
      score: 1
      elementCount: 3
    a:
      score: 1
      elementCount: 1
  result: 4
regex:
  wordCount: 34
  wordValue: 0.2
  result: 4.01
0.7454.456
In the case of a string it would coerce the value and you would …
4.09
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 25
  wordValue: 0.2
  result: 3.09
0.7425.304
`observe` would help to chose what we want to include an…
7.7
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
    a:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 41
  wordValue: 0.2
  result: 4.7
0.7450.32
Not very useful indeed. I am working on the tests on a separate …
6.4
content:
  content:
    p:
      score: 1
      elementCount: 2
    a:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 28
  wordValue: 0.2
  result: 3.4
0.7443.04
See https://github.com/ubiquity-os/conversation-rewards/pull/14 …
3.17
content:
  content:
    p:
      score: 1
      elementCount: 1
    a:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 8
  wordValue: 0.2
  result: 1.17
0.7422.552
Good point, also symbol should not be DAI but ETH isn't it? …
8.5
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 1
    a:
      score: 1
      elementCount: 1
  result: 4
regex:
  wordCount: 39
  wordValue: 0.2
  result: 4.5
0.7457.2
Had changed it everywhere else but here, now it should be fine
2.65
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 12
  wordValue: 0.2
  result: 1.65
0.7417.24
This matches any whitespace character (spaces, tabs, line breaks…
4.91
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 33
  wordValue: 0.2
  result: 3.91
0.7429.896
By definition `dump` was just outputting results to stdo…
9.22
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 68
  wordValue: 0.2
  result: 7.22
0.7456.432
Un-nested them one level. I think that the `buildXrow` s…
5.09
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 25
  wordValue: 0.2
  result: 3.09
0.7433.304
I assumed BigInt only handles integers, and we manipulate a lot …
3.98
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 24
  wordValue: 0.2
  result: 2.98
0.7424.688
There is one permit generated per participating user, last run:…
4.42
content:
  content:
    p:
      score: 1
      elementCount: 2
    a:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 10
  wordValue: 0.2
  result: 1.42
0.7431.952
I made it according to the previous version:- Issue Specificat…
12.7
content:
  content:
    p:
      score: 1
      elementCount: 5
    ul:
      score: 1
      elementCount: 1
    li:
      score: 1
      elementCount: 2
    a:
      score: 1
      elementCount: 1
  result: 9
regex:
  wordCount: 31
  wordValue: 0.2
  result: 3.7
0.7492.72
Wouldn't that lead to precision loss in JS and after the divisio…
5.6
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 30
  wordValue: 0.2
  result: 3.6
0.7436.16
That is correct. I understand now why you're confused:The valu…
21.95
content:
  content:
    p:
      score: 1
      elementCount: 8
    code:
      score: 1
      elementCount: 7
  result: 15
regex:
  wordCount: 65
  wordValue: 0.2
  result: 6.95
0.74158.92
I don't think is it relevant in this scenario because we are not…
6.37
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 48
  wordValue: 0.2
  result: 5.37
0.7438.072
@whilefoo you are correct, these were wrongly used. I corrected …
16.28
content:
  content:
    p:
      score: 1
      elementCount: 5
    code:
      score: 1
      elementCount: 5
    a:
      score: 1
      elementCount: 1
  result: 11
regex:
  wordCount: 47
  wordValue: 0.2
  result: 5.28
0.74117.568
Example of successful comment posting with results:https://git…
4.05
content:
  content:
    p:
      score: 1
      elementCount: 2
    a:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 7
  wordValue: 0.2
  result: 1.05
0.7429.88
@0x4007 I believe that if I had all the tests in this PR it will…
4.29
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 27
  wordValue: 0.2
  result: 3.29
0.7426.424
", + "permitUrl": "https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiIyMTAyMDg4MDAwMDAwMDAwMDAwMDAwIn0sIm5vbmNlIjoiODMwNzY0Mzc0NDY0OTk1ODkzMDQ2MTExMjg5NjM5MTY3MTAxMDY4ODYxMDI0MzYwMjM4ODE1MjAwNTgzNDY4MDA1Nzg3NTQ0MDE3NTUiLCJkZWFkbGluZSI6IjExNTc5MjA4OTIzNzMxNjE5NTQyMzU3MDk4NTAwODY4NzkwNzg1MzI2OTk4NDY2NTY0MDU2NDAzOTQ1NzU4NDAwNzkxMzEyOTYzOTkzNSJ9LCJ0cmFuc2ZlckRldGFpbHMiOnsidG8iOiIweDREMDcwNGY0MDBENTdCYTkzZUVhODg3NjVDM0ZjREJEODI2ZENGYzQiLCJyZXF1ZXN0ZWRBbW91bnQiOiIyMTAyMDg4MDAwMDAwMDAwMDAwMDAwIn0sIm93bmVyIjoiMHhkOTUzMEYzZmJCRWExMWJlRDAxREMwOUU3OTMxOGYyZjIwMjIzNzE2Iiwic2lnbmF0dXJlIjoiMHgyNmFiMGE2N2I4MWFlMzZiMjQ3NjFkMDYwNjA2MGJlY2NhZGNjNTFhYTJmNTJlYzI4ZmY4OTUwMjI2M2FkNDNlMmEyNzQyYzIzNDkxZDkzMjU0YjM0NzhmMGQ0MGE1YjU3ZjkxZDFiNWRjYmJhMDUwZjI1MjU0NWZkZjRlM2RlNTFiIiwibmV0d29ya0lkIjoxMDB9XQ==", "task": { "multiplier": 1, "reward": 400 }, - "total": 2073.928, + "total": 2102.088, "userId": 9807008 }, "whilefoo": { @@ -2032,14 +2088,14 @@ "result": 9 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.8, "reward": 15.402, "words": { "result": 7.99, "wordCount": 173, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "ISSUE_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/issues/5#issuecomment-2035427134" @@ -2067,14 +2123,14 @@ "result": 2 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 2.678, "words": { "result": 0.94, "wordCount": 14, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574427305" @@ -2094,14 +2150,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 2.098, "words": { "result": 1.54, "wordCount": 25, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574441918" @@ -2121,14 +2177,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.507, "words": { "result": 0.71, "wordCount": 10, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574458540" @@ -2148,14 +2204,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.616, "words": { "result": 0.88, "wordCount": 13, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574460099" @@ -2175,14 +2231,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 2.033, "words": { "result": 1.49, "wordCount": 24, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574487172" @@ -2202,14 +2258,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.896, "words": { "result": 1.28, "wordCount": 20, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1574492061" @@ -2229,14 +2285,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.445, "words": { "result": 0.65, "wordCount": 9, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1575851470" @@ -2248,22 +2304,26 @@ "score": { "formatting": { "content": { + "a": { + "elementCount": 1, + "score": 1 + }, "p": { "elementCount": 3, "score": 1 } }, - "result": 3 + "result": 4 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, - "reward": 5.744, + "reward": 6.386, "words": { - "result": 3.92, - "wordCount": 75, + "result": 3.38, + "wordCount": 63, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1576482609" @@ -2283,14 +2343,14 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.787, "words": { "result": 1.11, "wordCount": 17, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1578040543" @@ -2314,14 +2374,14 @@ "result": 4 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 5.49, "words": { "result": 2.1, "wordCount": 36, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1578050965" @@ -2341,21 +2401,21 @@ "result": 1 }, "multiplier": 0.25, + "priority": 4, "relevance": 0.7, "reward": 1.224, "words": { "result": 0.32, "wordCount": 4, "wordValue": 0.1 - }, - "priority": 4 + } }, "type": "PULL_CONTRIBUTOR", "url": "https://github.com/ubiquity-os/conversation-rewards/pull/12#discussion_r1579556333" } ], - "evaluationCommentHtml": "

 [ 42.92 WXDAI ] 

@whilefoo
Contributions Overview
ViewContributionCountReward
IssueComment115.402
ReviewComment1127.518
Conversation Incentives
CommentFormattingRelevancePriorityReward
there are a couple of options:1. we let the conversation-rewar…
16.99
content:
  content:
    p:
      score: 1
      elementCount: 6
    ol:
      score: 0
      elementCount: 1
    li:
      score: 1
      elementCount: 3
  result: 9
regex:
  wordCount: 173
  wordValue: 0.1
  result: 7.99
0.8415.402
```suggestionreturn result;```…
2.94
content:
  content:
    pre:
      score: 0
      elementCount: 1
    code:
      score: 1
      elementCount: 1
    p:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 14
  wordValue: 0.1
  result: 0.94
0.742.678
I'm not sure if it's a good idea to rely on logs for testing, is…
2.54
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 25
  wordValue: 0.1
  result: 1.54
0.742.098
why so many nested functions? it becomes hard to read
1.71
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 10
  wordValue: 0.1
  result: 0.71
0.741.507
is there a reason we are using Decimal.js instead of native BigI…
1.88
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 13
  wordValue: 0.1
  result: 0.88
0.741.616
Shouldn't task be issue opening item and specification is pull r…
2.49
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 24
  wordValue: 0.1
  result: 1.49
0.742.033
I assume this is a permit for task assignee, but where are other…
2.28
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 20
  wordValue: 0.1
  result: 1.28
0.741.896
gotcha, I thought this html is for all users
1.65
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 9
  wordValue: 0.1
  result: 0.65
0.741.445
I can see from the example that it works correctly but when read…
6.92
content:
  content:
    p:
      score: 1
      elementCount: 3
  result: 3
regex:
  wordCount: 75
  wordValue: 0.1
  result: 3.92
0.745.744
Ok so we need it for precise floating point calculations, in tha…
2.11
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 17
  wordValue: 0.1
  result: 1.11
0.741.787
why is it `ISSUER` which is meant for author of issue/re…
6.1
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 2
  result: 4
regex:
  wordCount: 36
  wordValue: 0.1
  result: 2.1
0.745.49
this makes more sense!
1.32
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 4
  wordValue: 0.1
  result: 0.32
0.741.224
", - "total": 42.92, + "evaluationCommentHtml": "

 [ 43.562 WXDAI ] 

@whilefoo
Contributions Overview
ViewContributionCountReward
IssueComment115.402
ReviewComment1128.16
Conversation Incentives
CommentFormattingRelevancePriorityReward
there are a couple of options:1. we let the conversation-rewar…
16.99
content:
  content:
    p:
      score: 1
      elementCount: 6
    ol:
      score: 0
      elementCount: 1
    li:
      score: 1
      elementCount: 3
  result: 9
regex:
  wordCount: 173
  wordValue: 0.1
  result: 7.99
0.8415.402
```suggestionreturn result;```…
2.94
content:
  content:
    pre:
      score: 0
      elementCount: 1
    code:
      score: 1
      elementCount: 1
    p:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 14
  wordValue: 0.1
  result: 0.94
0.742.678
I'm not sure if it's a good idea to rely on logs for testing, is…
2.54
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 25
  wordValue: 0.1
  result: 1.54
0.742.098
why so many nested functions? it becomes hard to read
1.71
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 10
  wordValue: 0.1
  result: 0.71
0.741.507
is there a reason we are using Decimal.js instead of native BigI…
1.88
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 13
  wordValue: 0.1
  result: 0.88
0.741.616
Shouldn't task be issue opening item and specification is pull r…
2.49
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 24
  wordValue: 0.1
  result: 1.49
0.742.033
I assume this is a permit for task assignee, but where are other…
2.28
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 20
  wordValue: 0.1
  result: 1.28
0.741.896
gotcha, I thought this html is for all users
1.65
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 9
  wordValue: 0.1
  result: 0.65
0.741.445
I can see from the example that it works correctly but when read…
7.38
content:
  content:
    p:
      score: 1
      elementCount: 3
    a:
      score: 1
      elementCount: 1
  result: 4
regex:
  wordCount: 63
  wordValue: 0.1
  result: 3.38
0.746.386
Ok so we need it for precise floating point calculations, in tha…
2.11
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 17
  wordValue: 0.1
  result: 1.11
0.741.787
why is it `ISSUER` which is meant for author of issue/re…
6.1
content:
  content:
    p:
      score: 1
      elementCount: 2
    code:
      score: 1
      elementCount: 2
  result: 4
regex:
  wordCount: 36
  wordValue: 0.1
  result: 2.1
0.745.49
this makes more sense!
1.32
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 4
  wordValue: 0.1
  result: 0.32
0.741.224
", + "total": 43.562, "userId": 139262667 } } \ No newline at end of file diff --git a/tests/__mocks__/results/output-reward-split.html b/tests/__mocks__/results/output-reward-split.html index 072107c1..5749dcdc 100644 --- a/tests/__mocks__/results/output-reward-split.html +++ b/tests/__mocks__/results/output-reward-split.html @@ -1,4 +1,4 @@ -

 [ 52.64 WXDAI ] 

@0x4007
Contributions Overview
ViewContributionCountReward
IssueTask0.525
IssueSpecification15.69
IssueComment26.544
ReviewComment315.406
Conversation Incentives
CommentFormattingRelevancePriorityReward
Looks like the filters are barely useable now that we have the s…
5.69
content:
  content:
    p:
      score: 1
      elementCount: 2
    img:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 48
  wordValue: 0.1
  result: 2.69
115.69
Okay both bots are broken @gentlementlegen We should have spli…
3.77
content:
  content:
    p:
      score: 1
      elementCount: 2
  result: 2
regex:
  wordCount: 13
  wordValue: 0.2
  result: 1.77
0.813.416
Actually, looks like it did the right thing for your reward on v…
3.66
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 21
  wordValue: 0.2
  result: 2.66
0.813.128
Resolves https://github.com/ubiquity/work.ubq.fi/issues/69
1
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 10
  wordValue: 0
  result: 0
0.710
I always struggle with Cypress
1.79
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 5
  wordValue: 0.2
  result: 0.79
0.713.106
Only doesn't work on my local, the guess is token expiration aft…
7.5
content:
  content:
    p:
      score: 1
      elementCount: 2
    a:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 39
  wordValue: 0.2
  result: 4.5
0.7112.3

 [ 32.743 WXDAI ] 

@gentlementlegen
Contributions Overview
ViewContributionCountReward
IssueTask0.525
IssueComment25.168
ReviewComment12.575
Conversation Incentives
CommentFormattingRelevancePriorityReward
@0x4007 So it should be 25 each? I can confirm this is not handl…
2.54
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 25
  wordValue: 0.1
  result: 1.54
0.812.232
Ah yes because it doesn't apply the `0.5` multiplier I s…
3.17
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 18
  wordValue: 0.1
  result: 1.17
0.812.936
After token expiration, I could not reproduce the problem and st…
3.25
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 39
  wordValue: 0.1
  result: 2.25
0.712.575
+

 [ 52.64 WXDAI ] 

@0x4007
Contributions Overview
ViewContributionCountReward
IssueTask0.525
IssueSpecification15.69
IssueComment26.544
ReviewComment315.406
Conversation Incentives
CommentFormattingRelevancePriorityReward
Looks like the filters are barely useable now that we have the s…
5.69
content:
  content:
    p:
      score: 1
      elementCount: 2
    img:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 48
  wordValue: 0.1
  result: 2.69
115.69
Okay both bots are broken @gentlementlegen We should have spli…
3.77
content:
  content:
    p:
      score: 1
      elementCount: 2
  result: 2
regex:
  wordCount: 13
  wordValue: 0.2
  result: 1.77
0.813.416
Actually, looks like it did the right thing for your reward on v…
3.66
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 21
  wordValue: 0.2
  result: 2.66
0.813.128
Resolves https://github.com/ubiquity/work.ubq.fi/issues/69
2
content:
  content:
    p:
      score: 1
      elementCount: 1
    a:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 1
  wordValue: 0
  result: 0
0.710
I always struggle with Cypress
1.79
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 5
  wordValue: 0.2
  result: 0.79
0.713.106
Only doesn't work on my local, the guess is token expiration aft…
7.5
content:
  content:
    p:
      score: 1
      elementCount: 2
    a:
      score: 1
      elementCount: 1
  result: 3
regex:
  wordCount: 39
  wordValue: 0.2
  result: 4.5
0.7112.3

 [ 32.743 WXDAI ] 

@gentlementlegen
Contributions Overview
ViewContributionCountReward
IssueTask0.525
IssueComment25.168
ReviewComment12.575
Conversation Incentives
CommentFormattingRelevancePriorityReward
@0x4007 So it should be 25 each? I can confirm this is not handl…
2.54
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 25
  wordValue: 0.1
  result: 1.54
0.812.232
Ah yes because it doesn't apply the `0.5` multiplier I s…
3.17
content:
  content:
    p:
      score: 1
      elementCount: 1
    code:
      score: 1
      elementCount: 1
  result: 2
regex:
  wordCount: 18
  wordValue: 0.1
  result: 1.17
0.812.936
After token expiration, I could not reproduce the problem and st…
3.25
content:
  content:
    p:
      score: 1
      elementCount: 1
  result: 1
regex:
  wordCount: 39
  wordValue: 0.1
  result: 2.25
0.712.575