Skip to main content

Result Reporter Client

This client will report results of a function execution to an endpoint. This can be especially useful for determining how many students in a class are successfully completing an exercise.

Usage

import rr

# Define endpoint to send results to.
rr.set_global_endpoint('https://result-reporter.com/ingest')
# User-Assignment identification token. This is provided by Result-Reporter.com
rr.set_global_token('f0c3f-1234-abcd-1234-740e2cf8daf8')


def fibonacci(n: int) -> int:
    # Left for your students to implement.
    pass


# Tests provided for your students.
with rr.Wrap(fibonacci) as f:
    assert f(0) == 0
    assert f(1) == 1
    assert f(2) == 1
    assert f(3) == 2
    assert f(4) == 3
    assert f(5) == 5
    assert f(6) == 8

Results will then be available for visualization via the result server.

Installation

$ pip install result-reporter

Release files for result-reporter 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for result-reporter 0.2.1
File Size Uploaded
result_reporter-0.2.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for result-reporter 0.2.1
File Interpreter ABI Platform
result_reporter-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / result_reporter-0.2.1.tar.gz

Download URL result_reporter-0.2.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2533731b0d1460dd1d28b4819f51d861530fbe8ae64eb5c0968f205f83f43d57
BLAKE2b-256 checksum
How to use checksums
6055079828f399351a516305d554cb0322898c806102027352212f24c5c8556b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.0 CPython/3.11.4 Darwin/22.6.0

Release files / result_reporter-0.2.1-py3-none-any.whl

Download URL result_reporter-0.2.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7328acaa46c0d69b65e8a2b94fc71b18bfa7865db3cf66c33d288818a690e8e
BLAKE2b-256 checksum
How to use checksums
4425669bccd9865557f2482e28ede0a54ccad34f7b2d5ffbb4938bdc7f228d00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.0 CPython/3.11.4 Darwin/22.6.0

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

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