How vk-official/prompt-length-experiment works
1. Repository purpose
- This is a static experiment repository, not an application with a backend. Its job is to preserve and compare AI-generated front-end outputs for the same design task under different prompt lengths.
2. Core architectural shape
- The top level splits into four model-specific domains: ChatGPT, Deepseek, Gemini, and Grok.
- Inside each model domain are three prompt-length variants: Short, Medium, and Long.
- This gives the repo a 4 × 3 matrix structure for comparing outputs across models and prompt sizes.
3. Primary data flow
- The README describes the source of truth: a single prompt experiment about generating a premium chocolate hero page.
- The prompts are the inputs.
- The generated front-end files are the outputs.
- The browser is the only execution environment; there is no API, database, or server-side processing.
4. Artifact boundary: self-contained front-end bundles
- Each model/prompt folder contains a complete front-end deliverable:
- index.html
- style.css
- script.js
- These files form an isolated bundle per experiment cell, meaning each output can be opened directly in a browser without dependencies on other folders.
5. Comparison boundary
- The repo’s main analytical boundary is not feature modules, but prompt-model combinations.
- The architecture is intended for side-by-side inspection of how the same UI task changes when:
- the model changes, or
- the prompt becomes shorter/longer.
6. “First Reply” subfolders
- Some variants include a nested First Reply folder containing an additional index.html.
- This indicates an alternate captured response from the model, likely preserved separately from the main output.
- In an architecture diagram, treat these as secondary snapshots within a given experiment cell.
7. Runtime characteristics
- The outputs are plain client-side web assets.
- index.html is the entry point, style.css provides presentation, and script.js handles behavior/animation.
- The repository relies on the browser runtime only; there is no build step or package tooling visible in the tree.
8. Design task being exercised
- Every generated output targets the same UX goal: a luxury chocolate brand hero section.
- The required features from the prompt include typography, animations, CTA treatment, and image placeholders.
- That consistency is what makes the outputs comparable across model and prompt length.
9. Experimental observation encoded in the repo
- The README records the result pattern:
- ChatGPT performed best with the long prompt.
- Deepseek and Gemini were strongest with the medium prompt.
- Grok produced its most elaborate result from the short prompt.
- The repo therefore functions as an experiment archive, not just a code sample collection.
10. Important architectural boundary
- There is no shared component library or shared source-of-truth code reused across folders.
- Each folder is an independent snapshot, so the repo is organized for comparison and manual review rather than code reuse or deployment.
11. External dependencies
- The README mentions Google Fonts in the long prompt, but the repository itself does not show a centralized asset pipeline or dependency manager.
- Any external font usage or other assets would be embedded directly in the individual HTML/CSS outputs, if present.
12. How to diagram this repo
- At the highest level, show:
- the README as the experiment spec,
- four model branches,
- three prompt-length branches under each model,
- and a leaf node for each self-contained front-end bundle.
- Optionally annotate the “First Reply” leaves as secondary captures.
Main entry points: README.md README · ChatGPT ChatGPT · Deepseek Deepseek · Gemini Gemini
Components 21
ChatGPT
Model-specific experiment branch
- ChatGPT · Outputs for the ChatGPT runs
ChatGPT - Short · Self-contained browser bundle for the short prompt variant
ChatGPT/Short - Medium · Self-contained browser bundle for the medium prompt variant
ChatGPT/Medium - Long · Self-contained browser bundle for the long prompt variant
ChatGPT/Long - First Reply · Alternate captured response nested under the short variant
ChatGPT/Short/First Reply
Deepseek
Model-specific experiment branch
- Deepseek · Outputs for the Deepseek runs
Deepseek - Short · Self-contained browser bundle for the short prompt variant
Deepseek/Short - Medium · Self-contained browser bundle for the medium prompt variant
Deepseek/Medium - Long · Self-contained browser bundle for the long prompt variant
Deepseek/Long - First Reply · Alternate captured response nested under the short variant
Deepseek/Short/First Reply - First Reply · Alternate captured response nested under the medium variant
Deepseek/Medium/First Reply
Gemini
Model-specific experiment branch
Grok
Model-specific experiment branch
- Grok · Outputs for the Grok runs
Grok - Short · Self-contained browser bundle for the short prompt variant
Grok/Short - Medium · Self-contained browser bundle for the medium prompt variant
Grok/Medium - Long · Self-contained browser bundle for the long prompt variant
Grok/Long - First Reply · Alternate captured response nested under the short variant
Grok/Short/First Reply
Other components
- README · Source of truth for the prompt experiment and comparative findings
README.md
Connections 20
- README → ChatGPT: specifies · README frames the ChatGPT comparison branch
- README → Deepseek: specifies · README frames the Deepseek comparison branch
- README → Gemini: specifies · README frames the Gemini comparison branch
- README → Grok: specifies · README frames the Grok comparison branch
- ChatGPT → Short: includes · Short prompt output bundle
- ChatGPT → Medium: includes · Medium prompt output bundle
- ChatGPT → Long: includes · Long prompt output bundle
- Short → First Reply: captures · Secondary snapshot for the short variant
- Deepseek → Short: includes · Short prompt output bundle
- Deepseek → Medium: includes · Medium prompt output bundle
- Deepseek → Long: includes · Long prompt output bundle
- Short → First Reply: captures · Secondary snapshot for the short variant
- Medium → First Reply: captures · Secondary snapshot for the medium variant
- Gemini → Short: includes · Short prompt output bundle
- Gemini → Medium: includes · Medium prompt output bundle
- Gemini → Long: includes · Long prompt output bundle
- Grok → Short: includes · Short prompt output bundle
- Grok → Medium: includes · Medium prompt output bundle
- Grok → Long: includes · Long prompt output bundle
- Short → First Reply: captures · Secondary snapshot for the short variant