component
Grade badge
A decision grade pill (Perfect to Blunder) with the EV given up in big blinds.
The five grades Poker Study AI uses for every decision, with the EV given up in big blinds.
PerfectCorrect−0.03bbInaccuracy−0.18bbMistake−0.62bbBlunder−13.8bb
Installation
$ npx shadcn@latest add https://www.pokerstudy.ai/r/grade-badge.jsonGenerative UI
A model can draw this with json-render. Install generative UI and spread its definitions into your catalog. The model reads the description and the schema below, and answers with a spec like the example.
GradeBadge
How good a decision was: perfect, correct, inaccuracy, mistake or blunder, with the bb lost.
Mistake−0.62bb
Props
Generated from the component source with react-docgen-typescript.
GradeBadge
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | "" | – |
| evLossBb | number | null | – | – |
| grade * | "perfect" | "correct" | "inaccuracy" | "mistake" | "blunder" | – | – |