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

ignore-children comment incentive config #772

Open
0x4007 opened this issue Sep 14, 2023 · 12 comments · May be fixed by #825
Open

ignore-children comment incentive config #772

0x4007 opened this issue Sep 14, 2023 · 12 comments · May be fixed by #825

Comments

@0x4007
Copy link
Member

0x4007 commented Sep 14, 2023

          > 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 #648 (comment)

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
Copy link
Member Author

0x4007 commented Sep 14, 2023

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
Copy link

/start

@ubiquibot
Copy link

ubiquibot bot commented Sep 18, 2023

Deadline Mon, 18 Sep 2023 10:17:06 UTC
Registered Wallet 0x2bBc6a8314044d70684C74CfA0E117eb75E3708c
Tips:
  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address @user.
  • Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
  • Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the bounty.

    @ubiquibot
    Copy link

    ubiquibot bot commented Sep 24, 2023

    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)

    @GaryThisSidee GaryThisSidee linked a pull request Sep 24, 2023 that will close this issue
    @BeanieMen
    Copy link
    Contributor

    Can I take this issue after like 3 days

    @0x4007
    Copy link
    Member Author

    0x4007 commented Sep 25, 2023

    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
    Copy link

    ubiquibot bot commented Oct 1, 2023

    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
    Copy link

    ubiquibot bot commented Oct 13, 2023

    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)

    1 similar comment
    @ubiquibot
    Copy link

    ubiquibot bot commented Oct 13, 2023

    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
    Copy link

    well waiting for it to be approved

    @ubiquibot
    Copy link

    ubiquibot bot commented Oct 22, 2023

    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
    Copy link

    ubiquibot bot commented Oct 25, 2023

    @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)

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    3 participants