{
  "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.99,
      "type": "noul"
    },
    "c06": {
      "noul": 1.0,
      "type": "noul"
    },
    "c07": {
      "noul": 0.99,
      "type": "noul"
    },
    "c08": {
      "noul": 0.99,
      "type": "noul"
    },
    "c09": {
      "noul": 0.99,
      "type": "noul"
    },
    "c10": {
      "noul": 0.87,
      "type": "noul"
    },
    "w00": {
      "noul": 0.02,
      "type": "noul"
    },
    "w01": {
      "noul": 0.01,
      "type": "noul"
    },
    "w02": {
      "noul": 0.02,
      "type": "noul"
    },
    "w03": {
      "noul": 0.02,
      "type": "noul"
    },
    "w04": {
      "noul": 0.04,
      "type": "noul"
    },
    "w05": {
      "noul": 0.02,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T04:48:46Z",
  "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.99,
      "question": "c05"
    },
    {
      "call": 6,
      "noul": 1.0,
      "question": "c06"
    },
    {
      "call": 7,
      "noul": 0.99,
      "question": "c07"
    },
    {
      "call": 8,
      "noul": 0.99,
      "question": "c08"
    },
    {
      "call": 9,
      "noul": 0.99,
      "question": "c09"
    },
    {
      "call": 10,
      "noul": 0.87,
      "question": "c10"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 6378,
  "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 search: 1 validation error for searchArguments\nquery\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"
      },
      "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": {
            "query": {}
          },
          "parameter": "query",
          "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\nquery\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"
      },
      "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 fetch: 1 validation error for fetchArguments\nid\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "fetch"
        },
        "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": {
            "id": {}
          },
          "parameter": "id",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool fetch: 1 validation error for fetchArguments\nid\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": "fetch"
        },
        "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 validate_policy: 1 validation error for validate_policyArguments\npolicyYaml\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "validate_policy"
        },
        "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": {
            "policyYaml": {}
          },
          "parameter": "policyYaml",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool validate_policy: 1 validation error for validate_policyArguments\npolicyYaml\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": "validate_policy"
        },
        "type": "noul"
      },
      "c06": {
        "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 create_policy: 5 validation errors for create_policyArguments\npolicyYaml\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing\nmode\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing\ncandidateDigest\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing\nexpectedCurrentDigest\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing\nidempotencyKey\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "create_policy"
        },
        "type": "noul"
      },
      "c07": {
        "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": {
            "candidateDigest": "didrun",
            "expectedCurrentDigest": "didrun",
            "idempotencyKey": "didrun",
            "mode": "didrun",
            "policyYaml": {}
          },
          "parameter": "policyYaml",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool create_policy: 1 validation error for create_policyArguments\npolicyYaml\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": "create_policy"
        },
        "type": "noul"
      },
      "c08": {
        "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 get_policy_creation: 1 validation error for get_policy_creationArguments\nrequestId\n  Field required [type=missing, input_value={}, input_type=dict]\n    For further information visit https://errors.pydantic.dev/2.14/v/missing",
          "tool": "get_policy_creation"
        },
        "type": "noul"
      },
      "c09": {
        "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": {
            "requestId": {}
          },
          "parameter": "requestId",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error executing tool get_policy_creation: 1 validation error for get_policy_creationArguments\nrequestId\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": "get_policy_creation"
        },
        "type": "noul"
      },
      "c10": {
        "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": "I tried to check the local Guard status, but the status tool returned an error (`mcp_output`). I can’t determine whether Guard data is available or how fresh it is.",
          "done_when": "The transcript shows the Guard status response, including its data-availability and freshness information.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "error: Error executing tool get_guard_status: mcp_output",
              "tool": "get_guard_status"
            }
          ],
          "task": "Check the local Guard status and report whether Guard data is available and how fresh it is."
        },
        "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": "I tried to check the local Guard status, but the status tool returned an error (`mcp_output`). I can’t determine whether Guard data is available or how fresh it is.",
          "done_when": "The transcript shows the Guard status response, including its data-availability and freshness information.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "error: Error executing tool get_guard_status: mcp_output",
              "tool": "get_guard_status"
            }
          ],
          "task": "Check the local Guard status and report whether Guard data is available and how fresh it is."
        },
        "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": "I attempted to check the local Guard status, but the status tool returned an error (`mcp_output`). I can’t determine whether Guard data is available or how fresh it is.",
          "done_when": "The transcript shows the Guard status response, including its data-availability and freshness information.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "error: Error executing tool get_guard_status: mcp_output",
              "tool": "get_guard_status"
            }
          ],
          "task": "Check the local Guard status and report whether Guard data is available and how fresh it is."
        },
        "type": "noul"
      },
      "w03": {
        "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": "Validation did not complete. The tool returned:\n\n- **Status:** Failed\n- **Error code:** `policy_compile_failed`\n- **Message:** “Native policy runtime unavailable.”\n- **Retryable:** Yes\n\nThe tool did not reach a YAML validity result. No state was changed.",
          "done_when": "The transcript shows a validation response identifying the supplied YAML as invalid.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "policyYaml": "foo: ["
              },
              "reply": "{\"contractVersion\":\"guard-mcp.v1\",\"source\":\"local\",\"generatedAt\":\"2026-11-23T04:18:04Z\",\"freshness\":\"real-time\",\"ok\":false,\"error\":{\"code\":\"policy_compile_failed\",\"message\":\"Native policy runtime unavailable.\",\"retryable\":true}}",
              "tool": "validate_policy"
            }
          ],
          "task": "Validate this policy YAML without changing any state and show the validation result:\n```yaml\nfoo: [\n```"
        },
        "type": "noul"
      },
      "w04": {
        "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": "**Validation could not be completed.** The validation tool returned:\n\n- **Error code:** `policy_compile_failed`\n- **Message:** “Native policy runtime unavailable.”\n- **Retryable:** Yes\n\nThe tool did not determine whether the YAML is valid. No state was changed.",
          "done_when": "The transcript shows a validation response identifying the supplied YAML as invalid.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "policyYaml": "foo: ["
              },
              "reply": "{\"contractVersion\":\"guard-mcp.v1\",\"source\":\"local\",\"generatedAt\":\"2026-11-23T04:18:11Z\",\"freshness\":\"real-time\",\"ok\":false,\"error\":{\"code\":\"policy_compile_failed\",\"message\":\"Native policy runtime unavailable.\",\"retryable\":true}}",
              "tool": "validate_policy"
            }
          ],
          "task": "Validate this policy YAML without changing any state and show the validation result:\n```yaml\nfoo: [\n```"
        },
        "type": "noul"
      },
      "w05": {
        "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": "The validation request was read-only and did not change any state.\n\n**Validation could not be completed.** The tool returned:\n\n- **Error:** `policy_compile_failed`\n- **Message:** “Native policy runtime unavailable.”\n- **Retryable:** Yes\n\nThe tool did not return a YAML syntax or policy validation result.",
          "done_when": "The transcript shows a validation response identifying the supplied YAML as invalid.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "policyYaml": "foo: [\n"
              },
              "reply": "{\"contractVersion\":\"guard-mcp.v1\",\"source\":\"local\",\"generatedAt\":\"2026-11-23T04:18:18Z\",\"freshness\":\"real-time\",\"ok\":false,\"error\":{\"code\":\"policy_compile_failed\",\"message\":\"Native policy runtime unavailable.\",\"retryable\":true}}",
              "tool": "validate_policy"
            }
          ],
          "task": "Validate this policy YAML without changing any state and show the validation result:\n```yaml\nfoo: [\n```"
        },
        "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": "01M838ZMPDHFXQ3XSWEK0FENZD",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.02,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.01,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.02,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.02,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.04,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.02,
      "question": "w05"
    }
  ]
}
