Skip to content

fixed warning/errors when running .\scripts\build-documentation.ps1 #18

Open
bmerkle wants to merge 8 commits intoAgentEvalHQ:mainfrom
bmerkle:fixdocs
Open

fixed warning/errors when running .\scripts\build-documentation.ps1 #18
bmerkle wants to merge 8 commits intoAgentEvalHQ:mainfrom
bmerkle:fixdocs

Conversation

@bmerkle
Copy link
Copy Markdown

@bmerkle bmerkle commented Mar 5, 2026

  • .\scripts\build-documentation.ps1 now runs without warnings/errors

  • updated docfx.json because some files need a resouce mapping one level up

  • Strategy doc links removed (ADR 014, 015, 016, extensibility.md), strategy/ directory doesn't exist in the repo

  • ci-cd-integration.md links removed (redteam.md, workflows.md) (redteam.md, workflows.md) File doesn't exist in the repo

Description

Motivation and Context

current build process results in warnings/errors:

Building 46 file(s) in ResourceDocumentProcessor(ValidateResourceMetadata)...
C:\work\AgentEval\AgentEval\docs\adr\014-dataset-pipeline-two-model-architecture.md(169,1): warning InvalidFileLink: Invalid file link:(~/../strategy/AgentEval-dataloader-Implementation-Review-and-Refinement.md).
C:\work\AgentEval\AgentEval\docs\adr\015-extension-registration-manual-vs-auto-discovery.md(6,1): warning InvalidFileLink: Invalid file link:(~/../strategy/AgentEval-Extensibility-Implementation-Review-and-Refinement.md).
C:\work\AgentEval\AgentEval\docs\adr\016-monolith-modularization.md(108,1): warning InvalidFileLink: Invalid file link:(~/../strategy/impl/Phase-4-Validate-Document.md).
C:\work\AgentEval\AgentEval\docs\adr\016-monolith-modularization.md(106,1): warning InvalidFileLink: Invalid file link:(~/../strategy/impl/Phase-2-Extract-Core-DataLoaders.md).
C:\work\AgentEval\AgentEval\docs\adr\016-monolith-modularization.md(104,1): warning InvalidFileLink: Invalid file link:(~/../strategy/impl/Phase-0-Fix-Coupling-Anomalies.md).
C:\work\AgentEval\AgentEval\docs\adr\016-monolith-modularization.md(105,1): warning InvalidFileLink: Invalid file link:(~/../strategy/impl/Phase-1-Extract-Abstractions.md).
C:\work\AgentEval\AgentEval\docs\adr\016-monolith-modularization.md(103,1): warning InvalidFileLink: Invalid file link:(~/../strategy/AgentEval-Monolith-Modularization-ArchitectureRefactor.md).
C:\work\AgentEval\AgentEval\docs\adr\016-monolith-modularization.md(107,1): warning InvalidFileLink: Invalid file link:(~/../strategy/impl/Phase-3-Extract-MAF-RedTeam.md).
C:\work\AgentEval\AgentEval\docs\benchmarks.md(299,1): warning InvalidFileLink: Invalid file link:(~/../samples/AgentEval.Samples).
C:\work\AgentEval\AgentEval\docs\benchmarks.md(300,1): warning InvalidFileLink: Invalid file link:(~/../samples/AgentEval.Samples).
C:\work\AgentEval\AgentEval\docs\benchmarks.md(495,1): warning InvalidFileLink: Invalid file link:(~/../samples/AgentEval.Samples).
C:\work\AgentEval\AgentEval\docs\benchmarks.md(496,1): warning InvalidFileLink: Invalid file link:(~/../samples/AgentEval.Samples).
C:\work\AgentEval\AgentEval\docs\extensibility.md(759,1): warning InvalidFileLink: Invalid file link:(~/../strategy/AgentEval-Extensibility-Implementation-Review-and-Refinement.md).
C:\work\AgentEval\AgentEval\docs\redteam.md(1091,1): warning InvalidFileLink: Invalid file link:(~/ci-cd-integration.md).
C:\work\AgentEval\AgentEval\docs\workflows.md(1043,1): warning InvalidFileLink: Invalid file link:(~/ci-cd-integration.md).
Applying templates to 581 model(s)...

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test coverage improvement

How Has This Been Tested?

  • Existing unit tests pass
  • Added new unit tests
  • Tested manually (describe below)

Test Configuration:

  • .NET version(s):
  • OS:

Test Details:

Checklist

  • My code follows the code style of this project
  • I have added XML documentation for new public APIs
  • I have updated the documentation (if applicable)
  • I have added tests to cover my changes
  • All new and existing tests pass
  • My changes generate no new compiler warnings
  • I have checked for breaking changes
  • I agree that my contributions are licensed under the MIT License and I have the right to submit this work (see CONTRIBUTING.md)

Screenshots (if applicable)

Additional Notes

Breaking Changes

- updated docfx.json because some files need a resouce mapping one level up
- Strategy doc links removed (ADR 014, 015, 016, extensibility.md), strategy/ directory doesn't exist in the repo
- ci-cd-integration.md links removed (redteam.md, workflows.md)  (redteam.md, workflows.md)	File doesn't exist in the repo
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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

Comment thread docs/docfx.json
Comment thread docs/benchmarks.md
@@ -100,10 +100,4 @@ See `strategy/impl/` for detailed phase plans.

