<commit_before>#!/usr/bin/env python
import os
import sys; sys.path.append("..")
from fireplace import cards
from fireplace.cards import debug, game, classic, naxxramas, gvg, removed


GREEN = "\033[92m"
RED = "\033[91m"
ENDC = "\033[0m"


def main():
	for id in sorted(cards.db):
		card = cards.db[id]
		for set in (debug, game, classic, naxxramas, gvg, removed):
			if hasattr(set, id):
				color = GREEN
				break
			elif not card.description:
				# Minions without card text are implemented
				color = GREEN
				break
		else:
			color = RED
		print(color + card.name + ENDC + " (%s)" % (id))


if __name__ == "__main__":
	main()<commit_msg>Ignore buffs implemented in CardXML in the implementation checker<commit_after>#!/usr/bin/env python
import os
import sys; sys.path.append(".."); sys.path.append("../data/extras")
from fireplace import cards
from fireplace.cards import debug, game, classic, naxxramas, gvg, removed
from fireplace.enums import CardType

import buffs


GREEN = "\033[92m"
RED = "\033[91m"
ENDC = "\033[0m"


def main():
	for id in sorted(cards.db):
		card = cards.db[id]
		for set in (debug, game, classic, naxxramas, gvg, removed):
			if hasattr(set, id):
				color = GREEN
				break
			elif not card.description:
				# Minions without card text are implemented
				color = GREEN
				break
			elif card.type == CardType.ENCHANTMENT:
				if id in buffs.__dict__:
					color = GREEN
					break
		else:
			color = RED
		print(color + card.name + ENDC + " (%s)" % (id))


if __name__ == "__main__":
	main()
{'fraction_non_alphanumeric': 0.12941176470588237, 'fraction_numerical': 0.018300653594771243, 'mean_word_length': 3.3994252873563218, 'pattern_counts': {'":': 2, '<': 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': '6018746', 'n_tokens_mistral': 626, 'n_tokens_neox': 527, 'n_words': 170}