You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions.
system
[{"name": "factorial", "description": "Computes the factorial of a non-negative integer.", "parameters": {"n": {"description": "The non-negative integer to compute the factorial of.", "type": "int"}}}, {"name": "draw_cards", "description": "Shuffles a standard deck of 52 cards and draws a specified number of cards from the top.", "parameters": {"num_draw": {"description": "The number of cards to be drawn. Defaults to 1.", "type": "int, optional", "default": 1}}}, {"name": "expand_around_center", "description": "Helper function to expand around a center for finding palindromic substrings.", "parameters": {"s": {"description": "The input string.", "type": "str"}, "left": {"description": "The left index of the center.", "type": "int"}, "right": {"description": "The right index of the center.", "type": "int"}}}, {"name": "chi_square_independence_test", "description": "Performs a Chi-Square test for independence on a 2x2 contingency table.", "parameters": {"contingency_table": {"description": "A 2x2 contingency table represented as a list of lists.", "type": "List[List[int]]", "default": 0.05}, "significance_level": {"description": "The significance level for the Chi-Square test. Defaults to 0.05.", "type": "float, optional", "default": 0.05}}}]
Draw 7 cards from a shuffled deck and perform a Chi-Square test of independence on the contingency table [[50, 30], [20, 10]] with significance level 0.05.
user
assistant
[{"name": "draw_cards", "arguments": {"num_draw": 7}}, {"name": "chi_square_independence_test", "arguments": {"contingency_table": [[50, 30], [20, 10]], "significance_level": 0.05}}]