{
  "ml": {
    "analyzed_at": "2026-11-18T13:05:06Z",
    "files": [
      {
        "lvl": -1,
        "prob": 0.00004196167,
        "id": 0
      }
    ],
    "lvl": -1,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.00004196167,
    "v": "7",
    "version": "v20.20"
  },
  "path": "mention-write.ps1",
  "raw": {
    "files": [
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Write-Output 'set-content -Path output.txt'\n# set-content -Path output.txt\n"
          }
        ],
        "depth": 0,
        "facts": {
          "imp": [
            [
              "",
              "Write-Output"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 1,
              "max_array_length": 1,
              "max_depth": 9,
              "node_count": 14
            },
            "binary": {
              "peak_region_bytes": 75,
              "peak_region_entropy": 3.91
            },
            "comments": {
              "chars": 29,
              "count": 1,
              "lines": 1,
              "to_code_ratio": 1
            },
            "file": {
              "entropy": 3.91,
              "size": 75
            },
            "identifiers": {
              "avg_entropy": 3.02,
              "avg_length": 12,
              "count": 1,
              "max_length": 12,
              "min_length": 12,
              "reuse_ratio": 1,
              "unique": 1
            },
            "strings": {
              "avg_entropy": 3.52,
              "avg_length": 28,
              "bytes": 28,
              "count": 1,
              "max_length": 28
            },
            "text": {
              "avg_line_length": 36.5,
              "char_entropy": 3.91,
              "identifier_density": 0.5,
              "last_line_length": 30,
              "line_length_stddev": 6.5,
              "lines": 2,
              "max_line_length": 43,
              "max_whitespace_run": 1,
              "normalized_string_count": 0.71,
              "normalized_unique_identifiers": 1,
              "space_count": 6,
              "string_density": 0.5,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.25,
              "unique_chars": 22,
              "whitespace_ratio": 0.11
            }
          },
          "tgt": [
            "Write-Output"
          ]
        },
        "id": 0,
        "path": "mention-write.ps1",
        "risk": 1,
        "sha": "623fd279aa1672ca80b5079e756753bde209237f0997c7a44a8510293307fdd5",
        "size": 75,
        "traits": [
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "High comment-to-code ratio",
            "id": "metadata/lang/source/comment::high-comment-to-code-ratio"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "PowerShell has at most one identifier",
            "id": "metadata/lang/source/naming/population::powershell-at-most-one-identifier"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "File in a test-data directory",
            "id": "metadata/package/testing/presence/path::testdata-directory-path"
          }
        ],
        "type": "powershell"
      }
    ],
    "v": 8
  }
}