Skip to content

docs: overhaul README to highlight framework value, visual evidence, and evolution - #148

Merged
Khanz9664 merged 4 commits into
mainfrom
docs/readme-update
Jun 21, 2026
Merged

Khanz9664 merged 4 commits into
mainfrom
docs/readme-update

Conversation

@Khanz9664

@Khanz9664 Khanz9664 commented Jun 21, 2026 •

Copy link
Copy Markdown
Owner

Description

This PR completely redesigns the README.md to re-position TrustLens as an actively evolving ML Trustworthiness Framework rather than a simple package.

Key Changes:

Motivation:
To maximize GitHub discoverability, star conversion, and contributor interest by instantly answering "Why should I care?" within the first 10 seconds of landing on the repository.

Summary by CodeRabbit

  • Documentation
    • Updated navigation structure and information architecture throughout README
    • Redesigned visual evidence section with new multi-card diagnostic feature layout showcasing deployment analysis, calibration, and fairness assessments
    • Refreshed diagnostic engine descriptions in "How It Works" section
    • Rewrote and consolidated quickstart and comprehensive deep dive documentation guides
    • Updated contributor attribution and footer information

@coderabbitai

coderabbitai Bot commented Jun 21, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Khanz9664, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 29 minutes and 13 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b1f5299e-dc71-471f-8e2a-41098151faba

📥 Commits

Reviewing files that changed from the base of the PR and between 2ebccb3 and 385c5ab.

📒 Files selected for processing (1)
  • README.md
📝 Walkthrough

Walkthrough

README.md was substantially rewritten: header navigation links were condensed, the evaluation rationale and comparison table were updated, the Visual Evidence section was replaced with a new HTML card layout, How It Works and Quickstart sections were rewritten, contributor avatars were reordered, and footer social links were removed.

Changes

README Content Overhaul

Layer / File(s) Summary
Header navigation and intro sections
README.md
Top anchor-navigation links were condensed to a new set; the accuracy-warning blockquote, "Why Traditional Evaluation Fails" prose, and the "TrustLens vs. Traditional Metrics" comparison table were rewritten.
Visual Evidence cards and How It Works
README.md
Visual Evidence section replaced with a centered HTML table of six diagnostic cards (Deployment Verdict, Calibration, Subgroup Fairness Gaps, Latent Space Health, Equalized Odds Violations, Failure Analysis); How It Works rewritten to name four modules with a trust-score/Ready-vs-Blocked verdict; Prediction Resolver Architecture updated with supported frameworks.
Scientific Validation, Community Evolution, Quickstart, and Docs
README.md
Scientific Validation and Community & Project Evolution sections condensed with updated bullets and RFC/PR milestone references; Quickstart and Deep Dive Documentation sections rewritten with new installation snippets and updated doc links.
Contributing block and footer
README.md
Contributing section copy updated; contributor avatar/link block replaced with a new ordered set of GitHub users; "Built by" footer line had its Portfolio and LinkedIn inline social links removed.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Khanz9664/TrustLens#101: Also makes substantial changes to README.md's top navigation and documentation anchor links, directly overlapping with the header section rewritten in this PR.

Poem

A bunny hopped in with a quill so bright,
Rewrote the README from morning to night. 🐇✨
New cards, new links, the old ones gone—
Visual evidence, a fresh new dawn.
The footer trimmed, the credits neat,
TrustLens docs now look complete! 📄

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR description provides a comprehensive overview of changes and motivation, but is missing required template sections like Related Issue, Type of Change checklist, and Pre-submit Checklist. Complete the PR description by adding Related Issue, selecting Type of Change (📝 Documentation update), and confirming Pre-submit Checklist items were completed.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: a comprehensive README redesign that highlights framework value, visual evidence, and project evolution—matching the core objectives and changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/readme-update

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@llamapreview llamapreview Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto Pull Request Review from LlamaPReview

Review Status: Automated Review Skipped

Dear contributor,

Thank you for your Pull Request. LlamaPReview has analyzed your changes and determined that this PR does not require an automated code review.

Analysis Result:

PR contains no meaningful changes

Technical Context:

No significant code changes detected, which may include:

  • Comment-only changes
  • Empty lines modifications
  • Non-functional code adjustments
  • Purely structural changes

We're continuously improving our PR analysis capabilities. Have thoughts on when and how LlamaPReview should perform automated reviews? Share your insights in our GitHub Discussions.

Best regards,
LlamaPReview Team

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
README.md (1)

138-145: ⚡ Quick win

Call out the manual prediction path too.

The public API and resolver registry also support manual y_pred / y_prob inputs, not just framework-backed models. Leaving that out makes this section read narrower than the actual entrypoint surface.

➕ Suggested addition
 * **XGBoost** (`XGBClassifier`, `Booster`)
 * **LightGBM** (`LGBMClassifier`, `Booster`)
 * **CatBoost** (`CatBoostClassifier`)
+* **Manual** (`y_pred` / `y_prob` passthrough)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` around lines 138 - 145, The "Prediction Resolver Architecture"
section in the README only documents framework-backed models (scikit-learn,
XGBoost, LightGBM, CatBoost) but omits documentation for manual prediction
inputs. Add a section that clearly indicates users can also provide manual
y_pred and y_prob inputs directly to the resolver, not just framework-specific
estimators. This will make the API surface appear complete and help users
understand all available input options.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 62-123: Add the `alt` attribute to all `<img>` tags in the
README.md file to improve accessibility and satisfy the docs linter. For each
image tag throughout the file (including those at lines 62-123 and also at lines
234-250), add a descriptive `alt` attribute that briefly describes what the
image shows. For example, the summary_dashboard.png image should have an alt
text like "The Deployment Verdict - composite Trust Score dashboard", the
calibration_plot.png should describe it as a "Reliability diagram showing model
calibration", and similarly add meaningful alt text for fairness_gap_region.png,
representation_embedding_2d.png, equalized_odds_region.png, and failure_plot.png
based on their titles and descriptions already present in the HTML.
- Around line 22-24: The anchor fragments in the navigation links all have
leading hyphens that will not match GitHub's auto-generated heading IDs. Remove
the leading hyphen from each of the anchor targets in the navigation line (the
links starting with [**Why TrustLens**](#...) and continuing through
[**Quickstart**](#...)) so that the fragments match the actual heading IDs
GitHub generates without the leading dash.

---

Nitpick comments:
In `@README.md`:
- Around line 138-145: The "Prediction Resolver Architecture" section in the
README only documents framework-backed models (scikit-learn, XGBoost, LightGBM,
CatBoost) but omits documentation for manual prediction inputs. Add a section
that clearly indicates users can also provide manual y_pred and y_prob inputs
directly to the resolver, not just framework-specific estimators. This will make
the API surface appear complete and help users understand all available input
options.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8c14dae4-78d2-445f-9d32-68b9343ad744

📥 Commits

Reviewing files that changed from the base of the PR and between 417c4e9 and 2ebccb3.

⛔ Files ignored due to path filters (1)
  • assets/banner1.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • README.md

Comment thread README.md
Comment thread README.md
@Khanz9664
Khanz9664 merged commit cbcb83e into main Jun 21, 2026
11 checks passed
@Khanz9664
Khanz9664 deleted the docs/readme-update branch June 21, 2026 08:24
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