Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Mark puzzle as solved #5

Open
Nicals opened this issue Jan 6, 2023 · 0 comments
Open

Mark puzzle as solved #5

Nicals opened this issue Jan 6, 2023 · 0 comments
Labels

Comments

@Nicals
Copy link
Owner

Nicals commented Jan 6, 2023

Mark puzzle as solved and validate solution when running them.
Something like:

@puzzle.solution
@solved(solution=314)
def solve(input_values):
    ...

This could be a first step to display challenge completion:

$ saulve my_chall ...
75% solved
problem_001 solved (100% 2/2 steps)
problem_002 in progress (50% 1/2 steps)
@Nicals Nicals added the feature label Oct 1, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant