You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select one of:
[ ] Generated codemod is not correct
[x] Bug (ish?) in Codemod Studio
[ ] UI/UX improvement request
[ ] Feature request
When having a conversation with Codemod AI, it forgot that we were talking about updating the Codemod it had just generated for me. It only remembered when I very specifically told it what the context was.
Realize that the generated Codemod only handles it (because Before/After only used it) but our codebase uses it and test
Send the message:
"test" is an alias for "it" so we need to handle both "test" and "it"
Actual Results
Codemod AI responded with a generic explanation of how test and it are often used interchangeably in JavaScript testing frameworks like Mocha or Jest. Here's a codeblock from that explanation demonstrating how generic it is:
// Import the testing frameworkconst{ describe, it, test, expect }=require("@jest/globals");describe("Sample Test Suite",()=>{it('should pass this test case using "it"',()=>{expect(true).toBe(true);});test('should pass this test case using "test"',()=>{expect(true).toBe(true);});});
I responded with:
Yeah I know that but I'm saying we need to update the codemod to handle "it" and "test"
Codemod AI responded with a generic explanation of how I can use tools like jscodeshift to write JavaScript/TypeScript code transformations, including how to install jscodeshift and an example codemod which uses recast.
I responded with:
No, we need to update the codemod you generated from my Before and After blocks. This one:
$CODEMOD
Codemod AI finally responded with an updated version of the Codemod it had just generated for me.
Expected Results
Codemod AI should remember the context of the work we're doing together so that I don't have to specifically instruct it how to do what's expected of it.
I've definitely had conversations with it where it did remember the context, so it was confusing to me that it so obviously blanked on this one.
The text was updated successfully, but these errors were encountered:
Hey, @with-heart, thanks for your time filling out the reproduction steps for us. I will make sure we have this on our board for upcoming Studio revamps. Keeping this open for now until we sort this out.
Issue Description
Select one of:
[ ] Generated codemod is not correct
[x] Bug (ish?) in Codemod Studio
[ ] UI/UX improvement request
[ ] Feature request
When having a conversation with Codemod AI, it forgot that we were talking about updating the Codemod it had just generated for me. It only remembered when I very specifically told it what the context was.
Steps to Reproduce
Fill out Before
Fill out After
Realize that the generated Codemod only handles
it
(because Before/After only usedit
) but our codebase usesit
andtest
Send the message:
Actual Results
Codemod AI responded with a generic explanation of how
test
andit
are often used interchangeably in JavaScript testing frameworks like Mocha or Jest. Here's a codeblock from that explanation demonstrating how generic it is:I responded with:
Codemod AI responded with a generic explanation of how I can use tools like
jscodeshift
to write JavaScript/TypeScript code transformations, including how to installjscodeshift
and an example codemod which usesrecast
.I responded with:
Codemod AI finally responded with an updated version of the Codemod it had just generated for me.
Expected Results
Codemod AI should remember the context of the work we're doing together so that I don't have to specifically instruct it how to do what's expected of it.
I've definitely had conversations with it where it did remember the context, so it was confusing to me that it so obviously blanked on this one.
The text was updated successfully, but these errors were encountered: