{
  "productSlug": "witan-batch-1787098863628-310984",
  "productDisplayName": "witan-batch-1787098863628-310984",
  "repo": {
    "headSha": "dfa6dd587c5854b4beee5934beb39ba6e9569b84"
  },
  "rubricVersion": "witan-rubric-v17-2026-07-24",
  "criteria": [
    {
      "id": "A1",
      "title": "Test integrity and regression signal",
      "category": "code_trust",
      "score": 1.8,
      "status": "warning",
      "evidence": [
        {
          "kind": "test_run",
          "label": "Detected test file",
          "path": "src/AutoMapper.DI.Tests/AppDomainResolutionTests.cs",
          "line": 1,
          "contentHash": "12807653e9cc3cdbc1e440b717d826ac4ded6b1dffbe2746b0361623391d9bdd"
        },
        {
          "kind": "test_run",
          "label": "Detected test file",
          "path": "src/AutoMapper.DI.Tests/AssemblyResolutionTests.cs",
          "line": 1,
          "contentHash": "3e663e84481c2022793ff586d5c80a3e6259e3ee71954c288a4e0f906fd33022"
        },
        {
          "kind": "test_run",
          "label": "Detected test file",
          "path": "src/AutoMapper.DI.Tests/AttributeTests.cs",
          "line": 1,
          "contentHash": "e57b467dc1ffe9854b1ac4d9dab6e684601967a92c4e7fa13e7270bf07ee282b"
        },
        {
          "kind": "test_run",
          "label": "Detected test file",
          "path": "src/AutoMapper.DI.Tests/DependencyTests.cs",
          "line": 1,
          "contentHash": "f2bec804f03e57ba84e86149e397a89235d49518eb30175052017e01370284bf"
        },
        {
          "kind": "test_run",
          "label": "Detected test file",
          "path": "src/AutoMapper.DI.Tests/Integrations/ServiceLifetimeTests.cs",
          "line": 1,
          "contentHash": "4256a89b3a2a13e0818656302a72c62caa4e907631b186476ca933020af89bda"
        },
        {
          "kind": "test_run",
          "label": "Detected test file",
          "path": "src/AutoMapper.DI.Tests/MultipleRegistrationTests.cs",
          "line": 1,
          "contentHash": "b9426a4d9d1e58582e209aafa55ddfb27c220e14821dec8fea9134adfe9ad8b7"
        },
        {
          "kind": "test_run",
          "label": "Detected test file",
          "path": "src/AutoMapper.DI.Tests/Profiles.cs",
          "line": 1,
          "contentHash": "9580307a2f495fa019ee72dd07ffa9985ecc3600280e13d4f64b1116ec4a838b"
        },
        {
          "kind": "test_run",
          "label": "Detected test file",
          "path": "src/AutoMapper.DI.Tests/Properties/AssemblyInfo.cs",
          "line": 1,
          "contentHash": "ed76d76f0cc0c2a933906e47a45dc7b9fdcff1ec8a9d607038c9d5920836e26c"
        }
      ],
      "findings": [
        {
          "severity": "warning",
          "summary": "A1 metric-derived score is 1.8/4.0, in the warning band — no single finding drove this; it reflects the combined metric weighting below.",
          "evidence": {
            "kind": "test_run",
            "label": "Detected test file",
            "path": "src/AutoMapper.DI.Tests/AppDomainResolutionTests.cs",
            "line": 1,
            "contentHash": "12807653e9cc3cdbc1e440b717d826ac4ded6b1dffbe2746b0361623391d9bdd"
          }
        }
      ],
      "metrics": [
        {
          "name": "test_to_source_ratio",
          "label": "Test-to-source file ratio",
          "value": 420,
          "max": 1,
          "kind": "saturating_count",
          "weight": 0.3,
          "unit": "ratio",
          "description": "Measures how much concrete test surface exists relative to implementation surface."
        },
        {
          "name": "coverage_percent",
          "label": "Static coverage percentage",
          "value": 0,
          "max": 100,
          "weight": 0.3,
          "unit": "percent",
          "description": "Uses a static coverage report value or configured threshold when present, without running tests."
        },
        {
          "name": "verification_script_ratio",
          "label": "Verification script ratio",
          "value": 0,
          "max": 4,
          "kind": "saturating_count",
          "weight": 0.25,
          "unit": "ratio",
          "description": "Measures explicit test/lint/typecheck verification commands (via npm script or CI-invoked tool) plus test runner configuration."
        },
        {
          "name": "non_hollow_test_share",
          "label": "Non-hollow test share",
          "value": 8,
          "max": 8,
          "weight": 0.15,
          "unit": "ratio",
          "description": "Penalizes skipped or placeholder-only test files; test-directory support scaffolding (helpers/fixtures with no test in them) is excluded from the denominator."
        }
      ],
      "notes": "A1 is detected from real test files, test runner configuration, and optional coverage configuration."
    },
    {
      "id": "A2",
      "title": "Data-layer isolation and secrets posture",
      "category": "code_trust",
      "score": 0,
      "status": "not_applicable",
      "evidence": [],
      "findings": [],
      "metrics": [],
      "notes": "No data layer (DB/ORM/migrations) or ratable secrets surface detected — A2 not applicable to this repo archetype. A ratable surface requires .env* files, .gitignore .env rule, committed/history .env path, or detected signing/HMAC/secret-comparison code; bare env reads (process.env / os.environ / std::env::) do not qualify."
    },
    {
      "id": "A3",
      "title": "Production readiness",
      "category": "code_trust",
      "score": 0,
      "status": "not_applicable",
      "evidence": [],
      "findings": [],
      "metrics": [],
      "notes": "No deployable-service surface detected — production-readiness not applicable to this library/CLI archetype. Signals checked: production server entrypoint (HTTP/RPC port binding in main/server/app files, outside examples/tests/demo dirs), deploy config (vercel.json, render.yaml, fly.toml, Procfile, app.yaml, serverless.yml, docker-compose, k8s/helm manifests), CI deploy job (fly deploy, kubectl apply, helm install/upgrade, docker push). A Dockerfile without an explicit runtime start/service command is ambiguous and does not qualify."
    },
    {
      "id": "A4",
      "title": "Dependency hygiene",
      "category": "code_trust",
      "score": 2.8,
      "status": "warning",
      "evidence": [
        {
          "kind": "dependency_report",
          "label": "Dependency manifest",
          "path": "docs/requirements.txt",
          "line": 1,
          "contentHash": "ad06f98eae2cfee681da256c76313c6b273e3d3383bc03b082cc2b13fba2f340"
        }
      ],
      "findings": [
        {
          "severity": "warning",
          "summary": "A4 metric-derived score is 2.8/4.0, in the warning band — no single finding drove this; it reflects the combined metric weighting below.",
          "evidence": {
            "kind": "dependency_report",
            "label": "Dependency manifest",
            "path": "docs/requirements.txt",
            "line": 1,
            "contentHash": "ad06f98eae2cfee681da256c76313c6b273e3d3383bc03b082cc2b13fba2f340"
          }
        }
      ],
      "metrics": [
        {
          "name": "declared_version_range_ratio",
          "label": "Declared version range ratio",
          "value": 3,
          "max": 3,
          "weight": 0.5,
          "unit": "ratio",
          "description": "Measures dependencies declared with an explicit version constraint (range or exact); a library correctly ships ranges, so ranges earn full credit here."
        },
        {
          "name": "dependency_automation_ratio",
          "label": "Dependency automation ratio",
          "value": 0,
          "max": 2,
          "weight": 0.25,
          "unit": "ratio",
          "description": "Credits automated dependency updates and package-manager audit hooks."
        },
        {
          "name": "dependency_count_sanity",
          "label": "Dependency count sanity",
          "value": 1,
          "max": 1,
          "weight": 0.1,
          "unit": "sane",
          "description": "Credits a sane direct-dependency count for a library (full credit up to 120 declared specs across manifests, declining beyond)."
        }
      ],
      "notes": "A4 scored against library/CLI norms (no deploy surface detected — same archetype line as A3): declared version ranges are correct library behavior; a committed lockfile is credited but not required."
    },
    {
      "id": "A5",
      "title": "Claim-vs-reality reconciliation",
      "category": "code_trust",
      "score": 1.4,
      "status": "warning",
      "evidence": [
        {
          "kind": "claim_reconciliation",
          "label": "Repository claim source",
          "path": "README.md",
          "line": 1,
          "contentHash": "f0be14ab178e7f79e2f648aa554f73fec671caa1e40e554557d64cdd3bb3fdcc"
        },
        {
          "kind": "artifact",
          "label": "Code presence for claim reconciliation",
          "path": "docs/source/conf.py",
          "line": 1,
          "contentHash": "0f5c3ce50fd933ac5f9ef1c259b2b3555216e1a76b1c1564dc335e8698c645ce"
        }
      ],
      "findings": [
        {
          "severity": "warning",
          "summary": "Claim source and implementation files are present, but no dedicated claim-reality report artifact was supplied.",
          "evidence": {
            "kind": "claim_reconciliation",
            "label": "Repository claim source",
            "path": "README.md",
            "line": 1,
            "contentHash": "f0be14ab178e7f79e2f648aa554f73fec671caa1e40e554557d64cdd3bb3fdcc"
          }
        }
      ],
      "metrics": [
        {
          "name": "claim_match_rate",
          "label": "Claim match rate",
          "value": 1,
          "max": 2,
          "weight": 0.5,
          "unit": "ratio",
          "description": "Uses bounded implementation-to-claim-source depth as a static proxy when no dedicated artifact exists."
        },
        {
          "name": "claim_source_depth",
          "label": "Claim source depth",
          "value": 1,
          "max": 4,
          "kind": "saturating_count",
          "weight": 0.35,
          "unit": "docs",
          "description": "Credits multiple claim-bearing documents without judging unverified prose as truth."
        },
        {
          "name": "reconciliation_artifact_depth",
          "label": "Reconciliation artifact depth",
          "value": 0,
          "max": 3,
          "weight": 0.15,
          "unit": "artifacts",
          "description": "Requires a specific claim-reality artifact to reach full depth."
        }
      ]
    },
    {
      "id": "B1",
      "title": "Internal process dimension",
      "category": "process_trust",
      "score": 0,
      "status": "not_applicable",
      "evidence": [],
      "findings": [],
      "metrics": [],
      "notes": "Substrate-specific: an internal process dimension is not applicable to external code."
    },
    {
      "id": "B2",
      "title": "PR outcome traceability",
      "category": "process_trust",
      "score": 4,
      "status": "verified",
      "evidence": [
        {
          "kind": "ci_run",
          "label": "Pull-request CI workflow",
          "path": ".github/workflows/ci.yml",
          "line": 1,
          "contentHash": "2da4ee81ab4d81623dc020ba3d6c14594f2dc07b45542ea5ef68db6969744aa7"
        },
        {
          "kind": "ci_run",
          "label": "Pull-request CI workflow",
          "path": ".github/workflows/lock.yml",
          "line": 1,
          "contentHash": "eb25785fd7d3a27f0c0ad927a5de4234f0ca4e9479c4ecaa63ab9cddb8a77ea1"
        },
        {
          "kind": "ci_run",
          "label": "Pull-request CI workflow",
          "path": ".github/workflows/release.yml",
          "line": 1,
          "contentHash": "527f44911edd7a7c7eee364adeac4c77d524d125b2ab2a1c6d8f6d84ef573559"
        }
      ],
      "findings": [],
      "metrics": [
        {
          "name": "pr_trace_primitives",
          "label": "PR trace basic checks",
          "value": 4,
          "max": 2,
          "kind": "saturating_count",
          "weight": 0.8,
          "unit": "signals",
          "description": "Measures CI, PR template, and review-gate evidence for pull-request traceability."
        },
        {
          "name": "pr_merge_ratio",
          "label": "Recent PR merge ratio",
          "value": 1,
          "max": 1,
          "weight": 0.2,
          "unit": "ratio",
          "description": "Uses bounded git history as a deterministic proxy for PR outcome traceability."
        }
      ]
    },
    {
      "id": "B3",
      "title": "CI and QA discipline",
      "category": "process_trust",
      "score": 0.6,
      "status": "warning",
      "evidence": [
        {
          "kind": "ci_run",
          "label": "CI workflow",
          "path": ".github/workflows/ci.yml",
          "line": 1,
          "contentHash": "2da4ee81ab4d81623dc020ba3d6c14594f2dc07b45542ea5ef68db6969744aa7"
        }
      ],
      "findings": [
        {
          "severity": "warning",
          "summary": "B3 metric-derived score is 0.6/4.0, in the warning band — no single finding drove this; it reflects the combined metric weighting below.",
          "evidence": {
            "kind": "ci_run",
            "label": "CI workflow",
            "path": ".github/workflows/ci.yml",
            "line": 1,
            "contentHash": "2da4ee81ab4d81623dc020ba3d6c14594f2dc07b45542ea5ef68db6969744aa7"
          }
        }
      ],
      "metrics": [
        {
          "name": "ci_script_depth",
          "label": "CI verification depth",
          "value": 0,
          "max": 4,
          "kind": "saturating_count",
          "weight": 0.45,
          "unit": "signals",
          "description": "Counts npm verification scripts plus distinct test/lint/typecheck/build command categories detected anywhere in CI workflows; language-agnostic, counted by category not by file."
        },
        {
          "name": "default_branch_ci_depth",
          "label": "PR-gate CI workflow count",
          "value": 1,
          "max": 4,
          "kind": "saturating_count",
          "weight": 0.55,
          "unit": "workflows",
          "description": "Counts CI workflows that target pull requests or the default branch, up to 4."
        }
      ]
    },
    {
      "id": "B4",
      "title": "Audit trail and report-up completeness",
      "category": "process_trust",
      "score": 0,
      "status": "not_applicable",
      "evidence": [],
      "findings": [],
      "metrics": [],
      "notes": "Only a static security-policy artifact (e.g. SECURITY.md) was detected — no committed CHANGELOG/CHANGES/HISTORY/NEWS/AUDIT/STATUS/release-notes/runbook/provenance file to rate for an audit trail. The project may publish release history outside the repository (e.g. GitHub Releases). B4 has no ratable surface here; it is excluded rather than scored."
    },
    {
      "id": "B5",
      "title": "Internal process dimension",
      "category": "process_trust",
      "score": 0,
      "status": "not_applicable",
      "evidence": [],
      "findings": [],
      "metrics": [],
      "notes": "Substrate-specific: an internal process dimension is not applicable to external code."
    },
    {
      "id": "B6",
      "title": "Privileged-operation human gating",
      "category": "process_trust",
      "score": 0,
      "status": "not_applicable",
      "evidence": [],
      "findings": [],
      "metrics": [],
      "notes": "No privileged-operation surface (prod DB admin GRANT/privilege DDL, role escalation, or documented human-gate governance) detected in this repo."
    }
  ],
  "archetype": "source",
  "contentReadSummary": {
    "skipped": 23,
    "byReason": {
      "unreadable": 0,
      "tooLarge": 0,
      "excludedByExtension": 23,
      "deniedPath": 0,
      "nonRegularFile": 0
    },
    "unreadableByErrno": {},
    "affectedCriteria": []
  },
  "verdict": "at_risk",
  "codeTrustScore": 2,
  "processTrustScore": 2.3,
  "overallScore": 2.2
}
