from worker.stylist_engine import StylistEngine

def test_engine():
    engine = StylistEngine()
    print("Testing 6OT25S007...")
    res1 = engine.compute_dynamic_rule_matches("6OT25S007")
    print(f"Matches for 6OT25S007: {len(res1)}")

    print("\nTesting 2LA26S003-SL388...")
    res2 = engine.compute_dynamic_rule_matches("2LA26S003-SL388")
    print(f"Matches for 2LA26S003-SL388: {len(res2)}")

if __name__ == "__main__":
    test_engine()
