"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-06 11:40:02.642609
"""

```python
class ReasoningEngine:
    """
    A simple reasoning engine that attempts to solve a specific problem 
    with limited reasoning sophistication.
    
    Example Problem: Determine if an input number is within a certain range,
                     and provide reasons based on predefined rules.

    Args:
        lower_bound (int): The lower bound of the range.
        upper_bound (int): The upper bound of the range.
    """

    def __init__(self, lower_bound: int = 10, upper_bound: int = 20):
        self.lower_bound = lower_bound
        self.upper_bound = upper_bound

    def is_within_range(self, number: int) -> (bool, str):
        """
        Determines if the input number is within the specified range.
        
        Args:
            number (int): The input number to check.

        Returns:
            tuple(bool, str): A boolean indicating whether the number is in the
                              range and a string providing reasoning.
        """
        reason = ""
        if number < self.lower_bound:
            reason += f"Number {number} is below the lower bound of {self.lower_bound}. "
        elif number > self.upper_bound:
            reason += f"Number {number} exceeds the upper bound of {self.upper_bound}. "
        else:
            return True, "The number is within the specified range."

        return False, reason

# Example Usage
if __name__ == "__main__":
    engine = ReasoningEngine(lower_bound=15, upper_bound=25)
    
    # Test with a number outside the range
    result, explanation = engine.is_within_range(30)
    print(f"Result: {result}, Explanation: {explanation}")
    
    # Test with a number inside the range
    result, explanation = engine.is_within_range(20)
    print(f"Result: {result}, Explanation: {explanation}")
```

This Python code defines a simple reasoning engine that can be used to determine if an input number falls within a specific range and provides reasons based on predefined rules.