Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BFCL] Use N/A in Score Report for Unevaluated Categories #849

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

HuanzhiMao
Copy link
Collaborator

@HuanzhiMao HuanzhiMao commented Dec 20, 2024

Previously, when a test category was not evaluated, it was represented as a “0” in the score CSV files. This made it difficult to distinguish between a category that was unevaluated and one where the model actually scored a 0. In this PR, unevaluated categories will be marked as “N/A” to clarify this distinction.
Additionally, this PR refactors the code related to the score report output section to reduce duplication and improve maintainability.

Note: This change will not affect leaderboard scores. If a category is unevaluated, it will still be treated as a 0 when calculating the overall accuracy, and the overall accuracy column will report the score with 0 taken into account.
For summary columns that are the average of a few categories (for example, python simple (which consists of simple, java, and javascript), if any of the categories involved are unevaluated, the summary column will be marked as 'N/A` to avoid confusion.

@HuanzhiMao HuanzhiMao changed the title [BFCL] Use N'A in Score Report for Unevaluated Categories [BFCL] Use N/A in Score Report for Unevaluated Categories Dec 20, 2024
HuanzhiMao added a commit that referenced this pull request Dec 21, 2024
This PR improves the behavior of the generation and evaluation pipeline.
When executable categories are involved and API keys are not provided in
the `.env` file, instead of throwing an error, the affected categories
will now be skipped. This enhancement provides a smoother experience for
first-time users.

1. What will happen to overall score? What would be the difference
between score on BFCL official leaderboard vs. without Executable?

If the API Key is not provided, that category will not be evaluated and
will be treated as 0 by default in the overall score calculation, which
means the overall score (and the one on the leaderboard) will be hurt if
the API Keys are not supplied. PR #849 should make things more clear.


2. What percentage of executable are there?

310 in total, out of 4751 entries.
Copy link
Collaborator

@Fanjia-Yan Fanjia-Yan left a comment

Choose a reason for hiding this comment

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

Multi-turn or Live won't have N/A in score CSV Is that expected?

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.

3 participants