The title doesn't match what the clarifying paragraph says.
"As above, we ask that you understand the code that you are contributing, if you do not have the technical knowledge to write it yourself and take responsibility for it, then please do not use AI to generate it and submit it back to us."
IMHO this is the only sensible approach. Only submit AI generated code if you could have written it yourself. That means you need the technical knowledge to write and understand it.