mlfoundations / mlfoundations/evalchemy

[bug] LiveCodeBenchv5

Open
#149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
610
Forks
87
PR merge metrics
No merged PRs in 30d

Description

https://github.com/mlfoundations/evalchemy/blob/main/eval/chat_benchmarks/LiveCodeBenchv5/livecodebench_utils.py#L176

here
this logic result in using single quote or missing space leading to fail
e.g.,
__name__ = '__main__'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open eval/chat_benchmarks/LiveCodeBenchv5/livecodebench_utils.py at line 176 and inspect the formatting logic. Reproduce the LiveCodeBenchv5 case described in the issue, then verify the generated code preserves the required spacing and quote formatting, including the name == 'main' form.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.