cityofaustin / atd-data-tech

Austin Transportation Data & Technology Services
17 stars 2 forks source link

Urgent request to support quarterly reporting by 7/24 - Signal Detector Status Updates #18295

Closed atdservicebot closed 2 months ago

atdservicebot commented 2 months ago

What application are you using?

AMD Data Tracker

Describe the problem.

Urgent request to support quarterly reporting by 7/24

We need to adjust the "Intersections with All Detectors Working" metric and how each intersection is reporting its status of "OK" or "Broken" overall. We added new detection status that should cause the signal to be listed as "Broken" but are listed as "OK" because no detector has a broken status. Instead they have a "Replace" or "Investigation" status which means they are in our queue for troubleshooting and repair. However, they are still broken.

Describe the outcome you'd like to see when this feature is implemented.

Update how that column gets reported so our metrics will be correct again.

Describe any workarounds you currently have in place or alternative solutions you've considered.

None.

Is there anything else we should know?

7/24 for quarterly executive report

Requested By Lance B.

Request ID: DTS24-116265

lanceballard commented 2 months ago

Hi friends. I'm checking on this while Brian is out. Do we have an anticipated time y'all can get to this?

Thanks!

ChristinaTremel commented 2 months ago

In scoping out this request, I've found detector statuses on the signals object and the signal_detectors object

Detector Status options on signal_detectors object:

Detection_Status options on the signals object are:

Lance reviewed these lists and mapped out how the detector statuses on the signal_detectors object should map to the statuses on the signals object.

signal_detectors object statuses signal object statuses
OK Ok
OK - MINOR ISSUE Ok
LVL 1 INVESTIGATION Broken
LVL 2 INVESTIGATION Broken
REPLACE Broken
BROKEN Broken
UNKNOWN Unknown
REMOVED No Detection
VERIFICATION NEEDED Unknown
INACTIVE No Detection
ChristinaTremel commented 2 months ago

Proposed Solution

Add number fields to the signals_detectors object:

Add sum fields to signals object

@dianamartin I'm going to walk through this with you during our work session today to confirm that this woud be the right direction! I referenced the way we update statuses on markings work orders with job statuses.

ChristinaTremel commented 2 months ago

7/23

Add number fields to the signals_detectors object:

Add sum fields to signals object

ChristinaTremel commented 2 months ago

Hierarchy of status updates

ChristinaTremel commented 2 months ago

Current Count of Detector Statuses in the sum fields:

Old Count of Detector Statuses using Detector Status field:

Additional Info:

ChristinaTremel commented 2 months ago
ChristinaTremel commented 2 months ago

7/29

ChristinaTremel commented 2 months ago
ChristinaTremel commented 2 months ago

Reviewed this during the AMD sprint review and we are good to close this out as complete! If any changes are needed, we will ask the MMC to submit a new ticket.