Datasets:
The dataset viewer is not available for this dataset.
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
AoPS-Scrape
Problems and solutions scraped from Art of Problem Solving (AoPS) Online class homework endpoints.
Obtained legally in accordance with AoPS's Terms of Service. This is not unauthorized redistribution of pirated material — access was through a legitimate authenticated AoPS Online class session.
Splits
Splits are named by scrape date (YYYY_MM_DD), plus a cross-date content-deduplicated split:
| Split | Rows | Notes |
|---|---|---|
deduplicated |
29,964 | One row per unique problem+solution across every date split (no class/lesson duplicates) |
2024_11_19 |
1,117 | Nov 2024 scrape (raw placements) |
2024_11_20 |
9,336 | Nov 2024 scrape (raw placements) |
2026_07_09 |
6,336 | Jul 2026 full scrape, content-deduplicated within scrape |
2026_07_10 |
18,829 | Jul 2026 full scrape, content-deduplicated within scrape |
2026_07_11 |
3,920 | Jul 2026 full scrape, content-deduplicated within scrape |
Totals:
- Date splits (as uploaded): 39,538 rows
deduplicated: 29,964 unique problems after collapsing cross-class and cross-date duplicates- 2026 underlying scrape: 1,454,319 placements across class ids 1–10000 (6,811 classes with homework) before within-scrape dedup
Prefer deduplicated for a single training/eval set with no duplicate problem statements. Date splits remain available for scrape-dated analysis.
Canonical rows still include class_id / lesson_id for the chosen placement; duplicates across classes/lessons/dates are collapsed via content_hash.
Columns
| Column | Type | Description |
|---|---|---|
problem_id |
int | Local / canonical id |
class_id |
int | AoPS class id (canonical placement) |
lesson_id |
int | Lesson number within class |
aops_problem_id |
int | AoPS problem id when available (2026+; null in 2024-only rows) |
problem_type |
string | e.g. short, amc, aime, discussion, free, … |
problem_text |
string | Problem statement (LaTeX / markup) |
answer |
string | Official answer when present |
answer_type |
string | Answer grading type |
alt_answers |
string | Alternate accepted answers |
solution_text |
string | Solution text (LaTeX / markup) |
formatting_tips |
string | JSON string of formatting tips |
available_hints |
int | Number of hints that exist for the problem |
can_hint |
int | Whether the account can request a hint |
problem_has_solution |
int | Whether a solution was present |
scraped_at |
string | Timestamp of scrape |
scrape_date |
string | YYYY-MM-DD derived from scraped_at |
content_hash |
string | SHA256 of problem+solution text |
placement_count |
int | How many class/lesson placements shared this content |
alternate_placements |
string | JSON list of other placements |
Known limitations
These are intentional / structural gaps from the get_class_homework endpoint, not accidental omissions:
- No hint text. The homework payload only exposes hint metadata (
available_hints,can_hint). Actual hint content is behind a separate reveal/request flow and is not included. - Official answers are usually empty. Prefer
solution_textoveranswer. - HTML / formatted variants not stored. Only plain
problem_text/solution_textare saved (notproblem_fmt/solution_fmt). - Extra metadata dropped. Fields such as
header,collection_id,identifier,version,order,markup, andfilesare not persisted. - No attached media download. Image/file attachments are not downloaded.
- Scope is class homework only. Transcripts, ebooks, wiki contest problems, and forum content are out of scope.
- Access-dependent coverage. Only classes/lessons visible to the authenticated session are scraped.
- Deduplication. 2026 date splits and
deduplicatedcollapse identical problem+solution text. 2024 date splits remain raw placements; overlapping 2024/2026 content is collapsed only indeduplicated.
Source
Scraped via the AoPS Online class AJAX endpoint (/m/class/ajax.php, a=get_class_homework) using an authenticated platsessionid cookie. Scraper source: hg0428/aops-reverse-engineer.
Notes
- Future scrapes should be added as new date-named splits rather than overwriting existing ones, then regenerate
deduplicated. - 2026 scrape covered class ids 1–10000 with dual authenticated workers; network-blip classes were re-probed before export.
- The split name
allis reserved by Hugging Facedatasets, so the cross-date union is published asdeduplicated.
- Downloads last month
- 86