ubiquity-os-marketplace / text-conversation-rewards

1 stars 27 forks source link

fix: display formatting total properly #135

Closed gentlementlegen closed 1 month ago

gentlementlegen commented 1 month ago
          Formatting in analytics should total the score correctly. This is not rendering the correct number.

Originally posted by @0x4007 in https://github.com/ubiquity/cloudflare-deploy-action/issues/19#issuecomment-2383700944

ubiquity-os[bot] commented 1 month ago
! No labels are set.
0x4007 commented 1 month ago
! No labels are set.

This error shouldn't display here.

gentlementlegen commented 1 month ago

@0x4007 No need to fund this, my bad for breaking it. As for the label error, I drafted a PR (need to fix the tests) https://github.com/ubiquity-os-marketplace/command-start-stop/pull/61

ubiquity-os[bot] commented 1 month ago

 [ 58.918 WXDAI ] 

@gentlementlegen
Contributions Overview
ViewContributionCountReward
IssueTask150
IssueSpecification15.55
IssueComment13.368
ReviewComment10
Conversation Incentives
CommentFormattingRelevanceReward
Formatting in analytics should total the score correctly. This i…
1.85
content:
  content:
    p:
      score: 0
      elementCount: 2
    em:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 31
  wordValue: 0.1
  result: 1.85
15.55
@0x4007 No need to fund this, my bad for breaking it. As for the…
4.21
content:
  content:
    p:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 36
  wordValue: 0.2
  result: 4.21
0.83.368
Resolves #135QA: https://github.com/ubiquity/cloudflare-deploy…
0
content:
  content:
    p:
      score: 0
      elementCount: 2
  result: 0
regex:
  wordCount: 14
  wordValue: 0
  result: 0
0.3-

 [ 0.322 WXDAI ] 

@0x4007
Contributions Overview
ViewContributionCountReward
IssueComment10.322
Conversation Incentives
CommentFormattingRelevanceReward
This error shouldn't display here.
0.46
content:
  content:
    p:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 6
  wordValue: 0.1
  result: 0.46
0.70.322