TDA.Report 2.1.5

dotnet add package TDA.Report --version 2.1.5
                    
NuGet\Install-Package TDA.Report -Version 2.1.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TDA.Report" Version="2.1.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TDA.Report" Version="2.1.5" />
                    
Directory.Packages.props
<PackageReference Include="TDA.Report" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TDA.Report --version 2.1.5
                    
#r "nuget: TDA.Report, 2.1.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TDA.Report@2.1.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TDA.Report&version=2.1.5
                    
Install as a Cake Addin
#tool nuget:?package=TDA.Report&version=2.1.5
                    
Install as a Cake Tool

TDA.Report

English | 简体中文

TDA.Report is the report-generation package of TDA, a .NET 10 framework for STDF (Standard Test Data Format) semiconductor test data (CP/FT) analysis. It converts DataPrism analysis results — yield, bin distributions, parameter statistics (mean/sigma, percentiles, Cp/Cpk, …), anomaly screening, Wafer Map / histogram charts — into human-readable reports, with HTML as the core format and Excel as a data attachment.

Install

dotnet add package TDA.Report

TDA.Report consumes the TDA core package; TDA.GUI provides the interactive counterpart.

Features

  • HTML as the core format — a single self-contained file, zero JavaScript, native <details>/<summary> folding, charts embedded as base64 PNG data URIs.
  • Excel (.xlsx) output — one sheet per report section plus a Charts sheet with embedded PNGs (MiniExcel-based).
  • Built-in anomaly screening — 4 default rules (Cpk < 1.33, OOS rate > 0.1%, Mean shift > 50%, distribution skew > 0.3), severity-sorted, extensible via ReportOptions.AnomalyRules.
  • Offscreen chart rendering — ChartService renders histograms, box plots, trend charts and CDF plots to PNG via ScottPlot, no UI required.
  • Lot yield report template — anomaly overview first, then lot/yield summary, HBin/SBin distributions (Top Fail highlighted), parameter statistics, optional charts.
  • Pdf / Markdown output is planned (not yet implemented).

Platform Requirements

  • Target framework: net10.0-windows10.0.19041 (Windows only, follows the TDA core library).
  • Depends on the TDA core package, MiniExcel and ScottPlot (core, offscreen rendering only — no WinForms dependency).

Quick Start

using TDA;
using TDA.Report;
using TDA.Report.Adapters;
using TDA.Report.Charts;
using TDA.Report.Document.Blocks;
using TDA.Report.Templates;

// 1. Load and analyze STDF data with the TDA core
using var dp = DataPrism.FromFile(@"C:\data\lot001_ft1.stdf.gz");
dp.Load();
dp.DoStatisticAnalysis();

// 2. Adapt to a structured summary (anomaly rules evaluated here)
var options = new ReportOptions { Title = "Lot001 Yield Report" };
var summary = DataPrismAdapter.ToReportSummary(dp, options.Title, options);

// 3. Render parameter charts to PNG (optional)
var chartService = new ChartService(dp);
var charts = new List<ChartBlock>
{
    new("VDD Histogram", new ChartSpec(ChartKind.Histogram, "1000_VDD_0", 800, 450)),
    new("VREF BoxPlot",   new ChartSpec(ChartKind.BoxPlot,   "1001_VREF_0", 800, 450)),
};
foreach (var chart in charts)
    chart.ImagePath = chartService.RenderToPng(chart.Spec, @"C:\output\charts");

// 4. Assemble the template and render a self-contained HTML report
string htmlPath = LotYieldReport.RenderToFile(summary, options, @"C:\output\lot001.html", charts);

To render Excel instead/as well:

using TDA.Report.Render;

var doc = LotYieldReport.Build(summary, options, charts);
new ExcelRenderer().RenderToFile(doc, @"C:\output\lot001.xlsx");

TestID key format for ChartSpec: "{TestNumber}_{TestText}_{TestSequence}".

Architecture

DataPrism (TDA core)
   └─ DataPrismAdapter → ReportSummary (+ anomaly rules)
        └─ LotYieldReport (template) → ReportDocument (renderer-agnostic model)
             └─ IRenderer: HtmlRenderer (core) · ExcelRenderer · PdfRenderer (Phase 2)
ChartService (ScottPlot offscreen PNG) → ChartBlock

Key types: DataPrismAdapter, LotYieldReport, ReportSummary, ReportOptions, AnomalyRules, ChartService, ChartSpec/ChartKind, ReportDocument, HtmlRenderer, ExcelRenderer.

Documentation

  • Runnable example in the tda-learn repository: Examples/Ex701.LotYieldReport.
  • Full design doc (roadmap: LotYieldReport implemented; ParametricReport in Phase 2) is maintained in the private source repository and is not published.

License

© TDA Project Contributors

Product Compatible and additional computed target framework versions.
.NET net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.5 116 10/28/2026
2.1.4 106 10/24/2026
2.1.2 154 9/5/2026
2.1.1 133 9/5/2026
2.1.0 129 9/5/2026