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

lint(track_config): change average_run_time from a float to an int #765

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

ErikSchierboom
Copy link
Member

@ErikSchierboom ErikSchierboom commented Jul 7, 2023

Having the average run time as a float gives the impression of being
exact, whereas the actual run time wildly varies due to a wide variety
of reasons.

A second downside is that jq, which is often used to work with
track config files, will remove any trailing .0 from a number,
which caused linting to fail.

When we release this, I'll do a bulk update of the track configs.

See exercism/docs#430

Closes: #734

Having the average run time as a float gives the impression of being
exact, whereas the actual run time wildly varies due to a wide variety
of reasons.

A second downside is that `jq`, which is often used to work with
track config files, will remove any trailing `.0` from a number,
which caused linting to fail.
@ErikSchierboom ErikSchierboom requested a review from ee7 July 7, 2023 07:36
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.

Don't fail when average run time is an integer
3 participants