A new report from the state inspector general is urging the Department of Corrections and Community Supervision, the agency overseeing New York’s incarcerated population, to modernize its record keeping capabilities in order to comply with the HALT Act, which became law more than two years ago.

The report found various violations of the HALT Act — aimed at limiting solitary confinement.

The law states that a person may not be held in a cell for more than 17 hours a day and that must be limited to 15 consecutive days, or 20 days in a 60-day period.

But the report lays bare the challenges implementing the law, driven by the antiquated record-keeping systems — currently done by pen and paper — that have made it difficult to track and monitor the use, and duration, of segregated confinement. That also includes time spent in recreation and in programs. Those critical metrics are required under the HALT Act.

State Inspector General Lucy Lang joined NY1 political anchor Errol Louis on “Inside City Hall” Tuesday to talk about the findings.