Comments (6)
Good suggestion, I would love to make it easier to test autograders locally.
from gradescope-utils.
any chance for this getting done? It's literally only 2 lines of code to change. Thanks so much
from gradescope-utils.
Done! Try installing v0.2.8, it should work there.
from gradescope-utils.
from gradescope-utils.
Are you the Mike that wanted to set up partial credit for tests? I'm working on a decorator for that actually but I ran into some issues, but hopefully I can resolve them tomorrow!
from gradescope-utils.
I haven't actually tried your code above, but you may want to check this out: #9 . I need to do a little more testing but it seems to work so far.
I would suggest that changing the weight of the test case dynamically is a little confusing, but would certainly achieve the goal of modifying the total score. But I think it's a little more informative to set the score rather than the weight because otherwise it's not clear what the maximum value is anymore, and as a student you won't be able to (easily) know whether you got the right answer.
from gradescope-utils.
Related Issues (16)
- Visibility decorator fails to add the visibility attribute in results.json HOT 2
- Error, not able to implement @partial_credit decorator HOT 3
- Error no such file or directory HOT 1
- buffer argument not respected in JSONTestRunner HOT 3
- Help prevent reverse engineering of tests HOT 3
- Better Error Messages (easy version)
- Human-readable name of test case does not appear in results.json HOT 1
- Support for `unittest` subtests HOT 1
- Setting buffer to False in JSONTestRunner throws an error HOT 1
- Add a License HOT 2
- Setting a default visibility HOT 1
- Leaderboard value in in results.json
- Score is displayed even if weight is None HOT 1
- Raising error in unittest's setUpClass causes autograder breaking exception
- Support Python 3.4's subTest feature HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradescope-utils.