Skip to content

TypeError: update_api_state() missing 1 required positional argument: 'n_seeds' #4

@gabe-sherman

Description

@gabe-sherman

When attempting to run a harness generation trial, I'm seeing many failures associated with this line:

TypeError: update_api_state() missing 1 required positional argument: 'n_seeds'
api_state = sess._factory.update_api_state(driver, api_cause)

It seems that service.py is calling the update_api_state function defined in CBGFactory.py, however this function expects three arguments and the service only provided two.

What is the best way you recommend patching this? I could just set the n_seeds argument in update_api_state to a default value of 1 to account for cases where that argument is not passed in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions