[BOUNTY] N64 LLM Speedrun — 5 tok/s on Real N64 Hardware (300 RTC) #1736
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Bounty Verifier | |
| on: | |
| issue_comment: | |
| types: [created] | |
| workflow_dispatch: | |
| inputs: | |
| issue_number: | |
| description: "Issue number to verify" | |
| required: true | |
| type: number | |
| comment_id: | |
| description: "Specific comment ID (optional)" | |
| required: false | |
| type: number | |
| env: | |
| PYTHON_VERSION: "3.11" | |
| jobs: | |
| verify-claim: | |
| if: | | |
| github.event_name == 'workflow_dispatch' || | |
| (github.event_name == 'issue_comment' && | |
| github.event.issue.state == 'open' && | |
| github.event.comment.user.login != github.repository_owner && | |
| contains(github.event.comment.body, 'claim')) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| cache: 'pip' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pyyaml requests beautifulsoup4 lxml | |
| - name: Run bounty verifier | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_OWNER: ${{ github.repository_owner }} | |
| GITHUB_REPO: ${{ github.event.repository.name }} | |
| DRY_RUN: "false" | |
| LOG_LEVEL: "INFO" | |
| run: | | |
| cd tools | |
| python -m bounty_verifier.cli verify \ | |
| ${{ github.event.issue.number || inputs.issue_number }} \ | |
| ${{ github.event.comment.id && format('--comment-id {0}', github.event.comment.id) || '' }} | |
| - name: Handle rate limit | |
| if: failure() | |
| run: | | |
| echo "Rate limit may have been exceeded. The bot will retry on next comment." | |
| echo "Check GitHub API rate limit status at: https://github.com/settings/tokens" |