feat: Add Markdown and CSV analysis reports

This commit is contained in:
silveroxides
2026-09-14 11:10:59 +02:00
parent e8eb2a0868
commit 7a606f8a02
3 changed files with 215 additions and 146 deletions
+9 -1
View File
@@ -13,10 +13,18 @@ in both modes.
## Outputs
`comparison_report` contains conventional numerical differences and topology
findings. `cwb_report` separately contains diagnostics derived from the
findings. Both reports use Markdown headings and tables. `cwb_report` separately contains diagnostics derived from the
similarity, alignment, and consensus stages of Consensus-Weighted Blending.
`documentation` contains this reference.
Two CSV-text outputs follow the existing three outputs, preserving their socket
positions: `layerwise_metrics_csv` and `layerwise_cwb_csv`. Connect them to a
text-saving node and use a `.csv` filename; analysis itself writes no files.
The CSV rows follow the same key order and displayed numeric precision as the
layerwise Markdown tables. Dtypes A/B, cosine mean/min/max, and A/B affinities
have separate columns. Undefined values remain `N/A`; an empty analysis produces
headers without data rows. Documentation-only mode returns empty CSV strings.
The reports begin with a global summary, followed by inferred blockwise values
and one entry for every comparable tensor. Block names are approximated from
the tensor-key hierarchy through its first numeric path component; they are not