bcaddy / simple-grader Goto Github PK
View Code? Open in Web Editor NEWThis is a python program to help instructors with large classes input grades for assignments quickly and easily.
License: GNU General Public License v3.0
This is a python program to help instructors with large classes input grades for assignments quickly and easily.
License: GNU General Public License v3.0
The program is all in one giant block right now. Refactoring to add functions would substantially enhance readability and ease of extensibility
Error Message
Traceback (most recent call last):
File "/Users/Bob/Documents/python_library/Simple-Grader/Simple Grader.py", line 289, in
main()
File "/Users/Bob/Documents/python_library/Simple-Grader/Simple Grader.py", line 42, in main
student_index = Student_Finder()
File "/Users/Bob/Documents/python_library/Simple-Grader/Simple Grader.py", line 186, in Student_Finder
student = Student_Searcher(last_name, grades, 'Last Name')
File "/Users/Bob/Documents/python_library/Simple-Grader/Simple Grader.py", line 230, in Student_Searcher
student = dataset[dataset[search_type].str.contains(name, case=False)]
File "/anaconda3/lib/python3.7/site-packages/pandas/core/strings.py", line 1843, in wrapper
return func(self, *args, **kwargs)
File "/anaconda3/lib/python3.7/site-packages/pandas/core/strings.py", line 2702, in contains
self._parent, pat, case=case, flags=flags, na=na, regex=regex
File "/anaconda3/lib/python3.7/site-packages/pandas/core/strings.py", line 344, in str_contains
regex = re.compile(pat, flags=flags)
File "/anaconda3/lib/python3.7/re.py", line 234, in compile
return _compile(pattern, flags)
File "/anaconda3/lib/python3.7/re.py", line 286, in _compile
p = sre_compile.compile(pattern, flags)
File "/anaconda3/lib/python3.7/sre_compile.py", line 764, in compile
p = sre_parse.parse(p, flags)
File "/anaconda3/lib/python3.7/sre_parse.py", line 930, in parse
p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
File "/anaconda3/lib/python3.7/sre_parse.py", line 426, in _parse_sub
not nested and not items))
File "/anaconda3/lib/python3.7/sre_parse.py", line 507, in _parse
code = _escape(source, this, state)
File "/anaconda3/lib/python3.7/sre_parse.py", line 402, in _escape
raise source.error("bad escape %s" % escape, len(escape))
re.error: bad escape \m at position 0
Canvas formats their CSV files differently and the program needs some modifications to work with Canvas. The primary issue is that Canvas doesn't store first and last names in different columns, they're stored in one column which makes searching more challenging. Canvas also has an extra header line.
Update the program to take either .csv or .xsv files as input. Output in the same format.
Currently you can only grade one assignment at a time. Instead I would like to be able to choose a specific student and grade all of their assignments
Currently the name search is case sensitive and I believe only supports complete matching. Add functionality that allows partial searching and removes case sensitivity
Edit: I thought it only supported complete searches but upon closer inspection the program already supports partial searches.
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.