Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically correct bad Python code when LMs forget to escape quotes and newline. #35

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

copybara-service[bot]
Copy link

Automatically correct bad Python code when LMs forget to escape quotes and newline.

This is one of the major failure pattern we encountered with symbolic prompting.

@codecov-commenter
Copy link

Codecov Report

Merging #35 (9040635) into main (2fbb846) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   97.26%   97.27%   +0.01%     
==========================================
  Files          38       38              
  Lines        2848     2860      +12     
  Branches      592      597       +5     
==========================================
+ Hits         2770     2782      +12     
  Misses         31       31              
  Partials       47       47              
Files Coverage Δ
langfun/core/coding/python.py 98.22% <100.00%> (+0.13%) ⬆️

…s and newline.

This is one of the major failure pattern we encountered with symbolic prompting.

PiperOrigin-RevId: 571567898
@copybara-service copybara-service bot merged commit 1ed40e7 into main Oct 7, 2023
@copybara-service copybara-service bot deleted the test_571483930 branch October 7, 2023 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants