Coverage report: 97%

Files Functions Classes

coverage.py v7.13.1, created at 2026-02-08 18:25 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
stackone_ai / constants.py (no function)   100% 1 0 0   100% 0 0   100%
stackone_ai / feedback / __init__.py (no function)   100% 2 0 0   100% 0 0   100%
stackone_ai / feedback / tool.py FeedbackInput.validate_feedback   100% 4 0 0   100% 2 0   100%
stackone_ai / feedback / tool.py FeedbackInput.validate_account_id   92% 13 1 0   90% 10 1   91%
stackone_ai / feedback / tool.py FeedbackInput.validate_tool_names   100% 4 0 0   100% 2 0   100%
stackone_ai / feedback / tool.py FeedbackTool.execute   97% 31 1 0   88% 8 1   95%
stackone_ai / feedback / tool.py create_feedback_tool   100% 7 0 0   100% 0 0   100%
stackone_ai / feedback / tool.py (no function)   100% 20 0 0   100% 0 0   100%
stackone_ai / integrations / __init__.py (no function)   100% 2 0 0   100% 0 0   100%
stackone_ai / integrations / langgraph.py _ensure_langgraph   100% 2 0 2   100% 0 0   100%
stackone_ai / integrations / langgraph.py _to_langchain_tools   100% 3 0 0   100% 2 0   100%
stackone_ai / integrations / langgraph.py to_tool_node   100% 4 0 0   100% 0 0   100%
stackone_ai / integrations / langgraph.py to_tool_executor   100% 4 0 0   100% 0 0   100%
stackone_ai / integrations / langgraph.py bind_model_with_tools   100% 2 0 0   100% 0 0   100%
stackone_ai / integrations / langgraph.py create_react_agent   100% 3 0 0   100% 0 0   100%
stackone_ai / integrations / langgraph.py (no function)   100% 11 0 0   100% 0 0   100%
stackone_ai / models.py StackOneAPIError.__init__   100% 3 0 0   100% 0 0   100%
stackone_ai / models.py validate_method   100% 4 0 0   100% 2 0   100%
stackone_ai / models.py StackOneTool.__init__   100% 4 0 0   100% 0 0   100%
stackone_ai / models.py StackOneTool._split_feedback_options   100% 6 0 0   100% 4 0   100%
stackone_ai / models.py StackOneTool._prepare_headers   100% 6 0 0   100% 2 0   100%
stackone_ai / models.py StackOneTool._prepare_request_params   100% 19 0 0   100% 12 0   100%
stackone_ai / models.py StackOneTool.execute   96% 57 2 0   81% 16 3   93%
stackone_ai / models.py StackOneTool.call   100% 7 0 0   100% 6 0   100%
stackone_ai / models.py StackOneTool.to_openai_function   100% 25 0 0   85% 20 3   93%
stackone_ai / models.py StackOneTool.to_langchain   100% 25 0 0   100% 10 0   100%
stackone_ai / models.py StackOneTool.to_langchain.StackOneLangChainTool._run   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py StackOneTool.set_account_id   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py StackOneTool.get_account_id   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py Tools.__init__   100% 2 0 0   100% 0 0   100%
stackone_ai / models.py Tools.__getitem__   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py Tools.__len__   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py Tools.__iter__   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py Tools.to_list   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py Tools.get_tool   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py Tools.set_account_id   100% 2 0 0   100% 2 0   100%
stackone_ai / models.py Tools.get_account_id   100% 5 0 0   100% 4 0   100%
stackone_ai / models.py Tools.to_openai   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py Tools.to_langchain   100% 1 0 0   100% 0 0   100%
stackone_ai / models.py Tools.utility_tools   100% 5 0 0   100% 0 0   100%
stackone_ai / models.py (no function)   100% 71 0 0   100% 0 0   100%
stackone_ai / toolset.py _run_async   100% 13 0 0   100% 2 0   100%
stackone_ai / toolset.py _run_async.runner   100% 2 0 2   100% 0 0   100%
stackone_ai / toolset.py _build_auth_header   100% 2 0 0   100% 0 0   100%
stackone_ai / toolset.py _fetch_mcp_tools   100% 6 0 2   100% 0 0   100%
stackone_ai / toolset.py _fetch_mcp_tools._list   100% 15 0 0   100% 4 0   100%
stackone_ai / toolset.py _StackOneRpcTool.__init__   100% 2 0 0   100% 0 0   100%
stackone_ai / toolset.py _StackOneRpcTool.execute   100% 14 0 0   100% 6 0   100%
stackone_ai / toolset.py _StackOneRpcTool._parse_arguments   100% 8 0 0   100% 6 0   100%
stackone_ai / toolset.py _StackOneRpcTool._extract_record   100% 3 0 0   100% 2 0   100%
stackone_ai / toolset.py _StackOneRpcTool._build_action_headers   100% 11 0 0   100% 8 0   100%
stackone_ai / toolset.py StackOneToolSet.__init__   100% 7 0 0   100% 2 0   100%
stackone_ai / toolset.py StackOneToolSet.set_accounts   100% 2 0 0   100% 0 0   100%
stackone_ai / toolset.py StackOneToolSet._filter_by_provider   100% 3 0 0   100% 0 0   100%
stackone_ai / toolset.py StackOneToolSet._filter_by_action   100% 1 0 0   100% 0 0   100%
stackone_ai / toolset.py StackOneToolSet.fetch_tools   100% 21 0 2   100% 12 0   100%
stackone_ai / toolset.py StackOneToolSet._build_mcp_headers   100% 4 0 0   100% 2 0   100%
stackone_ai / toolset.py StackOneToolSet._create_rpc_tool   100% 3 0 0   100% 0 0   100%
stackone_ai / toolset.py StackOneToolSet._normalize_schema_properties   100% 14 0 0   100% 8 0   100%
stackone_ai / toolset.py (no function)   100% 48 0 2   100% 0 0   100%
stackone_ai / utility_tools.py ToolIndex.__init__   100% 22 0 0   100% 2 0   100%
stackone_ai / utility_tools.py ToolIndex.search   94% 32 2 0   88% 16 2   92%
stackone_ai / utility_tools.py create_tool_search   100% 9 0 0   100% 0 0   100%
stackone_ai / utility_tools.py create_tool_search.execute_filter   100% 9 0 0   100% 2 0   100%
stackone_ai / utility_tools.py create_tool_search.ToolSearchTool.__init__   100% 1 0 0   100% 0 0   100%
stackone_ai / utility_tools.py create_tool_search.ToolSearchTool.execute   100% 1 0 0   100% 0 0   100%
stackone_ai / utility_tools.py create_tool_execute   100% 9 0 0   100% 0 0   100%
stackone_ai / utility_tools.py create_tool_execute.execute_tool   100% 11 0 0   100% 6 0   100%
stackone_ai / utility_tools.py create_tool_execute.ToolExecuteTool.__init__   100% 1 0 0   100% 0 0   100%
stackone_ai / utility_tools.py create_tool_execute.ToolExecuteTool.execute   100% 1 0 0   100% 0 0   100%
stackone_ai / utility_tools.py (no function)   100% 18 0 2   100% 0 0   100%
stackone_ai / utils / __init__.py (no function)   100% 0 0 0   100% 0 0   100%
stackone_ai / utils / tfidf_index.py tokenize   100% 4 0 0   100% 0 0   100%
stackone_ai / utils / tfidf_index.py TfidfIndex.__init__   100% 3 0 0   100% 0 0   100%
stackone_ai / utils / tfidf_index.py TfidfIndex.build   97% 39 1 0   88% 26 3   94%
stackone_ai / utils / tfidf_index.py TfidfIndex.search   95% 43 2 0   85% 26 4   91%
stackone_ai / utils / tfidf_index.py (no function)   100% 16 0 0   100% 0 0   100%
Total     99% 762 9 12   93% 232 17   97%

No items found using the specified filter.