{
  "ml": {
    "v": "7",
    "id": 86,
    "lvl": -1,
    "conf": 0,
    "prob": 0.000013420979485090356,
    "type": "python",
    "version": "v18.18",
    "analyzed_at": "2026-09-29T01:52:20Z"
  },
  "path": "emulator-HEAD/build-clangtron-windows.sh##base64@130452",
  "raw": {
    "rev": "c1ea9",
    "files": [
      {
        "id": 86,
        "mol": "H(Db)Md(In)",
        "pid": 1,
        "rel": "fetched",
        "sha": "297a0c2179b9952a394c159b8c244b4c089bc885628d8e2d3979a78c51be6a2d",
        "via": "https://codeload.github.com/citron-neo/emulator/tar.gz/HEAD",
        "path": "pkg:github/citron-neo/emulator!!emulator-HEAD/build-clangtron-windows.sh!!emulator-HEAD/build-clangtron-windows.sh##base64@130452",
        "risk": 2,
        "size": 1956,
        "type": "python",
        "depth": 4,
        "facts": {
          "imp": [
            [
              "",
              "pathlib.Path"
            ],
            [
              "",
              "path.read_text"
            ],
            [
              "",
              "print"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "src.find"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "spans.append"
            ],
            [
              "",
              "s.splitlines"
            ],
            [
              "",
              "line.find"
            ],
            [
              "",
              "out.append"
            ],
            [
              "",
              "find_blocks"
            ],
            [
              "",
              "print"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "strip_comments.upper"
            ],
            [
              "",
              "strip_comments"
            ],
            [
              "",
              "print"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "broken.append"
            ],
            [
              "",
              "print"
            ],
            [
              "",
              "list"
            ],
            [
              "",
              "reversed"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "path.write_text"
            ],
            [
              "",
              "print"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "pathlib"
            ],
            [
              "",
              "sys"
            ]
          ],
          "mbr": [
            "broken.append",
            "line.find",
            "out.append",
            "path.read_text",
            "path.write_text",
            "pathlib.Path",
            "s.splitlines",
            "spans.append",
            "src.find",
            "strip_comments.upper",
            "sys.argv"
          ],
          "tgt": [
            "broken.append",
            "find_blocks",
            "len",
            "line.find",
            "list",
            "out.append",
            "path.read_text",
            "path.write_text",
            "pathlib.Path",
            "print",
            "reversed",
            "s.splitlines",
            "spans.append",
            "src.find",
            "str",
            "strip_comments",
            "strip_comments.upper"
          ],
          "funcs": [
            [
              "find_blocks",
              254
            ],
            [
              "strip_comments",
              911
            ]
          ],
          "metrics": {
            "ast": {
              "op.add": 20,
              "op.lor": 1,
              "op.sub": 3,
              "op.land": 3,
              "max_depth": 14,
              "call_count": 36,
              "node_count": 801,
              "member_count": 11,
              "max_array_len": 4,
              "op_density.add": 0.02,
              "op_density.lor": 0,
              "op_density.sub": 0,
              "op_density.land": 0,
              "max_concat_chain": 6,
              "member_depth_max": 2,
              "infinite_loop_count": 1
            },
            "file": {
              "size": 1956,
              "entropy": 4.52
            },
            "text": {
              "lines": 69,
              "top_char": 101,
              "max_ws_run": 2,
              "digit_ratio": 0.02,
              "space_count": 572,
              "char_entropy": 4.52,
              "unique_chars": 58,
              "top_char_null": 0,
              "string_density": 0.41,
              "top_char_ratio": 0.05,
              "avg_line_length": 27.35,
              "max_line_length": 109,
              "empty_line_ratio": 0.12,
              "last_line_length": 97,
              "whitespace_ratio": 0.33,
              "identifier_density": 2.22,
              "line_length_stddev": 21.43,
              "normalized_string_count": 3.37,
              "repeated_char_sequences": 12,
              "suspicious_identifier_ratio": 0.12,
              "normalized_unique_identifiers": 6.88
            },
            "binds": {
              "count": 28
            },
            "binary": {
              "peak_region_bytes": 1956,
              "peak_region_entropy": 4.67
            },
            "source": {
              "function_count": 2
            },
            "imports": {
              "count": 2,
              "stdlib_count": 2,
              "stdlib_ratio": 1
            },
            "strings": {
              "bytes": 278,
              "count": 28,
              "avg_length": 9.93,
              "max_length": 40,
              "avg_entropy": 1.83,
              "empty_count": 1,
              "entropy_stddev": 1.59
            },
            "functions": {
              "count": 2,
              "density": 2.9,
              "avg_params": 1,
              "code_ratio": 0.46,
              "max_params": 1,
              "length_stddev": 10,
              "avg_name_length": 12.5,
              "avg_length_lines": 16,
              "max_length_lines": 26,
              "min_length_lines": 6,
              "single_char_params": 1,
              "avg_param_name_length": 2
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.script_as_unknown": 1
            },
            "identifiers": {
              "count": 153,
              "unique": 42,
              "avg_length": 5.31,
              "max_length": 14,
              "min_length": 1,
              "avg_entropy": 1.88,
              "reuse_ratio": 0.27,
              "length_stddev": 3.14,
              "sequential_names": 5,
              "single_char_count": 5,
              "single_char_ratio": 0.12,
              "all_lowercase_ratio": 0.9,
              "all_uppercase_ratio": 0.07
            }
          }
        },
        "traits": [
          {
            "id": "metadata/import/python/pathlib::pathlib",
            "conf": 0.95,
            "crit": 3,
            "desc": "imports pathlib",
            "spans": [
              [
                12,
                7
              ]
            ]
          },
          {
            "id": "metadata/import/python/sys::sys",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sys",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "spans": [
              [
                442,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "spans": [
              [
                951,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/data/control-flow/module-exec::module-level-side-effect-call",
            "conf": 0.82,
            "crit": 3,
            "desc": "Python module-level function call",
            "spans": [
              [
                113,
                69
              ],
              [
                1115,
                85
              ]
            ]
          }
        ]
      }
    ]
  }
}