fix(domain): preserve derived byte counts and uncertain identity
This commit is contained in:
@@ -204,7 +204,8 @@ const buildReconstructionSummary = (
|
||||
({ reconstruction }) => reconstruction.kind === "semantic-pseudocode",
|
||||
).length,
|
||||
total_text_bytes: methods.reduce(
|
||||
(total, { reconstruction }) => total + reconstruction.text_length,
|
||||
(total, { reconstruction }) =>
|
||||
total + Buffer.byteLength(reconstruction.text, "utf8"),
|
||||
0,
|
||||
),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user