Skip to content
deem-dataPublic

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

PrismaDV

Task-Aware Data Validation using Language Models

Architecture

PrismaDV analyzes downstream task code and sample data to automatically generate validation constraints. SIFTA (Selective Informative Feedback for Task Adaptation) adapts PrismaDV from observed task and test outcomes, using failure precision to focus prompt updates on informative constraint failures.

PrismaDV and SIFTA overview


Benchmarks

Performance is evaluated using three comprehensive benchmarks for task-aware data validation:

  • ICDBench - Individual Constraint Discovery (63 test cases)
  • EIDBench-synth - End-to-End Error Impact Detection (5 datasets, 60 tasks)
  • EIDBench-real - End-to-End Error Impact Detection on 3 real repo-derived tasks

See the complete benchmarks overview for detailed comparison and documentation.


Get Started

  1. Install Poetry (if not already installed):

    curl -sSL https://install.python-poetry.org | python3 -
  2. Install dependencies:

    poetry install --with test,gx
  3. Create a .env file with required API keys:

    OPENAI_API_KEY=your_openai_api_key
    HF_TOKEN=your_huggingface_token
    SPARK_VERSION=3.5
  4. Run tests:

    poetry run pytest

Intermediate Results

All task-aware data validation unit tests are saved in the data_processed/ directory. This directory contains unit tests for all tasks generated using different approaches.

Example: View the data unit tests that PrismaDV (GPT-5) generated for general_task_5.py from the IPL_win_prediction dataset in EIDBench-synth here.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages