Seems like the agent doesn't know about the randomness restrictions:Randomness APIs calls must originate from a private entry function withIt created a function that uses randomness but the entry function isn't private, and instead opted to silence the linter with #[lint::allow_unsafe_randomness]. More generally speaking it should be trained to not ignore the linter.