Skip to content
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

Print the number of tokens when it’s too little #1067

Merged
merged 1 commit into from
May 10, 2023

Conversation

jtotht
Copy link
Contributor

@jtotht jtotht commented May 6, 2023

When trying to prepare a sample submission for TMS, I was hit by the minimum token count: the submission was rejected due to not containing the required number of tokens; however, the output stated neither the number of tokens found nor the number of tokens required. So I added them to the output, and I share the code in the hope that it will be useful for others as well.

When trying to prepare a sample submission for
[TMS](https://gitlab.com/tms-elte), I was hit by the minimum token
count: the submission was rejected due to not containing the required
number of tokens; however, the output stated neither the number of
tokens found nor the number of tokens required. So I added them to the
output, and I share the code in the hope that it will be useful for
others as well.
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@tsaglam tsaglam added enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change labels May 8, 2023
@tsaglam tsaglam merged commit 862991d into jplag:develop May 10, 2023
@jtotht
Copy link
Contributor Author

jtotht commented May 10, 2023

Thanks for the quick merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants