{
  "schemaVersion": 1,
  "benchmarkDate": "2026-10-29",
  "recomputeCommand": "node --experimental-strip-types scripts/cipher-identifier-benchmark.ts",
  "scriptPath": "scripts/cipher-identifier-benchmark.ts",
  "corpusDescription": "Twelve traditional public-domain English proverbs, modern spelling. A small fixed English sample, not a representative accuracy estimate for arbitrary inputs.",
  "corpus": [
    "A stitch in time saves nine.",
    "Actions speak louder than words.",
    "All that glitters is not gold.",
    "Better late than never.",
    "Birds of a feather flock together.",
    "Every cloud has a silver lining.",
    "Fortune favors the bold.",
    "Look before you leap.",
    "Necessity is the mother of invention.",
    "Practice makes perfect.",
    "The early bird catches the worm.",
    "Where there is a will, there is a way."
  ],
  "methodology": {
    "correctness": "Exact method label in the ranked candidates; Caesar shifts 3 and 7 share the Caesar Cipher label. A correct label does not guarantee the correct shift or plaintext.",
    "top3": "Correct label occurs among the first three returned candidates; fewer than three candidates is allowed.",
    "confidence": "Median of the correct label score only when that label is returned (at any rank). Null means no correct label was returned. Scores are heuristic, not calibrated probabilities.",
    "mixUp": "Most frequent wrong first label, including No candidate. Ties broken alphabetically; full counts and individual outputs are retained.",
    "html": "All characters encoded as decimal ASCII entities. Node uses the existing pure HTML decoder, equivalent to the browser textarea for this corpus only; the browser still uses its original textarea parser.",
    "roundTrips": "Decode with the known method and key, independently of detection success. Compare with each method normalization; Morse, Bacon, A1Z26 and Playfair do not preserve all original formatting.",
    "controls": "These codecs exist on the site but are not detection candidates. Their first-label distributions expose false positives and abstentions."
  },
  "methods": [
    {
      "control": false,
      "normalization": "Exact original text.",
      "id": "base64",
      "name": "Base64",
      "expectedLabel": "Base64",
      "toolPath": "/tools/base64-encoder",
      "source": "src/lib/cipher-identifier.ts",
      "settings": "UTF-8, standard alphabet, padding.",
      "n": 12,
      "top1Correct": 12,
      "top3Correct": 12,
      "mostCommonWrongTop1": null,
      "wrongTop1Counts": [],
      "medianCorrectConfidence": 79,
      "correctConfidenceSamples": 12,
      "top1Counts": [
        {
          "label": "Base64",
          "count": 12
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "QSBzdGl0Y2ggaW4gdGltZSBzYXZlcyBuaW5lLg==",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 77,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 77,
              "decoded": "A stitch in time saves nine.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 1,
          "ciphertext": "QWN0aW9ucyBzcGVhayBsb3VkZXIgdGhhbiB3b3Jkcy4=",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 80,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 80,
              "decoded": "Actions speak louder than words.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": "QWxsIHRoYXQgZ2xpdHRlcnMgaXMgbm90IGdvbGQu",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 75,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 75,
              "decoded": "All that glitters is not gold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "QmV0dGVyIGxhdGUgdGhhbiBuZXZlci4=",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 80,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 80,
              "decoded": "Better late than never.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "QmlyZHMgb2YgYSBmZWF0aGVyIGZsb2NrIHRvZ2V0aGVyLg==",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 83,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 83,
              "decoded": "Birds of a feather flock together.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "RXZlcnkgY2xvdWQgaGFzIGEgc2lsdmVyIGxpbmluZy4=",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 78,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 78,
              "decoded": "Every cloud has a silver lining.",
              "detail": null
            },
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 60,
              "decoded": "TZBnepmiA2zxfYSicIHbKIGie2nufoXaKIzrdonwBa4=",
              "detail": "Shift 24"
            }
          ]
        },
        {
          "corpusIndex": 6,
          "ciphertext": "Rm9ydHVuZSBmYXZvcnMgdGhlIGJvbGQu",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 74,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 74,
              "decoded": "Fortune favors the bold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "TG9vayBiZWZvcmUgeW91IGxlYXAu",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 70,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 70,
              "decoded": "Look before you leap.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 8,
          "ciphertext": "TmVjZXNzaXR5IGlzIHRoZSBtb3RoZXIgb2YgaW52ZW50aW9uLg==",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 85,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 85,
              "decoded": "Necessity is the mother of invention.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "UHJhY3RpY2UgbWFrZXMgcGVyZmVjdC4=",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 77,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 77,
              "decoded": "Practice makes perfect.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 10,
          "ciphertext": "VGhlIGVhcmx5IGJpcmQgY2F0Y2hlcyB0aGUgd29ybS4=",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 82,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 82,
              "decoded": "The early bird catches the worm.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "V2hlcmUgdGhlcmUgaXMgYSB3aWxsLCB0aGVyZSBpcyBhIHdheS4=",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "Base64",
          "correctRank": 1,
          "correctConfidence": 83,
          "candidates": [
            {
              "method": "base64",
              "label": "Base64",
              "confidence": 83,
              "decoded": "Where there is a will, there is a way.",
              "detail": null
            }
          ]
        }
      ]
    },
    {
      "control": false,
      "normalization": "Exact original text.",
      "id": "url",
      "name": "URL encoding",
      "expectedLabel": "URL Encoding",
      "toolPath": "/tools/url-encoder",
      "source": "src/lib/cipher-identifier.ts",
      "settings": "encodeURIComponent; spaces as %20.",
      "n": 12,
      "top1Correct": 12,
      "top3Correct": 12,
      "mostCommonWrongTop1": null,
      "wrongTop1Counts": [],
      "medianCorrectConfidence": 95,
      "correctConfidenceSamples": 12,
      "top1Counts": [
        {
          "label": "URL Encoding",
          "count": 12
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "A%20stitch%20in%20time%20saves%20nine.",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 95,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 95,
              "decoded": "A stitch in time saves nine.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 1,
          "ciphertext": "Actions%20speak%20louder%20than%20words.",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 95,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 95,
              "decoded": "Actions speak louder than words.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": "All%20that%20glitters%20is%20not%20gold.",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 95,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 95,
              "decoded": "All that glitters is not gold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "Better%20late%20than%20never.",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 88,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 88,
              "decoded": "Better late than never.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "Birds%20of%20a%20feather%20flock%20together.",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 95,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 95,
              "decoded": "Birds of a feather flock together.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "Every%20cloud%20has%20a%20silver%20lining.",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 95,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 95,
              "decoded": "Every cloud has a silver lining.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 6,
          "ciphertext": "Fortune%20favors%20the%20bold.",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 91,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 91,
              "decoded": "Fortune favors the bold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "Look%20before%20you%20leap.",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 88,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 88,
              "decoded": "Look before you leap.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 8,
          "ciphertext": "Necessity%20is%20the%20mother%20of%20invention.",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 95,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 95,
              "decoded": "Necessity is the mother of invention.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "Practice%20makes%20perfect.",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 78,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 78,
              "decoded": "Practice makes perfect.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 10,
          "ciphertext": "The%20early%20bird%20catches%20the%20worm.",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 95,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 95,
              "decoded": "The early bird catches the worm.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "Where%20there%20is%20a%20will%2C%20there%20is%20a%20way.",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "URL Encoding",
          "correctRank": 1,
          "correctConfidence": 95,
          "candidates": [
            {
              "method": "url",
              "label": "URL Encoding",
              "confidence": 95,
              "decoded": "Where there is a will, there is a way.",
              "detail": null
            }
          ]
        }
      ]
    },
    {
      "control": false,
      "normalization": "Exact original text.",
      "id": "html-entity",
      "name": "HTML entities",
      "expectedLabel": "HTML Entity Encoding",
      "toolPath": "/tools/html-entity-encoder",
      "source": "src/lib/encoders/html-entity.ts",
      "settings": "Decimal numeric entities, encodeAll=true.",
      "n": 12,
      "top1Correct": 12,
      "top3Correct": 12,
      "mostCommonWrongTop1": null,
      "wrongTop1Counts": [],
      "medianCorrectConfidence": 92,
      "correctConfidenceSamples": 12,
      "top1Counts": [
        {
          "label": "HTML Entity Encoding",
          "count": 12
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "&#65;&#32;&#115;&#116;&#105;&#116;&#99;&#104;&#32;&#105;&#110;&#32;&#116;&#105;&#109;&#101;&#32;&#115;&#97;&#118;&#101;&#115;&#32;&#110;&#105;&#110;&#101;&#46;",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "A stitch in time saves nine.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 1,
          "ciphertext": "&#65;&#99;&#116;&#105;&#111;&#110;&#115;&#32;&#115;&#112;&#101;&#97;&#107;&#32;&#108;&#111;&#117;&#100;&#101;&#114;&#32;&#116;&#104;&#97;&#110;&#32;&#119;&#111;&#114;&#100;&#115;&#46;",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "Actions speak louder than words.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": "&#65;&#108;&#108;&#32;&#116;&#104;&#97;&#116;&#32;&#103;&#108;&#105;&#116;&#116;&#101;&#114;&#115;&#32;&#105;&#115;&#32;&#110;&#111;&#116;&#32;&#103;&#111;&#108;&#100;&#46;",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "All that glitters is not gold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "&#66;&#101;&#116;&#116;&#101;&#114;&#32;&#108;&#97;&#116;&#101;&#32;&#116;&#104;&#97;&#110;&#32;&#110;&#101;&#118;&#101;&#114;&#46;",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "Better late than never.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "&#66;&#105;&#114;&#100;&#115;&#32;&#111;&#102;&#32;&#97;&#32;&#102;&#101;&#97;&#116;&#104;&#101;&#114;&#32;&#102;&#108;&#111;&#99;&#107;&#32;&#116;&#111;&#103;&#101;&#116;&#104;&#101;&#114;&#46;",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "Birds of a feather flock together.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "&#69;&#118;&#101;&#114;&#121;&#32;&#99;&#108;&#111;&#117;&#100;&#32;&#104;&#97;&#115;&#32;&#97;&#32;&#115;&#105;&#108;&#118;&#101;&#114;&#32;&#108;&#105;&#110;&#105;&#110;&#103;&#46;",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "Every cloud has a silver lining.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 6,
          "ciphertext": "&#70;&#111;&#114;&#116;&#117;&#110;&#101;&#32;&#102;&#97;&#118;&#111;&#114;&#115;&#32;&#116;&#104;&#101;&#32;&#98;&#111;&#108;&#100;&#46;",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "Fortune favors the bold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "&#76;&#111;&#111;&#107;&#32;&#98;&#101;&#102;&#111;&#114;&#101;&#32;&#121;&#111;&#117;&#32;&#108;&#101;&#97;&#112;&#46;",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "Look before you leap.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 8,
          "ciphertext": "&#78;&#101;&#99;&#101;&#115;&#115;&#105;&#116;&#121;&#32;&#105;&#115;&#32;&#116;&#104;&#101;&#32;&#109;&#111;&#116;&#104;&#101;&#114;&#32;&#111;&#102;&#32;&#105;&#110;&#118;&#101;&#110;&#116;&#105;&#111;&#110;&#46;",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "Necessity is the mother of invention.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "&#80;&#114;&#97;&#99;&#116;&#105;&#99;&#101;&#32;&#109;&#97;&#107;&#101;&#115;&#32;&#112;&#101;&#114;&#102;&#101;&#99;&#116;&#46;",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "Practice makes perfect.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 10,
          "ciphertext": "&#84;&#104;&#101;&#32;&#101;&#97;&#114;&#108;&#121;&#32;&#98;&#105;&#114;&#100;&#32;&#99;&#97;&#116;&#99;&#104;&#101;&#115;&#32;&#116;&#104;&#101;&#32;&#119;&#111;&#114;&#109;&#46;",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "The early bird catches the worm.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "&#87;&#104;&#101;&#114;&#101;&#32;&#116;&#104;&#101;&#114;&#101;&#32;&#105;&#115;&#32;&#97;&#32;&#119;&#105;&#108;&#108;&#44;&#32;&#116;&#104;&#101;&#114;&#101;&#32;&#105;&#115;&#32;&#97;&#32;&#119;&#97;&#121;&#46;",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "HTML Entity Encoding",
          "correctRank": 1,
          "correctConfidence": 92,
          "candidates": [
            {
              "method": "html-entity",
              "label": "HTML Entity Encoding",
              "confidence": 92,
              "decoded": "Where there is a will, there is a way.",
              "detail": null
            }
          ]
        }
      ]
    },
    {
      "control": false,
      "normalization": "Exact original text.",
      "id": "hex",
      "name": "Hex",
      "expectedLabel": "Hex / ASCII Bytes",
      "toolPath": "/tools/binary-hex-converter",
      "source": "src/lib/cipher-identifier.ts",
      "settings": "Uppercase ASCII byte pairs, space-separated.",
      "n": 12,
      "top1Correct": 12,
      "top3Correct": 12,
      "mostCommonWrongTop1": null,
      "wrongTop1Counts": [],
      "medianCorrectConfidence": 75,
      "correctConfidenceSamples": 12,
      "top1Counts": [
        {
          "label": "Hex / ASCII Bytes",
          "count": 12
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "41 20 73 74 69 74 63 68 20 69 6E 20 74 69 6D 65 20 73 61 76 65 73 20 6E 69 6E 65 2E",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 72,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 72,
              "decoded": "A stitch in time saves nine.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 1,
          "ciphertext": "41 63 74 69 6F 6E 73 20 73 70 65 61 6B 20 6C 6F 75 64 65 72 20 74 68 61 6E 20 77 6F 72 64 73 2E",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 74,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 74,
              "decoded": "Actions speak louder than words.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": "41 6C 6C 20 74 68 61 74 20 67 6C 69 74 74 65 72 73 20 69 73 20 6E 6F 74 20 67 6F 6C 64 2E",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 78,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 78,
              "decoded": "All that glitters is not gold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "42 65 74 74 65 72 20 6C 61 74 65 20 74 68 61 6E 20 6E 65 76 65 72 2E",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 74,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 74,
              "decoded": "Better late than never.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "42 69 72 64 73 20 6F 66 20 61 20 66 65 61 74 68 65 72 20 66 6C 6F 63 6B 20 74 6F 67 65 74 68 65 72 2E",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 77,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 77,
              "decoded": "Birds of a feather flock together.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "45 76 65 72 79 20 63 6C 6F 75 64 20 68 61 73 20 61 20 73 69 6C 76 65 72 20 6C 69 6E 69 6E 67 2E",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 73,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 73,
              "decoded": "Every cloud has a silver lining.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 6,
          "ciphertext": "46 6F 72 74 75 6E 65 20 66 61 76 6F 72 73 20 74 68 65 20 62 6F 6C 64 2E",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 78,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 78,
              "decoded": "Fortune favors the bold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "4C 6F 6F 6B 20 62 65 66 6F 72 65 20 79 6F 75 20 6C 65 61 70 2E",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 74,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 74,
              "decoded": "Look before you leap.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 8,
          "ciphertext": "4E 65 63 65 73 73 69 74 79 20 69 73 20 74 68 65 20 6D 6F 74 68 65 72 20 6F 66 20 69 6E 76 65 6E 74 69 6F 6E 2E",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 78,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 78,
              "decoded": "Necessity is the mother of invention.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "50 72 61 63 74 69 63 65 20 6D 61 6B 65 73 20 70 65 72 66 65 63 74 2E",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 72,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 72,
              "decoded": "Practice makes perfect.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 10,
          "ciphertext": "54 68 65 20 65 61 72 6C 79 20 62 69 72 64 20 63 61 74 63 68 65 73 20 74 68 65 20 77 6F 72 6D 2E",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 76,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 76,
              "decoded": "The early bird catches the worm.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "57 68 65 72 65 20 74 68 65 72 65 20 69 73 20 61 20 77 69 6C 6C 2C 20 74 68 65 72 65 20 69 73 20 61 20 77 61 79 2E",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "Hex / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 77,
          "candidates": [
            {
              "method": "hex",
              "label": "Hex / ASCII Bytes",
              "confidence": 77,
              "decoded": "Where there is a will, there is a way.",
              "detail": null
            }
          ]
        }
      ]
    },
    {
      "control": false,
      "normalization": "Exact original text.",
      "id": "binary",
      "name": "Binary",
      "expectedLabel": "Binary / ASCII Bytes",
      "toolPath": "/tools/binary-hex-converter",
      "source": "src/lib/cipher-identifier.ts",
      "settings": "ASCII octets, space-separated.",
      "n": 12,
      "top1Correct": 12,
      "top3Correct": 12,
      "mostCommonWrongTop1": null,
      "wrongTop1Counts": [],
      "medianCorrectConfidence": 80,
      "correctConfidenceSamples": 12,
      "top1Counts": [
        {
          "label": "Binary / ASCII Bytes",
          "count": 12
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "01000001 00100000 01110011 01110100 01101001 01110100 01100011 01101000 00100000 01101001 01101110 00100000 01110100 01101001 01101101 01100101 00100000 01110011 01100001 01110110 01100101 01110011 00100000 01101110 01101001 01101110 01100101 00101110",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 77,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 77,
              "decoded": "A stitch in time saves nine.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 1,
          "ciphertext": "01000001 01100011 01110100 01101001 01101111 01101110 01110011 00100000 01110011 01110000 01100101 01100001 01101011 00100000 01101100 01101111 01110101 01100100 01100101 01110010 00100000 01110100 01101000 01100001 01101110 00100000 01110111 01101111 01110010 01100100 01110011 00101110",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 79,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 79,
              "decoded": "Actions speak louder than words.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": "01000001 01101100 01101100 00100000 01110100 01101000 01100001 01110100 00100000 01100111 01101100 01101001 01110100 01110100 01100101 01110010 01110011 00100000 01101001 01110011 00100000 01101110 01101111 01110100 00100000 01100111 01101111 01101100 01100100 00101110",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 83,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 83,
              "decoded": "All that glitters is not gold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "01000010 01100101 01110100 01110100 01100101 01110010 00100000 01101100 01100001 01110100 01100101 00100000 01110100 01101000 01100001 01101110 00100000 01101110 01100101 01110110 01100101 01110010 00101110",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 79,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 79,
              "decoded": "Better late than never.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "01000010 01101001 01110010 01100100 01110011 00100000 01101111 01100110 00100000 01100001 00100000 01100110 01100101 01100001 01110100 01101000 01100101 01110010 00100000 01100110 01101100 01101111 01100011 01101011 00100000 01110100 01101111 01100111 01100101 01110100 01101000 01100101 01110010 00101110",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 81,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 81,
              "decoded": "Birds of a feather flock together.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "01000101 01110110 01100101 01110010 01111001 00100000 01100011 01101100 01101111 01110101 01100100 00100000 01101000 01100001 01110011 00100000 01100001 00100000 01110011 01101001 01101100 01110110 01100101 01110010 00100000 01101100 01101001 01101110 01101001 01101110 01100111 00101110",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 77,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 77,
              "decoded": "Every cloud has a silver lining.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 6,
          "ciphertext": "01000110 01101111 01110010 01110100 01110101 01101110 01100101 00100000 01100110 01100001 01110110 01101111 01110010 01110011 00100000 01110100 01101000 01100101 00100000 01100010 01101111 01101100 01100100 00101110",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 82,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 82,
              "decoded": "Fortune favors the bold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "01001100 01101111 01101111 01101011 00100000 01100010 01100101 01100110 01101111 01110010 01100101 00100000 01111001 01101111 01110101 00100000 01101100 01100101 01100001 01110000 00101110",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 79,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 79,
              "decoded": "Look before you leap.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 8,
          "ciphertext": "01001110 01100101 01100011 01100101 01110011 01110011 01101001 01110100 01111001 00100000 01101001 01110011 00100000 01110100 01101000 01100101 00100000 01101101 01101111 01110100 01101000 01100101 01110010 00100000 01101111 01100110 00100000 01101001 01101110 01110110 01100101 01101110 01110100 01101001 01101111 01101110 00101110",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 83,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 83,
              "decoded": "Necessity is the mother of invention.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "01010000 01110010 01100001 01100011 01110100 01101001 01100011 01100101 00100000 01101101 01100001 01101011 01100101 01110011 00100000 01110000 01100101 01110010 01100110 01100101 01100011 01110100 00101110",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 77,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 77,
              "decoded": "Practice makes perfect.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 10,
          "ciphertext": "01010100 01101000 01100101 00100000 01100101 01100001 01110010 01101100 01111001 00100000 01100010 01101001 01110010 01100100 00100000 01100011 01100001 01110100 01100011 01101000 01100101 01110011 00100000 01110100 01101000 01100101 00100000 01110111 01101111 01110010 01101101 00101110",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 81,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 81,
              "decoded": "The early bird catches the worm.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "01010111 01101000 01100101 01110010 01100101 00100000 01110100 01101000 01100101 01110010 01100101 00100000 01101001 01110011 00100000 01100001 00100000 01110111 01101001 01101100 01101100 00101100 00100000 01110100 01101000 01100101 01110010 01100101 00100000 01101001 01110011 00100000 01100001 00100000 01110111 01100001 01111001 00101110",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "Binary / ASCII Bytes",
          "correctRank": 1,
          "correctConfidence": 81,
          "candidates": [
            {
              "method": "binary",
              "label": "Binary / ASCII Bytes",
              "confidence": 81,
              "decoded": "Where there is a will, there is a way.",
              "detail": null
            }
          ]
        }
      ]
    },
    {
      "control": false,
      "normalization": "Uppercase; punctuation and word spacing retained.",
      "id": "morse",
      "name": "Morse",
      "expectedLabel": "Morse Code",
      "toolPath": "/tools/morse-code",
      "source": "src/lib/encoders/morse.ts",
      "settings": "Slash word separators, no prosigns.",
      "n": 12,
      "top1Correct": 12,
      "top3Correct": 12,
      "mostCommonWrongTop1": null,
      "wrongTop1Counts": [],
      "medianCorrectConfidence": 84.5,
      "correctConfidenceSamples": 12,
      "top1Counts": [
        {
          "label": "Morse Code",
          "count": 12
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": ".- / ... - .. - -.-. .... / .. -. / - .. -- . / ... .- ...- . ... / -. .. -. . .-.-.-",
          "expectedPlaintext": "A STITCH IN TIME SAVES NINE.",
          "decodedRoundTrip": "A STITCH IN TIME SAVES NINE.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 82,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 82,
              "decoded": "A STITCH IN TIME SAVES NINE.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 1,
          "ciphertext": ".- -.-. - .. --- -. ... / ... .--. . .- -.- / .-.. --- ..- -.. . .-. / - .... .- -. / .-- --- .-. -.. ... .-.-.-",
          "expectedPlaintext": "ACTIONS SPEAK LOUDER THAN WORDS.",
          "decodedRoundTrip": "ACTIONS SPEAK LOUDER THAN WORDS.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 84,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 84,
              "decoded": "ACTIONS SPEAK LOUDER THAN WORDS.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": ".- .-.. .-.. / - .... .- - / --. .-.. .. - - . .-. ... / .. ... / -. --- - / --. --- .-.. -.. .-.-.-",
          "expectedPlaintext": "ALL THAT GLITTERS IS NOT GOLD.",
          "decodedRoundTrip": "ALL THAT GLITTERS IS NOT GOLD.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 87,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 87,
              "decoded": "ALL THAT GLITTERS IS NOT GOLD.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "-... . - - . .-. / .-.. .- - . / - .... .- -. / -. . ...- . .-. .-.-.-",
          "expectedPlaintext": "BETTER LATE THAN NEVER.",
          "decodedRoundTrip": "BETTER LATE THAN NEVER.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 84,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 84,
              "decoded": "BETTER LATE THAN NEVER.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "-... .. .-. -.. ... / --- ..-. / .- / ..-. . .- - .... . .-. / ..-. .-.. --- -.-. -.- / - --- --. . - .... . .-. .-.-.-",
          "expectedPlaintext": "BIRDS OF A FEATHER FLOCK TOGETHER.",
          "decodedRoundTrip": "BIRDS OF A FEATHER FLOCK TOGETHER.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 86,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 86,
              "decoded": "BIRDS OF A FEATHER FLOCK TOGETHER.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": ". ...- . .-. -.-- / -.-. .-.. --- ..- -.. / .... .- ... / .- / ... .. .-.. ...- . .-. / .-.. .. -. .. -. --. .-.-.-",
          "expectedPlaintext": "EVERY CLOUD HAS A SILVER LINING.",
          "decodedRoundTrip": "EVERY CLOUD HAS A SILVER LINING.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 82,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 82,
              "decoded": "EVERY CLOUD HAS A SILVER LINING.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 6,
          "ciphertext": "..-. --- .-. - ..- -. . / ..-. .- ...- --- .-. ... / - .... . / -... --- .-.. -.. .-.-.-",
          "expectedPlaintext": "FORTUNE FAVORS THE BOLD.",
          "decodedRoundTrip": "FORTUNE FAVORS THE BOLD.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 87,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 87,
              "decoded": "FORTUNE FAVORS THE BOLD.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": ".-.. --- --- -.- / -... . ..-. --- .-. . / -.-- --- ..- / .-.. . .- .--. .-.-.-",
          "expectedPlaintext": "LOOK BEFORE YOU LEAP.",
          "decodedRoundTrip": "LOOK BEFORE YOU LEAP.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 84,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 84,
              "decoded": "LOOK BEFORE YOU LEAP.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 8,
          "ciphertext": "-. . -.-. . ... ... .. - -.-- / .. ... / - .... . / -- --- - .... . .-. / --- ..-. / .. -. ...- . -. - .. --- -. .-.-.-",
          "expectedPlaintext": "NECESSITY IS THE MOTHER OF INVENTION.",
          "decodedRoundTrip": "NECESSITY IS THE MOTHER OF INVENTION.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 87,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 87,
              "decoded": "NECESSITY IS THE MOTHER OF INVENTION.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": ".--. .-. .- -.-. - .. -.-. . / -- .- -.- . ... / .--. . .-. ..-. . -.-. - .-.-.-",
          "expectedPlaintext": "PRACTICE MAKES PERFECT.",
          "decodedRoundTrip": "PRACTICE MAKES PERFECT.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 82,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 82,
              "decoded": "PRACTICE MAKES PERFECT.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 10,
          "ciphertext": "- .... . / . .- .-. .-.. -.-- / -... .. .-. -.. / -.-. .- - -.-. .... . ... / - .... . / .-- --- .-. -- .-.-.-",
          "expectedPlaintext": "THE EARLY BIRD CATCHES THE WORM.",
          "decodedRoundTrip": "THE EARLY BIRD CATCHES THE WORM.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 85,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 85,
              "decoded": "THE EARLY BIRD CATCHES THE WORM.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": ".-- .... . .-. . / - .... . .-. . / .. ... / .- / .-- .. .-.. .-.. --..-- / - .... . .-. . / .. ... / .- / .-- .- -.-- .-.-.-",
          "expectedPlaintext": "WHERE THERE IS A WILL, THERE IS A WAY.",
          "decodedRoundTrip": "WHERE THERE IS A WILL, THERE IS A WAY.",
          "top1": "Morse Code",
          "correctRank": 1,
          "correctConfidence": 86,
          "candidates": [
            {
              "method": "morse",
              "label": "Morse Code",
              "confidence": 86,
              "decoded": "WHERE THERE IS A WILL, THERE IS A WAY.",
              "detail": null
            }
          ]
        }
      ]
    },
    {
      "control": false,
      "normalization": "Exact original text.",
      "id": "rot13",
      "name": "ROT13",
      "expectedLabel": "ROT13",
      "toolPath": "/tools/rot13-rot47",
      "source": "src/lib/ciphers/caesar.ts",
      "settings": "Shift 13; preserve case and punctuation.",
      "n": 12,
      "top1Correct": 6,
      "top3Correct": 6,
      "mostCommonWrongTop1": {
        "label": "No candidate",
        "count": 5
      },
      "wrongTop1Counts": [
        {
          "label": "No candidate",
          "count": 5
        },
        {
          "label": "Plain Text / Unknown",
          "count": 1
        }
      ],
      "medianCorrectConfidence": 74,
      "correctConfidenceSamples": 6,
      "top1Counts": [
        {
          "label": "ROT13",
          "count": 6
        },
        {
          "label": "No candidate",
          "count": 5
        },
        {
          "label": "Plain Text / Unknown",
          "count": 1
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "N fgvgpu va gvzr fnirf avar.",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 1,
          "ciphertext": "Npgvbaf fcrnx ybhqre guna jbeqf.",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 2,
          "ciphertext": "Nyy gung tyvggref vf abg tbyq.",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "ROT13",
          "correctRank": 1,
          "correctConfidence": 81,
          "candidates": [
            {
              "method": "rot13",
              "label": "ROT13",
              "confidence": 81,
              "decoded": "All that glitters is not gold.",
              "detail": "Shift 13"
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "Orggre yngr guna arire.",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 56,
              "decoded": "Orggre yngr guna arire.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "Oveqf bs n srngure sybpx gbtrgure.",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "ROT13",
          "correctRank": 1,
          "correctConfidence": 74,
          "candidates": [
            {
              "method": "rot13",
              "label": "ROT13",
              "confidence": 74,
              "decoded": "Birds of a feather flock together.",
              "detail": "Shift 13"
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "Rirel pybhq unf n fvyire yvavat.",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 6,
          "ciphertext": "Sbeghar snibef gur obyq.",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "ROT13",
          "correctRank": 1,
          "correctConfidence": 71,
          "candidates": [
            {
              "method": "rot13",
              "label": "ROT13",
              "confidence": 71,
              "decoded": "Fortune favors the bold.",
              "detail": "Shift 13"
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "Ybbx orsber lbh yrnc.",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 8,
          "ciphertext": "Arprffvgl vf gur zbgure bs vairagvba.",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "ROT13",
          "correctRank": 1,
          "correctConfidence": 80,
          "candidates": [
            {
              "method": "rot13",
              "label": "ROT13",
              "confidence": 80,
              "decoded": "Necessity is the mother of invention.",
              "detail": "Shift 13"
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "Cenpgvpr znxrf cresrpg.",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 10,
          "ciphertext": "Gur rneyl oveq pngpurf gur jbez.",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "ROT13",
          "correctRank": 1,
          "correctConfidence": 74,
          "candidates": [
            {
              "method": "rot13",
              "label": "ROT13",
              "confidence": 74,
              "decoded": "The early bird catches the worm.",
              "detail": "Shift 13"
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "Jurer gurer vf n jvyy, gurer vf n jnl.",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "ROT13",
          "correctRank": 1,
          "correctConfidence": 71,
          "candidates": [
            {
              "method": "rot13",
              "label": "ROT13",
              "confidence": 71,
              "decoded": "Where there is a will, there is a way.",
              "detail": "Shift 13"
            }
          ]
        }
      ]
    },
    {
      "control": false,
      "normalization": "Exact original text.",
      "id": "caesar-3",
      "name": "Caesar shift 3",
      "expectedLabel": "Caesar Cipher",
      "toolPath": "/tools/caesar-cipher",
      "source": "src/lib/ciphers/caesar.ts",
      "settings": "Shift 3; preserve case and punctuation.",
      "n": 12,
      "top1Correct": 8,
      "top3Correct": 8,
      "mostCommonWrongTop1": {
        "label": "No candidate",
        "count": 4
      },
      "wrongTop1Counts": [
        {
          "label": "No candidate",
          "count": 4
        }
      ],
      "medianCorrectConfidence": 63,
      "correctConfidenceSamples": 8,
      "top1Counts": [
        {
          "label": "Caesar Cipher",
          "count": 8
        },
        {
          "label": "No candidate",
          "count": 4
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "D vwlwfk lq wlph vdyhv qlqh.",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 1,
          "ciphertext": "Dfwlrqv vshdn orxghu wkdq zrugv.",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 60,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 60,
              "decoded": "Actions speak louder than words.",
              "detail": "Shift 3"
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": "Doo wkdw jolwwhuv lv qrw jrog.",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 76,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 76,
              "decoded": "All that glitters is not gold.",
              "detail": "Shift 3"
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "Ehwwhu odwh wkdq qhyhu.",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 60,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 60,
              "decoded": "Better late than never.",
              "detail": "Shift 3"
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "Elugv ri d ihdwkhu iorfn wrjhwkhu.",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 60,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 60,
              "decoded": "Birds of a feather flock together.",
              "detail": "Shift 3"
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "Hyhub forxg kdv d vloyhu olqlqj.",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 6,
          "ciphertext": "Iruwxqh idyruv wkh erog.",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 60,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 60,
              "decoded": "Fortune favors the bold.",
              "detail": "Shift 3"
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "Orrn ehiruh brx ohds.",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 8,
          "ciphertext": "Qhfhvvlwb lv wkh prwkhu ri lqyhqwlrq.",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 75,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 75,
              "decoded": "Necessity is the mother of invention.",
              "detail": "Shift 3"
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "Sudfwlfh pdnhv shuihfw.",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 10,
          "ciphertext": "Wkh hduob elug fdwfkhv wkh zrup.",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 66,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 66,
              "decoded": "The early bird catches the worm.",
              "detail": "Shift 3"
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "Zkhuh wkhuh lv d zloo, wkhuh lv d zdb.",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 69,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 69,
              "decoded": "Where there is a will, there is a way.",
              "detail": "Shift 3"
            }
          ]
        }
      ]
    },
    {
      "control": false,
      "normalization": "Exact original text.",
      "id": "caesar-7",
      "name": "Caesar shift 7",
      "expectedLabel": "Caesar Cipher",
      "toolPath": "/tools/caesar-cipher",
      "source": "src/lib/ciphers/caesar.ts",
      "settings": "Shift 7; preserve case and punctuation.",
      "n": 12,
      "top1Correct": 8,
      "top3Correct": 8,
      "mostCommonWrongTop1": {
        "label": "No candidate",
        "count": 4
      },
      "wrongTop1Counts": [
        {
          "label": "No candidate",
          "count": 4
        }
      ],
      "medianCorrectConfidence": 66,
      "correctConfidenceSamples": 8,
      "top1Counts": [
        {
          "label": "Caesar Cipher",
          "count": 8
        },
        {
          "label": "No candidate",
          "count": 4
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "H zapajo pu aptl zhclz upul.",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 1,
          "ciphertext": "Hjapvuz zwlhr svbkly aohu dvykz.",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 60,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 60,
              "decoded": "Actions speak louder than words.",
              "detail": "Shift 7"
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": "Hss aoha nspaalyz pz uva nvsk.",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 66,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 66,
              "decoded": "All that glitters is not gold.",
              "detail": "Shift 7"
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "Ilaaly shal aohu ulcly.",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 4,
          "ciphertext": "Ipykz vm h mlhaoly msvjr avnlaoly.",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 69,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 69,
              "decoded": "Birds of a feather flock together.",
              "detail": "Shift 7"
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "Lclyf jsvbk ohz h zpscly spupun.",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 6,
          "ciphertext": "Mvyabul mhcvyz aol ivsk.",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 73,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 73,
              "decoded": "Fortune favors the bold.",
              "detail": "Shift 7"
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "Svvr ilmvyl fvb slhw.",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 60,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 60,
              "decoded": "Look before you leap.",
              "detail": "Shift 7"
            }
          ]
        },
        {
          "corpusIndex": 8,
          "ciphertext": "Uljlzzpaf pz aol tvaoly vm pucluapvu.",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 66,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 66,
              "decoded": "Necessity is the mother of invention.",
              "detail": "Shift 7"
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "Wyhjapjl thrlz wlymlja.",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 10,
          "ciphertext": "Aol lhysf ipyk jhajolz aol dvyt.",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 66,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 66,
              "decoded": "The early bird catches the worm.",
              "detail": "Shift 7"
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "Dolyl aolyl pz h dpss, aolyl pz h dhf.",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "Caesar Cipher",
          "correctRank": 1,
          "correctConfidence": 69,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 69,
              "decoded": "Where there is a will, there is a way.",
              "detail": "Shift 7"
            }
          ]
        }
      ]
    },
    {
      "control": false,
      "normalization": "Exact original text.",
      "id": "atbash",
      "name": "Atbash",
      "expectedLabel": "Atbash Cipher",
      "toolPath": "/",
      "source": "src/lib/atbash.ts",
      "settings": "Reverse English alphabet; preserve case and punctuation.",
      "n": 12,
      "top1Correct": 9,
      "top3Correct": 9,
      "mostCommonWrongTop1": {
        "label": "No candidate",
        "count": 3
      },
      "wrongTop1Counts": [
        {
          "label": "No candidate",
          "count": 3
        }
      ],
      "medianCorrectConfidence": 63,
      "correctConfidenceSamples": 9,
      "top1Counts": [
        {
          "label": "Atbash Cipher",
          "count": 9
        },
        {
          "label": "No candidate",
          "count": 3
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "Z hgrgxs rm grnv hzevh mrmv.",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 1,
          "ciphertext": "Zxgrlmh hkvzp olfwvi gszm dliwh.",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "Atbash Cipher",
          "correctRank": 1,
          "correctConfidence": 59,
          "candidates": [
            {
              "method": "atbash",
              "label": "Atbash Cipher",
              "confidence": 59,
              "decoded": "Actions speak louder than words.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": "Zoo gszg torggvih rh mlg tlow.",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "Atbash Cipher",
          "correctRank": 1,
          "correctConfidence": 77,
          "candidates": [
            {
              "method": "atbash",
              "label": "Atbash Cipher",
              "confidence": 77,
              "decoded": "All that glitters is not gold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "Yvggvi ozgv gszm mvevi.",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "Atbash Cipher",
          "correctRank": 1,
          "correctConfidence": 59,
          "candidates": [
            {
              "method": "atbash",
              "label": "Atbash Cipher",
              "confidence": 59,
              "decoded": "Better late than never.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "Yriwh lu z uvzgsvi uolxp gltvgsvi.",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "Atbash Cipher",
          "correctRank": 1,
          "correctConfidence": 70,
          "candidates": [
            {
              "method": "atbash",
              "label": "Atbash Cipher",
              "confidence": 70,
              "decoded": "Birds of a feather flock together.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "Vevib xolfw szh z hroevi ormrmt.",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 6,
          "ciphertext": "Uligfmv uzelih gsv ylow.",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "Atbash Cipher",
          "correctRank": 1,
          "correctConfidence": 63,
          "candidates": [
            {
              "method": "atbash",
              "label": "Atbash Cipher",
              "confidence": 63,
              "decoded": "Fortune favors the bold.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "Ollp yvuliv blf ovzk.",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "Atbash Cipher",
          "correctRank": 1,
          "correctConfidence": 60,
          "candidates": [
            {
              "method": "atbash",
              "label": "Atbash Cipher",
              "confidence": 60,
              "decoded": "Look before you leap.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 8,
          "ciphertext": "Mvxvhhrgb rh gsv nlgsvi lu rmevmgrlm.",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "Atbash Cipher",
          "correctRank": 1,
          "correctConfidence": 76,
          "candidates": [
            {
              "method": "atbash",
              "label": "Atbash Cipher",
              "confidence": 76,
              "decoded": "Necessity is the mother of invention.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "Kizxgrxv nzpvh kviuvxg.",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 10,
          "ciphertext": "Gsv vziob yriw xzgxsvh gsv dlin.",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "Atbash Cipher",
          "correctRank": 1,
          "correctConfidence": 63,
          "candidates": [
            {
              "method": "atbash",
              "label": "Atbash Cipher",
              "confidence": 63,
              "decoded": "The early bird catches the worm.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "Dsviv gsviv rh z droo, gsviv rh z dzb.",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "Atbash Cipher",
          "correctRank": 1,
          "correctConfidence": 70,
          "candidates": [
            {
              "method": "atbash",
              "label": "Atbash Cipher",
              "confidence": 70,
              "decoded": "Where there is a will, there is a way.",
              "detail": null
            }
          ]
        }
      ]
    }
  ],
  "controls": [
    {
      "control": true,
      "normalization": "Exact original text.",
      "id": "vigenere",
      "name": "Vigenère",
      "expectedLabel": "Vigenère Cipher",
      "toolPath": "/tools/vigenere-cipher",
      "source": "src/lib/ciphers/vigenere.ts",
      "settings": "Repeating key LEMON; preserve case and punctuation.",
      "n": 12,
      "top1Correct": 0,
      "top3Correct": 0,
      "mostCommonWrongTop1": {
        "label": "No candidate",
        "count": 12
      },
      "wrongTop1Counts": [
        {
          "label": "No candidate",
          "count": 12
        }
      ],
      "medianCorrectConfidence": null,
      "correctConfidenceSamples": 0,
      "top1Counts": [
        {
          "label": "No candidate",
          "count": 12
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "L wfwgnl ub gtqq gngie bvyi.",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 1,
          "ciphertext": "Lgfwbyw edrlo xchoid hulr iceow.",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 2,
          "ciphertext": "Lpx hulx szvexqff tw zcg rsxr.",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 3,
          "ciphertext": "Mifhrc pmhr elmb apzqf.",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 4,
          "ciphertext": "Mmdrf zj m trlxtse qpaqx esssgsid.",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 5,
          "ciphertext": "Pzqfl npaiq see o ftphse wmzwar.",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 6,
          "ciphertext": "Qsdhhyi roizve hup fazq.",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 7,
          "ciphertext": "Wsay opjafr jsg zrlt.",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 8,
          "ciphertext": "Yiosfdmfm vd xts zzxtse zj ubiprfwby.",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 9,
          "ciphertext": "Avmqgtgq anvie drcjqqg.",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 10,
          "ciphertext": "Elq sncpk pvch oognlqg gsi icex.",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 11,
          "ciphertext": "Hlqfr elqfr tw m kvwp, fvrci ug n hek.",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        }
      ]
    },
    {
      "control": true,
      "normalization": "Uppercase letters only; spacing and punctuation are discarded.",
      "id": "bacon",
      "name": "Bacon",
      "expectedLabel": "Bacon Cipher",
      "toolPath": "/tools/bacon-cipher",
      "source": "src/lib/ciphers/bacon.ts",
      "settings": "Modern alphabet; lowercase a/b groups.",
      "n": 12,
      "top1Correct": 0,
      "top3Correct": 0,
      "mostCommonWrongTop1": {
        "label": "No candidate",
        "count": 12
      },
      "wrongTop1Counts": [
        {
          "label": "No candidate",
          "count": 12
        }
      ],
      "medianCorrectConfidence": null,
      "correctConfidenceSamples": 0,
      "top1Counts": [
        {
          "label": "No candidate",
          "count": 12
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "aaaaa baaba baabb abaaa baabb aaaba aabbb abaaa abbab baabb abaaa abbaa aabaa baaba aaaaa babab aabaa baaba abbab abaaa abbab aabaa",
          "expectedPlaintext": "ASTITCHINTIMESAVESNINE",
          "decodedRoundTrip": "ASTITCHINTIMESAVESNINE",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 1,
          "ciphertext": "aaaaa aaaba baabb abaaa abbba abbab baaba baaba abbbb aabaa aaaaa ababa ababb abbba babaa aaabb aabaa baaab baabb aabbb aaaaa abbab babba abbba baaab aaabb baaba",
          "expectedPlaintext": "ACTIONSSPEAKLOUDERTHANWORDS",
          "decodedRoundTrip": "ACTIONSSPEAKLOUDERTHANWORDS",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 2,
          "ciphertext": "aaaaa ababb ababb baabb aabbb aaaaa baabb aabba ababb abaaa baabb baabb aabaa baaab baaba abaaa baaba abbab abbba baabb aabba abbba ababb aaabb",
          "expectedPlaintext": "ALLTHATGLITTERSISNOTGOLD",
          "decodedRoundTrip": "ALLTHATGLITTERSISNOTGOLD",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 3,
          "ciphertext": "aaaab aabaa baabb baabb aabaa baaab ababb aaaaa baabb aabaa baabb aabbb aaaaa abbab abbab aabaa babab aabaa baaab",
          "expectedPlaintext": "BETTERLATETHANNEVER",
          "decodedRoundTrip": "BETTERLATETHANNEVER",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 4,
          "ciphertext": "aaaab abaaa baaab aaabb baaba abbba aabab aaaaa aabab aabaa aaaaa baabb aabbb aabaa baaab aabab ababb abbba aaaba ababa baabb abbba aabba aabaa baabb aabbb aabaa baaab",
          "expectedPlaintext": "BIRDSOFAFEATHERFLOCKTOGETHER",
          "decodedRoundTrip": "BIRDSOFAFEATHERFLOCKTOGETHER",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 5,
          "ciphertext": "aabaa babab aabaa baaab bbaaa aaaba ababb abbba babaa aaabb aabbb aaaaa baaba aaaaa baaba abaaa ababb babab aabaa baaab ababb abaaa abbab abaaa abbab aabba",
          "expectedPlaintext": "EVERYCLOUDHASASILVERLINING",
          "decodedRoundTrip": "EVERYCLOUDHASASILVERLINING",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 6,
          "ciphertext": "aabab abbba baaab baabb babaa abbab aabaa aabab aaaaa babab abbba baaab baaba baabb aabbb aabaa aaaab abbba ababb aaabb",
          "expectedPlaintext": "FORTUNEFAVORSTHEBOLD",
          "decodedRoundTrip": "FORTUNEFAVORSTHEBOLD",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 7,
          "ciphertext": "ababb abbba abbba ababa aaaab aabaa aabab abbba baaab aabaa bbaaa abbba babaa ababb aabaa aaaaa abbbb",
          "expectedPlaintext": "LOOKBEFOREYOULEAP",
          "decodedRoundTrip": "LOOKBEFOREYOULEAP",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 8,
          "ciphertext": "abbab aabaa aaaba aabaa baaba baaba abaaa baabb bbaaa abaaa baaba baabb aabbb aabaa abbaa abbba baabb aabbb aabaa baaab abbba aabab abaaa abbab babab aabaa abbab baabb abaaa abbba abbab",
          "expectedPlaintext": "NECESSITYISTHEMOTHEROFINVENTION",
          "decodedRoundTrip": "NECESSITYISTHEMOTHEROFINVENTION",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 9,
          "ciphertext": "abbbb baaab aaaaa aaaba baabb abaaa aaaba aabaa abbaa aaaaa ababa aabaa baaba abbbb aabaa baaab aabab aabaa aaaba baabb",
          "expectedPlaintext": "PRACTICEMAKESPERFECT",
          "decodedRoundTrip": "PRACTICEMAKESPERFECT",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 10,
          "ciphertext": "baabb aabbb aabaa aabaa aaaaa baaab ababb bbaaa aaaab abaaa baaab aaabb aaaba aaaaa baabb aaaba aabbb aabaa baaba baabb aabbb aabaa babba abbba baaab abbaa",
          "expectedPlaintext": "THEEARLYBIRDCATCHESTHEWORM",
          "decodedRoundTrip": "THEEARLYBIRDCATCHESTHEWORM",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 11,
          "ciphertext": "babba aabbb aabaa baaab aabaa baabb aabbb aabaa baaab aabaa abaaa baaba aaaaa babba abaaa ababb ababb baabb aabbb aabaa baaab aabaa abaaa baaba aaaaa babba aaaaa bbaaa",
          "expectedPlaintext": "WHERETHEREISAWILLTHEREISAWAY",
          "decodedRoundTrip": "WHERETHEREISAWILLTHEREISAWAY",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        }
      ]
    },
    {
      "control": true,
      "normalization": "Uppercase; punctuation discarded by decoder, word spacing retained.",
      "id": "a1z26",
      "name": "A1Z26",
      "expectedLabel": "A1Z26",
      "toolPath": "/tools/a1z26-cipher",
      "source": "src/lib/a1z26-codec.ts",
      "settings": "Standard alphabet; hyphen letter separators.",
      "n": 12,
      "top1Correct": 0,
      "top3Correct": 0,
      "mostCommonWrongTop1": {
        "label": "No candidate",
        "count": 12
      },
      "wrongTop1Counts": [
        {
          "label": "No candidate",
          "count": 12
        }
      ],
      "medianCorrectConfidence": null,
      "correctConfidenceSamples": 0,
      "top1Counts": [
        {
          "label": "No candidate",
          "count": 12
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "1 19-20-9-20-3-8 9-14 20-9-13-5 19-1-22-5-19 14-9-14-5-.",
          "expectedPlaintext": "A STITCH IN TIME SAVES NINE",
          "decodedRoundTrip": "A STITCH IN TIME SAVES NINE",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 1,
          "ciphertext": "1-3-20-9-15-14-19 19-16-5-1-11 12-15-21-4-5-18 20-8-1-14 23-15-18-4-19-.",
          "expectedPlaintext": "ACTIONS SPEAK LOUDER THAN WORDS",
          "decodedRoundTrip": "ACTIONS SPEAK LOUDER THAN WORDS",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 2,
          "ciphertext": "1-12-12 20-8-1-20 7-12-9-20-20-5-18-19 9-19 14-15-20 7-15-12-4-.",
          "expectedPlaintext": "ALL THAT GLITTERS IS NOT GOLD",
          "decodedRoundTrip": "ALL THAT GLITTERS IS NOT GOLD",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 3,
          "ciphertext": "2-5-20-20-5-18 12-1-20-5 20-8-1-14 14-5-22-5-18-.",
          "expectedPlaintext": "BETTER LATE THAN NEVER",
          "decodedRoundTrip": "BETTER LATE THAN NEVER",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 4,
          "ciphertext": "2-9-18-4-19 15-6 1 6-5-1-20-8-5-18 6-12-15-3-11 20-15-7-5-20-8-5-18-.",
          "expectedPlaintext": "BIRDS OF A FEATHER FLOCK TOGETHER",
          "decodedRoundTrip": "BIRDS OF A FEATHER FLOCK TOGETHER",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 5,
          "ciphertext": "5-22-5-18-25 3-12-15-21-4 8-1-19 1 19-9-12-22-5-18 12-9-14-9-14-7-.",
          "expectedPlaintext": "EVERY CLOUD HAS A SILVER LINING",
          "decodedRoundTrip": "EVERY CLOUD HAS A SILVER LINING",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 6,
          "ciphertext": "6-15-18-20-21-14-5 6-1-22-15-18-19 20-8-5 2-15-12-4-.",
          "expectedPlaintext": "FORTUNE FAVORS THE BOLD",
          "decodedRoundTrip": "FORTUNE FAVORS THE BOLD",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 7,
          "ciphertext": "12-15-15-11 2-5-6-15-18-5 25-15-21 12-5-1-16-.",
          "expectedPlaintext": "LOOK BEFORE YOU LEAP",
          "decodedRoundTrip": "LOOK BEFORE YOU LEAP",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 8,
          "ciphertext": "14-5-3-5-19-19-9-20-25 9-19 20-8-5 13-15-20-8-5-18 15-6 9-14-22-5-14-20-9-15-14-.",
          "expectedPlaintext": "NECESSITY IS THE MOTHER OF INVENTION",
          "decodedRoundTrip": "NECESSITY IS THE MOTHER OF INVENTION",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 9,
          "ciphertext": "16-18-1-3-20-9-3-5 13-1-11-5-19 16-5-18-6-5-3-20-.",
          "expectedPlaintext": "PRACTICE MAKES PERFECT",
          "decodedRoundTrip": "PRACTICE MAKES PERFECT",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 10,
          "ciphertext": "20-8-5 5-1-18-12-25 2-9-18-4 3-1-20-3-8-5-19 20-8-5 23-15-18-13-.",
          "expectedPlaintext": "THE EARLY BIRD CATCHES THE WORM",
          "decodedRoundTrip": "THE EARLY BIRD CATCHES THE WORM",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 11,
          "ciphertext": "23-8-5-18-5 20-8-5-18-5 9-19 1 23-9-12-12-, 20-8-5-18-5 9-19 1 23-1-25-.",
          "expectedPlaintext": "WHERE THERE IS A WILL THERE IS A WAY",
          "decodedRoundTrip": "WHERE THERE IS A WILL THERE IS A WAY",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        }
      ]
    },
    {
      "control": true,
      "normalization": "Exact original text.",
      "id": "rail-fence",
      "name": "Rail Fence",
      "expectedLabel": "Rail Fence Cipher",
      "toolPath": "/tools/rail-fence-cipher",
      "source": "src/lib/ciphers/rail-fence.ts",
      "settings": "3 rails; retain spaces and punctuation.",
      "n": 12,
      "top1Correct": 0,
      "top3Correct": 0,
      "mostCommonWrongTop1": {
        "label": "Plain Text / Unknown",
        "count": 9
      },
      "wrongTop1Counts": [
        {
          "label": "Plain Text / Unknown",
          "count": 9
        },
        {
          "label": "No candidate",
          "count": 3
        }
      ],
      "medianCorrectConfidence": null,
      "correctConfidenceSamples": 0,
      "top1Counts": [
        {
          "label": "Plain Text / Unknown",
          "count": 9
        },
        {
          "label": "No candidate",
          "count": 3
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "Ai t ei tthi iesvsnn.scnma e",
          "expectedPlaintext": "A stitch in time saves nine.",
          "decodedRoundTrip": "A stitch in time saves nine.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 56,
              "decoded": "Ai t ei tthi iesvsnn.scnma e",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 1,
          "ciphertext": "Aosku nrcin pa odrta od.tselehws",
          "expectedPlaintext": "Actions speak louder than words.",
          "decodedRoundTrip": "Actions speak louder than words.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 56,
              "decoded": "Aosku nrcin pa odrta od.tselehws",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 2,
          "ciphertext": "At ts  dl htgitr sntgl.laleioo",
          "expectedPlaintext": "All that glitters is not gold.",
          "decodedRoundTrip": "All that glitters is not gold.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 56,
              "decoded": "At ts  dl htgitr sntgl.laleioo",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 3,
          "ciphertext": "Beat eetrlt hnnvrt eae.",
          "expectedPlaintext": "Better late than never.",
          "decodedRoundTrip": "Better late than never.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 56,
              "decoded": "Beat eetrlt hnnvrt eae.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 4,
          "ciphertext": "Bs eel erid fafahrfoktgte.ro t coh",
          "expectedPlaintext": "Birds of a feather flock together.",
          "decodedRoundTrip": "Birds of a feather flock together.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 56,
              "decoded": "Bs eel erid fafahrfoktgte.ro t coh",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 5,
          "ciphertext": "Eyohal ivr lu a  ivrlnn.ecdsseig",
          "expectedPlaintext": "Every cloud has a silver lining.",
          "decodedRoundTrip": "Every cloud has a silver lining.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 6,
          "ciphertext": "Fufrhootn aostebl.rev  d",
          "expectedPlaintext": "Fortune favors the bold.",
          "decodedRoundTrip": "Fortune favors the bold.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 56,
              "decoded": "Fufrhootn aostebl.rev  d",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 7,
          "ciphertext": "L oyl.okbfr o epoeeua",
          "expectedPlaintext": "Look before you leap.",
          "decodedRoundTrip": "Look before you leap.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 8,
          "ciphertext": "Nsy  hont.eest stemte fivninciihor eo",
          "expectedPlaintext": "Necessity is the mother of invention.",
          "decodedRoundTrip": "Necessity is the mother of invention.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 58,
              "decoded": "Nsy  hont.eest stemte fivninciihor eo",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 9,
          "ciphertext": "Pt eecrciemkspretaca f.",
          "expectedPlaintext": "Practice makes perfect.",
          "decodedRoundTrip": "Practice makes perfect.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 56,
              "decoded": "Pt eecrciemkspretaca f.",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 10,
          "ciphertext": "Teyraehoh al idcthstewr.erb c  m",
          "expectedPlaintext": "The early bird catches the worm.",
          "decodedRoundTrip": "The early bird catches the worm.",
          "top1": "Plain Text / Unknown",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "plain",
              "label": "Plain Text / Unknown",
              "confidence": 58,
              "decoded": "Teyraehoh al idcthstewr.erb c  m",
              "detail": null
            }
          ]
        },
        {
          "corpusIndex": 11,
          "ciphertext": "Weei lh ayhr hr sawl,teei  a.ete i rsw",
          "expectedPlaintext": "Where there is a will, there is a way.",
          "decodedRoundTrip": "Where there is a will, there is a way.",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        }
      ]
    },
    {
      "control": true,
      "normalization": "Prepared uppercase digraphs: letters only, J becomes I, repeated letters and final odd letter get fillers. Original formatting is not recoverable.",
      "id": "playfair",
      "name": "Playfair",
      "expectedLabel": "Playfair Cipher",
      "toolPath": "/tools/playfair-cipher",
      "source": "src/lib/standard-codecs.ts",
      "settings": "Key MONARCHY; retain fillers on decoding.",
      "n": 12,
      "top1Correct": 0,
      "top3Correct": 0,
      "mostCommonWrongTop1": {
        "label": "No candidate",
        "count": 11
      },
      "wrongTop1Counts": [
        {
          "label": "No candidate",
          "count": 11
        },
        {
          "label": "Caesar Cipher",
          "count": 1
        }
      ],
      "medianCorrectConfidence": null,
      "correctConfidenceSamples": 0,
      "top1Counts": [
        {
          "label": "No candidate",
          "count": 11
        },
        {
          "label": "Caesar Cipher",
          "count": 1
        }
      ],
      "samples": [
        {
          "corpusIndex": 0,
          "ciphertext": "BXSKLDBFRQEAILOXILAGMG",
          "expectedPlaintext": "ASTITCHINTIMESAVESNINE",
          "decodedRoundTrip": "ASTITCHINTIMESAVESNINE",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 1,
          "ciphertext": "MBSKNAXATQIMETMVCKDZBOYNNMBT",
          "expectedPlaintext": "ACTIONSXSPEAKLOUDERTHANWORDS",
          "decodedRoundTrip": "ACTIONSXSPEAKLOUDERTHANWORDS",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 2,
          "ciphertext": "MSPLBOQKSESZLKATSXANQKMPBZ",
          "expectedPlaintext": "ALLTHATGLITXTERSISNOTGOLDX",
          "decodedRoundTrip": "ALLTHATGLITXTERSISNOTGOLDX",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 3,
          "ciphertext": "CISZLKMTRSKLBOAWMGUFAZ",
          "expectedPlaintext": "BETXTERLATETHANXNEVERX",
          "decodedRoundTrip": "BETXTERLATETHANXNEVERX",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 4,
          "ciphertext": "ISDKPAIOGFRSCFOKPMDEPRIFPDKM",
          "expectedPlaintext": "BIRDSOFAFEATHERFLOCKTOGETHER",
          "decodedRoundTrip": "BIRDSOFAFEATHERFLOCKTOGETHER",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 5,
          "ciphertext": "FUKMBHPMZCBOXBXSPUKMSEAGYQ",
          "expectedPlaintext": "EVERYCLOUDHASASILVERLINING",
          "decodedRoundTrip": "EVERYCLOUDHASASILVERLINING",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 6,
          "ciphertext": "PHDZWMFGOXNMTLCFHATC",
          "expectedPlaintext": "FORTUNEFAVORSTHEBOLD",
          "decodedRoundTrip": "FORTUNEFAVORSTHEBOLD",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 7,
          "ciphertext": "PMRFCIPHMKHNMUIMSV",
          "expectedPlaintext": "LOOKBEFOREYOULEAPX",
          "decodedRoundTrip": "LOOKBEFOREYOULEAPX",
          "top1": "Caesar Cipher",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": [
            {
              "method": "caesar",
              "label": "Caesar Cipher",
              "confidence": 63,
              "decoded": "ROTHEKRJOMJPOWKOUX",
              "detail": "Shift 24"
            }
          ]
        },
        {
          "corpusIndex": 8,
          "ciphertext": "MGELXAXSQDSXPDLCRPCFMNGKOWGMSKNA",
          "expectedPlaintext": "NECESXSITYISTHEMOTHEROFINVENTION",
          "decodedRoundTrip": "NECESXSITYISTHEMOTHEROFINVENTION",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 9,
          "ciphertext": "TOMBSKELOREFTQKMGFDL",
          "expectedPlaintext": "PRACTICEMAKESPERFECT",
          "decodedRoundTrip": "PRACTICEMAKESPERFECT",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 10,
          "ciphertext": "PDIUIMMTBDKACHRSHYILPDGUNMAU",
          "expectedPlaintext": "THEXEARLYBIRDCATCHESTHEWORMX",
          "decodedRoundTrip": "THEXEARLYBIRDCATCHESTHEWORMX",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        },
        {
          "corpusIndex": 11,
          "ciphertext": "VYKMKLCFMKSXNXESPLCFMKSXNXNB",
          "expectedPlaintext": "WHERETHEREISAWILLTHEREISAWAY",
          "decodedRoundTrip": "WHERETHEREISAWILLTHEREISAWAY",
          "top1": "No candidate",
          "correctRank": null,
          "correctConfidence": null,
          "candidates": []
        }
      ]
    }
  ],
  "skipped": [],
  "edgeCases": [
    {
      "description": "Three-word Caesar text",
      "plaintext": "Meet me tonight",
      "methodId": "caesar-3",
      "ciphertext": "Phhw ph wrqljkw",
      "expectedLabel": "Caesar Cipher",
      "top1": "No candidate",
      "confidence": null
    },
    {
      "description": "Four-character Base64 string",
      "plaintext": "abc",
      "methodId": "base64",
      "ciphertext": "YWJj",
      "expectedLabel": "Base64",
      "top1": "No candidate",
      "confidence": null
    },
    {
      "description": "One-letter Morse message",
      "plaintext": "E",
      "methodId": "morse",
      "ciphertext": ".",
      "expectedLabel": "Morse Code",
      "top1": "Morse Code",
      "confidence": 76
    }
  ]
}
