Recidiviz / justice-counts

Technical infrastructure for the Justice Counts initiative
GNU General Public License v3.0
2 stars 0 forks source link

[Justice Counts][Bug] Investigate issue with copying metric configuration from superagencies to child agencies #1507

Closed mxosman closed 2 months ago

mxosman commented 2 months ago

Message from Andrew (CSG): Hi y'all! I have a question on copying metric configuration over from a superagency to child agencies via the admin panel. I've just copied over all metric configuration from Oregon Criminal Justice Commission to all of its child agencies -- across several sectors. I wasn't sure if things would get funky if I selected all agencies and all metrics -- essentially copying law enforcement metric configuration to all agencies, law enforcement and non-law enforcement, etc.. I tested it by copying all metric configuration to a single law enforcement agency and everything looked right -- only law enforcement metric configuration was copied over and nothing from other sectors. I then tried to do metric configuration copying in bulk -- copying all metrics for all agencies in all of the possible OCJC sectors -- and things now look a little off. With the supervision sector, only New Cases, Daily Population, and Funding are configured for the superagency -- with the first two marked as available and the last as unavailable. But all supervision metrics now appear as configured for the supervision child agencies (e.g., Yamhill County Community Corrections or Polk County County Community Corrections) with everything except for Funding marked as available. There's also a discrepancy with the prisons sector, but things still look right for all law enforcement child agencies. Any idea on what's going on here? Have I really messed things up? Thanks!

Link to thread: Slack

mxosman commented 2 months ago

Ack - wrong repo.