Skip to content

Repository files navigation

AI Coding Challenges

Original, self-contained coding exercises that demonstrate benchmark design, precise requirements, reference implementations, and automated testing.

Challenges

Python: Normalize Event Records

Normalize inconsistent event dictionaries into a deterministic schema while validating required fields.

JavaScript: Summarize Review Scores

Aggregate reviewer scores by category without mutating the input.

Repository structure

python/normalize_events/
  README.md
  solution.py
  test_solution.py
javascript/summarize_scores/
  README.md
  solution.js
  solution.test.js
.github/workflows/tests.yml

Run Python tests

python -m pip install pytest
pytest

Run JavaScript tests

cd javascript/summarize_scores
npm install
npm test

Design principles

  • Unambiguous task statements
  • Deterministic expected behavior
  • Edge-case coverage
  • Clear failure messages
  • Original examples without proprietary material

About

Production-style Python and JavaScript coding challenges with automated tests.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages