pr_id int64 | repo_id null | repo_name string | text string |
|---|---|---|---|
33 | null | kwai/DouZero | # Repository Context
Name: kwai/DouZero
Description:
# Pull Request
## reuse "_cards2array" function
# Relevant Files Found
## douzero/dmc/utils.py
```
import os
import typing
import logging
import traceback
import numpy as np
from collections import Counter
import time
import torch
from torch import multipr... |
2,276 | null | urllib3/urllib3 | # Repository Context
Name: urllib3/urllib3
Description:
# Pull Request
## Remove python2 compat stuff from test_socketlevel.py
The `TestBrokenHeaders` test has a skip on condition involving `mimetools` which no longer exists by this name in Python 3, so I assume it's no longer relevant.
The change makes isort ... |
628 | null | kobotoolbox/kobocat | # Repository Context
Name: kobotoolbox/kobocat
Description:
# Pull Request
## Remove calls to MongoDB `fsync`
which is not available in all environments. Closes #627. Closes kobotoolbox/kobo-docker#293.
# Relevant Files Found
## onadata/apps/viewer/management/commands/remongo.py
```
from django.conf import setti... |
1,571 | null | dcos/dcos-e2e | # Repository Context
Name: dcos/dcos-e2e
Description:
# Pull Request
## Move existing cluster around
# Relevant Files Found
## src/dcos_e2e/backends/_existing_cluster.py
```
"""
Helpers for interacting with existing clusters.
"""
from pathlib import Path
from typing import Any, Dict, Iterable, Set, Tuple, Type... |
38 | null | AI-Hypercomputer/xpk | # Repository Context
Name: AI-Hypercomputer/xpk
Description:
# Pull Request
## Add v5p support and increase the GKE default version to support it.
## Fixes / Features
- v5p support since it is publically released: https://cloud.google.com/blog/products/ai-machine-learning/introducing-cloud-tpu-v5p-and-ai-hypercomp... |
501 | null | geopandas/geopandas | # Repository Context
Name: geopandas/geopandas
Description:
# Pull Request
## Cythonize get coordinates
This isn't optimally fast, but might be faster than current methods of densification
cc @jorisvandenbossche
This currently depends on #500
```python
In [1]: from shapely.geometry import Polygon
In ... |
143 | null | spinnaker/spinnaker-monitoring | # Repository Context
Name: spinnaker/spinnaker-monitoring
Description:
# Pull Request
## fix(stackdriver): Make sure poject id of stackdriver is configured from file on eks node
Should fix #3781
This change makes sure to load the project id for stackdriver from config
> Automated cherry pick of 2f50cad75b12190a2... |
927 | null | sukeesh/Jarvis | # Repository Context
Name: sukeesh/Jarvis
Description:
# Pull Request
## Update beginning tic_tac_toe instructions & Add Connect_four feature
Apologies. this is two separate contributions, but I didn't realize that I had to make another branch to submit of a new PR.
1. There are now instructions on how to play ... |
50 | null | sdpython/onnx-extended | # Repository Context
Name: sdpython/onnx-extended
Description:
# Pull Request
## Adds command line store to store intermediate results on disk
# Relevant Files Found
## _doc/examples/plot_conv_denorm.py
```
"""
How float format has an impact on speed computation
=================================================... |
6,453 | null | ray-project/ray | # Repository Context
Name: ray-project/ray
Description:
# Pull Request
## [direct call] Retry failed tasks with delay
<!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->
## Why are these changes needed?
Add a de... |
1,170 | null | capitalone/DataProfiler | # Repository Context
Name: capitalone/DataProfiler
Description:
# Pull Request
## chore: refactor release process
1. update workflows for setting publishing a pacakge
2. added versioneer
# Relevant Files Found
## dataprofiler/__init__.py
```
"""Package for dataprofiler."""
from . import settings
from .data_rea... |
158 | null | zxcalc/zxlive | # Repository Context
Name: zxcalc/zxlive
Description:
# Pull Request
## Add zxlive.spec file for creating an executable using pyinstaller.
Note: Running this locally will result in an executable containing all the python modules in the virtual environment, which might be very large. For deployment, pyinstaller shou... |
327 | null | baking-bad/pytezos | # Repository Context
Name: baking-bad/pytezos
Description:
# Pull Request
## Basic Kathmandu support
# Relevant Files Found
## src/pytezos/cli/cli.py
```
import io
import logging
import sys
import tarfile
import time
from glob import glob
from os.path import abspath
from os.path import dirname
from os.path impo... |
15 | null | dcarroll/sublime-lightning | # Repository Context
Name: dcarroll/sublime-lightning
Description:
# Pull Request
## Issue #7 - Create or Retreive Lightning Components from Sandbox
Added an extra input panel to ask for the instance url.
When not empty force cli will have -i arg with the url.
E.g:
force -u user@username.com -p somepassword -i htt... |
728 | null | polarsource/polar | # Repository Context
Name: polarsource/polar
Description:
# Pull Request
## Pledge to any issue
Part of the solution to #661
- [x] A page /new with a text box to input a link to a public github issue
- [x] An API call to sync that issue
- [x] Redirect to pledge page for that synced issue
# Relevant Files Foun... |
3,917 | null | vertexproject/synapse | # Repository Context
Name: vertexproject/synapse
Description:
# Pull Request
## guid node dict constructor syntax sugar
# Relevant Files Found
## synapse/datamodel.py
```
'''
An API to assist with the creation and enforcement of cortex data models.
'''
import asyncio
import logging
import collections
import re... |
992 | null | scieloorg/scielo-manager | # Repository Context
Name: scieloorg/scielo-manager
Description:
# Pull Request
## Adicionado os campos research_id e orcid no editorial member
Fixes #986
# Relevant Files Found
## scielomanager/editorialmanager/migrations/0003_auto__chg_field_editorialboard_issue__add_unique_editorialboard_issue.py
```
# -*- ... |
12 | null | ComputerScienceHouse/packet | # Repository Context
Name: ComputerScienceHouse/packet
Description:
# Pull Request
## Merge Sign Fixes
# Relevant Files Found
## packet/packet.py
```
from datetime import datetime
from .models import Freshman, UpperSignature, FreshSignature, MiscSignature, db
def sign(member_username, freshman_username):
... |
14 | null | CoinCheung/gdGPT | # Repository Context
Name: CoinCheung/gdGPT
Description:
# Pull Request
## small fix and refine
# Relevant Files Found
## convert_model.py
```
import os
import os.path as osp
import argparse
import re
import torch
from pprint import pprint
from transformers import AutoTokenizer, AutoConfig, AutoModelForCausal... |
1 | null | RoboCoachTechnologies/ROScribe | # Repository Context
Name: RoboCoachTechnologies/ROScribe
Description:
# Pull Request
## Feature/ros2
# Relevant Files Found
## roscribe/generator.py
```
import os
from langchain.chains import LLMChain
from roscribe.prompt import get_gen_code_prompt, get_gen_launch_prompt,\
get_gen_cmake_prompt, get_gen_p... |
111 | null | NeuroTechX/moabb | # Repository Context
Name: NeuroTechX/moabb
Description:
# Pull Request
## Upperlimb gdf
Closes #110
# Relevant Files Found
## moabb/datasets/upper_limb.py
```
from moabb.datasets.base import BaseDataset
from mne.io import read_raw_edf
from mne.channels import make_standard_montage
import numpy as np
from .... |
2,476 | null | DIAGNijmegen/grand-challenge | # Repository Context
Name: DIAGNijmegen/grand-challenge
Description:
# Pull Request
## Order email objects by pk
Closes #2474
# Relevant Files Found
## app/grandchallenge/emails/models.py
```
from django.db import models
from django.urls import reverse
class Email(models.Model):
subject = models.Ch... |
309 | null | google-research/kauldron | # Repository Context
Name: google-research/kauldron
Description:
# Pull Request
## Update kxm to use merge_utils
Update kxm to use merge_utils
# Relevant Files Found
## kauldron/kxm.py
```
# Copyright 2023 The kauldron Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not us... |
33 | null | hpyproject/hpy | # Repository Context
Name: hpyproject/hpy
Description:
# Pull Request
## API docs
I wrote something to document a bit of the API. It's not a reference manual of course, but it should be enough to have a grasp on hpy ideas
# Relevant Files Found
## docs/conf.py
```
# Configuration file for the Sphinx documentatio... |
25 | null | UnnamedMoose/serialMonitor | # Repository Context
Name: UnnamedMoose/serialMonitor
Description:
# Pull Request
## Fix #18 and #19, finished hardware in the loop testing of raw output format
As per the title. Minor modifications to `commsInterface` in the `outputFormat=='formatted'` part in order to fix #18 and #19 , and translation of all `out... |
15,707 | null | DataDog/integrations-core | # Repository Context
Name: DataDog/integrations-core
Description:
# Pull Request
## Release postgres fix 15701 to 7.48.x
### What does this PR do?
Port [15701](https://github.com/DataDog/integrations-core/pull/15701) to 7.48.x
### Motivation
### Additional Notes
<!-- Anything else we should know when revi... |
1,340 | null | facebookresearch/habitat-lab | # Repository Context
Name: facebookresearch/habitat-lab
Description:
# Pull Request
## Adds config flag for HBAO visual effects
## Motivation and Context
Adds config flag `hbao_visual_effects` for toggling HBAO.
<img width="656" alt="image" src="https://github.com/facebookresearch/habitat-lab/assets/24846546/... |
80 | null | 1nchaos/adata | # Repository Context
Name: 1nchaos/adata
Description:
# Pull Request
## fixed
2.3.1
index_code
# Relevant Files Found
## adata/__version__.py
```
# -*- coding: utf-8 -*-
VERSION = (2, 3, 0)
PRERELEASE = None # alpha, beta or rc
REVISION = None
def generate_version(version, prerelease=None, revision=None):
... |
471 | null | pasqal-io/Pulser | # Repository Context
Name: pasqal-io/Pulser
Description:
# Pull Request
## Cleaning up all warnings during tests
- Gets rid of all the warnings that were being raised during the units tests.
- Changes the pytest configuration to consider warnings as errors, so that they don't slip by in the future
Fixes #449 .
... |
5 | null | 95616ARG/SyReNN | # Repository Context
Name: 95616ARG/SyReNN
Description:
# Pull Request
## Switch to External Bazel-Python
This PR removes all the Python-building Bazel code, which has since been refactored out into 95616ARG/bazel-python. I expect the first commit to fail the CI process until I update it to install Python, hence op... |
1,534 | null | theQRL/QRL | # Repository Context
Name: theQRL/QRL
Description:
# Pull Request
## Wallet Daemon Optimization & More checks
Instead of decrypting all addresses in a wallet to validate the passphrase, we now decrypt only first address in the wallet. Otherwise, anyone having 1000 of addresses in a wallet, will consume a lot of tim... |
29 | null | trailofbits/polyfile | # Repository Context
Name: trailofbits/polyfile
Description:
# Pull Request
## Gracefully handle SIGINT and SIGTERM
On SIGINT, prompt the user if they want to output incremental results. If the user chooses "yes", then exit with code zero. If "no", exit with code 128 + SIGINT.
On SIGTERM, output incremental resu... |
656 | null | jacksund/simmate | # Repository Context
Name: jacksund/simmate
Description:
# Pull Request
## version js staticfiles to fix caching ♻️
# Relevant Files Found
## src/simmate/configuration/django/settings.py
```
"""
Defines all Django settings for Simmate.
Note, some settings are dynamically determined, such as the installed app... |
1,108 | null | PennyLaneAI/catalyst | # Repository Context
Name: PennyLaneAI/catalyst
Description:
# Pull Request
## [tests] Delete expand tests
**Context:**
```
PennyLaneDeprecationWarning: 'Operator.expand' is deprecated and will be removed in version 0.39. The same behaviour can be achieved simply through 'qml.tape.QuantumScript(self.decompositi... |
236 | null | vocalpy/vak | # Repository Context
Name: vocalpy/vak
Description:
# Pull Request
## Add spect path to item transforms #233
# Relevant Files Found
## src/vak/config/eval.py
```
"""parses [EVAL] section of config"""
from configparser import NoOptionError
import attr
from attr import converters, validators
from attr.validators... |
845 | null | allenai/open-instruct | # Repository Context
Name: allenai/open-instruct
Description:
# Pull Request
## add verify script
just wanna commit this one, it's like the third time i've re-impl this haha
# Relevant Files Found
# Edits
This pull request adds a verification script to validate the correctness of generated Python code from a m... |
242 | null | opencivicdata/pupa | # Repository Context
Name: opencivicdata/pupa
Description:
# Pull Request
## Tidy #241
closes #241
# Relevant Files Found
## pupa/importers/base.py
```
import os
import copy
import glob
import json
import logging
from django.db.models import Q
from opencivicdata.models import LegislativeSession
from pupa.exce... |
2,321 | null | pypa/virtualenv | # Repository Context
Name: pypa/virtualenv
Description:
# Pull Request
## Update Nushell activation scripts to 0.60
New Nushell version was [just released](https://www.nushell.sh/blog/2022-03-22-nushell_0_60.html) with breaking changes.
This PR updates the activation scripts to the new version 0.60.
### Thanks ... |
4 | null | lichtteil/local_luftdaten | # Repository Context
Name: lichtteil/local_luftdaten
Description:
# Pull Request
## Add BME280 sensor readings
Possible new monitored conditions:
- BME280_temperature
- BME280_humidity
- BME280_pressure
Relates #1
# Relevant Files Found
## sensor.py
```
"""
Support for Luftdaten sensors.
Copyright (c) 20... |
35,338 | null | apache/airflow | # Repository Context
Name: apache/airflow
Description:
# Pull Request
## Humanise log output about retrieved DAG(s)
<!--
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 cop... |
38 | null | aerospaceresearch/SiqNAL | # Repository Context
Name: aerospaceresearch/SiqNAL
Description:
# Pull Request
## Added till bandpass filter
# Relevant Files Found
## Modules/freqbands.py
```
import json
from Modules import SignalData
def getbands(SignalInfo, filename):
bands = []
flow = SignalInfo.Fcentre - SignalInfo.Fsample / 2
... |
829 | null | OneGov/onegov-cloud | # Repository Context
Name: OneGov/onegov-cloud
Description:
# Pull Request
## Org: Fix exception in hidden directory entries for logged out users.
## Commit message
Org: Fix exception in hidden directory entries for logged out users.
This fixes ONEGOV-CLOUD-48W
TYPE: Bugfix
LINK: OGC-1124
## Checklist
... |
224 | null | RLBot/RLBotPack | # Repository Context
Name: RLBot/RLBotPack
Description:
# Pull Request
## made jit calls more lenient
I was forcing nopython = True on jitted functions which causes errors whenever a function can't be compiled in that mode for any reason. With that removed it should fail compiling and then fallback to python mode w... |
163 | null | tedchou12/webull | # Repository Context
Name: tedchou12/webull
Description:
# Pull Request
## update pypi info
update pypi info
# Relevant Files Found
## setup.py
```
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="webull",
version="0.3.2",
author="ted cho... |
193 | null | fosslight/fosslight_dependency_scanner | # Repository Context
Name: fosslight/fosslight_dependency_scanner
Description:
# Pull Request
## Change col name
## Description
<!--
Please describe what this PR do.
-->
Change col name
## Type of change
<!--
Please insert 'x' one of the type of change.
-->
- [ ] Bug fix (non-breaking change which fixe... |
12,310 | null | conan-io/conan-center-index | # Repository Context
Name: conan-io/conan-center-index
Description:
# Pull Request
## Update qxmpp to use Qt 6.2.4
Fixes #12180
Specify library name and version: **qxmpp/1.4.0**
Noticed the problem when attempting to build this recipe on MacOS 12.5. It was an openssl version mismatch (diamond dependency issu... |
1,747 | null | osbuild/osbuild | # Repository Context
Name: osbuild/osbuild
Description:
# Pull Request
## stages: new bootc.install.config stage
New stage for writing a bootc-install-config with all the options currently supported. See bootc-install-config(5).
# Relevant Files Found
# Edits
This pull request adds a new `bootc.install.config... |
832 | null | PaddlePaddle/models | # Repository Context
Name: PaddlePaddle/models
Description:
# Pull Request
## Enable ParallelExecutor in SSD-MobileNet and Refine code.
# Relevant Files Found
## fluid/object_detection/data/prepare_voc_data.py
```
import os
import os.path as osp
import re
import random
devkit_dir = './VOCdevkit'
years = ['2007... |
7 | null | deepdrive/deepdrive-zero | # Repository Context
Name: deepdrive/deepdrive-zero
Description:
# Pull Request
## Add dependencies
# Relevant Files Found
## setup.py
```
from setuptools import setup
setup(name='deepdrive_2d',
version='0.0.1',
install_requires=['gym'] # And any other dependencies we need
)
```
# Edits
This ... |
360 | null | radiocosmology/draco | # Repository Context
Name: radiocosmology/draco
Description:
# Pull Request
## docs(powerspec): clean up comments and docstrings
Some comments and docstrings still incorrectly referred to Mpc units, when everything is now computed consistently in h^-1 Mpc units. Those are all corrected now, and a few variable names... |
5,313 | null | chainer/chainer | # Repository Context
Name: chainer/chainer
Description:
# Pull Request
## Add discriminative margin based clustering loss
Cleanup of the previous PR. History can be found at https://github.com/chainer/chainer/pull/4525
# Relevant Files Found
## chainer/functions/__init__.py
```
"""Collection of function impleme... |
229 | null | PennLINC/xcp_d | # Repository Context
Name: PennLINC/xcp_d
Description:
# Pull Request
## Hcpdcan
<!--
Text in these brackets are comments, and won't be visible when you submit your pull request.
If this is your first contribution, please take the time to read these, in particular the comment
beginning "Welcome, new contributors... |
4 | null | axonn-ai/axonn | # Repository Context
Name: axonn-ai/axonn
Description:
# Pull Request
## implement async inter-layer parallelism, and test on ViT+MNIST
- added pytest for ViT+MNIST
- tested single GPU implementation
# Relevant Files Found
## axonn/communication.py
```
# Copyright 2021 Parallel Software and Systems Group, Univ... |
759 | null | mikumifa/biliTickerBuy | # Repository Context
Name: mikumifa/biliTickerBuy
Description:
# Pull Request
## fix payload
我们认为这是模拟**正常的**请求。
## 概述
实现/解决/优化的内容:
### 事务
- [ ] 已与维护者在issues或其他平台沟通此PR大致内容
## 以下内容可在起草PR后、合并PR前逐步完成
### 功能
- [ ] 已编写完善的配置文件字段说明(若有新增)
- [ ] 已编写面向用户的新功能说明(若有必要)
- [ ] 已测试新功能或更改
### 兼容性
- [ ] ... |
40,541 | null | Azure/azure-sdk-for-python | # Repository Context
Name: Azure/azure-sdk-for-python
Description:
# Pull Request
## [cosmos] fix pylint
fixing pylint warning to unblock azure-core build
# Relevant Files Found
## sdk/cosmos/azure-cosmos/azure/cosmos/aio/_global_endpoint_manager_async.py
```
# The MIT License (MIT)
# Copyright (c) 2021 Microsof... |
35,315 | null | apache/airflow | # Repository Context
Name: apache/airflow
Description:
# Pull Request
## Add pytest-icdiff-plugin
The Pytest-icdiff plugin produces much more readable, coloured diffs from failed essertions.
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTIC... |
54,436 | null | home-assistant/core | # Repository Context
Name: home-assistant/core
Description:
# Pull Request
## Bump pyopenuv to 2.1.0
<!--
You are amazing! Thanks for contributing to our project!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->
## Proposed change
<!--
Describe the big picture of your changes ... |
337 | null | uclapi/uclapi | # Repository Context
Name: uclapi/uclapi
Description:
# Pull Request
## Adds Historical Data Endpoint
## What does this PR do?
Adds historical data output
## ✅ Pull Request checklist
- [x] Is this code complete?
- [ ] Are tests done/modified?
- [x] Are docs written for this PR? (if applicable)
## 🚨 Is ... |
1,873 | null | numenta/nupic-legacy | # Repository Context
Name: numenta/nupic-legacy
Description:
# Pull Request
## Remove derivated implementations of TP
Fixes: #1865
# Relevant Files Found
## nupic/regions/TPRegion.py
```
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)... |
2,520 | null | runtimeverification/evm-semantics | # Repository Context
Name: runtimeverification/evm-semantics
Description:
# Pull Request
## EIP-1153: Implement Transient Storage
In this PR:
- implementing transient storage ( [eip-1153](https://eips.ethereum.org/EIPS/eip-1153#specification))
- adding a <transientStorage> cell that's similar to the persistent ... |
10,724 | null | pytest-dev/pytest | # Repository Context
Name: pytest-dev/pytest
Description:
# Pull Request
## made minor updates to fixtures docs
updated the `c` fixture to be a little more consistent with other fixtures in [the corresponding image](https://github.com/pytest-dev/pytest/blob/534d174fd24f8066518e396fbdd559eb7cf7b5a9/doc/en/example/fi... |
98 | null | dan-fritchman/Hdl21 | # Repository Context
Name: dan-fritchman/Hdl21
Description:
# Pull Request
## v3.0.0 Release
# Relevant Files Found
## SampleSitePdks/setup.py
```
"""
# Setup Script
Derived from the setuptools sample project at
https://github.com/pypa/sampleproject/blob/main/setup.py
"""
# Always prefer setuptools over dist... |
6 | null | snower/TorMySQL | # Repository Context
Name: snower/TorMySQL
Description:
# Pull Request
## Revert test through proxy and rename it.
# Relevant Files Found
## tormysql/connections.py
```
# -*- coding: utf-8 -*-
# 14-8-8
# create by: snower
from __future__ import absolute_import, division, print_function, with_statement
import ... |
32 | null | lhqing/ALLCools | # Repository Context
Name: lhqing/ALLCools
Description:
# Pull Request
## Update seurat_class.py
# Relevant Files Found
## ALLCools/integration/seurat_class.py
```
import multiprocessing
import pathlib
from collections import OrderedDict
import anndata
import joblib
import numpy as np
import pandas as pd
impor... |
76 | null | materialsproject/matbench | # Repository Context
Name: materialsproject/matbench
Description:
# Pull Request
## Add polymorph check
@CompRhys
Closes #71
# New functionality
Check whether datasets contain polymorphs using `MatbenchTask.has_polymorphs`
```python
dielectric = MatbenchTask("matbench_dielectric")
dielectric.load... |
308 | null | canonical/notebook-operators | # Repository Context
Name: canonical/notebook-operators
Description:
# Pull Request
## make images configurable in track/1.7
part of #307
## Summary of changes:
1. Cherry-picking commits to ensure images are configurable for airgapped environment.
Only the following commits were cherry-picked:
- c55923... |
74 | null | XanaduAI/GradDFT | # Repository Context
Name: XanaduAI/GradDFT
Description:
# Pull Request
## Unifying the notation between the jitted and non-jitted orbital optimizers.
# Relevant Files Found
## grad_dft/evaluate.py
```
# Copyright 2023 Xanadu Quantum Technologies Inc.
# Licensed under the Apache License, Version 2.0 (the "Lice... |
1,334 | null | Juniper/py-junos-eznc | # Repository Context
Name: Juniper/py-junos-eznc
Description:
# Pull Request
## pull requests for issue #1322 #1315
Fix for issues
Get full RPC response in cli function #1315
Fix for issue #1322 to pass no_validate #1323
sw.install parameter validate=False is not passed on to the NSSU and ISSU upgrade .
Adde... |
176 | null | MountainDash/nonebot-bison | # Repository Context
Name: MountainDash/nonebot-bison
Description:
# Pull Request
## feat(workflow pytest): 添加打上test-render的标签后进行带render标记测试的功能
# Relevant Files Found
## tests/test_render.py
```
import typing
import pytest
from httpx import AsyncClient
from nonebug.app import App
@pytest.mark.asyncio
@pytest... |
62 | null | lynker-spatial/RiverShapeML | # Repository Context
Name: lynker-spatial/RiverShapeML
Description:
# Pull Request
## Arash
# Relevant Files Found
## deployment/data_loader.py
```
# Libraries
from sklearn.preprocessing import PowerTransformer, QuantileTransformer, StandardScaler, RobustScaler, MinMaxScaler, MaxAbsScaler, FunctionTransformer
f... |
1,400 | null | mosaicml/llm-foundry | # Repository Context
Name: mosaicml/llm-foundry
Description:
# Pull Request
## add it
# Relevant Files Found
## llmfoundry/callbacks/hf_checkpointer.py
```
# Copyright 2022 MosaicML LLM Foundry authors
# SPDX-License-Identifier: Apache-2.0
import contextlib
import copy
import logging
import math
import os
impo... |
966 | null | pydata/xarray | # Repository Context
Name: pydata/xarray
Description:
# Pull Request
## groupby_bins sorted bin labels as strings
Fixes #952
CC @rabernat
# Relevant Files Found
## xarray/core/groupby.py
```
import functools
import numpy as np
import pandas as pd
from . import nputils
from . import ops
from .combine import co... |
137 | null | jrief/django-websocket-redis | # Repository Context
Name: jrief/django-websocket-redis
Description:
# Pull Request
## Correctly check the code when closing a websocket in python3. Fix #135.
# Relevant Files Found
## ws4redis/websocket.py
```
# -*- coding: utf-8 -*-
# This code was generously pilfered from https://bitbucket.org/Jeffrey/gevent... |
40 | null | gran4/AI-InvestiBot | # Repository Context
Name: gran4/AI-InvestiBot
Description:
# Pull Request
## More pylint fixes
# Relevant Files Found
## lambda_Implementation.py
```
from trading_system import *
from Models import *
import boto3
time_interval = 86400# number of secs in 24 hours
def lambda_handler(event, context):
updat... |
1,491 | null | tensorflow/tfx | # Repository Context
Name: tensorflow/tfx
Description:
# Pull Request
## Added TODO to track temporary work-around.
Added TODO to track temporary work-around.
# Relevant Files Found
## tfx/examples/chicago_taxi_pipeline/taxi_pipeline_kubeflow_gcp.py
```
# Lint as: python2, python3
# Copyright 2019 Google LLC. A... |
70 | null | devopshq/tfs | # Repository Context
Name: devopshq/tfs
Description:
# Pull Request
## test runs & results
#63
test resource file structure and url matching simplified
# Relevant Files Found
## tests/conftest.py
```
# -*- coding: utf-8 -*-
import os
import re
from urllib.parse import urlparse
import httpretty
import pytest
... |
705 | null | CenterForOpenScience/SHARE | # Repository Context
Name: CenterForOpenScience/SHARE
Description:
# Pull Request
## [SHARE-828][Feature]Update deprecated regex to support Python 3.6
## Ticket
https://openscience.atlassian.net/browse/SHARE-828
## Problem
Some of our regexes use a deprecated syntax that breaks in python 3.6
Deprecations can ... |
24,559 | null | home-assistant/core | # Repository Context
Name: home-assistant/core
Description:
# Pull Request
## Misc. ZHA enhancements
## Description:
This PR does the following:
1. adds NWK to device info
2. fixes Aqara vibration sensors which were broken when door locks were added because Xiaomi.
3. renames NO_SENSOR_CLUSTERS to CHANNEL_ONL... |
727 | null | anthropics/anthropic-sdk-python | # Repository Context
Name: anthropics/anthropic-sdk-python
Description:
# Pull Request
## fix: support json safe serialization for basemodel subclasses
# Relevant Files Found
## src/anthropic/_compat.py
```
from __future__ import annotations
from typing import TYPE_CHECKING, Any, Union, Generic, TypeVar, Calla... |
57 | null | matthewgilbert/blp | # Repository Context
Name: matthewgilbert/blp
Description:
# Pull Request
## Fix for BQL issue #55, #56
Proposed fix for a new BQL issue emerged end Oct 2025.
# Relevant Files Found
## src/blp/blp.py
```
import datetime
import itertools
import json
import logging
import queue
import threading
from numbers import... |
242 | null | truefoundry/cognita | # Repository Context
Name: truefoundry/cognita
Description:
# Pull Request
## Fix models_config.json file issue
Ignore registering models if API key is not present, and put out a war…ning. Also create a config.json file at runtime, helpful for template deployments
# Relevant Files Found
## backend/modules/model_g... |
148 | null | epifluidlab/FinaleToolkit | # Repository Context
Name: epifluidlab/FinaleToolkit
Description:
# Pull Request
## Small fixes in finaletoolkit workflow documentation, added support to use frag.gz instead of bed.gz.
# Relevant Files Found
## src/finaletoolkit/cli/main_cli.py
```
#!/usr/bin/env python3
"""
Module containing command and subco... |
164 | null | testcontainers/testcontainers-python | # Repository Context
Name: testcontainers/testcontainers-python
Description:
# Pull Request
## fix: pass updated keyword args to Publisher/Subscriber client in google/pubsub #161
…le/pubsub
# Relevant Files Found
## modules/google/testcontainers/google/pubsub.py
```
#
# Licensed under the Apache License, Vers... |
936 | null | Open-MSS/MSS | # Repository Context
Name: Open-MSS/MSS
Description:
# Pull Request
## Fatal error in config loader because of invalid character, related to #901
# Relevant Files Found
## mslib/msui/_tests/test_editor.py
```
# -*- coding: utf-8 -*-
"""
mslib.msui.test_editor
~~~~~~~~~~~~~~~~~~~~~~
testscript for ... |
14,664 | null | dimagi/commcare-hq | # Repository Context
Name: dimagi/commcare-hq
Description:
# Pull Request
## migration tweaks
# Relevant Files Found
## corehq/apps/couch_sql_migration/couchsqlmigration.py
```
import os
import uuid
from datetime import datetime
from django.db.utils import IntegrityError
import settings
from casexml.apps.case... |
2,219 | null | SFDO-Tooling/CumulusCI | # Repository Context
Name: SFDO-Tooling/CumulusCI
Description:
# Pull Request
## [CCI] Removing MergeBranchOld code
# Critical Changes
# Changes
- Removes deprecated Class MergeBranchOld in cumulusci/tasks/github/merge.py
# Issues Closed
# Relevant Files Found
## cumulusci/tasks/github/merge.py
```
im... |
9,585 | null | PrefectHQ/prefect | # Repository Context
Name: PrefectHQ/prefect
Description:
# Pull Request
## Add ability to view table artifacts with NaN values in the Prefect UI
Closes https://github.com/PrefectHQ/prefect/issues/9524
### Example
<!--
Share an example of the change in action.
A code blurb is best. Changes to features shou... |
117 | null | Dataherald/dataherald | # Repository Context
Name: Dataherald/dataherald
Description:
# Pull Request
## DH-4507/updating post response for golden records
# Relevant Files Found
## dataherald/api/__init__.py
```
from abc import ABC, abstractmethod
from typing import Any, List
from dataherald.api.types import Query
from dataherald.conf... |
88 | null | pytest-dev/pytest-qt | # Repository Context
Name: pytest-dev/pytest-qt
Description:
# Pull Request
## Attempt to install PyQt4 and PyQt5 on AppVeyor
# Relevant Files Found
## scripts/install-qt.py
```
'''
Simple script to install PyQt or PySide based on PYTEST_QT_FORCE_PYQT
and python version. Meant to be used in travis-ci.
'''
impor... |
2,199 | null | splunk/security_content | # Repository Context
Name: splunk/security_content
Description:
# Pull Request
## adding collections to transforms
code-testing bug
# Relevant Files Found
## bin/contentctl_project/contentctl_infrastructure/tests/adapter/test_obj_to_conf_adapter.py
```
import os
import datetime
import pytest
import filecmp
fro... |
659 | null | OpenNMT/OpenNMT-py | # Repository Context
Name: OpenNMT/OpenNMT-py
Description:
# Pull Request
## implemented -attn_debug
Solves #623 and #629
# Relevant Files Found
## translate.py
```
#!/usr/bin/env python
from __future__ import division, unicode_literals
import os
import argparse
import math
import codecs
import torch
from ite... |
20 | null | f-dangel/backpack | # Repository Context
Name: f-dangel/backpack
Description:
# Pull Request
## More samples for MC tests
* Fix dependencies for Travis
* Increase MC samples from 200 to 500
This should fix #18
# Relevant Files Found
## test/automated_test.py
```
import torch
import numpy as np
import pytest
from .test_problems... |
50,695 | null | spack/spack | # Repository Context
Name: spack/spack
Description:
# Pull Request
## database: Improve DB migration message
This makes the instructions for DB migration clearer and more consistent.
- [x] DB migration mentions spack reindex first and highlights its consequences.
- [x] Mention that the DB makes a backup and adv... |
34 | null | hyperliquid-dex/hyperliquid-python-sdk | # Repository Context
Name: hyperliquid-dex/hyperliquid-python-sdk
Description:
# Pull Request
## Update position to 0 when user assetPositions is empty
If `user_state["assetPositions"]` is empty, as it would be for new users. `self.position` is always `None` and no orders will be sent (line 108).
Also reduce `MA... |
1 | null | pleisto/yuren-baichuan-7b | # Repository Context
Name: pleisto/yuren-baichuan-7b
Description:
# Pull Request
## add showcase
# Relevant Files Found
## apps/webui/src/webui/app.py
```
"""
Copyright 2023 Pleisto Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Li... |
143 | null | HERA-Team/hera_pspec | # Repository Context
Name: HERA-Team/hera_pspec
Description:
# Pull Request
## pspecbeam.PSpecBeamUV updates for efield beam
Updates the beam files in the `hera_pspec/data` directory, and allows `pspecbeam.PSpecBeamUV` to take an efield beam and convert to power beams.
# Relevant Files Found
## hera_pspec/pspecbe... |
6,799 | null | gradio-app/gradio | # Repository Context
Name: gradio-app/gradio
Description:
# Pull Request
## Adds docstrings for `gr.WaveformOptions`, `gr.Brush`, and `gr.Eraser`, fixes examples for `ImageEditor`, and allows individual images to be used as the initial `value` for `ImageEditor`
Other minor refactoring as well.
Closes: https://gi... |
21 | null | VarIr/scikit-hubness | # Repository Context
Name: VarIr/scikit-hubness
Description:
# Pull Request
## FEAT Approx. NN search with annoy
Let's introduce another approximate nearest neighbor methods: random projection trees, provided by the `annoy` library.
This faces the same problem as mentioned in issue #20 but solves it by memmappi... |
2,849 | null | aimhubio/aim | # Repository Context
Name: aimhubio/aim
Description:
# Pull Request
## [refactor] Refactor state management and integrate API service in `Report` page
- Refactored the Report page state management
- Added Reports service api
- Added unified notification service on application level
# Relevant Files Found
## sr... |
6,343 | null | cvat-ai/cvat | # Repository Context
Name: cvat-ai/cvat
Description:
# Pull Request
## Fix API schema for the owner field
<!-- Raise an issue to propose your change (https://github.com/opencv/cvat/issues).
It helps to avoid duplication of efforts from multiple independent contributors.
Discuss your ideas with maintainers to be s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.