﻿{
    "generated_at":  "2026-05-11T16:45:18.4224747Z",
    "started_at":  "2026-05-11T16:45:11.7939310Z",
    "duration_ms":  6628.5437,
    "machine_name":  "LIMITLESS",
    "ps_version":  "5.1.26100.8115",
    "test_name":  "OneCharacterCode Benchmark V2 - Optimized Prototype",
    "prototype_note":  "V2 is an improved prototype symbolic dictionary encoder. It is NOT the final patented OneCharacterCode engine. All compression numbers are reported honestly; reconstruction must PASS for any number to count.",
    "optimizations":  [
                          "Tier 1 = 1-byte tokens for top 8 highest-savings entries",
                          "Tier 2 = 2-byte tokens (ESC 0x0E + index) for next 256 entries",
                          "Net-gain threshold per entry: skip if (savings_per_use * count) - dict_cost \u003c= 0",
                          "Greedy savings-ranked acceptance with overlap rejection",
                          "Multiple phrase lengths: 32, 24, 16, 12, 10, 8, 6, 5, 4, 3",
                          "Reserved-byte escape (0x0F prefix) for source bytes in 0x01-0x08, 0x0E, 0x0F",
                          "gzip(OCC V2) measured separately so reader can see whether OCC helped gzip"
                      ],
    "results":  [
                    {
                        "input_file":  "JSON_AGENT_SAMPLE.json",
                        "raw_bytes":  5458,
                        "gzip_raw_bytes":  2529,
                        "occ_v1_bytes":  6188,
                        "occ_v2_bytes":  4324,
                        "gzip_occ_v2_bytes":  2774,
                        "raw_sha256":  "0dd8cf66dc4a8e96291f46310d0884e7676ae3bd84d4630ece3bdb1896b55d0b",
                        "reconstructed_sha256":  "0dd8cf66dc4a8e96291f46310d0884e7676ae3bd84d4630ece3bdb1896b55d0b",
                        "reconstruction_status":  "PASS",
                        "gzip_raw_reduction_pct":  53.66,
                        "occ_v1_reduction_pct":  -13.37,
                        "occ_v2_reduction_pct":  20.78,
                        "gzip_occ_v2_reduction_pct":  49.18,
                        "v2_vs_v1_reduction_pct":  30.12,
                        "notes":  "V2 prototype symbolic dictionary encoder - tier1+tier2 tokens, net-gain threshold, greedy savings-ranked accept. NOT the final patented engine. Round-trip SHA-256 verified."
                    },
                    {
                        "input_file":  "SIMPLE_HTML_SAMPLE.html",
                        "raw_bytes":  6904,
                        "gzip_raw_bytes":  2929,
                        "occ_v1_bytes":  8738,
                        "occ_v2_bytes":  5359,
                        "gzip_occ_v2_bytes":  3315,
                        "raw_sha256":  "c26af82d440daab527f9cd5e105f416356d42d75a95d9a5ae9e18a40939789e5",
                        "reconstructed_sha256":  "c26af82d440daab527f9cd5e105f416356d42d75a95d9a5ae9e18a40939789e5",
                        "reconstruction_status":  "PASS",
                        "gzip_raw_reduction_pct":  57.58,
                        "occ_v1_reduction_pct":  -26.56,
                        "occ_v2_reduction_pct":  22.38,
                        "gzip_occ_v2_reduction_pct":  51.98,
                        "v2_vs_v1_reduction_pct":  38.67,
                        "notes":  "V2 prototype symbolic dictionary encoder - tier1+tier2 tokens, net-gain threshold, greedy savings-ranked accept. NOT the final patented engine. Round-trip SHA-256 verified."
                    },
                    {
                        "input_file":  "TEXT_ARTICLE_SAMPLE.txt",
                        "raw_bytes":  8824,
                        "gzip_raw_bytes":  3529,
                        "occ_v1_bytes":  10714,
                        "occ_v2_bytes":  6800,
                        "gzip_occ_v2_bytes":  4000,
                        "raw_sha256":  "f410ca5401c070c2e78a5f2970e32c72e0e79887dd1964979412e354355d6100",
                        "reconstructed_sha256":  "f410ca5401c070c2e78a5f2970e32c72e0e79887dd1964979412e354355d6100",
                        "reconstruction_status":  "PASS",
                        "gzip_raw_reduction_pct":  60.01,
                        "occ_v1_reduction_pct":  -21.42,
                        "occ_v2_reduction_pct":  22.94,
                        "gzip_occ_v2_reduction_pct":  54.67,
                        "v2_vs_v1_reduction_pct":  36.53,
                        "notes":  "V2 prototype symbolic dictionary encoder - tier1+tier2 tokens, net-gain threshold, greedy savings-ranked accept. NOT the final patented engine. Round-trip SHA-256 verified."
                    }
                ]
}
