--- name: maintain-dataset description: Add, update, or remove a research dataset. Use for dataset registration, loaders, preprocessing, splits, dataset choices, and verifying that a task reads the intended samples. --- # Maintain research datasets ## Purpose and main function Keep dataset sources, labels, splits, presets, and caches consistent with what tasks read through the project's `datasets/` components. ## Scope of application Use this skill to add a dataset, source, or preset, change how a dataset is read or prepared, or remove dataset support. Identify the selected dataset, the tasks that use it, and the intended change. Start at the project's documented entry point and trace a representative sample from task selection back to its source and preparation. For removals, check all users of the dataset or preset and verify the remaining selections. Preserve original inputs, shared caches, and historical results according to the project's requirements. The [dataset procedures](references/procedures.md) explain file ownership and how to carry out and verify additions, changes, and removals. ## Place preprocessed inputs under assets Keep downloaded or original datasets under the workspace data root. Store project-produced inputs that are prepared for later use under `assets/prepared_data//files/`. This includes split manifests, processed feature stores, derived labels, and reusable preprocessing caches. Keep preparation code under `datasets/`. Put provenance in the asset's README or manifest, including the source, selection or split, effective preparation settings, and the names and identities of the generated files. Follow the real producer and readers, including training, evaluation, comparison, and figure entry points. A prepared input shared by those consumers belongs to the named asset even when the first copy was produced by a training command. Give materially different source selections or partitions distinct descriptive names. Preserve the recorded input identity of past experiments while updating current defaults, producers, and readers to the revised location. Compare actual membership or file digests before and after the move. Keep disposable intermediate files with the temporary operation that creates them. ## Samples, labels, partitions or caches do not match configuration Take a small batch of samples actually taken by the official mission and return the source, version, label, division and cache key for registration by sample status. Fix the preparation or logic of deviations. Rebuild the affected and renewable cache as agreed by the project and preserve the original input. ## Validation criteria - Checks whether the sample identity, number, label meaning, sequence or shape, and whether the same data contract is followed in the case of a cache. - If you are in a position to do so, you will be able to use the project’s comparative unit to verify the segregation, such as the object-level task of the study, by the identity of the object, and not just by line. ## Document Sync & Delivery Synchronize data set entries, affected configurations and mission statements, and record how the source, sample, division or reading has changed. Deliver to humans the normal selection, actual sample evidence and impact on the comparability of existing tasks and experiments. `maintain-conf` Collaboration. ## Item-by-line The data set is organized in terms of data sources and sample meanings. The named subset of the project definition is placed under the corresponding data set, indicating the selection, inclusion, labeling or division of differences and selection methods. The compatible preset for the same subset is written in the same entry. The text describes the source, sample unit, field and label, division and sample or preprocessing, selected tasks, output and limits. The different presets maintain the actual differences. The background is explained in the original paper or official description to determine the local behaviour by reading and formulating the project. The text of the data set page presents the input, label, division and selection conditions, and a summary of how it supports the current selection is quoted in the data description. For example, indicate which queue the description of the supply classification applies.