Repository navigation
Conversation
The facade check flagged every Train/Predict on a type implementing IFullModel, including domain overloads such as TtsModelBase.Train(TtsTrainingSample<T>) and MusicGenModel.Train(MusicGenTrainingSample<T>) that AiModelBuilder cannot drive. It now flags a call only when it binds to an IModel/IFullModel/IPredictiveModel member (or an override or implementation of one); an unresolved call still counts. The ceiling stays 0. With the unchanged tool the repaired examples report 6 such calls (MusicGenModel, AdaSpeech, PortaSpeech, Tacotron2, AudioPaLM, DiffWave), each a typed-sample Train with no facade route. Refs #2390 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…i ratchets (4/4) Part 4 of 4 of the Docs Wiki repair: the examples and members outside TTS, ASR, vision, video and audio (Finance, NeuralNetworks, PhysicsInformed, ReinforcementLearning, TimeSeries, VisionLanguage, Classification; 34 files), and the ratchets in docs-wiki.yml. - Match current constructors and APIs (Finance graph ONNX constructors, DeepRitz Poisson(source), HNN/LNN Vector, GLaMM); declare the inputs the examples use. - <inheritdoc/> on overrides and interface implementations; summaries for new members. - Ratchets, valid once parts 1-3 are merged as well: wiki snippet floor 1715 -> 1731 with 0 failing, XML-doc ceiling 5306 -> 4890. The XML example floor stays 1439. Source changes are doc comments only: no line outside a /// comment changes. Refs #2390 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 30 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
This was referenced Nov 25, 2026
Draft
Draft
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Part 4 of 4 of the Docs Wiki nightly repair (#2390, originally #2389), and the part that makes the gate green.
Parts 1-3 are #2645, #2646 and #2647. The work was one 288-file commit on the unreviewed branch
fix/v1-a1-green-nightlies; it is re-applied here fromorigin/masterin four pull requests of at most 100files each. This one has 36 files in two commits.
The "Docs Wiki (generate + gate)" nightly has failed on each of its last 20 scheduled runs (2026-11-06 to 2026-11-25). Latest scheduled run
45550939243 (2026-11-25, master
b45f47fa3e):Total: 1659 PASS: 1515 FAIL: 144(ceiling 0, floor 1715).5992 undocumented members, above the recorded ceiling of 5306.Commit 1:
tools/DocSnippetVerify/Program.cs, the facade check. Needs the owner's eye.The facade check flags doc examples that call
Train/Predicton a model object instead of going throughAiModelBuilder/AiModelResult. It flagged every such call on a type implementingIFullModel, including typedoverloads the facade has no route for, such as
TtsModelBase.Train(TtsTrainingSample<T>)andMusicGenModel.Train(MusicGenTrainingSample<T>). It now flags a call only when it binds to a member ofIModel/IFullModel/IPredictiveModel(or an override or implementation of one). An unresolved call stillcounts. The ceiling stays 0.
This narrows a gate, so it is its own commit and can be dropped. Measured on the union of the four parts with the
unchanged tool:
Facade conformance: 6 example call(s)(MusicGenModel, AdaSpeech, PortaSpeech, Tacotron2,AudioPaLM, DiffWave), each a typed-sample
Train. The alternative is to giveAiModelBuildera route for typedTTS and music samples and rewrite those six examples; that is an API design change outside this repair.
Commit 2: the remaining examples and the ratchets
Poisson(source), HNN/LNNVector, GLaMM, and<inheritdoc/>or summaries on undocumented members.Doc comments only: no line outside a
///comment changes insrc..github/workflows/docs-wiki.yml: wiki snippet floor--min-pass 1715 -> 1731(with--max-fail 0), XML-docceiling
--max-undocumented 5306 -> 4890. Both only tighten. The XML example floor stays 1439.The ceiling is 4890, not the 4887 of the original commit: three
/// <inheritdoc/>lines (aboveTrainOnSamplein DiTToTTS, E3TTS and MetaVoice1B) are left out of part 1 because #2641 inserts a method at exactly that line.
Merge order
Merge this part last, after #2645, #2646 and #2647.
XmlDocCoveragefails when the count is below the ceilingas well as above it, so the values here only hold with all four parts on master. #2641 can merge before or after:
the count is 4890 either way (measured, below). The nightly turns green on the first scheduled run after this
part.
Verified
On the union of the four parts on top of
origin/master(b45f47fa3e), SDK 10.0.404, Windows:dotnet build src/AiDotNet.csproj -c Debug -f net8.0 -m:2: 0 errors.-f net471: 0 errors.net10.0built bythe tools below.
dotnet run --project tools/WikiGenerator -c Debug -- src/bin/Debug/net8.0/AiDotNet.xml website/src/content/docs/reference/wiki: exit 0.DocSnippetVerify -- website --min-pass 1731 --max-fail 0:Total: 1731 PASS: 1731 FAIL: 0.DocSnippetVerify -- src/bin/Debug/net8.0/AiDotNet.xml --min-pass 1439 --max-fail 0: 1439 compile, 0 fail.DocSnippetVerify -- src/bin/Debug/net8.0/AiDotNet.xml --facade-check --max-facade-violations 0: 0.XmlDocCoverage -- --max-undocumented 4890:OK: 4890 undocumented members, matching the ceiling.XmlDocCoverage -- --max-undocumented 4890: OK, 4890.git diffof the two: empty).git merge-tree --write-treeof each part against fix: v1 a-1 heavy timeout and model performance census nightlies #2641 and fix(nightly): fix the heavy-timeout failures and fail the lane on host death #2637: 0 conflicts.The snippet and facade runs were made before the three
<inheritdoc/>lines were removed from part 1; thoselines carry no example. The coverage runs were made after.
Not verified
srca part differs from masteronly inside
///comments, whose compiler diagnostics (CS15xx) are per member.net462andnetstandard2.0were not built.test executes changes.
b45f47fa3e. A pull request that merges first and adds an example or anundocumented member moves them; rerun the two commands and adjust the numbers before merging this part.
Acceptance items of #2390
parts 1-4 together, not yet observed on a scheduled run. Cross-ISA: green 2026-11-23, 24, 25. Census and Heavy
Timeout: fix: v1 a-1 heavy timeout and model performance census nightlies #2641 and fix(nightly): fix the heavy-timeout failures and fail the lane on host death #2637.
here; the regression guard is the tightened ratchet.
what the facade check counts. Left unticked for the owner to rule on.
Refs #2390
🤖 Generated with Claude Code