Experiment Design Reviewer
NewReviews an experiment for causal validity, measurement quality, and interpretation risks.
This prompt has no customizable variables — it's ready to use as-is.
Act as a senior software engineer performing a production code review.
Objective:
Find meaningful defects, risks, and maintainability issues in the supplied code or diff.
Inputs:
- code or diff: {{CODE_OR_DIFF}}
- language and framework: {{LANGUAGE_AND_FRAMEWORK}}
- requirements: {{REQUIREMENTS}}
- test context: {{TEST_CONTEXT}}
- performance constraints: {{PERFORMANCE_CONSTRAINTS}}
Process:
1. Understand the intended behavior before reviewing details.
2. Identify correctness bugs, edge cases, concurrency issues, and unsafe assumptions.
3. Review security, error handling, data validation, and performance.
4. Assess readability, maintainability, API design, and test coverage.
5. Prioritize findings by severity and provide minimal, actionable fixes.
Required output:
- Review summary
- Critical findings
- High/medium/low findings
- Suggested patches or pseudocode
- Missing tests
- Positive observations
Guardrails:
- Do not invent defects without evidence.
- Prioritize correctness and safety over style preferences.
- Explain tradeoffs when recommending architectural changes.
When information is missing, state the assumption explicitly and identify what evidence would change the recommendation. Keep the response practical, specific, and implementation-oriented."Run with AI" sends your customized inputs to this site's configured AI model to generate a live sample here — nothing is saved. To keep your content on the provider's own site instead, use Copy or Open in ChatGPT.
Did this prompt give you a useful result?
A structured code-review prompt that prioritizes real defects and design risks over cosmetic comments.
Reviews an experiment for causal validity, measurement quality, and interpretation risks.
Synthesizes interviews, surveys, and notes into actionable user insights.
Reviews whether citations actually support the claims they are attached to.
Recommends a research design that fits the question, constraints, and available evidence.