How Manayard creates a "fit" score

Manayard has a few different scores on cards. In the deck editor, each card suggested for your deck gets Fit score, like Fit 6.79. One of the components of the fit score is the execution score as part of a given theme page. Cards like Blood Artist are listed as 100% / 90% on the Aristocrats page, which are the theme fit and execution scores.
One label isn't enough
Manayard's parser can tell what a card does, but that's not enough. For example there are almost 2,000 cards that fit into my "Aristocrats" theme because it includes anything that sacrifices creatures, makes tokens to sacrifice, or rewards creatures dying. For example Blood Artist and Goldspan Dragon are both on the list because treasure tokens can be sacrificed, but Blood Artist cares directly about creatures, while Goldspan cares about treasure tokens. But even though they're both strong, the dragon is not as central to the theme of Aristocrats because it doesn't help with creatures.
Theme fit and execution
Each card in a theme gets two scores from 0 to 1, shown as percentages.
- Theme fit is how directly the card pushes the theme forward. 100% is a piece the theme is built around, 50% is useful but replaceable, and 10% touches the theme in passing or works against it.
- Execution is how well the card does that job in a Commander game, counting mana cost, whether it repeats, how reliable it is and what conditions it needs. 100% is excellent and repeatable, 50% is playable, and 10% is clunky, one-shot and expensive, or heavily conditional.
Theme pages sort by fit, then execution. These are not percentiles: only 54 of the 1,951 Aristocrats cards reach 90% theme fit. And each score belongs to one card in one theme. Blood Artist is 100% / 90% in Aristocrats but 35% / 60% in Lifegain, where the life it gains is a side effect.
Most of the time the two scores agree: 1,747 of the 1,951 Aristocrats cards have them within 10 points of each other. The cards where they split are the interesting ones. Goldspan Dragon is 20% / 80%, a very good card that's barely an aristocrats card.
Letting a language model read the cards
Deciding how central a card is to a strategy means reading it the way a player would, and I didn't want to write a rule for every card. So this is the one part of Manayard's card scoring I handed to a language model.
It only has to happen once per card per theme, so it runs offline. Claude Haiku 5.5 read every card with a theme label (more on labels below), and the scores went into a file the site reads, so no page or suggestion ever waits on a model. All 30 themes, 13,030 card-and-theme pairs, cost $0.63.
For each card the model saw its name, type, mana cost and rules text, whether it supplies the theme or rewards it, and the theme's definition. The instructions were the two scales above plus one more line: judge each card on its own, not against the others in the list, and use the whole range. Tokens, Lifegain and +1/+1 counters were scored earlier in a pilot that also wrote a one-sentence reason for each card, and the site marks those as hand-scored.
Ranking cards against each other didn't work
My first attempt asked the model to put cards in order. It got batches of 200 cards, and I turned each card's position into a percentile. The trouble was that a card's position depended on which other cards landed in its batch. I added a second pass that re-ranked the best cards from every batch together, and the top 10 Artifacts cards still came from five different batches.
So I switched to an absolute score on each of the two scales, anchored at 100%, 50% and 10%. To make a rerun send the model exactly the same thing, I set the temperature to 0 (the least random setting) and sent cards in fixed batches of 40 in alphabetical order. I also asked for just the two numbers with no written reason, which kept the whole run cheap.
Small wording choices still moved the scores. In a narrower grouping about spending charge counters (a resource some cards store up), the first scores punished cards for needing another card to make the counters. I rewrote the instruction to assume the counters exist and rate only what the card does with them, then rescored.
The Fit score
The Fit score is calculated fresh for each suggestion. It's a sum of a few terms, and the card's details list every term with its source.
The largest term is usually predicted deck fit. I trained a model on tournament decks to learn which card features tend to show up in the same deck, things like parsed mechanics, Scryfall tags and rules-text phrases. Given your list, it predicts how likely a card is to belong with the cards already there. Because it learns features rather than card names, it can score a card nobody has played yet. For cards with a history, it also blends in how often they appear together in recorded decks.
Deck support gives credit to a card that fills your deck's theme or plan, and this is where the theme scores come in. A payoff scored 100% / 100% earns 1.5 times the base credit; a card with no theme score earns 0.6 times. The credit grows when the deck is short on that role, which is why Blood Artist gets it in the Teysa Karlov example above. If a card qualifies for several kinds of support, only the biggest counts.
General strength is a small nudge, at most half a point either way, from Scryfall's popularity rank. That's the only place Scryfall's overall rank gets in. Finally, better alternatives subtracts 2 when the deck could play a strictly better card instead.
The numbers only compare cards suggested for the same deck. A 6.79 isn't a probability or a grade, and next to a Fit score from a different deck it means nothing.
Everything else is plain code
Apart from that one offline scoring run, Manayard's card logic is ordinary code that gives the same answer every time. The parser turns rules text into facts about triggers, effects, costs and conditions. Theme labels decide which cards get scored at all. For 16 themes, including Tokens and Aristocrats, the labels come straight from parsed facts; the rest need two of three signals to agree (parsed effects, text phrases and Scryfall's tags), and some were later corrected by a model review or by hand.
Every suggestion, cut and swap in the workbench is computed this way, Fit score included. The two exceptions are the idea box, which uses a small model to read what you type, and the optional deck plan, which proposes a strategy for your commander. Both fall back to something free if the model isn't available.
Checking it
Claude built most of the checks, so I'll keep this short. The main one, recovery, hides ten cards from each of 120 MTGO Duel Commander decks (a one-on-one format) that the models never trained on, and counts how many come back in the top 50 suggestions. When theme scores started driving suggestions, that went from 18.4% to 18.2%, which is no real change. The test only measures whether Manayard agrees with the person who built the deck, so it can't tell me whether theme scores push the right cards up. There's also a replay of recorded tool requests that catches new errors, and I don't tune anything against the held-out decks or count a model grading its own output as evidence.
Where fit goes from here
What worked was the switch from asking the model for a ranking to asking for a score on a fixed scale. That's what made the theme pages usable, and running it once offline means it costs almost nothing and never slows the site down.
What I don't know yet is whether any of this makes the suggestions better. Recovery didn't move, and that test couldn't have shown it either way. None of the scores has been checked against real games or real players. The scores also come in coarse steps, so lots of cards tie, and 70% in Burn won't necessarily mean the same as 70% in Tokens. The model also saw each card's name, so it may have leaned on what it already knew about famous cards instead of reading the text. And a card that fits a theme but isn't labeled for it never shows up on that theme's page.
Next I'm going to rerun the scoring to see how often the model gives the same score twice, and compare its scores with how players rate the same cards. Until then, every number in a card's details names where it came from.