Skip to content

project-lovelace/lovelace-problems

Repository files navigation

Project Lovelace problem modules

All Contributors

Tests

This repository contains modules for generating test cases (inputs and outputs) for Project Lovelace problems.

Note that it relies on a private solutions repository to generate solutions. The solutions are kept private to avoid providing copy-pasteable solutions to every problem.

New problem submission guide

If you have an idea for a new problem please consider submitting a new problem, we love receiving new contributions! We discuss new problems on Discord mostly but you can also open a GitHub issue or post on Discourse to discuss. Also feel free to ask us any questions at all! Let us know if you're interested in submitting new problems so we can invite you to the Project Lovelace GitHub organization.

There are three steps to submitting a new problem:

  1. Open a pull request to lovelace-solutions with the solution to the problem.
  2. Open a pull request to lovelace-problems with code to generate test cases for the problem. (You are here!)
  3. Open a pull request to lovelace-website with the problem description, code stubs, and any visualization code.

How to submit new problem test cases

  1. Add a new problem module under the problems/ directory. Structure it similarly to the other problem modules. You can generate as many test cases as you want although it's good to cover all the interesting cases.
  2. Open a pull request! Once all the tests pass it can be merged.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Ali Ramadhan

🖋 ⚠️ 💻

br

🖋 💻

This project follows the all-contributors specification. Contributions of any kind welcome!