[metadata]
name = "comet-perf-dedupe"
description = "Optimize an O(n^2) deduplication function to O(n) using a set/dict while preserving order"
difficulty = "medium"
category = "comet"
tags = ["comet", "workflow", "performance", "algorithm"]
default_treatments = [
    "CONTROL",
    "COMET_FULL_040_BETA",
    "COMET_FULL_039",
]

[template]
required = []

[environment]
description = "Python dedupe tool with an O(n^2) implementation. Claude must optimize to O(n)."
dockerfile = "environment/Dockerfile"
timeout_sec = 900

[validation]
test_scripts = "test_perf_dedupe.py"
target_artifacts = []
timeout = 120
