Skip to content

Commit b0dc285

Browse files
committed
Document TuneToken behavior for custom checks
1 parent eb4c3a6 commit b0dc285

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Straightforwardness: Avoid ideological adherence to other programming principles
9090

9191
- R unit tests in this repo assume helper `expect_man_exists()` is available. If you need to call it in a new test and you are working without mlr3pipelines installed, define a local fallback at the top of that test file before `expect_learner()` is used.
9292
- Revdep helper scripts live in `attic/revdeps/`. `download_revdeps.R` downloads reverse dependency source tarballs; `install_revdep_suggests.R` installs Suggests for those revdeps without pulling the revdeps themselves.
93+
- When writing `paradox::ParamSet` custom checks (e.g. `p_uty(custom_check = ...)`), you do not need to special-case `TuneToken`s. `paradox` skips custom validators for `TuneToken` inputs before evaluating them, so the check only sees concrete values.
9394

9495
</agent_notes>
9596
<your_task>

0 commit comments

Comments
 (0)