langfun 0.0.2.dev20240130__py3-none-any.whl → 0.0.2.dev20240131__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.
- langfun/core/coding/python/correction.py +1 -1
- langfun/core/coding/python/generation.py +1 -1
- {langfun-0.0.2.dev20240130.dist-info → langfun-0.0.2.dev20240131.dist-info}/METADATA +1 -1
- {langfun-0.0.2.dev20240130.dist-info → langfun-0.0.2.dev20240131.dist-info}/RECORD +7 -7
- {langfun-0.0.2.dev20240130.dist-info → langfun-0.0.2.dev20240131.dist-info}/LICENSE +0 -0
- {langfun-0.0.2.dev20240130.dist-info → langfun-0.0.2.dev20240131.dist-info}/WHEEL +0 -0
- {langfun-0.0.2.dev20240130.dist-info → langfun-0.0.2.dev20240131.dist-info}/top_level.txt +0 -0
@@ -41,7 +41,7 @@ def run_with_correction(
|
|
41
41
|
error: str | None = None,
|
42
42
|
*,
|
43
43
|
global_vars: dict[str, Any] | None = None,
|
44
|
-
lm: lf.LanguageModel =
|
44
|
+
lm: lf.LanguageModel | None = None,
|
45
45
|
max_attempts: int = 5,
|
46
46
|
sandbox: bool | None = None,
|
47
47
|
timeout: int | None = 5,
|
@@ -89,7 +89,7 @@ class PythonCode(pg.Object):
|
|
89
89
|
timeout: int | None = 5,
|
90
90
|
global_vars: dict[str, Any] | None = None,
|
91
91
|
autofix: int = 3,
|
92
|
-
autofix_lm: lf.LanguageModel =
|
92
|
+
autofix_lm: lf.LanguageModel | None = None,
|
93
93
|
) -> Any:
|
94
94
|
"""Returns the value of the last expression from the source.
|
95
95
|
|
@@ -27,13 +27,13 @@ langfun/core/text_formatting.py,sha256=ytjj7opnRJ6w-pkglL2CZUyfYDXLpNf65E42LBb31
|
|
27
27
|
langfun/core/text_formatting_test.py,sha256=nyKC6tn2L4hPJiqQHgxcbQsJJi4A4Nbj8FiO8iT6B80,1514
|
28
28
|
langfun/core/coding/__init__.py,sha256=5utju_fwEsImaiftx4oXKl9FAM8p281k8-Esdh_-m1w,835
|
29
29
|
langfun/core/coding/python/__init__.py,sha256=MJ-vubliz-ebrZH3OBRKBwMi0S9-FrhGCp8YQLR6_I4,1776
|
30
|
-
langfun/core/coding/python/correction.py,sha256=
|
30
|
+
langfun/core/coding/python/correction.py,sha256=6yO7eIuu2K4tchaAwbVcRro9mCGUzzZ_QbIGZB5P41c,6777
|
31
31
|
langfun/core/coding/python/correction_test.py,sha256=yLqmQ9BPORsnREkrS10PnljEaLR3BoydTVeT3OGoqfU,3507
|
32
32
|
langfun/core/coding/python/errors.py,sha256=fX3Du63uGm25YFXW9D-bV2gntTdTAX3hBFtAnRlmg14,3166
|
33
33
|
langfun/core/coding/python/errors_test.py,sha256=_ZbWJCFIb-FkCK7K1zCuH8W3x_NFt-jNe3dfP8yqaD4,2323
|
34
34
|
langfun/core/coding/python/execution.py,sha256=egbM--NlV4Ya-Yr7VQdLY-Jx92C8lq3dsMc09ojtPxU,10096
|
35
35
|
langfun/core/coding/python/execution_test.py,sha256=lExY6GMLeuCsCKXgM2KbAPJ6kqSlfHmz3RG0-dqfVcI,7197
|
36
|
-
langfun/core/coding/python/generation.py,sha256=
|
36
|
+
langfun/core/coding/python/generation.py,sha256=xivSeOKGN00HnG1TLuFhPfP-JyRuRrSELxVJW2ngqIQ,7750
|
37
37
|
langfun/core/coding/python/generation_test.py,sha256=54bgKr1DgzYFLoqR8bTn7Yjol0gPCuR6XvRltR4l6YM,2777
|
38
38
|
langfun/core/coding/python/parsing.py,sha256=uyvI1c5OLZhMVK2Oltkl3oJxSLlG0wadlpQcYPEE0-U,7097
|
39
39
|
langfun/core/coding/python/parsing_test.py,sha256=9vAWF484kWIm6JZq8NFiMgKUDhXV-deRl1QMmNERfAA,7386
|
@@ -87,8 +87,8 @@ langfun/core/templates/demonstration.py,sha256=vCrgYubdZM5Umqcgp8NUVGXgr4P_c-fik
|
|
87
87
|
langfun/core/templates/demonstration_test.py,sha256=SafcDQ0WgI7pw05EmPI2S4v1t3ABKzup8jReCljHeK4,2162
|
88
88
|
langfun/core/templates/selfplay.py,sha256=yhgrJbiYwq47TgzThmHrDQTF4nDrTI09CWGhuQPNv-s,2273
|
89
89
|
langfun/core/templates/selfplay_test.py,sha256=ZkDfwiW9OtO_MOIdVTRPn6P6vOExQIszqlVQHg5iD3U,2066
|
90
|
-
langfun-0.0.2.
|
91
|
-
langfun-0.0.2.
|
92
|
-
langfun-0.0.2.
|
93
|
-
langfun-0.0.2.
|
94
|
-
langfun-0.0.2.
|
90
|
+
langfun-0.0.2.dev20240131.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
91
|
+
langfun-0.0.2.dev20240131.dist-info/METADATA,sha256=LsCFCO2vNnAxio-DUU9C3p84LoyzuAXJTYCmSnS1VAY,3368
|
92
|
+
langfun-0.0.2.dev20240131.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
93
|
+
langfun-0.0.2.dev20240131.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
|
94
|
+
langfun-0.0.2.dev20240131.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|