Skip to content

[BFCL] Fix JS type converter to handle dictionaries with array values #549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 29, 2024

Conversation

CharlieJCJ
Copy link
Collaborator

@CharlieJCJ CharlieJCJ commented Jul 25, 2024

Issue:
Javascript, id: 6 presents a parameter where the js type converter doesn't properly handles, i.e. converting js parameter into python data type,

{"initialState": initialStateObject, "reducers": reducersMap, "middlewares": ["loggerMiddleware"], "enhancers": ["applyMiddleware", "myMiddleWare"]}

Solution:
This PR addresses the proper handling of a dictionary with array values appearing in BFCL. An additional unit test has been added.

This PR will change the leaderboard score.

@CharlieJCJ CharlieJCJ changed the title "[BFCL] Fix JS type converter to handle dictionaries with array values [BFCL] Fix JS type converter to handle dictionaries with array values Jul 25, 2024
Copy link
Collaborator

@HuanzhiMao HuanzhiMao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ShishirPatil ShishirPatil merged commit e85eb40 into ShishirPatil:main Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants