Skip to content

test(contract): lock demo handoff contract - #7

Merged
jaeyeopme merged 5 commits into
mainfrom
demo-handoff-contract
Jun 6, 2026
Merged

test(contract): lock demo handoff contract#7
jaeyeopme merged 5 commits into
mainfrom
demo-handoff-contract

Conversation

@jaeyeopme

Copy link
Copy Markdown
Owner

Summary

  • Add checked-in demo export outputs for the implemented FieldOps date range.
  • Update README and delivery docs from setup status to implemented workflow behavior.
  • Add contract tests for demo counts, output columns, rejected reason codes, public commands, and documentation boundaries.

Test Plan

  • uv run ruff check .
  • uv run ruff format --check .
  • uv run basedpyright
  • uv run pytest -v
  • uv run pytest --cov=clean_data_export_api --cov-report=term-missing --cov-fail-under=90
  • uv run python -m compileall src tests
  • uv run clean-data-export-api export jobs --from-date 2026-06-01 --to-date 2026-06-05 --output-dir /outputs --database-path /history.sqlite3 --page-size 4
  • git diff --check origin/main..HEAD

jaeyeopme added 5 commits June 7, 2026 01:43
Add the checked-in demo export package for the implemented FieldOps date range.

Tested: uv run clean-data-export-api export jobs --from-date 2026-06-01 --to-date 2026-06-05 --output-dir outputs --database-path outputs/run_history.sqlite3 --page-size 4
Update public documentation from planned status to the implemented local workflow, including current counts, output files, and API request boundaries.

Tested: uv run pytest tests/test_demo_contract.py tests/test_docs_contract.py -v

Tested: rg "Planned|planned|not started|future CLI|future API|production-ready|enterprise security|guaranteed revenue|guaranteed ROI|output_dir" README.md docs
Add regression coverage for demo counts, output columns, rejected reason codes, current README commands, and public documentation boundaries.

Tested: uv run pytest tests/test_demo_contract.py tests/test_docs_contract.py -v

Tested: uv run pytest -v

Tested: uv run pytest --cov=clean_data_export_api --cov-report=term-missing --cov-fail-under=90
Set CSV report line endings explicitly and lock checked-in demo outputs against fresh generated files. Also tighten current-status wording and public documentation wording guards.

Tested: uv run pytest tests/test_demo_contract.py tests/test_docs_contract.py -v

Tested: uv run ruff check .

Tested: uv run ruff format --check .

Tested: uv run basedpyright

Tested: uv run pytest -v

Tested: uv run pytest --cov=clean_data_export_api --cov-report=term-missing --cov-fail-under=90

Tested: uv run python -m compileall src tests
Remove brittle documentation text assertions and keep the checked-in demo artifact contract test as the regression guard.

Extract a shared job export candidate factory so validation and duplicate handling tests do not carry copy-pasted fixtures.

Tested:

- uv run ruff check .

- uv run ruff format --check .

- uv run basedpyright

- uv run pytest -v

- uv run pytest --cov=clean_data_export_api --cov-report=term-missing --cov-fail-under=90

- uv run python -m compileall src tests

- git diff --check
@jaeyeopme
jaeyeopme merged commit 600d349 into main Jun 6, 2026
2 checks passed
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