~/projects/SAS CompareX
live·2025·01 Oct 2025

SAS CompareX

Intelligent SAS code comparison and data lineage analysis tool

pythonsasjavascripthtml
SAS CompareX

Key Features:

  • Code Comparison Interface:
    Side-by-side comparison of original and updated SAS code with a structured differences panel

  • Intelligent Difference Detection:
    Automatically classifies changes as added, removed, or modified with syntax-aware highlighting

  • Code Metrics & Analysis:
    Provides insights such as lines changed, macro usage, recursion detection, and hardcoded values

  • Dataset Lineage (Table View):
    Structured mapping of input/output datasets, PROC/DATA steps, macro context, and line-level traceability

  • Dataset Lineage (Graph View):
    Interactive visualization of data flow with node-level insights, trace mode, and search functionality

  • Session Management:
    Save and restore analysis sessions with full context including layout, scroll positions, and highlights

  • Optimized Comparison Layout:
    Clean vertical split view with synchronized scrolling, inline diff highlighting, and quick navigation

  • Auto Scroll & Navigation:
    Automated synchronized scrolling for efficient review of large codebases

  • Smart System Features:
    File change detection, theme switching, sync scroll, and adaptive UI modes


Highlights:

  • Built to handle large-scale SAS codebases with high accuracy and performance
  • Combines code comparison with data lineage — enabling deeper impact analysis
  • Significantly reduces manual effort in debugging, validation, and reconciliation workflows
  • Inspired by real-world enterprise use cases in data engineering and financial systems

Tech Stack:
Python · SAS · JavaScript