Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23121688This record contains the code, data and results of a study on prompt smells, i.e. recurring weaknesses in prompts written for large language models (LLMs), in real user prompts from the WildChat dataset. Method: Prompts were analyzed with free LLMs accessed through the OpenRouter free-model router (openrouter/free), using an LLM-as-a-judge approach. Each prompt was checked for ten smell types (vague instruction, missing context, unspecified output format, conflicting instructions, overloaded prompt, missing constraints, leading or biased, missing examples, ambiguous reference, unnecessary verbosity). Each smell received a severity rating (low/medium/high), and each prompt received a quality score from 0 to 10. Results: Of the 1,000-prompt English sample, the first 384 prompts were processed within the free tier's daily limit, and 330 were analyzed successfully by 10 different free models. 66.7% of analyzed prompts contain at least one smell, and the mean quality score is 5.70/10. The most common smells are vague instruction (31.5%), missing context (30.6%) and unspecified output format (27.3%). Files:- prompt_smell.py: detection script (OpenRouter API)- analyze_results.py: statistics, figures and tables- wildchat_1000_english.json: input prompts- results.json / results.csv: per-prompt results- summary.json: aggregate statistics- run_info.json: run settings and models used- fig_smells.png, fig_scores.png: figures- report.pdf: 2-page report- README.md: documentation Data source: WildChat (Zhao et al., "WildChat: 1M ChatGPT Interaction Logs in the Wild", ICLR 2024), https://huggingface.co/datasets/allenai/WildChat, released under the ODC-BY license.
Keyword(s):
prompt engineering prompt smells large language models LLM-as-a-judge WildChat.
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)