def to_json_single(self):
        """parse the last try
        Though the nodes are formed as a tree, We still know they are actually a chain
        """
        json_obj = {}
        tree_obj = self.terminal_node[-1].get_chain_result_from_this_node()
        json_obj["chain"] = tree_obj
        json_obj["win"] = self.status == 1
        return json_obj
parse the last try
        Though the nodes are formed as a tree, We still know they are actually a chain
        
toolbench/inference/Algorithms/single_chain.py