Keeping One Input Snapshot for a Transformation

A transformation applied across many records can use one captured configuration when all results are meant to be comparable.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a changed threshold
  2. Test the boundary with two reports

Trace a changed threshold

If a global cutoff changes from five to ten mid-report, identical values of seven might receive different labels. Reading the setting once and supplying it explicitly makes the interpretation consistent. See module settings.

Test the boundary with two reports

A second report can intentionally use the new threshold. Each report's results reflect its own input settings. Pure calculations clarify which data determine those outcomes.[1]

References

  1. Python Software Foundation, Functional Programming HOWTO ↩