gitwtfhub

wtf is dim-account-audit?

nadiraliofficial/dim-account-audit — explained in plain English

Analysis updated 2026-05-18

10PythonAudience · dataComplexity · 2/5Setup · easy

TL;DR

A Python CSV data quality checker that runs schema, completeness, duplicate, and outlier checks and outputs an HTML report with a quality score.

Mindmap

mindmap
  root((dim-account-audit))
    What It Does
      Schema summary
      Completeness checks
      Duplicate detection
      Outlier detection
      Business rule checks
    Tech Stack
      Python
    Use Cases
      CSV data quality audits
      Data warehouse validation
      Flagged row export
    Audience
      Data engineers
      Analysts

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Run a full data quality audit on any CSV file and get a pass, warn, fail score.

REASON 2

Check a dimension table like DimAccount.csv against business rules like date and balance consistency.

REASON 3

Generate a flagged_rows.csv listing exactly which rows failed or triggered warnings.

REASON 4

Configure custom completeness thresholds and categorical value checks for a new dataset.

What's in the stack?

Python

How it stacks up

nadiraliofficial/dim-account-auditaarav90-cpu/fetchitadammartinez271828/x4-analysis
Stars101010
LanguagePythonPythonPython
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencedatadevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Install requirements with pip, then run one script with a CSV path, a sample dataset is included.

Wtf does this do

dim-account-audit is a Python tool that checks the quality of a CSV file and produces a readable report about what it found. You point it at a CSV, and it runs a set of checks covering the file's structure, how many values are missing, whether rows or key columns have duplicates, whether categorical fields contain only expected values, and whether numeric columns have unusual outliers. The tool was originally written to audit a specific dimension table called DimAccount.csv, used in data warehousing for account records, and it includes account-specific business rules such as checking that closed accounts have a closing date, that open accounts do not, that closing dates always come after opening dates, and that balances are not unexpectedly negative outside credit accounts. If your CSV does not have the columns those rules depend on, they are skipped automatically, so the generic checks like schema, completeness, and duplicates still work on any CSV file, not just account data. Running the tool is a matter of installing the Python requirements and calling a single script with the path to your CSV file. It produces three outputs: an HTML report with charts, a pass, warn, and fail breakdown, and an overall data quality score, a machine readable results file in JSON, and a CSV listing every row that failed or triggered a warning on any check, so you can go straight to the problem rows. You can control which checks run and how strict they are through a configuration file, where you set things like the primary key column, which date columns to check, which columns are allowed to have nulls, the allowed values for categorical fields, and the warning and failure thresholds for missing data. A sample dataset is included so you can see the tool working before pointing it at your own data. No license is stated in the README.

Yoink these prompts

Prompt 1
Help me set up dim-account-audit and run it against my own CSV file.
Prompt 2
Show me how to write a config.json for dim-account-audit to check my dataset's primary key and categorical fields.
Prompt 3
Explain how the outlier detection in dim-account-audit works and how to group it by another column.
Prompt 4
Help me interpret the report.html output from dim-account-audit and fix the flagged rows.

Frequently asked questions

wtf is dim-account-audit?

A Python CSV data quality checker that runs schema, completeness, duplicate, and outlier checks and outputs an HTML report with a quality score.

What language is dim-account-audit written in?

Mainly Python. The stack also includes Python.

How hard is dim-account-audit to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is dim-account-audit for?

Mainly data.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.