{
  "ml": {
    "v": "7",
    "id": 3341,
    "lvl": -1,
    "conf": 0,
    "prob": 0.000019709268599399365,
    "type": "static-lib",
    "version": "v18.18",
    "analyzed_at": "2026-10-20T16:05:51Z"
  },
  "path": "xrat-model-0.31.2.crate",
  "raw": {
    "rev": "17dc6",
    "files": [
      {
        "id": 4633,
        "mol": "Md(Pa₃)",
        "pid": 2,
        "rel": "fetched",
        "sha": "a077c81e553430ce968520eee768801567c888422481bcfaefaff39cb2bac01d",
        "via": "https://static.crates.io/crates/xrat-model/xrat-model-0.31.2.crate",
        "path": "pkg:cargo/xrat-model@0.31.2",
        "risk": 4,
        "size": 14299,
        "type": "crate",
        "depth": 2,
        "facts": {
          "metrics": {
            "file": {
              "size": 14299,
              "entropy": 7.98
            },
            "binary": {
              "peak_region_bytes": 14299,
              "peak_region_entropy": 7.8
            }
          }
        },
        "ident": {
          "name": {
            "value": "xrat-model",
            "source": "crate.name",
            "verified": false
          },
          "trust": "unsigned",
          "version": {
            "value": "0.31.2",
            "source": "crate.version",
            "verified": false
          },
          "identifier": {
            "value": "xrat-model",
            "source": "crate.name",
            "verified": false
          },
          "description": {
            "value": "Shared domain types for xrat",
            "source": "crate.description",
            "verified": false
          }
        },
        "traits": [
          {
            "id": "metadata/package/dependencies/manifest/identity::cargo-dep-sqlx",
            "conf": 0.8,
            "crit": 3,
            "desc": "Cargo declares SQLx database dependency"
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-test",
            "conf": 0.95,
            "crit": 3,
            "desc": "Rust test marker or harness",
            "from": [
              {
                "off": 2493,
                "file": 4638,
                "line": 101
              },
              {
                "file": 4642
              },
              {
                "file": 4643
              },
              {
                "file": 4645
              }
            ],
            "uses": [
              28,
              29
            ]
          },
          {
            "id": "metadata/package/testing/presence/path::archive-test-directory-member-path",
            "conf": 0.98,
            "crit": 3,
            "desc": "Archive ships a root-level test tree"
          },
          {
            "id": "metadata/build/archive::archive-cargo-toml-entry",
            "conf": 0.9,
            "crit": 2,
            "desc": "Archive contains Cargo.toml"
          },
          {
            "id": "metadata/file/comment::source-at-most-two-comments",
            "conf": 0.88,
            "crit": 2,
            "desc": "Source has at most two comments",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/file/comment::source-comment-bytes-over-300",
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/file/naming::test-directory-component",
            "conf": 1.0,
            "crit": 2,
            "desc": "Path contains a test-directory component",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/crate/nodededupkey::crate/nodededupkey",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports crate::NodeDedupKey",
            "from": [
              {
                "file": 7
              }
            ]
          },
          {
            "id": "metadata/import/rust/crate/protocol::crate/protocol",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports crate::Protocol",
            "from": [
              {
                "file": 7
              }
            ]
          },
          {
            "id": "metadata/import/rust/ids/configid::ids/configid",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ids::ConfigId",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/ids/configref::ids/configref",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ids::ConfigRef",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/ids/subscriptionid::ids/subscriptionid",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ids::SubscriptionId",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/key/nodededupkey::key/nodededupkey",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports key::NodeDedupKey",
            "from": [
              {
                "file": 9
              }
            ]
          },
          {
            "id": "metadata/import/rust/node/node::node/node",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports node::Node",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/node_dedup_key/nodededupkey::node_dedup_key/nodededupkey",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports node_dedup_key::NodeDedupKey",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/protocol/protocol::protocol/protocol",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports protocol::Protocol",
            "from": [
              {
                "file": 6
              }
            ]
          },
          {
            "id": "metadata/import/rust/serde/deserialize::serde/deserialize",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports serde::Deserialize",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/import/rust/serde/serialize::serde/serialize",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports serde::Serialize",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/import/rust/std/collections/btreemap::std/collections/btreemap",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports std::collections::BTreeMap",
            "from": [
              {
                "file": 7
              }
            ]
          },
          {
            "id": "metadata/import/rust/std/fmt::std/fmt",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports std::fmt",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/import/rust/super/super/nodededupkey::super/super/nodededupkey",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports super::super::NodeDedupKey",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/import/rust/super::super",
            "conf": 0.95,
            "crit": 2,
            "desc": "imports super::*",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "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/testing/harness/unit::rust-assert-eq-macro",
            "conf": 0.7,
            "crit": 2,
            "desc": "assert_eq! macro",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-assert-macro",
            "conf": 0.6,
            "crit": 2,
            "desc": "assert! macro",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-cfg-test",
            "conf": 0.9,
            "crit": 2,
            "desc": "#[cfg(test)] attribute",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/package/testing/harness/unit::rust-test-attr",
            "conf": 0.9,
            "crit": 2,
            "desc": "#[test] attribute",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/package/testing/presence/fixture::package-test-directory-member",
            "conf": 0.96,
            "crit": 2,
            "desc": "Package test directory member"
          },
          {
            "id": "metadata/package/testing/presence/harness::rust-tests-directory-path",
            "conf": 0.9,
            "crit": 2,
            "desc": "Path identifies Rust tests directory",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/package/testing/presence/path::shell-crate-test-path",
            "conf": 0.95,
            "crit": 2,
            "desc": "Shell crate test path",
            "from": [
              {
                "file": 10
              }
            ]
          },
          {
            "id": "metadata/package/version::cargo-package-version",
            "conf": 0.85,
            "crit": 2,
            "desc": "Cargo package has version"
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 5
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-4",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 12
              }
            ]
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [
              {
                "file": 4
              }
            ]
          }
        ]
      }
    ]
  }
}