{
  "schema_version": 1,
  "run_id": "coilemdev--coilem-claude-haiku-5-5-1795458204497845911",
  "date": "2026-11-23T18:41:38.807756+00:00",
  "repo": "coilemdev/coilem",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "06d3b1785ae74ec672edaee89fb85020489d4b4f",
  "outcome": "pass",
  "time_to_working_s": 966.0053006020025,
  "install_s": 204.155,
  "first_use_s": 461.1,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Build coilEM from the pinned source (README 'Build from source') and run the documented headless CLI solve: coilem solve on a bundled SPM outrunner design, producing a coilem.cli.solve/v1 JSON result with real torque (average_torque_Nm about 0.0641 N·m). Also ran the documented Python client example docs/examples/client_spm_motor.py (average torque 1.913 N·m).",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "coilEM designs electric motors and solves them with a built-in 2D finite-element solver",
      "source": "coilEM is an open-source app for designing electric motors.",
      "input": "SPM outrunner example design, quick coarse torque solve",
      "expected": "solve JSON document written",
      "command": "<guest-path> solve frontend/src/public/examples/spm_outrunner_14p12s.coilem --quality quick --mesh coarse --analyses torque --out <guest-path> --compact",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: coilem.cli.solve/v1",
      "evidence": "…coilem.cli.solve/v1\", \"ok\": true, \"command\": \"solve\", \"coilem_version\": \"0.5.9\", \"solver\": {\"name\": \"magneto2d\", \"mode\": \"in_process\", \"server\": null}, \"design\": {\"path\": \"<guest-path>\", \"name\": \"SPM outrunner 14p/12s\"}, \"setup\": {\"source\": \"design\", \"id\": null, \"version\": null, \"name\": null, \"kind\": null, \"includes_numerics\": null, \"modified\": false, \"run_setup\": null, \"notes\": []}, \"effective\": {\"solve_params\": {\"solve_quality\": \"quick\", \"rotor_sweep_range_deg\": 360.0, \"rotor_step_deg\": 5.0, \"mesh_density\": \"coarse\", \"mesh_s",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "",
      "stderr": "coilem: using the design's saved settings\ncoilem: solved in 33.0 s\ncoilem: wrote <guest-path>\n",
      "output_truncated": false,
      "file_checked": true,
      "file_excerpt": "{\"schema\": \"coilem.cli.solve/v1\", \"ok\": true, \"command\": \"solve\", \"coilem_version\": \"0.5.9\", \"solver\": {\"name\": \"magneto2d\", \"mode\": \"in_process\", \"server\": null}, \"design\": {\"path\": \"<guest-path>\", \"name\": \"SPM outrunner 14p/12s\"}, \"setup\": {\"source\": \"design\", \"id\": null, \"version\": null, \"name\": null, \"kind\": null, \"includes_numerics\": null, \"modified\": false, \"run_setup\": null, \"notes\": []}, \"effective\": {\"solve_params\": {\"solve_quality\": \"quick\", \"rotor_sweep_range_deg\": 360.0, \"rotor_step_deg\": 5.0, \"mesh_density\": \"coar",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Design outrunner surface-magnet motors",
      "source": "- **Design** inner-rotor and outer-rotor (outrunner) surface-magnet motors, and flat-buried and V-shape IPM motors, with concentrated or distributed windings. See the motor in 2D and 3D as you edit it.",
      "input": "SPM outrunner 14p/12s example design",
      "expected": "design name reported by check",
      "command": "<guest-path> check frontend/src/public/examples/spm_outrunner_14p12s.coilem --compact",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: SPM outrunner 14p/12s",
      "evidence": "…SPM outrunner 14p/12s\"}, \"setup\": {\"source\": \"design\", \"id\": null, \"version\": null, \"name\": null, \"kind\": null, \"includes_numerics\": null, \"modified\": false, \"run_setup\": null, \"notes\": []}, \"effective\": {\"solve_params\": {\"solve_quality\": \"custom\", \"rotor_sweep_range_deg\": 360.0, \"rotor_step_deg\": 5.0, \"mesh_density\": \"fine\", \"mesh_source\": \"native\", \"mesher\": \"gmsh\", \"corner_refinement\": true, \"mesh_build\": \"precise\", \"slot_sidewall_refinement\": false, \"current_amplitude_A\": 10.0, \"current_amplitude_convention\": \"plateau\", \"current_angle_deg\": 0.0, \"excitation_mode\": \"ideal_six_step_120\", \"co",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "\"wye\", \"rated_speed_rpm\": 8000, \"motor_input_dc_bus_V\": null, \"max_nonlinear_iterations\": null, \"nonlinear_solver\": \"newton\", \"linear_solver_preconditioner\": \"direct\", \"linear_steel_mu_rel\": null, \"magneto2d_workers\": null, \"stream_noload_field_lines\": null, \"field_composition_source\": \"resultant\", \"rotor_rotation_model\": \"remesh_per_step\", \"torque_method\": \"weighted_stress\"}, \"solve_options\": {\"torque_sweep\": true, \"back_emf\": true, \"flux_density\": true, \"cogging_torque\": false, \"losses_efficiency\": true, \"torque_speed_envelope\": false, \"thd_analysis\": false}, \"torque_speed_analysis\": null}}\n",
      "stderr": "coilem: using the design's saved settings\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Drive the motor with sinusoidal current",
      "source": "- **Drive** it with sinusoidal current, or with ideal six-step (BLDC) commutation for surface-magnet motors.",
      "input": "SPM outrunner design with excitation_mode set to sinusoidal",
      "expected": "effective excitation_mode sinusoidal",
      "command": "<guest-path> check frontend/src/public/examples/spm_outrunner_14p12s.coilem --set excitation_mode=sinusoidal --set current_amplitude_convention=peak --compact",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"excitation_mode\": \"sinusoidal\"",
      "evidence": "…\"excitation_mode\": \"sinusoidal\", \"commutation_advance_deg\": 0.0, \"phase_connection\": \"wye\", \"rated_speed_rpm\": 8000, \"motor_input_dc_bus_V\": null, \"max_nonlinear_iterations\": null, \"nonlinear_solver\": \"newton\", \"linear_solver_preconditioner\": \"direct\", \"linear_steel_mu_rel\": null, \"magneto2d_workers\": null, \"stream_noload_field_lines\": null, \"field_composition_source\": \"resultant\", \"rotor_rotation_model\": \"remesh_per_step\", \"torque_method\": \"weighted_stress\"}, \"solve_options\": {\"torque_sweep\": true, \"back_emf\": true, \"flux_density\": true, \"cogging_torque\": false, \"losses_efficiency\": true, \"to",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "\"wye\", \"rated_speed_rpm\": 8000, \"motor_input_dc_bus_V\": null, \"max_nonlinear_iterations\": null, \"nonlinear_solver\": \"newton\", \"linear_solver_preconditioner\": \"direct\", \"linear_steel_mu_rel\": null, \"magneto2d_workers\": null, \"stream_noload_field_lines\": null, \"field_composition_source\": \"resultant\", \"rotor_rotation_model\": \"remesh_per_step\", \"torque_method\": \"weighted_stress\"}, \"solve_options\": {\"torque_sweep\": true, \"back_emf\": true, \"flux_density\": true, \"cogging_torque\": false, \"losses_efficiency\": true, \"torque_speed_envelope\": false, \"thd_analysis\": false}, \"torque_speed_analysis\": null}}\n",
      "stderr": "coilem: using the design's saved settings\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Define a motor, solve it and read the results from Python",
      "source": "docs/PYTHON_CLIENT.md",
      "input": "docs/examples/client_spm_motor.py with fresh output folder",
      "command": "<guest-path> docs/examples/client_spm_motor.py <guest-path>",
      "evidence": "aveform  48 positions, phase A peak 23.64 V\nWrote <guest-path> and <guest-path>\nmagneto2d: Gmsh slot-pitch mesh reuse — meshing 32 base angles, deriving 40 congruent angles by rotation (COILEM_MAGNETO2D_GMSH_MESH_REUSE=0 to disable)\nmagneto2d: slot-pitch solution reuse — skipping 32 congruent FEM solve(s); derived reports are synthesized from base solves by rotation (COILEM_MAGNETO2D_GMSH_SOLVE_REUSE=0 to disable)",
      "deferred": false,
      "expected": "average torque and back-EMF printed, request and result written",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "ipple          56.2 %\nBack-EMF (fund.)      16.27 V at 3000 rpm\ni_d, i_q             -10.00 A, 17.32 A\nλ_d, λ_q, λ_pm        17.05 mWb, 2.41 mWb, 18.36 mWb\nL_d, L_q              130.7 µH, 138.9 µH  (experimental)\nCogging               0.977 N·m peak to peak, period 15° mech\nTorque waveform    17 positions, 1.346 to 2.421 N·m\nBack-EMF waveform  48 positions, phase A peak 23.64 V\nWrote <guest-path> and <guest-path>\n",
      "stderr": "magneto2d: Gmsh slot-pitch mesh reuse — meshing 32 base angles, deriving 40 congruent angles by rotation (COILEM_MAGNETO2D_GMSH_MESH_REUSE=0 to disable)\nmagneto2d: slot-pitch solution reuse — skipping 32 congruent FEM solve(s); derived reports are synthesized from base solves by rotation (COILEM_MAGNETO2D_GMSH_SOLVE_REUSE=0 to disable)\n",
      "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.md, docs/COMMAND_LINE.md and docs/PYTHON_CLIENT.md, and the [project.scripts] entries in pyproject.toml (coilem, coilem-serve). coilEM is a one-shot solver: coilem solve/check run once per call, and no cron, loop, schedule, webhook, --once or --now entrypoint is documented for product operation. The only periodic mechanism is the CI schedule under .github, which is not product behaviour.",
      "evidence": "Inspected README.md, docs/COMMAND_LINE.md and docs/PYTHON_CLIENT.md, and the [project.scripts] entries in pyproject.toml (coilem, coilem-serve). coilEM is a one-shot solver: coilem solve/check run once per call, and no cron, loop, schedule, webhook, --once or --now entrypoint is documented for product operation. The only periodic mechanism is the CI schedule under .github, which is not product behaviour.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "a3e70035804746fcc3e0cb930f4de16101e3e3e3",
    "ci_read_at": "2026-11-16T03:27:01Z",
    "ci_state": "SUCCESS",
    "commits_90d": 658,
    "last_commit_at": "2026-11-15T19:31:02Z",
    "last_release_at": "2026-11-12T20:36:30Z",
    "median_reply_hours": null,
    "merged_prs_90d": 191,
    "note": "actively maintained: last commit 0 days ago; 658 commits and 191 merged PRs in 90 days; 16 open issues, 2 open PRs; latest release 2026-11-12",
    "open_issues": 16,
    "open_prs": 2,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3 (venv)",
    "uv 0.13.9",
    "Rust/cargo stable 1.100.0",
    "gcc/cc (build-essential)",
    "Node.js v22.23.4 / npm 10.9.9",
    "apt: libglu1-mesa libgl1 libx11-6 libxcursor1 libxext6 libxfixes3 libxft2 libxinerama1 libxrender1 libfontconfig1 libgomp1"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README asks for Node.js 24 for the frontend; the guest had Node v22.23.4 and npm ci succeeded with it (not separately verified against 24).",
    "README's apt-get install line assumes a fresh package index; the guest needed apt-get update first.",
    "The README's Rust requirement (1.84+) is met by the stable toolchain; cargo was not on PATH after rustup ran as root with HOME=<guest-path>, so the toolchain bin dir was used directly."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 39 hardcoded secret, 1 known vulnerability, 1 outside write. 1 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": true,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [
      {
        "to": "151.101.2.137",
        "port": "443",
        "rule": null,
        "programs": [
          "curl",
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      },
      {
        "to": "151.101.66.137",
        "port": "443",
        "rule": null,
        "programs": [
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "http"
        ],
        "names": [
          "_http._tcp.archive.ubuntu.com",
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "node"
        ],
        "names": [
          "registry.npmjs.org"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "curl",
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 4,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "paste",
        "version": "1.0.15",
        "advisory": "RUSTSEC-2024-0436"
      }
    ],
    "secrets": 40,
    "secrets_in_tests": 1,
    "download_lines_in_tests": 0,
    "dependency_versions": 258,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 128,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-4xh5-x5gv-qwph"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-58qw-9mgm-455v"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-6vgw-5pg2-w6jp"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-jp4c-xjxw-mgf9"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-qwm4-qh6w-59xr"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-wf93-45jw-7689"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1795"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1796"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-196"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2875"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2876"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-3721"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-4197f076af8a7b128bc5f4da3fa0e526cca8795e599948d01ba5e4e4b9f0e5a3",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "pypi.org",
        "registry.npmjs.org",
        "security.ubuntu.com",
        "static.rust-lang.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "pypi.org",
        "registry.npmjs.org",
        "security.ubuntu.com",
        "static.rust-lang.org"
      ],
      "package_registries": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "pypi.org",
        "registry.npmjs.org",
        "security.ubuntu.com"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [
        "static.rust-lang.org"
      ],
      "hosts_withheld": 9
    },
    "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"
}
