Skip to content
This repository was archived by the owner on Dec 14, 2024. It is now read-only.

Commit 15f6b9d

Browse files
committed
Update all links to the new username
1 parent efb2ebd commit 15f6b9d

File tree

5 files changed

+45
-23
lines changed

5 files changed

+45
-23
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<a href="https://ovsyanka83.github.io/autograder/"><img src="https://raw.githubusercontent.com/Ovsyanka83/autograder/main/docs/_media/logo_with_text.svg" alt="AutoGrader"></a>
2+
<a href="https://zmievsa.github.io/autograder/"><img src="https://raw.githubusercontent.com/zmievsa/autograder/main/docs/_media/logo_with_text.svg" alt="AutoGrader"></a>
33
</p>
44
<p align="center">
55
<b>A simple, secure, and versatile way to automatically grade programming assignments</b>
@@ -11,8 +11,8 @@
1111
<a href="https://github.com/zmievsa/autograder/actions?query=workflow%3ATests+event%3Apush+branch%3Amain" target="_blank">
1212
<img src="https://github.com/zmievsa/autograder/actions/workflows/test.yaml/badge.svg?branch=main&event=push" alt="Test">
1313
</a>
14-
<a href="https://codecov.io/gh/ovsyanka83/autograder" target="_blank">
15-
<img src="https://img.shields.io/codecov/c/github/ovsyanka83/autograder?color=%2334D058" alt="Coverage">
14+
<a href="https://codecov.io/gh/zmievsa/autograder" target="_blank">
15+
<img src="https://img.shields.io/codecov/c/github/zmievsa/autograder?color=%2334D058" alt="Coverage">
1616
</a>
1717
<a href="https://pypi.org/project/autograder/" target="_blank">
1818
<img alt="PyPI" src="https://img.shields.io/pypi/v/autograder?color=%2334D058&label=pypi%20package" alt="Package version">
@@ -25,14 +25,14 @@
2525
## Features
2626

