Coverage report: 87%

Files Functions Classes

coverage.py v7.11.0, created at 2025-12-24 09:48 +0000

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

No items found using the specified filter.