Skip to content

Commit 231cfdb

Browse files
authored
Update regression test description for x_column config
1 parent aa0be9f commit 231cfdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/tasks/test_reward_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def reward_fn(prediction: str, reward: float) -> float:
5757

5858

5959
def test_reward_task_x_column_from_config(simple_reward_function):
60-
"""Regression for issue #67."""
60+
"""Ensure setting an arbitrary x_column name via the config works."""
6161
df = pd.DataFrame({"my_input": ["a", "b", "c"]})
6262
config = ExperimentConfig(x_column="my_input")
6363
task = RewardTask(df=df, reward_function=simple_reward_function, config=config)

0 commit comments

Comments
 (0)