"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 18:09:50.025332
"""

```python
from typing import List, Dict, Any


class FactChecker:
    """
    A class to check the validity of facts based on given evidence.
    Limited reasoning sophistication is achieved by using a simple rule-based approach.

    Attributes:
        rules: A list of functions that define the checking logic.
        evidence: A dictionary containing factual information for verification.
    """

    def __init__(self, rules: List[callable], evidence: Dict[str, Any]):
        self.rules = rules
        self.evidence = evidence

    @staticmethod
    def rule1(evidence: Dict[str, Any]) -> bool:
        """
        Rule 1: Checks if the date in evidence is within a specific range.
        """
        return 'date' in evidence and 2020 <= int(evidence['date']) <= 2030

    @staticmethod
    def rule2(evidence: Dict[str, Any]) -> bool:
        """
        Rule 2: Checks if the temperature mentioned is above a certain threshold.
        """
        return 'temperature' in evidence and float(evidence['temperature']) > 15.0

    def apply_rules(self) -> List[bool]:
        """
        Applies all defined rules to the given evidence.

        Returns:
            A list of boolean values indicating if each rule passed or failed.
        """
        results = []
        for rule in self.rules:
            result = rule(evidence=self.evidence)
            results.append(result)
        return results

    def check_fact(self) -> Dict[str, Any]:
        """
        Checks the validity of the fact based on predefined rules.

        Returns:
            A dictionary with boolean values indicating if each rule passed.
        """
        results = self.apply_rules()
        output = {f'rule_{i}': result for i, result in enumerate(results)}
        return output


# Example usage
if __name__ == '__main__':
    fact_checker = FactChecker(
        rules=[FactChecker.rule1, FactChecker.rule2],
        evidence={'date': 2022, 'temperature': 20.5}
    )
    
    check_result = fact_checker.check_fact()
    print(check_result)
```

This code defines a `FactChecker` class that can verify the validity of facts using predefined rules. The example usage at the bottom demonstrates how to create an instance and check if a given piece of evidence passes certain rules related to date range and temperature threshold.