This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works
Each sentence below has a stale name: a type the default branch doesn't declare, or declares somewhere else. Edit the doc so it matches the code, or bring the type back.
Goneorg.finos.legend.pure.m3.compiler.Compiler
Class org.finos.legend.pure.m3.compiler.Compiler, Module legend-pure-m3-core, What it does The top-level Pure compiler entry point
org.finos.legend.pure.m3.compiler declares nothing by this name.
PostProcessor is in org.finos.legend.pure.m3.compiler.postprocessing
Holds
Sub-pass Generic type traceability, Method GenericTypeTraceability.addTraceForFunctionDefinition(), What it does Records type-parameter usage chains for error reporting
GenericTypeTraceability has an addTraceForFunctionDefinition method
Holds
Entry points:Validator.validate(), sub-validators in org.finos.legend.pure.m3.compiler.validation
Validator is in org.finos.legend.pure.m3.compiler.validation
FunctionExecutionInterpreted is in legend-pure-runtime/legend-pure-runtime-java-engine-interpreted
Holds
The string 'Java compiled' is checked by PureTestBuilder.satisfiesConditions().
PureTestBuilder has a satisfiesConditions method
Holds
Both engines support incremental compilation. > IncrementalCompiler lives in legend-pure-m3-core — the shared compiler layer — > and is used by both CompiledExecutionSupport and FunctionExecutionInterpreted.
3 rules from this sentence
CompiledExecutionSupport depends on IncrementalCompiler
HoldsPR #1354 · Oct 2
FunctionExecutionInterpreted depends on IncrementalCompiler
HoldsPR #1354 · Oct 2
IncrementalCompiler is in legend-pure-core/legend-pure-m3-core
Holds
Java delta recompilation (compiled engine only):CodeBlockDeltaCompiler wraps the changed Pure code as an anonymous function, runs it through IncrementalCompiler.IncrementalCompilerTransaction, and recompiles only the affected generated Java classes in-memory using javax.tools.
CodeBlockDeltaCompiler depends on IncrementalCompiler
Holds
Class TypeInference, Role Static utilities canProcessLambda , storeInferredTypeParametersInFunctionExpression , mapSpecToInstance
2 rules from this sentence
TypeInference has canProcessLambda
HoldsPR #1354 · Oct 2
TypeInference has mapSpecToInstance
HoldsPR #1354 · Oct 2
TypeInference.mapSpecToInstanceSub matches declared parameter multiplicities against actual argument multiplicities and registers the mapping in TypeInferenceContext.
TypeInference has mapSpecToInstanceSub
HoldsPR #1354 · Oct 2
The JavaCodeGeneration and M3CoreInstanceGenerator classes walk the M3 CoreInstance graph and emit Java source text using string templates (not a formal template engine).
M3CoreInstanceGenerator depends on CoreInstance
Holds
Both are implemented once, in legend-pure-m4: DateFunctions.dateDifference (delegating to the package-private DateDiff) and the PureDate.addX family.
2 rules from this sentence
DateFunctions is in legend-pure-core/legend-pure-m4
Holds
PureDate is in legend-pure-core/legend-pure-m4
Holds
DateFunctions.dateDifference (delegating to the package-private DateDiff) and the PureDate.addX family.
DateFunctions has dateDifference
Holds
Both engines call straight into them, CoreHelper.dateDiff in the compiled engine and the DateDiff and AdjustDate natives in the interpreted engine, so the two engines cannot disagree.
CoreHelper has dateDiff
Holds
One method does the work, DateFormat.format in legend-pure-m4, and everything routes through it. PureDate.format(String) delegates to it, and the Pure native reaches it from both engines by carving the %t{...} payload out of the larger format string.
PureDate depends on DateFormat
HoldsPR #1354 · Oct 2
One method does the work, DateFormat.format in legend-pure-m4, and everything routes through it.
DateFormat has a format method, and DateFormat is in legend-pure-core/legend-pure-m4
Holds
PureDate.format(String) delegates to it, and the Pure native reaches it from both engines by carving the %t{...} payload out of the larger format string.
PureDate has a format method
Holds
DateFormatPattern.pattern() writes the modern spelling and never the repetition form, which makes reading a format string and writing it back the mechanical half of a migration.
DateFormatPattern has a pattern method
Holds
FormatTools.validate checks a format string against the specifier grammar the two engines implement, and FormatValidator calls it from FunctionExpressionValidator wherever parameter 0 of format is a literal.
FormatTools has validate, and FormatValidator depends on FormatTools
Holds
StrictTimeFormat is now visibly a second implementation of an overlapping language, with the sub-second rule this change replaced. It has no Pure surface, so nothing reaches it except PureStrictTime.format(String) from Java, and it was deliberately left alone.
PureStrictTime depends on StrictTimeFormat
HoldsPR #1354 · Oct 2
It has no Pure surface, so nothing reaches it except PureStrictTime.format(String) from Java, and it was deliberately left alone.
PureStrictTime has a format method
Holds
Class org.finos.legend.pure.runtime.java.interpreted.ExecutionSupport, Module legend-pure-runtime-java-engine-interpreted, What it does The interpreted-mode execution entry point
ExecutionSupport is in legend-pure-runtime/legend-pure-runtime-java-engine-interpreted
Holds
DependencyResolutionScope — an enum modelling the five dependency scopes (compile, compile+runtime, runtime, runtime+system, test) with their corresponding ScopeDependencyFilter instances.
RelationMappingParser is in legend-pure-dsl/legend-pure-dsl-mapping/legend-pure-m2-dsl-mapping-grammar
Holds
layout shared with string literals in org.finos.legend.pure.m4.serialization.grammar.MultilineTextLayout;
MultilineTextLayout is in org.finos.legend.pure.m4.serialization.grammar
Holds
attachment in AntlrContextToM3CoreInstance.taggedValues(...).
AntlrContextToM3CoreInstance has a taggedValues method
Holds
Given the raw text between the delimiters, the parser applies these steps in order (AntlrContextToM3CoreInstance.processMultilineString):
AntlrContextToM3CoreInstance has processMultilineString
Holds
It then fails in RelationalGraphBuilder.visitTaggedValueNew, which reads ctx.STRING(0) unconditionally;
RelationalGraphBuilder has visitTaggedValueNew
Holds
Packaging mirrors legend-pure-lsp-server: jar with mainClass manifest (org.finos.legend.pure.lsp.mcp.LegendPureMcpServer) plus maven-dependency-plugincopy-dependencies into target/dependency.
LegendPureMcpServer is in org.finos.legend.pure.lsp.mcp
Holds
Exposes list() and call(name, args).
2 rules from this sentence
PureToolRegistry has a list method
Holds
PureToolRegistry has a call method
Holds
Seeded at startup from RepositoryScanner.getMappings() with a content hash per sourceId.
WorkspaceSync depends on RepositoryScanner
Holds
On demand (sync()), rescans the workspace roots for .pure files, compares hashes, and produces List<LegendPureSession.FileChange> covering modified, new, and deleted files;
WorkspaceSync depends on LegendPureSession
Holds
The debug runtime uses LegendDebugFunctionExecution, an LSP-local subclass of FunctionExecutionInterpreted.