"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-07 06:44:25.432058
"""

```python
from typing import List, Dict

class ReasoningEngine:
    """
    A simple reasoning engine to handle limited reasoning sophistication.
    
    This class is designed to simulate basic logical reasoning tasks,
    such as evaluating conditions and making decisions based on a set of rules.
    """

    def __init__(self):
        self.rules = {}

    def add_rule(self, condition: str, action: str) -> None:
        """
        Add a rule to the engine.

        :param condition: A string representing the condition to be evaluated.
        :param action: The action to be taken if the condition is met.
        """
        self.rules[condition] = action

    def evaluate(self, data: Dict[str, bool]) -> str:
        """
        Evaluate the given data against all added rules and return an action.

        :param data: A dictionary containing conditions as keys and their truth values as boolean values.
        :return: The action to be taken based on the evaluation of the data.
        """
        for condition, action in self.rules.items():
            if eval(condition, {}, data):
                return action
        return "No action"

# Example usage
if __name__ == "__main__":
    engine = ReasoningEngine()
    
    # Adding rules
    engine.add_rule("data['temperature'] > 30 and data['humidity'] < 50", "cool down")
    engine.add_rule("data['temperature'] < 10 or data['humidity'] >= 80", "warm up")
    
    # Evaluating with sample data
    sample_data = {'temperature': 29, 'humidity': 45}
    print(engine.evaluate(sample_data))  # Expected output: "No action"
    
    sample_data = {'temperature': 35, 'humidity': 40}
    print(engine.evaluate(sample_data))  # Expected output: "cool down"
```