Skip to content

error or working great? #17

@agmonetti

Description

@agmonetti

JSON of last problem marked as "obra persistente:

"Linea A_problema": {
"estado": "Limitado San Pedrito y Peru R",
"linea_original": "Linea A",
"tipo": "problema",
"contador": 5,
"primera_deteccion": "2025-11-01T13:30:24.184414-03:00",
"ultima_notificacion": "2025-11-01T21:00:46.679362-03:00",
"es_obra_programada": true,
"detectada_por_texto": false,
"activa": false,
"ya_notificada": true,
"fecha_desaparicion": "2025-11-01T21:00:46.679290-03:00"
}
}
"

Notification's workflow:
image
image
image

Subte state right now:
image

My doubt:

If a problem is marked, great, as "obra persistente", the code does not delete it from the JSON if desapears. But what is your opinion?
Options to consider:

A) It was marked as a "obra persistente" but that does not mean it will persist 2-3 months like an actual "obra". Knowing that, it should be removed from the JSON

B) Maybe it will persist 1-2 weeks or maybe not. But we have no way of knowing that. That is why we should inmediatly remove it

If you think of another option please let me know. The idea is to keep the code in this tecnichal level. Consider I am a student. That being said, I am not a Python professional

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions