rule_id
stringlengths
36
70
label
stringlengths
17
136
family
stringclasses
8 values
code
stringlengths
25
256
cal_global_history_first_last_anchor_gate_252297a36f
candidate is odd when last and first rank parities match is False, and even otherwise
global_history
if not mainline: return True gate = mainline[-1].rank % 2 == mainline[0].rank % 2 return (card.rank % 2 == 1) == (gate == False)
cal_global_history_first_last_anchor_gate_8dbf7d83b8
candidate is red when last and first rank parities match is True, and black otherwise
global_history
if not mainline: return True gate = mainline[-1].rank % 2 == mainline[0].rank % 2 return (card.color == "red") == (gate == True)
cal_global_history_first_last_anchor_gate_8e46794758
candidate is odd when last and first face statuses match is True, and even otherwise
global_history
if not mainline: return True gate = mainline[-1].is_face == mainline[0].is_face return (card.rank % 2 == 1) == (gate == True)
cal_global_history_first_last_anchor_gate_bbe193ad2f
candidate is red when last and first face statuses match is True, and black otherwise
global_history
if not mainline: return True gate = mainline[-1].is_face == mainline[0].is_face return (card.color == "red") == (gate == True)
cal_global_history_first_last_anchor_gate_f35db2fc4e
candidate is red when last and first colors match is True, and black otherwise
global_history
if not mainline: return True gate = mainline[-1].color == mainline[0].color return (card.color == "red") == (gate == True)
cal_global_history_first_last_anchor_gate_f55080e0d1
candidate is odd when last and first colors match is False, and even otherwise
global_history
if not mainline: return True gate = mainline[-1].color == mainline[0].color return (card.rank % 2 == 1) == (gate == False)
cal_global_history_first_last_rank_interval_58c7c84632
candidate rank is between the first and latest accepted ranks
global_history
if not mainline: return True low = min(mainline[0].rank, mainline[-1].rank) high = max(mainline[0].rank, mainline[-1].rank) return (low <= card.rank <= high) == True
cal_chunk_run_fixed_chunk_1643a2a8d0
face status is different within chunks of 4 and matches at boundaries
chunk_run
if not mainline: return True if len(mainline) % 4 == 0: return card.is_face == mainline[-1].is_face return card.is_face != mainline[-1].is_face
cal_chunk_run_fixed_chunk_181554e1d4
rank is different within chunks of 4 and matches at boundaries
chunk_run
if not mainline: return True if len(mainline) % 4 == 0: return card.rank == mainline[-1].rank return card.rank != mainline[-1].rank
cal_chunk_run_fixed_chunk_20c383527d
rank parity is different within chunks of 3 and matches at boundaries
chunk_run
if not mainline: return True if len(mainline) % 3 == 0: return card.rank % 2 == mainline[-1].rank % 2 return card.rank % 2 != mainline[-1].rank % 2
cal_chunk_run_fixed_chunk_3039e3713b
color is same within chunks of 5 and changes at boundaries
chunk_run
if not mainline: return True if len(mainline) % 5 == 0: return card.color != mainline[-1].color return card.color == mainline[-1].color
cal_chunk_run_fixed_chunk_30a38dbd9d
face status is different within chunks of 5 and matches at boundaries
chunk_run
if not mainline: return True if len(mainline) % 5 == 0: return card.is_face == mainline[-1].is_face return card.is_face != mainline[-1].is_face
cal_chunk_run_fixed_chunk_8105fa0a1f
rank parity is same within chunks of 4 and changes at boundaries
chunk_run
if not mainline: return True if len(mainline) % 4 == 0: return card.rank % 2 != mainline[-1].rank % 2 return card.rank % 2 == mainline[-1].rank % 2
cal_chunk_run_fixed_chunk_8ed9b9284e
rank is same within chunks of 3 and changes at boundaries
chunk_run
if not mainline: return True if len(mainline) % 3 == 0: return card.rank != mainline[-1].rank return card.rank == mainline[-1].rank
cal_chunk_run_fixed_chunk_983dae5881
color is same within chunks of 3 and changes at boundaries
chunk_run
if not mainline: return True if len(mainline) % 3 == 0: return card.color != mainline[-1].color return card.color == mainline[-1].color
cal_chunk_run_fixed_chunk_9cdf0ed47c
suit is different within chunks of 5 and matches at boundaries
chunk_run
if not mainline: return True if len(mainline) % 5 == 0: return card.suit == mainline[-1].suit return card.suit != mainline[-1].suit
cal_chunk_run_fixed_chunk_a018d56ee8
suit is same within chunks of 5 and changes at boundaries
chunk_run
if not mainline: return True if len(mainline) % 5 == 0: return card.suit != mainline[-1].suit return card.suit == mainline[-1].suit
cal_chunk_run_fixed_chunk_a14e7538c2
rank parity is different within chunks of 4 and matches at boundaries
chunk_run
if not mainline: return True if len(mainline) % 4 == 0: return card.rank % 2 == mainline[-1].rank % 2 return card.rank % 2 != mainline[-1].rank % 2
cal_chunk_run_fixed_chunk_ab1123848b
face status is same within chunks of 4 and changes at boundaries
chunk_run
if not mainline: return True if len(mainline) % 4 == 0: return card.is_face != mainline[-1].is_face return card.is_face == mainline[-1].is_face
cal_chunk_run_fixed_chunk_c249de72fa
rank parity is same within chunks of 3 and changes at boundaries
chunk_run
if not mainline: return True if len(mainline) % 3 == 0: return card.rank % 2 != mainline[-1].rank % 2 return card.rank % 2 == mainline[-1].rank % 2
cal_chunk_run_fixed_chunk_e01e11ce2d
rank is different within chunks of 5 and matches at boundaries
chunk_run
if not mainline: return True if len(mainline) % 5 == 0: return card.rank == mainline[-1].rank return card.rank != mainline[-1].rank
cal_chunk_run_fixed_chunk_e8a3db861e
color is different within chunks of 4 and matches at boundaries
chunk_run
if not mainline: return True if len(mainline) % 4 == 0: return card.color == mainline[-1].color return card.color != mainline[-1].color
cal_chunk_run_fixed_chunk_eb85b5a80a
face status is same within chunks of 3 and changes at boundaries
chunk_run
if not mainline: return True if len(mainline) % 3 == 0: return card.is_face != mainline[-1].is_face return card.is_face == mainline[-1].is_face
cal_chunk_run_fixed_chunk_f39c7b72b6
suit is different within chunks of 3 and matches at boundaries
chunk_run
if not mainline: return True if len(mainline) % 3 == 0: return card.suit == mainline[-1].suit return card.suit != mainline[-1].suit
cal_global_history_global_rank_extreme_d4cd31755c
at most the lowest rank seen
global_history
if not mainline: return True return card.rank <= min(item.rank for item in mainline)
cal_global_history_global_rank_mean_band_59c1369c2d
rank is within 5 of the mean of all accepted ranks
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return abs(card.rank * len(mainline) - total) <= 5 * len(mainline)
cal_global_history_global_rank_mean_band_ce89f0b44d
rank is within 1 of the mean of all accepted ranks
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return abs(card.rank * len(mainline) - total) <= 1 * len(mainline)
cal_global_history_global_rank_mean_offset_03e385f594
rank is at least the accepted-rank mean -2
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return card.rank * len(mainline) >= total + (-2) * len(mainline)
cal_global_history_global_rank_mean_offset_2e4d4a81cb
rank is at most the accepted-rank mean +3
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return card.rank * len(mainline) <= total + (3) * len(mainline)
cal_global_history_global_rank_mean_offset_499e77f940
rank is at most the accepted-rank mean +2
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return card.rank * len(mainline) <= total + (2) * len(mainline)
cal_global_history_global_rank_mean_offset_56e7302911
rank is at least the accepted-rank mean -3
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return card.rank * len(mainline) >= total + (-3) * len(mainline)
cal_global_history_global_rank_mean_offset_865ff4be29
rank is at most the accepted-rank mean +1
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return card.rank * len(mainline) <= total + (1) * len(mainline)
cal_global_history_global_rank_mean_offset_e2fbbec70c
rank is at most the accepted-rank mean -1
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return card.rank * len(mainline) <= total + (-1) * len(mainline)
cal_global_history_global_rank_mean_offset_f9277faeae
rank is at least the accepted-rank mean +3
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return card.rank * len(mainline) >= total + (3) * len(mainline)
cal_global_history_global_rank_mean_offset_fa2cbb5551
rank is at most the accepted-rank mean +0
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return card.rank * len(mainline) <= total + (0) * len(mainline)
cal_global_history_global_rank_mean_offset_fbaee109e8
rank is at least the accepted-rank mean +1
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return card.rank * len(mainline) >= total + (1) * len(mainline)
cal_global_history_global_seen_attribute_29b5ccadd3
candidate face status has not appeared on the mainline
global_history
if not mainline: return True return all(card.is_face != item.is_face for item in mainline)
cal_global_history_global_seen_attribute_c00bf740b5
candidate rank parity has appeared on the mainline
global_history
if not mainline: return True return any(card.rank % 2 == item.rank % 2 for item in mainline)
cal_global_history_global_seen_attribute_cff2674fac
candidate suit has not appeared on the mainline
global_history
if not mainline: return True return all(card.suit != item.suit for item in mainline)
cal_global_history_least_frequent_attribute_64ccb65ee1
candidate's rank parity has a mainline count within 1 of the least frequent value
global_history
if not mainline: return True values = [0, 1] counts = [sum(1 for item in mainline if item.rank % 2 == value) for value in values] candidate_count = sum(1 for item in mainline if item.rank % 2 == card.rank % 2) return candidate_count <= min(counts) + 1
cal_global_history_least_frequent_attribute_8752378b30
candidate's rank parity has a mainline count within 0 of the least frequent value
global_history
if not mainline: return True values = [0, 1] counts = [sum(1 for item in mainline if item.rank % 2 == value) for value in values] candidate_count = sum(1 for item in mainline if item.rank % 2 == card.rank % 2) return candidate_count <= min(counts) + 0
cal_global_history_least_frequent_attribute_960548cce1
candidate's color has a mainline count within 0 of the least frequent value
global_history
if not mainline: return True values = ['red', 'black'] counts = [sum(1 for item in mainline if item.color == value) for value in values] candidate_count = sum(1 for item in mainline if item.color == card.color) return candidate_count <= min(counts) + 0
cal_chunk_run_long_fixed_chunk_0f3cf59eb5
rank parity is constant within chunks of 10 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 10 == 0: return card.rank % 2 != mainline[-1].rank % 2 return card.rank % 2 == mainline[-1].rank % 2
cal_chunk_run_long_fixed_chunk_1d202462c0
color is constant within chunks of 6 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 6 == 0: return card.color != mainline[-1].color return card.color == mainline[-1].color
cal_chunk_run_long_fixed_chunk_2e49d5a856
suit is constant within chunks of 10 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 10 == 0: return card.suit != mainline[-1].suit return card.suit == mainline[-1].suit
cal_chunk_run_long_fixed_chunk_3455128610
suit is constant within chunks of 11 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 11 == 0: return card.suit != mainline[-1].suit return card.suit == mainline[-1].suit
cal_chunk_run_long_fixed_chunk_34e45b8e54
rank is constant within chunks of 7 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 7 == 0: return card.rank != mainline[-1].rank return card.rank == mainline[-1].rank
cal_chunk_run_long_fixed_chunk_3d7d8cc3e2
face status is different within chunks of 10 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 10 == 0: return card.is_face == mainline[-1].is_face return card.is_face != mainline[-1].is_face
cal_chunk_run_long_fixed_chunk_48fc449fe6
face status is constant within chunks of 6 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 6 == 0: return card.is_face != mainline[-1].is_face return card.is_face == mainline[-1].is_face
cal_chunk_run_long_fixed_chunk_50a515b8ab
face status is different within chunks of 8 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 8 == 0: return card.is_face == mainline[-1].is_face return card.is_face != mainline[-1].is_face
cal_chunk_run_long_fixed_chunk_54158bb5dd
rank parity is constant within chunks of 6 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 6 == 0: return card.rank % 2 != mainline[-1].rank % 2 return card.rank % 2 == mainline[-1].rank % 2
cal_chunk_run_long_fixed_chunk_5523acd387
color is different within chunks of 11 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 11 == 0: return card.color == mainline[-1].color return card.color != mainline[-1].color
cal_chunk_run_long_fixed_chunk_5a8827d7ca
rank is constant within chunks of 10 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 10 == 0: return card.rank != mainline[-1].rank return card.rank == mainline[-1].rank
cal_chunk_run_long_fixed_chunk_5e9d8d62c9
rank is constant within chunks of 8 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 8 == 0: return card.rank != mainline[-1].rank return card.rank == mainline[-1].rank
cal_chunk_run_long_fixed_chunk_5eec418df9
face status is different within chunks of 9 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 9 == 0: return card.is_face == mainline[-1].is_face return card.is_face != mainline[-1].is_face
cal_chunk_run_long_fixed_chunk_60a110726d
rank parity is constant within chunks of 9 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 9 == 0: return card.rank % 2 != mainline[-1].rank % 2 return card.rank % 2 == mainline[-1].rank % 2
cal_chunk_run_long_fixed_chunk_6b8ebe743e
face status is different within chunks of 12 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 12 == 0: return card.is_face == mainline[-1].is_face return card.is_face != mainline[-1].is_face
cal_chunk_run_long_fixed_chunk_720a7fc51c
suit is different within chunks of 10 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 10 == 0: return card.suit == mainline[-1].suit return card.suit != mainline[-1].suit
cal_chunk_run_long_fixed_chunk_75fa985af5
suit is different within chunks of 12 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 12 == 0: return card.suit == mainline[-1].suit return card.suit != mainline[-1].suit
cal_chunk_run_long_fixed_chunk_8b9b4e469a
suit is constant within chunks of 9 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 9 == 0: return card.suit != mainline[-1].suit return card.suit == mainline[-1].suit
cal_chunk_run_long_fixed_chunk_8d13d7b217
rank parity is different within chunks of 9 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 9 == 0: return card.rank % 2 == mainline[-1].rank % 2 return card.rank % 2 != mainline[-1].rank % 2
cal_chunk_run_long_fixed_chunk_8e7d547775
suit is different within chunks of 6 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 6 == 0: return card.suit == mainline[-1].suit return card.suit != mainline[-1].suit
cal_chunk_run_long_fixed_chunk_9af792f709
rank is constant within chunks of 12 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 12 == 0: return card.rank != mainline[-1].rank return card.rank == mainline[-1].rank
cal_chunk_run_long_fixed_chunk_a34c29eafd
suit is constant within chunks of 8 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 8 == 0: return card.suit != mainline[-1].suit return card.suit == mainline[-1].suit
cal_chunk_run_long_fixed_chunk_a94769b84b
face status is different within chunks of 6 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 6 == 0: return card.is_face == mainline[-1].is_face return card.is_face != mainline[-1].is_face
cal_chunk_run_long_fixed_chunk_b6a1ab0acc
suit is different within chunks of 9 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 9 == 0: return card.suit == mainline[-1].suit return card.suit != mainline[-1].suit
cal_chunk_run_long_fixed_chunk_bb6a6574ca
rank is different within chunks of 7 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 7 == 0: return card.rank == mainline[-1].rank return card.rank != mainline[-1].rank
cal_chunk_run_long_fixed_chunk_c8b76f815b
suit is constant within chunks of 7 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 7 == 0: return card.suit != mainline[-1].suit return card.suit == mainline[-1].suit
cal_chunk_run_long_fixed_chunk_d75ff55b9f
color is constant within chunks of 11 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 11 == 0: return card.color != mainline[-1].color return card.color == mainline[-1].color
cal_chunk_run_long_fixed_chunk_da9d687115
face status is constant within chunks of 10 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 10 == 0: return card.is_face != mainline[-1].is_face return card.is_face == mainline[-1].is_face
cal_chunk_run_long_fixed_chunk_daa4491769
rank is different within chunks of 12 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 12 == 0: return card.rank == mainline[-1].rank return card.rank != mainline[-1].rank
cal_chunk_run_long_fixed_chunk_dbcd83d762
rank is different within chunks of 6 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 6 == 0: return card.rank == mainline[-1].rank return card.rank != mainline[-1].rank
cal_chunk_run_long_fixed_chunk_e03980ba03
face status is different within chunks of 7 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 7 == 0: return card.is_face == mainline[-1].is_face return card.is_face != mainline[-1].is_face
cal_chunk_run_long_fixed_chunk_e2500eceb3
rank is different within chunks of 10 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 10 == 0: return card.rank == mainline[-1].rank return card.rank != mainline[-1].rank
cal_chunk_run_long_fixed_chunk_e9bc234047
color is different within chunks of 9 and matches at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 9 == 0: return card.color == mainline[-1].color return card.color != mainline[-1].color
cal_chunk_run_long_fixed_chunk_ec86e1ecb5
color is constant within chunks of 12 and changes at their boundaries
chunk_run
if not mainline: return True if len(mainline) % 12 == 0: return card.color != mainline[-1].color return card.color == mainline[-1].color
cal_compositional_hybrid_long_periodic_transition_02febccb44
every 8th accepted position requires higher rank; other positions require different suit
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 8 == 0: return card.rank > prev.rank return card.suit != prev.suit
cal_compositional_hybrid_long_periodic_transition_05f4a61243
every 5th accepted position requires lower rank; other positions require higher rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 5 == 0: return card.rank < prev.rank return card.rank > prev.rank
cal_compositional_hybrid_long_periodic_transition_09324904a5
every 8th accepted position requires different suit; other positions require lower rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 8 == 0: return card.suit != prev.suit return card.rank < prev.rank
cal_compositional_hybrid_long_periodic_transition_09675fd216
every 8th accepted position requires different parity; other positions require different suit
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 8 == 0: return card.rank % 2 != prev.rank % 2 return card.suit != prev.suit
cal_compositional_hybrid_long_periodic_transition_176c322b7f
every 9th accepted position requires higher rank; other positions require different parity
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 9 == 0: return card.rank > prev.rank return card.rank % 2 != prev.rank % 2
cal_compositional_hybrid_long_periodic_transition_24a8280c4b
every 9th accepted position requires lower rank; other positions require different suit
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 9 == 0: return card.rank < prev.rank return card.suit != prev.suit
cal_compositional_hybrid_long_periodic_transition_269748cb42
every 9th accepted position requires same suit; other positions require lower rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 9 == 0: return card.suit == prev.suit return card.rank < prev.rank
cal_compositional_hybrid_long_periodic_transition_272bda1de6
every 8th accepted position requires different parity; other positions require higher rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 8 == 0: return card.rank % 2 != prev.rank % 2 return card.rank > prev.rank
cal_compositional_hybrid_long_periodic_transition_27c3a130b1
every 7th accepted position requires different suit; other positions require different parity
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 7 == 0: return card.suit != prev.suit return card.rank % 2 != prev.rank % 2
cal_compositional_hybrid_long_periodic_transition_27f8fb8df5
every 7th accepted position requires same suit; other positions require lower rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 7 == 0: return card.suit == prev.suit return card.rank < prev.rank
cal_compositional_hybrid_long_periodic_transition_2e64acf59a
every 6th accepted position requires lower rank; other positions require higher rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 6 == 0: return card.rank < prev.rank return card.rank > prev.rank
cal_compositional_hybrid_long_periodic_transition_2f7025ac39
every 9th accepted position requires different parity; other positions require same suit
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 9 == 0: return card.rank % 2 != prev.rank % 2 return card.suit == prev.suit
cal_compositional_hybrid_long_periodic_transition_31e5c1dea5
every 6th accepted position requires same suit; other positions require lower rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 6 == 0: return card.suit == prev.suit return card.rank < prev.rank
cal_compositional_hybrid_long_periodic_transition_3554b92b5f
every 7th accepted position requires higher rank; other positions require different suit
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 7 == 0: return card.rank > prev.rank return card.suit != prev.suit
cal_compositional_hybrid_long_periodic_transition_3cce720cf1
every 8th accepted position requires different suit; other positions require higher rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 8 == 0: return card.suit != prev.suit return card.rank > prev.rank
cal_compositional_hybrid_long_periodic_transition_3d303b3112
every 6th accepted position requires higher rank; other positions require different suit
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 6 == 0: return card.rank > prev.rank return card.suit != prev.suit
cal_compositional_hybrid_long_periodic_transition_47946896fc
every 10th accepted position requires same suit; other positions require lower rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 10 == 0: return card.suit == prev.suit return card.rank < prev.rank
cal_compositional_hybrid_long_periodic_transition_4e00a031d6
every 9th accepted position requires different parity; other positions require higher rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 9 == 0: return card.rank % 2 != prev.rank % 2 return card.rank > prev.rank
cal_compositional_hybrid_long_periodic_transition_5a38d04806
every 5th accepted position requires same suit; other positions require higher rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 5 == 0: return card.suit == prev.suit return card.rank > prev.rank
cal_compositional_hybrid_long_periodic_transition_5a7ecbe239
every 5th accepted position requires same suit; other positions require different parity
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 5 == 0: return card.suit == prev.suit return card.rank % 2 != prev.rank % 2
cal_compositional_hybrid_long_periodic_transition_5af409d547
every 5th accepted position requires lower rank; other positions require different suit
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 5 == 0: return card.rank < prev.rank return card.suit != prev.suit
cal_compositional_hybrid_long_periodic_transition_5ba8ee442b
every 8th accepted position requires different suit; other positions require different parity
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 8 == 0: return card.suit != prev.suit return card.rank % 2 != prev.rank % 2
cal_compositional_hybrid_long_periodic_transition_608fdeb8c2
every 7th accepted position requires lower rank; other positions require same suit
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 7 == 0: return card.rank < prev.rank return card.suit == prev.suit
cal_compositional_hybrid_long_periodic_transition_6124ffde6c
every 5th accepted position requires higher rank; other positions require lower rank
compositional_hybrid
if not mainline: return True prev = mainline[-1] if len(mainline) % 5 == 0: return card.rank > prev.rank return card.rank < prev.rank