Skip to content

[LLM] Create golden dataset generation tool#481

Merged
gelluisaac merged 4 commits into
Traqora:mainfrom
Menjay7:jay
Jun 29, 2026
Merged

[LLM] Create golden dataset generation tool#481
gelluisaac merged 4 commits into
Traqora:mainfrom
Menjay7:jay

Conversation

@Menjay7

@Menjay7 Menjay7 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR introduces a Golden Dataset Generation Tool for creating high-quality, reproducible evaluation datasets for LLM workflows. The tool standardizes dataset generation, validation, and versioning, enabling consistent benchmarking of prompts, models, and application behavior across releases.

Changes Made
Added a tool for generating golden datasets from configurable data sources.
Implemented support for customizable dataset generation rules and templates.
Added metadata generation for prompts, expected outputs, model configuration, and evaluation context.
Implemented dataset validation to ensure completeness, consistency, and formatting.
Added deterministic generation options for reproducible datasets.
Introduced dataset versioning and change tracking to support regression testing.
Added CLI/configuration options for dataset generation and export.
Supported export to common formats such as JSON, JSONL, and CSV.
Added structured logging and reporting for generation progress and validation results.
Updated documentation with usage examples and configuration guidance.
Benefits
Standardizes creation of evaluation datasets.
Enables reliable benchmarking across prompts and models.
Supports regression testing with reproducible datasets.
Simplifies maintenance of evaluation data through versioning.
Improves confidence in LLM quality and performance measurements.
Testing
Verified dataset generation from supported input sources.
Confirmed deterministic generation produces identical outputs across repeated runs.
Validated dataset schema, metadata, and export formats.
Tested handling of invalid inputs and generation failures.
Verified versioning and change tracking functionality.
Executed unit and integration tests to ensure reliable operation.
Checklist
Golden dataset generation tool implemented
Configurable generation rules added
Dataset validation implemented
Deterministic generation supported
Dataset versioning and metadata added
Export formats implemented
Documentation updated
Unit and integration tests added and passing..closed #399


# Use deterministic hashing for consistent assignment
identifier = user_id or session_id
hash_value = int(hashlib.md5(f"{experiment_id}:{identifier}".encode()).hexdigest(), 16)
@gelluisaac gelluisaac merged commit 7c36091 into Traqora:main Jun 29, 2026
10 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[LLM] Create golden dataset generation tool

4 participants