-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requesthigh-priorityUrgent - blocks revenue or core functionalityUrgent - blocks revenue or core functionalityneeds-triage
Description
Problem
All 11 uvai-generated-project-* repos contain byte-for-byte identical output. The ProjectCodeGenerator._generate_vanilla_js_project() ignores the extracted tutorial_steps, technologies, and features from the video analysis and generates the same boilerplate every time.
Root Cause
In src/youtube_extension/backend/code_generator.py:
_generate_vanilla_main_js()returns a hardcoded string with generic messages regardless of input_generate_vanilla_index_html()lists 'Responsive Design' and 'Modern Ui' for every project- The
titledefaults to 'UVAI Web App' / 'UVAI Generated Project' because extracted_info title is not being passed through
Evidence
- 11 repos created March 1-2, 2026 — all identical (verified via MD5 hash comparison)
_generate_repo_name()sanitizes the default title touvai-generated-projectevery time- The 172KB
ai_code_generator.pyexists but is not wired into the vanilla JS path
Fix Required
- Wire
ai_code_generator.pyinto ALL code generation paths - Pass
tutorial_stepsinto actual generated code — each video should produce unique output - Use extracted
technologiesto select the right framework instead of always falling back to vanilla - Generate meaningful title from video analysis, not a generic fallback
Acceptance Criteria
- Process two different videos → get meaningfully different code
- No more
uvai-generated-project-XXXXnaming — use video-derived names
References
- Architecture Stage 3: Polymorphic Output Synthesis
- Files:
src/youtube_extension/backend/code_generator.py,ai_code_generator.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requesthigh-priorityUrgent - blocks revenue or core functionalityUrgent - blocks revenue or core functionalityneeds-triage