Skip to content

Conversation

mzamini92
Copy link

some optimization on the code. set the formatter_class to argparse.ArgumentDefaultsHelpFormatter. This will include the default values of the command-line arguments in the help message, making it easier for users to understand the default behavior of the script. Instead of using question_idx_list and total_len to iterate over the question indices, directly use enumerate in the for loop.

some optimization on the code. set the formatter_class to argparse.ArgumentDefaultsHelpFormatter. This will include the default values of the command-line arguments in the help message, making it easier for users to understand the default behavior of the script.
Instead of using question_idx_list and total_len to iterate over the question indices, directly use enumerate in the for loop.
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.

1 participant