"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 18:01:48.164545
"""

```python
from typing import List, Dict


class FactChecker:
    """A simple fact-checking tool that evaluates statements based on predefined facts.

    Attributes:
        facts (Dict[str, bool]): A dictionary where keys are the statements and values indicate if they are true or false.
    """

    def __init__(self):
        self.facts = {}

    def add_fact(self, statement: str, truth_value: bool) -> None:
        """Add a fact to the checker.

        Args:
            statement (str): The factual statement to be checked.
            truth_value (bool): Whether the statement is true or false.
        """
        self.facts[statement] = truth_value

    def check_fact(self, statement: str) -> bool:
        """Check if a given statement matches its stored truth value.

        Args:
            statement (str): The statement to be checked.

        Returns:
            bool: True if the statement matches its stored truth value, False otherwise.
        """
        return self.facts.get(statement, False)

    def compare_facts(self, statements: List[str]) -> Dict[str, bool]:
        """Compare multiple statements against their stored truth values.

        Args:
            statements (List[str]): A list of statements to be checked.

        Returns:
            Dict[str, bool]: A dictionary mapping each statement to its correctness.
        """
        results = {}
        for statement in statements:
            if statement in self.facts:
                results[statement] = self.facts[statement]
        return results


# Example usage
if __name__ == "__main__":
    checker = FactChecker()
    checker.add_fact("The Earth orbits the Sun", True)
    checker.add_fact("Water boils at 100 degrees Celsius", True)
    checker.add_fact("Pluto is a planet", False)

    print(checker.check_fact("The Earth orbits the Sun"))  # Output: True
    print(checker.compare_facts(["Water boils at 100 degrees Celsius", "Pluto is a dwarf planet"])) 
    # Output: {'Water boils at 100 degrees Celsius': True, 'Pluto is a dwarf planet': False}
```