Here is the thing I want. I paste in a card:

Shivan Dragon {4}{R}{R}
Creature - Dragon
Flying
{R}: This creature gets +1/+0 until end of turn.
5/5

and something tells me how good it is. Not what it sells for, or how many people own it. How useful is this card likely to be in a draft?

My cube recommender already ranks cards using popularity, price, and my preferences. This is a different project: learn from played games, then evaluate cards before those games exist. The research has not replaced the live cube tool.

If the block above means nothing to you: a card costs mana, has a type, may have a creature's power and toughness, and has rules saying what it does. Shivan Dragon costs six mana, including two red. Its 5/5 body can fight, and flying restricts what can block it. Those are useful ingredients for a model; turning them into a good evaluation is the hard part.

Shivan Dragon's input divided into mana cost, type and body, and rules text. Cost and body become numeric features; normalized type and rules text go through a text encoder. The card's name is removed.
The evaluator combines numbers with a representation of the rules text. Removing the name does not make the remaining text anonymous: a distinctive ability can still identify a card.

In a draft, players choose cards from passing packs, then build decks from what they picked. When a set is new, people publish evaluations before there is much play data. I would like a model that can contribute something useful in that window, rather than explain why a card was good after everyone else has learned it.

I set two engineering budgets: at most ten gigabytes of model files, and under half a second to score a new card. The model would share a machine with other applications, and the custom-card path could not rely entirely on precomputed scores. These were self-imposed deployment limits, not the size of the training data or a claim that a ten-gigabyte model was necessary.

A Dashboard Is Not a Dataset

17Lands collects games from Arena players who install its tracker. One useful statistic is games-in-hand win rate, or GIH WR: among recorded games where a card appeared in the opening hand or was drawn, what fraction were wins?

That is an observational label, not an intrinsic power rating. The player chose a deck, chose to include the card, and played against particular opponents. A long game also gives more opportunities to draw it. Strong cards can have awkward labels, and well-measured labels can still reflect those selection effects.

It is nevertheless a concrete target. I can ask a model to predict the ordering of those rates, then check whether that ordering transfers to another set. The population is tracked Arena Premier Draft, a best-of-one format, not every player or every way to play Magic.

The website's card-ratings endpoint looked like a convenient way to collect that target. My requests returned useful numbers for the currently drafted set, but mostly empty historical results. Changing date parameters and making the request from the page's own origin did not resolve it. After roughly thirty requests I also encountered an HTTP 403.

That established a problem with this collection route, not a universal statement about what the website offers to every user. I had not tested a logged-in session or established why those fields were empty.

The better route was already documented: 17Lands' public datasets. Compressed CSV files, one row per game, with columns for the deck, opening hand, cards drawn, and outcome. I could compute the aggregates myself.

Twenty Million Games Become Seven Thousand Examples

The first snapshot, dated 2026-08-19, covered 29 sets and 19,886,610 recorded games. The compressed game files occupied about 1.5 GB. This was the collection I assembled, not an exhaustive census of every available labelled Magic card. Later work expanded the set list.

For this model, a game is not a separate labelled card example. I aggregate many games into one observation for a particular card in a particular set. A reprint in another set supplies another observation of the same card.

A filtering chart starts at 8,806 card-set entries, removes 22 unresolved names to reach 8,784 matched entries, then excludes 481 multi-faced entries, 635 lands, one other costless entry, and 219 low-sample entries. It ends at 7,448 eligible observations, representing 7,176 distinct card names.
The denominator is card-set observations, not unique cards or games. The exclusions define this experiment's scope; they do not define all the training data that could exist for card evaluation.

The surviving 7,448 observations represent 7,176 distinct card names. Only 246 names occur in more than one eligible set. That leaves relatively few opportunities to watch the same card move between environments.

Millions of games can make each aggregate more precise without creating millions of different examples of card design. That distinction matters more here than the size of the CSV download.

A pretrained text encoder turns rules into a list of numeric features using language patterns learned elsewhere. Keeping that encoder fixed lets me train a much smaller scoring model on the card labels. The scarce examples still make evaluation important, but they are not the only information the system can use.

I excluded multi-faced cards to keep the first input format manageable, lands because they need a different cost/value treatment, and rows with fewer than 200 games in hand. That threshold is a practical filter, not the point at which a label becomes true. The surviving rows still have unequal sample sizes and share games with other cards.

The Join That Lost a Jitte

Attaching rules text meant joining 17Lands names to Scryfall metadata. A lookup limited to each set left 1,178 entries unmatched.

Some failures were naming conventions. 17Lands may use a double-faced card's front-face name; Scryfall may store both faces together. Even when I intend to exclude those cards, identifying them is better than treating an unexplained join failure as an intentional filter.

The more interesting failures were bonus sheets. A draft pack can contain reprints that Scryfall files under a separate set code. They are in the draft pool, but not in a lookup restricted to the main set.

This dropped Umezawa's Jitte, the highest observed GIH-rate card among the 201 TMT cards clearing the sample threshold. A dataset meant to learn which cards are good had quietly misplaced the one at the top of its own list.

A global name-resolution fallback reduced the unmatched count to 22 card-set entries. Those remained excluded, including unresolved rebalanced Arena versions. Substituting the original printing's rules for an unresolved rebalanced card would create a label attached to the wrong card, which is worse than an explicit omission.

The fallback has another cost: a printing found globally may have a different rarity from the printing used in that draft. Among eligible rows, 548 carry that global rarity provenance. I retained the provenance field. Any later rarity baseline is a baseline on these recorded labels, with that caveat, not an infallible transcription of every pack's rarity symbol.

I now had a small, usable dataset with a defined population and visible exclusions. Before asking how well a model could rank it, I wanted to know how repeatable the labels were - and how much a card's observed position changed when it was printed somewhere else.