[
  {
    "id": "hand-worked-novel-preference",
    "title": "An animal that spends three quarters of its exploration on the novel object",
    "sourceType": "hand-worked",
    "source": {
      "citation": "Ennaceur A, Delacour J. A new one-trial test for neurobiological studies of memory in rats. 1: Behavioral data. Behav Brain Res. 1988;31(1):47-59.",
      "doi": "10.1016/0166-4328(88)90157-x",
      "locator": "Discrimination index d2 = (N − F) / (N + F); the preference index N / (N + F) is the share of exploration spent on the novel object",
      "arithmetic": "N = 30 s, F = 10 s, N + F = 40 s. DI = (30 − 10) / 40 = 0.5. PI = 30 / 40 = 0.75."
    },
    "input": {
      "novel": 30,
      "familiar": 10
    },
    "expected": {
      "di": 0.5,
      "pi": 0.75
    }
  },
  {
    "id": "hand-worked-familiar-preference",
    "title": "An animal that prefers the familiar object",
    "sourceType": "hand-worked",
    "source": {
      "citation": "Ennaceur A, Delacour J. A new one-trial test for neurobiological studies of memory in rats. 1: Behavioral data. Behav Brain Res. 1988;31(1):47-59.",
      "doi": "10.1016/0166-4328(88)90157-x",
      "locator": "Discrimination index d2 = (N − F) / (N + F); the preference index N / (N + F) is the share of exploration spent on the novel object",
      "arithmetic": "N = 10 s, F = 30 s, N + F = 40 s. DI = (10 − 30) / 40 = −0.5. PI = 10 / 40 = 0.25."
    },
    "input": {
      "novel": 10,
      "familiar": 30
    },
    "expected": {
      "di": -0.5,
      "pi": 0.25
    }
  },
  {
    "id": "edge-no-exploration",
    "title": "An animal that explored neither object",
    "sourceType": "hand-worked",
    "source": {
      "citation": "Ennaceur A, Delacour J. A new one-trial test for neurobiological studies of memory in rats. 1: Behavioral data. Behav Brain Res. 1988;31(1):47-59.",
      "doi": "10.1016/0166-4328(88)90157-x",
      "locator": "Discrimination index d2 = (N − F) / (N + F)",
      "arithmetic": "N = 0 s, F = 0 s, N + F = 0 s, so both indices are 0 / 0 and undefined. The tool reports them as not computable (null) and leaves the animal out of group statistics."
    },
    "input": {
      "novel": 0,
      "familiar": 0
    },
    "expected": {
      "di": null,
      "pi": null
    }
  }
]
