HPD code enforcement officers comes out when a 311 complaint is filed (usually by the tenant).
If and when a filed complaint is substantiated, a Code Violation is issued against the property and the owner.
Depending on the severity of the complaint each violation is given a Grade Level which requires the owner to affect repairs in said time frame.
Hope this answers your question. Perhaps if you disclose the reason for the question, we may be able to address your concern direct.
Email us direct: Payment PlanBroker@gmail.com