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=None, *, 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:
Any