HF RL Explorer

TokenEndpoint constructor parameters swapped causing AttributeError

TokenEndpoint constructor parameters swapped causing AttributeError: a task in harness-adapters: Agentic coding environments (Harbor dataset). The TokenEndpoint constructor has its parameters mixed up, causing grant types and default token type to be assigned incorrectly. This leads to various…

The task

The TokenEndpoint constructor has its parameters mixed up, causing grant_types and default_token_type to be assigned incorrectly. This leads to various AttributeErrors when trying to access token endpoint functionality.

Part of harness-hub/harness-adapters.