{
  "schema_version": 1,
  "run_id": "dpatel511--pmdshodh-gpt-6-luna-1795025195548761807",
  "date": "2026-11-18T18:14:42.103654+00:00",
  "repo": "dpatel511/pmdshodh",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "6fe9710b81c40701711a7a362925c77782c85d51",
  "outcome": "pass",
  "time_to_working_s": 442.3227725069737,
  "install_s": 292.346,
  "first_use_s": 39.511,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "pmdshodh score and filter on a SAM fixture",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Fast post-mortem damage scoring and filtering for ancient DNA alignments.",
      "source": "**Fast, maintained post-mortem damage (PMD) scoring and filtering for ancient DNA alignments.**",
      "input": "tests/data/reads_random.sam",
      "expected": "Produces PMD scores for reads in the supplied alignment file.",
      "command": "<guest-path> score --quiet tests/data/reads_random.sam -o <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: read_name\tflag\tpmds\tn_sites",
      "evidence": "read_name\tflag\tpmds\tn_sites\nread00000\t0\t-0.9865768085161752\t62\nread00001\t16\t3.1729412264446317\t53\nread00002\t65\t4.255810926918415\t76\nread00003\t145\t4.269806010951163\t60\nread00004\t1024\t2.36739414736616\t49\nread00005\t81\t-0.6102704829629956\t39\nread00006\t65\t-0.6162142768558568\t29\nread00007\t0\t-1.0509384371798278\t77\nread00008\t1040\t2.280267554641917\t83\nread00009\t1040\t-0.5203438364566815\t27\nread00010\t81\t-0.9613428242546691\t49\nread00011\t65\t7.208745140250786\t25\nread00012\t81\t-0.7339954400437619\t53\nread00013\t0\t4.941274694418709\t82\nread00014\t0\t4.500640819071617\t64\nread00015\t1040\t3.522911364244212\t17\nread00016",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "",
      "stderr": "",
      "output_truncated": false,
      "file_checked": true,
      "file_excerpt": "read_name\tflag\tpmds\tn_sites\nread00000\t0\t-0.9865768085161752\t62\nread00001\t16\t3.1729412264446317\t53\nread00002\t65\t4.255810926918415\t76\nread00003\t145\t4.269806010951163\t60\nread00004\t1024\t2.36739414736616\t49\nread00005\t81\t-0.6102704829629956\t39\nread00006\t65\t-0.6162142768558568\t29\nread00007\t0\t-1.0509384371798278\t77\nread00008\t1040\t2.280267554641917\t83\nread00009\t1040\t-0.5203438364566815\t27\nread00010\t81\t-0.9613428242546691\t49\nread00011\t65\t7.208745140250786\t25\nread00012\t81\t-0.7339954400437619\t53\nread00013\t0\t4.941274694418709\t82\nread00014\t0\t4.500640819071617\t64\nread00015\t1040\t3.522911364244212\t17\nread00016",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "pmdshodh scores every read in SAM, BAM or CRAM, filters reads by score, and summarizes damage patterns.",
      "source": "pmdshodh scores every read in a SAM, BAM or CRAM file for ancient DNA damage, keeps or removes reads by score, and summarises damage patterns. It uses the scoring model of [PMDtools](https://github.com/pontussk/PMDtools) 0.60, fixes PMDtools' known errors by default (`--pmdtools-compat` reproduces PMDtools exactly), reads and writes alignments directly, and runs on multiple threads.",
      "input": "tests/data/reads_random.sam",
      "expected": "Score output has read_name, flag, pmds and n_sites columns and one row per input read.",
      "command": "<guest-path> score --quiet tests/data/reads_random.sam -o <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: read_name\tflag\tpmds\tn_sites",
      "evidence": "read_name\tflag\tpmds\tn_sites\nread00000\t0\t-0.9865768085161752\t62\nread00001\t16\t3.1729412264446317\t53\nread00002\t65\t4.255810926918415\t76\nread00003\t145\t4.269806010951163\t60\nread00004\t1024\t2.36739414736616\t49\nread00005\t81\t-0.6102704829629956\t39\nread00006\t65\t-0.6162142768558568\t29\nread00007\t0\t-1.0509384371798278\t77\nread00008\t1040\t2.280267554641917\t83\nread00009\t1040\t-0.5203438364566815\t27\nread00010\t81\t-0.9613428242546691\t49\nread00011\t65\t7.208745140250786\t25\nread00012\t81\t-0.7339954400437619\t53\nread00013\t0\t4.941274694418709\t82\nread00014\t0\t4.500640819071617\t64\nread00015\t1040\t3.522911364244212\t17\nread00016",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "",
      "stderr": "",
      "output_truncated": false,
      "file_checked": true,
      "file_excerpt": "read_name\tflag\tpmds\tn_sites\nread00000\t0\t-0.9865768085161752\t62\nread00001\t16\t3.1729412264446317\t53\nread00002\t65\t4.255810926918415\t76\nread00003\t145\t4.269806010951163\t60\nread00004\t1024\t2.36739414736616\t49\nread00005\t81\t-0.6102704829629956\t39\nread00006\t65\t-0.6162142768558568\t29\nread00007\t0\t-1.0509384371798278\t77\nread00008\t1040\t2.280267554641917\t83\nread00009\t1040\t-0.5203438364566815\t27\nread00010\t81\t-0.9613428242546691\t49\nread00011\t65\t7.208745140250786\t25\nread00012\t81\t-0.7339954400437619\t53\nread00013\t0\t4.941274694418709\t82\nread00014\t0\t4.500640819071617\t64\nread00015\t1040\t3.522911364244212\t17\nread00016",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "PMDtools-compatible scores and command options are provided.",
      "source": "**PMDtools-compatible scores.** It uses the same likelihood model, defaults and options (`--threshold`, `--ss`, `--CpG`, `--UDGhalf`, `-m`, `-q`, …). Single-stranded (`--ss`) scores follow the paper's model and are lower than PMDtools'; see [Differences that change scores](#differences-that-change-scores).",
      "input": "tests/data/reads_random.sam",
      "expected": "Emits a pmds score for each read.",
      "command": "<guest-path> score --quiet tests/data/reads_random.sam -o <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: read_name\tflag\tpmds\tn_sites",
      "evidence": "read_name\tflag\tpmds\tn_sites\nread00000\t0\t-0.9865768085161752\t62\nread00001\t16\t3.1729412264446317\t53\nread00002\t65\t4.255810926918415\t76\nread00003\t145\t4.269806010951163\t60\nread00004\t1024\t2.36739414736616\t49\nread00005\t81\t-0.6102704829629956\t39\nread00006\t65\t-0.6162142768558568\t29\nread00007\t0\t-1.0509384371798278\t77\nread00008\t1040\t2.280267554641917\t83\nread00009\t1040\t-0.5203438364566815\t27\nread00010\t81\t-0.9613428242546691\t49\nread00011\t65\t7.208745140250786\t25\nread00012\t81\t-0.7339954400437619\t53\nread00013\t0\t4.941274694418709\t82\nread00014\t0\t4.500640819071617\t64\nread00015\t1040\t3.522911364244212\t17\nread00016",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "",
      "stderr": "",
      "output_truncated": false,
      "file_checked": true,
      "file_excerpt": "read_name\tflag\tpmds\tn_sites\nread00000\t0\t-0.9865768085161752\t62\nread00001\t16\t3.1729412264446317\t53\nread00002\t65\t4.255810926918415\t76\nread00003\t145\t4.269806010951163\t60\nread00004\t1024\t2.36739414736616\t49\nread00005\t81\t-0.6102704829629956\t39\nread00006\t65\t-0.6162142768558568\t29\nread00007\t0\t-1.0509384371798278\t77\nread00008\t1040\t2.280267554641917\t83\nread00009\t1040\t-0.5203438364566815\t27\nread00010\t81\t-0.9613428242546691\t49\nread00011\t65\t7.208745140250786\t25\nread00012\t81\t-0.7339954400437619\t53\nread00013\t0\t4.941274694418709\t82\nread00014\t0\t4.500640819071617\t64\nread00015\t1040\t3.522911364244212\t17\nread00016",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Direct alignment input and output with filtering are supported.",
      "source": "**Direct SAM/BAM/CRAM input, SAM/BAM output.** Kept records are written unchanged and in input order, with an `@PG` header line. CRAM is decoded with the reference given by `-r`.",
      "input": "tests/data/reads_random.sam",
      "expected": "Writes filtered SAM containing a program header.",
      "command": "<guest-path> filter --threshold 3 --quiet tests/data/reads_random.sam -o <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: @PG\tID:pmdshodh",
      "evidence": "@PG\tID:pmdshodh\tPN:pmdshodh\tVN:0.2.3\tCL:<guest-path> filter --threshold 3 --quiet tests/data/reads_random.sam -o <guest-path>\nread00001\t16\tchrT\t1001\t37\t54M21M4M\t*\t0\t0\tTGACGCNTAGATCACGCCCCGGAGCAGGCGAATCATGGGCGCGGCCGACGCGGGTGAGAAGCCGTCGGTTAGCGGTCGA\t5:FI50I5)#555J55F:):5)D)DF00I0J)0:?#F#F:)#0#)IJI?#):J#5I:)?#?50:5?D0##5D##5??#:\tMD:Z:0C5G18C47A5\nread00002\t65\tchrT\t1002\t0\t2S1X53=50=19=1X7=1S\t*\t0\t0\tTGTGGCTCGTTGCGCGTCGCGAGAAAGCCGTAATCGACGGTTGGCACCGTACGTTCCTAATCGCTTGCTTCGTCGGACGCCAACACGTACTCGATCGTAA",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "",
      "stderr": "",
      "output_truncated": false,
      "file_checked": true,
      "file_excerpt": "@HD\tVN:1.6\tSO:unsorted\n@SQ\tSN:chrT\tLN:1000000\n@PG\tID:pmdshodh\tPN:pmdshodh\tVN:0.2.3\tCL:<guest-path> filter --threshold 3 --quiet tests/data/reads_random.sam -o <guest-path>\nread00001\t16\tchrT\t1001\t37\t54M21M4M\t*\t0\t0\tTGACGCNTAGATCACGCCCCGGAGCAGGCGAATCATGGGCGCGGCCGACGCGGGTGAGAAGCCGTCGGTTAGCGGTCGA\t5:FI50I5)#555J55F:):5)D)DF00I0J)0:?#F#F:)#0#)IJI?#):J#5I:)?#?50:5?D0##5D##5??#:\tMD:Z:0C5G18C47A5\nread00002\t65\tchrT\t1002\t0\t2S1X53=50=19=1X7=1S\t*\t0\t0\tTGTGGCTCGTTGCGCGTCGCGAGAAAGCCGTAATCGACGGTTGGCACCGTACGT",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Quick start: score every read as a table.",
      "source": "README.md Quick start: `pmdshodh score sample.bam -o sample.scores.tsv`",
      "input": "tests/data/reads_random.sam",
      "command": "<guest-path> score --quiet tests/data/reads_random.sam -o <guest-path>",
      "evidence": "d01483\t129\t9.705254963966677\t33\nread01484\t1040\t0.12624908312250235\t84\nread01485\t145\t10.956426287288746\t29\nread01486\t1040\t0.07707458070841838\t11\nread01487\t0\t-0.017723820011154134\t65\nread01488\t81\t1.2716353275602628\t65\nread01489\t16\t-0.5234206127913867\t33\nread01490\t16\t0.4877265442404552\t75\nread01491\t65\t1.8257683969003373\t89\nread01492\t0\t2.470100617015102\t37\nread01493\t16\t-0.859418860067927\t34\nread01494\t145\t4.977048107680087\t90\nread01495\t16\t3.9589634157127507\t67\nread01496\t129\t-1.2650919387676598\t17\nread01497\t0\t0.8498974155427116\t22\nread01498\t0\t-0.41890896174150094\t57\nread01499\t81\t5.77351026552842\t53\n",
      "deferred": false,
      "expected": "Produces a TSV score table with read_name, flag, pmds and n_sites columns.",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "",
      "stderr": "",
      "output_truncated": false,
      "file_checked": true,
      "file_excerpt": "read_name\tflag\tpmds\tn_sites\nread00000\t0\t-0.9865768085161752\t62\nread00001\t16\t3.1729412264446317\t53\nread00002\t65\t4.255810926918415\t76\nread00003\t145\t4.269806010951163\t60\nread00004\t1024\t2.36739414736616\t49\nread00005\t81\t-0.6102704829629956\t39\nread00006\t65\t-0.6162142768558568\t29\nread00007\t0\t-1.0509384371798278\t77\nread00008\t1040\t2.280267554641917\t83\nread00009\t1040\t-0.5203438364566815\t27\nread00010\t81\t-0.9613428242546691\t49\nread00011\t65\t7.208745140250786\t25\nread00012\t81\t-0.7339954400437619\t53\nread00013\t0\t4.941274694418709\t82\nread00014\t0\t4.500640819071617\t64\nread00015\t1040\t3.522911364244212\t17\nread00016",
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Inspected README Quick start and Commands and src/main.rs entrypoints. pmdshodh performs finite per-file score, filter and damage operations; it documents no cron, scheduled cycle, webhook, --once or --now behavior.",
      "evidence": "Inspected README Quick start and Commands and src/main.rs entrypoints. pmdshodh performs finite per-file score, filter and damage operations; it documents no cron, scheduled cycle, webhook, --once or --now behavior.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "6fe9710b81c40701711a7a362925c77782c85d51",
    "ci_read_at": "2026-11-18T17:48:32Z",
    "ci_state": "SUCCESS",
    "commits_90d": 103,
    "last_commit_at": "2026-11-18T17:42:52Z",
    "last_release_at": "2026-11-18T11:38:26Z",
    "median_reply_hours": null,
    "merged_prs_90d": 40,
    "note": "actively maintained: last commit 0 days ago; 103 commits and 40 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-18",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3 (guest python3)",
    "Rust 1.91.0",
    "build-essential"
  ],
  "local_or_hosted": "both",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 1 outside write.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": true,
    "protocols_recorded": false,
    "lookups_recorded": false,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [],
    "credential_reads": [],
    "outside_writes": 1,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 83,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": null,
    "installed": null,
    "installed_inventory": false,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-413a5297127908f40e5c7776ed34304d9819422583e1bea3392021627de50e27",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [],
      "package_registries": [],
      "private_address_attempts": 0,
      "recorded": true,
      "hosts_withheld": 10
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "readme_checked"
}
