"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 13:30:25.163853
"""

```python
from typing import List, Dict
from functools import lru_cache

class FactChecker:
    """
    A class for checking facts based on given evidence.
    It uses a simple scoring mechanism to evaluate the reliability of statements.
    """

    def __init__(self):
        self.evidence_db: Dict[str, int] = {}
    
    def add_evidence(self, statement: str, score: int) -> None:
        """
        Adds or updates an evidence entry in the database.

        :param statement: The fact to be verified.
        :param score: A reliability score for the given statement.
        """
        self.evidence_db[statement] = score

    @lru_cache(maxsize=1024)
    def check_fact(self, statement: str) -> bool:
        """
        Checks if a statement is true based on available evidence.

        :param statement: The fact to be verified.
        :return: True if the majority of the evidence supports the fact, False otherwise.
        """
        if statement in self.evidence_db:
            return self._evaluate_statement(statement)
        else:
            print(f"No evidence for '{statement}'")
            return False

    def _evaluate_statement(self, statement: str) -> bool:
        """
        Evaluates a single statement by comparing its score against a threshold.

        :param statement: The fact to be evaluated.
        :return: True if the average reliability score is above 50%, otherwise False.
        """
        # Assuming a simple majority rule for this example
        return self.evidence_db[statement] > 50

# Example usage:
if __name__ == "__main__":
    checker = FactChecker()
    checker.add_evidence("The sky is blue", 90)
    checker.add_evidence("The Earth orbits the Sun", 85)
    checker.add_evidence("Water boils at 100 degrees Celsius under standard atmospheric pressure", 75)

    print(checker.check_fact("The sky is blue"))  # Expected: True
    print(checker.check_fact("Water freezes at -40 degrees Celsius"))  # Not in evidence_db, should return False
```