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.2.dev0.tar.gz (2.6 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.2.dev0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Pedal-0.1.2.dev0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Pedal-0.1.2.dev0.tar.gz
Algorithm Hash digest
SHA256 e17b1b1610b380752c77770ecd112b010081dcfcf40e7f5821f57658134e8d63
MD5 4ba7142208cfb83d5c762807ccd9045a
BLAKE2b-256 73395d4eb617d842a44221a70dc030647546f5d9ac544cd28dff1bf0e110da0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Pedal-0.1.2.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 acfa553ccc443a58200908094b631cba75a8b451cec8ab3a56fc8f36f0208c18
MD5 fb18558420c2dbe9d07419243abedb44
BLAKE2b-256 24691a460096399e9a0ff9c92f8e5d0f0a16b9b250c046c11836af35ddbf2102

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.2.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