| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| LICENSE | 2026-08-29 | 10.8 kB | |
| CHANGELOG.md | 2026-08-29 | 1.3 kB | |
| README.md | 2026-08-29 | 4.6 kB | |
| LombokECC-0.0.4-Peterson-GZ Replaces BMA.zip | 2026-08-29 | 20.7 kB | |
| LombokECC-0.0.4.-Peterson-GZ Replaces BMA.tar.gz | 2026-08-29 | 16.2 kB | |
| Totals: 5 Items | 53.4 kB | 0 | |
LombokECC — Reed-Solomon Error Correction Codes
A TypeScript implementation of Reed-Solomon error-correction codes over GF(256).
Version: v0.0.4 · Status: Peterson-GZ replaces BMA, decoder nearly working
GitHub
Quality
Lombok Ecosystem
Changes from v0.0.3
- BREAKING: Berlekamp-Massey replaced by Peterson-Gorenstein-Zierler (Gaussian elimination over GF(256))
- BREAKING: Forney formula replaced by direct error-value solver
- Major rewrite of reed-solomon.ts (296 diff lines vs v0.0.3)
- Error-value computation verified correct
- Chien search finds correct error positions
What works
- GF(256) field arithmetic
- Systematic RS encoding
[parity(16) || message(239)] - Peterson-GZ error-locator polynomial computation
- Chien search error position finding
- Direct error-value solver
Known issue
- Message extraction after correction has offset bug — decoder computes correct error values but returns wrong portion of corrected codeword
Build & Test
npm install
npm run build # tsc → dist/
npm run test:full # encoder + GF polynomial tests (PASS)
npm run test:decode # decoder test (EXPECTED FAIL — decoder belum works)
Note:
npm run test:fullhanya menjalankan test yang PASS di versi ini.test:decodetersedia terpisah untuk debugging — akan FAIL karena decoder belum selesai.
Publishing
git tag -a v0.0.4 -m "LombokECC 0.0.4" && git push origin main --tags
License
Apache-2.0 — LICENSE
Repository: github.com/codinglombok/LombokECC