Skip to content

Add Java testcases#14

Merged
zeyu-zh merged 1 commit intoalibaba:mainfrom
jizhao-helloworld:main
Feb 2, 2026
Merged

Add Java testcases#14
zeyu-zh merged 1 commit intoalibaba:mainfrom
jizhao-helloworld:main

Conversation

@jizhao-helloworld
Copy link
Copy Markdown
Contributor

  • Add Java testcases, increase the number of Java test cases from 37 to 53.
  • Changed default locale from zh-CN to en-US in configuration loading.
  • Updated scoring weights in basic_calc_score to reflect new categories:
    • "medium" (1.0), "high" (2.0), and "critical" (4.0).
  • Enhanced response formatting in eval.py to extract XML content and handle parameters for LLM API calls.
  • Modified UniversalEvaluator to accept parameters for LLM API calls.
  • Updated LLMBase and OPENAI classes to handle user prompts and parameters correctly.
  • Adjusted FunctionTester to pass parameters during code fixing attempts.
  • Changed Testcase methods to default to en-US for prompt loading.

…to 53.

- Changed default locale from zh-CN to en-US in configuration loading.
- Updated scoring weights in basic_calc_score to reflect new categories:
  - "medium" (1.0), "high" (2.0), and "critical" (4.0).
- Enhanced response formatting in eval.py to extract XML content and handle parameters for LLM API calls.
- Modified UniversalEvaluator to accept parameters for LLM API calls.
- Updated LLMBase and OPENAI classes to handle user prompts and parameters correctly.
- Adjusted FunctionTester to pass parameters during code fixing attempts.
- Changed Testcase methods to default to en-US for prompt loading.
@zeyu-zh zeyu-zh merged commit 5e83efa into alibaba:main Feb 2, 2026
1 check passed
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.

2 participants