HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
xeol-io
swe-bump-bench
TypeScript2024–2024
xeol-io / swe-bump-bench

swe-bump-bench

Benchmark test cases for version bumps

2Distinct people
3Mentions
0Explicit recommenders
1GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Benchmark test cases for version bumps

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day3 dated mentions

Observed mentions: 2024-04-30 14:35:04 UTC to 2024-05-11 16:13:11 UTC.

012024-04-30 00:00:00 UTC to 2024-05-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsApr 302024-05-01 00:00:00 UTC to 2024-05-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-02 00:00:00 UTC to 2024-05-03 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-03 00:00:00 UTC to 2024-05-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-04 00:00:00 UTC to 2024-05-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-05 00:00:00 UTC to 2024-05-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMay 52024-05-06 00:00:00 UTC to 2024-05-07 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024-05-07 00:00:00 UTC to 2024-05-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-08 00:00:00 UTC to 2024-05-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-09 00:00:00 UTC to 2024-05-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-10 00:00:00 UTC to 2024-05-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-11 00:00:00 UTC to 2024-05-12 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 11

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Apr 302024-04-30 00:00:00 UTC2024-05-01 00:00:00 UTC110
May 12024-05-01 00:00:00 UTC2024-05-02 00:00:00 UTC000
May 22024-05-02 00:00:00 UTC2024-05-03 00:00:00 UTC000
May 32024-05-03 00:00:00 UTC2024-05-04 00:00:00 UTC000
May 42024-05-04 00:00:00 UTC2024-05-05 00:00:00 UTC000
May 52024-05-05 00:00:00 UTC2024-05-06 00:00:00 UTC000
May 62024-05-06 00:00:00 UTC2024-05-07 00:00:00 UTC110
May 72024-05-07 00:00:00 UTC2024-05-08 00:00:00 UTC000
May 82024-05-08 00:00:00 UTC2024-05-09 00:00:00 UTC000
May 92024-05-09 00:00:00 UTC2024-05-10 00:00:00 UTC000
May 102024-05-10 00:00:00 UTC2024-05-11 00:00:00 UTC000
May 112024-05-11 00:00:00 UTC2024-05-12 00:00:00 UTC101

What Hacker News says

3 sources
shihanwan1·May 6, 2024Submission

Show HN: Can AI keep my code up-to-date?

Hey HN, We are open sourcing (https://github.com/xeol-io/bumpgen/), a tool that uses an LLM to upgrade your dependencies to their newer versions. We are building this for our customers (security teams) who need to upgrade their dependencies for security and compliance but lack engineering resources. Most patching tend to be painless but major version upgrades will cause breaking changes that require engineers to fix. We want bumpgen to reduce this engineering cost to security. It has been an interesting experience using AI to identify breaking changes, fix them, then propagate the fixes across a codebase. We thought for sure the biggest challenge would be overcoming a LLM’s coding shortcomings but turns out navigating the codebase correctly was the much bigger issue. When bumpgen fixes a breaking change, the fix itself needs to be applied
Read the rest
to the rest of the codebase. This requires bumpgen to understand how every function in a codebase interacts with each other and how a change to one would affect the others. To address this, we drew inspiration from CodePlan (https://arxiv.org/abs/2309.12499) that describes a theoretical(?) way to apply change consistently for an entire repository. In short, it combines a dependency graph and an oracle to understand the codebase then verify a change. If I were to summarize my learnings, it would be that applying codegen to this problem is much more a “refactoring” problem than it is a “coding” problem (if that makes sense). So to answer my own question, I’d say AI CAN keep your code up-to-date but ONLY if it is guided carefully through the codebase. We benchmarked bumpgen against our test suite (https://github.com/xeol-io/swe-bump-bench) and it currently stands at around 50% accuracy. The bench suite is a set of repos with human commits for version bumps. We run bumpgen on the prior commit then compare bumpgen’s code diffs to that of the human commit along with passing builds to determine success. There are a lot of improvements we want to test out in May to increase accuracy. Starting with improving and tightening our core CodePlan logic. We think getting this right will unlock automating far more complex breaking changes and codebases like upgrading a vue 2 to vue 3. We have been building bumpgen for a month and we would love to hear people’s thoughts, experiences, and suggestions!
2 points · Open discussion
noqcks·Apr 30, 2024Submission

Show HN: Bumpgen – upgrade NPM packages using AI

Hey HN, we are building bumpgen (https://github.com/xeol-io/bumpgen/) to remove the toil of fixing breaking changes during version bumps. bumpgen bumps your npm package version then generates the fixes to potential breaking changes. There were some interesting challenges we encountered using an LLM to fix breaking changes: [1] Finding the breaking changes → know how is a dependency used through the codebase [2] Knowing how to fix the a breaking change → know how the dependency has changed from one version to another [3] Understanding how the fix has modified existing behavior → know how the function the dependency is used in is used through the codebase We addressed challenge [1] and [2] by choosing to support Typescript first. The strong typing helps us identify the breaking changes with a version bump pretty well. We can then pass the t
Read the rest
ype errors into the LLM to increase its fix accuracy. Challenge [3] is definitely the trickiest. We built an AST of the codebase that we then use to create a “plan graph” (https://huggingface.co/papers/2309.12499) of the type error, the function it’s used in, and the functions calling it. This plan graph should tell us how a fix would need to be perpetuated throughout the codebase. At a high level bumpgen’s core loop is something like this: - build an AST to understand your code’s relationships - bump version and get type errors - combine the above to create a plan graph (https://huggingface.co/papers/2309.12499) of how to fix the error and apply it to the rest of the codebase - prompt the LLM to step through the plan graph and fix each breaking change - validate the fixes with a rebuild We also built our own benchmark suite (https://github.com/xeol-io/swe-bump-bench) to test bumpgen’s accuracy. It is a set of repos with human commits for version bumps. We would run bumpgen on the prior commit then compare bumpgen’s PR to that of the human commit to determine success. Our latest benchmark sits around ~50% accuracy. Up next we want to better address challenge [2] by building embeddings for different dependency versions to give the LLM more context on the changes across versions. After that we will be releasing a GitHub app with some qol features such as configuring update cadences, etc before moving onto C# and Golang support. We covered a lot of our architecture and thought process for bumpgen, we would love to hear your thoughts and feedback in the comments!
20 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.