mirror of
https://github.com/morluto/rea.git
synced 2026-11-03 13:26:10 +00:00
fix(javascript): bound semantic unknown retention at projection
Admit unknowns before canonical construction and provenance interning. Offer independent per-file and application capacities through CLI, Evidence and the owned analysis worker, and reject over-allocation during streamed decoding. Report examined omitted emission occurrences by family and reason without retaining discarded identities. Preserve omission-free graph identities and distinguish node truncation from overall partial coverage. Fixes #4797
This commit is contained in:
1 parent
926e18b3fc
commit
f4322b15ed
34 files changed
+892
-293
No files matched your search
@@ -4,6 +4,7 @@ import type {
|
||||
JavaScriptSemanticGraphNode,
|
||||
JavaScriptSemanticGraphRelation,
|
||||
JavaScriptSemanticGraphUnknown,
|
||||
JavaScriptSemanticUnknownOmission,
|
||||
} from "./javascriptSemanticGraphSchemas.js";
|
||||
|
||||
/** File-local facts transported before binding them to the containing application graph. */
|
||||
@@ -13,6 +14,13 @@ export interface JavaScriptSemanticFileProjection {
|
||||
readonly nodes: readonly JavaScriptSemanticGraphNode[];
|
||||
readonly relations: readonly JavaScriptSemanticGraphRelation[];
|
||||
readonly unknowns: readonly JavaScriptSemanticGraphUnknown[];
|
||||
readonly omittedUnknownOccurrences?: readonly JavaScriptSemanticUnknownOmission[];
|
||||
readonly fingerprints: readonly JavaScriptSemanticFingerprint[];
|
||||
readonly truncated: boolean;
|
||||
readonly nodesTruncated: boolean;
|
||||
}
|
||||
|
||||
/** Independent retained capacities offered to one source projection. */
|
||||
export interface JavaScriptSemanticProjectionCapacity {
|
||||
readonly nodes: number;
|
||||
readonly unknowns: number;
|
||||
}
|
||||
Reference in new issue
Block a user