parameters: (base_profile, num_checkpts)
return_statement: return new_queries
docstring: Constructs a list of checkpoint selection tuples to query value function.
  
    Each query tuple (key, query) where key = (pi,) and query is
    (p1's selected checkpt, ..., p7's selected checkpt) fixes the players in the
    game of diplomacy to be played. It may be necessary to play several games with
    the same players to form an accurate estimate of the value or payoff for each
    player as checkpts contain stochastic policies.
  
    Args:
      base_profile: list of selected checkpts for each player, i.e.,
        a sample from the player strategy profile ([x_i ~ p(x_i)])
      num_checkpts: list of ints, number of strats (or ckpts) per player
    Returns:
      Set of query tuples containing a selected checkpoint index for each player.
docstring_summary: Constructs a list of checkpoint selection tuples to query value function.
docstring_tokens: Constructs a list of checkpoint selection tuples to query value function .
function: def construct_game_queries_for_exp(base_profile, num_checkpts):
    """Constructs a list of checkpoint selection tuples to query value function.
  
    Each query tuple (key, query) where key = (pi,) and query is
    (p1's selected checkpt, ..., p7's selected checkpt) fixes the players in the
    game of diplomacy to be played. It may be necessary to play several games with
    the same players to form an accurate estimate of the value or payoff for each
    player as checkpts contain stochastic policies.
  
    Args:
      base_profile: list of selected checkpts for each player, i.e.,
        a sample from the player strategy profile ([x_i ~ p(x_i)])
      num_checkpts: list of ints, number of strats (or ckpts) per player
    Returns:
      Set of query tuples containing a selected checkpoint index for each player.
    """
    new_queries = set([])
  
    num_players = len(base_profile)
    for pi in range(num_players):
      new_profile = list(base_profile)
      for ai in range(num_checkpts[pi]):
        new_profile[pi] = ai
        query = tuple(new_profile)
        new_queries.update([(pi, query)])
  
    return new_queries
function_tokens: def construct_game_queries_for_exp ( base_profile , num_checkpts ) : new_queries = set ( [ ] ) num_players = len ( base_profile ) for pi in range ( num_players ) : new_profile = list ( base_profile ) for ai in range ( num_checkpts [ pi ] ) : new_profile [ pi ] = ai query = tuple ( new_profile ) new_queries . update ( [ ( pi , query ) ] ) return new_queries