python scripts/validate_encoder.py prepare
python scripts/validate_encoder.py cross
python scripts/validate_encoder.py compare --cli PATH_TO_MOONFLAC --ffmpeg PATH_TO_FFMPEG
python scripts/validate_encoder.py full-corpus --cli PATH_TO_MOONFLAC --timeout 600
python scripts/validate_encoder.py forced --log validation/results/encoder-forced.log
moon build --target native --release --target-dir _build/encoder-bench cmd/moonflac
python scripts/validate_encoder.py benchmark --cli _build/encoder-bench/native/release/build/cmd/moonflac/moonflac.exemoon test encoder_frame_wbtest.mbt --filter "encoder external forced syntax fixtures" --target native --target-dir _build/frame_encoder_native > validation/results/encoder-forced.log 2>&1| File | Executed evidence |
|---|---|
| encoder-native.json | 315 original CLI cases; all exact PCM/official integrity/analysis checks pass |
| encoder-changing.json | 13 additional real changing-format segments, independently decoded after encoding |
| encoder-full-corpus.json | All75 valid public source files in full,84 homogeneous outputs, exact PCM and official integrity verification |
| encoder-backends.json | 276 streams per backend,828 total independent passes |
| encoder-forced.json | 137 independent forced-representation passes with analyzer feature records |
| encoder-constant32.json | Natural allzero32-bit candidate-selection regression after the final cost fix |
| encoder-benchmark.json | 18 measured MoonFLAC/libFLAC encode runs; all outputs independently validated |
Install
Download zipPure MoonBit FLAC encoding and decoding for native, JavaScript and WebAssembly GC