feat: add last verified date #17
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a last verified date field to the schema of the hotlines and fills that field all existing objects using the date in which each object was committed (sourced from the git blame)
I thought of the long-term feasibility of this project and realized that there's a glaring problem: data staleness. You'd need a really active set of maintainers, else you risk having wrong hotlines kasi nagbago na ng number or something.
One patch for that is to tie a last verified date to each hotline so at least we're saying na "we can only guarantee that this hotline is correct as of this date."
I've also added a vibe coded Python script to fill each lastUpdated field using the blame. I verified it for every single object and it seemed to be tama naman.