Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
17
93
source
stringclasses
4 values
doc
stringlengths
3
72
kind
stringclasses
3 values
question
stringlengths
29
147
gold_rank
int64
1
4
⌀
gold_retrieved
bool
2 classes
teacher
stringclasses
1 value
answer
stringlengths
24
558
refusal
bool
2 classes
messages
listlengths
3
3
go-blog/llmpowered/2947/0
go-blog
llmpowered
answerable
Which existing Go variant is the Genkit version of the LLM app similar to?
4
false
claude-opus-5-5
It is fairly similar to the LangChainGo one.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/llmpowered/2947/1
go-blog
llmpowered
answerable
Why does using common interfaces in Genkit for Go make switching providers easier?
3
true
claude-opus-5-5
Genkit uses common interfaces for LLMs, embedders and vector DBs instead of direct provider APIs, so different providers can implement them as plugins, making it easier to switch from one to another.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/llmpowered/2947/2
go-blog
llmpowered
answerable
Does the Genkit variant in the Go LLM tutorial implement production deployment?
3
true
claude-opus-5-5
No, deploying an LLM-powered application to production is much easier with Genkit, but "we don't implement this in our variant."
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.6/1901/0
go-blog
go1.6
answerable
How much faster is sort.Sort in Go 1.6?
2
true
claude-opus-5-5
In Go 1.6, the algorithm inside sort.Sort was improved to run about 10% faster.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.6/1901/1
go-blog
go1.6
answerable
Why might Go 1.6's sort.Sort change break existing programs, and how can they fix it?
2
false
claude-opus-5-5
The change may break programs that expect a specific ordering of equal but distinguishable elements. Such programs should refine their Less methods to indicate the desired ordering or use sort.Stable to preserve the input order for equal values.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.6/1901/2
go-blog
go1.6
answerable
Did compiler build times change in Go 1.6 compared with Go 1.5?
1
false
claude-opus-5-5
No, in Go 1.6 build times should be similar to those of Go 1.5.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.21rc/1814/0
go-blog
go1.21rc
removed
Which new built-in functions does Go 1.21 add to the language?
null
null
claude-opus-5-5
The blog does not seem to cover this.
true
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.21rc/1814/1
go-blog
go1.21rc
answerable
How can I try the loop variable capture fix in Go 1.21 before it's the default?
4
false
claude-opus-5-5
If you compile your code with GOEXPERIMENT=loopvar set in your environment, then the new semantics are applied to all loops (ignoring the go.mod go lines). For example, you can run `GOEXPERIMENT=loopvar go test` to check whether your tests still pass with the new loop semantics.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.21rc/1814/2
go-blog
go1.21rc
answerable
What type inference improvements for generics come with Go 1.21, and was the spec updated?
1
true
claude-opus-5-5
Go 1.21 brings several improvements to type inference for generic functions. The description of type inference in the spec has been expanded and clarified.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.21rc/1814/near
go-blog
go1.21rc
near-miss
What performance improvements does the Go 1.21 compiler include for profile-guided optimization?
null
null
claude-opus-5-5
In Go 1.21, workloads typically get between 2% and 7% CPU usage improvements from enabling PGO.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/toolchain/5531/0
go-blog
toolchain
answerable
What happens when Go 1.17 tries to build a module whose go.mod says go 1.18?
4
false
claude-opus-5-5
Go 1.17 still tries to compile the code, producing misleading compiler errors like "missing function body" and "syntax error: unexpected , expecting (" along with "note: module requires Go 1.18".
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/toolchain/5531/1
go-blog
toolchain
answerable
Why doesn't writing go 1.18 in go.mod stop older Go versions from compiling generics code?
1
true
claude-opus-5-5
Before Go 1.21, toolchains treated the go line in go.mod as a guideline rather than a rule. The main reason older versions of Go were allowed to try to compile newer code was to avoid unnecessary build failures.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/toolchain/5531/2
go-blog
toolchain
answerable
What note does the Go 1.17 compiler print after the misleading syntax errors?
1
false
claude-opus-5-5
After the misleading syntax errors, it prints "note: module requires Go 1.18".
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/archsimd/381/0
go-blog
archsimd
answerable
Which Go package do I import to use architecture-specific SIMD?
4
false
claude-opus-5-5
The architecture-specific SIMD API is imported from simd/archsimd.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/archsimd/381/1
go-blog
archsimd
answerable
How does Go's archsimd show a vector's element type and shape in code?
1
true
claude-opus-5-5
archsimd uses distinct struct types, such as Float32x4, Int32x8, or Uint8x16, to signal the shape and element type of each vector, and defines operations as methods on those types.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/archsimd/381/2
go-blog
archsimd
answerable
Does archsimd currently support scalable vector extensions like SVE or RVV?
1
true
claude-opus-5-5
No, at this moment archsimd supports only fixed-width vector extensions. Scalable vector extensions like arm64 SVE and RVV will have different struct types to represent vectors.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/subtests/4310/0
go-blog
subtests
answerable
How does Go name a subtest or sub-benchmark in test output?
2
false
claude-opus-5-5
The full name of a subtest or sub-benchmark is a slash-separated list of its name and the names of all of its parents, starting with the top-level. The name is the corresponding function name for top-level tests and benchmarks, and the first argument to Run otherwise.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/subtests/4310/1
go-blog
subtests
answerable
Why does Go sanitize test names, and what changes does it make to them?
2
false
claude-opus-5-5
Go sanitizes test names to avoid display and parsing issues. It does this by replacing spaces with underscores and escaping non-printable characters.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/subtests/4310/2
go-blog
subtests
answerable
Do the -run and -bench flag patterns get the same name sanitizing, such as spaces becoming underscores?
2
true
claude-opus-5-5
Yes, the same sanitizing is applied to the regular expressions passed to the -run or -bench flags. A name is sanitized by replacing spaces with underscores and escaping non-printable characters.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/contributors-summit/898/0
go-blog
contributors-summit
answerable
Where did Go team members and contributors meet the day before GopherCon for the first Contributors Summit?
2
true
claude-opus-5-5
Go team members and contributors gathered in Denver to discuss and plan for the future of the Go project.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/contributors-summit/898/1
go-blog
contributors-summit
answerable
How was the Go Contributors Summit divided between its morning and afternoon sessions?
1
true
claude-opus-5-5
The event comprised a morning session revolving around focused discussions on a theme, and an afternoon session made up of round table discussions in small break-out groups.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/contributors-summit/898/2
go-blog
contributors-summit
answerable
Why was the first Go Contributors Summit considered a major milestone for the Go project?
4
true
claude-opus-5-5
It was the first ever event of its kind, a major milestone for the Go project.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/protobuf-apiv2/3662/0
go-blog
protobuf-apiv2
answerable
Why can't the protoreflect package in Go protobuf return the concrete options type?
2
true
claude-opus-5-5
Since the generated descriptorpb package depends on protoreflect, the protoreflect package can't return the concrete options type without causing an import cycle.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/protobuf-apiv2/3662/1
go-blog
protobuf-apiv2
removed
When checking an extension boolean in the Go protobuf API, are we inspecting the field descriptor or the field value?
null
null
claude-opus-5-5
The blog does not seem to cover this.
true
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/protobuf-apiv2/3662/2
go-blog
protobuf-apiv2
removed
What did the original proto.GetExtension function return in the Go protobuf API before it was simplified?
null
null
claude-opus-5-5
The blog does not seem to cover this.
true
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/hello-world/2469/0
go-blog
hello-world
removed
Which operating systems did the Go programming language newly support by March 2010?
null
null
claude-opus-5-5
The blog does not seem to cover this.
true
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/hello-world/2469/1
go-blog
hello-world
answerable
Why does the Go team consider community contributions its greatest success so far?
2
false
claude-opus-5-5
The blog says the community's contributions "range from bug fixes and documentation corrections to core packages and support for additional operating systems." It states, "We regard these community contributions our greatest success so far."
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/hello-world/2469/2
go-blog
hello-world
removed
Which publication ran an article summarizing the enthusiasm around the Go project?
null
null
claude-opus-5-5
The blog does not seem to cover this.
true
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/race-detector/3777/0
go-blog
race-detector
answerable
What error does the Go race detector's Timer.Reset example produce when it fails?
4
false
claude-opus-5-5
The Timer.Reset example fails with "panic: runtime error: invalid memory address or nil pointer dereference."
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/race-detector/3777/1
go-blog
race-detector
answerable
Which source file and line in the Go time package's sleep.go does the Timer.Reset panic point to?
4
false
claude-opus-5-5
The Timer.Reset panic points to src/pkg/time/sleep.go:81.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/race-detector/3777/2
go-blog
race-detector
answerable
Which function created the goroutine that panicked in the Timer.Reset race detector example?
1
false
claude-opus-5-5
The goroutine that panicked was created by time.goFunc (src/pkg/time/sleep.go:122).
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.3/1875/0
go-blog
go1.3
answerable
Which kind of Go 1.3 code might need updating because of the release changes?
1
true
claude-opus-5-5
Code that uses package unsafe might need updating.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.3/1875/1
go-blog
go1.3
answerable
What should developers with unsafe code do before upgrading to Go 1.3?
2
true
claude-opus-5-5
If you have unsafe code you should read the release notes carefully to see if your code needs updating.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.3/1875/2
go-blog
go1.3
answerable
Where can I get the Go 1.3 download after reading the announcement?
3
false
claude-opus-5-5
Head on over to the downloads page and start hacking.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/deconstructing-type-parameters/1066/0
go-blog
deconstructing-type-parameters
answerable
What does it mean to deconstruct a type in Go generic function signatures?
1
true
claude-opus-5-5
Deconstructing a type means defining one type parameter S using another type parameter E in generic function signatures, so that you can name, and constrain, all aspects of the type. For example, maps.Clone uses a type parameter for the type of the parameter m and then deconstructs it using two other type parameters K ...
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/deconstructing-type-parameters/1066/1
go-blog
deconstructing-type-parameters
answerable
Why does maps.Clone constrain its key type parameter K to be comparable?
2
true
claude-opus-5-5
In maps.Clone, K is constrained to be comparable "as is required for a map key type."
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/deconstructing-type-parameters/1066/2
go-blog
deconstructing-type-parameters
answerable
How many extra type parameters does maps.Clone use to deconstruct the map parameter's type?
1
true
claude-opus-5-5
maps.Clone deconstructs the type using two other type parameters, K and V.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/deconstructing-type-parameters/1066/near
go-blog
deconstructing-type-parameters
near-miss
What is the full Go signature for slices.Clone, including its constraint on the element type?
null
null
claude-opus-5-5
The constraint of S has to be a slice, with an element type called E. The type argument for E can be any type, which means it also has to be a type parameter itself.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/modules2019/3131/0
go-blog
modules2019
answerable
What does a Go module mirror do when it receives a request for a module?
3
false
claude-opus-5-5
A module mirror answers requests for modules by fetching them from origin servers and then caching them for use in future requests.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/modules2019/3131/1
go-blog
modules2019
answerable
Why is a Go module mirror useful when origin servers are unavailable?
1
true
claude-opus-5-5
A module mirror caches metadata and source code in its own storage system, allowing the mirror to continue to serve source code that is no longer available from the original locations.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/modules2019/3131/2
go-blog
modules2019
answerable
Besides the Go team's planned service, which projects are planning mirror services for Go modules?
1
true
claude-opus-5-5
GoCenter and Athens are planning mirror services too.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/modules2019/3131/near
go-blog
modules2019
near-miss
How do I configure the go command to use a particular module mirror?
null
null
claude-opus-5-5
You can use this service by setting GOPROXY=https://proxy.golang.org in your local environment.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/get-familiar-with-workspaces/1567/0
go-blog
get-familiar-with-workspaces
answerable
How do Go workspaces let me manage dependencies across multiple local modules?
3
false
claude-opus-5-5
With Go workspaces, you control all your dependencies using a go.work file in the root of your workspace directory.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/get-familiar-with-workspaces/1567/1
go-blog
get-familiar-with-workspaces
answerable
Why did developers have to remove the replace directive from go.mod before publishing, prior to workspaces?
2
true
claude-opus-5-5
Developers had to remove the replace directive from the dependent module's go.mod file after publishing the local changes to the first module, "in order to publish without errors."
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/get-familiar-with-workspaces/1567/2
go-blog
get-familiar-with-workspaces
answerable
Where in a Go workspace is the go.work file located?
1
false
claude-opus-5-5
The go.work file is in the root of your workspace directory.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/get-familiar-with-workspaces/1567/near
go-blog
get-familiar-with-workspaces
near-miss
What command creates a new go.work file in a Go workspace?
null
null
claude-opus-5-5
You create a workspace by running go work init with a list of module directories as space-separated arguments, and the init command creates a go.work file that lists modules in the workspace.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/type-inference/5740/0
go-blog
type-inference
answerable
In Go type inference, what happens when unifying two map types whose value types differ?
1
true
claude-opus-5-5
The struct type doesn't match bool; we have different types and unification (and thus type inference) fails.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/type-inference/5740/1
go-blog
type-inference
answerable
Why does Go type unification still infer the type argument for A when X and Y have different structures?
4
true
claude-opus-5-5
Both X and Y are map types, so unification proceeds recursively, starting with the key types, and still successfully infers the type argument for A. But the value types of the maps are different and unification fails.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/type-inference/5740/2
go-blog
type-inference
answerable
In Go's unification of two map types, which part of the types is compared first?
1
true
claude-opus-5-5
Unification proceeds recursively, starting with the key types.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/survey2022-q2-results/4641/0
go-blog
survey2022-q2-results
answerable
What did Go developers name as their top challenge after generics were released?
1
false
claude-opus-5-5
After the release of generics, respondents' top challenge when working with Go shifted to error handling.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/survey2022-q2-results/4641/1
go-blog
survey2022-q2-results
answerable
Why might the Go team need to communicate ecosystem changes in ways other than blog articles?
1
true
claude-opus-5-5
The blog does not seem to cover this.
true
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/survey2022-q2-results/4641/2
go-blog
survey2022-q2-results
answerable
Did the 2022 Q2 Go survey find any significant changes in how respondents use Go?
1
false
claude-opus-5-5
No, the survey found no significant changes in how respondents said they were using Go.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.22/1823/0
go-blog
go1.22
answerable
What does the new Null[T] type in Go 1.22's database/sql package do?
3
true
claude-opus-5-5
It provides a way to scan nullable columns.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.22/1823/1
go-blog
go1.22
answerable
How does the Go 1.22 router handle a pattern like GET /task/{id}/?
2
false
claude-opus-5-5
The router accepts a pattern like GET /task/{id}/, which matches only GET requests and captures the value of the {id} segment in a map that can be accessed through Request values.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.22/1823/2
go-blog
go1.22
answerable
Which new function in Go 1.22's slices package joins several slices together?
1
false
claude-opus-5-5
A Concat function was added in package slices, to concatenate multiple slices of any type.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/go1.22/1823/near
go-blog
go1.22
near-miss
Which new functions did Go 1.22 add to the math/rand/v2 package?
null
null
claude-opus-5-5
math/rand/v2 adds N, a top-level function, so a random duration of up to 5 seconds is `d := rand.N(5 * time.Second)`.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/survey2016/4373/0
go-blog
survey2016
answerable
What is the deadline for submitting the 2016 Go Company Questionnaire?
1
true
claude-opus-5-5
The 2016 Go Company Questionnaire should be taken by December 22nd.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/survey2016/4373/1
go-blog
survey2016
answerable
Why does the Go project want companies to complete its questionnaire?
2
true
claude-opus-5-5
The Go project would like to better understand the companies using Go, including how they are utilizing Go and in what ways the project can improve their experience.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/survey2016/4373/2
go-blog
survey2016
answerable
Will Go project leaders possibly contact companies after they submit the 2016 questionnaire?
2
true
claude-opus-5-5
Yes: "If you participate we may reach out for further information."
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/survey2016/4373/near
go-blog
survey2016
near-miss
What were the results of the 2016 Go Company Questionnaire?
null
null
claude-opus-5-5
The blog does not seem to cover this.
true
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/pprof/3593/0
go-blog
pprof
answerable
Which package must a standalone Go program import to enable CPU profiling?
3
false
claude-opus-5-5
A standalone Go program has to import runtime/pprof and add a few lines of code.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
go-blog/pprof/3593/1
go-blog
pprof
answerable
Why does a Go program need to call StopCPUProfile before exiting?
1
true
claude-opus-5-5
A Go program needs a final call to StopCPUProfile to flush any pending writes to the file before the program exits.
false
[ { "role": "system", "content": "You answer questions about a personal technical blog. Use only the numbered passages provided. Answer in at most 2 sentences. If the passages do not answer the question, say that the blog does not seem to cover it." }, { "role": "user", "content": "Passages:\n\n[1...
End of preview. Expand in Data Studio

Short RAG answers for small language models

Questions about technical writing, each with the top 4 passages a small embedding model retrieved for it, and a short answer written from those passages only, or a refusal when the passages don't answer the question. It was made to fine-tune a 0.6B-parameter model for an in-browser "ask my blog" page on bart.degoe.de, where the model must answer in at most two sentences from retrieved passages, and say so when they don't cover the question.

Code, results and the full write-up of what each version did to the model: github.com/bartdegoede/small-rag-finetune.

Made with Claude

This dataset is synthetic. The questions were written by Claude Sonnet 5.5 and the answers by Claude Opus 5.5 (Anthropic), through the Message Batches API. Answers were filtered automatically (over two sentences, or mentioning "passages", was dropped) and read through by hand, but none were edited.

Configurations

config examples (train / validation / test) refusals answers
v3 (default) 4,530 / 255 / 260 16% one short sentence with the fact asked for, in the passage's own words
broad 1,199 / 77 / 76 11% overview and "how do I" questions about a whole document, answered in one or two sentences
v1 4,529 / 256 / 259 13% up to two dense sentences combining several facts

v3 and v1 share the questions and passages; only the answers differ.

What they did to Qwen3-0.6B (LoRA, one epoch, judged by Claude Opus 5.5 on the blog's 45 questions: 30 the blog answers, 15 it doesn't):

faithful (of 30) wrong answers invented (of 15)
base model 17 9 2
v1 8 18 0
v3 16 3 0
v3 + broad 13 7 0

v3 is the one that worked: as often right as the base model, with a third of its wrong answers. A 0.6B model imitates the density of v1's answers without reading the passages as carefully, and the broad answers, which summarise several passages, made it garble overview questions. Both are kept for comparison.

Fields

Each row:

  • messages: system, user (numbered passages and the question) and assistant turns, ready for chat fine-tuning (e.g. mlx_lm.lora, TRL's SFTTrainer).
  • answer, refusal: the assistant turn, and whether it is the refusal "The blog does not seem to cover this."
  • id, source, doc: where the question came from (doc is the document's slug in its source).
  • kind: answerable (the passage the question was written from is among the 4), removed (that document was taken out of retrieval, so the expected answer is usually a refusal), near-miss (a related question the passages probably don't answer), and in broad, broad / broad-removed.
  • question; gold_rank and gold_retrieved (v1, v3) or doc_retrieved (broad): whether retrieval found the source passage or document by itself. If it didn't, the source passage was put in at a random position.
  • teacher: the model that wrote the answer.

The teacher decided whether to answer, so a near-miss or removed question that a neighbouring passage does answer has a real answer.

How it was made

  1. Corpus. 2,193 documents from four openly licensed sources (below), split 90/5/5 into train/validation/test by document, so no document is in two splits.
  2. Retrieval. Documents are chunked (600 characters, 120 overlap) and embedded with minishlab/potion-base-8M at 128 dimensions; each question gets the top 4 chunks. The passages are as noisy as they are in production.
  3. Questions by Claude Sonnet 5.5 from one chunk (v1/v3), or from a document's title, headings and opening (broad).
  4. Answers by Claude Opus 5.5 under the system prompt in messages, with extra style guidance per version.

Sources and attribution

The passages and questions are derived from these sources, each pinned to a commit. Text from the documents is quoted in the passages, and the answers reuse its wording.

source repository (commit) licence
go-blog golang/website, _content/blog CC-BY-4.0, © The Go Authors
rust-blog rust-lang/blog.rust-lang.org, content MIT OR Apache-2.0, the Rust project
rust-rfcs rust-lang/rfcs, text MIT OR Apache-2.0, the Rust project
peps python/peps, peps public domain / CC0-1.0

Changes: documents were converted to plain markdown, split into chunks and quoted as passages; nothing else was edited. The Rust passages remain available under MIT OR Apache-2.0; both licence texts are in licenses/. The dataset as a whole (the selection, questions and answers) is released under CC-BY-4.0.

Limitations

  • English technical writing about Go, Rust and Python only. The system prompt says "blog" for every source.
  • Synthetic and not corrected by hand: some answers will be wrong or refuse when they shouldn't.
  • The refusal is one fixed sentence; a model trained on this will use exactly that wording.

Citation

@misc{degoede2026smallrag,
  author = {Bart de Goede},
  title = {Short RAG answers for small language models},
  year = {2026},
  howpublished = {\url{https://huggingface.co/datasets/bartdegoede/small-rag-answers}}
}
Downloads last month
32

Models trained or fine-tuned on bartdegoede/small-rag-answers