text stringlengths 0 1.05M | meta dict |
|---|---|
# All rights reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/neutron-lib",
"path": "neutron_lib/api/definitions/extra_dhcp_opt.py",
"copies": "1",
"size": "4755",
"license": "apache-2.0",
"hash": 8831076805822953000,
"line_mean": 35.5769230769,
"line_max": 78,
"alpha_frac": 0.6790746583,
"autogenerated": false,
"ratio": 3.797923322... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "cloudbase/neutron",
"path": "neutron/services/trunk/rules.py",
"copies": "3",
"size": "10815",
"license": "apache-2.0",
"hash": -5459270957701423000,
"line_mean": 43.3237704918,
"line_max": 79,
"alpha_frac": 0.6314378178,
"autogenerated": false,
"ratio": 4.09503975766755,
"config... |
# All rights reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/neutron-lib",
"path": "neutron_lib/api/definitions/flavors.py",
"copies": "1",
"size": "6221",
"license": "apache-2.0",
"hash": -774745707376817300,
"line_mean": 47.2248062016,
"line_max": 78,
"alpha_frac": 0.4647162836,
"autogenerated": false,
"ratio": 4.2090663058186735... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "mahak/neutron",
"path": "neutron/services/l3_router/service_providers/driver_controller.py",
"copies": "2",
"size": "14323",
"license": "apache-2.0",
"hash": 6340038595787609000,
"line_mean": 45.8071895425,
"line_max": 79,
"alpha_frac": 0.6109055365,
"autogenerated": false,
"ratio"... |
# All rights reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/neutron-lib",
"path": "neutron_lib/exceptions/agent.py",
"copies": "1",
"size": "1097",
"license": "apache-2.0",
"hash": 4682509973397057000,
"line_mean": 35.5666666667,
"line_max": 78,
"alpha_frac": 0.7046490428,
"autogenerated": false,
"ratio": 4.047970479704797,
"con... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "igor-toga/local-snat",
"path": "neutron/services/l3_router/service_providers/driver_controller.py",
"copies": "1",
"size": "11526",
"license": "apache-2.0",
"hash": 8267877433914586000,
"line_mean": 44.3779527559,
"line_max": 79,
"alpha_frac": 0.6219850772,
"autogenerated": false,
... |
# All Rights Reserved
#
# 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 applicable law or agreed to in ... | {
"repo_name": "stackforge/tricircle",
"path": "tricircle/tests/network_sdk/v2/_proxy.py",
"copies": "1",
"size": "3572",
"license": "apache-2.0",
"hash": -6192819410576997000,
"line_mean": 35.4489795918,
"line_max": 78,
"alpha_frac": 0.6690929451,
"autogenerated": false,
"ratio": 3.51921182266009... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/os-brick",
"path": "os_brick/initiator/connectors/local.py",
"copies": "1",
"size": "2919",
"license": "apache-2.0",
"hash": 2294070311911569400,
"line_mean": 35.9493670886,
"line_max": 79,
"alpha_frac": 0.6358341898,
"autogenerated": false,
"ratio": 4.60410094637224,
"... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "gluke77/rally",
"path": "rally/plugins/openstack/context/glance/images.py",
"copies": "5",
"size": "5358",
"license": "apache-2.0",
"hash": 1852387126220089900,
"line_mean": 37.8260869565,
"line_max": 78,
"alpha_frac": 0.5462859276,
"autogenerated": false,
"ratio": 4.25238095238095... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "yeming233/rally",
"path": "rally/plugins/openstack/services/storage/block.py",
"copies": "1",
"size": "17489",
"license": "apache-2.0",
"hash": -1683127262000868600,
"line_mean": 38.6575963719,
"line_max": 80,
"alpha_frac": 0.6314826462,
"autogenerated": false,
"ratio": 4.293886570... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, softw... | {
"repo_name": "eayunstack/neutron",
"path": "neutron/pecan_wsgi/hooks/userfilters.py",
"copies": "5",
"size": "1791",
"license": "apache-2.0",
"hash": 904983897933084400,
"line_mean": 32.7924528302,
"line_max": 75,
"alpha_frac": 0.6320491346,
"autogenerated": false,
"ratio": 4.368292682926829,
... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "vponomaryov/rally",
"path": "rally/plugins/openstack/scenarios/ceilometer/utils.py",
"copies": "1",
"size": "9012",
"license": "apache-2.0",
"hash": -4475614461734561300,
"line_mean": 37.8448275862,
"line_max": 78,
"alpha_frac": 0.6303817133,
"autogenerated": false,
"ratio": 4.3078... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "varunarya10/rally",
"path": "rally/benchmark/scenarios/ec2/servers.py",
"copies": "2",
"size": "1615",
"license": "apache-2.0",
"hash": 7095562656100654000,
"line_mean": 35.7045454545,
"line_max": 75,
"alpha_frac": 0.7294117647,
"autogenerated": false,
"ratio": 4.098984771573604,
... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "vponomaryov/rally",
"path": "rally/plugins/openstack/context/quotas/neutron_quotas.py",
"copies": "3",
"size": "1992",
"license": "apache-2.0",
"hash": 5448351872551479000,
"line_mean": 28.2941176471,
"line_max": 78,
"alpha_frac": 0.5135542169,
"autogenerated": false,
"ratio": 4.41... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "amit0701/rally",
"path": "rally/plugins/openstack/scenarios/ec2/servers.py",
"copies": "1",
"size": "1966",
"license": "apache-2.0",
"hash": -4851321669202765000,
"line_mean": 34.7454545455,
"line_max": 75,
"alpha_frac": 0.7136317396,
"autogenerated": false,
"ratio": 4.130252100840... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "yeming233/rally",
"path": "rally/plugins/openstack/services/identity/keystone_v3.py",
"copies": "1",
"size": "14485",
"license": "apache-2.0",
"hash": 1784757120397807000,
"line_mean": 41.6029411765,
"line_max": 79,
"alpha_frac": 0.6,
"autogenerated": false,
"ratio": 4.170745752951... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "vganapath/rally",
"path": "rally/plugins/openstack/scenarios/ec2/servers.py",
"copies": "3",
"size": "1895",
"license": "apache-2.0",
"hash": -4357293118544458000,
"line_mean": 36.1568627451,
"line_max": 75,
"alpha_frac": 0.7018469657,
"autogenerated": false,
"ratio": 4.13755458515... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "yeming233/rally",
"path": "rally/plugins/openstack/scenarios/monasca/metrics.py",
"copies": "1",
"size": "1329",
"license": "apache-2.0",
"hash": -7596638258384724000,
"line_mean": 35.9166666667,
"line_max": 78,
"alpha_frac": 0.7185854026,
"autogenerated": false,
"ratio": 4.0272727... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writi... | {
"repo_name": "openstack/tacker",
"path": "tacker/tests/unit/nfvo/drivers/workflow/test_workflow_generator.py",
"copies": "1",
"size": "19658",
"license": "apache-2.0",
"hash": 6226684754930727000,
"line_mean": 47.7791563275,
"line_max": 79,
"alpha_frac": 0.3827958083,
"autogenerated": false,
"ra... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "CiscoSystems/tempest",
"path": "tempest/api/image/v2/test_images_tags.py",
"copies": "4",
"size": "1462",
"license": "apache-2.0",
"hash": -7385422591357195000,
"line_mean": 36.4871794872,
"line_max": 75,
"alpha_frac": 0.670998632,
"autogenerated": false,
"ratio": 3.919571045576407... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "Juniper/tempest",
"path": "tempest/api/volume/admin/test_qos.py",
"copies": "5",
"size": "6562",
"license": "apache-2.0",
"hash": -6047613392399180000,
"line_mean": 40.2704402516,
"line_max": 78,
"alpha_frac": 0.6110941786,
"autogenerated": false,
"ratio": 3.661830357142857,
"con... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "eggmaster/tempest",
"path": "tempest/api/image/v2/test_images_tags.py",
"copies": "2",
"size": "1502",
"license": "apache-2.0",
"hash": 8282386362508411000,
"line_mean": 36.55,
"line_max": 75,
"alpha_frac": 0.6764314248,
"autogenerated": false,
"ratio": 3.80253164556962,
"config_... |
# All rights reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/neutron-lib",
"path": "neutron_lib/tests/unit/services/qos/test_base.py",
"copies": "1",
"size": "3161",
"license": "apache-2.0",
"hash": -4512112298698193400,
"line_mean": 35.7558139535,
"line_max": 78,
"alpha_frac": 0.6289149003,
"autogenerated": false,
"ratio": 3.92183... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/neutron",
"path": "neutron/tests/unit/services/l3_router/service_providers/test_driver_controller.py",
"copies": "2",
"size": "12414",
"license": "apache-2.0",
"hash": -4246947605663743000,
"line_mean": 49.2591093117,
"line_max": 78,
"alpha_frac": 0.5809569841,
"autogenerat... |
# All Rights Reserved
#
# 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 applicable law or agreed to in ... | {
"repo_name": "stackforge/tricircle",
"path": "tricircle/tempestplugin/task_runner.py",
"copies": "1",
"size": "19578",
"license": "apache-2.0",
"hash": 8764798303787939000,
"line_mean": 40.9229122056,
"line_max": 79,
"alpha_frac": 0.4931555828,
"autogenerated": false,
"ratio": 4.249620143260256,... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/rally",
"path": "tests/unit/plugins/task/exporters/elastic/test_exporter.py",
"copies": "1",
"size": "20745",
"license": "apache-2.0",
"hash": -7113831106247617000,
"line_mean": 39.2815533981,
"line_max": 79,
"alpha_frac": 0.4803567125,
"autogenerated": false,
"ratio": 3.... |
# All rights reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/neutron-lib",
"path": "neutron_lib/api/definitions/subnet_segmentid_writable.py",
"copies": "1",
"size": "2583",
"license": "apache-2.0",
"hash": -3217354405545578500,
"line_mean": 30.8888888889,
"line_max": 78,
"alpha_frac": 0.7448703058,
"autogenerated": false,
"ratio":... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "igor-toga/local-snat",
"path": "neutron/services/trunk/plugin.py",
"copies": "1",
"size": "18820",
"license": "apache-2.0",
"hash": 4622704024288901000,
"line_mean": 45.0146699267,
"line_max": 79,
"alpha_frac": 0.6023379384,
"autogenerated": false,
"ratio": 4.482019528459157,
"co... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "group-policy/rally",
"path": "tests/unit/plugins/openstack/context/ceilometer/test_samples.py",
"copies": "1",
"size": "6456",
"license": "apache-2.0",
"hash": 2631951093707958000,
"line_mean": 40.1210191083,
"line_max": 78,
"alpha_frac": 0.5309789343,
"autogenerated": false,
"rati... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "paboldin/rally",
"path": "tests/unit/plugins/openstack/scenarios/ceilometer/test_utils.py",
"copies": "1",
"size": "13812",
"license": "apache-2.0",
"hash": -336743745842342460,
"line_mean": 46.9583333333,
"line_max": 79,
"alpha_frac": 0.5836229366,
"autogenerated": false,
"ratio":... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "vganapath/rally",
"path": "tests/unit/plugins/openstack/scenarios/monasca/test_metrics.py",
"copies": "2",
"size": "1137",
"license": "apache-2.0",
"hash": -2549956793733399600,
"line_mean": 31.4857142857,
"line_max": 75,
"alpha_frac": 0.7238346526,
"autogenerated": false,
"ratio":... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "yeming233/rally",
"path": "tests/unit/plugins/openstack/services/image/test_image.py",
"copies": "1",
"size": "4663",
"license": "apache-2.0",
"hash": -2592085340009756000,
"line_mean": 40.2654867257,
"line_max": 78,
"alpha_frac": 0.624276217,
"autogenerated": false,
"ratio": 3.892... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "gluke77/rally",
"path": "tests/unit/plugins/openstack/scenarios/monasca/test_utils.py",
"copies": "4",
"size": "1773",
"license": "apache-2.0",
"hash": -2623253264387317000,
"line_mean": 33.7647058824,
"line_max": 78,
"alpha_frac": 0.6407219402,
"autogenerated": false,
"ratio": 3.9... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "umago/pixiebot",
"path": "pixiebot/log.py",
"copies": "1",
"size": "1600",
"license": "apache-2.0",
"hash": -7733280411306027000,
"line_mean": 28.0909090909,
"line_max": 78,
"alpha_frac": 0.615625,
"autogenerated": false,
"ratio": 4.18848167539267,
"config_test": false,
"has_no... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "pandeyop/rally",
"path": "tests/unit/benchmark/context/sahara/test_sahara_cluster.py",
"copies": "2",
"size": "5312",
"license": "apache-2.0",
"hash": 3806425754344365600,
"line_mean": 35.1360544218,
"line_max": 79,
"alpha_frac": 0.5606174699,
"autogenerated": false,
"ratio": 4.009... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "yeming233/rally",
"path": "tests/unit/plugins/openstack/services/storage/test_cinder_v1.py",
"copies": "1",
"size": "15980",
"license": "apache-2.0",
"hash": 5436814135956243000,
"line_mean": 44.014084507,
"line_max": 78,
"alpha_frac": 0.6107634543,
"autogenerated": false,
"ratio":... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "varuntiwari27/rally",
"path": "tests/unit/plugins/openstack/context/monasca/test_metrics.py",
"copies": "4",
"size": "3936",
"license": "apache-2.0",
"hash": -3054166805852852700,
"line_mean": 38.36,
"line_max": 76,
"alpha_frac": 0.5505589431,
"autogenerated": false,
"ratio": 4.282... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "sasukeh/neutron",
"path": "neutron/tests/unit/api/rpc/handlers/test_securitygroups_rpc.py",
"copies": "39",
"size": "2417",
"license": "apache-2.0",
"hash": 4242682656836666000,
"line_mean": 39.9661016949,
"line_max": 79,
"alpha_frac": 0.65866777,
"autogenerated": false,
"ratio": 4... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "pandeyop/rally",
"path": "tests/unit/benchmark/context/sahara/test_sahara_edp.py",
"copies": "2",
"size": "4688",
"license": "apache-2.0",
"hash": -5845531631222526000,
"line_mean": 36.2063492063,
"line_max": 78,
"alpha_frac": 0.5407423208,
"autogenerated": false,
"ratio": 3.855263... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "amit0701/rally",
"path": "tests/unit/plugins/openstack/context/test_fuel.py",
"copies": "1",
"size": "4168",
"license": "apache-2.0",
"hash": -5473221961595771000,
"line_mean": 37.5925925926,
"line_max": 78,
"alpha_frac": 0.5899712092,
"autogenerated": false,
"ratio": 3.89532710280... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "yeming233/rally",
"path": "tests/unit/plugins/openstack/context/sahara/test_sahara_image.py",
"copies": "1",
"size": "6755",
"license": "apache-2.0",
"hash": -823893245456700900,
"line_mean": 35.7119565217,
"line_max": 78,
"alpha_frac": 0.5643227239,
"autogenerated": false,
"ratio"... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "yeming233/rally",
"path": "tests/unit/plugins/openstack/scenarios/ceilometer/test_events.py",
"copies": "1",
"size": "3763",
"license": "apache-2.0",
"hash": 4287212602965468000,
"line_mean": 35.5339805825,
"line_max": 79,
"alpha_frac": 0.6874833909,
"autogenerated": false,
"ratio"... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "yeming233/rally",
"path": "tests/unit/plugins/openstack/context/cinder/test_volume_types.py",
"copies": "1",
"size": "2601",
"license": "apache-2.0",
"hash": 5458098941993561000,
"line_mean": 39.0153846154,
"line_max": 75,
"alpha_frac": 0.6324490581,
"autogenerated": false,
"ratio"... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "gluke77/rally",
"path": "tests/unit/plugins/openstack/context/quotas/test_cinder_quotas.py",
"copies": "3",
"size": "1954",
"license": "apache-2.0",
"hash": 3398495095937224700,
"line_mean": 36.5769230769,
"line_max": 78,
"alpha_frac": 0.6632548618,
"autogenerated": false,
"ratio":... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "go-bears/rally",
"path": "tests/unit/plugins/openstack/context/sahara/test_sahara_edp.py",
"copies": "5",
"size": "4633",
"license": "apache-2.0",
"hash": -7455143277367836000,
"line_mean": 36.3629032258,
"line_max": 78,
"alpha_frac": 0.5385279517,
"autogenerated": false,
"ratio": ... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "vganapath/rally",
"path": "tests/unit/plugins/openstack/scenarios/ceilometer/test_alarms.py",
"copies": "1",
"size": "4256",
"license": "apache-2.0",
"hash": 792654294713155200,
"line_mean": 46.2888888889,
"line_max": 78,
"alpha_frac": 0.6007988722,
"autogenerated": false,
"ratio":... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "cernops/rally",
"path": "tests/unit/plugins/openstack/scenarios/ec2/test_servers.py",
"copies": "15",
"size": "1232",
"license": "apache-2.0",
"hash": -8110911692364720000,
"line_mean": 35.2352941176,
"line_max": 75,
"alpha_frac": 0.7167207792,
"autogenerated": false,
"ratio": 3.93... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "varuntiwari27/rally",
"path": "tests/unit/plugins/openstack/scenarios/fuel/test_environments.py",
"copies": "15",
"size": "2068",
"license": "apache-2.0",
"hash": 8308210262706891000,
"line_mean": 40.36,
"line_max": 78,
"alpha_frac": 0.6968085106,
"autogenerated": false,
"ratio": 4... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, softw... | {
"repo_name": "openstack/manila",
"path": "manila/image/__init__.py",
"copies": "1",
"size": "1110",
"license": "apache-2.0",
"hash": -5156024766018677000,
"line_mean": 32.6363636364,
"line_max": 75,
"alpha_frac": 0.6837837838,
"autogenerated": false,
"ratio": 3.92226148409894,
"config_test": f... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "jiahaoliang/group-based-policy",
"path": "gbpservice/nfp/configurator/drivers/loadbalancer/v2/haproxy/octavia_lib/i18n.py",
"copies": "1",
"size": "1077",
"license": "apache-2.0",
"hash": -6006630586266421000,
"line_mean": 34.9,
"line_max": 78,
"alpha_frac": 0.7298050139,
"autogenera... |
# All rights reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/neutron-lib",
"path": "neutron_lib/worker.py",
"copies": "1",
"size": "3933",
"license": "apache-2.0",
"hash": 6729065527950240000,
"line_mean": 34.4324324324,
"line_max": 78,
"alpha_frac": 0.6392067124,
"autogenerated": false,
"ratio": 4.439051918735892,
"config_test":... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "digambar15/openstack-iot",
"path": "iot/db/sqlalchemy/migration.py",
"copies": "1",
"size": "3301",
"license": "apache-2.0",
"hash": 8501516520742854000,
"line_mean": 29.5648148148,
"line_max": 78,
"alpha_frac": 0.6825204483,
"autogenerated": false,
"ratio": 4.178481012658228,
"c... |
# All Rights Reserved
#
# 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 applicable law or agreed to in ... | {
"repo_name": "stackforge/tricircle",
"path": "tricircle/tempestplugin/run_yaml_test.py",
"copies": "1",
"size": "1046",
"license": "apache-2.0",
"hash": -736675134300420200,
"line_mean": 35.0689655172,
"line_max": 79,
"alpha_frac": 0.6759082218,
"autogenerated": false,
"ratio": 3.776173285198556... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/rally",
"path": "rally/utils/encodeutils.py",
"copies": "1",
"size": "3532",
"license": "apache-2.0",
"hash": -5537004377910715000,
"line_mean": 36.5744680851,
"line_max": 79,
"alpha_frac": 0.6758210646,
"autogenerated": false,
"ratio": 4.29683698296837,
"config_test": ... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, softw... | {
"repo_name": "HybridF5/jacket",
"path": "jacket/tests/compute/unit/virt/test_events.py",
"copies": "1",
"size": "1198",
"license": "apache-2.0",
"hash": -5788919400979332000,
"line_mean": 32.2777777778,
"line_max": 75,
"alpha_frac": 0.6719532554,
"autogenerated": false,
"ratio": 3.61933534743202... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/dragonflow",
"path": "dragonflow/db/pubsub_drivers/redis_db_pubsub_driver.py",
"copies": "1",
"size": "9188",
"license": "apache-2.0",
"hash": -5339377367661682000,
"line_mean": 36.3495934959,
"line_max": 78,
"alpha_frac": 0.5218763605,
"autogenerated": false,
"ratio": 4.... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "BeenzSyed/tempest",
"path": "tempest/api/image/v2/test_images_tags_negative.py",
"copies": "2",
"size": "1717",
"license": "apache-2.0",
"hash": -5589552480926593000,
"line_mean": 38.0227272727,
"line_max": 76,
"alpha_frac": 0.6447291788,
"autogenerated": false,
"ratio": 4.12740384... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "zhimin711/nova",
"path": "nova/tests/unit/api/openstack/compute/test_shelve.py",
"copies": "1",
"size": "7325",
"license": "apache-2.0",
"hash": 1978921237611982300,
"line_mean": 41.5872093023,
"line_max": 78,
"alpha_frac": 0.6460068259,
"autogenerated": false,
"ratio": 3.703235591... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "yeming233/rally",
"path": "rally/plugins/openstack/scenarios/ec2/utils.py",
"copies": "1",
"size": "2407",
"license": "apache-2.0",
"hash": 9104565299464126000,
"line_mean": 33.884057971,
"line_max": 77,
"alpha_frac": 0.6705442459,
"autogenerated": false,
"ratio": 4.215411558669002... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/designate",
"path": "designate/common/policies/tsigkey.py",
"copies": "1",
"size": "3815",
"license": "apache-2.0",
"hash": -3160115602031640000,
"line_mean": 28.3461538462,
"line_max": 78,
"alpha_frac": 0.6136304063,
"autogenerated": false,
"ratio": 3.788480635551142,
... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "vponomaryov/rally",
"path": "rally/plugins/openstack/context/existing_users.py",
"copies": "1",
"size": "2614",
"license": "apache-2.0",
"hash": -8003209098813009000,
"line_mean": 36.3428571429,
"line_max": 79,
"alpha_frac": 0.6526396327,
"autogenerated": false,
"ratio": 4.09717868... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/manila",
"path": "manila/tests/image/test_image.py",
"copies": "1",
"size": "3963",
"license": "apache-2.0",
"hash": 5426399547327903000,
"line_mean": 29.7209302326,
"line_max": 78,
"alpha_frac": 0.6076204895,
"autogenerated": false,
"ratio": 3.8701171875,
"config_test"... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, softw... | {
"repo_name": "openstack/manila",
"path": "manila/image/glance.py",
"copies": "1",
"size": "2098",
"license": "apache-2.0",
"hash": 3191799396880021500,
"line_mean": 29.8529411765,
"line_max": 75,
"alpha_frac": 0.6897044805,
"autogenerated": false,
"ratio": 3.835466179159049,
"config_test": fal... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/os-brick",
"path": "os_brick/initiator/initiator_connector.py",
"copies": "1",
"size": "8262",
"license": "apache-2.0",
"hash": 7836207841179509000,
"line_mean": 36.7260273973,
"line_max": 79,
"alpha_frac": 0.6107480029,
"autogenerated": false,
"ratio": 4.504907306434024,... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in writing, software
#... | {
"repo_name": "aplanas/rally",
"path": "tests/unit/plugins/openstack/context/glance/test_images.py",
"copies": "9",
"size": "4605",
"license": "apache-2.0",
"hash": -7774013809796684000,
"line_mean": 31.8928571429,
"line_max": 75,
"alpha_frac": 0.5094462541,
"autogenerated": false,
"ratio": 4.263... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "szaher/freezer-api",
"path": "freezer_api/db/elasticsearch/es_manager.py",
"copies": "1",
"size": "8266",
"license": "apache-2.0",
"hash": 4851870462815226000,
"line_mean": 34.7835497835,
"line_max": 79,
"alpha_frac": 0.5488749093,
"autogenerated": false,
"ratio": 4.509547190398254... |
# All Rights Reserved
#
# 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 applicable law or agreed to in ... | {
"repo_name": "eayunstack/python-neutronclient",
"path": "neutronclient/tests/unit/test_cli20_network.py",
"copies": "1",
"size": "29788",
"license": "apache-2.0",
"hash": -4329214387494925000,
"line_mean": 43.1958456973,
"line_max": 79,
"alpha_frac": 0.5399489727,
"autogenerated": false,
"ratio"... |
# All rights reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "noironetworks/neutron",
"path": "neutron/tests/unit/services/revisions/test_revision_plugin.py",
"copies": "2",
"size": "13243",
"license": "apache-2.0",
"hash": -8037806034904401000,
"line_mean": 48.4141791045,
"line_max": 79,
"alpha_frac": 0.5516121725,
"autogenerated": false,
"r... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "varuntiwari27/rally",
"path": "rally/plugins/openstack/scenarios/fuel/utils.py",
"copies": "4",
"size": "6978",
"license": "apache-2.0",
"hash": 137909582732891580,
"line_mean": 34.7846153846,
"line_max": 78,
"alpha_frac": 0.5815419891,
"autogenerated": false,
"ratio": 4.1834532374... |
# All Rights Reserved
#
# 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 applicable law or agreed to in ... | {
"repo_name": "vijayendrabvs/ssl-python-neutronclient",
"path": "neutronclient/tests/unit/test_cli20_network.py",
"copies": "1",
"size": "23050",
"license": "apache-2.0",
"hash": 3938712530012139000,
"line_mean": 42.3270676692,
"line_max": 78,
"alpha_frac": 0.5393058568,
"autogenerated": false,
"... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "bacaldwell/ironic",
"path": "ironic_tempest_plugin/common/waiters.py",
"copies": "2",
"size": "1847",
"license": "apache-2.0",
"hash": -8582019581826489000,
"line_mean": 37.4791666667,
"line_max": 78,
"alpha_frac": 0.608012994,
"autogenerated": false,
"ratio": 4.006507592190889,
... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "umago/pixiebot",
"path": "pixiebot/failgraph.py",
"copies": "1",
"size": "3840",
"license": "apache-2.0",
"hash": -1769610849889258000,
"line_mean": 32.6842105263,
"line_max": 78,
"alpha_frac": 0.5927083333,
"autogenerated": false,
"ratio": 3.7317784256559765,
"config_test": fals... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/neutron-lib",
"path": "neutron_lib/services/trunk/constants.py",
"copies": "1",
"size": "3933",
"license": "apache-2.0",
"hash": 4317747906461339000,
"line_mean": 48.1625,
"line_max": 79,
"alpha_frac": 0.7658276125,
"autogenerated": false,
"ratio": 4.005091649694501,
"c... |
# All Rights Reserved
#
# 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 applicable law or agreed to in ... | {
"repo_name": "CiscoSystems/python-quantumclient",
"path": "tests/unit/test_cli20_network.py",
"copies": "1",
"size": "23095",
"license": "apache-2.0",
"hash": 2230391426569028600,
"line_mean": 42.330206379,
"line_max": 78,
"alpha_frac": 0.5397272137,
"autogenerated": false,
"ratio": 3.7675367047... |
# All Rights Reserved.
#
# 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 applicable law or agreed to in... | {
"repo_name": "openstack/neutron-lib",
"path": "neutron_lib/plugins/constants.py",
"copies": "1",
"size": "1179",
"license": "apache-2.0",
"hash": 8570611612400072000,
"line_mean": 34.7272727273,
"line_max": 78,
"alpha_frac": 0.7311280746,
"autogenerated": false,
"ratio": 3.2659279778393353,
"c... |
# All Rights Reserved.
#
#
# 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 applicable law or agreed to ... | {
"repo_name": "wolverineav/neutron",
"path": "neutron/tests/common/conn_testers.py",
"copies": "3",
"size": "14917",
"license": "apache-2.0",
"hash": -3876978145615188500,
"line_mean": 36.5743073048,
"line_max": 79,
"alpha_frac": 0.5981095395,
"autogenerated": false,
"ratio": 4.24622829490464,
... |
# All Rights Reserved.
#
# 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 applicable law or agreed to i... | {
"repo_name": "mahak/neutron",
"path": "neutron/tests/functional/services/trunk/drivers/openvswitch/agent/test_trunk_manager.py",
"copies": "2",
"size": "10994",
"license": "apache-2.0",
"hash": 6042485247185596000,
"line_mean": 43.1526104418,
"line_max": 79,
"alpha_frac": 0.6213389121,
"autogenera... |
# All Rights Reserved.
#
#
# 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 applicable law or agreed to ... | {
"repo_name": "stackforge/tacker",
"path": "tacker/vnfm/monitor_drivers/zabbix/zabbix.py",
"copies": "2",
"size": "17844",
"license": "apache-2.0",
"hash": 5478007716620718000,
"line_mean": 41.8942307692,
"line_max": 79,
"alpha_frac": 0.4844205335,
"autogenerated": false,
"ratio": 4.1086806355054... |
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# ... | {
"repo_name": "dokipen/trac-announcer-plugin",
"path": "announcer/email_decorators/generic.py",
"copies": "1",
"size": "6206",
"license": "bsd-3-clause",
"hash": 5889891073603105000,
"line_mean": 43.9710144928,
"line_max": 80,
"alpha_frac": 0.6720915243,
"autogenerated": false,
"ratio": 4.3398601... |
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * ... | {
"repo_name": "mohammadkrb/Fittak",
"path": "KeyLogger.py",
"copies": "1",
"size": "6753",
"license": "mit",
"hash": 2092507869730315000,
"line_mean": 27.982832618,
"line_max": 100,
"alpha_frac": 0.5690804087,
"autogenerated": false,
"ratio": 3.533751962323391,
"config_test": false,
"has_no_k... |
# All rights reserved.
#
# This source code is licensed under the license found in the LICENSE file in
# the root directory of this source tree. An additional grant of patent rights
# can be found in the PATENTS file in the same directory.
import math
from argparse import Namespace
from dataclasses import dataclass, f... | {
"repo_name": "pytorch/fairseq",
"path": "fairseq/criterions/ctc.py",
"copies": "1",
"size": "11065",
"license": "mit",
"hash": -1170510497513276200,
"line_mean": 36.5084745763,
"line_max": 104,
"alpha_frac": 0.5282422052,
"autogenerated": false,
"ratio": 3.9560243117626026,
"config_test": fals... |
# All rights reserved
# Work extracted from webob.org website
# thttp://docs.webob.org/en/latest/do-it-yourself.html
import re
import sys
from webob import Request, Response
from webob import exc
import eventlet
from eventlet import wsgi
# \{ (\w+)(?::([^}]+))?\}
var_regex = re.compile(r'''
\{ # The exa... | {
"repo_name": "MarouenMechtri/CNG-Manager",
"path": "pyocni/pyocni_tools/DoItYourselfWebOb.py",
"copies": "3",
"size": "6121",
"license": "apache-2.0",
"hash": -8115954046624756000,
"line_mean": 27.4697674419,
"line_max": 94,
"alpha_frac": 0.5123345859,
"autogenerated": false,
"ratio": 4.17530695... |
# All rights reserved.
#
# 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 applicable law or agre... | {
"repo_name": "openstack/neutron-lib",
"path": "neutron_lib/api/definitions/ecmp_routes.py",
"copies": "1",
"size": "1065",
"license": "apache-2.0",
"hash": 1641086717633579500,
"line_mean": 36.0357142857,
"line_max": 78,
"alpha_frac": 0.696713615,
"autogenerated": false,
"ratio": 3.5618729096989... |
# All Rights Reserved.
#
# 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 applicable law or agre... | {
"repo_name": "samsu/networking-fortinet",
"path": "networking_fortinet/_i18n.py",
"copies": "1",
"size": "1409",
"license": "apache-2.0",
"hash": -8115641292244537000,
"line_mean": 31.5476190476,
"line_max": 78,
"alpha_frac": 0.7139815472,
"autogenerated": false,
"ratio": 3.5225,
"config_test"... |
__all__ = ['RigidBody']
from sympy import sympify
from sympy.physics.mechanics.point import Point
from sympy.physics.mechanics.essential import ReferenceFrame, Dyadic
class RigidBody(object):
"""An idealized rigid body.
This is essentially a container which holds the various components which
describe a r... | {
"repo_name": "flacjacket/sympy",
"path": "sympy/physics/mechanics/rigidbody.py",
"copies": "2",
"size": "8518",
"license": "bsd-3-clause",
"hash": -4834051523300184000,
"line_mean": 29.4214285714,
"line_max": 87,
"alpha_frac": 0.5606949988,
"autogenerated": false,
"ratio": 3.7018687527162104,
... |
__all__ = ['RigidBody']
from sympy import sympify
from sympy.physics.mechanics.point import Point
from sympy.physics.mechanics.essential import ReferenceFrame, Dyadic
class RigidBody(object):
"""An idealized rigid body.
This is essentially a container which holds the various components which
describe a ... | {
"repo_name": "amitjamadagni/sympy",
"path": "sympy/physics/mechanics/rigidbody.py",
"copies": "2",
"size": "8519",
"license": "bsd-3-clause",
"hash": -3983425850745994000,
"line_mean": 29.3167259786,
"line_max": 87,
"alpha_frac": 0.5606291818,
"autogenerated": false,
"ratio": 3.702303346371143,
... |
__all__ = ['rig_lib', 'node_registry', 'settings', 'vendor', 'exception']
import exception
import settings
import node_registry
import vendor.cgLogging as logger
LOG = logger.cgLogging.getLogger(__name__, level=logger.cgLogging.INFO, shell=False)
registry = node_registry.Registry()
register_node = registry.register_... | {
"repo_name": "AndresMWeber/komodo",
"path": "rigger/__init__.py",
"copies": "1",
"size": "1109",
"license": "mit",
"hash": 8975450444167380000,
"line_mean": 29.8333333333,
"line_max": 84,
"alpha_frac": 0.7565374211,
"autogenerated": false,
"ratio": 3.4228395061728394,
"config_test": false,
"... |
__all__ = (
####### Class Objects
#CoGetClassObject - Normal, not wrapped
'CoDllGetClassObject', #Get ClassObject from a DLL file
####### ClassFactory::CreateInstance Wrappers
'CoCreateInstanceFromFactory', #Create an object via IClassFactory::CreateInstance
'CoCreateInstanceFromFact... | {
"repo_name": "xbcsmith/frell",
"path": "test/win32_get_object.py",
"copies": "1",
"size": "6150",
"license": "apache-2.0",
"hash": 3178155196268830700,
"line_mean": 38.7417218543,
"line_max": 172,
"alpha_frac": 0.6655284553,
"autogenerated": false,
"ratio": 3.324324324324324,
"config_test": fa... |
__all__ = (
'Column', 'TextColumn', 'NumberColumn',
)
class Column(object):
"""Represents a single column of a table.
``verbose_name`` defines a display name for this column used for output.
``name`` is the internal name of the column. Normally you don't need to
specify this, as the att... | {
"repo_name": "jqb/django-tables",
"path": "django_tables/columns.py",
"copies": "1",
"size": "3276",
"license": "bsd-2-clause",
"hash": 1749462832732015900,
"line_mean": 39.4683544304,
"line_max": 80,
"alpha_frac": 0.6572039072,
"autogenerated": false,
"ratio": 4.556328233657858,
"config_test"... |
__all__ = [
'HTML5TreeBuilder',
]
import warnings
from bs4.builder import (
PERMISSIVE,
HTML,
HTML_5,
HTMLTreeBuilder,
)
from bs4.element import NamespacedAttribute
import html5lib
from html5lib.constants import namespaces
from bs4.element import (
Comment,
Doctype,
... | {
"repo_name": "hentaiPanda/bgm_tenkou",
"path": "bs4/builder/_html5lib.py",
"copies": "1",
"size": "10912",
"license": "mit",
"hash": 1574100160440551000,
"line_mean": 36.2877192982,
"line_max": 159,
"alpha_frac": 0.6052052786,
"autogenerated": false,
"ratio": 4.33704292527822,
"config_test": f... |
__all__ = [
'ImproperlyConfigured', 'ElasticsearchException', 'SerializationError',
'TransportError', 'NotFoundError', 'ConflictError', 'RequestError', 'ConnectionError',
'SSLError', 'ConnectionTimeout'
]
class ImproperlyConfigured(Exception):
"""
Exception raised when the config passed to ... | {
"repo_name": "pogaku9/aws-datalake-quickstart-looker-isv-integration",
"path": "scripts/lambdas/writetoES/elasticsearch/exceptions.py",
"copies": "1",
"size": "3236",
"license": "apache-2.0",
"hash": 323567427144964100,
"line_mean": 27.6880733945,
"line_max": 90,
"alpha_frac": 0.6276266996,
"autog... |
__all__ = [
'LXMLTreeBuilderForXML',
'LXMLTreeBuilder',
]
from io import BytesIO
from io import StringIO
import collections
from lxml import etree
from bs4.element import Comment, Doctype, NamespacedAttribute
from bs4.builder import (
FAST,
HTML,
HTMLTreeBuilder,
PERMISSIVE,
... | {
"repo_name": "hentaiPanda/bgm_tenkou",
"path": "bs4/builder/_lxml.py",
"copies": "1",
"size": "8896",
"license": "mit",
"hash": -3668046826124392400,
"line_mean": 36.1802575107,
"line_max": 85,
"alpha_frac": 0.5948741007,
"autogenerated": false,
"ratio": 4.310077519379845,
"config_test": false... |
__all__ = [
"utils",
"album", "albumbrowse", "artist", "artistbrowse",
"image", "inbox", "link", "localtrack",
"playlist", "playlistcontainer", "search",
"session", "toplistbrowse", "track", "user",
]
import _spotify
import threading
from spotify.utils.decorators import synchronized
... | {
"repo_name": "mazkolain/pyspotify-ctypes",
"path": "src/spotify/__init__.py",
"copies": "1",
"size": "6824",
"license": "bsd-3-clause",
"hash": -2044616974678083600,
"line_mean": 19.9421221865,
"line_max": 78,
"alpha_frac": 0.5496776084,
"autogenerated": false,
"ratio": 4.289126335637963,
"con... |
"""All route definitions for the beardo control server
"""
# third-party imports
from nacelle.core.routes import MultiPrefixRoute
from webapp2 import Route
from webapp2_extras.routes import RedirectRoute
ROUTES = [
# Dashboard routes
MultiPrefixRoute(
handler_pfx='app.handlers.template.dashboard.',
... | {
"repo_name": "paddycarey/beardo-control",
"path": "app/app/routes.py",
"copies": "1",
"size": "2613",
"license": "mit",
"hash": 1081390550391589000,
"line_mean": 36.8695652174,
"line_max": 132,
"alpha_frac": 0.6215078454,
"autogenerated": false,
"ratio": 3.569672131147541,
"config_test": false... |
"""All routes for rendered views goes here."""
from urlparse import urljoin
from PIL import Image, ImageOps
from passlib.hash import bcrypt
from unidecode import unidecode
from flask import (render_template, redirect, request, url_for, flash, session,
abort, g)
from flask.ext.login import (login_use... | {
"repo_name": "ecclesianuernberg/genesis",
"path": "app/views.py",
"copies": "1",
"size": "28509",
"license": "mit",
"hash": 7822432479122565000,
"line_mean": 33.0202863962,
"line_max": 79,
"alpha_frac": 0.5316215932,
"autogenerated": false,
"ratio": 4.119202427394885,
"config_test": false,
"... |
"""All routes regarding an user."""
from flask import jsonify, g
from webargs.flaskparser import use_args
from server import user_bp
from server.extensions import db
from server.helpers.decorators import login_exempt
from server.responses import created, conflict
from server.models.user import User
from server.schema... | {
"repo_name": "Nukesor/spacesurvival",
"path": "server/api/user.py",
"copies": "1",
"size": "1342",
"license": "mit",
"hash": 3841675618763774000,
"line_mean": 25.84,
"line_max": 59,
"alpha_frac": 0.6691505216,
"autogenerated": false,
"ratio": 3.790960451977401,
"config_test": false,
"has_no_... |
"""All routes regarding authentication."""
from datetime import datetime
from flask import jsonify
from sqlalchemy import or_
from webargs.flaskparser import use_args
from server import user_bp
from server.extensions import db
from server.models import User
from server.responses import bad_request
from server.schemas... | {
"repo_name": "Nukesor/spacesurvival",
"path": "server/api/auth.py",
"copies": "1",
"size": "1458",
"license": "mit",
"hash": -4216928518591554000,
"line_mean": 28.7551020408,
"line_max": 77,
"alpha_frac": 0.7146776406,
"autogenerated": false,
"ratio": 4.095505617977528,
"config_test": false,
... |
"""All routes regarding queues."""
from flask import g
from server import user_bp
from server.extensions import db
from server.responses import ok, bad_request
from server.schemas.queue import QueueSchema
from server.models import Pod, QueueEntry, Queue
@user_bp.route('/api/pod/<uuid:pod_id>/queue', methods=['GET'])... | {
"repo_name": "Nukesor/spacesurvival",
"path": "server/api/queue.py",
"copies": "1",
"size": "1242",
"license": "mit",
"hash": 1901580822291149600,
"line_mean": 29.2926829268,
"line_max": 88,
"alpha_frac": 0.6610305958,
"autogenerated": false,
"ratio": 3.4214876033057853,
"config_test": false,
... |
"""All ROX applications that can save documents should use drag-and-drop saving.
The document itself should use the Saveable mix-in class and override some of the
methods to actually do the save.
If you want to save a selection then you can create a new object specially for
the purpose and pass that to the SaveBox."""... | {
"repo_name": "leuschel/logen",
"path": "old_logen/pylogen/rox/saving.py",
"copies": "1",
"size": "18900",
"license": "apache-2.0",
"hash": -6616033883264404000,
"line_mean": 29.8319738989,
"line_max": 100,
"alpha_frac": 0.6806349206,
"autogenerated": false,
"ratio": 3.075170842824601,
"config_... |
__all__ = ['_run_eidos_on_text', 'process_text_bio',
'process_json_bio', 'process_json_bio_entities',
'process_text_bio_entities', 'eidos_reader',
'initialize_reader']
import json
import logging
from indra.sources.eidos import client as eidos_client
from .bio_processor import EidosBioP... | {
"repo_name": "johnbachman/indra",
"path": "indra/sources/eidos/api.py",
"copies": "3",
"size": "5226",
"license": "bsd-2-clause",
"hash": -57365963110904650,
"line_mean": 31.6625,
"line_max": 76,
"alpha_frac": 0.6553769613,
"autogenerated": false,
"ratio": 3.9441509433962265,
"config_test": fa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.