---
title: "SamplingTool"
description: "Method and seed recorded, so the selection is reproducible."
canonical: "https://lopifi.com/components/sampling-tool"
---

# SamplingTool

> Method and seed recorded, so the selection is reproducible.

Source: https://lopifi.com/components/sampling-tool
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Family:** Close, controls & consolidation — **See also:** `#69 TrialBalance` and `#70 CloseChecklist` in [statements](statements.md). Conceptually they're the same family.
- **Status:** Implemented
- **Spec:** https://lopifi.com/docs/catalog/close-controls-consolidation

## Install

```bash
npx shadcn@latest add @lopifi/theme
npx shadcn@latest add @lopifi/sampling-tool
```

## Specification

Select N transactions by a stated method (random, monetary-unit, judgmental) **with the seed recorded** so the selection is reproducible.

## Rules this component obeys

Money is minor units, never floats. `null` is not `0` and neither is redacted. Negatives render in accounting parentheses with the parenthesis column reserved on both sides. Debit and credit are two columns. Per-currency decimal places. Polarity is explicit — up is not always good. Every figure states its period, entity, currency, basis and as-of.
