Skip to main content

GPT solutions for Brazilian university entrance exams.

Project description

gpt-resolve

Can GPT solve Brazilian university entrance exams?

This project is a simple implementation of how to use LLMs to solve challenging Brazilian university entrance exams.

We'll use o1-preview, which is the best OpenAI model so far with reasoning capabilities, and gpt-4o to describe the exam images so that o1-preview can solve them (as it does not have image capabilities yet). Results are saved as txt files with LaTeX formatting, and you can optionally convert them to a nice PDF or using some LaTeX editor.

The first exam to be solved is the ITA (Instituto Tecnológico de Aeronáutica) exam for admissions in 2025, which is considered one of the most challenging exams in Brazil. This exam currently has two phases: the first one is a multiple choice test and a second one with a 4-hour essay test with 10 questions. The project will start by solving the second phase of the Math section, which is the essay test. This is particularly interesting because (i) the exam happened very recently on the 5th of November 2024 and (ii) the essay test requires a deep understanding of the subjects and the ability to write the answer step by step, which we'll evaluate as well.

After the first exam is solved, the project will try to solve the multiple choice test for Math and expand to other sections and eventually other exams. Feel free to contribute with ideas and implementations of other exams!

Table of exams to be solved:

Exam Phase Section Type Model Status Score
ITA 2025 Math Essay o1-preview 🚧 In Progress -

How to use

So far, with just one exam, you just need to run python src/resolve.py. It will process a exam_path and it will save the results in the subfolder solutions as .txt files, one for each question. Make sure to set your env var OPENAI_API_KEY in the .env file. See section Convert to LaTeX PDF to see how to convert the .txt files to a PDF.

Convert to LaTeX PDF

🚧 In Progress...

Contributing

There are several ways you can contribute to this project:

  • Add solutions for new exams or sections
  • Improve existing solutions or model prompts
  • Add automatic evaluation metrics for answers
  • Create documentations for exams
  • Report issues or suggest improvements

To contribute, simply fork the repository, create a new branch for your changes, and submit a pull request. Please ensure your PR includes:

  • Clear description of the changes
  • Updated table entry (if adding new exam solutions)
  • Any relevant documentation

Feel free to open an issue first to discuss major changes or new ideas!

Sponsors

Buser Logo

This project is proudly sponsored by Buser, Brazil's leading bus travel platform.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpt_resolve-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

gpt_resolve-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file gpt_resolve-0.1.0.tar.gz.

File metadata

  • Download URL: gpt_resolve-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.17 Darwin/23.6.0

File hashes

Hashes for gpt_resolve-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b7cd52312d1e036665198dd157d7fe5f7f6c4464d9ac31822629611dd5d26e2
MD5 d9a8f30f46d7b638b63f79f02a2f77f0
BLAKE2b-256 0c9adec2578a078250a6e92a6786dc0cb39b8e872a0a9c94fed113ef01244df2

See more details on using hashes here.

File details

Details for the file gpt_resolve-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gpt_resolve-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.17 Darwin/23.6.0

File hashes

Hashes for gpt_resolve-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afd77677a9e732b34ded31e081a97a64fb4466549215ed94b4e8aa6d3987b1b0
MD5 6cf4b0352aac31a9041d311cd9024329
BLAKE2b-256 9b94dc43247423332c2d6a1b3d2cd43d3a5e1b7911f4b7304ce2a2707e595f77

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page