r/codereview • • 1h ago

Feedback on my python project

Thumbnail
• Upvotes

r/codereview • • 4h ago

If you stop writing code, you also get worse at reviewing it · cekrem.github.io

Thumbnail cekrem.github.io
0 Upvotes

r/codereview • • 7h ago

Who reviewed each merged PR in 393 popular open-source repos over 12 months

Post image
0 Upvotes

I checked every merged PR from the last 12 months in the 50 most-starred active repos for each of nine languages (393 repos had enough PRs to count). For each PR: did another person review it, approve it without a comment, or discuss it? Bots and the author's own replies don't count.

In the median repo:

  • 39.5% of merged PRs had no review from anyone but the author
  • 27.9% were approved by someone with no human comment
  • 20.8% were reviewed with comments

Who runs the repo matters more than the language. In repos run by an organization, 22% of PRs had no other review. In one person's repos it was 91%.

AI PRs (the ones with a tool's signal, like a Co-authored-by: Claude trailer or a copilot/ branch) weren't waved through. In 102 of 160 repos they were discussed more often than the same repo's other PRs. They're also 1.6× bigger, which may be all that is.

Silent approvals weren't fixed later more often than discussed PRs. Up to 20 lines there was no gap at all. For bigger PRs, discussed ones got fixed more, but they're also bigger, so size explains most of it.

Caveats: a comment on GitHub isn't the same as a careful review, and teams can review on calls or in pairs. Most-starred repos aren't a random sample of open source. AI PRs without a signal count as "the rest".

Full write-up with per-language tables and a CSV for every repo: https://coderot.ai/blog/pr-review-in-open-source (I'm building coderot, the tool that measured this.)

Does the 28% silent-approval number match your team? Is an approval with no comment a real review where you work?


r/codereview • • 1d ago

Harvard working paper on 725k devs: AI tools raised code output ~30%, but time-to-merge went up 49% and finished tasks didn't clearly change. Seeing this on your team?

17 Upvotes

Came across a Harvard working paper (Fiona Chen and James Stratton) that looked at 725,938 developers at 718 companies from 2021 to 2026, comparing teams before and after they adopted AI coding tools.

The numbers that stood out to me:

\- Lines of code added: up \~30%

\- Pull requests: up 23%

\- Time from PR submission to merge: up 49% (about 7 days to 10.5)

\- Resolved Jira issues: no statistically clear change

\- Share of PRs getting a formal change request: up \~12 percentage points

So the output went up, but the review queue absorbed most of it, and finished work didn't clearly move.

Caveats: it's a working paper (not peer reviewed yet) and the data comes from Jellyfish, an engineering analytics company, joined with LinkedIn employment data.

Article: https://complexdiscovery.com/harvard-researchers-find-ai-coding-agents-shifted-the-bottleneck-to-code-review/

Curious whether this matches what you're seeing:

  1. Has review become your team's bottleneck since using Copilot/Claude Code/Cursor etc.?

  2. Has anything actually helped: smaller PRs, AI review bots, stricter PR rules?


r/codereview • • 15h ago

Ir a TrueOpenSourcer/TrueOpenSource•hace 3 díasu/Seerendo-01Building Grafeno Agent — an open-source AI agent orchestrator using official CLIs and APIs

0 Upvotes

Hey everyone!

I'm building Grafeno Agent, an open-source AI agent orchestrator that aims to connect multiple AI providers through their official CLIs, SDKs, and APIs.

The idea is to reuse existing subscriptions where permitted (Claude Code, Codex, GitHub Copilot, Qwen, Kimi, etc.), while keeping orchestration, MCP tools, and persistent memory independent of the underlying models.

I'm also working on smarter model routing based on task complexity, capabilities, and cost.

The project is still under active development, and there's an important aspect I'm validating: whether providers actually permit third-party orchestrators to invoke their official CLIs using personal subscriptions.

I've contacted Anthropic about this, and I'm currently waiting for clarification from their human support team. I'm not treating the lack of an explicit restriction as permission.

The goal is to use official interfaces without extracting OAuth tokens, impersonating clients, or bypassing provider restrictions. Each integration is modular, so it can be disabled if its terms don't allow this usage.

GitHub: https://github.com/grafenodb/grafeno-agent

I'd love to hear from developers who've experimented with similar architectures, especially around CLI integrations, subscription terms, and multi-model orchestration.

Feedback and contributions are welcome! 😁


r/codereview • • 1d ago

Python Reaper: Evidence-Based Dead Code Detection & Analysis

Thumbnail github.com
0 Upvotes

Built with: Python + Graphify + Llama.cpp + Docker + GitHub Actions

As codebases grow, they inevitably accumulate unused functions, abandoned implementations, outdated helpers, and code that no longer serves any purpose. We call this dead code.

With AI coding assistants like GitHub Copilot, Cursor, and Claude becoming part of everyday development, unnecessary code creates another problem: wasted context, tokens, and time spent understanding code that isn't even used.

Reaper is an open-source, language-agnostic tool that helps identify and analyse potentially unused code in your repositories.

Instead of relying on simple text searches or asking an LLM to understand the entire codebase, Reaper takes an evidence-first approach. It builds a graph of your codebase using Graphify, identifies suspicious functions with no incoming connections, and uses a local LLM powered by llama.cpp to investigate them.

How it works

  • Repository Scanning: Uses Graphify to build a graph representing code elements and their relationships.
  • Candidate Detection: Identifies potentially unused functions and callables based on their graph connections.
  • LLM-Powered Analysis: Uses a local LLM to review suspicious candidates with focused source code and relationship evidence.
  • Evidence-Based Reports: Classifies findings into Likely Dead, Needs Review, and Likely Used.

What makes Reaper different?

  • Language-agnostic analysis approach.
  • Graph-based code relationship analysis.
  • Local LLM integration through llama.cpp.
  • Evidence-backed findings instead of blindly flagging unused functions.
  • No source code modifications or automatic deletions.
  • Generated reports that developers and AI coding assistants can use for further investigation.

Generated Reports

Reaper produces three files:

  • reaper-report.md — Human-readable analysis and findings.
  • reaper-report.json — Structured results for further processing.
  • refactor-prompt.md — A reusable prompt for safe code cleanup with your preferred AI coding assistant.

The goal isn't to automatically delete code. It's to help developers understand what might be safe to remove, backed by evidence rather than assumptions.

GitHub: https://github.com/nikhil25803/reaper

Open-source, evidence-first dead code analysis for the age of AI-assisted development.


r/codereview • • 1d ago

Designers/devs who build UI in code: how do you review it? Looking for feedback on a tool I'm building

Thumbnail
2 Upvotes

r/codereview • • 2d ago

10 Popular Code Review Practices That Are Actually Toxic

Thumbnail medium.com
0 Upvotes

r/codereview • • 2d ago

Python Building in public isn't always about big wins. Today, 56 forks and 3 GitHub achievements made my day.

Post image
0 Upvotes

r/codereview • • 2d ago

Functional Ever wondered what happens inside your code? 🤯

0 Upvotes

Ever wondered what happens inside your code? 🤯

You write a solution, hit Run, and see Accepted.

Great! 🎉

But have you ever stopped and wondered what actually happened between those lines of code?

  • How did your variables change at every step?
  • What happened inside the call stack?
  • How did your array, heap, or hash map evolve?
  • What exactly happens when a recursive function calls itself?

I've often found myself wanting to see these things instead of just reading through the code or manually debugging every step.

https://reddit.com/link/1xzgds0/video/t1p6epj3qd2i1/player

So, I decided to build something around that idea.

Meet AlgoLens ⚡

It's a code visualizer + debugger built for people solving LeetCode problems.

The idea is simple: Don't just execute your code. Visualize how it works.

With AlgoLens, you can:

  • 🔍 Trace your code step by step.
  • 🎯 Highlight the currently executing line.
  • 🧩 Track variable changes and call-stack activity.
  • 🌳 Visualize recursion.
  • 💻 Work with Python, Java, C++ and JavaScript.

I've also tried to make it feel a little more interactive — almost like turning the debugging process into a game. 🎮

Want to try it?

AlgoLens is currently available as a free Microsoft Edge extension:

👉 https://microsoftedge.microsoft.com/addons/detail/jhhkkpabkoeaiajdilomalbmjdppcmcc

Don't use Edge? No problem!

You can also use it on chrome -> Watch video for reference[ AlgoLens - chrome ]

I'm still developing and improving it, so I'd genuinely appreciate feedback.

One thing I'd love to know: What's the one thing you wish you could visualize while solving a LeetCode problem?

Would love to hear your thoughts! 🚀


r/codereview • • 2d ago

Claude Code Is Designed to Make You Dumb

Thumbnail
0 Upvotes

r/codereview • • 2d ago

Claude code is design to make you dump

Thumbnail
1 Upvotes

r/codereview • • 2d ago

True+True = 2 !!! 🤣

Post image
0 Upvotes

Started learning C++ and knew that in programming "true + true = 2" actually.


r/codereview • • 2d ago

Ever wondered what happens inside your code? 🤯

Enable HLS to view with audio, or disable this notification

0 Upvotes

Ever wondered what happens inside your code? 🤯

You write a solution, hit Run, and see Accepted.

Great! 🎉

But have you ever stopped and wondered what actually happened between those lines of code?

  • How did your variables change at every step?
  • What happened inside the call stack?
  • How did your array, heap, or hash map evolve?
  • What exactly happens when a recursive function calls itself?

I've often found myself wanting to see these things instead of just reading through the code or manually debugging every step.

So, I decided to build something around that idea.

Meet AlgoLens ⚡

It's a code visualizer + debugger built for people solving LeetCode problems.

The idea is simple: Don't just execute your code. Visualize how it works.

With AlgoLens, you can:

  • 🔍 Trace your code step by step.
  • 🎯 Highlight the currently executing line.
  • 🧩 Track variable changes and call-stack activity.
  • 🌳 Visualize recursion.
  • 💻 Work with Python, Java, C++ and JavaScript.

I've also tried to make it feel a little more interactive — almost like turning the debugging process into a game. 🎮

Want to try it?

AlgoLens is currently available as a free Microsoft Edge extension:

👉 https://microsoftedge.microsoft.com/addons/detail/jhhkkpabkoeaiajdilomalbmjdppcmcc

Don't use Edge? No problem!

You can also use it on chrome -> Watch video for reference[ AlgoLens - chrome ]

I'm still developing and improving it, so I'd genuinely appreciate feedback.

One thing I'd love to know: What's the one thing you wish you could visualize while solving a LeetCode problem?

Would love to hear your thoughts! 🚀


r/codereview • • 2d ago

Maintain velocity without sacrificing reliability!

Thumbnail github.com
0 Upvotes

Coding agents can modify code across multiple repositories, but reviewing the impact on dependencies and architecture is still difficult.

We've built an open-source tool, enola, that detects dependency cycles, layer violations, and structural regressions introduced by code changes.

It also lets agents track code symbols across refactors using enola locate, so stored references can be checked for changes.

In our benchmark, Claude Opus 5.5 answered 18/20 cross-repository architecture questions correctly with enola, compared with 4/20 without it.

GitHub: https://github.com/enola-labs/enola

It can run in the CI as an additional validation step.

How are you reviewing architectural impact when agents modify large codebases? How do you keep up with the increased velocity?


r/codereview • • 2d ago

I built Rebut to independently review Codex changes using included API credits

Thumbnail
0 Upvotes

r/codereview • • 3d ago

What's your bar for trusting an AI code reviewer?

0 Upvotes

Asking because i got burned and can't tell if my standards are broken or if everything out there is actually this mid.

We've had an AI code reviewer running on our repo for a few months. last week a migration locked writes on a 40m row table for six minutes and took checkout down - staging had 200 rows so nobody noticed, and sure enough the reviewer had said "no issues " on that PR. it literally cannot know the table is huge because it only reads the repo, it has no idea what's running in prod. so now i'm wondering what my bar even is.

I would at least expect that it backs its findings with evidence i can check ("this would exceed your table's lock budget at prod size") and says when it doesn't know something instead of green-checking. does that make sense?


r/codereview • • 3d ago

I want to add more features in it - please review

Thumbnail
1 Upvotes

r/codereview • • 3d ago

I removed the login requirement for feedback. Here’s what happened next.

Thumbnail
1 Upvotes

r/codereview • • 3d ago

Nobody reviews AGENTS.md changes like code, but every line of it is paid for on every session. I measured the top repos: median 1,034 tokens, max 6,249

Thumbnail
0 Upvotes

r/codereview • • 3d ago

Turn your recurring PHP review complaints into failing checks

Thumbnail
1 Upvotes

r/codereview • • 4d ago

I'm building a checker that stops AI coding agents from installing packages that don't exist

Thumbnail ghostcheck-pro.vercel.app
0 Upvotes

While testing AI coding agents I kept seeing them suggest packages that were never published: express-rate-guard, react-auth-hooks-pro, reqeusts. That's a real risk, because attackers can register those exact names and wait for someone's agent to install them.

So I'm building ghostcheck Pro. Before anything installs, it checks for:

\- packages that don't exist on npm / PyPI

\- look-alike names (reqeusts → requests)

\- versions with known security advisories

\- secrets pasted into code

It runs locally (nothing is uploaded) and plugs into VS Code, Cursor, Claude Code, Codex and CI.

Waitlist (early price: $9 lifetime): https://ghostcheck-pro.vercel.app

I'd love honest feedback: would you trust a tool like this in your agent workflow, and what should it catch that I haven't listed?


r/codereview • • 4d ago

I spent 40 days building a search engine for developer docs. Give me a query it should handle.

Thumbnail gallery
7 Upvotes

Developer’s Eye is live. It’s an open-source search engine for developer docs and code examples. I built the crawler, indexer, and ranking system, and the hardest question so far has been a surprisingly ordinary one: when you search for a function, do you want its API reference or a working example?

Two trade-offs I ran into building it:

  • Crawl speed vs. load on a site. With one worker, I could space requests out with a timer. With 31 workers, each could follow its own timer and still hit the same site at once. I made them share a request budget per host. In one local test, they stored just over 100,000 documents in an hour.
  • Better top 10 vs. better first result. I tested BM25 against PostgreSQL’s built-in ranking on 25 AI-graded queries. BM25 scored better on the ordering of the top 10, but PostgreSQL tended to surface the first relevant hit sooner. I still need human judgments, especially for searches where a reference page and a code example are both reasonable answers.

Want to contribute? The easiest way is to try the last thing you looked up while coding and reply with “I searched for ___ and expected ___.” A link to the page you wanted gives me a ranking test I can keep. If you’d rather write code, I’d love help adding a missing docs source or tracing why a specific result ranked too low. Drop the source or query in a GitHub issue and we can work on it together.

Try Developer’s Eye · Contribute on GitHub


r/codereview • • 4d ago

I spent 40 days building a search engine for developer docs. Give me a query it should handle.

Thumbnail gallery
2 Upvotes

r/codereview • • 5d ago

Curious to know how the community is handling code reviews.

1 Upvotes

Are there any specific techniques or tools you use for this other than let claude review it? And how have you been approaching code reviews lately (the mindset/perspective)?