Skip to content

Fix devin PR counts#54

Open
walnutwaldo wants to merge 6 commits intoaavetis:mainfrom
usacognition:devin/1756763132-fix-head-devin-counts
Open

Fix devin PR counts#54
walnutwaldo wants to merge 6 commits intoaavetis:mainfrom
usacognition:devin/1756763132-fix-head-devin-counts

Conversation

@walnutwaldo
Copy link
Copy Markdown

No description provided.

- Update search queries in collect_data.py to include OR logic for both author:devin-ai-integration[bot] and head:devin branches
- Update query URLs in generate_chart.py for consistency
- Update backfill script in scripts/add_nondraft_final.py
- Update README.md with new search query links

Fixes aavetis#52: Devin PRs were being undercounted since users can create PRs under their own names with head:devin branches.

Co-Authored-By: Walden <waldenyan20@gmail.com>
Co-Authored-By: Walden <waldenyan20@gmail.com>
- Drop author:devin-ai-integration[bot] queries as requested in PR feedback
- Keep only head:devin and head:devin/ queries for Devin metrics
- Update combining logic to use max() of just the head queries
- Addresses GitHub comment feedback from walnutwaldo

Co-Authored-By: Walden <waldenyan20@gmail.com>
Co-Authored-By: Walden <waldenyan20@gmail.com>
Co-Authored-By: Walden <waldenyan20@gmail.com>
devin-ai-integration bot added a commit to erkinalp/PRarena that referenced this pull request Nov 23, 2025
Change Devin's search pattern from author:devin-ai-integration[bot] to head:devin/
to match the branch prefix pattern used by other agents.

Updated files:
- collect_data.py: Changed Devin queries to use head:devin/
- generate_chart.py: Updated Devin AGENTS entry URLs
- scripts/add_nondraft_final.py: Updated Devin nondraft query

This aligns with upstream PR aavetis#54

Co-Authored-By: Erkin Alp Güney <erkinalp9035@gmail.com>
devin-ai-integration bot added a commit to erkinalp/PRarena that referenced this pull request Nov 23, 2025
1. Revert PR aavetis#54 changes: Keep devin-ai-integration[bot] pattern
   - Changed back from head:devin/ to author:devin-ai-integration[bot]
   - Updated collect_data.py, generate_chart.py, scripts/add_nondraft_final.py
   - User confirmed author-based pattern is the only reliable way for Devin

2. Add Cosine as 5th new agent (from upstream PR aavetis#42)
   - Added Cosine queries to collect_data.py (head:cosine/)
   - Added Cosine to AGENTS list in generate_chart.py
   - Added cosine_percentage and cosine_total_percentage calculations
   - Updated JSON export colors and agent loop
   - Updated CSV headers in data.csv and data_backup.csv
   - Updated templates/index_template.html regex to include cosine

Total agents now: 11 (copilot, codex, cursor, devin, codegen, jules,
windsurf, openhands, tembo, factory, cosine)

Co-Authored-By: Erkin Alp Güney <erkinalp9035@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant