"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 01:12:38.897389
"""

```python
from typing import List, Tuple
import re


def create_fact_checker(sentences: List[str]) -> callable:
    """
    Creates a fact-checking function that evaluates the truthfulness of statements in a list.
    
    Args:
        sentences (List[str]): A list of sentences to be checked for factual accuracy.
        
    Returns:
        callable: A function that takes a sentence and returns a boolean indicating its veracity.
        
    Example usage:
    >>> fact_checker = create_fact_checker(["The Earth orbits the Sun.", "Pythagoras was a chef."])
    >>> print(fact_checker("The Earth orbits the Sun."))
    True
    >>> print(fact_checker("Pythagoras was a chef."))
    False
    """

    known_facts: Tuple[str, bool] = (
        ("The Earth orbits the Sun.", True),
        ("Water boils at 100 degrees Celsius at sea level.", True),
        ("Albert Einstein invented the atomic bomb.", False),
        # Add more known facts as needed
    )

    def check_sentence(sentence: str) -> bool:
        """
        Checks if a sentence is factually accurate.
        
        Args:
            sentence (str): The sentence to be checked.
            
        Returns:
            bool: True if the sentence is factual, False otherwise.
        """
        for known_fact, truth in known_facts:
            if re.search(re.escape(known_fact), sentence):
                return truth
        return False

    return check_sentence


# Example usage
if __name__ == "__main__":
    fact_checker = create_fact_checker(["The Earth orbits the Sun.", "Pythagoras was a chef."])
    print(fact_checker("The Earth orbits the Sun."))
    print(fact_checker("Pythagoras was a chef."))
```