"""Create logic_validator
Generated by Phi-Octopus Eden
2025-11-08 20:22:38.653257
"""

```python
def create_logic_validator(logic_str: str) -> callable:
    """
    Creates a logic validator function from a string representation of logical expressions.
    
    Args:
        logic_str (str): A string representing a logical expression using 'and', 'or', and 'not'.
        
    Returns:
        callable: A function that takes any number of boolean arguments and evaluates the given
                  logical expression.
                  
    Raises:
        ValueError: If the input string is not a valid logical expression.
    
    Example usage:
        >>> logic_validator = create_logic_validator("a and b or not c")
        >>> logic_validator(True, False, True)
        False
        >>> logic_validator(False, True, False)
        True
    """
    import ast
    from operator import attrgetter

    class ExpressionTreeBuilder(ast.NodeVisitor):
        def visit_BoolOp(self, node: ast.BoolOp) -> None:
            value = self.visit(node.values[0])
            for op, next_value in zip(node.values[1:], node.values[2:]):
                if isinstance(op, ast.And):
                    value = value and self.visit(next_value)
                elif isinstance(op, ast.Or):
                    value = value or self.visit(next_value)
                else:
                    raise ValueError("Unsupported boolean operation")
            return value

        def visit_Name(self, node: ast.Name) -> bool:
            return locals().get(node.id)

    class LogicValidator(ast.Expression, ExpressionTreeBuilder):
        def __init__(self, logic_str: str):
            tree = ast.parse(logic_str, mode='eval')
            self.body = self.visit(tree.body)
        
        def eval(self, **kwargs) -> bool:
            return self.generic_visit(self.body, locals=locals())

    try:
        return LogicValidator(logic_str).eval
    except Exception as e:
        raise ValueError(f"Invalid logical expression: {e}")


# Example usage
logic_validator = create_logic_validator("a and b or not c")
print(logic_validator(a=True, b=False, c=True))  # Output: False
print(logic_validator(a=False, b=True, c=False))  # Output: True

# Additional code to ensure the function works as expected with more examples can be added here.
```