dotnet / dotnet/machinelearning-modelbuilder
[CLI] Repeating trial cancellation message.
- Dominant language
- Dockerfile
- Stars
- 285
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
**System Information (please complete the following information):**
- CLI Version: 16.12.2+86688637e3ba4b906f5adf37b767fee124189da7
- OS: Windows 11
- Architecture: x64
**Describe the bug**
- On which step of the process did you run into an issue: Training
- Clear description of the problem: When time expires and a trial is running, the trial is cancelled. A message, `Trial 23 encounter error with message: One or more errors occurred. (Operation was canceled.)`, is displayed more than once on the console.
**To Reproduce**
Steps to reproduce the behavior:
1. Train a classification model using the CLI
**Expected behavior**
When a trial is cancelled, only display the message once.
**Screenshots**

**Additional context**
Log file:
[log.txt](https://github.com/dotnet/machinelearning-modelbuilder/files/8018585/log.txt)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the cancellation during classification-model training with the CLI and compare the repeated console output with log.txt. Trace where the trial-cancellation error is reported, then verify that a cancelled trial produces one message rather than duplicates.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100