- Issue created by @utkarsh_33
- Merge request !1441#3541065: AI generated component should generate component wisely. ā (Merged) created by utkarsh_33
- š§šŖBelgium wim leers Ghent š§šŖšŖšŗ
"wisely" and "AI" in the same sentence š¤š¤£
- š®š³India utkarsh_33
Here's the scenario that I tested. You can see that in the
before
video it uses useState hook and after changing the prompt its evident that in theafter
video it does not include the useState for the same prompt, even though it does not generate the exact same component(which is fine as we can't expect AI do that always).
Moving this to NR. - š®š³India utkarsh_33
Re #4 : I think it can act a
little
bit wisely if we instruct it to perfection š. - š¬š§United Kingdom catch
What is the criteria for determining that this is fixed given the non-probabilistic output? e.g. what percentage of attempts before the MR generated extraneous code, and what percentage afterwards? The before and after videos show one attempt each, but that could be within the normal deviation of either code base.
- š®š³India utkarsh_33
Re #7:- It was failing/generating wrong component almost 6-7/10 times before this fix and it now does not generate wrong component or use unnecessary code in the component. I tested it 7-8 times but it always generate the optimised code using the same prompt as used in the videos in #5 š AI generated component should generate component wisely. Active .
- š®š³India narendraR Jaipur, India
Tested this MR 4ā5 times using the following two prompts:
Iād like to create a CTA component which includes fields for heading, text, button and image.
Create a counter component with "+" and "ā" buttons. When a user clicks "+", the number increases by 1, and when they click "ā", the number decreases by 1. The current count should be displayed between the buttons.
useState was used every time in the second prompt (counter) and never in the first (CTA), as expected.
Moving it to RTBC. - šŗšøUnited States tim.plunkett Philadelphia
@catch, our target success rate is 5/5 or 9/10.
-
tim.plunkett ā
committed da574bf0 on 1.x authored by
utkarsh_33 ā
#3541065: AI generated component should generate component wisely.
-
tim.plunkett ā
committed da574bf0 on 1.x authored by
utkarsh_33 ā
-
tim.plunkett ā
committed 82958767 on 0.x authored by
utkarsh_33 ā
#3541065: AI generated component should generate component wisely.
-
tim.plunkett ā
committed 82958767 on 0.x authored by
utkarsh_33 ā
Automatically closed - issue fixed for 2 weeks with no activity.