Skip to content

rel-stack: post votes (Regression)

RelBench rel-stack post-votes graphreduce flow

Open full-size: SVG

This docs page now reflects the current runner path: the example materializes the official rel-stack tables from the relbench Python library and then builds the GraphReduce post-votes regression frame locally.

from pathlib import Path
from relbench_dataset_utils import materialize_relbench_dataset

materialized = materialize_relbench_dataset(
    "rel-stack",
    Path("tests/data/relbench/rel-stack"),
    {
        "users": "Users.csv",
        "posts": "Posts.csv",
        "badges": "Badges.csv",
        "postHistory": "PostHistory.csv",
        "postLinks": "PostLinks.csv",
        "votes": "Votes.csv",
        "comments": "Comments.csv",
    },
)
print(materialized)

Current implementation:

Interactive Runner