testmycode / testmycode/tmc-server

Subtract number of sandboxes from queue positions

Open
#69 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement lowprio
Dominant language
Ruby
Stars
51
Forks
42
Avg merge
1h 27m
Merged PRs (30d)
1

Description

When there are many sandboxes processing submissions in parallel, submissions that are likely being processed now or very soon should all have a queue position of 1. Only when there are more submissions waiting to be processed than there are sandboxes should some of them be presented as having a queue position over 1.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the server code that calculates queue positions and reviewing how active sandboxes are counted; done means submissions being processed or likely to start soon report position 1, while later submissions reflect only the excess beyond the available sandboxes.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.