lukasjuhrich / grading Goto Github PK
View Code? Open in Web Editor NEWA script.
A script.
Automatically staging / tagging / committing would be very helpful.
However, to actively add git to the workflow, security mechanisms such as checking the directory is clean (nothing staged already) etc. have to be added!
If something like „noreply“ is in the From:
header, take the value of Reply-To:
.
Instead of capturing the date and returning the _mail
namedtuple, directly parsing the mail would be easier, since that will be done in every following procedure (such as list_mails
, iter_attachments
) anyway.
The current implementation is hacky and ugly.
Automatically sending mails would be convenient.
If wanted, select the mail-id of the extraction as the In-Reply-To
-Header.
click appears to be a great python library for building CLIs. I should use it.
See e.g. This SO answer.
Running grade.py person add
is easier to use.
let the user give a default extension if wanted (e.g. .py
).
I do not think it is good to call exit(1)
in arbitrarily deep functions. Exits should be handled by some global instance, not by isolated functions. Those should perhaps raise a RuntimeError
or similar, which is then catched and formatted nicely.
A person being added later doesn't get „bootstrapped“ if a round is already opened.
When extracting attachments, it would be easy to guess the correct person from the From:
header.
A safety requirement could be to require the second-least distant string to have at least 5% greater distance than the closest one. Thi is helpful if e.g. there are two persons of a similar name (e.g. Christoch Schmidt vs. Christof Schmidt)
Intelligently recognize and extract archives.
Premium: If there are files plus an archive (and the archive doesn't have a top-level-folder), use a subfolder.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.