metasignal: A Python Package for Comprehensive Metacognitive Analysis and Decision-Making

Saurabh Ranjan, Mukesh Makwana, Konstantina Sokratous, Brian Odegaard
7/31/2026
q-bio.NCcs.AIstat.AP

No confident code implementation found for this paper.

Abstract

Metasignal is an open-source Python package for signal detection theory (SDT) and metacognitive measurement. It implements the 17 metacognitive measures evaluated by Rahnev (2025), together with the reference variables d' (perceptual sensitivity), response criterion c (response bias), and mean confidence.

Show full abstract

The 17 measures comprise three meta-d' family estimates, meta-d', M-ratio, and M-difference; four nonparametric Type-2 measures, the Type-2 area under the receiver-operating-characteristic curve (AUC2), Gamma, Phi, and delta confidence, together with their eight SDT-normalized ratio and difference forms; and two model-based measures, meta-noise and meta-uncertainty. A single function computes the complete set from trial-level stimulus, response, and confidence arrays. `metasignal` currently supports binary (two-alternative) discrimination tasks, in which each trial's stimulus and response are coded with exactly two categories. The package also provides a command-line interface, group summaries, bootstrap confidence intervals, permutation tests, optional hierarchical Bayesian models, and information-theoretic measures. `metasignal` unifies these measures in a single platform to encourage broader metacognition research and adoption in decision-making studies.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ranjan2026metasignal,
  title  = {metasignal: A Python Package for Comprehensive Metacognitive Analysis and Decision-Making},
  author = {Saurabh Ranjan and Mukesh Makwana and Konstantina Sokratous and Brian Odegaard},
  year   = {2026},
  eprint = {2607.29093},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.29093v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.29093.svg)](https://codeofpaper.com/paper/2607.29093)

Discussion