identify_uuencode.py 416 B

12345678910111213141516171819
  1. from evaluator import *
  2. DESCRIPTION = "Test if the model can correctly identify a block of text is uuencoded."
  3. TAGS = ['explain']
  4. question = """
  5. What encoding scheme does it look like this is encoded with?
  6. H,3DR-S<-"C(X,C<U#0HT.3(V-@T*-C`X,C8-"C(X,S8V#0HR,#<Q-0``
  7. """
  8. TestIsUU = question >> LLMRun() >> SubstringEvaluator("uuencode", lower=True)
  9. if __name__ == "__main__":
  10. print(run_test(TestIsUU))