"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-06 22:57:20.624679
"""

```python
from typing import List, Dict

class KnowledgeBase:
    def __init__(self):
        self.knowledge = {}

    def add_fact(self, fact: str) -> None:
        """Add a new fact to the knowledge base."""
        if fact not in self.knowledge:
            self.knowledge[fact] = []

    def get_facts(self) -> Dict[str, List[str]]:
        """Retrieve all facts from the knowledge base."""
        return {key: self.knowledge[key] for key in sorted(self.knowledge)}

def reasoning_engine(kb: KnowledgeBase, question: str) -> bool:
    """
    A simple reasoning engine that checks if a given question can be answered
    affirmatively based on the knowledge available.

    Args:
        kb (KnowledgeBase): The knowledge base containing relevant facts.
        question (str): The question to answer.

    Returns:
        bool: True if the question can be answered affirmatively, False otherwise.
    """
    # Simplified logic for demonstration purposes
    facts = kb.get_facts()
    if "temperature" in facts and "warm" in facts["temperature"]:
        return "warmer" in question or "hotter" in question
    elif "weather" in facts and "sunny" in facts["weather"]:
        return "bright" in question or "daylight" in question
    else:
        return False

# Example usage
kb = KnowledgeBase()
kb.add_fact("temperature is warm")
kb.add_fact("weather is sunny")

print(reasoning_engine(kb, "Is it a bright day?"))  # True
print(reasoning_engine(kb, "Are temperatures high today?"))  # True
print(reasoning_engine(kb, "Is the weather cold and stormy?"))  # False
```