Skip to content

Fix stray H1 headings in gradient_estimation (single-H1 compliance) - #1674

Open
classiqdor wants to merge 1 commit into
mainfrom
update_notebook_convention__fix_gradient_h1
Open

Fix stray H1 headings in gradient_estimation (single-H1 compliance)#1674
classiqdor wants to merge 1 commit into
mainfrom
update_notebook_convention__fix_gradient_h1

Conversation

@classiqdor

Copy link
Copy Markdown
Contributor

gradient_estimation.ipynb predates the single-H1 pre-commit enforcement (#1642), so its
section headings (# Introduction, # Implementation, … # References) are still H1.

Because Lint.yml runs pre-commit --all-files, the single-H1 hook auto-demotes them on
every PR → non-empty diff → Lint fails repo-wide (main doesn't run Lint on push, so it
stayed latent). This demotes the 7 stray H1s to ## — exactly the hook's own fix.
Markdown-only; no code or output changes.

🤖 Generated with Claude Code

gradient_estimation.ipynb predates the single-H1 pre-commit enforcement (#1642),
so its section headings (Introduction, Implementation, ... References) are still
`#` (H1). Because Lint runs pre-commit --all-files, the hook auto-demotes them on
every PR → non-empty diff → Lint fails repo-wide. This applies the hook's own fix
(# -> ##); markdown-only, no code/output changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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