langfun 0.1.2.dev202505150805__py3-none-any.whl → 0.1.2.dev202505160805__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.

@@ -37,7 +37,7 @@ class MatchTest(unittest.TestCase):
37
37
  Example(
38
38
  id=3,
39
39
  input=pg.Dict(groundtruth=1),
40
- error=pg.object_utils.ErrorInfo(
40
+ error=pg.symbolic.ErrorInfo(
41
41
  tag='ValueError',
42
42
  description='Bad input.',
43
43
  stacktrace='...',
@@ -51,7 +51,7 @@ class MatchTest(unittest.TestCase):
51
51
  Example(
52
52
  id=3,
53
53
  input=pg.Dict(groundtruth=1),
54
- error=pg.object_utils.ErrorInfo(
54
+ error=pg.symbolic.ErrorInfo(
55
55
  tag='MappingError.CodeError',
56
56
  description='Bad input.',
57
57
  stacktrace='...',
@@ -130,7 +130,7 @@ class ScoreTest(unittest.TestCase):
130
130
  Example(
131
131
  id=3,
132
132
  input=pg.Dict(x=1),
133
- error=pg.object_utils.ErrorInfo(
133
+ error=pg.symbolic.ErrorInfo(
134
134
  tag='ValueError',
135
135
  description='Bad input.',
136
136
  stacktrace='...',
@@ -144,7 +144,7 @@ class ScoreTest(unittest.TestCase):
144
144
  Example(
145
145
  id=3,
146
146
  input=pg.Dict(x=1),
147
- error=pg.object_utils.ErrorInfo(
147
+ error=pg.symbolic.ErrorInfo(
148
148
  tag='MappingError.CodeError',
149
149
  description='Bad input.',
150
150
  stacktrace='...',
langfun/core/logging.py CHANGED
@@ -276,7 +276,7 @@ def log(level: LogLevel,
276
276
  console_lib.write(entry)
277
277
  elif not console:
278
278
  if kwargs:
279
- message = f'{message} (metadata: {pg.format(kwargs)})'
279
+ message = f'{message} (metadata: {pg.format(kwargs, verbose=False)})'
280
280
  system_log_func(level)(message)
281
281
  return entry
282
282
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langfun
3
- Version: 0.1.2.dev202505150805
3
+ Version: 0.1.2.dev202505160805
4
4
  Summary: Langfun: Language as Functions.
5
5
  Home-page: https://github.com/google/langfun
6
6
  Author: Langfun Authors
@@ -10,7 +10,7 @@ langfun/core/langfunc.py,sha256=G50YgoVZ0y1GFw2ev41MlOqr6qa8YakbvNC0h_E0PiA,1114
10
10
  langfun/core/langfunc_test.py,sha256=CDn-gJCa5EnjN7cotAVCfSCbuzddq2o-HzEt7kV8HbY,8882
11
11
  langfun/core/language_model.py,sha256=GCvbu749TviZyLQSNunO0rKeDAb7E_6G4rzqQJerN_E,47913
12
12
  langfun/core/language_model_test.py,sha256=iA5uo7rIj2jAtCYzMzhyNg1fWqE2Onn60bOO58q72C0,36454
13
- langfun/core/logging.py,sha256=jwPamwFYozrs3Tsds8xXG23PhfqODTZ2Au7poTH3yxE,9121
13
+ langfun/core/logging.py,sha256=7IGAhp7mGokZxxqtL-XZvFLKaZ5k3F5_Xp2NUtR4GwE,9136
14
14
  langfun/core/logging_test.py,sha256=vbVGOQxwMmVSiFfbt2897gUt-8nqDpV64jCAeUG_q5U,6924
15
15
  langfun/core/memory.py,sha256=vyXVvfvSdLLJAzdIupnbn3k26OgclCx-OJ7gddS5e1Y,2070
16
16
  langfun/core/message.py,sha256=qUJZ9NfrlYG3aU_K2ud236gdTnvZ7Qw2T4pv4hI9ivg,32817
@@ -72,7 +72,7 @@ langfun/core/eval/v2/experiment_test.py,sha256=UmCobeS6ifPcaGkTJp0WPISolXrVFbeFC
72
72
  langfun/core/eval/v2/metric_values.py,sha256=_B905bC-jxrYPLSEcP2M8MaHZOVMz_bVrUw8YC4arCE,4660
73
73
  langfun/core/eval/v2/metric_values_test.py,sha256=ab2oF_HsIwrSy459108ggyjgefHSPn8UVILR4dRwx14,2634
74
74
  langfun/core/eval/v2/metrics.py,sha256=bl8i6u-ZHRBz4hAc3LzsZ2Dc7ZRQcuTYeUhhH-GxfF0,10628
75
- langfun/core/eval/v2/metrics_test.py,sha256=p4FzLJsE8XAzAQuyP9hfEf9YeKWZ__PO_ue8a9P0-cc,6082
75
+ langfun/core/eval/v2/metrics_test.py,sha256=LibZXvWEJDVRY-Mza_bQT-SbmbXCHUnFhL7Ztlzhzw4,6066
76
76
  langfun/core/eval/v2/progress.py,sha256=azZgssQgNdv3IgjKEaQBuGI5ucFDNbdi02P4z_nQ8GE,10292
77
77
  langfun/core/eval/v2/progress_test.py,sha256=YU7VHzmy5knPZwj9vpBN3rQQH2tukj9eKHkuBCI62h8,2540
78
78
  langfun/core/eval/v2/progress_tracking.py,sha256=zNhNPGlnJnHELEfFpbTMCSXFn8d1IJ57OOYkfFaBFfM,6097
@@ -156,8 +156,8 @@ langfun/core/templates/demonstration.py,sha256=vCrgYubdZM5Umqcgp8NUVGXgr4P_c-fik
156
156
  langfun/core/templates/demonstration_test.py,sha256=SafcDQ0WgI7pw05EmPI2S4v1t3ABKzup8jReCljHeK4,2162
157
157
  langfun/core/templates/selfplay.py,sha256=yhgrJbiYwq47TgzThmHrDQTF4nDrTI09CWGhuQPNv-s,2273
158
158
  langfun/core/templates/selfplay_test.py,sha256=Ot__1P1M8oJfoTp-M9-PQ6HUXqZKyMwvZ5f7yQ3yfyM,2326
159
- langfun-0.1.2.dev202505150805.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
160
- langfun-0.1.2.dev202505150805.dist-info/METADATA,sha256=O9L1gbEi6xg41c0yHT45Pla-2HS9u_5f4f04flDUcIw,8178
161
- langfun-0.1.2.dev202505150805.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
162
- langfun-0.1.2.dev202505150805.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
163
- langfun-0.1.2.dev202505150805.dist-info/RECORD,,
159
+ langfun-0.1.2.dev202505160805.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
160
+ langfun-0.1.2.dev202505160805.dist-info/METADATA,sha256=BClYluq7hbXEWsTxg73Tu4fYJ-PF4lUWBRtEM16UQwc,8178
161
+ langfun-0.1.2.dev202505160805.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
162
+ langfun-0.1.2.dev202505160805.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
163
+ langfun-0.1.2.dev202505160805.dist-info/RECORD,,