Comments (7)
Thanks so much, Larry! This is a huge help.
from aga.
Hi,
Thanks for getting in touch. What python version did you use to bundle the aga script and what python version did you use in gradescope?
It looks like pip
may have updated their syntax for dependency management. It's not clear to me how to fix it at this moment but I'd love to help if you can provide me more information (such as Python version and the bundled autograder scripts).
from aga.
I generated the .zip on my laptop, which has Python 3.11.5. (I know different Python versions on the same machine sometimes cause sneaky problems, so if there is a way to see/control which Python version is being used to generate, let me know and I'll try to find out for you.)
Looking at the build output, I see a line that says Setting up python3.11 (3.11.8-1+jammy2) ...
so it looks like 3.11.8 is being used there.
Here is the bundled script (created by running aga gen --inject injection.py 2_collatz_length.py
):
collatz_length.zip
And a zip containing just the plain source files:
src files.zip
from aga.
Hi, Larry! I faced this problem too. I think I had hoped to work around this by explicitly installing the needed Python packages in setup.sh
with the lines below, and then maybe eliminating the install_requires
. But it has been a week or so and can't remember if that was a working workaround.
python3.10 -m pip install dataclasses-json
python3.10 -m pip install dill
python3.10 -m pip install gradescope-utils
python3.10 -m pip install typer
python3.10 -m pip install dacite
python3.10 -m pip install toml
python3.10 -m pip install types-toml
from aga.
A workaround can be removing the ^
in the install_requires
in the generated setup.py
. I can push an update a bit later.
from aga.
Alright, the fix has been pushed. I cannot release the package to PyPI because there is some issue with Riley's account (her primary email is not verified). Until then, you can clone the repo and install locally. @jimfix @erblum
from aga.
I took the idea of aga and built a new version here. The syntax is similar and you should be able to get started pretty quickly with the existing scripts.
from aga.
Related Issues (20)
- Add a --version CLI argument
- Determine total score HOT 1
- Hidden tests
- Use __str__ instead of __repr__
- Read submission_metadata.json
- Fix cli docs header levels HOT 1
- Nox stops running lints after one fails
- Custom python version
- Extract gradescope resources into separate library
- Multi-problem submissions
- Floating-point comparison
- Extra-credit
- Error on invalid aga_values
- Support hypothesis
- Handle student-facing incorrect symbol errors
- Better student-facing UI customization
- Add tests with aga/runner
- Fix coverage
- Division by zero in score determination algorithm
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 aga.