tooluniverse.tools.CodeQualityAnalyzer module¶
CodeQualityAnalyzer
Analyzes code quality from multiple dimensions including algorithmic correctness, functional impl…
- tooluniverse.tools.CodeQualityAnalyzer.CodeQualityAnalyzer(tool_name, tool_description, tool_parameters, implementation_code, test_cases, test_execution_results, *, stream_callback=None, use_cache=False, validate=True)[source]¶
Analyzes code quality from multiple dimensions including algorithmic correctness, functional impl…
- Parameters:
tool_name (
str) – Name of the tool being analyzedtool_description (
str) – Description of what the tool is supposed to dotool_parameters (
str) – JSON string of tool parameters and their typesimplementation_code (
str) – The actual implementation code to analyzetest_cases (
str) – JSON string of test cases for the tooltest_execution_results (
str) – JSON string of test execution results including pass/fail status and actual o…stream_callback (
Callable, optional) – Callback for streaming output
- Return type:
dict[str,Any]