Skip to content

Clamp supervised spans to assistant turns - #34

Open
armand0e wants to merge 4 commits into
mainfrom
codex/granite-span-boundaries
Open

Clamp supervised spans to assistant turns#34
armand0e wants to merge 4 commits into
mainfrom
codex/granite-span-boundaries

Conversation

@armand0e

Copy link
Copy Markdown
Collaborator

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7aa07663a8

ℹ️ 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".

Comment thread src/teich/formatter.py Outdated
Comment thread src/teich/formatter.py Outdated
Comment thread src/teich/formatter.py Outdated
Comment thread src/teich/formatter.py Outdated
@armand0e

Copy link
Copy Markdown
Collaborator Author

@codex please revie the latest state of everything and make sure it's all good and doesn't break anything existing model paths

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2799a9923a

ℹ️ 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".

Comment thread src/teich/audit.py Outdated
Comment thread src/teich/protocol.py
Comment thread src/teich/formatter.py Outdated
Comment thread src/teich/formatter.py Outdated
Comment thread src/teich/formatter.py
@armand0e

Copy link
Copy Markdown
Collaborator Author

Addressed the latest Codex review in 202b7fe. The audit now rejects contiguous label runs that begin at non-assistant ChatML headers; full literal ChatML transcript snippets are disambiguated with marker-derived source spans; Llama ipython tool-result turns and Phi <|end|> terminators are indexed; and turn-header validation no longer allocates progressively larger text prefixes. Added focused regressions for each case. Verification: 720 passed / 28 skipped locally, 26/26 live tokenizer tests passed, Ruff and mypy passed, wheel/sdist passed, and all required GitHub CI checks passed.

@CompactAIOfficial CompactAIOfficial added enhancement New feature or request question Further information is requested triaged labels Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request question Further information is requested triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants