Skip to content

Notebook Report Analyzer

osa_tool.operations.analysis.notebook_report.analyzer

NotebookReportAnalyzer

Analyze notebooks without aborting on per-notebook failures.

__init__(config_manager, notebook_paths=None, *, repo_path=None)

Configure analysis for selected notebooks or an entire repository.

Parameters:

Name Type Description Default
config_manager ConfigManager

Provides the repository configuration.

required
notebook_paths list[str] | None

Optional notebook files or directories to scan.

None
repo_path str | None

Resolved clone directory. When omitted, the legacy current-working-directory location is used.

None

analyze()

Collect and analyze notebooks without aborting after one failure.

Returns:

Type Description
NotebookAnalysisBundle

Per-notebook results together with aggregate quality statistics.