"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 12:22:19.355102
"""

```python
from typing import List, Tuple

class FactChecker:
    """A simple fact-checking system that verifies a statement against known facts.
    
    Attributes:
        knowledge_base: A list of tuples where each tuple contains a fact and its source.
    
    Methods:
        add_fact(fact: str, source: str) -> None:
            Adds a new fact to the knowledge base with a given source.
        
        check_fact(statement: str) -> Tuple[bool, str]:
            Checks if a statement is true based on the facts in the knowledge base.
            
    Example Usage:
        checker = FactChecker()
        checker.add_fact("Eden AI", "Official documentation")
        checker.add_fact("Python is a programming language.", "Wikipedia")
        
        result, source = checker.check_fact("Eden AI is an AI system.")
        print(result)  # Output: True
    """
    
    def __init__(self):
        self.knowledge_base: List[Tuple[str, str]] = []
    
    def add_fact(self, fact: str, source: str) -> None:
        """Add a new fact to the knowledge base with a given source."""
        self.knowledge_base.append((fact, source))
    
    def check_fact(self, statement: str) -> Tuple[bool, str]:
        """Check if a statement is true based on the facts in the knowledge base.
        
        Args:
            statement: The statement to verify as a string.
        
        Returns:
            A tuple containing a boolean indicating the truth of the statement and
            the source of the verified fact if it exists, or an empty string otherwise.
        """
        for fact, source in self.knowledge_base:
            if statement.lower() in fact.lower():
                return (True, source)
        return (False, "")


# Example usage
if __name__ == "__main__":
    checker = FactChecker()
    checker.add_fact("Eden AI", "Official documentation")
    checker.add_fact("Python is a programming language.", "Wikipedia")
    
    result, source = checker.check_fact("Eden AI is an AI system.")
    print(result)  # Expected: True
    print(source)  # Expected: Official documentation
    
    result, source = checker.check_fact("Java is a compiled language.")
    print(result)  # Expected: False
    print(source)  # Expected: ""
```