From 6422476f0df436a655f4d77fd2d7a4e07ff0772d Mon Sep 17 00:00:00 2001 From: "ubiquity-os[bot]" Date: Fri, 24 Jan 2025 19:46:47 +0000 Subject: [PATCH] chore: update insert all missing defaults Via @ubiquity-os[bot] --- .github/.ubiquity-os.config.yml | 240 ++++++++++++++++++++++++++++---- 1 file changed, 215 insertions(+), 25 deletions(-) diff --git a/.github/.ubiquity-os.config.yml b/.github/.ubiquity-os.config.yml index d0e2cdce..5498c392 100644 --- a/.github/.ubiquity-os.config.yml +++ b/.github/.ubiquity-os.config.yml @@ -1,25 +1,44 @@ plugins: - uses: - plugin: https://ubiquity-os-command-start-stop-main.ubiquity.workers.dev + skipBotEvents: false with: - reviewDelayTolerance: "3 Days" - taskStaleTimeoutDuration: "30 Days" - startRequiresWallet: true # default is true + reviewDelayTolerance: 3 Days + taskStaleTimeoutDuration: 30 Days + startRequiresWallet: true + maxConcurrentTasks: + collaborator: 2 + contributor: 2 + emptyWalletText: Please set your wallet address with the /wallet command first + and try again. + rolesWithReviewAuthority: + - COLLABORATOR + - OWNER + - MEMBER + - ADMIN requiredLabelsToStart: - name: "Priority: 1 (Normal)" - role: ['collaborator', 'contributor'] + allowedRoles: ["collaborator", "contributor"] - name: "Priority: 2 (Medium)" - role: ['collaborator', 'contributor'] + allowedRoles: ["collaborator", "contributor"] - name: "Priority: 3 (High)" - role: ['collaborator'] + allowedRoles: ["collaborator"] - name: "Priority: 4 (Urgent)" - role: ['collaborator'] + allowedRoles: ["collaborator"] - name: "Priority: 5 (Emergency)" - role: ['collaborator'] + allowedRoles: ["collaborator"] + assignedIssueScope: org - uses: - plugin: https://ubiquity-os-command-wallet-main.ubiquity.workers.dev with: registerWalletWithVerification: false + - uses: + - plugin: ubiquity-os-marketplace/command-ask@main + with: + model: openai/o1-mini + openAiBaseUrl: https://openrouter.ai/api/v1 + similarityThreshold: 0.9 + maxTokens: 10000 - uses: - plugin: https://ubiquity-os-command-query-user-main.ubiquity.workers.dev with: @@ -30,7 +49,7 @@ plugins: labels: time: - name: "Time: <15 Minutes" - collaboratorOnly: false + collaboratorOnly: false - name: "Time: <1 Hour" collaboratorOnly: false - name: "Time: <2 Hours" @@ -42,6 +61,8 @@ plugins: - name: "Time: <1 Week" collaboratorOnly: false priority: + - name: "Priority: 0 (Regression)" + collaboratorOnly: false - name: "Priority: 1 (Normal)" collaboratorOnly: false - name: "Priority: 2 (Medium)" @@ -56,33 +77,45 @@ plugins: publicAccessControl: setLabel: true fundExternalClosedIssue: false + protectLabels: + - priority + - price + - time - skipBotEvents: false uses: - plugin: ubiquity-os-marketplace/text-conversation-rewards@main - # we don't skip bot events so conversation rewards triggered by the bot also run with: + logLevel: debug evmNetworkId: 100 - evmPrivateEncrypted: "bd5AFnSCO6c5jJyPifpOfr5Zys29RE7SyXkEU3akT13RtGmYDrqGIGuvJQyH53HA5dIba7PL5bXfll0JebmwXYe5gHIXSGX80WuGMDHh0cFfeGjHhmUXe8kkZ1OT2De9qRpqejJcEzdfi-8XNAvP7cQu2Vt-7RNnPw" # https://github.com/ubiquibot/conversation-rewards/pull/111#issuecomment-2348639931 - erc20RewardToken: "0xC6ed4f520f6A4e4DC27273509239b7F8A68d2068" + evmPrivateEncrypted: bd5AFnSCO6c5jJyPifpOfr5Zys29RE7SyXkEU3akT13RtGmYDrqGIGuvJQyH53HA5dIba7PL5bXfll0JebmwXYe5gHIXSGX80WuGMDHh0cFfeGjHhmUXe8kkZ1OT2De9qRpqejJcEzdfi-8XNAvP7cQu2Vt-7RNnPw + erc20RewardToken: "0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d" incentives: contentEvaluator: enabled: true + openAi: + model: gpt-4o-2024-08-06 + tokenCountLimit: 124000 + endpoint: https://api.openai.com/v1 + multipliers: + - role: ["ISSUE_SPECIFICATION"] + relevance: 1 userExtractor: enabled: true redeemTask: true dataPurge: enabled: true + skipCommentsWhileAssigned: all formattingEvaluator: multipliers: - role: - - PULL_SPECIFICATION + - ISSUE_SPECIFICATION multiplier: 1 rewards: - wordValue: 0.2 + wordValue: 0.1 html: br: score: 0 - countWords: false + countWords: true code: score: 5 countWords: false @@ -141,14 +174,9 @@ plugins: score: 1 countWords: true - role: - - ISSUE_SPECIFICATION - ISSUE_AUTHOR - - ISSUE_ASSIGNEE - ISSUE_COLLABORATOR - - ISSUE_CONTRIBUTOR - - PULL_ASSIGNEE - PULL_COLLABORATOR - - PULL_CONTRIBUTOR multiplier: 1 rewards: wordValue: 0.1 @@ -214,36 +242,198 @@ plugins: score: 1 countWords: true - role: + - ISSUE_CONTRIBUTOR + - ISSUE_ASSIGNEE + multiplier: 0.25 + 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: + - PULL_SPECIFICATION - PULL_AUTHOR + - PULL_CONTRIBUTOR + - PULL_ASSIGNEE multiplier: 0 rewards: wordValue: 0 - permitGeneration: - enabled: true + 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 + wordCountExponent: 0.85 + permitGeneration: {} githubComment: post: true debug: false - - uses: + dataCollection: + maxAttempts: 10 + delayMs: 1000 + requirePriceLabel: true + limitRewards: true + collaboratorOnlyPaymentInvocation: true + - skipBotEvents: false + testUbqKey: 1234 + uses: - plugin: ubiquity-os-marketplace/daemon-disqualifier@main + skipBotEvents: false with: + warning: 7 days + pullRequestRequired: true + eventWhitelist: + - pull_request.review_requested + - pull_request.ready_for_review + - pull_request_review_comment.created + - issue_comment.created + - push watch: optOut: - ubiquibot - launch-party - staging - production + disqualification: 14 days + prioritySpeed: true - uses: - plugin: ubiquity-os-marketplace/daemon-merging@main with: approvalsRequired: collaborator: 1 + contributor: 2 mergeTimeout: - collaborator: "3.5 days" + collaborator: 3.5 days + contributor: 7 days repos: + monitor: [] ignore: - ubiquibot - launch-party - staging - production + allowedReviewerRoles: + - COLLABORATOR + - MEMBER + - OWNER - uses: - - plugin: ubiquity-os-marketplace/text-vector-embeddings@main + - plugin: https://ubiquity-os-comment-vector-embeddings-main.ubiquity.workers.dev + with: + matchThreshold: 0.95 + warningThreshold: 0.75 + jobMatchingThreshold: 0.75 + alwaysRecommend: 0