{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9442857503890991,
        "class": 0
      }
    ],
    "prob": 0.94428575,
    "class": 0,
    "version": "v16.16",
    "thresholds": [
      0.9815004,
      0.99404883
    ],
    "analyzed_at": "2026-04-30T07:07:17Z"
  },
  "path": "initialize_spec.rb",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "Md(In)",
        "x": 1,
        "id": 0,
        "is": [
          "require",
          "describe",
          "subject",
          "new",
          "let",
          "new",
          "include",
          "attribute",
          "attribute",
          "let",
          "its",
          "should",
          "eql",
          "its",
          "should",
          "eql",
          "spec_helper"
        ],
        "ms": {
          "text": {
            "digit_ratio": 0.01,
            "space_count": 76.0,
            "total_lines": 19.0,
            "char_entropy": 4.65,
            "unique_chars": 47.0,
            "import_density": 89.47,
            "string_density": 0.84,
            "avg_line_length": 21.37,
            "max_line_length": 61.0,
            "empty_line_ratio": 0.26,
            "last_line_length": 3.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.22,
            "most_common_ratio": 0.08,
            "identifier_density": 0.95,
            "line_length_stddev": 19.01,
            "dynamic_import_ratio": 0.06,
            "normalized_import_count": 3.9,
            "normalized_string_count": 3.67,
            "max_inline_whitespace_run": 5.0,
            "normalized_unique_identifiers": 2.82
          },
          "imports": {
            "total": 17.0,
            "unique_modules": 11.0,
            "dynamic_imports": 1.0,
            "third_party_count": 17.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 16.0,
            "avg_length": 8.19,
            "max_length": 16.0,
            "avg_entropy": 2.53,
            "total_bytes": 131.0,
            "entropy_stddev": 0.56
          },
          "comments": {},
          "functions": {},
          "identifiers": {
            "total": 18.0,
            "avg_length": 6.75,
            "max_length": 15.0,
            "min_length": 3.0,
            "avg_entropy": 2.35,
            "reuse_ratio": 0.67,
            "unique_count": 12.0,
            "length_stddev": 3.44,
            "all_lowercase_ratio": 1.0
          }
        },
        "ss": [
          [
            8,
            "spec_helper"
          ],
          [
            9,
            "spec_helper"
          ],
          [
            53,
            "#initialize"
          ],
          [
            54,
            "#initialize"
          ],
          [
            123,
            "described_class"
          ],
          [
            212,
            "currency"
          ],
          [
            246,
            "amount"
          ],
          [
            286,
            "attributes"
          ],
          [
            306,
            "currency"
          ],
          [
            319,
            "USD"
          ],
          [
            320,
            "USD"
          ],
          [
            326,
            "amount"
          ],
          [
            349,
            "currency"
          ],
          [
            373,
            "USD"
          ],
          [
            374,
            "USD"
          ],
          [
            388,
            "amount"
          ]
        ],
        "sz": 425,
        "ts": [
          {
            "c": 0.949999988079071,
            "d": "imports spec_helper",
            "e": [
              "spec_helper"
            ],
            "i": "metadata/import/ruby::spec_helper",
            "l": 2
          }
        ],
        "sha": "2172feca1e543178233a6d5cc020b4515aabf82e72b4616ad5bb5cf422d55923",
        "path": "/data/samples/good/rubygems/virtus-0.4.1/spec/unit/virtus/value_object/initialize_spec.rb",
        "type": "ruby"
      }
    ],
    "tv": "f6eaa"
  }
}