microsoft / microsoft/mxc

Pin logger output in corpus diagnostic-divergence expectations

Open
#1,142 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Task Needs-Triage
Dominant language
Rust
Stars
1.3k
Forks
79
Avg merge
2d 7h
Merged PRs (30d)
117

Description

### Description of the task

Extend the rolling-versus-exact parser corpus harness so every classified shared-rejection diagnostic divergence also pins caller-visible logger output for both parsers.

Acceptance criteria:

* `CorpusDiagnosticDivergence` records rolling and exact `LoggerExpectation` values.
* Corpus validation checks primary-buffer messages and warnings with `logger_expectation_mismatches` and reports side-specific drift.
* Focused regression coverage proves that changing either parser's primary buffer or warning list fails classification.
* Existing intentional diagnostic divergences remain explicitly classified without expanding production parser behavior.

### Additional context

Follow-up from #1097 and the unresolved review discussion about logger expectations in the corpus-wide diagnostic-only path.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with CorpusDiagnosticDivergence, LoggerExpectation, and logger_expectation_mismatches in the corpus validation harness, then review follow-up #1097 and the unresolved logger-expectation discussion. Trace how shared-rejection classifications are validated and add focused regression coverage showing that either parser's primary buffer or warning list causes classification to fail; existing intentional divergences should remain explicitly classified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.