{
  "analysis_id": "analysis.mouse-visual-contrast-unbiased.descriptive-psychometric",
  "analysis_type": "descriptive_psychometric",
  "behavtaskatlas_commit": "4fabef6",
  "behavtaskatlas_git_dirty": false,
  "caveats": [
    "This slice uses one OpenAlyx trainingChoiceWorld session from the broad IBL public behavior archive; it does not summarize the full archive.",
    "The source probabilityLeft field varies across the selected training session and is reported as prior_context for transparency, but this training slice should not be interpreted as a block-prior experiment.",
    "Empirical bias and threshold use linear interpolation over empirical p(right). Fitted values use a four-parameter logistic model, not the full IBL psychofit implementation.",
    "No-response trials are included in total trial counts but excluded from the p(right) denominator."
  ],
  "dataset_id": "dataset.ibl-public-behavior",
  "generated_at": "2026-04-27T06:49:22.639717+00:00",
  "n_no_response_trials": 0,
  "n_response_trials": 646,
  "n_trials": 646,
  "prior_results": [
    {
      "empirical_bias": null,
      "empirical_bias_contrast": null,
      "empirical_threshold": null,
      "empirical_threshold_contrast": null,
      "fit": {
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 1,
        "status": "insufficient_data"
      },
      "left_lapse_empirical": 0.0,
      "n_contrast_levels": 1,
      "n_response_trials": 1,
      "n_stimulus_levels": 1,
      "n_trials": 1,
      "prior_context": "p_left=0",
      "right_lapse_empirical": 1.0
    },
    {
      "empirical_bias": null,
      "empirical_bias_contrast": null,
      "empirical_threshold": null,
      "empirical_threshold_contrast": null,
      "fit": {
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 2,
        "status": "insufficient_data"
      },
      "left_lapse_empirical": 0.0,
      "n_contrast_levels": 2,
      "n_response_trials": 2,
      "n_stimulus_levels": 2,
      "n_trials": 2,
      "prior_context": "p_left=0.1",
      "right_lapse_empirical": 1.0
    },
    {
      "empirical_bias": 6.25,
      "empirical_bias_contrast": 6.25,
      "empirical_threshold": 14.0625,
      "empirical_threshold_contrast": 14.0625,
      "fit": {
        "bias_contrast": 8.858746402420431,
        "left_lapse": 0.0,
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 5,
        "n_response_trials": 7,
        "negative_log_likelihood": 2.97556098449417,
        "optimizer": "scipy.optimize.minimize",
        "right_lapse": 0.0,
        "scale_contrast": 6.602673241105183,
        "status": "ok",
        "threshold_contrast": 7.253777960738251
      },
      "left_lapse_empirical": 0.0,
      "n_contrast_levels": 5,
      "n_response_trials": 7,
      "n_stimulus_levels": 5,
      "n_trials": 7,
      "prior_context": "p_left=0.2",
      "right_lapse_empirical": 0.0
    },
    {
      "empirical_bias": 7.8125,
      "empirical_bias_contrast": 7.8125,
      "empirical_threshold": null,
      "empirical_threshold_contrast": null,
      "fit": {
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 2,
        "status": "insufficient_data"
      },
      "left_lapse_empirical": 0.3333333333333333,
      "n_contrast_levels": 2,
      "n_response_trials": 5,
      "n_stimulus_levels": 2,
      "n_trials": 5,
      "prior_context": "p_left=0.3",
      "right_lapse_empirical": 0.0
    },
    {
      "empirical_bias": -6.25,
      "empirical_bias_contrast": -6.25,
      "empirical_threshold": 3.90625,
      "empirical_threshold_contrast": 3.90625,
      "fit": {
        "bias_contrast": 3.3709028151468674,
        "left_lapse": 0.25014749858036045,
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 5,
        "n_response_trials": 7,
        "negative_log_likelihood": 2.2540629350984958,
        "optimizer": "scipy.optimize.minimize",
        "right_lapse": 0.0,
        "scale_contrast": 0.5,
        "status": "ok",
        "threshold_contrast": 0.5493061443340549
      },
      "left_lapse_empirical": 0.5,
      "n_contrast_levels": 5,
      "n_response_trials": 7,
      "n_stimulus_levels": 5,
      "n_trials": 7,
      "prior_context": "p_left=0.4",
      "right_lapse_empirical": 0.0
    },
    {
      "empirical_bias": 3.734871406959153,
      "empirical_bias_contrast": 3.734871406959153,
      "empirical_threshold": 10.035517727117853,
      "empirical_threshold_contrast": 10.035517727117853,
      "fit": {
        "bias_contrast": 1.6372628759696022,
        "left_lapse": 0.05292015398172709,
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 9,
        "n_response_trials": 615,
        "negative_log_likelihood": 287.45126319907604,
        "optimizer": "scipy.optimize.minimize",
        "right_lapse": 0.13434329297194358,
        "scale_contrast": 6.685589619654429,
        "status": "ok",
        "threshold_contrast": 7.344870913144311
      },
      "left_lapse_empirical": 0.056338028169014086,
      "n_contrast_levels": 9,
      "n_response_trials": 615,
      "n_stimulus_levels": 9,
      "n_trials": 615,
      "prior_context": "p_left=0.5",
      "right_lapse_empirical": 0.109375
    },
    {
      "empirical_bias": -15.625,
      "empirical_bias_contrast": -15.625,
      "empirical_threshold": -4.6875,
      "empirical_threshold_contrast": -4.6875,
      "fit": {
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 2,
        "status": "insufficient_data"
      },
      "left_lapse_empirical": 1.0,
      "n_contrast_levels": 2,
      "n_response_trials": 2,
      "n_stimulus_levels": 2,
      "n_trials": 2,
      "prior_context": "p_left=0.6",
      "right_lapse_empirical": 1.0
    },
    {
      "empirical_bias": null,
      "empirical_bias_contrast": null,
      "empirical_threshold": null,
      "empirical_threshold_contrast": null,
      "fit": {
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 1,
        "status": "insufficient_data"
      },
      "left_lapse_empirical": 0.0,
      "n_contrast_levels": 1,
      "n_response_trials": 1,
      "n_stimulus_levels": 1,
      "n_trials": 1,
      "prior_context": "p_left=0.7",
      "right_lapse_empirical": 1.0
    },
    {
      "empirical_bias": -18.75,
      "empirical_bias_contrast": -18.75,
      "empirical_threshold": 3.125,
      "empirical_threshold_contrast": 3.125,
      "fit": {
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 3,
        "status": "insufficient_data"
      },
      "left_lapse_empirical": 0.0,
      "n_contrast_levels": 3,
      "n_response_trials": 3,
      "n_stimulus_levels": 3,
      "n_trials": 3,
      "prior_context": "p_left=0.8",
      "right_lapse_empirical": 0.0
    },
    {
      "empirical_bias": 0.0,
      "empirical_bias_contrast": 0.0,
      "empirical_threshold": 6.25,
      "empirical_threshold_contrast": 6.25,
      "fit": {
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 2,
        "status": "insufficient_data"
      },
      "left_lapse_empirical": 0.0,
      "n_contrast_levels": 2,
      "n_response_trials": 2,
      "n_stimulus_levels": 2,
      "n_trials": 2,
      "prior_context": "p_left=0.9",
      "right_lapse_empirical": 0.0
    },
    {
      "empirical_bias": null,
      "empirical_bias_contrast": null,
      "empirical_threshold": null,
      "empirical_threshold_contrast": null,
      "fit": {
        "method": "four_parameter_logistic_binomial_mle",
        "n_points": 1,
        "status": "insufficient_data"
      },
      "left_lapse_empirical": 1.0,
      "n_contrast_levels": 1,
      "n_response_trials": 1,
      "n_stimulus_levels": 1,
      "n_trials": 1,
      "prior_context": "p_left=1",
      "right_lapse_empirical": 0.0
    }
  ],
  "protocol_id": "protocol.mouse-visual-contrast-wheel-unbiased",
  "report_title": "Mouse Visual Contrast Training Report",
  "response_time_origin": "response_times - stimOn_times",
  "stimulus_label": "Signed contrast",
  "stimulus_metric_name": "contrast",
  "stimulus_units": "percent contrast, signed right positive",
  "summary_rows": [
    {
      "median_response_time": 0.6136999999998807,
      "n_correct": 0,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 0,
      "n_trials": 1,
      "p_correct": 0.0,
      "p_right": 0.0,
      "prior_context": "p_left=0",
      "stimulus_value": 0.0
    },
    {
      "median_response_time": 0.34570000000007894,
      "n_correct": 0,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 0,
      "n_trials": 1,
      "p_correct": 0.0,
      "p_right": 0.0,
      "prior_context": "p_left=0.1",
      "stimulus_value": 0.0
    },
    {
      "median_response_time": 0.3321000000000822,
      "n_correct": 0,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 0,
      "n_trials": 1,
      "p_correct": 0.0,
      "p_right": 0.0,
      "prior_context": "p_left=0.1",
      "stimulus_value": 6.25
    },
    {
      "median_response_time": 0.34050000000002,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 0,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 0.0,
      "prior_context": "p_left=0.2",
      "stimulus_value": -100.0
    },
    {
      "median_response_time": 0.2859999999999445,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 0,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 0.0,
      "prior_context": "p_left=0.2",
      "stimulus_value": -25.0
    },
    {
      "median_response_time": 0.4090499999999224,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 2,
      "n_right": 1,
      "n_trials": 2,
      "p_correct": 0.5,
      "p_right": 0.5,
      "prior_context": "p_left=0.2",
      "stimulus_value": 6.25
    },
    {
      "median_response_time": 3.403349999999932,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 2,
      "n_right": 1,
      "n_trials": 2,
      "p_correct": 0.5,
      "p_right": 0.5,
      "prior_context": "p_left=0.2",
      "stimulus_value": 12.5
    },
    {
      "median_response_time": 0.34390000000007603,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 1,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 1.0,
      "prior_context": "p_left=0.2",
      "stimulus_value": 25.0
    },
    {
      "median_response_time": 0.316599999999994,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 3,
      "n_right": 1,
      "n_trials": 3,
      "p_correct": 0.3333333333333333,
      "p_right": 0.3333333333333333,
      "prior_context": "p_left=0.3",
      "stimulus_value": 6.25
    },
    {
      "median_response_time": 0.28155000000015207,
      "n_correct": 2,
      "n_no_response": 0,
      "n_response": 2,
      "n_right": 2,
      "n_trials": 2,
      "p_correct": 1.0,
      "p_right": 1.0,
      "prior_context": "p_left=0.3",
      "stimulus_value": 12.5
    },
    {
      "median_response_time": 1.717200000000048,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 2,
      "n_right": 1,
      "n_trials": 2,
      "p_correct": 0.5,
      "p_right": 0.5,
      "prior_context": "p_left=0.4",
      "stimulus_value": -6.25
    },
    {
      "median_response_time": 0.9017499999999927,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 2,
      "n_right": 0,
      "n_trials": 2,
      "p_correct": 0.5,
      "p_right": 0.0,
      "prior_context": "p_left=0.4",
      "stimulus_value": -0.0
    },
    {
      "median_response_time": 0.3988999999999976,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 1,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 1.0,
      "prior_context": "p_left=0.4",
      "stimulus_value": 6.25
    },
    {
      "median_response_time": 0.7496999999998479,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 1,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 1.0,
      "prior_context": "p_left=0.4",
      "stimulus_value": 12.5
    },
    {
      "median_response_time": 21.453599999999824,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 1,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 1.0,
      "prior_context": "p_left=0.4",
      "stimulus_value": 25.0
    },
    {
      "median_response_time": 0.27759999999989304,
      "n_correct": 67,
      "n_no_response": 0,
      "n_response": 71,
      "n_right": 4,
      "n_trials": 71,
      "p_correct": 0.9436619718309859,
      "p_right": 0.056338028169014086,
      "prior_context": "p_left=0.5",
      "stimulus_value": -100.0
    },
    {
      "median_response_time": 0.30599999999981264,
      "n_correct": 59,
      "n_no_response": 0,
      "n_response": 63,
      "n_right": 4,
      "n_trials": 63,
      "p_correct": 0.9365079365079365,
      "p_right": 0.06349206349206349,
      "prior_context": "p_left=0.5",
      "stimulus_value": -25.0
    },
    {
      "median_response_time": 0.3247000000001208,
      "n_correct": 63,
      "n_no_response": 0,
      "n_response": 72,
      "n_right": 9,
      "n_trials": 72,
      "p_correct": 0.875,
      "p_right": 0.125,
      "prior_context": "p_left=0.5",
      "stimulus_value": -12.5
    },
    {
      "median_response_time": 0.35410000000001673,
      "n_correct": 59,
      "n_no_response": 0,
      "n_response": 83,
      "n_right": 24,
      "n_trials": 83,
      "p_correct": 0.7108433734939759,
      "p_right": 0.2891566265060241,
      "prior_context": "p_left=0.5",
      "stimulus_value": -6.25
    },
    {
      "median_response_time": 0.3298499999999649,
      "n_correct": 31,
      "n_no_response": 0,
      "n_response": 56,
      "n_right": 18,
      "n_trials": 56,
      "p_correct": 0.5535714285714286,
      "p_right": 0.32142857142857145,
      "prior_context": "p_left=0.5",
      "stimulus_value": 0.0
    },
    {
      "median_response_time": 0.37449999999989814,
      "n_correct": 49,
      "n_no_response": 0,
      "n_response": 79,
      "n_right": 49,
      "n_trials": 79,
      "p_correct": 0.620253164556962,
      "p_right": 0.620253164556962,
      "prior_context": "p_left=0.5",
      "stimulus_value": 6.25
    },
    {
      "median_response_time": 0.33179999999993015,
      "n_correct": 52,
      "n_no_response": 0,
      "n_response": 69,
      "n_right": 52,
      "n_trials": 69,
      "p_correct": 0.7536231884057971,
      "p_right": 0.7536231884057971,
      "prior_context": "p_left=0.5",
      "stimulus_value": 12.5
    },
    {
      "median_response_time": 0.29994999999993865,
      "n_correct": 46,
      "n_no_response": 0,
      "n_response": 58,
      "n_right": 46,
      "n_trials": 58,
      "p_correct": 0.7931034482758621,
      "p_right": 0.7931034482758621,
      "prior_context": "p_left=0.5",
      "stimulus_value": 25.0
    },
    {
      "median_response_time": 0.2938500000000204,
      "n_correct": 57,
      "n_no_response": 0,
      "n_response": 64,
      "n_right": 57,
      "n_trials": 64,
      "p_correct": 0.890625,
      "p_right": 0.890625,
      "prior_context": "p_left=0.5",
      "stimulus_value": 100.0
    },
    {
      "median_response_time": 1.5147000000001754,
      "n_correct": 0,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 1,
      "n_trials": 1,
      "p_correct": 0.0,
      "p_right": 1.0,
      "prior_context": "p_left=0.6",
      "stimulus_value": -25.0
    },
    {
      "median_response_time": 0.3702000000000112,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 0,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 0.0,
      "prior_context": "p_left=0.6",
      "stimulus_value": -6.25
    },
    {
      "median_response_time": 0.3412999999999897,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 0,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 0.0,
      "prior_context": "p_left=0.7",
      "stimulus_value": -100.0
    },
    {
      "median_response_time": 7.399899999999889,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 0,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 0.0,
      "prior_context": "p_left=0.8",
      "stimulus_value": -25.0
    },
    {
      "median_response_time": 0.43840000000000146,
      "n_correct": 0,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 1,
      "n_trials": 1,
      "p_correct": 0.0,
      "p_right": 1.0,
      "prior_context": "p_left=0.8",
      "stimulus_value": -12.5
    },
    {
      "median_response_time": 0.20259999999996126,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 1,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 1.0,
      "prior_context": "p_left=0.8",
      "stimulus_value": 6.25
    },
    {
      "median_response_time": 0.30389999999988504,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 0,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 0.0,
      "prior_context": "p_left=0.9",
      "stimulus_value": -12.5
    },
    {
      "median_response_time": 0.2418999999999869,
      "n_correct": 1,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 1,
      "n_trials": 1,
      "p_correct": 1.0,
      "p_right": 1.0,
      "prior_context": "p_left=0.9",
      "stimulus_value": 12.5
    },
    {
      "median_response_time": 0.2810000000000059,
      "n_correct": 0,
      "n_no_response": 0,
      "n_response": 1,
      "n_right": 1,
      "n_trials": 1,
      "p_correct": 0.0,
      "p_right": 1.0,
      "prior_context": "p_left=1",
      "stimulus_value": -12.5
    }
  ]
}
