; ; and (3) in subparagraph (D), by striking if the failure to so conform is ended by successful completion of and inserting and spending requirement if the failure to so conform is ended by successful completion of the identified priority areas of . 4. State child welfare caseload and workload standards (a) In general Section 471(a)(22) of the Social Security Act ( 42 U.S.C. 671(a)(22) ) is amended— (1) by striking that, not later than and inserting “that— (A) not later than ; (2) by adding and after the semicolon; and (3) by adding at the end the following: (B) (i) not later than January 1, 2020, the State, in consultation with the Secretary and national organizations with expertise in caseload and workload issues, and based on the most recent research, best practices, and such other data or information relating to caseload and workload issues as the State and Secretary determine appropriate, shall develop and implement caseload and workload standards for case workers for children on whose behalf aid, services, or assistance may be provided under part B or this part that are based on the unique needs and circumstances of the State and that establish minimum standards with respect to— (I) the number of active initial assessments or investigations per month per caseworker; (II) the number of active, ongoing cases per caseworker and the rate of new families assigned to a caseworker for every open family case; (III) the number of combined assessment or investigation and ongoing cases per caseworker; (IV) the number of families per caseworker being provided intensive family-centered or preservation services; (V) the number of cases per caseworker that involve children with intensive caseworker or supervision needs; and (VI) supervisor to caseworker ratios