rule_id
stringlengths
36
70
label
stringlengths
17
136
family
stringclasses
8 values
code
stringlengths
25
256
cal_global_history_cumulative_rank_sum_attribute_map_88c6b82525
candidate is red when the accepted-rank sum modulo 7 is in [0, 2, 4, 5], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 7 in [0, 2, 4, 5])
cal_global_history_cumulative_rank_sum_attribute_map_93360b6153
candidate is odd when the accepted-rank sum modulo 4 is in [1, 2, 3], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 4 in [1, 2, 3])
cal_global_history_cumulative_rank_sum_attribute_map_93654fc811
candidate is odd when the accepted-rank sum modulo 7 is in [0, 1, 2, 3, 5], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 7 in [0, 1, 2, 3, 5])
cal_global_history_cumulative_rank_sum_attribute_map_9daf2d2949
candidate is odd when the accepted-rank sum modulo 7 is in [2, 3, 4, 5, 6], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 7 in [2, 3, 4, 5, 6])
cal_global_history_cumulative_rank_sum_attribute_map_a07580671b
candidate is odd when the accepted-rank sum modulo 5 is in [1, 4], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 5 in [1, 4])
cal_global_history_cumulative_rank_sum_attribute_map_a1444c45d3
candidate is red when the accepted-rank sum modulo 8 is in [0, 1, 3, 5, 7], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 8 in [0, 1, 3, 5, 7])
cal_global_history_cumulative_rank_sum_attribute_map_a16923bac5
candidate is odd when the accepted-rank sum modulo 4 is in [0, 3], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 4 in [0, 3])
cal_global_history_cumulative_rank_sum_attribute_map_a5ca348aa6
candidate is red when the accepted-rank sum modulo 6 is in [2, 3], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 6 in [2, 3])
cal_global_history_cumulative_rank_sum_attribute_map_a621028a8e
candidate is odd when the accepted-rank sum modulo 8 is in [0, 1, 2, 3, 5, 6], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 8 in [0, 1, 2, 3, 5, 6])
cal_global_history_cumulative_rank_sum_attribute_map_a75197052e
candidate is red when the accepted-rank sum modulo 7 is in [2, 3, 4, 6], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 7 in [2, 3, 4, 6])
cal_global_history_cumulative_rank_sum_attribute_map_a97f04073a
candidate is red when the accepted-rank sum modulo 6 is in [0, 4, 5], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 6 in [0, 4, 5])
cal_global_history_cumulative_rank_sum_attribute_map_b10e37daf3
candidate is red when the accepted-rank sum modulo 7 is in [0, 1, 2, 5, 6], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 7 in [0, 1, 2, 5, 6])
cal_global_history_cumulative_rank_sum_attribute_map_b2ed4741ed
candidate is red when the accepted-rank sum modulo 8 is in [0, 1, 7], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 8 in [0, 1, 7])
cal_global_history_cumulative_rank_sum_attribute_map_b40d78662b
candidate is red when the accepted-rank sum modulo 3 is in [1, 2], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 3 in [1, 2])
cal_global_history_cumulative_rank_sum_attribute_map_b5375a3fdc
candidate is red when the accepted-rank sum modulo 4 is in [0, 1], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 4 in [0, 1])
cal_global_history_cumulative_rank_sum_attribute_map_c50e1007d8
candidate is red when the accepted-rank sum modulo 4 is in [0, 3], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 4 in [0, 3])
cal_global_history_cumulative_rank_sum_attribute_map_c6656b77db
candidate is red when the accepted-rank sum modulo 8 is in [1, 2, 7], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 8 in [1, 2, 7])
cal_global_history_cumulative_rank_sum_attribute_map_c70195961c
candidate is red when the accepted-rank sum modulo 6 is in [0, 3, 4], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 6 in [0, 3, 4])
cal_global_history_cumulative_rank_sum_attribute_map_c7fb636e48
candidate is odd when the accepted-rank sum modulo 4 is in [0, 1, 2], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 4 in [0, 1, 2])
cal_global_history_cumulative_rank_sum_attribute_map_cc5c32770a
candidate is odd when the accepted-rank sum modulo 6 is in [2], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 6 in [2])
cal_global_history_cumulative_rank_sum_attribute_map_cfb2daa60d
candidate is red when the accepted-rank sum modulo 7 is in [2, 3, 4, 5, 6], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 7 in [2, 3, 4, 5, 6])
cal_global_history_cumulative_rank_sum_attribute_map_d1539d9b25
candidate is red when the accepted-rank sum modulo 4 is in [0, 2, 3], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 4 in [0, 2, 3])
cal_global_history_cumulative_rank_sum_attribute_map_d61efaa6b8
candidate is odd when the accepted-rank sum modulo 6 is in [2, 3, 4], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 6 in [2, 3, 4])
cal_global_history_cumulative_rank_sum_attribute_map_d91f40d070
candidate is odd when the accepted-rank sum modulo 8 is in [0, 1, 7], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 8 in [0, 1, 7])
cal_global_history_cumulative_rank_sum_attribute_map_ddcbc6ade6
candidate is red when the accepted-rank sum modulo 4 is in [0, 1, 3], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 4 in [0, 1, 3])
cal_global_history_cumulative_rank_sum_attribute_map_e762ab4e10
candidate is red when the accepted-rank sum modulo 5 is in [2, 3, 4], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 5 in [2, 3, 4])
cal_global_history_cumulative_rank_sum_attribute_map_ed6497785c
candidate is red when the accepted-rank sum modulo 8 is in [2, 4, 5, 6], and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == (total % 8 in [2, 4, 5, 6])
cal_global_history_cumulative_rank_sum_attribute_map_ff413b69d4
candidate is odd when the accepted-rank sum modulo 5 is in [0, 1, 2], and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == (total % 5 in [0, 1, 2])
cal_global_history_cumulative_rank_sum_parity_76fef499a5
candidate is odd exactly when the cumulative accepted-rank sum is odd, and even otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.rank % 2 == 1) == ((total % 2 == 1) == True)
cal_global_history_cumulative_rank_sum_parity_a6b5ad7087
candidate is red exactly when the cumulative accepted-rank sum is odd, and black otherwise
global_history
if not mainline: return True total = sum(item.rank for item in mainline) return (card.color == "red") == ((total % 2 == 1) == True)
cal_global_history_cumulative_red_count_color_map_040ff8d62d
candidate is red when the cumulative red-card count modulo 5 is in [1, 3, 4], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 5 in [1, 3, 4])
cal_global_history_cumulative_red_count_color_map_058baad96b
candidate is red when the cumulative red-card count modulo 5 is in [0, 1, 3], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 5 in [0, 1, 3])
cal_global_history_cumulative_red_count_color_map_067a9b92f4
candidate is red when the cumulative red-card count modulo 6 is in [1, 3, 4, 5], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 6 in [1, 3, 4, 5])
cal_global_history_cumulative_red_count_color_map_0abc69a782
candidate is red when the cumulative red-card count modulo 7 is in [1, 2, 3, 4], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 7 in [1, 2, 3, 4])
cal_global_history_cumulative_red_count_color_map_340207cc95
candidate is red when the cumulative red-card count modulo 6 is in [0, 1, 2, 4, 5], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 6 in [0, 1, 2, 4, 5])
cal_global_history_cumulative_red_count_color_map_4fd6de70a8
candidate is red when the cumulative red-card count modulo 3 is in [0], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 3 in [0])
cal_global_history_cumulative_red_count_color_map_50fc449ba0
candidate is red when the cumulative red-card count modulo 5 is in [0, 1, 3, 4], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 5 in [0, 1, 3, 4])
cal_global_history_cumulative_red_count_color_map_51d7c277a2
candidate is red when the cumulative red-card count modulo 3 is in [1, 2], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 3 in [1, 2])
cal_global_history_cumulative_red_count_color_map_611434f98d
candidate is red when the cumulative red-card count modulo 4 is in [0], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 4 in [0])
cal_global_history_cumulative_red_count_color_map_642c0f4e52
candidate is red when the cumulative red-card count modulo 5 is in [1, 2, 3, 4], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 5 in [1, 2, 3, 4])
cal_global_history_cumulative_red_count_color_map_6e305ab395
candidate is red when the cumulative red-card count modulo 4 is in [1, 2, 3], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 4 in [1, 2, 3])
cal_global_history_cumulative_red_count_color_map_738858942f
candidate is red when the cumulative red-card count modulo 5 is in [0], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 5 in [0])
cal_global_history_cumulative_red_count_color_map_7577d48d04
candidate is red when the cumulative red-card count modulo 6 is in [5], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 6 in [5])
cal_global_history_cumulative_red_count_color_map_87f38a8715
candidate is red when the cumulative red-card count modulo 7 is in [0, 2, 3, 4], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 7 in [0, 2, 3, 4])
cal_global_history_cumulative_red_count_color_map_9a04c3f358
candidate is red when the cumulative red-card count modulo 5 is in [4], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 5 in [4])
cal_global_history_cumulative_red_count_color_map_9c7a59fa15
candidate is red when the cumulative red-card count modulo 4 is in [0, 1], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 4 in [0, 1])
cal_global_history_cumulative_red_count_color_map_a26b84ab49
candidate is red when the cumulative red-card count modulo 7 is in [0, 1, 2], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 7 in [0, 1, 2])
cal_global_history_cumulative_red_count_color_map_a4b77242b0
candidate is red when the cumulative red-card count modulo 4 is in [1, 2], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 4 in [1, 2])
cal_global_history_cumulative_red_count_color_map_a705594ec7
candidate is red when the cumulative red-card count modulo 6 is in [4, 5], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 6 in [4, 5])
cal_global_history_cumulative_red_count_color_map_ae649e2484
candidate is red when the cumulative red-card count modulo 4 is in [1], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 4 in [1])
cal_global_history_cumulative_red_count_color_map_b3c6855bb0
candidate is red when the cumulative red-card count modulo 5 is in [2, 3], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 5 in [2, 3])
cal_global_history_cumulative_red_count_color_map_b5836f3f65
candidate is red when the cumulative red-card count modulo 7 is in [1, 5, 6], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 7 in [1, 5, 6])
cal_global_history_cumulative_red_count_color_map_bcd6e2a2bc
candidate is red when the cumulative red-card count modulo 6 is in [1, 3], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 6 in [1, 3])
cal_global_history_cumulative_red_count_color_map_cd1602bed3
candidate is red when the cumulative red-card count modulo 7 is in [0, 2, 3, 4, 6], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 7 in [0, 2, 3, 4, 6])
cal_global_history_cumulative_red_count_color_map_cd230d2d77
candidate is red when the cumulative red-card count modulo 7 is in [2, 3, 4, 6], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 7 in [2, 3, 4, 6])
cal_global_history_cumulative_red_count_color_map_cfc2bddce4
candidate is red when the cumulative red-card count modulo 3 is in [0, 2], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 3 in [0, 2])
cal_global_history_cumulative_red_count_color_map_d4cadc41d7
candidate is red when the cumulative red-card count modulo 6 is in [2, 3], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 6 in [2, 3])
cal_global_history_cumulative_red_count_color_map_e84f403e74
candidate is red when the cumulative red-card count modulo 5 is in [2], and black otherwise
global_history
if not mainline: return True reds = sum(1 for item in mainline if item.color == "red") return (card.color == "red") == (reds % 5 in [2])
cal_first_order_transition_directed_modular_rank_delta_0858084626
directed rank change modulo 13 is one of [1, 5, 6, 7]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [1, 5, 6, 7]
cal_first_order_transition_directed_modular_rank_delta_22ca371933
directed rank change modulo 13 is one of [1, 5, 8, 11, 12]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [1, 5, 8, 11, 12]
cal_first_order_transition_directed_modular_rank_delta_2a8550dd5a
directed rank change modulo 13 is one of [5, 8, 12]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [5, 8, 12]
cal_first_order_transition_directed_modular_rank_delta_37f2293f23
directed rank change modulo 13 is one of [4, 12]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [4, 12]
cal_first_order_transition_directed_modular_rank_delta_59d55ee611
directed rank change modulo 13 is one of [1, 3, 7, 11]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [1, 3, 7, 11]
cal_first_order_transition_directed_modular_rank_delta_5f19466062
directed rank change modulo 13 is one of [2, 5, 6, 7, 9]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [2, 5, 6, 7, 9]
cal_first_order_transition_directed_modular_rank_delta_620eac46b3
directed rank change modulo 13 is one of [2, 4, 6]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [2, 4, 6]
cal_first_order_transition_directed_modular_rank_delta_6aac594eb1
directed rank change modulo 13 is one of [1, 5, 6, 7, 10]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [1, 5, 6, 7, 10]
cal_first_order_transition_directed_modular_rank_delta_6df4b6b607
directed rank change modulo 13 is one of [2, 3, 5, 7, 8]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [2, 3, 5, 7, 8]
cal_first_order_transition_directed_modular_rank_delta_83d12c6d89
directed rank change modulo 13 is one of [3, 9, 10]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [3, 9, 10]
cal_first_order_transition_directed_modular_rank_delta_85744205a4
directed rank change modulo 13 is one of [1, 5, 6]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [1, 5, 6]
cal_first_order_transition_directed_modular_rank_delta_8b39215414
directed rank change modulo 13 is one of [5, 6, 10]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [5, 6, 10]
cal_first_order_transition_directed_modular_rank_delta_8bdc059f62
directed rank change modulo 13 is one of [1, 2, 7, 10, 12]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [1, 2, 7, 10, 12]
cal_first_order_transition_directed_modular_rank_delta_91fdf0a323
directed rank change modulo 13 is one of [4, 5, 7, 8, 10]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [4, 5, 7, 8, 10]
cal_first_order_transition_directed_modular_rank_delta_9cda8e26cc
directed rank change modulo 13 is one of [3, 11, 12]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [3, 11, 12]
cal_first_order_transition_directed_modular_rank_delta_aa731c8352
directed rank change modulo 13 is one of [2, 3, 5, 8]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [2, 3, 5, 8]
cal_first_order_transition_directed_modular_rank_delta_c4d1fab1e1
directed rank change modulo 13 is one of [5, 7, 8]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [5, 7, 8]
cal_first_order_transition_directed_modular_rank_delta_ccd5df4a07
directed rank change modulo 13 is one of [1, 5, 8, 9]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [1, 5, 8, 9]
cal_first_order_transition_directed_modular_rank_delta_d0b7e54ee9
directed rank change modulo 13 is one of [3, 11]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [3, 11]
cal_first_order_transition_directed_modular_rank_delta_d99ac811bd
directed rank change modulo 13 is one of [3, 4, 7, 10]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [3, 4, 7, 10]
cal_first_order_transition_directed_modular_rank_delta_f419a474d5
directed rank change modulo 13 is one of [3, 4, 5, 6, 12]
first_order_transition
if not mainline: return True return (card.rank - mainline[-1].rank) % 13 in [3, 4, 5, 6, 12]
cal_global_history_first_anchor_transition_composition_060038dc42
candidate must match the first card's rank parity and alternate color from the last card
global_history
if not mainline: return True return (card.rank % 2 == mainline[0].rank % 2) and (card.color != mainline[-1].color)
cal_global_history_first_anchor_transition_composition_16e2c9b8bd
candidate must match the first card's color and not increase in rank
global_history
if not mainline: return True return (card.color == mainline[0].color) and (card.rank <= mainline[-1].rank)
cal_global_history_first_anchor_transition_composition_57adeaf6e4
candidate must match the first card's rank parity and not increase in rank
global_history
if not mainline: return True return (card.rank % 2 == mainline[0].rank % 2) and (card.rank <= mainline[-1].rank)
cal_global_history_first_anchor_transition_composition_7f5ac28abc
candidate must match the first card's rank parity or not increase in rank
global_history
if not mainline: return True return (card.rank % 2 == mainline[0].rank % 2) or (card.rank <= mainline[-1].rank)
cal_global_history_first_anchor_transition_composition_8a8aa40c65
candidate must match the first card's color and match the last rank parity
global_history
if not mainline: return True return (card.color == mainline[0].color) and (card.rank % 2 == mainline[-1].rank % 2)
cal_global_history_first_anchor_transition_composition_94f7bfa1c8
candidate must match the first card's rank parity or not decrease in rank
global_history
if not mainline: return True return (card.rank % 2 == mainline[0].rank % 2) or (card.rank >= mainline[-1].rank)
cal_global_history_first_anchor_transition_composition_9bcd88b6d5
candidate must match the first card's rank parity or alternate color from the last card
global_history
if not mainline: return True return (card.rank % 2 == mainline[0].rank % 2) or (card.color != mainline[-1].color)
cal_global_history_first_anchor_transition_composition_bc25b6708a
candidate must match the first card's color or match the last rank parity
global_history
if not mainline: return True return (card.color == mainline[0].color) or (card.rank % 2 == mainline[-1].rank % 2)
cal_global_history_first_anchor_transition_composition_e2f72a252a
candidate must match the first card's color or not increase in rank
global_history
if not mainline: return True return (card.color == mainline[0].color) or (card.rank <= mainline[-1].rank)
cal_global_history_first_anchor_transition_composition_fd97ea15c2
candidate must match the first card's rank parity or match the last rank parity
global_history
if not mainline: return True return (card.rank % 2 == mainline[0].rank % 2) or (card.rank % 2 == mainline[-1].rank % 2)
cal_global_history_first_card_attribute_anchor_13adfb5806
candidate has the same rank parity as the first accepted card
global_history
if not mainline: return True return (card.rank % 2 == mainline[0].rank % 2) == True
cal_global_history_first_card_attribute_anchor_4b163e2c16
candidate has the same suit as the first accepted card
global_history
if not mainline: return True return (card.suit == mainline[0].suit) == True
cal_global_history_first_card_attribute_anchor_7874574c65
candidate has a different suit as the first accepted card
global_history
if not mainline: return True return (card.suit == mainline[0].suit) == False
cal_global_history_first_card_attribute_anchor_9bd78b893e
candidate has a different rank parity as the first accepted card
global_history
if not mainline: return True return (card.rank % 2 == mainline[0].rank % 2) == False
cal_global_history_first_card_rank_distance_0db68bdfdc
rank is within 3 of the first accepted rank
global_history
if not mainline: return True return (abs(card.rank - mainline[0].rank) <= 3) == True
cal_global_history_first_card_rank_distance_11c82b91d6
rank is more than 3 of the first accepted rank
global_history
if not mainline: return True return (abs(card.rank - mainline[0].rank) <= 3) == False
cal_global_history_first_card_rank_distance_13ac2813d7
rank is within 5 of the first accepted rank
global_history
if not mainline: return True return (abs(card.rank - mainline[0].rank) <= 5) == True
cal_global_history_first_card_rank_distance_40accf66ef
rank is within 1 of the first accepted rank
global_history
if not mainline: return True return (abs(card.rank - mainline[0].rank) <= 1) == True
cal_global_history_first_card_rank_distance_5e04eea3b8
rank is more than 4 of the first accepted rank
global_history
if not mainline: return True return (abs(card.rank - mainline[0].rank) <= 4) == False
cal_global_history_first_card_rank_distance_fd34cf1552
rank is within 6 of the first accepted rank
global_history
if not mainline: return True return (abs(card.rank - mainline[0].rank) <= 6) == True
cal_global_history_first_last_anchor_gate_149a3ffa63
candidate is red when last and first rank parities match is False, and black otherwise
global_history
if not mainline: return True gate = mainline[-1].rank % 2 == mainline[0].rank % 2 return (card.color == "red") == (gate == False)