Lab3: track-1 results, failure/rolling/container evidence, report draft
This commit is contained in:
@@ -77,7 +77,7 @@ def main():
|
||||
LEFT JOIN messages m ON m.id = i.message_id WHERE m.id IS NULL),
|
||||
'old_records', (SELECT count(*) FROM message_idempotency
|
||||
WHERE created_at < now() - interval '24 hours'),
|
||||
'hash_lengths', (SELECT coalesce(json_agg(DISTINCT octet_length(request_hash)), '[]') FROM message_idempotency)));""")
|
||||
'hash_lengths', (SELECT coalesce(json_agg(DISTINCT octet_length(request_hash)), '[]') FROM message_idempotency));""")
|
||||
checks['data_state'] = state
|
||||
checks['scopes_unique'] = state['duplicate_scopes'] == 0
|
||||
checks['records_reference_messages'] = state['orphan_records'] == 0
|
||||
|
||||
Reference in New Issue
Block a user