Skip to content

docs(readme): state the Quick Start containment result (#1) - #21

Merged
4444J99 merged 1 commit into
mainfrom
docs/readme-quick-start-containment-result-1
Nov 28, 2026
Merged

4444J99 merged 1 commit into
mainfrom
docs/readme-quick-start-containment-result-1

Conversation

@4444J99

@4444J99 4444J99 commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Closes #1

What: README Quick Start now states that its own example returns can_contain = False, explains why (all three factors must pass, and the function factor is token Jaccard: "all" vs "organized" = 0.0), and shows how to get True. A test pins both results so the README can't drift again.

Why: #1's audit record says Quick Start gives can_contain=True. At main 830d287 it gives False (function 0.0, scale True, boundary True). The Jaccard rule arrived in e7d0ac1 (2026-06-30, the audit's own PR #13), so the "True" note is stale; the code is not wrong. No library logic change.

Verification receipt (head d7a2254da13450b5d9de340e07ff0f00c46abdab, fresh uv venv, Python 3.12, env -u TERM)

  • python -m pytest -q → 31 passed
  • rules-system-bound --json → exit 0 (CI smoke step)
  • ruff check src tests → 7 pre-existing findings, identical on main (ruff isn't a CI step)
  • Activation path still works: pip install -e ".[dev]" is clean and Quick Start runs verbatim.

Summary by CodeRabbit

  • Documentation
    • Clarified that the Quick Start containment example initially returns False and can return True when the examples share a token.
  • Tests
    • Added checks for both outcomes in the containment example.

…h a test

The Quick Start's universe/system pair returns False under the current
multi-factor rules (function Jaccard 0 between 'all' and 'organized');
the June activation audit recorded True. Document the real result and
how to get True, and pin both in tests/test_core.py.
@sourcery-ai

sourcery-ai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Sorry @4444J99, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 18 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T23:23:13.207027Z d7a2254 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@4444J99 4444J99 mentioned this pull request Nov 28, 2026
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Quick Start now explains why its initial containment check returns False and describes a case that returns True. A test checks both results.

Changes: Containment example

Layer / File(s) Summary
Document and verify containment results
README.md, tests/test_core.py
The Quick Start explains that all three containment checks must pass and that "all" and "organized" share no tokens. The test checks that the initial pair cannot contain and that a matching container can.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to d7a22

This updates the Quick Start to describe the actual result of the example and how to get the other result, and adds a test that checks both. The change is documentation and test only, so merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "docs(readme): state the Quick Start containment result (#1)" matches the main change. The PR updates the README Quick Start to state that the containment example returns False, explains the…
Linked Issues check Passed Issue #1 is an activation audit. Its coding-related content is the README Quick Start claim (recorded as can_contain=True) and a proposed CI workflow. The PR corrects the Quick Start claim. README now…
Out of Scope Changes check Passed The whole-PR summary (merge base 830d287 to head d7a2254) lists two changed files. README.md gains 3 lines that document the Quick Start result, its cause, and how to get True. tests/test_core.py gain…
Full details: Title check

Explanation

The title "docs(readme): state the Quick Start containment result (#1)" matches the main change. The PR updates the README Quick Start to state that the containment example returns False, explains the three-factor requirement and the Jaccard score, and adds a test that pins both the False and True results. The title is short, specific, and uses a conventional commit prefix. The trailing "(#1)" refers to issue #1, but the objectives say PR #21, so the number may be misleading. This does not change the verdict.

Full details: Linked Issues check

Explanation

Issue #1 is an activation audit. Its coding-related content is the README Quick Start claim (recorded as can_contain=True) and a proposed CI workflow. The PR corrects the Quick Start claim. README now states that the example returns False. It explains that all three factors must pass and that the function-factor Jaccard score is 0.0 for "all" versus "organized". It shows how to get True. A new test in tests/test_core.py pins both results, so the documented output matches the code at head d7a2254. The proposed ci-python.yml is explicitly recorded in #1 as a follow-up for a conductor, not as an audit deliverable. The PR objectives state that the PR does not claim that follow-up. No other coding requirement of #1 applies to this PR. Remaining uncertainty: the summary reports the test and verification results, but I did not run them.

Full details: Out of Scope Changes check

Explanation

The whole-PR summary (merge base 830d287 to head d7a2254) lists two changed files. README.md gains 3 lines that document the Quick Start result, its cause, and how to get True. tests/test_core.py gains 10 lines that assert the False and True results for the README example. Both changes directly support the Quick Start correction in #1. The PR makes no library-logic change and does not add CI workflow files. No unrelated change appears in the summary.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a0e5b530-9449-4ffb-892e-a58a574612c0
Commits

Reviewing files that changed from the base of the PR and between 830d287 and d7a2254.

Files selected for processing: 2

  • README.md
  • tests/test_core.py

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@4444J99
4444J99 merged commit 2c6e2f9 into main Nov 28, 2026
9 checks passed
@4444J99
4444J99 deleted the docs/readme-quick-start-containment-result-1 branch November 28, 2026 23:23
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.

ACTIVATION AUDIT: ship-now

1 participant