# LLM Benchmark Design: Evaluating Lightweight Models with a Marked-Ruler Heptagon Construction Task
As inference costs keep falling, vendors keep shipping "lightweight" or "high-speed" variants that claim flagship-level performance. This article argues that toy prompts have lost their discriminating power and proposes a different probe: constructing a regular heptagon with a marked straightedge and compass, then rendering it as an interactive web animation with GIF export. It covers why this task is hard, how to break the evaluation into scoreable dimensions, and how to make the whole process reproducible and comparable across model updates.
1. The Reality of Evaluating Lightweight Models
Inference costs for large models continue to fall, and vendors keep releasing “lightweight” or “high-speed” variants while claiming they can match much larger flagship models. For developers and enterprise engineering teams, the pressing question is how to measure a model’s actual reasoning and code generation ability under real engineering constraints.
“Ability” is itself a vague term. It spans mathematical and logical reasoning, long-chain code generation, instruction following, and engineering maintainability. A single short test prompt usually hits only one of these dimensions and easily leads to a skewed judgment. One common mistake is treating fluency, answer length, or neat formatting as capability signals. In reality, these surface traits have no necessary connection to correctness under complex constraints. What actually separates strong models from average ones are tasks that are densely constrained, non-skippable step by step, and objectively checkable.
2. Why Toy-Style Benchmarks Break Down
Popular community tests of the past — “generate a webpage,” “pelican riding a bicycle” — are inherently toy-like: open-ended prompts, loose constraints, subjective answers. As overall model quality has risen, nearly every model now passes, so the discrimination of these tests has decayed rapidly and they no longer reflect a real capability gradient.
Two criteria are enough to tell whether a benchmark question has gone stale:
- Discrimination: whether pass rates actually separate strong models from average ones.
- Objectivity: whether results can be judged right or wrong against a uniform standard rather than personal taste.
Once almost every model passes a question, it degrades into a test of the capability floor rather than a searchlight pointed at the capability ceiling. Restoring discrimination requires increasing both constraint density and the length of the reasoning chain.
3. Geometric Construction: A High-Discrimination Probe
A representative hard probe is this: construct a regular heptagon using only a marked straightedge (a ruler with graduations) and a compass, render the result as an interactive web animation, and finally support exporting the drawing process as a GIF. The task looks like a geometry exercise, but it is a genuine test of a model’s overall capability.
One classic approach abstracts the construction into these steps:
- Start from a square as the initial reference figure.
- Construct the perpendicular bisector of the square’s base edge.
- Draw a circle centered at the bottom-right vertex with the diagonal as its radius.
- Using the marked straightedge, keep one end pressed against the bottom-left vertex and slide the first graduation along the circle until the second graduation passes exactly through the perpendicular bisector of the base — this “insertion” (neusis) operation is the core difficulty of marked-ruler construction.
- Use the resulting intersection points to determine the side length or center of the regular heptagon, then construct the remaining perpendicular bisectors and vertices.
- Fill in every ordinary compass-and-straightedge step that was omitted, and make sure construction traces (such as compass arcs) appear only where necessary, leaving the rest of the drawing clean.
- Render the result as a web page and add the ability to export the drawing process as a GIF.
The technical difficulties are:
- Coherence across many constrained steps: any single wrong geometric relation distorts the final result as a whole, leaving almost no room for error.
- An unconventional construction paradigm: marked-ruler construction allows moving a graduated ruler to satisfy positional constraints, which falls outside the framework most compass-and-straightedge solutions are built on, and tests the model’s grasp of non-standard geometric methods.
- Engineering implementation of dynamic visualization: the model must not only compute the geometry correctly but also express timing and rendering details such as point trajectories and “traces only where necessary” as runnable code.
- Verifiability of the result: correctness of the heptagon can be checked objectively by measuring the interior angle (approximately 128.57°) and verifying side-length consistency.
Precisely because these tasks are densely constrained, long-chained, and objectively checkable, they open up a real gap between models — and some models marketed as high-capability may still fail them.
4. Breaking the Evaluation into Scored Dimensions
To make conclusions more credible, split a single task across several dimensions and score each one:
- Instruction following: whether every constraint is honored (for example, “traces only where necessary,” “all omitted steps must be filled in”).
- Reasoning correctness: whether the geometric relations and construction steps hold mathematically.
- Code runnability: whether the generated code runs in a standard environment on the first attempt, without manual fixes.
- Engineering quality: whether the code is clearly structured and maintainable, and includes the required animation and export logic.
- Output stability and experience: whether the reasoning stays coherent, whether anomalies such as “reasoning without producing output” occur, and whether end-to-end latency stays within acceptable bounds.
Together these dimensions form a three-dimensional capability profile and prevent drawing conclusions from a single metric.
5. Designing a Reproducible Evaluation
Reproducibility and comparability depend on fixing the environment and the method:
- A unified prompt: describe the task, constraints, and acceptance criteria in a structured form, for example:
Task: Draw a compass-and-straightedge construction animation of a regularheptagon (marked-ruler method) as a web page.Input constraints:- Only a compass and a graduated straightedge (marked ruler) may be used- Label the geometric object produced by every construction stepAcceptance criteria:- Interior angle of the heptagon ~ 128.57 deg, side lengths consistent- Construction traces appear only where necessary- The page interactively demonstrates the drawing process- The process can be exported as a GIF
- A unified runtime environment: pin the version, temperature, and context length of the inference tooling, and record end-to-end latency.
- An objective acceptance script: verify results with geometric measurements (angles, side-length consistency) and rendered screenshots to reduce subjective judgment.
- Multiple samples: run the same task repeatedly and observe pass rate and stability instead of relying on a single run.
6. Recommendations for Engineering Practice
In enterprise model selection, evaluation cannot stop at “run a few demos.” A more reliable approach:
- Build a private evaluation set that fits your own business, turning real, densely constrained tasks into regression cases.
- Wire the evaluation into an automated pipeline so every model update runs the suite, producing a capability comparison baseline.
- Weigh cost, latency, and stability alongside capability rather than looking at a single score.
- Set “floor protection” for critical scenarios so the pass rate on hard tasks never drops below the threshold the business can tolerate.
If you want to run this kind of evaluation and model serving on your own platform, you can typically combine managed large-model services, containerized inference platforms, and logging, monitoring, and alerting capabilities offered by cloud providers to close the loop from evaluation to deployment to production observability — so that selection, evaluation, launch, and iteration form a continuous feedback cycle.
Conclusion
“Lightweight” does not mean “low capability,” but neither should a vendor’s marketing settle the question. A geometrically constrained, objectively checkable task like constructing a regular heptagon with a marked ruler offers a high-discrimination probe for a model’s reasoning, code generation, and instruction following. Break the evaluation into dimensions, fix the evaluation process, and make result judgment objective — only then can you build a reproducible, quantifiable capability assessment that gives technical selection decisions a solid basis.
