A legal precedent was a legal case that was considered as have set a standard for dealing with the same issue in later cases.
Samuel T. Cogley's computer contained all the precedents. (TOS: "Court Martial")
(TNG: "Devil's Due")
(VOY: "Ex Post Facto")
(VOY: "Tinker Tenor Doctor Spy")
(DIS: "Point of Light")
(DIS: "All Is Possible")