Skip to content

Alec-0dell/aba-sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currently configured for basic front-end use, including Python, Prolog, Clingo, and neural netowrk-based solving.

To start:

Backend:

uvicorn backend.main:app --host 127.0.0.1 --port 8080

Frontend:

cd web-interface
npm install 
npm start

To test solvers

python scripts/test_solvers.py
--------------------------------------------------------------------------------------
| Solver | Difficulty | Correct % | Avg Time +/- Std Dev (ms) | Avg +/- Std Cell Acc |
--------------------------------------------------------------------------------------
| python | Easy       | 100.0%    | 1.916 +/- 0.448           | ---                  |
| python | Medium     | 100.0%    | 2.277 +/- 0.477           | ---                  |
| python | Hard       | 100.0%    | 3.170 +/- 1.252           | ---                  |
| python | Diabolical | 100.0%    | 3.746 +/- 1.841           | ---                  |
--------------------------------------------------------------------------------------
| prolog | Easy       | 100.0%    | 171.309 +/- 7.937         | ---                  |
| prolog | Medium     | 100.0%    | 170.839 +/- 6.534         | ---                  |
| prolog | Hard       | 100.0%    | 171.403 +/- 6.289         | ---                  |
| prolog | Diabolical | 100.0%    | 174.029 +/- 7.036         | ---                  |
--------------------------------------------------------------------------------------
| clingo | Easy       | 100.0%    | 15.238 +/- 2.526          | ---                  |
| clingo | Medium     | 100.0%    | 14.444 +/- 1.689          | ---                  |
| clingo | Hard       | 100.0%    | 15.117 +/- 2.400          | ---                  |
| clingo | Diabolical | 100.0%    | 11.048 +/- 2.641          | ---                  |
--------------------------------------------------------------------------------------
| nn     | Easy       | 51.0%     | 6.489 +/- 2.436           | 94.1% +/- 8.7%       |
| nn     | Medium     | 10.0%     | 6.347 +/- 1.049           | 83.0% +/- 11.2%      |
| nn     | Hard       | 1.0%      | 6.426 +/- 1.161           | 75.3% +/- 12.3%      |
| nn     | Diabolical | 2.0%      | 5.752 +/- 1.059           | 70.2% +/- 13.9%      |
--------------------------------------------------------------------------------------

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors