Skip to content

Commit

Permalink
Disallow ! characters in tunable parameter names. (#641)
Browse files Browse the repository at this point in the history
Follow on to #617
  • Loading branch information
bpkroth authored Jan 19, 2024
1 parent 36d2e67 commit b531400
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@
"tunable_params_set": {
"type": "object",
"patternProperties": {
"^.+$": {
"^[^!]+$": {
"$comment": "`!` characters are not currently allowed in tunable parameter names.",
"$ref": "#/$defs/tunable_param"
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"covariant_group_name-1": {
"cost": 1,
"params": {
"bad-!-char-in-name": {
"type": "categorical",
"default": "foo",
"values": ["foo", "bar"]
}
}
}
}

0 comments on commit b531400

Please sign in to comment.