Skip to content

docs: refer to chap eval instead of the removed chap evaluate - #958

Open
ivargr wants to merge 4 commits into
masterfrom
docs/chap-eval-command
Open

ivargr wants to merge 4 commits into
masterfrom
docs/chap-eval-command

Conversation

@ivargr

@ivargr ivargr commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Four docstrings and comments and the explainability user guide still named the command chap evaluate, which no longer exists. They now say chap eval. No code changes.

Review needed

Review needed: quick-merge

Test plan

Text-only change in comments, docstrings and one Markdown file. make lint and make test were not run locally; CI covers them.

@ivargr
ivargr marked this pull request as ready for review December 4, 2026 09:45
Comment thread chap_core/explainability/userguide.md Outdated
#### Prerequisites

A trained model run directory is required. This is the timestamped directory created under `runs/` after running `chap evaluate` or `chap backtest` (e.g. `runs/minimalist_example_lag/2026-04-10_12-59-28_de080a0e`). The directory must contain both the `MLproject` file and a trained `model` file.
A trained model run directory is required. This is the timestamped directory created under `runs/` after running `chap eval` or `chap backtest` (e.g. `runs/minimalist_example_lag/2026-04-10_12-59-28_de080a0e`). The directory must contain both the `MLproject` file and a trained `model` file.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This line still names chap backtest, and no such subcommand is registered (grep finds no name="backtest" command under chap_core/cli_endpoints). A user who follows the guide will get an unknown-command error. It should probably be dropped or changed to chap evaluate-ensemble, whichever actually produces a run directory.

@claude

claude Bot commented Dec 4, 2026

Copy link
Copy Markdown

First-pass review: needs a look (minor, docs only)

  • chap_core/explainability/userguide.md:50 still points to chap backtest, which is not a registered command.
  • Missed spots that still say chap evaluate: the user-facing NotImplementedError message at chap_core/cli_endpoints/evaluate.py:273 (the one users actually see) and the docstring at tests/cli_endpoints/test_ensemble_cli.py:155.

No code-behaviour risk otherwise.

This branch has not been deployed

No deployments
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.

2 participants