Meta-list: AI mana payment / auto-pass gaps
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
This meta-list collects AI mana payment and auto-pass gaps and links related issues and pull requests, including #1024, #9015, #308, and #12364. Start by reading the linked PR #12828 and the individual issue or PR for the gap you want to investigate. The list is complete when the selected behavior is fixed and covered by relevant payment or auto-pass checks; the payload does not name test files.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Meta-list of unresolved gaps in AI mana payment / auto-pass logic.
Sources whose output depends on a choice
- Mana abilities that reveal or add a counter first (Metalworker, Sacellum Godspeaker, Rosheen, Roaring Prophet, Empowered Autogenerator):
getAIPlayableManastill skips these roots, because the solver would need to predict the cards revealed or the counter added. - Crucible of the Spirit Dragon: its combination mana is split before X is chosen for the counters removed.
Filters (mana abilities that cost mana)
- Chained filters: a test payment never combines two filters, so two Chromatic Stars cannot pay Counterspell, and Farrelite Priest pays only one mana per payment.
- Counter sources that cost mana: Petalmane Baku and the Time Spiral storage lands (Calciform Pools and others) cost {1} to activate, so the solver rejects them.
Mana estimates that disagree with payment
AI works out its mana in two separate ways. The payment solver (
payManaCost,canPayManaCost) pays a specific cost: it picks the sources and chooses X, colors and filters, in a test payment or for real. Estimates (getAvailableManaEstimate, source counts and source rankings) instead add up what each source can make, without making those choices. Many AI decisions use the estimates, such as attack and block planning and the counterspell logic. When a source's mana depends on a choice made during payment, the estimate can count more or less mana than the payment would actually get.
- Source counts: ExploreAi, ManaAi and the Black Lotus logic treat the number of mana sources as the mana available, so a break-even filter such as Prismatic Lens counts as one mana.
- Mage-Ring Network: payment always tries its plain {T}: Add {C} first, which taps it, so it can never pay more than {1}.
getAvailableManaEstimatecounts its counters. - Source ordering:
sortManaAbilitiesandrequiredSourcesFirstread X as unset, so a storage land with counters ranks as making no mana, andscoreManaProducingCardscores it as one {C}. - Devotion mana in estimates:
getAvailableManaEstimateandrequiredSourcesFirstcount Nyx Lotus and Nykthos's devotion ability as no mana, because no color is chosen when they run. - DeckManaBase: a one-shot fixer such as Chromatic Star counts as a source of every color when a generated deck is repaired.
Minor edge cases
- Converge:
getConvergeCountcan count the color spent on a filter's own cost, as with Signets. - Snow storage lands: a storage land made snow can pay {S} only on its own, because
predictManapredicts one {S} whatever X is. - Replacement order in predictions:
predictManaReplacementapplies replacement effects in a fixed order, so chained replacements can be predicted wrongly. - Two mana from one aura: Dawn's Reflection and Market Festival add two mana of one color, so the AI can't pay a two-color cost such as {W}{U} from one of them.
Resolved
- https://github.com/Card-Forge/forge/issues/12953 Auras that add mana to a land: https://github.com/Card-Forge/forge/pull/12985 lets the solver pay with the extra mana of Utopia Sprawl, Fertile Ground and seven similar auras, and the AI now casts them.
- Mana abilities that choose a color or player first: https://github.com/Card-Forge/forge/pull/12933 lets the solver pick the color for Nykthos, Nyx Lotus and Foraging Wickermaw and follow it on resolution, and use Victory Chimes, Valleymaker and Spectral Searchlight.
- Mana Batteries and storage lands: https://github.com/Card-Forge/forge/pull/12910 chooses X for "remove X counters" mana abilities while paying, for the Batteries, ten storage lands, Mage-Ring Network, Kyren Toy and Haruspex.
- https://github.com/Card-Forge/forge/issues/308 Reflected mana and "could produce": https://github.com/Card-Forge/forge/pull/12863 applies replacement effects to "could produce" checks, and Nykthos counts the colors it has devotion to.
- Chromatic Sphere and similar fixers: https://github.com/Card-Forge/forge/pull/12894 fixed Chromatic Star, Prismatic Lens and similar. Chromatic Sphere and the Odyssey eggs draw a card, so under CR 605.1a they are no longer mana abilities.
- https://github.com/Card-Forge/forge/issues/1024 Goldspan Dragon: a Treasure's granted "two mana of any one color" ability was not used.
- https://github.com/Card-Forge/forge/issues/9015 Gift of Paradise: the enchanted land's granted "two mana of any one color" ability was not used.
- Lingua principale
- Java
- Stelle
- 2.7k
- Fork
- 1.1k
- Merge medio
- 20h 38m
- PR unite (30g)
- 323
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Card-Forge/forge
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Card-Forge/forge#13128 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Card-Forge/forge#13092 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
Card-Forge/forge#12877 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Card-Forge/forge#12710 ·
I maintainer di solito rispondono entro 1 giorno
-
Shandalar "The Drunken Plea" quest completes prematurelyForse di nuovo libera @Simisays l’ha presa 35 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Card-Forge/forge#12306 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Card-Forge/forge
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
CI: LFC/ANTLR caches still use the old lfc/ paths, so the ANTLR jar is downloaded on every runForse già presa @NicoBiernat l’ha presa oggi. Apertabug CI
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
lf-lang/reactor-uc#443 ·
I maintainer di solito rispondono entro 4 giorni
-
client documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
ClickHouse/clickhouse-java#3469 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/flink-agents#1480 ·
I maintainer di solito rispondono entro 2 giorni