# Cross-Class Pattern Detection

> Search across semantic domains for repeated imports, repeated initialization, repeated lifecycle code, repeated error handling, repeated state setup, and repeated dependency wiring.

Record: `algorithms:cross-class-pattern-detection`
Kind: algorithm
Canonical: https://banes-lab.com/ontology/algorithms#algorithms-cross-class-pattern-detection
Closure: https://banes-lab.com/json/records/algorithms/cross-class-pattern-detection/closure

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Behavioral Signature Extraction](https://banes-lab.com/records/algorithms/behavioral-signature-extraction.md) and before [Behavioral Inconsistency](https://banes-lab.com/records/algorithms/behavioral-inconsistency.md).

## Domain

- [Pattern distillation](https://banes-lab.com/records/algorithms-domain/pattern-distillation.md)

## Stage

- [see](https://banes-lab.com/records/stage/see.md)

## Axis

- [analysis](https://banes-lab.com/records/reasoning/axis-analysis.md)

## Tier

- [process](https://banes-lab.com/records/vocabulary/domain-tier-process.md)

## Composed by

- [Pattern Distiller Kernel](https://banes-lab.com/records/algorithms/pattern-distiller-kernel.md)

## Detector for

- [structural](https://banes-lab.com/records/reasoning/lens-structure.md)
- [frequency](https://banes-lab.com/records/reasoning/lens-frequency.md)

## Math type

- [Set Theory](https://banes-lab.com/records/reasoning/math-type-set-theory.md)

## Force

- [Semantic consistency](https://banes-lab.com/records/force/semantic-consistency.md)

## Linked from

- [Pattern distillation](https://banes-lab.com/ontology/algorithms/algorithms-domain-pattern-distillation.md)
- [The derivation loop](https://banes-lab.com/ontology/reasoning/reasoning-loop-derivation-loop.md)
- [The axes](https://banes-lab.com/ontology/reasoning/the-axes.md)
- [The mathematics](https://banes-lab.com/ontology/reasoning/the-mathematics.md)
- [The lenses](https://banes-lab.com/ontology/reasoning/the-lenses.md)
- [Domain tiers](https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
