"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 03:53:16.566494
"""

```python
from typing import List
from dataclasses import dataclass


@dataclass
class Fact:
    statement: str
    source: str = ""


def create_fact_checker(statements: List[str], sources: List[str] = None) -> callable:
    """
    Create a fact checker function to verify if given statements are true or false.

    :param statements: A list of statements to check.
    :param sources: Optional. A list of sources for the statements, defaults to an empty list.
    :return: A function that takes a statement and returns True if it's considered true,
             otherwise False based on the provided data.
    """
    if sources is None:
        sources = ["Unknown"] * len(statements)

    @dataclass
    class FactChecker:
        facts: List[Fact] = []

        def __post_init__(self):
            for statement, source in zip(statements, sources):
                self.facts.append(Fact(statement=statement, source=source))

        def check_fact(self, statement: str) -> bool:
            """
            Check if the given statement is true based on the stored facts.

            :param statement: The statement to verify.
            :return: True if the fact matches any of the stored statements,
                     otherwise False.
            """
            for fact in self.facts:
                if statement.lower() == fact.statement.lower():
                    return True
            return False

    checker = FactChecker(facts=[Fact(st, so) for st, so in zip(statements, sources)])
    return checker.check_fact


# Example usage:
statements = ["The Earth is round", "Water boils at 100 degrees Celsius"]
sources = ["Science", "Physics"]

fact_checker = create_fact_checker(statements, sources)

print(fact_checker("The Earth is round"))  # Expected: True
print(fact_checker("Water freezes at -459.67 Farenheit"))  # Expected: False

```