Class LineExamples
LineExamples: run one reference example by name, out of the JAR.
java -cp jline.jar jline.examples.parity.LineExamples --list java -cp jline.jar jline.examples.parity.LineExamples statepr_aggr java -cp jline.jar jline.examples.parity.LineExamples --group advanced/rewardModel java -cp jline.jar jline.examples.parity.LineExamples --all
WHY THIS EXISTS BESIDE jline.cli.LineCLI. The CLI answers an
-a VIEW of a model, and 24 of the 175 parity baselines are goldened
on a quantity no view carries -- a state probability, a reward, a CDF-derived
mean and SCV, a cache hit rate. Those quantities are DERIVED BY THE EXAMPLE
SCRIPT, not returned by a solver, so the honest way for the JAR to answer
them is the same contract every other row keeps: one codebase EXECUTING the
example. Before this existed those 24 rows went out as a named SKIP, and the
name was accurate while the consequence was that the jar was never asked
anything at all about a sixth of the gallery.
It is the Java counterpart of the C++ line-examples binary
(cpp/examples/main.cpp) and takes the same argument vector, so
parity-static drives both through one code path.
The exit status is the number of examples that threw, so a sweep is usable from a shell without parsing the output; an unknown name exits 2, which is how the harness tells "no twin under that name" from "the twin ran".
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LineExamples
public LineExamples()
-
-
Method Details
-
main
-