{
 "schema": "gaige-receipt-export/1",
 "exported_by": "gaige 0.0.4",
 "receipt": {
  "id": "20260725-035507-fast-detect-gpt",
  "generated_utc": "2026-07-25T08:56:30+00:00",
  "gaige_version": "0.0.1"
 },
 "instrument": {
  "host": {
   "os": "Linux",
   "arch": "x86_64",
   "device": "cuda"
  },
  "detector": {
   "detector": "fast-detect-gpt",
   "paper": "Bao et al., Fast-DetectGPT (ICLR 2024), analytic single-model variant",
   "model_id": "tiiuae/falcon-7b",
   "quant_requested": "4bit",
   "quant_verified": {
    "linear4bit_modules": 128,
    "resident_gb": 4.04
   },
   "max_tokens": 1024,
   "versions": {
    "torch": "2.13.0+cu130",
    "transformers": "4.49.0",
    "cuda": "13.0",
    "python": "3.12.3",
    "bitsandbytes": "0.49.2"
   },
   "device": "cuda",
   "device_requested": "cuda",
   "device_fallback": false,
   "model_auto_selected": false,
   "compute": {
    "name": "NVIDIA RTX 5000 Ada Generation Laptop GPU"
   },
   "score_semantics": "analytic sampling discrepancy; higher = more AI-like; RAW criterion (uncalibrated by design)"
  }
 },
 "corpus": {
  "name": "raid-g2d2a2-n60-s17",
  "sha256": "54b786694f2e4c0d4d9a4596c56b179d9a724a6bf39dd593c9e6eb53ce48a1cf",
  "counts": {
   "ai": 480,
   "human": 120
  },
  "meta": {
   "source": "corpora/raid-g2d2a2-n60-s17.jsonl"
  }
 },
 "metrics": {
  "auroc": 0.9285069444444445,
  "auroc_ci": [
   0.9060881076388889,
   0.9481966145833334
  ],
  "eer": 0.15000000000000002,
  "eer_threshold": 1.1698532104492188,
  "n_boot": 1000
 },
 "thresholds": [
  {
   "target_fpr": 0.01,
   "threshold": 2.440074920654297,
   "achieved_fpr": 0.008333333333333333,
   "achieved_tpr": 0.6145833333333334,
   "tpr_ci": [
    0.5729166666666666,
    0.6583854166666666
   ]
  },
  {
   "target_fpr": 0.05,
   "threshold": 1.8877978324890137,
   "achieved_fpr": 0.05,
   "achieved_tpr": 0.73125,
   "tpr_ci": [
    0.69375,
    0.7729166666666667
   ]
  }
 ],
 "conformal": [
  {
   "alpha": 0.05,
   "threshold": 1.9249376058578493,
   "n_calibration": 120,
   "order_statistic": 115,
   "conditional_fpr_mean": 0.049586776859504134,
   "conditional_fpr_sd": 0.01965437598214347,
   "guarantee": "P(human flagged) <= 0.05, marginal over calibration draws, under exchangeability (split conformal)",
   "tpr": 0.725
  },
  {
   "alpha": 0.01,
   "threshold": 2.6423411369323735,
   "n_calibration": 120,
   "order_statistic": 120,
   "conditional_fpr_mean": 0.008264462809917356,
   "conditional_fpr_sd": 0.008196441383148177,
   "guarantee": "P(human flagged) <= 0.01, marginal over calibration draws, under exchangeability (split conformal)",
   "tpr": 0.5625
  },
  {
   "alpha": 0.005,
   "unavailable": "alpha=0.005 needs >= 199 human calibration samples, got 120. A tighter guarantee than your data supports is not a guarantee."
  }
 ],
 "subgroups": {
  "min_subgroup": 20,
  "by_threshold": [
   {
    "target_fpr": 0.01,
    "threshold": 2.440074920654297,
    "strata": {
     "length_bucket": {
      "0-100w": {
       "n_human": 2,
       "n_ai": 83,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.46987951807228917,
       "tpr_ci": [
        0.3614457831325301,
        0.5783132530120482
       ],
       "rate_withheld": true
      },
      "100-250w": {
       "n_human": 110,
       "n_ai": 330,
       "fpr": 0.00909090909090909,
       "fpr_ci": [
        0.0,
        0.02727272727272727
       ],
       "tpr": 0.6393939393939394,
       "tpr_ci": [
        0.5848484848484848,
        0.6878787878787879
       ],
       "rate_withheld": false
      },
      "250-500w": {
       "n_human": 8,
       "n_ai": 67,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.6716417910447762,
       "tpr_ci": [
        0.5522388059701493,
        0.7761194029850746
       ],
       "rate_withheld": true
      }
     },
     "attack": {
      "none": {
       "n_human": 120,
       "n_ai": 240,
       "fpr": 0.008333333333333333,
       "fpr_ci": [
        0.0,
        0.025
       ],
       "tpr": 0.5916666666666667,
       "tpr_ci": [
        0.5291666666666667,
        0.65
       ],
       "rate_withheld": false
      },
      "paraphrase": {
       "n_human": 0,
       "n_ai": 240,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.6375,
       "tpr_ci": [
        0.5791666666666667,
        0.7
       ],
       "rate_withheld": true
      }
     },
     "decoding": {
      "greedy": {
       "n_human": 0,
       "n_ai": 218,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.8761467889908257,
       "tpr_ci": [
        0.8302752293577982,
        0.9174311926605505
       ],
       "rate_withheld": true
      },
      "none": {
       "n_human": 120,
       "n_ai": 0,
       "fpr": 0.008333333333333333,
       "fpr_ci": [
        0.0,
        0.025
       ],
       "tpr": null,
       "tpr_ci": null,
       "rate_withheld": true
      },
      "sampling": {
       "n_human": 0,
       "n_ai": 262,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.3969465648854962,
       "tpr_ci": [
        0.33969465648854963,
        0.45811068702290064
       ],
       "rate_withheld": true
      }
     },
     "domain": {
      "abstracts": {
       "n_human": 60,
       "n_ai": 240,
       "fpr": 0.016666666666666666,
       "fpr_ci": [
        0.0,
        0.05
       ],
       "tpr": 0.5791666666666667,
       "tpr_ci": [
        0.5125,
        0.6416666666666667
       ],
       "rate_withheld": false
      },
      "reddit": {
       "n_human": 60,
       "n_ai": 240,
       "fpr": 0.0,
       "fpr_ci": [
        0.0,
        0.0
       ],
       "tpr": 0.65,
       "tpr_ci": [
        0.5958333333333333,
        0.7125
       ],
       "rate_withheld": false
      }
     },
     "generator": {
      "gpt4": {
       "n_human": 0,
       "n_ai": 240,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.6041666666666666,
       "tpr_ci": [
        0.5375,
        0.6625
       ],
       "rate_withheld": true
      },
      "human": {
       "n_human": 120,
       "n_ai": 0,
       "fpr": 0.008333333333333333,
       "fpr_ci": [
        0.0,
        0.025
       ],
       "tpr": null,
       "tpr_ci": null,
       "rate_withheld": true
      },
      "mistral-chat": {
       "n_human": 0,
       "n_ai": 240,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.625,
       "tpr_ci": [
        0.5625,
        0.6875
       ],
       "rate_withheld": true
      }
     }
    },
    "max_fpr_disparity": {
     "length_bucket": null,
     "attack": null,
     "decoding": null,
     "domain": {
      "gap": 0.016666666666666666,
      "worst_group": "abstracts",
      "worst_fpr": 0.016666666666666666,
      "best_group": "reddit",
      "best_fpr": 0.0,
      "ratio": null
     },
     "generator": null
    }
   },
   {
    "target_fpr": 0.05,
    "threshold": 1.8877978324890137,
    "strata": {
     "length_bucket": {
      "0-100w": {
       "n_human": 2,
       "n_ai": 83,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.6144578313253012,
       "tpr_ci": [
        0.5060240963855421,
        0.7108433734939759
       ],
       "rate_withheld": true
      },
      "100-250w": {
       "n_human": 110,
       "n_ai": 330,
       "fpr": 0.05454545454545454,
       "fpr_ci": [
        0.01818181818181818,
        0.1
       ],
       "tpr": 0.7545454545454545,
       "tpr_ci": [
        0.7120454545454546,
        0.8
       ],
       "rate_withheld": false
      },
      "250-500w": {
       "n_human": 8,
       "n_ai": 67,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.7611940298507462,
       "tpr_ci": [
        0.6567164179104478,
        0.8656716417910447
       ],
       "rate_withheld": true
      }
     },
     "attack": {
      "none": {
       "n_human": 120,
       "n_ai": 240,
       "fpr": 0.05,
       "fpr_ci": [
        0.016666666666666666,
        0.09166666666666666
       ],
       "tpr": 0.6791666666666667,
       "tpr_ci": [
        0.6166666666666667,
        0.7375
       ],
       "rate_withheld": false
      },
      "paraphrase": {
       "n_human": 0,
       "n_ai": 240,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.7833333333333333,
       "tpr_ci": [
        0.7291666666666666,
        0.8291666666666667
       ],
       "rate_withheld": true
      }
     },
     "decoding": {
      "greedy": {
       "n_human": 0,
       "n_ai": 218,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.9403669724770642,
       "tpr_ci": [
        0.908256880733945,
        0.9724770642201835
       ],
       "rate_withheld": true
      },
      "none": {
       "n_human": 120,
       "n_ai": 0,
       "fpr": 0.05,
       "fpr_ci": [
        0.016666666666666666,
        0.09166666666666666
       ],
       "tpr": null,
       "tpr_ci": null,
       "rate_withheld": true
      },
      "sampling": {
       "n_human": 0,
       "n_ai": 262,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.5572519083969466,
       "tpr_ci": [
        0.4961832061068702,
        0.6145992366412213
       ],
       "rate_withheld": true
      }
     },
     "domain": {
      "abstracts": {
       "n_human": 60,
       "n_ai": 240,
       "fpr": 0.03333333333333333,
       "fpr_ci": [
        0.0,
        0.08333333333333333
       ],
       "tpr": 0.6875,
       "tpr_ci": [
        0.625,
        0.7458333333333333
       ],
       "rate_withheld": false
      },
      "reddit": {
       "n_human": 60,
       "n_ai": 240,
       "fpr": 0.06666666666666667,
       "fpr_ci": [
        0.016666666666666666,
        0.13333333333333333
       ],
       "tpr": 0.775,
       "tpr_ci": [
        0.725,
        0.8291666666666667
       ],
       "rate_withheld": false
      }
     },
     "generator": {
      "gpt4": {
       "n_human": 0,
       "n_ai": 240,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.7083333333333334,
       "tpr_ci": [
        0.65,
        0.7625
       ],
       "rate_withheld": true
      },
      "human": {
       "n_human": 120,
       "n_ai": 0,
       "fpr": 0.05,
       "fpr_ci": [
        0.016666666666666666,
        0.09166666666666666
       ],
       "tpr": null,
       "tpr_ci": null,
       "rate_withheld": true
      },
      "mistral-chat": {
       "n_human": 0,
       "n_ai": 240,
       "fpr": null,
       "fpr_ci": null,
       "tpr": 0.7541666666666667,
       "tpr_ci": [
        0.7,
        0.8083333333333333
       ],
       "rate_withheld": true
      }
     }
    },
    "max_fpr_disparity": {
     "length_bucket": null,
     "attack": null,
     "decoding": null,
     "domain": {
      "gap": 0.03333333333333333,
      "worst_group": "reddit",
      "worst_fpr": 0.06666666666666667,
      "best_group": "abstracts",
      "best_fpr": 0.03333333333333333,
      "ratio": 2.0
     },
     "generator": null
    }
   }
  ]
 },
 "base_rate": {
  "volume": 75000,
  "volume_note": "default is Vanderbilt's published 75,000 submissions/year",
  "at": [
   {
    "target_fpr": 0.01,
    "expected_false_positives": 750.0,
    "ppv_at_prevalence": [
     {
      "prevalence": 0.01,
      "ppv": 0.38301739807842117
     },
     {
      "prevalence": 0.1,
      "ppv": 0.8722649319929036
     },
     {
      "prevalence": 0.5,
      "ppv": 0.9839893262174783
     }
    ]
   },
   {
    "target_fpr": 0.05,
    "expected_false_positives": 3750.0,
    "ppv_at_prevalence": [
     {
      "prevalence": 0.01,
      "ppv": 0.1287128712871287
     },
     {
      "prevalence": 0.1,
      "ppv": 0.619047619047619
     },
     {
      "prevalence": 0.5,
      "ppv": 0.9359999999999999
     }
    ]
   }
  ]
 },
 "reproduce": {
  "run": "gaige run --corpus corpora/raid-g2d2a2-n60-s17.jsonl --n 100 --seed 17 --detector fast-detect-gpt --model tiiuae/falcon-7b --quant 4bit --device cuda --max-tokens 1024",
  "corpus_note": "This receipt was produced from a locally prepared corpus file. The corpus sha256 above pins the exact bytes; the file itself is not redistributed. RAID slices (Dugan et al., ACL 2024) are prepared from the public dataset with `gaige corpus prepare-raid` and are never redistributed."
 }
}