or run

npx @tessl/cli init
Log in

Version

Files

docs

chart-components.mdchart-plugins.mddata-transformation.mdform-data.mdindex.mdquery-building.md
tile.json

task.mdevals/scenario-5/

Dataset Certification Manager

A utility for managing dataset certification status and documentation in data catalog systems.

Requirements

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.

Capabilities

Certify datasets

  • It marks a dataset as certified with certifier name and description @test
  • It stores the certification timestamp when certifying @test
  • It updates existing certification when re-certifying @test

Query certification status

  • It retrieves certification status for a certified dataset @test
  • It returns null for uncertified datasets @test
  • It returns all certification details including certifier and timestamp @test

Remove certification

  • It removes certification from a certified dataset @test
  • It handles removing certification from uncertified dataset gracefully @test

List certified datasets

  • It returns a list of all certified dataset names @test
  • It returns an empty array when no datasets are certified @test

Implementation

@generates

API

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[];
}

Dependencies { .dependencies }

apache_superset { .dependency }

Provides dataset management and certification capabilities.