OCamlFormat.
Format OCaml with a pinned profile
Specify the formatter version in .ocamlformat and use the Dune formatting alias in CI. Review style changes separately when updating the formatter.
OCaml
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedThe .ocamlformat file declares the profile and formatter version, defining the project-specific expected formatting.
Measurement
UnknownNo reviewed evidence is recorded for this dimension.
Can someone repeat the measurement? Contribute evidence ↗
Conformance
UnknownNo reviewed evidence is recorded for this dimension.
What would demonstrate a violation? Contribute evidence ↗
CI enforcement
UnknownNo reviewed evidence is recorded for this dimension.
Can a change trigger a useful check? Contribute evidence ↗
Getting started
UnknownNo reviewed evidence is recorded for this dimension.
Can a newcomer complete a first run? Contribute evidence ↗
Real-world adoption
VerifiedDune pins OCamlFormat 0.30.0 and the janestreet formatting profile for its OCaml project.
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Run the check with the tool installed and configured for your project.
dune build @fmt
Agent prompt
Use OCamlFormat in this repository to meet this standard: Format OCaml with a pinned profile. Specify the formatter version in .ocamlformat and use the Dune formatting alias in CI. Review style changes separately when updating the formatter. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.