Better HN
topnewbestaskshowjobs
Log inSign up

dakshgupta

1,146 karma · joined May 18, 2022 (4y ago) · 204 submissions

Co-founder at Greptile.com.
Submissions

comment 1d ago · link · parent

In defense of those applications, they probably did not anticipate how valuable a sensible information hierarchy would end up being when AI started using computers on our behalf.

comment 1d ago · link · parent

That's probably a system prompt thing, but I suspect it's our computer that they are using.

3.

How should an LLM see a computer?(greptile.com ↗)

58 points · by dakshgupta · 1d ago · 25 comments

4.

How to build a code review agent(greptile.com ↗)

1 points · by dakshgupta · 1mo ago · discuss

comment 5mo ago · link · parent

Apart from the job-related stuff others have already said, there is a bit of novelty/bragging rights in landing a PR into a major open source project.

6.

PR spam today looks like email spam in the early 2000s(greptile.com ↗)

265 points · by dakshgupta · 5mo ago · 155 comments

comment 5mo ago · link · parent

Not yet - but we want to do this. Similarly true for the ephemeral unit tests that greptile writes.

8.

TREX: An AI code reviewer that runs your code(greptile.com ↗)

60 points · by dakshgupta · 5mo ago · 11 comments

9.

Slop is not necessarily the future(greptile.com ↗)

305 points · by dakshgupta · 7mo ago · 484 comments

comment 10mo ago · link · parent

The signal-to-noise ratio problem is unexpectedly difficult.

We wrote about our approach to it some time ago here - https://www.greptile.com/blog/make-llms-shut-up

Much has changed on our approach since then, so we'll probably write a a new blog post.

The tl;dr of what makes it hard is - different people have different ideas of what a nitpick is - it's not a spectrum, the differences are qualitative - LLMs are reluctant to risk downplaying the severity of an issue and therefore are unable to usefully filter out nits. - theory: they are paid by the token and so they say more stuff

comment 10mo ago · link · parent

Thanks! We go over that on many other pages. Here are some:

https://www.greptile.com/benchmarks https://www.greptile.com/greptile-vs-coderabbit https://www.greptile.com/greptile-vs-bugbot

comment 10mo ago · link · parent

I agree that none perform _super_ well.

I would argue they go far beyond linters now, which was perhaps not true even nine months ago.

To the degree you consider this to be evidence, in the last 7 days, the authors of a PR has replied to a Greptile comment with "great catch", "good catch", etc. 9,078 times.

comment 10mo ago · link · parent

2. There is plenty of evidence for this elsewhere on the site, and we do encourage people to try it because like with a lot of AI tools, YMMV.

You're totally right that PR reviews go a lot farther than catching issues and enforcing standard. Knowledge sharing is a very important part of it. However, there are processes you can create to enable better knowledge sharing and let AI handle the issue-catching (maybe not fully yet, but in time). Blocking code from merging because knowledge isn't shared yet seems unnecessary.

comment 10mo ago · link · parent

> Independence

It is, but when a model/harness/tools/system prompts are the same/similar in the generator and reviewer fail in similar ways. Question: Would you trust a Cursor review of Claude-written code more, less, or the same as a Cursor review of Cursor-written code?

> Autonomy

Plenty of tools have invested heavily in AI-assisted review - creating great UIs to help human reviewers understand and check diffs. Our view is that code validation will be completely autonomous in the medium term, and so our system is designed to make all human intervention optional. This is possibly a unpopular opinion, and we respect the camp that might say people will always review AI-generated code. It's just not the future we want for this profession, nor the one we predict.

> Loops

You can invest in UX and tooling that makes this easier or harder. Our first step towards making this easier is a native Claude Code plugin in the `/plugins` command that let's Claude code do a plan, write, commit, get review comments, plan, write loop.

15.

There is an AI code review bubble(greptile.com ↗)

351 points · by dakshgupta · 10mo ago · 249 comments

16.

Every GitHub object has two IDs(greptile.com ↗)

327 points · by dakshgupta · 10mo ago · 75 comments

comment 11mo ago · link · parent

We have ways to approximate our impact on code quality, because we track:

- Change in number of revisions made between open and merge before vs. after greptile

- Percentage of greptile's PR comments that cause the developer to change the flagged lines

Assuming the author is will only change their PR for the better, this tells us if we're impacting quality.

We haven't yet found a way to measure absolute quality, beyond that.

comment 11mo ago · link · parent

Apologies, that is poor wording on our part. It's internal data from engineers that use Greptile, which are tens of thousands of people from a variety of industries. As opposed to external, public data, which is where some of the charts are from.

comment 11mo ago · link · parent

Most of our customers are enterprises, so I feel relatively comfortable assuming they have some decent testing and QA in place. Perhaps I am too optimistic?

comment 11mo ago · link · parent

Thanks! The first 4 charts as well as Chart 2.3 are all from our data!

comment 11mo ago · link · parent

This is a good one, wish we had included it. I'd run some analysis on this a while ago and it was pretty interesting.

An interesting subtrend is that Devin and other full async agents write the highest proportion of code at the largest companies. Ticket-to-PR hasn't worked nearly as well for startups as it has for the F500.

comment 11mo ago · link · parent

How would you measure code quality? Would persistence be a good measure?

comment 11mo ago · link · parent

This is a great suggestion. I'll note it down for next years. Curious, do you think this would be a good proxy for code quality?

comment 11mo ago · link · parent

This is per month, I see now that's not super clear on the chart!

comment 11mo ago · link · parent

We're careful not to draw any conclusions from LoC. The fact is LoCs are higher, which by itself is interesting. This could be a good or bad thing depending on code quality, which itself varied wildly person-to-person and agent-to-agent.

comment 11mo ago · link · parent

We weren’t able to find a good quality measure. LLM-as-judge dint feel right. You’re correct that without that the data is interesting but not particular insightful.

comment 11mo ago · link · parent

We weren’t able to agree on a good way to measure this. Curious - what’s your opinion on code churn as a metric? If code simply persists over some number of months, is that indication it’s good quality code?

comment 11mo ago · link · parent

We expressly did not conclude that more lines = better. You could easily argue more lines = worse. All we wanted to show is that there are more lines.
1234567