"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-06 08:14:17.039848
"""

```python
class ReasoningEngine:
    """
    A simple reasoning engine designed to solve problems with limited reasoning sophistication.
    
    This class implements a basic rule-based system that can be used for decision-making or problem-solving tasks.
    """

    def __init__(self):
        self.rules = []

    def add_rule(self, condition: callable, action: callable) -> None:
        """
        Adds a new rule to the reasoning engine.

        :param condition: A callable function that returns True or False based on input data.
        :param action: A callable function that is executed when the condition is met.
        """
        self.rules.append((condition, action))

    def evaluate(self, input_data) -> None:
        """
        Evaluates the input data against all rules and executes actions if conditions are met.

        :param input_data: The input data to be evaluated.
        """
        for rule in self.rules:
            condition, action = rule
            if condition(input_data):
                action(input_data)

# Example usage

def is_even(data) -> bool:
    """Check if the provided number is even."""
    return data % 2 == 0

def handle_even_number(data):
    """Print a message when an even number is detected."""
    print(f"Even number received: {data}")

engine = ReasoningEngine()
engine.add_rule(condition=is_even, action=handle_even_number)

# Simulate input data
for i in range(5):
    engine.evaluate(i)
```

This code creates a simple `ReasoningEngine` class that can be used to implement rule-based decision-making. The example adds a rule for identifying even numbers and handling them by printing a message.