From bbac2b4e0024d7538fa107c9471e026b1add29f4 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Tue, 27 Oct 2026 21:59:25 +0000 Subject: [PATCH] Use compatible tags in ground-truth deletion examples --- great_ai/tracing/delete_ground_truth.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/great_ai/tracing/delete_ground_truth.py b/great_ai/tracing/delete_ground_truth.py index 9984488..d1db2dd 100644 --- a/great_ai/tracing/delete_ground_truth.py +++ b/great_ai/tracing/delete_ground_truth.py @@ -18,7 +18,14 @@ def delete_ground_truth( You can rely on the efficiency of the delete's implementation. Examples: - >>> delete_ground_truth(['train', 'test', 'validation']) + Delete training samples that also have the dataset tag `my-dataset`: + + >>> delete_ground_truth(['my-dataset', 'train']) + + Split tags are mutually exclusive for normally split samples. To delete all + splits of this dataset, filter by the dataset tag alone: + + >>> delete_ground_truth('my-dataset') Args: conjunctive_tags: Single tag or a list of tags which the deleted traces have to