commit stringlengths 40 40 | subject stringlengths 1 3.25k | old_file stringlengths 4 311 | new_file stringlengths 4 311 | old_contents stringlengths 0 26.3k | lang stringclasses 3
values | proba float64 0 1 | diff stringlengths 0 7.82k |
|---|---|---|---|---|---|---|---|
68a46f09a04297c9fbf3d433a7e804e31e36d756 | Update mcsqs_caller.py | pymatgen/command_line/mcsqs_caller.py | pymatgen/command_line/mcsqs_caller.py | import subprocess
import os
import numpy as np
import time
from threading import Timer
from pymatgen.io.vasp.inputs import Poscar
from pymatgen.io import atat
def run_mcsqs(structure, clusters, supercell = None, total_atoms = None, search_time = 0.01):
"""
Helper function for calling mcsqs with different argu... | Python | 0.000001 | @@ -20,18 +20,17 @@
mport os
-
%0A
+
import n
@@ -413,17 +413,16 @@
the form
-
%0A
@@ -725,24 +725,16 @@
minutes%0A
-
%0A Ret
@@ -738,17 +738,16 @@
Returns:
-
%0A
@@ -867,10 +867,10 @@
oms
-==
+is
Non
@@ -1567,33 +1567,25 @@
le.close()%0A%0A
-
%0A
+
## G
@@ -2... |
81904007cfe7c2cd9947b04dceb54397e5067b4a | Add test for command "checkout" | test_repostack.py | test_repostack.py | import unittest
import os
import shutil
import tempfile
from ConfigParser import ConfigParser
import git
from repostack import RepoStack
class TestRepoStack(unittest.TestCase):
def setUp(self):
self.tmpdir = tempfile.mkdtemp(prefix='test_repostack_')
self.rs = RepoStack(rootdir=self.tmpdir)
... | Python | 0.000286 | @@ -3488,16 +3488,1362 @@
%7D%7D)%0A%0A
+ def test_checkout(self):%0A path = os.path.join(self.tmpdir, 'path/to/bar')%0A%0A # ok new repo%0A with open(self.cfgpath, 'w') as f:%0A f.write('%5Cn'.join((%0A '%5Bpath/to/bar%5D',%0A 'remote_origin = git://... |
abdf0103b45aec2fd7c5e135a110272007f768ea | Add phone number to charity payload. Uncomment google search | parse_likecharity.py | parse_likecharity.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Apr 22 23:20:13 2017
@author: colm
"""
from bs4 import BeautifulSoup
import requests
import time
import json
from configparser import ConfigParser
def get_google_api_key(config_file = '/home/colm/alchemy-keys/google-api-keys.ini'):
parser = ConfigPa... | Python | 0.000012 | @@ -652,20 +652,8 @@
ty)%0A
- return ''%0A
r
@@ -953,16 +953,17 @@
mind re
+s
triction
@@ -2864,24 +2864,58 @@
logo'%5D = ''%0A
+ payload%5B'number'%5D = '50300'%0A
for en
|
bc0738bdf7afdc1236e8154868352b58850fdf1a | Fix indentation. | hyper/tls.py | hyper/tls.py | # -*- coding: utf-8 -*-
"""
hyper/tls
~~~~~~~~~
Contains the TLS/SSL logic for use in hyper.
"""
import os.path as path
from .common.exceptions import MissingCertFile
from .compat import ignore_missing, ssl
NPN_PROTOCOL = 'h2'
H2_NPN_PROTOCOLS = [NPN_PROTOCOL, 'h2-16', 'h2-15', 'h2-14']
SUPPORTED_NPN_PROTOCOLS = H2_... | Python | 0.000007 | @@ -4109,16 +4109,17 @@
+
%22ensure
@@ -4185,16 +4185,17 @@
+
%22distrib
@@ -4237,24 +4237,25 @@
te when %22 +%0A
+
|
78bda7600917ec740e65ccd364c45e3095fd8491 | Add New Zealand currency and VAT rate | src/bda/plone/shop/vocabularies.py | src/bda/plone/shop/vocabularies.py | from bda.plone.checkout.vocabularies import country_vocabulary
from bda.plone.checkout.vocabularies import gender_vocabulary
from bda.plone.shipping import Shippings
from bda.plone.payment import Payments
from zope.interface import provider
from zope.schema.interfaces import IVocabularyFactory
from zope.schema.vocabula... | Python | 0.000002 | @@ -1781,24 +1781,41 @@
10': '10%25',%0A
+ '15': '15%25',%0A
'20': '2
@@ -3149,24 +3149,75 @@
nese Yen'),%0A
+ 'NZD': _('NZD', default='New Zealand Dollar'),%0A
%7D%0A%0A%0A@provide
|
0db6ccd51ed354ea1bca8f7bbb71436e5984ecd4 | fix bug with exception handling in config | src/config.py | src/config.py | import yaml
from vpnexcept import VPNException
class InvalidConfigException(VPNException):
pass
class VPNConfig(object):
def __init__(self, path_to_config=None):
self.__path = path_to_config or self.__class__.__default_config_file
self.read_config()
#self.validate()
def read_con... | Python | 0 | @@ -471,36 +471,37 @@
on:%0A
-ex =
+raise
InvalidConfigEx
@@ -512,31 +512,8 @@
ion(
-)%0A ex.msg =
%22con
@@ -547,29 +547,9 @@
led%22
-%0A raise ex
+)
%0A%0A
@@ -692,12 +692,13 @@
-ex =
+raise
Inv
@@ -721,65 +721,28 @@
ion(
-)%0A ex.msg = %22wtf%22%0A ... |
e4de593113ef9d22031bde8c547a780587551d22 | Add comments, simply if-else condition | mining.py | mining.py | #!/usr/bin/env python3
""" Docstring """
__author__ = 'Susan Sim'
__email__ = "ses@drsusansim.org"
__copyright__ = "2014 Susan Sim"
__license__ = "MIT License"
__status__ = "Prototype"
# imports one per line
import json
import datetime
#import json
stock_data = []
monthly_averages = []
def read_stock_data(stoc... | Python | 0 | @@ -798,17 +798,16 @@
e_name)%0A
-%0A
for
@@ -923,16 +923,88 @@
m-%25d')%0A%0A
+ # Check if the entry is not in the same month as last entry%0A
@@ -1062,32 +1062,100 @@
%5D.year != year:%0A
+ # Check if year flag is assigned with a valid value%0A
@@ -1549,7... |
94a51f815906da607e5d1bfb7bd5ac924169ef4d | bump access permission token: don't descrase validity | src/c3nav/mapdata/models/access.py | src/c3nav/mapdata/models/access.py | import pickle
import uuid
from collections import namedtuple
from datetime import timedelta
from typing import Sequence
from django.conf import settings
from django.core.cache import cache
from django.db import models, transaction
from django.db.models import Q
from django.utils import timezone
from django.utils.trans... | Python | 0.00002 | @@ -3547,16 +3547,38 @@
_until =
+ max(self.valid_until,
default
@@ -3591,16 +3591,17 @@
_until()
+)
%0A%0A @p
|
ac902bc32ad1de20e4d576d0e8884249e2b0b506 | tweak to mixins for more generality | testing/mixins.py | testing/mixins.py | from __future__ import division
import numpy as np
import abc, os
from nose.plugins.attrib import attr
from ..util import testing
class DistributionTester(object):
__metaclass__ = abc.ABCMeta
@abc.abstractproperty
def distribution_class(self):
pass
@abc.abstractproperty
def hyperparamet... | Python | 0 | @@ -643,24 +643,131 @@
return 1%0A%0A
+ @property%0A def big_data_hyperparameter_settings(self):%0A return self.hyperparameter_settings%0A%0A
%0A def big
@@ -834,32 +834,41 @@
enumerate(self.
+big_data_
hyperparameter_s
@@ -1748,16 +1748,121 @@
n 0.05%0A%0A
+ @property%0A def geweke_hyperp... |
4c34fb65d757e2dcfabf4f8b532a712f59eb0663 | Support JSON encoding of a Link object | flask_hal/link.py | flask_hal/link.py | #!/usr/bin/env python
# encoding: utf-8
"""
flask_hal.link
==============
Implements the ``HAL`` Link specification.
"""
VALID_LINK_ATTRS = [
'name',
'title',
'type',
'deprecation',
'profile',
'templated',
'hreflang'
]
class Link(object):
"""Build ``HAL`` specification ``_links`` o... | Python | 0 | @@ -117,16 +117,45 @@
n.%0A%22%22%22%0A%0A
+# Standard Libs%0Aimport json%0A%0A
%0AVALID_L
@@ -1626,30 +1626,381 @@
ct.%0A
- %22%22%22%0A%0A pass
+%0A Returns:%0A str: The %60%60JSON%60%60 encoded object%0A %22%22%22%0A%0A # Minimum viable link%0A link = %7B%0A ... |
49b0b7e3b00672d17167d1cfcf974414709bb647 | Fix NullLogger | pytablewriter/_logger/_null_logger.py | pytablewriter/_logger/_null_logger.py | class NullLogger:
level_name = None
def remove(self, handler_id=None): # pragma: no cover
pass
def add(self, **kwargs): # pragma: no cover
pass
def disable(self, name): # pragma: no cover
pass
def enable(self, name): # pragma: no cover
pass
def critical(s... | Python | 0.000007 | @@ -124,16 +124,22 @@
dd(self,
+ sink,
**kwarg
|
39813f2b63f9015393636ef91460fddd57e17558 | fix website url in manifest | attachment_metadata/__openerp__.py | attachment_metadata/__openerp__.py | # coding: utf-8
# @ 2015 Valentin CHEMIERE @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Attachment Metadata',
'version': '8.0.1.0.0',
'author': 'Akretion,Odoo Community Association (OCA)',
'website': 'www.akretion.com',
'license': 'AGPL-3',
'categor... | Python | 0.000001 | @@ -257,16 +257,23 @@
site': '
+http://
www.akre
@@ -280,16 +280,17 @@
tion.com
+/
',%0A '
|
61d199ef9eeabc8e4a6e1344fc15eef36c81e41e | Check perm admin session. | flask_perm/app.py | flask_perm/app.py | # -*- coding: utf-8 -*-
from functools import wraps
from flask import session
from .core import db
class Perm(object):
class Denied(Exception):
pass
def __init__(self, app=None):
self.app = app
self.user_callback = None
self.current_user_callback = None
self.users_cal... | Python | 0 | @@ -1741,35 +1741,186 @@
-session%5B'perm_admin'%5D = '1'
+data = self.app.config.get('PERM_ADMIN_USERNAME') + '.' + %5C%0A self.app.config.get('PERM_ADMIN_PASSWORD')%0A session%5B'perm_admin'%5D = generate_password_hash(data)
%0A%0A
@@ -2050,38 +2050,37 @@
n se
-ssion.get('perm_admin') =... |
2faaea457761063246d05d2e0cd03e172dec4369 | rephrase 408 | python/408_valid_word_abbreviation.py | python/408_valid_word_abbreviation.py | """
Given a non-empty string s and an abbreviation abbr, return whether the string
matches with the given abbreviation.
A string such as "word" contains only the following valid abbreviations:
["word", "1ord", "w1rd", "wo1d", "wor1", "2rd", "w2d", "wo2", "1o1d", "1or1",
"w1r1", "1o2", "2r1", "3d", "w3", "4"]
Notice... | Python | 0.999999 | @@ -1858,11 +1858,20 @@
nt(%22
-all
+408 all test
cas
|
200f3897f0b040775a5abc5c1f6a74276f6aea7a | Update local_settings.py | gdocs_importer/local_settings.py | gdocs_importer/local_settings.py | SECRET_KEY = 'o1v*eup$vkkldvomosh(#p87x)l)vin--$nfut!5z^6dksiwi6'
| Python | 0.000001 | @@ -11,56 +11,26 @@
= '
-o1v*eup$vkkldvomosh(#p87x)l)vin--$nfut!5z%5E6dksiwi6
+secret_key_goes_here
'%0A
|
f4e36132448a4a55bff5660b3f5a669e0095ecc5 | Fix up some issues with supporting schema migration | awx/main/models/activity_stream.py | awx/main/models/activity_stream.py | # Copyright (c) 2013 AnsibleWorks, Inc.
# All Rights Reserved.
from django.db import models
class ActivityStream(models.Model):
'''
Model used to describe activity stream (audit) events
'''
OPERATION_CHOICES = [
('create', _('Entity Created')),
('update', _("Entity Updated")),
... | Python | 0.000009 | @@ -86,16 +86,72 @@
t models
+%0Afrom django.utils.translation import ugettext_lazy as _
%0A%0Aclass
@@ -250,24 +250,69 @@
nts%0A '''%0A
+%0A class Meta:%0A app_label = 'main'%0A%0A
OPERATIO
@@ -677,16 +677,48 @@
SET_NULL
+, related_name='activity_stream'
)%0A op
@@ -1034,32 +1034,43 @@
ld(d... |
052ec48b74dc25750db055ea5ebf677c3217572a | set bill amount | billjobs/tests/factories.py | billjobs/tests/factories.py | import factory
import factory.fuzzy
import factory.django
from django.contrib.auth.models import User
from django.db.models.signals import post_save
@factory.django.mute_signals(post_save)
class UserProfileFactory(factory.django.DjangoModelFactory):
class Meta:
model = 'billjobs.UserProfile'
billing_... | Python | 0.000156 | @@ -1448,8 +1448,62 @@
actory)%0A
+ amount = factory.fuzzy.FuzzyInteger(100, 200, 10)%0A
|
681fa43db08194fae4973c300c82c3c74ac26406 | remove excess code | anna/main.py | anna/main.py | """Main entry point for any experiments."""
import os
import sys
import dataset.reuters21578.parser as data
import nlp.utils as nlp
from evaluation.mlc import evaluate
from model.binary_classifier import BinaryClassifierLearner as Learner
if __name__ == "__main__":
if len(sys.argv) < 2:
print("Usage: mai... | Python | 0.000079 | @@ -925,291 +925,34 @@
-for i in range(2):%0A test_doc = test_docs%5Bi%5D%0A predicted_doc = predicted_docs%5Bi%5D%0A%0A print(%22Text: %22 + str(test_doc.text%5B:200%5D))%0A print(%22Expected Labels: %22 + str(test_doc.labels))%0A print(%22Predicted Labels: %22 + str(predicted_... |
93c5d62c2eeb95d75493573f560a6c32184ab9bc | Refactor code based on PR comments. | tests/app/data/test_schema_validation.py | tests/app/data/test_schema_validation.py | from json import JSONDecodeError
from app.helpers.schema_helper import SchemaHelper
from app.schema_loader import schema_loader
import json
import jsonschema
import logging
import unittest
import os
from app import settings
from jsonschema import validate
logger = logging.getLogger(__name__)
class TestSchemaValid... | Python | 0 | @@ -1532,16 +1532,85 @@
chemas()
+%0A%0A # Certain keys need to be ignored to avoid false positives.
%0A
@@ -1662,37 +1662,43 @@
tion'%5D%0A%0A
-print
+logger.info
('Checking schem
@@ -1966,13 +1966,19 @@
-print
+logger.info
('Ch
@@ -2466,22 +2466,9 @@
eld
-schema_json%5Bk%5D
+v
%0A ... |
0c4163a4847b2de08bbce8c29d036a8f5a6ea12b | increase lengths of username field | src/python/expedient/clearinghouse/users/models.py | src/python/expedient/clearinghouse/users/models.py | '''
Created on Dec 3, 2009
@author: jnaous
'''
from django.db import models
from django.contrib import auth
class UserProfile(models.Model):
'''
Additional information about a user.
@ivar user: the user to whom this UserProfile belongs
@type user: L{auth.models.User}
@ivar affiliation: The o... | Python | 0.000005 | @@ -104,16 +104,88 @@
t auth%0A%0A
+auth.models.User._meta.get_field_by_name('username')%5B0%5D.max_length=255%0A%0A
class Us
|
36a29343bc2353993aeead769dc4059d37b0d287 | move date adding to the main function | hgdistver.py | hgdistver.py | import os
def version_from_cachefile(cachefile=None):
if not cachefile:
return
#replaces 'with open()' from py2.6
fd = open(cachefile)
fd.readline() # remove the comment
version = None
try:
line = fd.readline()
version_string = line.split(' = ')[1].strip()
versio... | Python | 0.000003 | @@ -1196,113 +1196,8 @@
:%5D%0A%0A
- if version.endswith('+'):%0A import time%0A version += time.strftime('%25Y%25m%25d')%0A
@@ -2612,32 +2612,161 @@
if version:%0A
+ if version.endswith('+'):%0A import time%0A version += time... |
163e4f4deef10d8da4c0110a6bfd8555661160a1 | Remove deprecated option from CSVDiff closes #12724 | python/TestHarness/testers/CSVDiff.py | python/TestHarness/testers/CSVDiff.py | #* This file is part of the MOOSE framework
#* https://www.mooseframework.org
#*
#* All rights reserved, see COPYRIGHT for full restrictions
#* https://github.com/idaholab/moose/blob/master/COPYRIGHT
#*
#* Licensed under LGPL 2.1, please see LICENSE for details
#* https://www.gnu.org/licenses/lgpl-2.1.html
from FileTe... | Python | 0 | @@ -2918,103 +2918,8 @@
'):%0A
- self.addCaveats('deprecated override_params. Build and use a comparison_file')%0A
|
54428a76dad83147ace40e78d1b53d59b38b246e | Stop try to lex for matching braces in interpolation if the token_re matches an empty string. This fixes the infinite loop triggered by the test suite as a result of the change to Python 2.7 describe in http://bugs.python.org/issue16152 and reported in http://genshi.edgewall.org/ticket/540. | genshi/template/interpolation.py | genshi/template/interpolation.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2007-2009 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://genshi.edgewall.org/wiki/License.
#
# This software consist... | Python | 0 | @@ -3884,33 +3884,195 @@
if match is None
-:
+ or not match.group():%0A # if there isn't a match or the match is the empty%0A # string, we're not going to match up braces ever
%0A
|
78a02036df6d9472564cf7ffbed7cd002ccc573c | Add new features | models.py | models.py | import datetime
from django.db import models
class Category(models.Model):
title = models.CharField(max_length=255,
help_text='Maximum 250 characters')
slug = models.SlugField(unique=True,
help_text='Automatically generated from title')
description ... | Python | 0 | @@ -37,16 +37,96 @@
t models
+%0Afrom django.contrib.auth.models import User%0Afrom tagging.fields import TagField
%0A%0Aclass
@@ -664,32 +664,203 @@
(models.Model):%0A
+ LIVE_STATUS = 1%0A DRAFT_STATUS = 2%0A STATUS_CHOICES = (%0A (LIVE_STATUS, 'Live'),%0A (DRAFT_STATUS, 'Draft')%0A )%0A%... |
4900c5ce9a386cbd00e280581ffc25d8ea739867 | fix linting in preprocessor | src/jupyter_contrib_nbextensions/nbconvert_support/pre_codefolding.py | src/jupyter_contrib_nbextensions/nbconvert_support/pre_codefolding.py | # -*- coding: utf-8 -*-
"""
This preprocessor removes lines in code cells that have been marked as `folded`
by the codefolding extension
"""
from nbconvert.preprocessors import Preprocessor
from traitlets import Bool, Unicode
class CodeFoldingPreprocessor(Preprocessor):
"""
:mod:`nbconvert` Preprocessor for ... | Python | 0.000001 | @@ -1091,16 +1091,25 @@
= Bool(
+%0A
False, h
@@ -2320,16 +2320,33 @@
process(
+%0A
nb, reso
|
b8c5dc2d6db40ea6c3a0baee6dc67b66006ad76f | Fix node_count default | pentagon/defaults.py | pentagon/defaults.py | from datetime import datetime
class AWSPentagonDefaults(object):
ssh = {
'admin_vpn_key': 'admin-vpn',
'production_kube_key': 'production-kube',
'production_private_key': 'production-private',
'working_kube_key': 'working-kube',
'working_private_key': 'working-private',
... | Python | 0.000003 | @@ -974,33 +974,33 @@
'node_count':
-3
+1
,%0A 'node_
|
20604001e280a445d7c25bac6eb31b1f0512c20f | Fix argv handling in Python transitive closure example | python/examples/transitive_closure.py | python/examples/transitive_closure.py | import sys
from random import Random
from pyspark import SparkContext
numEdges = 200
numVertices = 100
rand = Random(42)
def generateGraph():
edges = set()
while len(edges) < numEdges:
src = rand.randrange(0, numEdges)
dst = rand.randrange(0, numEdges)
if src != dst:
edge... | Python | 0.000058 | @@ -562,16 +562,20 @@
lices =
+int(
sys.argv
@@ -577,16 +577,17 @@
.argv%5B2%5D
+)
if len(
|
8eb5cc80f003c5802b9bc3e87d77c1deee220610 | update admin | permissions/admin.py | permissions/admin.py | from django.contrib import admin
from permissions.models import ObjectPermission, PrincipalRoleRelation, Role, Permission
class ObjectPermissionAdmin(admin.ModelAdmin):
list_display = ('pk', 'role', 'permission', 'content')
list_filter = ('role', 'permission')
admin.site.register(ObjectPermission, ObjectPerm... | Python | 0 | @@ -1067,27 +1067,16 @@
'group'
-, 'content'
)%0A%0Aadmin
|
05f9c1af0eb734a391434c3fd2b922f250d196fd | return when no entry | biisan/generate.py | biisan/generate.py | import biisan
import os
import codecs
from collections import OrderedDict
from glob import glob
import logging
from multiprocessing import Pool
from email.utils import formatdate
from datetime import datetime
import xml.etree.ElementTree as ET
from docutils.core import publish_parts
from docutils.parsers.rst import di... | Python | 0.000001 | @@ -6347,16 +6347,100 @@
/blog')%0A
+ if len(story_list) == 0:%0A logger.error('NO ENTRY FOUND.')%0A return%0A
outp
|
1d990e2fbfb707d31f494ebf60f182929545eb75 | Fix overloading error message | blaze/overloading.py | blaze/overloading.py | # -*- coding: utf-8 -*-
from __future__ import print_function, division, absolute_import
import inspect
from collections import namedtuple, defaultdict
from itertools import chain
from blaze import error
from blaze.util import flatargs, listify, alpha_equivalent
from blaze.datashape import (coretypes as T, unify, dsh... | Python | 0.000009 | @@ -4872,16 +4872,34 @@
%25s%22 %25 (
+overload.resolved_
sig,) fo
@@ -4904,17 +4904,16 @@
for
-_, sig, _
+overload
in
|
0921992306b76c26f448c5a80f33aefd343ae197 | Make a set of reserved words to use with escape_words. | pgcli/pgcompleter.py | pgcli/pgcompleter.py | from __future__ import print_function
import logging
from collections import defaultdict
from prompt_toolkit.completion import Completer, Completion
from .packages.sqlcompletion import suggest_type
from .packages.parseutils import last_word
from re import compile
_logger = logging.getLogger(__name__)
class PGComplete... | Python | 0 | @@ -2279,32 +2279,149 @@
mart_completion%0A
+ self.reserved_words = set()%0A for x in self.keywords:%0A self.reserved_words.update(x.split())
%0A self.na
@@ -2506,24 +2506,26 @@
%0A if
+((
not self.nam
@@ -2545,20 +2545,38 @@
ch(name)
+)%0A
or
+(
name.upp
... |
0ab0a4c93d565071152667f181e62a4f181851f6 | Make expiration date compatible with django timezone support | models.py | models.py | from django.conf import settings
from django.db import models
from django.db.models import signals
from . import managers
class AccessToken(models.Model):
user = models.ForeignKey(settings.AUTH_USER_MODEL, related_name="access_tokens")
client = models.ForeignKey("Client", related_name="access_tokens")
... | Python | 0.000003 | @@ -1352,32 +1352,74 @@
rgs, **kwargs):%0A
+ from django.utils import timezone%0A
import d
@@ -1508,24 +1508,15 @@
t =
-datetime.datetim
+timezon
e.no
|
1bcf8cba05749a83f86c1cd930d3c08c237f3b52 | add INSTALLED_APPS comment | project_name/project_name/settings/__init__.py | project_name/project_name/settings/__init__.py | """
Django settings for {{ project_name }} project.
For more information on this file, see
https://docs.djangoproject.com/en/{{ docs_version }}/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/
"""
# Build paths inside the project ... | Python | 0 | @@ -1044,16 +1044,76 @@
cfiles',
+%0A%0A # Third-party applications%0A%0A # Project applications
%0A)%0A%0AMIDD
|
4d861c3f8ce5ec6d838a5105bb8e56168a6f4c8b | Stop silencing redshift errors | json2parquet/helpers.py | json2parquet/helpers.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import logging
from inspect import cleandoc
from urlparse import urlparse
import pyarrow as pa
logger = logging.getLogger("json2parquet")
def get_schema_from_redshift(redshift_schema, redshift_table, redshift_uri, partition_columns=None):
"""
... | Python | 0.000004 | @@ -537,11 +537,8 @@
hema
-, _
= r
@@ -2400,33 +2400,8 @@
one%0A
- error = None%0A
@@ -2413,16 +2413,16 @@
try:%0A
+
@@ -2460,236 +2460,8 @@
l()%0A
- except psycopg2.ProgrammingError as e:%0A error = e%0A except psycopg2.OperationalError as e:%0A ... |
69ba02dafebe0c6e2e6e32b1926d53ddb3188707 | fix spelling in log message | flow/util/exit.py | flow/util/exit.py | import logging
import os
import psutil
import signal
import time
LOG = logging.getLogger(__name__)
_SIGNAL_TIMEOUT = 10
def exit_process(exit_code, child_signals=[signal.SIGINT, signal.SIGTERM]):
LOG.info('Exitting process: signalling children.')
for signum in child_signals:
_signal_child_process... | Python | 0.999047 | @@ -483,17 +483,16 @@
ed, exit
-t
ing with
|
7173efffd324a5917eeef6bc495af9e639a99960 | remove import python compatibility | billjobs/models.py | billjobs/models.py | from django.db import models
from django.dispatch import receiver
from django.contrib.auth.models import User
from django.db.models.signals import pre_save, post_save, post_delete
# TODO delete this import
from django.utils.encoding import python_2_unicode_compatible
from django.utils.translation import ugettext_lazy a... | Python | 0 | @@ -177,96 +177,8 @@
ete%0A
-# TODO delete this import%0Afrom django.utils.encoding import python_2_unicode_compatible%0A
from
@@ -294,37 +294,8 @@
e%0A%0A%0A
-@python_2_unicode_compatible%0A
clas
@@ -1782,37 +1782,8 @@
)%0A%0A%0A
-@python_2_unicode_compatible%0A
clas
|
1f076392b0b72a4f7f586268196abafc67047892 | Trim a fasta alingment based on coverage and final sequence length. | bin/trim_fasta_alignment.py | bin/trim_fasta_alignment.py | """
Trim a fasta alignment file based on the columns with - and then remove sequences that don't have enough coverage.
We assume all the sequences are the same length
"""
import os
import sys
import argparse
def read_fasta(fname):
"""
Read a fasta file and return a hash.
:param fname: The file name to re... | Python | 0 | @@ -2001,11 +2001,11 @@
if
-'_'
+%22-%22
!=
|
dfa291d70cb86d1d8ab0b17cc3273fcc942a2751 | Add some resilience to create_dict.py, resisting crashing on ZeroDivisionExceptions | bin/create_dict.py | bin/create_dict.py | #!/usr/bin/env pypy
import angr
import string
import sys
'''
create AFL dictionary of string references found in the binary. should allow AFL to explore more paths
without having to request symbolic execution.
'''
def hexescape(s):
out = [ ]
acceptable = string.letters + string.digits + " ."
for c in s:... | Python | 0.000001 | @@ -555,16 +555,26 @@
ctfile%3E%22
+ %25 argv%5B1%5D
%0A
@@ -637,21 +637,8 @@
2%5D%0A%0A
- try:%0A
@@ -666,20 +666,16 @@
ry)%0A
-
-
cfg = b.
@@ -711,20 +711,16 @@
=True)%0A%0A
-
stri
@@ -739,34 +739,16 @@
s =
-sum(%5Bf.string_references()
+%5B %5D %0A
for
@@ -796,47 +79... |
5ae9153a196a2d6a445364bdc40ea6e428bf35ff | Switch to matplotlib agg backend before importing pyplot | tests/__init__.py | tests/__init__.py | #
| Python | 0 | @@ -1,2 +1,41 @@
#%0A
+import matplotlib as mpl%0Ampl.use('agg')
|
af2613b7863d60e95958f398f4ee81f6d77d7c3d | Revert "Fix up prefix-grep" | examples/prefix-grep.py | examples/prefix-grep.py | from __future__ import with_statement
import subprocess, sys
NO_COLOR = 'no_color'
RED = 'red'
GREEN = 'green'
COLORS = (RED, GREEN)
FORMATS = {NO_COLOR : r'\033[0m',
RED : r'\033[0;31m',
GREEN : r'\033[0;32m'}
def format_text_helper(text, fmt):
if fmt in COLORS:
return '%s... | Python | 0 | @@ -3270,283 +3270,37 @@
-p = subprocess.Popen(%5B%22grep%22, %22-o%22, search_for%5D, universal_newlines=False, stderr=subprocess.PIPE, stdout=subprocess.PIPE, stdin=subprocess.PIPE)%0A (stdout, stderr) = p.communicate(input=text)%0A p.stdin.close()%0A p.wait()%0A found = stdout%0A start = text.in... |
3c28250fdda760f1997e6cf198657b3a7dc11bab | Remove #TODO for CLI test - done | tests/__init__.py | tests/__init__.py | # -*- coding: utf-8 -*-
"""
Unit test.
Each file in tests/ is for each main package.
#TODO Test for CLI
"""
import sys
import unittest
sys.path.append("../pythainlp")
loader = unittest.TestLoader()
testSuite = loader.discover("tests")
testRunner = unittest.TextTestRunner(verbosity=2)
testRunner.run(testSuite)
| Python | 0 | @@ -83,27 +83,8 @@
ge.%0A
-#TODO Test for CLI%0A
%22%22%22%0A
|
6e01fbe3790ff0ee18b1928b95e2b1c407330aff | Add iteration threshold for quicker SA | pygraphc/clustering/MaxCliquesPercolationSA.py | pygraphc/clustering/MaxCliquesPercolationSA.py | from pygraphc.clustering.MaxCliquesPercolation import MaxCliquesPercolationWeighted
from pygraphc.optimization.SimulatedAnnealing import SimulatedAnnealing
from numpy import linspace
from math import exp, ceil
from random import uniform
from itertools import product
class MaxCliquesPercolationSA(MaxCliquesPercolation... | Python | 0.000001 | @@ -541,16 +541,37 @@
rgy_type
+, iteration_threshold
):%0A
@@ -689,16 +689,20 @@
+
: graph%0A
@@ -756,24 +756,28 @@
s_weight
+
: list%5Btuple
@@ -888,24 +888,28 @@
s_id
+
: list%0A
@@ -960,32 +960,36 @@
tmin
+
: float%0A
@@ -1029,32 +1029,36 ... |
056ca70c96390af73954b86c1143160a94f030a9 | Test fix | tests/__init__.py | tests/__init__.py | import os
import atexit
import subprocess
process = subprocess.Popen(
args=('node', os.path.join(os.path.dirname(__file__), '..', 'example', 'server.js'),),
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT
)
# Ensure the process is killed on exit
atexit.register(lambda _process: _process.kill(), process)
... | Python | 0.000001 | @@ -127,25 +127,13 @@
), '
-..', 'example', '
+test_
serv
|
de75fcc59ca5eeadef39024106620a41662fe57f | Add LDC fields, move collapsed fieldsets at the bottom | magazzino/admin.py | magazzino/admin.py | # -*- coding: utf-8 -*-
from django.contrib import admin
from magazzino.models import *
for m in Scavo, Magazzino, Vano, ContestoScavo, FormaDiMateriale:
admin.site.register(m)
class ClasseAdmin(admin.ModelAdmin):
filter_horizontal = ['forme']
class MaterialeInline(admin.StackedInline):
model = Material... | Python | 0 | @@ -1104,16 +1104,19 @@
izione')
+%5D%7D)
,%0A
@@ -1121,127 +1121,205 @@
- 'contenuto', 'materiale'%5D%7D),%0A ('CD - Codici', %7B'fields': %5B('lir'), ('nctr', 'nctn'), ('esc', 'ecp')
+('LDC - Collocazione specifica', %7B'fields': %5B'ldct', 'ldcn', 'ldcs'%5D%7D),%0A ('DSC - Dat... |
545dbf5f702ff6857d5c8ace98524a875559e408 | fix another import | biokit/__init__.py | biokit/__init__.py | """Main entry point to biokit
::
import biokit as bk
from bk import bioservices
from bk import sequence
from bioservices.apps import get_fasta
fasta = get_fasta("P43403")
seq = sequence.FASTA(fasta)
seq.plot()
"""
__version__ = "0.1"
import pkg_resources
try:
version = pkg_resource... | Python | 0.000067 | @@ -807,16 +807,23 @@
id%0Afrom
+biokit.
goid imp
@@ -863,16 +863,23 @@
my%0Afrom
+biokit.
taxonomy
|
8dae719898d92be5fe6c3139478ca0cb8e56fbf8 | refactor has_css_class and css_class. | lib/djtables/column.py | lib/djtables/column.py | #!/usr/bin/env python
# vim: et ts=4 sw=4
import datetime
from django.template import defaultfilters
class Column(object):
"""
This class represents a table column. It is responsible for holding
metadata, and rending table cells. Like Django model/fields, columns
are usually created within the tabl... | Python | 0.000946 | @@ -3307,29 +3307,25 @@
return None%0A
-
%0A
+
@propert
@@ -3370,41 +3370,38 @@
%22%22%22
-%0A If there is a css
+Return True if a CSS
class
+is
defi
@@ -3420,25 +3420,16 @@
column.
-%0A
%22%22%22%0A
@@ -3467,21 +3467,17 @@
ot None%0A
-
%0A
+
def
@@ -3508,24 +3508,22 ... |
4f2750001d0703518013aec8cdd9efb465a9f9f1 | Fix error in rrd2whisper | bin/rrd2whisper.py | bin/rrd2whisper.py | #!/usr/bin/env python
import os
import sys
import time
import signal
import optparse
try:
import rrdtool
except ImportError, exc:
raise SystemExit('[ERROR] Missing dependency: %s' % str(exc))
try:
import whisper
except ImportError:
raise SystemExit('[ERROR] Please make sure whisper is installed properly')
#... | Python | 0.000021 | @@ -1940,25 +1940,8 @@
o)%0A%0A
-datasources = %5B%5D%0A
if '
@@ -1973,13 +1973,8 @@
urce
-_name
s =
|
2a976d6719a7d5e5ba60d9a2d5faefa51ba56d7a | Use djangocms-helper base class | tests/__init__.py | tests/__init__.py | # -*- coding: utf-8 -*-
from cms.models import Page
from cms.utils.i18n import get_language_list
from django.contrib.auth.models import User
from django.http import SimpleCookie
from django.test import TestCase, RequestFactory
from django.utils.six import StringIO
from djangocms_page_meta.models import TitleMeta, Page... | Python | 0.000001 | @@ -26,303 +26,54 @@
rom
-cms.models import Page%0Afrom cms.utils.i18n import get_language_list%0Afrom django.contrib.auth.models import User%0Afrom django.http import SimpleCookie%0Afrom django.test import TestCase, RequestFactory%0Afrom django.utils.six import StringIO%0A%0Afrom djangocms_page_meta.models import Ti... |
106b4166c9eb84ff068466444506a3bafa192a52 | Increase the maximum waylength | mue/integration_test.py | mue/integration_test.py | from random import choice
import json
import sys
import pymue
from collections import defaultdict
MAX_WAY = 7.8
def way_cost(way_length):
if way_length <= 1:
return way_length * 100
elif way_length < MAX_WAY:
return (way_length * 100) ** 2
return sys.float_info.max
print("read data...."... | Python | 0 | @@ -106,11 +106,11 @@
Y =
-7.8
+9.3
%0A%0A%0Ad
|
7f0d85ff685493f5b09e7aec1b88bef659b49e63 | Apply changes suggested by 2to3 | camplight/cli.py | camplight/cli.py | # -*- coding: utf-8 -*-
"""
camplight.cli
~~~~~~~~~~~~~
This module implements the command-line interface to the Campfire API.
"""
import sys
import os
import optparse
from .api import *
from .exceptions import *
def die(msg):
sys.exit('error: %s' % msg)
def main(argv=None):
usage = 'Usage: %prog [opti... | Python | 0 | @@ -2327,17 +2327,17 @@
print
-
+(
json.dum
@@ -2354,9 +2354,10 @@
ndent=4)
+)
%0A
|
c0652014757a588670fb6ba91675cdf18ebc539a | Fix for verbose argument. Still shadows possible 'verbose' inputs to pipeline. | rabix/runtime/cli.py | rabix/runtime/cli.py | import os
import sys
import logging
from docopt import docopt, DocoptExit
from rabix import VERSION
from rabix.common.util import rnd_name
from rabix.runtime import from_url
from rabix.runtime.models import Pipeline
from rabix.runtime.engine import SequentialEngine, get_engine
from rabix.runtime.jobs import RunJob, I... | Python | 0 | @@ -580,24 +580,27 @@
and quit.%0A
+-v
--verbose
@@ -597,27 +597,24 @@
verbose
-
Log level se
@@ -734,24 +734,26 @@
+
Log level se
@@ -763,16 +763,18 @@
o DEBUG%0A
+
%7Boptions
@@ -942,18 +942,16 @@
arg = '
-
--%25s=%3C%25s
@@ -1262,16 +1262,18 @@
ions='%5Cn
+
'.join(o
@@... |
700c64f1c238cdd80e46649ab8c989bf290cde68 | fix imports | rasa_nlu/evaluate.py | rasa_nlu/evaluate.py | import logging
import rasa_nlu.test as test
logger = logging.getLogger(__name__)
if __name__ == '__main__': # pragma: no cover
logger.warning("Calling `rasa_nlu.evaluate` is deprecated. "
"Please use `rasa_nlu.test` instead.")
test.main()
| Python | 0.000002 | @@ -9,22 +9,20 @@
ogging%0A%0A
-import
+from
rasa_nl
@@ -32,15 +32,19 @@
est
-as test
+import main
%0A%0Alo
@@ -257,13 +257,8 @@
-test.
main
|
28ccd5b5dec0ac6e8724af3c61d167771b4d9c77 | bump version 0.1.8 | rdbtools/__init__.py | rdbtools/__init__.py | from rdbtools.parser import RdbCallback, RdbParser, DebugCallback
from rdbtools.callbacks import JSONCallback, DiffCallback, ProtocolCallback
from rdbtools.memprofiler import MemoryCallback, PrintAllKeys, StatsAggregator
__version__ = '0.1.7'
VERSION = tuple(map(int, __version__.split('.')))
__all__ = [
'RdbParse... | Python | 0.000001 | @@ -238,9 +238,9 @@
0.1.
-7
+8
'%0AVE
|
f5e2a65abbfb956ee6837763dc289d0f5bb68453 | Update prices.py | cea/optimization/prices.py | cea/optimization/prices.py | # -*- coding: utf-8 -*-
"""
This file imports the price details from the cost database as a class. This helps in preventing multiple importing
of the corresponding values in individual files.
"""
from __future__ import division
__author__ = "Jimeno A. Fonseca"
__copyright__ = "Copyright 2019, Architecture and Building... | Python | 0.000001 | @@ -220,16 +220,35 @@
division
+%0Aimport numpy as np
%0A%0A__auth
@@ -647,36 +647,39 @@
self.NG_PRICE =
-list
+np.tile
(%0A pr
@@ -723,38 +723,45 @@
2015perkWh'%5D
+.values
/ 1000
-) *
+,
365
+)
# in USD/W
@@ -803,36 +803,39 @@
self.BG_PRICE =
-list
+np.tile
(%0A pr
@@ -875,38 +8... |
932d9302835f5146ad0fb85dd7600cea3b93411d | Allow numbers in area types URLs. | mapit/urls.py | mapit/urls.py | from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
handler500 = 'mapit.shortcuts.json_500'
format_end = '(?:\.(?P<format>html|json))?'
urlpatterns = patterns('',
(r'^$', direct_to_template, { 'template': 'mapit/index.html' }, 'mapit_index' ),
(r'^generations$'... | Python | 0 | @@ -2432,15 +2432,21 @@
%5BA-Z
+0-9
,%5D*%5BA-Z
+0-9
%5D+)%25
|
b2bfe3502b1bb73927d08ea0fcf964a508129267 | make sure delimiter is basestring for cvsfile fixes #12062 | lib/ansible/plugins/lookup/csvfile.py | lib/ansible/plugins/lookup/csvfile.py | # (c) 2013, Jan-Piet Mens <jpmens(at)gmail.com>
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | Python | 0.000015 | @@ -1118,16 +1118,20 @@
limiter=
+str(
delimite
@@ -1132,16 +1132,17 @@
limiter)
+)
%0A%0A
@@ -2333,16 +2333,20 @@
e, key,
+str(
paramval
@@ -2359,16 +2359,17 @@
imiter'%5D
+)
, paramv
|
81f4f4b1318ff800e3febbc1bd7bbd9ff8e868b1 | Add some exception handling for dict | node/dictionary.py | node/dictionary.py | #!/usr/bin/env python
from nodes import Node
import json
class Dictionary(Node):
char = ".d"
args = 0
results = 1
def __init__(self, word_ids:Node.IntList):
if not hasattr(Dictionary, "word_list"):
Dictionary.word_list = init_words()
self.words = " ".join(Dictionary.wo... | Python | 0.000001 | @@ -597,30 +597,108 @@
-assert(word in words)%0A
+if word not in words:%0A rtn += %22Word %25s not in wordlist%22 %25 word%0A else:%0A
|
876fccc89809ac925383d6c4c70d8eafc4b52d4e | Test expected segment ID order | bonspy/tests/test_bonsai.py | bonspy/tests/test_bonsai.py | # -*- coding: utf-8 -*-
from __future__ import (
print_function, division, generators,
absolute_import, unicode_literals
)
from collections import deque
from bonspy import BonsaiTree
def test_switch_header(graph):
tree = BonsaiTree(graph)
text = tree.bonsai.replace('\t', '').split('\n')
switch... | Python | 0.000001 | @@ -5167,12 +5167,169 @@
ew_sublist)%0A
+%0A%0Adef test_segment_order(graph):%0A tree = BonsaiTree(graph)%0A%0A assert 'if segment%5B12345%5D' in tree.bonsai%0A assert 'elif segment%5B67890%5D' in tree.bonsai%0A
|
b3ebf1637f75d9d5ee225404e3a4fb70be258ad5 | Fix flake8 fail | onadata/libs/tests/utils/test_csv_import.py | onadata/libs/tests/utils/test_csv_import.py | import mock
import os
import re
from cStringIO import StringIO
from django.conf import settings
from onadata.libs.utils import csv_import
from onadata.apps.logger.models import XForm
from onadata.apps.logger.models import Instance
from onadata.apps.main.tests.test_base import TestBase
def strip_xml_uuid(s):
retur... | Python | 0.000001 | @@ -4997,33 +4997,32 @@
non_utf8
-_
csv = open(os.pa
@@ -5179,33 +5179,32 @@
.xform, non_utf8
-_
csv)%0A sel
|
cf0396dcf2a6eaac8a75ce5edc0552ad5a50b487 | update docstring argument name | matchzoo/datapack.py | matchzoo/datapack.py | """Matchzoo DataPack, pair-wise tuple (feature) and context as input."""
import typing
from pathlib import Path
import dill
import pandas as pd
class DataPack(object):
"""
Matchzoo DataPack data structure, store dataframe and context.
Example:
>>> # features, context generate by processors.
... | Python | 0.000001 | @@ -2171,20 +2171,24 @@
ram
-new_datapack
+overwite_context
: Al
|
12c0afc0a5b1f8b8cd328c4c4047ab9bcc656a7f | Change default filter to localpool | kegra/train.py | kegra/train.py | from __future__ import print_function
from keras.layers import Input, Dropout
from keras.models import Model
from keras.optimizers import Adam
from keras.regularizers import l2
from kegra.layers.graph import GraphConvolution, GraphInput
from kegra.utils import *
import time
# Define parameters
DATASET = 'cora'
FILT... | Python | 0.000001 | @@ -319,25 +319,25 @@
LTER = '
-chebyshev
+localpool
' # 'ch
|
791667dc4cd197d9877db30031a129c4a838e1e3 | Fix python 3.x compatibility for data preprocessing | kegra/utils.py | kegra/utils.py | from __future__ import print_function
import scipy.sparse as sp
import numpy as np
from scipy.sparse.linalg.eigen.arpack import eigsh, ArpackNoConvergence
def encode_onehot(labels):
classes = set(labels)
classes_dict = {c: np.identity(len(classes))[i, :] for i, c in enumerate(classes)}
labels_onehot = np... | Python | 0.000266 | @@ -316,24 +316,29 @@
= np.array(
+list(
map(classes_
@@ -354,16 +354,17 @@
labels)
+)
, dtype=
@@ -587,28 +587,31 @@
labels = np.
-load
+genfrom
txt(%22%7B%7D%7B%7D.co
@@ -947,20 +947,23 @@
ed = np.
-load
+genfrom
txt(%22%7B%7D%7B
@@ -1031,16 +1031,21 @@
p.array(
+list(
map(idx_
@@ -1079,16 +1079,17 @@
at... |
338e8003ca22b1f1ca139af23e7956ea71d7da0f | fix bad last accessed conditional | openedx/features/course_experience/utils.py | openedx/features/course_experience/utils.py | """
Common utilities for the course experience, including course outline.
"""
from lms.djangoapps.completion.models import BlockCompletion
from lms.djangoapps.completion.waffle import visual_progress_enabled
from lms.djangoapps.course_api.blocks.api import get_blocks
from lms.djangoapps.course_blocks.utils import get_s... | Python | 0 | @@ -4258,32 +4258,45 @@
et('children'):%0A
+%3C%3C%3C%3C%3C%3C%3C HEAD%0A
bloc
@@ -4324,78 +4324,304 @@
rue%0A
- if last_accessed_child_position %3C= len(block%5B'children'%5D):
+=======%0A block%5B'last_accessed'%5D = True%0A%3C%3C%3C%3C%3C%3C%3C HEAD%0A%3E%3E%3E%3E%3E%3E%3E fix ba... |
bb3605bd99892bed37ecb2b6371d2bc88d599e1a | Include "OpenStack" string in the user agent | caso/__init__.py | caso/__init__.py | # -*- coding: utf-8 -*-
# Copyright 2014 Spanish National Research Council (CSIC)
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | Python | 0.001074 | @@ -735,16 +735,28 @@
%22caso/%25s
+ (OpenStack)
%22 %25 __ve
|
2dfd5d9d353f83379f72a6182017518c3961f135 | Test `get` returns `AnonymousUserMixin` else | tests/model/test_wu.py | tests/model/test_wu.py | from itertools import permutations
from unittest import TestCase
from unittest.mock import MagicMock, patch
from flask.ext.login import AnonymousUserMixin
from sipa.model.wu.user import User, UserDB
class UserTestCase(TestCase):
userdb_mock = MagicMock()
def setUp(self):
self.userdb_mock.reset_mock... | Python | 0.000001 | @@ -3017,16 +3017,316 @@
_user)%0A%0A
+ def test_get_constructor_returns_anonymous(self):%0A with patch('sipa.model.wu.user.LdapConnector') as LdapConnectorMock:%0A LdapConnectorMock.fetch_user.return_value = None%0A user = User.authenticate(%22foo%22, %22bar%22)%0A self.assertIs... |
9bc822e4e602682ae4ee8cf782436898e54c1761 | fix typo | marina_web.py | marina_web.py | from flask import Flask, jsonify, request
import settings, traceback, getopt, sys, os
import repositories
import github
app = Flask(__name__)
api_base = "/api/v1"
@app.route(api_base + '/repos/', methods=['GET'])
def list_repositories():
repository_list = repositories.load_repository_list()
return jsonify(... | Python | 0.999991 | @@ -1025,24 +1025,25 @@
t.get_json()
+)
%0A return
|
20e4ef8b4f717a4dae43c6eff16a88ec48ec0066 | Remove unused code | src/redmill/models/item.py | src/redmill/models/item.py | # This file is part of Redmill.
#
# Redmill is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Redmill is distributed in the ho... | Python | 0.000006 | @@ -750,262 +750,8 @@
se%0A%0A
-class Status(sqlalchemy.types.TypeDecorator):%0A%0A impl = sqlalchemy.types.String%0A%0A def process_bind_param(self, value, dialect):%0A return json.dumps(value)%0A%0A def process_result_value(self, value, dialect):%0A return json.loads(value)%0A%0A%0A
clas
|
fa48bf16d975b5149871901a567dd6ec5c1bc56f | Fix inspector.get_config | inspectors.py | inspectors.py | """
Copyright (c) 2017 Red Hat, Inc
All rights reserved.
This software may be modified and distributed under the terms
of the BSD license. See the LICENSE file for details.
"""
from __future__ import unicode_literals
from __future__ import print_function
def get_config(self, module):
self.log.info('get_config o... | Python | 0.000002 | @@ -390,21 +390,20 @@
elf.work
-space
+flow
).cluste
@@ -462,13 +462,12 @@
work
-space
+flow
).co
|
89289493b64d27d6fbd93ee9c3765baa34b70e71 | Fix a problem in the way the force option was handled | ipcoutries.py | ipcoutries.py | #!/usr/bin/env python2.7
import csv
import gzip
import ipaddr
import os
import requests
import time
import zipfile
from collections import namedtuple
from optparse import OptionParser
__author__ = "Fred C - @0x9900 - http://github.com/0x9900"
__version__ = '0.1.2'
__decription__ = """Load the file `GeoIPCountryWho... | Python | 0.021784 | @@ -4948,16 +4948,72 @@
-force%22,
+ action=%22store_true%22, default=False,%0A
dest=%22f
|
b3906039d283db22412380d9cc61874f7a5b86b1 | Fix missing brackets in speaker.py testing code | client/speaker.py | client/speaker.py | # -*- coding: utf-8-*-
"""
A Speaker handles audio output from Jasper to the user
Speaker methods:
say - output 'phrase' as speech
play - play the audio in 'filename'
is_available - returns True if the platform supports this implementation
"""
import os
import platform
import re
import sys
import tempfile
... | Python | 0.003578 | @@ -7432,16 +7432,18 @@
vailable
+()
:%0A
|
d04e8ce6f71a16cdef2436e921957109b30627d7 | Handle duplicate subscriptions on reconnection | bugzilla2fedmsg/consumer.py | bugzilla2fedmsg/consumer.py | """ STOMP consumer that listens to BZ and reproduces to Fedora Messaging.
Authors: Aurelien Bompard <abompard@fedoraproject.org>
"""
import json
import logging
import ssl
from fedora_messaging.config import conf
from stompest.config import StompConfig
from stompest.protocol import StompSpec
from stompest.sync impor... | Python | 0 | @@ -321,16 +321,62 @@
t Stomp%0A
+from stompest.error import StompProtocolError%0A
%0A%0ALOGGER
@@ -1738,16 +1738,33 @@
%7D%0A
+ try:%0A
@@ -1802,32 +1802,143 @@
_name, headers)%0A
+ except StompProtocolError:%0A # Already subscribed, probably a reconnection.%0A ... |
3638afa1381b6fa38b0d235f5d0453355d720748 | Add is_data_changed to export list (#193) | charms/reactive/helpers.py | charms/reactive/helpers.py | # Copyright 2014-2015 Canonical Limited.
#
# This file is part of charm-helpers.
#
# charm-helpers is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3 as
# published by the Free Software Foundation.
#
# charm-helpers is distributed in the hope ... | Python | 0 | @@ -1088,16 +1088,39 @@
anged',%0A
+ 'is_data_changed',%0A
'any
|
c5d5b67ddd70d67519df6412431cdf9eed1ace25 | Fix exception in repository index retrieval | kraken/repo.py | kraken/repo.py | # -*- coding: utf-8 -*-
#
# Copyright 2015 Benjamin Kiessling
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | Python | 0.000053 | @@ -4686,23 +4686,8 @@
nts%5B
-0%5D%5D%5Bcomponents%5B
1%5D%5D%0A
|
d1846f44b285006a9724ae83d0deb790aa7228bd | Fix osx database address | lib/fathead/apple_docs_macos/parse.py | lib/fathead/apple_docs_macos/parse.py | # Introduction:
# -------------
# This is used to open an SQLite database that's installed on your computer to create a Fathead output
# that's specified in http://docs.duckduckhack.com/resources/fathead-overview.html
#
# Page Structure:
# ---------------
# There is no page structure here because we're essentially scra... | Python | 0.000003 | @@ -931,41 +931,49 @@
= %22/
-home/sahildua2305/appledocs_macos
+Applications/Xcode.app/Contents/Developer
/Doc
@@ -981,14 +981,18 @@
ment
-s
+ation
/Doc
-s
+S
ets/
|
04835246a9a67a60dccb72b869bca172394a0252 | fix issue https://github.com/biokit/biokit/issues/26 | biokit/rtools/session.py | biokit/rtools/session.py | # -*- python -*-
#
# This file is part of biokit software
#
# Copyright (c) 2014
#
# File author(s): Thomas Cokelaer <cokelaer@ebi.ac.uk>
#
# Distributed under the GPLv3 License.
# See accompanying file LICENSE.txt or copy at
# http://www.gnu.org/licenses/gpl-3.0.html
#
# website: https://github.com/biokit
#... | Python | 0.000001 | @@ -1410,17 +1410,16 @@
%22%22%22%0A%0A
-%0A
def
@@ -3655,16 +3655,17 @@
tr(self.
+_
DEBUG_MO
|
45968d8075ac419f0651a41981e75f58d70411cf | add random_subset() | numpy_utilities.py | numpy_utilities.py | import numpy as np
import unittest
def almost_equal(a, b, tolerance, verbose=False):
return almostEqual(a, b, tolerance, verbose)
def almostEqual(a, b, tolerance, verbose=False):
'''Check if |a - b| < tolerance.'''
diff = np.linalg.norm(a - b, 2)
ok = diff < tolerance
if verbose and not ok:
... | Python | 0.000003 | @@ -1,38 +1,611 @@
-import numpy as np%0Aimport unittest
+'''utility functions that take numpy array's as arguments'''%0Aimport numpy as np%0Aimport unittest%0A%0A%0Adef random_subset(matrix, n):%0A '''pick a random subset without replacement of size n form the matrix'''%0A selected = np.random.choice(matrix.shap... |
b988a19583d7153f71a15d34f83f63ba7004fe68 | Improve my_menu.py. It's not looking terrible. | lib/my_menu.py | lib/my_menu.py | import pygame
pygame.init()
if not pygame.display.get_init():
pygame.display.init()
if not pygame.font.get_init():
pygame.font.init()
class Menu(object):
FONT = pygame.font.Font('../coders_crux.ttf', 32)
def __init__(self, screen, items, font=FONT):
self.items = it... | Python | 0 | @@ -227,24 +227,82 @@
', 32)%0D%0A
+SPACE = 10%0D%0A UP = pygame.K_UP%0D%0A DOWN = pygame.K_DOWN
%0D%0A %0D%0A
@@ -344,24 +344,54 @@
ont=FONT):%0D%0A
+ self.screen = screen%0D%0A
self
@@ -504,19 +504,144 @@
elf.
-draw(screen
+initial_repeat = pygame.key.get_repeat()%0D%0A pri... |
aba6fadf2ac4064a3ec7fdac05ea1b00a9591627 | add defensive unicode | nyctext/adparse.py | nyctext/adparse.py | """
Usage:
adparse --file=<infile> [--trace]
adparse [--trace] [--geo] <text>
Options:
-h --help Show this screen.
--version Show version.
--file=<infile> Input file.
--trace Print trace statement
--geo Return Geolocation attributes [default: False]
"""
from do... | Python | 0.021241 | @@ -825,16 +825,42 @@
= line.
+encode('ascii', 'ignore').
strip()%0A
|
27f1b4b20ef77b507fce4db6dd326f98fd7105d5 | correct the import of the PlaceHolderClass to get the object from the right place. Otherwise it will not compare the currently processed node correctly with the isinstance function | pages/utils.py | pages/utils.py | # -*- coding: utf-8 -*-
from django.template import loader, Context, RequestContext, TemplateDoesNotExist
from django.template.loader_tags import ExtendsNode
from django.http import Http404
from django.shortcuts import render_to_response
from django.template import RequestContext
from django.db.models import signals
fr... | Python | 0 | @@ -1362,30 +1362,29 @@
ce%0A from
-django
+pages
.templatetag
|
9e8baaf13fff766e25f4af2c874f22b197c928b6 | Update lib/routing.py | lib/routing.py | lib/routing.py | """
Queries routing and caching.
Exports:
get_topics_list()
get_answers()
"""
import random
import re
from typing import Any, Dict, List
import cache
import adapter.cheat_sheets
import adapter.cmd
import adapter.internal
import adapter.latenz
import adapter.learnxiny
import adapter.question
import adapter.r... | Python | 0 | @@ -3738,17 +3738,17 @@
query%60 i
-f
+s
a :rand
|
dfdee071b4ab22fa077ac0b2cdf7d2d5af60f1f0 | Fix callback in get_graphs | libs/webbox/webserver/handlers/box.py | libs/webbox/webserver/handlers/box.py | # This file is part of WebBox.
#
# Copyright 2011-2012 Daniel Alexander Smith
# Copyright 2011-2012 University of Southampton
#
# WebBox is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | Python | 0.000002 | @@ -1984,16 +1984,30 @@
_graphs(
+).addCallback(
callback
|
1f04078cc536fffb15f27c093fe2aa7d5122b083 | rename the git checkou test to indicate a new repo | tests/rgitrepo_test.py | tests/rgitrepo_test.py | #
# Copyright (c) 2009 Wireless Generation, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, ... | Python | 0.234274 | @@ -2610,15 +2610,16 @@
out_
-verbose
+new_repo
(sel
|
1a7c21994ffb39b42a664848f370f8d4091ea65d | fix deprecation in bitcoin-util-test.py | test/util/bitcoin-util-test.py | test/util/bitcoin-util-test.py | #!/usr/bin/env python3
# Copyright 2014 BitPay Inc.
# Copyright 2016-2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test framework for bitcoin utils.
Runs automatically during `make check`.
Ca... | Python | 0.99998 | @@ -724,10 +724,13 @@
read
-fp
+_file
(ope
|
ffa31e55c8444b5203a0308910cf315765add708 | add working methods, except remove | linked_list.py | linked_list.py | class LinkedList(object):
def __init__(self, iterable=None):
if iterable is None:
self.head_node = Node(None, None)
else:
pass
def insert(self, val):
"""Insert a new value at the head of the list."""
self.head_node = Node(val, self.head_node)
def pop... | Python | 0.000006 | @@ -62,41 +62,8 @@
e):%0A
- if iterable is None:%0A
@@ -112,30 +112,119 @@
-else:%0A pass
+if iterable is not None:%0A for n in range(0, len(iterable)):%0A self.insert(iterable%5Bn%5D)
%0A%0A
@@ -449,276 +449,1283 @@
-pass%0A%0A def size(self):%0A... |
1acf3ac3a90764899a616e44baf0fa5b7dac44c2 | Fix batch test | tests/integration/cli/batch.py | tests/integration/cli/batch.py | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Nicole Thomas <nicole@saltstack.com>`
'''
# Import Salt Libs
import integration
# Import Salt Testing Libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
class BatchTest(integration.ShellCase):
'''
Integration tests for the... | Python | 0.000012 | @@ -894,24 +894,46 @@
-self.assertEqual
+ret = sorted(ret)%0A cmd = sorted
(sel
@@ -990,15 +990,57 @@
0%25')
-, ret)%0A
+)%0A self.assertListEqual(cmd, ret)%0A
%0A%0Aif
|
ebf5e05acfb7f1edce0c0987576ee712f3fdea54 | Fix tests to use pytest | test/scripts/test_sequana_coverage.py | test/scripts/test_sequana_coverage.py | from sequana.scripts import coverage
from nose.plugins.attrib import attr
from sequana import sequana_data
#@attr("skip")
class TestPipeline(object):
@classmethod
def setup_class(klass):
"""This method is run once for each class before any tests are run"""
klass.prog = "sequana_coverage"
... | Python | 0.000001 | @@ -39,461 +39,117 @@
rom
-nose.plugins.attrib import attr%0Afrom sequana import sequana_data%0A%0A#@attr(%22skip%22)%0Aclass TestPipeline(object):%0A%0A @classmethod%0A def setup_class(klass):%0A %22%22%22This method is run once for each class before any tests are run%22%22%22%0A klass.prog = %22... |
dfb2c5df69d852caa77ea3e8efea0e4a2d137b37 | Parsing the dataset of parks | src/core/parser.py | src/core/parser.py | import re
import xml.etree.ElementTree as ET
def parse_region_data(file_name):
# [{'region' : id, 'border' : [[x1, y1], [x2, y2], ..]}]
regions = []
with open(file_name, 'r') as f:
f.readline()
for line in f:
# Skipping total immigrants & town columns
lexemes = filter... | Python | 0.999999 | @@ -38,16 +38,70 @@
e as ET%0A
+import numpy as np%0Aimport matplotlib.path as mplPath%0A%0A
def pars
@@ -753,8 +753,753 @@
regions%0A
+%0Adef parse_park_data(file_name):%0A parks = %5B%5D%0A with open(file_name, 'r') as f:%0A f.readline()%0A for line in f:%0A columns = line.split(';')... |
49dd6467e7f7be348af9bd30083ebb4589cdd05f | Fix handling newer version of SymPy | lcapy/units.py | lcapy/units.py | """This module provides the Units class for simplification of units.
It should be rolled into SymPy. It can perform simplification of
units, e.g., volts / amperes -> ohms.
Copyright 2020--2021 Michael Hayes, UCECE
"""
import sympy.physics.units as u
from sympy.physics.units.systems.si import dimsys_SI
from sympy.ph... | Python | 0 | @@ -415,16 +415,46 @@
import S
+, __version__ as sympy_version
%0A%0A%0AdB =
@@ -1426,24 +1426,25 @@
s(unit)%0A
+%0A
try:%0A
@@ -1435,19 +1435,42 @@
-try
+if sympy_version %3E= '1.11'
:%0A
@@ -1599,69 +1599,12 @@
e
-xcept AttributeError:%0A # Fall back for older SymPy
+... |
dc43f79c5a31fba32d398ea82f0e1d8f83842dea | fix duplicates in --list-all-tests | testcases/OpTestInbandUsbInterface.py | testcases/OpTestInbandUsbInterface.py | #!/usr/bin/env python3
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: op-test-framework/testcases/OpTestInbandUsbInterface.py $
#
# OpenPOWER Automated Test Project
#
# Contributors Listed Below - COPYRIGHT 2015
# [+] International Business Machines Corp.
#
#
# Licensed under the Apach... | Python | 0.00708 | @@ -1521,189 +1521,47 @@
ate%0A
-from testcases.OpTestInbandIPMI import BasicInbandIPMI, OpTestInbandIPMI, ExperimentalInbandIPMI%0Afrom testcases.OpTestInbandIPMI import SkirootBasicInbandIPMI, SkirootFullInbandIPMI
+import testcases.OpTestInbandIPMI as ib
%0A%0A%0Ad
@@ -1979,16 +1979,19 @@
bandUSB(
+ib.
BasicInb
... |
44351a71e3a96b5471d8a514be77c0637056c758 | update command-line tests | tests/test_cmdlines.py | tests/test_cmdlines.py | #!/usr/bin/env python
"""Tests for pyani package command-line generation
These tests are intended to be run using the nose package
(see https://nose.readthedocs.org/en/latest/), from the repository root
directory.
"""
from nose.tools import assert_equal
from pyani import anim
# Test ANIm command-lines
# One pairw... | Python | 0.000001 | @@ -605,32 +605,170 @@
e1.fna file2.fna
+; delta-filter -1 %22 +%0A %22./nucmer_output/file1_vs_file2.delta %3E %22 +%0A %22./nucmer_output/file1_vs_file2.filter
%22)%0A print(cmd
@@ -1122,24 +1122,160 @@
na file2.fna
+; delta-filter -1 %22 +%0A %22./nucmer_output/f... |
ab758913e3419254939443fcaadf1949fb41c67a | add new label-based GreedyTagger | pyannote/algorithms/tagging/label.py | pyannote/algorithms/tagging/label.py | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2012-2016 CNRS
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limita... | Python | 0.000003 | @@ -1609,16 +1609,30 @@
axMapper
+, GreedyMapper
%0A%0A%0Aclass
@@ -3658,24 +3658,777 @@
_(mapper)%0A%0A%0A
+class GreedyTagger(LabelTagger):%0A %22%22%22Label tagging based on the Greedy label mapping algorithm.%0A%0A Relies on the Greedy mapping algorithm to find the optimal one-to-one%0A mapping between ... |
1984ed2b1bf91137280582558437d8a507d88b14 | Fix in TBTestSuite to call TBTestCase | tbtaf/executor/TBTestSuite.py | tbtaf/executor/TBTestSuite.py | from TBTAFTrace import *
from TBTestCase import *
class TBTestSuite:
''' getSuiteResult() --- addTestCase(TBTestCase) --- getTestCases():TBTestCase[] --- getSuiteTrace():TBTAFTrace[] '''
def getSuiteResult(self):
return "This is a result"
def addTestCase(self,TBTestCase):
return "T... | Python | 0 | @@ -374,119 +374,67 @@
-'''This should return a TBTestCase%5B%5D, but I don't have the class yet'''%0A return %22An array of TBTestCase%22
+result = %5BTBTestCase(), TBTestCase()%5D%0A return result
%0A
|
26d1d6de4e75766fe1e543ee3af2d6016c087e5b | Update tests | tests/test_dartlint.py | tests/test_dartlint.py | import unittest
import sublime
from Dart.dartlint import is_dart_script
from Dart.dartlint import is_view_dart_script
from Dart.dartlint import extension_equals
from Dart.dartlint import view_extension_equals
class Test_is_dart_script(unittest.TestCase):
def testSucceedsIfDartScript(self):
self.assertTr... | Python | 0.000001 | @@ -1,23 +1,22 @@
import
-unittest
+sublime
%0A%0Aimport
@@ -16,23 +16,24 @@
%0Aimport
-sublime
+unittest
%0A%0Afrom D
@@ -32,32 +32,32 @@
%0A%0Afrom Dart.
-dartlint
+lib.path
import is_d
@@ -73,32 +73,32 @@
t%0Afrom Dart.
-dartlint
+lib.path
import is_v
@@ -119,32 +119,32 @@
t%0Afrom Dart.
-dartlint
+lib.... |
773f1332ee4458cce5d5e0be25fb350ffebdc4f0 | Fix import earliness for auth model | channels/auth.py | channels/auth.py | import functools
from django.contrib import auth
from django.contrib.auth.models import AnonymousUser
from .sessions import channel_session, http_session
def transfer_user(from_session, to_session):
"""
Transfers user from HTTP session to channel session.
"""
if auth.BACKEND_SESSION_KEY in from_sess... | Python | 0 | @@ -46,61 +46,8 @@
auth
-%0Afrom django.contrib.auth.models import AnonymousUser
%0A%0Afr
@@ -1127,32 +1127,175 @@
ession is None:%0A
+ # Inner import to avoid reaching into models before load complete%0A from django.contrib.auth.models import AnonymousUser%0A
mess
|
3a9c455715f64890be8a31967c4e226725041373 | introduce a query function wrapper | pynodegl-utils/pynodegl_utils/com.py | pynodegl-utils/pynodegl_utils/com.py | #
# Copyright 2018 GoPro Inc.
#
# 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 copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 ... | Python | 0 | @@ -1005,16 +1005,707 @@
acker%0A%0A%0A
+def _wrap_query(func):%0A%0A def wrapped_func(pkg, *args, **kwargs):%0A module_is_script = pkg.endswith('.py')%0A%0A # Start tracking the imported modules and opened files%0A rtracker = ResourceTracker()%0A rtracker.start_hooking()%0A%0A od... |
a8ae0606615f8e899ccbaf5f14f95eace4b27ba0 | Make sure QT_LOGGING_TO_CONSOLE is defined | pyqode/python/widgets/interactive.py | pyqode/python/widgets/interactive.py | """
This module contains the Interactive python console, for running python
programs.
"""
from pyqode.qt import QtCore, QtGui, QtWidgets
from pyqode.core.widgets import InteractiveConsole
class PyInteractiveConsole(InteractiveConsole):
"""
Extends the InteractiveConcole to highlight python traceback. If the u... | Python | 0.000001 | @@ -1640,16 +1640,110 @@
%5D = '1'%0A
+ if 'QT_LOGGING_TO_CONSOLE' not in env:%0A env%5B'QT_LOGGING_TO_CONSOLE'%5D = '1'%0A
|
3111b67b6bb7ffba3a42dc996b43467adee5e86c | fix test case to also support Python 2.6 | tests/test_generate.py | tests/test_generate.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_generate
--------------
Tests for `cookiecutter.generate` module.
"""
from __future__ import unicode_literals
import logging
import os
import shutil
import sys
import unittest
from jinja2 import FileSystemLoader
from jinja2.environment import Environment
from ji... | Python | 0.000002 | @@ -1422,81 +1422,310 @@
-self.assertRaisesRegexp(%0A TemplateSyntaxError,%0A r'%5E
+try:%0A generate.generate_files(%0A context=%7B'syntax_error': 'syntax_error'%7D,%0A template_dir='tests/input%7B%7Bsyntax_error%7D%7D'%0A )%0A exce... |
2b5c186337bcb396f630c0b86938e43eb06d3e5b | Add test checking only for imports | tests/test_i10knobs.py | tests/test_i10knobs.py | from pkg_resources import require
require("cothread")
require("mock")
import unittest
import mock
import sys
# Mock out catools as it requires EPICS binaries at import
sys.modules['cothread.catools'] = mock.MagicMock()
import cothread
import sys
import os
from PyQt4 import QtGui
sys.path.append(os.path.join(os.path.d... | Python | 0 | @@ -403,16 +403,57 @@
ase):%0A%0A%0A
+ def test_import(self):%0A pass%0A%0A
def
|
b0c9ee341736eea7bc4d6802bb49c79a31cadb20 | Update test_nn_utils.py | tests/test_nn_utils.py | tests/test_nn_utils.py | import numpy as np
import pytest
import tensorflow as tf
from py._path import local
from dshin import nn
class BNOnly(nn.utils.NNModel):
def _model(self):
out = nn.ops.batch_norm(self['input'], is_trainable=True, is_local=True)
self._loss = tf.reduce_mean((out - self['target']) ** 2, name='loss')... | Python | 0.000004 | @@ -50,16 +50,36 @@
w as tf%0A
+from os import path%0A
from py.
|
5aebf5d414449984384b5f52e708aa5141656ecd | fix indentaion | tests/test_outbound.py | tests/test_outbound.py | from interfax.files import File
from interfax.outbound import Outbound
from interfax.response import Image, OutboundFax
try:
from unittest.mock import Mock
except ImportError:
from mock import Mock
class TestOutbound(object):
def setup_method(self, method):
self.client = Mock()
self.outb... | Python | 0.000119 | @@ -2943,24 +2943,16 @@
'ids'%5D%0A%0A
-
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.