Skip to content

Codestral suggests '********' for some Ruby code

Problem to solve

From this feedback:

[I'm seeing] lots random asterisk/stars, for example:

image

Proposal

From this comment:

We are already applying the same post-processing in Codestral as we did in Code Gecko. However, we might need to apply more post-processing that's specific to Codestral since these 2 models would not necessarily have the same idiosyncracies.

Further details

From this comment:

the problem with Codestral suggesting **** only seems to happen for the specific spec/models/commit_spec.rb file, and in the specific place where the new code is inserted. If we add it at the end of the file, it does not suggest *******.

Links / references

Edited by Pam Artiaga