VE Historical Log Normalizer
100% local MS3 Speed Density tuning suite — log parser, timestamp wideband aligner, BaroCor-only fuel audit, regularized bilinear WLS VE solver, Before-vs-After Drive Validation Comparator, and safe cloned .msq exporter.
Input Files & Props Loader
1. MS3 Tune (.msq)
NoneRead-only XML parser. Your original .msq is never modified.
2. Datalogs (.csv)
0 filesSupports TunerStudio/MSDroid preambles, units rows & multi-CSV loading.
3. Properties (.props.json)
DefaultsExternal JSON driving 100% of CLT bounds, margins, alignment & solver rules.
Tune & Table Selection (MSQ Verification)
VE Table & Axis Binding
AFR Target Table & Axis Binding
.msq file in Section A to inspect detected constants, load algorithm, and VE/AFR table orientation.
CSV Column Mapping & Unit Normalization
.csv datalogs in Section A to auto-map channels and verify temperature unit normalization (°F → °C).
Scenario, CLT & Cleaning Properties (PropsManager)
Physical Pre-Flight Checklist (Non-Inferable — Required for Verified Classification)
Cleaning & Verification Report
MS3 PW1 Physics Audit
--TotalCor & BaroCor Audit
--Extracted MS3 Fuel Formula
--Per-Reason Rejection Breakdown (Multi-Reason Accounting)
Per-File Ingestion, Time Integrity & Tune Compatibility
Clean-but-Unverified Breakdown
Sample Preview of Normalized Rows (First 25)
VE Analysis Grid & WLS Solver
Iteration 2 Active.msq and datalog(s) to compute the regularized bilinear WLS candidate VE table.
Manual AFR Target Editor & PW / Duty Simulator
Original MSQ AFR 0 cells editedInclude AFRtarget = ON), veTable1_candidate stays calibrated to true airflow using your original MSQ AFR table, while your edits build afrTable1_candidate.table and immediately simulate predicted PW (ms) and Duty Cycle (%) across the grid below.
C) High variance No data (Δ=0) Reverted (R) Interactive Timeline Inspector (<canvas>)
No log loadedτ seconds to match exhaust travel time.
Shaded red bands mark detected transients plus their pre/post contamination buffers; the bottom strip marks Verified, Clean, and Rejected rows.
Export Suite & Audit Traceability
Iteration 3 Active.msq files are strictly read-only and never modified. All exports respect per-cell manual reverts, safety clamps, and the active dataset mode.
1. TunerStudio Native .table
XML
Native <tableGenerator> XML with ascending RPM/Load axes and row 0 = lowest kPa matching TunerStudio import expectations.
2. Candidate VE Table CSV
CSV
Clean spreadsheet-ready CSV with RPM header row and MAP_kPa column (highest kPa on top) for offline review or diffing.
3. Copyable TunerStudio Grid
TSVTab-separated values (highest kPa at top, lowest RPM on left) ready to paste directly into TunerStudio's VE table editor.
4. Candidate AFR Target Table
XML + TSV
Native TunerStudio afrTable1_candidate.table XML (row 0 = lowest kPa) and paste-ready TSV reflecting your UI AFR target edits.
5. Active Props Snapshot
JSON
Version-controllable ve_normalizer.props.json reproducing the exact Candidate VE output bit-for-bit on reload.
6. Full Audit & Traceability
JSON + MD
Complete audit embedding MSQ hash, CSVs, mappings, propsSnapshot, checklist, rejection stats, PW/TotalCor percentiles, VE & AFR simulation diffs, and sample traceability.
7. Non-Destructive Cloned .msq Patch Exporter
Phase A · Roundtrip Verified
Generates a brand-new TunerStudio-ready .msq clone preserving every untouched constant byte-for-byte, applying only the patches you check below, and running an automatic in-memory MSQParser.parse() roundtrip verification before download.
Drive Validation Comparator — Before vs. After
Phase A Active1. Baseline Run ("Before")
Older tune & logs prior to your change
2. Validation Run ("After")
New street drive tune & logs (checked for flat BaroCor = 100%)
Plain-English Scorecard & Cell-by-Cell Diff
--MAT Heat-Soak & Cold-Start Warmup (WUE) Curve Tuner
Phase B ActiveCurrentTune.msq and one or more .csv logs (cold-start logs like friocomosuptm.csv work great for WUE!) in the VE Normalizer tab, then switch right back here.