Scayid v2: Complete architecture refactor with coherence engine and full test suite - #1
Open
Scayar wants to merge 1 commit into
Open
Scayid v2: Complete architecture refactor with coherence engine and full test suite#1Scayar wants to merge 1 commit into
Scayar wants to merge 1 commit into
Conversation
Rebuild the project from the ground up with a layered architecture: - Faker-based local generation with optional web scraper provider - Pydantic identity models, coherence engine, and quality scoring - Typer CLI with generate, batch, doctor, version, and theme support - Jinja2 HTML exporters, Luhn-valid cards, and Python API - 19 tests with 80% coverage and GitHub Actions CI Co-authored-by: Scayar <Scayar@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR delivers the full Scayid v2 rebuild: a clean layered architecture, local-first identity generation, intelligence features, and a comprehensive test/CI pipeline.
Architecture
cli/,core/,export/,services/,config/,utils/Person.__init__IdentityServiceorchestrator with noos.chdir()orsys.exit()side effectsIntelligence
CLI (Typer)
scayid generate -gwith-p,--gender,-n,-r,--seed,--theme,--offlinescayid batch --count Nfor bulk generationscayid doctorfor environment health checksscayid version,about,banner, hack mode (-x)Export
Providers
--source web)Quality
Breaking changes
scayidorpython -m scayid(notpython scayid.py)scayid.pyandcore/simple.pyremoved-ssocial flag removed until properly implementedTest plan
pytest --cov=scayid(19 passed, 80% coverage)ruff check .(all checks passed)python -m scayid generate -g --seed 42smoke testpython -m scayid batch -c 2smoke testpython -m scayid doctorsmoke test