-
Notifications
You must be signed in to change notification settings - Fork 1
chore: sync dev to master branch #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- The hard coded directions are relieved in this change.
- change edge_left(R, C)/edge_top(R, C) to edge(R, C, "D") - D is a normalized direction defined in Direction
- All the loops and paths are changed to routes for unity. - The shading colors are set to `green` if possible.
This API has been merged into the `fill_line` API
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #126 +/- ##
==========================================
+ Coverage 99.66% 99.79% +0.13%
==========================================
Files 157 167 +10
Lines 7412 7936 +524
Branches 952 1112 +160
==========================================
+ Hits 7387 7920 +533
+ Misses 12 7 -5
+ Partials 13 9 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request syncs the dev branch to master, updating dependencies and refactoring solver code to use standardized Direction constants and route/edge handling.
Changes:
- Updates multiple Python package dependencies to newer versions
- Refactors solvers to use Direction constants instead of string literals
- Migrates loop-category solvers to route-category with updated predicates
- Adds 7 new puzzle solver implementations
Reviewed changes
Copilot reviewed 112 out of 113 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| uv.lock | Dependency version updates for various packages |
| tests/test_solver.py | Added compass_constraint test and hinge edge case test |
| solver/yajitatami.py | Updated to use Direction constants for edge handling |
| solver/yajilin_regions.py | Migrated from loop to route category |
| solver/yajilin.py | Migrated from loop to route with Direction constants |
| solver/yajikazu.py | Updated arrow direction handling |
| solver/wittgen.py | New Wittgenstein Briquet solver |
| solver/walllogic.py | Updated edge display handling |
| solver/voxas.py | Updated edge display handling |
| solver/usotatami.py | Updated to use Direction constants |
| solver/triplace.py | Updated edge handling with Direction constants |
| solver/toichika2.py | New Toichika 2 solver |
| solver/toichika.py | New Toichika solver |
| solver/tilepaint.py | Updated corner label references |
| solver/tetrominous.py | Updated edge handling |
| solver/tetrochain.py | Updated arrow direction handling |
| solver/tentaisho.py | Updated edge constraints with Direction constants |
| solver/tatamibari.py | Updated edge display handling |
| solver/tapaloop.py | Migrated from loop to route category |
| solver/symmarea.py | Updated fillomino constraint with Direction constants |
| solver/sudoku.py | Added killer cage, arrow, and thermo support |
| solver/squarejam.py | Updated edge display handling |
| solver/snake.py | Renamed pass_by_loop to pass_by_route |
| solver/slitherlink.py | Migrated from loop to route category |
| solver/simpleloop.py | Migrated from loop to route with holes |
| solver/shingoki.py | Migrated from loop to route category |
| solver/shikaku.py | Updated edge display handling |
| solver/shakashaka.py | Updated triangle direction handling |
| solver/scrin.py | New Scrin solver |
| solver/roma.py | New Roma solver |
| solver/renban.py | New Renban-Madoguchi solver |
| solver/rassi.py | New Rassi Silai solver |
| solver/railpool.py | Migrated from loop to route category |
| solver/pipelink.py | Migrated from loop to route category |
| solver/pentopia.py | Updated opia constraint with Direction constants |
| solver/pentominous.py | Updated edge handling |
| solver/patchwork.py | Updated area adjacent constraint |
| solver/ncells.py | Updated edge display handling |
| solver/nanro.py | Updated corner label references |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
What's new in v0.8.0:
frontend
backend
looptoroutestore_solution_int_or_strfunctionwith_borderparameter to the edge rule (default isTrue)dependencies
documents
new solvers