2727
* Blazingly fast (can grade hundreads of submissions using dozens of testcases in a few minutes. Seconds if grading python)
28-
* [Easy to grade](https://ovsyanka83.github.io/autograder/#/?id=usage)
29-
* [Easy-to-write testcases](https://ovsyanka83.github.io/autograder/#/?id=writing-testcases)
30-
* Testcase grade can be based on [student's stdout](https://ovsyanka83.github.io/autograder/#/?id=helper-functions)
28+
* [Easy to grade](https://zmievsa.github.io/autograder/#/?id=usage)
29+
* [Easy-to-write testcases](https://zmievsa.github.io/autograder/#/?id=writing-testcases)
30+
* Testcase grade can be based on [student's stdout](https://zmievsa.github.io/autograder/#/?id=helper-functions)
3131
* Can grade C, C++, Java, and Python code in regular mode
3232
* Can grade any programming language in stdout-only mode
3333
* A file with testcase grades and details can be generated for each student
3434
* You can customize the total points for the assignment, maximum running time of student's program, file names to be considered for grading, formatters for checking student stdout, and [so much more](https://github.com/zmievsa/autograder/blob/master/autograder/default_config.toml).
35-
* [Anti Cheating capabilities](https://ovsyanka83.github.io/autograder/#/?id=anti-cheating) that make it nearly impossible for students to cheat
35+
* [Anti Cheating capabilities](https://zmievsa.github.io/autograder/#/?id=anti-cheating) that make it nearly impossible for students to cheat
3636
* Grading submissions in multiple programming languages at once
3737
* JSON result output supported if autograder needs to be integrated as a part of a larger utility
3838
* Can check submissions for similarity (plagiarism)
@@ -54,7 +54,7 @@
5454
## Quickstart
5555

5656
* Run `autograder guide path/to/directory/you'd/like/to/grade`. The guide will create all of the necessary configurations and directories for grading and will explain how to grade.
57-
* Read the [usage](https://ovsyanka83.github.io/autograder/#/?id=usage) section of the docs
57+
* Read the [usage](https://zmievsa.github.io/autograder/#/?id=usage) section of the docs
5858

5959
## Supported Platforms
6060

autograder/guide.py

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ def create_dir(path: Path):
1717

1818
def main(paths: AutograderPaths, language_name: Optional[str] = None, interactive=True):
1919
if not paths.current_dir.exists() or not paths.current_dir.is_dir():
20-
print(f"Directory {paths.current_dir} not found. Please, use an existing directory.")
20+
print(
21+
f"Directory {paths.current_dir} not found. Please, use an existing directory."
22+
)
2123
return
2224
print("Hello. I will now guide you through the initial setup of autograder.")
2325
if interactive:
24-
ans = input(f"Would you like to grade submissions located in '{paths.current_dir}'? (Yes/No) ")
26+
ans = input(
27+
f"Would you like to grade submissions located in '{paths.current_dir}'? (Yes/No) "
28+
)
2529
else:
2630
ans = "y"
2731
if not ans.lower().startswith("y"):
@@ -36,7 +40,9 @@ def main(paths: AutograderPaths, language_name: Optional[str] = None, interactiv
3640
create_dir(paths.extra_dir)
3741
config_path = paths.config
3842
if not config_path.exists():
39-
print(f"config.ini not found in {paths.tests_dir}. Creating a default config...")
43+
print(
44+
f"config.ini not found in {paths.tests_dir}. Creating a default config..."
45+
)
4046
paths.generate_config()
4147
else:
4248
print("Found config.ini")
@@ -65,7 +71,9 @@ def main(paths: AutograderPaths, language_name: Optional[str] = None, interactiv
6571
shutil.copytree(lang.get_template_dir(), paths.current_dir, dirs_exist_ok=True)
6672
if lang.source_suffix.endswith("java"):
6773
print("\nJava forces us to have the same name for module and class so")
68-
print("you must put expected names for java submissions in tests/config.ini. Right now it's 'Homework'")
74+
print(
75+
"you must put expected names for java submissions in tests/config.ini. Right now it's 'Homework'"
76+
)
6977
print(
7078
"\n\nNow if you want to grade your submissions, you can use 'autograder run path/to/submissions/dir' "
7179
"for this directory."
@@ -74,24 +82,38 @@ def main(paths: AutograderPaths, language_name: Optional[str] = None, interactiv
7482
print("If you want to see command line options, use 'autograder -h'")
7583
print(f"You can put the stdin inputs to your testcases into {paths.input_dir}")
7684
print(f"You can put the expected outputs to your testcases into {paths.output_dir}")
77-
print(f"You can put the extra files to be available for each testcase into {paths.extra_dir}")
85+
print(
86+
f"You can put the extra files to be available for each testcase into {paths.extra_dir}"
87+
)
7888
print(f"You can configure grading by editing {paths.config}")
79-
print("You can find docs at https://ovsyanka83.github.io/autograder/")
89+
print("You can find docs at https://zmievsa.github.io/autograder/")
8090

8191

8292
def _get_supported_languages() -> Dict[str, Type[TestCase]]:
83-
testcase_types = TestCasePicker.discover_testcase_types(AutograderPaths.testcase_types_dir)
84-
return {t.type_source_file.stem: t for t in testcase_types if (t.get_template_dir()).exists()}
93+
testcase_types = TestCasePicker.discover_testcase_types(
94+
AutograderPaths.testcase_types_dir
95+
)
96+
return {
97+
t.type_source_file.stem: t
98+
for t in testcase_types
99+
if (t.get_template_dir()).exists()
100+
}
85101

86102

87-
def _get_a_valid_language_choice(supported_languages: Dict[str, Type[TestCase]]) -> Type[TestCase]:
103+
def _get_a_valid_language_choice(
104+
supported_languages: Dict[str, Type[TestCase]],
105+
) -> Type[TestCase]:
88106
allowed_languages = ", ".join(name for name in supported_languages.keys())
89107

90108
while True:
91-
choice = input(f"Choose a programming language you'd like to get templates for ({allowed_languages}): ")
109+
choice = input(
110+
f"Choose a programming language you'd like to get templates for ({allowed_languages}): "
111+
)
92112
lang = supported_languages.get(choice, None)
93113
if lang is None:
94-
print(f"Couldn't find the language with name '{choice}'. Please, try again.")
114+
print(
115+
f"Couldn't find the language with name '{choice}'. Please, try again."
116+
)
95117
else:
96118
break
97119
return lang

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<a href="https://github.com/zmievsa/autograder/actions?query=workflow%3ATests+event%3Apush+branch%3Amain" target="_blank">
22
<img src="https://github.com/zmievsa/autograder/actions/workflows/test.yaml/badge.svg?branch=main&event=push" alt="Test">
33
</a>
4-
<a href="https://codecov.io/gh/ovsyanka83/autograder" target="_blank">
5-
<img src="https://img.shields.io/codecov/c/github/ovsyanka83/autograder?color=%2334D058" alt="Coverage">
4+
<a href="https://codecov.io/gh/zmievsa/autograder" target="_blank">
5+
<img src="https://img.shields.io/codecov/c/github/zmievsa/autograder?color=%2334D058" alt="Coverage">
66
</a>
77
<a href="https://pypi.org/project/autograder/" target="_blank">
88
<img alt="PyPI" src="https://img.shields.io/pypi/v/autograder?color=%2334D058&label=pypi%20package" alt="Package version">

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div id="app"></div>
1717
<script>
1818
window.$docsify = {
19-
repo: 'Ovsyanka83/autograder',
19+
repo: 'zmievsa/autograder',
2020
coverpage: true,
2121
themeColor: '#01478B',
2222
ga: 'G-5L87BF9GBT',

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "A simple, secure, and versatile way to automatically grade progra
55
authors = ["Stanislav Zmiev <[email protected]>"]
66
license = "GPL-3.0"
77
readme = "README.md"
8-
documentation = "https://ovsyanka83.github.io/autograder/"
8+
documentation = "https://zmievsa.github.io/autograder/"
99
repository = "https://github.com/zmievsa/autograder"
1010
# this might be unnecessary, I don't remember and am too lazy too google
1111
include = ["autograder/**/*"]

0 commit comments

Comments
 (0)