Update clean_release_notes.py to use per-module highlights#4250
Update clean_release_notes.py to use per-module highlights#4250jerryzh168 merged 2 commits intomainfrom
Conversation
Switch from topic-based categorization (topic: labels) to module-based categorization (module: labels) to align with pytorch/pytorch and vllm release notes format. Module sections are discovered dynamically from PR labels instead of being hardcoded by topic. Before: https://gist.github.com/jerryzh168/e0afec28fc8957b471ff844418dcf7e3 After: https://gist.github.com/jerryzh168/730fea7e57f8c9fe9367e2a395b79708 [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/4250
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 8 PendingAs of commit b87cdd9 with merge base 2a8fa55 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Switch from topic-based categorization (topic: labels) to module-based categorization (module: labels) to align with pytorch/pytorch and vllm release notes format. Module sections are discovered dynamically from PR labels instead of being hardcoded by topic. Before: https://gist.github.com/jerryzh168/e0afec28fc8957b471ff844418dcf7e3 After: https://gist.github.com/jerryzh168/730fea7e57f8c9fe9367e2a395b79708 ghstack-source-id: 7371889 Pull Request resolved: #4250
|
@claude review please |
|
Claude finished @andrewor14's task in 1m 6s —— View job Code Review: Update clean_release_notes.py to use per-module highlights
Overall this is a clean refactor that simplifies the categorization logic. The move from hardcoded topic-based categories with keyword heuristics to dynamically discovered module-based categories is a good direction. A few observations: Positive changes
Suggestions
VerdictThe changes look good. The only actionable nit from this review is #1 (capitalization), which aligns with @andrewor14's existing feedback. |
Switch from topic-based categorization (topic: labels) to module-based categorization (module: labels) to align with pytorch/pytorch and vllm release notes format. Module sections are discovered dynamically from PR labels instead of being hardcoded by topic. Before: https://gist.github.com/jerryzh168/e0afec28fc8957b471ff844418dcf7e3 After: https://gist.github.com/jerryzh168/37594ee89e393cf5b05f4246a2487f45 [ghstack-poisoned]
Switch from topic-based categorization (topic: labels) to module-based categorization (module: labels) to align with pytorch/pytorch and vllm release notes format. Module sections are discovered dynamically from PR labels instead of being hardcoded by topic. Before: https://gist.github.com/jerryzh168/e0afec28fc8957b471ff844418dcf7e3 After: https://gist.github.com/jerryzh168/730fea7e57f8c9fe9367e2a395b79708 ghstack-source-id: e31f830 Pull Request resolved: #4250
|
@claude review again |
|
Claude finished @jerryzh168's task in 54s —— View job Re-review: Update clean_release_notes.py to use per-module highlights
The updated version addresses several issues from the previous iteration. Here's what I see: Previous feedback status
Current code reviewThe code looks good overall. One minor concern: Dynamic insertion ordering logic (lines 218-223): When a new module label is discovered, the code rebuilds the entire The VerdictLGTM. The previous review feedback has been addressed, and the code is in good shape. |
) * Update clean_release_notes.py to use per-module highlights Switch from topic-based categorization (topic: labels) to module-based categorization (module: labels) to align with pytorch/pytorch and vllm release notes format. Module sections are discovered dynamically from PR labels instead of being hardcoded by topic. Before: https://gist.github.com/jerryzh168/e0afec28fc8957b471ff844418dcf7e3 After: https://gist.github.com/jerryzh168/730fea7e57f8c9fe9367e2a395b79708 [ghstack-poisoned] * Update on "Update clean_release_notes.py to use per-module highlights" Switch from topic-based categorization (topic: labels) to module-based categorization (module: labels) to align with pytorch/pytorch and vllm release notes format. Module sections are discovered dynamically from PR labels instead of being hardcoded by topic. Before: https://gist.github.com/jerryzh168/e0afec28fc8957b471ff844418dcf7e3 After: https://gist.github.com/jerryzh168/37594ee89e393cf5b05f4246a2487f45 [ghstack-poisoned]
) * Update clean_release_notes.py to use per-module highlights Switch from topic-based categorization (topic: labels) to module-based categorization (module: labels) to align with pytorch/pytorch and vllm release notes format. Module sections are discovered dynamically from PR labels instead of being hardcoded by topic. Before: https://gist.github.com/jerryzh168/e0afec28fc8957b471ff844418dcf7e3 After: https://gist.github.com/jerryzh168/730fea7e57f8c9fe9367e2a395b79708 [ghstack-poisoned] * Update on "Update clean_release_notes.py to use per-module highlights" Switch from topic-based categorization (topic: labels) to module-based categorization (module: labels) to align with pytorch/pytorch and vllm release notes format. Module sections are discovered dynamically from PR labels instead of being hardcoded by topic. Before: https://gist.github.com/jerryzh168/e0afec28fc8957b471ff844418dcf7e3 After: https://gist.github.com/jerryzh168/37594ee89e393cf5b05f4246a2487f45 [ghstack-poisoned]
Stack from ghstack (oldest at bottom):
Switch from topic-based categorization (topic: labels) to module-based
categorization (module: labels) to align with pytorch/pytorch and vllm
release notes format. Module sections are discovered dynamically from
PR labels instead of being hardcoded by topic.
Before: https://gist.github.com/jerryzh168/e0afec28fc8957b471ff844418dcf7e3
After: https://gist.github.com/jerryzh168/37594ee89e393cf5b05f4246a2487f45