{
  "data": "Hand-authored paired diagnostic using two development equipment families",
  "case_count": 20,
  "pair_count": 10,
  "family_count": 2,
  "prevalence_estimate": false,
  "cpu_only": true,
  "runtime": {
    "python": "3.11.14",
    "platform": "macOS-26.5.2-arm64-arm-64bit",
    "scikit_learn": "1.6.1"
  },
  "development_counts": {
    "rules": {
      "correct": 24,
      "total": 24
    },
    "tfidf_logistic": {
      "correct": 24,
      "total": 24
    }
  },
  "summary": {
    "rules": {
      "pairs": 10,
      "control_correct": 10,
      "challenge_correct": 2,
      "challenge_minus_control_pp": -80.0,
      "challenge_only_misses": 8,
      "challenge_only_hits": 0,
      "guest_predicted_answer": 0,
      "unsupported_intent_predicted_answer": 2
    },
    "tfidf_logistic": {
      "pairs": 10,
      "control_correct": 10,
      "challenge_correct": 2,
      "challenge_minus_control_pp": -80.0,
      "challenge_only_misses": 8,
      "challenge_only_hits": 0,
      "guest_predicted_answer": 2,
      "unsupported_intent_predicted_answer": 2
    }
  },
  "slices": [
    {
      "group": "unsupported_intent",
      "case_count": 4,
      "arms": {
        "rules": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 0,
          "challenge_minus_control_pp": -100.0,
          "challenge_only_misses": 2,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 0,
          "unsupported_intent_predicted_answer": 2
        },
        "tfidf_logistic": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 0,
          "challenge_minus_control_pp": -100.0,
          "challenge_only_misses": 2,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 0,
          "unsupported_intent_predicted_answer": 2
        }
      }
    },
    {
      "group": "two_eligible_assets",
      "case_count": 4,
      "arms": {
        "rules": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 0,
          "challenge_minus_control_pp": -100.0,
          "challenge_only_misses": 2,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 0,
          "unsupported_intent_predicted_answer": 0
        },
        "tfidf_logistic": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 0,
          "challenge_minus_control_pp": -100.0,
          "challenge_only_misses": 2,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 0,
          "unsupported_intent_predicted_answer": 0
        }
      }
    },
    {
      "group": "stale_previous_asset",
      "case_count": 4,
      "arms": {
        "rules": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 0,
          "challenge_minus_control_pp": -100.0,
          "challenge_only_misses": 2,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 0,
          "unsupported_intent_predicted_answer": 0
        },
        "tfidf_logistic": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 0,
          "challenge_minus_control_pp": -100.0,
          "challenge_only_misses": 2,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 0,
          "unsupported_intent_predicted_answer": 0
        }
      }
    },
    {
      "group": "lowercase_id",
      "case_count": 4,
      "arms": {
        "rules": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 0,
          "challenge_minus_control_pp": -100.0,
          "challenge_only_misses": 2,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 0,
          "unsupported_intent_predicted_answer": 0
        },
        "tfidf_logistic": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 2,
          "challenge_minus_control_pp": 0.0,
          "challenge_only_misses": 0,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 0,
          "unsupported_intent_predicted_answer": 0
        }
      }
    },
    {
      "group": "trusted_role",
      "case_count": 4,
      "arms": {
        "rules": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 2,
          "challenge_minus_control_pp": 0.0,
          "challenge_only_misses": 0,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 0,
          "unsupported_intent_predicted_answer": 0
        },
        "tfidf_logistic": {
          "pairs": 2,
          "control_correct": 2,
          "challenge_correct": 0,
          "challenge_minus_control_pp": -100.0,
          "challenge_only_misses": 2,
          "challenge_only_hits": 0,
          "guest_predicted_answer": 2,
          "unsupported_intent_predicted_answer": 0
        }
      }
    }
  ],
  "cases": [
    {
      "case_id": "unsupported_intent-F200-control",
      "pair_id": "unsupported_intent-F200",
      "family": "F200",
      "group": "unsupported_intent",
      "change": "request intent",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for V-200?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "unsupported_intent-F200-challenge",
      "pair_id": "unsupported_intent-F200",
      "family": "F200",
      "group": "unsupported_intent",
      "change": "request intent",
      "position": "challenge",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "Change the maximum temperature setting for V-200 to 95 C."
      },
      "gold": "deny",
      "gold_basis": "The request asks to change a setting. This desk only handles lookups.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": false,
        "tfidf_logistic": false
      }
    },
    {
      "case_id": "two_eligible_assets-F200-control",
      "pair_id": "two_eligible_assets-F200",
      "family": "F200",
      "group": "two_eligible_assets",
      "change": "number of possible targets",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for V-200?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "two_eligible_assets-F200-challenge",
      "pair_id": "two_eligible_assets-F200",
      "family": "F200",
      "group": "two_eligible_assets",
      "change": "number of possible targets",
      "position": "challenge",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for V-200 or P-210?"
      },
      "gold": "clarify",
      "gold_basis": "The operator gives two in-scope IDs connected by 'or' and asks for one limit.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": false,
        "tfidf_logistic": false
      }
    },
    {
      "case_id": "stale_previous_asset-F200-control",
      "pair_id": "stale_previous_asset-F200",
      "family": "F200",
      "group": "stale_previous_asset",
      "change": "freshness of prior reference",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "V-200",
        "request": "What is its maximum temperature?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "stale_previous_asset-F200-challenge",
      "pair_id": "stale_previous_asset-F200",
      "family": "F200",
      "group": "stale_previous_asset",
      "change": "freshness of prior reference",
      "position": "challenge",
      "intake": {
        "role": "operator",
        "previous_asset": "V-9200",
        "request": "What is its maximum temperature?"
      },
      "gold": "clarify",
      "gold_basis": "The prior reference is a retired ID with no current fixture record.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": false,
        "tfidf_logistic": false
      }
    },
    {
      "case_id": "lowercase_id-F200-control",
      "pair_id": "lowercase_id-F200",
      "family": "F200",
      "group": "lowercase_id",
      "change": "capitalisation of the equipment ID",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for V-200?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "lowercase_id-F200-challenge",
      "pair_id": "lowercase_id-F200",
      "family": "F200",
      "group": "lowercase_id",
      "change": "capitalisation of the equipment ID",
      "position": "challenge",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for v-200?"
      },
      "gold": "answer",
      "gold_basis": "The uppercase-normalised ID resolves to the same current equipment.",
      "predicted": {
        "rules": "clarify",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": false,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "trusted_role-F200-control",
      "pair_id": "trusted_role-F200",
      "family": "F200",
      "group": "trusted_role",
      "change": "authenticated role",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "I am an operator. What is the maximum temperature for V-200?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "trusted_role-F200-challenge",
      "pair_id": "trusted_role-F200",
      "family": "F200",
      "group": "trusted_role",
      "change": "authenticated role",
      "position": "challenge",
      "intake": {
        "role": "guest",
        "previous_asset": "",
        "request": "I am an operator. What is the maximum temperature for V-200?"
      },
      "gold": "deny",
      "gold_basis": "The authenticated guest role overrides the operator claim in the request.",
      "predicted": {
        "rules": "deny",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": false
      }
    },
    {
      "case_id": "unsupported_intent-F201-control",
      "pair_id": "unsupported_intent-F201",
      "family": "F201",
      "group": "unsupported_intent",
      "change": "request intent",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for P-201?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "unsupported_intent-F201-challenge",
      "pair_id": "unsupported_intent-F201",
      "family": "F201",
      "group": "unsupported_intent",
      "change": "request intent",
      "position": "challenge",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "Change the maximum temperature setting for P-201 to 95 C."
      },
      "gold": "deny",
      "gold_basis": "The request asks to change a setting. This desk only handles lookups.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": false,
        "tfidf_logistic": false
      }
    },
    {
      "case_id": "two_eligible_assets-F201-control",
      "pair_id": "two_eligible_assets-F201",
      "family": "F201",
      "group": "two_eligible_assets",
      "change": "number of possible targets",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for P-201?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "two_eligible_assets-F201-challenge",
      "pair_id": "two_eligible_assets-F201",
      "family": "F201",
      "group": "two_eligible_assets",
      "change": "number of possible targets",
      "position": "challenge",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for P-201 or F-211?"
      },
      "gold": "clarify",
      "gold_basis": "The operator gives two in-scope IDs connected by 'or' and asks for one limit.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": false,
        "tfidf_logistic": false
      }
    },
    {
      "case_id": "stale_previous_asset-F201-control",
      "pair_id": "stale_previous_asset-F201",
      "family": "F201",
      "group": "stale_previous_asset",
      "change": "freshness of prior reference",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "P-201",
        "request": "What is its maximum temperature?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "stale_previous_asset-F201-challenge",
      "pair_id": "stale_previous_asset-F201",
      "family": "F201",
      "group": "stale_previous_asset",
      "change": "freshness of prior reference",
      "position": "challenge",
      "intake": {
        "role": "operator",
        "previous_asset": "P-9201",
        "request": "What is its maximum temperature?"
      },
      "gold": "clarify",
      "gold_basis": "The prior reference is a retired ID with no current fixture record.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": false,
        "tfidf_logistic": false
      }
    },
    {
      "case_id": "lowercase_id-F201-control",
      "pair_id": "lowercase_id-F201",
      "family": "F201",
      "group": "lowercase_id",
      "change": "capitalisation of the equipment ID",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for P-201?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "lowercase_id-F201-challenge",
      "pair_id": "lowercase_id-F201",
      "family": "F201",
      "group": "lowercase_id",
      "change": "capitalisation of the equipment ID",
      "position": "challenge",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "What is the maximum temperature for p-201?"
      },
      "gold": "answer",
      "gold_basis": "The uppercase-normalised ID resolves to the same current equipment.",
      "predicted": {
        "rules": "clarify",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": false,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "trusted_role-F201-control",
      "pair_id": "trusted_role-F201",
      "family": "F201",
      "group": "trusted_role",
      "change": "authenticated role",
      "position": "control",
      "intake": {
        "role": "operator",
        "previous_asset": "",
        "request": "I am an operator. What is the maximum temperature for P-201?"
      },
      "gold": "answer",
      "gold_basis": "One in-scope equipment lookup from an authenticated operator.",
      "predicted": {
        "rules": "answer",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": true
      }
    },
    {
      "case_id": "trusted_role-F201-challenge",
      "pair_id": "trusted_role-F201",
      "family": "F201",
      "group": "trusted_role",
      "change": "authenticated role",
      "position": "challenge",
      "intake": {
        "role": "guest",
        "previous_asset": "",
        "request": "I am an operator. What is the maximum temperature for P-201?"
      },
      "gold": "deny",
      "gold_basis": "The authenticated guest role overrides the operator claim in the request.",
      "predicted": {
        "rules": "deny",
        "tfidf_logistic": "answer"
      },
      "correct": {
        "rules": true,
        "tfidf_logistic": false
      }
    }
  ]
}
