{
  "schema_version": 1,
  "run_id": "aiagentpro--pharmaskills-gpt-6-luna-1795919595832401637",
  "date": "2026-11-29T02:38:32.709999+00:00",
  "repo": "aiagentpro/pharmaskills",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "2bc5244a27ba07ae11eed6a13b116de3d1a29f1b",
  "outcome": "pass",
  "time_to_working_s": 236.31527024996467,
  "install_s": 41.608,
  "first_use_s": 47.832,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "pharmaskills sdtm run synthetic/studies/PSK-001 --spec synthetic/studies/PSK-001/gold/spec.yaml --ct-file tests/fixtures/ct/sdtm_terminology_subset.txt --no-model",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "The engine provides skills, MCP, connectors, checkers and SDTM/lifecycle workflows.",
      "source": "Skills, an MCP server, live data connectors and checkers on one deterministic engine.<br> Raw EDC to validated SDTM in seconds, then protocols, CSRs, E2B(R3) safety cases and CMC, from target to label.<br>",
      "input": "PSK-001 synthetic study, gold spec and CT subset, --no-model",
      "expected": "9 datasets; zero validation errors and zero build errors",
      "command": "<guest-path> sdtm run synthetic/studies/PSK-001 --spec synthetic/studies/PSK-001/gold/spec.yaml --ct-file tests/fixtures/ct/sdtm_terminology_subset.txt --no-model",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: validation: pharmaskills-native 1.0.0 errors=0 warnings=2; build errors=0",
      "evidence": "validation: pharmaskills-native 1.0.0 errors=0 warnings=2; build errors=0\nreview queue: 0 rows; unapproved mappings: 0\noutputs under <guest-path>\nreport: <guest-path>\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "PSK-001: OK in 8.26s\ndatasets: {'AE': 168, 'CM': 159, 'DM': 138, 'EX': 467, 'LB': 5913, 'SUPPAE': 9, 'SUPPDM': 120, 'TS': 16, 'VS': 3420}\nvalidation: pharmaskills-native 1.0.0 errors=0 warnings=2; build errors=0\nreview queue: 0 rows; unapproved mappings: 0\noutputs under <guest-path>\nreport: <guest-path>\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Turn raw EDC into validated study data packages.",
      "source": "**Turn raw EDC into a study data package.** `pharmaskills sdtm run` profiles the exports,\n  proposes and validates a mapping spec, builds the domains, writes Define-XML 2.1 and a\n  reviewer's guide draft, then validates and repairs in a bounded loop. `adam build` derives ADSL\n  and ADAE with unit-tested derivations, and `define build` covers the datasets you add.",
      "input": "PSK-001 synthetic study, gold spec and CT subset, --no-model",
      "expected": "SDTM validation report",
      "command": "<guest-path> sdtm run synthetic/studies/PSK-001 --spec synthetic/studies/PSK-001/gold/spec.yaml --ct-file tests/fixtures/ct/sdtm_terminology_subset.txt --no-model",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: PSK-001: OK in",
      "evidence": "PSK-001: OK in 8.64s\ndatasets: {'AE': 168, 'CM': 159, 'DM': 138, 'EX': 467, 'LB': 5913, 'SUPPAE': 9, 'SUPPDM': 120, 'TS': 16, 'VS': 3420}\nvalidation: pharmaskills-native 1.0.0 errors=0 warnings=2; build errors=0\nreview queue: 0 rows; unapproved mappings: 0\noutputs under <guest-path>\nreport: <guest-path>\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "PSK-001: OK in 8.64s\ndatasets: {'AE': 168, 'CM': 159, 'DM': 138, 'EX': 467, 'LB': 5913, 'SUPPAE': 9, 'SUPPDM': 120, 'TS': 16, 'VS': 3420}\nvalidation: pharmaskills-native 1.0.0 errors=0 warnings=2; build errors=0\nreview queue: 0 rows; unapproved mappings: 0\noutputs under <guest-path>\nreport: <guest-path>\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Calculate protocol sample sizes and handle protocol checks.",
      "source": "**Write protocols and plans whose numbers add up.** `stats sample-size` covers means, proportions, log-rank, non-inferiority and equivalence and matches published reference values. `protocol check-estimands` checks the five ICH E9(R1) attributes; `protocol-m11` drafts in ICH M11 structure with a schedule of activities.",
      "input": "two means, delta=0.5, SD=1, power=90%, alpha=5%",
      "expected": "86 per group, total 172",
      "command": "<guest-path> stats sample-size --design two-means --delta 0.5 --sd 1 --power 0.9 --alpha 0.05",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: n per group 86 / 86 (total 172)",
      "evidence": "…n per group 86 / 86 (total 172); enrolled 172 after dropout\nformula: Smallest n1 such that power of the pooled two-sample t test (noncentral t, df = n1 + n2 - 2, ncp = delta / (sd * sqrt(1/n1 + 1/n2))) >= target; starting value n1 = (z_{1-alpha/sides} + z_{power})^2 sd^2 (1 + 1/k) / delta^2\nassumptions:\n- Equal variances in both groups, common SD as supplied.\n- Normally distributed outcome; pooled-variance t test.\n- 2-sided test at alpha = 0.05; allocation ratio n2/n1 = 1.0.\n- Normal-approximation starting value 84.06 per group 1.\n- No dropout inflation applied.\nreport: out/sample_size.json\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": ": n per group 86 / 86 (total 172); enrolled 172 after dropout\nformula: Smallest n1 such that power of the pooled two-sample t test (noncentral t, df = n1 + n2 - 2, ncp = delta / (sd * sqrt(1/n1 + 1/n2))) >= target; starting value n1 = (z_{1-alpha/sides} + z_{power})^2 sd^2 (1 + 1/k) / delta^2\nassumptions:\n- Equal variances in both groups, common SD as supplied.\n- Normally distributed outcome; pooled-variance t test.\n- 2-sided test at alpha = 0.05; allocation ratio n2/n1 = 1.0.\n- Normal-approximation starting value 84.06 per group 1.\n- No dropout inflation applied.\nreport: out/sample_size.json\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Sample size for a two-arm trial",
      "source": "docs/quickstart.md",
      "input": "two-means, difference 0.5 SD, 90 percent power, 5 percent two-sided alpha",
      "command": "<guest-path> stats sample-size --design two-means --delta 0.5 --sd 1 --power 0.9 --alpha 0.05",
      "evidence": "s: n per group 86 / 86 (total 172); enrolled 172 after dropout\nformula: Smallest n1 such that power of the pooled two-sample t test (noncentral t, df = n1 + n2 - 2, ncp = delta / (sd * sqrt(1/n1 + 1/n2))) >= target; starting value n1 = (z_{1-alpha/sides} + z_{power})^2 sd^2 (1 + 1/k) / delta^2\nassumptions:\n- Equal variances in both groups, common SD as supplied.\n- Normally distributed outcome; pooled-variance t test.\n- 2-sided test at alpha = 0.05; allocation ratio n2/n1 = 1.0.\n- Normal-approximation starting value 84.06 per group 1.\n- No dropout inflation applied.\nreport: out/sample_size.json",
      "deferred": false,
      "expected": "86 per arm (172 total)",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": ": n per group 86 / 86 (total 172); enrolled 172 after dropout\nformula: Smallest n1 such that power of the pooled two-sample t test (noncentral t, df = n1 + n2 - 2, ncp = delta / (sd * sqrt(1/n1 + 1/n2))) >= target; starting value n1 = (z_{1-alpha/sides} + z_{power})^2 sd^2 (1 + 1/k) / delta^2\nassumptions:\n- Equal variances in both groups, common SD as supplied.\n- Normally distributed outcome; pooled-variance t test.\n- 2-sided test at alpha = 0.05; allocation ratio n2/n1 = 1.0.\n- Normal-approximation starting value 84.06 per group 1.\n- No dropout inflation applied.\nreport: out/sample_size.json\n",
      "stderr": "",
      "output_truncated": true,
      "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 workflows and entrypoints; no scheduled job, cron, loop, webhook or one-cycle trigger is documented as a product operation.",
      "evidence": "Inspected README workflows and entrypoints; no scheduled job, cron, loop, webhook or one-cycle trigger is documented as a product operation.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "2bc5244a27ba07ae11eed6a13b116de3d1a29f1b",
    "ci_read_at": "2026-11-29T02:23:23Z",
    "ci_state": "FAILURE",
    "commits_90d": 79,
    "last_commit_at": "2026-11-28T23:54:32Z",
    "last_release_at": "2026-10-16T14:50:54Z",
    "median_reply_hours": null,
    "merged_prs_90d": 7,
    "note": "actively maintained: last commit 0 days ago; 79 commits and 7 merged PRs in 90 days; 0 open issues, 2 open PRs; latest release 2026-10-16",
    "open_issues": 0,
    "open_prs": 2,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "uv 0.13.10",
    "polars[rtcompat]"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 download and execute, 5 hardcoded secret. 2 static matches retained as context.",
    "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": false,
    "protocols_recorded": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "uv"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 1,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 7,
    "secrets_in_tests": 2,
    "download_lines_in_tests": 0,
    "dependency_versions": 131,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 103,
      "malicious": [],
      "vulnerabilities": []
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-4243f19282e59714a358f5d27849c5ebf3ef413d1667fe1ae5969f004abbb1d7",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 4
    },
    "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"
}
