-
Notifications
You must be signed in to change notification settings - Fork 1
fix: address refreshed sync review blockers #1945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -176,7 +176,7 @@ function summarizeVerifierModelCompatibility(records = [], options = {}) { | |
| const model = cleanString(record.llm_model ?? record.model).toLowerCase(); | ||
| const reason = cleanString(record.model_selection_reason); | ||
| const verifierMode = cleanString(record.verifier_mode).toLowerCase(); | ||
| const requiresCodexModel = verifierMode !== 'evaluate'; | ||
| const requiresCodexModel = Boolean(verifierMode) && verifierMode !== 'evaluate'; | ||
| if (model) selectedModels[model] = (selectedModels[model] || 0) + 1; | ||
|
Comment on lines
176
to
180
|
||
| if (reason) modelSelectionReasons[reason] = (modelSelectionReasons[reason] || 0) + 1; | ||
| if (!model && requiresCodexModel && modelMetadataContract.model_metadata_required) { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing_model_unknown_mode_record_countcan no longer be incremented after changingrequiresCodexModeltoBoolean(verifierMode) && ...: the only increment site is guarded byif (!model && requiresCodexModel ...), so!verifierModeis impossible. This makes the reported/markdowned "Missing verifier model metadata records with unknown mode" value always 0 (and leaves dead code). Consider separating "is verifier mode known" from "should enforce missing model metadata" so you can still count unknown-mode records (or remove the unused counter/markdown line entirely).