evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
A utility for managing dataset certification status and documentation in data catalog systems.
Build a dataset certification manager that allows users to mark datasets as certified, add documentation, and query certification status. The system should track certification metadata including who certified the dataset, when it was certified, and provide a description of what the dataset contains.
export interface CertificationInfo {
isCertified: boolean;
certifiedBy?: string;
certificationDate?: Date;
description?: string;
}
export class DatasetCertificationManager {
/**
* Certifies a dataset with the given metadata
* @param datasetName - Name of the dataset to certify
* @param certifiedBy - Name of the person certifying the dataset
* @param description - Description of what the dataset contains
*/
certify(datasetName: string, certifiedBy: string, description: string): void;
/**
* Gets certification information for a dataset
* @param datasetName - Name of the dataset
* @returns Certification info or null if not certified
*/
getCertification(datasetName: string): CertificationInfo | null;
/**
* Removes certification from a dataset
* @param datasetName - Name of the dataset
*/
removeCertification(datasetName: string): void;
/**
* Lists all certified dataset names
* @returns Array of certified dataset names
*/
listCertified(): string[];
}Provides dataset management and certification capabilities.