ubiquity / ubiquibot

Putting the 'A' in 'DAO'
https://github.com/marketplace/ubiquibot
MIT License
17 stars 60 forks source link

`ignore-children` comment incentive config #772

Open 0x4007 opened 12 months ago

0x4007 commented 12 months ago
          > Yes I think it's also counting words in code blocks and the top quote and italics

Yikes. We should set a special property on every element that indicates whether the parser should recurse or stop.

incentives: 
  comments:
    totals:
      word: 0.1
    elements:
      rewards:
        code: 5
        p: 0.1
        a: 5
    ignore-children: code, i, em, blockquote, pre

Originally posted by @pavlovcik in https://github.com/ubiquity/ubiquibot/issues/648#issuecomment-1720029504

Ten Space Blockquote

GitHub has this really annoying "feature" that makes generated issues from comments indented heavily with ten spaces in front " " which makes the line render as a code block. Can we detect this and not credit it? It's effectively supposed to be a blockquote (ignored) but its being credited as a code block.

By parsing the raw comment this should be easy to detect the ten spaces in front of a line.

0x4007 commented 12 months ago

GitHub has this really annoying "feature" that makes generated issues from comments indented heavily with ten spaces in front " " which makes the line render as a code block. Can we detect this and not credit it? It's effectively supposed to be a blockquote, but its being credited as a code block.

By parsing the raw comment this should be easy to detect the ten spaces in front of a line.

GaryThisSidee commented 12 months ago

/start

ubiquibot[bot] commented 12 months ago

Deadline Mon, 18 Sep 2023 10:17:06 UTC
Registered Wallet 0x2bBc6a8314044d70684C74CfA0E117eb75E3708c

Tips:

ubiquibot[bot] commented 11 months ago

Do you have any updates @GaryThisSidee? If you would like to release the bounty back to the DevPool, please comment /stop Last activity time: Mon Sep 18 2023 08:17:02 GMT+0000 (Coordinated Universal Time)

BeanieMen commented 11 months ago

Can I take this issue after like 3 days

0x4007 commented 11 months ago

Looking forward to this feature getting merged in. This and ChatGPT interpreting if the comments are on topic are all that we need to turn up the comment incentives high.

ubiquibot[bot] commented 11 months ago

Do you have any updates @GaryThisSidee? If you would like to release the bounty back to the DevPool, please comment /stop Last activity time: Tue Sep 26 2023 21:05:26 GMT+0000 (Coordinated Universal Time)

ubiquibot[bot] commented 11 months ago

Do you have any updates @GaryThisSidee? If you would like to release the bounty back to the DevPool, please comment /stop Last activity time: Sun Oct 08 2023 19:03:15 GMT+0000 (Coordinated Universal Time)

ubiquibot[bot] commented 11 months ago

Do you have any updates @GaryThisSidee? If you would like to release the bounty back to the DevPool, please comment /stop Last activity time: Sun Oct 08 2023 19:03:15 GMT+0000 (Coordinated Universal Time)

GaryThisSidee commented 11 months ago

well waiting for it to be approved

ubiquibot[bot] commented 10 months ago

Do you have any updates @GaryThisSidee? If you would like to release the bounty back to the DevPool, please comment /stop Last activity time: Wed Oct 18 2023 07:22:59 GMT+0000 (Coordinated Universal Time)

ubiquibot[bot] commented 10 months ago

@GaryThisSidee - Releasing the bounty back to dev pool because the allocated duration already ended! Last activity time: Wed Oct 18 2023 07:22:59 GMT+0000 (Coordinated Universal Time)