I've tried to add "always ensure you're following security practices and generate safe and secure code" but again - I've received problematic code very quickly
With magic taste of "quick problem solving" a huge security risks are coming
I've tried to add "always ensure you're following security practices and generate safe and secure code" but again - I've received problematic code very quickly
With magic taste of "quick problem solving" a huge security risks are coming
Abd this is my probably biggest concern on AI-generated code - I was able to easily spot this risk, and LLM even improved the code after request
Abd this is my probably biggest concern on AI-generated code - I was able to easily spot this risk, and LLM even improved the code after request
The code generated performed magic link validation (using correct ORM which was figured via passed package.json) but didn't create any session - just redirected to / If everything was ok
The code generated performed magic link validation (using correct ORM which was figured via passed package.json) but didn't create any session - just redirected to / If everything was ok
After asking to fix (I've continued with sonnet) it was fixed and was almost correct
Why almost? Because If next.js 15 params should be awaited
However there was a transparent error message in that and even codemod
After asking to fix (I've continued with sonnet) it was fixed and was almost correct
Why almost? Because If next.js 15 params should be awaited
However there was a transparent error message in that and even codemod
* what to mock
* test environment (jsdom, the ugly child of dom and node.js - I'm looking at you)
* what to test - which part of the system under test we are considering "contract" (is it "virtual dom" output? Pure html? Something else?)
* what to mock
* test environment (jsdom, the ugly child of dom and node.js - I'm looking at you)
* what to test - which part of the system under test we are considering "contract" (is it "virtual dom" output? Pure html? Something else?)