Feature #1818
Fires on “)`” (not labeled yet: read the examples)
- Fires on
- 1.68% of tokens
- Mostly in
- python
- Layer
- after block 4
Where it fires
- python 78%
- agent 14%
- chat 4%
- story 2%
- worksheet 2%
Makes the model say
returns)ON replace lotsmdprint return
Makes it not say
ice be sorry: why mom bYes
Strongest examples
On text the dictionary never trained on. The underlined token is where it fires most.
-
python 6.97and b. For example, `mean(1, 12)` returns `6.
-
python 6.93` returns the cube of x. For example, `cubed(1)` returns `1`.
-
python 6.86returns True if x is positive. For example, `positive(-1)` returns `False`.
-
python 6.85. For example, `max_of(7, 12)` returns `12
-
python 6.8. For example, `lower_of(3, 11)` returns `3`.
-
python 6.76returns the opposite of x. For example, `opposite(11)` returns `-1
-
python 6.71` returns the factorial of n. For example, `fact(1)` returns `1`.
-
python 6.66the length of s. For example, `num_chars("moon")` returns `4`.
-
python 6.65double` returns twice x. For example, `double(12)` returns `24
-
python 6.58. For example, `lower_of(6, 10)` returns `6`.
-
python 6.56True if x is odd. For example, `odd(11)` returns `True`.
-
python 6.45absolute value of x. For example, `abs_value(-1)` returns `1`.