Counting Outcomes in a Reliable Operation

An operation can track successes, expected rejections, and processing failures separately so monitoring explains how inputs moved through the system.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a batch
  2. Specify what was attempted

Trace a batch

Of five rows, three may save, one may fail validation, and one may fail storage. A single count of two failures loses the difference between user correction and a temporary issue. Frequency calculations give one way to count named outcomes.

Specify what was attempted

If processing stops after the storage failure, rows after it may remain unprocessed. Track the state of the batch rather than presenting every unprocessed row as a rejection.[1]

References

  1. Python Software Foundation, Python Tutorial: Errors and Exceptions ↩