pr_id
int64
repo_id
null
repo_name
string
text
string
6
null
pytest-dev/pytest-flask
# Repository Context Name: pytest-dev/pytest-flask Description: # Pull Request ## More strict requirements Any reason to keep `Flask` in main requirements? # Relevant Files Found ## setup.py ``` #!/usr/bin/env python # -*- coding: utf-8 -*- """ pytest-flask ============ A set of `py.test <http://pytest.org>`_ ...
233
null
allenai/open-instruct
# Repository Context Name: allenai/open-instruct Description: # Pull Request ## Quick rejection sampling changes Hey @nouhadziri #229 was merged to #205, but #205 was already merged in main. This PR merges your nice changes to main directly :) # Relevant Files Found ## open_instruct/dataset_processor.py ``` # t...
905
null
praw-dev/praw
# Repository Context Name: praw-dev/praw Description: # Pull Request ## Case Sensitivity Fixes #904 ## Feature Summary and Justification This allows Emoji to be treated case sensitively, per current Reddit spec. Also treats two emoji from the same name and different subreddits differently, per spec. # Relev...
1,707
null
RedHatInsights/insights-core
# Repository Context Name: RedHatInsights/insights-core Description: # Pull Request ## Add VDSMImportLog parser Parser to parse ``/var/log/vdsm/import/import-*.log`` files. File contains logs related to VM imports from a KVM host, a VMWare provider, or a Xen host, including import failure information. # Releva...
13
null
HelloChatterbox/HolmesIV
# Repository Context Name: HelloChatterbox/HolmesIV Description: # Pull Request ## patch/deactivate_audio_backends mplayer/mopidy/chromecast are now disabled by default, using them requires editing the .conf previously all audio backends were always loaded, now only vlc and simple are active by default chrome...
13
null
camptocamp/lyrx2sld
# Repository Context Name: camptocamp/lyrx2sld Description: # Pull Request ## changed response to zip file (new PR) @volaya I could not figure out how to push to the branch of your fork so here is a new one # Relevant Files Found ## app/main.py ``` from typing import List import traceback from pydantic import ...
71
null
seung-lab/corgie
# Repository Context Name: seung-lab/corgie Description: # Pull Request ## Add test for compute_softmin_temp Added some simple tests to verify we're computing softmin temperatures for voting as expected. # Relevant Files Found ## corgie/cli/vote.py ``` import torch from math import log from corgie.log import log...
26,428
null
Azure/azure-sdk-for-python
# Repository Context Name: Azure/azure-sdk-for-python Description: # Pull Request ## Removing dependency on pathspec # Description Please add an informative description that covers that changes made by the pull request and link all relevant issues. If an SDK is being regenerated based on a new swagger spec, a...
488
null
spotify/luigi
# Repository Context Name: spotify/luigi Description: # Pull Request ## Adds number of workers to worker_info # Relevant Files Found ## luigi/worker.py ``` # Copyright (c) 2012 Spotify AB # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with th...
174
null
vectara/vectara-ingest
# Repository Context Name: vectara/vectara-ingest Description: # Pull Request ## updated docling # Relevant Files Found ## core/indexer.py ``` import logging import json import re import os import time import warnings import unicodedata from typing import Dict, Any, List, Optional import shutil from datetime im...
124
null
Charcoal-SE/SmokeDetector
# Repository Context Name: Charcoal-SE/SmokeDetector Description: # Pull Request ## Always report zero quota Try and get a better idea about the false rollover glitch. # Relevant Files Found ## bodyfetcher.py ``` from spamhandling import handle_spam, check_if_spam from datahandling import add_or_update_api_data...
230
null
ratt-ru/QuartiCal
# Repository Context Name: ratt-ru/QuartiCal Description: # Pull Request ## Improve DD user-friendliness Add message warning users when they specify a direction-dependent model without specifying a direction-dependent gain. # Relevant Files Found ## quartical/calibration/calibrate.py ``` # -*- coding: utf-8 -*- ...
118
null
capitalone/DataProfiler
# Repository Context Name: capitalone/DataProfiler Description: # Pull Request ## fix bug related to single key when generating a report If you attempt to generate a "pretty" report from the stripe-payments.csv it will throw an error. ```python readable_report = profile.report(report_options={"output_format":"p...
171
null
Nixtla/mlforecast
# Repository Context Name: Nixtla/mlforecast Description: # Pull Request ## fix keep_last_n with target_transforms and add local standard scaler <!-- Thank you for your contribution! Please make sure to provide a meaningful description and let us know that you've completed all the requirements in the checklist ...
129
null
amundsen-io/amundsendatabuilder
# Repository Context Name: amundsen-io/amundsendatabuilder Description: # Pull Request ## Fix source distribution ### Summary of Changes Previously the requirements.txt file is not included in pypi source distribution. Fix the source distribution. ### Tests _What tests did you add or modify and why? If no ...
186
null
Trusted-AI/AIX360
# Repository Context Name: Trusted-AI/AIX360 Description: # Pull Request ## Model and data support fixes in NNContrastive and TS* docstrings. Model and data support fixes in NNContrastive and TS* docstrings. # Relevant Files Found ## aix360/algorithms/nncontrastive/nncontrastive.py ``` from enum import Enum from...
2,470
null
Zulko/moviepy
# Repository Context Name: Zulko/moviepy Description: # Pull Request ## FFmpeg Parser refactor In relation to #2418, this PR refactor the entire ffmpeg infos parser to make it more robust, moving from a state machine to a parsing based on indentation and blocks extraction. - [x] I have provided code that clearly...
229
null
OpenRL-Lab/openrl
# Repository Context Name: OpenRL-Lab/openrl Description: # Pull Request ## init v0.1.6 ## Description <!--- Describe your changes in detail --> ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes ...
17
null
pinkwah/steam-appmanifest
# Repository Context Name: pinkwah/steam-appmanifest Description: # Pull Request ## Install games into a specific directory, rather than into common/ This closes https://github.com/dotfloat/steam-appmanifest/issues/15 Right now, games are installed into the root common/ directory, rather than their own directory. ...
3,272
null
apache/tvm
# Repository Context Name: apache/tvm Description: # Pull Request ## [ARITH] Revamp IntSet Part of #2588 This PR revamps IntSet infrastructure to use the new Analyzer API. - [x] Keep IntervalSet, remove StrideSet for now as it is not used. - [x] Make IntSetAnalzyer as a sub-analyzer - [x] Adapt the existin...
2,498
null
app-sre/qontract-reconcile
# Repository Context Name: app-sre/qontract-reconcile Description: # Pull Request ## [sql-query] cronjob delete keyerror fix related to https://issues.redhat.com/browse/APPSRE-3787 follows up on #2494 since the `delete` key is only added if `delete` is set to true: https://github.com/app-sre/qontract-reconcil...
1,038
null
City-of-Helsinki/tilavarauspalvelu-core
# Repository Context Name: City-of-Helsinki/tilavarauspalvelu-core Description: # Pull Request ## Fix bug in time search with application rounds ## 🛠️ Changelog [//]: # "Describe the changes in this pull request here." - Fixes [this bug](https://helsinkicity.slack.com/archives/C04CVT9KPSN/p1704186260482789). R...
190
null
mosdef-hub/gmso
# Repository Context Name: mosdef-hub/gmso Description: # Pull Request ## Update for change in mbuild.examples `from mbuild.examples import Ethane` no longer works. This also requires pinning `mbuild >= 0.10.4`, which I don't immediately see an issue with # Relevant Files Found ## topology/tests/test_convert_mbui...
3,860
null
google/clusterfuzz
# Repository Context Name: google/clusterfuzz Description: # Pull Request ## Dont run tasks with untrusted service account if they fail # Relevant Files Found ## src/clusterfuzz/_internal/google_cloud_utils/batch.py ``` # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License...
23,657
null
dimagi/commcare-hq
# Repository Context Name: dimagi/commcare-hq Description: # Pull Request ## handle bytes when returned by task https://sentry.io/organizations/dimagi/issues/935486960/ # Relevant Files Found ## corehq/ex-submodules/casexml/apps/phone/restore.py ``` from __future__ import absolute_import from __future__ import ...
7
null
duskdusts/HEU-meec-resource
# Repository Context Name: duskdusts/HEU-meec-resource Description: # Pull Request ## Test change file right # Relevant Files Found ## update.py ``` #!/usr/bin/env python # -*- coding: utf-8 -*- import os from urllib.parse import quote EXCLUDE_DIRS = ['.git', 'docs', '.vscode', '.circleci', 'site'] README_MD ...
253
null
MerginMaps/python-api-client
# Repository Context Name: MerginMaps/python-api-client Description: # Pull Request ## Store pull files in temp directory Change pull process so that downloaded files and file parts are stored in `temporary directory` (based on system) and not in `.mergin` folder in project. This should solve issue with external sy...
1
null
ZeitOnline/celery_longterm_scheduler
# Repository Context Name: ZeitOnline/celery_longterm_scheduler Description: # Pull Request ## Review notes from hoshi Ich hab gesehen, dass du dem `execute_pending` den gleichen timestamp mitgegeben hast, mit dem der task versehen ist. ich hab den mal so umgebaut, dass der test testet ob auch rueckwirkend tasks ab...
57
null
alcompilor/mindease
# Repository Context Name: alcompilor/mindease Description: # Pull Request ## App # Relevant Files Found # Edits This pull request sets up the core Flask application for the Mindease web app, implementing user registration, login, logout, and dashboard functionality. Key features include password encryption u...
240
null
qiboteam/qibolab_platforms_qrc
# Repository Context Name: qiboteam/qibolab_platforms_qrc Description: # Pull Request ## Qblox loopback platform https://github.com/qiboteam/qibolab_platforms_qrc/pull/196#issuecomment-3210281940 # Relevant Files Found # Edits This pull request adds a new Qblox loopback platform configuration for testing and d...
611
null
CQCL/guppylang
# Repository Context Name: CQCL/guppylang Description: # Pull Request ## feat: Add `SizedIter` wrapper type Adds a new wrapper type `SizedIter` to the standard library that annotates an iterator with a static size hint. This will be used for example in array comprehensions to infer the size of the resulting array. ...
55
null
MerginMaps/python-api-client
# Repository Context Name: MerginMaps/python-api-client Description: # Pull Request ## Random fixes to CLI and packaging improvements - cli.py gets installed as a 'mergin' command line tool - client has default URL defined, so it's not needed to always set it - if initial download fails, the newly created directo...
1,300
null
huggingface/huggingface_hub
# Repository Context Name: huggingface/huggingface_hub Description: # Pull Request ## Make `ModelSearchArguments` and `DatasetSearchArguments` more robust Fix https://github.com/huggingface/huggingface_hub/issues/1280 and related to https://github.com/huggingface/huggingface_hub/pull/1250. At the moment `Dataset...
1
null
jxnl/functionary
# Repository Context Name: jxnl/functionary Description: # Pull Request ## Support Pydantic # Relevant Files Found ## inference.py ``` import torch from transformers import AutoTokenizer, AutoModelForCausalLM from schema import generate_schema_from_functions SYSTEM_MESSAGE = """A chat between a curious user ...
1,968
null
amundsen-io/amundsen
# Repository Context Name: amundsen-io/amundsen Description: # Pull Request ## Get the first item from the healthcheck response dbms.cluster.overview() will return one record per instance so expecting single record is incorrect # Relevant Files Found ## metadata/metadata_service/proxy/neo4j_proxy.py ``` # Copy...
444
null
cookiecutter/cookiecutter
# Repository Context Name: cookiecutter/cookiecutter Description: # Pull Request ## Added fix and tests to issue 267 I added a check if the name of the file which should be generated is empty. If so, we do not generate the file and log this behaviour. # Relevant Files Found ## cookiecutter/generate.py ``` #!/us...
21
null
bsc-s2/pykit
# Repository Context Name: bsc-s2/pykit Description: # Pull Request ## add logutil ``` # make a file logger in one line logger = logutil.make_logger('/tmp', level='INFO', fmt='%(message)s', datefmt="%H:%M:%S") logger.info('foo') logger.stack_str(fmt="{fn}:{ln} in {func}\n {state...
1
null
nicolashainaux/sphinx-autodoc-annotation
# Repository Context Name: nicolashainaux/sphinx-autodoc-annotation Description: # Pull Request ## Build crashed on an empty docstring. Fixed. If an empty docstring was encountered, build would crash with IndexError (`result` was empty, so accessing its -1st element raised an error). Additional checks added. # R...
5,539
null
triton-inference-server/server
# Repository Context Name: triton-inference-server/server Description: # Pull Request ## Small refactoring (if/else paths) - Catch uninitialized variable in trt_reformat_free and use if/elif/else instead of separate if statements - In gen_qa_implicit_models, combine if/else statements to minimize number of checks ...
386
null
ShishirPatil/gorilla
# Repository Context Name: ShishirPatil/gorilla Description: # Pull Request ## BFCL April 25th Release (New Models) In this PR, 5 new models are added to the leaderboard: - `meta-llama/Meta-Llama-3-8B-Instruct` - `meta-llama/Meta-Llama-3-70B-Instruct` - `gemini-1.5-pro-preview-0409` - `command-r-plus` - `co...
32
null
ros-visualization/rqt_plot
# Repository Context Name: ros-visualization/rqt_plot Description: # Pull Request ## explicitly pass qos profile Same as ros-visualization/rqt_publisher#12. # Relevant Files Found ## src/rqt_plot/rosplot.py ``` #!/usr/bin/env python # # Software License Agreement (BSD License) # # Copyright (c) 2009, Willow Gara...
227
null
spetlr-org/spetlr
# Repository Context Name: spetlr-org/spetlr Description: # Pull Request ## feat: upgrade DBR 16.4 and python 3.12 ## What type of PR is this? (check all applicable) - Refactor - Feature ## Description ### Overview This PR upgrade to Databricks runtime 16.4 LTS and python 3.10 https://learn.microsoft.com...
30
null
bvanheu/stratatools
# Repository Context Name: bvanheu/stratatools Description: # Pull Request ## Materials update I updated the materials.py listing with new materials as well as modifying some existing materials with updated identifiers (hyphens instead of underscores in some cases). I also made a few tweaks to the main README file...
11,299
null
NVIDIA-NeMo/NeMo
# Repository Context Name: NVIDIA-NeMo/NeMo Description: # Pull Request ## fix perf plugin CUDA_DEVICE_MAX_CONNECTIONS setting # What does this PR do ? Add a one line overview of what this PR aims to accomplish. **Collection**: [Note which collection this PR will affect] # Changelog - Add specific line b...
252
null
getmoto/moto
# Repository Context Name: getmoto/moto Description: # Pull Request ## Add support to filtering instances by source-dest-check Can you please review @spulec? # Relevant Files Found ## moto/ec2/utils.py ``` from __future__ import unicode_literals import random import re import six EC2_RESOURCE_TO_PREFIX = { ...
12
null
streamlit/streamlit
# Repository Context Name: streamlit/streamlit Description: # Pull Request ## Adding support for if and for to magic Same as on old branch: https://github.com/streamlit/streamlit-old-private/pull/1271 # Relevant Files Found ## lib/streamlit/magic.py ``` # -*- coding: utf-8 -*- # Copyright 2018-2019 Streamlit Inc...
447
null
mindee/doctr
# Repository Context Name: mindee/doctr Description: # Pull Request ## refactor: Specified imports of file_utils in __init__.py Fixed error while importing functions like `is_tf_available` and `is_torch_available` because it is in `file_utils.py` file. # Relevant Files Found ## doctr/models/backbones/resnet/__ini...
21
null
yjmantilla/sovabids
# Repository Context Name: yjmantilla/sovabids Description: # Pull Request ## Bidscoin plugin update # Relevant Files Found ## docs/source/conf.py ``` # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the document...
155
null
dvitale199/GenoTools
# Repository Context Name: dvitale199/GenoTools Description: # Pull Request ## ancestry in pruned samples table # Relevant Files Found ## genotools/__main__.py ``` # Copyright 2023 The GenoTools Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use t...
1,341
null
useblocks/sphinx-needs
# Repository Context Name: useblocks/sphinx-needs Description: # Pull Request ## 🔧 Merge defaults into config earlier Since https://github.com/sphinx-doc/sphinx/pull/12949 it has become more apparent that sphinx detects some sphinx-needs configuration values as changed when they have not. This fixes most of these ...
2,441
null
tensorflow/tfx
# Repository Context Name: tensorflow/tfx Description: # Pull Request ## Split scikit-learn example into local and cloud examples. Split scikit-learn example into local and cloud examples. - Add cloud trainer to gcp example. - Add Dockerfile for custom container for training. - Remove Transform from both exam...
247
null
vocodedev/vocode-core
# Repository Context Name: vocodedev/vocode-core Description: # Pull Request ## Support telephony call recordings in Twilio Based on the Twilio [Recording docs](https://www.twilio.com/docs/voice/api/recording?code-sample=code-create-recording-on-a-live-call&code-language=Python&code-sdk-version=8.x#linkcode) these ...
125
null
mehta-lab/waveorder
# Repository Context Name: mehta-lab/waveorder Description: # Pull Request ## Remove duplicate test # Relevant Files Found ## tests/models/test_isotropic_tin_3d.py ``` from waveorder.models import isotropic_thin_3d def test_calculate_transfer_function(): Hu, Hp = isotropic_thin_3d.calculate_transfer_funct...
4,274
null
pypi/warehouse
# Repository Context Name: pypi/warehouse Description: # Pull Request ## Send raw email to allow for Unicode in names This PR switches our SES email service to use `send_raw_email` instead of `send_email`. Fixes #4273. # Relevant Files Found ## tests/unit/email/test_services.py ``` # Licensed under the Apache...
427
null
pyparsing/pyparsing
# Repository Context Name: pyparsing/pyparsing Description: # Pull Request ## Simpler fix for __new__ with copy.copy() I discovered something more straightforward than what I had in #413 to fix the interactions between `copy.copy()` and a customized `__new__`. (For info about the `__getnewargs__` method, see the [...
277
null
steemit/steem-python
# Repository Context Name: steemit/steem-python Description: # Pull Request ## Community - fix missing positional argument: mode Local PR for @AlexChien #245: > when run command > ``` > steempy addkey > ``` > and input proper wif key and have wallet unlocked, it throws > > ``` > new() missing 1 required...
139
null
joedborg/youtube-dl
# Repository Context Name: joedborg/youtube-dl Description: # Pull Request ## Fork Sync # Relevant Files Found ## youtube_dl/extractor/extractors.py ``` # flake8: noqa from __future__ import unicode_literals from .abc import ( ABCIE, ABCIViewIE, ) from .abcnews import ( AbcNewsIE, AbcNewsVideoI...
325
null
ohcnetwork/ayushma
# Repository Context Name: ohcnetwork/ayushma Description: # Pull Request ## Support DELETE for chats # Relevant Files Found ## ayushma/views/chat.py ``` from django.conf import settings from drf_spectacular.utils import extend_schema from rest_framework import filters, status from rest_framework.decorators imp...
12,091
null
django/django
# Repository Context Name: django/django Description: # Pull Request ## Fixed #30997 -- Deprecated HttpRequest.is_ajax(). # Relevant Files Found ## django/http/request.py ``` import cgi import codecs import copy from io import BytesIO from itertools import chain from urllib.parse import quote, urlencode, urljoi...
342
null
h2oai/h2o-llmstudio
# Repository Context Name: h2oai/h2o-llmstudio Description: # Pull Request ## saving hf yaml separately With this PR: - Deleted ConfigNLPCausalLMHF class and stopped storing it within ConfigProblemBase objects (it was not part of the actual experiment settings anyway, so definitely cleaner now ) - Saving & loadin...
1,997
null
sublimelsp/LSP
# Repository Context Name: sublimelsp/LSP Description: # Pull Request ## Restore selections after location picker panel Fixes #1977 # Relevant Files Found ## plugin/locationpicker.py ``` from .core.logging import debug from .core.protocol import DocumentUri, Location, Position from .core.protocol import Location...
1,065
null
DOAJ/doaj
# Repository Context Name: DOAJ/doaj Description: # Pull Request ## Feature/autocomplete This adds a mechanism to switch between autocomplete algorithms depending on the incoming string, and supports filtering by one field (e.g. in the index.\* document space) and faceting on another, allowing us to more effectivel...
276
null
pyro-ppl/pyro
# Repository Context Name: pyro-ppl/pyro Description: # Pull Request ## Add .batch_shape and .event_shape methods Closes #273 See also #153 and #253 ## Why? There has been little documentation and much confusion. This PR aims to clarify the separate roles of two different dimensions of distributions: the ...
54
null
GrassLab/osc2021
# Repository Context Name: GrassLab/osc2021 Description: # Pull Request ## 0856136 Lab1 ↓↓↓ **Notice** ↓↓↓ - [ ] Check your base repository and branch are belong to you. - [ ] The PR name need to include student ID and which lab assignment - template: `${student id} ${which lab}` - e.g. `0756110 lab0...
5
null
Steven-N-Hart/dicom_wsi
# Repository Context Name: Steven-N-Hart/dicom_wsi Description: # Pull Request ## Added tiled_sparse functionality # Relevant Files Found ## dicom_wsi/dicom_wsi.py ``` # -*- coding: utf-8 -*- import logging from timeit import default_timer as timer from base_attributes import build_base from input_validation i...
334
null
amundsen-io/amundsendatabuilder
# Repository Context Name: amundsen-io/amundsendatabuilder Description: # Pull Request ## build: fix broken tests in Python 3.7, test in CI ref: https://github.com/amundsen-io/amundsen/issues/606 ### Summary of Changes Python 3.7 introduced breaking changes involving generators and `StopIteration`, which brok...
93
null
XENONnT/fuse
# Repository Context Name: XENONnT/fuse Description: # Pull Request ## Refactor pmt_transit_time_spread V2 Clean version of https://github.com/XENONnT/fuse/pull/84. This PR will refactor the pmt_transit_time_spread function into two functions: - pmt_transit_time_spread: A function to (only) add the PMT transi...
33
null
IGNF/ign-pdal-tools
# Repository Context Name: IGNF/ign-pdal-tools Description: # Pull Request ## color: Replace pdal info subprocess with python-pdal quickinfo Remplacement du subprocess `pdal info --metadata` dans les methodes de colorisation de las/laz Devrait résoudre: - https://github.com/IGNF/ign-pdal-tools/issues/25 # Re...
721
null
GeotrekCE/Geotrek-admin
# Repository Context Name: GeotrekCE/Geotrek-admin Description: # Pull Request ## Fix path add (fixes #720) # Relevant Files Found ## geotrek/core/models.py ``` # -*- coding: utf-8 -*- import re from math import isnan import logging from datetime import datetime from django.contrib.gis.db import models from d...
383
null
OpenNMT/OpenNMT-py
# Repository Context Name: OpenNMT/OpenNMT-py Description: # Pull Request ## Changed the value of the parameter value of the Adam optimizer beta2 in onmt/Optim.py. Change it from the value 0.98 (earlier adopted from "Attention is all you need" https://arxiv.org/pdf/1706.03762.pdf) to the more widely established...
21,031
null
apache/airflow
# Repository Context Name: apache/airflow Description: # Pull Request ## Fix running airflow dags test results in error when run twice closes: #21023 # Relevant Files Found ## airflow/cli/commands/dag_command.py ``` # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license ag...
1,068
null
Metro-Records/la-metro-councilmatic
# Repository Context Name: Metro-Records/la-metro-councilmatic Description: # Pull Request ## Add sentry performance tracking ## Overview See title. This will allow us to have more fine-grained analytics on app performance in Sentry. Connects #1062 ## Notes I've enabled the [Heroku Dyno Metadata add on...
22
null
DionisIno/luma_project
# Repository Context Name: DionisIno/luma_project Description: # Pull Request ## TC 03.01.03 SIgnIn > Registered Customers > Email label # Relevant Files Found ## locators/sign_in_page_locators.py ``` """This section contain Sign In page locators""" from selenium.webdriver.common.by import By class SingInPag...
30
null
MHubAI/models
# Repository Context Name: MHubAI/models Description: # Pull Request ## Update CaSuSt model - update casust Dockerfile starting off from new base image - rename default config from `config.yml` to `default.yml` - rename generated segmentation files `<model-name/ROI-ID>.seg.dcm` # Relevant Files Found ## models/...
449
null
IDSIA/sacred
# Repository Context Name: IDSIA/sacred Description: # Pull Request ## if getattr -> hasattr Python has a function `hasattr` which does exactly what was intended in those situations. Also more english-like. # Relevant Files Found ## sacred/dependencies.py ``` #!/usr/bin/env python # coding=utf-8 from __future__ ...
5,979
null
microsoft/Qcodes
# Repository Context Name: microsoft/Qcodes Description: # Pull Request ## Workaround broken docstrings in the python std library This overwrites two methods that have broken docstrings in the std library. Note that a proper fix is in https://github.com/python/cpython/pull/117847 This in turn will allow us to en...
370
null
digital-asset/dazl-client
# Repository Context Name: digital-asset/dazl-client Description: # Pull Request ## python: Remove the deprecated setup_default_logger function. python: Remove the deprecated `setup_default_logger` function. `dazl` library users should instead prefer to set up their own logger. This code suffices as a replace...
199
null
mongodb/motor
# Repository Context Name: mongodb/motor Description: # Pull Request ## MOTOR-1106 ERROR: module 'os' has no attribute 'fork' (AttributeError) # Relevant Files Found ## test/asyncio_tests/test_asyncio_basic.py ``` # Copyright 2013-2015 MongoDB, Inc. # # Licensed under the Apache License, Version 2.0 (the "Licen...
9,089
null
ibis-project/ibis
# Repository Context Name: ibis-project/ibis Description: # Pull Request ## fix(arrays): array.remove() erroneously removes NULLs Still a WIP, figuring out what should be desired. `ibis.array([1, None, 2]).remove(2)` currently results in `[1]` on many backends. I would expect the NULLs to remain, eg `[1, None]` ...
24
null
graphcore-research/tessellate-ipu
# Repository Context Name: graphcore-research/tessellate-ipu Description: # Pull Request ## Basic support of `jax.lax.scatter` operations in TessellateIPU. TessellateIPU `scatter` integration using popops `popops::MultiUpdateXXX<>` vertices. At the moment, it only supports the most basic scatter configuration: ...
195
null
amirhoseinsalimi/music-tool-bot
# Repository Context Name: amirhoseinsalimi/music-tool-bot Description: # Pull Request ## chore(tag-editor): change the tag editor button label # Relevant Files Found ## modules/tag_editor.py ``` import re import music_tag from persiantools import digits from telegram import ReplyKeyboardRemove, Update from te...
1,857
null
bcgov/sbc-pay
# Repository Context Name: bcgov/sbc-pay Description: # Pull Request ## Notebook - Add in STRR By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-pay license (Apache 2.0). # Relevant Files Found ## jobs/notebook-report/co...
656
null
intel/gprofiler
# Repository Context Name: intel/gprofiler Description: # Pull Request ## Improve app metadata robustness * Don't fail if getting exe/execfn fails * Handle ZombieProcess errors gracefully The trigger for this was some system where we're able to profile Java processes, but unable to read execfns (unable to acces...
12,379
null
home-assistant/core
# Repository Context Name: home-assistant/core Description: # Pull Request ## Remove usage of deprecated assert method ## Description: Fix a deprecation warning **Related issue (if applicable):** #12358 # Relevant Files Found ## tests/components/climate/test_melissa.py ``` """Test for Melissa climate compo...
2,649
null
hacs/integration
# Repository Context Name: hacs/integration Description: # Pull Request ## fix typo # Relevant Files Found ## custom_components/hacs/base.py ``` """Base HACS class.""" from __future__ import annotations import asyncio from dataclasses import asdict, dataclass, field from datetime import timedelta import gzip i...
159
null
aws-samples/serverless-samples
# Repository Context Name: aws-samples/serverless-samples Description: # Pull Request ## Updated Python/Node versions *Issue #, if available:* *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choi...
147
null
persephone-tools/persephone
# Repository Context Name: persephone-tools/persephone Description: # Pull Request ## [MRG] Clean up Model Clean up Model code Code quality: - [x] Improve code around stopping criteria - [x] Deal with unused parameter for `speakers` - [x] Move `Model` class variables to instance variables - [x] remove unused...
1,919
null
PyCQA/isort
# Repository Context Name: PyCQA/isort Description: # Pull Request ## Infinite loop for unmatched parenthesis - [x] Resolves #1917 - [x] Add tests # Relevant Files Found ## isort/core.py ``` import textwrap from io import StringIO from itertools import chain from typing import List, TextIO, Union import isort....
15
null
leorbs/airco2ntrol
# Repository Context Name: leorbs/airco2ntrol Description: # Pull Request ## Feat/#14 add decryption mode # Relevant Files Found ## custom_components/airco2ntrol/sensor.py ``` """ Home Assistant support for the TFA Dostmann: CO2 Monitor AIRCO2NTROL MINI sensor. Original Implementation: Homepage: https://github...
39,348
null
home-assistant/core
# Repository Context Name: home-assistant/core Description: # Pull Request ## Tune logbook performance to accomodate recent changes ## 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 resol...
229
null
mem0ai/mem0
# Repository Context Name: mem0ai/mem0 Description: # Pull Request ## chore: linting linting and formatting according to the enforced guidelines # Relevant Files Found ## embedchain/config/ChatConfig.py ``` from string import Template from embedchain.config.QueryConfig import QueryConfig DEFAULT_PROMPT = """ ...
14
null
J535D165/cbsodata
# Repository Context Name: J535D165/cbsodata Description: # Pull Request ## Use proxy settings from environment variables by default Change cbsodata3.py to automatically use the proxy settings defined in the _http_proxy_ and _https_proxy_ environment variables. The R version of this package already does this, so...
20
null
pyglet/pyglet
# Repository Context Name: pyglet/pyglet Description: # Pull Request ## Fix a few missing imports and unresolved references. I ran a code inspection on the codebase with the PyCharm inspector, and it turned up a few missing imports. # Relevant Files Found ## pyglet/canvas/base.py ``` # --------------------------...
22,712
null
scikit-learn/scikit-learn
# Repository Context Name: scikit-learn/scikit-learn Description: # Pull Request ## DOC Ensures that sklearn.metrics._ranking.average_precision_score passes numpydoc validation #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or p...
318
null
terminusdb/terminusdb-client-python
# Repository Context Name: terminusdb/terminusdb-client-python Description: # Pull Request ## Add raw json flag Please read https://github.com/terminusdb/terminusdb-client-python/blob/master/CONTRIBUTING.md before submitting a pull request. # Relevant Files Found ## terminusdb_client/tests/test_woqlSchema.py ...
56
null
LinkedInAttic/naarad
# Repository Context Name: LinkedInAttic/naarad Description: # Pull Request ## bug fixes for #50 and #47 bug fixes for #50 and #47 # Relevant Files Found ## src/naarad/metrics/metric.py ``` # coding=utf-8 """ © 2013 LinkedIn Corp. All rights reserved. Licensed under the Apache License, Version 2.0 (the "Licen...
34,109
null
frappe/frappe
# Repository Context Name: frappe/frappe Description: # Pull Request ## feat: allow length change for decimal columns (backport #33899) This PR introduces the ability to configure decimal width and precision at field level (for `Float`, `Currency` and `Percent`): <img width="1990" height="1592" alt="CleanShot 20...
8,056
null
gradio-app/gradio
# Repository Context Name: gradio-app/gradio Description: # Pull Request ## Using keys to preserve values between reloads Added the concept of a key to a Block, such that any Block that has the same key between re-renders has its value preserved between renders. Will be needed specifically for render PR. Impleme...
233
null
pre-commit/pre-commit-hooks
# Repository Context Name: pre-commit/pre-commit-hooks Description: # Pull Request ## Add mixed-line-ending hook @nagromc - I squashed your commits, fixed the tests on windows, and applied my review feedback -- I managed to reimplement it in a (imo) much simpler way too! This supersedes #218 and resolves #196 #...
767
null
okfn/website
# Repository Context Name: okfn/website Description: # Pull Request ## Update wheel Also, update a test case # Relevant Files Found ## foundation/organisation/tests/test_api.py ``` from unittest import TestCase from ..utils import get_activity, extract_ograph_title class HelpersTest(TestCase): def test_ge...