---
title: "DriverModel"
description: "The inputs a forecast is built from, and what they produce."
canonical: "https://lopifi.com/components/driver-model"
---

# DriverModel

> The inputs a forecast is built from, and what they produce.

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

---

- **Family:** Metrics & analysis — 
- **Status:** Implemented
- **Spec:** https://lopifi.com/docs/catalog/metrics-and-analysis

## Install

```bash
npx shadcn@latest add @lopifi/theme
npx shadcn@latest add @lopifi/driver-model
```

## Specification

A forecast's inputs and the outputs they produce, in one grid with the boundary between them
visible. It keeps three things apart: actual from projection, input from output, and assumption
from arithmetic.

Inputs are typed; outputs carry the ƒ mark and their formula. If you can't tell which is which,
nobody can find the assumption that moved the answer.

Only **projected inputs** are editable. An actual is what the ledger posted, and a model that lets
you type over it will eventually explain a month that never happened.

Named assumptions sit under the grid in words ("new logos hold at 14 a month"), because that's the
sentence someone can disagree with, and disagreement is the point of a forecast review. A growth
rate buried three rows into a projected column isn't.

**API change:** `ModelDriver.polarity` is now required, no default — computed outputs included (it previously fell back to `standard`).

## 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.
