Formatting for Code Extractor #441
Replies: 1 comment
-
|
Hey Mike, thanks for your question! We wanted to kept the CodeExtractor abstractions fairly general, so that they aren't too specific to competitive programming code generation tasks. If you want to run it on a list of test cases, you can do one of these two things:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, quick question about curator.CodeExtractor.
What's the proper way to handle multiple test cases for the same prompt? I was looking at this example and it looks like
code_inputshould return a string with each input on a separate line, andcode_outputshould do something similar.Also, how should my tested code accept these inputs? Via
stdin? Thanks!Here's my executor for reference:
Beta Was this translation helpful? Give feedback.
All reactions