{
  "id": "py-invoicing",
  "kind": "repos",
  "subkind": "python",
  "version": "v1",
  "title": "Invoice totals with volume discounts and tax (Python)",
  "description": "A small invoicing package: Decimal money helpers, volume discount tiers and invoice totals. Two planted bugs make three tests fail.",
  "language": "python",
  "tags": [
    "code",
    "debugging",
    "failing-tests",
    "python"
  ],
  "world": null,
  "files": [
    {
      "name": "py-invoicing.zip",
      "url": "/fixtures/repos/py-invoicing/py-invoicing.zip",
      "media_type": "application/zip",
      "bytes": 5966,
      "sha256": "da6df26e454e98d904d3d31da2132af43ecef063e9c4de148042708831030759",
      "variant": "source"
    }
  ],
  "answers_url": "/fixtures/repos/py-invoicing/answers",
  "task": "The test suite fails. Find the planted bugs and fix them with minimal changes so every test passes; do not edit the tests.",
  "test_command": "python3 -m unittest discover -s tests -t . -v",
  "root_dir": "py-invoicing",
  "source_files": [
    "README.md",
    "invoicing/__init__.py",
    "invoicing/discounts.py",
    "invoicing/invoice.py",
    "invoicing/money.py",
    "pyproject.toml",
    "tests/__init__.py",
    "tests/test_invoice.py",
    "tests/test_money.py"
  ],
  "bug_count": 2
}
