{
  "ml": {
    "v": "7",
    "eng": "2.12.0-beta.1",
    "lvl": -1,
    "conf": 0,
    "mods": [
      {
        "cls": 0,
        "raw": 0.000019987425,
        "rte": "az",
        "prob": 0.000019987425
      },
      {
        "cls": 0,
        "raw": 0.00035048524,
        "rte": "az/tar",
        "prob": 0.00035048524
      }
    ],
    "prob": 0.000022480885,
    "files": [
      {
        "id": 0,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002248088458145503,
        "type": "crate"
      },
      {
        "id": 3,
        "lvl": -1,
        "conf": 0,
        "prob": 0.000014613072380598169,
        "type": "cargo.toml"
      },
      {
        "id": 4,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002037485501205083,
        "type": "rust"
      },
      {
        "id": 6,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00001755356788635254,
        "type": "rust"
      },
      {
        "id": 7,
        "lvl": -1,
        "conf": 0,
        "prob": 0.00002248088458145503,
        "type": "registry"
      }
    ],
    "version": "v18.18",
    "analyzed_at": "2026-10-13T18:09:27Z"
  },
  "path": "llama-cpp-gbnf-0.19.0.crate",
  "raw": {
    "files": [
      {
        "id": 0,
        "mol": "Md₂(In₃Pa)",
        "sha": "44787177755a2c82f2936d1e6c39ac597b20ecdfbd1d739d7323cb80b1e662f0",
        "path": "llama-cpp-gbnf-0.19.0.crate",
        "risk": 3,
        "size": 6336,
        "type": "crate",
        "facts": {
          "metrics": {
            "file": {
              "size": 6336,
              "entropy": 7.97
            },
            "parse": {
              "error_count": 1
            },
            "binary": {
              "peak_region_bytes": 6144,
              "peak_region_entropy": 7.82
            }
          }
        },
        "ident": {
          "name": {
            "value": "llama-cpp-gbnf",
            "source": "crate.name",
            "verified": false
          },
          "urls": [
            {
              "url": "https://github.com/intentee/llama-cpp-bindings",
              "kind": "repository",
              "source": "crate.repository"
            }
          ],
          "trust": "unsigned",
          "version": {
            "value": "0.19.0",
            "source": "crate.version",
            "verified": false
          },
          "identifier": {
            "value": "llama-cpp-gbnf",
            "source": "crate.name",
            "verified": false
          }
        },
        "traits": [
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_status::llama_cpp_bindings_sys/llama_rs_gbnf_validation_status",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::llama_rs_gbnf_validation_status",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/std/ffi/nulerror::std/ffi/nulerror",
            "conf": 0.95,
            "crit": 3,
            "desc": "imports std::ffi::NulError",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_syntax_error::llama_cpp_bindings_sys/llama_rs_gbnf_validation_syntax_error",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_SYNTAX_ERROR",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_validate_gbnf::llama_cpp_bindings_sys/llama_rs_validate_gbnf",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::llama_rs_validate_gbnf",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/std/ptr::std/ptr",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports std::ptr",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_root_symbol_missing::llama_cpp_bindings_sys/llama_rs_gbnf_validation_root_symbol_missing",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_ROOT_SYMBOL_MISSING",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/package/documentation/source::cargo-readme-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo readme field is populated"
          },
          {
            "id": "metadata/package/version::cargo-package-version",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package has version"
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_ok::llama_cpp_bindings_sys/llama_rs_gbnf_validation_ok",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_OK",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-cfg-test",
            "conf": 0.9,
            "crit": 2,
            "desc": "#[cfg(test)] attribute",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/package/repository::cargo-repository-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo repository field is populated"
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_left_recursion::llama_cpp_bindings_sys/llama_rs_gbnf_validation_left_recursion",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_LEFT_RECURSION",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_ffi_status/ffistatuserror::llama_cpp_ffi_status/ffistatuserror",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_ffi_status::FfiStatusError",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-test-attr",
            "conf": 0.9,
            "crit": 2,
            "desc": "#[test] attribute",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/super/validate_gbnf::super/validate_gbnf",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports super::validate_gbnf",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/super/validation_status_to_result::super/validation_status_to_result",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports super::validation_status_to_result",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_threw_cxx_exception::llama_cpp_bindings_sys/llama_rs_gbnf_validation_threw_cxx_exception",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_THREW_CXX_EXCEPTION",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_empty_rule_set::llama_cpp_bindings_sys/llama_rs_gbnf_validation_empty_rule_set",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_EMPTY_RULE_SET",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_ffi_status/read_and_free_cpp_string::llama_cpp_ffi_status/read_and_free_cpp_string",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_ffi_status::read_and_free_cpp_string",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/package/license::cargo-license-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo license field is populated"
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 4
              }
            ]
          },
          {
            "id": "metadata/package/name/identity::cargo-package-name-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package name field is populated"
          },
          {
            "id": "metadata/package/description/length::cargo-description-at-least-20-characters",
            "conf": 0.78,
            "crit": 2,
            "desc": "Cargo description has at least 20 characters"
          },
          {
            "id": "metadata/import/rust/std/ffi/c_char::std/ffi/c_char",
            "conf": 0.95,
            "crit": 3,
            "desc": "imports std::ffi::c_char",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/crate/gbnf_validation_error/gbnfvalidationerror::crate/gbnf_validation_error/gbnfvalidationerror",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports crate::gbnf_validation_error::GbnfValidationError",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_vocab::llama_cpp_bindings_sys/llama_vocab",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::llama_vocab",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_ffi_status/fficontracterror::llama_cpp_ffi_status/fficontracterror",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_ffi_status::FfiContractError",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-test",
            "conf": 0.95,
            "crit": 3,
            "desc": "Rust test marker or harness",
            "from": [
              {
                "off": 4281,
                "file": 6,
                "line": 116
              }
            ],
            "uses": [
              9,
              13
            ]
          },
          {
            "id": "metadata/import/rust/std/ffi/cstring::std/ffi/cstring",
            "conf": 0.95,
            "crit": 3,
            "desc": "imports std::ffi::CString",
            "from": [
              {
                "file": 6
              }
            ]
          }
        ]
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 1299,
              "entropy": 4.99
            },
            "binary": {
              "peak_region_bytes": 1299,
              "peak_region_entropy": 4.98
            }
          }
        },
        "id": 3,
        "path": "llama-cpp-gbnf-0.19.0.crate!!llama-cpp-gbnf-0.19.0/Cargo.toml",
        "pid": 0,
        "refs": [
          {
            "to": "pkg:cargo/llama-cpp-bindings-sys@0.19.0",
            "off": 919,
            "kind": "dependency"
          },
          {
            "to": "pkg:cargo/llama-cpp-ffi-status@0.19.0",
            "off": 978,
            "kind": "dependency"
          },
          {
            "to": "pkg:cargo/thiserror@2.0.18",
            "off": 1035,
            "kind": "dependency"
          },
          {
            "to": "src/lib.rs",
            "off": 892,
            "file": 5,
            "kind": "local"
          },
          {
            "to": "pkg:github/intentee/llama-cpp-bindings",
            "off": 790,
            "kind": "repository"
          }
        ],
        "risk": 2,
        "sha": "3eaa9d40df9e16a0fea18f3ba26139e42ce1bf06cdf7d6a95c2d136af6872788",
        "size": 1299,
        "traits": [
          {
            "id": "metadata/package/description/length::cargo-description-at-least-20-characters",
            "conf": 0.78,
            "crit": 2,
            "desc": "Cargo description has at least 20 characters"
          },
          {
            "id": "metadata/package/documentation/source::cargo-readme-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo readme field is populated"
          },
          {
            "id": "metadata/package/license::cargo-license-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo license field is populated"
          },
          {
            "id": "metadata/package/name/identity::cargo-package-name-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package name field is populated"
          },
          {
            "id": "metadata/package/repository::cargo-repository-code-forge-host",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo repository names a common code-forge host"
          },
          {
            "id": "metadata/package/repository::cargo-repository-field-present",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo repository field is populated"
          },
          {
            "id": "metadata/package/version::cargo-conventional-version",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package uses conventional version"
          },
          {
            "id": "metadata/package/version::cargo-package-version",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package has version"
          },
          {
            "id": "metadata/file/profile/structured::cargo-core-fields-present",
            "conf": 0.88,
            "crit": 2,
            "desc": "Cargo name/version and another project field are present",
            "uses": [
              0,
              1,
              2,
              3,
              5,
              7
            ]
          }
        ],
        "type": "cargo.toml"
      },
      {
        "ctx": [
          {
            "b": "B-RapB97}Ni+z#riYZ2Uy^\u0026w+z/N]D3l@+=wPzHdwHG@TvS=rmaARphB7Gxjz/N)1mriA!AX5tfvrcE7vqFwLefEx3dp0p1BZ=F8zGP!sm}cvFr://UwmoN]z/e0:A=k$vDKp(rarR[kwPz*fAWV3IvqZd9vrb{%BsyG5arR^HmRlvkByxolB0@nqw].*bt{9%1vqPBWv@Mx]w[C::B97\u0026jB-PP8mRlvkByxolB47a\u0026z/NoT3lQDlar$94A=M8sd0fGrzGx=9A+fcgdp0o6arR^@w[:RJzGG]cv@%aztv}[]zcXo2y*?f?uT[4]uUi[:uVQr$BAIT=i.0Z}lVl\u003c:A:-E1mriA!AW-KDarR^Hbu[-1A=k$Db4\u003e}8zeAZ4aAITBx(mMav@DmbvqfR2ayPdgx(n37A+PDjawL{gayYRrwG\u0026Ne3lQDlav*DXzeAZ4lVl\u003c:vqfR2piyw3bu]kcB-H#6t{8)+y^\u0026w+z/NoT3lQDlar$94A=M8sc)AqAvqP\u003c\u0026AV/yvz/^atvqPM#v@DmbvqfR2ayPdgx(n37A+PDjawL{gayYRrwG\u0026Ne3lQDlax0b@Bvf$:Byw)3B53\u003c]c)I@qz/{8gwNcANB.\u003cG!A=k$Eed9HxarR[kwPz*fAWSbAA:-*4vr9G7vriM1aAI*CByxzpwPz*fAV!!dwftx2B.\u003eOhzF%RtvR3W3vrcB2wfJEd3lQDlax9M6Byxz.A=M8sed9HxarR[kwPz*fAWSbAA:-*4vr9G3wObT]wPF#izY\u003c7yy?mVidp0o6arR^}ze:PxqGV!!q!p543lQDlar$94A=M8sc)AqAvqP\u003c\u0026AV![hwPF#iz/^ajwObT]wGV8dwGV2iz/^ayD2m2ey-[7Bz/o.UkyB.8t).X%arTN2z/!{6zdmB1o\u003e!V\u0026x(mMaDMWuEz/!2.q/)4]zF78ued9HxarR[kwPz*fAWSbAA:-*4vr9G8B0bpgw]]RBwN/\u003e6B7]/eayPd#ay!?$zF%RtvR3V(z/6Dcy?mc1vTf8jy*?f?e[n\u003cta$l!8arR^HoL4*TqE%uXA=U@kzy=bqarR^Ktv??}z/NlIzF%RtwO#Bexj@A8wO(vaC{jXy3lQDlawM\u0026%mq^3^xj$1JzeTDued9HxarR[kwPz*fAWSbNxK@r5y*?f?e[n\u003ctaz++3A::0laAy[daA8yAaA7\u003cmzdNN5A^n\u0026Tt).X%arTu]vqPBuAbXP}BwDHywO(vaC}opBarR^Ktv??}z/NlIBzbkdy\u00260J%vj(5eA3e!lvqP\u003c\u0026AV!}hxk8l{azb4@y?mcraBv%pB8$=5wQL:Kt).X%arTM[AbP=swN({gaz\u003eXhB75Y)iV}vyA+PA7aBL^FEf]",
            "ln": 0,
            "col": 1,
            "line": 1
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "std::ffi::NulError"
            ]
          ],
          "metrics": {
            "ast": {
              "max_depth": 7,
              "call_count": 0,
              "node_count": 267
            },
            "file": {
              "size": 1074,
              "entropy": 4.76
            },
            "text": {
              "lines": 27,
              "top_char": 114,
              "space_count": 160,
              "char_entropy": 4.76,
              "unique_chars": 53,
              "top_char_null": 0,
              "import_density": 3.7,
              "string_density": 0.33,
              "top_char_ratio": 0.11,
              "avg_line_length": 38.78,
              "max_line_length": 77,
              "empty_line_ratio": 0.04,
              "last_line_length": 1,
              "whitespace_ratio": 0.17,
              "identifier_density": 1.78,
              "line_length_stddev": 20.72,
              "max_whitespace_run": 1,
              "normalized_import_count": 0.19,
              "normalized_string_count": 1.73,
              "normalized_unique_identifiers": 6.52
            },
            "binary": {
              "peak_region_bytes": 1024,
              "peak_region_entropy": 4.75
            },
            "source": {
              "class_count": 1
            },
            "imports": {
              "count": 1,
              "third_party_count": 1,
              "third_party_ratio": 1
            },
            "strings": {
              "bytes": 376,
              "count": 9,
              "avg_length": 41.78,
              "max_length": 61,
              "avg_entropy": 3.83,
              "entropy_stddev": 0.23
            },
            "functions": {
              "count": 1
            },
            "identifiers": {
              "count": 48,
              "unique": 31,
              "avg_length": 10,
              "max_length": 20,
              "min_length": 2,
              "avg_entropy": 2.67,
              "reuse_ratio": 0.65,
              "length_stddev": 5.3,
              "high_entropy_count": 6,
              "high_entropy_ratio": 0.19,
              "all_lowercase_ratio": 0.35
            }
          }
        },
        "id": 4,
        "mol": "Md(In)",
        "path": "llama-cpp-gbnf-0.19.0.crate!!llama-cpp-gbnf-0.19.0/src/gbnf_validation_error.rs",
        "pid": 0,
        "risk": 1,
        "sha": "2ea8e6622e67e64ff0ed145da9a5c576906c6683f4cd780b33b2fc58f9446618",
        "size": 1074,
        "traits": [
          {
            "id": "metadata/import/rust/std/ffi/nulerror::std/ffi/nulerror",
            "conf": 0.95,
            "crit": 3,
            "desc": "imports std::ffi::NulError",
            "spans": [
              [
                4,
                18
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "spans": [
              [
                674,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "spans": [
              [
                534,
                0
              ]
            ]
          }
        ],
        "type": "rust"
      },
      {
        "ctx": [
          {
            "b": "B-RapB97}Ni+z#riY.QPq/)4]zF7Hyv{-.Vvrc=T3uZA3aAITniY.k4AYTQnB-Rapy\u00260J%vp9I-A9)i?x\u003cU}6vruTkiYY-xx*V/RBAg/1Bvyj\u003cz/N]DB-Rapy\u00260J%vp9I-A9)i?x\u003cU}6vruTkiYY-xx\u0026xaZBAIT[A=M8si%{aKwGU/9vqPBWv@Mx]w[C::B97\u0026jB-PP8A+eV\u0026uTW?.uUjs\u0026wNw}^A9)WdA+PA7i%(sqB7DFgy*?f?uT[4]uT^.!wnb{]B6\u003c0lB2(uQoHhxsuS6*fm)Y%uuSGD^nKL\u003cznL-8*mnlPTsZL6boHSq!mn#tQB-Rapy\u00260J%vp9I-A9)6*zE^E0xldB3D2(2coIv-Dl0)I*uQ)BTmQGgZoI4Srr7P\u003eXuRA)Tr9@J(lSE2.nL-8y3uZA3az+\u003e5zdc^YAbYe[x(mD}zFa2$B9R*/i.Sjko*Jb:q^S3YpdwO\u003ek$\u003c\u003crk#ZAKpg3^\u0026i%{aKwGU/9vqPBWv@Mx]vRGZ\u003cx(mN8uVQHliYY@dk$%TLqD3{)lqy0SrZxzJl{T^zpFLm{pFT}%q=#*YpFta\u0026nMeLVpdEwMB-Rapy\u00260J%vp9I-A9)6*zE^E0xldB3D2(2coIv-Dl0)I*uQ)BTmQGgZoI4Srr7P\u003eXuSg95r6:R[mn^2VqACkdB7DFgy*?f?uT[4]uT^.!wnb{]B6\u003c0lB2(uQoHhxsuS6*fm)Y%uuSGD^nKL\u003cznL-8*r7G[Qs6[r%syjH0lQ:*JnL-8y3uZA3az+\u003e5zdc^YAbYe[x(mD}zFa2$B9R*/i=5Rvzdc^(B6\u0026M?zF0m0vqGT*vruj4zEmEbvruTki%{aKwGU/9vqPBWv@Mx]vRGZ\u003cx(mN8uVQHliY.7[vqPBWA=UPhvqGT*vru6/xjt:\u003ci%{aKwGU/9vqPBWv@Mx]vRGZ\u003cx(mN8uVQHliY.7[vqPBWC5H(0vMK]7B-Rapv@=11wJz\u003e+vS2^+C42i3wmoN]z/e][A=M8siYY=uzE#{Ty?WA*BzkVhmriA!AYTQnw]n-mvqGT*vruj4zEmEbvruTkuVZi[A+frmy\u0026?6jarR^HB97\u0026jB-PO^y\u00260J%vpa4@uUr?=w)YZ\u0026y?WA*BzkVhuVQr$BAITQ3lQDlaAzysBugJ\u003eB98BN3i",
            "ln": 0,
            "col": 1,
            "line": 1
          },
          {
            "b": "uQX6:mnM@PpFJ2}j%kgVarR^HarR^HarR^Hy?mYhzdN^fvp%c]jS[(+B75V(aBsCrarR^HarR^HarR^HarR!EwNPaRvqYQ.w].D]uT[4]uVQsfx(mMi3lQDlarR^HarR^",
            "ln": 2591,
            "col": 43,
            "line": 60
          },
          {
            "b": "azC.nwPzH6ATBDMfcB1\u0026oDW!\u0026By^0Cz/M$AxK#67Bzbkdxl4A$zddDcAa9^dwPw]lwOL^^BAnNDxK@r0A:-*4vr9$cAckRjw]n-mvqGT*vru6/xjt:\u003cc\u003c?7tarU?",
            "ln": 3194,
            "col": 73,
            "line": 81
          },
          {
            "b": "Eld=yarR^HC42i3wmoN]z/e{6ByxolB6\u003c3cuVG.0B.(dFB97\u0026jB-P8RA=k(refF\u003eNByeQ1A=k$E3vJl*bu[U\u0026xdd\u003ekB95\u003cp3t\u003cY(aARgoBAnNK3lQDlaA.:paAITniYZ\u003e+x/Xpxq/)4]zF83r3lQDlaA.:paz+\u003e5zdc^YAbYe@w[+Q[ByxolB2(uKw[:RJzGG]cv@$dWA=k$W3lQDlaA.:paz+\u003e5zdc^YAbYe@w[+Q[ByxolB2(uKw[+g=vruTkmriA!AYTQnarR^HB-RapB9hCkAYMm8vqGT*vru6/xjt:\u003ci%)8MarU/FwGV5pAaK5Ji^a}Fx\u003egT]x(v(@B97\u0026jB-Q]iz^NJ@B9hqvi%)8MarU/FwGUG6vru6wi+I]tw)YZ\u0026y?WA*BzkVhuUam#z/N)1m}cvFr://UwmoN]z/e0:A=k$W3lQDlaA.:paz+\u003e5zdc^YAbYe[x(mD}zFa2$B9R*/i.Sjko*Jb:q^S3YpdwO\u003ek$\u003c\u003crk#ZAKpg3%\u003eqBKU]lS^C$moz]Cp/H1Zpce^\u0026arR^Hbu]n3B97W{arR^Hw]n-mvqGT*uUsy/zeAZ4uUKN*vpJ!UAcbV4c[co=3lQDlarR^HayPtjwPz)1wPn\u003ew3lQDlarR^HarR^HaA?gfx\u003egT]wNx7VzE$p(z/fbqaAwXJA=k(rauzLDar(8xB0q-Oar\u003eYwa%Fl.ar\u003e\u0026Az/^fLed9HxarR^HarR^HarTD}c[3I[3lQDlarR^HasPwVarR^HEf{r7arR^KtxBB$Bx]j@arR!szxJ!8y?r",
            "ln": 3857,
            "col": 5,
            "line": 99
          },
          {
            "b": "vr9G4zF9W3wGUMeAboD6wN(#qvrk^{BAe=UdgdguarR^HarV7]3lQDlarR^HayPtjwPz(oc)rIKByeQ1A=k$Jx(^T0B.\u003e\u003exdjEs=3lQDlarR^HayPtjwPz)1wPn\u003ew3lQDlarR^HarR^HaA?gfx\u003egT]x(v(@B97\u0026jB-Q]iz^NJ@B9hqvc\u003c?7tarR^HarR^H",
            "ln": 6640,
            "col": 64,
            "line": 200
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "Ok"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "root.to_owned"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "llama_cpp_ffi_status::read_and_free_cpp_string"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "Err"
            ],
            [
              "",
              "i64::from"
            ],
            [
              "",
              "std::ffi::CString::new.map_err"
            ],
            [
              "",
              "std::ffi::CString::new"
            ],
            [
              "",
              "std::ffi::CString::new.map_err"
            ],
            [
              "",
              "std::ffi::CString::new"
            ],
            [
              "",
              "std::ptr::null_mut"
            ],
            [
              "",
              "llama_cpp_bindings_sys::llama_rs_validate_gbnf"
            ],
            [
              "",
              "vocab.map_or"
            ],
            [
              "",
              "std::ptr::null"
            ],
            [
              "",
              "grammar_cstring.as_ptr"
            ],
            [
              "",
              "root_cstring.as_ptr"
            ],
            [
              "",
              "super::validation_status_to_result"
            ],
            [
              "",
              "llama_cpp_bindings_sys::llama_rs_string_dup"
            ],
            [
              "",
              "std::ffi::CString"
            ],
            [
              "",
              "std::ffi::c_char"
            ],
            [
              "",
              "std::ptr"
            ],
            [
              "",
              "llama_cpp_ffi_status::FfiContractError"
            ],
            [
              "",
              "llama_cpp_ffi_status::FfiStatusError"
            ],
            [
              "",
              "llama_cpp_ffi_status::read_and_free_cpp_string"
            ],
            [
              "",
              "llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_EMPTY_RULE_SET"
            ],
            [
              "",
              "llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_LEFT_RECURSION"
            ],
            [
              "",
              "llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_OK"
            ],
            [
              "",
              "llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_ROOT_SYMBOL_MISSING"
            ],
            [
              "",
              "llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_SYNTAX_ERROR"
            ],
            [
              "",
              "llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_THREW_CXX_EXCEPTION"
            ],
            [
              "",
              "llama_cpp_bindings_sys::llama_rs_gbnf_validation_status"
            ],
            [
              "",
              "llama_cpp_bindings_sys::llama_rs_validate_gbnf"
            ],
            [
              "",
              "llama_cpp_bindings_sys::llama_vocab"
            ],
            [
              "",
              "crate::gbnf_validation_error::GbnfValidationError"
            ],
            [
              "",
              "std::ffi::CString"
            ],
            [
              "",
              "llama_cpp_ffi_status::FfiContractError"
            ],
            [
              "",
              "llama_cpp_ffi_status::FfiStatusError"
            ],
            [
              "",
              "super::validate_gbnf"
            ],
            [
              "",
              "super::validation_status_to_result"
            ],
            [
              "",
              "crate::gbnf_validation_error::GbnfValidationError"
            ],
            [
              "",
              "llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_THREW_CXX_EXCEPTION"
            ]
          ],
          "mbr": [
            "CString::new.map_err",
            "grammar_cstring.as_ptr",
            "root.to_owned",
            "root_cstring.as_ptr",
            "vocab.map_or"
          ],
          "tgt": [
            "Err",
            "Ok",
            "grammar_cstring.as_ptr",
            "i64::from",
            "llama_cpp_bindings_sys::llama_rs_string_dup",
            "llama_cpp_bindings_sys::llama_rs_validate_gbnf",
            "llama_cpp_ffi_status::read_and_free_cpp_string",
            "root.to_owned",
            "root_cstring.as_ptr",
            "std::ffi::CString::new",
            "std::ffi::CString::new.map_err",
            "std::ptr::null",
            "std::ptr::null_mut",
            "super::validation_status_to_result",
            "vocab.map_or"
          ],
          "funcs": [
            [
              "validation_status_to_result",
              808
            ],
            [
              "validate_gbnf",
              3266
            ],
            [
              "valid_grammar_is_accepted",
              4297
            ],
            [
              "malformed_grammar_is_a_syntax_error",
              4472
            ],
            [
              "empty_grammar_has_no_rules",
              4674
            ],
            [
              "grammar_without_root_reports_missing_root",
              4858
            ],
            [
              "left_recursive_grammar_is_rejected",
              5133
            ],
            [
              "grammar_with_interior_nul_is_reported",
              5346
            ],
            [
              "root_with_interior_nul_is_reported",
              5664
            ],
            [
              "exception_status_without_message_maps_to_unknown_reported_error",
              5967
            ],
            [
              "exception_status_preserves_reported_message",
              6493
            ],
            [
              "null_grammar_status_is_contract_error",
              7069
            ],
            [
              "null_root_status_is_contract_error",
              7558
            ],
            [
              "null_output_error_status_is_contract_error",
              8038
            ],
            [
              "llama_cpp_out_of_memory_status_is_distinct_from_error_string_allocation",
              8539
            ],
            [
              "allocation_failed_status_maps_to_not_enough_memory",
              8938
            ],
            [
              "unknown_status_is_preserved",
              9319
            ]
          ],
          "metrics": {
            "ast": {
              "max_depth": 16,
              "call_count": 32,
              "node_count": 1741,
              "member_count": 5,
              "max_member_depth": 2
            },
            "file": {
              "size": 9630,
              "entropy": 4.72
            },
            "text": {
              "lines": 295,
              "top_char": 114,
              "digit_ratio": 0,
              "space_count": 2552,
              "char_entropy": 4.72,
              "unique_chars": 81,
              "top_char_null": 0,
              "escape_density": 0.02,
              "import_density": 7.8,
              "string_density": 0.15,
              "top_char_ratio": 0.05,
              "avg_line_length": 31.64,
              "max_line_length": 98,
              "empty_line_ratio": 0.1,
              "last_line_length": 1,
              "whitespace_ratio": 0.3,
              "identifier_density": 1.19,
              "line_length_stddev": 25.33,
              "max_whitespace_run": 1,
              "octal_escape_count": 2,
              "normalized_import_count": 1.34,
              "normalized_string_count": 2.5,
              "repeated_char_sequences": 113,
              "normalized_function_count": 0.99,
              "imports_to_functions_ratio": 1.35,
              "strings_to_functions_ratio": 2.53,
              "normalized_unique_identifiers": 11.09,
              "identifiers_to_functions_ratio": 5.35
            },
            "binds": {
              "count": 8
            },
            "binary": {
              "peak_region_bytes": 3072,
              "peak_region_entropy": 5.18
            },
            "source": {
              "function_count": 17
            },
            "imports": {
              "count": 23,
              "third_party_count": 23,
              "third_party_ratio": 1
            },
            "strings": {
              "bytes": 700,
              "count": 43,
              "avg_length": 16.28,
              "max_length": 56,
              "avg_entropy": 2.77,
              "empty_count": 1,
              "entropy_stddev": 1.01
            },
            "comments": {
              "chars": 149,
              "count": 4,
              "lines": 4,
              "to_code_ratio": 0.01
            },
            "functions": {
              "count": 17,
              "density": 5.76,
              "avg_params": 0.35,
              "code_ratio": 0.77,
              "max_params": 3,
              "length_stddev": 11.78,
              "avg_name_length": 37.59,
              "no_params_count": 15,
              "avg_length_lines": 13.41,
              "max_length_lines": 58,
              "min_length_lines": 6,
              "high_entropy_names": 14,
              "avg_param_name_length": 5.83
            },
            "identifiers": {
              "count": 352,
              "unique": 91,
              "avg_length": 18.62,
              "max_length": 71,
              "min_length": 2,
              "avg_entropy": 2.91,
              "reuse_ratio": 0.26,
              "length_stddev": 16.01,
              "has_digit_ratio": 0.01,
              "high_entropy_count": 37,
              "high_entropy_ratio": 0.41,
              "all_lowercase_ratio": 0.65,
              "all_uppercase_ratio": 0.12,
              "numeric_suffix_count": 1
            }
          }
        },
        "id": 6,
        "mol": "Md₂(In₂Pa)",
        "path": "llama-cpp-gbnf-0.19.0.crate!!llama-cpp-gbnf-0.19.0/src/validate_gbnf.rs",
        "pid": 2484,
        "risk": 2,
        "sha": "5c6722e030cf24715f062b6e71c6dd52f8cebf9ebab865a6d9080ca8d2668c87",
        "size": 9630,
        "traits": [
          {
            "id": "metadata/import/rust/std/ffi/c_char::std/ffi/c_char",
            "conf": 0.95,
            "crit": 3,
            "desc": "imports std::ffi::c_char",
            "spans": [
              [
                24,
                16
              ]
            ]
          },
          {
            "id": "metadata/import/rust/std/ffi/cstring::std/ffi/cstring",
            "conf": 0.95,
            "crit": 3,
            "desc": "imports std::ffi::CString",
            "spans": [
              [
                15,
                17
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-test",
            "conf": 0.95,
            "crit": 3,
            "desc": "Rust test marker or harness",
            "uses": [
              21,
              22
            ],
            "spans": [
              [
                3921,
                12
              ],
              [
                4281,
                11
              ]
            ]
          },
          {
            "id": "metadata/import/rust/crate/gbnf_validation_error/gbnfvalidationerror::crate/gbnf_validation_error/gbnfvalidationerror",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports crate::gbnf_validation_error::GbnfValidationError",
            "spans": [
              [
                756,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_empty_rule_set::llama_cpp_bindings_sys/llama_rs_gbnf_validation_empty_rule_set",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_EMPTY_RULE_SET",
            "spans": [
              [
                191,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_left_recursion::llama_cpp_bindings_sys/llama_rs_gbnf_validation_left_recursion",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_LEFT_RECURSION",
            "spans": [
              [
                260,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_ok::llama_cpp_bindings_sys/llama_rs_gbnf_validation_ok",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_OK",
            "spans": [
              [
                329,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_root_symbol_missing::llama_cpp_bindings_sys/llama_rs_gbnf_validation_root_symbol_missing",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_ROOT_SYMBOL_MISSING",
            "spans": [
              [
                386,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_status::llama_cpp_bindings_sys/llama_rs_gbnf_validation_status",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::llama_rs_gbnf_validation_status",
            "spans": [
              [
                601,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_syntax_error::llama_cpp_bindings_sys/llama_rs_gbnf_validation_syntax_error",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_SYNTAX_ERROR",
            "spans": [
              [
                460,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_gbnf_validation_threw_cxx_exception::llama_cpp_bindings_sys/llama_rs_gbnf_validation_threw_cxx_exception",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::LLAMA_RS_GBNF_VALIDATION_THREW_CXX_EXCEPTION",
            "spans": [
              [
                527,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_rs_validate_gbnf::llama_cpp_bindings_sys/llama_rs_validate_gbnf",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::llama_rs_validate_gbnf",
            "spans": [
              [
                662,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_bindings_sys/llama_vocab::llama_cpp_bindings_sys/llama_vocab",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_bindings_sys::llama_vocab",
            "spans": [
              [
                714,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_ffi_status/fficontracterror::llama_cpp_ffi_status/fficontracterror",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_ffi_status::FfiContractError",
            "spans": [
              [
                52,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_ffi_status/ffistatuserror::llama_cpp_ffi_status/ffistatuserror",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_ffi_status::FfiStatusError",
            "spans": [
              [
                96,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/llama_cpp_ffi_status/read_and_free_cpp_string::llama_cpp_ffi_status/read_and_free_cpp_string",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports llama_cpp_ffi_status::read_and_free_cpp_string",
            "spans": [
              [
                138,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/std/ptr::std/ptr",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports std::ptr",
            "spans": [
              [
                37,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/super/validate_gbnf::super/validate_gbnf",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports super::validate_gbnf",
            "spans": [
              [
                4077,
                0
              ]
            ]
          },
          {
            "id": "metadata/import/rust/super/validation_status_to_result::super/validation_status_to_result",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports super::validation_status_to_result",
            "spans": [
              [
                4107,
                0
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-assert-eq-macro",
            "conf": 0.7,
            "crit": 2,
            "desc": "assert_eq! macro",
            "spans": [
              [
                4337,
                0
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-assert-macro",
            "conf": 0.6,
            "crit": 2,
            "desc": "assert! macro",
            "spans": [
              [
                6688,
                0
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-cfg-test",
            "conf": 0.9,
            "crit": 2,
            "desc": "#[cfg(test)] attribute",
            "spans": [
              [
                3921,
                0
              ]
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-test-attr",
            "conf": 0.9,
            "crit": 2,
            "desc": "Rust synchronous or async test attribute",
            "spans": [
              [
                4281,
                0
              ]
            ]
          },
          {
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "spans": [
              [
                3226,
                0
              ]
            ]
          },
          {
            "id": "micro-behaviors/data/llm/repository-directive::repository-agent-directive-marker",
            "conf": 0.88,
            "crit": 1,
            "desc": "Marks text as an agent directive",
            "spans": [
              [
                2623,
                0
              ]
            ]
          }
        ],
        "type": "rust"
      },
      {
        "depth": 1,
        "facts": {
          "metrics": {
            "file": {
              "size": 889,
              "entropy": 4.83
            },
            "binary": {
              "peak_region_bytes": 889,
              "peak_region_entropy": 4.83
            },
            "registry": {
              "age_days": 0,
              "published_at": 1791889373,
              "releases_24h": 2,
              "releases_48h": 2,
              "is_deprecated": 0,
              "release_count": 11,
              "unpacked_size": 6336,
              "downloads_total": 286,
              "version_removed": 0,
              "downloads_recent": 254,
              "package_age_days": 101,
              "first_published_at": 1783092374,
              "previous_published_at": 1791857260,
              "days_since_previous_release": 0
            }
          }
        },
        "id": 7,
        "mol": "Md(Re)",
        "path": "llama-cpp-gbnf@0.19.0.registry.json",
        "pid": 0,
        "rel": "registry",
        "risk": 1,
        "role": "sidecar",
        "sha": "db854ce679a42cf0a515f90ba427b9154a2dbffbac56ece5e8f623ff332b04f3",
        "size": 889,
        "traits": [
          {
            "id": "metadata/registry::freshly-published",
            "conf": 1.0,
            "crit": 3,
            "desc": "Release published within seven days"
          }
        ],
        "type": "registry"
      }
    ],
    "rev": "17dc6",
    "v": "8"
  }
}