Skip to content

Make mlquant demo portable outside a source checkout - #54

Merged
initial-d merged 1 commit into
mainfrom
feat/portable-demo-config
Aug 8, 2026
Merged

Make mlquant demo portable outside a source checkout#54
initial-d merged 1 commit into
mainfrom
feat/portable-demo-config

Conversation

@initial-d

Copy link
Copy Markdown
Owner

Summary

  • package the deterministic small demo config inside mlquant
  • resolve that resource when mlquant demo is run without --config
  • preserve explicit --config PATH behavior
  • add regression coverage for running from an isolated working directory
  • keep the packaged and repository configs synchronized with a test

Why

The current default points at configs/small.yaml, which only exists inside a repository checkout. A wheel or future PyPI install can expose the mlquant command but cannot complete the advertised zero-setup demo from another directory. This change removes that first-run packaging trap.

Validation

  • Python bytecode compilation passed
  • repository and packaged YAML files compare byte-for-byte
  • built mlquant-0.2.4-py3-none-any.whl locally
  • inspected the wheel and confirmed mlquant/configs/small.yaml is included
  • full lint, tests, and CLI smoke test run in GitHub CI

@initial-d
initial-d merged commit f46a6ad into main Aug 8, 2026
3 checks passed
@initial-d
initial-d deleted the feat/portable-demo-config branch August 8, 2026 13:10
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.

1 participant