-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor config parsing and validation w/ pydantic
- Loading branch information
1 parent
48d4f7c
commit fbf38a0
Showing
8 changed files
with
140 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
proposer_and_responder: [man, woman] | ||
preference_type: random | ||
proposer_side_name: man | ||
responder_side_name: woman | ||
number_of_proposers: 12 | ||
number_of_responders: 12 | ||
log_file: logs.log | ||
preference_type: random | ||
log_file_name: logs.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
proposer_and_responder: [woman, man] # first entry is proposer, second is responder | ||
preference_type: random # random for now, input will be implemented later | ||
number_of_proposers: 5 # number of proposers, not necessarily equal to number of responders | ||
number_of_responders: 7 # number of responders, not necessarily equal to number of proposers | ||
log_file: logs.log # log file name, will be saved in logs folder | ||
proposer_side_name: man | ||
responder_side_name: woman | ||
number_of_proposers: 5 | ||
number_of_responders: 7 | ||
preference_type: random # only random is valid for now, custom input will be implemented later | ||
log_file: logs.log # will be saved in logs folder |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.