Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update .ubiquity-os.config.yml #370

Merged
merged 3 commits into from
Jan 25, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
238 changes: 214 additions & 24 deletions .github/.ubiquity-os.config.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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"
Expand All @@ -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)"
Expand All @@ -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
evmPrivateEncrypted: bd5AFnSCO6c5jJyPifpOfr5Zys29RE7SyXkEU3akT13RtGmYDrqGIGuvJQyH53HA5dIba7PL5bXfll0JebmwXYe5gHIXSGX80WuGMDHh0cFfeGjHhmUXe8kkZ1OT2De9qRpqejJcEzdfi-8XNAvP7cQu2Vt-7RNnPw
0x4007 marked this conversation as resolved.
Show resolved Hide resolved
erc20RewardToken: "0xC6ed4f520f6A4e4DC27273509239b7F8A68d2068"
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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Loading