{
  "schema_version": 1,
  "run_id": "annguyen2k8--mlog-py-claude-haiku-5-5-1795201164166603594",
  "date": "2026-11-20T19:01:20.491303+00:00",
  "repo": "annguyen2k8/mlog-py",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "0596c235b22ab6350b1fb62ab6b06884af8a1bed",
  "outcome": "pass",
  "time_to_working_s": 75.08946004399331,
  "install_s": null,
  "first_use_s": 44.536,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Compile Python DSL to vanilla Mindustry Logic (mlog) with the mlog CLI, and decompile mlog back to Python DSL",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "A robust, verified compiler and decompiler suite connecting a strongly-typed subset of Python with vanilla Mindustry Logic (mlog).",
      "source": "A robust, verified compiler and decompiler suite connecting a strongly-typed subset of Python with vanilla Mindustry Logic (mlog).",
      "input": "examples/compiler/reactor_safety.py",
      "expected": "compiled mlog instructions",
      "command": "<guest-path> compile examples/compiler/reactor_safety.py --no-clipboard",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: sensor heat reactor1 @heat",
      "evidence": "sensor heat reactor1 @heat\njump 4 lessThanEq heat 0.5\ncontrol enabled reactor1 0 0 0 0\njump 5 always 0 0\ncontrol enabled reactor1 1 0 0 0\nwait 0.5\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "sensor heat reactor1 @heat\njump 4 lessThanEq heat 0.5\ncontrol enabled reactor1 0 0 0 0\njump 5 always 0 0\ncontrol enabled reactor1 1 0 0 0\nwait 0.5\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Structured Control Flow",
      "source": "- **Structured Control Flow**: Full support for `for` loops with `range(...)`, `while`, `break`, `continue`, `if`, `elif`, and `else` with automatic label and instruction address resolution.",
      "input": "examples/compiler/for_loop.py",
      "expected": "for loop lowered to jumps",
      "command": "<guest-path> compile examples/compiler/for_loop.py --no-clipboard",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: set total 0",
      "evidence": "set total 0\nset i 1\njump 10 greaterThanEq i 10\njump 5 notEqual i 5\njump 8 always 0 0\njump 7 lessThanEq i 7\njump 10 always 0 0\nop add total total i\nop add i i 2\njump 2 always 0 0\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "set total 0\nset i 1\njump 10 greaterThanEq i 10\njump 5 notEqual i 5\njump 8 always 0 0\njump 7 lessThanEq i 7\njump 10 always 0 0\nop add total total i\nop add i i 2\njump 2 always 0 0\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Arithmetic, Bitwise & Math",
      "source": "- **Arithmetic, Bitwise & Math**: Full expression support (`+`, `-`, `*`, `/`, `//`, `%`, bitwise `&`, `|`, `^`, `~`, `<<`, `>>`, built-in `min` and `max`) lowered with deterministic temporary variable management and strict 64-bit integer hardening.",
      "input": "examples/compiler/arithmetic.py",
      "expected": "floor division lowered to idiv",
      "command": "<guest-path> compile examples/compiler/arithmetic.py --no-clipboard",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: op idiv __tmp2 y 3",
      "evidence": "op idiv __tmp2 y 3\nop sub z __tmp1 __tmp2\nop greaterThan __tmp4 z 50\nset __tmp3 __tmp4\njump 11 equal __tmp3 0\nop notEqual __tmp5 x y\nset __tmp3 __tmp5\nset flag __tmp3\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "set x 10\nset y 20\nop add __tmp0 x y\nop mul __tmp1 __tmp0 2\nop idiv __tmp2 y 3\nop sub z __tmp1 __tmp2\nop greaterThan __tmp4 z 50\nset __tmp3 __tmp4\njump 11 equal __tmp3 0\nop notEqual __tmp5 x y\nset __tmp3 __tmp5\nset flag __tmp3\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Decompile MLog to Python DSL",
      "source": "README.md",
      "input": "sensor heat reactor1 @heat\nwait 0.5\n",
      "command": "<guest-path> decompile -",
      "evidence": "from mlog import raw, sensor, wait\n\nheat = sensor(\"reactor1\", raw(\"@heat\"))\nwait(0.5)",
      "deferred": false,
      "expected": "structured python DSL",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "from mlog import raw, sensor, wait\n\nheat = sensor(\"reactor1\", raw(\"@heat\"))\nwait(0.5)\n",
      "stderr": "",
      "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 mlog CLI usage: mlog compile and mlog decompile are one-shot commands with no cron, loop, webhook, --once or --now option described.",
      "evidence": "Inspected README.md and the mlog CLI usage: mlog compile and mlog decompile are one-shot commands with no cron, loop, webhook, --once or --now option described.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "0596c235b22ab6350b1fb62ab6b06884af8a1bed",
    "ci_read_at": "2026-11-15T20:37:11Z",
    "ci_state": null,
    "commits_90d": 126,
    "last_commit_at": "2026-11-08T05:17:35Z",
    "last_release_at": "2026-11-08T05:19:11Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 126 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-08",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "python>=3.9 (3.12.3 used)",
    "pip, venv"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README's 'mlog decompile' example shows 'heat = sensor(\"reactor1\", '@heat')' and 'control.enabled(...)'; the decompiler at this commit outputs 'raw(\"@heat\")' and 'from mlog import raw, sensor, wait' for the reactor fragment I tested, so the README sample output is not byte-identical (the README itse"
  ],
  "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": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python3"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "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": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 3,
      "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-02c953c576bb961293ef773c1e44c6a651d5bb7a6031e21d1701fe9819db3e1b",
  "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": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unattributed": [],
      "hosts_withheld": 2
    },
    "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"
}
