"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-08 08:41:45.923580
"""

```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."""
        self.knowledge.append(fact)

    def query(self, question: str) -> bool:
        """Check if the given question is true based on facts in the KB."""
        return any(question.lower() in fact for fact in self.knowledge)


class ReasoningEngine:
    """Solves problems related to limited reasoning sophistication by querying a knowledge base."""

    def __init__(self, kb: KnowledgeBase):
        self.kb = kb

    def solve_problem(self, problem: str) -> bool:
        """
        Analyze the problem and return True if it can be solved given current facts,
        otherwise False.
        """
        relevant_facts = [fact for fact in self.kb.knowledge if any(word in fact.lower() for word in problem.split())]
        
        # Simple reasoning: check if there are at least 2 relevant facts
        if len(relevant_facts) > 1:
            return True
        
        return False

def create_reasoning_engine(knowledge_base_strs: List[str]) -> ReasoningEngine:
    """
    Create a new instance of the ReasoningEngine with an initial knowledge base.

    :param knowledge_base_strs: A list of strings representing facts to be added to the KB.
    :return: An instance of the ReasoningEngine.
    """
    kb = KnowledgeBase()
    for fact in knowledge_base_strs:
        kb.add_fact(fact)
    
    return ReasoningEngine(kb)

# Example usage
if __name__ == "__main__":
    # Define some facts and create a reasoning engine based on these facts
    facts = [
        "The sun is shining today",
        "Today's weather is sunny with a high of 25 degrees Celsius",
        "It was cloudy yesterday"
    ]
    
    engine = create_reasoning_engine(facts)
    
    # Test the problem solving capability
    result1 = engine.solve_problem("Is it sunny outside?")
    print(result1)  # Should be True as we have facts about sunny weather
    
    result2 = engine.solve_problem("Did it snow yesterday?")
    print(result2)  # Should be False as there's no fact about snow in the given facts
```

This code defines a `ReasoningEngine` that can solve problems by querying a knowledge base for relevant facts. The example usage demonstrates creating an instance of the reasoning engine with some initial facts and testing its problem-solving capabilities.