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 analyzed

  • tool_description (str) – Description of what the tool is supposed to do

  • tool_parameters (str) – JSON string of tool parameters and their types

  • implementation_code (str) – The actual implementation code to analyze

  • test_cases (str) – JSON string of test cases for the tool

  • test_execution_results (str) – JSON string of test execution results including pass/fail status and actual o…

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any