Evaluating Prompt Adherence in Large Language Models: A Neusis Construction Benchmark
Prompt adherence—the ability of an LLM to faithfully understand and execute loosely worded natural-language instructions—is a key indicator of whether a model can fit into real-world workflows. This article uses a deliberately obscure geometry task (constructing a regular heptagon with a marked ruler) as a test case, breaks down the skills it measures, and shares practical lessons for designing your own prompt-adherence evaluations.
Evaluating Prompt Adherence in Large Language Models: A Neusis Construction Benchmark
1. What Is Prompt Adherence?
A new generation of large models has recently drawn considerable attention, and the most significant improvement over their predecessors is not generation speed or knowledge coverage, but a substantial increase in prompt adherence. Simply put: prompts that older models could not understand or execute can now be interpreted and carried out completely and accurately.
While this sounds like mere “obedience,” for high-parameter reasoning models with long chains of thought, it involves three distinct layers of processing:
- Linguistic parsing: converting colloquial, imprecise natural language into a formal task description;
- Semantic understanding: inferring technical terms, implicit assumptions, physical constraints, and ambiguous phrasing;
- Faithful execution: after multi-step reasoning, presenting the user’s true intent in the final output rather than substituting a more convenient interpretation.
Prompt adherence matters because it maps directly onto everyday work scenarios. Real users never communicate with models in formal, precise language—if they had to, they might as well write code instead. Prompt adherence is therefore one of the core indicators of whether a model can be integrated into real workflows.
2. Benchmark Design: Constructing a Regular Heptagon with a Marked Ruler
2.1 The Test Task
To examine this capability systematically, we designed a code generation task: build an HTML page that demonstrates the complete geometric construction of a regular heptagon using a marked ruler (neusis-style construction). The prompt goes roughly as follows:
- Start with a square and construct the perpendicular bisector of its bottom edge;
- Draw circle E centered at the bottom-right vertex E with a radius equal to the diagonal;
- Using a marked ruler (a straightedge with two graduation marks), keep it pivoting at the bottom-left vertex D while sliding the first mark along circle E until the second mark lands exactly on the perpendicular bisector;
- Finish with standard compass-and-straightedge steps: construct perpendicular bisectors, locate the center, and complete the heptagon;
- Fill in all omitted construction details, leave compass traces only where necessary, and provide a GIF export feature.
2.2 What the Task Actually Tests
This prompt looks simple, but it describes an obscure construction that depends heavily on internal logical consistency. It tests at least four dimensions:
(1) Understanding obscure terminology. The marked ruler relates to the classical concept of neusis construction. Most models either don’t recognize it or mistake it for an ordinary straightedge. The model must understand the physical constraint—“two marks at a fixed distance, sliding around a fixed pivot”—and formulate the correct constraint equations.
(2) Dense multi-object references. Nearly every step involves at least three objects simultaneously: the ruler, the pivot point D, circle E, the perpendicular bisector, and the two marks. This density of references is a severe test of spatial reasoning and symbol binding—a single misresolved reference collapses the entire construction.
(3) Inferring implicit assumptions. The prompt never specifies the square’s side length. The model must reason that, given the goal of constructing a regular heptagon, the square must have unit side length and the ruler’s mark spacing must also be unit length—otherwise the construction is mathematically invalid. This requires the ability to derive constraints backward from the goal.
(4) Handling ambiguous semantics. What “necessary traces” means is never defined. The model must apply standard drafting conventions on its own: the compass leaves traces but only valid arc segments are retained, and auxiliary lines may be faded after key steps. How well a model handles such vague instructions reflects how deeply it has internalized domain conventions.
3. Results and Analysis
In our testing, the previous generation of models typically failed this task: treating the marked ruler as an ordinary straightedge, ignoring the implicit unit-length assumption, missing or jumbling construction steps, and shipping a purely cosmetic GIF export. The new generation, by contrast, reproduced all the constraints, generated an interactive animated construction, and produced steps that were both logically and mathematically self-consistent.
This comparison supports the opening claim: improved adherence is fundamentally improved understanding. The model isn’t memorizing construction steps—it genuinely understands the spatial operations and physical constraints described in natural language and reconstructs the user’s intent at the code level.
To be fair, this kind of test mainly reflects model performance in “vibe coding” scenarios—describing something briefly and quickly producing a working interactive prototype. For genuine large-scale engineering collaboration, architecture decisions, and long-term maintenance, a single construction task won’t reach the model’s capability ceiling; more complex evaluation dimensions such as multi-turn interaction and codebase-level understanding are also needed.
4. Practical Takeaways for Developers
Based on this analysis, a few practical recommendations:
- Evaluate against real work scenarios. Testing with colloquial prompts containing ambiguity and implicit assumptions reflects day-to-day model performance far better than standardized benchmarks.
- Multi-object references and implicit constraints offer the highest discriminative power. Deliberately include three or more interrelated objects and unstated premises in your prompts to quickly separate strong models from weak ones.
- Adherence and hallucination control go hand in hand. Models with high adherence tend to improvise less, which in production means lower rework costs.
- Build your evaluation pipeline on general-purpose cloud infrastructure. When operationalizing model evaluation in an enterprise, you can use object storage to manage test sets, container platforms to orchestrate batch inference jobs, and logging and monitoring services to track adherence metrics across model versions—forming a continuously iterative evaluation system. Major cloud providers offer these general-purpose capabilities and can serve as references when selecting evaluation infrastructure.
5. Conclusion
Prompt adherence may look like a purely user-experience improvement, but it is actually the combined result of an LLM’s evolving understanding, reasoning, and execution. Using tasks like the marked-ruler heptagon construction—rich in obscure terminology, dense object references, and implicit constraints—as a litmus test, we can more objectively measure whether a model truly “understands” human natural language. For developers, understanding and applying this evaluation approach delivers more long-term value than chasing single-run benchmark scores.
