autolab / Autolab-CLI

Command line autolab client that uses the Autolab API
3 stars 2 forks source link

Show Number of Unpenalized Submissions in Autolab CLI #24

Closed oliverli closed 3 years ago

oliverli commented 3 years ago

Description

Show max_unpenalized_submissions field to be added to API. Should only be used in conjunction with autolab/Autolab#1333

Temporarily "fixed" a build error by removing the -Werror flag

Motivation and Context

We want to show clients (especially in the CLI) the number of submissions they can make before they start incurring version penalties. See autolab/Autolab#1184

How Has This Been Tested?

Built locally, but quite frankly, I didn't test it very thoroughly. Should do the whole nine yards and link local executable copy of CLI to local copy of Autolab and test with API

Types of changes

Other issues / help required

If unsure, feel free to submit first and we'll help you along.

victorhuangwq commented 3 years ago

Initial: image

After changing to 5: image