What is Ideality factor?
The factor n in the diode equation I ∝ exp(qV/nkT). It is close to 1 when diffusion current dominates and close to 2 when recombination in the depletion layer dominates, so it indicates junction quality.
Field: PN junctions and diodes