-
Notifications
You must be signed in to change notification settings - Fork 1
refactor: improve fasting logic and structure in logic.py #32
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
|
Thank you again for another contribution! I really appreciate your involvement — you’re currently the only external contributor to this project, so your help means a lot. At the moment my main focus is on another repository, so I move a bit slower here. I’m preparing to open a set of issues to document what is already done, what still needs work, and what I have partially started. This should help avoid duplicated work and make the roadmap clearer (for example: finishing the Regarding Since your contributions are very helpful, I’m also curious how involved you’d like to be with this project. Thanks again for the PR — I’ll review it shortly! |
|
=============================================================================================== test session starts ================================================================================================ tests/core/test_date.py .......... [ 2%] ===================================================================================================== FAILURES ===================================================================================================== current_date = '1924-1-5', calendar_style = 'old', expected = {'fasting_laymen_index': '5', 'fasting_monks_index': '5', 'fasting_season_index': '11'}
E AssertionError: assert {'fasting_lay..._index': '12'} == {'fasting_lay..._index': '11'} tests/core/test_fasting.py:3234: AssertionError current_date = '1924-1-6', calendar_style = 'old', expected = {'fasting_laymen_index': '1', 'fasting_monks_index': '2', 'fasting_season_index': '11'}
E AssertionError: assert {'fasting_lay..._index': '12'} == {'fasting_lay..._index': '11'} tests/core/test_fasting.py:3234: AssertionError current_date = '2099-1-5', calendar_style = 'old', expected = {'fasting_laymen_index': '4', 'fasting_monks_index': '4', 'fasting_season_index': '11'}
E AssertionError: assert {'fasting_lay..._index': '12'} == {'fasting_lay..._index': '11'} tests/core/test_fasting.py:3234: AssertionError current_date = '2099-1-6', calendar_style = 'old', expected = {'fasting_laymen_index': '1', 'fasting_monks_index': '2', 'fasting_season_index': '11'}
E AssertionError: assert {'fasting_lay..._index': '12'} == {'fasting_lay..._index': '11'} tests/core/test_fasting.py:3234: AssertionError current_date = '1924-1-5', calendar_style = 'new', expected = {'fasting_laymen_index': '4', 'fasting_monks_index': '4', 'fasting_season_index': '11'}
E AssertionError: assert {'fasting_lay..._index': '12'} == {'fasting_lay..._index': '11'} tests/core/test_fasting.py:3234: AssertionError current_date = '1924-1-6', calendar_style = 'new', expected = {'fasting_laymen_index': '1', 'fasting_monks_index': '2', 'fasting_season_index': '11'}
E AssertionError: assert {'fasting_lay..._index': '12'} == {'fasting_lay..._index': '11'} tests/core/test_fasting.py:3234: AssertionError current_date = '2099-1-5', calendar_style = 'new', expected = {'fasting_laymen_index': '5', 'fasting_monks_index': '5', 'fasting_season_index': '11'}
E AssertionError: assert {'fasting_lay..._index': '12'} == {'fasting_lay..._index': '11'} tests/core/test_fasting.py:3234: AssertionError current_date = '2099-1-6', calendar_style = 'new', expected = {'fasting_laymen_index': '1', 'fasting_monks_index': '2', 'fasting_season_index': '11'}
E AssertionError: assert {'fasting_lay..._index': '12'} == {'fasting_lay..._index': '11'} tests/core/test_fasting.py:3234: AssertionError |
|
Thank you again for the PR! I just committed all the fasting tests (except for At the moment I don’t have enough time to carefully investigate the failing cases, so I’m keeping this note here as a reminder for both of us. Once I reorganize the tests and review them properly, I’ll be able to verify whether the failures are real issues or bugs in my test data. Thanks again for contributing — your work is really appreciated! |
|
Also, one small note for future contributions: could you please run |
No description provided.