Skip to content

test(core): capture compatibility baselines for refactoring - #157

Open
erweixin wants to merge 1 commit into
mainfrom
feat-test
Open

erweixin wants to merge 1 commit into
mainfrom
feat-test

Conversation

@erweixin

@erweixin erweixin commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Add opt-in captures for the main, mhchem and prooftree corpora, comparing complete ASTs, DisplayLists, render results and PNG bytes against a local baseline. Keep committed visual references and generated data untouched.

Cover inherited styles/colors, array tags with row gaps and proof labels at domain boundaries, and document how to reproduce acceptance checks.

Add opt-in captures for the main, mhchem and prooftree corpora, comparing
complete ASTs, DisplayLists, render results and PNG bytes against a local
baseline. Keep committed visual references and generated data untouched.

Cover inherited styles/colors, array tags with row gaps and proof labels
at domain boundaries, and document how to reproduce acceptance checks.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 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-09-07T06:52:34.282714Z d9edc47 PR opened
ℹ️ 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 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: d9edc47a02

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

#[test]
fn compound_domains_preserve_inherited_color_in_every_style() {
let color = Color::new(0.2, 0.4, 0.6, 0.75);
for style in [MathStyle::Display, MathStyle::Text, MathStyle::Script] {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Exercise every MathStyle variant

Expand this loop to include the cramped and scriptscript variants. MathStyle has eight variants, but this test exercises only Display, Text, and Script; therefore a refactor that breaks inherited colors specifically for root ScriptScript sizing or any cramped style will still pass despite the test's in_every_style contract.

Useful? React with 👍 / 👎.

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