repo string | sha string | parent string | subject string | body string | packages list | src_files list | test_files list | parent_status string | fail_to_pass list | before unknown | after unknown | tests unknown | gold_patch string | size dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FiloSottile__age | 366cc58ca8ff9447bb67a57d77e0821e119c34f7 | 7a8f5005676b7c960ed3cc34e56670958c53c5c2 | internal/bech32: avoid panic on Unicode input | Reported by Joe Doyle of Trail of Bits. | [
".",
"internal/bech32"
] | [
"internal/bech32/bech32.go"
] | [
"age_test.go",
"internal/bech32/bech32_test.go"
] | test_fail | [
"TestDecodeShortDataPart",
"TestParseUnicode",
"TestParseUnicode/age.ParseHybridIdentity",
"TestParseUnicode/age.ParseHybridRecipient",
"TestParseUnicode/age.ParseX25519Identity",
"TestParseUnicode/age.ParseX25519Recipient",
"TestParseUnicode/plugin.ParseIdentity",
"TestParseUnicode/plugin.ParseRecipi... | {
"internal/bech32/bech32.go": "// Copyright (c) 2017 Takatoshi Nakagawa\n// Copyright (c) 2019 The age Authors\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restricti... | {
"internal/bech32/bech32.go": "// Copyright (c) 2017 Takatoshi Nakagawa\n// Copyright (c) 2019 The age Authors\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restricti... | {
"age_test.go": "// Copyright 2019 The age Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\npackage age_test\n\nimport (\n\t\"archive/zip\"\n\t\"bytes\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/fs\"\n\t\"log\"\n\t\"os\"\n\t\"... | diff --git a/internal/bech32/bech32.go b/internal/bech32/bech32.go
index a5d8330..087de3d 100644
--- a/internal/bech32/bech32.go
+++ b/internal/bech32/bech32.go
@@ -154,14 +154,21 @@ func Decode(s string) (hrp string, data []byte, err error) {
return "", nil, fmt.Errorf("invalid character human-readable part: s[%d]... | {
"before_chars": 5008,
"patch_lines": 27
} |
TecharoHQ__anubis | 71147b4857b103ec94eaa3ff69148fa77f765778 | cee7871ef8b64f45c1293c03be13a0bfa9f56a90 | fix: respect Accept-Language quality factors in language detection (#1380) | The Accept-Language header parsing was not correctly handling quality | [
"lib/localization"
] | [
"lib/localization/localization.go"
] | [
"lib/localization/localization_test.go"
] | test_fail | [
"TestAcceptLanguageQualityFactors",
"TestAcceptLanguageQualityFactors/en_GB_with_lower_priority_de"
] | {
"lib/localization/localization.go": "package localization\n\nimport (\n\t\"embed\"\n\t\"encoding/json\"\n\t\"net/http\"\n\t\"strings\"\n\t\"sync\"\n\n\t\"github.com/TecharoHQ/anubis\"\n\t\"github.com/nicksnyder/go-i18n/v2/i18n\"\n\t\"golang.org/x/text/language\"\n)\n\n//go:embed locales/*.json\nvar localeFS embed.F... | {
"lib/localization/localization.go": "package localization\n\nimport (\n\t\"embed\"\n\t\"encoding/json\"\n\t\"net/http\"\n\t\"strings\"\n\t\"sync\"\n\n\t\"github.com/TecharoHQ/anubis\"\n\t\"github.com/nicksnyder/go-i18n/v2/i18n\"\n\t\"golang.org/x/text/language\"\n)\n\n//go:embed locales/*.json\nvar localeFS embed.F... | {
"lib/localization/localization_test.go": "package localization\n\nimport (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http/httptest\"\n\t\"sort\"\n\t\"testing\"\n\n\t\"github.com/nicksnyder/go-i18n/v2/i18n\"\n)\n\nfunc TestLocalizationService(t *testing.T) {\n\tservice := NewLocalizationService()\n\n\tloadingStrMap :... | diff --git a/lib/localization/localization.go b/lib/localization/localization.go
index 6b8d2a6..02189bf 100644
--- a/lib/localization/localization.go
+++ b/lib/localization/localization.go
@@ -81,7 +81,28 @@ func (ls *LocalizationService) GetLocalizerFromRequest(r *http.Request) *i18n.Lo
return i18n.NewLocalizer(bun... | {
"before_chars": 3263,
"patch_lines": 34
} |
abiosoft__colima | 50c1e73fcf566403db17bae64d8505b0d15dcaef | f450fa710b76165866e45ca46a1a3718266a79a7 | net: fix missing network address when emulating a foreign arch (#1638) | vz and krunkit cannot run a foreign architecture, so newConf falls back | [
"environment/vm/lima"
] | [
"environment/vm/lima/daemon.go",
"environment/vm/lima/yaml.go"
] | [
"environment/vm/lima/daemon_test.go",
"environment/vm/lima/yaml_test.go"
] | compile_error | [] | {
"environment/vm/lima/daemon.go": "package lima\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"time\"\n\n\t\"github.com/abiosoft/colima/config\"\n\t\"github.com/abiosoft/colima/daemon\"\n\t\"github.com/abiosoft/colima/daemon/process/inotify\"\n\t\"github.com/abiosoft/colima/daemon/process/vmnet\"\n\t\"github.com/abiosof... | {
"environment/vm/lima/daemon.go": "package lima\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"time\"\n\n\t\"github.com/abiosoft/colima/config\"\n\t\"github.com/abiosoft/colima/daemon\"\n\t\"github.com/abiosoft/colima/daemon/process/inotify\"\n\t\"github.com/abiosoft/colima/daemon/process/vmnet\"\n\t\"github.com/abiosof... | {
"environment/vm/lima/daemon_test.go": "package lima\n\nimport (\n\t\"testing\"\n\n\t\"github.com/abiosoft/colima/config\"\n\t\"github.com/abiosoft/colima/environment\"\n\t\"github.com/abiosoft/colima/environment/vm/lima/limaconfig\"\n\t\"github.com/abiosoft/colima/util\"\n)\n\nfunc Test_usesVmnet(t *testing.T) {\n\... | diff --git a/environment/vm/lima/daemon.go b/environment/vm/lima/daemon.go
index 6336351..594df79 100644
--- a/environment/vm/lima/daemon.go
+++ b/environment/vm/lima/daemon.go
@@ -13,9 +13,16 @@ import (
"github.com/abiosoft/colima/util"
)
+// usesVmnet reports whether the VM networking relies on vmnet.
+// vmnet... | {
"before_chars": 17773,
"patch_lines": 79
} |
antonmedv__fx | 2c634b27d190e1f8cc35013215bcc02dc7b247ac | 91cfbb11cc746ccf9e17349ca982c35000101ae2 | Fix tests | [
"."
] | [
"main.go",
"search.go"
] | [
"main_test.go"
] | compile_error | [] | {
"main.go": "package main\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/fs\"\n\t\"os\"\n\t\"path\"\n\t\"regexp\"\n\t\"runtime/pprof\"\n\t\"strconv\"\n\n\t\"github.com/charmbracelet/bubbles/key\"\n\t\"github.com/charmbracelet/bubbles/textinput\"\n\ttea \"github.com/charmbracelet/bubbletea\"\n\t\"github.com/c... | {
"main.go": "package main\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/fs\"\n\t\"os\"\n\t\"path\"\n\t\"regexp\"\n\t\"runtime/pprof\"\n\t\"strconv\"\n\n\t\"github.com/charmbracelet/bubbles/key\"\n\t\"github.com/charmbracelet/bubbles/textinput\"\n\ttea \"github.com/charmbracelet/bubbletea\"\n\t\"github.com/c... | {
"main_test.go": "package main\n\nimport (\n\t\"bytes\"\n\t\"io\"\n\t\"os\"\n\t\"testing\"\n\t\"time\"\n\n\ttea \"github.com/charmbracelet/bubbletea\"\n\t\"github.com/charmbracelet/lipgloss\"\n\t\"github.com/charmbracelet/x/exp/teatest\"\n\t\"github.com/muesli/termenv\"\n\t\"github.com/stretchr/testify/require\"\n)\... | diff --git a/main.go b/main.go
index 1260472..f2dfd83 100644
--- a/main.go
+++ b/main.go
@@ -129,7 +129,7 @@ func main() {
fileName: fileName,
digInput: digInput,
searchInput: searchInput,
- search: NewSearch(),
+ search: newSearch(),
}
p := tea.NewProgram(m, tea.WithAltScreen(), tea.Wi... | {
"before_chars": 18152,
"patch_lines": 35
} | |
apache__casbin | d3e9928ab07b200efa0132f99fa095c084597897 | 0dd2ea76ef0c7007b3fe22ce3c6905799bac0f4f | fix: preserve policy order in Model.RemovePolicy | [
"."
] | [
"model/policy.go"
] | [
"model_test.go"
] | test_fail | [
"TestPriorityExplicitRemovePolicyKeepsOrder"
] | {"model/policy.go":"// Licensed to the Apache Software Foundation (ASF) under one\n// or more contri(...TRUNCATED) | {"model/policy.go":"// Licensed to the Apache Software Foundation (ASF) under one\n// or more contri(...TRUNCATED) | {"model_test.go":"// Licensed to the Apache Software Foundation (ASF) under one\n// or more contribu(...TRUNCATED) | "diff --git a/model/policy.go b/model/policy.go\nindex d4e4899..7669dfe 100644\n--- a/model/policy.g(...TRUNCATED) | {
"before_chars": 13672,
"patch_lines": 27
} | |
asdf-vm__asdf | ca98e44ff49cb0a38966b23b42db962203478b59 | 419e2da7d7785d42d621f1c4fa93b7793cd18168 | fix: never generate a shim named "asdf" during reshim (#2307) | Co-authored-by: Trevor Brown <admin@stratus3d.com> | [
"internal/shims"
] | [
"internal/shims/shims.go"
] | [
"internal/shims/shims_test.go"
] | compile_error | [] | {"internal/shims/shims.go":"// Package shims manages writing and parsing of asdf shim scripts.\npack(...TRUNCATED) | {"internal/shims/shims.go":"// Package shims manages writing and parsing of asdf shim scripts.\npack(...TRUNCATED) | {"internal/shims/shims_test.go":"package shims\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"os\"\n\t\"p(...TRUNCATED) | "diff --git a/internal/shims/shims.go b/internal/shims/shims.go\nindex a7b083f..4472e0b 100644\n--- (...TRUNCATED) | {
"before_chars": 13807,
"patch_lines": 41
} |
bluenviron__mediamtx | 344d8c9003f4ef7ca94066c2f3c8dbb624a9c2ce | 8402a728e6e1d819cd0c8045d231fd0191d04998 | fix external command exit code reporting on non-Windows platforms (#6155) | [
"internal/externalcmd"
] | [
"internal/externalcmd/cmd_os.go"
] | [
"internal/externalcmd/cmd_test.go"
] | test_fail | [
"TestCmdExitCode",
"TestCmdExitCode/restart",
"TestCmdExitCode/standard"
] | {"internal/externalcmd/cmd_os.go":"//go:build !windows\n\npackage externalcmd\n\nimport (\n\t\"error(...TRUNCATED) | {"internal/externalcmd/cmd_os.go":"//go:build !windows\n\npackage externalcmd\n\nimport (\n\t\"error(...TRUNCATED) | {"internal/externalcmd/cmd_test.go":"package externalcmd\n\nimport (\n\t\"os\"\n\t\"path/filepath\"\(...TRUNCATED) | "diff --git a/internal/externalcmd/cmd_os.go b/internal/externalcmd/cmd_os.go\nindex 2b9678b..bc463f(...TRUNCATED) | {
"before_chars": 1170,
"patch_lines": 13
} | |
caddyserver__caddy | a75817f5500c5210a3892a21e4e712477b2fdadc | 425a3381fdf65c826dd991c92e78eaf6ef24941e | fix: require module path boundaries when matching packages (#7957) | Signed-off-by: wangjingshuiku <wangjingshuiku@163.com> | [
"cmd"
] | [
"cmd/packagesfuncs.go"
] | [
"cmd/packagesfuncs_test.go"
] | compile_error | [] | {"cmd/packagesfuncs.go":"// Copyright 2015 Matthew Holt and The Caddy Authors\n//\n// Licensed under(...TRUNCATED) | {"cmd/packagesfuncs.go":"// Copyright 2015 Matthew Holt and The Caddy Authors\n//\n// Licensed under(...TRUNCATED) | {"cmd/packagesfuncs_test.go":"package caddycmd\n\nimport (\n\t\"bytes\"\n\t\"io\"\n\t\"net/http\"\n\(...TRUNCATED) | "diff --git a/cmd/packagesfuncs.go b/cmd/packagesfuncs.go\nindex 58d9b61..014442c 100644\n--- a/cmd/(...TRUNCATED) | {
"before_chars": 11441,
"patch_lines": 33
} |
charmbracelet__bubbletea | c76509a9d4974207cd66255707d14f4f938f7f52 | c30088fd4e8f3983ecf556983893716ac452035f | fix: compact sequences like batches (#958) | [
"."
] | [
"commands.go"
] | [
"commands_test.go"
] | test_fail | ["TestSequence","TestSequence/empty_cmd","TestSequence/mixed_nil_cmds","TestSequence/nil_cmd","TestS(...TRUNCATED) | {"commands.go":"package tea\n\nimport (\n\t\"time\"\n)\n\n// Batch performs a bunch of commands conc(...TRUNCATED) | {"commands.go":"package tea\n\nimport (\n\t\"time\"\n)\n\n// Batch performs a bunch of commands conc(...TRUNCATED) | {"commands_test.go":"package tea\n\nimport (\n\t\"fmt\"\n\t\"testing\"\n\t\"time\"\n)\n\nfunc TestEv(...TRUNCATED) | "diff --git a/commands.go b/commands.go\nindex bfa3b70..ec9dac2 100644\n--- a/commands.go\n+++ b/com(...TRUNCATED) | {
"before_chars": 5570,
"patch_lines": 60
} | |
charmbracelet__glow | 54dd62a2a43d36e10d075b2b3fe9b0f637f2e2b9 | 9a3f7a19cbc8b5f272f798041f5f2917c3ccbb27 | fix: handle running inside a snap (#527) | * fix: handle running inside a snap | [
"editor"
] | [
"config_cmd.go",
"editor/editor.go",
"ui/editor.go"
] | [
"editor/editor_test.go"
] | compile_error | [] | {"config_cmd.go":"package main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"path\"\n\t\"path/filepath\"\n\n(...TRUNCATED) | {"config_cmd.go":"package main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"path\"\n\t\"path/filepath\"\n\n(...TRUNCATED) | {"editor/editor_test.go":"package editor\n\nimport (\n\t\"reflect\"\n\t\"testing\"\n)\n\nfunc TestEd(...TRUNCATED) | "diff --git a/config_cmd.go b/config_cmd.go\nindex a4cb584..caeaac7 100644\n--- a/config_cmd.go\n+++(...TRUNCATED) | {
"before_chars": 2814,
"patch_lines": 83
} |
go_swe_bench v0 — real Go bug fixes, verified by the Go toolchain
246 tasks from 79 real Go repositories. Each task is a bug-fix commit whose co-committed test is red on the parent and green on the fix. No LLM anywhere in the build.
Mined on 2026-09-19 from the GuildLM Go mining pipeline by inverting the filter that had thrown the tests
away (the pipeline was built for SFT data; a benchmark needs the opposite). Every task was verified twice
with go test: green at the commit (≥ 1 test actually ran), red at the parent with the commit's test files
copied in. parent_status says how it was red: test_fail (191 tasks, an assertion) or compile_error
(55, the new test names a symbol the fix introduces).
Why this exists
Single-function Go benchmarks are saturated: on GuildLM's own 48-task go_dev_bench the union of 13 runs
solves 48/48 and the best single model 44/48. Nothing can be learned there any more. Agentic benchmarks are
Python-first. This is a bench with room, for Go, at $0, built from public permissively-licensed repos
(MIT / Apache-2.0 / BSD / MPL / ISC, ≥ 800 stars, ≤ 40 MB).
Files
go_swe_bench_v0.jsonl— all 246 verified tasks (32 MB).go_swe_bench_v0_eval.jsonl— the registered v0 evaluation set: the most recent task per repo whose before-content is ≤ 30,000 chars (51 tasks: 40test_fail, 11compile_error).stats.json— miner counters.
Task schema
repo, sha, parent, subject, body the commit and its message (the "issue")
packages Go packages whose tests are the verifier
src_files, before{path: src}, after{...} the non-test files the fix changed, before and after
test_files, tests{path: src} the commit's test files (hidden from the model in v0)
parent_status test_fail | compile_error
fail_to_pass test names red on the parent and green on the fix
gold_patch git diff parent..sha for the source files
size before_chars, patch_lines
Registered v0 evaluation (file-level)
Prompt = subject + body + the BEFORE content of every source file; tests hidden. The model returns each
file in full in a ```go block headed // file: <path>. Files are written over a parent worktree, the
commit's tests copied in, go test runs on the changed packages; pass@1 iff green. Harness, prereg with
predictions committed before the first model call, and every generation:
guildlm/guild-code · go/crucible
(swe_bench_eval.py, PREREG-go-swe-bench-v0-a-bench-with-room.txt, mine_swe_tasks.py).
To reproduce a score you need the repos at the recorded SHAs: datasets/mining/clone_repos.py --repos repos.swe_v0.jsonl --depth 400 in guild-code, then swe_bench_eval.py --load <generations>.
Baselines (v0 eval set, 51 tasks, file-level, temp 0, seed 0, Ollama Q4_K_M served via 32k-context variants)
| model | registered pass@1 | repaired extractor | + 12k-token cap | notes |
|---|---|---|---|---|
| qwen3-coder:30b (A3B) | 11/51 (21.6%) | 11/51 | 12/51 | compile_error tasks 0/11; passes by before-size tertile 7 · 4 · 0 (→ 1 with the cap lifted) |
| qwen2.5-coder:7b | 0/51 | 9/51 (17.6%) | 9/51 | 39/51 outputs open the fence twice (```go / // file: x / ```go); the registered regex read them as empty files |
| qwen3-coder:30b (A3B), declaration-level edit form (tools/decledit, K=2 toolchain-fed repair loop) | 15/51 (29.4%) | 16/51 (a repeated-declaration bug in the applier, fixed) | — | round 0 = 15, rounds 1–2 added 0: on 21 of the 36 failures the compiler and the existing tests had nothing to say; strict superset of the file-level passes at 40% of the output |
| qwen3-coder:30b, edit form + self-written test in the loop (K=2, --no-peek; the 30B writes the test, never sees the fix) | 17/51 | — | — | r0 16 · r1 15 · r2 17: the gate (15 tests kept: 2 useful, 13 false alarms, measured on the gold fix before the draw) gained its one useful-on-failure task and broke one right fix for one round |
| qwen2.5-coder:7b, same harness | 10/51 | — | — | r0 9 (= its file-level number) · +1 by a false-alarm nudge that landed |
| router STRICT: 30B preferred, 7B alternate, gate = the 30B's 15 tests | 17/51 | — | — | oracle (union) 20; 0 switches: on the 3 tasks only the 7B solves the writer produced no test |
| 30B writer + deterministic form retry (reject an output with no TestXxx, re-ask once) | — | — | — | form fixed 16/16 in one turn, including all 8 that had been cut off at the token cap; useful tests 2 → 2, kept 15 → 20, false alarms 13 → 18, nocompile 12 → 21 |
| router STRICT, same files, new gate (20 tests) | 17/51 | — | — | unchanged, 0 switches. On filebrowser, the one router-blind task the retry gave a gate, that test is red on the parent, the gold fix, the 30B's wrong fix and the 7B's correct fix alike |
| 30B writer + one untouched neighbouring _test.go from the same package at the parent commit (36/51 tasks have one) | — | — | — | useful tests 2 → 4 (flat across the three previous arms), toothless 10 → 6, nocompile 21 → 23, kept 20 → 21; the writer stops writing tests that pass on the buggy code and starts reaching for the real API |
| router STRICT, same files, exemplar gate (21 tests) | 18/51 | — | — | oracle 20. The campaign's first switch: on nebula the gate is red at the parent, green on the gold, failing on the 30B's fix and green on the 7B's — verified against all four file sets |
| 30B writer + compile retry (hand the toolchain's own error lines back once; truncated outputs re-asked at 8000 tokens) | — | — | — | 5/20 non-truncated rows compile, and the rate is stratified by error class: type errors 4/11, undefined-symbol errors 0/7. useful 4 → 5, kept 21 → 25, nocompile 23 → 17 |
| router STRICT, same files, compile-retry gate (25 tests) | 18/51 | — | — | unchanged. A compile error is two signals: a type error is information, a name error is the model's ignorance of the package handed back to it |
| the commit's own test through the self-test harness (no model; the instrument's ceiling) | — | — | — | old isolation (delete every _test.go in the package): useful 31, nocompile 16 — it deleted the package's test fixtures and rejected the correct answer on 16 tasks. Repaired (keep the package's tests, remove only a file that would redeclare a self-test name): useful 35, kept 38, nocompile 10 |
| 30B compile-retry writer, rescored under the repaired isolation (same tests, no model call) | — | — | — | useful 5 → 5, false alarms 20 → 19, kept 25 → 24: one row moved. The harness was wrong and the writer still does not use the fixtures it was denied |
| 30B writer, its own system prompt (until 2026-09-23 the writer's calls sent the file-level FIX prompt as the system turn; the user turn asked for a test), bare config | — | — | — | useful 2 → 4, no-test 16 → 0, nocompile 11 → 22: the contradiction cost FORM, and form buys almost nothing |
| same, full config (neighbouring test + form retry + compile retry) | — | — | — | useful 5 → 7, false alarms 20 → 18, kept 25. The writer's gap is judgement: four routes to form, none past 7 of 35. Router STRICT 18 (unchanged) |
Denominator. 9 tasks (colima, fx, asdf, caddy, gum, gitleaks, beszel, rqlite, vegeta) have a gold test that compiles only against the fix: it names a symbol the fix introduces, so no test that is red at the parent can exist for them, written by anyone. 3 more yield no test block from the gold file. The answerable maximum, measured by the gold itself, is 38 kept / 35 useful of 51. Every "useful" count in the self-test rows above is out of 35, not 48.
Union of the two file-level rows: 14/51; of the two loop rows: 20/51. Both fail the same way at the top of the size range: no file above ~16k chars
passed either model at the registered cap. The gold patch of a passing task is ~48 chars (median); of a
failing one ~157. Every number carries its extractor: "registered" is the harness at commit 69238f1,
"repaired" collapses the fence stutter (commit 736c8f2), and the two are reported side by side because
the repair moved one model by 0 and the other by 9. Full logs:
go/crucible/RESULT-go-swe-bench-v0-the-room-is-real-and-the-file-is-the-wall.txt. The algorithm arm
(declaration-level edits + a toolchain-fed repair loop) is pre-registered in the same directory.
Caveats, stated up front
- v0 is file-level: the model is told which files change. That is easier than the agentic setting (find the files yourself) and harder than function-level. The agentic setting is the next registered draw.
- Commit messages are the "issue". Some are terse. That is the task as it really occurred.
- Contamination: these repos are public and recent models have likely seen the fixes. Scores are still informative relative to each other and against the file-level ceiling; the archive names the model cutoff next to every number.
Part of GuildLM — small, sharp, open specialists, and an honest log of what they can and cannot do. Built on an M1 Max. Total spend: $0.
- Downloads last month
- 4,077