## References
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

Even though the broken links were removed from the References section, the ADR still points readers to strategy/impl/ earlier in the document. Since strategy/ isn’t in this repo, please remove/update that reference to avoid sending readers to a non-existent path.

Copilot uses AI. Check for mistakes.
Comment on lines 171 to 172
- **M3** — `DatasetTestCase` extended model + `ToTestCase()` adapter
- **M4** — `RunBatchAsync` on `MAFEvaluationHarness` accepting `DatasetTestCase`
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

These bullets contain mojibake (—) where an em dash () is likely intended. Please replace the garbled sequence so the ADR renders correctly.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

@joslat
Copy link
Copy Markdown
Collaborator

joslat commented Mar 31, 2026

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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

Comment thread docs/workflows.md Outdated
Comment thread docs/redteam.md Outdated
Comment thread docs/extensibility.md Outdated
Comment thread docs/benchmarks.md Outdated
Comment thread docs/benchmarks.md Outdated
Comment thread docs/docfx.json Outdated
Comment on lines 4 to +6
**Date:** 2026-02-25
**Decision Makers:** AgentEval Contributors
**Related:** [ADR-006](006-service-based-architecture-di.md), [Extensibility Strategy](../../strategy/AgentEval-Extensibility-Implementation-Review-and-Refinement.md), [Extensibility Guide](../extensibility.md)
**Related:** [ADR-006](006-service-based-architecture-di.md), [Extensibility Guide](../extensibility.md)
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

After removing the Strategy doc link from the Related section, the body still says "AgentEval's extensibility strategy (see strategy doc)". Please update that wording to reference an in-repo document (e.g., the Extensibility Guide) so readers don't look for a missing strategy doc.

Copilot uses AI. Check for mistakes.
Comment on lines +169 to 172
The full implementation plan covers specifically:

- **M3** — `DatasetTestCase` extended model + `ToTestCase()` adapter
- **M4** — `RunBatchAsync` on `MAFEvaluationHarness` accepting `DatasetTestCase`
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

The em dash appears to be mojibake (—), which renders incorrectly and suggests the file encoding is off. Replace — with a proper em dash () (and consider normalizing the file encoding to UTF-8) so this section renders correctly.

Copilot uses AI. Check for mistakes.
Comment on lines 100 to 103

## References

- [Strategy Document](../../strategy/AgentEval-Monolith-Modularization-ArchitectureRefactor.md)
- [Phase 0: Fix Coupling Anomalies](../../strategy/impl/Phase-0-Fix-Coupling-Anomalies.md)
- [Phase 1: Extract Abstractions](../../strategy/impl/Phase-1-Extract-Abstractions.md)
- [Phase 2: Extract Core + DataLoaders](../../strategy/impl/Phase-2-Extract-Core-DataLoaders.md)
- [Phase 3: Extract MAF + RedTeam](../../strategy/impl/Phase-3-Extract-MAF-RedTeam.md)
- [Phase 4: Validate, Document, CI](../../strategy/impl/Phase-4-Validate-Document.md)
- [ADR-006: Service-Based Architecture with DI](006-service-based-architecture-di.md)
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

This ADR removes links to the strategy/ docs, but the document still tells readers to "See strategy/impl/ for detailed phase plans" earlier in the file. Please update/remove that reference so the ADR doesn't point to a directory that isn't in the repo.

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 31, 2026 06:19
bmerkle and others added 6 commits March 31, 2026 08:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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

Comments suppressed due to low confidence (1)

docs/adr/014-dataset-pipeline-two-model-architecture.md:173

  • The bullet labels contain a mojibake sequence (—) where an em dash is intended, which renders incorrectly in the docs. Replace — with (or a plain -) to avoid garbled text.
- **M3** — `DatasetTestCase` extended model + `ToTestCase()` adapter
- **M4** — `RunBatchAsync` on `MAFEvaluationHarness` accepting `DatasetTestCase`
- **M1** — Documentation corrections

Comment thread docs/workflows.md
Comment on lines +1045 to +1046
- [Sample 09: Real MAF Workflow Evaluation](samples/AgentEval.Samples/Sample09_WorkflowEvaluationReal.cs) - Sequential content pipeline (Planner → Researcher → Writer → Editor)
- [Sample 10: Workflow with Tools](samples/AgentEval.Samples/Sample10_WorkflowWithTools.cs) - Tool-enabled trip planning workflow with function calling
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

The sample links use ../samples/..., which will resolve outside the generated site when DocFX outputs workflows.html at the site root. Since docfx.json maps samples into the docset (dest samples), these links should point to ~/samples/... (or samples/...) so they work in the built docs.

Copilot uses AI. Check for mistakes.
Comment thread docs/benchmarks.md
Comment on lines +495 to +496
- [Sample 06](samples/AgentEval.Samples/Sample06_PerformanceProfiling.cs) - Performance profiling with MAFEvaluationHarness
- [Sample 23](samples/AgentEval.Samples/Sample23_BenchmarkSystem.cs) - Benchmark system with JSONL data loading
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

These sample links use ../samples/..., which will likely break in the rendered DocFX output. Since samples are copied into the docset under samples/, link to ~/samples/... (or samples/...) instead.

Copilot uses AI. Check for mistakes.
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.

3 participants