Live data from Hacker News

Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

github.com

31–40 of 117 posts

Re: Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

#31
post #18

Great I think you made a good choice by interfacing directly to PRs. I'd like to see if I'm able to get my code coverage to 100% with this bot.

If I may ask - why?

Why is increasing your code coverage to 100% matter? Would that reduce bugs or speed up development in any way?

Wouldn't it just add lots more code to maintain and make refactors more time consuming?

Re: Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

#32
Sorry if I missed this, but do you plan on integrating with issues outside of github? For example, we use Linear, but it is connected to github to automatically pull PR information. It would be interesting to do basically the exact same thing as what you're doing, but do it with a Linear issue instead.

Re: Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

#33
Just merged my first simple PR with sweep. This is going to be so useful for the kind of things that would take 5 minutes to do but get procrastinated for weeks because you just can't find the time to context switch for it.

Congrats on the launch!

Re: Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

#34

Sorry if I missed this, but do you plan on integrating with issues outside of github? For example, we use Linear, but it is connected to github to automatically pull PR information. It would be interesting to do basically the exact same thing as what you're doing, but do it with a Linear issue instead.

Yup! We used to use https://synclinear.com/ but you can also use Zapier to automatically redirect Linear issues to GitHub. It's a nice experience since we also had a Discord to Linear hook.

Re: Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

#35

Just merged my first simple PR with sweep. This is going to be so useful for the kind of things that would take 5 minutes to do but get procrastinated for weeks because you just can't find the time to context switch for it. Congrats on the launch!

Thanks, and I'm glad to hear! I'm Will's co-founder btw. Just wondering, what's the PR about?

Re: Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

#36
post #31
post #18

Great I think you made a good choice by interfacing directly to PRs. I'd like to see if I'm able to get my code coverage to 100% with this bot.

If I may ask - why? Why is increasing your code coverage to 100% matter? Would that reduce bugs or speed up development in any way? Wouldn't it just add lots more code to maintain and make refactors more time consuming?

I think they meant that now that an AI can write the tests they can bring themselves to write enough to hit the 100% coverage. And I think importance of coverage just depends on if you want to build fast or have better maintenance, but I could be wrong since I usually only write e2e tests at most.

Re: Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

#37

Just merged my first simple PR with sweep. This is going to be so useful for the kind of things that would take 5 minutes to do but get procrastinated for weeks because you just can't find the time to context switch for it. Congrats on the launch!

Thanks, and I'm glad to hear! I'm Will's co-founder btw. Just wondering, what's the PR about?

I just had it fix some outdated copy in a part of the UI. The nice thing is I didn't have to find the file myself, I just described what was wrong like I would a junior eng and let it find and fix it. Worked on the first try!

Re: Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

#38
post #31
post #18

Great I think you made a good choice by interfacing directly to PRs. I'd like to see if I'm able to get my code coverage to 100% with this bot.

If I may ask - why? Why is increasing your code coverage to 100% matter? Would that reduce bugs or speed up development in any way? Wouldn't it just add lots more code to maintain and make refactors more time consuming?

I said 100% more or less as a figure of speech. I meant to say adding tests in some modules that I deem relevant. As a matter of fact, it would speed up development. Because I'm always feeling uneasy of the changes I introduce, all while learning the underlying Object-Relational Mapper. This has been the case for the past year or more in a new job position. The past developer of this code moved to new position long ago...

Re: Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

#39

Earlier quoted context omitted.

Thanks, and I'm glad to hear! I'm Will's co-founder btw. Just wondering, what's the PR about?

I just had it fix some outdated copy in a part of the UI. The nice thing is I didn't have to find the file myself, I just described what was wrong like I would a junior eng and let it find and fix it. Worked on the first try!

That's exactly the use case we want. We also let you specify the file path (ex: "main.py").

We noticed that Sweep's search works way better if there are comments, because the comments match up really well with the search queries (language language is easier than language code)

Post reply on HN