Releases: UBC-MDS/deepworks
Releases · UBC-MDS/deepworks
v2.0.0
Peer Review Fixes
- Include function outputs in the
Usagesection inREADME.md- #95 - Add emails in the authors matrix in
pyproject.toml- #96 - Add missing badge for documentation building workflow - #97
- Add more clarity in
README.mdespecially in the pomodoro section - #98
Added
- Workflow improvements:
ai-critic-prworkflow for AI-powered PR reviews (.github/workflows/ai-critic-pr.yml)ai-critic-issueworkflow for AI-powered issue analysis (.github/workflows/ai-critic-issue.yml)ai-docstring-detectiveworkflow for detecting missing docstrings (.github/workflows/ai-docstring-detective.yml)ai-tutorial-genworkflow for AI-generated tutorials (.github/workflows/ai-tutorial-gen.yml)docs-previewfor previewing documentation in PR's (.github/workflows/docs-preview.yml)
- Added
raw-optionstopyproject.tomlto avoid versioning issues in deployment - Interactive tutorial (
tutorial.qmd) demonstrating all package functions with executable Python cells - Jupyter dependency to docs optional dependencies for executable documentation code cells
- Tutorial link added to documentation navbar
- CC-BY-4.0 license for documentation
- Added
RETROSPECTIVE.mdto the quarto website for project reflection
Changed
- Updated
CONTRIBUTING.mdwith clear git workflow and branch structure diagram - Updated
CONTRIBUTING.mdwith developer setup instructions using Hatch - Improved
README.mdwith updated usage examples and test case for a single module - Updated dynamic badges in
README.mdfor CI/CD - Function changes:
plan_pomodoro(): Simplified function to return plain DataFrame without metadata attributes (.attrs), removed_create_dataframe_with_metadata()function, and changed_build_schedule()to return only the schedule listsuggest_break(): Refactored_filter_activities()to use list comprehensions with the new_matches_filters()helper for cleaner and more readable codeget_affirmation():ENERGY_ORDERmodule-level constant for energy level ordering (previously defined locally in_weight_affirmations)- Random seed isolation: Changed from
random.seed(seed)torng = random.Random(seed)to prevent polluting global random state when using the seed parameter
prioritize_tasks():_calculate_weighted_scores()now usesDEFAULT_WEIGHTSconstant instead of hardcoded fallback values (0.5, 0.3, 0.2)
- Updated docstring for each function to have more detailed parameter descriptions, expanded return value documentation, and updated examples
v1.0.2
v1.0.1
v1.0.0
Added
- CI integration via GitHub Workflows (
.github/workflows/build.yml) - CD integration via GitHub Workflows (
.github/workflows/deploy.yml) - Documentation build and deployment via GitHub Workflows (
.github/workflows/docs-publish.yml) - Dynamic badges on
README.md - Rendered documentation for the repo using quartodoc through Hatch
- Publish on PyPi
Changed
- Renamed package from
deepworktodeepworksto avoid naming conflicts when publishign to PyPi - Added additional unit tests, minor improvements and created a more in depth documentation for the following:
suggest_breakget_affirmationplan_pomodoro()prioritize_tasks()
- Added the following sections on
README.md:- Developer Setup
- Building Documentation
- Deployment
- New semantic versioning that follows
v*.*.*convention - Removed the following workflows:
docs.ymlrelease.ymltest.ymldependabot.yml
0.0.2
Added
- Added pandas dependency to pyproject.toml
suggest_breakfunction that recommends break activities based on work duration and preferences (break type, duration, location, energy level)get_affirmationfunction that returns motivational affirmations based on energy level and task typeplan_pomodoro()implementation for generating Pomodoro-style work/break schedules.prioritize_tasks()function for ranking tasks by priority (either by importance or deadline)- Comprehensive test suite for
suggest_break,get_affirmation,plan_pomodoro - Added
Testingportion to the README.md - Added a brief description of the package in
src/deepwork/__init__.py
Changed
- Updated all docstring to be more comprehensive and include examples of usage.
- Added
--cov-branchflag under the [tool.hatch.envs.test.scripts] matrix in thepyproject.tomlfile