Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Pedal

A collection of tools to analyze student’s work in a pipeline.

Important Concepts

  • Report: A collection of X and namespaces for the results of Tools.

  • Tool: A system that can use a Report to add new information to the Report.

  • Resolver: A system that can analyze a Report and create a relevant bit of output for another system (e.g., BlockPy, Web-CAT).

Tools

TIFA

Tifa is a Type Inferencer and Flow Analyzer. Its goal is not to be a general purpose tool for doing so, but to be focused on simplistic code written in pedagogical settings. This means that it can make a lot of assumptions and forbid a lot of features. Further, it’s primary job is not just to collect type information, but to detect issues in the code (e.g., a variable changes type, a variable is not read, a variable is defined in one scope then used in another).

CAIT

Capturer for AST Inclusion Trees. Its goal is to take a a desired AST and a target AST, and captures trees in the target ast that include the desired AST.

Mistakes

A collection of code configuration patterns that represent common mistakes for students. These mistakes are grouped together by topics.

Rerun

A simplistic system for running students’ code under different circumstances (e.g., new stdin or arguments). Does not have many of the assurances that the Sandbox module does for executing student code more safely.

Rerun exists because not every environment supported by Pedal has access to certain code execution function (e.g., exec and patch). If you are using a regular Python engine (e.g., CPython) then you should consider using the Sandbox module.

Sandbox

A sophisticated system for executing students’ code under different circumstances. Improves upon the Rerun module by relying on the exec and patch tools of Python.

However, you should be aware that true sandboxing is impossible in a dynamic language like Python. Be sure that your environment has multiple lines of defense, such as proper file system permissions.

Resolvers

FCFS

This resolver finds the highest priority message to deliver to the student, depending on a pre-established bit of logic for tools.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Pedal-0.1.4.dev0.tar.gz (62.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Pedal-0.1.4.dev0-py3-none-any.whl (93.6 kB view details)

Uploaded Python 3

File details

Details for the file Pedal-0.1.4.dev0.tar.gz.

File metadata

  • Download URL: Pedal-0.1.4.dev0.tar.gz
  • Upload date:
  • Size: 62.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/36.5.0.post20170921 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.4

File hashes

Hashes for Pedal-0.1.4.dev0.tar.gz
Algorithm Hash digest
SHA256 0dc6c47f6f067c9555e7feaa4d36e327ca934a926e4c35cdef59d6bc6ddf8a72
MD5 a1530a206c8fc17c3fac4c0dd8c3455c
BLAKE2b-256 8b20ffe270f43f0f77f3ea927763bc2ccf849dd3c5dc3f1b6ee9d04e63965889

See more details on using hashes here.

File details

Details for the file Pedal-0.1.4.dev0-py3-none-any.whl.

File metadata

  • Download URL: Pedal-0.1.4.dev0-py3-none-any.whl
  • Upload date:
  • Size: 93.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/36.5.0.post20170921 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.4

File hashes

Hashes for Pedal-0.1.4.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2434d56780d455476c3700ae8f3fe0682ebc854e819623f78dfaa25374f9e1b
MD5 1829a448d986559cf48c434e8535966d
BLAKE2b-256 e4aab06e5e86ca3228d9b30c11080fbeef75f1b666e4e5a4ba939227ac785774

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.3

2 files

3.0.2

1 file

3.0.1

2 files

2.9.3

2 files

2.9.2

2 files

2.9.1

2 files

2.9.0

2 files

2.8.1

2 files

2.7.0

2 files

2.6.4

2 files

2.6.3

2 files

2.6.2

2 files

2.6.1

2 files

2.6.0

2 files

2.5.9

2 files

2.5.8

2 files

2.5.7

2 files

2.5.6

2 files

2.5.5

2 files

2.5.4

2 files

2.5.3

2 files

2.5.2

2 files

2.5.1

2 files

2.4.2

2 files

2.4.1

2 files

2.4.0

2 files

2.3.8

2 files

2.3.7

2 files

2.3.6

2 files

2.3.5

2 files

2.3.4

2 files

2.3.3

2 files

2.3.1

2 files

2.3.0

2 files

2.2.1

2 files

2.1.0

2 files

2.0.3

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

0.1.6

2 files

This release

0.1.4.dev0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page