Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
williamzeng0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
williamzeng0
3y ago
Appreciate the correction, and apologies for the lack of clarity!
62.
▲
by
williamzeng0
3y ago
Definitely our fault on the part of this. We also deprecated the client recently, because we want to focus entirely on the GitHub issues. Check out our discord for help! There's a couple of people trying it now :D. Happy to answer ques
63.
▲
by
williamzeng0
3y ago
Haha yep, you can link Sweep a doc and it will read it though! This helps a lot for newer frameworks.
64.
▲
by
williamzeng0
3y ago
Apologies, during the launch yesterday we wrote a bug. It can be fixed by invalidating the cache (push any commit to the main branch). Sorry about that!
65.
▲
by
williamzeng0
3y ago
Sorry I think you misunderstood. Sweep’s logic is fully open and it’s self hostable, but we’ve been focusing on the capabilities of Sweep(not on self hosting) so we haven’t provided docs. Because Sweep runs entirely in GitHub, it’s easy to
66.
▲
by
williamzeng0
3y ago
Haha, we need good senior devs to review Sweep’s PRs :)
67.
▲
by
williamzeng0
3y ago
Thanks for the suggestion, we’re actually going to spend the weekend hacking at a user configurable step that handles different types of tests. I’m personally a fan of letting users insert their own instructions per repository, and Sweep ca
68.
▲
by
williamzeng0
3y ago
You could do that, but we have a non-commercial license so you'd have to look out for that. We have had users in our discord set it up themselves, so it's possible. If you go through us we retain your repo in a hashed redis cache
69.
▲
by
williamzeng0
3y ago
Here you go, https://docs.sweep.dev/privacy . There's also an interesting discussion here about how it works: https://news.ycombinator.com/reply?id=36990160
70.
▲
by
williamzeng0
3y ago
We do end up doing a GPT based rewrite. The initial description is really valuable too though, and we want to keep that throughout the workflow. It's kind of similar to a spelling correction or query intent system. If it's high co
71.
▲
by
williamzeng0
3y ago
We use some simple ranking heuristics detailed here: https://docs.sweep.dev/blogs/building-code-search One thing we also do is match any files mentioned in the issue. So if you mention sweepai/api.py, we'll f
72.
▲
by
williamzeng0
3y ago
Haha, Sweep also handles small features and writing documentation! There's a huge scope of software work besides fixing bugs, and to be fair, most of the work in bug fixing is not in the actual coding but thinking about the problem.
73.
▲
by
williamzeng0
3y ago
Cool! Sweep actually already does this before the PR is shown to the user. I agree it might help to expose some of the Sweep generated reviews (which we did before)
74.
▲
by
williamzeng0
3y ago
That would be me, completely happy to take the blame here :) We manually update the content here so the code works just fine for now.
75.
▲
by
williamzeng0
3y ago
Something I'm a big fan of is making a small successful ticket (for example migrate the functions in one file) and then applying it map-reduce style across the entire codebase. This could help a lot, and by definition addresses repetit
76.
▲
by
williamzeng0
3y ago
I didn't mention this point, but we actually do that during the modification. We ask the LLM to extract the necessary subcontext from the main context. It doesn't increase the costs much, but it does help performance because the u
77.
▲
by
williamzeng0
3y ago
Yes Sweep does! It's through file comments and PR comments. We also handle failing GitHub actions.
78.
▲
by
williamzeng0
3y ago
Modal is great, it's been able to handle us chunking 10k files/second. Most of the costs come from embedding(couple hundred to embed tens of thousands of repos a month). Our chunker was in the tens of dollars as well. The develope
79.
▲
by
williamzeng0
3y ago
These are nice PRs, also github.3dstreet.org is super cool! I'm glad it's passing the GitHub actions. Do you have any workflows that would be more helpful to you?
80.
▲
by
williamzeng0
3y ago
Thank you! We're working on integrating external browsing using another agent. For now we do have link processing, so if you drop a publicly accessible link in the issue, Sweep will actually gather context from that link. You can give
81.
▲
by
williamzeng0
3y ago
Yep! You can leave a comment on the file just like you would review a PR. There's an example here: https://github.com/sweepai/landing-page/pull/226
82.
▲
by
williamzeng0
3y ago
That's a good question! We tried using Anthropic 100k before (Claude 1.3 was a lot worse), and I think that it's really important to figure out how to be context efficient, at least for GPT4. My stance is with models ignoring long
83.
▲
by
williamzeng0
3y ago
That's completely right, the testimonials will look really strange if the names have 3+ words in them. That's why we're targeting really strong developers to review Sweep's PRs. An experienced dev(like you) will be able
84.
▲
by
williamzeng0
3y ago
I really liked the blogpost! We're hoping to change point 2 (Engineering Time is Finite) with Sweep, so hopefully we don't have to make a tradeoff between a high quantity/quality of tests.
85.
▲
by
williamzeng0
3y ago
Good point, we may allow open source repos to do this in order to credit contributors that wrote the original issues (those contributions are really valuable).
86.
▲
by
williamzeng0
3y ago
Our code is messy (sweep hasn't gotten around to it yet), but here's where we save the code! https://github.com/sweepai/sweep/blob/main/sweepai/core/vect... So for context, this is ru
87.
▲
by
williamzeng0
3y ago
Much appreciated! I just got a new mic so the audio won't be so bad. What kinds of videos would you like? We can make anything, the two repos we use the most are Sweep itself and our landing page
88.
▲
by
williamzeng0
3y ago
Here it is: https://docs.sweep.dev/privacy The logs from Sweep(which contain snippets of code) are logged for debugging purposes. We don't train on any of your code. These will only be stored for 30 days. We send this
89.
▲
by
williamzeng0
3y ago
We're on it! Perfect time to ask Sweep to give it a try.
90.
▲
by
williamzeng0
3y ago
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
More ›