langfun 0.1.2.dev202510020804__py3-none-any.whl → 0.1.2.dev202510030804__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.

Potentially problematic release.


This version of langfun might be problematic. Click here for more details.

@@ -768,13 +768,14 @@ class BaseSandbox(interface.Sandbox):
768
768
  new_status: interface.Sandbox.Status,
769
769
  ) -> None:
770
770
  """Called when the sandbox status changes."""
771
+ status_duration = time.time() - self._status_start_time
771
772
  for handler in self._event_handlers:
772
773
  handler.on_sandbox_status_change(
773
774
  self.environment,
774
775
  self,
775
776
  old_status,
776
777
  new_status,
777
- time.time() - self._status_start_time
778
+ status_duration
778
779
  )
779
780
 
780
781
  def on_shutdown(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langfun
3
- Version: 0.1.2.dev202510020804
3
+ Version: 0.1.2.dev202510030804
4
4
  Summary: Langfun: Language as Functions.
5
5
  Home-page: https://github.com/google/langfun
6
6
  Author: Langfun Authors
@@ -168,7 +168,7 @@ langfun/core/templates/selfplay_test.py,sha256=Ot__1P1M8oJfoTp-M9-PQ6HUXqZKyMwvZ
168
168
  langfun/env/__init__.py,sha256=m6Y8y16ms9lytvO_r-Br8HmTp2rNDhb3R6JJaH5dEEk,1491
169
169
  langfun/env/base_environment.py,sha256=m7IJNHqt4dlgBRwv0E8BxKtARvcNJis9FrrALguzX1E,19472
170
170
  langfun/env/base_feature.py,sha256=gGUCWLcSaQZ7MoXNKogXEdcpfoqJxcfnoXhWQjqi8jk,6462
171
- langfun/env/base_sandbox.py,sha256=6AqTvMf9U-Gl8fQ_o7lPkHgcOnBLWcORnasr_D9EcF8,37263
171
+ langfun/env/base_sandbox.py,sha256=yG_4qG5MVIEP5uyXO2KssZFSFDewwNvF7Hr_qE7yGfQ,37301
172
172
  langfun/env/base_test.py,sha256=DrBtyweO4v8Fz3Oz-gnpJ4W_9hRhuVXA1CTLvXJDa9s,61099
173
173
  langfun/env/interface.py,sha256=2Amf-_op7dGRF8c4-wYxcFxs1UCBYz1AB20Lk7__V4E,25724
174
174
  langfun/env/interface_test.py,sha256=hfQn4RRTEo1YfVHXTPzH1puzD14BTo8R_5v1IpXVZ90,1398
@@ -181,8 +181,8 @@ langfun/env/event_handlers/event_logger.py,sha256=3dbPjBe53dBgntYHlyLlj_77hVecPS
181
181
  langfun/env/event_handlers/event_logger_test.py,sha256=PGof3rPllNnyzs3Yp8kaOHLeTkVrzUgCJwlODTrVRKI,9111
182
182
  langfun/env/event_handlers/metric_writer.py,sha256=cnJe0BeWntUZ56NlwB8lkv2udcldds9GNyMg71Zz-II,16994
183
183
  langfun/env/event_handlers/metric_writer_test.py,sha256=4tI7s3o1Gw1bawXewaEZ65EPPOcr8A4m1bLK7uUcJY4,4735
184
- langfun-0.1.2.dev202510020804.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
185
- langfun-0.1.2.dev202510020804.dist-info/METADATA,sha256=NSlv92lPclUSD0f_JqAlvYHI7_SeCdnoGGku1d7bESg,7380
186
- langfun-0.1.2.dev202510020804.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
187
- langfun-0.1.2.dev202510020804.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
188
- langfun-0.1.2.dev202510020804.dist-info/RECORD,,
184
+ langfun-0.1.2.dev202510030804.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
185
+ langfun-0.1.2.dev202510030804.dist-info/METADATA,sha256=pnf-G2aaq01pjO4QANdrpq28uiuodYyVnDi4fNithS4,7380
186
+ langfun-0.1.2.dev202510030804.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
187
+ langfun-0.1.2.dev202510030804.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
188
+ langfun-0.1.2.dev202510030804.dist-info/RECORD,,