Evaluating Prompt Adherence After a High-Parameter Model Upgrade

    When upgrading a high-parameter, long-chain-of-thought model, code that runs is not enough. This article explains how to evaluate prompt adherence by focusing on intent understanding, object relationships, implicit constraints, process consistency, runnable output, and detail compliance. It uses an interactive regular-heptagon construction task with a two-mark ruler to show why geometry tasks expose reasoning gaps, outlines the core test difficulties, proposes acceptance criteria, lists common failure modes, and summarizes what these results mean for developers.

    1. Evaluation Focus: From “Can Generate Code” to “Can Understand Intent”

    When evaluating the upgrade of a high-parameter, long-chain-of-thought model, it is not enough to check whether it can output a piece of runnable code. For real development work, the more important question is whether the model accurately understands the goals, constraints, object relationships, and implicit conditions in natural language, and carries them through to the final result.

    This capability can be summarized as “prompt adherence,” but it is not the same as mechanically repeating the user’s requirements. Truly high-quality adherence includes at least the following layers:

    1. Understanding the task goal: Clarifying what the user ultimately wants, rather than executing only one local step.
    2. Identifying object relationships: Distinguishing points, lines, circles, marks, trajectories, intersections, and other objects, and understanding their dependencies.
    3. Handling implicit constraints: Inferring unit length, coordinate ranges, action order, and necessary conditions from context.
    4. Maintaining process consistency: Geometric objects generated in an earlier step should be usable as inputs to a later step.
    5. Producing runnable output: Not only giving an explanation, but generating a structurally complete web page or program with correct interaction logic.
    6. Respecting detail requirements: For example, dynamic trajectories should appear only at necessary stages, animation should be replayable, and results should be exportable.

    Therefore, the value of a model upgrade often lies not in “writing more code,” but in whether it reduces the user’s cost of repeatedly clarifying requirements, correcting logic, and filling in omissions.

    2. Why Geometric Construction Tasks Are Suitable for Testing Model Capability

    Geometric construction looks intuitive, but it is actually well suited to testing a model’s comprehensive reasoning ability. Unlike an ordinary form page or a simple algorithm, geometric construction involves mathematical definitions, spatial relationships, action order, and visual expression at the same time.

    For example, the following test task can be designed:

    Draw an interactive web page that constructs a regular heptagon using a two-mark ruler. First take a square and construct the perpendicular bisector of its bottom edge; draw a circle centered at the lower-right vertex with the square’s diagonal as the radius; then use a two-mark ruler so that it is kept against the lower-left vertex, with the first mark moving along the circle until the second mark passes through the perpendicular bisector of the bottom edge; afterward complete the straightedge-and-compass steps needed to determine the center, radius, and regular heptagon, and provide an animation process and image export function.

    The difficulty in this description is not merely “drawing a heptagon,” but completing a continuous construction process. The model must first determine the coordinate system, then translate natural language into geometric operations, and finally map the mathematical process into web interaction.

    This includes at least the following questions:

    • How should the side length of the square be determined?
    • What position should the “perpendicular bisector of the bottom edge” pass through?
    • What kind of circle corresponds to “centered at the vertex with the diagonal as the radius”?
    • How should the distance between the two marks on the two-mark ruler be understood?
    • What conditions must hold simultaneously when the two-mark ruler moves?
    • Which points are construction results, and which points are only auxiliary objects?
    • At which stages should the movement trajectory of the compass or circle be displayed?
    • How can the vertices of the regular heptagon be obtained from the determined center and radius?
    • How should the animation present each step, rather than showing only the final static figure?

    If the model grasps only the keywords “regular heptagon” and “HTML,” it will usually generate only a static polygon, or directly draw using precomputed vertex coordinates. Such a result satisfies the output format on the surface, but does not adhere to the construction process required by the user.

    3. Core Difficulties in Testing

    1. Recovering the Meaning of an Uncommon Term

    “Two-mark ruler” is not a common everyday development term. The model cannot simply guess from the literal words; it should infer its function from context: it is a straightedge with two marks at a fixed distance, and its use requires satisfying multiple geometric conditions at the same time.

    A more rigorous treatment should:

    • Clarify the effective length of the two-mark ruler;
    • Define the fixed distance between the two marks;
    • Explain which mark corresponds to which geometric constraint;
    • Specify whether the ruler may translate, rotate, or both when moving;
    • Display the ruler body, marks, and current pose in the interface.

    If the original requirement does not specify these details, the model should proactively list reasonable assumptions rather than silently adopting some rule. Being able to identify ambiguity and explain it transparently is an important part of natural-language adherence.

    2. Simultaneous Constraints on Multiple Objects

    In this task, one action often involves three or more objects at the same time. For example, when moving the two-mark ruler, the following must be satisfied:

    • The ruler is kept against the lower-left vertex;
    • The first mark lies on the specified circle;
    • The second mark passes through the perpendicular bisector of the bottom edge;
    • The ruler pose still conforms to the current geometric relationships.

    This is not simply “moving one point to another point,” but a pose-solving problem with geometric constraints. The model needs to convert natural language into coordinate equations or a numerical search process.

    In a web implementation, the following general approach can be used:

    1. Establish a unified coordinate system for the square and auxiliary figures;
    2. Fix one endpoint of the two-mark ruler;
    3. Describe the ruler’s rotation with an angle parameter;
    4. Compute the positions of the two marks from the angle;
    5. Check the distance from the first mark to the target circle;
    6. Check whether the second mark lies on the target perpendicular bisector;
    7. Stop the search and record the pose when the error threshold is satisfied;
    8. Use that pose as the input to subsequent construction.

    The key here is not to use a particular algorithm, but to ensure that the geometric relationships in the code match the textual description. If only the final angle is hardcoded, the page may look correct, but it does not reflect a real construction and is not conducive to continued use after the user changes parameters.

    3. Filling in Necessary Conditions from Vague Descriptions

    Original requirements are usually not as complete as a mathematics textbook. For example, they may not state the square’s side length, nor explain in detail whether auxiliary lines should be included when exporting an image.

    The model needs to make reasonable inferences based on the final goal, but the inferences must be explainable. Taking the square as an example, if subsequent construction depends on a unit length, its side length can usually be set to one unit, and the explanation should state clearly:

    • The square’s side length is normalized to 1;
    • The spacing between the marks on the two-mark ruler is also interpreted in unit length;
    • All coordinates are computed under a unified scale;
    • Page zoom changes only the display size, not the geometric relationships.

    The requirement to “leave traces only in necessary parts” should also be converted into explicit rules. For example:

    • When drawing circles, keep the arcs ultimately needed;
    • Temporary trajectories during movement are shown only during the animation stage;
    • Auxiliary lines that have already been determined are retained;
    • Search paths unrelated to the final construction are excluded from the exported image.

    If such rules are not explicit, the model may easily generate many messy lines, making the final figure difficult to read.

    4. How to Judge Whether the Model Truly Adheres to the Prompt

    It is recommended to evaluate from four dimensions.

    1. Result Correctness

    Check whether a regular heptagon is finally obtained, whether the vertices are approximately on the same circle, whether adjacent side lengths are close, and whether the central angles are basically consistent. Error metrics can be used for automatic validation rather than relying only on visual inspection.

    2. Process Explainability

    Check whether the page shows the square, perpendicular bisector, auxiliary circle, two-mark ruler pose, determined intersections, and final circle. Does each step have a clear name and order, and can the user understand how the figure is produced?

    3. Interaction Completeness

    Check whether the animation supports start, pause, resume, and reset; whether the user can adjust playback speed; whether the geometric relationships remain intact after dragging or zooming the canvas; and whether the export function includes only valid content.

    4. Requirement Coverage

    A checklist can be established:

    • Whether the specified initial figure is used;
    • Whether the perpendicular bisector of the bottom edge is drawn;
    • Whether the circle is constructed at the specified vertex;
    • Whether the two marks of the two-mark ruler are represented;
    • Whether the ruler movement process is shown;
    • Whether subsequent straightedge-and-compass steps are completed;
    • Whether the display range of auxiliary trajectories is controlled;
    • Whether animation or image file export is supported.

    Checklist-based acceptance can prevent “the page opens” from being mistaken for “the task is complete.”

    5. Common Failure Modes

    The first failure mode is completing only the final result without the construction process. For example, directly computing the vertices of the regular heptagon and then connecting them with a drawing function. This is suitable for display, but does not meet the requirements of a process-oriented task.

    The second failure mode is ignoring the physical constraints in the terminology. The model may treat the two-mark ruler as an ordinary straightedge, or allow the two marks to move independently, breaking the rigid relationship of the ruler.

    The third failure mode is making decisions about ambiguous conditions without explanation. If the model chooses a certain unit, error threshold, or trajectory rule, this should be reflected in the page explanation or code comments.

    The fourth failure mode is inconsistency between animation and static result. The animation shows one process, but the final figure is generated from another set of preset coordinates, and the user finds that the two cannot correspond.

    The fifth failure mode is missing boundary handling in the export function. Export may omit the background, crop labels, or save search trajectories that should not be retained. In actual implementation, an independent rendering layer should be established for export, and it should be clear which objects belong to the final result.

    6. Practical Implications for Developers

    This kind of test shows that model capability evaluation cannot stop at “whether the code can run.” More valuable indicators are:

    • Whether the model understands domain terminology;
    • Whether it can handle multiple simultaneous constraints;
    • Whether it can fill in implicit conditions from context;
    • Whether it can ask for clarification when it detects ambiguity;
    • Whether it can maintain consistency among the mathematical model, animation process, and final output;
    • Whether it can translate natural-language requirements into a verifiable engineering implementation.

    For everyday development, this capability is especially relevant to interactive teaching tools, data visualization, engineering simulation, workflow editors, and complex business prototypes. Users often do not provide complete API documentation; instead, they describe goals in a style close to natural communication. If the model can handle only structured, unambiguous instructions, its practical value will be significantly limited.

    Overall, the evaluation focus after a model upgrade should shift from “generation speed” and “code length” to “quality of intent restoration.” A truly mature system should not only provide a runnable page, but also understand why the page runs this way, why each object exists, and whether the final result faithfully reflects the user’s original requirements.