"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-05 22:30:28.601870
"""

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

class FactChecker:
    """
    A simple fact checker class that validates facts based on predefined criteria.
    
    Attributes:
        criteria (Dict[str, str]): A dictionary mapping fact types to their validation rules.
    """

    def __init__(self, criteria: Dict[str, str]):
        self.criteria = criteria

    def validate_facts(self, facts: List[Dict[str, Any]]) -> bool:
        """
        Validates a list of facts against the predefined criteria.
        
        Args:
            facts (List[Dict[str, Any]]): A list of facts to be validated. Each fact is represented as a dictionary with 'type' and 'value'.
            
        Returns:
            bool: True if all facts are valid according to the criteria, False otherwise.
        """
        for fact in facts:
            if fact['type'] not in self.criteria or not eval(fact['value'] + self.criteria[fact['type']]):
                return False
        return True

def create_fact_checker() -> FactChecker:
    """
    Creates and returns a FactChecker instance with predefined validation criteria.
    
    Returns:
        FactChecker: A fact checker object configured to validate facts based on specific rules.
    """
    criteria = {
        'temperature': ' == "positive" and float > 0',
        'humidity': ' == "negative" and float < 0'
    }
    return FactChecker(criteria)

# Example usage
if __name__ == "__main__":
    fact_checker = create_fact_checker()
    
    # Valid facts
    valid_facts = [
        {'type': 'temperature', 'value': '"positive" and 23.5'},
        {'type': 'humidity', 'value': '"negative" and -40'}
    ]
    
    # Invalid facts
    invalid_facts = [
        {'type': 'temperature', 'value': '"positive" or 10'},
        {'type': 'humidity', 'value': '"negative" or 5'}
    ]
    
    print("Validating valid facts:", fact_checker.validate_facts(valid_facts))
    print("Validating invalid facts:", fact_checker.validate_facts(invalid_facts))
```