weco 0.2.1__py3-none-any.whl → 0.2.2__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.
weco/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # DO NOT EDIT
2
- __pkg_version__ = "0.2.1"
2
+ __pkg_version__ = "0.2.2"
3
3
  __api_version__ = "v1"
4
4
  __base_url__ = f"https://api.aide.weco.ai/{__api_version__}"
weco/cli.py CHANGED
@@ -185,6 +185,9 @@ def main() -> None:
185
185
  # Save next solution (.runs/<session-id>/step_<step>.py)
186
186
  write_to_path(fp=runs_dir / f"step_{step}.py", content=eval_and_next_solution_response["code"])
187
187
 
188
+ # Write the next solution to the source file
189
+ write_to_path(fp=source_fp, content=eval_and_next_solution_response["code"])
190
+
188
191
  # Get the optimization session status for
189
192
  # the best solution, its score, and the history to plot the tree
190
193
  status_response = get_optimization_session_status(console=console, session_id=session_id, include_history=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: weco
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Documentation for `weco`, a CLI for using Weco AI's code optimizer.
5
5
  Author-email: Weco AI Team <dhruv@weco.ai>
6
6
  License: MIT
@@ -0,0 +1,11 @@
1
+ weco/__init__.py,sha256=piNl2k8gLYD32s0kA8QqBDe7vANYnzN_QN9bWtfRsks,124
2
+ weco/api.py,sha256=JHAm60sO51Y2tzLnyAAFv9OLm75o_RNWeoK-gYF4VHE,3342
3
+ weco/cli.py,sha256=OneQ8a7ySgtzrNGo0l53Ij_I_p0RTVQ8GV2n66wIJv0,16050
4
+ weco/panels.py,sha256=iUZWtZfohaWeI6-x6pf2kKN1c8IL7U_AhpBBeFhtFhk,11642
5
+ weco/utils.py,sha256=g1Lchd3_L-eGRNkqr2IyRZ5FJfZTrFf9aTmmpMtdhko,3761
6
+ weco-0.2.2.dist-info/licenses/LICENSE,sha256=p_GQqJBvuZgkLNboYKyH-5dhpTDlKs2wq2TVM55WrWE,1065
7
+ weco-0.2.2.dist-info/METADATA,sha256=jy-GYv-J4qga01Ic2HtzkG1P3MDlgNjq_aas4EukZ0o,5270
8
+ weco-0.2.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
9
+ weco-0.2.2.dist-info/entry_points.txt,sha256=ixJ2uClALbCpBvnIR6BXMNck8SHAab8eVkM9pIUowcs,39
10
+ weco-0.2.2.dist-info/top_level.txt,sha256=F0N7v6e2zBSlsorFv-arAq2yDxQbzX3KVO8GxYhPUeE,5
11
+ weco-0.2.2.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- weco/__init__.py,sha256=koJNoSeMGancUuZqPmgLooGtAxN6i_CaXjGzlalQbPs,124
2
- weco/api.py,sha256=JHAm60sO51Y2tzLnyAAFv9OLm75o_RNWeoK-gYF4VHE,3342
3
- weco/cli.py,sha256=q1UuQ8xe2R5dpLhxPGJEW9mOFozH0oRlTbyyVD70XlU,15895
4
- weco/panels.py,sha256=iUZWtZfohaWeI6-x6pf2kKN1c8IL7U_AhpBBeFhtFhk,11642
5
- weco/utils.py,sha256=g1Lchd3_L-eGRNkqr2IyRZ5FJfZTrFf9aTmmpMtdhko,3761
6
- weco-0.2.1.dist-info/licenses/LICENSE,sha256=p_GQqJBvuZgkLNboYKyH-5dhpTDlKs2wq2TVM55WrWE,1065
7
- weco-0.2.1.dist-info/METADATA,sha256=8iqiP7rRPAnlDfPXfjw4W2eRG0-PFkkNWRaFcS-L00U,5270
8
- weco-0.2.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
9
- weco-0.2.1.dist-info/entry_points.txt,sha256=ixJ2uClALbCpBvnIR6BXMNck8SHAab8eVkM9pIUowcs,39
10
- weco-0.2.1.dist-info/top_level.txt,sha256=F0N7v6e2zBSlsorFv-arAq2yDxQbzX3KVO8GxYhPUeE,5
11
- weco-0.2.1.dist-info/RECORD,,
File without changes