Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Python custom evaluators#88

Open
csirkeee wants to merge 7 commits intocloudcoderdotorg:mastercloudcoderdotorg/CloudCoder:masterfrom
csirkeee:pythonevaluatorcsirkeee/CloudCoder:pythonevaluatorCopy head branch name to clipboard
Open

Python custom evaluators#88
csirkeee wants to merge 7 commits intocloudcoderdotorg:mastercloudcoderdotorg/CloudCoder:masterfrom
csirkeee:pythonevaluatorcsirkeee/CloudCoder:pythonevaluatorCopy head branch name to clipboard

Conversation

@csirkeee
Copy link

Hi!

I've added the ability to set custom evaluators for problems in CloudCoder. That is, if you don't want to check the results literally or with a regex, you can write your own code to check the results. It only works with python functions now, where the evaluator code must also be written in python. It's backwards compatible, it has the same default evaluator code as the old python checker, so it should give the same results.

I might make it work for C programs/functions too in the future, because I'm teaching C for the rest of the semester.

I've also added some new UI stuff to support this, so all the evaluator stuff in the Edit Problem page is greyed out when the problem type doesn't support custom evaluators.

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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.