Exocortex R&D

Dossier · F5.7

Enforced answer format

Does structure end prose answers.

  1. Candidate
  2. Hypothesis card
  3. Quick test
  4. Gate
  5. Pilot
  6. Report
Status
Planned
Stage
–
Scale
S, quick test
Roadmap task
F5.7
Preregistration
Not frozen yet
Dossier version
0.1
Updated
2026-09-28
Data
–

Business applications

Helps a team decide whether to force a local model to answer in the fixed structure a program expects, without losing the quality of what it says.

Applications

Application: Choosing whether to enforce the answer structure in local models

Who uses it
AI system architects and the product team
Conditions and limits
The decision rests on how many answers have the required structure. Applies to one way of enforcing structure and to specific local models.

Application: Assessing the risk of prose answers where a program expects a tool call

Who uses it
the people responsible for quality and compliance
Conditions and limits
The safeguard is the quality of what the answers say: enforcing the structure must not make it worse. The result says nothing about cloud models.

If we confirm, if we refute

  • If we confirm: answers of the local model have the structure a program expects, and what they say does not get worse. A team can switch this on wherever a program waits for a tool call.
  • If we refute: the structure does not help or makes the answers worse. A team does not switch it on in these models.

What not to conclude from this

  • The result concerns specific local models and the specific software that runs them. We do not carry it over to cloud models or other tools.
  • The experiment measures conformity to the schema and claim quality. It does not measure cost or response time.

What to check next

  • Check the effect of enforcing the structure on claim quality with a second local model.
  • After the hypothesis card is frozen and the first run is done, generate this page again, because the result will change.

Composed from this dossier; the owner approved the text.

Abstract

Sometimes a model replies in prose where a program expects a tool call. We will test whether forcing the structure of the answer with a grammar eliminates such cases and whether it harms the quality of claims. The experiment is planned and nothing has been measured yet.

Question and hypothesis

The question: does forcing the structure of the answer with a grammar (a JSON schema, a GBNF grammar in llama.cpp) eliminate the cases where the model replies in prose instead of calling a tool. The hypothesis and the threshold will be set in the hypothesis card.

Preregistration

There is no hypothesis card. The card will be frozen and published before the first measurement.

Data

Data from the first experiment (F3): the public corpus of abstracts and the configurations of local models.

No data files yet.

Method

A comparison of answers with and without the enforced structure. The deciding metric will be the share of answers that conform to the schema, and the guard metric the quality of claims. The experiment depends on the first experiment (F3).

Runs

No runs yet. The first run will appear once the hypothesis card is frozen. Every run gets a note: model, variant, parameters, code commit, result and anything that went wrong or looked odd.

Results

No results yet. We publish results on the day they are produced, negative ones too, with confidence intervals and a link to the raw data.

Gate decisions

No decision has been made yet. Gate G1 comes after the quick test and G2 after the pilot. Every decision is published together with the results it rests on.

How to reproduce

Not applicable until there are runs.

Limitations

We will write the limitations in the hypothesis card. It is already known that the result will concern specific local models and specific software for running them.

References

None.

Deviations and change log

Date: 2026-09-28

Version
0.1
Change
Dossier of a planned experiment created.

How to cite

Cite this dossier in the version you used. The DOI will be added when releases are archived.

Exocortex R&D (2026). Enforced answer format. Dossier of hypothesis F5.7, version 0.1. https://lab.exocortex.zone/en/hypotheses/enforced-answer-format/
BibTeX
@misc{exocortexrd2026enforcedanswerformat,
  author = {Exocortex R\&D},
  title = {Enforced answer format},
  year = {2026},
  version = {0.1},
  url = {https://lab.exocortex.zone/en/hypotheses/enforced-answer-format/},
  note = {Dossier of hypothesis F5.7}
}

DOI: not yet assigned · Change history in the repository