From 87d537288186d3990646c8daed89b85fc707baf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E3=82=A2=E3=83=AC=E3=82=AF=E3=82=B5=E3=83=B3=E3=83=80?=
 =?UTF-8?q?=E3=83=BC=2Eeth?= <4975670+0x4007@users.noreply.github.com>
Date: Fri, 13 Dec 2024 21:52:28 +0900
Subject: [PATCH] Update .ubiquity-os.config.yml

Normalized rewards and added credit for pull body based on https://github.com/ubiquity/pay.ubq.fi/issues/349#issuecomment-2541356834
---
 .github/.ubiquity-os.config.yml | 153 +++-----------------------------
 1 file changed, 14 insertions(+), 139 deletions(-)

diff --git a/.github/.ubiquity-os.config.yml b/.github/.ubiquity-os.config.yml
index 36d4cbdd..f2c064cf 100644
--- a/.github/.ubiquity-os.config.yml
+++ b/.github/.ubiquity-os.config.yml
@@ -57,15 +57,15 @@ plugins:
               enabled: true
             formattingEvaluator:
               multipliers:
-                - role:
-                    - ISSUE_SPECIFICATION
-                  multiplier: 3
+                - roles:
+                    - PULL_SPECIFICATION
+                  multiplier: 1
                   rewards:
-                    wordValue: 0.1
+                    wordValue: 0.2
                     html:
                       br:
                         score: 0
-                        countWords: true
+                        countWords: false
                       code:
                         score: 5
                         countWords: false
@@ -123,78 +123,16 @@ plugins:
                       ol:
                         score: 1
                         countWords: true
-                - role:
+                - roles:
+                    - ISSUE_SPECIFICATION
                     - ISSUE_AUTHOR
+                    - ISSUE_ASSIGNEE
                     - ISSUE_COLLABORATOR
-                    - PULL_COLLABORATOR
-                  multiplier: 1
-                  rewards:
-                    wordValue: 0.1
-                    html:
-                      br:
-                        score: 0
-                        countWords: true
-                      code:
-                        score: 5
-                        countWords: false
-                      p:
-                        score: 0
-                        countWords: true
-                      em:
-                        score: 0
-                        countWords: true
-                      img:
-                        score: 5
-                        countWords: true
-                      strong:
-                        score: 0
-                        countWords: false
-                      blockquote:
-                        score: 0
-                        countWords: false
-                      h1:
-                        score: 1
-                        countWords: true
-                      h2:
-                        score: 1
-                        countWords: true
-                      h3:
-                        score: 1
-                        countWords: true
-                      h4:
-                        score: 1
-                        countWords: true
-                      h5:
-                        score: 1
-                        countWords: true
-                      h6:
-                        score: 1
-                        countWords: true
-                      a:
-                        score: 5
-                        countWords: true
-                      li:
-                        score: 0.5
-                        countWords: true
-                      ul:
-                        score: 1
-                        countWords: true
-                      td:
-                        score: 0
-                        countWords: true
-                      hr:
-                        score: 0
-                        countWords: true
-                      pre:
-                        score: 0
-                        countWords: false
-                      ol:
-                        score: 1
-                        countWords: true
-                - role:
                     - ISSUE_CONTRIBUTOR
+                    - PULL_ASSIGNEE
+                    - PULL_COLLABORATOR
                     - PULL_CONTRIBUTOR
-                  multiplier: 0.25
+                  multiplier: 1
                   rewards:
                     wordValue: 0.1
                     html:
@@ -258,76 +196,13 @@ plugins:
                       ol:
                         score: 1
                         countWords: true
-                - role:
-                    - PULL_SPECIFICATION
+                - roles:
                     - PULL_AUTHOR
-                    - ISSUE_ASSIGNEE
-                    - PULL_ASSIGNEE
                   multiplier: 0
                   rewards:
                     wordValue: 0
-                    html:
-                      br:
-                        score: 0
-                        countWords: true
-                      code:
-                        score: 5
-                        countWords: false
-                      p:
-                        score: 0
-                        countWords: true
-                      em:
-                        score: 0
-                        countWords: true
-                      img:
-                        score: 5
-                        countWords: true
-                      strong:
-                        score: 0
-                        countWords: false
-                      blockquote:
-                        score: 0
-                        countWords: false
-                      h1:
-                        score: 1
-                        countWords: true
-                      h2:
-                        score: 1
-                        countWords: true
-                      h3:
-                        score: 1
-                        countWords: true
-                      h4:
-                        score: 1
-                        countWords: true
-                      h5:
-                        score: 1
-                        countWords: true
-                      h6:
-                        score: 1
-                        countWords: true
-                      a:
-                        score: 5
-                        countWords: true
-                      li:
-                        score: 0.5
-                        countWords: true
-                      ul:
-                        score: 1
-                        countWords: true
-                      td:
-                        score: 0
-                        countWords: true
-                      hr:
-                        score: 0
-                        countWords: true
-                      pre:
-                        score: 0
-                        countWords: false
-                      ol:
-                        score: 1
-                        countWords: true
-            permitGeneration: {}
+            permitGeneration:
+              enabled: true
             githubComment:
               post: true
               debug: false