# Stateful Hidden Accumulation

> Accumulating state inside a processor across records, so results depend on invisible history.

Record: `lexicon:stateful-hidden-accumulation`
Kind: anti-pattern
Layer: [Execution Core](https://banes-lab.com/records/layer/execution-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-stateful-hidden-accumulation

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Stateful Business Rules](https://banes-lab.com/records/lexicon/stateful-business-rules.md) and before [Bounded Aggregation over Unbounded Streams](https://banes-lab.com/records/lexicon/bounded-aggregation-over-unbounded-streams.md).

## Category

- [Streaming / Pipeline / Dataflow Processing](https://banes-lab.com/records/lexicon-category/streaming-pipeline-dataflow-processing.md)

## Negated by

- [Stateless Processing](https://banes-lab.com/records/architecture/stateless-processing.md)

## Linked from

- [Streaming / Pipeline / Dataflow Processing](https://banes-lab.com/ontology/principles/architecture-category-streaming-pipeline-dataflow-processing.md)
