Featuresmith Icon
Featuresmith
  • Docs
  • SDK
  • CLI
  • Examples
  • Roadmap
v0.4.0
Documentation

Getting Started

  • Introduction
  • Installation
  • Quick Start
  • Tutorial Notebooks
  • Benchmarks
  • Development Setup
  • Contributing

Core Concepts

  • Architecture Overview
  • Dataset Layer
  • Connectors
  • Profiling Engine
  • Rule Engine
  • Dataset Review Engine
  • ML Readiness Score
  • Target Leakage Detection
  • Dataset Diff Engine
  • Target Column Concept
  • Mental Model & Workflow
  • Interpreting Findings
  • Workflow Cheat Sheet
  • Beginner Glossary

Python SDK

  • load()
  • profile()
  • analyze()
  • review()
  • diff()
  • score()
  • plan()
  • Dataset
  • Data Models
  • Profile Models
  • Rule & Finding Models
  • Review Models
  • Score Models
  • Leakage Models
  • Diff Models
  • Exceptions
  • Plugins

CLI Reference

  • analyze
  • review
  • diff
  • score
  • plan
  • Configuration

Guides

  • CI/CD Integration
  • Custom Rules
  • Writing Plugins

Resources

  • Release Notes
  • FAQ
  • Troubleshooting
DocsGuide

Getting Started

  • Introduction
  • Installation
  • Quick Start
  • Tutorial Notebooks
  • Benchmarks
  • Development Setup
  • Contributing

Core Concepts

  • Architecture Overview
  • Dataset Layer
  • Connectors
  • Profiling Engine
  • Rule Engine
  • Dataset Review Engine
  • ML Readiness Score
  • Target Leakage Detection
  • Dataset Diff Engine
  • Target Column Concept
  • Mental Model & Workflow
  • Interpreting Findings
  • Workflow Cheat Sheet
  • Beginner Glossary

Python SDK

  • load()
  • profile()
  • analyze()
  • review()
  • diff()
  • score()
  • plan()
  • Dataset
  • Data Models
  • Profile Models
  • Rule & Finding Models
  • Review Models
  • Score Models
  • Leakage Models
  • Diff Models
  • Exceptions
  • Plugins

CLI Reference

  • analyze
  • review
  • diff
  • score
  • plan
  • Configuration

Guides

  • CI/CD Integration
  • Custom Rules
  • Writing Plugins

Resources

  • Release Notes
  • FAQ
  • Troubleshooting
HomeDocsfeaturesmith review

CLI Reference

featuresmith review

CLI command reference for comprehensive reviews

bash
1featuresmith review <source> [options]

Runs a dataset review and prints a structured, severity-sorted findings tree alongside the ML Readiness Score.

Flags and Options

--target TEXTName of the target column in the dataset to validate and enable leakage reviewers.
--previous PATHPath to a prior snapshot for diff-aware review. When provided, the DiffReviewer compares the current dataset against it and includes the diff in the review output.
--format [table|json]Output format to display (default: table).
--output PATHPath to save the plain report or JSON structure.
--fail-on [info|warning|critical]Severity threshold for CI-gating exit codes (default: critical).
--only TEXTComma-separated reviewer categories to run (schema, quality, leakage, diff, feature_quality, custom).
--no-scoreOmit the ML Readiness Score scorecard from the report.
--quietSuppress all standard console report output.
--verboseShow full Python tracebacks on error instead of generic messages.
--versionShow version info and exit.

Exit Codes

The command returns standardized exit codes matching the analyze conventions:

  • 0: Clean — no findings meet or exceed the severity threshold specified in --fail-on.
  • 1: Findings meeting or exceeding the threshold were detected (gating CI/CD pipelines).
  • 2: Invalid usage, bad configuration, unknown target column, or unsupported format.
  • 3: File not found or failed to parse.
  • 4: Unexpected internal error.

CLI Syntax Examples

bash
1# 1. Standard review with leakage target
2featuresmith review train.csv --target churn
3
4# 2. Category filtering with CI gating
5featuresmith review train.csv --only schema,leakage --fail-on warning --no-score
6
7# 3. JSON format save
8featuresmith review train.csv --format json --output review_report.json

Notes and Limitations

  • Target column validation: When --target is specified, the CLI actively checks for column presence in the schema and fails early with code 2 if not found.

Related Documentation

See the SDK equivalent fs.review() and the diff CLI reference featuresmith diff.

Explore

  • Quick Start
  • Python SDK
  • CLI Reference
  • Examples
Featuresmith Icon
Featuresmith

Open-source data profiling and validation for Python engineers.

Documentation

  • Introduction
  • Quick Start
  • Python SDK
  • CLI Reference

Community

  • GitHub
  • Discussions
  • Issues
  • Contributing

Project

  • Roadmap
  • Release status
  • Benchmarks
  • Changelog
  • Examples

Legal

  • Apache 2.0 License
  • Code of Conduct
  • Security

© 2026 Featuresmith Contributors. Released under the Apache 2.0 License.

Built by Aditya Gangwani in the open.