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

Measure/estimate complexity (time and memory) #522

Open
niknetniko opened this issue Jun 3, 2024 · 2 comments
Open

Measure/estimate complexity (time and memory) #522

niknetniko opened this issue Jun 3, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@niknetniko
Copy link
Member

TESTed could do complexity (time and memory) measures (per context).

Extracted from #40.

@niknetniko niknetniko added the enhancement New feature or request label Jun 3, 2024
@DieterPi
Copy link

Being able to set a specific time complexity would be awesome!

Would it be something like:

For a list of size n make a function (with a specific purpose) that finishes its task in time complexity less then n²?

@niknetniko
Copy link
Member Author

Would it be something like:

For a list of size n make a function (with a specific purpose) that finishes its task in time complexity less then n²?

In a first instance, TESTed will probably estimate the time and/or memory complexity for submissions (and report this result), as we already experimented with this in the past.

Actually setting the required time and/or memory complexity is much more difficult, as you need some degree of certainty that our estimation is correct (which is a difficult thing to do).

(Note that this is a long-term research goal, so this won't be available any time soon.)

In the mean time, the best solution is to set a stricter time limit for the exercise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants