leapingio / demo

A demo of the auto-reproducer and solver from Leaping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In root: pip install -r requirements.txt
uvicorn backend.main:app NOTE: Please ensure that you're using uvicorn[standard] and not uvicorn since we've seen the latter result in some socket errors

In backend: Please copy .env.example to .env and ensure that all the variables in the .env file are set correctly.
For the github token, please follow these instructions to create a token and set it in the .env file.

In a new terminal:
cd frontend
npm run dev

Frontend: http://localhost:5173

Stack trace to paste in:

Traceback (most recent call last):
    File "/Users/adrien/hndemo/backend/example.py", line 127, in
      pay_for_day(emp_id, '2024-02-29')
    File "/Users/adrien/hndemo/backend/example.py", line 114, in pay_for_day
      if result.is_weekend:
      ^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'is_weekend'

About

A demo of the auto-reproducer and solver from Leaping

License:MIT License


Languages

Language:Python 77.5%Language:JavaScript 22.0%Language:HTML 0.4%Language:CSS 0.1%