Back to all datasets
Published datasetVerified release

ConductScience Fear Conditioning Analyzer: method and validation record

The calculation behind ConductScience's free fear conditioning analyzer, with four worked examples that check it.

ConductScience

Published
September 28, 2026
Version
1.0.0
Files
11 release files

About this dataset

Overview

Method and validation record for the free Fear Conditioning Analyzer at conductscience.com/tools/fear-conditioning-analyzer. From freezing percentages, the tool computes cued freezing (CS minus pre-CS), contextual freezing and a generalisation score (conditioning context minus a neutral context), with group means and SEMs. Four hand-worked examples, on the measures described by Curzon et al. (2009), cover cued freezing, generalisation between contexts, a group mean and SEM, and a one-animal group, which gets an SEM of 0 (no error bar). The record holds the calculation source files, the worked examples, a validation report with each file's SHA-256, and what changed on the tool page when the record was written.

Inspect before download

Data preview

cases.csv · first 4 rows

idtitlesource_typeexpectedpass
hand-worked-cuedCued freezing above the pre-CS baselinehand-worked{"cuedFreezing":55}true
hand-worked-generalisationMore freezing in the conditioning context than in a neutral contexthand-worked{"contextualFreezing":70,"generalisation":50}true
hand-worked-group-semGroup mean and SEM of three animals' cued freezinghand-worked{"mean":55,"sem":5.773502692,"n":3}true
edge-single-animalA group with one animalhand-worked{"mean":40,"sem":0,"n":1}true

Read the columns

Data dictionary

data_dictionary.csv
cases.csvOne row per worked example.7 entries
NameTypeUnits or valuesMeaning
idstringe.g. hand-worked-cuedCase identifier; edge cases start with "edge-"
titlestringWhat the case checks
source_typestringhand-workedWhere the expected answer comes from: published, hand-worked, analytic or cross-check
citationstringSource of the method or the expected answer
locatorstringSection, formula or table of the source that the case relies on
expectedJSON objectnull: not computableExpected outputs as JSON; null means not computable
passbooleantrue, falsetrue when every expected output matched the engine within the stated tolerance

cases.json

The worked examples in full: inputs, expected outputs, tolerances, source passage and the arithmetic behind each expected answer.

validation-report.json

The engine's output for every case, pass or fail, with the byte count and SHA-256 of each calculation and harness file.

engine/behavior/fear-conditioning.ts

Calculation source (MIT). Cued, contextual and generalisation freezing.

engine/behavior/stats.ts

Calculation source (MIT). Mean, SD and SEM for group summaries.

engine/pilot-tools.ts

Harness source (MIT). Slugs of the ten tools with validation records; the check accepts only these.

engine/validation/run.ts

Harness source (MIT). Runs one case: passes its inputs to the tool's adapter and compares each output with the expected value within the tolerance.

engine/validation/tools/fear-conditioning-analyzer.ts

Harness source (MIT). Adapter from a case's inputs to this tool's calculation, returning the outputs the cases check.

engine/validation/types.ts

Harness source (MIT). Types for cases, tolerances and results.

Files

tool-fear-conditioning-analyzer-record-1.0.0.zip

11.8 kB

Complete frozen release: 15 source-manifest files plus MANIFEST.json.

SHA-256 a9f342de908f4ed8ba26669cfc41249c6c2e2b0cb7b39a4e2e039bfb9d7c37e8

Download

cases.csv

1.7 kB

The worked examples, one row each: what the case checks, the source of the expected answer, the expected outputs and whether the engine matched them.

SHA-256 71baec0537d77cbc793afc8d302f6cfce4400cec614bdec7379ab38c97abd904

Download

cases.json

3.3 kB

The worked examples in full: inputs, expected outputs, tolerances, source passage and the arithmetic behind each expected answer.

SHA-256 92639bf282c0e665d9ca7c73e2ca3d305b328868dc3d05c9cb2eb5e34981d707

Download

validation-report.json

2.0 kB

The engine's output for every case, pass or fail, with the byte count and SHA-256 of each calculation and harness file.

SHA-256 df62096c069dea1fa608dfe74a83f6fe5eaa137bb2a2d7af7706b16ad233d7af

Download

data_dictionary.csv

472 bytes

Columns of cases.csv.

SHA-256 96b57ee5185ffcccc5397d98673c42bbc53ff77cc7f676fe5789ef04a7648090

Download

README.md

1.6 kB

What the tool computes, the files, and how to cite the record.

SHA-256 a4818944caf570d8f603a7403787fd81d6e16067ee0292ca52148673ad318084

Download

METHODS.md

1.7 kB

Formulas, input rules, conventions, references and what changed on the tool page.

SHA-256 ee753f089a25f9b6da6f6b02d2c3c536735b9b7d0fb70b09ef0f2587987da25d

Download

MANIFEST.json

2.3 kB

Byte count and SHA-256 for every file in the source release.

SHA-256 00a4b1aee78e9e6d7ba9ac3dc2747ae06b217a8a77d78202030dd92e1cb4bb72

Download

CITATION.cff

418 bytes

Citation metadata.

SHA-256 050ab8c5db3cae393a0194671e6a20fe16c64d7d2ff530f2d82dfe3204ae200e

Download

LICENSE

1.3 kB

MIT License for the calculation source files; CC BY 4.0 for everything else.

SHA-256 d2dca2297cc985f3577b9376fbf5a72231ac88be401776098486f6d1e8a4d87a

Download

deposit-receipt.json

3.0 kB

ConductScience verification and packaging receipt.

SHA-256 7e0c0c1aa934d816b4c19d7b3e0f59865e92a4a039d8c3b0de169d610d1a42e9

Download

How it was made

Methods

  1. 1

    Worked examples: each of the four cases gives its inputs, the expected outputs, the source and passage behind the expected answer, and the arithmetic. Expected answers are worked by hand from the published method, or from the tool's own rule where METHODS.md labels it a convention. Cases whose ids start with edge- test inputs at the limits of the method.

  2. 2

    Check: each case was run in Node.js 24 through the tool's calculation source files, and every output was compared with its expected value, exactly or within the tolerance the case states. All four cases pass (validation-report.json), and ConductScience's test suite runs the same cases whenever the tool changes.

  3. 3

    Fingerprint: the validation report gives the byte count and SHA-256 of each calculation file and of the files that ran the check, and engine/ holds those files, so anyone can rerun the cases and tell whether a later version of the calculation differs from this one.

Version history

Version 1.0.0 · current

Published September 28, 2026 from source tag v1.0.0 at commit 41b1e0013ec6.