pytest-prairielearn-grader

v1.4.3 safe
2.1
Low Risk

A pytest plugin for autograding Python code. Designed for use with the PrairieLearn platform.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 49 test file(s) found

  • 49 test file(s) detected (e.g. test_assertions.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (7054 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 287 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • the bytes dilled_bytes = base64.b64decode(base64_encoded_bytes) # 3. Deserialize the object using
  • startswith(prefix) return base64.b64decode(url.removeprefix(prefix)) def test_add_image_from_figure_a
  • dule try: exec(compile(source, file_name, "exec"), module.__dict__) # noqa: S102
  • try: exec(compile(source, file_name, "exec"), module.__dict__) # noqa: S102 except Exception
  • code code_setup = compile(setup_code, "<setup>", "exec") with redirect_stdout(stdout_capture), redirec
  • ain() main_code = compile(main_source, main_file_name, "exec") with redirect_stdout(stdout_capture), redirec
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • print("ok") """ result = subprocess.run([sys.executable, "-c", code], capture_output=True, text=True
  • json_utils") """ result = subprocess.run( [sys.executable, "-c", script, str(Path(__file__).p
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with pytest-prairielearn-grader
Build a simple Python application using the pytest-prairielearn-grader package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!