GoPrism-5K — a deterministic, standard-library-only Go (Golang)
instruction-tuning set. 5,275 JSONL records across four views
(instruction→code, code+doc, bug→fix, concept Q&A), built from
1,260 knowledge units: 24 ops × 10 types × 5 styles, plus curated
stdlib recipes, concept Q&A and code reviews.
Synthesized by Yuanbao (Tencent AI assistant); attribution tag: Hy4.
Generator go-corpus-synth/1.0, seed 20261119. Go 1.21+/1.23+ tagged,
~2% validation split, no third-party modules.
QC: 0 exact duplicates, 0 unresolved placeholders, 0 unbalanced
fences, 0 structural bracket failures, 0 missing/unused imports
across all 1,260 generated Go files. Static checks only — no Go
compiler was available, so run gofmt/go vet over extracted blocks
before training.
Go pun: no `panic`, just `defer`red gratification — every goroutine
made it into the commit and nothing got lost in a `range` over
5,275 lines. (Go is all you need... plus a prism.)
Files: GoPrism-5K.jsonl, qc_report.json, README.md