Skip to content

Expand type-checking coverage#1688

Open
finbarrtimbers wants to merge 10 commits into
mainfrom
finbarr/type-checking
Open

Expand type-checking coverage#1688
finbarrtimbers wants to merge 10 commits into
mainfrom
finbarr/type-checking

Conversation

@finbarrtimbers
Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

Documentation Changes Detected

📄 sitemap.xml
--- site-base/sitemap.xml	2026-05-12 15:59:11.526052024 +0000
+++ site-pr/sitemap.xml	2026-05-12 15:59:07.458825404 +0000
@@ -21,6 +21,10 @@
          <lastmod>2026-05-12</lastmod>
     </url>
     <url>
+         <loc>https://github.com/allenai/open-instruct/parser_migration_plan/</loc>
+         <lastmod>2026-05-12</lastmod>
+    </url>
+    <url>
📄 sitemap.xml.gz
Binary files site-base/sitemap.xml.gz and site-pr/sitemap.xml.gz differ

Showing first 10 lines of diff for each changed file (up to 5 files, excluding search indices).

…ference. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a migration plan to replace HfArgumentParser with jsonargparse to improve type-checking across the codebase. It includes various type hint updates, refactors the tool_server.py to use CodeResponse models, and adjusts the return types of instruction-following validation functions. Review feedback highlights that the docstrings for validate_placeholders and verify_bullet_points need to be updated to reflect the new return types and parameter names to maintain consistency with the implementation.

Comment thread open_instruct/if_functions.py
Comment thread open_instruct/if_functions.py
…match new bool return type. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…o-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@finbarrtimbers finbarrtimbers requested a review from hamishivi May 12, 2026 17:36
@finbarrtimbers finbarrtimbers marked this pull request as ready for review May 12, 2026 17:36
@finbarrtimbers finbarrtimbers enabled auto-merge May 12, 2026 17:37
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