{
  "answers": {
    "c00": {
      "noul": 0.99,
      "type": "noul"
    },
    "c01": {
      "noul": 0.99,
      "type": "noul"
    },
    "c02": {
      "noul": 0.99,
      "type": "noul"
    },
    "c03": {
      "noul": 0.99,
      "type": "noul"
    },
    "c04": {
      "noul": 0.99,
      "type": "noul"
    },
    "c05": {
      "noul": 0.98,
      "type": "noul"
    },
    "c06": {
      "noul": 0.99,
      "type": "noul"
    },
    "c07": {
      "noul": 0.99,
      "type": "noul"
    },
    "c08": {
      "noul": 0.99,
      "type": "noul"
    },
    "c09": {
      "noul": 0.98,
      "type": "noul"
    },
    "c10": {
      "noul": 0.99,
      "type": "noul"
    },
    "c11": {
      "noul": 0.99,
      "type": "noul"
    },
    "c12": {
      "noul": 0.98,
      "type": "noul"
    },
    "c13": {
      "noul": 0.99,
      "type": "noul"
    },
    "c14": {
      "noul": 0.99,
      "type": "noul"
    },
    "c15": {
      "noul": 0.99,
      "type": "noul"
    },
    "c16": {
      "noul": 0.99,
      "type": "noul"
    },
    "c17": {
      "noul": 0.84,
      "type": "noul"
    },
    "w00": {
      "noul": 0.96,
      "type": "noul"
    },
    "w01": {
      "noul": 0.94,
      "type": "noul"
    },
    "w02": {
      "noul": 0.95,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T02:18:09Z",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "errors_helpful": [
    {
      "call": 0,
      "noul": 0.99,
      "question": "c00"
    },
    {
      "call": 1,
      "noul": 0.99,
      "question": "c01"
    },
    {
      "call": 2,
      "noul": 0.99,
      "question": "c02"
    },
    {
      "call": 3,
      "noul": 0.99,
      "question": "c03"
    },
    {
      "call": 4,
      "noul": 0.99,
      "question": "c04"
    },
    {
      "call": 5,
      "noul": 0.98,
      "question": "c05"
    },
    {
      "call": 6,
      "noul": 0.99,
      "question": "c06"
    },
    {
      "call": 7,
      "noul": 0.99,
      "question": "c07"
    },
    {
      "call": 8,
      "noul": 0.99,
      "question": "c08"
    },
    {
      "call": 9,
      "noul": 0.98,
      "question": "c09"
    },
    {
      "call": 10,
      "noul": 0.99,
      "question": "c10"
    },
    {
      "call": 11,
      "noul": 0.99,
      "question": "c11"
    },
    {
      "call": 12,
      "noul": 0.98,
      "question": "c12"
    },
    {
      "call": 13,
      "noul": 0.99,
      "question": "c13"
    },
    {
      "call": 14,
      "noul": 0.99,
      "question": "c14"
    },
    {
      "call": 15,
      "noul": 0.99,
      "question": "c15"
    },
    {
      "call": 16,
      "noul": 0.99,
      "question": "c16"
    },
    {
      "call": 17,
      "noul": 0.84,
      "question": "c17"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 8866,
  "method": "0.15.0",
  "model": "jev-1.14.0",
  "model_asked": "jev-1.14.0",
  "request": {
    "model": "jev-1.14.0",
    "questions": {
      "c00": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error executing tool reaches: 1 validation error for reachesArguments\ntargets\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "reaches"
        },
        "type": "noul"
      },
      "c01": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "targets": "not an array"
          },
          "parameter": "targets",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool reaches: 1 validation error for reachesArguments\ntargets\n  Input should be a valid list [type=list_type, input_value='not an array', input_type=str]\n    For further information visit https://errors.pydantic.dev/2.14/v/list_type",
          "tool": "reaches"
        },
        "type": "noul"
      },
      "c02": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error executing tool siblings: 1 validation error for siblingsArguments\nsymbol\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "siblings"
        },
        "type": "noul"
      },
      "c03": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "symbol": {}
          },
          "parameter": "symbol",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool siblings: 1 validation error for siblingsArguments\nsymbol\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "siblings"
        },
        "type": "noul"
      },
      "c04": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error executing tool readers: 1 validation error for readersArguments\nprop\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "readers"
        },
        "type": "noul"
      },
      "c05": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "prop": {}
          },
          "parameter": "prop",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool readers: 1 validation error for readersArguments\nprop\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "readers"
        },
        "type": "noul"
      },
      "c06": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "listeners": "not a boolean"
          },
          "parameter": "listeners",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool protocol_links: 1 validation error for protocol_linksArguments\nlisteners\n  Input should be a valid boolean, unable to interpret input [type=bool_parsing, input_value='not a boolean', input_type=str]\n    For further information visit https://errors.pydantic.dev/2.14/v/bool_parsing",
          "tool": "protocol_links"
        },
        "type": "noul"
      },
      "c07": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error executing tool tests_covering: 1 validation error for tests_coveringArguments\ntarget\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "tests_covering"
        },
        "type": "noul"
      },
      "c08": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "target": {}
          },
          "parameter": "target",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool tests_covering: 1 validation error for tests_coveringArguments\ntarget\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "tests_covering"
        },
        "type": "noul"
      },
      "c09": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error executing tool search: 1 validation error for searchArguments\nname\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "search"
        },
        "type": "noul"
      },
      "c10": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "name": {}
          },
          "parameter": "name",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool search: 1 validation error for searchArguments\nname\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "search"
        },
        "type": "noul"
      },
      "c11": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "json_output": "not a boolean"
          },
          "parameter": "json_output",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool doctor: 1 validation error for doctorArguments\njson_output\n  Input should be a valid boolean, unable to interpret input [type=bool_parsing, input_value='not a boolean', input_type=str]\n    For further information visit https://errors.pydantic.dev/2.14/v/bool_parsing",
          "tool": "doctor"
        },
        "type": "noul"
      },
      "c12": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error executing tool downstream: 1 validation error for downstreamArguments\ntarget\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "downstream"
        },
        "type": "noul"
      },
      "c13": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "target": {}
          },
          "parameter": "target",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool downstream: 1 validation error for downstreamArguments\ntarget\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "downstream"
        },
        "type": "noul"
      },
      "c14": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "filter": {}
          },
          "parameter": "filter",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool api_calls: 1 validation error for api_callsArguments\nfilter\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "api_calls"
        },
        "type": "noul"
      },
      "c15": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error executing tool plan_check: 1 validation error for plan_checkArguments\nname\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "plan_check"
        },
        "type": "noul"
      },
      "c16": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "name": {}
          },
          "parameter": "name",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool plan_check: 1 validation error for plan_checkArguments\nname\n  Input should be a valid string [type=string_type, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/string_type",
          "tool": "plan_check"
        },
        "type": "noul"
      },
      "c17": {
        "criteria": {
          "false": "The reply does not say the tool is missing: for example a generic failure, a crash, or a normal answer.",
          "true": "The reply says the tool is unknown, not found, or does not exist."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` tell the caller that there is no tool named `tool`?",
          "reply": "Unknown tool: didrun_unknown_tool",
          "tool": "didrun_unknown_tool"
        },
        "type": "noul"
      },
      "w00": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## Installation\n\n- **cg version:** 0.23.14\n- **Environment:** Python 3.13.11 on Linux aarch64\n- The `cg` command is **not on PATH**. The diagnostic suggests adding `tools/cg-code-graph/bin` to PATH or running `tools/cg-code-graph/bin/python -m cg_code_graph`.\n\n## Language indexing modes\n\n| Language | Current mode | Dependency status |\n|---|---|---|\n| Python | Exact | Built-in Python AST parser |\n| TypeScript | Unavailable | Node.js 20+ or Bun missing; extractor not installed |\n| PHP | Unavailable | PHP and Composer missing; extractor not installed |\n| Dart | Unavailable | Dart SDK missing; extractor not installed |\n| Rust | Heuristic | `rust-analyzer` and Cargo missing |\n| C/C++ | Heuristic | `scip-clang` missing |\n| Kotlin | Heuristic | Java and `scip-java` missing |\n| Java | Heuristic | Java and `scip-java` missing |\n| Swift | Heuristic | Swift toolchain missing |\n\nThe heuristic modes use tree-sitter with name-based resolution. The TypeScript, PHP and Dart extractor caches are not installed; the extractor cache is empty. All Python modules are present, and all 179 cg modules import successfully.",
          "done_when": "The tool reply shows installation diagnostics including the cg version and language or extractor availability.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "cg 0.23.14  (Python 3.13.11, Linux aarch64; cg_code_graph)\npackage: Python package cg-code-graph on PyPI (pip install cg-code-graph, pipx install cg-code-graph, or uv tool install cg-code-graph). Not a Rust crate; cargo install does not apply.\ncommand: cg not on PATH\n  fix: export PATH=\"tools/cg-code-graph/bin:$PATH\"\n  or: tools/cg-code-graph/bin/python -m cg_code_graph\ntools:\n  node           not found\n  npm            not found\n  bun            not found\n  php            not found\n  composer       not found\n  dart           not found\n  rust-analyzer  not found\n  cargo          not found\n  scip-clang     not found\n  scip-java      not found\n  java           not found\n  swift          not found\n  git            not found\nextractor dependencies (cache ~/.cache/cg/extractors):\n  typescript     not installed  (cache: ~/.cache/cg/extractors/typescript-7f21b734ab90)\n  php            not installed  (cache: ~/.cache/cg/extractors/php-722cf266ce3c)\n  dart           not installed  (cache: ~/.cache/cg/extractors/dart-8b5b2fc59e77)\ncache: 0 B in ~/.cache/cg\npython modules: all present\ncg modules: all 179 import on Python 3.13.11\nlanguages:\n  python      exact       built-in parser (Python ast)\n  typescript  unavailable node not installed (the TypeScript extractor needs Node.js 20+ or Bun on PATH, or CG_NODE=/path/to/node)\n                          fix: install Node.js 20+ or Bun (or set CG_NODE), then `cg setup typescript`\n  php         unavailable php not installed (PHP 8.2+ runs the PHP extractor)\n                          fix: install PHP 8.2+ and Composer, then `cg setup php`\n  dart        unavailable Dart SDK not found (`dart` on PATH or $DART)\n                          fix: install the Dart SDK 3.x (https://dart.dev/get-dart), then `cg setup dart`\n  rust        heuristic   rust-analyzer and cargo not found: tree-sitter layer with name-based resolution\n                          fix: rustup component add rust-analyzer  (or install.sh --with rust)\n  c_cpp       heuristic   scip-clang not found: tree-sitter layer with name-based resolution\n                          fix: install.sh --with c  (scip-clang release binary into ~/.local/bin; docs/native.md)\n  kotlin      heuristic   scip-java and java not found: tree-sitter layer with name-based resolution\n                          fix: install.sh --with kotlin  (JDK 17+ and scip-java via coursier), then CG_KOTLIN_SCIP=1\n  java        heuristic   tree-sitter-java; scip-java and java not found\n                          fix: install.sh --with java  (JDK 17+ and scip-java via coursier), then CG_JAVA_SCIP=1\n  swift       heuristic   no Swift toolchain: tree-sitter layer with name-based resolution\n                          fix: install.sh --with swift  (prints the swift.org toolchain install), then CG_SWIFT_INDEX=1\nmcp: cg is not registered in any MCP host (cg install)\nupdate: uv tool upgrade cg-code-graph  |  pipx upgrade cg-code-graph  |  install.sh --update  (docs/install.md)",
              "tool": "doctor"
            }
          ],
          "task": "Check this code-graph installation and report the cg version and the available language indexing modes and extractor dependencies."
        },
        "type": "noul"
      },
      "w01": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## Installation check\n\n**cg version:** 0.23.14, running on Python 3.13.11 (Linux aarch64). The `cg` command is not currently on `PATH`.\n\n### Language indexing modes\n\n| Language | Current mode | Reason or dependency |\n|---|---|---|\n| Python | Exact | Built-in Python AST parser |\n| Rust | Heuristic | `rust-analyzer` and `cargo` not found |\n| C/C++ | Heuristic | `scip-clang` not found |\n| Kotlin | Heuristic | `scip-java` and Java not found |\n| Java | Heuristic | `scip-java` and Java not found |\n| Swift | Heuristic | Swift toolchain not found |\n| TypeScript | Unavailable | Node.js 20+ or Bun required |\n| PHP | Unavailable | PHP 8.2+ and Composer required |\n| Dart | Unavailable | Dart SDK 3.x required |\n\nThe heuristic modes use tree-sitter with name-based resolution.\n\n### Extractor dependencies\n\nThe TypeScript, PHP and Dart extractor dependencies are **not installed**; the extractor cache is empty. After installing the corresponding runtimes, run `cg setup typescript`, `cg setup php`, or `cg setup dart`.\n\nAll Python modules are present, and all 179 cg modules import successfully. The check also found no `node`, `npm`, `bun`, `php`, `composer`, `dart`, `rust-analyzer`, `cargo`, `scip-clang`, `scip-java`, `java`, `swift`, or `git` on `PATH`.",
          "done_when": "The tool reply shows installation diagnostics including the cg version and language or extractor availability.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "cg 0.23.14  (Python 3.13.11, Linux aarch64; cg_code_graph)\npackage: Python package cg-code-graph on PyPI (pip install cg-code-graph, pipx install cg-code-graph, or uv tool install cg-code-graph). Not a Rust crate; cargo install does not apply.\ncommand: cg not on PATH\n  fix: export PATH=\"tools/cg-code-graph/bin:$PATH\"\n  or: tools/cg-code-graph/bin/python -m cg_code_graph\ntools:\n  node           not found\n  npm            not found\n  bun            not found\n  php            not found\n  composer       not found\n  dart           not found\n  rust-analyzer  not found\n  cargo          not found\n  scip-clang     not found\n  scip-java      not found\n  java           not found\n  swift          not found\n  git            not found\nextractor dependencies (cache ~/.cache/cg/extractors):\n  typescript     not installed  (cache: ~/.cache/cg/extractors/typescript-7f21b734ab90)\n  php            not installed  (cache: ~/.cache/cg/extractors/php-722cf266ce3c)\n  dart           not installed  (cache: ~/.cache/cg/extractors/dart-8b5b2fc59e77)\ncache: 0 B in ~/.cache/cg\npython modules: all present\ncg modules: all 179 import on Python 3.13.11\nlanguages:\n  python      exact       built-in parser (Python ast)\n  typescript  unavailable node not installed (the TypeScript extractor needs Node.js 20+ or Bun on PATH, or CG_NODE=/path/to/node)\n                          fix: install Node.js 20+ or Bun (or set CG_NODE), then `cg setup typescript`\n  php         unavailable php not installed (PHP 8.2+ runs the PHP extractor)\n                          fix: install PHP 8.2+ and Composer, then `cg setup php`\n  dart        unavailable Dart SDK not found (`dart` on PATH or $DART)\n                          fix: install the Dart SDK 3.x (https://dart.dev/get-dart), then `cg setup dart`\n  rust        heuristic   rust-analyzer and cargo not found: tree-sitter layer with name-based resolution\n                          fix: rustup component add rust-analyzer  (or install.sh --with rust)\n  c_cpp       heuristic   scip-clang not found: tree-sitter layer with name-based resolution\n                          fix: install.sh --with c  (scip-clang release binary into ~/.local/bin; docs/native.md)\n  kotlin      heuristic   scip-java and java not found: tree-sitter layer with name-based resolution\n                          fix: install.sh --with kotlin  (JDK 17+ and scip-java via coursier), then CG_KOTLIN_SCIP=1\n  java        heuristic   tree-sitter-java; scip-java and java not found\n                          fix: install.sh --with java  (JDK 17+ and scip-java via coursier), then CG_JAVA_SCIP=1\n  swift       heuristic   no Swift toolchain: tree-sitter layer with name-based resolution\n                          fix: install.sh --with swift  (prints the swift.org toolchain install), then CG_SWIFT_INDEX=1\nmcp: cg is not registered in any MCP host (cg install)\nupdate: uv tool upgrade cg-code-graph  |  pipx upgrade cg-code-graph  |  install.sh --update  (docs/install.md)",
              "tool": "doctor"
            }
          ],
          "task": "Check this code-graph installation and report the cg version and the available language indexing modes and extractor dependencies."
        },
        "type": "noul"
      },
      "w02": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## Installation\n\n- **cg version:** 0.23.14\n- **Environment:** Python 3.13.11 on Linux aarch64\n- **Command:** `cg` is not on `PATH`. The diagnostic suggests adding `tools/cg-code-graph/bin` to `PATH` or invoking `tools/cg-code-graph/bin/python -m cg_code_graph`.\n\n## Language indexing modes\n\n| Language | Current mode | Reason / dependency |\n|---|---|---|\n| Python | **Exact** | Built-in Python AST parser |\n| TypeScript | **Unavailable** | Node.js or Bun missing; extractor not installed |\n| PHP | **Unavailable** | PHP missing; extractor not installed |\n| Dart | **Unavailable** | Dart SDK missing; extractor not installed |\n| Rust | **Heuristic** | `rust-analyzer` and Cargo missing |\n| C/C++ | **Heuristic** | `scip-clang` missing |\n| Kotlin | **Heuristic** | Java and `scip-java` missing |\n| Java | **Heuristic** | Java and `scip-java` missing |\n| Swift | **Heuristic** | Swift toolchain missing |\n\nHeuristic modes use tree-sitter and name-based resolution rather than exact indexing.\n\n## Extractor dependencies\n\nThe **TypeScript, PHP and Dart extractors are not installed**; the extractor cache is empty. All Python modules are present, and all 179 cg modules imported successfully.\n\nTo enable the unavailable extractors, install Node.js 20+ or Bun, PHP 8.2+ with Composer, or Dart SDK 3.x respectively, then run `cg setup typescript`, `cg setup php`, or `cg setup dart`.",
          "done_when": "The tool reply shows installation diagnostics including the cg version and language or extractor availability.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "cg 0.23.14  (Python 3.13.11, Linux aarch64; cg_code_graph)\npackage: Python package cg-code-graph on PyPI (pip install cg-code-graph, pipx install cg-code-graph, or uv tool install cg-code-graph). Not a Rust crate; cargo install does not apply.\ncommand: cg not on PATH\n  fix: export PATH=\"tools/cg-code-graph/bin:$PATH\"\n  or: tools/cg-code-graph/bin/python -m cg_code_graph\ntools:\n  node           not found\n  npm            not found\n  bun            not found\n  php            not found\n  composer       not found\n  dart           not found\n  rust-analyzer  not found\n  cargo          not found\n  scip-clang     not found\n  scip-java      not found\n  java           not found\n  swift          not found\n  git            not found\nextractor dependencies (cache ~/.cache/cg/extractors):\n  typescript     not installed  (cache: ~/.cache/cg/extractors/typescript-7f21b734ab90)\n  php            not installed  (cache: ~/.cache/cg/extractors/php-722cf266ce3c)\n  dart           not installed  (cache: ~/.cache/cg/extractors/dart-8b5b2fc59e77)\ncache: 0 B in ~/.cache/cg\npython modules: all present\ncg modules: all 179 import on Python 3.13.11\nlanguages:\n  python      exact       built-in parser (Python ast)\n  typescript  unavailable node not installed (the TypeScript extractor needs Node.js 20+ or Bun on PATH, or CG_NODE=/path/to/node)\n                          fix: install Node.js 20+ or Bun (or set CG_NODE), then `cg setup typescript`\n  php         unavailable php not installed (PHP 8.2+ runs the PHP extractor)\n                          fix: install PHP 8.2+ and Composer, then `cg setup php`\n  dart        unavailable Dart SDK not found (`dart` on PATH or $DART)\n                          fix: install the Dart SDK 3.x (https://dart.dev/get-dart), then `cg setup dart`\n  rust        heuristic   rust-analyzer and cargo not found: tree-sitter layer with name-based resolution\n                          fix: rustup component add rust-analyzer  (or install.sh --with rust)\n  c_cpp       heuristic   scip-clang not found: tree-sitter layer with name-based resolution\n                          fix: install.sh --with c  (scip-clang release binary into ~/.local/bin; docs/native.md)\n  kotlin      heuristic   scip-java and java not found: tree-sitter layer with name-based resolution\n                          fix: install.sh --with kotlin  (JDK 17+ and scip-java via coursier), then CG_KOTLIN_SCIP=1\n  java        heuristic   tree-sitter-java; scip-java and java not found\n                          fix: install.sh --with java  (JDK 17+ and scip-java via coursier), then CG_JAVA_SCIP=1\n  swift       heuristic   no Swift toolchain: tree-sitter layer with name-based resolution\n                          fix: install.sh --with swift  (prints the swift.org toolchain install), then CG_SWIFT_INDEX=1\nmcp: cg is not registered in any MCP host (cg install)\nupdate: uv tool upgrade cg-code-graph  |  pipx upgrade cg-code-graph  |  install.sh --update  (docs/install.md)",
              "tool": "doctor"
            }
          ],
          "task": "Check this code-graph installation and report the cg version and the available language indexing modes and extractor dependencies."
        },
        "type": "noul"
      }
    },
    "state": {
      "about": "Replies of an MCP server to tool calls that were sent with bad input on purpose, to see whether its error messages help a caller fix the call."
    }
  },
  "run_id": "01M8303HC04WHC88YZF0VEQDDP",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.96,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.94,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.95,
      "question": "w02"
    }
  ]
}
