sanity_check¶ Check if the input is valid. Parameters¶ branch_balance_factor (int) leaf_balance_factor (int) graph (dict) documents (list)