Skip to content
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

Offline tests #38

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Offline tests #38

wants to merge 3 commits into from

Conversation

Qwebeck
Copy link
Member

@Qwebeck Qwebeck commented Sep 24, 2022

#36

Przeniosłem zmieniajac wejściowe dane i usuwając część dot. Bobota z tego repozytorium

@Qwebeck Qwebeck marked this pull request as ready for review September 25, 2022 16:53
@Qwebeck Qwebeck requested a review from mslazynski September 25, 2022 16:53
@@ -6,6 +6,8 @@
from local_search.problems.graph_coloring_problem.models.edge import Edge
from local_search.problems.graph_coloring_problem.state import GraphColoringState

# Do we want to have TODOs on this class. It not teaches students nothing about algorithms, only makes them familiar with the problem?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zastanawiam się nad tym, czy chcemy żeby studenci implementowali Goal?

Według mnie to by było fajne gdyby oprócz tego TODO było jeszcze kilka dotyczących architektury solvery, bo wtedy to by pozwoliło:

  1. lepiej zrozumieć jak działa nasz solver
  2. pokazało by im jak można podchodzić do implementacji rzeczywistych solverów.

Natomiast teraz większość TODO dotyczy algorytmów i to jak na mnie jest trochę zbędne.

@@ -0,0 +1,109 @@
from __future__ import annotations
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Przeniosłem ten problem z tego repozytorium

from tests.sum_problem import SumProblem, SumProblemGoal, Maximize, Minimize, SumProblemState


# TODO: should be here?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Przeniosłem testy z tego repo.

Nie widzę żeby w kodzie były jakiekolwiek metody dotyczące hill climbingu, ale myślę, że można by było je dodać skoro testy już są.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant