graph-games-proto 0.3.1877__py3-none-any.whl → 0.3.1879__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
graph_games_proto/fns.py CHANGED
@@ -4960,14 +4960,12 @@ def json2rng(json_str):
4960
4960
  # end
4961
4961
  @dispatch(State, int)
4962
4962
  def getprivatestate(s, player_idx):
4963
- legal_actions = getlegalactionspecs(s, player_idx)
4964
- goal_completions = get_goal_completions(s, player_idx)
4965
4963
  return PrivateState(
4964
+ my_history=[a for a in s.history if a.player_idx == player_idx],
4966
4965
  player_score=getprivateplayerscore(s, s.player_scores[player_idx]),
4967
4966
  player=s.players[player_idx],
4968
4967
  legal_actions_2 = get_legal_actions(s, player_idx),
4969
- legal_actions=legal_actions,
4970
- goal_completions=goal_completions,
4968
+ goal_completions=get_goal_completions(s, player_idx),
4971
4969
  )
4972
4970
 
4973
4971
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graph_games_proto
3
- Version: 0.3.1877
3
+ Version: 0.3.1879
4
4
  Requires-Dist: multipledispatch==1.0.0
5
5
  Requires-Dist: pyrsistent==0.20.0
6
6
  Requires-Dist: numpy==2.2.4
@@ -1,9 +1,9 @@
1
1
  graph_games_proto/__init__.py,sha256=6JU5hcSKyQZsznafiC7ai9i-fa9U3EkuSCsWTKcKacw,655
2
2
  graph_games_proto/all_types.py,sha256=IpbwftEcHS5Ewz-saFNk0lO9FvcbuHG36odRTayCXUk,54911
3
- graph_games_proto/fns.py,sha256=NgiZX6RTWNv1ck3g9PACr_aDn04DKD7zNUE8cp1aS5k,184111
3
+ graph_games_proto/fns.py,sha256=S6fm3DR2C-Oirg2Jn_tdejq16yiYqny2LdYmiOB1K28,184052
4
4
  graph_games_proto/main.py,sha256=fj2U7KcwrpZtuUhjOX5yVxY18LZvvsxDFYZ_S5mxe04,145
5
5
  graph_games_proto/state.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- graph_games_proto-0.3.1877.dist-info/METADATA,sha256=EQ3DJmFhuBAeqE8a4LySh2PsYwztCzYNW44MvH1mq58,188
7
- graph_games_proto-0.3.1877.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
8
- graph_games_proto-0.3.1877.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
9
- graph_games_proto-0.3.1877.dist-info/RECORD,,
6
+ graph_games_proto-0.3.1879.dist-info/METADATA,sha256=azdf6XC2xVJZuIb_OG7CWmwNDmnVmLGviQfVK3XGuIk,188
7
+ graph_games_proto-0.3.1879.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
8
+ graph_games_proto-0.3.1879.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
9
+ graph_games_proto-0.3.1879.dist-info/RECORD,,