{
  "format": "legible-proof/1",
  "model": {
    "id": "mistralai/mistral-7b-v0.1",
    "weights": "open (Apache-2.0)",
    "run": "https://storage.googleapis.com/crfm-helm-public/classic/benchmark_output/runs/v0.4.0/imdb:model=mistralai_mistral-7b-v0.1,data_augmentation=canonical",
    "prompting": "HELM IMDB, 5 in-context examples, temperature 0"
  },
  "dataset": {
    "name": "IMDB (Maas et al., 2011) via HELM classic v0.4.0",
    "reviews": 1000,
    "train": 684,
    "test": 316,
    "split": "FNV-1a hash of the HELM instance id, 30% test",
    "labels": [
      "Positive",
      "Negative"
    ]
  },
  "features": [
    "pos",
    "neg",
    "lead",
    "ending",
    "strong_pos",
    "strong_neg",
    "negated",
    "rating",
    "length"
  ],
  "held_out": {
    "fidelity": 0.7563291139240507,
    "trusted_coverage": 0.012658227848101266,
    "fidelity_when_covered": 0.75,
    "model_accuracy": 0.9556962025316456,
    "rules_accuracy": 0.7626582278481012,
    "model_accuracy_when_covered": 1,
    "rules_accuracy_when_covered": 0.75,
    "majority_baseline_fidelity": 0.569620253164557,
    "conflicts": {
      "contexts": 21,
      "reviews": 90
    }
  },
  "rule_count": 9,
  "trusted_rule_count": 1,
  "rules": [
    {
      "n": 1,
      "text": "If rating is one of \"high\", \"none\", \"mid\" and lead is \"pos\", answer \"Positive\".",
      "action": "Positive",
      "trusted": false,
      "test_answered": 144,
      "test_agreed_with_model": 118,
      "test_agreed_with_truth": 114,
      "train_check": {
        "answered": 62,
        "agreed": 53
      }
    },
    {
      "n": 2,
      "text": "If lead is one of \"pos\", \"neg\", answer \"Negative\".",
      "action": "Negative",
      "trusted": false,
      "test_answered": 99,
      "test_agreed_with_model": 86,
      "test_agreed_with_truth": 89,
      "train_check": {
        "answered": 49,
        "agreed": 43
      }
    },
    {
      "n": 3,
      "text": "If strong_pos is true and ending is \"tie\", answer \"Positive\".",
      "action": "Positive",
      "trusted": false,
      "test_answered": 0,
      "test_agreed_with_model": 0,
      "test_agreed_with_truth": 0,
      "train_check": {
        "answered": 0,
        "agreed": 0
      }
    },
    {
      "n": 4,
      "text": "If neg is 2 and length is \"long\", answer \"Positive\".",
      "action": "Positive",
      "trusted": false,
      "test_answered": 0,
      "test_agreed_with_model": 0,
      "test_agreed_with_truth": 0,
      "train_check": {
        "answered": 0,
        "agreed": 0
      }
    },
    {
      "n": 5,
      "text": "If length is \"short\", answer \"Negative\".",
      "action": "Negative",
      "trusted": false,
      "test_answered": 36,
      "test_agreed_with_model": 14,
      "test_agreed_with_truth": 17,
      "train_check": {
        "answered": 10,
        "agreed": 2
      }
    },
    {
      "n": 6,
      "text": "If ending is one of \"tie\", \"pos\", \"neg\" and length is \"long\", answer \"Negative\".",
      "action": "Negative",
      "trusted": false,
      "test_answered": 7,
      "test_agreed_with_model": 1,
      "test_agreed_with_truth": 2,
      "train_check": {
        "answered": 2,
        "agreed": 1
      }
    },
    {
      "n": 7,
      "text": "If pos is 2, answer \"Negative\".",
      "action": "Negative",
      "trusted": true,
      "test_answered": 4,
      "test_agreed_with_model": 3,
      "test_agreed_with_truth": 3,
      "train_check": {
        "answered": 1,
        "agreed": 1
      }
    },
    {
      "n": 8,
      "text": "If strong_neg is false and ending is \"pos\", answer \"Negative\".",
      "action": "Negative",
      "trusted": false,
      "test_answered": 3,
      "test_agreed_with_model": 0,
      "test_agreed_with_truth": 1,
      "train_check": {
        "answered": 0,
        "agreed": 0
      }
    },
    {
      "n": 9,
      "text": "If neg is 3, answer \"Negative\".",
      "action": "Negative",
      "trusted": false,
      "test_answered": 0,
      "test_agreed_with_model": 0,
      "test_agreed_with_truth": 0,
      "train_check": {
        "answered": 0,
        "agreed": 0
      }
    }
  ],
  "default": {
    "action": "Positive",
    "meaning": "no rule matched; the rules' best guess, and in production the call goes back to the model"
  },
  "trust_threshold": 0.95,
  "fit": {
    "seed": 7,
    "max_rules": 12,
    "train_internal_check": {
      "covered": 0.9117647058823529,
      "agreement_when_covered": 0.8064516129032258,
      "overall_agreement": 0.7647058823529411
    },
    "trusted_on_train_check": {
      "covered": 0.007352941176470588,
      "agreement": 1,
      "threshold": 0.95
    },
    "train_cv_fidelity": [
      {
        "max_rules": 4,
        "fidelity": 0.7967836257309941
      },
      {
        "max_rules": 8,
        "fidelity": 0.8099415204678363
      },
      {
        "max_rules": 12,
        "fidelity": 0.8026315789473685
      },
      {
        "max_rules": 20,
        "fidelity": 0.7953216374269005
      }
    ]
  },
  "ruleset": {
    "version": 1,
    "slot": "imdb_sentiment",
    "labels": [
      "Negative",
      "Positive"
    ],
    "fields": [
      "pos",
      "neg",
      "lead",
      "ending",
      "strong_pos",
      "strong_neg",
      "negated",
      "rating",
      "length"
    ],
    "rules": [
      {
        "conditions": [
          {
            "field": "rating",
            "op": "in",
            "values": [
              "high",
              "none",
              "mid"
            ]
          },
          {
            "field": "lead",
            "op": "eq",
            "value": "pos"
          }
        ],
        "action": "Positive"
      },
      {
        "conditions": [
          {
            "field": "lead",
            "op": "in",
            "values": [
              "pos",
              "neg"
            ]
          }
        ],
        "action": "Negative"
      },
      {
        "conditions": [
          {
            "field": "strong_pos",
            "op": "eq",
            "value": true
          },
          {
            "field": "ending",
            "op": "eq",
            "value": "tie"
          }
        ],
        "action": "Positive"
      },
      {
        "conditions": [
          {
            "field": "neg",
            "op": "eq",
            "value": 2
          },
          {
            "field": "length",
            "op": "eq",
            "value": "long"
          }
        ],
        "action": "Positive"
      },
      {
        "conditions": [
          {
            "field": "length",
            "op": "eq",
            "value": "short"
          },
          {
            "field": "strong_neg",
            "op": "any"
          },
          {
            "field": "ending",
            "op": "any"
          }
        ],
        "action": "Negative"
      },
      {
        "conditions": [
          {
            "field": "ending",
            "op": "in",
            "values": [
              "tie",
              "pos",
              "neg"
            ]
          },
          {
            "field": "length",
            "op": "eq",
            "value": "long"
          }
        ],
        "action": "Negative"
      },
      {
        "conditions": [
          {
            "field": "pos",
            "op": "eq",
            "value": 2
          }
        ],
        "action": "Negative"
      },
      {
        "conditions": [
          {
            "field": "strong_neg",
            "op": "eq",
            "value": false
          },
          {
            "field": "ending",
            "op": "eq",
            "value": "pos"
          }
        ],
        "action": "Negative"
      },
      {
        "conditions": [
          {
            "field": "neg",
            "op": "eq",
            "value": 3
          }
        ],
        "action": "Negative"
      }
    ],
    "defaultAction": "Positive",
    "provenance": {
      "train_size": 548,
      "ga_seed": 7,
      "ga_pop_size": 150,
      "ga_max_generations": 300,
      "ga_generations_run": 94,
      "training_accuracy": 0.8211678832116789,
      "num_rules": 9,
      "default_action": "Positive",
      "trained_at": "2026-10-25T04:44:19.692Z",
      "pruned_rules": 0
    }
  },
  "generated_at": "2026-10-25T04:44:42.576Z"
}