...
...
Update Frequency
(f)
...
Freshness status
Expected Update Frequency | Value stored (as numeric string) in data_update_frequency field (f) | Freshness status | |||||
---|---|---|---|---|---|---|---|
Fresh (Up to date) | Not Fresh | ||||||
Up-to-date | Due | Leeway | Overdue | Long Overdue | Delinquent | ||
Every day |
1 | 0 |
1 |
due_age = f
2 days old
overdue_age =2 (f +1) | 3 (f +2) |
3 days old
delinquent_age = f + 3
Weekly
Every week | 7 | 0 - 6 |
7 |
due_age = f
8-13 |
14 days old
overdue_age =14 (f +7 |
21 days old
delinquent_age =) | 15-20 | 21 (f +14) |
Every two weeks | 14 | 0 - 13 |
14 |
15-20 |
21 days old
overdue_age =21 (f +7 |
28 days old
delinquent_age =) | 22-27 | 28 (f +14) |
Every month |
30 | 0 -29 |
30 |
due_age = f
31-43 |
44 days old
overdue_age =44 (f +14 |
60 days old
delinquent_age =) | 45-59 | 60 (f +30) |
Every three months | 90 | 0 - 89 |
90 |
91-119 |
120 days old
overdue_age =120 (f +30 |
150 days old
delinquent_age =) | 121-149 | 150 (f +60) |
Every six months |
180 | 0 - 179 |
180 |
due_age = f
181-209 |
210 days old
overdue_age =210 (f +30 |
240 days old
delinquent_age =) | 211-239 | 240 (f +60) |
Every year |
365 | 0 - 364 |
365 |
366-424 |
425 days old
overdue_age =425 (f +60 |
455 days old
delinquent_age =) | 426-454 | 455 (f +90) | |||||
Never | -1 | Always | Never | Never | Never | Never | Never |
Live | 0 | Always | Never | Never | Never | Never | Never |
As Needed | -2 | Always | Never | Never | Never | Never | Never |
How the states are applied in different processes
State | Sending of Maintainer Email | Display of Green Leaf | Allowed State Data Grid (overridden by curation) |
---|---|---|---|
Up to date | Leaf displayed | Can be complete | |
Due | Leaf not displayed | Can’t be complete | |
Overdue | Leaf not displayed | Can’t be complete | |
Long overdue | Not used | ||
Delinquent | Leaf not displayed | Can’t be complete | |
Special Case For Never/Live/Ad Hoc | Leaf not displayed | Can be complete (can be curated out if too old) |
The logic behind the handling of Never/Live/As Needed is detailed in this ticket, but here is the important part:
treat “never” as always fresh (datasets that are too old to be relevant should be curated out anyway)
treat “ad hoc/as needed” as always fresh (datasets that are too old to be relevant should be curated out anyway)
treat “live” as always fresh