Skip to content

Feature#36 - Update state of the library#37

Merged
emapuljak merged 46 commits into
masterfrom
feature#36-update-library
Jun 15, 2026
Merged

Feature#36 - Update state of the library#37
emapuljak merged 46 commits into
masterfrom
feature#36-update-library

Conversation

@emapuljak

Copy link
Copy Markdown
Collaborator

Summary

This PR updates the library, documentation examples, tests, and CI/CD pipeline to make the project easier to maintain and safer to merge.

It adds automated checks for linting, formatting, typing, security, tests, coverage, and notebooks; updates the supported Python versions to Python >=3.10; expands test coverage; and fixes several library issues found while enabling stricter checks.

Main Changes

  • Added CI and pre-merge GitHub Actions workflows.
  • Added pytest matrix for Python 3.10, 3.11, and 3.12.
  • Added Ruff, mypy, Bandit, pytest, coverage, and notebook execution checks.
  • Added pre-commit configuration for local checks.
  • Updated README badges to point to real CI/docs workflows.
  • Dropped support for Python <3.10 in package metadata.
  • Renamed test/ to tests/.
  • Added and expanded tests for embeddings, metrics, models, strategy, eval, and utilities.
  • Fixed notebook metadata cleanup so environment/kernel details are not committed.
  • Updated and cleaned documentation notebooks and example scripts.
  • Added TNAD latent example documentation/index page.
  • Updated docs image assets and paths.
  • Improved model saving behavior and runtime path handling.
  • Fixed sweeping strategy behavior, optimizer state indexing, and quimb compatibility.
  • Fixed SMPO prediction/application edge cases for single-output tensors.
  • Fixed metrics failures around SMPO output shapes.
  • Fixed mypy and Ruff issues across library, docs examples, and tests.

Verification

The branch has been checked with:

  • ruff check .
  • ruff format --check .
  • mypy .
  • targeted pytest runs for the recently fixed failures

CI now also runs the main checks online, including pytest across Python 3.10, 3.11, and 3.12.

@emapuljak emapuljak merged commit b5cb283 into master Jun 15, 2026
15 checks passed
@emapuljak emapuljak deleted the feature#36-update-library branch June 15, 2026 11:50
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.

Update library - training pipeline, CI checks, docs, and test coverage Failing tests in CrossEntropySoftmax and GramSchmidt initializer

1 participant