"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 03:46:15.192777
"""

```python
from typing import List, Dict

class FactChecker:
    """
    A simple fact-checking system that verifies if a statement is true based on given data.
    
    Args:
        data: A list of dictionaries where each dictionary represents an entity with keys 'name' and 'value'.
              Example: [{'name': 'age', 'value': 25}, {'name': 'height', 'value': 180}]
    """
    
    def __init__(self, data: List[Dict[str, int]]):
        self.data = {item['name']: item['value'] for item in data}
        
    def check_fact(self, fact_statement: str) -> bool:
        """
        Check if the given fact statement is true based on the provided data.
        
        Args:
            fact_statement: A string representing a fact to be checked. 
                            The string must match the format "name=value", where 'name' is a key in self.data and 'value' is an integer value.
                            
        Returns:
            True if the statement is true, False otherwise.
        """
        name, value = fact_statement.split('=')
        try:
            return int(value) == self.data[name]
        except KeyError:
            print(f"Error: {name} not found in data.")
            return False
        except ValueError:
            print("Error: Value must be an integer.")
            return False

# Example usage
data = [{'name': 'age', 'value': 25}, {'name': 'height', 'value': 180}]
checker = FactChecker(data)

print(checker.check_fact('age=25'))  # True
print(checker.check_fact('height=170'))  # False
print(checker.check_fact('weight=60'))  # Error: weight not found in data.
```