← Back to Documentation

Verification Suite

The verification suite is used to allow you to test cases and ensure our engine is producing expected results.

62 scenarios

Optimized sells LT gains before ST gains

When you're in the "gains zone" (all lots are profitable), optimized lot selection sells long-term gains first because LT rates (0-20%) beat ST rates (10-37%).

First lot sold is long-term
First lot gain = $550

All four buckets in correct order

The optimized method sells lots in strict priority: ST losses → LT losses → LT gains → ST gains. This maximizes tax efficiency.

First: ST loss
Last: ST gain

Biggest loss first within a bucket

Within the same bucket (e.g., ST losses), the optimized method sells the lot with the biggest loss first to maximize tax benefit.

Biggest loss sold first

HIFO is blind to tax character

HIFO picks the highest cost basis lot regardless of whether it's LT or ST. This can be suboptimal compared to the optimized method.

Picks highest cost basis ($99.95)

FIFO and LIFO produce different gains

FIFO sells the oldest lot first (LT gain), LIFO sells the newest first (ST gain). Same lots, different tax outcomes.

FIFO: first lot is long-term

Feb 29 → Mar 1 anniversary

A lot acquired Feb 29, 2024 is short-term if sold Feb 28, 2025 but long-term if sold Mar 1, 2025. The calendar anniversary rule.

Long-term on Mar 1, 2025