{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9403963088989258,
        "class": 0
      }
    ],
    "prob": 0.9403963,
    "class": 0,
    "version": "v16.16",
    "thresholds": [
      0.9815004,
      0.99404883
    ],
    "analyzed_at": "2026-04-30T07:22:32Z"
  },
  "path": "to_hash_spec.rb",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "Md(In)",
        "x": 1,
        "id": 0,
        "is": [
          "require",
          "describe",
          "subject",
          "to_hash",
          "let",
          "let",
          "stub",
          "context",
          "let",
          "stub",
          "before",
          "and_return",
          "with",
          "should_receive",
          "it",
          "should",
          "be",
          "context",
          "it",
          "should",
          "be",
          "spec_helper"
        ],
        "ms": {
          "text": {
            "space_count": 84.0,
            "total_lines": 22.0,
            "char_entropy": 4.46,
            "unique_chars": 36.0,
            "import_density": 100.0,
            "string_density": 0.73,
            "avg_line_length": 21.32,
            "max_line_length": 63.0,
            "empty_line_ratio": 0.27,
            "last_line_length": 3.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.22,
            "most_common_ratio": 0.11,
            "identifier_density": 1.27,
            "line_length_stddev": 20.6,
            "dynamic_import_ratio": 0.05,
            "normalized_import_count": 4.69,
            "normalized_string_count": 3.41,
            "max_inline_whitespace_run": 3.0,
            "normalized_unique_identifiers": 4.04
          },
          "imports": {
            "total": 22.0,
            "unique_modules": 15.0,
            "dynamic_imports": 1.0,
            "third_party_count": 22.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 16.0,
            "avg_length": 15.44,
            "max_length": 43.0,
            "avg_entropy": 2.88,
            "total_bytes": 247.0,
            "entropy_stddev": 0.56
          },
          "comments": {},
          "functions": {},
          "identifiers": {
            "total": 28.0,
            "avg_length": 6.67,
            "max_length": 15.0,
            "min_length": 2.0,
            "avg_entropy": 2.33,
            "reuse_ratio": 0.64,
            "unique_count": 18.0,
            "length_stddev": 3.43,
            "all_lowercase_ratio": 1.0
          }
        },
        "ss": [
          [
            8,
            "spec_helper"
          ],
          [
            9,
            "spec_helper"
          ],
          [
            58,
            ".to_hash"
          ],
          [
            59,
            ".to_hash"
          ],
          [
            115,
            "object"
          ],
          [
            150,
            "value"
          ],
          [
            166,
            "value"
          ],
          [
            167,
            "value"
          ],
          [
            190,
            "when the value responds to #to_hash"
          ],
          [
            191,
            "when the value responds to #to_hash"
          ],
          [
            239,
            "coerced"
          ],
          [
            256,
            "coerced"
          ],
          [
            257,
            "coerced"
          ],
          [
            311,
            "to_hash"
          ],
          [
            404,
            "when the value does not respond to #to_hash"
          ],
          [
            405,
            "when the value does not respond to #to_hash"
          ]
        ],
        "sz": 491,
        "ts": [
          {
            "c": 0.949999988079071,
            "d": "imports spec_helper",
            "e": [
              "spec_helper"
            ],
            "i": "metadata/import/ruby::spec_helper",
            "l": 2
          }
        ],
        "sha": "164629ce3ac35113038380dcf977e96564062cffa16e712c0d21887878cc97e7",
        "path": "to_hash_spec.rb",
        "type": "ruby"
      }
    ],
    "tv": "f6eaa"
  }
}