ethz-spylab / satml-llm-ctf

Code used to run the platform for the LLM CTF colocated with SaTML 2024
https://ctf.spylab.ai
MIT License
25 stars 6 forks source link

Disallowing "\n" in python filter #26

Closed TimVanhamme closed 11 months ago

TimVanhamme commented 11 months ago

Dear competition organizers, Is there a reason you are disallowing "\n" in the python filter?

For example the following does not work: def f(chat_history: list[str], model_output: str, secret: str) -> str: return "\n"

dedeswim commented 11 months ago

Hi, thanks a lot for pointing this out. This is not intended and I am currently looking into a fix.

dedeswim commented 11 months ago

This should be fixed now. Feel free to reopen if it does not work

TimVanhamme commented 11 months ago

Tnx it works.