Skip to content

Documentation update#87

Merged
EricYangg merged 11 commits intodevfrom
Documentation_update
Feb 3, 2026
Merged

Documentation update#87
EricYangg merged 11 commits intodevfrom
Documentation_update

Conversation

@Olytics
Copy link
Collaborator

@Olytics Olytics commented Feb 3, 2026

Added runnable tutorial and examples, enable TOC/sidebar, fix docs/env/gitignore, and clarify tests.

Copilot AI review requested due to automatic review settings February 3, 2026 01:03
@Olytics Olytics self-assigned this Feb 3, 2026
@Olytics Olytics requested review from EricYangg and removed request for Copilot February 3, 2026 01:04
@Olytics Olytics requested a review from justinmak08 February 3, 2026 01:04
@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.23%. Comparing base (85c8550) to head (7fd4ff1).
⚠️ Report is 13 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev      #87   +/-   ##
=======================================
  Coverage   94.23%   94.23%           
=======================================
  Files           6        6           
  Lines         104      104           
  Branches       39       39           
=======================================
  Hits           98       98           
  Misses          3        3           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI review requested due to automatic review settings February 3, 2026 07:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the documentation infrastructure for the Sudoku_Validation package by adding runnable tutorials and examples, enabling navigation features, fixing environment and gitignore configurations, and improving test documentation.

Changes:

  • Added runnable tutorial (tutorials/usage.qmd) and standalone example script (examples/usage.py) demonstrating all package functions
  • Enhanced Quarto configuration with table of contents, sidebar navigation, and tutorial link
  • Updated project URLs in pyproject.toml to point to correct GitHub organization and documentation site
  • Added jupyter and nbformat dependencies to environment.yml for Quarto notebook support
  • Added _freeze/ pattern to .gitignore for Quarto cache files
  • Added clarifying comments to test cases explaining test setup and expected behavior

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
tutorials/usage.qmd New Quarto tutorial with executable Python examples demonstrating all validation functions
examples/usage.py New standalone Python script with runnable usage examples for all package functions
tests/unit/test_combined_validation.py Added descriptive comments explaining test setup, board state, and indices being tested
pyproject.toml Updated project URLs from invalid format to correct UBC-MDS organization and GitHub Pages documentation
index.qmd Enabled table of contents for better navigation
_quarto.yml Added tutorial link to navbar and comprehensive sidebar with anchor links to README sections
README.md Added "Usage (runnable examples)" section with complete code examples and converted URLs to proper Markdown links
environment.yml Added jupyter and nbformat dependencies required for Quarto Python notebooks
.gitignore Added _freeze/ directory pattern for Quarto cache exclusion

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- **square_validation(board)**: Validates that each 3x3 square in a 9x9 Sudoku board contains all digits from 1 to 9 exactly once.

## Position in the Python Ecosystem
## Position in the Python Ecosystem
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

Trailing space after the header. While this doesn't break functionality in Markdown, it's inconsistent with the rest of the codebase where headers don't have trailing spaces (see CODE_OF_CONDUCT.md, CONTRIBUTING.md, DEVELOPMENT.md). Consider removing trailing spaces from all headers for consistency.

Copilot uses AI. Check for mistakes.
> Note: this package is a work in progress and might contain example code that is not used in the final product.

## Get started
## Get started
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

Trailing space after the header. While this doesn't break functionality in Markdown, it's inconsistent with the rest of the codebase where headers don't have trailing spaces (see CODE_OF_CONDUCT.md, CONTRIBUTING.md, DEVELOPMENT.md). Consider removing trailing spaces from all headers for consistency.

Copilot uses AI. Check for mistakes.
print('combined_validation (incomplete but valid):', combined_validation(incomplete))
```

## Documentation
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

Trailing space after the header. While this doesn't break functionality in Markdown, it's inconsistent with the rest of the codebase where headers don't have trailing spaces (see CODE_OF_CONDUCT.md, CONTRIBUTING.md, DEVELOPMENT.md). Consider removing trailing spaces from all headers for consistency.

Copilot uses AI. Check for mistakes.


## For Developers
## For Developers
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

Trailing space after the header. While this doesn't break functionality in Markdown, it's inconsistent with the rest of the codebase where headers don't have trailing spaces (see CODE_OF_CONDUCT.md, CONTRIBUTING.md, DEVELOPMENT.md). Consider removing trailing spaces from all headers for consistency.

Copilot uses AI. Check for mistakes.


## Contributing
## Contributing
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

Trailing space after the header. While this doesn't break functionality in Markdown, it's inconsistent with the rest of the codebase where headers don't have trailing spaces (see CODE_OF_CONDUCT.md, CONTRIBUTING.md, DEVELOPMENT.md). Consider removing trailing spaces from all headers for consistency.

Copilot uses AI. Check for mistakes.
Submitting pull requests

## Contributors
## Contributors
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

Trailing space after the header. While this doesn't break functionality in Markdown, it's inconsistent with the rest of the codebase where headers don't have trailing spaces (see CODE_OF_CONDUCT.md, CONTRIBUTING.md, DEVELOPMENT.md). Consider removing trailing spaces from all headers for consistency.

Copilot uses AI. Check for mistakes.
Omowunmi Obadero: obaderoomowunmi@gmail.com

## Copyright
## Copyright
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

Trailing space after the header. While this doesn't break functionality in Markdown, it's inconsistent with the rest of the codebase where headers don't have trailing spaces (see CODE_OF_CONDUCT.md, CONTRIBUTING.md, DEVELOPMENT.md). Consider removing trailing spaces from all headers for consistency.

Copilot uses AI. Check for mistakes.

## Package Contents

## Package Contents
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

Trailing space after the header. While this doesn't break functionality in Markdown, it's inconsistent with the rest of the codebase where headers don't have trailing spaces (see CODE_OF_CONDUCT.md, CONTRIBUTING.md, DEVELOPMENT.md). Consider removing trailing spaces from all headers for consistency.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

@EricYangg EricYangg left a comment

Choose a reason for hiding this comment

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

Everything looks good to me! Thanks @Olytics
Think it's fine to ignore those inconsistencies that Copilot mentioned as it doesn't really affect anything

@EricYangg EricYangg merged commit af09942 into dev Feb 3, 2026
16 of 17 checks passed
@Olytics Olytics mentioned this pull request Feb 3, 2026
43 tasks
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.

2 participants