db9_pinout.py 414 B

1234567891011121314
  1. from evaluator import *
  2. DESCRIPTION = "Test if a model knows about old computer ports when prompted ambiguously."
  3. TAGS = ['explain']
  4. question = """
  5. What port has 5 pins on the top and 4 on the bottom?
  6. """
  7. TestDB9 = question >> LLMRun() >> (SubstringEvaluator("DB-9") | SubstringEvaluator("DB9") | SubstringEvaluator("DE-9") | SubstringEvaluator("DE9"))
  8. if __name__ == "__main__":
  9. print(run_test(TestDB9))