pr_id int64 | repo_id null | repo_name string | text string |
|---|---|---|---|
14,882 | null | scipy/scipy | # Repository Context
Name: scipy/scipy
Description:
# Pull Request
## BUG: Convert TNC C module to cython
The TNC C module (`optimize.tnc.moduleTNC.c`) is quite hard to update/follow. This PR converts it to use a Cython wrapper instead.
This conversion will help debug #14879 (because I'll become familiar with th... |
1,353 | null | alphagov/notifications-admin | # Repository Context
Name: alphagov/notifications-admin
Description:
# Pull Request
## Bump utils to count characters in SMS properly
Brings in:
- [x] https://github.com/alphagov/notifications-utils/pull/172
# Relevant Files Found
## tests/app/main/views/test_send.py
```
# -*- coding: utf-8 -*-
import uuid
from... |
3,813 | null | snowflakedb/snowpark-python | # Repository Context
Name: snowflakedb/snowpark-python
Description:
# Pull Request
## SNOW-2364943: support export external telemetry to event table
<!---
Please answer these questions before creating your pull request. Thanks!
--->
1. Which Jira issue is this PR addressing? Make sure that there is an accompan... |
35 | null | qiyuangong/leetcode | # Repository Context
Name: qiyuangong/leetcode
Description:
# Pull Request
## Fix Problem 67 Python Solution
# Relevant Files Found
## python/067_Add_Binary.py
```
class Solution(object):
# def addBinary(self, a, b):
# """
# :type a: str
# :type b: str
# :rtype: str
# ... |
175 | null | smart-on-fhir/cumulus-etl | # Repository Context
Name: smart-on-fhir/cumulus-etl
Description:
# Pull Request
## feat: add --export-to=PATH to save bulk exports
### Description
This offers a way to save the results of a bulk export locally, rather that deleting them when done with them.
Useful for debugging or archiving.
<!--- Describe ... |
6 | null | Colin-Fredericks/hx_util | # Repository Context
Name: Colin-Fredericks/hx_util
Description:
# Pull Request
## New transcript fix
EdX's XML for video transcripts changed on August 15th. This is the fix to handle the new XML style. Their "documentation" of this is at https://openedx.atlassian.net/wiki/spaces/EDUCATOR/pages/815366180/Content-st... |
1 | null | ardydedase/apiwrapper | # Repository Context
Name: ardydedase/apiwrapper
Description:
# Pull Request
## add timeout to make_request()
add the timeout option to make_request() to avoid indefinite requests
# Relevant Files Found
## apiwrapper/apiwrapper.py
```
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: ardydedase
# @Date: ... |
160 | null | vgrem/office365-rest-python-client | # Repository Context
Name: vgrem/office365-rest-python-client
Description:
# Pull Request
## CamlQuery: allow to filter single line text field
# Relevant Files Found
## office365/sharepoint/helpers/camlquery_builder.py
```
import logging
from office365.sharepoint.caml_query import CamlQuery
from office365.shar... |
26 | null | 3ll3d00d/beqdesigner | # Repository Context
Name: 3ll3d00d/beqdesigner
Description:
# Pull Request
## play a sound when extraction completes
implement #25
# Relevant Files Found
## src/main/python/model/extract.py
```
import datetime
import logging
import os
import time
from pathlib import Path
import ffmpeg
from ffmpeg.nodes import... |
2,374 | null | arviz-devs/arviz | # Repository Context
Name: arviz-devs/arviz
Description:
# Pull Request
## Add support for setitem in inferencedata
## Description
<!--
Thank you so much for your PR! To help us review your contribution, please consider the following points:
- The PR title should summarize the changes, for example "Add new gro... |
15,196 | null | scikit-learn/scikit-learn | # Repository Context
Name: scikit-learn/scikit-learn
Description:
# Pull Request
## [MRG] Add an example for ensemble.BaggingRegressor
See also #3846
Implements a simple example/doctest for ensemble.BaggingRegressor and speeds up the test for ensemble.BaggingClassifier somewhat.
ping @adrinjalali
# Relevan... |
682 | null | hpe-storage/python-hpedockerplugin | # Repository Context
Name: hpe-storage/python-hpedockerplugin
Description:
# Pull Request
## fix for issue #679
Here, chmod should only be executed if fsMode is passed by the user.
Hence adding check to confirm whether fsMode is passed by user and then try to change the mode bits.
@imran-ansari
@wdurairaj
plea... |
1,261 | null | ROCm/Tensile | # Repository Context
Name: ROCm/Tensile
Description:
# Pull Request
## ROCm 4.1 merge latest staging back to develop
# Relevant Files Found
## Tensile/__init__.py
```
################################################################################
# Copyright 2016-2020 Advanced Micro Devices, Inc. All rights re... |
351 | null | vortex-exoplanet/VIP | # Repository Context
Name: vortex-exoplanet/VIP
Description:
# Pull Request
## Fixing missing dependency
# Relevant Files Found
## vip_hci/pca/pca_local.py
```
#! /usr/bin/env python
"""
Module with local/smart PCA (annulus or patch-wise) model PSF subtraction for
ADI, ADI+SDI (IFS) and ADI+RDI datasets. This ... |
1,892 | null | elastic/rally | # Repository Context
Name: elastic/rally
Description:
# Pull Request
## feat: Add a parallel JSON log by default
For ease of programmatic parsing, and uploading to Kibana with filebeat
<!--
Thank you for your interest in and contributing to Rally! There
are a few simple things to check before submitting your p... |
1,191 | null | fsspec/filesystem_spec | # Repository Context
Name: fsspec/filesystem_spec
Description:
# Pull Request
## spec: get_file: don't pollute with files and fds
Currently if anything happens in fs.open we will leave an empty file in user's workspace and also won't close the file descriptor. Both things are pretty bad.
# Relevant Files Found
##... |
89 | null | LadyBugML/ladybug | # Repository Context
Name: LadyBugML/ladybug
Description:
# Pull Request
## [LB-173] Implement MAP@K Calculation for Redwing
Implement MAP@K Calculation for Redwing. Output a metrics table for MAP@K including k values of 50,25,10,5,1.
Files changes:
- `backend/red_wing/cli_helpers.py`: Added MAP calculation ... |
6,018 | null | gammapy/gammapy | # Repository Context
Name: gammapy/gammapy
Description:
# Pull Request
## Remove extern
This PR resolves #5931
It was discussed in the dev call that this is not needed.
The script there does not even work
As we do not expose this, we decided it was not an API breaking change.
# Relevant Files Found
## gam... |
318 | null | marshmallow-code/marshmallow-sqlalchemy | # Repository Context
Name: marshmallow-code/marshmallow-sqlalchemy
Description:
# Pull Request
## Bump flake8 from 3.8.2 to 3.8.3
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.8.2 to 3.8.3.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://gitlab.com/pycqa/flake8/commit/181bb46098dddf7e2d45319... |
1,017 | null | gpustack/gpustack | # Repository Context
Name: gpustack/gpustack
Description:
# Pull Request
## refactor: client async watch
https://github.com/gpustack/gpustack/issues/1006
# Relevant Files Found
## gpustack/client/generated_http_client.py
```
import ssl
from typing import Any, Dict, Optional, Union
import truststore
import httpx... |
2,088 | null | silx-kit/silx | # Repository Context
Name: silx-kit/silx
Description:
# Pull Request
## Fix indentation typo in silx view
# Relevant Files Found
## silx/app/view/CustomNxdataWidget.py
```
# coding: utf-8
# /*##########################################################################
# Copyright (C) 2016-2018 European Synchrotro... |
1,430 | null | narwhals-dev/narwhals | # Repository Context
Name: narwhals-dev/narwhals
Description:
# Pull Request
## feat: make sure `from narwhals.stable.v1.dependencies` import works
closes #1426
<!--
# Thanks for contributing a pull request!
## Please make sure you see our contribution guidelines: https://github.com/narwhals-dev/narwhals/blo... |
1,581 | null | PlasmaPy/PlasmaPy | # Repository Context
Name: PlasmaPy/PlasmaPy
Description:
# Pull Request
## Patch for to allow `sphinx == 5.0+`
This will resolve #1580 (hopefully) and allow for the use of `sphinx >= 5.0`.
---
Additionally, I had to remove warnings that are now being issued by `sphinx` `v5.0` ...
* The configuration value... |
9,063 | null | getmoto/moto | # Repository Context
Name: getmoto/moto
Description:
# Pull Request
## Fix: incorrect tuple unpacking
mypy 1.17.0 released today and highlighted the following issues:
```
tests/test_core/utilities.py:28:22: error: Too many values to unpack (2 expected, 4 provided) [misc]
moto/moto_server/threaded_moto_server.... |
905 | null | open-power/op-test | # Repository Context
Name: open-power/op-test
Description:
# Pull Request
## Code Refactor: Code Optimization
Moved repo cloning and kernel build to main class
in order to avoid duplication of cloning and compilation of kernel. In this patch I have only focused on KernelBuild(). I will take up KernelBoot() optimiz... |
555 | null | conan-io/conan-docker-tools | # Repository Context
Name: conan-io/conan-docker-tools
Description:
# Pull Request
## Removed support for conan-server and conan-client docker images
Both images are generated only for Conan 1.x that is no longer recommended.
There is no plan for supporting those images in Conan 2.x. Instead, Conan offers a good... |
3 | null | rrottmann/pydsa | # Repository Context
Name: rrottmann/pydsa
Description:
# Pull Request
## fix incorrect bounds when generating random s
The random, per-message value s, needs to be 1<s<q.
Without this fix, the code can potentially pick 1 or q. Picking q is
harmless (s2 will be 0 and the code loops with a fresh value). Picking ... |
221 | null | dwavesystems/dwave-ocean-sdk | # Repository Context
Name: dwavesystems/dwave-ocean-sdk
Description:
# Pull Request
## Update packages for 6.1.0
# Relevant Files Found
## docs/conf.py
```
# -*- coding: utf-8 -*-
# This file contains function linkcode_resolve, based on
# https://github.com/numpy/numpy/blob/main/doc/source/conf.py,
# which is ... |
49 | null | reagento/adaptix | # Repository Context
Name: reagento/adaptix
Description:
# Pull Request
## omit default
# Relevant Files Found
## dataclass_factory/parsers.py
```
import decimal
import inspect
from collections import deque
from dataclasses import fields, is_dataclass
import itertools
from typing import (
List, Set, Frozen... |
369 | null | holoviz/datashader | # Repository Context
Name: holoviz/datashader
Description:
# Pull Request
## Edge bundling for graphs
This is the initial import of Ian Calvert's edge bundling implementation. The main structure was preserved with minor updates to fit into Datashader's pipeline.
To use an existing graph, the nodes and edges must... |
91 | null | Ouranosinc/xclim | # Repository Context
Name: Ouranosinc/xclim
Description:
# Pull Request
## Wps hook
A few small changes and fixes in the process to create a WPS Process based on xclim classes. Master version of finch has now one WPS process based on xclim.
I've started modifying the tg_mean class according to Lars' specs, henc... |
254 | null | django-daiquiri/daiquiri | # Repository Context
Name: django-daiquiri/daiquiri
Description:
# Pull Request
## Fix db browser
This PR fixes two issues
- the list of schemas and tables in the DB browser do not update after click on the column anymore. Also, the list of schemas is not updated after the click on a table.
- The list of tables... |
19 | null | fulfilio/fulfil-python-api | # Repository Context
Name: fulfilio/fulfil-python-api
Description:
# Pull Request
## Fix equality of model objects
# Relevant Files Found
## fulfil_client/model.py
```
# -*- coding: utf-8 -*-
"""
Fulfil.IO Model Helper
A collection of model layer APIs to write lesser code
and better
"""
import functools
from d... |
9,041 | null | mesonbuild/meson | # Repository Context
Name: mesonbuild/meson
Description:
# Pull Request
## gnome: Filter all compiler and linker flags
When sending them to the introspection scanner, we must always filter
all compiler and linker flags, because g-ir-scanner does not accept any
random argument but only a specific subset.
Fixes:... |
1,193 | null | conan-io/conan | # Repository Context
Name: conan-io/conan
Description:
# Pull Request
## improving graph html
Address: https://github.com/conan-io/conan/issues/1166
# Relevant Files Found
## conans/client/grapher.py
```
from conans.util.files import save
from conans.client.installer import build_id
class ConanGrapher(object):... |
15 | null | spatialaudio/python-sounddevice | # Repository Context
Name: spatialaudio/python-sounddevice
Description:
# Pull Request
## Add check_input_settings() and check_output_settings()
This wraps PortAudio's `Pa_IsFormatSupported()`.
# Relevant Files Found
## sounddevice.py
```
# Copyright (c) 2015 Matthias Geier
#
# Permission is hereby granted, fre... |
7 | null | cloudify-cosmo/cloudify-netconf-plugin | # Repository Context
Name: cloudify-cosmo/cloudify-netconf-plugin
Description:
# Pull Request
## add support for custom netconf port and validation by dsdl
# Relevant Files Found
## cloudify_netconf/netconf_connection.py
```
# Copyright (c) 2015 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed unde... |
23 | null | timercrack/pydatacoll | # Repository Context
Name: timercrack/pydatacoll
Description:
# Pull Request
## add config option
add config option: save_unchanged=False
add run parameter: --mock-iec104
# Relevant Files Found
## pydatacoll/api_server.py
```
import argparse
from collections import defaultdict
from multiprocessing import Proces... |
99 | null | webkom/lego | # Repository Context
Name: webkom/lego
Description:
# Pull Request
## Install celery
# Relevant Files Found
## lego/settings/__init__.py
```
from lego.settings.base import *
from lego.settings.lego import *
from lego.settings.rest_framework import *
if TESTING:
from lego.settings.test import *
else:
fr... |
1,047 | null | bluesky/bluesky | # Repository Context
Name: bluesky/bluesky
Description:
# Pull Request
## FIX: catch tight_layout errors
<!--- Provide a general summary of your changes in the Title above -->
<!--- Describe your changes in detail -->
If over-constrained tight_layout may raise `ValueError`. Catch that
and move on assuming that a... |
12 | null | timercrack/pydatacoll | # Repository Context
Name: timercrack/pydatacoll
Description:
# Pull Request
## improve 104mockdevice behavior
- add up_limit, down_limit to HS:TERM_ITEM
- 104mockdevice now will auto generate data find in HS:MAPPING:IEC104,
use up_limit and down_limit to random range
- add str_to_number function in utils
# Rel... |
222 | null | conda-forge/staged-recipes | # Repository Context
Name: conda-forge/staged-recipes
Description:
# Pull Request
## rasterio
Adding latest `rasterio` and `affine` that are not in the default channel.
Note that I am using `gdal 1.11.4` even though `rasterio` works fine with `gdal 2`. The reason for that is because `fiona` does not play nice with... |
956 | null | lithops-cloud/lithops | # Repository Context
Name: lithops-cloud/lithops
Description:
# Pull Request
## [AZ] set default docker server to index.docker.io
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
... |
47 | null | QualiSystems/shellfoundry | # Repository Context
Name: QualiSystems/shellfoundry
Description:
# Pull Request
## upgrade the list output and fix the templates descriptions
## Description
1. made the list indented.
2. the list is ordered by the template file.
3. templates file fixed (firewall description)
4. templates file description unificati... |
9,217 | null | mozilla/addons-server | # Repository Context
Name: mozilla/addons-server
Description:
# Pull Request
## Allow users with Admin:Advanced to delete users with relations to other models
Note that the behaviour depends on which model is affected - some are kept, others are deleted because of `UserProfile.delete_or_disable_related_content()`.
... |
11,043 | null | saleor/saleor | # Repository Context
Name: saleor/saleor
Description:
# Pull Request
## Revert updating Django 3 to Django 4
I want to merge this change because it downgrades Django version.
<!-- Please mention all relevant issue numbers. -->
# Impact
* [ ] New migrations
* [ ] New/Updated API fields or mutations
* [ ] ... |
179 | null | spyder-ide/spyder-kernels | # Repository Context
Name: spyder-ide/spyder-kernels
Description:
# Pull Request
## PR: Use a timeout in CommBase if a call passes one different from None
* This is to account for some calls that can pass a timeout (e.g. a get_value call from the frontend) and others that don't (which will pass by default a timeout... |
376 | null | ministryofjustice/money-to-prisoners-common | # Repository Context
Name: ministryofjustice/money-to-prisoners-common
Description:
# Pull Request
## Remove IE8 support
# Relevant Files Found
## mtp_common/cp_migration/__init__.py
```
```
## mtp_common/cp_migration/constants.py
```
import enum
class CloudPlatformMigrationMode(enum.Enum):
"""
Enu... |
28 | null | jlmadurga/permabots | # Repository Context
Name: jlmadurga/permabots
Description:
# Pull Request
## Bug/models dependencies
# Relevant Files Found
## microbot/models/handler.py
```
# -*- coding: utf-8 -*-
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from django.utils.translation import u... |
19,828 | null | dimagi/commcare-hq | # Repository Context
Name: dimagi/commcare-hq
Description:
# Pull Request
## Examples in comments for OpenMRS config
Just comments (to mitigate the documentation that'll happen any moment now).
@nickpell @dannyroberts cc @proteusvacuum
# Relevant Files Found
## corehq/motech/openmrs/openmrs_config.py
```
f... |
2,161 | null | hail-is/hail | # Repository Context
Name: hail-is/hail
Description:
# Pull Request
## Added require biallelic to docs
Resolves #1923
# Relevant Files Found
## python/hail/dataset.py
```
from __future__ import print_function # Python 2 and 3 print compatibility
import warnings
from decorator import decorator
from hail.expr... |
190 | null | Crown-Commercial-Service/digitalmarketplace-admin-frontend | # Repository Context
Name: Crown-Commercial-Service/digitalmarketplace-admin-frontend
Description:
# Pull Request
## Give sourcing a link to download agreements
The CCS sourcing team currently have links to download signed and countersigned agreements. This change adds links to download the plain unsigned agreement... |
65 | null | shadow-robot/sr_interface | # Repository Context
Name: shadow-robot/sr_interface
Description:
# Pull Request
## added function
# Relevant Files Found
## sr_robot_commander/src/sr_robot_commander/sr_robot_commander.py
```
#!/usr/bin/env python
# Copyright 2015 Shadow Robot Company Ltd.
#
# This program is free software: you can redistribu... |
9 | null | Parsely/parsely_raw_data | # Repository Context
Name: Parsely/parsely_raw_data
Description:
# Pull Request
## Add CampaignInfo type and Event.campaign fields
# Relevant Files Found
## parsely_raw_data/event.py
```
from __future__ import absolute_import, print_function, division
__license__ = """
Copyright 2016 Parsely, Inc.
Licensed un... |
44 | null | Chris7/pyquant | # Repository Context
Name: Chris7/pyquant
Description:
# Pull Request
## Remove python2 shims
# Relevant Files Found
## pyquant/command_line.py
```
from __future__ import division, unicode_literals, print_function
import base64
import copy
import gzip
import math
import os
import operator
import traceback
impor... |
408 | null | HEPCloud/decisionengine | # Repository Context
Name: HEPCloud/decisionengine
Description:
# Pull Request
## Setup pre-commit
Pre-commit is a useful tool for automating some sanity checks on code before you commit it to your repo.
https://pre-commit.com/index.html
We could also hook it up with things like `pyupgrade` or any of a series... |
170 | null | hugovk/em-keyboard | # Repository Context
Name: hugovk/em-keyboard
Description:
# Pull Request
## Fix reading resource when packaged in zip
Fixes https://github.com/hugovk/em-keyboard/issues/169
I was unsure of the `Traversable` type's API, so I checked types with mypy, and made small changes to make it pass. Those changes are also ... |
6,176 | null | dask/dask | # Repository Context
Name: dask/dask
Description:
# Pull Request
## Fix array general-reduction name
Fixes #6170.
- [x] Tests added / passed
- [x] Passes `black dask` / `flake8 dask`
# Relevant Files Found
## dask/array/reductions.py
```
import builtins
from collections.abc import Iterable
import operator
... |
2,033 | null | alphagov/notifications-admin | # Repository Context
Name: alphagov/notifications-admin
Description:
# Pull Request
## Highlight selected navigation item

---
In research I’ve sometimes seen people click the wrong nav item, or ... |
6,138 | null | onepercentclub/bluebottle | # Repository Context
Name: onepercentclub/bluebottle
Description:
# Pull Request
## Ticket/translate card status
# Relevant Files Found
## bluebottle/activities/serializers.py
```
import hashlib
from builtins import object
from collections import namedtuple
from datetime import datetime
import dateutil
from dj... |
11 | null | drsjb80/HPotter | # Repository Context
Name: drsjb80/HPotter
Description:
# Pull Request
## Edit command response
Renamed qandr to command_response and edited the file to be formatted towards Windows 10 for the presentation.
# Relevant Files Found
## hpotter/hpotter/HPotterDB.py
```
from sqlalchemy.ext.declarative import declared... |
440 | null | biorack/metatlas | # Repository Context
Name: biorack/metatlas
Description:
# Pull Request
## output pdf with message for empty boxplots
# Relevant Files Found
## metatlas/plots/dill2plots.py
```
import functools
import logging
import sys
import os
import os.path
import multiprocessing as mp
import warnings
# os.environ['R_LIBS_U... |
901 | null | Netflix/lemur | # Repository Context
Name: Netflix/lemur
Description:
# Pull Request
## [Doppins] Upgrade dependency pyjwt to ==1.5.3
Hi!
A new version was just released of `pyjwt`, so [Doppins](https://doppins.com)
has upgraded your project's dependency ranges.
Make sure that it doesn't break anything, and happy merging! :shipi... |
1,639 | null | pwndbg/pwndbg | # Repository Context
Name: pwndbg/pwndbg
Description:
# Pull Request
## Fix linux arm/aarch64/ppc(64) syscall abi
The system call number is specified in r0.
There is a maximum of 6 integer parameters to a syscall, passed in r3-r8.
Ref: https://docs.kernel.org/powerpc/syscall64-abi.html
I guess `SyscallABI` sho... |
1,680 | null | microsoft/Qcodes | # Repository Context
Name: microsoft/Qcodes
Description:
# Pull Request
## Release/v0.5.2
# Relevant Files Found
## qcodes/utils/installation_info.py
```
"""
This module contains helper functions that provide information about how
QCoDeS is installed and about what other packages are installed along with
QCoD... |
210 | null | patroni/patroni | # Repository Context
Name: patroni/patroni
Description:
# Pull Request
## make dbname and config file configurable
I ran into the issue of the database name (`postgres`) and config file name (`postgresql.conf`) being hardcoded when trying to set up patroni for handling a [pipelinedb](https://www.pipelinedb.com/) cl... |
62,171 | null | home-assistant/core | # Repository Context
Name: home-assistant/core
Description:
# Pull Request
## Add USB discover for Sonoff zigbee dongle plus
## Proposed change
<!--
Describe the big picture of your changes here to communicate to the
maintainers why we should accept this pull request. If it fixes a bug
or resolves a featu... |
4 | null | cdrx/rancher-host-registration | # Repository Context
Name: cdrx/rancher-host-registration
Description:
# Pull Request
## Allow passing in multiple labels - fixes #3
# Relevant Files Found
## rancher_agent_registration/cli.py
```
#!/usr/bin/python
import os, sys, subprocess
import click
import requests
from time import sleep
@click.command()
... |
3,021 | null | voxel51/fiftyone | # Repository Context
Name: voxel51/fiftyone
Description:
# Pull Request
## operator throttling and validation error fixds
## What changes are proposed in this pull request?
Fixes and improves operator throttling, form validation, form refresh on data update
## How is this patch tested? If it is not, please ex... |
1,828 | null | oppia/oppia | # Repository Context
Name: oppia/oppia
Description:
# Pull Request
## Split editor files into separate tabs.
# Relevant Files Found
## core/controllers/editor.py
```
# coding: utf-8
# Copyright 2014 The Oppia Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# yo... |
20,370 | null | pandas-dev/pandas | # Repository Context
Name: pandas-dev/pandas
Description:
# Pull Request
## TST: Remove invalid dtype test
This test was not valid. Not every dtype kind is a valid dtype.
For example, the dtype may be 'uint64', but the kind is 'u'.
# Relevant Files Found
## pandas/tests/extension/base/interface.py
```
import nu... |
804 | null | gardener/cc-utils | # Repository Context
Name: gardener/cc-utils
Description:
# Pull Request
## Close issues with recursive retry
**What this PR does / why we need it**:
**Which issue(s) this PR fixes**:
Fixes #
**Special notes for your reviewer**:
**Release note**:
<!-- Write your release note:
1. Enter your release note... |
8,918 | null | frappe/frappe | # Repository Context
Name: frappe/frappe
Description:
# Pull Request
## fix(reportview): convert to unicode conditionally
fixes TypeError: decoding str is not supported
```python-traceback
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 57, in application
... |
16,615 | null | scikit-learn/scikit-learn | # Repository Context
Name: scikit-learn/scikit-learn
Description:
# Pull Request
## git update n_jobs
#### Reference Issues/PRs
Fixes #16384
What does this implement/fix? Explain your changes.
The implementation updates documentation for sklearn.cluster.DBSCAN regarding n_jobs for precomputed distances
... |
6,805 | null | CenterForOpenScience/osf.io | # Repository Context
Name: CenterForOpenScience/osf.io
Description:
# Pull Request
## Reduce number of queries when reordering contributors and nodes [OSF-7426]
## Purpose
Optimize the views for reordering nodes and reordering contributors.
## Changes
- Simplify the request payload for the reorder_cont... |
3,434 | null | SasView/sasview | # Repository Context
Name: SasView/sasview
Description:
# Pull Request
## Updating the size Distribution tests
Cleaned up code and verified it all runs properly. Use values and data that converges and uncommented the convergence test. Test now actually does something (tests for convergence).
By visual inspection... |
338 | null | yutiansut/QUANTAXIS | # Repository Context
Name: yutiansut/QUANTAXIS
Description:
# Pull Request
## # 新增加载外部数据回测
在初始化的时候 可以用QB.outside_data来加载外部数据 但必须要是DataStruct格式
# Relevant Files Found
## QUANTAXIS/QABacktest/QABacktest.py
```
# coding=utf-8
#
# The MIT License (MIT)
#
# Copyright (c) 2016-2017 yutiansut/QUANTAXIS
#
# Permission... |
732 | null | deepchem/deepchem | # Repository Context
Name: deepchem/deepchem
Description:
# Pull Request
## Adds load_qm7 to top level and fixes doc bug in tictactoe.py
A pair of small bugfixes:
- Exposes `dc.molnet.load_qm7`
- Changes 10K rollouts to 100K rollouts in comments for `tictactoe.py`
# Relevant Files Found
## contrib/rl/tictactoe.... |
5,269 | null | DataBiosphere/toil | # Repository Context
Name: DataBiosphere/toil
Description:
# Pull Request
## Add ability to edit security context in Kubernetes
Resolves #5179
This allows the kubernetes pods and containers to have their security context changed, but *doesn't guarantee* that Toil will work with the new specified security contex... |
10,247 | null | iterative/dvc | # Repository Context
Name: iterative/dvc
Description:
# Pull Request
## config: azure: don't forget Coerce() for timeouts
Kudos @dberenbaum https://github.com/iterative/dvc/issues/10245#issuecomment-1898435806
Fixes #10245
# Relevant Files Found
## dvc/config_schema.py
```
import os
from urllib.parse impor... |
219 | null | pytest-dev/pytest-xdist | # Repository Context
Name: pytest-dev/pytest-xdist
Description:
# Pull Request
## Add docstring for worker_id
Fix #190
# Relevant Files Found
## xdist/plugin.py
```
import py
import pytest
def parse_numprocesses(s):
if s == 'auto':
try:
from os import cpu_count
except Import... |
5,041 | null | mesonbuild/meson | # Repository Context
Name: mesonbuild/meson
Description:
# Pull Request
## GnuLikeCompiler: don't set b_lundef by default on OpenBSD
OpenBSD does not link libc into shared libraries by default to avoid binding
libraries to specific libc majors. So prevent passing "-Wl,--no-undefined" or
"-zdefs" when linking (tho... |
5,033 | null | GoogleCloudPlatform/PerfKitBenchmarker | # Repository Context
Name: GoogleCloudPlatform/PerfKitBenchmarker
Description:
# Pull Request
## Add retry logic to Enable-SqlAlwaysOn command during sql server cluster setup.
Add retry logic to Enable-SqlAlwaysOn command during sql server cluster setup.
# Relevant Files Found
## perfkitbenchmarker/sqlserver_iaa... |
13,804 | null | saltstack/salt | # Repository Context
Name: saltstack/salt
Description:
# Pull Request
## Added missing versionadded for show_full_context()
# Relevant Files Found
## salt/renderers/jinja.py
```
# -*- coding: utf-8 -*-
'''
Jinja loading utils to enable a more powerful backend for jinja templates
Jinja in States
===============... |
8,911 | null | mozilla/addons-server | # Repository Context
Name: mozilla/addons-server
Description:
# Pull Request
## Fix 'required' rendering for forms that make use of translation fields.
Translated form fields render hidden fields that don't have explicitly
set `required=False` and as of Django 1.10 django renders this attribute
in the HTML.
Es... |
48 | null | tilezen/joerd | # Repository Context
Name: tilezen/joerd
Description:
# Pull Request
## Interpret path to logging config to be relative to the main config file.
Connects to #46.
@kevinkreiser could you review, please?
# Relevant Files Found
## joerd/command.py
```
from config import make_config_from_argparse
from osgeo import... |
14,973 | null | scikit-learn/scikit-learn | # Repository Context
Name: scikit-learn/scikit-learn
Description:
# Pull Request
## [MRG] Remove GraphViz mention in plot_tree docstring.
`plot_tree` is not using or related to GraphViz.
Probably from a copy and paste from `export_graphviz` in the original `plot_tree` PR https://github.com/scikit-learn/scikit-le... |
9,440 | null | Azure/azure-sdk-for-python | # Repository Context
Name: Azure/azure-sdk-for-python
Description:
# Pull Request
## update version number to 1.2.0
# Relevant Files Found
## sdk/core/azure-core/azure/core/_version.py
```
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corpo... |
401 | null | coralnet/coralnet | # Repository Context
Name: coralnet/coralnet
Description:
# Pull Request
## making collect_job robust to missing job IDs in batch
# Relevant Files Found
## project/vision_backend/queues.py
```
import abc
from io import StringIO
import json
import logging
import posixpath
import time
from typing import Optional
... |
6,713 | null | wagtail/wagtail | # Repository Context
Name: wagtail/wagtail
Description:
# Pull Request
## Fix typo in generic EditView
The generic EditView has a trailing comma in get_context_data which is making can_delete always True.
# Relevant Files Found
## wagtail/admin/views/generic/models.py
```
from django.shortcuts import redirect
fr... |
453 | null | NewFuture/DDNS | # Repository Context
Name: NewFuture/DDNS
Description:
# Pull Request
## get_ip whith try/catch
resolve #449
自动生成的 0.0
# Relevant Files Found
## run.py
```
#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
DDNS
@author: New Future
@modified: rufengsuixing
"""
from __future__ import print_function
from time im... |
2,642 | null | vega/altair | # Repository Context
Name: vega/altair
Description:
# Pull Request
## Update ranged_dot_plot.py
Fixes #2638
# Relevant Files Found
## altair/examples/ranged_dot_plot.py
```
"""
Ranged Dot Plot
-----------------
This example shows a ranged dot plot that uses 'layer' to convey changing life expectancy for the fiv... |
75 | null | nschloe/meshio | # Repository Context
Name: nschloe/meshio
Description:
# Pull Request
## Unicode fix
# Relevant Files Found
## meshio/__about__.py
```
# -*- coding: utf-8 -*-
#
__version__ = '1.7.4'
__author__ = 'Nico Schlömer'
__author_email__ = 'nico.schloemer@gmail.com'
__website__ = 'https://github.com/nschloe/meshio'
__li... |
94 | null | divio/aldryn-django | # Repository Context
Name: divio/aldryn-django
Description:
# Pull Request
## Backport S3 fixes
# Relevant Files Found
## aldryn_django/__init__.py
```
# -*- coding: utf-8 -*-
__version__ = '1.6.11.30'
```
## aldryn_django/storage.py
```
import os
from six.moves.urllib import parse
from django.conf import... |
145 | null | ProteinsWebTeam/interpro7-api | # Repository Context
Name: ProteinsWebTeam/interpro7-api
Description:
# Pull Request
## Pagination links to current API URL
This PR solves an issue better described following this steps:
1. A user navigates in the website to any of the data tables populated by our API. For example: [proteins with IPR000001 matches... |
42 | null | dotmesh-io/dotscience-python | # Repository Context
Name: dotmesh-io/dotscience-python
Description:
# Pull Request
## #41: filter the list of deployers to online ones and pick the first one
closes #41
# Relevant Files Found
## dotscience/__init__.py
```
name = "dotscience"
__version__ = '0.7.0'
import json
import datetime
import uuid
import... |
33 | null | DaniSprague/DiscordAutoReactBot | # Repository Context
Name: DaniSprague/DiscordAutoReactBot
Description:
# Pull Request
## Add cooldown on various actions
Closes #12
There is now a cooldown on reactions, as well as any messages from the bot to the user.
# Relevant Files Found
## bot.py
```
"""Discord AutoReact Bot
Reacts to users' messages... |
9,382 | null | mesonbuild/meson | # Repository Context
Name: mesonbuild/meson
Description:
# Pull Request
## Revert "interpreter: Add FeatureNew check"
This reverts commit c0efa7ab22f8900f6fa1dadf0d306ec375569c8d.
This was a nice idea, or a beautiful hack depending on your perspective. Unfortunately, it turns out to be a lot harder than we origi... |
342 | null | dask/distributed | # Repository Context
Name: dask/distributed
Description:
# Pull Request
## Fixed worker crashing with bad __repr__ for args
Previously, when a worker job failed, it tried to log the args and kwargs which led to a failure. In order to do so, it invoked the **repr** of said arguments (indirectly, via **str** of args ... |
3,012 | null | webkom/lego | # Repository Context
Name: webkom/lego
Description:
# Pull Request
## Attatch users' photo consents on event & make sure consent for event exists before registration
Previously, we checked photo_consent status for an event in the frontend
by comparing the users registered photo consents with the event
start_time.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.