Skip to main content

Style Exchange Format (STEX)

STEX is an exchange format for representing code style checks and is modeled after the format of checkstyle.

info

The format is currently kept very simple, as code style checks are low priority. Currently, it is only used in evaluation stacks that involve Java.

<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="9.0">
<file name="/tmp/tmpmjyqhsoj/./Date.java">
<error line="7" column="1" severity="error" message="&apos;ctor def lcurly&apos; has incorrect indentation level 0, expected level should be 2." source="com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck"/>
<error line="7" column="1" severity="error" message="&apos;{&apos; at column 1 should be on the previous line." source="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck"/>
</file>
</checkstyle>

Although severity can be used to store arbitrary values, it should follow the convention defined by Checkstyle, which uses the values error, warning, and info.