mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Script updated to trace modern and extended
This commit is contained in:
@@ -149,17 +149,26 @@ if __name__ == '__main__':
|
|||||||
currentImplemented = []
|
currentImplemented = []
|
||||||
allMissing = set()
|
allMissing = set()
|
||||||
allImplemented = set()
|
allImplemented = set()
|
||||||
|
|
||||||
|
standardSets = getSetByFormat('Standard')
|
||||||
standardMissing = set()
|
standardMissing = set()
|
||||||
standardImplemented = set()
|
standardImplemented = set()
|
||||||
|
|
||||||
|
modernSets = getSetByFormat('Modern')
|
||||||
|
modernMissing = set()
|
||||||
|
modernImplemented = set()
|
||||||
|
|
||||||
|
extendedSets = getSetByFormat('Extended')
|
||||||
|
extendedMissing = set()
|
||||||
|
extendedImplemented = set()
|
||||||
|
|
||||||
total = 0
|
total = 0
|
||||||
percentage = 0
|
percentage = 0
|
||||||
|
|
||||||
standardSets = getSetByFormat('Standard')
|
|
||||||
|
|
||||||
ignoredSet = [ 'ASTRAL', 'ATH', 'BD', 'BR', 'CM1', 'DD2', 'DDC', 'DDD', 'DDE', 'DDF',
|
ignoredSet = [ 'ASTRAL', 'ATH', 'BD', 'BR', 'CM1', 'DD2', 'DDC', 'DDD', 'DDE', 'DDF',
|
||||||
'DDG', 'DDH', 'DDI', 'DDJ', 'DKM', 'DRB', 'DREAM', 'EVG', 'H09', 'ME2',
|
'DDG', 'DDH', 'DDI', 'DDJ', 'DKM', 'DRB', 'DREAM', 'EVG', 'H09', 'ME2',
|
||||||
'ME3', 'ME4', 'MED', 'PD2', 'PD3', 'SDC', 'UG', 'UGL', 'UNH',
|
'ME3', 'ME4', 'MED', 'PD2', 'PD3', 'SDC', 'UG', 'UGL', 'UNH', 'V09', 'V10', 'V11', 'V12', '']
|
||||||
'V09', 'V10', 'V11', 'V12', '']
|
|
||||||
|
|
||||||
for currentSet in setCodes :
|
for currentSet in setCodes :
|
||||||
# Ignore any sets that we don't tabulate
|
# Ignore any sets that we don't tabulate
|
||||||
@@ -196,6 +205,13 @@ if __name__ == '__main__':
|
|||||||
if currentSet in standardSets:
|
if currentSet in standardSets:
|
||||||
standardMissing |= set(currentMissing)
|
standardMissing |= set(currentMissing)
|
||||||
standardImplemented |= set(currentImplemented)
|
standardImplemented |= set(currentImplemented)
|
||||||
|
if currentSet in modernSets:
|
||||||
|
modernMissing |= set(currentMissing)
|
||||||
|
modernImplemented |= set(currentImplemented)
|
||||||
|
if currentSet in extendedSets:
|
||||||
|
extendedMissing |= set(currentMissing)
|
||||||
|
extendedImplemented |= set(currentImplemented)
|
||||||
|
|
||||||
|
|
||||||
del currentMissing[:]
|
del currentMissing[:]
|
||||||
del currentImplemented[:]
|
del currentImplemented[:]
|
||||||
@@ -222,6 +238,8 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
printCardSet(allImplemented, allMissing, "DistinctStats.txt")
|
printCardSet(allImplemented, allMissing, "DistinctStats.txt")
|
||||||
printCardSet(standardImplemented, standardMissing, "FormatStandard.txt", setCoverage=standardSets)
|
printCardSet(standardImplemented, standardMissing, "FormatStandard.txt", setCoverage=standardSets)
|
||||||
|
printCardSet(extendedImplemented, extendedMissing, "FormatExtended.txt", setCoverage=extendedSets)
|
||||||
|
printCardSet(modernImplemented, modernMissing, "FormatModern.txt", setCoverage=modernSets)
|
||||||
printDistinctOracle(allMissing, "DistinctOracle.txt")
|
printDistinctOracle(allMissing, "DistinctOracle.txt")
|
||||||
|
|
||||||
print ("Done!")
|
print ("Done!")
|
||||||
|
|||||||
Reference in New Issue
Block a user