Skip to content

Name the encoding on the trainer.py read in test_pretokenized_dataset - #15018

Merged
danielhanchen merged 1 commit into
mainfrom
ci-pretokenized-read-encoding
Oct 23, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci-pretokenized-read-encoding

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

tests/test_source_read_encoding.py::test_checked_in_file_reads_name_an_encoding[8] fails on main, for example in Repo tests (CPU, rest) on #15009 and #15010:

studio/backend/tests/test_pretokenized_dataset.py:313: read_text()

#14884 added a read of core/training/trainer.py with the platform default encoding. This passes encoding = "utf-8".

Verification

  • On main: -k checked_in_file_reads gives 1 failed, 15 passed.
  • On this branch: 16 passed.
  • studio/backend/tests/test_pretokenized_dataset.py: 56 passed.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T18:40:25.674455Z 4cc375d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 4cc375d8ec

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen
danielhanchen merged commit 245c2b1 into main Oct 23, 2026
2 of 31 checks passed
@danielhanchen
danielhanchen deleted the ci-pretokenized-read-encoding branch October 23, 2026 18:51
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