"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-05 20:33:27.614528
"""

```python
from typing import List, Tuple

class FactChecker:
    """
    A class that provides a basic fact-checking mechanism.
    It supports checking if a statement is likely true or false based on predefined rules.

    ...

    Methods
    -------
    check_fact(statement: str) -> bool:
        Checks the likelihood of a statement being true based on predefined rules.

    Example usage:
    >>> checker = FactChecker()
    >>> checker.check_fact("The Earth orbits around the Sun")
    True
    >>> checker.check_fact("Gravitational constant is 9.8 m/s^2")
    False
    """

    def __init__(self, rules: List[Tuple[str, bool]]):
        self.rules = dict(rules)

    def check_fact(self, statement: str) -> bool:
        """
        Checks if the given statement is likely true based on predefined rules.

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

        Returns:
        bool: True if the statement is likely true, False otherwise.
        """
        for rule, result in self.rules.items():
            if rule in statement.lower():
                return result
        # If no matching rule found, return a default value based on a simple heuristic
        return "true" in statement.lower().split()[-1]

# Example usage:
if __name__ == "__main__":
    rules = [
        ("earth orbits sun", True),
        ("gravitational constant g", False),
        ("speed of light c", True)
    ]
    checker = FactChecker(rules)
    print(checker.check_fact("The Earth orbits around the Sun"))  # Expected: True
    print(checker.check_fact("Gravitational constant is 9.8 m/s^2"))  # Expected: False
```