{
  "schema_version": 1,
  "run_id": "jetperch--joulescope_event_analyzer-claude-haiku-5-5-1794862026824485678",
  "date": "2026-11-16T20:49:24.566965+00:00",
  "repo": "jetperch/joulescope_event_analyzer",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "a96b64145282bc0d7595a372803ac24b9e96faa2",
  "outcome": "pass",
  "time_to_working_s": 104.71619809098775,
  "install_s": 35.187,
  "first_use_s": 32.84,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Analyze a Joulescope capture file with the joulescope_event_analyzer CLI (python -m joulescope_event_analyzer analyze) to detect, measure and group events into types, and write the HTML/CSV/JSON outputs; also compare two captures.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Find, measure, group and compare the current events in a Joulescope capture.",
      "source": "Find, measure, group and compare the current events in a Joulescope capture.",
      "input": "<guest-path>",
      "expected": "events found and grouped into types",
      "command": "<guest-path> -m joulescope_event_analyzer analyze <guest-path> -o <guest-path> --cdn",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: 23 events in 3 types",
      "evidence": "…23 events in 3 types, 0 rejected as noise, average current 56.79 uA, unattributed 0.00 %\n  Type   A: n=    8  duration=  3.055 ms  excess charge=  16.43 uC  energy=  49.23 uJ  avg=  43.83 uA\n  Type   B: n=    3  duration=  2.203 ms  excess charge=  6.042 uC  energy=  18.13 uJ  avg=  6.042 uA\n  Type   C: n=   12  duration=  490.8 us  excess charge=    731 nC  energy=  2.193 uJ  avg=  2.924 uA\n  wrote <guest-path>\n  wrote <guest-path>\n  wr",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "pe   A: n=    8  duration=  3.055 ms  excess charge=  16.43 uC  energy=  49.23 uJ  avg=  43.83 uA\n  Type   B: n=    3  duration=  2.203 ms  excess charge=  6.042 uC  energy=  18.13 uJ  avg=  6.042 uA\n  Type   C: n=   12  duration=  490.8 us  excess charge=    731 nC  energy=  2.193 uJ  avg=  2.924 uA\n  wrote <guest-path>\n  wrote <guest-path>\n  wrote <guest-path>\n",
      "stderr": "  Estimating sleep current\n  Detecting events\n  Measuring events\n  Computing envelopes\n  Matching events\n  Done\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Compare two captures, for example two firmware versions or two sample rates:",
      "source": "README.md",
      "input": "<guest-path> and <guest-path>",
      "command": "<guest-path> -m joulescope_event_analyzer compare <guest-path> <guest-path> --labels v1.2 v1.3 -o <guest-path> --cdn",
      "evidence": "l\n  v1.2: Estimating sleep current\n  v1.2: Detecting events\n  v1.2: Measuring events\n  v1.2: Computing envelopes\n  v1.2: Matching events\n  v1.2: Done\n  v1.3: Estimating sleep current\n  v1.3: Detecting events\n  v1.3: Measuring events\n  v1.3: Computing envelopes\n  v1.3: Matching events\n  v1.3: Done\n  v1.2: Estimating sleep current\n  v1.2: Detecting events\n  v1.2: Measuring events\n  v1.2: Computing envelopes\n  v1.2: Matching events\n  v1.2: Done\n  v1.3: Estimating sleep current\n  v1.3: Detecting events\n  v1.3: Measuring events\n  v1.3: Computing envelopes\n  v1.3: Matching events\n  v1.3: Done\n  Done",
      "deferred": false,
      "expected": "type-by-type comparison",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "v1.2 vs v1.3\n  Type   A: n=8/8  charge diff   -0.17 %  [excess_charge same, excess_energy same, duration same, i_peak same]\n  Type   B: n=3/3  charge diff   +0.11 %  [excess_charge same, excess_energy same, duration same, i_peak same]\n  Type   C: n=12/12  charge diff   -0.03 %  [excess_charge same, excess_energy same, duration same, i_peak same]\n  wrote <guest-path>\n",
      "stderr": "  v1.2: Estimating sleep current\n  v1.2: Detecting events\n  v1.2: Measuring events\n  v1.2: Computing envelopes\n  v1.2: Matching events\n  v1.2: Done\n  v1.3: Estimating sleep current\n  v1.3: Detecting events\n  v1.3: Measuring events\n  v1.3: Computing envelopes\n  v1.3: Matching events\n  v1.3: Done\n  v1.2: Estimating sleep current\n  v1.2: Detecting events\n  v1.2: Measuring events\n  v1.2: Computing envelopes\n  v1.2: Matching events\n  v1.2: Done\n  v1.3: Estimating sleep current\n  v1.3: Detecting events\n  v1.3: Measuring events\n  v1.3: Computing envelopes\n  v1.3: Matching events\n  v1.3: Done\n  Done\n",
      "output_truncated": false,
      "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.md and the CLI entrypoints (analyze, compare, template); the product is a one-shot command with no cron, loop, webhook, --once/--now or scheduler option.",
      "evidence": "Inspected README.md and the CLI entrypoints (analyze, compare, template); the product is a one-shot command with no cron, loop, webhook, --once/--now or scheduler option.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "a96b64145282bc0d7595a372803ac24b9e96faa2",
    "ci_read_at": "2026-11-16T20:33:22Z",
    "ci_state": "SUCCESS",
    "commits_90d": 2,
    "last_commit_at": "2026-11-16T20:15:51Z",
    "last_release_at": "2026-11-16T20:20:21Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 2 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-16",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "pip / venv",
    "numpy",
    "pyjls",
    "setuptools>=77"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README's CLI analyze example writes capture_events/ next to the capture; this was run with -o and --cdn to keep outputs in a fresh directory and avoid a plotly download.",
    "README gives no sample capture; a synthetic capture was generated with the documented synthetic module."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Nothing suspicious seen in this run.",
    "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": false,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 0,
    "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-8158348eeff1901316d25c8ee0666c98ea285cdb4b0dce9da9b8a6f889cf0882",
  "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": 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"
}
