Troubleshooting#
Python cannot import PyFCIRT#
Import sys and call print(sys.executable) to check the active interpreter. Install with
that interpreter and select the same notebook kernel. Follow
Installation.
A response or ID is rejected#
Find the row reported in the error. Compare its columns, labels and categories
with the declared response storage format.
For example, "01" and 1 are distinct IDs, and the order cell
[3, 1, 2] places presentation position 3 first.
A predictor table cannot be aligned#
Give each used entity one row with the same ID as in the design. Check that used columns are complete. For scoring, supply the training formula’s predictors with compatible categorical levels. See covariates.
The first fit or prediction is slow#
PyMC may build and compile a computation graph on the first call. Later calls can reuse it. See the estimation backends before changing devices.
Chains disagree or diverge#
Locate the affected parameters using rank plots, R-hat and effective sample size. Check response coding, identifying constraints and prior predictions. See the TIRT workflow for the diagnostic steps.
Saved samples do not attach#
Recreate the original responses, design, priors, regressions and parameterization. Inspect both the data and sample labels, including any fixed calibration snapshot. For responses from different people, prepare a scoring model. See saving and restoration.