pr_id int64 | repo_id null | repo_name string | text string |
|---|---|---|---|
375 | null | HewlettPackard/squest | # Repository Context
Name: HewlettPackard/squest
Description:
# Pull Request
## Url refacto
# Relevant Files Found
## Squest/settings.py
```
"""
Django settings for Squest project.
Generated by 'django-admin startproject' using Django 3.1.7.
For more information on this file, see
https://docs.djangoproject.co... |
26,903 | null | dimagi/commcare-hq | # Repository Context
Name: dimagi/commcare-hq
Description:
# Pull Request
## only enable metrics view in DEBUG mode
https://github.com/dimagi/commcare-hq/pull/26876#discussion_r394893298
# Relevant Files Found
## corehq/util/metrics/views.py
```
import os
import prometheus_client
from django.http import HttpRes... |
452 | null | Nextdoor/kingpin | # Repository Context
Name: Nextdoor/kingpin
Description:
# Pull Request
## Add organizational Account IDs for Spotinst
# Relevant Files Found
## kingpin/actors/spotinst.py
```
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# Y... |
4,644 | null | plotly/plotly.py | # Repository Context
Name: plotly/plotly.py
Description:
# Pull Request
## Add plotly[express] extra for easily installing Plotly Express dependencies
Closes #2279
This PR:
- Adds the install shortcut `plotly[express]`, explained in more detail below
- Renames the following files, to match conventions used in ... |
1,595 | null | pyro-ppl/pyro | # Repository Context
Name: pyro-ppl/pyro
Description:
# Pull Request
## Make einsum trace evaluator default for HMC
Addresses #1520.
This removes the `experimental_use_einsum` flag from HMC / NUTS. All our tests using `TraceEinsumEvaluator` are nearly as fast as the `TraceTreeEvaluator`, and we should make this... |
111 | null | steveberardi/starplot | # Repository Context
Name: steveberardi/starplot
Description:
# Pull Request
## fix constellation names
Fixes bug with constellation names (#110)
# Relevant Files Found
## src/starplot/__init__.py
```
"""Star charts and maps"""
__version__ = "0.12.2"
from .base import BasePlot # noqa: F401
from .map import Ma... |
86 | null | brainglobe/brainglobe-template-builder | # Repository Context
Name: brainglobe/brainglobe-template-builder
Description:
# Pull Request
## Add codespell pre-commit hook and fix typos
## Description
**What is this PR**
- [ ] Bug fix
- [ ] Addition of a new feature
- [x] Other
**Why is this PR needed?**
Noticed some typos.
**What does this PR ... |
271 | null | canonical/snap-openstack | # Repository Context
Name: canonical/snap-openstack
Description:
# Pull Request
## Remove repo plugin
Remove repo plugin and update the plugin manager
to not reference any external repo plugins.
# Relevant Files Found
## sunbeam-python/sunbeam/commands/upgrades/base.py
```
# Copyright (c) 2023 Canonical Ltd.
#
... |
30 | null | qri-io/qri-python | # Repository Context
Name: qri-io/qri-python
Description:
# Pull Request
## Handle when readme is null
This is a first pass at closing #27, but please leave any and all comments (nits welcomed!) as I'm learning python best practices
# Relevant Files Found
## qri/dataset.py
```
import markdown
from . import dsre... |
33 | null | mberk/betfairutil | # Repository Context
Name: mberk/betfairutil
Description:
# Pull Request
## Add functions
# Order Book Analysis Functions
* calculate_order_book_imbalance
# Market Time Functions
* get_market_time_as_datetime
* get_seconds_to_market_time
# Convenience Functions
* get_price_size_by_depth
* get_second_best... |
246 | null | xarray-contrib/flox | # Repository Context
Name: xarray-contrib/flox
Description:
# Pull Request
## Delete resample_reduce
Closes #245
# Relevant Files Found
## flox/xarray.py
```
from __future__ import annotations
import warnings
from typing import TYPE_CHECKING, Any, Hashable, Iterable, Sequence, Union
import numpy as np
import p... |
285 | null | physiopy/phys2bids | # Repository Context
Name: physiopy/phys2bids
Description:
# Pull Request
## Switch from Travis to CircleCI for automatic testing
Closes #
## Proposed Changes
-
-
-
# Relevant Files Found
## phys2bids/tests/test_integration.py
```
import glob
import json
import math
import re
import shutil
import s... |
481 | null | python-adaptive/adaptive | # Repository Context
Name: python-adaptive/adaptive
Description:
# Pull Request
## Fix 2 NumPy deprecation warnings
Fixes:
```
FAILED adaptive/tests/test_learners.py::test_learner_performance_is_invariant_under_scaling[LearnerND-ring_of_fire-learner_kwargs12] - DeprecationWarning: Conversion of an array with nd... |
267 | null | tyiannak/pyAudioAnalysis | # Repository Context
Name: tyiannak/pyAudioAnalysis
Description:
# Pull Request
## Refactor audioSegmentation and audioTrainTest
I have not completed the test script because i did not have the data, run it and let me know if something goes wrong.
# Relevant Files Found
## pyAudioAnalysis/MidTermFeatures.py
```
f... |
573 | null | TIHLDE/Lepton | # Repository Context
Name: TIHLDE/Lepton
Description:
# Pull Request
## feat: made it so that only users with public regs can see reg list
## Proposed changes
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 feat... |
3,822 | null | catalyst-cooperative/pudl | # Repository Context
Name: catalyst-cooperative/pudl
Description:
# Pull Request
## Extract 714 xbrl
<!--
Resources:
* contributing guidelines: https://catalystcoop-pudl.readthedocs.io/en/nightly/CONTRIBUTING.html
* code of conduct: https://catalystcoop-pudl.readthedocs.io/en/nightly/code_of_conduct.html
-->
... |
712 | null | keras-team/keras-tuner | # Repository Context
Name: keras-team/keras-tuner
Description:
# Pull Request
## Add exhaustive tuner
Hi,
This PR adds an exhaustive tuner, i.e., a Tuner that explores all the trial space. I needed it and I saw that others too (https://github.com/keras-team/keras-tuner/issues/192 and https://github.com/keras-tea... |
8 | null | ahopkins/asynccli | # Repository Context
Name: ahopkins/asynccli
Description:
# Pull Request
## Add support for setup and teardown to CLIs
# Relevant Files Found
## asynccli/app.py
```
import asyncio
from .cli import BaseCLI
class App(object):
def __init__(self, *tasks):
self.loop = asyncio.get_event_loop()
s... |
40 | null | Denjell/TLE | # Repository Context
Name: Denjell/TLE
Description:
# Pull Request
## Gitgud improvements
# Relevant Files Found
## tle/cogs/codeforces.py
```
import datetime
import random
from typing import List
import math
import time
from collections import defaultdict
import logging
import discord
from discord.ext import ... |
51 | null | nextcord/previous | # Repository Context
Name: nextcord/previous
Description:
# Pull Request
## Better v3 stars
the previous one look ugly in hindsight, this pr makes it more beautiful.
# Relevant Files Found
## cogs/stars.py
```
import aiohttp
from nextcord.ext import commands
from nextcord.ext.tasks import loop
class GitHubStar... |
51 | null | MahjongRepository/mahjong | # Repository Context
Name: MahjongRepository/mahjong
Description:
# Pull Request
## Drop support for Python 3.7 and add support for Python 3.12
Python 3.7's end-of-life date is June 27, 2023. If we continue to support older versions, we're missing out on the latest language features.
# Relevant Files Found
## set... |
2,880 | null | Lightning-AI/pytorch-lightning | # Repository Context
Name: Lightning-AI/pytorch-lightning
Description:
# Pull Request
## Fix docs typo
## What does this PR do?
Fixes docs typo
# Relevant Files Found
## pytorch_lightning/core/hooks.py
```
from typing import Any
import torch
from torch import Tensor
from torch.nn import Module
from torch.o... |
1,206 | null | OpenCTI-Platform/connectors | # Repository Context
Name: OpenCTI-Platform/connectors
Description:
# Pull Request
## Some MWDB improvements + New Tweetfeed connector
<!--
Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this!
Thus already a BIG THANK Y... |
20 | null | tenable/audit_scripts | # Repository Context
Name: tenable/audit_scripts
Description:
# Pull Request
## document how to identify supported plugins
# Relevant Files Found
## parse_wrapper/audit_parse.py
```
#!/usr/bin/env python3
# Description : This script is a wrapper around the Nessus command line
# processors (`nasl`... |
116 | null | mit-ll-trusted-autonomy/pyquaticus | # Repository Context
Name: mit-ll-trusted-autonomy/pyquaticus
Description:
# Pull Request
## Pymarl
# Relevant Files Found
## pyquaticus/base_policies/waypoint_policy.py
```
# DISTRIBUTION STATEMENT A. Approved for public release. Distribution is unlimited.
#
# This material is based upon work supported by the ... |
2,183 | null | GenericMappingTools/pygmt | # Repository Context
Name: GenericMappingTools/pygmt
Description:
# Pull Request
## Correct syntax for `error_bar` of `pygmt.Figure.plot`
**Description of proposed changes**
This PR aims to correct the syntax for the `error_bar` parameter of [`pygmt.Figure.plot`](https://www.pygmt.org/dev/api/generated/pygmt.Fig... |
1,266 | null | pallets-eco/flask-admin | # Repository Context
Name: pallets-eco/flask-admin
Description:
# Pull Request
## fix exception when using an unlimited page_size
If you use `0` or `False` as a page_size in a model view, it will throw `ZeroDivisionError: long division or modulo by zero`. This pull request fixes the issue by checking whether a `pag... |
22 | null | demisto/demisto-sdk | # Repository Context
Name: demisto/demisto-sdk
Description:
# Pull Request
## add prints everywhere
added prints
# Relevant Files Found
## demisto_sdk/validation/file_validator.py
```
"""
This script is used to validate the files in Content repository. Specifically for each file:
1) Proper prefix
2) Proper suffi... |
1,282 | null | blaze/blaze | # Repository Context
Name: blaze/blaze
Description:
# Pull Request
## WIP: Foreign table joins
Right now, this is very simple and assumes that everything fits
in memory.
We convert both pieces of data to DataFrames and then execute the
join.
# Relevant Files Found
## blaze/compute/core.py
```
from __future__ i... |
63 | null | openwallet-foundation/owl-agent-test-harness | # Repository Context
Name: openwallet-foundation/owl-agent-test-harness
Description:
# Pull Request
## First Working Scenario Outline (2 test scenarios when executed) for Presentation
Presentation Scenario Outline T001-API10-RFC0037 working.
# Relevant Files Found
## aries-backchannels/acapy/acapy_backchannel.py
... |
5,419 | null | TheAlgorithms/Python | # Repository Context
Name: TheAlgorithms/Python
Description:
# Pull Request
## Mypy check polygon and corrections
### **Describe your change:**
* [X] Fix a bug or typo in an existing algorithm?
### **Checklist:**
* [X] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRI... |
1,095 | null | NeuralEnsemble/python-neo | # Repository Context
Name: NeuralEnsemble/python-neo
Description:
# Pull Request
## Fix OpenEphys bug stream ids #1055
See #1055, waiting for feedback
# Relevant Files Found
## neo/rawio/openephysrawio.py
```
"""
This module implement the "old" OpenEphys format.
In this format channels are split into several fil... |
36 | null | Ableton/maxdevtools | # Repository Context
Name: Ableton/maxdevtools
Description:
# Pull Request
## Fix: correctly include last entry of frozen devices
The frozen device summary missed the last file due to using `<` instead of `<=`
# Relevant Files Found
## maxdiff/frozen_device_printer.py
```
import datetime
from typing import Optio... |
2,657 | null | milvus-io/pymilvus | # Repository Context
Name: milvus-io/pymilvus
Description:
# Pull Request
## fix: correct Int8Vector handle wrong insert data type
issue: https://github.com/milvus-io/milvus/issues/39930
# Relevant Files Found
## pymilvus/client/entity_helper.py
```
import math
import struct
from typing import Any, Dict, Iterabl... |
270 | null | os-autoinst/openqa-trigger-from-obs | # Repository Context
Name: os-autoinst/openqa-trigger-from-obs
Description:
# Pull Request
## Add xml attribute ln_iso_to_repo
It is needed for agama s390x to overcome architectural limitations
# Relevant Files Found
## script/cfg.py
```
header = '''# GENERATED FILE - DO NOT EDIT
set -e
'''
clear_lst = '''for f... |
5,486 | null | qtile/qtile | # Repository Context
Name: qtile/qtile
Description:
# Pull Request
## [wayc] fix RTD build
# Relevant Files Found
## libqtile/backend/wayland/__init__.py
```
# Copyright (c) 2022-3 Matt Colligan
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated do... |
469 | null | hatchet/hatchet | # Repository Context
Name: hatchet/hatchet
Description:
# Pull Request
## bugfix: metadata reference
# Relevant Files Found
## hatchet/graphframe.py
```
# Copyright 2017-2022 Lawrence Livermore National Security, LLC and other
# Hatchet Project Developers. See the top-level LICENSE file for details.
#
# SPDX-Li... |
9,429 | null | readthedocs/readthedocs.org | # Repository Context
Name: readthedocs/readthedocs.org
Description:
# Pull Request
## Custom domains: don't allow IPs
Instead of complicating the regex for the domain name, just add a new validator.
There are only two invalid values on .org, should I delete those?
`['34.67.146.212', '94.237.79.40']`
Closes... |
2,912 | null | ThePalaceProject/circulation | # Repository Context
Name: ThePalaceProject/circulation
Description:
# Pull Request
## [PP-3347] Reduce the default page size on overdrive api fetch to 25 …
…from 100.
This update reduces the pages size and therefore the rate of circulation update task generation by 75%. The hope is that this adjustment will r... |
91 | null | microsoft/PyMarlin | # Repository Context
Name: microsoft/PyMarlin
Description:
# Pull Request
## Update logging_utils.py
removed unused import.
# Relevant Files Found
## pymarlin/utils/logger/logging_utils.py
```
"""
Logging util module
"""
import logging
import sys
formatter = logging.Formatter('%(asctime)s:%(levelname)s : %(name... |
88 | null | utiasDSL/safe-control-gym | # Repository Context
Name: utiasDSL/safe-control-gym
Description:
# Pull Request
## Constraint Evaluation Rounding Errors
This branch and PR are for modifying the constraint class to properly handle violations that are a result of numerical issues (as per #85). It was observed that violations can occur on the order... |
1,637 | null | valory-xyz/open-autonomy | # Repository Context
Name: valory-xyz/open-autonomy
Description:
# Pull Request
## Patch: define synchronized_data_class on all rounds
## Proposed changes
set synchronized_data_class on all remaining rounds that did not explicitly set it.
## Fixes
If it fixes a bug or resolves a feature request, be sure to... |
4,808 | null | PaddlePaddle/PaddleNLP | # Repository Context
Name: PaddlePaddle/PaddleNLP
Description:
# Pull Request
## fix text classification taskflow
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 -->
### PR types
Bug fixes
### PR changes
APIs
### Description
TASKS中默认关键字 model->mode
# Relevant Files Found
## paddlenlp/t... |
2,121 | null | ansys/pyaedt | # Repository Context
Name: ansys/pyaedt
Description:
# Pull Request
## Virtual Mesh Regions support fix
Close #2117
If the AEDT version is 2022.2 or newer, the new AssignVirtualMeshRegion is used
If Virtual Mesh Region beta feature is not enabled, the API still works and just creates the "classical" mesh regi... |
55 | null | office-for-students/beta-data-pipelines | # Repository Context
Name: office-for-students/beta-data-pipelines
Description:
# Pull Request
## Release/v0.1.3
### What
Update NHS NSS stats processing so no entry added if no data
### How to review
Review changes
# Relevant Files Found
## EtlPipelineBlobTrigger/course_stats.py
```
"""Data extraction ... |
69 | null | hongkai-dai/compatible_clf_cbf | # Repository Context
Name: hongkai-dai/compatible_clf_cbf
Description:
# Pull Request
## Add saved clf/cbf data for examples.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/hongkai-dai/com... |
43,337 | null | saltstack/salt | # Repository Context
Name: saltstack/salt
Description:
# Pull Request
## Update zabbix_return.py
Test ServerActive IP addresses before using them as it may be that your host is not being monitored by one of them and current returner fails to complete this action
### What does this PR do?
### What issues does ... |
122 | null | OFFIS-DAI/mango | # Repository Context
Name: OFFIS-DAI/mango
Description:
# Pull Request
## Moving creation of inbox to on_start.
# Relevant Files Found
## mango/agent/core.py
```
"""
This module implements the base class for agents (:class:`Agent`).
Every agent must live in a container. Containers are responsible for making
c... |
17 | null | KC7-Foundation/kc7 | # Repository Context
Name: KC7-Foundation/kc7
Description:
# Pull Request
## Enabled ADX debug mode functionality
Enabled ADX debug mode functionality
# Relevant Files Found
## app/server/modules/logging/uploadLogs.py
```
from inspect import istraceback
import pandas as pd
import json
from azure.kusto.data impor... |
214 | null | HSF/harvester | # Repository Context
Name: HSF/harvester
Description:
# Pull Request
## new wrapper ec mapping for cvmfs issue
# Relevant Files Found
## pandaharvester/commit_timestamp.py
```
timestamp = "26-02-2024 07:51:45 on flin (by mightqxc)"
```
## pandaharvester/harvestermonitor/monitor_common.py
```
################... |
146 | null | hanjinliu/cylindra | # Repository Context
Name: hanjinliu/cylindra
Description:
# Pull Request
## Apply CTF and phase flip during tomogram simulation
# Relevant Files Found
## cylindra/widgets/_widget_ext.py
```
from __future__ import annotations
import random
from contextlib import contextmanager
from pathlib import Path
from typ... |
816 | null | meta-pytorch/torchtune | # Repository Context
Name: meta-pytorch/torchtune
Description:
# Pull Request
## Added --output-dir-use-symlinks for tune download with default as auto
#### Context
- Fixes #813
- Added --output-dir-use-symlinks option to `tune download` with default as `auto`.
#### Changelog
-
#### Test plan
-
# ... |
57 | null | FarmerChillax/new-school-sdk | # Repository Context
Name: FarmerChillax/new-school-sdk
Description:
# Pull Request
## release 1.7.1
# Relevant Files Found
## setup.py
```
# -*- coding: utf-8 -*-
'''
:file: setup.py
:author: -Farmer
:url: https://blog.farmer233.top
:date: 2021/09/20 11:11:54
'''
from os import path
from setup... |
628 | null | suitenumerique/docs | # Repository Context
Name: suitenumerique/docs
Description:
# Pull Request
## 🔧(backend) make AI feature reach configurable
## Purpose
We want to be able to define whether AI features are available to anonymous users who gained editor access on a document, or if we demand that they be authenticated or even if... |
38 | null | Yale-LILY/NLP4Code | # Repository Context
Name: Yale-LILY/NLP4Code
Description:
# Pull Request
## troyfeng116/self-hosted
# Relevant Files Found
## tests/test_inference_pipeline.py
```
import os
import unittest
# get the data directory from the environment variable
DATA_DIR = os.environ.get('DATA_DIR')
class TestDecOnlyModelInfer... |
27 | null | contentful/contentful.py | # Repository Context
Name: contentful/contentful.py
Description:
# Pull Request
## Add filtering of invalid entries from API responses
Also refactors entry field coercion.
# Relevant Files Found
## contentful/entry.py
```
from .resource import FieldsResource
from .utils import is_link, is_link_array, resource_fo... |
113 | null | ORNL/HydraGNN | # Repository Context
Name: ORNL/HydraGNN
Description:
# Pull Request
## opening of raw data file moved into __transform method
This will facilitate the conclusion of additional `__transform methods` to support multiple data formats
# Relevant Files Found
## hydragnn/preprocess/raw_dataset_loader.py
```
#########... |
29 | null | LSSTDESC/qp | # Repository Context
Name: LSSTDESC/qp
Description:
# Pull Request
## U/johannct/sparse
This is a draft PR as the qp interface is not yet functioning. The notebook docs/notebooks/Sparse qp interface.ipynb shows what the current issues are. Needing help on these.....
# Relevant Files Found
## qp/__init__.py
```... |
10 | null | colehurwitz/IBL_MtM_model | # Repository Context
Name: colehurwitz/IBL_MtM_model
Description:
# Pull Request
## add test, wandb
Add test set evaluation:
- wandb
- figure
TODO:
- Metrics: r2, fid
- Wrapped Trainer
# Relevant Files Found
## src/main.py
```
from datasets import load_dataset
from accelerate import Accelerator
from l... |
17,547 | null | DataDog/integrations-core | # Repository Context
Name: DataDog/integrations-core
Description:
# Pull Request
## [Release] [Backport 7.54.x] Decrease database instance collection interval
### What does this PR do?
<!-- A brief description of the change being made with this pull request. -->
### Motivation
<!-- What inspired you to submit ... |
254 | null | rpm-software-management/spec-cleaner | # Repository Context
Name: rpm-software-management/spec-cleaner
Description:
# Pull Request
## Replace legacy packageand() with 'and' expression
Starting with rpm-4.13, RPM is able to process boolean expressions
in all dependency tokens so 'packageand(pkgA:pkgB)' can be replaced
by '(pkgA and pkgB)' statement. (C... |
1,054 | null | pymeasure/pymeasure | # Repository Context
Name: pymeasure/pymeasure
Description:
# Pull Request
## Add Keithley2281S
Add support for Keithley2281S-20-6 battery simulator and analyzer.
# Relevant Files Found
## pymeasure/instruments/keithley/__init__.py
```
#
# This file is part of the PyMeasure package.
#
# Copyright (c) 2013-2024 P... |
54 | null | bogdanteodoru/py3cw | # Repository Context
Name: bogdanteodoru/py3cw
Description:
# Pull Request
## Added Reduce Funds
Reduce funds function added to smart trades. Same structure as Add Funds
# Relevant Files Found
## py3cw/config.py
```
API_URL = 'https://api.3commas.io'
API_VERSION_V1 = '/public/api/ver1/'
API_VERSION_V2 = '/publi... |
1,418 | null | mckinsey/vizro | # Repository Context
Name: mckinsey/vizro
Description:
# Pull Request
## [Release] Release of vizro 0.1.46
## Description
## Screenshot
## Notice
- [x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":
- I submit this contribution under the [Apache 2.0 license](h... |
79 | null | PixelgenTechnologies/pixelator | # Repository Context
Name: PixelgenTechnologies/pixelator
Description:
# Pull Request
## Feature/exe 1353 refactor pixeldataset io
## Description
Refactors the way we deal with data stores - i.e. now it is more flexible that it was before.
Additionally this ensures that we can:
- both read and write from da... |
2,643 | null | SFDO-Tooling/CumulusCI | # Repository Context
Name: SFDO-Tooling/CumulusCI
Description:
# Pull Request
## Refactor: `cleanup_org_cache_dirs()` to `EncryptedFileProjectKeychain`
# Implementation Notes
* The `cleanup_org_cache_dirs()` utility method has been refactored to be a part of the keychain classes. Looking at the original arguments ... |
162 | null | felix-hilden/sphinx-codeautolink | # Repository Context
Name: felix-hilden/sphinx-codeautolink
Description:
# Pull Request
## Support more Python Pygments lexer aliases
Support more Python Pygments lexer aliases in `code-block` and `literalinclude`.
<!--
Hi, thanks for submitting a pull request!
This is an example template to start with.
Ple... |
1,752 | null | flyteorg/flytekit | # Repository Context
Name: flyteorg/flytekit
Description:
# Pull Request
## Skip problematic pyyaml versions
# TL;DR
cython 3.0 broke a bunch of projects, including pyyaml (which is a hard dependency of flytekit)
## Type
- [ ] Bug Fix
- [ ] Feature
- [ ] Plugin
## Are all requirements met?
- [ ] Co... |
59 | null | PyCQA/pyflakes | # Repository Context
Name: PyCQA/pyflakes
Description:
# Pull Request
## Warn against reusing exception names after the except: block on Python 3
The following code is invalid on Python 3:
``` python
try:
raise ValueError('ve')
except ValueError as exc:
pass
print("Last exception:", exc) # raises an Un... |
46 | null | Borderless360/django-logic | # Repository Context
Name: Borderless360/django-logic
Description:
# Pull Request
## Pass user object to transitions
Fixes user object being removed from kwargs provided when calling transitions
# Relevant Files Found
## django_logic/process.py
```
import logging
from functools import partial
from django_logic.... |
68 | null | LSSTDESC/surveycodex | # Repository Context
Name: LSSTDESC/surveycodex
Description:
# Pull Request
## Cleaning of the current scripts
This PR
- cleans the output of the scripts for readibility
- ensures the CI runs the scripts (to detect API changes)
- renames the scripts
# Relevant Files Found
## scripts/effective_wavelengths.py
`... |
8 | null | chibisov/backdoc | # Repository Context
Name: chibisov/backdoc
Description:
# Pull Request
## Made images responsive (fluid).
... and added a couple of examples to the demo.
The approach is similar to Bootstrap's one:
https://github.com/twbs/bootstrap/blob/e38f066d8c203c3e032da0ff23cd2d6098ee2dd6/less/mixins/image.less#L9
```
// Ke... |
131 | null | SymbioticLab/FedScale | # Repository Context
Name: SymbioticLab/FedScale
Description:
# Pull Request
## fix code legacy
# Relevant Files Found
## examples/heterofl/config.py
```
import yaml
global cfg
if 'cfg' not in globals():
with open('FedScale/core/examples/heterofl/config.yml', 'r') as f:
cfg = yaml.load(f, Loader=ya... |
101 | null | typeshed-internal/stub_uploader | # Repository Context
Name: typeshed-internal/stub_uploader
Description:
# Pull Request
## Support .postN versions
The post version is just replaced with a regular release segment, as PEP 440 doesn't support structured post versions.
# Relevant Files Found
## stub_uploader/get_version.py
```
"""
Find the latest t... |
95 | null | labd/wagtailstreamforms | # Repository Context
Name: labd/wagtailstreamforms
Description:
# Pull Request
## buff out the example site with new features in v3
# Relevant Files Found
## example/models.py
```
from wagtail.admin.edit_handlers import StreamFieldPanel
from wagtail.core import blocks
from wagtail.core.fields import StreamField... |
61,308 | null | pandas-dev/pandas | # Repository Context
Name: pandas-dev/pandas
Description:
# Pull Request
## ENH: Add tzdata to hard dependencies
- [x] closes #61273
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [cod... |
171 | null | ansys/aedt-testing | # Repository Context
Name: ansys/aedt-testing
Description:
# Pull Request
## pass debug info to solver
#53
# Relevant Files Found
## aedttest/aedt_test_runner.py
```
import argparse
import datetime
import json
import os
import platform
import re
import subprocess
import tempfile
import threading
from contextlib... |
140 | null | ftCLI/FoundryTools-CLI-NG | # Repository Context
Name: ftCLI/FoundryTools-CLI-NG
Description:
# Pull Request
## Refactor OS/2 table related stuff
# Relevant Files Found
## foundrytools_cli_2/cli/os_2.py
```
# pylint: disable=import-outside-toplevel
import typing as t
from pathlib import Path
import click
from foundrytools_cli_2.lib.clic... |
5 | null | rounakdatta/elab-report-maker | # Repository Context
Name: rounakdatta/elab-report-maker
Description:
# Pull Request
## Added support for printing all levels at once
I've added a function to print all levels at once.
I didn't want to disturb the existing one, so I just added another function.
Downloads all the reports level-wise but generates t... |
97 | null | aqlaboratory/openfold | # Repository Context
Name: aqlaboratory/openfold
Description:
# Pull Request
## fixing CUDA versions in dockerfile and a small bug in run_pretrained_openfold.py
This PR addresses two issues I ran into recently:
1) pytorch 1.10 only supports cuda 10.2 or 11.3 as distributed in conda, but the version of openmm re... |
434 | null | ONSdigital/eq-questionnaire-runner | # Repository Context
Name: ONSdigital/eq-questionnaire-runner
Description:
# Pull Request
## Update Python packages to latest
### What is the context of this PR?
Updates all un-pinned Python packages to the latest version.
#### Datastore gRPC
The default connection for Datastore is now gRPC. It looks like t... |
166 | null | SpikeInterface/spikeinterface | # Repository Context
Name: SpikeInterface/spikeinterface
Description:
# Pull Request
## YASS fixes
https://github.com/SpikeInterface/spikeinterface/issues/164
@ZiadAli can you try this fix? I don't have YASS installed, so it would be great if you can test it out.
# Relevant Files Found
## spikeinterface/sorter... |
52,855 | null | apache/airflow | # Repository Context
Name: apache/airflow
Description:
# Pull Request
## Move all BaseHook usages to version_compat in Microsoft WinRM
Part of https://github.com/apache/airflow/issues/52676
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE... |
768 | null | NVIDIA-Merlin/models | # Repository Context
Name: NVIDIA-Merlin/models
Description:
# Pull Request
## Adding transformers as backend
### Goals :soccer:
This PR adds Huggingface transformers as a optional backend.
### Implementation Details :construction:
Also adds test-markers to give users the ability to only run the huggingface-re... |
394 | null | PEtab-dev/libpetab-python | # Repository Context
Name: PEtab-dev/libpetab-python
Description:
# Pull Request
## v2: Adapt to updated yaml schema
Basically, the `problems` list is dissolved and its contents moved one level up.
See https://github.com/PEtab-dev/PEtab/pull/622/files
Closes https://github.com/PEtab-dev/libpetab-python/issues... |
505 | null | Path-of-Modifiers/pathofmodifiersapp | # Repository Context
Name: Path-of-Modifiers/pathofmodifiersapp
Description:
# Pull Request
## 504 solve get username on rate limitting key func
# Relevant Files Found
## src/backend_api/app/api/deps.py
```
from collections.abc import AsyncGenerator
from typing import Annotated
from fastapi import Depends, Req... |
37 | null | svalinn/pydagmc | # Repository Context
Name: svalinn/pydagmc
Description:
# Pull Request
## Add Volume Retrieval by Material Tag
## Description
This PR introduces convenient ways to retrieve `Volume` objects based on their assigned material tags within a `DAGModel`. This is useful for querying the model using semantic information... |
113 | null | sieve-project/sieve | # Repository Context
Name: sieve-project/sieve
Description:
# Pull Request
## Support handling rest read during testing mode
# Relevant Files Found
## sieve_analyzer/analyze.py
```
import copy
import os
from typing import List
from sieve_common.common import (
TestContext,
fail,
sieve_built_in_test_... |
230 | null | RK1905101/Mini_Python_Projects | # Repository Context
Name: RK1905101/Mini_Python_Projects
Description:
# Pull Request
## Add "Text-Based Adventure Game" Interactive Story
Closes Issue #202
This PR adds a modular text adventure game built with Python. It includes multiple story branches, combat with manual rolls, an inventory system, and a mul... |
85 | null | ambitioninc/django-entity-emailer | # Repository Context
Name: ambitioninc/django-entity-emailer
Description:
# Pull Request
## Release 2.1.0
# Relevant Files Found
## entity_emailer/interface.py
```
import sys
import traceback
from datetime import datetime
from django.core import mail
from entity_event import context_loader
from entity_emaile... |
231 | null | CityOfLosAngeles/aqueduct | # Repository Context
Name: CityOfLosAngeles/aqueduct
Description:
# Pull Request
## Get help email report
Start of work for sending out an email report for the GetHelp API.
# Relevant Files Found
## dags/public-health/covid19/get-help-to-esri.py
```
import datetime
import os
from urllib.parse import urljoin
imp... |
397 | null | NiaOrg/NiaPy | # Repository Context
Name: NiaOrg/NiaPy
Description:
# Pull Request
## fixed exporting to excel
### Summary
- Fixed #396
- Removed support for exporting to the Excel 97 - Excel 2003 format ".xls"
- Renamed export option `xlsx` to `excel`
- Dropped python 3.6 and 3.7 from CI and added python 3.11 (should probab... |
798 | null | IBM/unitxt | # Repository Context
Name: IBM/unitxt
Description:
# Pull Request
## Fix missing experiment_id for multiprocessing evaluation
### Details
When using unitxt to evaluate with multiprocessing and the file system is shared between the processes, `evaluate.load()` can throw multiple errors, or it can be loaded successf... |
446 | null | GoogleCloudPlatform/ml-auto-solutions | # Repository Context
Name: GoogleCloudPlatform/ml-auto-solutions
Description:
# Pull Request
## Migrate TF release tests to TF 2.18
# Description
Please include a summary of relevant context/issue and your changes.
Migrating release tests to TF 2.18
# Tests
Please describe the tests that you ran on Clou... |
1,448 | null | Project-MONAI/MONAILabel | # Repository Context
Name: Project-MONAI/MONAILabel
Description:
# Pull Request
## Improve filtering for download of labeled data in DICOMWeb datastore
When having a large DICOMWeb datastore with lots of different DICOMSEGs from lots of different reference DICOM series `_download_labeled_data()` of `DICOMWebDatast... |
152 | null | GoogleCloudPlatform/slurm-gcp | # Repository Context
Name: GoogleCloudPlatform/slurm-gcp
Description:
# Pull Request
## Add support for shared reservations
**BREAKING CHANGE:** Changes the expected `reservation_name` format from `NAME` to `projects/PROJECT/reservations/NAME`
# Relevant Files Found
## scripts/resume.py
```
#!/usr/bin/env python... |
782 | null | pyglet/pyglet | # Repository Context
Name: pyglet/pyglet
Description:
# Pull Request
## Various fixes for DirectInput event handling
Fixes various issues including fallback behavior in certain input scenarios:
1. If you were to disable the shadow window, and import `pyglet.input` before you created a normal Window this would ca... |
15 | null | thread53/pqviewer | # Repository Context
Name: thread53/pqviewer
Description:
# Pull Request
## Set file name shrink True
# Relevant Files Found
## pqviewer/table_header.py
```
from textual.app import Widget, ComposeResult
from textual.widgets import Label
from pqviewer.file_parser import FileParser
class TableHeader(Widget):
... |
1,176 | null | NVIDIA/NVFlare | # Repository Context
Name: NVIDIA/NVFlare
Description:
# Pull Request
## Add non-linear SVM example
Initial functional FL SVM draft
# Relevant Files Found
# Edits
This pull request adds an example demonstrating non-linear SVM training in a federated learning setup using NVFlare with scikit-learn. The key compo... |
56 | null | AlexanderFabisch/gmr | # Repository Context
Name: AlexanderFabisch/gmr
Description:
# Pull Request
## Replace code in notebooks with %run
There is a Google Colab at https://drive.google.com/file/d/1dLBMXw1764zlghfCDu4_jwcJFUA5ZaKj/view?usp=sharing that might be useful to some too.
I fixed some of the strings so they don't give unescap... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.