You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
Expected Behavior
updated timestamp only changes "when it should" (meaningful data changes happen) - not entirely sure what the algorithm for this should be. first impulse is to only change it when a user PATCHes it. however, there are no doubt some other routes to changing data: e.g. a merge of individuals etc. so its subtle. plus there are also cascading considerations: does the updated field on an indivdual change when one of its encounters changes?
Current Behavior
right now this is getting updated by -- something. probably indexing or something automatic like that. so if you look at our data (most/any class), "updated" field is all the same timestamp and very recent. this makes the field effectively useless/meaningless.
The text was updated successfully, but these errors were encountered:
TanyaStere42
changed the title
updated field is set too easily
updated field is set too easily, making audit logs too verbose and difficult to review
Aug 2, 2023
i would start with any PATCH for sure. thats pretty universal. then maybe look across all the resources.py files for other things that can change any of the classes. (such as the merging indiv example.) i could work on this exhaustive list or whoever gets this could just start making their own judgement call by looking at these files.
well, i first want to find out what the heck this is that is doing all the updating, and then stop it:
right now this is getting updated by -- something. probably indexing or something automatic like that.
then, yeah, make patching be one of the things that does update it. basically, in my mind, the updated timestamp should be when something "significant" changes the thing. i guess it will have to be a case-by-case basis as to what this means. pretty sure its not something that happens every few minutes automatically though. that kinda makes the timestamp useless.
Expected Behavior
updated timestamp only changes "when it should" (meaningful data changes happen) - not entirely sure what the algorithm for this should be. first impulse is to only change it when a user PATCHes it. however, there are no doubt some other routes to changing data: e.g. a merge of individuals etc. so its subtle. plus there are also cascading considerations: does the updated field on an indivdual change when one of its encounters changes?
Current Behavior
right now this is getting updated by -- something. probably indexing or something automatic like that. so if you look at our data (most/any class), "updated" field is all the same timestamp and very recent. this makes the field effectively useless/meaningless.
The text was updated successfully, but these errors were encountered: