A tool to help jail administrators, judges, and other stakeholders understand the conditions in metro jails, and use this data to visualize how their decisions–at both the individual and policy level–affect program, facility, and inmate outcomes.
3
stars
4
forks
source link
adjust current week releases with focus on release_date_time #78
The previous implementation was showing 0 releases when I ran the bookings:release task, and I noticed that it was targeting only the @weekly_bookings subset of bookings (booking_date_time within the past week), which means that only bookings with a start and end date within the past week would display.
The following is the result of this branch's fix, after the sample data generation task was run twice and the booking release task was run 3 times (with the default arg of 10, so 20 new bookings, 30 releases). The displayed % now reflects this week's releases / current active population, but I'm open to changes here (considered this week's releases / active population before the releases but went with current active population because it's the basis for the pop-cap chart and others).
Closes #76
The previous implementation was showing 0 releases when I ran the
bookings:release
task, and I noticed that it was targeting only the @weekly_bookings subset of bookings (booking_date_time
within the past week), which means that only bookings with a start and end date within the past week would display.The following is the result of this branch's fix, after the sample data generation task was run twice and the booking release task was run 3 times (with the default arg of 10, so 20 new bookings, 30 releases). The displayed % now reflects
this week's releases
/current active population
, but I'm open to changes here (consideredthis week's releases
/active population before the releases
but went with current active population because it's the basis for the pop-cap chart and others).