messages listlengths 3 16 | tools listlengths 0 6 | source stringclasses 7
values | category stringclasses 9
values | complexity stringclasses 6
values | tags listlengths 0 4 | quality_score int64 7 9 | trajectory_length int64 0 6 | tools_used listlengths 0 6 | repo stringclasses 6
values | file_path stringlengths 0 129 ⌀ | symbol_name stringlengths 0 76 ⌀ | symbol_kind stringclasses 8
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// RoundTripExternalTypesWithoutProtobuf applies the round-trip test to all external round... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go | RoundTripExternalTypesWithoutProtobuf | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc verifyAssignedInOneDomain(testCtx *testutils.TestContext, ns string, verify *VerifyAs... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | test/integration/scheduler/podgroup/stepsframework/stepsframework.go | verifyAssignedInOneDomain | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Review this Go code in detail and name the concrete concurrency or design pattern involved:\n```go\npackage review\n\ntype Cache str... | [] | v5_local_generated | code_review | hard | [
"review",
"specific-patterns"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nconst\n\n// TODO: complete this declaration\n```"
},
{
"role": "assistant",
"c... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | pkg/controller/controller_utils.go | SuccessfulDeletePodReason | const |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Inspect the cache implementation for locking bugs. Repository case #658. Use the available tools; do not guess."
},
{
"role"... | [
{
"type": "function",
"function": {
"name": "list_files",
"description": "List files below a repository directory.",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"pattern": {
"type": "s... | v5_local_generated | tool_calling | hard | [
"tools",
"go",
"trajectory"
] | 9 | 3 | [
"list_files",
"read_file",
"go_test"
] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Write thorough Go tests for this function:\n\n```go\nfunc TestMakemountsSubpathCleanupAccumulation(t *testing.T) {\n\tlogger, _ := k... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | pkg/kubelet/kubelet_pods_test.go | TestMakemountsSubpathCleanupAccumulation | func |
[
{
"role": "system",
"content": "You are a senior Go developer working in an existing repository. Inspect before editing, preserve local conventions, and verify changes with focused tools."
},
{
"role": "user",
"content": "Check whether `billing` is ready to merge: inspect its source and current ... | [
{
"type": "function",
"function": {
"name": "read_file",
"description": "Read file contents",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
]
}
... | synthetic | tool_trajectory | medium | [
"tool-calling",
"multi-tool-parallel"
] | 8 | 2 | [
"read_file",
"go_test"
] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Explain the Go 1.26 Swiss table maps feature and give a valid example."
},
{
"role": "assistant",
"content": "Go 1.26's ... | [] | v5_local_generated | go_1_26 | medium | [
"go1.26",
"swiss-table-maps"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc describeContainerProbe(container corev1.Container, w PrefixWriter) {\n\t// TODO: comp... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | staging/src/k8s.io/kubectl/pkg/describe/describe.go | describeContainerProbe | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// rolloutRolling implements the logic for rolling a new replica set.\nfunc (dc *Deploymen... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | pkg/controller/deployment/rolling.go | rolloutRolling | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc checkLldbPython(t *testing.T) {\n\t// TODO: complete this implementation\n}\n```"
}... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/runtime/runtime-lldb_test.go | checkLldbPython | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\ntype\n\n// TODO: complete this declaration\n```"
},
{
"role": "assistant",
"co... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | staging/src/k8s.io/code-generator/cmd/validation-gen/validators/validators.go | ListSelectorTerm | struct |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// getRawEtcdEndpointsFromPodAnnotationWithoutRetry returns the list of etcd endpoints as ... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | cmd/kubeadm/app/util/etcd/etcd.go | getRawEtcdEndpointsFromPodAnnotationWithoutRetry | func |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "An incident exposed weaknesses ... | [] | synthetic | senior_staff | complex | [
"api-design",
"error-models"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nconst\n\n// TODO: complete this declaration\n```"
},
{
"role": "assistant",
"c... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/cmd/internal/dwarf/dwarf_defs.go | DW_OP_hi_user | const |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// GetAttrs returns the labels and fields of an API server for filtering purposes.\nfunc G... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | staging/src/k8s.io/kube-aggregator/pkg/registry/apiservice/strategy.go | GetAttrs | func |
[
{
"role": "system",
"content": "You are a senior Go developer working in an existing repository. Inspect before editing, preserve local conventions, and verify changes with focused tools."
},
{
"role": "user",
"content": "Add table-driven tests for normalization in `internal/catalog/catalog.go`.... | [
{
"type": "function",
"function": {
"name": "read_file",
"description": "Read file contents",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
]
}
... | synthetic | tool_trajectory | medium | [
"tool-calling",
"test-generation"
] | 9 | 4 | [
"read_file",
"write_file",
"go_fmt",
"go_test"
] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise Go 1.26 guidance, compilable examples, and production trade-offs."
},
{
"role": "user",
"content": "Write staff-level review guidance for simd/archsimd."
},
{
"role": "assistant",
"content": "Start w... | [] | synthetic | go126 | medium | [
"go1.26",
"archsimd",
"best-practice",
"experimental"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "How would you design consensus ... | [] | synthetic | senior_staff | complex | [
"distributed-systems",
"consensus"
] | 9 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc (cc *ClientConn) TestPeerMaxHeaderTableSize() uint32 {\n\t// TODO: complete this impl... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/net/http/internal/http2/export_test.go | TestPeerMaxHeaderTableSize | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Write thorough Go tests for this function:\n\n```go\nfunc test9reflect1() {\n\tf := reflect.ValueOf(&T1{}).Method(0).Interface().(fu... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | test/recover.go | test9reflect1 | func |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "An incident exposed weaknesses ... | [] | synthetic | senior_staff | complex | [
"caching",
"warming-precomputation"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Provide a concise Go 1.26 example about hash/maphash and explain it."
},
{
"role": "assistant",
"content": "hash/maphash... | [] | v5_local_generated | go_1_26 | medium | [
"go1.26",
"hash/maphash"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "Compare the viable approaches t... | [] | synthetic | senior_staff | complex | [
"concurrency",
"pipelines"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "How should a Go developer use synctest in Go 1.26? Include caveats."
},
{
"role": "assistant",
"content": "Go 1.26 provi... | [] | v5_local_generated | go_1_26 | medium | [
"go1.26",
"synctest"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Review this Go code for correctness and maintainability:\n\n```go\nfunc startProfile() {\n\tif *cpuprofile != \"\" {\n\t\tf, err := ... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/cmd/link/internal/ld/main.go | startProfile | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\ntype\n\n// TODO: complete this declaration\n```"
},
{
"role": "assistant",
"co... | [] | grpc-go | repo_task | medium | [] | 7 | 0 | [] | grpc-go | internal/xds/clients/xdsclient/helpers_test.go | listenerUpdate | struct |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Check the repository package API and vet it. Repository case #892. Use the available tools; do not guess."
},
{
"role": "ass... | [
{
"type": "function",
"function": {
"name": "analyze_package",
"description": "Report package imports, exported API, and dependency information.",
"parameters": {
"type": "object",
"properties": {
"package": {
"type": "string"
},
"i... | v5_local_generated | tool_calling | hard | [
"tools",
"go",
"trajectory"
] | 9 | 2 | [
"analyze_package",
"go_vet"
] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc (b *protobuf) stringOpt(tag int, x string) {\n\t// TODO: complete this implementation... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/runtime/pprof/protobuf.go | stringOpt | method |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "Compare the viable approaches t... | [] | synthetic | senior_staff | complex | [
"caching",
"cache-invalidation"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "Write a concise design-review r... | [] | synthetic | senior_staff | complex | [
"concurrency",
"mutex-rwmutex"
] | 9 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc (d dexAPI) ListMFADevices(ctx context.Context, req *api.ListMFADevicesReq) (*api.List... | [] | dex | repo_task | medium | [] | 7 | 0 | [] | dex | server/apiserver/mfa.go | ListMFADevices | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc main() {\n\t// TODO: complete this implementation\n}\n```"
},
{
"role": "assi... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | cmd/genfeaturegates/genfeaturegates.go | main | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\ntype resourceTest struct {\n\tpodsNr int\n// TODO: complete this declaration\n```"
},... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | test/e2e_node/resource_usage_test.go | resourceTest | struct |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// FuncArg returns a Go type with the same memory layout as\n// dtype when used as the typ... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/cmd/cgo/gcc.go | FuncArg | method |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "How would you design ttl evicti... | [] | synthetic | senior_staff | complex | [
"caching",
"ttl-eviction"
] | 9 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// Set implements github.com/spf13/pflag.Value\nfunc (m *LangleSeparatedMapStringString) S... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | staging/src/k8s.io/component-base/cli/flag/langle_separated_map_string_string.go | Set | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Find error wrapping and run its tests. Repository case #1792. Use the available tools; do not guess."
},
{
"role": "assistan... | [
{
"type": "function",
"function": {
"name": "search_code",
"description": "Search Go source code using a regular expression.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"file_pattern": {
... | v5_local_generated | tool_calling | hard | [
"tools",
"go",
"trajectory"
] | 9 | 2 | [
"search_code",
"go_test"
] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc TestSortedFeatures(t *testing.T) {\n\t// TODO: complete this implementation\n}\n```"
... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | hack/tools/golangci-lint/sorted/pkg/sorted_test.go | TestSortedFeatures | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Run only the timeout test. Repository case #2229. Use the available tools; do not guess."
},
{
"role": "assistant",
"con... | [
{
"type": "function",
"function": {
"name": "go_test",
"description": "Run Go tests for a package.",
"parameters": {
"type": "object",
"properties": {
"package": {
"type": "string"
},
"run": {
"type": "string"
... | v5_local_generated | tool_calling | medium | [
"tools",
"go",
"trajectory"
] | 9 | 1 | [
"go_test"
] | null | null | null | null |
[
{
"role": "system",
"content": "You advise a production Go platform team. Explain compatibility, observability, security, and rollout implications."
},
{
"role": "user",
"content": "How does goroutine leak profiler fit into a broader Go 1.26 modernization?"
},
{
"role": "assistant",
... | [] | synthetic | go126 | medium | [
"go1.26",
"goroutine-leak-profile",
"integration",
"experimental"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Explain the Go 1.26 debug/buildinfo feature and give a valid example."
},
{
"role": "assistant",
"content": "debug/build... | [] | v5_local_generated | go_1_26 | medium | [
"go1.26",
"debug/buildinfo"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Explain what this Go func does:\n\n```go\n// TestFieldValidation tests the create, update, and patch handlers for correctness when f... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go | TestFieldValidation | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Find error wrapping and run its tests. Repository case #2136. Use the available tools; do not guess."
},
{
"role": "assistan... | [
{
"type": "function",
"function": {
"name": "search_code",
"description": "Search Go source code using a regular expression.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"file_pattern": {
... | v5_local_generated | tool_calling | hard | [
"tools",
"go",
"trajectory"
] | 9 | 2 | [
"search_code",
"go_test"
] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\ntype buffer struct {\n\tfield int\n// TODO: complete this declaration\n```"
},
{
"... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/internal/profile/proto.go | buffer | struct |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Review this Go code in detail and name the concrete concurrency or design pattern involved:\n```go\npackage review\n\ntype Cache str... | [] | v5_local_generated | code_review | hard | [
"review",
"specific-patterns"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc (h *clientMetricsHandler) streamInterceptor(ctx context.Context, desc *grpc.StreamDes... | [] | grpc-go | repo_task | medium | [] | 7 | 0 | [] | grpc-go | stats/opentelemetry/client_metrics.go | streamInterceptor | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc (w *writer) switchStmt(stmt *syntax.SwitchStmt) {\n\t// TODO: complete this implement... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/cmd/compile/internal/noder/writer.go | switchStmt | method |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "We are reviewing webhooks in a ... | [] | synthetic | senior_staff | complex | [
"api-design",
"webhooks"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// procMountInUse returns true if the pod spec is non-nil and has a SecurityContext's Proc... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | pkg/api/pod/util.go | procMountInUse | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc TestUpdateNodeStatusAndVolumesInUseWithNodeLease(t *testing.T) {\n\t// TODO: complete... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | pkg/kubelet/kubelet_node_status_test.go | TestUpdateNodeStatusAndVolumesInUseWithNodeLease | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Demonstrate idiomatic Go API design using functional options."
},
{
"role": "assistant",
"content": "```go\npackage desi... | [] | v5_local_generated | api_design | hard | [
"api-design",
"functional-options"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc TestDaemonSetsHaveSystemNodeCriticalPriorityClassName(t *testing.T) {\n\t// TODO: com... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | cmd/kubeadm/app/phases/addons/proxy/proxy_test.go | TestDaemonSetsHaveSystemNodeCriticalPriorityClassName | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc Test_isAffinityViolatingNUMAAllocations(t *testing.T) {\n\t// TODO: complete this imp... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | pkg/kubelet/cm/memorymanager/policy_static_test.go | Test_isAffinityViolatingNUMAAllocations | func |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "How would you design structured... | [] | synthetic | senior_staff | complex | [
"observability",
"structured-logging-slog"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Provide a concise Go 1.26 example about Swiss table maps and explain it."
},
{
"role": "assistant",
"content": "Go 1.26'... | [] | v5_local_generated | go_1_26 | medium | [
"go1.26",
"swiss-table-maps"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Explain what this Go func does:\n\n```go\nfunc ExampleServer_hTTP2() {\n\tts := httptest.NewUnstartedServer(http.HandlerFunc(func(w ... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/net/http/httptest/example_test.go | ExampleServer_hTTP2 | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Write thorough Go tests for this function:\n\n```go\n// NewDaemonSetsController creates a new DaemonSetsController\nfunc NewDaemonSe... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | pkg/controller/daemon/daemon_controller.go | NewDaemonSetsController | func |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "Compare the viable approaches t... | [] | synthetic | senior_staff | complex | [
"distributed-systems",
"event-sourcing"
] | 9 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "Compare the viable approaches t... | [] | synthetic | senior_staff | complex | [
"security",
"supply-chain"
] | 9 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "How would you design fuzz testi... | [] | synthetic | senior_staff | complex | [
"testing",
"fuzz-testing"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Review this Go code for correctness and maintainability:\n\n```go\n// SetRequestInfo sets the RequestInfo that should be present in ... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go | SetRequestInfo | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Explain the Go 1.26 hash/maphash feature and give a valid example."
},
{
"role": "assistant",
"content": "hash/maphash s... | [] | v5_local_generated | go_1_26 | medium | [
"go1.26",
"hash/maphash"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "Compare the viable approaches t... | [] | synthetic | senior_staff | complex | [
"testing",
"table-driven-tests"
] | 9 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Format-check all Go files. Repository case #646. Use the available tools; do not guess."
},
{
"role": "assistant",
"cont... | [
{
"type": "function",
"function": {
"name": "run_command",
"description": "Run an allow-listed development command in the repository.",
"parameters": {
"type": "object",
"properties": {
"command": {
"type": "string"
},
"timeout_seco... | v5_local_generated | tool_calling | medium | [
"tools",
"go",
"trajectory"
] | 9 | 1 | [
"run_command"
] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc coreDNSAddon(cfg *kubeadmapi.ClusterConfiguration, client clientset.Interface, replic... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | cmd/kubeadm/app/phases/addons/dns/dns.go | coreDNSAddon | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc TestExtar(t *testing.T) {\n\t// TODO: complete this implementation\n}\n```"
},
{
... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/cmd/cgo/internal/testcarchive/carchive_test.go | TestExtar | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Review this Go code for correctness and maintainability:\n\n```go\nfunc TestHandleApprovalGetAuthRequestErrorGET(t *testing.T) {\n\t... | [] | dex | repo_task | medium | [] | 7 | 0 | [] | dex | server/server_approval_test.go | TestHandleApprovalGetAuthRequestErrorGET | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc (m *mockVolumeOwnershipChanger) ChangePermissions() error {\n\t// TODO: complete this... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | pkg/volume/csi/csi_mounter_test.go | ChangePermissions | method |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "Show a production-oriented Go a... | [] | synthetic | senior_staff | complex | [
"api-design",
"webhooks"
] | 8 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Explain what this Go func does:\n\n```go\n// encodeCI encodes a compressed immediate (CI-type) instruction.\nfunc encodeCI(ins *inst... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/cmd/internal/obj/riscv/obj.go | encodeCI | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// inlCallee takes a function-typed expression and returns the underlying function ONAME\n... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/cmd/compile/internal/inline/inl.go | inlCallee | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Explain what this Go struct does:\n\n```go\ntype\n\n// UpgradeNodeConfiguration contains a list of configurable options which are sp... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go | UpgradeNodeConfiguration | struct |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Demonstrate idiomatic Go API design using small consumer-owned interface."
},
{
"role": "assistant",
"content": "```go\n... | [] | v5_local_generated | api_design | hard | [
"api-design",
"small-consumer-owned-interface"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Review this Go code for correctness and maintainability:\n\n```go\n// decodeGrpcMessage decodes the msg encoded by encodeGrpcMessage... | [] | grpc-go | repo_task | medium | [] | 7 | 0 | [] | grpc-go | internal/transport/http_util.go | decodeGrpcMessage | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc testTransportGetGotConnHooks(t *testing.T, useClient bool) {\n\t// TODO: complete thi... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/net/http/internal/http2/transport_test.go | testTransportGetGotConnHooks | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// NewTestFieldManagerSubresource returns a new TestFieldManager built\n// for the given g... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | staging/src/k8s.io/apimachinery/pkg/util/managedfields/managedfieldstest/testfieldmanager.go | NewTestFieldManagerSubresource | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Build the service and diagnose any compile failure. Repository case #651. Use the available tools; do not guess."
},
{
"role... | [
{
"type": "function",
"function": {
"name": "go_build",
"description": "Compile Go packages without installing them.",
"parameters": {
"type": "object",
"properties": {
"package": {
"type": "string"
},
"tags": {
"type": ... | v5_local_generated | tool_calling | hard | [
"tools",
"go",
"trajectory"
] | 9 | 3 | [
"go_build",
"search_code",
"read_file"
] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nvar\n\n// TODO: complete this declaration\n```"
},
{
"role": "assistant",
"con... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/internal/poll/errno_unix.go | errENOENT | var |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "Write a concise design-review r... | [] | synthetic | senior_staff | complex | [
"api-design",
"idempotency"
] | 9 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\nfunc testWriteDeadlineExtendedOnNewRequest(t *testing.T, mode testMode) {\n\t// TODO: comp... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/net/http/serve_test.go | testWriteDeadlineExtendedOnNewRequest | func |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Review this Go code for correctness and maintainability:\n\n```go\nfunc copyFile(src, dst string) (err error) {\n\tin, err := os.Ope... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | cluster/gce/gci/configure_helper_test.go | copyFile | func |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "How would you design memory esc... | [] | synthetic | senior_staff | complex | [
"performance",
"memory-escape-analysis"
] | 9 | 0 | [] | synthetic | |||
[
{
"role": "system",
"content": "Act as a pragmatic Go coding agent. Never invent tool output; diagnose failures from evidence and keep changes small and testable."
},
{
"role": "user",
"content": "Fix the failing `identity` package."
},
{
"role": "assistant",
"content": "I'll build t... | [
{
"type": "function",
"function": {
"name": "go_build",
"description": "Build a Go package",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
]
}
... | synthetic | tool_trajectory | high | [
"tool-calling",
"error-recovery"
] | 8 | 6 | [
"go_build",
"read_file",
"write_file",
"go_fmt",
"go_test"
] | synthetic | |||
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// closeAnotherScope is like closeScope, but it reuses the same mark\n// position as the l... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/cmd/compile/internal/noder/reader.go | closeAnotherScope | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// generate literalEncoding and offsetEncoding based on respective histograms.\nfunc (w *h... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/compress/flate/huffman_bit_writer.go | generate | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// convertibleTo reports whether T(x) is valid. In the failure case, *cause\n// may be set... | [] | go | repo_task | medium | [] | 7 | 0 | [] | go | src/cmd/compile/internal/types2/conversions.go | convertibleTo | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Show idiomatic Go error handling for errors.As (case 446)."
},
{
"role": "assistant",
"content": "```go\npackage errorsa... | [] | v5_local_generated | error_handling | medium | [
"errors",
"errors.As"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "Complete the following Go code:\n\n```go\n// Complete fills in any fields not set that are required to have valid data. It's mutatin... | [] | kubernetes | repo_task | medium | [] | 7 | 0 | [] | kubernetes | pkg/controlplane/instance.go | Complete | method |
[
{
"role": "system",
"content": "You are an expert Go software engineer. Give precise, idiomatic, and technically correct answers."
},
{
"role": "user",
"content": "How should a Go developer use synctest in Go 1.26? Include caveats."
},
{
"role": "assistant",
"content": "Go 1.26 provi... | [] | v5_local_generated | go_1_26 | medium | [
"go1.26",
"synctest"
] | 9 | 0 | [] | null | null | null | null |
[
{
"role": "system",
"content": "You are a senior staff Go software engineer. Give production-oriented advice, make assumptions explicit, explain trade-offs and failure modes, and prefer simple, observable designs over clever ones."
},
{
"role": "user",
"content": "Write a concise design-review r... | [] | synthetic | senior_staff | complex | [
"concurrency",
"channel-patterns"
] | 8 | 0 | [] | synthetic |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- -