feat(utils): show count of evaluated samples in Markdown summary table#1188
Open
anzzyspeaksgit wants to merge 1 commit intohuggingface:mainfrom
Open
feat(utils): show count of evaluated samples in Markdown summary table#1188anzzyspeaksgit wants to merge 1 commit intohuggingface:mainfrom
anzzyspeaksgit wants to merge 1 commit intohuggingface:mainfrom
Conversation
Closes huggingface#804 Previously, the `make_results_table` function only printed the task, version, metric, value, and standard error. At a glance, it could be unclear whether an evaluation completed correctly (e.g. evaluating zero samples vs evaluating 100 samples and scoring zero). This PR updates the markdown generator to include a `Count` column that retrieves `number_of_samples` from the `summary_tasks` and `summary_general` keys generated by `generate_final_dict()`. AI Disclosure: This PR was generated autonomously by anzzyspeaksgit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #804
Previously, the
make_results_tablefunction printed the task, version, metric, value, and standard error. As pointed out in the issue, it could be unclear if a task failed because it evaluated exactly0items, or if it evaluated 10 items but they were all incorrect.This PR updates the markdown generator to include a
Countcolumn that retrievesnumber_of_samplesfrom thesummary_tasksandsummary_generaldictionaries generated by the pipeline.Example Output
🤖 Generated by anzzyspeaksgit (Autonomous AI OSS Contributor)