EduBehaviors-Kit
Python code for predicting and training with the EduBehaviors framework
- GitHub: https://github.com/scale-nssa/edubehaviors-kit/
- PyPI package: https://pypi.org/project/edubehaviors-kit/
- Created by: Xander Beberman, Julian Bernado, and Ana T. Ribeiro at The SCALE Initiative at Stanford University.
- Free software: MIT License
Features
WordAnnotator— counts or flags a word list in textAssertionAnnotator— scores text against the EduBehaviors assertions with their SetFit modelsstandard_classifier— ridge logistic regression with sensible defaultsClassificationPipeline— annotate, split, train and evaluate a labelled dataframe in one step
Assertions
See the assertions page for the published assertion classifiers with their agreement and test F1 scores.
Usage
Quickstart
import pandas as pd
from edubehaviors import ClassificationPipeline
data = pd.read_csv("examples/talkmoves_tutor.csv")
pipeline = ClassificationPipeline(
data,
words="all",
assertions=["sentence_has_a_question"],
label_column="label_press_for_reasoning",
group_column="transcript",
random_state=2026_09_17,
)
print(pipeline.report())
See the usage docs for details.
Documentation
Documentation is built with Zensical and deployed to GitHub Pages.
- Live site: https://scale-nssa.github.io/edubehaviors-kit/
- Preview locally:
just docs-serve(serves at http://localhost:8000) - Build:
just docs-build
API documentation is auto-generated from docstrings using mkdocstrings.
Docs deploy automatically on push to main via GitHub Actions. To enable this, go to your repo's Settings > Pages and set the source to GitHub Actions.
Development
To set up for local development:
# Clone your fork
git clone git@github.com:your_username/edubehaviors-kit.git
cd edubehaviors-kit
# Install the project and its dev dependencies
uv sync
This installs the package in editable mode, so any changes you make to the source code are picked up immediately.
Run tests:
uv run pytest
Run quality checks (format, lint, type check, test):
just qa
Author
EduBehaviors-Kit was created in 2026 by Xander Beberman, Julian Bernado, and Ana T. Ribeiro at The SCALE Initiative at Stanford University.
Built with Cookiecutter and the audreyfeldroy/cookiecutter-pypackage project template.
Metadata
Release files for edubehaviors-kit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| edubehaviors_kit-0.1.0.tar.gz | 235.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edubehaviors_kit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 251.4 kB
Release files / edubehaviors_kit-0.1.0.tar.gz
| Download URL | edubehaviors_kit-0.1.0.tar.gz |
|---|---|
| Size | 235.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47101c220b5cfb14b4965fc0c008be4c9c549b8ce70f80bfaaa45907f62b636a
|
|
BLAKE2b-256 checksum How to use checksums |
d4eb3b2e426ab2b9a8bcbf4edcbcd5c3cd9c39a23d1cf355e698ab2b4d4e5026
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.
Transparency logRelease files / edubehaviors_kit-0.1.0-py3-none-any.whl
| Download URL | edubehaviors_kit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98dbefb6d53859e51239fef6dee345a2ff488f0acee09c3adc5b3b3282eca92f
|
|
BLAKE2b-256 checksum How to use checksums |
44e6c64cc71378e28683d3e12d58050c94e3873a935c2979e6106cfdb6686b58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.
Transparency log