instance_id string | set string | key_version string | defect_id string | title string | statement string | kind string | severity string | sites list | evidence string | counts_if string | provenance_hunt bool | provenance_hunt_refs list | provenance_dataset_refs list | provenance_reviewer_comments list | provenance_added_in string | benchmark_limitation string | bot_derived_reference string | repo string | head_commit string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
comfyanonymous__ComfyUI@0bb6023 | smoke10 | 2 | D1 | Colab notebook: localtunnel and iframe launch cells lose the imports their threads still use (NameError, UI never exposed) | To silence ruff F811 (a cross-cell redefinition report), the PR deletes `import subprocess/time/socket/urllib.request` from the localtunnel launch cell and `import time/socket` from the colab-iframe launch cell. Both cells' `iframe_thread` still calls `time.sleep`, `socket.socket`, and in the localtunnel cell also `url... | bug | medium | [
{
"path": "notebooks/comfyui_colab.ipynb",
"from_line": 237,
"to_line": 260,
"role": "cause"
},
{
"path": "notebooks/comfyui_colab.ipynb",
"from_line": 284,
"to_line": 302,
"role": "other-site"
}
] | At head, the localtunnel cell (id jjjjjjjjjjjjj) imports only `threading` (line 240: "import threading\n"), yet uses `time.sleep(0.5)` (244), `socket.socket(socket.AF_INET, socket.SOCK_STREAM)` (245), `urllib.request.urlopen('https://ipv4.icanhazip.com')` (252) and `subprocess.Popen(["lt", "--port", ...])` (253). The i... | To count, a comment must say that imports removed from the localtunnel cell and/or the iframe cell (time, socket, subprocess, urllib.request) are still used by that cell's thread code, so running that cell raises NameError and the tunnel or iframe never starts. Flagging either cell is enough, since both share one root ... | true | [] | [
"3",
"4"
] | [
"R1",
"R2",
"R3",
"R4",
"R5",
"R6",
"R7",
"R8",
"R9",
"R10",
"R11",
"R12",
"R13"
] | null | null | null | comfyanonymous/ComfyUI | 0bb60235132cc72daea81427107a40ba1ccb5ddf |
infiniflow__ragflow@7051234 | smoke10 | 2 | D1 | get_doc_ids_by_doc_names returns None on no match, so DELETE /api/document with doc_ids only fails with TypeError | The new get_doc_ids_by_doc_names returns None, not an empty list, when no row matches. That includes the default `doc_names=[]`, because peewee renders an empty IN as `0 = 1`. document_rm then runs `doc_id not in doc_ids` against None and raises TypeError, which the except turns into server_error_response. So every req... | bug | high | [
{
"path": "api/db/services/document_service.py",
"from_line": 337,
"to_line": 340,
"role": "cause"
},
{
"path": "api/apps/api_app.py",
"from_line": 618,
"to_line": 621,
"role": "symptom"
},
{
"path": "api/apps/api_app.py",
"from_line": 628,
"to_line": 629,
"ro... | document_service.py:337-340 at head: `doc_ids = doc_ids.dicts()` / `if not doc_ids:` / `return` / `return [doc["id"] for doc in doc_ids]`. That returns None for zero rows; peewee evaluates truthiness through __len__, and the sibling get_doc_id_by_doc_name uses the same pattern. api_app.py:618-621: `doc_ids = DocumentSe... | To count, a comment must say that the new name lookup returns None, not an empty list, when no names match or doc_names is omitted or empty. It must also say that document_rm's membership test and append on doc_ids then fail with TypeError or a server error, so ids-only deletion breaks. A comment placed at either site ... | true | [] | [
"0"
] | [
"R1",
"R2",
"R3",
"R4",
"R6",
"R8",
"R10",
"R25",
"R26",
"R27",
"R28",
"R29"
] | null | null | null | infiniflow/ragflow | 705123406ec7cd5eb1f9be26f6c5c31357aeffc9 |
infiniflow__ragflow@7051234 | smoke10 | 2 | D2 | Delete-by-name now deletes every document with that name in the deployment, across knowledge bases and tenants | The pre-PR name lookup already ignored tenant and knowledge base, but deleted only the first document matching each name. The new get_doc_ids_by_doc_names selects every document with a matching name across the whole deployment, so one DELETE /v1/api/document request by name now irreversibly deletes every same-named doc... | data | high | [
{
"path": "api/db/services/document_service.py",
"from_line": 333,
"to_line": 340,
"role": "cause"
},
{
"path": "api/apps/api_app.py",
"from_line": 618,
"to_line": 618,
"role": "other-site"
},
{
"path": "api/apps/api_app.py",
"from_line": 641,
"to_line": 660,
... | document_service.py:335-336 `doc_ids = cls.model.select(*fields).where(cls.model.name.in_(doc_names))`, with every row returned at 340. Compare the merge-base helper at 322-329, `.where(cls.model.name == doc_name)` ... `return doc_id[0]["id"]`, which gives one id per name. db_models.py:624 `name = CharField(max_length=... | To count, a comment must identify that the new bulk name lookup is not scoped to the caller's tenant or knowledge base and/or returns ALL documents with a matching name. It must also say that a delete-by-name request can therefore remove documents beyond the one intended, either other tenants' documents or several same... | true | [] | [] | [
"R5",
"R7",
"R9",
"R17",
"R18",
"R19",
"R20",
"R21",
"R22",
"R23",
"R24"
] | null | null | null | infiniflow/ragflow | 705123406ec7cd5eb1f9be26f6c5c31357aeffc9 |
infiniflow__ragflow@7051234 | smoke10 | 2 | D3 | doc_names that match nothing are silently dropped instead of producing 'Document not found!' | Before, an unknown name put None into doc_ids, and the delete loop returned get_data_error_result('Document not found!') when it reached that entry. Now the IN query simply omits names with no match. A request that mixes valid names with a misspelled or already-deleted name therefore returns success (data=True), and th... | contract | low | [
{
"path": "api/db/services/document_service.py",
"from_line": 335,
"to_line": 340,
"role": "cause"
},
{
"path": "api/apps/api_app.py",
"from_line": 618,
"to_line": 626,
"role": "symptom"
},
{
"path": "api/apps/api_app.py",
"from_line": 641,
"to_line": 644,
"ro... | Merge base: `doc_ids = [DocumentService.get_doc_id_by_doc_name(doc_name) for doc_name in req.get("doc_names", [])]`. get_doc_id_by_doc_name returns None for no match, then `e, doc = DocumentService.get_by_id(doc_id); if not e: return get_data_error_result(message="Document not found!")` fires for that None. Head: docum... | To count, a comment must say that names with no matching document are now silently ignored (no 'not found' error), so a partly unmatched name list reports success. R4's 'requests with unknown names fail the same way' does NOT count. It describes the TypeError crash, which is D1. | true | [] | [] | [] | null | null | null | infiniflow/ragflow | 705123406ec7cd5eb1f9be26f6c5c31357aeffc9 |
langflow-ai__langflow@9513d15 | smoke10 | 2 | D1 | Non-reentrant vertex lock re-acquired inside get_result: every result lookup with a flow_id deadlocks | Vertex.get_result holds self._lock (a plain asyncio.Lock, which is not reentrant) while it awaits self._get_result. Both _get_result implementations now await _log_transaction_async, which does `async with self._lock` on the same lock, so the coroutine waits forever on a lock its own caller holds. Every graph with flow... | concurrency | high | [
{
"path": "src/backend/base/langflow/graph/vertex/base.py",
"from_line": 636,
"to_line": 637,
"role": "cause"
},
{
"path": "src/backend/base/langflow/graph/vertex/base.py",
"from_line": 621,
"to_line": 622,
"role": "other-site"
},
{
"path": "src/backend/base/langflow/grap... | base.py:62 `self._lock = asyncio.Lock()`. base.py:621-622 `async with self._lock:\n return await self._get_result(requester, target_handle_name)`. base.py:637 (inside the new async _log_transaction_async) `async with self._lock:`. base.py:683 `await self._log_transaction_async(str(flow_id), source=self, target=reque... | To count, a comment must say that _log_transaction_async acquires self._lock while its caller get_result already holds the same lock, and that asyncio.Lock is not reentrant, so the call deadlocks or hangs whenever flow_id is set. Pointing at either the lock acquisition (base.py:637) or any of the four awaited call site... | true | [] | [
"0"
] | [
"R2",
"R3",
"R4",
"R5",
"R6",
"R7",
"R8",
"R9",
"R10",
"R11",
"R23"
] | null | null | null | langflow-ai/langflow | 9513d152197e5336fbc00eb6b891f1ffb25ad62d |
langflow-ai__langflow@9513d15 | smoke10 | 2 | D2 | suppress(asyncio.CancelledError) around Task.cancel() is ineffective dead code | The new outer cancellation handler wraps `pending_task.cancel()` in `with suppress(asyncio.CancelledError)`. Task.cancel() only schedules cancellation and never raises CancelledError in the caller, so the wrapper and the new `from contextlib import suppress` import do nothing. They mislead readers about which cancellat... | maintainability | low | [
{
"path": "src/backend/base/langflow/graph/vertex/base.py",
"from_line": 658,
"to_line": 659,
"role": "cause"
},
{
"path": "src/backend/base/langflow/graph/vertex/base.py",
"from_line": 10,
"to_line": 10,
"role": "other-site"
}
] | base.py:658-659 `with suppress(asyncio.CancelledError):\n pending_task.cancel()`; base.py:10 `from contextlib import suppress` was added only for this. asyncio.Task.cancel() returns a bool and delivers CancelledError inside the target task on its next step, never synchronously to the caller. | To count, a comment must say that the suppress(CancelledError) around task.cancel() cannot catch anything, because cancel() does not raise in the caller, and so the wrapper is redundant or dead. Near-misses that do NOT count: a claim that the outer handler iterates an already-cleared set and therefore misses cancellati... | false | [] | [
"2"
] | [
"R19",
"R20",
"R21"
] | null | null | null | langflow-ai/langflow | 9513d152197e5336fbc00eb6b891f1ffb25ad62d |
immich-app__immich@7e2009f | smoke10 | 2 | D1 | Motion-video asset's fileModifiedAt now comes from the still's EXIF ModifyDate, and that value then feeds the new min() fallback | When the PR creates the hidden motion-video asset, it now sets fileModifiedAt to getDates(asset, tags).modifyDate. That is the still image's EXIF ModifyDate whenever one is present. Before, it was the still's stored file modification timestamp, and every other writer stores a file or client mtime in that field. The vid... | contract | low | [
{
"path": "server/src/services/metadata.service.ts",
"from_line": 453,
"to_line": 460,
"role": "cause"
},
{
"path": "server/src/services/metadata.service.ts",
"from_line": 608,
"to_line": 611,
"role": "other-site"
},
{
"path": "server/src/services/metadata.service.ts",
... | Head metadata.service.ts:453-460 has `const dates = this.getDates(asset, tags); ... fileCreatedAt: dates.dateTimeOriginal, fileModifiedAt: dates.modifyDate, localDateTime: dates.localDateTime`. At the merge base it was `const createdAt = asset.fileCreatedAt ?? asset.createdAt; ... fileModifiedAt: asset.fileModifiedAt`.... | To count, a comment must say that the motion-video creation now stores the still's EXIF ModifyDate (getDates().modifyDate) as the video's fileModifiedAt instead of the file modification timestamp, i.e. that the field's meaning or provenance changes. Also count a comment that explains how the dates written here, fed int... | true | [] | [] | [
"R6",
"R7",
"R12",
"R13",
"R14"
] | null | null | null | immich-app/immich | 7e2009f038cbf3f26403af6582af3cf8ba91672f |
cline__cline@7d18fb9 | smoke10 | 2 | D1 | ASCII-only files are detected as "ascii" and re-encoded as ASCII on save, so non-ASCII characters added by the edit become "?" | For any buffer with no byte >= 0x80 (most source files), jschardet returns encoding "ascii". "ascii" !== "utf8", so after VS Code has saved the document, saveChanges re-encodes it with iconv's ASCII codec and overwrites the file. Every non-ASCII character the model or user added (accents, em dashes, arrows, emoji, CJK ... | data | high | [
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 49,
"to_line": 57,
"role": "cause"
},
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 237,
"to_line": 240,
"role": "symptom"
}
] | DiffViewProvider.ts:50-56 `const detected = chardet.detect(fileBuffer); this.fileEncoding = typeof detected === "string" ? detected : detected && (detected as any).encoding ? (detected as any).encoding : "utf8"`. jschardet's UniversalDetector.close() returns {encoding:"ascii", confidence:1} in the pure-ASCII input stat... | To count, a comment must say that a pure-ASCII original (detected as "ascii") makes the save path encode with ASCII, so newly added non-ASCII characters are silently replaced with "?" or lost. Accept equivalent wording, for example "an ASCII-detected file edited to contain an emoji is passed to iconv.encode(..., 'ascii... | true | [] | [] | [
"R10",
"R27",
"R28",
"R32",
"R34"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D2 | package-lock.json not updated: jschardet (and the direct iconv-lite dependency) missing from the lockfile, so npm ci / CI and publishing break | package.json adds iconv-lite and jschardet as dependencies, but package-lock.json is unchanged. jschardet appears nowhere in it, and neither package is in the root dependencies block. On a CI cache miss, npm ci in test.yml and publish.yml refuses the mismatched manifest and lock. On a cache hit (the key hashes the unch... | build | high | [
{
"path": "package.json",
"from_line": 292,
"to_line": 295,
"role": "cause"
}
] | The diff touches only .changeset, package.json, DiffViewProvider.ts and extract-text.ts. At head, `git show HEAD:package-lock.json | grep -c jschardet` gives 0. The root packages[""].dependencies lists "isbinaryfile": "^5.0.2" but neither new package; iconv-lite exists only as a transitive node_modules/iconv-lite 0.6.3... | To count, a comment must say the lockfile was not updated for the new dependency or dependencies (jschardet at minimum), so clean or CI installs (npm ci) or the build fail. A comment that only questions the choice of library or version does not count. | true | [] | [] | [
"R1",
"R2",
"R3",
"R4",
"R5",
"R6",
"R7",
"R8"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D3 | jschardet's guess is trusted with no confidence/UTF-8 validity check: valid UTF-8 files with few non-ASCII chars are misdetected as a single-byte encoding, read as mojibake and corrupted on revert/save | The detected encoding is used unconditionally. jschardet's UTF-8 prober confidence for one to three multibyte characters is only 0.5 to 0.88, while the Latin1 and SBCS probers can score higher. A UTF-8 file containing, for example, a single ©, é or em dash is therefore labelled windows-1252 or windows-1250. Those files... | bug | high | [
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 49,
"to_line": 57,
"role": "cause"
},
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 269,
"to_line": 279,
"role": "symptom"
},
{
"path": "src/integrations/editor/DiffViewProvider.... | DiffViewProvider.ts:50-57 uses `chardet.detect(fileBuffer)` with no confidence or UTF-8 validity check, then `this.originalContent = iconv.decode(fileBuffer, this.fileEncoding)`. revertChanges :276-279 `edit.replace(updatedDocument.uri, fullRange, this.originalContent ?? "") ... await updatedDocument.save()` saves the ... | To count, a comment must say that jschardet's guess is used without a confidence or UTF-8 validity check, so real UTF-8 files (typically with few non-ASCII characters) can be detected as a legacy single-byte encoding, AND name a consequence: garbled read_file, diff or notebook text, or corruption when the file is rever... | true | [] | [] | [] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D4 | Encoding-preserving write overwrites the saved file with the normalized comparison string (trimEnd, forced EOL, EOLs converted) | The new write serializes normalizedPostSaveContent, not the text VS Code saved. That string is trimEnd()'d, has exactly one EOL appended, and has every line ending rewritten to the EOL of the model's newContent. So a write on a CRLF file converts it to LF, trailing blank lines and whitespace at EOF are removed, and a f... | data | medium | [
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 211,
"to_line": 213,
"role": "cause"
},
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 237,
"to_line": 240,
"role": "symptom"
}
] | DiffViewProvider.ts:237 `if (this.fileEncoding.toLowerCase() !== "utf8") {`, where fileEncoding is jschardet's name (UTF8Prober reports "UTF-8"; pure ASCII reports "ascii"). :211-213 `const newContentEOL = this.newContent.includes("\r\n") ? "\r\n" : "\n"; const normalizedPostSaveContent = postSaveContent.replace(/\r\n|... | To count, a comment must say the overwrite writes normalizedPostSaveContent (trimmed / EOL-normalized / forced final newline) instead of the text actually saved, so the file's bytes (trailing whitespace, final newline, CRLF/LF) differ from what was approved. A comment naming only the 'utf8' vs 'UTF-8'/'ascii' guard mis... | true | [] | [] | [
"R25",
"R30",
"R33"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D12 | The `!== "utf8"` guard never matches jschardet's names, so every existing file is re-encoded and rewritten behind VS Code | saveChanges re-encodes and overwrites the file when this.fileEncoding.toLowerCase() !== "utf8", but jschardet returns "UTF-8", "ascii" and so on, never "utf8". So every existing file — not only legacy-encoded ones — goes through iconv and fs.writeFile after VS Code has already saved it. This is the enabler that routes ... | bug | medium | [
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 237,
"to_line": 237,
"role": "cause"
}
] | DiffViewProvider.ts:237 `if (this.fileEncoding.toLowerCase() !== "utf8") {`, where fileEncoding is jschardet's name (UTF8Prober reports "UTF-8"; pure ASCII reports "ascii"). :211-213 `const newContentEOL = this.newContent.includes("\r\n") ? "\r\n" : "\n"; const normalizedPostSaveContent = postSaveContent.replace(/\r\n|... | To count, a comment must name the case/naming mismatch: jschardet's 'UTF-8'/'ascii' never equal 'utf8', so the re-encode-and-overwrite path runs for ordinary UTF-8/ASCII files too. A comment that names only the lossy '?' consequence of encoding to 'ascii' counts for D1, not here. | true | [] | [] | [
"R25",
"R30",
"R33"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D5 | Save strips the byte-order mark from UTF-8-BOM and UTF-16/32-BOM files | jschardet reports BOM-prefixed files as UTF-8, UTF-16LE/BE and so on. iconv.decode strips the BOM by default, and iconv.encode without addBOM writes the file back with none, although VS Code's own save had preserved it. After every accepted edit, UTF-8-BOM files silently lose their BOM, which BOM-dependent consumers ne... | data | medium | [
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 57,
"to_line": 57,
"role": "cause"
},
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 237,
"to_line": 240,
"role": "symptom"
}
] | DiffViewProvider.ts:57 `this.originalContent = iconv.decode(fileBuffer, this.fileEncoding)` and :238 `iconv.encode(normalizedPostSaveContent, this.fileEncoding)` pass no addBOM option. Verified with iconv-lite 0.6.3: decode(EF BB BF 68 69 0a, 'UTF-8') gives 'hi\n', and encode('hi\n','UTF-8') gives <68 69 0a> (no BOM). ... | To count, a comment must say that the new re-encode/overwrite drops a file's BOM, because iconv strips it on decode and does not add it on encode, so BOM-bearing files change on save. Comments about the charset alone do not count. | true | [] | [] | [
"R31"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D6 | Binary check demoted to a fallback: any binary jschardet assigns an encoding is decoded and returned to the model as text | Before the PR, the default branch always ran isBinaryFile first and refused binaries. Now isBinaryFile runs only when jschardet returns no encoding. jschardet has no notion of binary content: any 7-bit buffer, including NULs and control bytes, is reported as "ascii", and single-byte probers can put a legacy charset gue... | bug | medium | [
{
"path": "src/integrations/misc/extract-text.ts",
"from_line": 30,
"to_line": 43,
"role": "cause"
}
] | extract-text.ts:30-43 `const detected = chardet.detect(fileBuffer) ... else if (detected && (detected as any).encoding) { encoding = (detected as any).encoding } else { const isBinary = await isBinaryFile(fileBuffer)... }` then `return iconv.decode(fileBuffer, encoding)`. Base: `const isBinary = await isBinaryFile(file... | To count, a comment must say that isBinaryFile now runs only when charset detection returns nothing, so a binary file that gets a charset guess (for example "ascii" for 7-bit data) bypasses binary rejection and is decoded and sent to the model. Near-misses that do not count: requests for binary-rejection tests, and com... | true | [] | [] | [
"R54",
"R57",
"R58",
"R61",
"R62",
"R63",
"R64",
"R65",
"R66"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D7 | extractTextFromFile reads the entire file into memory before the 300KB size check | The old default branch rejected binaries with a 512-byte sniff and rejected large files with fs.stat (getFileSizeInKB) before reading. The new code does fs.readFile(filePath) on the whole file first and checks byteLength afterwards. A read_file or folder mention on a multi-hundred-MB log, dataset or media file now buff... | performance | medium | [
{
"path": "src/integrations/misc/extract-text.ts",
"from_line": 26,
"to_line": 29,
"role": "cause"
},
{
"path": "src/integrations/misc/extract-text.ts",
"from_line": 7,
"to_line": 7,
"role": "other-site"
}
] | extract-text.ts:26-29 `const fileBuffer = await fs.readFile(filePath); if (fileBuffer.byteLength > 300 * 1024) { throw new Error(`File is too large to read into context.`) }`. Base: `const fileSizeInKB = await getFileSizeInKB(filePath); if (fileSizeInKB > 300) { throw ... } return await fs.readFile(filePath, "utf8")`, ... | To count, a comment must say that the whole file is now read into memory before the 300KB limit is enforced, a regression from the stat-based pre-check, with a memory or performance consequence for large files. A comment that only says "remove the unused getFileSizeInKB import" does not count. Dataset ref 4 counts beca... | true | [] | [
"4",
"5"
] | [
"R36",
"R37",
"R40",
"R41",
"R42",
"R43",
"R44",
"R45"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D8 | Reject/revert path does not preserve the detected encoding: rejecting an edit transcodes a legacy-encoded file | On the reject/abort/failed-diff path (revertChanges), the PR restores the decoded original text through VS Code's own save, so a legacy-encoded (Shift-JIS, ISO-8859-1) file is converted to UTF-8 with its content intact instead of keeping its original encoding. That contradicts the PR's promise to preserve the encoding ... | incomplete-fix | low | [
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 269,
"to_line": 279,
"role": "cause"
},
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 237,
"to_line": 240,
"role": "other-site"
}
] | DiffViewProvider.ts:271-279 `edit.replace(updatedDocument.uri, fullRange, this.originalContent ?? ""); await vscode.workspace.applyEdit(edit); await updatedDocument.save()`. This path has no iconv.encode/fs.writeFile with this.fileEncoding, unlike saveChanges:237-240. revertChanges is called from Cline.ts:1752 (diff er... | To count, a comment must say that revertChanges (reject, abort or failed diff) restores the decoded text through VS Code's document save without the detected encoding, so the file's bytes or encoding change when an edit is rejected. Near-misses that do not count: comments only about VS Code decoding the editable side o... | true | [] | [] | [
"R11",
"R13",
"R14",
"R16",
"R19",
"R21",
"R23",
"R24",
"R26"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D9 | Encodings jschardet can return but iconv-lite cannot decode now make read_file and edits throw | The detected name goes straight to iconv.decode with no encodingExists check or fallback. jschardet can return ISO-2022-JP, ISO-2022-KR, ISO-2022-CN, HZ-GB-2312, EUC-TW, and X-ISO-10646-UCS-4-3412/2143 (the last two from a BOM). iconv-lite 0.6.3 supports none of these. Such files, which were previously read as UTF-8, n... | compat | low | [
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 57,
"to_line": 57,
"role": "cause"
},
{
"path": "src/integrations/misc/extract-text.ts",
"from_line": 43,
"to_line": 43,
"role": "cause"
},
{
"path": "src/integrations/misc/extract-text.ts",
"from_l... | DiffViewProvider.ts:57 `iconv.decode(fileBuffer, this.fileEncoding)`, extract-text.ts:43 `return iconv.decode(fileBuffer, encoding)` and :63: none has a guard. Verified with iconv-lite 0.6.3: encodingExists is false for 'ISO-2022-JP', 'ISO-2022-KR', 'ISO-2022-CN', 'HZ-GB-2312', 'EUC-TW', 'X-ISO-10646-UCS-4-3412' and 'X... | To count, a comment must say that jschardet can report encodings iconv-lite does not support, so iconv.decode throws with no encodingExists check or fallback. Near-miss that does not count: a generic "wrap in try/catch" (dataset refs 1 and 2), since callers already catch and the comment does not identify the unsupporte... | true | [] | [] | [] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D10 | @-mention path still pre-screens with isBinaryFile, so non-UTF-8 text files remain misclassified as binary there | The PR says it fixes binary misclassification of non-UTF-8 files, but only extractTextFromFile changed. getFileOrFolderContent still calls isBinaryFile(absPath) before extractTextFromFile. isbinaryfile counts high bytes that are not valid UTF-8 as suspicious, so a Shift-JIS/GBK file is still reported as "(Binary file, ... | incomplete-fix | low | [
{
"path": "src/core/mentions/index.ts",
"from_line": 154,
"to_line": 159,
"role": "cause"
},
{
"path": "src/core/mentions/index.ts",
"from_line": 175,
"to_line": 180,
"role": "cause"
},
{
"path": "src/integrations/misc/extract-text.ts",
"from_line": 30,
"to_line":... | mentions/index.ts:155-159 `const isBinary = await isBinaryFile(absPath).catch(() => false); if (isBinary) { return "(Binary file, unable to display content)" } const content = await extractTextFromFile(absPath)`. :176-180 has the same pre-check in the folder loop and returns undefined. This file is untouched by the PR,... | To count, a comment must say that file and folder @-mentions still gate on isBinaryFile before extractTextFromFile, so legacy-encoded text is still rejected as binary there and the claimed fix does not reach mentions. Comments about binaries getting through extractTextFromFile do not count (that is D6). | true | [] | [] | [
"R49",
"R50",
"R51",
"R53",
"R56",
"R59"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
cline__cline@7d18fb9 | smoke10 | 2 | D11 | Encoding-detection/fallback policy copy-pasted in three places (with a dead string branch and as-any casts) | The same detect-then-fallback logic is duplicated in DiffViewProvider.open, extractTextFromFile and extractTextFromIPYNB. Each copy carries an unreachable `typeof detected === "string"` branch and `(detected as any).encoding` casts, although jschardet.detect is typed to return {encoding, confidence}. Every fix the dete... | maintainability | low | [
{
"path": "src/integrations/editor/DiffViewProvider.ts",
"from_line": 50,
"to_line": 56,
"role": "other-site"
},
{
"path": "src/integrations/misc/extract-text.ts",
"from_line": 30,
"to_line": 42,
"role": "other-site"
},
{
"path": "src/integrations/misc/extract-text.ts",
... | DiffViewProvider.ts:51-56 `typeof detected === "string" ? detected : detected && (detected as any).encoding ? (detected as any).encoding : "utf8"`, repeated as an if/else chain at extract-text.ts:32-41 and as a ternary at :61-62. | To count, a comment must point out that the charset detection and fallback logic is duplicated across these readers/DiffViewProvider and should be one shared helper so the policy cannot drift. Comments only about the nested ternary's readability, or only about `as any`, do not count. | true | [] | [
"6"
] | [
"R67",
"R68",
"R69",
"R70"
] | null | null | null | cline/cline | 7d18fb9df620c61420c6939df22fb6f7af836bb2 |
mrdoob__three.js@96ab072 | smoke10 | 2 | D1 | Front and back caps vanish for every non-bevelled extrusion (bevelEnabled:false, extrudePath, bevelSegments:0, TextGeometry default) | The PR triangulates contractedContourVertices/expandedHoleVertices, but these are filled only inside the bevel-segment loop (`if ( t == 0 ) ...push`). When bevel is disabled, bevelSegments is forced to 0, so the loop never runs. triangulateShape([], []) then returns no faces, flen is 0, and buildLidFaces emits no botto... | bug | high | [
{
"path": "src/geometries/ExtrudeGeometry.js",
"from_line": 387,
"to_line": 435,
"role": "cause"
},
{
"path": "src/geometries/ExtrudeGeometry.js",
"from_line": 104,
"to_line": 134,
"role": "other-site"
},
{
"path": "src/geometries/ExtrudeGeometry.js",
"from_line": 553... | L109 `bevelEnabled = false; // bevels not supported for path extrusion` and L127-129 `if ( ! bevelEnabled ) { bevelSegments = 0; ...`. L392 `for ( let b = 0; b < bevelSegments; b ++ ) {` is the only filler of the arrays: L407 `if ( t == 0 ) contractedContourVertices.push( vert );` and L427 `if ( t == 0 ) expandedHoleVe... | To count, a comment must say that with bevel disabled (bevelEnabled:false, extrudePath, or bevelSegments 0) the arrays passed to triangulateShape are empty or never populated because the bevel loop does not run, so the lids/caps are missing. These do not count: comments that only ask for tests of the non-bevel path (R1... | true | [] | [] | [
"R13",
"R14",
"R16",
"R17",
"R18",
"R19",
"R22",
"R23",
"R24"
] | null | null | null | mrdoob/three.js | 96ab0720fc65368e32ee3f2389cb192f96d8adff |
mrdoob__three.js@96ab072 | smoke10 | 2 | D2 | A hole that welds down to zero points crashes the constructor inside earcut (TypeError) | cleanPoints compares with the last kept point and, at the wrap-around, compares points[0] with it. Once a ring is down to one point, that point is compared with itself (distance 0) and spliced, so a tiny or all-identical hole becomes []. With bevel enabled (the default), triangulateShape still registers a zero-length h... | bug | medium | [
{
"path": "src/geometries/ExtrudeGeometry.js",
"from_line": 170,
"to_line": 194,
"role": "cause"
},
{
"path": "src/geometries/ExtrudeGeometry.js",
"from_line": 433,
"to_line": 433,
"role": "symptom"
}
] | L172-181: `const currentIndex = i % points.length; ... if ( distSq <= THRESHOLD_SQ ) { points.splice( currentIndex, 1 ); if ( currentIndex == 0 ) break;`. With length 1, currentIndex is 0 and currentPos === prevPos, so the last point is removed. L194 `holes.forEach( cleanPoints );`. src/extras/ShapeUtils.js triangulate... | To count, a comment must say that cleanPoints can reduce a hole (or ring) to zero points, and that the empty hole then breaks triangulation (throw/crash in triangulateShape or earcut). These do not count: saying only that small holes or contours are erased or lose detail (that is D3); dataset ref 1's claim that cleanPo... | true | [] | [] | [] | null | null | null | mrdoob/three.js | 96ab0720fc65368e32ee3f2389cb192f96d8adff |
mrdoob__three.js@96ab072 | smoke10 | 2 | D3 | Absolute 0.0002 world-unit weld threshold decimates or deletes valid small-scale shapes and holes | The threshold is a hard-coded world-space distance that ignores the shape's scale, and each point is measured against the last kept point. Any ring sampled more finely than 0.0002 loses vertices, and any contour or hole whose edges are all shorter than 0.0002 is spliced away entirely. Legitimate small-unit geometry tha... | bug | medium | [
{
"path": "src/geometries/ExtrudeGeometry.js",
"from_line": 165,
"to_line": 191,
"role": "cause"
},
{
"path": "src/geometries/ExtrudeGeometry.js",
"from_line": 193,
"to_line": 194,
"role": "other-site"
}
] | L167-168 `const THRESHOLD = 0.0002; const THRESHOLD_SQ = THRESHOLD * THRESHOLD;`. L178-183 splice on `distSq <= THRESHOLD_SQ`. L187 `prevPos = currentPos;` runs only for kept points. L193 `cleanPoints( vertices );`. Measured by running the sources, base -> head: a 0.0001 square with bevel off went from lid 12 / side 24... | To count, a comment must say that the fixed or absolute 0.0002 threshold (not scale-aware) removes vertices from legitimately small or densely sampled shapes, or erases small contours or holes entirely. These do not count: pure renaming or `===` style comments; R9's seam re-check edge case (a different, contrived issue... | true | [] | [] | [
"R1",
"R2",
"R3",
"R4",
"R5",
"R6",
"R7",
"R8"
] | null | null | null | mrdoob/three.js | 96ab0720fc65368e32ee3f2389cb192f96d8adff |
ollama__ollama@b6002f6 | smoke10 | 2 | D1 | Fit-mode graph reservation reads positions through a no-alloc placeholder pointer, so llama4 and mllama cannot load | The runner always runs LoadOperationFit first, with AllocMemory=false. In that mode FromIntSlice never writes the positions, and ggml gives the tensor a placeholder data pointer equal to the buffer alignment (about 0x20). The new Ints() branch returns unsafe.Slice over that non-nil pointer. reserveWorstCaseGraph then d... | bug | high | [
{
"path": "runner/ollamarunner/runner.go",
"from_line": 1066,
"to_line": 1080,
"role": "cause"
},
{
"path": "ml/backend/ggml/ggml.go",
"from_line": 1029,
"to_line": 1041,
"role": "cause"
},
{
"path": "kvcache/encoder.go",
"from_line": 92,
"to_line": 95,
"role"... | llm/server.go:709 `for operation := LoadOperationFit; operation < LoadOperationCommit; operation++` means Fit always runs first. runner.go:1204 `AllocMemory: req.Operation != llm.LoadOperationFit`, and ggml.go:162 `C.ggml_backend_buft_set_alloc(bt, C.bool(params.AllocMemory))` covers the CPU buffer type, which backs In... | To count, a comment must say that during the fit / no-alloc (AllocMemory=false) reservation, the positions tensor is never populated (or has only a placeholder data pointer), and that reading it back through Ints() in the encoder cache (mllama, encoder.go:94) or in llama4's temperature-scale loop (model_text.go:222) cr... | true | [] | [] | [
"R2",
"R3",
"R4",
"R7",
"R15",
"R16",
"R17",
"R18",
"R19"
] | null | null | null | ollama/ollama | b6002f6b6c69370f8c18a9e6c1cafa8463273a6b |
ollama__ollama@b6002f6 | smoke10 | 2 | D2 | The new Bytes/Floats/Ints fallback treats any non-nil data pointer as readable, already-computed host memory | For tensors whose sync is nil, the added branch reads ggml_get_data() directly and assumes it is host memory that already holds the values. That fails in two cases. A tensor in a GPU buffer (for example a weight from Layer()) has a device pointer, and GoBytes or unsafe.Slice on it crashes the process. A pending op whos... | contract | low | [
{
"path": "ml/backend/ggml/ggml.go",
"from_line": 1001,
"to_line": 1041,
"role": "cause"
},
{
"path": "ml/backend.go",
"from_line": 551,
"to_line": 573,
"role": "symptom"
}
] | ggml.go:1007-1009 `} else if bts := C.ggml_get_data(t.t); bts != nil { // tensor is in cpu memory; data = C.GoBytes(bts, C.int(C.ggml_nbytes(t.t)))`, with the same pattern at :1021-1024 (Floats) and :1035-1038 (Ints). ggml_get_data returns tensor->data whatever buffer holds it. ggml.c:3252 ggml_cpy_impl `struct ggml_te... | To count, a comment must say that a non-nil ggml data pointer does not mean the data is host-accessible and/or already computed, with a consequence: a crash when reading a GPU/device-buffer tensor, or stale or uninitialized values for a pending or uncomputed tensor (for example ml.Dump skipping Compute because Bytes() ... | true | [] | [] | [
"R5",
"R6"
] | null | null | null | ollama/ollama | b6002f6b6c69370f8c18a9e6c1cafa8463273a6b |
ollama__ollama@b6002f6 | smoke10 | 2 | D3 | Floats()/Ints() return a view into C memory on the new path but a Go-owned copy on the computed path, and Causal keeps the view after its context is freed | On the new branch, Floats() and Ints() return unsafe.Slice views into the tensor's ggml buffer. On the computed (sync) path they return freshly allocated Go copies, and Bytes() copies on both paths. Callers cannot tell whether the result outlives ctx.Close() or whether writing to it changes the tensor. Causal stores th... | maintainability | low | [
{
"path": "ml/backend/ggml/ggml.go",
"from_line": 1015,
"to_line": 1041,
"role": "cause"
},
{
"path": "kvcache/causal.go",
"from_line": 200,
"to_line": 204,
"role": "symptom"
}
] | ggml.go:1024 `data = unsafe.Slice((*float32)(bts), C.ggml_nelements(t.t))` and :1038 `data = unsafe.Slice((*int32)(bts), C.ggml_nelements(t.t))` versus :1031-1034 `data = make([]int32, ...); ... ggml_backend_tensor_get(...)`. Context.Close (ggml.go) calls ggml_backend_buffer_free on every allocated buffer. causal.go:20... | To count, a comment must say that the new Floats/Ints path returns a slice aliasing C/ggml memory that is freed when the context closes (or that writes alias the tensor), inconsistent with the copying sync path, ideally noting that Causal retains it in curPositions. Near-misses that do NOT count: pure performance remar... | true | [] | [] | [
"R8"
] | null | null | null | ollama/ollama | b6002f6b6c69370f8c18a9e6c1cafa8463273a6b |
dbeaver__dbeaver@bc3ac7b | smoke10 | 2 | D1 | InputStream obtained for a pasted remote file is never closed | dropNodes gets a newly opened stream from node.getAdapter(InputStream.class), which calls IFile.getContents(), and passes it to copyInputStream. That helper calls Files.copy(InputStream, Path, ...), which does not close its source. Nothing else closes the stream either: there is no try-with-resources. Every pasted remo... | resource | medium | [
{
"path": "plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/fs/DBNPathBase.java",
"from_line": 290,
"to_line": 302,
"role": "cause"
},
{
"path": "plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/fs/DBNPathBase.java",
"from_line": 363,
"to_lin... | DBNPathBase.java:293-296 at head reads `InputStream adapter = node.getAdapter(InputStream.class); if (adapter != null) { String fileName = node.getNodeDisplayName(); copyInputStream(adapter, folder, fileName); }`, and its `finally` only calls `monitor.worked(1)`. DBNPathBase.java:363-369 `copyInputStream(...) { ... Fil... | To count, a comment must say that the InputStream from getAdapter(InputStream.class) / IFile.getContents() in the new dropNodes branch or in copyInputStream is never closed, for example because Files.copy does not close it or because there is no try-with-resources. Mentioning the failure path is optional. Near-misses t... | true | [] | [
"0"
] | [
"R8",
"R9",
"R10",
"R11",
"R12",
"R13",
"R14",
"R15",
"R16",
"R19"
] | null | null | null | dbeaver/dbeaver | bc3ac7bb47092a934b344791d8aa3a1c41e6c8f7 |
dbeaver__dbeaver@bc3ac7b | smoke10 | 2 | D2 | New InputStream adapter duplicates the existing DBNStreamData.openInputStream contract | DBNResource already implements DBNStreamData. Its supportsStreamData() is true exactly for remote IFiles with no location, and openInputStream() opens the same IFile.getContents() stream and reports failure through checked IOException. The PR adds a second way to get that stream: getAdapter(InputStream.class). It has a... | maintainability | low | [
{
"path": "plugins/org.jkiss.dbeaver.model.rcp/src/org/jkiss/dbeaver/model/navigator/DBNResource.java",
"from_line": 423,
"to_line": 430,
"role": "cause"
},
{
"path": "plugins/org.jkiss.dbeaver.model.rcp/src/org/jkiss/dbeaver/model/navigator/DBNResource.java",
"from_line": 440,
"to_l... | New code at DBNResource.java:423-429 is `else if (adapter == InputStream.class && resource instanceof IFile file) { try { return adapter.cast(file.getContents()); } catch (CoreException e) { log.error(...); throw new RuntimeException(e); } }`. The existing code in the same class at :441-443 is `supportsStreamData() { r... | To count, a comment must point out that the new InputStream adapter duplicates DBNResource's existing DBNStreamData.openInputStream() / supportsStreamData() and that the paste path should use that contract, or must say that getAdapter opening a stream or throwing an unchecked exception is a bad adapter contract. A comm... | true | [] | [] | [
"R1",
"R2",
"R3",
"R4"
] | null | null | null | dbeaver/dbeaver | bc3ac7bb47092a934b344791d8aa3a1c41e6c8f7 |
dbeaver__dbeaver@bc3ac7b | smoke10 | 2 | D3 | DBNResource uses DBNNode's package-private `log` across OSGi bundles, so the error path throws IllegalAccessError | DBNResource declares no `log` field of its own, so the new `log.error(...)` binds to DBNNode's package-private `static final Log log`. DBNNode is in the org.jkiss.dbeaver.model bundle, while DBNResource is in the separate org.jkiss.dbeaver.model.rcp bundle, which reuses the same package name. The two classes are define... | bug | low | [
{
"path": "plugins/org.jkiss.dbeaver.model.rcp/src/org/jkiss/dbeaver/model/navigator/DBNResource.java",
"from_line": 426,
"to_line": 428,
"role": "cause"
}
] | DBNResource.java:427 `log.error("Error get file content");` is the only `log` reference in the file, and there is no Log field declaration. DBNNode.java:40 `static final Log log = Log.getLog(DBNNode.class);` is package-private. The org.jkiss.dbeaver.model.rcp MANIFEST.MF declares a standalone bundle (`Bundle-SymbolicNa... | To count, a comment must say that `log` in DBNResource is not declared there and resolves to DBNNode's package-private field across bundles / split package, and that this causes IllegalAccessError at runtime, or at least that it is an invalid cross-bundle access. A comment that only says the log message should include ... | true | [] | [] | [] | null | null | null | dbeaver/dbeaver | bc3ac7bb47092a934b344791d8aa3a1c41e6c8f7 |
dbeaver__dbeaver@bc3ac7b | smoke10 | 2 | D4 | Target file name comes from the node's display name instead of the resource's file name | The new branch names the copied file after node.getNodeDisplayName(), which is a UI label, not the file name. The existing Path branch uses resource.getFileName(). For DBNResource subclasses that override the display name, the copy gets the wrong name: DBNBookmark returns the bookmark title, so a pasted remote bookmark... | bug | low | [
{
"path": "plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/fs/DBNPathBase.java",
"from_line": 295,
"to_line": 296,
"role": "cause"
},
{
"path": "plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/fs/DBNPathBase.java",
"from_line": 363,
"to_lin... | DBNPathBase.java:295 `String fileName = node.getNodeDisplayName();` and :364 `Path targetFile = folder.resolve(str);`, while the existing branch at :320 uses `folder.resolve(resource.getFileName().toString())`. DBNBookmark.java:62-64 (extends DBNResource) is `public String getNodeDisplayName() { return storage.getTitle... | To count, a comment must say that using getNodeDisplayName() as the target file name is wrong: it is a display label rather than the resource or file name (for example, a bookmark title without its extension), or it is unsanitised and can contain path separators. Comments that only rename the `str` parameter do not cou... | true | [] | [] | [] | null | null | null | dbeaver/dbeaver | bc3ac7bb47092a934b344791d8aa3a1c41e6c8f7 |
linera-io__linera-protocol@3535ddb | smoke10 | 2 | D1 | Client pagination loop is unbounded: a validator returning full pages keeps it running forever and growing remote_log | The new loop in synchronize_received_certificates_from_validator exits only when a page has fewer than CHAIN_INFO_MAX_RECEIVED_LOG_ENTRIES entries. Nothing bounds iterations, checks for progress, or compares against count_received_log. The client verifies only the response signature, not that the entries belong to the ... | security | medium | [
{
"path": "linera-core/src/client/mod.rs",
"from_line": 846,
"to_line": 857,
"role": "cause"
},
{
"path": "linera-core/src/client/mod.rs",
"from_line": 3711,
"to_line": 3713,
"role": "symptom"
},
{
"path": "linera-core/src/client/mod.rs",
"from_line": 4019,
"to_li... | client/mod.rs:848-857 `loop { let query = ChainInfoQuery::new(chain_id).with_received_log_excluding_first_n(offset); let info = remote_node.handle_chain_info_query(query).await?; let received_entries = info.requested_received_log.len(); offset += received_entries as u64; remote_log.extend(info.requested_received_log); ... | To count, a comment must say the new pagination loop can fail to terminate, or grows without bound, because its only exit is receiving a page shorter than the limit, and must name a trigger: a malicious or faulty validator that keeps returning full pages or ignores the offset, or entries being appended as fast as the c... | true | [] | [
"4"
] | [
"R12",
"R15",
"R16",
"R17",
"R18"
] | null | null | null | linera-io/linera-protocol | 3535ddb83de7dfae5db1732a7f1535031d31380a |
linera-io__linera-protocol@3535ddb | smoke10 | 2 | D2 | Hotfixed validators silently truncate the received log for existing (pre-PR) SDK clients | The PR ships as a validator hotfix. After it, every existing SDK client, which makes exactly one request_received_log_excluding_first_n query per sync and treats the vector it gets back as the complete tail, receives only the first 1000 unseen entries. Nothing in the response marks it as truncated, and legacy clients i... | compat | low | [
{
"path": "linera-core/src/chain_worker/state.rs",
"from_line": 1416,
"to_line": 1421,
"role": "cause"
},
{
"path": "linera-core/src/client/mod.rs",
"from_line": 846,
"to_line": 858,
"role": "other-site"
}
] | state.rs:1418-1420 `let end = (start.saturating_add(CHAIN_INFO_MAX_RECEIVED_LOG_ENTRIES)).min(chain.received_log.count()); info.requested_received_log = chain.received_log.read(start..end).await?;` changes what the unchanged wire field returns: the doc on data_types.rs:215-217 still reads as "the response to request_re... | To count, a comment must say that the validator-side cap changes behaviour for older or already-deployed clients that make a single request: they silently get only the first 1000 entries per sync, so syncs are partial and catch-up is slow. Ideally it also suggests gating the cap behind a pagination-aware or versioned r... | false | [] | [] | [
"R1",
"R5"
] | null | null | null | linera-io/linera-protocol | 3535ddb83de7dfae5db1732a7f1535031d31380a |
lvgl__lvgl@4a57db3 | smoke10 | 2 | D1 | New public lv_draw_label_dsc_t.text_size is dead and misleading: only lv_label sets it and its only consumer's value is ignored | The PR adds a public field to lv_draw_label_dsc_t, documented as 'The size of the text', and makes lv_draw_label_iterate_characters use dsc->text_size.x as the line width when EXPAND is set. Only lv_label's draw_main fills it. The roller, the table, the one-line textarea placeholder and any user code that sets LV_TEXT_... | maintainability | low | [
{
"path": "src/draw/lv_draw_label.h",
"from_line": 38,
"to_line": 39,
"role": "cause"
},
{
"path": "src/draw/lv_draw_label.c",
"from_line": 215,
"to_line": 222,
"role": "cause"
},
{
"path": "src/widgets/label/lv_label.c",
"from_line": 826,
"to_line": 826,
"rol... | Head lv_draw_label.h:38-39 adds '/**The size of the text*/ lv_point_t text_size;' to the public descriptor. lv_draw_label.c:221 reads 'w = dsc->text_size.x;' in the EXPAND branch. w is used only as max_width in lv_text_get_next_line calls at lv_draw_label.c:259, 265 and 509. lv_text.c:336 is 'if((flag & LV_TEXT_FLAG_EX... | To count, a comment must say that the new descriptor field (or the w it feeds) is unnecessary, dead or misleading. Either it says the value is ignored because lv_text_get_next_line disregards max_width under EXPAND, or it says only lv_label populates it, so other EXPAND users (roller, table, textarea placeholder, user ... | true | [] | [] | [
"R1",
"R6"
] | null | null | null | lvgl/lvgl | 4a57db33476f1caf3e85726a6b1e189c68c1f36b |
lvgl__lvgl@4a57db3 | smoke10 | 2 | D2 | draw_main now uses a size cached at refr_text time; paths that change the effective font without STYLE_CHANGED/SIZE_CHANGED leave the alignment override and the circular second copy using a stale width | Before the PR, draw_main measured the text at draw time with the font and letter and line spacing actually used for drawing. It now reads label->text_size, which only lv_label_refr_text writes. refr_text runs only on LV_EVENT_STYLE_CHANGED or LV_EVENT_SIZE_CHANGED, or from the label setters. Some paths change the inher... | bug | low | [
{
"path": "src/widgets/label/lv_label.c",
"from_line": 893,
"to_line": 899,
"role": "symptom"
},
{
"path": "src/widgets/label/lv_label.c",
"from_line": 854,
"to_line": 857,
"role": "symptom"
},
{
"path": "src/widgets/label/lv_label.c",
"from_line": 967,
"to_line":... | Head lv_label.c:894 'lv_point_t size = label->text_size;' then 898 'label_draw_dsc.ofs_x = label->offset.x + size.x + lv_font_get_glyph_width(label_draw_dsc.font, ...)', which mixes the cached width with the draw-time font. lv_label.c:856 does the same for the align override. The only writer is lv_label.c:968 'label->t... | To count, a comment must say that the SCROLL or SCROLL_CIRCULAR draw logic (alignment override or circular copy offset) now relies on label->text_size, which is refreshed only in lv_label_refr_text. It must also say that the value can go stale when the font, letter_space or line_space in effect at draw time changes wit... | true | [] | [
"1"
] | [] | null | null | null | lvgl/lvgl | 4a57db33476f1caf3e85726a6b1e189c68c1f36b |
lvgl__lvgl@4a57db3 | smoke10 | 2 | D3 | Nema GFX's private copy of the character iterator still runs lv_text_get_size for every EXPAND label draw | The PR removes the per-draw lv_text_get_size call from the shared lv_draw_label_iterate_characters. The Nema GFX backend keeps its own duplicated _draw_label_iterate_characters, and that copy was not updated. It still measures the whole text on every EXPAND label draw, so the claimed draw-time saving does not reach tha... | performance | low | [
{
"path": "src/draw/nema_gfx/lv_draw_nema_gfx_label.c",
"from_line": 433,
"to_line": 442,
"role": "cause"
},
{
"path": "src/draw/lv_draw_label.c",
"from_line": 215,
"to_line": 222,
"role": "other-site"
}
] | Head lv_draw_nema_gfx_label.c:140 calls '_draw_label_iterate_characters(t, dsc, coords);' and lines 438-441 keep 'lv_point_t p; lv_text_get_size(&p, dsc->text, dsc->font, dsc->letter_space, dsc->line_space, LV_COORD_MAX, dsc->flag); w = p.x;' in the EXPAND branch. The shared iterator at lv_draw_label.c:221 now reads 'w... | To count, a comment must point out that the Nema GFX label path (lv_draw_nema_gfx_label.c, its private iterator) still calls lv_text_get_size per draw and did not get the optimization or the matching change. A question form ('should Nema also...') counts. Near-misses that do NOT count: generic 'other backends may need ... | true | [] | [] | [
"R2",
"R3",
"R4",
"R5",
"R7"
] | null | null | null | lvgl/lvgl | 4a57db33476f1caf3e85726a6b1e189c68c1f36b |
bitcoin__bitcoin@724546e | dev10 | 2 | D1 | std::string_view `services` dangles: it is bound to the temporary std::string from strprintf, then read on the next line | `services` is declared as `const std::string_view` and initialized from a conditional expression. Because strprintf returns std::string, the expression is a temporary std::string (the "" branch converts to std::string too), and that temporary is destroyed at the end of the declaration. The next statement passes the dan... | bug | high | [
{
"path": "src/bitcoin-cli.cpp",
"from_line": 585,
"to_line": 585,
"role": "cause"
},
{
"path": "src/bitcoin-cli.cpp",
"from_line": 586,
"to_line": 586,
"role": "symptom"
}
] | src/bitcoin-cli.cpp:585 at head: `const std::string_view services{DetailsRequested() ? strprintf(" - services %s", FormatServices(networkinfo["localservicesnames"])) : ""};` and :586: `std::string result{strprintf("%s client %s%s - server %i%s%s\n\n", CLIENT_NAME, FormatFullVersion(), ChainToString(), networkinfo["prot... | To count, a comment must say that the string_view `services` at line 585 refers to a temporary std::string (the result of strprintf or the ternary) that is destroyed before line 586 uses it: a dangling view, use-after-free or UB. It counts with or without the fix `std::string services`. Near-misses that do not count: a... | true | [] | [
"3"
] | [
"R1",
"R2",
"R3",
"R4",
"R5"
] | null | null | null | bitcoin/bitcoin | 724546e28a5778e1c3f5100406ed7237f76aab55 |
FreeCAD__FreeCAD@699b45c | dev10 | 2 | D1 | SoDatumLabel angle-wrap casts leave the right-hand side double, so the float += double narrowing (C4244) the PR targets remains | The PR rewrites `range += 2.0 * M_PI` and `endangle += 2. * M_PI` as `2.0 * static_cast<float>(M_PI)` and `2. * static_cast<float>(M_PI)`. Because `2.0` and `2.` are double literals, double * float still produces a double. Each compound assignment is still float += double with an implicit narrowing, so the MSVC C4244 w... | incomplete-fix | low | [
{
"path": "src/Gui/SoDatumLabel.cpp",
"from_line": 82,
"to_line": 85,
"role": "cause"
},
{
"path": "src/Gui/SoDatumLabel.cpp",
"from_line": 551,
"to_line": 553,
"role": "other-site"
},
{
"path": "src/Gui/SoDatumLabel.cpp",
"from_line": 694,
"to_line": 696,
"ro... | The head has `float range = endAngle - startAngle; if (range < 0.) { range += 2.0 * static_cast<float>(M_PI); }` at SoDatumLabel.cpp:82-84. At :552 and :695 it has `float endangle = atan2f(...); if (endangle < startangle) { endangle += 2. * static_cast<float>(M_PI); }`. Under the usual arithmetic conversions, a double ... | To count, a comment must say that `2.0`/`2.` is a double literal, so the expression stays double. It must also say either that the double-to-float conversion/warning is not fixed, or that `2.0F`/`2.0f` is needed. Pointing at any of the three sites counts. Near-misses that do not count: comments only about float vs doub... | true | [] | [
"10",
"11"
] | [] | null | null | null | FreeCAD/FreeCAD | 699b45c086f53858897aa8c688bbedaf570c644f |
FreeCAD__FreeCAD@699b45c | dev10 | 2 | D2 | StackWalker prints DWORD (unsigned long) arguments with the signed %ld specifier instead of %lu | The PR replaces `%d` with `%ld` in every StackWalker diagnostic format that takes DWORD arguments: module size and result, the file-version words v1..v4, entry.lineNumber, GetLastError `gle`, symOptions, and the OS-version fields. DWORD is `unsigned long`, so the matching specifier is `%lu`. As written, specifier and a... | incomplete-fix | low | [
{
"path": "src/Base/StackWalker.cpp",
"from_line": 1473,
"to_line": 1473,
"role": "cause"
},
{
"path": "src/Base/StackWalker.cpp",
"from_line": 1489,
"to_line": 1490,
"role": "other-site"
},
{
"path": "src/Base/StackWalker.cpp",
"from_line": 1540,
"to_line": 1540,... | StackWalker.cpp:1455-1462 has `void StackWalker::OnLoadModule(..., DWORD size, DWORD result, ...)`, and :1473 formats them with `"... size: %ld (result: %ld) ..."`. At :1483-1486, `DWORD v4 = (DWORD)(fileVersion & 0xFFFF); ...` is printed with `"%ld.%ld.%ld.%ld"` at :1490. `entry.lineNumber` (DWORD) uses `%ld` at :1540... | To count, a comment must say that the new `%ld` is signed while the DWORD argument is unsigned (unsigned long), and that `%lu` or another unsigned conversion is the right specifier. Any one of the listed lines counts. Near-misses that do not count: claims that `%ld` is the wrong size, since long and DWORD are both 32-b... | true | [] | [
"1",
"2",
"3",
"4",
"5",
"6"
] | [
"R1",
"R2",
"R3",
"R4",
"R5",
"R6",
"R7",
"R8",
"R9"
] | null | null | null | FreeCAD/FreeCAD | 699b45c086f53858897aa8c688bbedaf570c644f |
CherryHQ__cherry-studio@83a2594 | dev10 | 2 | D1 | useSystemAgents / useRemoteSystemAgents call hooks conditionally (rules-of-hooks violation): CI lint fails, and hook order differs between the local and remote sources | useSystemAgents returns `useLocalSystemAgents()` or `useRemoteSystemAgents()` from different `if` branches. The two hooks call different hook sequences: local calls useState, then useRuntime (a selector hook), then useEffect; remote calls useState, then useEffect. useRemoteSystemAgents also calls `useEffect` after an e... | build | high | [
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": 19,
"to_line": 30,
"role": "cause"
},
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": 32,
"to_line": 40,
"role": "cause"
},
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line... | index.ts:20-29 `const { defaultaides } = store.getState().settings; if (defaultaides === null || defaultaides === undefined) { ...; return useLocalSystemAgents(); } if (!defaultaides.startsWith('http')) { return useLocalSystemAgents(); } else { return useRemoteSystemAgents(); }`. index.ts:36-40 `if (defaultaides === nu... | To count, a comment must say one of these: the local and remote hooks are selected/called conditionally; the two branches have different hook sequences, so hook order changes and React can throw a hook-order error; useEffect is called after an early return; or this violates the Rules of Hooks / fails react-hooks lint. ... | true | [] | [] | [
"R14",
"R15",
"R16",
"R17",
"R18"
] | null | null | null | CherryHQ/cherry-studio | 83a25941859179b635105c9b4fd79d5542e3701e |
CherryHQ__cherry-studio@83a2594 | dev10 | 2 | D2 | New settings UI strings exist only in zh-CN; en-US (fallback), ja, ru, zh-TW and the machine-translated locales show raw i18n keys | The new menu entry and panel call t('settings.data.default_aides.title'), '...repo_url' and '...repo_url_placeholder'. Only zh-cn.json defines `settings.data.default_aides`. en-us, ja-jp, ru-ru and zh-tw instead add a flat, unused `settings.defaultaides` string at the wrong path under a different name. en-US is the fal... | bug | medium | [
{
"path": "src/renderer/src/i18n/locales/en-us.json",
"from_line": 1391,
"to_line": 1391,
"role": "cause"
},
{
"path": "src/renderer/src/i18n/locales/ja-jp.json",
"from_line": 1391,
"to_line": 1391,
"role": "other-site"
},
{
"path": "src/renderer/src/i18n/locales/ru-ru.js... | DataSettings.tsx:116 `title: 'settings.data.default_aides.title'`, rendered at :180 `title={t(item.title || '')}`. DefaultaidesSettings.tsx:26/29/36 use `t('settings.data.default_aides.title' | '.repo_url' | '.repo_url_placeholder')`. Parsing the head JSON gives: en-us/ja-jp have `settings.defaultaides` = 'Built-in'/'内... | To count, a comment must say that the keys used by the new UI (`settings.data.default_aides.*`) are missing from the non-zh-CN locales, or that en/ja/ru/zh-TW define `defaultaides` at a different name/path, so users of those languages (and the en-US fallback) see raw keys or untranslated labels. Pointing at any one of ... | true | [] | [
"0",
"1",
"2",
"4"
] | [
"R1",
"R2",
"R3",
"R4",
"R5",
"R6",
"R7",
"R8",
"R29",
"R30",
"R32",
"R33"
] | null | null | null | CherryHQ/cherry-studio | 83a25941859179b635105c9b4fd79d5542e3701e |
CherryHQ__cherry-studio@83a2594 | dev10 | 2 | D3 | A failed remote load leaves the system assistant list empty; no fallback to the bundled agents despite the PR's 'fallback mechanism' claim | With an http URL configured, useRemoteSystemAgents starts from `[]`. Any failure (offline, non-2xx, invalid JSON) is caught and only console.error'd. The bundled resources/data/agents.json is never read. The Agents page and the Add Assistant popup then show no built-in assistants at all, and the user gets no indication... | incomplete-fix | medium | [
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": 50,
"to_line": 52,
"role": "cause"
},
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": 33,
"to_line": 33,
"role": "other-site"
},
{
"path": "src/renderer/src/pages/agents/AgentsPage.tsx",
... | index.ts:33 `const [agents, setAgents] = useState<Agent[]>([]);`; :45-47 `if (!response.ok) { throw new Error(...) }`; :50-52 `} catch (error) { console.error("Failed to load agents:", error); }`; :58 `return agents;`. There is no call into the local loader or `_agents` on failure. Compare useLocalSystemAgents at :61-7... | To count, a comment must say that when the remote fetch/parse fails, the built-in/bundled assistants are not used as a fallback and the system agent list stays empty. Does NOT count: a generic 'handle errors / show an error toast' comment that does not mention losing the bundled list; payload validation (D4); abort/cle... | true | [] | [] | [
"R24",
"R25",
"R26",
"R27"
] | null | null | null | CherryHQ/cherry-studio | 83a25941859179b635105c9b4fd79d5542e3701e |
CherryHQ__cherry-studio@83a2594 | dev10 | 2 | D4 | Remote JSON is cast to Agent[] without runtime validation; a wrongly shaped payload crashes the Agents page and the Add Assistant popup | `await response.json() as Agent[]` publishes whatever the user-configured URL returns. If it is a JSON object (for example a wrapped `{agents:[...]}` or an API response), AgentsPage's effect calls `groupByCategories(systemAgents)`, and `data.forEach` throws. AddAssistantPopup spreads `...systemAgents` inside useMemo du... | bug | medium | [
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": 48,
"to_line": 49,
"role": "cause"
},
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": 77,
"to_line": 80,
"role": "symptom"
},
{
"path": "src/renderer/src/pages/agents/AgentsPage.tsx",
"f... | index.ts:48-49 `const agentsData = await response.json() as Agent[]; setAgents(agentsData);`. AgentsPage.tsx:33 `const systemAgentsGroupList = groupByCategories(systemAgents)` leads to index.ts:79-80 `data.forEach((item) => { item.group?.forEach(`. AddAssistantPopup.tsx:38 `const allAgents = [...userAgents, ...systemAg... | To count, a comment must say that the fetched remote JSON is trusted/cast as Agent[] without checking its shape, and that a non-array or malformed payload breaks the consumers (a crash in groupByCategories/forEach/spread/name access) or should be treated as a load error. Does NOT count: the no-fallback-on-failure point... | true | [] | [] | [
"R21",
"R22",
"R23"
] | null | null | null | CherryHQ/cherry-studio | 83a25941859179b635105c9b4fd79d5542e3701e |
CherryHQ__cherry-studio@83a2594 | dev10 | 2 | D5 | The new setting's initial value is the raw i18n key 'settings.defaultaides', shown verbatim in the URL input | initialState sets `defaultaides: 'settings.defaultaides'`: a translation key stored as the setting's value and never passed through t(). On a fresh install the Assistant URL input binds directly to it and displays the literal 'settings.defaultaides'. The 'Built-in' strings added to the locales are never rendered. The v... | bug | low | [
{
"path": "src/renderer/src/store/settings.ts",
"from_line": 209,
"to_line": 210,
"role": "cause"
},
{
"path": "src/renderer/src/pages/settings/DataSettings/DefaultaidesSettings.tsx",
"from_line": 16,
"to_line": 37,
"role": "symptom"
}
] | settings.ts:210 `defaultaides: 'settings.defaultaides', // 默认智能体`. DefaultaidesSettings.tsx:16 `const Aides = useSelector((state: RootState) => state.settings.defaultaides)` and :33 `value={Aides || ''}`, with no t(). index.ts:25 `if (!defaultaides.startsWith('http')) { return useLocalSystemAgents(); }`. | To count, a comment must say that the default/initial value is an i18n key (or an internal-looking literal) instead of an empty/null/real value, and that it is shown to users in the input or only works because it is not http. Does NOT count: comments about the missing `settings.data.default_aides` translations (D2); a ... | true | [] | [
"16"
] | [
"R35",
"R36"
] | null | null | null | CherryHQ/cherry-studio | 83a25941859179b635105c9b4fd79d5542e3701e |
CherryHQ__cherry-studio@83a2594 | dev10 | 2 | D6 | useSystemAgents reads the source setting via store.getState() during render: consumers never subscribe to changes | The source selection reads `store.getState().settings.defaultaides` instead of subscribing via useSelector/useAppSelector. A change to the setting therefore never re-renders the hook's consumers, and a mounted consumer keeps the old source until something unrelated re-renders it. This is latent today, because the two c... | maintainability | low | [
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": 20,
"to_line": 20,
"role": "cause"
},
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": 34,
"to_line": 35,
"role": "other-site"
}
] | index.ts:20 `const { defaultaides } = store.getState().settings` and :34 the same again inside useRemoteSystemAgents. The writer is DefaultaidesSettings.tsx:18-19 `dispatch(setefaultAides(e.target.value))`. Consumers are AgentsPage.tsx:29 and AddAssistantPopup.tsx:32. App.tsx routes have no keep-alive, so AgentsPage re... | To count, a comment must say that store.getState() is a non-reactive snapshot, so consumers do not update/re-fetch when the URL setting changes, and should use useSelector/useAppSelector. Does NOT count: a comment that only flags the conditional hook calls or hook order (that is D1). A comment that makes both points co... | true | [] | [
"6"
] | [
"R9",
"R10",
"R11",
"R12",
"R13"
] | null | null | {"bots": ["Sourcery"], "dataset_refs": [6], "references": ["src/renderer/src/pages/agents/index.ts:19-19:2956a397d0b4"], "hunt": true, "note": "Not scored. The cited AACR reference is a reworded review-bot comment from the original PR; the defect itself was checked against the code."} | CherryHQ/cherry-studio | 83a25941859179b635105c9b4fd79d5542e3701e |
CherryHQ__cherry-studio@83a2594 | dev10 | 2 | D7 | Remote agents are fetched on every mount after a hard-coded 500 ms sleep and are never cached | Unlike the local path, which caches in the module-level `_agents`, useRemoteSystemAgents starts from `[]`, sleeps 500 ms for no reason, and re-fetches the URL every time AgentsPage mounts or the Add Assistant popup opens. Each open costs at least 500 ms plus a network round-trip, during which the list holds only user a... | performance | low | [
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": 41,
"to_line": 56,
"role": "cause"
}
] | index.ts:33 `useState<Agent[]>([])`; :43 `await new Promise(resolve => setTimeout(resolve, 500));`; :44 `await fetch(resourcesPath)`. Nothing writes `_agents`. Compare :67 `if (!resourcesPath || _agents.length > 0) return` in the local hook. | To count, a comment must say that the artificial 500 ms delay slows every load, or that the remote list is refetched on every mount with no caching (unlike the local `_agents` cache). Does NOT count: a comment that only asks for an AbortController/cleanup or warns about setState after unmount (in React 19 that is a no-... | true | [] | [] | [
"R20"
] | null | null | null | CherryHQ/cherry-studio | 83a25941859179b635105c9b4fd79d5542e3701e |
CherryHQ__cherry-studio@83a2594 | dev10 | 2 | D8 | No redux-persist migration for the new settings field: upgraded installs get undefined and log console.error on every render | The store persists `settings` with redux-persist's default level-1 merge, so a rehydrated settings object replaces initialState.settings. The repo adds each new settings field through a numbered migration in migrate.ts plus a version bump. This PR adds neither, so every existing install has `defaultaides === undefined`... | compat | low | [
{
"path": "src/renderer/src/store/index.ts",
"from_line": 41,
"to_line": 50,
"role": "cause"
},
{
"path": "src/renderer/src/store/migrate.ts",
"from_line": 1232,
"to_line": 1242,
"role": "other-site"
},
{
"path": "src/renderer/src/pages/agents/index.ts",
"from_line": ... | store/index.ts:41-47 `persistReducer({ key: 'cherry-studio', storage, version: 96, blacklist: ['runtime', 'messages'], migrate }, rootReducer)` has no stateReconciler, so it uses the default autoMergeLevel1. migrate.ts has no entry setting `state.settings.defaultaides`; repo convention is shown by e.g. '94': `state.set... | To count, a comment must say that there is no migration/persist version bump for `defaultaides`, so existing users' persisted settings lack it (undefined), with any consequence such as the error log or an inconsistent default. Does NOT count: the raw-i18n-key default value (D5); the duplicated null check (ref 7). | true | [] | [] | [] | null | null | null | CherryHQ/cherry-studio | 83a25941859179b635105c9b4fd79d5542e3701e |
CherryHQ__cherry-studio@83a2594 | dev10 | 2 | D9 | The exported Redux action is misspelled `setefaultAides` | The new reducer and exported action creator are named `setefaultAides`, missing the 'D' of Default. It becomes part of the settings slice's public API. Anyone searching for or importing `setDefaultAides` will not find it, and renaming it after merge means churn across consumers. | maintainability | low | [
{
"path": "src/renderer/src/store/settings.ts",
"from_line": 459,
"to_line": 461,
"role": "cause"
},
{
"path": "src/renderer/src/store/settings.ts",
"from_line": 576,
"to_line": 576,
"role": "other-site"
},
{
"path": "src/renderer/src/pages/settings/DataSettings/Defaultai... | settings.ts:459 `setefaultAides: (state, action: PayloadAction<string>) => {`; :576 `setefaultAides,` in the export list; DefaultaidesSettings.tsx:4 `import { setefaultAides } from '@renderer/store/settings'`. | To count, a comment must point out the `setefaultAides` typo (missing D) in the action/reducer name. Does NOT count: casing preferences for `defaultaides` / `DefaultaidesSettings` (taste, excluded). | false | [] | [
"12",
"17",
"18"
] | [
"R31",
"R37"
] | null | null | {"bots": ["Sourcery"], "dataset_refs": [17], "references": ["src/renderer/src/store/settings.ts:459-459:12e8c1434ab6"], "hunt": false, "note": "Not scored. The cited AACR reference is a reworded review-bot comment from the original PR; the defect itself was checked against the code."} | CherryHQ/cherry-studio | 83a25941859179b635105c9b4fd79d5542e3701e |
bluewave-labs__Checkmate@29e03a6 | dev10 | 2 | D1 | Manual and scheduled runs use different English codes (en vs gb); one default path writes a stray en.json and leaves gb.json stale, the other asks POEditor for 'gb' | The workflow_dispatch input defaults to "tr,en", but the env fallback that applies on the nightly schedule is 'tr,gb'. The script's own default is 'tr,en' and the README says the default is tr and gb. The script writes temp/<code>.json verbatim and the workflow copies it into src/locales, while the app is keyed on "gb"... | bug | medium | [
{
"path": ".github/workflows/poeditor-sync.yml",
"from_line": 7,
"to_line": 10,
"role": "cause"
},
{
"path": ".github/workflows/poeditor-sync.yml",
"from_line": 60,
"to_line": 60,
"role": "other-site"
},
{
"path": ".github/scripts/download-translations.js",
"from_line... | poeditor-sync.yml:10 `default: "tr,en"` vs :60 `LANGUAGES: ${{ github.event.inputs.languages || 'tr,gb' }}`. The fallback applies only when the input is empty, which is always the case on schedule. download-translations.js:12 `(process.env.LANGUAGES || 'tr,en').split(',')`; :64 `path.join(process.cwd(), 'temp', `${lang... | To count, a comment must point out the en-vs-gb language-code mismatch between any two of: the manual input default (tr,en), the scheduled fallback (tr,gb), the script default (tr,en) and the README (tr,gb). Stronger hits add the consequence: the app uses gb.json, so the manual default writes en.json and leaves gb stal... | true | [] | [
"3",
"6",
"7"
] | [
"R5",
"R6",
"R7",
"R8",
"R12"
] | null | null | {"bots": ["CodeRabbit"], "dataset_refs": [6, 7], "references": [".github/workflows/README.md:25-25:ef424660ad45", ".github/workflows/poeditor-sync.yml:60-61:dc5b3f20fd61"], "hunt": true, "note": "Not scored. The cited AACR reference is a reworded review-bot comment from the original PR; the defect itself was checked ag... | bluewave-labs/Checkmate | 29e03a6294edfe43b49eba20fe49099cef601d34 |
bluewave-labs__Checkmate@29e03a6 | dev10 | 2 | D2 | key_value_json export is written unfiltered, so untranslated terms land in tr.json as "" and render blank instead of falling back to gb | The default key_value_json path saves POEditor's export exactly as received. The export request passes no filters or fallback_language, and POEditor includes untranslated terms with empty-string values. Today tr.json holds only the translated subset (105 lines vs 178 in gb.json), so missing Turkish keys fall back to gb... | bug | medium | [
{
"path": ".github/scripts/download-translations.js",
"from_line": 30,
"to_line": 35,
"role": "cause"
},
{
"path": ".github/scripts/download-translations.js",
"from_line": 49,
"to_line": 65,
"role": "symptom"
}
] | The export body is only `{api_token, id, language, type}` (script:29-35): no `filters: 'translated'` and no `fallback_language`. Script:50 `let formattedTranslations = translations;`. Only the `Array.isArray` branch (:53-60) filters, via `if (item.term && item.definition)`, and :65 writes the object unchanged. src/Util... | To count, a comment must say that untranslated terms come back from POEditor as empty strings, are written into the locale file, and show blank text instead of falling back to gb/English. Acceptable fixes it might propose: filter empty values, or use filters=translated or fallback_language. A near-miss that does not co... | true | [] | [] | [] | null | null | null | bluewave-labs/Checkmate | 29e03a6294edfe43b49eba20fe49099cef601d34 |
bluewave-labs__Checkmate@29e03a6 | dev10 | 2 | D3 | One-way download sync overwrites locale files wholesale, deleting keys developers add in the repo before they reach POEditor | The workflow only downloads. It replaces src/locales/<lang>.json with POEditor's export (cp temp/* src/locales/) and pushes the result straight to the branch. The script does no merge with the existing file and no upload. Developers in this repo add strings by editing gb.json and tr.json directly in PRs, so every sync ... | data | low | [
{
"path": ".github/workflows/poeditor-sync.yml",
"from_line": 80,
"to_line": 92,
"role": "cause"
},
{
"path": ".github/scripts/download-translations.js",
"from_line": 63,
"to_line": 65,
"role": "other-site"
}
] | poeditor-sync.yml:83 `cp -r temp/* src/locales/`, :90-92 `git add src/locales/*.json` / `git commit` / `git push`. script:65 `fs.writeJson(outputPath, formattedTranslations, ...)` writes only what POEditor returned. History at the merge base shows direct locale edits: d40507e (+30 gb.json), 93462d7 (+34 gb.json), a72d0... | To count, a comment must say the sync replaces the repo's locale files with the POEditor export, with no merge and no upload of repo-side terms, so keys added directly in the repo are lost or reverted on the next run. Near-misses that do not count: the 'empty {} export' comments (R13-R16), which are about an empty expo... | true | [] | [] | [] | null | null | null | bluewave-labs/Checkmate | 29e03a6294edfe43b49eba20fe49099cef601d34 |
bluewave-labs__Checkmate@29e03a6 | dev10 | 2 | D4 | Workflow pushes with GITHUB_TOKEN but requests no contents: write permission | The Commit step runs `git push` with the checkout's GITHUB_TOKEN, but the workflow and job declare no `permissions:` block. On a repo or org whose default workflow token is read-only (GitHub's default for newer orgs and repos), the job downloads and commits and then fails on the push with a 403. Translations are never ... | build | low | [
{
"path": ".github/workflows/poeditor-sync.yml",
"from_line": 20,
"to_line": 28,
"role": "cause"
},
{
"path": ".github/workflows/poeditor-sync.yml",
"from_line": 86,
"to_line": 92,
"role": "symptom"
}
] | poeditor-sync.yml has no `permissions:` key anywhere. Line 28 is `token: ${{ secrets.GITHUB_TOKEN }}` and line 92 is `git push`. There are no other workflows in the repo at the merge base, so nothing shows the repo's default token setting. | To count, a comment must say the workflow needs `permissions: contents: write`, or equivalent, for the push, because the default GITHUB_TOKEN may be read-only. Near-misses that do not count: comments about which branch is pushed to (R19-R22), and token-exposure or supply-chain comments (R11). | true | [] | [] | [
"R9",
"R17",
"R18",
"R23"
] | null | null | null | bluewave-labs/Checkmate | 29e03a6294edfe43b49eba20fe49099cef601d34 |
bluewave-labs__Checkmate@29e03a6 | dev10 | 2 | D5 | LANGUAGES is split on ',' without trimming or dropping empties, so 'tr, en' or a trailing comma requests ' en' or '' | The workflow_dispatch languages input is free text, and the script only splits it on ','. An operator who types 'tr, en' or leaves a trailing comma sends ' en' or '' as the POEditor language. That either fails the whole run (exit 1 after the first bad export) or writes an oddly named temp/' en'.json, which is copied in... | bug | low | [
{
"path": ".github/scripts/download-translations.js",
"from_line": 12,
"to_line": 12,
"role": "cause"
},
{
"path": ".github/workflows/poeditor-sync.yml",
"from_line": 7,
"to_line": 10,
"role": "other-site"
}
] | script:12 `const LANGUAGES = (process.env.LANGUAGES || 'tr,en').split(',');` with no `.map(s => s.trim()).filter(Boolean)`. The values are used verbatim at :38 `language: language` and :64 `` `${language}.json` ``. The input at workflow:7-10 is free text described as 'comma separated'. | To count, a comment must say the language list is not trimmed or filtered, so spaces or empty entries produce invalid or oddly named language codes. Near-misses that do not count: the en/gb default mismatch (D1) and generic 'validate env vars' comments (dataset ref 1). | false | [] | [
"2"
] | [] | null | null | null | bluewave-labs/Checkmate | 29e03a6294edfe43b49eba20fe49099cef601d34 |
bluewave-labs__Checkmate@29e03a6 | dev10 | 2 | D6 | json (array) export conversion keys on item.term only, ignoring context, so nested keys collapse and collide | The workflow offers format=json as a supported input. For the array that export returns, the script builds a flat map keyed only by item.term and ignores item.context. POEditor stores the repo's nested keys (notifications.slack.label, notifications.discord.label, ...) as a term plus a parent-path context. Terms like la... | bug | low | [
{
"path": ".github/scripts/download-translations.js",
"from_line": 53,
"to_line": 60,
"role": "cause"
},
{
"path": ".github/workflows/poeditor-sync.yml",
"from_line": 11,
"to_line": 14,
"role": "other-site"
}
] | script:56-58 `translations.forEach(item => { if (item.term && item.definition) { formattedTranslations[item.term] = item.definition; } })`, which never reads context. workflow:12 `description: "Export format (key_value_json or json)"`. src/locales/gb.json nests `"notifications": { "slack": { "label" ... }, "discord": {... | To count, a comment must say the array/json conversion drops context or nesting, so nested keys are flattened or terms collide and the locale no longer matches the nested lookups. A near-miss that does not count is R2, which only asks whether definitions can be objects (plurals). Comments about dropping empty definitio... | true | [] | [] | [] | null | null | null | bluewave-labs/Checkmate | 29e03a6294edfe43b49eba20fe49099cef601d34 |
mudler__LocalAI@e466450 | dev10 | 2 | D1 | Non-streaming /v1/completions now always reports 0 prompt/completion/total tokens | In CompletionEndpoint's non-streaming loop, the PR deleted `totalTokenUsage.Prompt += tokenUsage.Prompt` and `totalTokenUsage.Completion += tokenUsage.Completion` and put the two timing accumulations in their place. totalTokenUsage's token fields therefore stay at their zero value, and the response's usage.prompt_token... | bug | high | [
{
"path": "core/http/endpoints/openai/completion.go",
"from_line": 183,
"to_line": 184,
"role": "cause"
},
{
"path": "core/http/endpoints/openai/completion.go",
"from_line": 188,
"to_line": 192,
"role": "symptom"
},
{
"path": "core/http/endpoints/openai/completion.go",
... | Merge base completion.go (non-streaming loop) had `totalTokenUsage.Prompt += tokenUsage.Prompt` / `totalTokenUsage.Completion += tokenUsage.Completion`. At head, lines 183-184 are only `totalTokenUsage.TimingTokenGeneration += tokenUsage.TimingTokenGeneration` / `totalTokenUsage.TimingPromptProcessing += tokenUsage.Tim... | To count, a comment must say that the non-streaming completion path no longer accumulates Prompt/Completion token counts, because the timing lines replaced them, so the reported prompt_tokens/completion_tokens/total_tokens are 0 (or wrong). Pointing at completion.go ~183-184 or the usage block at 188-192 with that mech... | true | [] | [
"12"
] | [
"R22",
"R23",
"R24",
"R25",
"R26"
] | null | null | null | mudler/LocalAI | e466450c007539a2b1e4d2951c6756ff004a2b52 |
mudler__LocalAI@e466450 | dev10 | 2 | D2 | Machine tag defaults to the server hostname and is sent to every client on most endpoints | WithMachineTag falls back to os.Hostname() whenever LOCALAI_MACHINE_TAG is unset, and the CLI always applies it. About 30 handlers then emit it unconditionally as the LocalAI-Machine-Tag response header. As a result, every LocalAI deployment, not only P2P users who opt in, discloses its internal hostname to any API cli... | security | low | [
{
"path": "core/config/application_config.go",
"from_line": 100,
"to_line": 108,
"role": "cause"
},
{
"path": "core/cli/run.go",
"from_line": 111,
"to_line": 111,
"role": "other-site"
},
{
"path": "core/http/endpoints/openai/chat.go",
"from_line": 174,
"to_line": ... | application_config.go:100-107: `func WithMachineTag(tag string) AppOption { return func(o *ApplicationConfig) { if tag == "" { hostname, _ := os.Hostname(); tag = hostname }; o.MachineTag = tag } }`. run.go:111 always calls `config.WithMachineTag(r.MachineTag)`. Handlers such as chat.go:174 `c.Set("LocalAI-Machine-Tag"... | To count, a comment must say that the hostname (os.Hostname default) is exposed to clients by default or unconditionally in a response header, as information disclosure, and/or that the machine-tag header should be opt-in or omitted when no tag is configured. Near-misses that do NOT count: 'the os.Hostname error is ign... | true | [] | [
"16"
] | [] | null | null | null | mudler/LocalAI | e466450c007539a2b1e4d2951c6756ff004a2b52 |
mudler__LocalAI@e466450 | dev10 | 2 | D3 | Machine-tag header set by hand in each handler instead of a middleware; coverage already inconsistent | Instead of one middleware, the LocalAI-Machine-Tag response header is set by a hand-copied `c.Set(...)` line at the top of about 30 individual handlers. Coverage is already inconsistent. The ElevenLabs text-to-speech and sound-generation inference endpoints, /v1/tokenize, /stores/*, the gallery, backend-monitor, /syste... | maintainability | low | [
{
"path": "core/http/endpoints/openai/assistant.go",
"from_line": 79,
"to_line": 79,
"role": "cause"
},
{
"path": "core/http/endpoints/openai/files.go",
"from_line": 86,
"to_line": 86,
"role": "other-site"
},
{
"path": "core/http/endpoints/openai/list.go",
"from_line"... | `git grep LocalAI-Machine-Tag` at head matches assistant.go (9 times: 79, 141, 251, 284, 314, 361, 419, 459, 514), files.go (5 times), chat.go (twice: 174 and 330), and rerank.go, localai/tts.go, vad.go, completion.go, edit.go, embeddings.go, image.go, list.go and transcription.go (once each). It has no match in core/h... | To count, a comment must say one of two things. Either: the header is duplicated per handler and belongs in one shared middleware or route scope, with the drift risk. Or: specific routes (ElevenLabs TTS/sound-generation, tokenize, stores, etc.) are missing the machine-tag header, so coverage is inconsistent. Either hal... | true | [] | [
"15"
] | [
"R4",
"R5",
"R6",
"R7",
"R27"
] | null | null | null | mudler/LocalAI | e466450c007539a2b1e4d2951c6756ff004a2b52 |
mudler__LocalAI@e466450 | dev10 | 2 | D4 | New --machine-tag CLI flag ships with placeholder help text 'TODO: write a help string' | The new MachineTag option on RunCMD has the literal help text "TODO: write a help string" and no `group:` tag. `local-ai run --help` therefore shows a placeholder to operators, and the flag's purpose is undocumented. Unlike its neighbours, it also lacks the un-prefixed env alias, a MACHINE_TAG alongside LOCALAI_MACHINE... | maintainability | low | [
{
"path": "core/cli/run.go",
"from_line": 74,
"to_line": 74,
"role": "cause"
}
] | run.go:74: `MachineTag string `env:"LOCALAI_MACHINE_TAG" help:"TODO: write a help string"``. Neighbouring flags, e.g. run.go:73 `LoadToMemory []string `env:"LOCALAI_LOAD_TO_MEMORY,LOAD_TO_MEMORY" help:"A list of models to load into memory at startup" group:"models"``, all carry a real help string, a group and an alias. | To count, a comment must point out that the new MachineTag flag's help string is a TODO placeholder (user-visible in --help) or that it is otherwise undocumented or unfinished. A comment only about the missing group or env alias, without the placeholder, is a weak match. Near-misses: general 'document the timing units'... | true | [] | [
"6"
] | [] | null | null | null | mudler/LocalAI | e466450c007539a2b1e4d2951c6756ff004a2b52 |
alibaba__spring-ai-alibaba@4bc7305 | dev10 | 2 | D1 | move_to_and_click scrolls the page, then clicks the unadjusted (x,y), so it hits the wrong element | The action now calls window.scrollTo(x - viewportWidth/2, y - viewportHeight/2) and then still clicks at the original (x, y). Playwright's mouse.click uses viewport coordinates, and callers get (x, y) from get_element_position, which is Locator.boundingBox() and so also viewport-relative. Whenever the scroll moves the ... | bug | high | [
{
"path": "spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/tool/browser/actions/MoveToAndClickAction.java",
"from_line": 48,
"to_line": 52,
"role": "cause"
},
{
"path": "spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/tool/browser/actions/M... | MoveToAndClickAction.java:49-52 `int scrollX = Math.max(0, x - page.viewportSize().width / 2); int scrollY = Math.max(0, y - page.viewportSize().height / 2); page.evaluate("(args) => window.scrollTo({left: args[0], top: args[1], behavior: 'instant'})", new Object[] { scrollX, scrollY });` then :69-70 `page.mouse().move... | To count, a comment must say that the new scroll moves the page before the click, but the click still uses the same (x,y), which are viewport coordinates from boundingBox/get_element_position. The click therefore lands on the wrong element (or the coordinates are not adjusted by the scroll offset). It is enough to note... | true | [] | [
"6"
] | [
"R13",
"R14",
"R15",
"R16",
"R17"
] | null | null | null | alibaba/spring-ai-alibaba | 4bc73055c7b33f53433d9725eab5010b85a59632 |
alibaba__spring-ai-alibaba@4bc7305 | dev10 | 2 | D2 | input_text falls back to a raw JS el.value assignment and reports success for fields that rejected input | When both Playwright fill attempts fail, the action runs `el.value = value; el.dispatchEvent(new Event('input'))` and returns "成功输入" (success). Fill fails on disabled, readonly and hidden fields and on non-text types such as checkbox or radio. The JS fallback skips the editability and type checks, so it forces a value ... | bug | medium | [
{
"path": "spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/tool/browser/actions/InputTextAction.java",
"from_line": 76,
"to_line": 88,
"role": "cause"
},
{
"path": "spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/tool/browser/actions/InputT... | InputTextAction.java:62-75 `try { elementLocator.fill(""); ... elementLocator.pressSequentially(text, options); } catch (Exception e) { try { elementLocator.fill(""); elementLocator.fill(text); } catch (Exception e2) { ... elementLocator.evaluate("(el, value) => { el.value = value; el.dispatchEvent(new Event('input', {... | To count, a comment must say that the JS `el.value` fallback bypasses Playwright's editability/actionability (or type) checks and still returns success. The result is a false success for disabled, readonly or hidden inputs, or input that is not accepted, or form handlers that never see the change. Near-misses that do n... | true | [] | [] | [
"R10",
"R11",
"R12"
] | null | null | null | alibaba/spring-ai-alibaba | 4bc73055c7b33f53433d9725eab5010b85a59632 |
alibaba__spring-ai-alibaba@4bc7305 | dev10 | 2 | D3 | navigate prepends https:// to every URL without a lowercase http(s) prefix, breaking other schemes | The new auto-prefix rewrites any URL that does not start with lowercase "http://" or "https://". about:blank becomes https://about:blank, file:///tmp/x.html becomes https://file:///tmp/x.html, and data:, ftp:// and chrome:// URLs are broken the same way. An uppercase HTTP://example.com becomes https://HTTP://example.co... | bug | low | [
{
"path": "spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/tool/browser/actions/NavigateAction.java",
"from_line": 41,
"to_line": 46,
"role": "cause"
}
] | NavigateAction.java:42-44 `if (!url.startsWith("http://") && !url.startsWith("https://")) { url = "https://" + url; }` then :46 `page.navigate(url, ...)`. BrowserUseTool.java:223-224 forwards the URL the agent supplies directly to NavigateAction. The merge base passed the URL to page.navigate unchanged. | To count, a comment must say the prefix check only recognises (lowercase) http/https, so URLs that already have another scheme get mangled. Examples are about:, file:, data:, ftp:, or uppercase HTTP. The fix is to prefix only when no scheme is present. A comment that only mentions protocol-relative '//host' also counts... | true | [] | [
"9"
] | [
"R18",
"R19"
] | null | null | null | alibaba/spring-ai-alibaba | 4bc73055c7b33f53433d9725eab5010b85a59632 |
alibaba__spring-ai-alibaba@4bc7305 | dev10 | 2 | D4 | Agent-save fix uses a " " sentinel instead of fixing the inverted `||` guard, so the deprecated-prompt branch fires on every read and write | The NPE the PR works around comes from mergePrompts' guard `getSystemPrompt() != null || !getSystemPrompt().trim().isEmpty()`. That guard is true for every non-null value and dereferences null. Rather than fix it, the PR makes the field never null (a " " default, and " " written back as the 'cleared' value). The cleare... | incomplete-fix | low | [
{
"path": "spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/dynamic/agent/service/AgentServiceImpl.java",
"from_line": 190,
"to_line": 190,
"role": "cause"
},
{
"path": "spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/dynamic/agent/service/A... | AgentServiceImpl.java:190 `if (entity.getSystemPrompt() != null || !entity.getSystemPrompt().trim().isEmpty()) {` ... :197-199 `log.warn("Agent[{}]的SystemPrompt不为空, 但属性已经废弃...本次将agent 的内容合并... 当前制定的值: {}", agentName, nextPrompt);` :200 `entity.setSystemPrompt(" ");`. DynamicAgentEntity.java:45-47 `@Column(length = 4000... | To count, a comment must identify the mergePrompts guard at :190 (`!= null || !...trim().isEmpty()`) as the real defect the " " sentinel papers over, so it should be a null-safe && / isBlank check. It may name either consequence: the misleading deprecation warning firing for every agent on every read or save, or the gu... | false | [] | [] | [
"R1",
"R2",
"R3",
"R4",
"R5",
"R6",
"R7"
] | null | null | null | alibaba/spring-ai-alibaba | 4bc73055c7b33f53433d9725eab5010b85a59632 |
alibaba__spring-ai-alibaba@4bc7305 | dev10 | 2 | D5 | Debug marker cleanup is not guaranteed, and its failure can turn a successful click into a reported failure | In debug mode (manus.browser.debug=true) the red marker is removed by a page.evaluate placed in the same try block right after mouse.click, not in a finally block. If the click's navigation has already destroyed the page's execution context, that evaluate throws. The catch then returns "Failed to click at position" for... | bug | low | [
{
"path": "spring-ai-alibaba-jmanus/src/main/java/com/alibaba/cloud/ai/example/manus/tool/browser/actions/MoveToAndClickAction.java",
"from_line": 54,
"to_line": 82,
"role": "cause"
}
] | MoveToAndClickAction.java:57-65 inject: `let dot = document.getElementById(id); if (!dot) { dot = document.createElement('div'); ... document.body.appendChild(dot); }`. Then :69-70 `page.mouse().move(x, y); page.mouse().click(x, y);`, then :73-77 `if (isDebug) { page.evaluate("(id) => { const dot = document.getElementB... | To count, a comment must say either that the marker removal is not in a finally or guarded cleanup, so the dot leaks when the click path throws, or that the post-click removal evaluate can itself throw (for example after navigation) and make a successful click report failure. Near-misses that do not count: 'extract the... | true | [] | [
"8"
] | [] | null | null | null | alibaba/spring-ai-alibaba | 4bc73055c7b33f53433d9725eab5010b85a59632 |
openai__codex@8c952af | dev10 | 2 | D1 | codex-core unit tests no longer compile: `store` is removed from the ResponsesApiRequest test literals but the field still exists | The PR keeps `pub(crate) store: bool` on `ResponsesApiRequest` (client_common.rs:128) but deletes `store: true,` from both struct literals in the client_common.rs test module. Neither literal uses `..Default::default()`, and the struct derives only Debug and Serialize. The lib's test target therefore fails with E0063 (... | build | high | [
{
"path": "codex-rs/core/src/client_common.rs",
"from_line": 190,
"to_line": 204,
"role": "cause"
},
{
"path": "codex-rs/core/src/client_common.rs",
"from_line": 219,
"to_line": 231,
"role": "cause"
},
{
"path": "codex-rs/core/src/client_common.rs",
"from_line": 128,
... | Head client_common.rs:117-136 `#[derive(Debug, Serialize)] pub(crate) struct ResponsesApiRequest<'a> { ... pub(crate) reasoning: Option<Reasoning>, pub(crate) store: bool, pub(crate) stream: bool, ... }`. The diff removes `- store: true,` from both test literals. At head, `let req = ResponsesApiRequest { mod... | To count, a finding must say that the ResponsesApiRequest literals in the client_common.rs tests no longer initialize the still-required `store` field, so the core test target fails to compile (missing field). Either literal, or both, is enough. Near-misses that do not count: comments about the misleading `store` doc c... | true | [] | [] | [
"R1",
"R2",
"R3",
"R4",
"R5"
] | null | null | null | openai/codex | 8c952af20fe791cc0c5d0a59089d3329968b4373 |
openai__codex@8c952af | dev10 | 2 | D2 | mcp-server integration tests no longer compile: they still set the removed `Profile.disable_response_storage` field | The PR removes `disable_response_storage` from `codex_protocol::mcp_protocol::Profile`, but the unchanged `codex-rs/mcp-server/tests/suite/config.rs` still builds a `Profile { ..., disable_response_storage: Some(false), ... }`. That file is compiled into the mcp-server `all` integration-test binary through `tests/all.r... | build | high | [
{
"path": "codex-rs/protocol/src/mcp_protocol.rs",
"from_line": 368,
"to_line": 378,
"role": "cause"
},
{
"path": "codex-rs/mcp-server/tests/suite/config.rs",
"from_line": 107,
"to_line": 116,
"role": "symptom"
}
] | Head mcp_protocol.rs:368 `pub struct Profile { pub model, pub model_provider, pub approval_policy, pub model_reasoning_effort, pub model_reasoning_summary, pub model_verbosity, pub chatgpt_base_url }`, from which the diff removes `- pub disable_response_storage: Option<bool>,`. At head, mcp-server/tests/suite/config... | To count, a finding must say that the mcp-server test `Profile` literal (tests/suite/config.rs) still sets `disable_response_storage`, which no longer exists on `Profile`, so that test target fails to compile. Near-misses that do not count: saying only that the TOML fixture line `disable_response_storage = false` (conf... | true | [] | [] | [
"R13",
"R14",
"R15",
"R16"
] | null | null | null | openai/codex | 8c952af20fe791cc0c5d0a59089d3329968b4373 |
openai__codex@8c952af | dev10 | 2 | D3 | Reasoning items are written to rollouts without their required `id`, so resumed sessions silently drop all reasoning | `ResponseItem::Reasoning { #[serde(skip_serializing)] id: String, ... }` has no `#[serde(default)]`, unlike the other skipped ids, which are `Option`s and default to None. The rollout writer serializes ResponseItems with the same serde impl, so every persisted Reasoning line lacks `id`. On resume, `serde_json::from_val... | data | medium | [
{
"path": "codex-rs/protocol/src/models.rs",
"from_line": 50,
"to_line": 57,
"role": "cause"
},
{
"path": "codex-rs/core/src/rollout/recorder.rs",
"from_line": 291,
"to_line": 334,
"role": "other-site"
},
{
"path": "codex-rs/core/src/rollout/recorder.rs",
"from_line":... | models.rs:50-56 at head: `Reasoning { #[serde(skip_serializing)] id: String, summary: Vec<...>, #[serde(default, ...)] content: ..., encrypted_content: Option<String> }`. Writer: recorder.rs:293-297 `RolloutCmd::AddItems(items) => for item in items { if is_persisted_response_item(&item) { writer.write_line(&item).await... | To count, a finding must connect the non-optional `Reasoning.id: String` + `skip_serializing` to local persistence: rollout items are written without `id` and cannot be deserialized back (missing required field), so resume drops reasoning items. Accepted fixes include `#[serde(default)]`/Option, or a separate wire repr... | true | [] | [
"5"
] | [
"R17",
"R18",
"R19",
"R20"
] | null | null | null | openai/codex | 8c952af20fe791cc0c5d0a59089d3329968b4373 |
openai__codex@8c952af | dev10 | 2 | D4 | Now-unused `request_body` bindings in two auth tests fail `cargo clippy --tests -D warnings` | In `prefers_chatgpt_token_when_config_prefers_chatgpt` and `prefers_apikey_when_config_prefers_apikey_even_with_chatgpt_tokens`, the PR replaces the only use of `request_body` (the store assertion) with a comment but keeps `let request_body = request.body_json::<serde_json::Value>().unwrap();`. That triggers rustc's `u... | build | high | [
{
"path": "codex-rs/core/tests/suite/client.rs",
"from_line": 578,
"to_line": 582,
"role": "cause"
},
{
"path": "codex-rs/core/tests/suite/client.rs",
"from_line": 659,
"to_line": 663,
"role": "cause"
}
] | Head core/tests/suite/client.rs:579-581 `let request = &server.received_requests().await.unwrap()[0]; let request_body = request.body_json::<serde_json::Value>().unwrap(); // store flag removed; responses are never stored.`, followed by `}`. Lines 660-662 are the same. The diff removes `assert!(!request_body["store"].a... | To count, a finding must say that `request_body` is left unused at client.rs ~580 and/or ~661, which produces an unused-variable warning or clippy -D warnings failure (a dead binding). Near-misses that do not count: comments that only ask to restore or assert `store == false` for coverage without noting that the bindin... | true | [] | [] | [
"R10",
"R11"
] | null | CI gate (lint): only fatal because CI runs `cargo clippy --tests -D warnings`; in production that job goes red and the review reads it. Kept and scored for the benchmark's integrity. | null | openai/codex | 8c952af20fe791cc0c5d0a59089d3329968b4373 |
mpv-player__mpv@0729afe | dev10 | 2 | D1 | The startup 'run all update handlers' pass is only queued, so it runs against live playback state after playback has started | mp_initialize's 'Run all update handlers' call now only queues {co=NULL, flags=UPDATE_OPTS_MASK}. The handlers therefore run at the first mp_idle, which for a CLI run with no clients (no user scripts, Linux) is inside play_current_file's open loop, after stop_play was reset to 0. There the UPDATE_DVB_PROG branch sets s... | bug | high | [
{
"path": "player/main.c",
"from_line": 383,
"to_line": 387,
"role": "cause"
},
{
"path": "player/command.c",
"from_line": 7705,
"to_line": 7725,
"role": "cause"
},
{
"path": "player/command.c",
"from_line": 7827,
"to_line": 7830,
"role": "symptom"
},
{
... | main.c:387 `mp_option_change_callback(mpctx, NULL, UPDATE_OPTS_MASK, false);` now just reaches `MP_TARRAY_APPEND(mpctx, mpctx->option_callbacks, ...)` (command.c:7723). UPDATE_OPTS_MASK includes UPDATE_DVB_PROG (m_option.h:440,452). mp_create sets `.stop_play = PT_NEXT_ENTRY` (main.c:280), so the old synchronous run wa... | To count, a comment must say that the startup UPDATE_OPTS_MASK 'run all update handlers' call (main.c:383-387) is now only queued and runs later, together with ANY one consequence: UPDATE_DVB_PROG aborting and reloading the first file, UPDATE_VO recreating the force-window VO, builtin scripts/hooks missing or not waite... | true | [] | [] | [
"R4",
"R5",
"R6",
"R8"
] | null | null | null | mpv-player/mpv | 0729afe8d7067f0e4d69000309ec6f3e24ac3926 |
mpv-player__mpv@0729afe | dev10 | 2 | D3 | Queued option changes never wake the core: synchronous property/option sets (mpv_set_property, IPC set_property, script mp.set_property) do not take effect while the player sleeps | mp_option_change_callback now only appends to the queue and never calls mp_wakeup_core or interrupts the dispatch queue. Synchronous client paths (mpv_set_property, mpv_set_option, and through them JSON IPC set_property and Lua/JS mp.set_property*) run under mp_dispatch_lock/unlock. Unlocking does not end the core's ti... | bug | medium | [
{
"path": "player/command.c",
"from_line": 7705,
"to_line": 7725,
"role": "cause"
},
{
"path": "player/client.c",
"from_line": 1059,
"to_line": 1064,
"role": "other-site"
},
{
"path": "player/client.c",
"from_line": 1309,
"to_line": 1335,
"role": "other-site"
... | The new callback body ends with `MP_TARRAY_APPEND(mpctx, mpctx->option_callbacks, mpctx->num_option_callbacks, callback);` and contains no wakeup. The path is mpv_set_property -> `run_locked(ctx, setproperty_fn, &req)` -> `mp_dispatch_lock(...); fn(fn_data); mp_dispatch_unlock(...)`. mp_dispatch_unlock only decrements ... | To count, a comment must say that queuing the option callback does not wake the core (no mp_wakeup_core or dispatch interrupt). As a result, a change made through a synchronous client/IPC/script set while the player is paused or idle isn't applied until an unrelated event wakes the loop, possibly never. Near-misses tha... | true | [] | [] | [] | null | null | null | mpv-player/mpv | 0729afe8d7067f0e4d69000309ec6f3e24ac3926 |
mpv-player__mpv@0729afe | dev10 | 2 | D4 | Setting aid/vid/sid no longer switches the track synchronously: a read right after the set, and the command's OSD message, report the previous track | For aid/vid/sid/secondary-sid, SET goes through mp_property_generic_option, which only writes the option and queues the callback; update_track_switch now runs later in mp_option_run_callbacks. GET and PRINT for these properties read mpctx->current_track while playback is initialized. So `set sid 2` / `cycle-values sid ... | contract | low | [
{
"path": "player/command.c",
"from_line": 7928,
"to_line": 7933,
"role": "cause"
},
{
"path": "player/command.c",
"from_line": 1948,
"to_line": 1971,
"role": "symptom"
},
{
"path": "player/command.c",
"from_line": 5215,
"to_line": 5219,
"role": "symptom"
},... | mp_property_switch_track: `struct track *track = mpctx->current_track[order][type]; ... case M_PROPERTY_GET: if (mpctx->playback_initialized) { *(int *)arg = track ? track->user_tid : -2; }`, and PRINT formats the same `track`. M_PROPERTY_SET falls through to `return mp_property_generic_option(...)`, which calls m_conf... | To count, a comment must say that because update_track_switch is deferred, setting aid/vid/sid (or another option whose effect is read back through derived state) followed immediately by a read or by the command's OSD message reports the old track, which breaks read-after-write for property sets. Near-misses that do NO... | true | [] | [] | [] | null | null | null | mpv-player/mpv | 0729afe8d7067f0e4d69000309ec6f3e24ac3926 |
mpv-player__mpv@0729afe | dev10 | 2 | D5 | Coalescing a round-trip hidpi-window-scale toggle leaves one unpaired relative resize, so the window is rescaled although the option ends where it started | update_hidpi_window_scale does not re-derive the window size from state. It applies a relative resize: it multiplies the current unfullscreened window size by the cached HiDPI scale when the option is true, and by the inverse when it is false. The new queue keeps only the newest entry for an option, and the handler rea... | bug | low | [
{
"path": "player/command.c",
"from_line": 7706,
"to_line": 7724,
"role": "cause"
},
{
"path": "player/command.c",
"from_line": 7898,
"to_line": 7899,
"role": "other-site"
},
{
"path": "player/command.c",
"from_line": 2781,
"to_line": 2799,
"role": "symptom"
... | The coalescing loop in mp_option_change_callback (command.c:7706-7724), `if (mpctx->option_callbacks[i].co && opt_ptr == mpctx->option_callbacks[i].co->data) drop = true;`, overwrites the older same-option entry and keeps a single one. The drain calls `if (opt_ptr == &opts->vo->hidpi_window_scale) update_hidpi_window_s... | To count, a comment must name hidpi-window-scale / update_hidpi_window_scale (or the relative window resize it performs) as a handler that coalescing breaks, because it applies a delta instead of re-deriving state from the final value. It must also name the consequence: changing the option and changing it back before t... | false | [] | [] | [
"judge candidate: N1"
] | null | null | null | mpv-player/mpv | 0729afe8d7067f0e4d69000309ec6f3e24ac3926 |
ppy__osu@748ab3d | dev10 | 2 | D1 | The smoothstep bell curve is not equivalent to sin²: the 'optimisation' changes the rhythm bonus and therefore SR/pp | Before the 0.5 clamp, SmoothstepBellCurve(f) equals 12f²-16f³ for f<0.25 (mirrored for f>0.75). The old term was sin²(πf). The two agree only at f=0 and wherever both are clamped to 0.5 (f in [0.25, 0.75]). For f in (0, 0.25) ∪ (0.75, 1) the new value is always higher, by up to +0.010, so currRatio = 1 + 12·term rises ... | bug | low | [
{
"path": "osu.Game.Rulesets.Osu/Difficulty/Evaluators/RhythmEvaluator.cs",
"from_line": 71,
"to_line": 76,
"role": "cause"
},
{
"path": "osu.Game/Rulesets/Difficulty/Utils/DifficultyCalculationUtils.cs",
"from_line": 76,
"to_line": 81,
"role": "other-site"
},
{
"path": "... | Merge base: `double currRatio = 1.0 + rhythm_ratio_multiplier * Math.Min(0.5, Math.Pow(Math.Sin(Math.PI / deltaDifferenceRatio), 2));`. Head, RhythmEvaluator.cs:71-76: `reverseDeltaDifferenceRatio = Math.Max(prevDelta, currDelta) / Math.Min(prevDelta, currDelta); deltaDifferenceFraction = reverseDeltaDifferenceRatio - ... | To count, a comment must say that the new smoothstep bell curve is not a drop-in equivalent of the old sin²(π·ratio) term. It must say that it gives different (higher) values for some fractional delta ratios, so rhythm/speed difficulty, star rating or pp change, meaning the PR is not a pure performance change. Naming a... | true | [] | [] | [
"R2"
] | null | null | null | ppy/osu | 748ab3d4863f6ea4bf6a3fffccb50e5cd616937b |
symfony__symfony@2b9721f | dev10 | 2 | D1 | vibrate documented as int[] only; the Notification API VibratePattern also accepts a single integer | The new shape declares `vibrate?: int[]` in both the constructor @param and the getContent() @return. The Web Notification `vibrate` option is a VibratePattern (`unsigned long or sequence<unsigned long>`), so a valid value such as `['vibrate' => 200]` gets flagged by PHPStan/Psalm even though MercureTransport forwards ... | contract | low | [
{
"path": "src/Symfony/Component/Notifier/Bridge/Mercure/MercureOptions.php",
"from_line": 39,
"to_line": 39,
"role": "cause"
},
{
"path": "src/Symfony/Component/Notifier/Bridge/Mercure/MercureOptions.php",
"from_line": 96,
"to_line": 96,
"role": "other-site"
}
] | MercureOptions.php:39 ` * vibrate?: int[],` (in `@param array{...}|null $content`) and :96 ` * vibrate?: int[],` (in `@return array{...}|null` of getContent()). MercureTransport.php doSend: `json_encode([... 'content' => $options->getContent(), ])` passes the array through with no normalisation, so the docbloc... | To count, a comment must say that `vibrate` is typed as an int array only, while the Notification/Vibration API (VibratePattern) also accepts a single integer, so the type should be `int|int[]` / `int|list<int>`. Flagging either line 39 or line 96 counts. Near-misses that do NOT count: saying `int[]` should be `list<in... | true | [] | [
"1"
] | [] | null | null | null | symfony/symfony | 2b9721f04744fb213808f754ac98cd563384b3e5 |
vllm-project__vllm@3fe1893 | holdout10 | 2 | D1 | Hardcoded video bound (98304) ignores seq_len/mm_counts: wrong encoder budget for every context other than 128k (inflated 6x for Qwen2-VL's 32k, startup ValueError under disable_chunked_mm_input/TPU, under-profiled encoder memory; undersized for video-only long context) | The old path took the per-video maximum from a dummy video whose frame count came from `get_num_frames_with_most_features(seq_len, mm_counts)`. The new hook takes neither argument, and `get_mm_max_tokens` returns it before looking at them, so every Qwen2/2.5-VL/Omni config reports 98304 video tokens. That is correct on... | bug | high | [
{
"path": "vllm/model_executor/models/qwen2_vl.py",
"from_line": 822,
"to_line": 823,
"role": "cause"
},
{
"path": "vllm/multimodal/profiling.py",
"from_line": 251,
"to_line": 261,
"role": "cause"
},
{
"path": "vllm/multimodal/processing.py",
"from_line": 1103,
"t... | Head qwen2_vl.py:822-823 is `def get_max_tokens_per_item(self) -> Mapping[str, int]: return {"image": 16384, "video": 98304}`. profiling.py:256-258 is `max_tokens_per_item = self.processing_info.get_max_tokens_per_item(); if max_tokens_per_item is not None: return max_tokens_per_item`, which returns before `seq_len`/`m... | To count, a comment must say that the fixed video bound (98304), or the fast path that discards seq_len/mm_counts, no longer depends on the context length or the number of items, while the old dummy path bounded video frames by seq_len. It must also name a consequence: an inflated or wrong encoder budget or cache for s... | true | [] | [
"1",
"3"
] | [
"R2",
"R4",
"R5",
"R8",
"R13",
"R15"
] | null | null | null | vllm-project/vllm | 3fe18934d7f33b98812d7402463fe171c24efc77 |
vllm-project__vllm@3fe1893 | holdout10 | 2 | D2 | Hardcoded image bound (16384) ignores the configured min/max_pixels (mm_processor_kwargs / preprocessor config): budget inflated for memory-saving configs, too small for raised max_pixels, so large images stall | The old image maximum came from a dummy image resized with `image_processor.max_pixels`, which honours `--mm-processor-kwargs` and the checkpoint's preprocessor config. The constant 16384 (and the 98304 video bound built on it) is right only for the default 12845056 pixels. A common memory-saving setting, e.g. max_pixe... | bug | medium | [
{
"path": "vllm/model_executor/models/qwen2_vl.py",
"from_line": 822,
"to_line": 823,
"role": "cause"
},
{
"path": "vllm/model_executor/models/qwen2_vl.py",
"from_line": 770,
"to_line": 815,
"role": "other-site"
},
{
"path": "vllm/model_executor/models/qwen2_vl.py",
"... | qwen2_vl.py:779-780: `if mm_config.mm_processor_kwargs: kwargs.update(mm_config.mm_processor_kwargs)` feeds `get_image_processor()` (:803). `_get_vision_info` calls `smart_resize(..., min_pixels=image_processor.min_pixels, max_pixels=image_processor.max_pixels)` (:845-850), and `get_max_image_tokens()` (:908) relied on... | To count, a comment must say that the fixed image bound (or both constants) does not follow the configured image processor size (max_pixels/min_pixels/size from mm_processor_kwargs or preprocessor_config), and name a consequence: an image larger than the reported bound exceeds the encoder budget or cache and cannot be ... | true | [] | [
"1"
] | [
"R2",
"R3",
"R6",
"R7",
"R9"
] | null | null | null | vllm-project/vllm | 3fe18934d7f33b98812d7402463fe171c24efc77 |
vllm-project__vllm@3fe1893 | holdout10 | 2 | D3 | Qwen2.5-Omni thinker inherits the Qwen2-VL constant and loses its "audio" modality; an audio-only config gets a zero encoder budget and audio requests never finish | `Qwen2_5OmniThinkerProcessingInfo(Qwen2AudioProcessingInfo, Qwen2_5_VLProcessingInfo)` supports audio, image and video, but its MRO resolves the new hook to `Qwen2VLProcessingInfo.get_max_tokens_per_item`. The returned map therefore has no "audio" key, where the old dummy-processing path reported one. With image and vi... | bug | medium | [
{
"path": "vllm/model_executor/models/qwen2_5_omni_thinker.py",
"from_line": 129,
"to_line": 176,
"role": "cause"
},
{
"path": "vllm/model_executor/models/qwen2_vl.py",
"from_line": 822,
"to_line": 823,
"role": "cause"
},
{
"path": "vllm/multimodal/registry.py",
"from... | qwen2_5_omni_thinker.py:129-130 is `class Qwen2_5OmniThinkerProcessingInfo(Qwen2AudioProcessingInfo, Qwen2_5_VLProcessingInfo):` and :175-176 is `get_supported_mm_limits` returning `{"audio": None, "image": None, "video": None}`. None of Omni, Qwen2AudioProcessingInfo or Qwen2_5_VLProcessingInfo (qwen2_5_vl.py:778) def... | To count, a comment must say that Qwen2.5-Omni (the thinker's processing info) inherits the Qwen2-VL override, so the returned map lacks "audio". It must also name the consequence: audio is missing from the encoder budget, and with only audio enabled the budget is empty or zero and audio requests cannot be scheduled. D... | true | [] | [
"1"
] | [
"R1"
] | null | null | null | vllm-project/vllm | 3fe18934d7f33b98812d7402463fe171c24efc77 |
n8n-io__n8n@9321691 | holdout10 | 2 | D1 | setTimeout overflow disables Sentry reporting about 1 ms after startup for releases younger than about 17 days | releaseExpiresInMs can be as large as SIX_WEEKS_IN_MS (3,628,800,000 ms), which is more than Node's maximum timer delay of 2^31-1 ms (about 24.8 days). Node clamps an overflowing delay to 1 ms and emits a TimeoutOverflowWarning. For any release less than about 17 days old, the callback therefore runs almost immediately... | bug | high | [
{
"path": "packages/core/src/errors/error-reporter.ts",
"from_line": 88,
"to_line": 92,
"role": "cause"
},
{
"path": "packages/core/src/errors/error-reporter.ts",
"from_line": 26,
"to_line": 26,
"role": "other-site"
},
{
"path": "packages/core/src/errors/error-reporter.ts... | error-reporter.ts:26 `const SIX_WEEKS_IN_MS = 6 * 7 * 24 * 60 * 60 * 1000;` gives 3,628,800,000. :83 `const releaseExpiresInMs = releaseDate.getTime() + SIX_WEEKS_IN_MS - Date.now();`. :89-92 `setTimeout(() => { this.enabled = false; this.logger.warn(RELEASE_EXPIRATION_WARNING); }, releaseExpiresInMs);`. :142 `if (!thi... | To count, a comment must say that the setTimeout delay (up to 6 weeks) exceeds Node's 32-bit/2^31-1 ms (~24.8 day) timer limit, so the timer fires immediately or almost immediately and disables reporting for fresh releases. A generic 'use a timestamp check in beforeSend instead of setTimeout' with no mention of the ove... | true | [] | [
"12"
] | [
"R18",
"R19",
"R20",
"R21",
"R22"
] | null | null | null | n8n-io/n8n | 93216919462181f52d6994f8f20a9a478716545f |
n8n-io__n8n@9321691 | holdout10 | 2 | D2 | Release workflow passes the literal `$(date ...)` string as N8N_RELEASE_DATE, so published images never get a usable release date | docker/build-push-action's `build-args` input is not evaluated by a shell, so no command substitution happens. N8N_RELEASE_DATE is set to the literal text `$(date -u +"%Y-%m-%dT%H:%M:%SZ")`, and the Dockerfile bakes that text into ENV N8N_RELEASE_DATE and the org.opencontainers.image.created label. At runtime Date.pars... | incomplete-fix | high | [
{
"path": ".github/workflows/release-publish.yml",
"from_line": 106,
"to_line": 106,
"role": "cause"
},
{
"path": "docker/images/n8n/Dockerfile",
"from_line": 13,
"to_line": 18,
"role": "other-site"
},
{
"path": "packages/@n8n/config/src/decorators.ts",
"from_line": 5... | release-publish.yml:98-106 `uses: docker/build-push-action@v6.11.0` / `with:` / `build-args: |` / `N8N_RELEASE_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")`. Action inputs only get `${{ }}` expression evaluation, and the action passes each build-arg to buildx argv with no shell. Dockerfile:13 `LABEL org.opencontainers.image.c... | To count, a comment must say that `$(date ...)` in the build-push-action `build-args` input is not shell-evaluated, so the literal string, not a timestamp, reaches the image. Saying the feature is then inert (or that the value is invalid) is enough. Near-misses that do not count: generic remarks that the date may be mi... | true | [] | [
"0"
] | [
"R1",
"R2",
"R3",
"R4",
"R5"
] | null | null | null | n8n-io/n8n | 93216919462181f52d6994f8f20a9a478716545f |
n8n-io__n8n@9321691 | holdout10 | 2 | D3 | Expiry check runs before the `!dsn` return, so instances without Sentry configured log 'Error tracking disabled' warnings | The releaseDate block (early return with a warning, or a timer that warns) sits before `if (!dsn) return;`. Any process with a release date but no Sentry DSN still runs it: backendDsn defaults to '', which covers ordinary self-hosted installs. On a release older than 6 weeks, such a process logs 'Error tracking disable... | bug | low | [
{
"path": "packages/core/src/errors/error-reporter.ts",
"from_line": 82,
"to_line": 95,
"role": "cause"
},
{
"path": "packages/@n8n/config/src/configs/sentry.config.ts",
"from_line": 6,
"to_line": 7,
"role": "other-site"
}
] | error-reporter.ts:82-93 `if (releaseDate) { ... if (releaseExpiresInMs <= 0) { this.logger.warn(RELEASE_EXPIRATION_WARNING); return; } setTimeout(() => { this.enabled = false; this.logger.warn(RELEASE_EXPIRATION_WARNING); }, releaseExpiresInMs); }` is followed at :95 by `if (!dsn) return;`. sentry.config.ts:6-7 `@Env('... | To count, a comment must say that the release-expiry logic runs before or regardless of the DSN check, so processes without a Sentry DSN still get the expiry warning and/or timer, and that it should sit after `if (!dsn) return`. R15's nit (move the empty-DSN return ahead of expiry scheduling) counts even though its sta... | true | [] | [] | [
"R15"
] | null | null | null | n8n-io/n8n | 93216919462181f52d6994f8f20a9a478716545f |
n8n-io__n8n@9321691 | holdout10 | 2 | D4 | Dockerfile always sets N8N_RELEASE_DATE, so images built without the arg get an empty value and warn at every start | `ARG N8N_RELEASE_DATE` has no default, but `ENV N8N_RELEASE_DATE=${N8N_RELEASE_DATE}` runs unconditionally. An image built without that build arg therefore has N8N_RELEASE_DATE set to an empty string, and an empty `created` label. The README's documented build command (`--build-arg N8N_VERSION=<VERSION>` only) produces... | bug | low | [
{
"path": "docker/images/n8n/Dockerfile",
"from_line": 7,
"to_line": 7,
"role": "cause"
},
{
"path": "docker/images/n8n/Dockerfile",
"from_line": 13,
"to_line": 18,
"role": "cause"
},
{
"path": "packages/@n8n/config/src/decorators.ts",
"from_line": 17,
"to_line": ... | Dockerfile:7 `ARG N8N_RELEASE_DATE` has no default, unlike N8N_VERSION, which is validated at :5. :13 `LABEL org.opencontainers.image.created=${N8N_RELEASE_DATE}` and :18 `ENV N8N_RELEASE_DATE=${N8N_RELEASE_DATE}`. decorators.ts:18 `if (envName in process.env) return process.env[envName];` then :59-61 Date.parse and co... | To count, a comment must say that when the N8N_RELEASE_DATE build arg is not provided, the Dockerfile still sets an empty ENV (and label), which produces an invalid or empty value, a warning, or a missing default. Suggesting a default, validation, or guarding the ENV all count if the empty-value consequence is identifi... | true | [] | [
"1"
] | [] | null | null | null | n8n-io/n8n | 93216919462181f52d6994f8f20a9a478716545f |
n8n-io__n8n@9321691 | holdout10 | 2 | D5 | Task-runner error reporting never gets the release date, so runners keep reporting to Sentry for expired releases | The expiry logic lives in the shared ErrorReporter, but TaskRunnerSentry.initIfEnabled calls errorReporter.init without releaseDate. The runner's SentryConfig does not read N8N_RELEASE_DATE, and neither the internal runner's env passthrough nor the Docker launcher's allowed-env list forwards it, while N8N_SENTRY_DSN is... | incomplete-fix | low | [
{
"path": "packages/@n8n/task-runner/src/task-runner-sentry.ts",
"from_line": 22,
"to_line": 29,
"role": "cause"
},
{
"path": "packages/cli/src/task-runners/task-runner-process.ts",
"from_line": 55,
"to_line": 66,
"role": "other-site"
},
{
"path": "docker/images/n8n/n8n-t... | task-runner-sentry.ts:22-29 `await this.errorReporter.init({ serverType: 'task_runner', dsn, release: n8nVersion, environment, serverName: deploymentName, beforeSendFilter: this.filterOutUserCodeErrors });` passes no releaseDate. task-runner-process.ts:55-66 passthroughEnvVars include 'N8N_SENTRY_DSN' but not N8N_RELEA... | To count, a comment must say that the task runner's ErrorReporter/TaskRunnerSentry init does not receive the release date (or that N8N_RELEASE_DATE is not forwarded to runners), so runner errors keep reaching Sentry after six weeks. Comments about browser/frontend Sentry or about npm installs are different claims and d... | true | [] | [] | [
"R9",
"R10",
"R12",
"R14",
"R16"
] | null | null | null | n8n-io/n8n | 93216919462181f52d6994f8f20a9a478716545f |
google-gemini__gemini-cli@c6e6248 | holdout10 | 2 | D1 | Test mutates the runner's real ~/.gemini/extensions, and its pre-uninstall deletes a pre-existing user `test-extension` | `runCommand` spawns the CLI with the parent's environment and HOME, and extension install, uninstall and update always act on `os.homedir()/.gemini/extensions`. The new test's unconditional pre-uninstall (line 28) therefore recursively deletes any real extension named `test-extension`, together with its enablement entr... | bug | medium | [
{
"path": "integration-tests/extensions-install.test.ts",
"from_line": 27,
"to_line": 31,
"role": "cause"
},
{
"path": "integration-tests/extensions-install.test.ts",
"from_line": 33,
"to_line": 49,
"role": "other-site"
},
{
"path": "integration-tests/test-helper.ts",
... | The spawn and the pre-uninstall:
- test-helper.ts:315-318 `spawn('node', commandArgs, { cwd: this.testDir!, stdio: 'pipe' })` passes no env or HOME override. `TestRig.setup` (test-helper.ts:131-161) isolates only the cwd.
- extension.ts:83-85 `static getUserExtensionsDir() { const storage = new Storage(os.homedir()); r... | To count, a comment must say that the test or `runCommand` operates on the real user home or global extension store (~/.gemini/extensions, os.homedir()) instead of an isolated one. It must also give a consequence: it deletes or overwrites a pre-existing user `test-extension` (via the pre-uninstall), pollutes the develo... | true | [] | [] | [
"R1",
"R2",
"R3",
"R4"
] | null | null | null | google-gemini/gemini-cli | c6e624883852318b71baa2a060c933bb5de591ef |
google-gemini__gemini-cli@c6e6248 | holdout10 | 2 | D2 | Final uninstall is not in a finally block, so a failed step leaves test-extension installed in the real HOME | The only teardown uninstall (line 49), `rig.cleanup()` and rmSync run only if every earlier command and assertion succeeds. If the install, list or update assertion fails or a command rejects, `test-extension` stays installed and enabled in the runner's real ~/.gemini/extensions. The user's normal Gemini sessions and l... | resource | low | [
{
"path": "integration-tests/extensions-install.test.ts",
"from_line": 37,
"to_line": 52,
"role": "cause"
}
] | The throw points and the skipped teardown:
- extensions-install.test.ts:37 `expect(result).toContain('test-extension');`, :40 `expect(listResult).toContain('test-extension');` and :47 `expect(updateResult).toContain('0.0.2');` all throw before :49 `await rig.runCommand(['extensions', 'uninstall', 'test-extension']);`.
... | To count, a comment must say that the extension uninstall or teardown is not reached, or not guaranteed, when a command or assertion fails, leaving the extension installed in the home or user store. It must ask for try/finally, afterEach or equivalent cleanup on the failure path. A comment that only asks for HOME isola... | true | [] | [] | [
"R5",
"R6",
"R7",
"R8"
] | null | null | null | google-gemini/gemini-cli | c6e624883852318b71baa2a060c933bb5de591ef |
google-gemini__gemini-cli@c6e6248 | holdout10 | 2 | D3 | Unconditional rmSync of the test dir overrides the KEEP_OUTPUT retention contract | `rig.cleanup()` deliberately keeps the test directory when KEEP_OUTPUT is set, and that behaviour is documented. The line after it deletes the directory unconditionally anyway. With KEEP_OUTPUT=true, which every CI E2E job and `npm run test:e2e` set, this test's output is thrown away despite the request to keep it. Whe... | bug | low | [
{
"path": "integration-tests/extensions-install.test.ts",
"from_line": 51,
"to_line": 52,
"role": "cause"
},
{
"path": "integration-tests/test-helper.ts",
"from_line": 371,
"to_line": 383,
"role": "other-site"
}
] | The deletion and the contract it breaks:
- extensions-install.test.ts:52 `rmSync(rig.testDir!, { recursive: true, force: true });` runs right after :51 `await rig.cleanup();`.
- test-helper.ts:373 `if (this.testDir && !env.KEEP_OUTPUT) { ... execSync(`rm -rf ${this.testDir}`) }`.
- globalSetup.ts:86 `if (process.env.KE... | To count, a comment must say that the rmSync, or the extra deletion after cleanup(), removes the test directory even when KEEP_OUTPUT is set, breaking output retention. A comment that only calls it 'redundant with cleanup()' without mentioning KEEP_OUTPUT is a weak near-miss and should not count. Comments about the ext... | true | [] | [] | [
"R9",
"R10",
"R11",
"R12"
] | null | null | null | google-gemini/gemini-cli | c6e624883852318b71baa2a060c933bb5de591ef |
google-gemini__gemini-cli@c6e6248 | holdout10 | 2 | D4 | runCommand duplicates run()'s spawn, stream capture and exit handling | The new `runCommand` re-implements about 45 lines of `run()` almost line for line: the spawn, the stdin write and end, stdout/stderr accumulation with the KEEP_OUTPUT/VERBOSE echo, and the close handler that resolves or rejects. The two copies already diverge (runCommand has no Podman telemetry filter and no JSON stder... | maintainability | low | [
{
"path": "integration-tests/test-helper.ts",
"from_line": 309,
"to_line": 358,
"role": "cause"
},
{
"path": "integration-tests/test-helper.ts",
"from_line": 210,
"to_line": 306,
"role": "other-site"
}
] | test-helper.ts:315-355 mirrors :210-242 and :244-303:
- The same `spawn('node', commandArgs, { cwd: this.testDir!, stdio: 'pipe' })`.
- The same `child.stdout!.on('data', (data: Buffer) => { stdout += data; if (env.KEEP_OUTPUT === 'true' || env.VERBOSE === 'true') process.stdout.write(data); })`, and likewise for stder... | To count, a comment must say that runCommand duplicates or copy-pastes run()'s subprocess, spawn or stream handling and should share a helper. A comment claiming that runCommand's missing Podman filter or JSON stderr exclusion breaks the extension test does not count as a separate defect: those filters are irrelevant t... | true | [] | [
"1"
] | [
"R13",
"R14",
"R15",
"R16"
] | null | null | {"bots": ["Gemini Code Assist"], "dataset_refs": [1], "references": ["integration-tests/test-helper.ts:309-358:b4eccd55206e"], "hunt": true, "note": "Not scored. The cited AACR reference is a reworded review-bot comment from the original PR; the defect itself was checked against the code."} | google-gemini/gemini-cli | c6e624883852318b71baa2a060c933bb5de591ef |
sveltejs__svelte@4bf1f91 | holdout10 | 2 | D1 | remove_nodes() does not count the new `<!--[N-->` else-if opening marker, so hydration-mismatch cleanup stops at a nested `]` and leaves server DOM behind | The server now opens a non-first else-if branch with `<!--[1-->`, `<!--[2-->` and so on. `remove_nodes()` raises its nesting depth only for `[` and `[!`, but lowers it for every `]`. When the region being removed contains a nested else-if chain that rendered a later branch, cleanup returns at that inner chain's `<!--]-... | bug | medium | [
{
"path": "packages/svelte/src/internal/client/dom/hydration.js",
"from_line": 85,
"to_line": 105,
"role": "cause"
},
{
"path": "packages/svelte/src/compiler/phases/3-transform/server/visitors/IfBlock.js",
"from_line": 21,
"to_line": 31,
"role": "other-site"
},
{
"path": ... | server/visitors/IfBlock.js:24-26 (head) emits `b.literal(`<!--[${index++}-->`)` for each else-if branch. hydration.js:93-98 (head, unchanged by the PR): `if (data === HYDRATION_END) { if (depth === 0) return node; depth -= 1; } else if (data === HYDRATION_START || data === HYDRATION_START_ELSE) { depth += 1; }`. The co... | To count, a comment must say that the new numbered opening marker (`<!--[1-->`, `[N`) is not recognised as a block opener by remove_nodes() or the hydration-mismatch cleanup's depth tracking, so the cleanup stops at a nested else-if's `]` and leaves stale server DOM behind or leaves a wrong anchor. A comment that names... | true | [] | [] | [
"R7",
"R9",
"R10",
"R12",
"R14"
] | null | null | null | sveltejs/svelte | 4bf1f915d3374721f8a1655b1a151c1c423b1a3c |
sveltejs__svelte@4bf1f91 | holdout10 | 2 | D2 | Dev-mode assign_locations() depth tracking ignores `[N` markers, so `__svelte_meta` source locations shift onto the wrong elements or go missing | In dev hydration, `assign_locations()` walks a template's sibling nodes and tags only elements at depth 0. It raises depth only for `[` and `[!`, but lowers it for any comment starting with `]`. When an else-if branch was server-rendered with `<!--[N-->`, the elements inside that branch are treated as top-level and tak... | bug | low | [
{
"path": "packages/svelte/src/internal/client/dev/elements.js",
"from_line": 43,
"to_line": 59,
"role": "cause"
},
{
"path": "packages/svelte/src/compiler/phases/3-transform/server/visitors/IfBlock.js",
"from_line": 24,
"to_line": 26,
"role": "other-site"
}
] | dev/elements.js:48-56 (head, unchanged): `if (hydrating && node.nodeType === 8) { var comment = node; if (comment.data === HYDRATION_START || comment.data === HYDRATION_START_ELSE) depth += 1; else if (comment.data[0] === HYDRATION_END) depth -= 1; } if (depth === 0 && node.nodeType === 1) assign_location(node, filenam... | To count, a comment must say that the dev location walker (assign_locations / add_locations in internal/client/dev/elements.js) does not count the numbered `[N` opening marker, so element source locations (`__svelte_meta`) are misassigned or missing after a hydrated else-if. A comment that raises only remove_nodes or m... | true | [] | [] | [
"R8",
"R9",
"R11",
"R13"
] | null | null | null | sveltejs/svelte | 4bf1f915d3374721f8a1655b1a151c1c423b1a3c |
microsoft__typescript-go@892b4a3 | holdout10 | 2 | D1 | convertFourslash crashes with ENOENT because manualTests.txt is never shipped and is read without an existence check | getManualTests() calls fs.readFileSync(manualTestsPath) without checking that the file exists, and the PR does not add internal/fourslash/_scripts/manualTests.txt. Only makeManual ever creates the file. So `npm run convertfourslash` and `npm run updatefailing` throw ENOENT on every checkout. By that point main() has al... | build | high | [
{
"path": "internal/fourslash/_scripts/convertFourslash.mts",
"from_line": 26,
"to_line": 29,
"role": "cause"
},
{
"path": "internal/fourslash/_scripts/convertFourslash.mts",
"from_line": 42,
"to_line": 47,
"role": "symptom"
},
{
"path": "internal/fourslash/_scripts/updat... | convertFourslash.mts:27 `const manualTestsList = fs.readFileSync(manualTestsPath, "utf-8").split("\n")...` has no existsSync guard. makeManual.mts:33 guards the same read, but the converter does not. `git ls-tree -r --name-only 892b4a3 -- internal/fourslash/_scripts` lists only convertFourslash.mts, failingTests.txt, m... | To count, a comment must say that the converter's read of manualTests.txt throws (or crashes, or fails) when the file is absent, AND that the file is absent by default: the PR does not add it, or only makemanual creates it. Mentioning that updatefailing, CI or the regeneration workflow breaks is supportive but not requ... | true | [] | [
"0"
] | [
"R1",
"R2",
"R3",
"R4"
] | null | null | {"bots": ["GitHub Copilot"], "dataset_refs": [0], "references": ["internal/fourslash/_scripts/convertFourslash.mts:26-29:423624553409"], "hunt": true, "note": "Not scored. The cited AACR reference is a reworded review-bot comment from the original PR; the defect itself was checked against the code."} | microsoft/typescript-go | 892b4a3f6b701352047ceb019fc0683ab1146bb3 |
microsoft__typescript-go@892b4a3 | holdout10 | 2 | D2 | makeManual records the filename, but the converter checks the capitalized test name, so manual tests are never skipped | makeManual joins its argument to gen/ without appending `_test.go`. To pass the existence check, the argument must be the full generated filename, e.g. `basicClassMembers_test.go`, and makeManual records that raw string in manualTests.txt. convertFourslash looks up `test.name[0].toUpperCase() + test.name.substring(1)`,... | bug | high | [
{
"path": "internal/fourslash/_scripts/makeManual.mts",
"from_line": 16,
"to_line": 19,
"role": "cause"
},
{
"path": "internal/fourslash/_scripts/makeManual.mts",
"from_line": 38,
"to_line": 41,
"role": "cause"
},
{
"path": "internal/fourslash/_scripts/convertFourslash.mt... | makeManual.mts:16-18 `const testName = args[0]; const testFileName = testName; const genTestFile = path.join(genDir, `${testFileName}`);` has no suffix, while gen files are written as `${test.name}_test.go` (convertFourslash.mts:77). makeManual.mts:39 `manualTests.push(testName);` stores the raw argument. convertFoursl... | To count, a comment must say that the identifier written to manualTests.txt, the raw argument or filename, differs from the key convertFourslash checks, the capitalized base test name, so listed tests are still regenerated or the skip does not work. A comment framed as 'the manual list is not stripped of a Test prefix ... | true | [] | [
"3",
"1"
] | [
"R10",
"R11",
"R12",
"R13"
] | null | null | null | microsoft/typescript-go | 892b4a3f6b701352047ceb019fc0683ab1146bb3 |
microsoft__typescript-go@892b4a3 | holdout10 | 2 | D3 | Tests moved to tests/manual lose the util_test.go helpers and fail to compile | Generated tests use package-local helpers defined in util_test.go, such as defaultCommitCharacters, ignored, ptrTo and the completionGlobals vars. The converter copies that file only into tests/gen. makeManual moves just the one _test.go file into tests/manual, which is a separate Go package directory with no copy of t... | build | medium | [
{
"path": "internal/fourslash/_scripts/makeManual.mts",
"from_line": 25,
"to_line": 30,
"role": "cause"
},
{
"path": "internal/fourslash/_scripts/convertFourslash.mts",
"from_line": 977,
"to_line": 979,
"role": "other-site"
},
{
"path": "internal/fourslash/_scripts/conver... | convertFourslash.mts:977-979 `function generateHelperFile() { fs.copyFileSync(helperFilePath, path.join(outputDir, "util_test.go")); }` copies into gen only. makeManual.mts:29-30 `fs.renameSync(genTestFile, manualTestFile)` moves only the single file. tests/util_test.go defines `func ptrTo[T any]`, `var ignored`, `var ... | To count, a comment must say that a test moved into tests/manual no longer has the shared helper definitions (util_test.go or the named helpers) because it is a separate Go package or directory and only gen gets the copy, so the moved test fails to compile. Near-misses that should not count: saying that updateFailing d... | true | [] | [] | [
"R6",
"R7",
"R8",
"R9"
] | null | null | null | microsoft/typescript-go | 892b4a3f6b701352047ceb019fc0683ab1146bb3 |
microsoft__typescript-go@892b4a3 | holdout10 | 2 | D4 | manualTests.txt matches the repo's `*.txt` gitignore rule, so the manual-test list is never committed | .gitignore ignores `*.txt` and re-includes only specific files, among them `internal/fourslash/_scripts/failingTests.txt`. The PR introduces a new state file, manualTests.txt, in the same directory without adding a matching `!` exception or committing the file. When makeManual creates the list, `git add .` and `git sta... | build | medium | [
{
"path": ".gitignore",
"from_line": 176,
"to_line": 176,
"role": "cause"
},
{
"path": ".gitignore",
"from_line": 200,
"to_line": 200,
"role": "other-site"
},
{
"path": "internal/fourslash/_scripts/makeManual.mts",
"from_line": 5,
"to_line": 5,
"role": "other-... | .gitignore:176 `*.txt` (under '# Benchmarking results'), and .gitignore:200 `!internal/fourslash/_scripts/failingTests.txt` is the only exception for this directory. makeManual.mts:5 `const manualTestsPath = path.join(scriptsDir, "manualTests.txt");` and :41 `fs.writeFileSync(manualTestsPath, ...)` create an ignored fi... | To count, a comment must say that manualTests.txt is ignored by .gitignore (the *.txt rule, with only failingTests.txt excepted), so the list created by makemanual will not be committed or persist across checkouts. Near-misses that should not count: saying only that the PR forgot to add manualTests.txt or that the conv... | false | [] | [] | [
"R1",
"R2",
"R4"
] | null | null | null | microsoft/typescript-go | 892b4a3f6b701352047ceb019fc0683ab1146bb3 |
microsoft__typescript-go@892b4a3 | holdout10 | 2 | D5 | convertFourslash defines manualOutputDir only to mkdir an empty directory it never uses | The converter adds manualOutputDir and runs mkdirSync on it every time, but it never writes to, reads from, formats or tests that directory. All generation still targets outputDir, i.e. gen. So every convertfourslash run creates an empty tests/manual directory, and the constant falsely suggests the converter manages ma... | maintainability | low | [
{
"path": "internal/fourslash/_scripts/convertFourslash.mts",
"from_line": 17,
"to_line": 17,
"role": "cause"
},
{
"path": "internal/fourslash/_scripts/convertFourslash.mts",
"from_line": 44,
"to_line": 44,
"role": "symptom"
}
] | convertFourslash.mts:17 `const manualOutputDir = path.join(import.meta.dirname, "../", "tests", "manual");`, and its only use is :44 `fs.mkdirSync(manualOutputDir, { recursive: true });`. gofumpt at :50 formats only outputDir, and writes at :77 go to outputDir. | To count, a comment must say that manualOutputDir or tests/manual is created by the converter but never used, written or read. Near-misses that should not count: comments about makeManual's own mkdir of manualDir, which is used for the rename. | false | [] | [
"2"
] | [] | null | null | null | microsoft/typescript-go | 892b4a3f6b701352047ceb019fc0683ab1146bb3 |
elastic__elasticsearch@dc8943f | holdout10 | 2 | D1 | visitRatio-scaled centroid buffer can shrink below one parent's children group, so the hierarchical iterator stops comparing children across parents (recall risk) | bufferSize is now visitRatio*numCentroids*8. With the default dynamic visit ratio and small k it is only a few entries, fewer than one parent's ~16 children. The initial fill therefore expands only the top-scoring parent, and updateQueue() keeps refilling from that parent's remaining children before any other parent is... | bug | low | [
{
"path": "server/src/main/java/org/elasticsearch/index/codec/vectors/DefaultIVFVectorsReader.java",
"from_line": 197,
"to_line": 198,
"role": "cause"
},
{
"path": "server/src/main/java/org/elasticsearch/index/codec/vectors/DefaultIVFVectorsReader.java",
"from_line": 215,
"to_line": ... | DefaultIVFVectorsReader.java:197 `final int bufferSize = (int) Math.min(Math.max(visitRatio * numCentroids * CENTROID_OVERSAMPLING, 1), numCentroids);` (was `Math.max(numCentroids * CENTROID_SAMPLING_PERCENTAGE, 1)`).
The initial fill at :216 is `while (parentsQueue.size() > 0 && neighborQueue.size() < bufferSize)`, w... | A finding counts if it says the new visitRatio-proportional buffer can be too small, whether smaller than a parent's children group or smaller than the centroids actually visited in filtered/nested searches. It must connect that to lost cross-parent ranking (the queue refills from one parent's children, better children... | true | [] | [] | [
"R1",
"R2",
"R4"
] | null | null | null | elastic/elasticsearch | dc8943ff2d735c9cd71adef644378ca2850db34f |
elastic__elasticsearch@dc8943f | holdout10 | 2 | D2 | CENTROID_OVERSAMPLING = 8 silently hard-codes DEFAULT_CENTROIDS_PER_PARENT_CLUSTER/2 instead of tracking the actual parent-cluster size | The oversampling factor is a fixed 8.0f. It only makes sense relative to the default 16 children per parent, but IVFVectorsFormat accepts centroidsPerParentCluster from 2 to 256, and the reader already reads the group size (maxChildrenSize) on the same path. With a non-default parent-cluster size the buffer is mis-size... | maintainability | low | [
{
"path": "server/src/main/java/org/elasticsearch/index/codec/vectors/DefaultIVFVectorsReader.java",
"from_line": 43,
"to_line": 44,
"role": "cause"
},
{
"path": "server/src/main/java/org/elasticsearch/index/codec/vectors/DefaultIVFVectorsReader.java",
"from_line": 195,
"to_line": 19... | DefaultIVFVectorsReader.java:44 `public static final float CENTROID_OVERSAMPLING = 8.0f;`
IVFVectorsFormat.java:68-70: `DEFAULT_CENTROIDS_PER_PARENT_CLUSTER = 16`, `MIN_... = 2`, `MAX_... = 1 << 8`. The constructor accepts any value in that range (:75-98), and IVFVectorsFormatTests randomizes it (:63, :69).
DefaultIV... | A finding counts if it says the fixed 8.0 oversampling factor should be derived from the parent-cluster size (centroidsPerParentCluster/2, maxChildrenSize, or numCentroids/numParents), because it implicitly assumes the default of 16 children per parent. Near-misses that do NOT count: generic "magic number, add a commen... | false | [] | [
"0"
] | [] | null | null | null | elastic/elasticsearch | dc8943ff2d735c9cd71adef644378ca2850db34f |
keycloak__keycloak@805c204 | holdout10 | 2 | D1 | Missing break: the `priority` case in GuideParser.setAttributes falls through into the new `tileVisible` case, so every guide with an explicit priority gets tileVisible=false | The PR appends `case "tileVisible"` right after `case "priority"` in GuideParser.setAttributes, and `priority` has no `break`. Parsing `priority=N` therefore also runs `guide.setTileVisible(Boolean.parseBoolean(group("valueString")))`. For an integer match valueString is null, so every guide with an explicit priority i... | bug | low | [
{
"path": "docs/maven-plugin/src/main/java/org/keycloak/guides/maven/GuideParser.java",
"from_line": 79,
"to_line": 82,
"role": "cause"
},
{
"path": "docs/maven-plugin/src/main/java/org/keycloak/guides/maven/Context.java",
"from_line": 47,
"to_line": 49,
"role": "other-site"
},... | GuideParser.java@head lines 79-82 read `case "priority": guide.setPriority(Integer.parseInt(attributeMatcher.group("valueInt"))); case "tileVisible": guide.setTileVisible(Boolean.parseBoolean(attributeMatcher.group("valueString")));` with no break between them. At the merge base `priority` was the last case, so its mis... | To count, a comment must identify the switch fall-through in GuideParser.setAttributes: `case "priority"` has no `break` and falls into the new `case "tileVisible"`, so parsing priority also sets (or overwrites) tileVisible, to false because valueString is null. Saying the fix is a `break` after setPriority(...) counts... | true | [] | [
"9"
] | [
"R6"
] | null | null | null | keycloak/keycloak | 805c204a9dbfb5b8128de8f70c9f3fbd6d6583f9 |
libsdl-org__SDL@1526727 | holdout10 | 2 | D1 | Controllers on unsupported older firmware are claimed by the HIDAPI driver and their reports are misparsed | The widened predicate matches every SN30 Pro/SF30 Pro/Pro 2 by VID/PID alone. IsSupportedDevice ignores `version`, and InitDevice calls HIDAPI_JoystickConnected even when feature report 0x06 fails, which is what happens on the pre-v2.05/v3.06 firmware the PR body calls unsupported. Those controllers are therefore taken... | compat | high | [
{
"path": "src/joystick/SDL_joystick.c",
"from_line": 3178,
"to_line": 3183,
"role": "cause"
},
{
"path": "src/joystick/hidapi/SDL_hidapi_8bitdo.c",
"from_line": 122,
"to_line": 125,
"role": "cause"
},
{
"path": "src/joystick/hidapi/SDL_hidapi_8bitdo.c",
"from_line": ... | At head, SDL_hidapi_8bitdo.c:124 is `return SDL_IsJoystick8BitDoController(vendor_id, product_id);` and the `version` parameter goes unused. Lines 149-157 are `int size = ReadFeatureReport(device->dev, 0x06, data, sizeof(data)); if (size > 0) {...} else { SDL_LogDebug(..., "Couldn't read feature report 0x06"); }`, and ... | To count, a comment must say that SN30 Pro/SF30 Pro/Pro 2 units on older or unsupported firmware (below the PR's stated minimum, or ones where the 0x06 feature report fails) are still claimed by the HIDAPI driver. It must point to the PID-only match, the ignored version, or the connect-on-probe-failure, and say that th... | true | [] | [] | [
"R1",
"R2",
"R6"
] | null | null | null | libsdl-org/SDL | 15267271865f73c996719238425f1604fc2fa205 |
libsdl-org__SDL@1526727 | holdout10 | 2 | D2 | SN30 Pro/SF30 Pro (and Pro 2) are advertised with four back paddles they do not have | SDL_CreateMappingForHIDAPIGamepad appends `paddle1:b12,paddle2:b11,paddle3:b14,paddle4:b13` for anything SDL_IsJoystick8BitDoController matches, and OpenJoystick always exposes 15 buttons. Widening the predicate therefore makes SN30 Pro and SF30 Pro gamepads (no back buttons) and the Pro 2 (two back buttons) report fou... | contract | medium | [
{
"path": "src/joystick/SDL_gamepad.c",
"from_line": 817,
"to_line": 818,
"role": "symptom"
},
{
"path": "src/joystick/SDL_joystick.c",
"from_line": 3178,
"to_line": 3183,
"role": "cause"
},
{
"path": "src/joystick/hidapi/SDL_hidapi_8bitdo.c",
"from_line": 184,
"t... | SDL_gamepad.c:817-818 is `} else if (SDL_IsJoystick8BitDoController(vendor, product)) { SDL_strlcat(mapping_string, "paddle1:b12,paddle2:b11,paddle3:b14,paddle4:b13", ...`, inside SDL_CreateMappingForHIDAPIGamepad (line 694, used at line 975 for HIDAPI GUIDs). The predicate at SDL_joystick.c:3180-3182 now includes 0x60... | To count, a comment must say that the widened 8BitDo predicate, or the fixed 15-button count, makes SDL advertise back paddles (or L4/R4 or extra buttons) on SN30 Pro/SF30 Pro, which have none, or four on the Pro 2, which has two. Tracing it to the SDL_gamepad.c paddle-mapping branch or to nbuttons, or naming the capab... | true | [] | [] | [
"R3",
"R4"
] | null | null | null | libsdl-org/SDL | 15267271865f73c996719238425f1604fc2fa205 |
libsdl-org__SDL@1526727 | holdout10 | 2 | D3 | SF30 Pro Bluetooth PID (0x6100) is omitted, so SF30 Pro over Bluetooth is not handled by the new driver | The PR adds Bluetooth PIDs for the SN30 Pro (0x6101) and the Pro 2 (0x6006) but only the USB PID for the SF30 Pro (0x6000). The repo's own gamepad DB identifies the SF30 Pro over Bluetooth as PID 0x6100. An SF30 Pro connected over Bluetooth therefore never matches the driver and gets none of the gyro, rumble or battery... | incomplete-fix | low | [
{
"path": "src/joystick/usb_ids.h",
"from_line": 63,
"to_line": 67,
"role": "cause"
},
{
"path": "src/joystick/SDL_joystick.c",
"from_line": 3180,
"to_line": 3182,
"role": "other-site"
},
{
"path": "src/joystick/SDL_gamepad_db.h",
"from_line": 504,
"to_line": 504,... | usb_ids.h:63-67 defines SN30_Pro 0x6001, SN30_Pro_BT 0x6101, SF30_Pro 0x6000, Pro_2 0x6003 and Pro_2_BT 0x6006, with no SF30 Pro BT entry. SDL_gamepad_db.h:504 has `"05000000c82d00000061000000010000,8BitDo SF30 Pro,..."`, where bus 0x05 is Bluetooth and the PID is 0x6100. Lines 62 and 820 map the same 0x6100 PID as '8B... | To count, a comment must say that the SF30 Pro's Bluetooth PID (0x6100) is missing, or that the SF30 Pro over Bluetooth is not covered while the other two models' BT PIDs are. Casing or naming comments on the SF30 constant do NOT count. | true | [] | [] | [] | null | null | null | libsdl-org/SDL | 15267271865f73c996719238425f1604fc2fa205 |
PowerShell__PowerShell@ec952ce | holdout10 | 2 | D1 | Nested-module filter also hides modules that are independently visible (for example imported globally too) | The new filter drops every Get-Module result that belongs to the current session-state module's NestedModules. It never checks whether the module is also visible on its own, for example in the top-level module table. Import-Module reuses an already-loaded PSModuleInfo instance, and AddModuleToModuleTables appends it to... | bug | low | [
{
"path": "src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs",
"from_line": 474,
"to_line": 479,
"role": "cause"
},
{
"path": "src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs",
"from_line": 496,
"to_line": 500,
"ro... | Head CompletionCompleters.cs:475-478 `PSModuleInfo curModule = context.ExecutionContext.EngineSessionState.Module; if (loadedModulesOnly && curModule?.NestedModules.Count > 0) { nestedModulesToFilterOut = new(curModule.NestedModules); }` and :496-497 `if (nestedModulesToFilterOut is not null && nestedModulesToFilterOut... | To count, a finding must say that the filter hides a module that is still visible or genuinely loaded for the user, because a module can be both a nested module of the completing module AND imported globally (or otherwise independently visible). It must also say that the check should exclude only modules visible solely... | true | [] | [] | [
"R4",
"R5"
] | null | null | null | PowerShell/PowerShell | ec952ce3b70c87885ed756ffca2bec128f07c51b |
infiniflow__ragflow@2d06022 | fresh10 | 1 | D1 | `languageOptions` is not exported by '@/locales/config' - TS/bundle error and an empty locale dropdown, so the new locale option is unusable | index.tsx imports `{ languageOptions }` from '@/locales/config' and passes it as the locale Select's options, but web/src/locales/config.ts exports only `translationTable` and the default i18n instance; the name exists nowhere else in web/src. TypeScript reports a missing exported member (TS2305) and the bundled bindin... | build | high | [
{
"path": "web/src/components/api-service/embed-modal/index.tsx",
"from_line": 21,
"to_line": 21,
"role": "cause"
},
{
"path": "web/src/components/api-service/embed-modal/index.tsx",
"from_line": 87,
"to_line": 94,
"role": "symptom"
},
{
"path": "web/src/locales/config.ts... | head/web/src/components/api-service/embed-modal/index.tsx:21 `import { languageOptions } from '@/locales/config';` and :91 `options={languageOptions}`. head/web/src/locales/config.ts has exactly two exports: :32 `export const translationTable = createTranslationTable(` and :68 `export default i18n;`. `grep -rn language... | A finding must say that `languageOptions` is not exported by / does not exist in '@/locales/config' (compile/build error, undefined import, or empty locale dropdown). Near-misses that must NOT count: remarks about the Select lacking allowClear, an untranslated placeholder, or URL-encoding of the locale value. | true | [
"H-D1"
] | [] | [
"C3",
"C4"
] | null | null | null | infiniflow/ragflow | 2d06022b78536bd22a0fd83f38804f39aa34cce8 |
infiniflow__ragflow@2d06022 | fresh10 | 1 | D2 | Placeholder-less f-string in rewrite.py (ruff F541) turns the CI 'Static check with Ruff' step red | The new `prompt += f"""...If the user's latest question is completely...DON'T generate anything except a refined question."""` literal has an `f` prefix but no `{}` placeholders. The tests workflow runs `ruff check --ignore E402` with ruff's default rule set (E4/E7/E9/F; the repo has no ruff config), which includes F54... | build | high | [
{
"path": "agent/component/rewrite.py",
"from_line": 49,
"to_line": 51,
"role": "cause"
},
{
"path": ".github/workflows/tests.yml",
"from_line": 52,
"to_line": 57,
"role": "other-site"
}
] | head/agent/component/rewrite.py:49-51 `prompt += f"""\n - If the user's latest question is completely, don't do anything, just return the original question.\n - DON'T generate anything except a refined question."""` - no braces. head/.github/workflows/tests.yml:53-57 `uses: astral-sh/ruff-action@v2 ... args: "che... | Must identify the extraneous `f` prefix / f-string without placeholders at rewrite.py:49 (ideally that it fails ruff F541 / the CI lint step). Comments only about the whitespace-only line, the 2->4 space bullet indentation, or the 'is completely' wording do not count. | true | [
"H-D3"
] | [] | [] | null | CI gate (lint): only visible by knowing the repo's ruff rules; in production CI runs ruff and the review reads the red check. Kept and scored for the benchmark's integrity — a read-only review without CI results can only find it by knowing the rule. | null | infiniflow/ragflow | 2d06022b78536bd22a0fd83f38804f39aa34cce8 |
infiniflow__ragflow@2d06022 | fresh10 | 1 | D3 | New i18n keys `avatarHidden` and `locale` are missing from every locale file, so the new option labels render as raw keys | The new Form.Items use t('avatarHidden') and t('locale') from useTranslate('chat') (react-i18next with keyPrefix 'chat'), but neither key exists under `chat` (or anywhere) in web/src/locales/*.ts. i18next falls back to the key, so the modal shows raw key strings instead of labels in every language; the 'Option' heading... | bug | low | [
{
"path": "web/src/components/api-service/embed-modal/index.tsx",
"from_line": 80,
"to_line": 89,
"role": "cause"
},
{
"path": "web/src/locales/en.ts",
"from_line": 403,
"to_line": 403,
"role": "other-site"
}
] | head/.../embed-modal/index.tsx:39 `const { t } = useTranslate('chat');`, :81 `<Form.Item label={t('avatarHidden')}>`, :87 `<Form.Item label={t('locale')}>`. head/web/src/hooks/common-hooks.tsx:121-122 `useTranslate = (keyPrefix) => useTranslation('translation', { keyPrefix })`. `grep -rn "avatarHidden\|locale:" head/we... | Must say the translation keys (avatarHidden and/or locale) are missing so the labels show raw/untranslated keys. A comment only about the hard-coded 'Option'/'Select a locale' English strings is a near-miss and does not count on its own. | true | [
"H-D2"
] | [] | [
"C1",
"C2"
] | null | null | null | infiniflow/ragflow | 2d06022b78536bd22a0fd83f38804f39aa34cce8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.