Prompt Scoring Case Study for Better Inputs

A prompt can look complete and still fail before a model generates a word. “Write a release note for the API change” has a task, but no audience, source facts, scope, or rule for uncertainty. The result may sound plausible while inventing the details a release note must get right.
This prompt scoring case study examines that failure point. It uses deterministic checks to inspect the prompt itself, rather than asking an LLM to judge another prompt. The goal is not to predict whether every response will be good. The goal is to identify missing instructions early enough that a person can fix them.
This is a worked engineering case study, not a claim that one score can measure all prompt quality. Prompt quality depends on the task, the model, the available context, and the cost of a wrong answer. A score is useful when it makes a review conversation shorter and more specific.
The problem was not model capability
A platform team maintained a set of prompts for internal engineering work: change summaries, incident updates, pull request reviews, test plans, and customer-facing support drafts. The prompts were used by different people and against different models. Their outputs varied more than expected.
The first response was to adjust wording. People added polite phrasing, stronger verbs, and longer examples. That helped in isolated cases, but it did not establish a repeatable process. A prompt that worked for one incident update often produced an overconfident summary for the next one.
Review found a more ordinary cause. Many prompts left out information that reviewers assumed was obvious. A request for a test plan did not say which behavior was changing. A request for a customer update did not identify what was confirmed, what was still being investigated, or what must not be promised. A request for code review did not define whether the reviewer should report only defects or also style concerns.
The model had no reliable way to recover these decisions. Neither did a reviewer who saw only the generated text.
How the prompt scoring case study was set up
The team collected 36 prompts already used in their workflow. They removed names, credentials, customer details, and repository-specific text. The set included 12 operational updates, 10 engineering analysis prompts, 8 writing prompts, and 6 review prompts.
Each prompt was assessed in two ways. First, two engineers independently reviewed it against the intended task. They recorded whether a new teammate could tell what to produce, what material to use, what limits applied, and how to handle missing facts. Disagreements were discussed and recorded rather than averaged away.
Second, the prompts were run through a deterministic scoring pass. The scoring did not call an LLM. It checked for observable instruction signals that could be evaluated consistently from the text. The exact signals should depend on the use case, but this study used five:
- a stated outcome or deliverable
- task context or source material
- boundaries on scope, format, or tone
- instructions for uncertainty or absent information
- criteria that make the output reviewable
A prompt did not receive credit merely for containing a familiar word. “Use the context” was not enough if the context was not supplied or identified. “Be accurate” was not enough if the prompt did not say what to do when evidence was incomplete. This distinction mattered because keyword presence is easy to measure and easy to game.
The team grouped prompts into three bands: ready to test, needs review, and incomplete. Those labels were deliberately modest. A prompt marked ready to test was not certified correct. It simply contained enough visible instruction structure to justify spending time on output evaluation.
What the score caught
The lowest-scoring prompts were not usually short. Several were long, with background paragraphs, examples, and copied ticket history. Their problem was that the requested output remained ambiguous.
One incident-update prompt asked for a message “that reassures users while explaining the issue.” It included a timeline but did not say whether the incident was resolved, whether an estimated recovery time was allowed, or whether internal causes could be mentioned. A writer could produce polished copy from it. A reviewer could not determine whether the copy was safe to send.
The scoring pass marked missing uncertainty handling and missing boundaries. The human reviewers found the same problems, but they described them in different terms: “too much room to imply resolution” and “no approval boundary.” The score did not replace that judgment. It directed attention to the part of the prompt that needed judgment.
Another prompt requested a pull request review and supplied a diff. It asked for “issues, improvements, and a score from 1 to 10.” It did not define the change’s intended behavior, compatibility requirements, or whether generated suggestions needed to be limited to the diff. The output could become a general code critique instead of a review of the proposed change.
After revision, the prompt named the expected behavior, required compatibility checks, limited findings to evidence in the diff, and asked the model to state when the diff did not establish a conclusion. The prompt became longer by four sentences. More importantly, a reviewer could now reject unsupported findings quickly.
What did not change
The deterministic score did not evaluate factual truth. A well-structured prompt can still provide bad source material. It also did not evaluate model-specific behavior, such as how well a model follows a table format or whether it handles a large attached document within its context window.
It did not decide whether a task was worth automating. For some high-risk work, especially external communication during an incident, the right answer may be to use a prompt only for a draft and require explicit human approval. A higher prompt score does not reduce that responsibility.
The score also could not settle trade-offs between precision and flexibility. A support team may want a tightly bounded template for recurring questions. An engineering investigation may need a prompt that leaves room to surface unexpected hypotheses. Both can be well specified, but they should be scored against different expectations.
These limits kept the team from treating a number as a quality gate. Prompts in the incomplete band were sent back for revision. Prompts in the ready-to-test band still went through output testing with representative inputs.
The practical effect on review
The useful change was not a higher average score. It was a different review order.
Previously, reviewers started with model output. They debated whether a paragraph sounded right, then traced the problem backward into the prompt. That process was slow because the output mixed prompt defects, source defects, and model behavior.
After adding prompt scoring, authors reviewed the prompt before running it. A low result led to a concrete question: What is the deliverable? What evidence may the response rely on? What must it avoid? What should happen when the answer is unknown? The questions were easier to answer than “Why did the model get this wrong?”
The team also found that prompts became easier to maintain. When a policy changed, reviewers could see whether the relevant boundary appeared in the prompt. When a prompt was copied for a new workflow, the missing task-specific details were visible instead of hidden beneath familiar wording.
How to use scoring without creating bureaucracy
Start with prompts that have a repeated cost: prompts used by several people, prompts attached to customer-facing work, or prompts whose output needs review every time. Do not begin by scoring every experimental prompt in a personal scratchpad.
Define the few instruction signals that matter for that task. A data extraction prompt may need a schema, source boundaries, and a rule for absent fields. A writing prompt may need audience, source facts, prohibited claims, and output format. Reusing the same generic checklist for both will produce noise.
Then keep the score advisory. Use it to flag omissions and make review consistent. If teams optimize only for the number, they will add empty boilerplate. The test is whether another engineer can understand the task and identify an unsupported output more quickly.
Privacy also matters here. Prompts often contain incident details, customer context, code fragments, and internal decisions. A scoring tool should not require teams to send that material to a model just to assess instruction structure. Promptivo is a free research project for deterministic prompt scoring with no LLM, and nothing pasted into it is stored. Its value is not that it settles prompt quality. It gives you a checkable starting point for the review.
A prompt score earns its place when it helps an engineer ask one better question before generation. That is usually where the expensive mistakes begin.