原始 JSON 报告 机器可读
{
"data": {
"repo": {
"topics": [
"audio",
"audio-codec",
"audio-processing",
"bit-exact",
"celt",
"cgo-free",
"codec",
"decoder",
"dsp",
"encoder",
"fixed-point",
"go",
"golang",
"libopus",
"ogg-opus",
"opus",
"opus-codec",
"pure-go",
"rfc6716",
"silk"
],
"is_fork": false,
"size_kb": 1277,
"has_wiki": true,
"homepage": "https://pkg.go.dev/github.com/tphakala/go-opus",
"languages": {
"C": 278184,
"Go": 2346173,
"C++": 17337,
"Shell": 28158,
"Python": 5999,
"Assembly": 6541
},
"pushed_at": "2026-07-21T13:25:28Z",
"created_at": "2026-07-16T07:49:50Z",
"owner_type": "User",
"updated_at": "2026-07-23T14:06:30Z",
"description": "Pure-Go Opus codec (RFC 6716), zero cgo. A bit-exact port of libopus, differential-tested against the C reference: the decoder passes all 12 RFC conformance vectors, and the CELT encoder produces byte-identical packets.",
"is_archived": false,
"is_disabled": false,
"license_spdx": null,
"default_branch": "main",
"license_spdx_raw": "NOASSERTION",
"primary_language": "Go",
"significant_languages": [
"Go",
"C"
]
},
"owner": {
"blog": null,
"name": "Tomi P. Hakala",
"type": "User",
"login": "tphakala",
"company": null,
"location": "Muurame, Finland",
"followers": 78,
"avatar_url": "https://avatars.githubusercontent.com/u/7030001?v=4",
"created_at": "2014-03-22T09:31:18Z",
"is_verified": null,
"public_repos": 64,
"account_age_days": 4509
},
"license": {
"state": "custom",
"spdx_id": null,
"raw_spdx": "NOASSERTION",
"file_present": true,
"scorecard_found": true,
"profile_has_license": true
},
"activity": {
"releases": [
{
"tag": "v0.1.2",
"kind": "patch",
"published_at": "2026-07-21T13:25:29Z"
},
{
"tag": "v0.1.1",
"kind": "patch",
"published_at": "2026-07-19T19:04:58Z"
}
],
"recent_commits": [
{
"oid": "0c2d483d88ed9fb844ea253bf7ab5f9010390af5",
"body": "Updates opus.Version and the Ogg Opus vendor string asserted by\noggopus/header_test.go.",
"is_bot": false,
"headline": "chore: bump version to 0.1.2 for release",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-21T13:13:24Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "62a9c787967d4a34da699460161f771fa220d9a3",
"body": "The spreading-decision histogram got its hand-written NEON and SSE2\nkernel in #41, so the README's performance section should no longer\nlist it among the kernels still awaiting vectorization.",
"is_bot": false,
"headline": "docs: mark the spreading decision done in the remaining-work list",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-21T13:13:21Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "88369214eddf14dc7260913b08483b66b53133b7",
"body": "* docs: move misplaced doc comment for orderyTable\n\n* fix: return unrelated spreadingDecision comment back to its place",
"is_bot": false,
"headline": "docs: move misplaced doc comment for orderyTable (#42)",
"author_name": "Max",
"author_login": "vomar3",
"committed_at": "2026-07-21T13:12:42Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "990c2987d67c7b3ae2e7e79764e29e83f02d68b7",
"body": "Vectorize the spreading-decision magnitude histogram (spreadingDecision,\nthe worst Go/C ratio in the codec). The per-position CDF loop is factored\ninto spreadingHist, dispatched to a hand-written NEON kernel on arm64, an\nSSE2 kernel on amd64, and the pure-Go reference elsewhere.\n\nBenchmarkSpreadingD\n[…]\nCKSSDW/SQXTN saturate. Go 1.26's arm64\nassembler lacks the integer NEON mnemonics, so the vector body is\nWORD-encoded from clang.\n\nVerified on darwin/arm64, linux/amd64, and a Cortex-A76.\n\nCloses #33.",
"is_bot": false,
"headline": "perf(celt): SIMD spreading-decision histogram (NEON + SSE2) (#41)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-20T12:22:40Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "c807f88288e66e66c253574920dfa308a47a43ca",
"body": null,
"is_bot": false,
"headline": "chore: bump version to 0.1.1 for release",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-19T19:03:55Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "da0a7fd7e70c8f7578057ea2b0d686b4e7e1797f",
"body": "…aining-work list",
"is_bot": false,
"headline": "docs: mark the FFT butterflies and twiddle precompute done in the rem…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-19T18:59:49Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "14f7e06796f9dcb658ac7a7058f063d8b31c5af5",
"body": "…sync.Map (#39)\n\nPR #36 introduced a process-global sync.Map to memoize the strided-to-contiguous\ntwiddle gather the cint radix-3/5 butterflies consume. Every FFT call paid an atomic\nLoad plus a map hash per butterfly stage on the top decode hot path.\n\nPrecompute the packed twiddle runs once at pack\n[…]\nc contract.\n\nBenchmarks (Apple M4 Pro, 8x benchstat vs the sync.Map baseline): FFTImpl240 -6.2%,\nFFTImpl480 -1.2%, FFTImpl120/60 within noise, 0 alloc; short-frame decode (2.5 ms) -2.35%.\n\nCloses #37.",
"is_bot": false,
"headline": "perf(celt): precompute FFT twiddles at init, drop the process-global …",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-19T18:52:15Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "8ba3dc86ad14130358cb70879fd63dc91e68b39e",
"body": "… bounds-check elimination (#36)\n\nThree performance changes to the CELT hot path, each proven byte-identical to libopus by the differential gate.\n\n- Pitch kernels (celt_inner_prod, xcorr_kernel) now call github.com/tphakala/simd/i16; the in-tree per-arch NEON/SSE2 assembly is deleted.\n- Radix-3/5 FF\n[…]\nn bands.go, celt_decoder.go, celt_encoder.go (decode -1 to -2%).\n\nAdds the first runtime dependency github.com/tphakala/simd (cgo-free) plus indirect golang.org/x/sys. Closes #14; advances #31 and #6.",
"is_bot": false,
"headline": "perf(celt): SIMD pitch and FFT kernels via tphakala/simd, plus scalar…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-19T17:06:41Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "230feb2552fa7f16989ddac1a4a9120f6db1dd3b",
"body": "…g (#35)\n\nThe Ogg OpusHead and MP4 dOps box carry a pre-skip defined at 48 kHz\nregardless of the coding rate. Callers had to re-derive it as\nLookahead()*48000/SampleRate; PreSkip() returns that value directly (312\nat every accepted rate), matching aac.EncoderDelay and the decode-side\noggopus.Info.PreSkip.\n\nCloses #34",
"is_bot": false,
"headline": "feat(opus): add Encoder.PreSkip() 48 kHz accessor for container muxin…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-19T10:21:41Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "81087fc64a87d4142133f1a07b26aeaa3136282e",
"body": "… (#16) (#28)\n\nThe port stores celt_norm at Q<normShift> (int32), one representation wider\nthan the C's opus_val16 celt_norm, so expRotation1 bracketed every rotation\npass with a norm_scaledown into the Q14 rotation domain and a norm_scaleup\nback. exp_rotation runs that pass twice per block whenever\n[…]\nefc oracle suite.\nA microbenchmark of the two-call path (N=176, B=1, both directions) shows\nabout 6% off exp_rotation, and it does strictly less work in every case and\nthe same work when stride2 == 0.",
"is_bot": false,
"headline": "celt: hoist exp_rotation's norm scale passes out of the per-pass loop…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T19:21:34Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "9817912dc201f07f8561c7940afccd7e0f6df31b",
"body": "* celt: pool the decoder PLC scratch buffers (#17)\n\nThe steady-state decode path is allocation-free through st.sc (issue #5), but\nthe packet-loss concealment regime still called make() on every concealed\nframe: celtDecodeLost, celtPlcPitchSearch, and foldPrefilter each allocated\ntheir working buffer\n[…]\n\n\nBoth guards were validated by sabotage: dropping the last excBuf fill\nindex fails the isolation check at the first lost frame, and shortening\nceltFir's output by one fails the golden on both builds.",
"is_bot": false,
"headline": "celt: pool the decoder PLC scratch buffers (#17) (#27)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T18:45:10Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "d8247006391d6258c0e6ac9768cfb293ed7996d2",
"body": "… it (#26)\n\nThe differential sweep in internal/celt/pitch_simd_test.go walks every length\nfrom 0 to 600 against 12 adversarial patterns for both vector kernels. That\nbreadth is the point: the hand-written scalar tail epilogue is where the vector\nassembly is most likely wrong, and it is only checked \n[…]\nshort affects only this sweep; no other\ntest in the test job gates on testing.Short() (the other -short gates live in\ninternal/reftest/oracle behind the refc build tag, which this job does not\nbuild).",
"is_bot": false,
"headline": "test/ci: gate the exhaustive SIMD sweep behind -short and parallelize…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T18:12:10Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "29dfc9609ea5011250b10519207edd9053cac169",
"body": "…eping (#25)\n\nThe amd64 Test job ran the whole suite three ways in series on the slowest\nrunner class: a -race pass, a poison-tag pass, and a -coverpkg=./... coverage\npass that alone exceeded 20 minutes. A PR then sat ~35 minutes on that one job\nwhile everything that proves correctness (both differe\n[…]\nt (~9 min), the differential\ncorrectness check a PR should wait on. The exhaustive SIMD sweep sharding and the\nlibopus cgo build cache that #20 also lists are left as follow-ups.\n\nRelates to #20, #15.",
"is_bot": false,
"headline": "ci: parallelize the workflow so a PR waits on the reftest, not bookke…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T17:12:26Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "b4cb47cc9b8b5e323c2ccb652e8231df06233930",
"body": "go-flac and go-aac both expose their streaming PCM codec under <module>/pcm with a\nmatching shape (NewEncoder, EncodeInterleaved, NewDecoder, Decoder.Info); go-opus\nexposed the equivalent only under oggopus, so a consumer wrapping all three behind\none interface had to special-case the import path.\n\n\n[…]\newDecoder guards a nil reader, and Encoder.reset guards a nil writer AFTER\nvalidating the config, so NewEncoder and EncodeInterleaved both report a bad config\nbefore the nil-writer error.\n\nCloses #22.",
"is_bot": false,
"headline": "pcm: add a facade package matching go-flac/pcm and go-aac/pcm (#24)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T16:49:50Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "5ad6905f07bebe04144ed600e81162ac9d2415d8",
"body": "Decoder always produces 48 kHz PCM, but Info exposed only InputSampleRate, the\ninformational OpusHead source rate (possibly 0 when unspecified). A consumer\nlabeling decoded PCM naturally reaches for InputSampleRate and mislabels the\noutput (for example as 8000 Hz); any WAV or FLAC header written fro\n[…]\nis surfaced; a configurable decode output rate\n(8/12/16/24/48 kHz) is left for a separate issue. The change is purely additive:\nno existing signature, error value, or output byte changes.\n\nCloses #21.",
"is_bot": false,
"headline": "oggopus: surface the fixed 48 kHz decode output rate (#23)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T16:31:40Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "041013920da4798084c1d3263e55056ae36a6fd1",
"body": null,
"is_bot": false,
"headline": "docs: replace the README's remaining em dashes with plain punctuation",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T09:03:48Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "faa573988fcfc7fbc3179ecfbb5358e2ff892386",
"body": "…BCE pass\n\nFresh paired C-vs-Go run (refc harness, count 5 medians, M4 Pro) after\nPRs #18 and #19: decode is now 1.36x-1.52x C at zero allocations per\nframe on every configuration, encode 1.65x-2.03x. The decode paragraph\nbecomes a table, and the what-closed-it list gains the decode pooling\nand the four-kernel bounds-check elimination.",
"is_bot": false,
"headline": "docs: refresh the performance numbers for the pooled decoder and the …",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T09:03:21Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "819b3868c2cb0a9e89ac769b0b78fecf1964e451",
"body": "celt: make the four hottest scalar kernels bounds-check-free",
"is_bot": false,
"headline": "Merge pull request #19 from tphakala/bce-hot-kernels",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T08:51:32Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "214f32c9b4b5e16101869c478190d1a4820539b4",
"body": "celt: pool the decoder's per-frame scratch, down to zero allocations",
"is_bot": false,
"headline": "Merge pull request #18 from tphakala/pool-decoder-scratch",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T08:50:57Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "be30a712042a0df8b2ea117ae04fe996a8673ddb",
"body": "The BCE re-slices can widen a slice whose len is under N (up to cap),\nwhich would turn a misuse that previously panicked mid-loop into silent\nwrites past the caller's window. Every real caller passes len == N\n(verified across the repo); the guard preserves fail-fast for future\nones. Review feedback from Copilot on PR #19.",
"is_bot": false,
"headline": "celt: refuse an N beyond the operand length in opPvqSearch",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T08:50:22Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "3d50c05d450da0d3267d04cafe3d9755deddcf8d",
"body": "The decoder-held frame table aliases the caller's data buffer; without\nthis an idle decoder pins the last packet's backing buffer until the\nnext parse. Review feedback from Copilot on PR #18, completing the\nretention class the gate's tail-clear fix started.",
"is_bot": false,
"headline": "opusdec: drop packet frame references once the decode consumes them",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T08:49:46Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "9221dc310ff2f182055aadd34c9e3034a5be1bf6",
"body": "golangci-lint's ruleguard flags the classic loop the fillPacket\nextraction carried over; the packet parser is not transliterated C, so\nthe modernize rule applies here.",
"is_bot": false,
"headline": "packet: satisfy the range-over-int lint rule in fillPacket",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T08:36:54Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "9854354840b664af1633717d592fc42064506e46",
"body": "Warming the encode benchmark's corpus settles the VBR reservoir into a\ndifferent trajectory and moves ns/op by about 8 percent, silently\nredefining the published encode numbers (verified by running this\nbranch's encoder under main's benchmark: 175-179 us/op, matching main's\n180 us baseline, vs 196 u\n[…]\ne warm-up\npass; its 0 B/op now holds at any -benchtime, which is the claim this\nbranch makes. Encode keeps its historical definition and documents the\nsmall-benchtime residual instead.\n\nProgresses #5.",
"is_bot": false,
"headline": "opus: scope the benchmark warm-up pass to decode",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T08:20:20Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "906723cc79e876301654da7506b66812c53f6179",
"body": "The re-review of the gate's own fixes found TestDecoderScratchCarryover\ncould not catch the regression it advertises: the dirty stream used\n480-sample frames, so alloc reallocated (freshly zeroed) every\nN-proportional buffer on the first 960-sample real frame, erasing the\ncarried values at the only \n[…]\narness exercises\nthe hostile fill on every push, a count fix in scratch.go's shared-field\nsentence, and a precise statement of the encode benchmark's small-N\nresidual in the bench doc.\n\nProgresses #5.",
"is_bot": false,
"headline": "opus, celt, ci: harden the carryover test the fix-wave review flagged",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T08:11:58Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "d5581a699288aec2bab5b95fb0b077f7828a43f0",
"body": "Review fixes from the eight-lens gate pass over the decoder pooling:\n\n- packet: ParseInto clears the frame-table tail so entries beyond the\n current packet's count stop aliasing an earlier packet's data buffer\n (bounded retention found by the Gemini cross-review).\n- celt: the scratch zeroing-contr\n[…]\ne reset-region comment notes the pkt/pktFrames exception.\n- taskfile, ci: a test:poison target, wired into CI, so the zeroing\n contract is exercised on every push instead of manually.\n\nProgresses #5.",
"is_bot": false,
"headline": "celt, packet, opus: apply the pre-push gate's review fixes",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T07:53:19Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "cfffbcc359610d911693b2c0554eff6a5fad19bc",
"body": "The BCE re-slices x[:length] and y[:length] panic on a negative length\nwhere the original loop (and the C for loop) was a silent no-op. No\ncaller can produce one today, but the sibling kernels restructured in\nthe same commit (expRotation1, haar1) kept their degenerate domains\nintact with explicit guards, so this one does too.\n\nFound by the pre-push review gate; progresses #6.",
"is_bot": false,
"headline": "celt: guard celtInnerProdNormShift against a non-positive length",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T07:30:09Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "cf336f9f17cfc1d4e734ef752637be30edb3b2f1",
"body": "The comment block still claimed the 0-alloc baseline was unmet and quoted\npre-pooling numbers (151/501/93 allocs/op). Rewrite it to record the\ncurrent state: the encode path was pooled by PR #29 and the decode path by\nthis branch, both now 0 allocs/op, and what the zeroing contract and the\npoison audit mean for keeping that bit-exact.",
"is_bot": false,
"headline": "opus: refresh the bench doc for the pooled encode and decode paths",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T07:24:36Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "cfa2778e18f053f98bfc8688262c0f93ace9b43a",
"body": "opus_decode_native parsed each packet with packet.Parse, whose\nmake([][]byte, count) was ~4% of the decode allocation profile. Add\nParseInto, which decodes into caller-owned storage: a *Packet and a\n[MaxFrames][]byte the caller keeps live. It aliases the input just as\nParse does, allocating nothing.\n[…]\nrsive FEC/PLC calls there\nalways pass data==nil and return before the parse, so they never clobber\nthe held packet while it is live. The repacketizer keeps using Parse\n(the allocating form) unchanged.",
"is_bot": false,
"headline": "packet: zero-allocation ParseInto for the steady-state decode path",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T07:24:30Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "404383de86d1061e02ffd5641cb73c9273b66617",
"body": "The CELT decode path mapped every C VARDECL/ALLOC to a make() on the heap:\n93 objects and 38 KB per stereo 20 ms frame. Hold them on the Decoder\ninstead, mirroring the encoder pooling from PR #29, so a steady-state\nDecode allocates nothing.\n\nPooled sites (all funnelled through the shared scratch typ\n[…]\nay\nbit-exact with poison on, so no site reads before it writes. Production\nalloc (scratch_alloc.go, !poison) is byte-identical to before.\n\nBenchmarkDecode now reports 0 allocs/op on all eight configs.",
"is_bot": false,
"headline": "celt: pool the decoder's per-frame scratch, down to zero allocations",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T07:24:18Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "bf101b8bcf3d964f27e71011e7528eff32cc8b0e",
"body": "expRotation1, opPvqSearch, celtInnerProdNormShift, and haar1 carried\none bounds check per element access in their hot loops even though\nevery access is already provably in range for the (length, stride, N)\ndomain each function is called with. Reshape the indexing so the Go\ncompiler's bounds-check-el\n[…]\nf one-time\nchecks per comb, down from four per element. The two halves of a comb\nnever depend on any other comb, so grouping by comb instead of by i\ndoes not change any computed value.\n\nProgresses #6.",
"is_bot": false,
"headline": "celt: make the four hottest scalar kernels bounds-check-free",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-18T07:13:17Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "2561ef4c5f572f4d8fed9a88c2f16a374ecb33b6",
"body": "Encode is now 1.6x-2.1x the time of the equivalent C, down from 1.8x-3.0x, and\nthe encoder allocates nothing per frame, down from 501 objects and 145 KB on a\nstereo 20 ms one. Against opusenc on a whole file it is 1.4x, down from 1.9x.\n\nMeasured back-to-back against the pre-optimization commit on a \n[…]\nthe remaining work is the rest\nof the missing vectorization -- the fused Opus-specific kernels the profile ranks\nnext -- not allocation and not bounds checks, both of which are now measured and\nsmall.",
"is_bot": false,
"headline": "docs: refresh the performance numbers",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T12:15:04Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "d651f9481284f78ecd5e2ee26774e20cdde47f5a",
"body": "Review of #29 caught this. The zeroing contract in scratch.go's file comment is\nthe load-bearing document for why pooling is bit-exact, so it being accurate is\nthe entire point of it. It named surround_dynalloc and importance but omitted\noffsets, which dynalloc_analysis also clears explicitly (transliterating C's own\nOPUS_CLEAR at celt_encoder.c:1066).\n\nA safety invariant that is documented approximately is one that decays.",
"is_bot": false,
"headline": "celt: name all three explicitly-cleared scratch sites, not two",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T12:13:42Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "9142779b614360faac4210783f78f21e26e18701",
"body": "…claimed\n\nReview caught this, and it was right.\n\nThe \"one nonzero at end\" pattern placed its single non-zero sample at index\nsimdMaxLen-1, i.e. 599. But the tests sweep every length from 0 to 600, so for\nevery n < 600 the pattern silently degraded to all-zero and duplicated coverage\nthe \"all zero\" p\n[…]\ne assembly was, as it happens, correct -- the tests still pass. But it was\npassing a test that was not looking, which is not the same as being tested.\n\nAlso drop the hand-rolled itoa for strconv.Itoa.",
"is_bot": false,
"headline": "celt: fix the SIMD test pattern that was covering 1/600th of what it …",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T12:12:55Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "0af40379e8c96d8dd69067dffeeb71f7874a57c2",
"body": "celt: NEON + SSE2 kernels for celt_inner_prod and xcorr_kernel (fixes #20)",
"is_bot": false,
"headline": "Merge pull request #31 from tphakala/simd-inner-prod",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T12:09:23Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "a115d6fc5b7766343e31a4f86b10412dbd08a3f1",
"body": "The profile said 72% of the Go-vs-C gap is missing vectorization: clang -O2\nauto-vectorizes libopus's fixed-point kernels into NEON, and the Go compiler\ndoes not auto-vectorize at all. celt_inner_prod was 13.6x slower than the C,\ncelt_pitch_xcorr 13.1x. This closes most of that on the two worst kern\n[…]\nes. The absolute\nsaving is the same either way.\n\nNot one packet byte moved: 222 differential tests pass, and the Go and C\nencoders still produce byte-identical packets across all eight configurations.",
"is_bot": false,
"headline": "celt: NEON and SSE2 kernels for celt_inner_prod and xcorr_kernel",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T11:44:44Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "f8a58d5ca9279eff6367581a88d3186b429a28d1",
"body": "celt: pool the encoder per-frame scratch, down to zero allocations (fixes #21)",
"is_bot": false,
"headline": "Merge pull request #29 from tphakala/pool-encoder-scratch",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T11:44:33Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "84f0eb0be3b891bdfc50a923c8eaacbd11a6ac1a",
"body": "Every C stack VARDECL/ALLOC was transliterated as a Go make(), on purpose: it\nkeeps the port diffable against libopus, which is what makes it verifiable. The\ncost was 501 heap allocations and 145 KB per stereo 20 ms frame, where C\nallocates nothing at all -- its scratch is stack, reclaimed on frame \n[…]\nas never coming from make() in the first place.\n\nNot one packet byte moved: 222 differential tests pass, and the Go and C\nencoders still produce byte-identical packets across all eight configurations.",
"is_bot": false,
"headline": "celt: pool the encoder's per-frame scratch, down to zero allocations",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T10:34:30Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "4baa577f7943b7bc88f38d732874efc174347079",
"body": "celt: transliterate the xcorr_kernel branch C actually compiles (fixes #19)",
"is_bot": false,
"headline": "Merge pull request #27 from tphakala/fix-xcorr-blocking",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T08:51:43Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "f2a9d415b747180548af2c9d014b06a6b53d0119",
"body": "celt_pitch_xcorr_c (celt/pitch.c:230) has two implementations. One is behind\n`#if 0`, commented \"a simple version of the pitch correlation that should work\nwell on DSPs like Blackfin and TI C5x/C6x\". The other, the live `#else`, is\ncommented \"Unrolled version -- runs faster on x86 and ARM\" and calls\n[…]\needs SIMD, which the blocked shape is now\nthe right shape for.\n\nNot one packet byte moved: 222 differential tests pass, and the byte-identity\nassertion holds across all eight benchmark configurations.",
"is_bot": false,
"headline": "celt: transliterate the xcorr_kernel branch C actually compiles",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T08:17:01Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "c2ef477fbfc6bd83f5054c17c5e87f05898d59c0",
"body": "… story\n\nThe Performance section claimed the oracle was compiled with \"no SIMD\" and that\nthe comparison therefore pitted Go against \"the same scalar kernels\". Both\nstatements are false, and the second one framed the entire result wrong.\n\nOPUS_ARM_NEON is off, so libopus's hand-written NEON in celt/a\n[…]\ng, because 145 KB of garbage per stereo frame is\nreal pressure on a long-running host process in a way a benchmark loop\nunderstates, but it is not the main event and should not be planned as if it is.",
"is_bot": false,
"headline": "docs: the C we benchmark against is not scalar, and that is the whole…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T07:05:13Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "1920f3f95542fce2362e58a711fc4a82367fb377",
"body": "bench: establish the performance baseline against libopus",
"is_bot": false,
"headline": "Merge pull request #17 from tphakala/bench-baseline",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T06:44:23Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "9ef151e600612175bb5282b80b2ab655e05a00d0",
"body": "The Go-vs-C number holds the build constant to isolate the language, which is\nthe right way to answer \"what does Go cost us\" and the wrong way to answer the\nquestion a user actually has: what happens if I swap opusenc for go-opus. That\nneeded an encoder CLI, which the repo did not have (goopusdec on\n[…]\nlocations is on the order of 10 us against a 105 us gap, so\ncodegen and bounds checks are the likelier bulk. Profiling decides that, and it\nhas not run yet, so the README no longer pretends otherwise.",
"is_bot": false,
"headline": "bench: measure go-opus against libopus as it actually ships",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T06:38:51Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "421e8e41b78e300e1cb66ea394a049720309eaa1",
"body": "…umber\n\nThe repo had benchmarks but nothing to compare them to: every number was\nself-referential, so \"is the port 2x slower than libopus, or 20x?\" had no\nanswer. It does now. Encode is 1.8x-3.0x slower than the identical C (median\n2.25x), decode 1.5x-1.7x. That is a tuning problem, not a rewrite.\n\n\n[…]\ns nothing per frame and we allocate 501\non a stereo 20 ms one, because every C stack VARDECL became a Go make(). Pooling\nthose is likely a large share of the 2x, which makes it the first thing to try.",
"is_bot": false,
"headline": "bench: measure the Go port against the identical C, and publish the n…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-14T06:27:22Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "8ab6e42ffe9f8a79b4433e16fb64c1cba6ba2a6b",
"body": "The status section still described the public API as landing and the gate\nas pending. Both are done: opus.Encoder and the Ogg Opus writer are\npublic, and the gate ran 10.3 million frame pairs over a 52-clip corpus\nwith every packet byte identical to the C reference.\n\nState the scope honestly rather \n[…]\n\nthe decoder handles all three modes. Someone reading \"Encoder: complete\"\nshould not have to discover that from the source.\n\nAlso correct the Packages section, which still promised an Encoder\n\"later\".",
"is_bot": false,
"headline": "docs: the encoder is complete and the phase 4 gate is met",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T23:25:13Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "51d54e295f9a762a95ec9164aaa180aef52185c5",
"body": "phase 4: public opus.Encoder, Ogg Opus writer, and the phase-4 gate (CP10)",
"is_bot": false,
"headline": "Merge pull request #16 from tphakala/encoder-public-api",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T23:21:29Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "c571c325c0af79c49531bd02ed14a3bb2612a596",
"body": "No job in this workflow pushes anything, so leaving the credential in\n.git/config for the life of the job is a needless exposure, and zizmor\nflags the pattern. Raised by CodeRabbit against the new gate-long job;\napplied to all six checkouts, since the same reasoning covers every one of\nthem.\n\nThe li\n[…]\n credential, so\nsubmodules: recursive still resolves. The reftest job proves that on every\npull request; gate-long, which is nightly and skipped on PRs, would\notherwise have had no CI evidence at all.",
"is_bot": false,
"headline": "ci: do not persist the GITHUB_TOKEN in any checkout",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T23:10:38Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "b52ed86fcaf74d9df668c035eca539cbd81f6116",
"body": null,
"is_bot": false,
"headline": "Merge main",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T22:47:53Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "8ddecf869bf83188b87bd6e2c129223d089cf0a3",
"body": "…B of the gate\n\nNone of these could be caught by the packet-level differential gate. Two\nare consumer-visible values that never reach a packet byte, one is a\ncontainer shape no packet test looks at, and the fourth is the gate\ngrading itself on a tier it never ran. This is the same blind spot that\nsh\n[…]\ne-controlled: reverting the int32 clamp fails the\nbitrate test, removing the ClearFinalRange calls fails the range test, and\nrestoring the header-only stream fails the empty-input test against ffmpeg.",
"is_bot": false,
"headline": "fix the three divergences the adversarial review found, and run tier …",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T22:47:47Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "35ac822663fad3dcb2f581003cdd43242d506a45",
"body": "… CI vectors\n\nA bit-exact packet gate cannot see anything that is not in a packet. That blind\nspot already shipped one real bug here (encoder lookahead 192 instead of 312,\nwhich would have misaligned every Ogg stream by 120 samples). Every remaining\nconsumer-visible value that never reaches a packet\n[…]\nC conformance 12/12 vectors PASS\n Mutation-checked: LastPacketDuration +1, the 120 ms bound, and the BadArg/\n InvalidPacket mapping are each caught by the new tests.",
"is_bot": false,
"headline": "phase 4 (CP10-D): the invisible-to-the-packet-gate audit, benchmarks,…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T22:04:40Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "de8127e6539a93bb5132d31559dbe078115e498e",
"body": "… granule\n\nWires both halves of the codec seam (codec.go) and fixes the two container bugs\nthe seam made reachable. A bit-exact PACKET gate cannot see any of this: none of\nthese quantities is a packet byte, so every one of them gets its own assertion.\n\nTHE SEAM. newFrameEncoder/newFrameDecoder now b\n[…]\n retired for errUninitialized, which guards the zero value.\nreset() clears the codec and container first, so a pooled Encoder whose Reset was\nrejected cannot append to the stream it was last used for.",
"is_bot": false,
"headline": "phase 4 (CP10-C): wire the oggopus codec seam, fix the RFC 7845 final…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T21:13:00Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "98adf913052f1eba0ec98f35d0c095d55aef3659",
"body": "The two prerequisite build patches for CP10, landed together because the\noggopus codec seam in the next commit cannot compile without opus.NewEncoder.\n\nopus/encoder.go: the public Encoder, mirroring the existing public Decoder.\nEncoderConfig is flat, every zero value documented; Complexity's zero va\n[…]\names longer than 20 ms. mapEncErr double-wraps like\nmapDecErr, so errors.Is finds both the public sentinel and the internal one.\n\ninternal/reftest/oracle: the differential encoder gate and its corpus.",
"is_bot": false,
"headline": "phase 4 (CP10-A/B): public opus.Encoder API and the encoder gate corpus",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T21:08:31Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "796e965ee0118f71b7190bf42fb407eeba62454d",
"body": "… them\n\nMirror the badge set go-flac carries, with three deliberate differences.\n\nThe Go Report Card badge is omitted: goreportcard has been discontinued,\nso the badge would rot.\n\nThe OpenSSF Scorecard badge needs a workflow to publish results, or the\nAPI renders \"invalid repo path\" rather than a sc\n[…]\n the\nBSD-3-Clause text, which the detector does not recognise.\n\nNo release badge yet. With no tags it renders \"no tags found\", which\nreads as broken rather than as early. Add it when v0.1.0 is tagged.",
"is_bot": false,
"headline": "docs: add status badges, and the Scorecard workflow that backs one of…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T19:40:22Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "f81f999dccabcf73b075ee6ff438809dd111cc59",
"body": "The README still described the encoder as \"in development\". It now\nproduces whole Opus packets, TOC byte included, byte-identical to the C\nreference: every analysis stage, the band quantizer, the VBR rate\ncontroller, the celt_encode_with_ec pipeline, and the opus_encoder.c\nwrapper around it.\n\nBe pre\n[…]\nstill landing, so\nencoding is currently reachable only through the internal packages. The\nstatus section is meant to be trustworthy, so it should not imply a\nusable public encoder before there is one.",
"is_bot": false,
"headline": "docs: the encoder codec is complete and bit-exact",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T19:36:52Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "636ab7eafed2ac72450ef5107472c3ec445ddc71",
"body": "…8/12/16/24/48 kHz\n\nF1 RESOLVED AS WIRED, not restricted.\n\ncelt.NewEncoder hardcoded st.upsample = 1 and took no Fs, while opusenc.NewEncoder\nACCEPTED 8/12/16/24 kHz. The CELT LM search (celt_encoder.c:1837, frame_size *=\nst->upsample) then matched no LM and returned OPUS_BAD_ARG, so a non-48k encod\n[…]\n dead at every rate. Corrected, and the sweep\nconfirms it.\n\nThe decoder already served 8-48 kHz, so the encoder now matches its rate domain:\nthe public API can honestly promise 8-48 kHz on both sides.",
"is_bot": false,
"headline": "phase 4 (CP10-0): wire the sample rate through to CELT, bit-exact at …",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T19:27:49Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "ba15d4740e494209477115e3ca41d8047975167b",
"body": "phase 4: opus_encoder.c wrapper, first real Opus packet (CP9)",
"is_bot": false,
"headline": "Merge pull request #15 from tphakala/encoder-opus-wrapper",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T18:34:35Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "e83e62dd22597d407e6b6609fedfb3478d86a56b",
"body": "Lookahead returned st.delay_compensation (192 at 48 kHz). The C ctl\n(opus_encoder.c:3082) returns Fs/400 plus, for every application except\nthe RESTRICTED ones, delay_compensation:\n\n *value = st->Fs/400;\n if (application != RESTRICTED_LOWDELAY && application != RESTRICTED_CELT)\n *value \n[…]\ns every sample rate, channel\ncount and application, and carries a vacuity guard asserting the AUDIO\nand RESTRICTED_LOWDELAY values actually differ. Reintroducing the bug\nmakes it fail with go=32 c=52.",
"is_bot": false,
"headline": "opusenc: fix OPUS_GET_LOOKAHEAD, which was missing the Fs/400 term",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T18:23:32Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "5c7a88aa3e967d5cfcf8d3c08caabf613ed2f847",
"body": "…he C\n\nCP9 introduced one new constant derived from a C float literal,\nSILK_FIX_CONST(VARIABLE_HP_SMTH_COEF2, 16) in internal/opusenc (used at\nopus_encoder.c:1975), and hard-coded it as 983 with the derivation written out\nin a comment. The comment is correct, but a comment is exactly what the CP8c\na\n[…]\nlways handed a zero delta\nand returns its accumulator unchanged for ANY coefficient). It goes live the\nmoment SILK becomes reachable, which is precisely why it is pinned now rather\nthan guessed later.",
"is_bot": false,
"headline": "phase 4 (CP9 audit): pin the opusenc float-literal constant against t…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T17:56:43Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "1a93d7bf7ac560a7de8a0b7ec6f6c6cba8f26cd9",
"body": "Assemble opus_encode / opus_encode_native / opus_encode_frame_native\n(opus_encoder.c:2662, :1182, :1855) on top of the bit-exact CELT core, so\nthe encoder emits a real Opus packet: TOC byte plus CELT payload.\n\n internal/opusenc/rates.go the pure-integer decision chain (:1325-1685):\n user_bitr\n[…]\npath (the :1331 requantization makes celt's clamp an\nidentity), and ec_enc_init's size (ec_enc_shrink runs before any symbol is\ncoded). Both still follow the C, because neither identity survives SILK.",
"is_bot": false,
"headline": "phase 4 (CP9): opus_encode driver, first bit-exact Opus packet",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T17:22:07Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "4536a9eaa6049d8d596d5c069d523068210834e6",
"body": "…level encoder\n\nLands the blocking infrastructure every downstream CP9 task depends on: a\nfield-level oracle over src/opus_encoder.c, and the seams in celt/packet that\nthe Opus layer will drive.\n\nTHE ORACLE (sole-TU pattern, as for celt/celt_encoder.c)\n\nstruct OpusEncoder is defined in opus_encoder.\n[…]\nput, including the len==new_len\nshort-circuit that must leave a CBR packet untouched.\n\nThe full refc oracle suite still passes, so neutralizing the wrapper and\ntouching celt did not regress CP8a/CP8c.",
"is_bot": false,
"headline": "phase 4 (CP9-prep): opus_encoder.c oracle + shared seams for the top-…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T16:35:09Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "c03e638154103721d11ce62675e0bc04acb6048a",
"body": "phase 4: CELT encoder driver, first bit-exact packet (CP8c)",
"is_bot": false,
"headline": "Merge pull request #14 from tphakala/encoder-driver",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T15:43:09Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "8740f2a15b6cdb2abde1ad610fc49963ca63f61f",
"body": "C's QCONST32(x,bits) evaluates (x)*(1<<bits) in the precision of the\nliteral. A literal with an \"f\" suffix is a float and is rounded to\nfloat32 BEFORE the shift; an unsuffixed literal is a double. The two\ndisagree by a few ULPs:\n\n QCONST32(.99f,29) = 531502208 float64 gives 531502203\n QCON\n[…]\no=531502203 c=531502208.\n\nAn exhaustive audit of all 140 QCONST16/QCONST32 sites in the port found\nexactly nine where float32 and float64 evaluation differ at all; the\nother four were already correct.",
"is_bot": false,
"headline": "celt: fix QCONST32 constants whose C literal is a float, not a double",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T15:20:38Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "c573abac1a363709cbd4343a59964547ddceb78f",
"body": "…CELT packet\n\nPort the CELT encoder driver, celt_encode_with_ec (celt/celt_encoder.c:1725-2832),\nwhich produces the first end-to-end bit-exact encoded packet. Everything it calls\nwas already ported by CP8a/CP8b/CP8c waves 1-2; new here are the top-level\nassembly, the inline surround-masking and temp\n[…]\nated 1010-frame run reaches the\nvbr_count 970 ceiling at :2508, which no short sequence can see. 64 documented\nbranches are tracked and the test fails if any never fires.\n\nBit-exact vs libopus v1.6.1.",
"is_bot": false,
"headline": "phase 4 (CP8c wave 3): assemble celt_encode_with_ec, first bit-exact …",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T13:39:55Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "ea42ad64f629d2cf8d1c44722fdc87cc33d7053b",
"body": "…, bit-exact vs libopus\n\nPort compute_vbr (celt_encoder.c:1604-1716), the VBR rate controller, into\ninternal/celt/celt_encoder_vbr.go. It is a PURE function of its arguments: it\nreads no st-> field, so no encoder state is threaded here. All the cross-frame\nVBR state (vbr_reservoir, vbr_drift, vbr_of\n[…]\nMIN(target,\nfloor_depth), which returns target for every negative target regardless of which\nform is used, and the forms are identical for non-negative targets). It follows\nthe C source, not the test.",
"is_bot": false,
"headline": "phase 4 (CP8c wave 2): CELT encoder compute_vbr (VBR rate controller)…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T13:12:09Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "39081eb16e251103c154bdfdb54f1097810f54d9",
"body": "…plumbing and the encoder oracle\n\nThe CELT encoder state snapshot omitted six fields that celt_encode_with_ec\nmutates and that persist across frames (vbr_reservoir, vbr_drift, vbr_offset,\nvbr_count, stereo_saving, intensity). Reset() cleared them, but State()/Hash()\nnever serialized them, so a broke\n[…]\nrly-unhashed fields actually move under\nconstrained VBR. compute_vbr has no Go port yet (wave 2), so its wrapper is\ncovered by determinism/non-vacuity/invariant checks only, not a bit-exactness\nclaim.",
"is_bot": false,
"headline": "phase 4 (CP8c wave 1): close the encoder state-hash hole, add driver …",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T12:56:10Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "eea04e274ffc42be77d3e5cf5ebb5487ff3b62ba",
"body": "phase 4: CELT encoder analysis stages (CP8b)",
"is_bot": false,
"headline": "Merge pull request #13 from tphakala/encoder-pipeline-analysis",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T12:37:40Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "fb8485badb4aae9e9e960d65f5761ef7e1ca9432",
"body": "The adversarial review of CP8b found that the alloc_trim_analysis\ndifferential test swept end in {13, 17, 21} but never 19, the wideband\nend band, which is reachable in production. There is no branch on end in\nalloc_trim_analysis, but both the per-band weights (2+2*i-end) and the\ndivisor (C*(end-1))\n[…]\ninned. Verified bit-exact against the C\noracle.\n\nAlso correct a stale comment in the tf_analysis test: the extreme\ntf_estimate case fires on the last rep of each group of four, not on\nevery fifth rep.",
"is_bot": false,
"headline": "reftest: sweep alloc_trim_analysis at end=19 (wideband)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T12:09:20Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "e93f06343ce201fc034c28e378309ad81fe2da3c",
"body": "…m, stereo), bit-exact vs libopus\n\nSecond of the three encoder pipeline checkpoints (CP8a front half, CP8b\nanalysis, CP8c coding + end-to-end). Ports the five remaining file-static\nanalysis stages of celt_encoder.c, transliterated verbatim from v1.6.1 in the\nfrozen config (FIXED_POINT + DISABLE_FLOA\n[…]\n), gofmt clean, go test -race\n-count=1 ./... green, full refc oracle suite green (30s, decoder and all earlier\ncheckpoints intact, not just the new tests), golangci-lint 0 issues, go mod tidy\na no-op.",
"is_bot": false,
"headline": "phase 4 (CP8b): CELT encoder analysis stages (tf, dynalloc, alloc tri…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T11:52:31Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "3e665eca4905e1eedbcb2d7f7e6784612ac1a805",
"body": "…ysis statics\n\nAdds the C-side differential oracle that the CP8b port units build against.\nNo Go port yet: these bindings are intentionally unused until the TF /\nDYNALLOC / TRIM units land their tests.\n\nceltenc_shim.h (still the SOLE translation unit compiling celt_encoder.c;\nw_celt_celt_encoder.c s\n[…]\n buffers are sized to cover the full range the C touches so a short\ncaller slice can never let C read or write past Go memory.\n\nVerified: refc build, go vet, and the full oracle suite (29s) all green.",
"is_bot": false,
"headline": "phase 4 (CP8b phase B): C oracle wrappers for the 5 CELT encoder anal…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T11:08:19Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "cccdd30d74adf2eabc0a2e94208cc51311f1374f",
"body": "TestFMQConst asserted QCONST16 against the C oracle with bits=30 cases\n(x=1.0, 0.5, 0.99, ...). QCONST16 casts to opus_val16 (opus_int16), so\n.5+x*2^bits does not fit int16 there and the C conversion is undefined\nbehavior: gcc/amd64 truncates to 16 bits and coincidentally agrees with\nGo, while clang\n[…]\n randomized loop already capped QCONST16 at\nbits 0..14 for exactly this reason.\n\nVerified: full refc oracle suite green on darwin/arm64, and every\nretained case agrees C-vs-Go on both arm64 and amd64.",
"is_bot": false,
"headline": "reftest: constrain QCONST16 oracle cases to the representable domain",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-13T10:48:40Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "cd4ab91ee62afa26a9a5fd0d29af17a10d353d24",
"body": "phase 4: CELT encoder struct + front-half pipeline (CP8a)",
"is_bot": false,
"headline": "Merge pull request #12 from tphakala/encoder-pipeline-front",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T15:44:17Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "f4fe4b8cf5c1119bd4c0c17f8f33acd1bfbfb6e8",
"body": "sround16 and div32 in celt_lpc.go, and div32_16 in bands_math.go, now call\nthe fixedmath exported equivalents directly instead of carrying their own\ncopy of the same logic. This removes the drift risk CodeRabbit flagged on\nPR 12, since there is only one implementation left to keep bit-exact.",
"is_bot": false,
"headline": "fix: delegate celt package-local fixedmath wrappers to avoid duplication",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T15:41:21Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "e573149f03d5bbed0f242b5c6f1ae98c847e4833",
"body": "…ransient, prefilter, MDCT, energy), bit-exact vs libopus\n\nBegins assembling celt_encode_with_ec (celt_encoder.c). This is the first of\nthree pipeline checkpoints (CP8a front half, CP8b analysis, CP8c coding +\nend-to-end). Creates internal/celt/celt_encoder.go and ports the input,\ntransform and band\n[…]\nelt/... and\n./internal/fixedmath/..., refc oracle (all new tests pass; full suite green 37s),\nopus TestConformance (12 vectors, decoder intact), golangci-lint 0 issues, gofmt\nclean, go mod tidy no-op.",
"is_bot": false,
"headline": "phase 4 (CP8a): CELT encoder struct + front-half pipeline (preemph, t…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T15:25:14Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "bcc3ddfc6a8735a9266568174692583446c39377",
"body": "phase 4: CELT encoder quant_all_bands band quantizer (CP7)",
"is_bot": false,
"headline": "Merge pull request #11 from tphakala/encoder-quant-all-bands",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T14:12:58Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "600aa56d3b4654961de35b5de2853a2cec13dfeb",
"body": "…it-exact vs libopus\n\nFills every panic(bandsEncodeTODO) in bands.go with the encode side of the\nrecursive band shape quantizer, transliterated verbatim from bands.c (v1.6.1).\nThis is the largest and highest-risk encoder layer, and the second range-coder\nRDO snapshot/splice site.\n\nEncode paths porte\n[…]\n-race ./internal/celt/... , refc oracle\n(all CP7 tests pass; full suite green 39s), opus TestConformance (12 vectors,\ndecoder regression check), golangci-lint 0 issues, gofmt clean, go mod tidy no-op.",
"is_bot": false,
"headline": "phase 4 (CP7): CELT encoder quant_all_bands (band shape quantizer), b…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T14:01:38Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "591d43e9638c0f49b22f1918644f8547824a41b5",
"body": "phase 4: CELT encoder energy quant, PVQ search, rate allocation (CP4, CP5, CP6)",
"is_bot": false,
"headline": "Merge pull request #10 from tphakala/encoder-coding",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T12:49:04Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "4c795c88087118359840ff8863fe7cc5a15ebc40",
"body": "…bit-exact vs libopus\n\nrate.go (cltComputeAllocation / interpBits2pulses) was already transliterated in\nboth directions during the decoder work; this checkpoint adds the encode-direction\ndifferential harness and confirms it is bit-exact. rate.go is UNCHANGED (it is a\nnamed Layer C verbatim zone; no \n[…]\not the stereo-analysis inputs.\n\nValidation: go build, go vet, go test -race ./internal/celt/..., refc oracle (CP6\nsweep + full suite green 40s), golangci-lint 0 issues, gofmt clean, go mod tidy no-op.",
"is_bot": false,
"headline": "phase 4 (CP6): verify rate.c bit allocation on the encode direction, …",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T12:44:19Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "981fd569d2f30c224f330cce6361bfec392d8413",
"body": "… vs libopus\n\nTransliterates the CELT encoder pulse-vector quantizer verbatim from v1.6.1\n(FIXED_POINT, base non-QEXT path only). Layer C, rounding-brittle.\n\ninternal/celt/cwrs.go:\n- icwrs (cwrs.c) and EncodePulses: the CWRS index of a pulse vector and its\n ec_enc_uint coding, reusing the existing \n[…]\nudes with N up to 176.\n\nValidation: go build, go vet, go test -race ./internal/celt/..., refc oracle\n(all CP5 tests pass; full suite green 46s), golangci-lint 0 issues, gofmt clean,\ngo mod tidy no-op.",
"is_bot": false,
"headline": "phase 4 (CP5): CELT encoder cwrs pulse encode + PVQ search, bit-exact…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T12:44:19Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "80044200e68b487f82f4b9b527c6748b014e3fd1",
"body": "… + energy quant), bit-exact vs libopus\n\nTransliterates the CELT encoder energy stages verbatim from v1.6.1 (FIXED_POINT +\nDISABLE_FLOAT_API), the first coded-output checkpoint and the first range-coder\nsnapshot/splice site.\n\ninternal/celt/laplace.go:\n- ecLaplaceEncode (laplace.c:51), *value in/out \n[…]\nidation: go build, go vet, go test -race ./internal/celt/... and\n./internal/rangecoding/..., refc oracle (all new tests pass; full suite green),\ngolangci-lint 0 issues, gofmt clean, go mod tidy no-op.",
"is_bot": false,
"headline": "phase 4 (CP4): CELT encoder energy path (band energy + Laplace encode…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T12:44:19Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "0085b8e26917304e397e52d83d91f5dbe5e80371",
"body": "phase 4: CELT encoder fixed-point math + forward transforms (CP1, CP3)",
"is_bot": false,
"headline": "Merge pull request #9 from tphakala/encoder-math-transforms",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T12:12:49Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "775c90eb6c5d81fb3969e3b86002becbb14f6e29",
"body": "… libopus\n\nImplements cltMDCTForward (was a phase-4 stub) by transliterating\nclt_mdct_forward_c verbatim, and confirms the forward opus_fft path in\nkiss_fft.go is bit-exact. This is the encoder's time-to-frequency transform,\nfeeding compute_band_energies (CP4).\n\nForward vs the already-ported inverse\n[…]\ne ./internal/celt/..., refc oracle\n(TestForwardMDCTBitExact, TestForwardFFTBitExactCP3, TestForwardFFTImplStageLocalize\npass; full suite green), golangci-lint 0 issues, gofmt clean, go mod tidy no-op.",
"is_bot": false,
"headline": "phase 4 (CP3): forward MDCT + forward FFT (celt/mdct.c), bit-exact vs…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T11:58:45Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "5ca18614aecd24c00e3a2ba7b9d926fb111fe762",
"body": "…orm32), bit-exact vs libopus\n\nAdds the two encoder-only CELT scalar approximations that the decoder did not\nneed, transliterated verbatim from celt/mathops.c (v1.6.1, FIXED_POINT):\n\n- Celt_sqrt32 (mathops.c:164): fixed-point sqrt, Qx in -> Q(x/2+16) out; used on\n the frozen-config encode path by c\n[…]\n.\n\nValidation: go build, go vet, go test -race ./internal/fixedmath/..., refc oracle\n(TestFMSqrt32, TestFMRcpNorm32 pass; full suite green 33s), golangci-lint 0 issues,\ngofmt clean, go mod tidy no-op.",
"is_bot": false,
"headline": "phase 4 (CP1): fixedmath encoder scalar math (celt_sqrt32, celt_rcp_n…",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T11:58:45Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "7965bdf96bcf24c415253eb258e42af68f8899ee",
"body": "Explains why go-opus tracks the fixed-point libopus build rather than the\nfloat one: integer arithmetic is exactly reproducible across CPUs and\ncompilers, which is what makes bit-exact differential testing possible and\ngives deterministic, byte-identical output. Notes that quality matches the\nfixed-point reference and that fixed-point is SIMD-friendly while staying\nbit-exact.",
"is_bot": false,
"headline": "docs: add a Why fixed-point section to the README",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T11:27:24Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "1fb2930df2846cf3c78b5a2a8b5a43e9ea47de72",
"body": "docs: mark the decoder complete in the README",
"is_bot": false,
"headline": "Merge pull request #8 from tphakala/docs/readme-decoder-complete",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T10:12:30Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "834df7597c09c34a352b8bb9f1dc2dae08ce5dde",
"body": null,
"is_bot": false,
"headline": "docs: add Oxford comma to the modes list for consistency",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T10:10:28Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "40fd621c148cc0b307f5e0ea741b47e33a7645b2",
"body": "The opus_decoder.c transition machine landed (PR #7), so the full Opus\ndecoder (CELT, SILK, hybrid, mode switching and redundancy, PLC, and\ninband FEC) now passes RFC 6716 conformance, all 12 official test vectors\nwith the per-packet range state matching libopus exactly. The README Status\nstill described top-level Opus decode as in progress; this updates it and\nsplits the remaining encoder work into its own line.",
"is_bot": false,
"headline": "docs: mark the decoder complete in the README",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T10:07:34Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "4779aa58fcd35239a5a63c62e44009db6d5e1810",
"body": "opusdec: opus_decoder.c transition machine (complete the decoder)",
"is_bot": false,
"headline": "Merge pull request #7 from tphakala/decoder-transition-machine",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T07:49:37Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "2bf45ccfaf431687f4a827c10702c5c2f0aabc46",
"body": "Ports libopus src/opus_decoder.c (v1.6.1) as internal/opusdec: the\ntop-level decoder that unifies the CELT and SILK decoders behind the\nmode-transition and redundancy state machine (RFC 6716, the \"hard 20%\").\n\nopusDecodeFrame routes each frame to CELT-only, SILK-only or hybrid\ndecode, decodes the 5 \n[…]\n RFC 6716 vectors decode with per-packet\n FinalRange matching libopus exactly; opus_compare Quality > 96 (stereo\n and mono) on every vector.\n- go build, go vet, golangci-lint (0 issues), race tests.",
"is_bot": false,
"headline": "opusdec: add opus_decoder.c transition machine (complete the decoder)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T07:19:58Z",
"body_truncated": true,
"is_coding_agent": false
},
{
"oid": "019098fefc02952ed5eea90c4347730ff5ce3c68",
"body": "phase 3: SILK decoder",
"is_bot": false,
"headline": "Merge pull request #4 from tphakala/phase-3-silk-decoder",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T06:24:26Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "68f0f652079d249490308da1fb1e52171dfdabc0",
"body": "phase 2: CELT decoder (RFC 6716 conformance)",
"is_bot": false,
"headline": "Merge pull request #3 from tphakala/phase-2-celt-decoder",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T06:23:06Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "1be12bdf92e8887eaf2886a31d45f18bbdeb3b91",
"body": "phase 1: plumbing (range coder, packet layer, Ogg Opus)",
"is_bot": false,
"headline": "Merge pull request #2 from tphakala/phase-1-plumbing",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T06:21:05Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "d0fededbbc16a3b64335cb23b6416584d5b27cab",
"body": "phase 0: libopus differential-test oracle harness (reftest)",
"is_bot": false,
"headline": "Merge pull request #6 from tphakala/phase-0-reftest",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T06:18:56Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "e3752a66557038455692fb2cd6426c8565318f2b",
"body": "A complete SILK decoder, every layer differential-tested bit-exact vs libopus: the\nSILK fixed-point dialect, tables, pulse/shell/sign decode, NLSF-to-LPC, parameter\ndecode, decode_core/decode_frame synthesis, PLC/CNG, stereo, the resampler, and\nsilk_Decode with inband FEC/LBRR and DTX.",
"is_bot": false,
"headline": "phase 3: SILK decoder",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T06:16:10Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "4c92f8c03ea25e3512a4645e8e62b0b596347b61",
"body": "A complete CELT decoder, every layer differential-tested bit-exact vs the libopus\nfixed-point reference (fixed-point math, mode data, inverse MDCT/FFT, energy, PVQ,\nrate.c allocation with a 1.5M-case sweep, bands, the decoder pipeline over 21,000\nframes, and PLC). The CELT-only opus.Decoder passes RFC vectors 01/07/11 with the\nper-packet range state matching libopus exactly.",
"is_bot": false,
"headline": "phase 2: CELT decoder (RFC 6716 conformance)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T06:16:10Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "602f744fe218d239e6e5addf6b5a0ee058510bbd",
"body": "The range coder (value-copyable struct over a shared buffer, byte-exact vs libopus\nincluding the RDO snapshot/splice patterns), the packet layer (TOC, frame codes,\nframing, padding, repacketizer; parses every RFC vector), and the RFC 7845 Ogg\nOpus container (inline granules, non-seekable-correct, ffmpeg-validated).",
"is_bot": false,
"headline": "phase 1: plumbing (range coder, packet layer, Ogg Opus)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T06:16:10Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "de42dc65d4c2575b235952d6088c8b8d0b3759cd",
"body": "Add internal/reftest, the bit-exact reference every ported codec layer is checked\nagainst. libopus v1.6.1 is pinned as a submodule and compiled from source via cgo\n(build tag refc) in the frozen FIXED_POINT + DISABLE_FLOAT_API configuration.\nBecause libopus is not amalgamation-safe, each source is its own translation unit\nvia generated wrappers. This never links into the published pure-Go module. Adds\nthe reftest job to CI (amd64 and arm64).",
"is_bot": false,
"headline": "phase 0: libopus differential-test oracle harness (reftest)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T06:16:10Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "1a61881ae4f1f371b98779135964fd0a090ed930",
"body": "Module setup (go.mod on Go 1.26, Taskfile, golangci-lint v2 with the\ntransliteration lint boundary, ruleguard rules), CI (build / vet / lint / test on\namd64 and arm64), a pure-Go port of opus_compare (internal/opuscompare) so the\nconformance gate needs no C toolchain, and the RFC 6716/8251 test-vector\nfetch-and-verify tooling. The libopus differential-oracle harness lands in the\nnext PR. The public codec packages are stubs at this stage.",
"is_bot": false,
"headline": "phase 0: project scaffolding and CI (#1)",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T06:12:39Z",
"body_truncated": false,
"is_coding_agent": false
},
{
"oid": "03ce4f1bbcfb9e5791877eb28c2e779eb29242c0",
"body": "Native Go Opus audio codec (RFC 6716), a pure-Go port of libopus. See README.",
"is_bot": false,
"headline": "Initial commit",
"author_name": "Tomi P. Hakala",
"author_login": "tphakala",
"committed_at": "2026-07-10T05:43:00Z",
"body_truncated": false,
"is_coding_agent": false
}
],
"releases_count": 2,
"commits_last_year": 97,
"latest_release_at": "2026-07-21T13:25:29Z",
"latest_release_tag": "v0.1.2",
"releases_from_tags": false,
"days_since_last_push": 5,
"active_weeks_last_year": 3,
"days_since_latest_release": 5,
"mean_days_between_releases": 1.8
},
"community": {
"has_readme": true,
"has_license": true,
"has_description": true,
"has_contributing": false,
"health_percentage": 42,
"has_issue_template": false,
"has_code_of_conduct": false,
"has_pull_request_template": false
},
"ecosystem": {
"packages": [
{
"name": "github.com/tphakala/go-opus",
"exists": true,
"license": null,
"keywords": [],
"ecosystem": "go",
"matches_repo": true,
"registry_url": "https://pkg.go.dev/github.com/tphakala/go-opus",
"is_deprecated": false,
"latest_version": "v0.1.2",
"repository_url": "https://github.com/tphakala/go-opus",
"versions_count": 3,
"total_downloads": null,
"dependents_count": null,
"deprecation_note": null,
"maintainers_count": null,
"monthly_downloads": null,
"first_published_at": null,
"latest_published_at": "2026-07-21T13:13:24Z",
"latest_version_yanked": null,
"days_since_latest_publish": 5
}
]
},
"popularity": {
"forks": 1,
"stars": 2,
"watchers": 1,
"fork_history": {
"days": [
{
"date": "2026-07-23",
"count": 1
}
],
"complete": true,
"collected": 1,
"total_forks": 1
},
"star_history": null,
"open_issues_and_prs": 10
},
"ai_readiness": {
"has_nix": false,
"example_dirs": [],
"has_llms_txt": false,
"has_dockerfile": false,
"has_mcp_signal": false,
"bootstrap_files": [
"Taskfile.yml"
],
"api_schema_files": [],
"has_devcontainer": false,
"typecheck_configs": [],
"toolchain_manifests": [
"go.mod"
],
"largest_source_bytes": 54496,
"source_files_sampled": 401,
"oversized_source_files": 0,
"agent_instruction_files": [],
"agent_instruction_max_bytes": null
},
"dependencies": {
"manifests": [
"go.mod"
],
"advisories": {
"error": null,
"scope": "repository_graph",
"source": "osv",
"findings": [],
"collected": true,
"malicious": [],
"truncated": false,
"by_severity": {},
"advisory_count": 0,
"affected_count": 0,
"assessed_count": 3,
"malicious_count": 0,
"assessed_package": null,
"unassessed_count": 0,
"direct_affected_count": 0
},
"ecosystems": [
"go"
],
"dependencies": [
{
"name": "github.com/quasilyte/go-ruleguard/dsl",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v0.3.23"
},
{
"name": "github.com/tphakala/simd",
"manifest": "go.mod",
"ecosystem": "go",
"version_constraint": "v1.5.0"
}
],
"all_dependencies": {
"error": null,
"source": "github-sbom",
"packages": [
{
"name": "github.com/quasilyte/go-ruleguard/dsl",
"direct": true,
"version": "v0.3.23",
"ecosystem": "go"
},
{
"name": "github.com/tphakala/simd",
"direct": true,
"version": "v1.5.0",
"ecosystem": "go"
},
{
"name": "golang.org/x/sys",
"direct": false,
"version": "v0.45.0",
"ecosystem": "go"
}
],
"collected": true,
"truncated": false,
"total_count": 3,
"direct_count": 2,
"indirect_count": 1
}
},
"maintainership": {
"issues": {
"open_prs": 0,
"merged_prs": 13,
"open_issues": 10,
"closed_ratio": 0.655,
"closed_issues": 19,
"closed_unmerged_prs": 0
},
"bus_factor": 1,
"bot_contributors": 0,
"top_contributors": [
{
"type": "User",
"login": "tphakala",
"commits": 96,
"avatar_url": "https://avatars.githubusercontent.com/u/7030001?v=4"
},
{
"type": "User",
"login": "vomar3",
"commits": 1,
"avatar_url": "https://avatars.githubusercontent.com/u/145834602?v=4"
}
],
"contributors_sampled": 2,
"top_contributor_share": 0.99
},
"quality_signals": {
"has_ci": true,
"has_tests": true,
"ci_workflows": [
"ci.yml",
"scorecard.yml"
],
"has_docs_dir": false,
"linter_configs": [
".golangci.yaml"
],
"has_editorconfig": false,
"has_linter_config": true,
"has_precommit_config": false
},
"security_signals": {
"lockfiles": [
"go.sum"
],
"scorecard": {
"checks": [
{
"name": "Binary-Artifacts",
"score": 10,
"reason": "no binaries found in the repo",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
},
{
"name": "Branch-Protection",
"score": 0,
"reason": "branch protection not enabled on development/release branches",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
},
{
"name": "CI-Tests",
"score": 10,
"reason": "13 out of 13 merged PRs checked by a CI test -- score normalized to 10",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
},
{
"name": "CII-Best-Practices",
"score": 0,
"reason": "no effort to earn an OpenSSF best practices badge detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
},
{
"name": "Code-Review",
"score": 0,
"reason": "Found 1/19 approved changesets -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
},
{
"name": "Contributors",
"score": 0,
"reason": "project has 0 contributing companies or organizations -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
},
{
"name": "Dangerous-Workflow",
"score": 10,
"reason": "no dangerous workflow patterns detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
},
{
"name": "Dependency-Update-Tool",
"score": 0,
"reason": "no update tool detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
},
{
"name": "Fuzzing",
"score": 10,
"reason": "project is fuzzed",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
},
{
"name": "License",
"score": 9,
"reason": "license file detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
},
{
"name": "Maintained",
"score": 0,
"reason": "project was created within the last 90 days. Please review its contents carefully",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
},
{
"name": "Packaging",
"score": null,
"reason": "packaging workflow not detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
},
{
"name": "Pinned-Dependencies",
"score": 0,
"reason": "dependency not pinned by hash detected -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
},
{
"name": "SAST",
"score": 0,
"reason": "SAST tool is not run on all commits -- score normalized to 0",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
},
{
"name": "Security-Policy",
"score": 0,
"reason": "security policy file not detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
},
{
"name": "Signed-Releases",
"score": null,
"reason": "no releases found",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
},
{
"name": "Token-Permissions",
"score": 10,
"reason": "GitHub workflow tokens follow principle of least privilege",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
},
{
"name": "Vulnerabilities",
"score": 10,
"reason": "0 existing vulnerabilities detected",
"documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
}
],
"commit": "0c2d483d88ed9fb844ea253bf7ab5f9010390af5",
"ran_at": "2026-07-27T04:40:06Z",
"aggregate_score": 4.6,
"scorecard_version": "v5.5.0"
},
"has_codeql_workflow": false,
"has_security_policy": false,
"has_dependabot_config": false
},
"contribution_flow": {
"collected": true,
"ci_last_run_at": "2026-07-26T06:32:06Z",
"oldest_open_prs": [],
"last_merged_pr_at": "2026-07-21T13:12:42Z",
"ci_last_conclusion": "SUCCESS",
"oldest_open_issues": [
{
"number": 1,
"created_at": "2026-07-16T07:50:48Z",
"last_comment_at": "2026-07-18T08:58:43Z",
"last_comment_author": "tphakala"
},
{
"number": 6,
"created_at": "2026-07-16T07:50:54Z",
"last_comment_at": "2026-07-19T18:57:44Z",
"last_comment_author": "tphakala"
},
{
"number": 7,
"created_at": "2026-07-16T07:50:55Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 8,
"created_at": "2026-07-16T07:50:57Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 12,
"created_at": "2026-07-16T07:51:02Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 13,
"created_at": "2026-07-16T07:51:03Z",
"last_comment_at": "2026-07-20T12:28:33Z",
"last_comment_author": "tphakala"
},
{
"number": 29,
"created_at": "2026-07-18T20:12:53Z",
"last_comment_at": null,
"last_comment_author": null
},
{
"number": 30,
"created_at": "2026-07-19T08:01:02Z",
"last_comment_at": "2026-07-20T12:28:35Z",
"last_comment_author": "tphakala"
},
{
"number": 32,
"created_at": "2026-07-19T08:01:09Z",
"last_comment_at": "2026-07-19T18:57:45Z",
"last_comment_author": "tphakala"
},
{
"number": 38,
"created_at": "2026-07-19T17:13:26Z",
"last_comment_at": "2026-07-21T13:14:34Z",
"last_comment_author": "tphakala"
}
]
}
},
"config": {
"disabled_metrics": [],
"disabled_categories": [],
"disabled_components": {}
},
"source": {
"url": "https://github.com/tphakala/go-opus",
"host": "github.com",
"name": "go-opus",
"owner": "tphakala"
},
"metrics": {
"overall": {
"key": "overall",
"band": "critical",
"name": "Overall health",
"note": "High-Risk Jurisdiction Policy applies a 50% multiplier to weighted overall health and gives it an At risk ceiling of 49.",
"notes": [
{
"code": "jurisdiction_overall_adjustment",
"params": {
"cap": 49,
"pct": 50
}
}
],
"value": 28,
"inputs": {
"security": 38,
"vitality": 74,
"community": 21,
"governance": 54,
"engineering": 80,
"high_risk_jurisdiction_cap": 49,
"high_risk_jurisdiction_multiplier": 50,
"weighted_overall_before_jurisdiction": 55,
"overall_after_jurisdiction_multiplier": 28
},
"components": []
},
"categories": [
{
"key": "vitality",
"band": "good",
"name": "Vitality",
"value": 74,
"weight": 0.22,
"metrics": [
{
"key": "development_activity",
"band": "moderate",
"name": "Development activity",
"note": null,
"notes": [],
"value": 56,
"inputs": {
"commits_last_year": 97,
"human_commit_share": 1,
"days_since_last_push": 5,
"active_weeks_last_year": 3
},
"components": [
{
"key": "push_recency",
"name": "Push recency",
"detail": "last push 5 days ago",
"points": 36,
"status": "met",
"details": [
{
"code": "push_recency",
"params": {
"days": 5
}
}
],
"max_points": 36
},
{
"key": "commit_cadence",
"name": "Commit cadence",
"detail": "3/52 weeks with commits",
"points": 2.1,
"status": "partial",
"details": [
{
"code": "commit_cadence_weeks",
"params": {
"weeks": 3
}
}
],
"max_points": 36
},
{
"key": "commit_volume",
"name": "Commit volume",
"detail": "97 commits in the last year",
"points": 17.9,
"status": "partial",
"details": [
{
"code": "commits_last_year",
"params": {
"count": 97
}
}
],
"max_points": 18
},
{
"key": "openssf_scorecard_maintained",
"name": "OpenSSF Scorecard: Maintained",
"detail": "project was created within the last 90 days. Please review its contents carefully",
"points": 0,
"status": "missed",
"details": [],
"max_points": 10
}
]
},
{
"key": "release_discipline",
"band": "excellent",
"name": "Release discipline",
"note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"openssf_scorecard_signed_releases"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 100,
"inputs": {
"releases_count": 2,
"latest_release_tag": "v0.1.2",
"releases_from_tags": false,
"days_since_latest_release": 5,
"mean_days_between_releases": 1.8
},
"components": [
{
"key": "ships_releases",
"name": "Ships releases",
"detail": "2 releases published",
"points": 27,
"status": "met",
"details": [
{
"code": "releases_published",
"params": {
"count": 2
}
}
],
"max_points": 27
},
{
"key": "release_recency",
"name": "Release recency",
"detail": "latest release 5 days ago",
"points": 36,
"status": "met",
"details": [
{
"code": "release_recency",
"params": {
"days": 5
}
}
],
"max_points": 36
},
{
"key": "release_cadence",
"name": "Release cadence",
"detail": "a release every ~1.8 days",
"points": 27,
"status": "met",
"details": [
{
"code": "release_cadence",
"params": {
"gap": 1.8
}
}
],
"max_points": 27
},
{
"key": "openssf_scorecard_signed_releases",
"name": "OpenSSF Scorecard: Signed-Releases",
"detail": "no releases found",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 10
}
]
},
{
"key": "abandonment",
"band": "excellent",
"name": "Abandonment",
"note": null,
"notes": [],
"value": 100,
"inputs": {
"cap": null,
"state": "unverified",
"guards": [],
"signals": [],
"red_flag": false,
"multiplier_pct": 100,
"declared_reason": null,
"unverified_reason": "repository_too_young",
"unanswered_open_prs": null,
"unanswered_open_issues": null,
"days_since_last_merged_pr": null,
"days_since_last_human_commit": null,
"days_since_last_human_commit_is_floor": false
},
"components": [
{
"key": "project_is_still_maintained",
"name": "Project is still maintained",
"detail": "maintenance record not established from the collected data",
"points": 100,
"status": "met",
"details": [
{
"code": "abandonment_unverified",
"params": {}
}
],
"max_points": 100
}
]
}
],
"description": "Is the project alive — is code being written and are releases shipping?"
},
{
"key": "community",
"band": "critical",
"name": "Community & Adoption",
"value": 21,
"weight": 0.18,
"metrics": [
{
"key": "popularity",
"band": "critical",
"name": "Popularity & adoption",
"note": null,
"notes": [],
"value": 1,
"inputs": {
"forks": 1,
"stars": 2,
"watchers": 1,
"growth_state": "unverified",
"growth_factor_pct": 100,
"growth_unverified_reason": "no_history"
},
"components": [
{
"key": "stars",
"name": "Stars",
"detail": "2 stars",
"points": 0,
"status": "missed",
"details": [
{
"code": "stars",
"params": {
"count": 2
}
}
],
"max_points": 60
},
{
"key": "forks",
"name": "Forks",
"detail": "1 forks",
"points": 0,
"status": "missed",
"details": [
{
"code": "forks",
"params": {
"count": 1
}
}
],
"max_points": 25
},
{
"key": "watchers",
"name": "Watchers",
"detail": "1 watchers",
"points": 0,
"status": "missed",
"details": [
{
"code": "watchers",
"params": {
"count": 1
}
}
],
"max_points": 15
}
]
},
{
"key": "community_health",
"band": "at_risk",
"name": "Community health",
"note": null,
"notes": [],
"value": 44,
"inputs": {
"has_readme": true,
"has_license": true,
"has_contributing": false,
"has_issue_template": false,
"has_code_of_conduct": false,
"has_pull_request_template": false
},
"components": [
{
"key": "readme",
"name": "README",
"detail": null,
"points": 22.5,
"status": "met",
"details": [],
"max_points": 22.5
},
{
"key": "license",
"name": "License",
"detail": "license file present, not a recognized license",
"points": 16.9,
"status": "partial",
"details": [
{
"code": "license_custom",
"params": {}
}
],
"max_points": 22.5
},
{
"key": "contributing_guide",
"name": "CONTRIBUTING guide",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 18
},
{
"key": "code_of_conduct",
"name": "Code of conduct",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 13.5
},
{
"key": "issue_template",
"name": "Issue template",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.2
},
{
"key": "pr_template",
"name": "PR template",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 6.3
}
]
}
],
"description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
},
{
"key": "governance",
"band": "moderate",
"name": "Sustainability & Governance",
"value": 54,
"weight": 0.24,
"metrics": [
{
"key": "maintainer_resilience",
"band": "critical",
"name": "Maintainer resilience (bus factor)",
"note": null,
"notes": [],
"value": 12,
"inputs": {
"bus_factor": 1,
"contributors_sampled": 2,
"top_contributor_share": 0.99
},
"components": [
{
"key": "bus_factor",
"name": "Bus factor",
"detail": "1 contributor(s) cover half of all commits",
"points": 9,
"status": "partial",
"details": [
{
"code": "bus_factor",
"params": {
"count": 1
}
}
],
"max_points": 54
},
{
"key": "commit_distribution",
"name": "Commit distribution",
"detail": "top contributor authored 99% of commits",
"points": 0.2,
"status": "partial",
"details": [
{
"code": "top_contributor_share",
"params": {
"share": 99
}
}
],
"max_points": 22.5
},
{
"key": "contributor_breadth",
"name": "Contributor breadth",
"detail": "2 contributors",
"points": 2.7,
"status": "partial",
"details": [
{
"code": "contributors_sampled",
"params": {
"count": 2
}
}
],
"max_points": 13.5
},
{
"key": "openssf_scorecard_contributors",
"name": "OpenSSF Scorecard: Contributors",
"detail": "project has 0 contributing companies or organizations -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 10
}
]
},
{
"key": "responsiveness",
"band": "moderate",
"name": "Issue & PR responsiveness",
"note": null,
"notes": [],
"value": 69,
"inputs": {
"merged_prs": 13,
"open_issues": 10,
"closed_issues": 19,
"issue_closed_ratio": 0.655,
"closed_unmerged_prs": 0
},
"components": [
{
"key": "issue_resolution",
"name": "Issue resolution",
"detail": "66% of issues closed",
"points": 30.6,
"status": "partial",
"details": [
{
"code": "issues_closed_share",
"params": {
"share": 66
}
}
],
"max_points": 46.75
},
{
"key": "pr_acceptance",
"name": "PR acceptance",
"detail": "13/13 decided PRs merged",
"points": 38.2,
"status": "met",
"details": [
{
"code": "decided_prs_merged",
"params": {
"merged": 13,
"decided": 13
}
}
],
"max_points": 38.25
},
{
"key": "openssf_scorecard_code_review",
"name": "OpenSSF Scorecard: Code-Review",
"detail": "Found 1/19 approved changesets -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 15
}
]
},
{
"key": "stewardship",
"band": "moderate",
"name": "Ownership & stewardship",
"note": "Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"verified_domain"
]
}
},
{
"code": "weights_renormalized",
"params": {}
}
],
"value": 61,
"inputs": {
"followers": 78,
"owner_type": "User",
"is_verified": null,
"owner_login": "tphakala",
"public_repos": 64,
"account_age_days": 4509
},
"components": [
{
"key": "ownership_backing",
"name": "Ownership backing",
"detail": "personal (user) account",
"points": 10,
"status": "partial",
"details": [
{
"code": "owner_personal",
"params": {}
}
],
"max_points": 30
},
{
"key": "verified_domain",
"name": "Verified domain",
"detail": "not applicable to user accounts",
"points": 0,
"status": "excluded",
"details": [
{
"code": "not_applicable_to_user_accounts",
"params": {}
}
],
"max_points": 20
},
{
"key": "owner_reach",
"name": "Owner reach",
"detail": "78 followers of tphakala",
"points": 13.6,
"status": "partial",
"details": [
{
"code": "owner_followers",
"params": {
"count": 78,
"login": "tphakala"
}
}
],
"max_points": 25
},
{
"key": "track_record",
"name": "Track record",
"detail": "64 public repos, account ~12 yr old",
"points": 25,
"status": "met",
"details": [
{
"code": "public_repos",
"params": {
"count": 64
}
},
{
"code": "account_age_years",
"params": {
"years": 12
}
}
],
"max_points": 25
}
]
},
{
"key": "package_maintenance",
"band": "excellent",
"name": "Package maintenance",
"note": null,
"notes": [],
"value": 92,
"inputs": {
"packages": [
"github.com/tphakala/go-opus"
],
"ecosystems": "go",
"any_deprecated": false,
"min_days_since_publish": 5
},
"components": [
{
"key": "published_resolvable",
"name": "Published & resolvable",
"detail": "1 package(s) on go",
"points": 25,
"status": "met",
"details": [
{
"code": "packages_published",
"params": {
"count": 1,
"ecosystems": "go"
}
}
],
"max_points": 25
},
{
"key": "publish_recency",
"name": "Publish recency",
"detail": "latest publish 5 days ago",
"points": 35,
"status": "met",
"details": [
{
"code": "publish_recency",
"params": {
"days": 5
}
}
],
"max_points": 35
},
{
"key": "version_history",
"name": "Version history",
"detail": "3 published versions",
"points": 12,
"status": "partial",
"details": [
{
"code": "published_versions",
"params": {
"count": 3
}
}
],
"max_points": 20
},
{
"key": "not_deprecated",
"name": "Not deprecated",
"detail": "active, not deprecated or yanked",
"points": 20,
"status": "met",
"details": [
{
"code": "package_not_deprecated",
"params": {}
}
],
"max_points": 20
}
]
}
],
"description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
},
{
"key": "engineering",
"band": "good",
"name": "Engineering Quality",
"value": 80,
"weight": 0.2,
"metrics": [
{
"key": "engineering_practices",
"band": "good",
"name": "Engineering practices",
"note": null,
"notes": [],
"value": 84,
"inputs": {
"has_ci": true,
"has_tests": true,
"has_editorconfig": false,
"has_linter_config": true,
"has_precommit_config": false
},
"components": [
{
"key": "ci_workflows",
"name": "CI workflows",
"detail": "2 workflow(s)",
"points": 24,
"status": "met",
"details": [
{
"code": "ci_workflows",
"params": {
"count": 2
}
}
],
"max_points": 24
},
{
"key": "tests_present",
"name": "Tests present",
"detail": null,
"points": 24,
"status": "met",
"details": [],
"max_points": 24
},
{
"key": "linter_config",
"name": "Linter config",
"detail": ".golangci.yaml",
"points": 16,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": ".golangci.yaml"
}
}
],
"max_points": 16
},
{
"key": "pre_commit_hooks",
"name": "Pre-commit hooks",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 9.6
},
{
"key": "editorconfig",
"name": ".editorconfig",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 6.4
},
{
"key": "openssf_scorecard_ci_tests",
"name": "OpenSSF Scorecard: CI-Tests",
"detail": "13 out of 13 merged PRs checked by a CI test -- score normalized to 10",
"points": 20,
"status": "met",
"details": [],
"max_points": 20
}
]
},
{
"key": "documentation",
"band": "good",
"name": "Documentation",
"note": null,
"notes": [],
"value": 75,
"inputs": {
"topics": [
"audio",
"audio-codec",
"audio-processing",
"bit-exact",
"celt",
"cgo-free",
"codec",
"decoder",
"dsp",
"encoder",
"fixed-point",
"go",
"golang",
"libopus",
"ogg-opus",
"opus",
"opus-codec",
"pure-go",
"rfc6716",
"silk"
],
"has_wiki": true,
"homepage": "https://pkg.go.dev/github.com/tphakala/go-opus",
"has_readme": true,
"has_docs_dir": false,
"has_description": true
},
"components": [
{
"key": "readme",
"name": "README",
"detail": null,
"points": 30,
"status": "met",
"details": [],
"max_points": 30
},
{
"key": "documentation_directory",
"name": "Documentation directory",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 25
},
{
"key": "documentation_homepage_site",
"name": "Documentation / homepage site",
"detail": "https://pkg.go.dev/github.com/tphakala/go-opus",
"points": 15,
"status": "met",
"details": [],
"max_points": 15
},
{
"key": "repository_description",
"name": "Repository description",
"detail": null,
"points": 10,
"status": "met",
"details": [],
"max_points": 10
},
{
"key": "topics",
"name": "Topics",
"detail": "20 topics",
"points": 10,
"status": "met",
"details": [
{
"code": "topics_count",
"params": {
"count": 20
}
}
],
"max_points": 10
},
{
"key": "wiki",
"name": "Wiki",
"detail": null,
"points": 10,
"status": "met",
"details": [],
"max_points": 10
}
]
}
],
"description": "Are baseline engineering and documentation practices in place?"
},
{
"key": "security",
"band": "at_risk",
"name": "Security",
"value": 38,
"weight": 0.16,
"metrics": [
{
"key": "security_posture",
"band": "critical",
"name": "Security posture",
"note": "Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized. High-Risk Jurisdiction Policy applies a 50% multiplier to Security posture and gives it an At risk ceiling of 49.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"packaging",
"signed_releases"
]
}
},
{
"code": "weights_renormalized",
"params": {}
},
{
"code": "jurisdiction_posture_adjustment",
"params": {
"cap": 49,
"pct": 50
}
}
],
"value": 23,
"inputs": {
"source": "openssf_scorecard",
"checks_evaluated": 16,
"scorecard_version": "v5.5.0",
"checks_inconclusive": 2,
"scorecard_aggregate": 4.6,
"high_risk_jurisdiction_cap": 49,
"high_risk_jurisdiction_multiplier": 50,
"security_posture_after_multiplier": 23,
"security_posture_before_jurisdiction": 46
},
"components": [
{
"key": "binary_artifacts",
"name": "Binary-Artifacts",
"detail": "no binaries found in the repo",
"points": 7.5,
"status": "met",
"details": [],
"max_points": 7.5
},
{
"key": "branch_protection",
"name": "Branch-Protection",
"detail": "branch protection not enabled on development/release branches",
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.5
},
{
"key": "ci_tests",
"name": "CI-Tests",
"detail": "13 out of 13 merged PRs checked by a CI test -- score normalized to 10",
"points": 2.5,
"status": "met",
"details": [],
"max_points": 2.5
},
{
"key": "cii_best_practices",
"name": "CII-Best-Practices",
"detail": "no effort to earn an OpenSSF best practices badge detected",
"points": 0,
"status": "missed",
"details": [],
"max_points": 2.5
},
{
"key": "code_review",
"name": "Code-Review",
"detail": "Found 1/19 approved changesets -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.5
},
{
"key": "contributors",
"name": "Contributors",
"detail": "project has 0 contributing companies or organizations -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 2.5
},
{
"key": "dangerous_workflow",
"name": "Dangerous-Workflow",
"detail": "no dangerous workflow patterns detected",
"points": 10,
"status": "met",
"details": [],
"max_points": 10
},
{
"key": "dependency_update_tool",
"name": "Dependency-Update-Tool",
"detail": "no update tool detected",
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.5
},
{
"key": "fuzzing",
"name": "Fuzzing",
"detail": "project is fuzzed",
"points": 5,
"status": "met",
"details": [],
"max_points": 5
},
{
"key": "license",
"name": "License",
"detail": "license file detected",
"points": 2.2,
"status": "partial",
"details": [],
"max_points": 2.5
},
{
"key": "maintained",
"name": "Maintained",
"detail": "project was created within the last 90 days. Please review its contents carefully",
"points": 0,
"status": "missed",
"details": [],
"max_points": 7.5
},
{
"key": "packaging",
"name": "Packaging",
"detail": "packaging workflow not detected",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 5
},
{
"key": "pinned_dependencies",
"name": "Pinned-Dependencies",
"detail": "dependency not pinned by hash detected -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 5
},
{
"key": "sast",
"name": "SAST",
"detail": "SAST tool is not run on all commits -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 5
},
{
"key": "security_policy",
"name": "Security-Policy",
"detail": "security policy file not detected",
"points": 0,
"status": "missed",
"details": [],
"max_points": 5
},
{
"key": "signed_releases",
"name": "Signed-Releases",
"detail": "no releases found",
"points": 0,
"status": "excluded",
"details": [
{
"code": "no_data",
"params": {}
}
],
"max_points": 7.5
},
{
"key": "token_permissions",
"name": "Token-Permissions",
"detail": "GitHub workflow tokens follow principle of least privilege",
"points": 7.5,
"status": "met",
"details": [],
"max_points": 7.5
},
{
"key": "vulnerabilities",
"name": "Vulnerabilities",
"detail": "0 existing vulnerabilities detected",
"points": 7.5,
"status": "met",
"details": [],
"max_points": 7.5
}
]
},
{
"key": "dependency_advisories",
"band": "excellent",
"name": "Dependency advisories",
"note": "Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 3 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.",
"notes": [
{
"code": "excluded_no_data",
"params": {
"components": [
"indirect_dependencies_free_of_known_advisories",
"no_advisories_left_outstanding"
]
}
},
{
"code": "weights_renormalized",
"params": {}
},
{
"code": "advisories_scope_repository",
"params": {
"assessed": 3
}
},
{
"code": "advisories_repo_graph_caveat",
"params": {}
},
{
"code": "advisories_reachability",
"params": {}
}
],
"value": 100,
"inputs": {
"source": "osv",
"advisories": 0,
"affected_packages": 0,
"assessed_packages": 3,
"unassessed_packages": 0,
"affected_by_severity": "none",
"direct_affected_packages": 0
},
"components": [
{
"key": "direct_dependencies_free_of_known_advisories",
"name": "Direct dependencies free of known advisories",
"detail": "no direct dependency carries a known advisory",
"points": 35,
"status": "met",
"details": [
{
"code": "no_direct_advisories",
"params": {}
}
],
"max_points": 35
},
{
"key": "indirect_dependencies_free_of_known_advisories",
"name": "Indirect dependencies free of known advisories",
"detail": "transitive set not separable from development and test dependencies in this scope",
"points": 0,
"status": "excluded",
"details": [
{
"code": "advisories_scope_not_separable",
"params": {}
}
],
"max_points": 25
},
{
"key": "no_advisories_left_outstanding",
"name": "No advisories left outstanding",
"detail": "no advisory carries a publication date",
"points": 0,
"status": "excluded",
"details": [
{
"code": "advisories_no_publication_date",
"params": {}
}
],
"max_points": 40
}
]
},
{
"key": "malicious_dependencies",
"band": "excellent",
"name": "Malicious dependencies",
"note": null,
"notes": [],
"value": 100,
"inputs": {
"source": "osv",
"meaning": "reported as a malicious package by the OpenSSF corpus; the remedy is removal or moving off the compromised name, never an upgrade of the same artifact. Versions the registry has since pulled are listed but not scored",
"packages": [],
"red_flag": false,
"assessed_packages": 3,
"malicious_packages": 0,
"direct_malicious_packages": 0,
"withdrawn_malicious_packages": 0,
"installable_malicious_packages": 0
},
"components": [
{
"key": "no_dependency_reported_as_a_malicious_package",
"name": "No dependency reported as a malicious package",
"detail": "no dependency is reported as a malicious package",
"points": 100,
"status": "met",
"details": [
{
"code": "no_malicious_dependencies",
"params": {}
}
],
"max_points": 100
}
]
},
{
"key": "high_risk_jurisdiction_exposure",
"band": "moderate",
"name": "High-Risk Jurisdiction Exposure",
"note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
"notes": [
{
"code": "jurisdiction_evidence_limits",
"params": {}
}
],
"value": 50,
"inputs": {
"meaning": "self-published location evidence; not nationality or citizenship",
"red_flag": true,
"exposures": [
{
"role": "top_contributor",
"count": 1,
"country": "Russia"
}
],
"policy_countries": [
"Russia",
"Iran",
"North Korea"
],
"review_only_matches": 0,
"assessed_self_published_locations": 3
},
"components": [
{
"key": "policy_exposure_multiplier",
"name": "Policy exposure multiplier",
"detail": "Russia: top_contributor (1)",
"points": 50,
"status": "partial",
"details": [
{
"code": "jurisdiction_exposure",
"params": {
"role": "top_contributor",
"count": 1,
"country": "Russia"
}
}
],
"max_points": 100
}
]
}
],
"description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
},
{
"key": "ai_readiness",
"band": "moderate",
"name": "AI Readiness",
"value": 66,
"weight": 0,
"metrics": [
{
"key": "ai_agent_context",
"band": "at_risk",
"name": "Agent context & guidance",
"note": null,
"notes": [],
"value": 40,
"inputs": {
"has_llms_txt": false,
"legible_history_share": 0.979,
"agent_instruction_files": [],
"agent_instruction_max_bytes": null
},
"components": [
{
"key": "agent_instructions",
"name": "Agent instructions",
"detail": "no CLAUDE.md / AGENTS.md / editor rules",
"points": 0,
"status": "missed",
"details": [
{
"code": "no_agent_instructions",
"params": {}
}
],
"max_points": 45
},
{
"key": "machine_readable_docs_llms_txt",
"name": "Machine-readable docs (llms.txt)",
"detail": null,
"points": 0,
"status": "missed",
"details": [],
"max_points": 15
},
{
"key": "legible_commit_history",
"name": "Legible commit history",
"detail": "95 of 97 human commits state their intent (structured subject or explanatory body)",
"points": 40,
"status": "met",
"details": [
{
"code": "legible_history",
"params": {
"legible": 95,
"sampled": 97
}
}
],
"max_points": 40
}
]
},
{
"key": "ai_verify_loop",
"band": "good",
"name": "Verify loop (build / test / typecheck)",
"note": null,
"notes": [],
"value": 72,
"inputs": {
"has_nix": false,
"has_tests": true,
"lockfiles": [
"go.sum"
],
"has_dockerfile": false,
"typed_language": true,
"bootstrap_files": [
"Taskfile.yml"
],
"has_devcontainer": false,
"has_linter_config": true,
"typecheck_configs": [],
"agent_commit_share": 0,
"toolchain_manifests": [
"go.mod"
],
"dependency_bot_commit_share": 0
},
"components": [
{
"key": "one_command_bootstrap",
"name": "One-command bootstrap",
"detail": "Taskfile.yml",
"points": 18,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": "Taskfile.yml"
}
}
],
"max_points": 18
},
{
"key": "automated_tests",
"name": "Automated tests",
"detail": null,
"points": 22,
"status": "met",
"details": [],
"max_points": 22
},
{
"key": "lint_format_config",
"name": "Lint / format config",
"detail": ".golangci.yaml",
"points": 11,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": ".golangci.yaml"
}
}
],
"max_points": 11
},
{
"key": "static_type_checking",
"name": "Static type checking",
"detail": "Go (statically typed)",
"points": 11,
"status": "met",
"details": [
{
"code": "statically_typed_language",
"params": {
"language": "Go"
}
}
],
"max_points": 11
},
{
"key": "reproducible_environment",
"name": "Reproducible environment",
"detail": "lockfile",
"points": 10,
"status": "met",
"details": [
{
"code": "file_list",
"params": {
"files": "lockfile"
}
}
],
"max_points": 10
},
{
"key": "demonstrated_agent_practice",
"name": "Demonstrated agent practice",
"detail": "no agent-authored commits among the last 97",
"points": 0,
"status": "missed",
"details": [
{
"code": "no_agent_authored_commits",
"params": {
"sampled": 97
}
}
],
"max_points": 10
},
{
"key": "automated_maintenance",
"name": "Automated maintenance",
"detail": "no automated dependency updates observed",
"points": 0,
"status": "missed",
"details": [
{
"code": "no_dependency_automation",
"params": {}
}
],
"max_points": 8
},
{
"key": "openssf_scorecard_pinned_dependencies",
"name": "OpenSSF Scorecard: Pinned-Dependencies",
"detail": "dependency not pinned by hash detected -- score normalized to 0",
"points": 0,
"status": "missed",
"details": [],
"max_points": 10
}
]
},
{
"key": "ai_code_legibility",
"band": "excellent",
"name": "Code legibility for models",
"note": null,
"notes": [],
"value": 100,
"inputs": {
"primary_language": "Go",
"largest_source_bytes": 54496,
"source_files_sampled": 401,
"oversized_source_files": 0
},
"components": [
{
"key": "type_checkable_code",
"name": "Type-checkable code",
"detail": "Go (statically typed)",
"points": 45,
"status": "met",
"details": [
{
"code": "statically_typed_language",
"params": {
"language": "Go"
}
}
],
"max_points": 45
},
{
"key": "manageable_file_sizes",
"name": "Manageable file sizes",
"detail": "0/401 source files over 60KB",
"points": 55,
"status": "met",
"details": [
{
"code": "oversized_source_files",
"params": {
"kb": 60,
"sampled": 401,
"oversized": 0
}
}
],
"max_points": 55
}
]
}
],
"description": "How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score."
}
],
"metrics_version": "1.13.0"
},
"warnings": [
"Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token"
],
"report_type": "repository",
"generated_at": "2026-07-27T04:40:20.774944Z",
"schema_version": "0.27.0",
"badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/t/tphakala/go-opus.svg",
"full_name": "tphakala/go-opus",
"license_state": "custom",
"license_spdx": null
}