Skip to content

fix: close abstract files in sentence_splitting_evaluation#619

Open
Chessing234 wants to merge 1 commit into
allenai:mainfrom
Chessing234:fix/sentence-split-eval-abstract-file
Open

fix: close abstract files in sentence_splitting_evaluation#619
Chessing234 wants to merge 1 commit into
allenai:mainfrom
Chessing234:fix/sentence-split-eval-abstract-file

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

  • Evaluation loop left per-abstract input files open after reading.
  • Use a context manager when loading abstract sentence files.

Test plan

  • Run sentence_splitting_evaluation on a small fixture directory

Made with Cursor

Use a context manager when reading per-abstract evaluation inputs.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant