PrimeIntellect/SWE-rebench-V2-Filtered-Easy-Verified huggingface dataset:
Repository: sindresorhus/awesome-lint (js)
Issue: Twitter link throws Invalid list item link error
I am getting error on this link though it's a valid one
```
https://twitter.com/_lizzelo_
```
with error message:
```
 Invalid list item link  remark-lint:awesome-list-item
```
Pull request description: Allow using emphasis text style in link title
Fixes #95.

Patch:
diff --git a/rules/list-item.js b/rules/list-item.js
index 22da87c..06b5092 100644
--- a/rules/list-item.js
+++ b/rules/list-item.js
@@ -20,6 +20,7 @@ const listItemPrefixCaseWhitelist = new Set([
 
 // Valid node types in list item link
 const listItemLinkNodeWhitelist = new Set([
+	'emphasis',
 	'inlineCode',
 	'text'
 ]);


Test patch:
diff --git a/test/fixtures/list-item/0.md b/test/fixtures/list-item/0.md
index b032dfa..35bfc03 100644
--- a/test/fixtures/list-item/0.md
+++ b/test/fixtures/list-item/0.md
@@ -44,6 +44,7 @@ These are valid list items that don't need a description.
 - [Mark Text](https://github.com/marktext/marktext) - Real-time preview Markdown editor.
 - [iqvoc](https://github.com/innoq/iqvoc) - SKOS(-XL) Vocabulary Management System for the Semantic Web.
 - [Bridge](https://github.com/bridgedotnet/Bridge) - C# to JavaScript transpiler. Write modern mobile and web apps in C# and run them anywhere in JavaScript.
+- [Elisabeth Engel (@_lizzelo_)](https://twitter.com/_lizzelo_)
 
 - [foo](https://foo.com) - "Catan" inspired board game.
 - [foo](https://foo.com) - 'About This App' window.
@@ -112,19 +113,12 @@ These list items start with common lower-case acronyms.
 - Observables
 	- [bar](https://bar.com)
 
-<!--
-TODO: uncomment once support lands in remark https://github.com/remarkjs/remark/pull/347
-
 These sub-lists are indented with tabs instead of spaces.
 - [foo](https://foo.com)
 	- [bar](https://bar.com)
 	- [bar2](https://bar2.com)
 		- [baz](https://baz.com)
 		- [baz2](https://baz2.com)
--->
-
-<!--
-TODO: these list-items should possibly lint as valid, but they currently don't.
 
 These sub-lists use mixed indentation (spaces and tabs).
 - [Python](https://github.com/vinta/awesome-python#readme)
@@ -135,6 +129,9 @@ These sub-lists use mixed indentation (spaces and tabs).
 
 - [why-is-node-running](https://github.com/mafintosh/why-is-node-running) - Node.js is running but you don't know why?
 
+<!--
+TODO: these list-items should possibly lint as valid, but they currently don't.
+
 - ![v3](img/vapor-3.png) [API Error Middleware](https://github.com/skelpo/APIErrorMiddleware) – Vapor middleware for converting thrown errors to JSON responses.
 - ![v2](img/vapor-2.png) ![v3](img/vapor-3.png) [Bugsnag](https://github.com/nodes-vapor/bugsnag) – Report errors with Bugsnag.
 -->
Repository: chartjs/chartjs-plugin-zoom (js)
Issue: onZoom callbacks for zoomScale function
When using `zoomScale`, callbacks for zoom (onZoom etc.) are not triggered.
Pull request description: fix: trigger onZoom from zoomScale
fix #775

Patch:
diff --git a/src/core.js b/src/core.js
index d0b3d33..c581a5f 100644
--- a/src/core.js
+++ b/src/core.js
@@ -108,10 +108,13 @@ export function zoomRect(chart, p0, p1, transition = 'none') {
 }
 
 export function zoomScale(chart, scaleId, range, transition = 'none') {
-  storeOriginalScaleLimits(chart, getState(chart));
+  const state = getState(chart);
+  storeOriginalScaleLimits(chart, state);
   const scale = chart.scales[scaleId];
   updateRange(scale, range, undefined, true);
   chart.update(transition);
+
+  call(state.options.zoom?.onZoom, [{chart}]);
 }
 
 export function resetZoom(chart, transition = 'default') {
@@ -130,6 +133,7 @@ export function resetZoom(chart, transition = 'default') {
     delete state.updatedScaleLimits[scale.id];
   });
   chart.update(transition);
+
   call(state.options.zoom.onZoomComplete, [{chart}]);
 }
 


Test patch:
diff --git a/test/specs/api.spec.js b/test/specs/api.spec.js
index 7102591..2b6360f 100644
--- a/test/specs/api.spec.js
+++ b/test/specs/api.spec.js
@@ -240,6 +240,35 @@ describe('api', function() {
     });
   });
 
+  describe('zoomScale', function() {
+    it('should call onZoom', function() {
+      const zoomSpy = jasmine.createSpy('start');
+      const chart = window.acquireChart({
+        type: 'scatter',
+        data: {
+          datasets: [
+            {
+              data: [{x: 1, y: 1}, {x: 10, y: 10}],
+            },
+          ],
+        },
+        options: {
+          plugins: {
+            zoom: {
+              zoom: {
+                onZoom: zoomSpy,
+              }
+            }
+          }
+        }
+      });
+
+      chart.zoomScale('x', {min: 2, max: 10}, 'default');
+
+      expect(zoomSpy).toHaveBeenCalledWith({chart});
+    });
+  });
+
   describe('getInitialScaleBounds', function() {
     it('should provide the correct initial scale bounds regardless of the zoom level', function() {
       const chart = window.acquireChart({