feat(evals): add eval coverage report command#28169
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a new CLI tool to track and report evaluation coverage for built-in tools. By analyzing the existing evaluation inventory and comparing it against the tool registry, the new command provides developers with insights into which tools are covered by evaluations, how many cases exist per tool, and any relevant diagnostic information. This addition improves visibility into the test suite's effectiveness and helps identify gaps in tool coverage. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
|
📊 PR Size: size/L
|
There was a problem hiding this comment.
Code Review
This pull request introduces an evaluation coverage reporting tool, adding a new CLI script (scripts/eval-coverage-cli.ts), a utility module (scripts/utils/eval-coverage.ts), associated unit tests, and a new npm script eval:coverage in package.json. The reviewer identified a potential runtime crash (TypeError) in the coverage reporting utility if a tool's category is undefined, and provided a code suggestion to safely default undefined categories to 'unknown'.
e89bdad to
f5e02b0
Compare
Summary
Adds an
eval:coveragecommand that reports eval coverage for built-in tools by cross-referencing eval inventory tool references with the tool registry.Details
npm run eval:coverageto a newscripts/eval-coverage-cli.tsentry point.--rootsupport for running coverage against a specific repo path.Pre-Merge Checklist