title stringlengths 2 169 | diff stringlengths 235 19.5k | body stringlengths 0 30.5k | url stringlengths 48 84 | created_at stringlengths 20 20 | closed_at stringlengths 20 20 | merged_at stringlengths 20 20 | updated_at stringlengths 20 20 | diff_len float64 101 3.99k | repo_name stringclasses 83
values | __index_level_0__ int64 15 52.7k |
|---|---|---|---|---|---|---|---|---|---|---|
Add TryHackMe | diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json
index fea689746..aa7591193 100644
--- a/sherlock/resources/data.json
+++ b/sherlock/resources/data.json
@@ -1652,6 +1652,13 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
+ "TryHackMe": {
+ "error... | Add new site:
- https://tryhackme.com
| https://api.github.com/repos/sherlock-project/sherlock/pulls/732 | 2020-08-20T02:08:22Z | 2020-08-20T04:18:33Z | 2020-08-20T04:18:33Z | 2020-08-20T18:07:54Z | 199 | sherlock-project/sherlock | 36,216 |
[ie/crunchyroll] Extract `vo_adaptive_hls` formats by default | diff --git a/yt_dlp/extractor/crunchyroll.py b/yt_dlp/extractor/crunchyroll.py
index 8d997debf9b..d35e9995abc 100644
--- a/yt_dlp/extractor/crunchyroll.py
+++ b/yt_dlp/extractor/crunchyroll.py
@@ -136,7 +136,7 @@ def _call_api(self, path, internal_id, lang, note='api', query={}):
return result
def _extr... | Closes #9439
<details open><summary>Template</summary> <!-- OPEN is intentional -->
### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [contributing guidelines](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#developer-instructions) including [yt-dlp coding c... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/9447 | 2024-03-14T16:37:06Z | 2024-03-14T21:42:36Z | 2024-03-14T21:42:35Z | 2024-03-14T21:42:36Z | 205 | yt-dlp/yt-dlp | 8,124 |
ui: accept 'q' as quit character | diff --git a/tests/test_ui.py b/tests/test_ui.py
index 5ac78cbc4..90efbac25 100644
--- a/tests/test_ui.py
+++ b/tests/test_ui.py
@@ -25,15 +25,16 @@ def test_read_actions(patch_get_key):
# Ignored:
'x', 'y',
# Up:
- const.KEY_UP,
+ const.KEY_UP, 'k',
# Down:
- co... | 'q' is a standard character used in traditional UNIX environment used for 'quit', so it makes sense to support it, in my opinion
Added tests and ammended the previous commit, added missing tests for 'j' and 'k'
| https://api.github.com/repos/nvbn/thefuck/pulls/521 | 2016-06-25T10:12:13Z | 2016-06-27T20:14:16Z | 2016-06-27T20:14:16Z | 2016-06-27T20:14:20Z | 364 | nvbn/thefuck | 30,565 |
[`Pix2Struct`] Fix pix2struct cross attention | diff --git a/src/transformers/models/pix2struct/modeling_pix2struct.py b/src/transformers/models/pix2struct/modeling_pix2struct.py
index b9cfff26a26ac..015007a9679b9 100644
--- a/src/transformers/models/pix2struct/modeling_pix2struct.py
+++ b/src/transformers/models/pix2struct/modeling_pix2struct.py
@@ -1547,8 +1547,9 ... | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/25175
As pointed out by @leitro on the issue, I can confirm the cross-attention should be in `layer_outputs[5]`. Also fixes the attention output index that should be in index `3` as the index `2` is the `position_bias` (they have the... | https://api.github.com/repos/huggingface/transformers/pulls/25200 | 2023-07-31T08:48:55Z | 2023-08-01T08:56:37Z | 2023-08-01T08:56:37Z | 2023-08-01T08:57:08Z | 239 | huggingface/transformers | 12,690 |
[youtube_live_chat] use clickTrackingParams | diff --git a/yt_dlp/downloader/youtube_live_chat.py b/yt_dlp/downloader/youtube_live_chat.py
index 5303efd0d42..35e88e36706 100644
--- a/yt_dlp/downloader/youtube_live_chat.py
+++ b/yt_dlp/downloader/youtube_live_chat.py
@@ -44,7 +44,7 @@ def dl_fragment(url, data=None, headers=None):
return self._download... | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/449 | 2021-06-26T15:54:10Z | 2021-06-26T23:22:32Z | 2021-06-26T23:22:32Z | 2021-06-26T23:22:32Z | 1,596 | yt-dlp/yt-dlp | 7,528 |
Bump black from 21.12b0 to 22.1.0 | diff --git a/poetry.lock b/poetry.lock
index fcfe395fc..38171bea9 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -79,30 +79,26 @@ python-versions = "*"
[[package]]
name = "black"
-version = "21.12b0"
+version = "22.1.0"
description = "The uncompromising code formatter."
category = "dev"
optional = false
python-v... | Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p>
<blockquote>
<h2>22.1.0</h2>
<p>At long last, Black is no longer a beta product! This is the first non-beta re... | https://api.github.com/repos/Textualize/rich/pulls/1892 | 2022-01-31T13:34:24Z | 2022-02-11T11:09:31Z | 2022-02-11T11:09:31Z | 2022-02-11T11:09:32Z | 2,750 | Textualize/rich | 48,213 |
Add xonsh shell is a Python-powered, Unix-gazing shell language and command prompt | diff --git a/README.md b/README.md
index baabcb127..d49717f32 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,7 @@ Inspired by [awesome-php](https://github.com/ziadoz/awesome-php).
- [Search](#search)
- [Serialization](#serialization)
- [Serverless Frameworks](#serverless-frameworks)
+ - [Shell](#... | ## What is this Python project?
xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt. The language is a superset of Python 3.5+ with additional shell primitives. It is time-tested and very well documented project.
:
pad_top = 0 if sum(hor_text_heights) == 0 else max(hor_text_heights) + line_... | Adds slider options for grid margins in the XYZ Plot and Prompt Matrix. Works with or without legends/text, and 0 margin leaves it as before.
Closes #4779
## Changes
- Modifies `draw_prompt_matrix` to also take in margin size
- Fixes slight miscalculation with margin in `draw_grid_annotations`
- Adds `margi... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/7556 | 2023-02-05T08:47:56Z | 2023-02-05T10:34:36Z | 2023-02-05T10:34:36Z | 2023-02-05T10:34:37Z | 2,330 | AUTOMATIC1111/stable-diffusion-webui | 40,067 |
Fixed #24812 -- Fixed app registry RuntimeWarnings in schema and migrations tests. | diff --git a/tests/mail/tests.py b/tests/mail/tests.py
index 75d5dd619b089..03dfae7903b6e 100644
--- a/tests/mail/tests.py
+++ b/tests/mail/tests.py
@@ -868,6 +868,9 @@ class FakeSMTPServer(smtpd.SMTPServer, threading.Thread):
def __init__(self, *args, **kwargs):
threading.Thread.__init__(self)
+ ... | https://code.djangoproject.com/ticket/24812
| https://api.github.com/repos/django/django/pulls/4672 | 2015-05-18T13:13:57Z | 2015-05-18T14:03:15Z | 2015-05-18T14:03:15Z | 2015-05-18T14:17:47Z | 975 | django/django | 51,487 |
Fixed doc about domain whitelisting | diff --git a/docs/src/content/howto-ignoredomains.md b/docs/src/content/howto-ignoredomains.md
index b1b1483106..902a17bec6 100644
--- a/docs/src/content/howto-ignoredomains.md
+++ b/docs/src/content/howto-ignoredomains.md
@@ -72,8 +72,7 @@ method to do so:
>>> mitmproxy --ignore-hosts ^example\.com:443$
{{< /highlig... | This PR fixes the documentation about domains whitelisting. Previous pattern did not work, and solution was given by @mhils in #2994.
I don't think this should close this ticket as there should be a clear way to specify if the pattern should match the IP address and/or the domain, but at least, this PR prevents conf... | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/3344 | 2018-10-05T02:08:47Z | 2018-10-10T15:07:17Z | 2018-10-10T15:07:17Z | 2018-10-10T15:07:17Z | 474 | mitmproxy/mitmproxy | 28,340 |
[training] SAVE_STATE_WARNING was removed in pytorch | diff --git a/src/transformers/trainer_pt_utils.py b/src/transformers/trainer_pt_utils.py
index cb3d4a5bfe5b7..5cb45eb7bd366 100644
--- a/src/transformers/trainer_pt_utils.py
+++ b/src/transformers/trainer_pt_utils.py
@@ -23,7 +23,6 @@
import numpy as np
import torch
-from packaging import version
from torch.utils.... | `SAVE_STATE_WARNING` has been removed from pytorch 3 days ago: pytorch/pytorch#46813
I had to add redundant ()'s to avoid a terrible auto-formatter outcome.
Fixes: #8232
@sgugger, @LysandreJik | https://api.github.com/repos/huggingface/transformers/pulls/8979 | 2020-12-08T02:42:29Z | 2020-12-08T05:59:56Z | 2020-12-08T05:59:56Z | 2021-06-08T18:11:11Z | 240 | huggingface/transformers | 12,741 |
Backport PR #36316 on branch 1.1.x (BUG: Don't overflow with large int scalar) | diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst
index 25d223418fc92..5cbd160f29d66 100644
--- a/doc/source/whatsnew/v1.1.3.rst
+++ b/doc/source/whatsnew/v1.1.3.rst
@@ -25,6 +25,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :meth:`Series.str.startswith` and :meth:`Series.str.endswit... | Backport PR #36316: BUG: Don't overflow with large int scalar | https://api.github.com/repos/pandas-dev/pandas/pulls/36334 | 2020-09-13T13:29:10Z | 2020-09-13T15:52:02Z | 2020-09-13T15:52:02Z | 2020-09-13T15:52:02Z | 546 | pandas-dev/pandas | 44,803 |
Fix incorrect namespace in sitemap's template. | diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt
index b89a9a13b02ca..fb3871e58e547 100644
--- a/docs/ref/contrib/sitemaps.txt
+++ b/docs/ref/contrib/sitemaps.txt
@@ -456,7 +456,7 @@ generate a Google News compatible sitemap:
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmln... | According Google's webmaster tools namespace for news are invalid. | https://api.github.com/repos/django/django/pulls/7980 | 2017-01-28T19:12:11Z | 2017-01-30T17:07:15Z | 2017-01-30T17:07:15Z | 2017-01-30T17:07:15Z | 183 | django/django | 51,183 |
🔧 Update sponsors, add Jina back as bronze sponsor | diff --git a/docs/en/data/sponsors.yml b/docs/en/data/sponsors.yml
index 53cdb9bad1588..6cfd5b5564ba4 100644
--- a/docs/en/data/sponsors.yml
+++ b/docs/en/data/sponsors.yml
@@ -37,3 +37,6 @@ bronze:
- url: https://www.flint.sh
title: IT expertise, consulting and development by passionate people
img: https:... | 🔧 Update sponsors, add Jina back as bronze sponsor | https://api.github.com/repos/tiangolo/fastapi/pulls/10050 | 2023-08-09T13:20:58Z | 2023-08-09T13:26:33Z | 2023-08-09T13:26:33Z | 2023-08-09T13:26:35Z | 165 | tiangolo/fastapi | 22,789 |
remove additional tags in Phind | diff --git a/g4f/Provider/Phind.py b/g4f/Provider/Phind.py
index dbf1e7ae36..e71568427d 100644
--- a/g4f/Provider/Phind.py
+++ b/g4f/Provider/Phind.py
@@ -69,6 +69,8 @@ async def create_async_generator(
pass
elif chunk.startswith(b"<PHIND_METADATA>") or chunk.starts... | Phind added new additional tags to their reply and this commit removed them.
Example additional tags:
```
<PHIND_SPAN_BEGIN>{"id": "g30s0idmy56038rjky0i", "indicator": "Using GPT4", "parent": "qolbkr9srwccc7ir3m5f", "start": 1706418122.9927964, "end": null, "indent": 2, "children": []}</PHIND_SPAN_BEGIN><PHIND_S... | https://api.github.com/repos/xtekky/gpt4free/pulls/1522 | 2024-01-28T13:13:19Z | 2024-01-28T22:57:57Z | 2024-01-28T22:57:57Z | 2024-01-28T22:57:57Z | 154 | xtekky/gpt4free | 38,101 |
Add version switch to flask cli | diff --git a/flask/cli.py b/flask/cli.py
index cf2c5c0c9c..90eb0353cf 100644
--- a/flask/cli.py
+++ b/flask/cli.py
@@ -18,7 +18,7 @@
from ._compat import iteritems, reraise
from .helpers import get_debug_flag
-
+from . import __version__
class NoAppException(click.UsageError):
"""Raised if an application ca... | re #1828
| https://api.github.com/repos/pallets/flask/pulls/1848 | 2016-06-02T10:59:01Z | 2016-06-02T11:53:13Z | 2016-06-02T11:53:13Z | 2020-11-14T04:52:48Z | 492 | pallets/flask | 20,568 |
Fix parameter typing for generateCode | diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index f1301e04..3ae08a91 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -2,7 +2,7 @@ import { useEffect, useRef, useState } from "react";
import ImageUpload from "./components/ImageUpload";
import CodePreview from "./components/CodePreview";
i... | The parameter type was not complete as `Settings` are also included and expected by the backend | https://api.github.com/repos/abi/screenshot-to-code/pulls/170 | 2023-12-08T00:19:23Z | 2023-12-11T23:23:18Z | 2023-12-11T23:23:18Z | 2023-12-11T23:23:48Z | 695 | abi/screenshot-to-code | 46,907 |
Fast path for disabled template load explain. | diff --git a/flask/templating.py b/flask/templating.py
index 8c95a6a706..2da4926d25 100644
--- a/flask/templating.py
+++ b/flask/templating.py
@@ -52,27 +52,36 @@ def __init__(self, app):
self.app = app
def get_source(self, environment, template):
- explain = self.app.config['EXPLAIN_TEMPLATE_LOA... | Refs #1792
| https://api.github.com/repos/pallets/flask/pulls/1814 | 2016-05-22T09:36:57Z | 2016-05-26T19:34:56Z | 2016-05-26T19:34:56Z | 2020-11-14T04:42:50Z | 428 | pallets/flask | 20,741 |
boardd: SPI bulk read + write | diff --git a/selfdrive/boardd/panda_comms.h b/selfdrive/boardd/panda_comms.h
index aef7b41d070f7e..f42eadc5b23b64 100644
--- a/selfdrive/boardd/panda_comms.h
+++ b/selfdrive/boardd/panda_comms.h
@@ -34,7 +34,7 @@ class PandaCommsHandle {
virtual int bulk_read(unsigned char endpoint, unsigned char* data, int length, ... | https://api.github.com/repos/commaai/openpilot/pulls/26462 | 2022-11-11T06:02:40Z | 2022-11-11T20:51:15Z | 2022-11-11T20:51:15Z | 2022-11-11T20:51:16Z | 1,199 | commaai/openpilot | 9,578 | |
Fix two sections not showing links in the readme | diff --git a/README.md b/README.md
index 8f51254407..3376991534 100644
--- a/README.md
+++ b/README.md
@@ -143,7 +143,7 @@ For information on contributing to this project, please see the [contributing gu
### Documents & Productivity
-| API | Description | OAuth |Link |
+| API | Description | Auth | HTTPS |Link |
... | [Documents & Productivity](https://github.com/toddmotto/public-apis#documents--productivity) and [Data Validation](https://github.com/toddmotto/public-apis#data-validation) were both missing the `HTTPS` column, so the links weren't rendering in the readme. Docs+Prod also said `OAuth` instead of `Auth` in the header. | https://api.github.com/repos/public-apis/public-apis/pulls/276 | 2017-02-04T09:50:44Z | 2017-02-04T16:09:36Z | 2017-02-04T16:09:36Z | 2017-02-06T10:31:03Z | 265 | public-apis/public-apis | 35,936 |
[NPU] Fix npu offload bug | diff --git a/csrc/includes/cpu_adagrad.h b/csrc/includes/cpu_adagrad.h
index 59888adf17c3..e60984d64b76 100644
--- a/csrc/includes/cpu_adagrad.h
+++ b/csrc/includes/cpu_adagrad.h
@@ -194,7 +194,7 @@ void Adagrad_Optimizer::Step_AVX(size_t* rounded_size,
#elif defined(__ENABLE_CANN__)
if (dev_params) {
... | There are some syntax errors in the NPU offload.
There may be no AVX instruction set on our server due to environment variables, as a result, this problem is not verified in our tests.
Sorry for the inconvenience and we will be more cautious in the next PRs. | https://api.github.com/repos/microsoft/DeepSpeed/pulls/4883 | 2023-12-29T01:28:42Z | 2024-01-02T22:33:30Z | 2024-01-02T22:33:30Z | 2024-01-02T22:33:30Z | 872 | microsoft/DeepSpeed | 10,096 |
Fix missed parameter from AUC config | diff --git a/keras/metrics/confusion_matrix_test.py b/keras/metrics/confusion_matrix_test.py
index 773323fe094..631e36596c1 100644
--- a/keras/metrics/confusion_matrix_test.py
+++ b/keras/metrics/confusion_matrix_test.py
@@ -1299,9 +1299,11 @@ class AUCTest(tf.test.TestCase, parameterized.TestCase):
def setup(self... | AUC metrics missed `from_logits` parameter in `get_config` method, which will cause a error when load from a saved model and `from_logits` is True. | https://api.github.com/repos/keras-team/keras/pulls/16499 | 2022-05-05T15:25:51Z | 2022-06-16T19:03:29Z | 2022-06-16T19:03:29Z | 2022-06-16T19:03:29Z | 1,273 | keras-team/keras | 46,959 |
[autoscaler] rsync cluster | diff --git a/python/ray/autoscaler/commands.py b/python/ray/autoscaler/commands.py
index 9a89261be7dee..faaef8c6a1538 100644
--- a/python/ray/autoscaler/commands.py
+++ b/python/ray/autoscaler/commands.py
@@ -423,6 +423,8 @@ def rsync(config_file, source, target, override_cluster_name, down):
override_cluster_... | <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->
## What do these changes do?
If `source` and `target` are not provided for `rsync`, `ray rsync-up/rsync-down`
will automatically upload all file_mounts listed in ... | https://api.github.com/repos/ray-project/ray/pulls/4785 | 2019-05-15T00:13:35Z | 2019-05-17T06:11:06Z | 2019-05-17T06:11:06Z | 2019-05-17T06:11:11Z | 1,527 | ray-project/ray | 19,252 |
Fixed #30967 -- Fixed TrigramTest failures on PostgreSQL 12+. | diff --git a/tests/postgres_tests/test_trigram.py b/tests/postgres_tests/test_trigram.py
index b340b41869ddd..2a123faa5e545 100644
--- a/tests/postgres_tests/test_trigram.py
+++ b/tests/postgres_tests/test_trigram.py
@@ -26,22 +26,26 @@ def test_trigram_search(self):
def test_trigram_similarity(self):
s... | Ticket: https://code.djangoproject.com/ticket/30967 | https://api.github.com/repos/django/django/pulls/12048 | 2019-11-08T20:22:26Z | 2019-11-11T12:30:32Z | 2019-11-11T12:30:32Z | 2019-11-11T12:30:32Z | 361 | django/django | 51,460 |
chore: add GitHub metadata | diff --git a/CITATION.cff b/CITATION.cff
new file mode 100644
index 000000000..73a213df7
--- /dev/null
+++ b/CITATION.cff
@@ -0,0 +1,25 @@
+# This CITATION.cff file was generated with cffinit.
+# Visit https://bit.ly/cffinit to generate yours today!
+
+cff-version: 1.2.0
+title: PrivateGPT
+message: >-
+ If you use th... | This PR adds a citation file and a license to the repository.
While this info was already available in one form or another, adding it using the standard files not only makes it more accessible, but also allows GitHub to display it more promptly.
I created the citation file with the info I could find, so it's not re... | https://api.github.com/repos/zylon-ai/private-gpt/pulls/1085 | 2023-10-20T09:31:25Z | 2023-10-23T08:49:03Z | 2023-10-23T08:49:03Z | 2023-10-24T10:17:58Z | 3,224 | zylon-ai/private-gpt | 38,467 |
[CPAC] Add extractor for Canadian Parliament | diff --git a/youtube_dl/extractor/cpac.py b/youtube_dl/extractor/cpac.py
new file mode 100644
index 00000000000..22741152c64
--- /dev/null
+++ b/youtube_dl/extractor/cpac.py
@@ -0,0 +1,148 @@
+# coding: utf-8
+from __future__ import unicode_literals
+
+from .common import InfoExtractor
+from ..compat import compat_str
... | ## Please follow the guide below
---
### Before submitting a *pull request* make sure you have:
- [x] [Searched](https://github.com/ytdl-org/youtube-dl/search?q=is%3Apr&type=Issues) the bugtracker for similar pull requests
- [x] Read [adding new extractor tutorial](https://github.com/ytdl-org/youtube-dl#adding-... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/30675 | 2022-02-24T12:18:08Z | 2022-02-24T18:27:58Z | 2022-02-24T18:27:57Z | 2022-02-24T18:27:58Z | 1,987 | ytdl-org/youtube-dl | 49,822 |
Fixed #27216 -- Corrected import location in admin deprecation messages. | diff --git a/django/contrib/admin/helpers.py b/django/contrib/admin/helpers.py
index f808d8a8996cd..157c90af47cdc 100644
--- a/django/contrib/admin/helpers.py
+++ b/django/contrib/admin/helpers.py
@@ -213,8 +213,8 @@ def contents(self):
if getattr(attr, "allow_tags", False):
... | Fixed the referenced deprecation messages
| https://api.github.com/repos/django/django/pulls/7242 | 2016-09-13T14:51:01Z | 2016-09-13T17:45:24Z | 2016-09-13T17:45:24Z | 2016-09-13T17:45:24Z | 389 | django/django | 51,537 |
[requires.io] dependency update on main branch | diff --git a/setup.py b/setup.py
index dfebe40fb4..e920b2415f 100644
--- a/setup.py
+++ b/setup.py
@@ -97,7 +97,7 @@
"pydivert>=2.0.3,<2.2",
],
'dev': [
- "hypothesis>=5.8,<6.9",
+ "hypothesis>=5.8,<6.10",
"parver>=0.1,<2.0",
"pdoc>=4.0.0",
... | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/4559 | 2021-04-11T04:39:37Z | 2021-04-13T22:34:46Z | 2021-04-13T22:34:46Z | 2021-04-13T22:34:49Z | 148 | mitmproxy/mitmproxy | 28,371 | |
Fix some typos in the concurrency section | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index 082bbf524..e7ac12d45 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -10253,7 +10253,7 @@ the same memory. Concurrent programming is tricky for many reasons, most
importantly that it is undefined behavior to read data in one thread after it... | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/605 | 2016-05-09T12:55:10Z | 2016-08-15T18:45:02Z | 2016-08-15T18:45:02Z | 2016-08-15T18:45:02Z | 1,912 | isocpp/CppCoreGuidelines | 15,387 | |
Fix typo in ephemeris parsing | diff --git a/selfdrive/locationd/ublox_msg.cc b/selfdrive/locationd/ublox_msg.cc
index 154200c08857e6..e0463d8e175f50 100644
--- a/selfdrive/locationd/ublox_msg.cc
+++ b/selfdrive/locationd/ublox_msg.cc
@@ -59,7 +59,7 @@ class EphemerisData {
int i_0 = (GET_FIELD_S(subframes[3][2+2], 8, 6) << 24) | GET_FIELD_U(
... | <!-- Please copy and paste the relevant template -->
<!--- ***** Template: Car bug fix *****
**Description** [](A description of the bug and the fix. Also link any relevant issues.)
**Verification** [](Explain how you tested this bug fix.)
**Route**
Route: [a route with the bug fix]
-->
<!--- ***** T... | https://api.github.com/repos/commaai/openpilot/pulls/20677 | 2021-04-13T16:00:15Z | 2021-04-14T09:25:43Z | 2021-04-14T09:25:43Z | 2021-04-14T09:25:44Z | 433 | commaai/openpilot | 9,636 |
Use ==/!= to compare str, bytes, and int literals | diff --git a/irrelevant/generate_contributions.py b/irrelevant/generate_contributions.py
index 136f653..f396f32 100644
--- a/irrelevant/generate_contributions.py
+++ b/irrelevant/generate_contributions.py
@@ -39,7 +39,7 @@
issue_string = ', '.join([issue_format.format(i, i) for i in issues])
resp = requests.g... | Identity is not the same thing as equality in Python.
$ __[flake8](http://flake8.pycqa.org) . --count --select=E9,F63,F7,F82 --show-source --statistics__
```
if resp.status_code is 200:
^
1 F632 use ==/!= to compare str, bytes, and int literals
1
``` | https://api.github.com/repos/satwikkansal/wtfpython/pulls/126 | 2019-07-02T13:36:31Z | 2019-07-06T08:04:29Z | 2019-07-06T08:04:29Z | 2019-07-06T08:08:35Z | 196 | satwikkansal/wtfpython | 25,881 |
Spelling fix in CONTRIBUTING.md | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 525cb9c183d..0687aaeee52 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -45,7 +45,7 @@ $ black-primer [-k -w /tmp/black_test_repos]
## black-primer
`black-primer` is used by CI to pull down well-known _Black_ formatted projects and see
-if we get soure cod... | https://api.github.com/repos/psf/black/pulls/1547 | 2020-07-13T22:13:55Z | 2020-07-13T22:27:05Z | 2020-07-13T22:27:05Z | 2020-07-13T22:27:06Z | 198 | psf/black | 24,284 | |
[utils] Support Python 3.10 | diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml
index be932275a28..8111d17899a 100644
--- a/.github/workflows/core.yml
+++ b/.github/workflows/core.yml
@@ -10,7 +10,7 @@ jobs:
matrix:
os: [ubuntu-18.04]
# py3.9 is in quick-test
- python-version: [3.7, 3.8, pypy-3.6, ... | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/480 | 2021-07-10T07:11:47Z | 2021-07-23T15:02:48Z | 2021-07-23T15:02:48Z | 2021-07-25T18:32:38Z | 578 | yt-dlp/yt-dlp | 7,664 |
Remove wrongly placed double qoutes | diff --git a/ciphers/baconian_cipher.py b/ciphers/baconian_cipher.py
index 027fbc50e89d..f146ba91b78f 100644
--- a/ciphers/baconian_cipher.py
+++ b/ciphers/baconian_cipher.py
@@ -83,7 +83,7 @@ def decode(coded: str) -> str:
return decoded.strip()
-if "__name__" == "__main__":
+if __name__ == "__main__":
f... | ### **Describe your change:**
* [ ] Add an algorithm?
* [x] Fix a bug or typo in an existing algorithm?
* [ ] Documentation change?
### **Checklist:**
* [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md).
* [x] This pull request is all my own work -- I h... | https://api.github.com/repos/TheAlgorithms/Python/pulls/5530 | 2021-10-22T16:00:11Z | 2021-10-22T17:14:08Z | 2021-10-22T17:14:08Z | 2021-10-22T20:19:33Z | 291 | TheAlgorithms/Python | 29,871 |
Generalized fragmented media file downloader | diff --git a/youtube_dl/downloader/f4m.py b/youtube_dl/downloader/f4m.py
index b1a858c4526..275564b5976 100644
--- a/youtube_dl/downloader/f4m.py
+++ b/youtube_dl/downloader/f4m.py
@@ -7,8 +7,7 @@
import time
import xml.etree.ElementTree as etree
-from .common import FileDownloader
-from .http import HttpFD
+from .... | - Adds a base file downloader class to be used by fragmented media file downloaders (e.g. f4m/m3u8 manifests).
- Rewrites `F4mFD` and `NativeHlsFD` in terms of `FragmentFD`.
- Adds generic progress output and resume for `NativeHlsFD`.
| https://api.github.com/repos/ytdl-org/youtube-dl/pulls/6392 | 2015-07-28T20:41:23Z | 2015-08-01T14:22:49Z | 2015-08-01T14:22:49Z | 2015-08-01T14:22:49Z | 3,330 | ytdl-org/youtube-dl | 50,547 |
langchain[patch]: Release 0.1.2 | diff --git a/libs/langchain/_test_minimum_requirements.txt b/libs/langchain/_test_minimum_requirements.txt
index a370010215cb0b..464405b7ec9ffb 100644
--- a/libs/langchain/_test_minimum_requirements.txt
+++ b/libs/langchain/_test_minimum_requirements.txt
@@ -1,2 +1,2 @@
-langchain-core==0.1.9
-langchain-community==0.0.... | https://api.github.com/repos/langchain-ai/langchain/pulls/16388 | 2024-01-22T16:59:11Z | 2024-01-22T17:32:25Z | 2024-01-22T17:32:24Z | 2024-01-22T17:32:25Z | 3,313 | langchain-ai/langchain | 43,069 | |
Remove `is_authorized_cluster_activity` from auth manager | diff --git a/airflow/auth/managers/base_auth_manager.py b/airflow/auth/managers/base_auth_manager.py
index f50e40082b901..fb57c984d5b29 100644
--- a/airflow/auth/managers/base_auth_manager.py
+++ b/airflow/auth/managers/base_auth_manager.py
@@ -134,20 +134,6 @@ def is_authorized_configuration(
:param user: the... | There is a duplicate way to check permissions access for cluster activity page, `is_authorized_view` is the correct one.
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding... | https://api.github.com/repos/apache/airflow/pulls/36175 | 2023-12-11T19:14:55Z | 2023-12-11T21:41:49Z | 2023-12-11T21:41:49Z | 2024-01-10T11:03:08Z | 1,470 | apache/airflow | 14,330 |
Made a bulk_create test work without Pillow. | diff --git a/tests/bulk_create/models.py b/tests/bulk_create/models.py
index 75d4a3cbdc79e..b98ce4a1527fb 100644
--- a/tests/bulk_create/models.py
+++ b/tests/bulk_create/models.py
@@ -5,6 +5,11 @@
from django.db import models
from django.utils import timezone
+try:
+ from PIL import Image
+except ImportError:
+... | Test didn't work since c4e2fc5d9872c9a0c9c052a2e124f8a9b87de9b4. | https://api.github.com/repos/django/django/pulls/8054 | 2017-02-12T11:12:55Z | 2017-02-13T13:58:11Z | 2017-02-13T13:58:11Z | 2017-02-13T18:37:39Z | 332 | django/django | 51,198 |
Remove experimental TDD step configs | diff --git a/gpt_engineer/preprompts/fix_code b/gpt_engineer/preprompts/fix_code
deleted file mode 100644
index 54efcb243d..0000000000
--- a/gpt_engineer/preprompts/fix_code
+++ /dev/null
@@ -1,5 +0,0 @@
-You are a super smart developer.
-You have been tasked with fixing a program and making it work according to the be... | Solves #656
Kept them on the experimental branch | https://api.github.com/repos/gpt-engineer-org/gpt-engineer/pulls/737 | 2023-09-23T09:21:35Z | 2023-09-24T08:24:44Z | 2023-09-24T08:24:44Z | 2023-12-04T12:54:35Z | 2,156 | gpt-engineer-org/gpt-engineer | 33,228 |
Change raw strings to strings in docstrings | diff --git a/rich/console.py b/rich/console.py
index de5c2ab85..5525fd3ac 100644
--- a/rich/console.py
+++ b/rich/console.py
@@ -733,7 +733,7 @@ def _collect_renderables(
Args:
renderables (Iterable[Union[str, ConsoleRenderable]]): Anyting that Rich can render.
sep (str, optional): St... | ## Type of changes
- [ ] Bug fix
- [ ] New feature
- [X] Documentation / docstrings
- [ ] Tests
- [ ] Other
## Checklist
- [X] I've run the latest [black](https://github.com/ambv/black) with default args on new code.
- [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
- [ ] I've added ... | https://api.github.com/repos/Textualize/rich/pulls/219 | 2020-08-08T11:55:22Z | 2020-08-08T20:13:02Z | 2020-08-08T20:13:02Z | 2020-08-08T20:13:02Z | 1,618 | Textualize/rich | 48,181 |
Fix the width of riemann rectangles | diff --git a/manimlib/mobject/coordinate_systems.py b/manimlib/mobject/coordinate_systems.py
index 3ad0108622..dbfadb618d 100644
--- a/manimlib/mobject/coordinate_systems.py
+++ b/manimlib/mobject/coordinate_systems.py
@@ -235,6 +235,7 @@ def get_riemann_rectangles(self,
stroke_color=BLA... | <!-- Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
-->
## Motivation
Fix the width of riemann rectangles
## Proposed changes
Change the width from `x1 - x0` to `width=self.x_axis.n2p(x1)[0] - self.x_axis.n2p(x0)[0]`.
The former means the ... | https://api.github.com/repos/3b1b/manim/pulls/1762 | 2022-03-17T06:16:07Z | 2022-03-17T16:06:42Z | 2022-03-17T16:06:42Z | 2022-03-17T16:06:43Z | 319 | 3b1b/manim | 18,442 |
MRG Use scores, not p-values, for feature selection | diff --git a/doc/modules/feature_selection.rst b/doc/modules/feature_selection.rst
index 0c7bb54b77ec6..574a7b8ad745f 100644
--- a/doc/modules/feature_selection.rst
+++ b/doc/modules/feature_selection.rst
@@ -17,12 +17,13 @@ Univariate feature selection
Univariate feature selection works by selecting the best featur... | This solves the numerical stability issue that @amueller encountered some time ago: p-values, at least those returned by `chi2`, may contain ties even when the scores don't.
This also paves the way for score functions that are not based on significance tests, such as mutual information and infogain (whence the name of... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/1204 | 2012-10-04T09:37:52Z | 2012-10-11T15:24:58Z | 2012-10-11T15:24:58Z | 2015-10-02T14:21:33Z | 1,972 | scikit-learn/scikit-learn | 46,181 |
ref: remove patching of pickle dumping | diff --git a/src/sentry/monkey/pickle.py b/src/sentry/monkey/pickle.py
index 7f5619183190b..97d4ab84c2cb9 100644
--- a/src/sentry/monkey/pickle.py
+++ b/src/sentry/monkey/pickle.py
@@ -45,53 +45,14 @@
# contains a datetime object, or non-ASCII str data, it will fail with a
# UnicodeDecodeError, in which case we... | python 2 is long in the past and we are no longer using pickle in the data pipeline after changing all postgres data to json
<!-- Describe your PR here. --> | https://api.github.com/repos/getsentry/sentry/pulls/67241 | 2024-03-19T16:43:26Z | 2024-03-19T17:10:26Z | 2024-03-19T17:10:26Z | 2024-04-04T00:23:58Z | 1,749 | getsentry/sentry | 43,987 |
TST Avoid raising a spurious warning in test_kernel_approximation.py | diff --git a/sklearn/tests/test_kernel_approximation.py b/sklearn/tests/test_kernel_approximation.py
index 42e82e4dd36ff..f864214e49504 100644
--- a/sklearn/tests/test_kernel_approximation.py
+++ b/sklearn/tests/test_kernel_approximation.py
@@ -303,11 +303,11 @@ def logging_histogram_kernel(x, y, log):
).fit(X)
... | Remove a spurious warning related to the size of `n_components` compared to `n_samples` in `test_nystroem_callable`. | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/20513 | 2021-07-12T16:53:13Z | 2021-07-13T08:53:42Z | 2021-07-13T08:53:42Z | 2021-07-13T08:54:30Z | 256 | scikit-learn/scikit-learn | 46,759 |
Use cached states for neato when possible | diff --git a/homeassistant/components/switch/neato.py b/homeassistant/components/switch/neato.py
index dca5d63b43dd30..34dad9bb5818ad 100644
--- a/homeassistant/components/switch/neato.py
+++ b/homeassistant/components/switch/neato.py
@@ -67,7 +67,7 @@ def update(self):
_LOGGER.debug('self._state=%s', self._st... | ## Description:
The neato `vacuum` and `switch` components were not making correct use of cached states. This PR makes sure to use the cached states when possible. Thanks to @MartinHjelmare for pointing this out in #15161 !
**Related issue (if applicable):** fixes #<home-assistant issue number goes here>
**P... | https://api.github.com/repos/home-assistant/core/pulls/15218 | 2018-06-29T19:55:29Z | 2018-06-29T21:27:19Z | 2018-06-29T21:27:19Z | 2019-03-21T04:19:09Z | 491 | home-assistant/core | 39,449 |
Fix typos in section CP: Concurrency | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index 2e26d74dd..2f874803e 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -11501,7 +11501,7 @@ Concurrency and parallelism rule summary:
* [CP.2: Avoid data races](#Rconc-races)
* [CP.3: Minimize explicit sharing of writable data](#Rconc-data)
... | CP.8: Add missing colon to title
CP.30: In title, close inline code block with backtick
CP.101: Correct saying, Icarus flew to close to the sun, not the wind | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/800 | 2016-11-22T13:04:52Z | 2016-11-22T15:53:52Z | 2016-11-22T15:53:52Z | 2016-11-22T16:43:47Z | 731 | isocpp/CppCoreGuidelines | 16,121 |
Fix a typo in gym/utils/play.py | diff --git a/gym/utils/play.py b/gym/utils/play.py
index 592ae67d066..694089ec129 100644
--- a/gym/utils/play.py
+++ b/gym/utils/play.py
@@ -65,7 +65,7 @@ def callback(obs_t, obs_tp1, rew, done, info):
obs_tp1: observation after performing action
action: action that was executed
r... | https://api.github.com/repos/openai/gym/pulls/1187 | 2018-10-05T10:39:30Z | 2018-10-23T21:20:15Z | 2018-10-23T21:20:15Z | 2018-10-23T21:20:15Z | 156 | openai/gym | 5,587 | |
feat(discover): Add SnQL support for error.unhandled | diff --git a/src/sentry/search/events/base.py b/src/sentry/search/events/base.py
index 5e92baf8b81d3..868ebaa149d14 100644
--- a/src/sentry/search/events/base.py
+++ b/src/sentry/search/events/base.py
@@ -7,6 +7,7 @@
from sentry.models import Project
from sentry.search.events.constants import (
+ ERROR_HANDLED_A... | Add support for error.unhandled
in SnQL. Fields and Filter. | https://api.github.com/repos/getsentry/sentry/pulls/27330 | 2021-07-12T19:29:37Z | 2021-07-15T21:40:42Z | 2021-07-15T21:40:42Z | 2021-07-31T00:01:09Z | 2,546 | getsentry/sentry | 44,625 |
Fixes 2 typos in the chat prompt | diff --git a/llama_index/prompts/chat_prompts.py b/llama_index/prompts/chat_prompts.py
index 97d673294144b..d6d41afc7ec41 100644
--- a/llama_index/prompts/chat_prompts.py
+++ b/llama_index/prompts/chat_prompts.py
@@ -64,7 +64,7 @@
CHAT_REFINE_PROMPT_TMPL_MSGS = [
ChatMessage(
content=(
- "You ... | # Description
While debugging I noticed the CHAT_REFINE_PROMPT_TMPL_MSGS prompt template had two obvious typos: a missing "t" and a missing space at the end of a line, that caused two words to run together.
## Type of Change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-break... | https://api.github.com/repos/run-llama/llama_index/pulls/7798 | 2023-09-23T22:32:51Z | 2023-09-23T22:56:42Z | 2023-09-23T22:56:42Z | 2023-09-23T22:56:43Z | 186 | run-llama/llama_index | 6,197 |
Fixed #26933 -- Fixed an update_or_create test sometimes failing. | diff --git a/tests/get_or_create/tests.py b/tests/get_or_create/tests.py
index 0a774eff772cf..108c8e3b4f6cb 100644
--- a/tests/get_or_create/tests.py
+++ b/tests/get_or_create/tests.py
@@ -5,7 +5,7 @@
from datetime import date, datetime, timedelta
from threading import Thread
-from django.db import DatabaseError, I... | https://api.github.com/repos/django/django/pulls/6985 | 2016-07-27T20:37:03Z | 2016-07-29T01:45:35Z | 2016-07-29T01:45:35Z | 2016-07-29T01:45:35Z | 555 | django/django | 50,961 | |
Fix global_state not disconnected after ray.shutdown | diff --git a/python/ray/experimental/state.py b/python/ray/experimental/state.py
index eea005874bd1d..68d48a6df5ccb 100644
--- a/python/ray/experimental/state.py
+++ b/python/ray/experimental/state.py
@@ -120,6 +120,11 @@ def _check_connected(self):
raise Exception("The ray.global_state API cannot be used ... | ## What do these changes do?
Considering this script:
```python
import ray
ray.init()
ray.shutdown()
ray.global_state.object_table()
```
It throws a `ConnectionRefusedError` error. Worse, `_check_connected ()` will pass.
| https://api.github.com/repos/ray-project/ray/pulls/4354 | 2019-03-13T07:33:05Z | 2019-03-18T23:44:50Z | 2019-03-18T23:44:50Z | 2019-03-27T10:14:36Z | 551 | ray-project/ray | 19,687 |
DOC: update the Index.shift docstring | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 52283e4e223b4..3c357788c9d6b 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -2256,18 +2256,19 @@ def sortlevel(self, level=None, ascending=True, sort_remaining=None):
return self.sort_values(return_index... | Checklist for the pandas documentation sprint (ignore this if you are doing
an unrelated PR):
- [x] PR title is "DOC: update the <your-function-or-method> docstring"
- [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>`
- [x] The PEP8 style check passes: `git diff upstream... | https://api.github.com/repos/pandas-dev/pandas/pulls/20192 | 2018-03-10T16:04:36Z | 2018-03-10T19:15:48Z | 2018-03-10T19:15:48Z | 2018-03-10T19:15:51Z | 389 | pandas-dev/pandas | 45,337 |
DEPR: Deprecate tupleize_cols in to_csv | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 5577089c776ed..b0d1169b6bcd6 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -803,6 +803,7 @@ Deprecations
- :func:`read_excel()` has deprecated ``sheetname`` in favor of ``sheet_name`` for consis... | Title is self-explanatory.
xref #17060 | https://api.github.com/repos/pandas-dev/pandas/pulls/17877 | 2017-10-15T00:31:46Z | 2017-10-16T10:28:35Z | 2017-10-16T10:28:35Z | 2017-10-16T14:54:57Z | 1,118 | pandas-dev/pandas | 45,460 |
Switch to use or not einsum op. Needed for ORT | diff --git a/deepspeed/moe/sharded_moe.py b/deepspeed/moe/sharded_moe.py
index af1cafbe3bfd..08cbc4074f8f 100644
--- a/deepspeed/moe/sharded_moe.py
+++ b/deepspeed/moe/sharded_moe.py
@@ -96,6 +96,41 @@ def backward(ctx: Any, *grad_output: Tensor) -> Tuple[None, Tensor]:
import math
+# einsum rewrites are on par or... | Replace einsum op as its not supported by onnxruntime.
Branch by USE_EINSUM flag.
Example:
...
deepspeed.moe.sharded_moe.USE_EINSUM = False
...
self.fc3 = deepspeed.moe.layer.MoE(..)
...
| https://api.github.com/repos/microsoft/DeepSpeed/pulls/1456 | 2021-10-14T21:21:18Z | 2021-10-21T20:08:53Z | 2021-10-21T20:08:53Z | 2021-10-21T20:08:53Z | 1,498 | microsoft/DeepSpeed | 10,580 |
Add git_branch_delete rule | diff --git a/tests/rules/test_git_branch_delete.py b/tests/rules/test_git_branch_delete.py
new file mode 100644
index 000000000..44a8f4490
--- /dev/null
+++ b/tests/rules/test_git_branch_delete.py
@@ -0,0 +1,22 @@
+import pytest
+from thefuck.rules.git_branch_delete import match, get_new_command
+from tests.utils impor... | I have never written python before, so this is just copy-pasting and slashing. So if I missed some convention, or wrote the test in some wrong way, please tell me :smile:
This is to be able to give a fuck in this situation:
 usage in django.core.signing | diff --git a/django/core/signing.py b/django/core/signing.py
index 5daad4d8efaa7..1a55bcda03c90 100644
--- a/django/core/signing.py
+++ b/django/core/signing.py
@@ -74,7 +74,7 @@ def base64_hmac(salt, value, key):
def get_cookie_signer(salt='django.core.signing.get_cookie_signer'):
Signer = import_string(settin... | https://api.github.com/repos/django/django/pulls/9654 | 2018-02-02T08:55:38Z | 2018-02-07T17:47:34Z | 2018-02-07T17:47:34Z | 2019-03-03T08:04:07Z | 304 | django/django | 51,332 | |
chore(github-comments): fix flaky test | diff --git a/tests/sentry/tasks/integrations/github/test_pr_comment.py b/tests/sentry/tasks/integrations/github/test_pr_comment.py
index 992ac5ef5db0c..d1fa67b0522f8 100644
--- a/tests/sentry/tasks/integrations/github/test_pr_comment.py
+++ b/tests/sentry/tasks/integrations/github/test_pr_comment.py
@@ -348,6 +348,8 @@... | Fixes SENTRY-TESTS-QRW ([link](https://sentry.sentry.io/issues/4740260799/)) | https://api.github.com/repos/getsentry/sentry/pulls/63032 | 2024-01-11T19:41:52Z | 2024-01-11T21:02:33Z | 2024-01-11T21:02:33Z | 2024-01-27T00:02:16Z | 589 | getsentry/sentry | 43,940 |
Fixed #12756: Improved error message when yaml module is missing. | diff --git a/AUTHORS b/AUTHORS
index c343eeb67bd86..75db3005130d3 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -58,6 +58,7 @@ answer newbie questions, and generally made Django that much better:
Gisle Aas <gisle@aas.no>
Chris Adams
Mathieu Agopian <mathieu.agopian@gmail.com>
+ Roberto Aguilar <roberto@bareme... | Running dumpdata without `pyyaml` installed will now produce a useful error message:
```
[berto@scratch]$ python manage.py dumpdata --format=yaml
CommandError: Unable to serialize database: No module named yaml
```
| https://api.github.com/repos/django/django/pulls/1582 | 2013-09-06T22:35:17Z | 2013-09-06T23:05:05Z | 2013-09-06T23:05:05Z | 2014-06-26T05:37:58Z | 2,635 | django/django | 51,563 |
Change string to enum in SomfyThermostat | diff --git a/homeassistant/components/overkiz/climate_entities/somfy_thermostat.py b/homeassistant/components/overkiz/climate_entities/somfy_thermostat.py
index 8242fdc85768be..aaae64e0454cf8 100644
--- a/homeassistant/components/overkiz/climate_entities/somfy_thermostat.py
+++ b/homeassistant/components/overkiz/climat... | ## Proposed change
While working on another PR
(needs https://github.com/home-assistant/core/pull/88808)
## Type of change
<!--
What type of change does your PR introduce to Home Assistant?
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
... | https://api.github.com/repos/home-assistant/core/pulls/88813 | 2023-02-26T22:18:49Z | 2023-02-27T16:24:02Z | 2023-02-27T16:24:02Z | 2023-02-28T18:02:14Z | 255 | home-assistant/core | 38,693 |
[ie/tiktok] Restore `carrier_region` API param | diff --git a/yt_dlp/extractor/tiktok.py b/yt_dlp/extractor/tiktok.py
index 295e14932a8..3f5261ad968 100644
--- a/yt_dlp/extractor/tiktok.py
+++ b/yt_dlp/extractor/tiktok.py
@@ -155,6 +155,7 @@ def _build_api_query(self, query):
'locale': 'en',
'ac2': 'wifi5g',
'uoo': '1',
+ ... | Avoids some geo-blocks, see https://github.com/yt-dlp/yt-dlp/issues/9506#issuecomment-2041044419
Thanks @oifj34f34f
<details open><summary>Template</summary> <!-- OPEN is intentional -->
### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [contributing guidelines](https:... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/9637 | 2024-04-06T23:34:13Z | 2024-04-07T15:32:11Z | 2024-04-07T15:32:11Z | 2024-04-07T15:32:11Z | 157 | yt-dlp/yt-dlp | 8,052 |
[3.11] GH-92678: Document that you shouldn't be doing your own dictionary offset calculations. (GH-95598) | diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst
index 07a625bac02fc4..fb03366056b0d2 100644
--- a/Doc/c-api/object.rst
+++ b/Doc/c-api/object.rst
@@ -126,6 +126,14 @@ Object Protocol
A generic implementation for the getter of a ``__dict__`` descriptor. It
creates the dictionary if necessary.
+ This... | Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
(cherry picked from commit 8d37c62c2a2579ae7839ecaf8351e862f2ecc9bb)
Co-authored-by: Mark Shannon <mark@hotpy.org>
<!-- gh-issue-number: gh-92678 -->
* Issue: gh-92678
<!-- /gh-issue-number -->
| https://api.github.com/repos/python/cpython/pulls/95821 | 2022-08-09T13:26:48Z | 2022-08-09T15:22:54Z | 2022-08-09T15:22:54Z | 2022-08-09T15:23:03Z | 1,222 | python/cpython | 4,380 |
remove resnet name | diff --git a/ppocr/modeling/backbones/det_resnet_vd.py b/ppocr/modeling/backbones/det_resnet_vd.py
index 3bb4a0d505..a29cf1b5e1 100644
--- a/ppocr/modeling/backbones/det_resnet_vd.py
+++ b/ppocr/modeling/backbones/det_resnet_vd.py
@@ -25,16 +25,14 @@
class ConvBNLayer(nn.Layer):
- def __init__(
- sel... | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/4870 | 2021-12-08T09:53:16Z | 2021-12-08T14:53:49Z | 2021-12-08T14:53:49Z | 2021-12-08T14:53:49Z | 1,748 | PaddlePaddle/PaddleOCR | 41,941 | |
fix(search): Correct a few types on the frontend grammar parser | diff --git a/static/app/components/searchSyntax/parser.tsx b/static/app/components/searchSyntax/parser.tsx
index ab6839cae4344..edfb011cc7229 100644
--- a/static/app/components/searchSyntax/parser.tsx
+++ b/static/app/components/searchSyntax/parser.tsx
@@ -310,8 +310,8 @@ class TokenConverter {
tokenKeyAggregate = (... | https://api.github.com/repos/getsentry/sentry/pulls/26554 | 2021-06-11T05:34:44Z | 2021-06-11T06:54:48Z | 2021-06-11T06:54:48Z | 2021-06-26T12:00:54Z | 289 | getsentry/sentry | 44,381 | |
undo noise | diff --git a/deepspeed/runtime/zero/stage3.py b/deepspeed/runtime/zero/stage3.py
index 5d47edaa44ac..5350b06e654e 100755
--- a/deepspeed/runtime/zero/stage3.py
+++ b/deepspeed/runtime/zero/stage3.py
@@ -35,7 +35,7 @@
from deepspeed.utils.debug import debug_module2name_id, debug_param2name_id_numel, debug_param2name_id... | This PR:
- fixes an omission in my PR that left low-level debug on :( sorry about that. https://github.com/microsoft/DeepSpeed/pull/1136
Let's merge this asap, so that those using master don't suffer!
Thank you! | https://api.github.com/repos/microsoft/DeepSpeed/pulls/1191 | 2021-06-26T02:40:22Z | 2021-06-26T02:50:38Z | 2021-06-26T02:50:38Z | 2021-06-26T02:51:32Z | 451 | microsoft/DeepSpeed | 10,406 |
[README.md] correct the test command | diff --git a/README.md b/README.md
index 9ae838b589e..897603e3e68 100644
--- a/README.md
+++ b/README.md
@@ -357,7 +357,7 @@ If you want to create a build of youtube-dl yourself, you'll need
### Adding support for a new site
-If you want to add support for a new site, copy *any* [recently modified](https://github.... | replaced `Test_Download.test_YourExtractor` for `TestDownload.test_YourExtractor`
| https://api.github.com/repos/ytdl-org/youtube-dl/pulls/2408 | 2014-02-19T15:16:01Z | 2014-02-19T15:45:14Z | 2014-02-19T15:45:14Z | 2014-06-12T05:18:29Z | 529 | ytdl-org/youtube-dl | 49,741 |
Update quickstart.md | diff --git a/doc/doc_ch/quickstart.md b/doc/doc_ch/quickstart.md
index cac7664c2f..cdae287f7f 100644
--- a/doc/doc_ch/quickstart.md
+++ b/doc/doc_ch/quickstart.md
@@ -176,13 +176,14 @@ for idx in range(len(result)):
print(line)
# 显示结果
+# 如果本地没有simfang.ttf,可以在doc/fonts目录下下载
from PIL import Image
result = r... | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/8622 | 2022-12-14T06:58:22Z | 2022-12-26T02:50:36Z | 2022-12-26T02:50:36Z | 2022-12-26T02:50:37Z | 232 | PaddlePaddle/PaddleOCR | 42,330 | |
Fix python3 and nonascii handling in inventory plugins | diff --git a/lib/ansible/plugins/inventory/__init__.py b/lib/ansible/plugins/inventory/__init__.py
index 5f6a818d7fe089..72c33006ca73c4 100644
--- a/lib/ansible/plugins/inventory/__init__.py
+++ b/lib/ansible/plugins/inventory/__init__.py
@@ -60,18 +60,18 @@ def parse(self, inventory, loader, path, cache=True):
de... | Fixes #30663
##### SUMMARY
* Fixes one known problem fixed where we compared a byte string with text strings (which is always false on python3).
* Also fixes places that would likely fail on python2 with nonascii strings
* Fixes some unreported problems comparing byte strings with text strings.
* Fixes loading... | https://api.github.com/repos/ansible/ansible/pulls/30666 | 2017-09-21T00:08:18Z | 2017-09-21T02:39:16Z | 2017-09-21T02:39:16Z | 2019-04-26T22:41:55Z | 2,976 | ansible/ansible | 49,624 |
Remove comment about extensions being reviewed by the core team | diff --git a/docs/foreword.rst b/docs/foreword.rst
index f0dfaee253..37b4d109b1 100644
--- a/docs/foreword.rst
+++ b/docs/foreword.rst
@@ -38,9 +38,7 @@ Growing with Flask
------------------
Once you have Flask up and running, you'll find a variety of extensions
-available in the community to integrate your project... | This PR removes the comment in the foreword that tells Flask extensions are reviewed by Flask maintainers
| https://api.github.com/repos/pallets/flask/pulls/3462 | 2020-01-04T14:59:18Z | 2020-02-11T01:29:10Z | 2020-02-11T01:29:10Z | 2020-11-14T01:42:45Z | 165 | pallets/flask | 20,375 |
CI Disable pytest-xdist in pylatest_pip_openblas_pandas build | diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index af25f0e09862f..66e00ee54b07d 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -199,6 +199,10 @@ jobs:
CHECK_PYTEST_SOFT_DEPENDENCY: 'true'
CHECK_WARNINGS: 'true'
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '3' # non-default seed... | to make sure that OpenMP and OpenBLAS are not single threaded in at least 1 job
follow-up of https://github.com/scikit-learn/scikit-learn/pull/25918 | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/25943 | 2023-03-22T15:28:35Z | 2023-03-23T10:10:00Z | 2023-03-23T10:10:00Z | 2023-03-23T10:10:21Z | 188 | scikit-learn/scikit-learn | 46,698 |
deepbooru tags for textual inversion preproccessing | diff --git a/modules/deepbooru.py b/modules/deepbooru.py
index 7e3c0618298..29529949067 100644
--- a/modules/deepbooru.py
+++ b/modules/deepbooru.py
@@ -1,21 +1,75 @@
import os.path
from concurrent.futures import ProcessPoolExecutor
-from multiprocessing import get_context
+import multiprocessing
+import time
+def ... | Added the option of using deepbooru tags for textual inversion preprocessing file names. This resulted in the need to restructure the deepbooru module file to allow for running images through the model multiple times without needing to reload the module. This resulting in signification speed up for using deepbooru fo... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/2143 | 2022-10-10T05:10:57Z | 2022-10-12T05:35:27Z | 2022-10-12T05:35:27Z | 2022-10-12T05:35:28Z | 2,996 | AUTOMATIC1111/stable-diffusion-webui | 40,232 |
Strip comments from hires fix prompt | diff --git a/modules/processing_scripts/comments.py b/modules/processing_scripts/comments.py
index 638e39f2989..cf81dfd8b49 100644
--- a/modules/processing_scripts/comments.py
+++ b/modules/processing_scripts/comments.py
@@ -26,6 +26,13 @@ def process(self, p, *args):
p.main_prompt = strip_comments(p.main_prom... | ## Description
Fixes #15258
## Checklist:
- [x] I have read [contributing wiki page](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing)
- [x] I have performed a self-review of my own code
- [x] My code follows the [style guidelines](https://github.com/AUTOMATIC1111/stable-diffusion-webui/... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/15263 | 2024-03-15T04:27:42Z | 2024-03-16T05:30:16Z | 2024-03-16T05:30:16Z | 2024-03-16T05:30:18Z | 211 | AUTOMATIC1111/stable-diffusion-webui | 40,503 |
correct the reST rendering of the R() note | diff --git a/docs/docsite/rst/dev_guide/developing_modules_documenting.rst b/docs/docsite/rst/dev_guide/developing_modules_documenting.rst
index 6be4fcd0e7ef8c..c56cd718232130 100644
--- a/docs/docsite/rst/dev_guide/developing_modules_documenting.rst
+++ b/docs/docsite/rst/dev_guide/developing_modules_documenting.rst
@... | ##### SUMMARY
without the space, it's not rendered as a list
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
##### COMPONENT NAME
<!--- Write the short name of the module, plugin, task or feature below -->
##### ADDITIONAL INFORMATION
<!--- Include additional information to help people underst... | https://api.github.com/repos/ansible/ansible/pulls/72896 | 2020-12-08T07:22:32Z | 2020-12-08T15:46:10Z | 2020-12-08T15:46:10Z | 2021-01-15T14:01:06Z | 269 | ansible/ansible | 49,324 |
Dev2 | diff --git a/fooocus_version.py b/fooocus_version.py
index e1578ebba..70a5e92a9 100644
--- a/fooocus_version.py
+++ b/fooocus_version.py
@@ -1 +1 @@
-version = '2.1.849'
+version = '2.1.850'
diff --git a/modules/patch_clip.py b/modules/patch_clip.py
index 0ef22e8b9..5a3e85dfb 100644
--- a/modules/patch_clip.py
+++ b/mo... | https://api.github.com/repos/lllyasviel/Fooocus/pulls/1463 | 2023-12-17T08:12:52Z | 2023-12-17T08:13:51Z | 2023-12-17T08:13:51Z | 2023-12-17T08:13:54Z | 1,090 | lllyasviel/Fooocus | 7,235 | |
[CI] Add HF transformers tests | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ec6df08793c7..69e3da34e05f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -53,6 +53,7 @@ jobs:
python --version
which nvcc
nvcc --version
+ pip install torch==1.8.2+cu111 tor... | Adding the tests from here: https://github.com/microsoft/DeepSpeed/issues/937 | https://api.github.com/repos/microsoft/DeepSpeed/pulls/958 | 2021-04-14T18:01:11Z | 2021-09-24T22:47:01Z | 2021-09-24T22:47:01Z | 2021-09-24T22:47:05Z | 1,088 | microsoft/DeepSpeed | 10,493 |
CLN: misc tslibs, annotations, unused imports | diff --git a/pandas/_libs/tslibs/resolution.pyx b/pandas/_libs/tslibs/resolution.pyx
index c0b20c14e9920..1e0eb7f97ec54 100644
--- a/pandas/_libs/tslibs/resolution.pyx
+++ b/pandas/_libs/tslibs/resolution.pyx
@@ -27,7 +27,7 @@ cdef:
# ----------------------------------------------------------------------
-cpdef re... | https://api.github.com/repos/pandas-dev/pandas/pulls/31673 | 2020-02-04T23:09:40Z | 2020-02-05T00:46:52Z | 2020-02-05T00:46:52Z | 2020-02-05T00:48:50Z | 935 | pandas-dev/pandas | 45,327 | |
Upgrade aladdin_connect to 0.3 and provide Unique ID | diff --git a/homeassistant/components/cover/aladdin_connect.py b/homeassistant/components/cover/aladdin_connect.py
index efaea39bb864..ef1f94d1bcd3 100644
--- a/homeassistant/components/cover/aladdin_connect.py
+++ b/homeassistant/components/cover/aladdin_connect.py
@@ -14,7 +14,7 @@
S... | ## Description:
Update dependency for a few bug fixes and provide unique id to allow renaming.
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
If the code communicates with devices, web services, or third-par... | https://api.github.com/repos/home-assistant/core/pulls/15986 | 2018-08-15T00:28:26Z | 2018-08-16T05:18:30Z | 2018-08-16T05:18:30Z | 2019-03-21T04:15:30Z | 350 | home-assistant/core | 39,324 |
Fix allreduce for BF16 and ZeRO0 | diff --git a/deepspeed/runtime/engine.py b/deepspeed/runtime/engine.py
index e15cc49339ff..5c1202ba06ae 100644
--- a/deepspeed/runtime/engine.py
+++ b/deepspeed/runtime/engine.py
@@ -1911,9 +1911,6 @@ def print_forward_breakdown(self, fwd_time):
@instrument_w_nvtx
def allreduce_gradients(self, bucket_size=M... | This PR fixes an issue with allreducing for ZeRO0 + BF16. (This replaces #5154)
DeepSpeed uses `BF16_Optimizer` when ZeRO0 and BF16 are enabled. The optimizer accumulates gradients on FP32 buffer soon after a backward pass completes. However, DeepSpeed engine performs allreduce on BF16 gradients.
This PR fixes th... | https://api.github.com/repos/microsoft/DeepSpeed/pulls/5170 | 2024-02-21T16:56:39Z | 2024-02-21T20:08:02Z | 2024-02-21T20:08:02Z | 2024-04-11T03:15:08Z | 358 | microsoft/DeepSpeed | 10,077 |
Fix moe cpu offload | diff --git a/deepspeed/runtime/zero/stage_1_and_2.py b/deepspeed/runtime/zero/stage_1_and_2.py
index e4009f6ac883..71a01b2391f8 100755
--- a/deepspeed/runtime/zero/stage_1_and_2.py
+++ b/deepspeed/runtime/zero/stage_1_and_2.py
@@ -1946,8 +1946,10 @@ def _average_expert_grad_norms(self, norm_groups):
for i, nor... | The MoE- param gradients norms don't need to be averaged when created on CPU only when using 1-DP training. However, I just moved the tensor back to GPU to get average when having data-parallel on the MoE parameters and using CPU-offload.
This PR addresses https://github.com/microsoft/DeepSpeed/issues/5203 | https://api.github.com/repos/microsoft/DeepSpeed/pulls/5220 | 2024-03-02T00:42:22Z | 2024-03-04T19:34:17Z | 2024-03-04T19:34:16Z | 2024-03-04T19:34:17Z | 256 | microsoft/DeepSpeed | 10,251 |
Add async support for mistral embeddings | diff --git a/llama_index/embeddings/mistralai.py b/llama_index/embeddings/mistralai.py
index 995ad17166924..2bd444859f280 100644
--- a/llama_index/embeddings/mistralai.py
+++ b/llama_index/embeddings/mistralai.py
@@ -5,6 +5,7 @@
from llama_index.bridge.pydantic import PrivateAttr
from llama_index.callbacks.base impor... | # Description
PR to add async support for mistral embeddings and syntax fix for mistral llm.
Fixes # (issue)
## Type of Change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
# How Has This Been Tested?
Please describe the tests that you ran to ... | https://api.github.com/repos/run-llama/llama_index/pulls/9466 | 2023-12-12T17:19:23Z | 2023-12-12T18:16:43Z | 2023-12-12T18:16:43Z | 2023-12-12T18:16:43Z | 1,000 | run-llama/llama_index | 6,715 |
[runtime env] [1.11.0 release cherry-pick] fix bug where pip options don't work in `requirements.txt` | diff --git a/python/ray/_private/runtime_env/pip.py b/python/ray/_private/runtime_env/pip.py
index 1ce0ed2de0481..d0fc43d33b49e 100644
--- a/python/ray/_private/runtime_env/pip.py
+++ b/python/ray/_private/runtime_env/pip.py
@@ -29,11 +29,25 @@ def _install_pip_list_to_dir(
target_dir: str,
logger: Op... | <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your P... | https://api.github.com/repos/ray-project/ray/pulls/22127 | 2022-02-04T21:52:08Z | 2022-02-14T15:13:37Z | 2022-02-14T15:13:37Z | 2022-02-14T15:13:38Z | 1,667 | ray-project/ray | 19,881 |
[tune] Improve BOHB/ConfigSpace dependency check | diff --git a/python/ray/tune/suggest/bohb.py b/python/ray/tune/suggest/bohb.py
index 995c0f86f23ff..bef5b9ed3defa 100644
--- a/python/ray/tune/suggest/bohb.py
+++ b/python/ray/tune/suggest/bohb.py
@@ -5,7 +5,6 @@
import math
from typing import Dict, List, Optional, Union
-import ConfigSpace
from ray.tune.result im... | <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your P... | https://api.github.com/repos/ray-project/ray/pulls/15064 | 2021-04-01T15:03:08Z | 2021-04-02T08:19:49Z | 2021-04-02T08:19:49Z | 2021-04-02T08:19:52Z | 502 | ray-project/ray | 19,574 |
[docker] Check for GPUs before setting runtime-nvidia | diff --git a/python/ray/autoscaler/_private/command_runner.py b/python/ray/autoscaler/_private/command_runner.py
index 5f38ecee03eda..e708bfbac366d 100644
--- a/python/ray/autoscaler/_private/command_runner.py
+++ b/python/ray/autoscaler/_private/command_runner.py
@@ -667,14 +667,14 @@ def run_init(self, *, as_head, fi... | <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your P... | https://api.github.com/repos/ray-project/ray/pulls/11418 | 2020-10-15T17:45:23Z | 2020-10-15T22:43:10Z | 2020-10-15T22:43:10Z | 2020-10-15T22:43:10Z | 453 | ray-project/ray | 19,922 |
fix(bybit): error mapping (InvalidOrder -> BadRequest) | diff --git a/ts/src/bybit.ts b/ts/src/bybit.ts
index 58dd8e7823e9..472235c8452e 100644
--- a/ts/src/bybit.ts
+++ b/ts/src/bybit.ts
@@ -728,7 +728,7 @@ export default class bybit extends Exchange {
'110023': InvalidOrder, // This contract only supports position reduction operation, please contact cu... | - relates to https://github.com/ccxt/ccxt/issues/19311
DEMO
```
n bybit setMarginMode "isolated" "BTC/USDT:USDT" '{"leverage": 3}' --sandbox
2023-09-19T10:54:30.792Z
Node.js: v18.14.0
CCXT v4.0.100
bybit.setMarginMode (isolated, BTC/USDT:USDT, [object Object])
BadRequest bybit {"retCode":110026,"retMsg":"Cr... | https://api.github.com/repos/ccxt/ccxt/pulls/19327 | 2023-09-19T10:54:52Z | 2023-09-19T11:08:16Z | 2023-09-19T11:08:16Z | 2023-09-19T11:08:16Z | 222 | ccxt/ccxt | 13,877 |
MNT minor clean-up of sklearn/conftests.py | diff --git a/sklearn/conftest.py b/sklearn/conftest.py
index 27ac720cbfe2e..90b30506e8cae 100644
--- a/sklearn/conftest.py
+++ b/sklearn/conftest.py
@@ -132,8 +132,6 @@ def pytest_collection_modifyitems(config, items):
)
item.add_marker(marker)
- # numpy changed the str/repr formatting of... | Noticed an old comment about numpy >= 14, which is not relevant any more. Also there is a `try/except` which I don't think is needed.
| https://api.github.com/repos/scikit-learn/scikit-learn/pulls/25358 | 2023-01-11T14:11:15Z | 2023-01-11T16:05:27Z | 2023-01-11T16:05:27Z | 2023-03-31T06:31:19Z | 411 | scikit-learn/scikit-learn | 46,330 |
CLN: avoid getattr(obj, "values", obj) | diff --git a/pandas/_libs/hashtable_func_helper.pxi.in b/pandas/_libs/hashtable_func_helper.pxi.in
index 6e5509a5570e8..c63f368dfae43 100644
--- a/pandas/_libs/hashtable_func_helper.pxi.in
+++ b/pandas/_libs/hashtable_func_helper.pxi.in
@@ -125,7 +125,7 @@ cpdef value_count_{{dtype}}({{c_type}}[:] values, bint dropna):... | xref #27167
@mroeschke can you pls double-check me on the change in window.rolling | https://api.github.com/repos/pandas-dev/pandas/pulls/33776 | 2020-04-24T18:45:06Z | 2020-04-25T20:48:05Z | 2020-04-25T20:48:05Z | 2020-04-25T21:03:58Z | 1,027 | pandas-dev/pandas | 45,406 |
rm model type check | diff --git a/paddleocr.py b/paddleocr.py
index a530d78685..f19d1defee 100644
--- a/paddleocr.py
+++ b/paddleocr.py
@@ -47,7 +47,9 @@
BASE_DIR = os.path.expanduser("~/.paddleocr/")
DEFAULT_OCR_MODEL_VERSION = 'PP-OCR'
+SUPPORT_OCR_MODEL_VERSION = ['PP-OCR', 'PP-OCRv2']
DEFAULT_STRUCTURE_MODEL_VERSION = 'STRUCTURE'
... | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/5222 | 2022-01-10T03:36:29Z | 2022-01-10T07:10:26Z | 2022-01-10T07:10:26Z | 2022-01-10T07:10:27Z | 758 | PaddlePaddle/PaddleOCR | 41,839 | |
YoutubeIE: Detect new Vevo style videos | diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index 8d228d40dc9..af11333d1a6 100755
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -379,6 +379,17 @@ def report_rtmp_download(self):
"""Indicate the download will use the RTMP protocol."""
self.to_scre... | The url_encoded_fmt_stream_map can be found in the video page, but the signature must be decrypted, we get it from the webpage instead of the `get_video_info` pages because we have only discover the algorithm for keys with both sub keys of size 43.
This should fix #897, I've tested with a few videos and it has worked.... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/900 | 2013-06-21T19:59:39Z | 2013-06-23T17:45:52Z | 2013-06-23T17:45:52Z | 2014-06-17T21:48:59Z | 632 | ytdl-org/youtube-dl | 50,242 |
build extras together | diff --git a/SConstruct b/SConstruct
index e015218f2ab81a..23ab37dc1eb7a0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -431,11 +431,12 @@ SConscript(['selfdrive/sensord/SConscript'])
SConscript(['selfdrive/ui/SConscript'])
SConscript(['selfdrive/navd/SConscript'])
-SConscript(['tools/replay/SConscript'])
+if arch in... | I think https://github.com/commaai/openpilot/pull/26004 broke builds as `replay_lib` is not always exported, but the cabana build imports it | https://api.github.com/repos/commaai/openpilot/pulls/26051 | 2022-10-12T21:50:35Z | 2022-10-12T22:14:02Z | 2022-10-12T22:14:02Z | 2022-10-12T22:14:03Z | 1,162 | commaai/openpilot | 9,141 |
Simplify GraphQL Tool Initialization documentation by Removing 'llm' Argument | diff --git a/docs/extras/modules/agents/tools/integrations/graphql.ipynb b/docs/extras/modules/agents/tools/integrations/graphql.ipynb
index d80341725891fa..ecc0de58430b1c 100644
--- a/docs/extras/modules/agents/tools/integrations/graphql.ipynb
+++ b/docs/extras/modules/agents/tools/integrations/graphql.ipynb
@@ -52,7 ... | This PR is aimed at enhancing the clarity of the documentation in the langchain project.
**Description**:
In the graphql.ipynb file, I have removed the unnecessary 'llm' argument from the initialization process of the GraphQL tool (of type _EXTRA_OPTIONAL_TOOLS). The 'llm' argument is not required for this process.... | https://api.github.com/repos/langchain-ai/langchain/pulls/7651 | 2023-07-13T11:36:00Z | 2023-07-13T18:52:07Z | 2023-07-13T18:52:07Z | 2023-07-13T18:52:07Z | 172 | langchain-ai/langchain | 43,652 |
Fixed #33543 -- Deprecated passing nulls_first/nulls_last=False to OrderBy and Expression.asc()/desc(). | diff --git a/django/db/models/expressions.py b/django/db/models/expressions.py
index 4bc55a1c893ad..2057dbd2721c2 100644
--- a/django/db/models/expressions.py
+++ b/django/db/models/expressions.py
@@ -2,6 +2,7 @@
import datetime
import functools
import inspect
+import warnings
from collections import defaultdict
f... | ticket-33543
Thanks Allen Jonathan David for the initial patch. | https://api.github.com/repos/django/django/pulls/15682 | 2022-05-11T08:18:15Z | 2022-05-12T09:30:03Z | 2022-05-12T09:30:03Z | 2022-05-12T09:30:22Z | 1,783 | django/django | 51,542 |
[WIP] Mention of pairwise_distances in Guide on Metrics | diff --git a/doc/modules/metrics.rst b/doc/modules/metrics.rst
index 0c3d255d3b134..e1bb6931fb95d 100644
--- a/doc/modules/metrics.rst
+++ b/doc/modules/metrics.rst
@@ -33,6 +33,34 @@ the kernel:
2. ``S = 1. / (D / np.max(D))``
+.. currentmodule:: sklearn.metrics
+
+The distances between the row vectors of ``X... | #### Reference Issues/PRs
Fixes #9428.
#### What does this implement/fix? Explain your changes.
Section [4.8. Pairwise metrics, Affinities and Kernels](http://scikit-learn.org/stable/modules/metrics.html) of the guide talks about "evaluate pairwise distances" but does not mention the functions `pairwise_distance... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/12416 | 2018-10-18T20:43:30Z | 2018-10-30T01:47:51Z | 2018-10-30T01:47:50Z | 2018-10-30T01:47:51Z | 434 | scikit-learn/scikit-learn | 46,096 |
adds minutes + seconds to examples | diff --git a/doc/sphinxext/gen_rst.py b/doc/sphinxext/gen_rst.py
index 56e0638c10e76..6615b8d74798b 100644
--- a/doc/sphinxext/gen_rst.py
+++ b/doc/sphinxext/gen_rst.py
@@ -332,7 +332,8 @@ def resolve(self, cobj, this_url):
.. literalinclude:: %(fname)s
:lines: %(end_row)s-
-**Total running time of the example:... | This adds the amount of minutes and seconds in addition to the usual time in seconds to examples

| https://api.github.com/repos/scikit-learn/scikit-learn/pulls/2515 | 2013-10-14T06:53:18Z | 2013-10-14T15:16:19Z | 2013-10-14T15:16:19Z | 2014-06-13T11:37:47Z | 398 | scikit-learn/scikit-learn | 46,331 |
fix side menu regression | diff --git a/website/src/components/SideMenu.tsx b/website/src/components/SideMenu.tsx
index 25dabf30f3..ee7dba4db8 100644
--- a/website/src/components/SideMenu.tsx
+++ b/website/src/components/SideMenu.tsx
@@ -21,8 +21,9 @@ export function SideMenu(props: SideMenuProps) {
return (
<main className="sticky top-0... | fix regression introduced in #1049. just notice this bug when visiting our dev website with a mobile. | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/1067 | 2023-02-02T09:12:38Z | 2023-02-02T10:36:12Z | 2023-02-02T10:36:11Z | 2023-02-08T06:23:24Z | 232 | LAION-AI/Open-Assistant | 37,600 |
Set the cloned directory as PYTHONPATH in appveyor.yml | diff --git a/appveyor.yml b/appveyor.yml
index 93cfd469e55..7fd63686499 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -12,7 +12,8 @@ branches:
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- - "SET TOX_TESTENV_PASSENV=HOME USERPROFILE HOMEPATH HOMEDRIVE"
+ - "SET PYTHONPATH=%APPVEYOR_BUILD_FOLDER%"
... | Fixes #3809
I’m unsure how it broke, I suspect it was a change in the AppVeyor side. | https://api.github.com/repos/scrapy/scrapy/pulls/3827 | 2019-06-11T13:51:11Z | 2019-06-12T20:40:09Z | 2019-06-12T20:40:09Z | 2019-06-25T20:29:28Z | 159 | scrapy/scrapy | 34,962 |
removing lsr from libraries and moving it to books | diff --git a/README.md b/README.md
index b1df067f..6ef0244c 100644
--- a/README.md
+++ b/README.md
@@ -865,7 +865,6 @@ on MNIST digits[DEEP LEARNING]
<a name="r-data-analysis" />
#### Data Analysis / Data Visualization
-* [Learning Statistics Using R](http://health.adelaide.edu.au/psychology/ccs/teaching/lsr/)
* [... | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/160 | 2015-06-08T21:58:22Z | 2015-06-08T22:24:20Z | 2015-06-08T22:24:20Z | 2015-06-08T22:24:24Z | 136 | josephmisiti/awesome-machine-learning | 51,902 | |
Add Tesla to organizations list | diff --git a/README.md b/README.md
index 7bf0ed8d16..f9061c3386 100644
--- a/README.md
+++ b/README.md
@@ -138,7 +138,7 @@ Twisted, LocalStack, every Datadog Agent Integration, Home Assistant, Zulip, Ked
many more.
The following organizations use _Black_: Facebook, Dropbox, Mozilla, Quora, Duolingo,
-QuantumBlack.
... | <!-- Hello! Thanks for submitting a PR. To help make things go a bit more
smoothly we would appreciate that you go through this template. -->
### Description
<!-- Good things to put here include: reasoning for the change (please link
any relevant issues!), any noteworthy (or hacky) choices to be aware... | https://api.github.com/repos/psf/black/pulls/2577 | 2021-10-30T03:19:28Z | 2021-10-30T18:45:09Z | 2021-10-30T18:45:09Z | 2021-10-30T18:45:09Z | 125 | psf/black | 24,449 |
Smoother practice experience for random_question.py | diff --git a/scripts/random_question.py b/scripts/random_question.py
index a0e2b7eb6..7bf743891 100644
--- a/scripts/random_question.py
+++ b/scripts/random_question.py
@@ -1,6 +1,6 @@
import random
import optparse
-
+import os
def main():
"""Reads through README.md for question/answer pairs and adds them to ... | 1. Clear the screen when viewing new questions
2. " y + enter" is too complex, "enter" is enough. | https://api.github.com/repos/bregman-arie/devops-exercises/pulls/306 | 2022-11-01T09:39:31Z | 2022-11-06T07:58:04Z | 2022-11-06T07:58:04Z | 2022-11-06T07:58:04Z | 217 | bregman-arie/devops-exercises | 17,462 |
Do not list the field name twice | diff --git a/acme/acme/messages.py b/acme/acme/messages.py
index c824c43cfbe..1d907e5fc06 100644
--- a/acme/acme/messages.py
+++ b/acme/acme/messages.py
@@ -245,7 +245,7 @@ def __getattr__(self, name):
try:
return self[name.replace('_', '-')]
except KeyError as error:
- raise A... | https://github.com/certbot/certbot/pull/7687 improved our `acme` module by adding the name of the missing field to the error message raised from `messages.Directory.__getitem__`.
One slight downside is `messages.Directory.__getattr__` uses `__getitem__` and was previously adding the missing field to the error messag... | https://api.github.com/repos/certbot/certbot/pulls/7689 | 2020-01-16T19:38:57Z | 2020-01-16T21:44:09Z | 2020-01-16T21:44:09Z | 2020-01-16T21:44:09Z | 124 | certbot/certbot | 3,063 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.