N.Y. Comp. Codes R. & Regs. tit. 9, § 7007.1
(b) Every person confined in an institution serving a civil commitment for a fixed period of time, whose release is not conditional upon any act within his power to perform, may receive time allowances as discretionary reductions of the term of his commitment, as provided by law.
(c) Recordkeeping rules and regulations—good behavior allowances.