cms-dev / cms-dev/cms

allow "burst submissions"

Open
#1,683 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature_request
Dominant language
Python
Stars
1k
Forks
412
Avg merge
6d 10h
Merged PRs (30d)
3

Description

This is something that Kattis apparently has. Basically relax the submission rate limit from "1 minute since last submission" to "either 1 minute from last submission OR there have been less than 15 submissions in the past 15 minutes".

I think it could be configurable via a new "burst size" parameter, so together with the current "min interval" parameter the rule is "min_interval seconds since last submission OR less than burst_size submissions in past min_interval * burst_size seconds".

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

The issue names no files or tests, so start by locating the submission rate-limit implementation and its configuration entry points. Define how the existing minimum interval combines with the configurable burst size, then add coverage for both ordinary limits and allowed bursts. Done means the configured rule is enforced and existing rate-limit behavior remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.