Skip to content

Add scenario_docs configuration and enhance documentation checks#118

Merged
atti92 merged 2 commits into
mainfrom
issue-101
Apr 25, 2026
Merged

Add scenario_docs configuration and enhance documentation checks#118
atti92 merged 2 commits into
mainfrom
issue-101

Conversation

@atti92

@atti92 atti92 commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Implement #101

  • Introduced scenario_docs attribute in AppConfig to manage documentation requirements.
  • Updated get_scenario_docs function to search subdirectories for documentation files.
  • Implemented logging for missing documentation based on scenario_docs settings.
  • Added comprehensive tests for scenario documentation checks, covering various scenarios.

- Introduced scenario_docs attribute in AppConfig to manage documentation requirements.
- Updated get_scenario_docs function to search subdirectories for documentation files.
- Implemented logging for missing documentation based on scenario_docs settings.
- Added comprehensive tests for scenario documentation checks, covering various scenarios.

Copilot AI 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.

Pull request overview

Adds configurable enforcement for scenario documentation presence and improves doc discovery to support nested documentation layouts, addressing Issue #101.

Changes:

  • Added scenario_docs setting to AppConfig (warn / required / ignore) to control behavior when docs are missing.
  • Enhanced get_scenario_docs() to search for *.md documentation files in subdirectories.
  • Added tests covering doc lookup and scenario docs enforcement behavior.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/openutm_verification/core/execution/config_models.py Adds scenario_docs configuration option to the root config model.
src/openutm_verification/core/execution/dependencies.py Implements recursive doc lookup and enforces warning/error behavior during scenario iteration.
tests/test_scenario_docs_check.py Adds unit tests for doc lookup and scenario_docs modes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/openutm_verification/core/execution/dependencies.py
Comment thread src/openutm_verification/core/execution/dependencies.py
Comment thread src/openutm_verification/core/execution/dependencies.py Outdated
@atti92
atti92 merged commit f1d0b53 into main Apr 25, 2026
2 checks passed
@atti92
atti92 deleted the issue-101 branch April 25, 2026 18:38
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