# `Insider.Fixtures.SemanticContract`
[🔗](https://github.com/hiivemarkets/insider/blob/v0.1.0/tools/insider_lab/lib/insider/fixtures/semantic_contract.ex#L1)

A deliberately simple semantic fixture used to prove invariant incidents.

A sample violates the contract when its declared total differs from the sum
of its item values. The fixture retains the supplied values so test and demo
evidence reflects a real application-level logic error.

# `sample`

```elixir
@spec sample(integer(), [integer()]) :: map()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
