rule_id stringlengths 36 70 | label stringlengths 17 136 | family stringclasses 8
values | code stringlengths 25 256 |
|---|---|---|---|
cal_global_history_candidate_attribute_count_phase_11a34f4069 | the prior count of the candidate's rank parity is 3 modulo 5 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank % 2 == item.rank % 2)
return count % 5 == 3 |
cal_global_history_candidate_attribute_count_phase_1305785d8a | the prior count of the candidate's color is 0 modulo 4 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.color == item.color)
return count % 4 == 0 |
cal_global_history_candidate_attribute_count_phase_13879dc61b | the prior count of the candidate's face status is 0 modulo 2 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.is_face == item.is_face)
return count % 2 == 0 |
cal_global_history_candidate_attribute_count_phase_19a28414b4 | the prior count of the candidate's rank parity is 2 modulo 4 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank % 2 == item.rank % 2)
return count % 4 == 2 |
cal_global_history_candidate_attribute_count_phase_2d018d218c | the prior count of the candidate's color is 0 modulo 2 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.color == item.color)
return count % 2 == 0 |
cal_global_history_candidate_attribute_count_phase_2dc38c5afc | the prior count of the candidate's rank is 0 modulo 3 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank == item.rank)
return count % 3 == 0 |
cal_global_history_candidate_attribute_count_phase_32857bfa82 | the prior count of the candidate's suit is 2 modulo 3 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.suit == item.suit)
return count % 3 == 2 |
cal_global_history_candidate_attribute_count_phase_39d7a98752 | the prior count of the candidate's suit is 0 modulo 3 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.suit == item.suit)
return count % 3 == 0 |
cal_global_history_candidate_attribute_count_phase_3c774c825c | the prior count of the candidate's color is 3 modulo 4 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.color == item.color)
return count % 4 == 3 |
cal_global_history_candidate_attribute_count_phase_3cc8890e94 | the prior count of the candidate's face status is 0 modulo 5 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.is_face == item.is_face)
return count % 5 == 0 |
cal_global_history_candidate_attribute_count_phase_404a29c0da | the prior count of the candidate's suit is 0 modulo 2 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.suit == item.suit)
return count % 2 == 0 |
cal_global_history_candidate_attribute_count_phase_59fa9488e7 | the prior count of the candidate's rank is 1 modulo 3 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank == item.rank)
return count % 3 == 1 |
cal_global_history_candidate_attribute_count_phase_6023db9b3c | the prior count of the candidate's suit is 1 modulo 2 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.suit == item.suit)
return count % 2 == 1 |
cal_global_history_candidate_attribute_count_phase_6345aaafed | the prior count of the candidate's rank parity is 0 modulo 3 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank % 2 == item.rank % 2)
return count % 3 == 0 |
cal_global_history_candidate_attribute_count_phase_6ebcbbf801 | the prior count of the candidate's rank parity is 2 modulo 5 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank % 2 == item.rank % 2)
return count % 5 == 2 |
cal_global_history_candidate_attribute_count_phase_86953c33f4 | the prior count of the candidate's color is 2 modulo 4 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.color == item.color)
return count % 4 == 2 |
cal_global_history_candidate_attribute_count_phase_951a18971c | the prior count of the candidate's rank is 1 modulo 4 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank == item.rank)
return count % 4 == 1 |
cal_global_history_candidate_attribute_count_phase_b57d1daa7e | the prior count of the candidate's rank parity is 3 modulo 4 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank % 2 == item.rank % 2)
return count % 4 == 3 |
cal_global_history_candidate_attribute_count_phase_bdbf94ac1d | the prior count of the candidate's face status is 1 modulo 5 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.is_face == item.is_face)
return count % 5 == 1 |
cal_global_history_candidate_attribute_count_phase_d5fb8bf89b | the prior count of the candidate's rank is 1 modulo 2 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank == item.rank)
return count % 2 == 1 |
cal_global_history_candidate_attribute_count_phase_d74b2f1193 | the prior count of the candidate's suit is 1 modulo 3 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.suit == item.suit)
return count % 3 == 1 |
cal_global_history_candidate_attribute_count_phase_d8bfad3d7a | the prior count of the candidate's rank is 0 modulo 2 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank == item.rank)
return count % 2 == 0 |
cal_global_history_candidate_attribute_count_phase_e15deef5a4 | the prior count of the candidate's face status is 1 modulo 2 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.is_face == item.is_face)
return count % 2 == 1 |
cal_global_history_candidate_attribute_count_phase_e65ee62fe8 | the prior count of the candidate's face status is 1 modulo 3 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.is_face == item.is_face)
return count % 3 == 1 |
cal_global_history_candidate_attribute_count_phase_e97c6890a5 | the prior count of the candidate's rank parity is 1 modulo 5 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank % 2 == item.rank % 2)
return count % 5 == 1 |
cal_global_history_candidate_attribute_count_phase_ec5003a412 | the prior count of the candidate's face status is 3 modulo 5 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.is_face == item.is_face)
return count % 5 == 3 |
cal_global_history_candidate_attribute_count_phase_ecc3188d87 | the prior count of the candidate's face status is 2 modulo 5 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.is_face == item.is_face)
return count % 5 == 2 |
cal_global_history_candidate_attribute_count_phase_f1d488b6e4 | the prior count of the candidate's color is 4 modulo 5 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.color == item.color)
return count % 5 == 4 |
cal_global_history_candidate_attribute_count_phase_f709f89fcb | the prior count of the candidate's color is 2 modulo 3 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.color == item.color)
return count % 3 == 2 |
cal_global_history_candidate_attribute_count_phase_f8df8ca889 | the prior count of the candidate's face status is 2 modulo 4 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.is_face == item.is_face)
return count % 4 == 2 |
cal_global_history_candidate_attribute_count_phase_fd7216710a | the prior count of the candidate's rank parity is 0 modulo 5 | global_history | if not mainline:
return True
count = sum(1 for item in mainline if card.rank % 2 == item.rank % 2)
return count % 5 == 0 |
cal_first_order_transition_candidate_color_gated_transition_2ca3901093 | red candidates require same parity; black candidates require same suit, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.rank % 2 == prev.rank % 2
return card.suit == prev.suit |
cal_first_order_transition_candidate_color_gated_transition_39d30ae2a6 | red candidates require same parity; black candidates require different parity, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.rank % 2 == prev.rank % 2
return card.rank % 2 != prev.rank % 2 |
cal_first_order_transition_candidate_color_gated_transition_3e28d24942 | red candidates require different parity; black candidates require same color, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.rank % 2 != prev.rank % 2
return card.color == prev.color |
cal_first_order_transition_candidate_color_gated_transition_504406a04a | red candidates require different suit; black candidates require same parity, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.suit != prev.suit
return card.rank % 2 == prev.rank % 2 |
cal_first_order_transition_candidate_color_gated_transition_634d02e033 | red candidates require same color; black candidates require different suit, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.color == prev.color
return card.suit != prev.suit |
cal_first_order_transition_candidate_color_gated_transition_9770b24cf6 | red candidates require same color; black candidates require lower rank, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.color == prev.color
return card.rank < prev.rank |
cal_first_order_transition_candidate_color_gated_transition_9edcc4ea33 | red candidates require same suit; black candidates require different parity, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.suit == prev.suit
return card.rank % 2 != prev.rank % 2 |
cal_first_order_transition_candidate_color_gated_transition_af0a361160 | red candidates require different parity; black candidates require lower rank, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.rank % 2 != prev.rank % 2
return card.rank < prev.rank |
cal_first_order_transition_candidate_color_gated_transition_bb5810f3e2 | red candidates require higher rank; black candidates require same color, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.rank > prev.rank
return card.color == prev.color |
cal_first_order_transition_candidate_color_gated_transition_d8efd17dea | red candidates require different color; black candidates require higher rank, relative to the previous card | first_order_transition | if not mainline:
return True
prev = mainline[-1]
if card.color == "red":
return card.color != prev.color
return card.rank > prev.rank |
cal_first_order_transition_color_and_parity_a5cf1dd5b0 | different color and different parity | first_order_transition | if not mainline:
return True
prev = mainline[-1]
return card.color != prev.color and card.rank % 2 != prev.rank % 2 |
cal_first_order_transition_color_and_parity_b6327a134c | different color and same parity | first_order_transition | if not mainline:
return True
prev = mainline[-1]
return card.color != prev.color and card.rank % 2 == prev.rank % 2 |
cal_static_predicate_color_rank_threshold_256c8160a9 | red cards with rank at most 6 | static_predicate | return card.color == "red" and card.rank <= 6 |
cal_static_predicate_color_rank_threshold_4081b9d77c | red cards with rank at most 4 | static_predicate | return card.color == "red" and card.rank <= 4 |
cal_static_predicate_color_rank_threshold_50a9928557 | red cards with rank at least 4 | static_predicate | return card.color == "red" and card.rank >= 4 |
cal_static_predicate_color_rank_threshold_7bc8d07b66 | red cards with rank at least 10 | static_predicate | return card.color == "red" and card.rank >= 10 |
cal_static_predicate_color_rank_threshold_a46bbf3a4f | black cards with rank at most 11 | static_predicate | return card.color == "black" and card.rank <= 11 |
cal_static_predicate_color_rank_threshold_b62a1a00d7 | black cards with rank at most 10 | static_predicate | return card.color == "black" and card.rank <= 10 |
cal_static_predicate_color_rank_threshold_e510724595 | red cards with rank at least 8 | static_predicate | return card.color == "red" and card.rank >= 8 |
cal_static_predicate_color_rank_threshold_f18af6c392 | black cards with rank at most 6 | static_predicate | return card.color == "black" and card.rank <= 6 |
cal_static_predicate_color_specific_rank_band_15b03dd25b | red ranks are at most 8, while black ranks are at least 4 | static_predicate | if card.color == "red":
return card.rank <= 8
return card.rank >= 4 |
cal_static_predicate_color_specific_rank_band_58c94243ad | red ranks are at most 4, while black ranks are at least 4 | static_predicate | if card.color == "red":
return card.rank <= 4
return card.rank >= 4 |
cal_static_predicate_color_specific_rank_band_7f678492a1 | red ranks are at most 6, while black ranks are at least 6 | static_predicate | if card.color == "red":
return card.rank <= 6
return card.rank >= 6 |
cal_static_predicate_color_specific_rank_band_88240f19e2 | red ranks are at most 8, while black ranks are at least 6 | static_predicate | if card.color == "red":
return card.rank <= 8
return card.rank >= 6 |
cal_static_predicate_color_specific_rank_band_f7c5724014 | red ranks are at most 8, while black ranks are at least 10 | static_predicate | if card.color == "red":
return card.rank <= 8
return card.rank >= 10 |
cal_global_history_cumulative_color_vote_8dc3feb4aa | candidate has the current minority color over the entire accepted mainline | global_history | if not mainline:
return True
reds = sum(1 for item in mainline if item.color == "red")
return (card.color == "red") == (reds < (len(mainline) + 1) // 2) |
cal_global_history_cumulative_rank_sum_attribute_map_0aae5cf9ef | candidate is red when the accepted-rank sum modulo 8 is in [0, 3, 4, 6, 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, 3, 4, 6, 7]) |
cal_global_history_cumulative_rank_sum_attribute_map_0bff2be7bc | candidate is red when the accepted-rank sum modulo 3 is in [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 [2]) |
cal_global_history_cumulative_rank_sum_attribute_map_1374706c77 | candidate is odd when the accepted-rank sum modulo 4 is in [0, 1], 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]) |
cal_global_history_cumulative_rank_sum_attribute_map_15251f6369 | candidate is odd when the accepted-rank sum modulo 6 is in [0, 4, 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 % 6 in [0, 4, 5]) |
cal_global_history_cumulative_rank_sum_attribute_map_1945885c01 | candidate is odd when the accepted-rank sum modulo 4 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 % 4 in [2]) |
cal_global_history_cumulative_rank_sum_attribute_map_1b4fac599f | candidate is odd when the accepted-rank sum modulo 5 is in [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 % 5 in [2, 3]) |
cal_global_history_cumulative_rank_sum_attribute_map_1b9af8bbc1 | candidate is odd when the accepted-rank sum modulo 5 is in [0, 1, 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 % 5 in [0, 1, 3]) |
cal_global_history_cumulative_rank_sum_attribute_map_1d188ffe46 | candidate is red when the accepted-rank sum modulo 6 is in [1, 2, 3, 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 [1, 2, 3, 4, 5]) |
cal_global_history_cumulative_rank_sum_attribute_map_2252a2d0ca | candidate is odd when the accepted-rank sum modulo 6 is in [1, 2, 3, 4, 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 % 6 in [1, 2, 3, 4, 5]) |
cal_global_history_cumulative_rank_sum_attribute_map_2322e6cfac | candidate is red when the accepted-rank sum modulo 8 is in [0, 2, 3, 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 % 8 in [0, 2, 3, 4, 5]) |
cal_global_history_cumulative_rank_sum_attribute_map_2642b70492 | candidate is odd when the accepted-rank sum modulo 3 is in [0, 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 % 3 in [0, 2]) |
cal_global_history_cumulative_rank_sum_attribute_map_271e80c4d1 | candidate is odd when the accepted-rank sum modulo 6 is in [0, 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 [0, 3, 4]) |
cal_global_history_cumulative_rank_sum_attribute_map_28542f699f | candidate is odd when the accepted-rank sum modulo 7 is in [0, 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 [0, 2, 3, 4, 5, 6]) |
cal_global_history_cumulative_rank_sum_attribute_map_2c1c2a386b | candidate is odd when the accepted-rank sum modulo 5 is in [1, 2, 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, 2, 4]) |
cal_global_history_cumulative_rank_sum_attribute_map_2c4662fe83 | candidate is odd when the accepted-rank sum modulo 4 is in [1], 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]) |
cal_global_history_cumulative_rank_sum_attribute_map_2e29dbc021 | candidate is odd when the accepted-rank sum modulo 6 is in [0, 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 % 6 in [0, 1, 4]) |
cal_global_history_cumulative_rank_sum_attribute_map_2e8248f10d | candidate is odd when the accepted-rank sum modulo 5 is in [0, 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 [0, 4]) |
cal_global_history_cumulative_rank_sum_attribute_map_30e9093317 | candidate is odd when the accepted-rank sum modulo 8 is in [2, 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 % 8 in [2, 4, 5, 6]) |
cal_global_history_cumulative_rank_sum_attribute_map_320d7c416d | candidate is odd when the accepted-rank sum modulo 7 is in [0, 1, 2, 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 [0, 1, 2, 5, 6]) |
cal_global_history_cumulative_rank_sum_attribute_map_32e48b7d60 | candidate is odd when the accepted-rank sum modulo 7 is in [0, 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 % 7 in [0, 1, 4]) |
cal_global_history_cumulative_rank_sum_attribute_map_35b6b5b9a0 | candidate is odd when the accepted-rank sum modulo 7 is in [0, 1, 2, 3, 4, 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 [0, 1, 2, 3, 4, 6]) |
cal_global_history_cumulative_rank_sum_attribute_map_39928eac9d | candidate is red when the accepted-rank sum modulo 8 is in [1, 3, 4, 5, 6, 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, 3, 4, 5, 6, 7]) |
cal_global_history_cumulative_rank_sum_attribute_map_3d3983f69a | candidate is odd when the accepted-rank sum modulo 4 is in [0, 1, 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, 1, 3]) |
cal_global_history_cumulative_rank_sum_attribute_map_46cfa8e10c | candidate is red when the accepted-rank sum modulo 6 is in [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 [4]) |
cal_global_history_cumulative_rank_sum_attribute_map_51dbd72806 | candidate is red when the accepted-rank sum modulo 5 is in [1, 2, 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 [1, 2, 4]) |
cal_global_history_cumulative_rank_sum_attribute_map_5303e88317 | candidate is red when the accepted-rank sum modulo 4 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 % 4 in [2, 3]) |
cal_global_history_cumulative_rank_sum_attribute_map_5610fcb471 | candidate is red when the accepted-rank sum modulo 6 is in [1, 2, 3, 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 [1, 2, 3, 5]) |
cal_global_history_cumulative_rank_sum_attribute_map_5730841bb1 | candidate is odd when the accepted-rank sum modulo 3 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 % 3 in [2]) |
cal_global_history_cumulative_rank_sum_attribute_map_60a430499a | candidate is odd when the accepted-rank sum modulo 7 is in [0, 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, 5]) |
cal_global_history_cumulative_rank_sum_attribute_map_6752c63a7e | candidate is odd when the accepted-rank sum modulo 5 is in [0, 2, 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 [0, 2, 4]) |
cal_global_history_cumulative_rank_sum_attribute_map_6770e5b907 | candidate is odd when the accepted-rank sum modulo 8 is in [1, 2, 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 [1, 2, 7]) |
cal_global_history_cumulative_rank_sum_attribute_map_69b815a96c | candidate is red when the accepted-rank sum modulo 6 is in [2], 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]) |
cal_global_history_cumulative_rank_sum_attribute_map_6a394f1c2a | candidate is odd when the accepted-rank sum modulo 4 is in [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 [3]) |
cal_global_history_cumulative_rank_sum_attribute_map_6cdad8f206 | candidate is red when the accepted-rank sum modulo 4 is in [0, 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 % 4 in [0, 1, 2]) |
cal_global_history_cumulative_rank_sum_attribute_map_6d2fa8dbe0 | candidate is red when the accepted-rank sum modulo 5 is in [1, 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 [1, 4]) |
cal_global_history_cumulative_rank_sum_attribute_map_6f9d6960e1 | candidate is red when the accepted-rank sum modulo 5 is in [0, 2, 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 [0, 2, 4]) |
cal_global_history_cumulative_rank_sum_attribute_map_758904d341 | candidate is red when the accepted-rank sum modulo 4 is in [1, 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 [1, 2, 3]) |
cal_global_history_cumulative_rank_sum_attribute_map_7a3be08f2e | candidate is odd when the accepted-rank sum modulo 7 is in [0, 2, 3, 4, 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, 2, 3, 4, 5]) |
cal_global_history_cumulative_rank_sum_attribute_map_7cfc1a6ae4 | candidate is red when the accepted-rank sum modulo 6 is in [0, 3, 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, 3, 4, 5]) |
cal_global_history_cumulative_rank_sum_attribute_map_8135d37963 | candidate is red when the accepted-rank sum modulo 6 is in [0, 1, 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 [0, 1, 2, 3]) |
cal_global_history_cumulative_rank_sum_attribute_map_815c13329d | candidate is odd when the accepted-rank sum modulo 8 is in [1, 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 % 8 in [1, 3, 4, 5, 6]) |
cal_global_history_cumulative_rank_sum_attribute_map_84783d4d0e | candidate is odd when the accepted-rank sum modulo 3 is in [0, 1], and even otherwise | global_history | if not mainline:
return True
total = sum(item.rank for item in mainline)
return (card.rank % 2 == 1) == (total % 3 in [0, 1]) |
cal_global_history_cumulative_rank_sum_attribute_map_84a2ffcd5e | candidate is odd when the accepted-rank sum modulo 3 is in [1], and even otherwise | global_history | if not mainline:
return True
total = sum(item.rank for item in mainline)
return (card.rank % 2 == 1) == (total % 3 in [1]) |
End of preview. Expand in Data Studio
Eleusis Frontier Rules
A simple rule dataset for the
nph4rd/eleusis
inductive-reasoning environment.
It contains 1,228 rules from eight rule families:
train: 907 rulesvalidation: 289 rulestest: 32 rules, with four rules from each family
Each row has exactly four fields:
rule_id: unique rule identifierlabel: human-readable rule labelfamily: semantic rule familycode: executable hidden-rule predicate
Run it with the environment's default settings:
uv run eval nph4rd/eleusis -m <model>
- Downloads last month
- 29