<commit_before>import random
import time
from calendar import timegm
from itertools import chain
from .actions import Attack, BeginTurn, Death, EndTurn, EventListener
from .card import THE_COIN
from .entity import Entity
from .enums import CardType, PlayState, State, Step, Zone
from .managers import GameManager
from .utils import CardList


class GameOver(Exception):
	pass


class BaseGame(Entity):
	type = CardType.GAME
	MAX_MINIONS_ON_FIELD = 7
	Manager = GameManager

	def __init__(self, players):
		self.data = None
		super().__init__()
		self.players = players
		for player in players:
			player.game = self
		self.state = State.INVALID
		self.step = None
		self.next_step = None
		self.turn = 0
		self.current_player = None
		self.auras = []
		self.minions_killed_this_turn = CardList()
		self.no_aura_refresh = False
		self.tick = 0
		self.active_aura_buffs = []

	def __repr__(self):
		return "%s(players=%r)" % (self.__class__.__name__, self.players)

	def __iter__(self):
		return self.all_entities.__iter__()

	@property
	def game(self):
		return self

	@property
	def board(self):
		return CardList(chain(self.players[0].field, self.players[1].field))

	@property
	def decks(self):<commit_msg>Make Game.active_aura_buffs a CardList<commit_after>import random
import time
from calendar import timegm
from itertools import chain
from .actions import Attack, BeginTurn, Death, EndTurn, EventListener
from .card import THE_COIN
from .entity import Entity
from .enums import CardType, PlayState, State, Step, Zone
from .managers import GameManager
from .utils import CardList


class GameOver(Exception):
	pass


class BaseGame(Entity):
	type = CardType.GAME
	MAX_MINIONS_ON_FIELD = 7
	Manager = GameManager

	def __init__(self, players):
		self.data = None
		super().__init__()
		self.players = players
		for player in players:
			player.game = self
		self.state = State.INVALID
		self.step = None
		self.next_step = None
		self.turn = 0
		self.current_player = None
		self.auras = []
		self.minions_killed_this_turn = CardList()
		self.no_aura_refresh = False
		self.tick = 0
		self.active_aura_buffs = CardList()

	def __repr__(self):
		return "%s(players=%r)" % (self.__class__.__name__, self.players)

	def __iter__(self):
		return self.all_entities.__iter__()

	@property
	def game(self):
		return self

	@property
	def board(self):
		return CardList(chain(self.players[0].field, self.players[1].field))

	@property
	def decks(self):
{'fraction_non_alphanumeric': 0.09759085340955492, 'fraction_numerical': 0.004083299305839118, 'mean_word_length': 4.456570155902004, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2833853', 'n_tokens_mistral': 879, 'n_tokens_neox': 807, 'n_words': 225}