{
  "checker": {
    "claims": [
      {
        "claim": "The package ships a CLI that detects the encoding of a file",
        "command": "<guest-path> ./data/sample-french.txt",
        "evidence": "\"encoding\": \"utf_8\",\n    \"encoding_aliases\": [\n        \"u8\",\n        \"utf\",\n        \"utf8\",\n        \"utf8_ucs2\",\n        \"utf8_ucs4\",\n        \"cp65001\"\n    ],\n    \"alternative_encodings\": [],\n    \"language\": \"French\",\n    \"alphabets\": [\n        \"Basic Latin\",\n        \"Control character\",\n        \"Latin Extended-A\",\n        \"Latin-1 Supplement\"\n    ],\n    \"has_sig_or_bom\": false,\n    \"chaos\": 0.1,\n    \"coherence\": 82.71,\n    \"unicode_path\": null,\n    \"is_preferred\": true\n}\n",
        "expected": "JSON result with encoding utf_8",
        "input": "./data/sample-french.txt",
        "kind": "claim",
        "outcome": "Real input produced the expected result: \"encoding\": \"utf_8\"",
        "returncode": 0,
        "source": "This package comes with a CLI.",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      },
      {
        "claim": "The CLI prints a JSON result on stdout",
        "command": "<guest-path> ./data/sample-french.txt",
        "evidence": "\"language\": \"French\",\n    \"alphabets\": [\n        \"Basic Latin\",\n        \"Control character\",\n        \"Latin Extended-A\",\n        \"Latin-1 Supplement\"\n    ],\n    \"has_sig_or_bom\": false,\n    \"chaos\": 0.1,\n    \"coherence\": 82.71,\n    \"unicode_path\": null,\n    \"is_preferred\": true\n}\n",
        "expected": "JSON with language French",
        "input": "./data/sample-french.txt",
        "kind": "claim",
        "outcome": "Real input produced the expected result: \"language\": \"French\"",
        "returncode": 0,
        "source": "Since version 1.4.0 the CLI produce easily usable stdout result in JSON format.",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      }
    ],
    "cycle_checks": [
      {
        "claim": "Scheduled or looping main behavior",
        "command": "",
        "evidence": "Entry points inspected (README, src/charset_normalizer/__main__.py, cli/). normalizer is a one-shot CLI and the library is a function-call API; no scheduler, loop, cron, webhook or --once/--now cycle is documented or present.",
        "expected": "identify the product trigger",
        "input": "source inspection",
        "kind": "cycle",
        "outcome": "Entry points inspected (README, src/charset_normalizer/__main__.py, cli/). normalizer is a one-shot CLI and the library is a function-call API; no scheduler, loop, cron, webhook or --once/--now cycle is documented or present.",
        "source": "repository entry points",
        "verdict": "yes"
      }
    ],
    "details": {
      "argv": [
        "<guest-path>",
        "./data/sample-french.txt"
      ],
      "kind": "cli",
      "needs_browser": false,
      "needs_credentials": false,
      "returncode": 0,
      "scope": "product operation",
      "stderr": "",
      "stdout": "{\n    \"path\": \"<guest-path>\",\n    \"encoding\": \"utf_8\",\n    \"encoding_aliases\": [\n        \"u8\",\n        \"utf\",\n        \"utf8\",\n        \"utf8_ucs2\",\n        \"utf8_ucs4\",\n        \"cp65001\"\n    ],\n    \"alternative_encodings\": [],\n[excerpt truncated]",
      "working": true
    },
    "evidence_strength": "readme_checked",
    "example_checks": [
      {
        "claim": "Minimal output mode prints only the detected charset",
        "command": "<guest-path> -m charset_normalizer -m ./data/sample-french.txt",
        "deferred": false,
        "evidence": "utf_8",
        "expected": "utf_8 printed",
        "input": "./data/sample-french.txt with -m",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "README.md ### CLI (python -m charset_normalizer)",
        "verdict": "yes"
      }
    ],
    "status": "PASS"
  },
  "deviations": [
    "README example ./data/sample.1.fr.srt does not exist in this snapshot; used data/sample-french.txt instead.",
    "README install is 'pip install charset-normalizer -U' from PyPI; installed the pinned local checkout instead, which is the source under test (version 3.5.2).",
    "Did not replay normalizer -n (normalize to new file) because it writes a file beside the input and would collide on replay."
  ],
  "fault_owner": null,
  "main_blocker": null,
  "operation": "Detect the text encoding of a file with the normalizer CLI",
  "operation_scope": "Installed from the pinned checkout into a Python 3.12.3 venv at <guest-path>; ran normalizer on data/sample-french.txt (detected utf_8, language French). Checker validation and replay passed.",
  "outcome": "working",
  "plain_failure": null,
  "steps": [
    "python3 -m venv <guest-path>",
    "<guest-path> install <guest-path>",
    "<guest-path> ./data/sample-french.txt",
    "<guest-path> -m charset_normalizer -m ./data/sample-french.txt"
  ],
  "stuck_step": null,
  "suggested_fix": null
}
