File size: 836 Bytes
d4d9036
 
6708c4b
7a01aea
 
781bfc3
d4d9036
7a01aea
 
781bfc3
7a01aea
 
781bfc3
 
7a01aea
 
 
 
 
 
 
d4d9036
7a01aea
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
license: apache-2.0
title: Math Test Question Generator via Claude 3.5 With SymPy Verification, Discrepancy Resolution, and ChatGPT Grading
sdk: gradio
emoji: 💻
short_description: Generates university-level mathematics exam questions
---
# Math Test Generator

A Gradio app that generates university-level mathematics exam questions using Claude 3.5 Sonnet.

## Features
- User chooses math subject
- User chooses computation, proof, or applicatio
- Provides detailed solutions
- LaTeX formatting for mathematical expressions
- Usage tracking and cost monitoring
- Rate limiting for API protection

## Setup
Requires Anthropic API key set in HuggingFace Spaces secrets as `ANTHROPIC_API_KEY`.

## Usage
1. Select a subject from the dropdown
2. Click submit to generate a test
3. View questions and solutions with LaTeX formatting