mwisnowski
6de2239a47
All themes refactored to use vector masks instead of iterrows
2025-01-08 16:16:41 -08:00
mwisnowski
17379340a8
Refined tagging up through topdeck theme
2025-01-08 16:04:42 -08:00
mwisnowski
d306e69b3a
Adjusted more tagging functions misc themes up through big mana have been tagged
2025-01-08 12:06:33 -08:00
mwisnowski
aac2b26be8
Refactored multiple tagger functions, through to lifegain related functions so that they use vector masks in place of iterrows
2025-01-08 08:29:00 -08:00
mwisnowski
083ef937af
Made numerous changes to the card draw functions, as well as other tagging functions up through to artifact tagging
...
These changes were done with teh assistance of traycer
2025-01-02 13:00:52 -08:00
mwisnowski
a4abea2c3c
Started work refactoring the tagging functions by using Traycer
2024-12-31 12:04:10 -08:00
mwisnowski
e404515d91
Started changing print statements to logging statements in tagger.py
...
Refined the load dataframe section in tagger.py
Beginning work on changing the tagging functions to use vectorized inputs instead of iterrows
2024-12-31 10:48:11 -08:00
mwisnowski
5a92c04810
Refined chunks of logic using Traycer for analysis
2024-12-31 10:16:47 -08:00
mwisnowski
a5f6e4f09e
Adjusted a number of print statements to be logging statements
2024-12-31 09:25:21 -08:00
mwisnowski
6c0aaf26a0
Refined weight logic, fixed error where weights with additional themes weren't a copy of the default weight and overwriting it instead
2024-12-31 09:18:02 -08:00
mwisnowski
c4a56b2197
Implemented logic for multiple-copy cards and counting pips
2024-12-30 12:06:46 -08:00
mwisnowski
0dfe53bb32
Added logic to tagger and deck_builder for "hidden themes" related to multiple-copy cards, such as Hare Apparent or Dragon's Approach
2024-12-30 11:43:36 -08:00
mwisnowski
c74d1ff03a
test commit
2024-12-30 08:42:26 -08:00
mwisnowski
a251667fdb
Added logic for CMC of deck,
...
REstructured logic of adding land cards to better match the adding by tag logic
Readjusted weight logic and adding cards by weight logic
Added logic so that if the deck isn't full, cards will be added in reverse tag order.
2024-12-29 20:16:57 -08:00
mwisnowski
d285703518
Adjusted logic with adding lands
...
Streamlined a number of processes, mostly related to adding fetches, duals, triomes, and working on the misc lands
2024-12-27 12:02:50 -08:00
mwisnowski
239d930fb7
Refinedl ogic for counting cards in library and what type
2024-12-26 17:20:58 -08:00
mwisnowski
77fe7fdf4b
Adjusted logic for add_by_tags function
2024-12-26 11:59:30 -08:00
mwisnowski
1f8beeadef
Removed need to create seperate land_cards file in setup
...
Adjusted tagger to keep the 'layout' and 'side' columns
2024-12-26 11:12:56 -08:00
mwisnowski
ae83d0f66f
Adjusted logic in deck builder for making land_df
2024-12-26 10:52:09 -08:00
mwisnowski
b3de39bffb
Fixed logic in setup for determining the 'face' of double sided cards
2024-12-26 10:02:12 -08:00
mwisnowski
f9ae7fa41e
Adjusted some logic in setup to filter out any banned cards, as well as add the layout column to allow for easily seeing 'Normal', 'MDFC', or 'Transform cards.
...
Added logic for 'Kindred Support' tagging in tagger
2024-12-26 09:38:21 -08:00
mwisnowski
c81a5fb64e
Started logic for adding creatures, ramp, board wipes, interaction, and other cards based on the chosen themes
...
Fixed logical error in tagger causing it to look for 'Artifact' in a lowercase 'type' column
Need to refine logic for adding by tags and weighted theme values.
2024-12-25 19:56:35 -08:00
mwisnowski
279d81ed3c
Finished logic for adding lands
...
May refine later, will need to adjust for later MDFCs being added
2024-12-21 00:58:12 -08:00
mwisnowski
4d030d05e0
Merging to main
2024-12-20 22:03:39 -08:00
mwisnowski
3ff3e5f686
Removed the usage of inquirerpy for now.
...
It's asyncio routine seemed to interfere with scrython's
2024-12-20 22:02:35 -08:00
mwisnowski
8b5cfd97bc
Tried changing logic to inquirerpy but it seems to have somehow broken scrython? Need to troubleshoot
2024-12-20 15:01:09 -08:00
mwisnowski
af0ee0e0b6
Refined land add logic
2024-12-20 13:39:23 -08:00
mwisnowski
15ce426ad4
Adjusted logic to set lands to fill all empty cells in colorIdentity column to be 'colorless' like was done with other cards
2024-12-20 11:51:24 -08:00
mwisnowski
d44d014f22
Starting with logic for adding non-basic lands to deck builder
2024-12-20 07:10:53 -08:00
mwisnowski
c0227c2428
Small change to logic to concatenate basics
2024-12-19 12:05:55 -08:00
mwisnowski
856e1f5113
Started adding further logic for deck build
...
Starting with adding lands
2024-12-19 12:02:26 -08:00
mwisnowski
43bdf180d4
Tagger should be done.
...
Might have missed some lesser used stuff, and honestly might have overlooked some things, but it should be at a good point for testing deck building.
2024-12-18 20:21:45 -08:00
mwisnowski
8400613a15
Starting working on interaction, halfway through red on confirming board wipe conditions
2024-12-18 12:14:45 -08:00
mwisnowski
3344218410
Tagger is preliminarily done
...
May need further adjustments or testing, but seems to be working the way I want it to at this time.
Fixed a typo in the determine_commanders() function of setup that would drop elligible planeswalkers and artifacts instead of dropping inelligible ones
2024-12-17 15:10:52 -08:00
mwisnowski
4a3d9c423e
Added logic for more themes
...
Adjusted setup to exclude unsets and Heroes of the realm cards
2024-12-17 12:02:53 -08:00
mwisnowski
94d42d93cf
removed errant log file that ended up being unused
2024-12-17 07:34:03 -08:00
mwisnowski
f0c00c4b2c
Overhauled tagger.py
...
Added Ramp
Reorganized a number of functions
2024-12-16 22:58:02 -08:00
mwisnowski
a469d5be4a
Retouched some old logic
...
Added logic to add card types to tags
Finished cantrip logic
2024-12-12 16:01:23 -08:00
mwisnowski
1819104253
Started logic for spellslinger, including storm, magecraft, and started on cantrips
2024-12-12 12:27:29 -08:00
mwisnowski
856ba0f572
Add logic for Lands Matter (i.e. landfall, specific land types, landwalk, etc...)
2024-12-11 23:08:42 -08:00
mwisnowski
03e11fb3ea
Added log for wheels theme
2024-12-11 19:01:41 -08:00
mwisnowski
6c1554fe04
Added logic for counters, equipment, auras, and voltron.
...
Also added logic to append kindred types to theme tags and sort the tags
2024-12-11 18:29:38 -08:00
mwisnowski
f8be47c5c5
Adjusted logic for artifact matters. Added enchantment matters logic.
2024-12-11 16:56:31 -08:00
mwisnowski
1751b1c84d
Added addtiional logic for artifacts matter cards
2024-12-11 12:03:39 -08:00
mwisnowski
6c88c7cf38
Revised logic of checking for creature types
2024-12-11 11:36:29 -08:00
mwisnowski
6596a59c9e
Added life matters tags
2024-12-10 16:43:03 -08:00
mwisnowski
2c5020799e
Aded logic for enchantments, enchantment tokens, creature tokens, and token modifications
2024-12-10 15:32:25 -08:00
mwisnowski
5fb2eb5b68
added logic to check for artifact types and artifact token creation
2024-12-10 12:13:44 -08:00
mwisnowski
2922414aec
Added logic for tagging cards for themes (so far only the card draw types) and kindred types
2024-12-09 12:56:01 -08:00
mwisnowski
d19c3c6db6
Redid setup logic, started adding more logic to deckbuilding
2024-12-07 23:34:14 -08:00