feat: Add Complex Arithmetic Dataset and Tests

This commit introduces a new dataset for complex number arithmetic operations:

- Implements ComplexArithmeticDataset for generating complex number problems
- Supports addition, subtraction, multiplication, and division operations

Part of the algebra tasks collection in reasoning-gym.
This commit is contained in:
Aayam 2025-02-05 08:53:06 -08:00
parent 00b81fa4dc
commit a0e291d066
4 changed files with 230 additions and 1 deletions

View file

@ -84,6 +84,7 @@ See the [Dataset Gallery](GALLERY.md) for a complete list of available datasets
- `LegCountingDataset`: Generate animal leg counting word problems with various animals
- `PrimeFactorizationDataset`: Generate prime factorization tasks with configurable number ranges
- `TimeIntervalsDataset`: Generate time interval calculation tasks with various formats (time, date, datetime) and complexities
- `ComplexArithmeticDataset`: Generate complex arithmetic problems with configurable number of integers
### <small>Algorithmic Tasks</small>