Closed MrBesterTester closed 2 months ago
A couple important facts I forgot regarding the bug above:
Later, after filing the above bug, I the Mixtral 8x7B LLM with some success:
tutorial.rs
, was a little trying requiring me to carefully track the source file tutorial.py
by keeping the windows synchronized.
Although this allowed me to do a nearly complete translation, I have yet to try compiling tutorial.rs
.
Thanks for reporting! We have increased Cody's output limit, it should now be much rarer to see Cody truncating the response like this. Let us know if you encounter any more issues!
This change will be available in this weeks Cody release, which is scheduled to go out either today or tomorrow.
Version
1.12.0
Describe the bug
I am attempting to translate a Python file of 201 lines into Rust.
I in the drop-down toggle at the right end of the Cody chat box, I have enabled Enhanced Content so that now both Embeddings and Search are both indexed. I can tell that this has had an effect because the context description at the start of Cody's reply is now 614 lines of code from 11 files. This is a huge increase over what I have seen in my past efforts to translate this exact same code. Here's the code:
Expected behavior
I expected for Cody to do a complete translation of Python into Rust, but it stopped short:
Of all the translators I've tried, Cody AI in the form of your VScode extension is the best:
So, I gotta say that there really could be something about your claim of how awesome knowledge graphs are when they are applied to source code, viz., source graphs.
Additional context
The repo I am using is: https://github.com/DavidRuhe/clifford-group-equivariant-neural-networks.git.
The file in question is
tutorial.py
, which I created fromtutorial.pynb
(which is in the GitHub repo) by using a utility:that collapses the
.pynb
file into a single file for the purposes of code translation.And yes,
tutorial.py
runs just fine after I fixed a change of pwd in the code.All other code has been left unchanged in this particular workspace,
clifford_code
.rs_clifford_code
and have started arrange the files into a more traditional layout for Rust translation purposes.I will not bother you with a lecture on the importance of Clifford algebra (aka, geometric algebra) in machine learning nor the importance of Rust in robotics.