Skip to content

Commit

Permalink
chore: change compute action
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Oct 9, 2024
1 parent 9911027 commit 8f16193
Showing 1 changed file with 24 additions and 84 deletions.
108 changes: 24 additions & 84 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "Conversation rewards",
"description": "Generate rewards for on topic conversation for closing issues as complete.",
"ubiquity:listeners": [
"issues.closed"
],
"ubiquity:listeners": ["issues.closed"],
"configuration": {
"default": {},
"type": "object",
Expand Down Expand Up @@ -74,17 +72,12 @@
"type": "string"
}
},
"required": [
"model",
"endpoint"
]
"required": ["model", "endpoint"]
},
"multipliers": {
"default": [
{
"role": [
"ISSUE_SPECIFICATION"
],
"role": ["ISSUE_SPECIFICATION"],
"relevance": 1
}
],
Expand Down Expand Up @@ -263,16 +256,11 @@
"type": "number"
}
},
"required": [
"role"
]
"required": ["role"]
}
}
},
"required": [
"openAi",
"multipliers"
]
"required": ["openAi", "multipliers"]
},
{
"type": "null"
Expand All @@ -290,9 +278,7 @@
"type": "boolean"
}
},
"required": [
"redeemTask"
]
"required": ["redeemTask"]
},
{
"type": "null"
Expand Down Expand Up @@ -322,90 +308,70 @@
"minItems": 1,
"default": [
{
"role": [
"ISSUE_SPECIFICATION"
],
"role": ["ISSUE_SPECIFICATION"],
"multiplier": 1,
"rewards": {
"wordValue": 0.1
}
},
{
"role": [
"ISSUE_AUTHOR"
],
"role": ["ISSUE_AUTHOR"],
"multiplier": 1,
"rewards": {
"wordValue": 0.2
}
},
{
"role": [
"ISSUE_ASSIGNEE"
],
"role": ["ISSUE_ASSIGNEE"],
"multiplier": 0,
"rewards": {
"wordValue": 0
}
},
{
"role": [
"ISSUE_COLLABORATOR"
],
"role": ["ISSUE_COLLABORATOR"],
"multiplier": 1,
"rewards": {
"wordValue": 0.1
}
},
{
"role": [
"ISSUE_CONTRIBUTOR"
],
"role": ["ISSUE_CONTRIBUTOR"],
"multiplier": 0.25,
"rewards": {
"wordValue": 0.1
}
},
{
"role": [
"PULL_SPECIFICATION"
],
"role": ["PULL_SPECIFICATION"],
"multiplier": 0,
"rewards": {
"wordValue": 0
}
},
{
"role": [
"PULL_AUTHOR"
],
"role": ["PULL_AUTHOR"],
"multiplier": 2,
"rewards": {
"wordValue": 0.2
}
},
{
"role": [
"PULL_ASSIGNEE"
],
"role": ["PULL_ASSIGNEE"],
"multiplier": 1,
"rewards": {
"wordValue": 0.1
}
},
{
"role": [
"PULL_COLLABORATOR"
],
"role": ["PULL_COLLABORATOR"],
"multiplier": 1,
"rewards": {
"wordValue": 0.1
}
},
{
"role": [
"PULL_CONTRIBUTOR"
],
"role": ["PULL_CONTRIBUTOR"],
"multiplier": 0.25,
"rewards": {
"wordValue": 0.1
Expand Down Expand Up @@ -687,10 +653,7 @@
"type": "boolean"
}
},
"required": [
"score",
"countWords"
]
"required": ["score", "countWords"]
}
}
},
Expand All @@ -699,28 +662,18 @@
"type": "number"
}
},
"required": [
"html",
"wordValue"
]
"required": ["html", "wordValue"]
}
},
"required": [
"role",
"multiplier",
"rewards"
]
"required": ["role", "multiplier", "rewards"]
}
},
"wordCountExponent": {
"default": 0.85,
"type": "number"
}
},
"required": [
"multipliers",
"wordCountExponent"
]
"required": ["multipliers", "wordCountExponent"]
},
{
"type": "null"
Expand Down Expand Up @@ -755,10 +708,7 @@
"type": "boolean"
}
},
"required": [
"post",
"debug"
]
"required": ["post", "debug"]
},
{
"type": "null"
Expand Down Expand Up @@ -791,19 +741,9 @@
"type": "number"
}
},
"required": [
"maxAttempts",
"delayMs"
]
"required": ["maxAttempts", "delayMs"]
}
},
"required": [
"logLevel",
"evmNetworkId",
"evmPrivateEncrypted",
"erc20RewardToken",
"incentives",
"dataCollection"
]
"required": ["logLevel", "evmNetworkId", "evmPrivateEncrypted", "erc20RewardToken", "incentives", "dataCollection"]
}
}
}

0 comments on commit 8f16193

Please sign in to comment.