hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d211f9f70b797554c340157b8758a3ad51e66320 | 170 | py | Python | movement_assistant/models.py | davidwickerhf/movement-assistant | 570380adf440faa36993ab8f52e386584a90fec8 | [
"MIT"
] | 3 | 2020-06-11T13:06:21.000Z | 2020-06-11T21:35:41.000Z | movement_assistant/models.py | davidwickerhf/movement-assistant | 570380adf440faa36993ab8f52e386584a90fec8 | [
"MIT"
] | 25 | 2020-04-29T16:44:05.000Z | 2020-06-11T08:18:47.000Z | movement_assistant/models.py | davidwickerhf/fff-transparency-wg | 570380adf440faa36993ab8f52e386584a90fec8 | [
"MIT"
] | 1 | 2020-12-23T09:33:05.000Z | 2020-12-23T09:33:05.000Z | from movement_assistant.bots.telebot.activate import is_subgroup, parent_group, purpose
from movement_assistant import db
# https://www.youtube.com/watch?v=juPQ04_twtA
| 34 | 87 | 0.835294 | 25 | 170 | 5.48 | 0.84 | 0.175182 | 0.306569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.082353 | 170 | 4 | 88 | 42.5 | 0.865385 | 0.252941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d22b24091bfb015dc2acb000ca344d333973f210 | 30 | py | Python | root_utils/bmn/__init__.py | t3hseus/ariadne | b4471a37741000e22281c4d6ff647d65ab9e1914 | [
"MIT"
] | 6 | 2020-08-28T22:44:07.000Z | 2022-01-24T20:53:00.000Z | root_utils/bmn/__init__.py | t3hseus/ariadne | b4471a37741000e22281c4d6ff647d65ab9e1914 | [
"MIT"
] | 1 | 2021-02-20T09:38:46.000Z | 2021-02-20T09:38:46.000Z | root_utils/bmn/__init__.py | t3hseus/ariadne | b4471a37741000e22281c4d6ff647d65ab9e1914 | [
"MIT"
] | 2 | 2021-10-04T09:25:06.000Z | 2022-02-09T09:09:09.000Z | from .utils import root2pandas | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2508d5673ef1a39ce332c042c87a8ac7aadb0e4 | 32 | py | Python | kernelml/hdre/__init__.py | Freedomtowin/kernel_optimizer | 2676044e0f287cd8dda8f9f92a6d3813544965e4 | [
"MIT"
] | 9 | 2019-10-03T18:02:29.000Z | 2021-08-09T09:30:33.000Z | hdre/hdre_bycython/__init__.py | freedomtowin/high-density-region-estimator | a9c4d30c32d8f6ce16d2bc0712bdcc588124ed61 | [
"MIT"
] | 1 | 2019-12-11T09:46:09.000Z | 2021-06-17T00:45:16.000Z | hdre/hdre_bycython/__init__.py | freedomtowin/high-density-region-estimator | a9c4d30c32d8f6ce16d2bc0712bdcc588124ed61 | [
"MIT"
] | 3 | 2020-04-18T10:41:56.000Z | 2021-06-17T02:06:14.000Z | from .region_estimator import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d26ae3d61cbcd3e5ef2685ce9712c2114b3a9da8 | 14,662 | py | Python | api/api.py | mcass19/moving_features_grupo8 | fad76c6c71506977f2a56d5a3432ed1832515493 | [
"Apache-2.0"
] | null | null | null | api/api.py | mcass19/moving_features_grupo8 | fad76c6c71506977f2a56d5a3432ed1832515493 | [
"Apache-2.0"
] | null | null | null | api/api.py | mcass19/moving_features_grupo8 | fad76c6c71506977f2a56d5a3432ed1832515493 | [
"Apache-2.0"
] | null | null | null | import flask
# import psycopg2
# from postgis.psycopg import register
# from mobilitydb.psycopg import register
from flask_cors import CORS
app = flask.Flask(__name__)
CORS(app)
app.config["DEBUG"] = True
@app.route('/', methods=['GET'])
def home():
connectionObject = None
try:
# IMPORTANT !!!!!!!!!!... | 266.581818 | 12,929 | 0.827718 | 1,630 | 14,662 | 7.43865 | 0.897546 | 0.001979 | 0.003464 | 0.004124 | 0.003134 | 0.003134 | 0 | 0 | 0 | 0 | 0 | 0.727517 | 0.033829 | 14,662 | 55 | 12,930 | 266.581818 | 0.128406 | 0.073864 | 0 | 0 | 0 | 0.0625 | 0.87703 | 0.860127 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.25 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d273ab7aaa63fdb4d56fc5f96393a1fcef993aff | 438 | py | Python | project/mainapp/permissions.py | Gustutu/django-auth-project | 587308f4afa9eea0b901ccbcd05a0c7348020e83 | [
"Apache-2.0"
] | null | null | null | project/mainapp/permissions.py | Gustutu/django-auth-project | 587308f4afa9eea0b901ccbcd05a0c7348020e83 | [
"Apache-2.0"
] | null | null | null | project/mainapp/permissions.py | Gustutu/django-auth-project | 587308f4afa9eea0b901ccbcd05a0c7348020e83 | [
"Apache-2.0"
] | null | null | null | from rest_framework import permissions
class GerantPermission(permissions.BasePermission):
message = 'not allowed.'
def has_permission(self, request, view):
return request.user.has_perm("mainapp.gerant_default_new")
class AgentPermission(permissions.BasePermission):
message = 'not allowed'
... | 24.333333 | 66 | 0.746575 | 50 | 438 | 6.36 | 0.54 | 0.157233 | 0.201258 | 0.220126 | 0.654088 | 0.654088 | 0.654088 | 0.654088 | 0.654088 | 0.654088 | 0 | 0 | 0.164384 | 438 | 17 | 67 | 25.764706 | 0.868852 | 0 | 0 | 0.2 | 0 | 0 | 0.16895 | 0.116438 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.1 | 0.1 | 0.2 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
967a97722e79cdc0eef42b8c3a7594d457dcec7c | 263 | py | Python | multilens/ext/db/commands.py | uesleicarvalhoo/Multilens | 677cf00c07e9b4ce7a5d3efd7be04b6d13dd09b8 | [
"MIT"
] | null | null | null | multilens/ext/db/commands.py | uesleicarvalhoo/Multilens | 677cf00c07e9b4ce7a5d3efd7be04b6d13dd09b8 | [
"MIT"
] | null | null | null | multilens/ext/db/commands.py | uesleicarvalhoo/Multilens | 677cf00c07e9b4ce7a5d3efd7be04b6d13dd09b8 | [
"MIT"
] | 1 | 2020-11-02T23:30:02.000Z | 2020-11-02T23:30:02.000Z | from werkzeug.security import check_password_hash
from multilens.ext.db import db
from multilens.ext.db.models import User
def create_db():
"""Cria o banco de dados"""
db.create_all()
def drop_db():
"""Limpa o banco de dados"""
db.drop_all()
| 17.533333 | 49 | 0.69962 | 42 | 263 | 4.238095 | 0.52381 | 0.146067 | 0.179775 | 0.202247 | 0.168539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186312 | 263 | 14 | 50 | 18.785714 | 0.831776 | 0.1673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0.142857 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
967c6c264768cdc95dbab668b460607c9d6ce2b9 | 83 | py | Python | codigo/Live102/app.py | cassiasamp/live-de-python | 00b5e51793097544ba9b75c97a0d30e63970bf45 | [
"MIT"
] | 572 | 2018-04-03T03:17:08.000Z | 2022-03-31T19:05:32.000Z | codigo/Live102/app.py | cassiasamp/live-de-python | 00b5e51793097544ba9b75c97a0d30e63970bf45 | [
"MIT"
] | 176 | 2018-05-18T15:56:16.000Z | 2022-03-28T20:39:07.000Z | codigo/Live102/app.py | cassiasamp/live-de-python | 00b5e51793097544ba9b75c97a0d30e63970bf45 | [
"MIT"
] | 140 | 2018-04-18T13:59:11.000Z | 2022-03-29T00:43:49.000Z |
def concats(x, y):
return x + y
def concatx(x, y):
return concats(x, y)
| 10.375 | 24 | 0.566265 | 15 | 83 | 3.133333 | 0.4 | 0.170213 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289157 | 83 | 7 | 25 | 11.857143 | 0.79661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9685bd02b44d4aa7c0d6b14ff15141fd332a9014 | 45 | py | Python | marklogic_client/__init__.py | HanKruiger/marklogic_client | 689e5ba4b36edf2f9c5f2940d19ebcea22ff54c3 | [
"MIT"
] | 1 | 2020-04-22T23:33:44.000Z | 2020-04-22T23:33:44.000Z | marklogic_client/__init__.py | quangis/marklogic_client | 689e5ba4b36edf2f9c5f2940d19ebcea22ff54c3 | [
"MIT"
] | null | null | null | marklogic_client/__init__.py | quangis/marklogic_client | 689e5ba4b36edf2f9c5f2940d19ebcea22ff54c3 | [
"MIT"
] | null | null | null | from .marklogic_client import MarkLogicClient | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7376832879a01c0faf5bd886347e1f770f4e8a6d | 4,477 | py | Python | tests/template_tests/test_library.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 16 | 2019-08-10T12:24:06.000Z | 2020-05-21T09:11:14.000Z | tests/template_tests/test_library.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 12 | 2019-08-10T11:55:29.000Z | 2020-05-21T04:46:30.000Z | tests/template_tests/test_library.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 3 | 2019-08-20T13:29:34.000Z | 2020-01-30T22:05:10.000Z | import functools
from django.template import Library
from django.template.base import Node
from django.test import SimpleTestCase
class FilterRegistrationTests(SimpleTestCase):
def setUp(self):
self.library = Library()
def test_filter(self):
@self.library.filter
def func():
... | 26.96988 | 67 | 0.614697 | 504 | 4,477 | 5.309524 | 0.109127 | 0.168535 | 0.106502 | 0.063528 | 0.843049 | 0.786248 | 0.760837 | 0.641629 | 0.600523 | 0.52429 | 0 | 0.001212 | 0.262676 | 4,477 | 165 | 68 | 27.133333 | 0.809452 | 0 | 0 | 0.605042 | 0 | 0 | 0.068126 | 0 | 0 | 0 | 0 | 0 | 0.184874 | 1 | 0.344538 | false | 0 | 0.033613 | 0.142857 | 0.554622 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
737db5479eae82de2ec951ed335c69526686732d | 125 | py | Python | app/bayescmd/abc/__init__.py | Jignesh1996/bcmd-web | 2444352ef235b162531c4995dbef3907b0d83719 | [
"MIT"
] | 1 | 2018-07-16T15:39:41.000Z | 2018-07-16T15:39:41.000Z | app/bayescmd/abc/__init__.py | Jignesh1996/bcmd-web | 2444352ef235b162531c4995dbef3907b0d83719 | [
"MIT"
] | 6 | 2018-07-16T15:55:25.000Z | 2018-11-01T15:14:10.000Z | app/bayescmd/abc/__init__.py | Jignesh1996/bcmd-web | 2444352ef235b162531c4995dbef3907b0d83719 | [
"MIT"
] | 1 | 2018-07-16T15:34:54.000Z | 2018-07-16T15:34:54.000Z | from .rejection import Rejection
from .distances import get_distance
from .data_import import import_actual_data, inputParse
| 31.25 | 55 | 0.864 | 17 | 125 | 6.117647 | 0.529412 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 3 | 56 | 41.666667 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73874b8f186e1e66a51769ba1ac53d9b0be5e087 | 163 | py | Python | PwnTheBox/Base_re.py | Don2025/CTFwriteUp | 41e0a5bf87a1a02dd1548e621853c145ff64cedb | [
"MIT"
] | 2 | 2022-03-20T02:27:59.000Z | 2022-03-20T02:28:02.000Z | PwnTheBox/Base_re.py | Don2025/CTFwriteUp | 41e0a5bf87a1a02dd1548e621853c145ff64cedb | [
"MIT"
] | null | null | null | PwnTheBox/Base_re.py | Don2025/CTFwriteUp | 41e0a5bf87a1a02dd1548e621853c145ff64cedb | [
"MIT"
] | null | null | null | from base64 import *
flag = b64decode('ZmxhZ3tiNTljNjdiZjE5NmE0NzU4MTkxZTQyZjc2NjcwY2ViYX0=').decode('utf-8')
print(flag) # flag{b59c67bf196a4758191e42f76670ceba} | 40.75 | 88 | 0.828221 | 13 | 163 | 10.384615 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 0.06135 | 163 | 4 | 89 | 40.75 | 0.666667 | 0.233129 | 0 | 0 | 0 | 0 | 0.459677 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
73f459be96b11f4ce2469d90d2b045ed5b07dbac | 143 | py | Python | config.py | anthonyattard/item-catalog | 08885e8e98dc126311f45e0d810dbfc879cd1a06 | [
"MIT"
] | null | null | null | config.py | anthonyattard/item-catalog | 08885e8e98dc126311f45e0d810dbfc879cd1a06 | [
"MIT"
] | null | null | null | config.py | anthonyattard/item-catalog | 08885e8e98dc126311f45e0d810dbfc879cd1a06 | [
"MIT"
] | null | null | null | GOOGLE_CLIENT_ID = "163087330440-2dv41o1fh9hiqp476ate0c2tq4bcgo7n.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET = "7RQ1XLSYQR2Vi6aprkUJuu0g" | 71.5 | 93 | 0.895105 | 12 | 143 | 10.333333 | 0.833333 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210145 | 0.034965 | 143 | 2 | 94 | 71.5 | 0.688406 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb435cb5f43f5c550f0371d91da54bd43a38ef84 | 134 | py | Python | tikplay/utils/__init__.py | tietokilta-saato/tikplay | 8061451c21f06bd07129a8a42543ea86b7518d4a | [
"MIT"
] | 2 | 2015-01-15T14:14:50.000Z | 2015-10-23T05:37:34.000Z | tikplay/utils/__init__.py | tietokilta-saato/tikplay | 8061451c21f06bd07129a8a42543ea86b7518d4a | [
"MIT"
] | 8 | 2015-01-12T10:27:27.000Z | 2015-05-11T12:05:03.000Z | tikplay/utils/__init__.py | tietokilta-saato/tikplay | 8061451c21f06bd07129a8a42543ea86b7518d4a | [
"MIT"
] | null | null | null | def is_uri(uri):
return uri.find(":") != -1 and len(uri) > 3
def is_url(uri):
return uri.startswith(("http://", "https://")) | 22.333333 | 50 | 0.567164 | 21 | 134 | 3.52381 | 0.619048 | 0.135135 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.179104 | 134 | 6 | 50 | 22.333333 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fb43a45eab1b6e6662246abe3f458eb22e45f409 | 65 | py | Python | tests/basics/dict_get.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/basics/dict_get.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/basics/dict_get.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | for d in {}, {42:2}:
print(d.get(42))
print(d.get(42,2))
| 16.25 | 22 | 0.492308 | 14 | 65 | 2.285714 | 0.5 | 0.1875 | 0.5625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0.230769 | 65 | 3 | 23 | 21.666667 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fb7f74e8f76f05d5e772ff317795b10aab119852 | 148 | py | Python | leo/test/unittest/at-path-test1.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 2 | 2020-01-19T18:11:05.000Z | 2020-01-19T18:12:07.000Z | leo/test/unittest/at-path-test1.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 1 | 2020-06-19T02:28:25.000Z | 2020-06-19T02:28:25.000Z | leo/test/unittest/at-path-test1.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | null | null | null | #@+leo-ver=5-thin
#@+node:ekr.20120228145505.4834: * @thin ../test/unittest/at-path-test1.py
#@@language python
# unittest/at-path-test1.py
#@-leo
| 24.666667 | 74 | 0.695946 | 23 | 148 | 4.478261 | 0.695652 | 0.194175 | 0.271845 | 0.368932 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153285 | 0.074324 | 148 | 5 | 75 | 29.6 | 0.59854 | 0.932432 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbd7ea4e768fdaf98462cc0956906537b9481e95 | 263 | py | Python | Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_convert.py | ahmedabuamra/Recognizers-Text | 31193d89d3532839742992a2755c1d8539c68116 | [
"MIT"
] | 2 | 2017-08-22T11:21:19.000Z | 2017-09-17T20:06:00.000Z | Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_convert.py | ahmedabuamra/Recognizers-Text | 31193d89d3532839742992a2755c1d8539c68116 | [
"MIT"
] | 76 | 2018-11-09T18:19:44.000Z | 2019-08-20T20:29:53.000Z | Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_convert.py | ahmedabuamra/Recognizers-Text | 31193d89d3532839742992a2755c1d8539c68116 | [
"MIT"
] | 6 | 2017-05-04T17:24:59.000Z | 2019-07-23T15:48:44.000Z | from .english import *
class TimexConvert:
@staticmethod
def convert_timex_to_string(timex):
return convert_timex_to_string(timex)
@staticmethod
def convert_timex_set_to_string(timex):
return convert_timex_set_to_string(timex)
| 20.230769 | 49 | 0.745247 | 33 | 263 | 5.515152 | 0.393939 | 0.263736 | 0.285714 | 0.296703 | 0.648352 | 0.510989 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197719 | 263 | 12 | 50 | 21.916667 | 0.862559 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
836e8b995c1c7bbba5b64ce9a65cd441df2629c5 | 44 | py | Python | python/fastscore/utils/__init__.py | modelop/fastscore-sdk | 2206a4b9294cd83b6b8c2470193070bdc35a9061 | [
"Apache-2.0"
] | 2 | 2018-06-05T19:14:30.000Z | 2019-02-06T17:15:10.000Z | python/fastscore/utils/__init__.py | modelop/fastscore-sdk | 2206a4b9294cd83b6b8c2470193070bdc35a9061 | [
"Apache-2.0"
] | 2 | 2018-02-20T21:58:43.000Z | 2018-10-07T10:10:54.000Z | python/fastscore/utils/__init__.py | modelop/fastscore-sdk | 2206a4b9294cd83b6b8c2470193070bdc35a9061 | [
"Apache-2.0"
] | 1 | 2017-12-29T20:38:06.000Z | 2017-12-29T20:38:06.000Z | from .utils import *
from .secrets import *
| 14.666667 | 22 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83d1d0f13a9624aa9566ae150eed6e38967db718 | 23 | py | Python | utils/resume_training.py | dumpmemory/SPPR | 0df749d000e50a64ae13c606072a902f19ecb251 | [
"MIT"
] | 62 | 2021-08-01T09:32:32.000Z | 2022-03-22T06:40:40.000Z | utils/resume_training.py | dumpmemory/SPPR | 0df749d000e50a64ae13c606072a902f19ecb251 | [
"MIT"
] | 3 | 2021-10-17T10:51:07.000Z | 2022-02-05T12:44:39.000Z | utils/resume_training.py | dumpmemory/SPPR | 0df749d000e50a64ae13c606072a902f19ecb251 | [
"MIT"
] | 9 | 2021-08-02T03:22:10.000Z | 2022-02-24T00:54:54.000Z | def resume():
pass
| 7.666667 | 13 | 0.565217 | 3 | 23 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 23 | 2 | 14 | 11.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f7d938319c1237ab553b82c9722404ed7b114c1a | 8,839 | py | Python | traces/microbenchmark/micro_bm_gen.py | netx-repo/NetLock | b4f44efd7b01bca2ecd661a5c7876ada4d7af5fb | [
"Apache-2.0"
] | 12 | 2020-07-31T13:51:00.000Z | 2022-01-02T08:03:19.000Z | traces/microbenchmark/micro_bm_gen.py | netx-repo/NetLock | b4f44efd7b01bca2ecd661a5c7876ada4d7af5fb | [
"Apache-2.0"
] | null | null | null | traces/microbenchmark/micro_bm_gen.py | netx-repo/NetLock | b4f44efd7b01bca2ecd661a5c7876ada4d7af5fb | [
"Apache-2.0"
] | 2 | 2020-09-02T18:26:36.000Z | 2021-04-21T06:14:11.000Z | import os,sys
import csv
lib_path = os.path.abspath(os.path.join('../../client'))
sys.path.append(lib_path)
from config import *
import random
from random import randint
class MicroBenchmark:
def __init__(self, lock_type = SHARED_LOCK, max_lock_id = 100000, server_number = 10, threads_per_server = 2):
self... | 62.246479 | 179 | 0.597126 | 1,198 | 8,839 | 4.116861 | 0.131886 | 0.107867 | 0.062044 | 0.048662 | 0.810422 | 0.788321 | 0.781833 | 0.768451 | 0.742903 | 0.720397 | 0 | 0.07082 | 0.282724 | 8,839 | 142 | 180 | 62.246479 | 0.707098 | 0.117434 | 0 | 0.584746 | 0 | 0 | 0.093818 | 0.009767 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0 | 0.042373 | 0 | 0.076271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7906a8c3f5fdac8427b4722b6aa4f5168db10968 | 9,411 | py | Python | climatespider/climatespider/spiders/AO_wugspider.py | burnman108/climateSpider | 434ba25b6a30fe6d07231b7758cbc64d8243bf4c | [
"Apache-2.0"
] | null | null | null | climatespider/climatespider/spiders/AO_wugspider.py | burnman108/climateSpider | 434ba25b6a30fe6d07231b7758cbc64d8243bf4c | [
"Apache-2.0"
] | null | null | null | climatespider/climatespider/spiders/AO_wugspider.py | burnman108/climateSpider | 434ba25b6a30fe6d07231b7758cbc64d8243bf4c | [
"Apache-2.0"
] | null | null | null | #-*- coding: utf-8 -*-
from scrapy.spiders import CrawlSpider, Rule
from scrapy.linkextractors import LinkExtractor
from climatespider.items import ClimatespiderItem
from scrapy.selector import Selector
from dateutil.parser import parse
import re
import datetime
from scrapy.exceptions import CloseSpider
def getyester... | 66.274648 | 140 | 0.568165 | 1,087 | 9,411 | 4.869365 | 0.143514 | 0.085207 | 0.083129 | 0.112979 | 0.822218 | 0.815417 | 0.808426 | 0.795579 | 0.795201 | 0.750236 | 0 | 0.025459 | 0.223674 | 9,411 | 141 | 141 | 66.744681 | 0.699015 | 0.038891 | 0 | 0.330709 | 0 | 0 | 0.372883 | 0.078473 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015748 | false | 0 | 0.062992 | 0 | 0.11811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
790b14439046bd301a529a673057b56fe6681eb9 | 315 | py | Python | sprint/core/parser/args.py | ii-Python/Sprint-v2 | 2579b7f9a36ac5c5ec541ca3dce6cf61357db948 | [
"MIT"
] | null | null | null | sprint/core/parser/args.py | ii-Python/Sprint-v2 | 2579b7f9a36ac5c5ec541ca3dce6cf61357db948 | [
"MIT"
] | null | null | null | sprint/core/parser/args.py | ii-Python/Sprint-v2 | 2579b7f9a36ac5c5ec541ca3dce6cf61357db948 | [
"MIT"
] | null | null | null | class Argument(object):
def __init__(self, argument = None, base: bool = False):
self.arg = argument
self.is_base = base
def __repr__(self):
return self.arg
def __str__(self):
return self.arg
def is_pipe(self):
return self.arg == ">>" or self.arg == "<<"
| 21 | 60 | 0.571429 | 40 | 315 | 4.15 | 0.425 | 0.210843 | 0.253012 | 0.307229 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301587 | 315 | 14 | 61 | 22.5 | 0.754545 | 0 | 0 | 0.2 | 0 | 0 | 0.012698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.3 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7917eb82c91f982f3274c65a99d949a0b683cbbe | 46 | py | Python | src/django_secrecy/test.py | Cyxapic/django-secrecy | 7f3fcd42afc1cc7c49dba92530c171e7ed2edac8 | [
"MIT"
] | null | null | null | src/django_secrecy/test.py | Cyxapic/django-secrecy | 7f3fcd42afc1cc7c49dba92530c171e7ed2edac8 | [
"MIT"
] | 1 | 2021-02-15T09:37:44.000Z | 2021-02-15T09:37:44.000Z | src/django_secrecy/test.py | Cyxapic/django-secrecy | 7f3fcd42afc1cc7c49dba92530c171e7ed2edac8 | [
"MIT"
] | null | null | null | import datetime
print(datetime.datetime.now()) | 23 | 30 | 0.826087 | 6 | 46 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 46 | 2 | 30 | 23 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f7095169f139557a45e67599ce006c31ba8e3471 | 157 | py | Python | python/pip_package/__init__.py | kanishkg/lab | a9a3b5c38ad160ffd2e77a3af3e13c6e66eed457 | [
"CC-BY-4.0"
] | 16 | 2019-02-27T22:37:25.000Z | 2021-11-08T12:39:33.000Z | python/pip_package/__init__.py | kanishkg/lab | a9a3b5c38ad160ffd2e77a3af3e13c6e66eed457 | [
"CC-BY-4.0"
] | null | null | null | python/pip_package/__init__.py | kanishkg/lab | a9a3b5c38ad160ffd2e77a3af3e13c6e66eed457 | [
"CC-BY-4.0"
] | 7 | 2019-05-28T06:26:26.000Z | 2021-11-27T16:33:55.000Z | """Loads deepmind_lab.so."""
import imp
import pkg_resources
imp.load_dynamic(__name__, pkg_resources.resource_filename(
__name__, 'deepmind_lab.so'))
| 19.625 | 59 | 0.77707 | 21 | 157 | 5.142857 | 0.619048 | 0.203704 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 157 | 7 | 60 | 22.428571 | 0.765957 | 0.140127 | 0 | 0 | 0 | 0 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f70ea28bcf4185dc675728f2549fd2e9447346be | 77,417 | py | Python | Graphing_Summaries.py | GrantRoss-Tenki/Malawi-CQC-CSC-OSU-Work | a720e0451579945ba10eafdafe2e0d59a86d5cfb | [
"MIT"
] | null | null | null | Graphing_Summaries.py | GrantRoss-Tenki/Malawi-CQC-CSC-OSU-Work | a720e0451579945ba10eafdafe2e0d59a86d5cfb | [
"MIT"
] | null | null | null | Graphing_Summaries.py | GrantRoss-Tenki/Malawi-CQC-CSC-OSU-Work | a720e0451579945ba10eafdafe2e0d59a86d5cfb | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
#from pylab import plot, show, xlim,figure,hold, ylim,legend, boxplot, setup, axes
import seaborn as sns
# Is this a personal or work computer
# Are you graphing for hood or no hood
Computer = 'personal' #or 'personal' or 'work'
Hood_o... | 50.965767 | 152 | 0.657504 | 14,589 | 77,417 | 3.08712 | 0.018233 | 0.047427 | 0.037968 | 0.048492 | 0.973689 | 0.952107 | 0.900373 | 0.855788 | 0.782761 | 0.752076 | 0 | 0.085874 | 0.215418 | 77,417 | 1,518 | 153 | 50.999341 | 0.655614 | 0.070385 | 0 | 0.396552 | 0 | 0.068966 | 0.162539 | 0.072096 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003448 | 0 | 0.003448 | 0.037069 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f71e4ba69c62e1f2c427e125b8d3019de0eb2970 | 28 | py | Python | try.py | zf-nobody/pyaudio_portaudio | 8f703866e6b3d9aad30792fbd07fa63d504505f2 | [
"MIT"
] | null | null | null | try.py | zf-nobody/pyaudio_portaudio | 8f703866e6b3d9aad30792fbd07fa63d504505f2 | [
"MIT"
] | null | null | null | try.py | zf-nobody/pyaudio_portaudio | 8f703866e6b3d9aad30792fbd07fa63d504505f2 | [
"MIT"
] | null | null | null | print("I am having a try.")
| 14 | 27 | 0.642857 | 6 | 28 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f71fb01cbdb1f124478ac2b092b7ac4885231833 | 119 | py | Python | examples/test_error.py | ak1ra24/pytest-md-report | 9d861a9237176e9dd1e6872c197f5bb5985ee049 | [
"MIT"
] | 9 | 2020-05-06T20:54:29.000Z | 2022-03-27T04:11:38.000Z | examples/test_error.py | solisa986/pytest-md-report | a6cdeda92ef8f1ab64c346a86a085ce9e1585880 | [
"MIT"
] | null | null | null | examples/test_error.py | solisa986/pytest-md-report | a6cdeda92ef8f1ab64c346a86a085ce9e1585880 | [
"MIT"
] | 3 | 2021-05-05T19:58:33.000Z | 2021-08-12T07:14:52.000Z | def test_error(invalid_fixture):
pass
class Test:
def test_error(self, invalid_fixture):
assert True
| 14.875 | 42 | 0.697479 | 16 | 119 | 4.9375 | 0.625 | 0.177215 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 119 | 7 | 43 | 17 | 0.868132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f72f8af5b3ccf2010b8feadf774b09fd508c9661 | 32,775 | py | Python | WhoopClient.py | lcintron/WhoopClient | 46ccc6c3e3b98f4b6c82cf8938056d72a22bd6b6 | [
"MIT"
] | null | null | null | WhoopClient.py | lcintron/WhoopClient | 46ccc6c3e3b98f4b6c82cf8938056d72a22bd6b6 | [
"MIT"
] | null | null | null | WhoopClient.py | lcintron/WhoopClient | 46ccc6c3e3b98f4b6c82cf8938056d72a22bd6b6 | [
"MIT"
] | null | null | null | import requests
import pandas as pd
import numpy as np
import configparser
from datetime import datetime
from dateutil import relativedelta, parser, rrule
from dateutil.rrule import WEEKLY
class WhoopClient:
'''A class to allow a user to login and store their authorization code,
then perform pulls using t... | 43.993289 | 121 | 0.49251 | 3,562 | 32,775 | 4.399495 | 0.098259 | 0.039308 | 0.004786 | 0.014039 | 0.850041 | 0.829366 | 0.810287 | 0.77519 | 0.766448 | 0.751196 | 0 | 0.01183 | 0.414523 | 32,775 | 744 | 122 | 44.052419 | 0.804836 | 0.143402 | 0 | 0.685613 | 0 | 0.003552 | 0.135307 | 0.003128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028419 | false | 0.005329 | 0.012433 | 0 | 0.085258 | 0.039076 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7422731979ad4853b3ed8984d505258dff7f132 | 24,927 | py | Python | pybind/nos/v7_0_1b/interface/port_channel/ip/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_0_1b/interface/port_channel/ip/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_0_1b/interface/port_channel/ip/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 72.885965 | 584 | 0.741565 | 3,576 | 24,927 | 4.880313 | 0.056488 | 0.04011 | 0.048132 | 0.035927 | 0.883509 | 0.843055 | 0.830908 | 0.823573 | 0.80816 | 0.798533 | 0 | 0.001923 | 0.123641 | 24,927 | 341 | 585 | 73.099707 | 0.796979 | 0.142055 | 0 | 0.451163 | 0 | 0.032558 | 0.37156 | 0.164726 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111628 | false | 0 | 0.069767 | 0 | 0.297674 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7674b5ae471a8633ed272cff20d4b73ad8b36b6 | 23 | py | Python | exoatlas/telescopes/__init__.py | zkbt/exopop | 5e8b9d391fe9e2d39c623d7ccd7eca8fd0f0f3f8 | [
"MIT"
] | 4 | 2020-06-24T16:38:27.000Z | 2022-01-23T01:57:19.000Z | exoatlas/telescopes/__init__.py | zkbt/exopop | 5e8b9d391fe9e2d39c623d7ccd7eca8fd0f0f3f8 | [
"MIT"
] | 4 | 2018-09-20T23:12:30.000Z | 2019-05-15T15:31:58.000Z | exoatlas/telescopes/__init__.py | zkbt/exopop | 5e8b9d391fe9e2d39c623d7ccd7eca8fd0f0f3f8 | [
"MIT"
] | null | null | null | from .buckets import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3914d855698b3d924403a03e74e44abdbacb0b7 | 24 | py | Python | lefi/ws/__init__.py | Shom770/Lefi | 7d9d45a8356605d82e2b7247715db4992d21c377 | [
"MIT"
] | null | null | null | lefi/ws/__init__.py | Shom770/Lefi | 7d9d45a8356605d82e2b7247715db4992d21c377 | [
"MIT"
] | null | null | null | lefi/ws/__init__.py | Shom770/Lefi | 7d9d45a8356605d82e2b7247715db4992d21c377 | [
"MIT"
] | null | null | null | from .wsclient import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3dca70c836598a47c545d259722eb2d727b88cc | 7,567 | py | Python | picbackend/tests/views/v2/patient_assist_scheduler_views_tests.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/tests/views/v2/patient_assist_scheduler_views_tests.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/tests/views/v2/patient_assist_scheduler_views_tests.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | """
Defines tests for version 1 of the patient assist consumer appointment scheduler API for the picbackend app
"""
from django.test import TestCase
from .base_v2_api_tests import BaseV2RqstTests
import json
class PatientAssistSchedulerAPITests(TestCase, BaseV2RqstTests):
def setUp(self):
self.base_url ... | 43.24 | 107 | 0.624158 | 836 | 7,567 | 5.454545 | 0.155502 | 0.089474 | 0.069079 | 0.058333 | 0.834868 | 0.828509 | 0.819079 | 0.796711 | 0.796711 | 0.796711 | 0 | 0.018079 | 0.276331 | 7,567 | 174 | 108 | 43.488506 | 0.814646 | 0.324435 | 0 | 0.529412 | 0 | 0 | 0.144442 | 0.009312 | 0 | 0 | 0 | 0 | 0.364706 | 1 | 0.058824 | false | 0 | 0.035294 | 0 | 0.105882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3ec1d204bfbbc9358ffefb99b135fd36c283e17 | 28 | py | Python | ot/externals/funcsigs.py | SpaceLearner/torch_ot | 7663d0e2f66891f6019db870760e6f27bc76a437 | [
"MIT"
] | 5 | 2020-12-02T12:19:44.000Z | 2021-07-13T12:22:56.000Z | ot/externals/funcsigs.py | SpaceLearner/torch_ot | 7663d0e2f66891f6019db870760e6f27bc76a437 | [
"MIT"
] | 1 | 2021-04-25T15:53:24.000Z | 2021-04-25T15:53:24.000Z | ot/externals/funcsigs.py | SpaceLearner/torch_ot | 7663d0e2f66891f6019db870760e6f27bc76a437 | [
"MIT"
] | 1 | 2021-06-03T17:07:39.000Z | 2021-06-03T17:07:39.000Z |
def signature():
pass | 5.6 | 16 | 0.571429 | 3 | 28 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321429 | 28 | 5 | 17 | 5.6 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
581cdbc479610ad23dcf3a0ee0ade69338ba0253 | 30 | py | Python | src/SpoutGL/enums.py | worosom/Python-SpoutGL | 7ec5f2b992c3512104960136db74b7d956e0b5a7 | [
"BSD-3-Clause"
] | 5 | 2021-12-30T15:03:52.000Z | 2022-03-08T14:34:39.000Z | src/SpoutGL/enums.py | worosom/Python-SpoutGL | 7ec5f2b992c3512104960136db74b7d956e0b5a7 | [
"BSD-3-Clause"
] | 1 | 2021-12-08T01:41:17.000Z | 2021-12-08T01:41:17.000Z | src/SpoutGL/enums.py | worosom/Python-SpoutGL | 7ec5f2b992c3512104960136db74b7d956e0b5a7 | [
"BSD-3-Clause"
] | 1 | 2021-11-24T23:12:49.000Z | 2021-11-24T23:12:49.000Z | from ._spoutgl.enums import *
| 15 | 29 | 0.766667 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
584d87b17e8c9da02266a10ac00245f5c3efc14c | 2,502 | py | Python | userbot/plugins/pro_nub.py | RiderFA/Dark_Userbot | 480df539bfeae994d59649a54d2478ed24b445bb | [
"MIT"
] | null | null | null | userbot/plugins/pro_nub.py | RiderFA/Dark_Userbot | 480df539bfeae994d59649a54d2478ed24b445bb | [
"MIT"
] | null | null | null | userbot/plugins/pro_nub.py | RiderFA/Dark_Userbot | 480df539bfeae994d59649a54d2478ed24b445bb | [
"MIT"
] | null | null | null |
import asyncio
from mafiabot.utils import admin_cmd, sudo_cmd, edit_or_reply
@bot.on(admin_cmd(pattern="unoob$", outgoing=True))
@bot.on(sudo_cmd(pattern="unoob$", allow_sudo=True))
async def _(event):
if event.fwd_from:
return
animation_interval = 0.5
animation_ttl = range(0, 9)
await ... | 19.246154 | 61 | 0.578737 | 313 | 2,502 | 4.472843 | 0.169329 | 0.028571 | 0.039286 | 0.037143 | 0.925714 | 0.911429 | 0.904286 | 0.728571 | 0.617143 | 0.617143 | 0 | 0.01128 | 0.291367 | 2,502 | 129 | 62 | 19.395349 | 0.77383 | 0 | 0 | 0.75 | 0 | 0 | 0.147141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.068182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5873813e4c26db04e5d2f063dc53058c984fa54d | 160 | py | Python | relief/admin.py | shivkiyer/covid-sahyog | bf88c800abd61d4f203f7e6bb46315dee6d08dac | [
"MIT"
] | 1 | 2021-05-13T16:17:47.000Z | 2021-05-13T16:17:47.000Z | relief/admin.py | shivkiyer/covid-sahyog | bf88c800abd61d4f203f7e6bb46315dee6d08dac | [
"MIT"
] | null | null | null | relief/admin.py | shivkiyer/covid-sahyog | bf88c800abd61d4f203f7e6bb46315dee6d08dac | [
"MIT"
] | 2 | 2021-05-12T05:10:38.000Z | 2021-05-12T05:12:20.000Z | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.State)
admin.site.register(models.RequestHelp)
| 17.777778 | 39 | 0.8 | 22 | 160 | 5.818182 | 0.545455 | 0.140625 | 0.265625 | 0.359375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 160 | 8 | 40 | 20 | 0.901408 | 0.1625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
547b73092b407d97f139e226a0409bb1028d7e55 | 274 | py | Python | django_query_profiler/django/db/backends/postgresql/base.py | sonej/django-query-profiler | 4afe3694ded26d7ba0b435f5666e990b668d85b5 | [
"BSD-3-Clause"
] | 97 | 2020-03-03T01:20:35.000Z | 2022-03-23T14:06:09.000Z | django_query_profiler/django/db/backends/postgresql/base.py | sonej/django-query-profiler | 4afe3694ded26d7ba0b435f5666e990b668d85b5 | [
"BSD-3-Clause"
] | 24 | 2020-03-06T17:35:08.000Z | 2022-02-09T20:06:05.000Z | django_query_profiler/django/db/backends/postgresql/base.py | sonej/django-query-profiler | 4afe3694ded26d7ba0b435f5666e990b668d85b5 | [
"BSD-3-Clause"
] | 9 | 2020-03-22T18:17:09.000Z | 2022-01-31T18:59:11.000Z | import django.db.backends.postgresql.base as postgresql_base
from django_query_profiler.django.db.backends.database_wrapper_mixin import QueryProfilerDatabaseWrapperMixin
class DatabaseWrapper(postgresql_base.DatabaseWrapper, QueryProfilerDatabaseWrapperMixin):
pass
| 34.25 | 109 | 0.883212 | 28 | 274 | 8.428571 | 0.607143 | 0.177966 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069343 | 274 | 7 | 110 | 39.142857 | 0.92549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
548541e74101893456f355f1dfc70167f7f88750 | 13,311 | py | Python | nemo/collections/nlp/data/glue_benchmark/data_processors.py | eesungkim/NeMo | 461a8668bd713af11c98b68a75866dccb2df175d | [
"Apache-2.0"
] | null | null | null | nemo/collections/nlp/data/glue_benchmark/data_processors.py | eesungkim/NeMo | 461a8668bd713af11c98b68a75866dccb2df175d | [
"Apache-2.0"
] | null | null | null | nemo/collections/nlp/data/glue_benchmark/data_processors.py | eesungkim/NeMo | 461a8668bd713af11c98b68a75866dccb2df175d | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 The Google AI Language Team Authors and
# The HuggingFace Inc. team.
# Copyright (c) 2020, NVIDIA CORPORATION. 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 Lice... | 34.574026 | 117 | 0.615581 | 1,766 | 13,311 | 4.446206 | 0.121178 | 0.031839 | 0.03324 | 0.061895 | 0.722618 | 0.709246 | 0.706954 | 0.699312 | 0.68403 | 0.671294 | 0 | 0.009916 | 0.257531 | 13,311 | 384 | 118 | 34.664063 | 0.78458 | 0.190594 | 0 | 0.72807 | 0 | 0.004386 | 0.113296 | 0.01384 | 0 | 0 | 0 | 0 | 0.008772 | 1 | 0.25 | false | 0 | 0.013158 | 0.065789 | 0.548246 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
54ba5fbcf6c70c01a1e3b29e3bce63a001137f53 | 7,249 | py | Python | tests/test_destination_weather_api.py | baffolobill/HerePy | c6655e9dfde7a5888cc231d7f9f9e8a888f54dcd | [
"MIT"
] | null | null | null | tests/test_destination_weather_api.py | baffolobill/HerePy | c6655e9dfde7a5888cc231d7f9f9e8a888f54dcd | [
"MIT"
] | null | null | null | tests/test_destination_weather_api.py | baffolobill/HerePy | c6655e9dfde7a5888cc231d7f9f9e8a888f54dcd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import time
import unittest
import json
import responses
import herepy
from herepy.here_enum import WeatherProductType
class DestinationWeatherApiTest(unittest.TestCase):
def setUp(self):
api = herepy.DestinationWeatherApi('app_id', 'app_code')
self._api = api
... | 47.379085 | 101 | 0.698855 | 807 | 7,249 | 6.075589 | 0.110285 | 0.031409 | 0.036712 | 0.046502 | 0.871303 | 0.854375 | 0.852335 | 0.852335 | 0.790944 | 0.790944 | 0 | 0.019831 | 0.200028 | 7,249 | 152 | 102 | 47.690789 | 0.82566 | 0.002759 | 0 | 0.669118 | 0 | 0 | 0.182485 | 0.083426 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.095588 | false | 0 | 0.051471 | 0 | 0.154412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b725bd81ce5b2689bff2fdc3737040d564303e20 | 392 | py | Python | mango/dataset.py | gabrielelanaro/mango-ml | 59b6063c72aef084f632aed7d0a0d19b6b86deb9 | [
"MIT"
] | null | null | null | mango/dataset.py | gabrielelanaro/mango-ml | 59b6063c72aef084f632aed7d0a0d19b6b86deb9 | [
"MIT"
] | 2 | 2018-04-20T23:54:43.000Z | 2018-04-30T13:40:49.000Z | mango/dataset.py | gabrielelanaro/mango | 59b6063c72aef084f632aed7d0a0d19b6b86deb9 | [
"MIT"
] | null | null | null | from .base import Parameterized
class Dataset(Parameterized):
pass
class SplitDataset(Dataset):
def build(self):
raise NotImplementedError()
def train(self):
raise NotImplementedError()
def test(self):
raise NotImplementedError()
def transform_train(self, data):
... | 16.333333 | 36 | 0.658163 | 40 | 392 | 6.4 | 0.45 | 0.105469 | 0.328125 | 0.363281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 392 | 23 | 37 | 17.043478 | 0.888889 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.071429 | 0.071429 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
3f9462f3fdabe76952310e8cfd579e89d18c8175 | 69 | py | Python | pyp3d/v18446497929133817856/__init__.py | pengdi-cabr/pyp3d | 3b5981257838a60837b38106dc39d66bbad38767 | [
"MIT"
] | 22 | 2021-11-16T05:54:05.000Z | 2021-12-03T12:16:46.000Z | pyp3d/v18446497929133817856/__init__.py | pengdi-cabr/pyp3d | 3b5981257838a60837b38106dc39d66bbad38767 | [
"MIT"
] | null | null | null | pyp3d/v18446497929133817856/__init__.py | pengdi-cabr/pyp3d | 3b5981257838a60837b38106dc39d66bbad38767 | [
"MIT"
] | 4 | 2021-12-01T07:38:07.000Z | 2022-01-18T13:01:54.000Z | from .p3d_type import *
from .dll import *
from .component import * | 23 | 24 | 0.724638 | 10 | 69 | 4.9 | 0.6 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.188406 | 69 | 3 | 25 | 23 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f97202e28b20e2c3d5549504429400b9b7cc98a | 124 | py | Python | genelang/bricks/OP1L.py | GabrielAmare/Genelang | af5294e900d2f79ff54375f9759c156a4b5a098a | [
"MIT"
] | null | null | null | genelang/bricks/OP1L.py | GabrielAmare/Genelang | af5294e900d2f79ff54375f9759c156a4b5a098a | [
"MIT"
] | null | null | null | genelang/bricks/OP1L.py | GabrielAmare/Genelang | af5294e900d2f79ff54375f9759c156a4b5a098a | [
"MIT"
] | null | null | null | from .OP1 import OP1
class OP1L(OP1):
def __str__(self):
return f"{str(self.symbols[0])}{str(self.items[0])}"
| 17.714286 | 60 | 0.620968 | 20 | 124 | 3.65 | 0.65 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.193548 | 124 | 6 | 61 | 20.666667 | 0.67 | 0 | 0 | 0 | 0 | 0 | 0.33871 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3fa1adbd8cd0d6fb05904c87f6eb8483be04ef57 | 10,545 | py | Python | dao/test_moonstream.py | bugout-dev/dao | d6e089d32ecd54a5bfd3b31f98e582528b201f15 | [
"Apache-2.0"
] | 9 | 2021-12-18T16:48:36.000Z | 2022-02-15T17:54:07.000Z | dao/test_moonstream.py | bugout-dev/dao | d6e089d32ecd54a5bfd3b31f98e582528b201f15 | [
"Apache-2.0"
] | 20 | 2021-12-16T13:47:42.000Z | 2022-03-17T17:39:49.000Z | dao/test_moonstream.py | bugout-dev/dao | d6e089d32ecd54a5bfd3b31f98e582528b201f15 | [
"Apache-2.0"
] | null | null | null | import unittest
from brownie import accounts
import brownie
from . import ERC20Facet, ERC20Initializer
from .core import ZERO_ADDRESS, facet_cut
from .test_core import MoonstreamDAOSingleContractTestCase, MoonstreamTokenTestCase
class TestDeployment(MoonstreamDAOSingleContractTestCase):
def test_add_and_replace... | 37.393617 | 87 | 0.671693 | 1,094 | 10,545 | 6.223949 | 0.071298 | 0.048906 | 0.063445 | 0.074313 | 0.875459 | 0.840652 | 0.824791 | 0.796886 | 0.787781 | 0.770451 | 0 | 0.0372 | 0.225036 | 10,545 | 281 | 88 | 37.52669 | 0.796011 | 0 | 0 | 0.691943 | 0 | 0 | 0.034803 | 0 | 0 | 0 | 0 | 0 | 0.14218 | 1 | 0.066351 | false | 0 | 0.028436 | 0 | 0.109005 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fa299b6ba4753a9546e85b5fbe0cce1ed5357d0 | 215 | py | Python | pmtour/models/__init__.py | sunoru/pokemon_tournament | 920bc980c7021a433c46e30c248de1d9ba90871a | [
"MIT"
] | 3 | 2016-12-05T03:33:44.000Z | 2019-11-06T18:05:28.000Z | pmtour/models/__init__.py | sunoru/pokemon_tournament | 920bc980c7021a433c46e30c248de1d9ba90871a | [
"MIT"
] | 2 | 2016-01-02T15:09:07.000Z | 2021-07-15T23:02:48.000Z | pmtour/models/__init__.py | sunoru/pokemon_tournament | 920bc980c7021a433c46e30c248de1d9ba90871a | [
"MIT"
] | null | null | null | # coding=utf-8
from pmtour.models.bases import BaseModel
from pmtour.models.tournament import Tournament
from pmtour.models.player import Player
from pmtour.models.turn import Turn
from pmtour.models.log import Log
| 30.714286 | 47 | 0.837209 | 33 | 215 | 5.454545 | 0.393939 | 0.277778 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.102326 | 215 | 6 | 48 | 35.833333 | 0.927461 | 0.055814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3fc8078d753a0c0513e6c6366aef79f54a70b9c5 | 4,831 | py | Python | draw.py | djrrb/drawbotlab | 663da0beb43a4638458a92e7b43a2235585ef1b7 | [
"MIT"
] | 29 | 2015-06-21T09:50:44.000Z | 2021-11-03T10:04:42.000Z | draw.py | djrrb/drawbotlab | 663da0beb43a4638458a92e7b43a2235585ef1b7 | [
"MIT"
] | 1 | 2020-04-23T14:43:13.000Z | 2020-05-06T20:24:06.000Z | draw.py | djrrb/drawbotlab | 663da0beb43a4638458a92e7b43a2235585ef1b7 | [
"MIT"
] | 4 | 2015-08-24T21:07:54.000Z | 2019-10-11T19:22:28.000Z | import drawBot
def imageBox(im, box, fit="fill", clip=False, center=None, alpha=1):
"""
Draw an image object in a given rectangle.
"""
# if given a string, make an image object
if isinstance(im, str):
im = ImageObject(im)
boxX, boxY, boxW, boxH = box
# get the image dimensions
... | 32.206667 | 71 | 0.540054 | 615 | 4,831 | 4.229268 | 0.213008 | 0.019223 | 0.02153 | 0.02153 | 0.748943 | 0.748943 | 0.748943 | 0.726644 | 0.726644 | 0.695886 | 0 | 0.03001 | 0.358518 | 4,831 | 149 | 72 | 32.422819 | 0.809293 | 0.2426 | 0 | 0.722222 | 0 | 0 | 0.037233 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018519 | false | 0.018519 | 0.009259 | 0 | 0.027778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fef6d039ba9dd91b0787681f055ebdc2726034f | 258 | py | Python | ramda/split_at_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/split_at_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/split_at_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from ramda import *
from ramda.private.asserts import *
def split_at_test():
assert_equal(split_at(1, [1, 2, 3]), [[1], [2, 3]])
assert_equal(split_at(5, "hello world"), ["hello", " world"])
assert_equal(split_at(-1, "foobar"), ["fooba", "r"])
| 28.666667 | 65 | 0.624031 | 40 | 258 | 3.825 | 0.5 | 0.183007 | 0.313725 | 0.352941 | 0.248366 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041475 | 0.158915 | 258 | 8 | 66 | 32.25 | 0.663594 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b7559cd3a85f88f92fae65af87cfa9053eb9fc0b | 79 | py | Python | source/main.py | ItsSeaJay/jinja-generator | c2f36ad796ec1cf88e8d08a4a1469c251530415e | [
"MIT"
] | null | null | null | source/main.py | ItsSeaJay/jinja-generator | c2f36ad796ec1cf88e8d08a4a1469c251530415e | [
"MIT"
] | null | null | null | source/main.py | ItsSeaJay/jinja-generator | c2f36ad796ec1cf88e8d08a4a1469c251530415e | [
"MIT"
] | null | null | null | from generator import Generator
generator = Generator()
generator.generate()
| 13.166667 | 31 | 0.797468 | 8 | 79 | 7.875 | 0.5 | 0.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 79 | 5 | 32 | 15.8 | 0.913043 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b7a9725ea9a914b488c3fc9b7be6c9da5106d89e | 135 | py | Python | audtorch/__init__.py | hagenw/audtorch | d82ae7f7f8c7edb7b7180b83442224e9a68483bd | [
"MIT"
] | 81 | 2019-05-22T16:39:46.000Z | 2022-03-01T04:11:38.000Z | audtorch/__init__.py | hagenw/audtorch | d82ae7f7f8c7edb7b7180b83442224e9a68483bd | [
"MIT"
] | 33 | 2019-05-24T09:04:06.000Z | 2021-12-06T12:11:56.000Z | audtorch/__init__.py | hagenw/audtorch | d82ae7f7f8c7edb7b7180b83442224e9a68483bd | [
"MIT"
] | 12 | 2019-05-23T09:48:15.000Z | 2021-04-02T16:12:47.000Z | from . import collate
from . import datasets
from . import metrics
from . import samplers
from . import transforms
from . import utils
| 19.285714 | 24 | 0.777778 | 18 | 135 | 5.833333 | 0.444444 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 135 | 6 | 25 | 22.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7cac8d060c77710990c340129d9d3f04e74daf0 | 1,300 | py | Python | tests/test_units.py | csdms/bmi-tester | 1bece69ecda922d047fc1df5dc1c562c97b4354b | [
"MIT"
] | null | null | null | tests/test_units.py | csdms/bmi-tester | 1bece69ecda922d047fc1df5dc1c562c97b4354b | [
"MIT"
] | 4 | 2016-10-06T03:52:04.000Z | 2020-09-10T16:44:38.000Z | tests/test_units.py | csdms/bmi-tester | 1bece69ecda922d047fc1df5dc1c562c97b4354b | [
"MIT"
] | 2 | 2016-09-19T17:32:20.000Z | 2020-09-24T17:16:16.000Z | from bmi_tester.api import (
check_unit_is_dimensionless,
check_unit_is_time,
check_unit_is_valid,
)
def test_check_valid_units():
assert check_unit_is_valid("m")
assert check_unit_is_valid("m / s")
assert check_unit_is_valid("m s-1")
assert check_unit_is_valid("N m")
assert check_unit... | 30.232558 | 70 | 0.734615 | 216 | 1,300 | 3.99537 | 0.157407 | 0.281576 | 0.344148 | 0.354577 | 0.831981 | 0.585168 | 0.387022 | 0.293163 | 0.293163 | 0.260718 | 0 | 0.051282 | 0.16 | 1,300 | 42 | 71 | 30.952381 | 0.739011 | 0.033077 | 0 | 0 | 0 | 0 | 0.135458 | 0 | 0 | 0 | 0 | 0 | 0.71875 | 1 | 0.125 | true | 0 | 0.03125 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d24de4443a3932232514d09ca335e5c9a2a21ee | 34 | py | Python | src/archiver/__init__.py | StarovoitovNik/archivator | f7b306e270e327f0a122faed159c569ee519e10a | [
"MIT"
] | null | null | null | src/archiver/__init__.py | StarovoitovNik/archivator | f7b306e270e327f0a122faed159c569ee519e10a | [
"MIT"
] | null | null | null | src/archiver/__init__.py | StarovoitovNik/archivator | f7b306e270e327f0a122faed159c569ee519e10a | [
"MIT"
] | null | null | null | from src.archiver.arciv import arc | 34 | 34 | 0.852941 | 6 | 34 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d363f98ea895722ae26b1531e8c2ef8e5293e2f | 244 | py | Python | lib/JumpScale/baselib/serializers/SerializerDict.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 1 | 2015-10-26T10:38:13.000Z | 2015-10-26T10:38:13.000Z | lib/JumpScale/baselib/serializers/SerializerDict.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | lib/JumpScale/baselib/serializers/SerializerDict.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z |
import blosc
class SerializerDict(object):
def dumps(self,obj):
# from IPython import embed
# print "DEBUG NOW dict serializer"
# embed()
##TODO
pass
def loads(self,s):
return s | 18.769231 | 43 | 0.545082 | 27 | 244 | 4.925926 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372951 | 244 | 13 | 44 | 18.769231 | 0.869281 | 0.290984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
4d47dff9146088a33f8b61bbd687baf53210b85b | 120 | py | Python | tests/test_version.py | andrewmilligan/fec-filing-iterator | 7ac2da9561ea9f346f316dffc72c1a42b2c914eb | [
"0BSD"
] | null | null | null | tests/test_version.py | andrewmilligan/fec-filing-iterator | 7ac2da9561ea9f346f316dffc72c1a42b2c914eb | [
"0BSD"
] | null | null | null | tests/test_version.py | andrewmilligan/fec-filing-iterator | 7ac2da9561ea9f346f316dffc72c1a42b2c914eb | [
"0BSD"
] | null | null | null | from fec_filing_iterator import _version as version
def test_version():
assert len(version.__version_info__) == 3
| 20 | 51 | 0.783333 | 17 | 120 | 5 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.15 | 120 | 5 | 52 | 24 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d802c5be4c55e7abd73ca411d27649e2f9fdbb9 | 123 | py | Python | python/fastquant/__init__.py | rafmacalaba/fastquant | b3436c8737a4ab1b5d555f7cd34fba9c406cad0a | [
"MIT"
] | 3 | 2021-03-28T07:55:46.000Z | 2021-03-29T04:52:12.000Z | python/fastquant/__init__.py | rafmacalaba/fastquant | b3436c8737a4ab1b5d555f7cd34fba9c406cad0a | [
"MIT"
] | null | null | null | python/fastquant/__init__.py | rafmacalaba/fastquant | b3436c8737a4ab1b5d555f7cd34fba9c406cad0a | [
"MIT"
] | null | null | null | from .fastquant import *
from .disclosures import *
from .strategies import *
from .network import *
from .config import *
| 20.5 | 26 | 0.756098 | 15 | 123 | 6.2 | 0.466667 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162602 | 123 | 5 | 27 | 24.6 | 0.902913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4dfb60e3d6a308fdcaaa78bb3395cf04f3b6592a | 229 | py | Python | Unimodal/Eval/__init__.py | hasamkhalid/FakeAVCeleb | 0d8d22a44e1750dd2885c5741d7b0a7796304a99 | [
"MIT"
] | 9 | 2021-09-20T02:07:38.000Z | 2022-01-03T07:54:01.000Z | Unimodal/Eval/__init__.py | alsgkals2/FakeAVCeleb | 0d8d22a44e1750dd2885c5741d7b0a7796304a99 | [
"MIT"
] | null | null | null | Unimodal/Eval/__init__.py | alsgkals2/FakeAVCeleb | 0d8d22a44e1750dd2885c5741d7b0a7796304a99 | [
"MIT"
] | 4 | 2021-09-12T09:30:42.000Z | 2021-12-30T10:34:01.000Z | __all__ = ['Eval_MesoInceptionNet','Eval_MesoNet','Eval_Xception','Eval_F3Net','Eval_EfficientB0','Eval_VGG16']#TO BE MODIFIED WITH BOTTOM TEXT
# __all__ = ['Eval_MesoInceptionNet','Eval_MesoNet','Eval_Headpose','Eval_Xception']
| 76.333333 | 143 | 0.790393 | 28 | 229 | 5.821429 | 0.535714 | 0.08589 | 0.282209 | 0.331288 | 0.466258 | 0.466258 | 0 | 0 | 0 | 0 | 0 | 0.018433 | 0.052402 | 229 | 2 | 144 | 114.5 | 0.732719 | 0.497817 | 0 | 0 | 0 | 0 | 0.725664 | 0.185841 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12eb664861eba4fea78f79aea4baf5b96c2059d1 | 39 | py | Python | CSGM/__init__.py | PSCLab-ASU/OpenICS | e8f639f9278ce88c98f14daf026a56395cb64ca9 | [
"CC0-1.0"
] | 13 | 2021-03-03T13:13:34.000Z | 2022-01-13T12:02:59.000Z | LDAMP/__init__.py | PSCLab-ASU/OpenICS | e8f639f9278ce88c98f14daf026a56395cb64ca9 | [
"CC0-1.0"
] | null | null | null | LDAMP/__init__.py | PSCLab-ASU/OpenICS | e8f639f9278ce88c98f14daf026a56395cb64ca9 | [
"CC0-1.0"
] | 2 | 2021-03-04T12:16:27.000Z | 2021-05-09T03:07:44.000Z | from . import *
from .main import main
| 13 | 22 | 0.717949 | 6 | 39 | 4.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 2 | 23 | 19.5 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
420355a8e34070fe81b798bae1fee36abf381b35 | 56,717 | py | Python | ee/clickhouse/queries/funnels/test/test_funnel_correlation.py | rightlyip/posthog | c00ad7a2b02df68930ca332675fc04ce4ed83a60 | [
"MIT"
] | null | null | null | ee/clickhouse/queries/funnels/test/test_funnel_correlation.py | rightlyip/posthog | c00ad7a2b02df68930ca332675fc04ce4ed83a60 | [
"MIT"
] | null | null | null | ee/clickhouse/queries/funnels/test/test_funnel_correlation.py | rightlyip/posthog | c00ad7a2b02df68930ca332675fc04ce4ed83a60 | [
"MIT"
] | null | null | null | import unittest
from typing import List
from uuid import uuid4
from rest_framework.exceptions import ValidationError
from ee.clickhouse.models.event import create_event
from ee.clickhouse.models.group import create_group
from ee.clickhouse.queries.funnels.funnel_correlation import EventContingencyTable, EventStats, F... | 39.662238 | 123 | 0.530441 | 5,938 | 56,717 | 4.82351 | 0.054227 | 0.039103 | 0.032679 | 0.049752 | 0.861113 | 0.840025 | 0.818937 | 0.805461 | 0.780742 | 0.754766 | 0 | 0.051861 | 0.343848 | 56,717 | 1,429 | 124 | 39.689993 | 0.717775 | 0.064249 | 0 | 0.667521 | 0 | 0.001709 | 0.197489 | 0.030816 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.015385 | false | 0 | 0.013675 | 0 | 0.034188 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42216e3109924961c75fd036232e1bdfd3fffa75 | 241 | py | Python | RecoVertex/BeamSpotProducer/python/BeamSpotNominalCollision_IntDB_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoVertex/BeamSpotProducer/python/BeamSpotNominalCollision_IntDB_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoVertex/BeamSpotProducer/python/BeamSpotNominalCollision_IntDB_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from RecoVertex.BeamSpotProducer.BeamSpotNominalCollision_cfi import *
BeamSpotNominal.connect = 'frontier://cms_conditions_data/CMS_COND_20X_BEAMSPOT' ##cms_conditions_data/CMS_COND_20X_BEAMSPOT"
| 34.428571 | 125 | 0.86722 | 29 | 241 | 6.827586 | 0.655172 | 0.131313 | 0.171717 | 0.20202 | 0.353535 | 0.353535 | 0.353535 | 0 | 0 | 0 | 0 | 0.017699 | 0.062241 | 241 | 6 | 126 | 40.166667 | 0.858407 | 0.174274 | 0 | 0 | 0 | 0 | 0.266667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
423cfe0d6b5dd54f8f80ae0720cd6a5f989f59bc | 224 | py | Python | holobot/extensions/moderation/reactive/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/extensions/moderation/reactive/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/extensions/moderation/reactive/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .log_on_moderation_command_used import LogOnModerationCommandUsed
from .log_on_moderation_menu_item_used import LogOnModerationMenuItemUsed
from .punish_on_enough_warns_accumulated import PunishOnEnoughWarnsAccumulated
| 56 | 78 | 0.933036 | 25 | 224 | 7.84 | 0.64 | 0.071429 | 0.091837 | 0.193878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 224 | 3 | 79 | 74.666667 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4289367c645608f84ff4da465338d39173dda85c | 142 | py | Python | plugins/jinja2/date.py | Saevon/saevon.github.io | 65609f9902740d6b873e4b5c5e8c295c9a0b62cb | [
"MIT"
] | null | null | null | plugins/jinja2/date.py | Saevon/saevon.github.io | 65609f9902740d6b873e4b5c5e8c295c9a0b62cb | [
"MIT"
] | null | null | null | plugins/jinja2/date.py | Saevon/saevon.github.io | 65609f9902740d6b873e4b5c5e8c295c9a0b62cb | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: UTF-8 -*-
from __future__ import unicode_literals
def date_to_xmlschema(date):
return date.isoformat()
| 15.777778 | 39 | 0.711268 | 19 | 142 | 4.947368 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.147887 | 142 | 8 | 40 | 17.75 | 0.768595 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
429c9ed0be93699a5978fdb2eeec5435608be410 | 22 | py | Python | dashboard/influxs/__init__.py | mr2cef/open_data_tyrol | 87ff1d8e00b65c26995c9ed3fa69be1a8698746c | [
"MIT"
] | 1 | 2021-08-20T18:17:41.000Z | 2021-08-20T18:17:41.000Z | dashboard/influxs/__init__.py | mr2cef/open_data_tyrol | 87ff1d8e00b65c26995c9ed3fa69be1a8698746c | [
"MIT"
] | null | null | null | dashboard/influxs/__init__.py | mr2cef/open_data_tyrol | 87ff1d8e00b65c26995c9ed3fa69be1a8698746c | [
"MIT"
] | null | null | null | from ._influx import * | 22 | 22 | 0.772727 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42a764e5d0d39f5967ebdc4e38d7dcdb6db5fad4 | 67 | py | Python | Python/imports/test.py | elaelheni/INF5190-H22 | 51f29399fd865b6a8de7dc65865fd1a99b9e5664 | [
"Apache-2.0"
] | 2 | 2022-02-14T21:19:01.000Z | 2022-03-25T04:32:18.000Z | Python/imports/test.py | elaelheni/INF5190-H22 | 51f29399fd865b6a8de7dc65865fd1a99b9e5664 | [
"Apache-2.0"
] | null | null | null | Python/imports/test.py | elaelheni/INF5190-H22 | 51f29399fd865b6a8de7dc65865fd1a99b9e5664 | [
"Apache-2.0"
] | 3 | 2022-02-20T16:34:09.000Z | 2022-03-23T01:55:13.000Z | def test():
print("je teste des trucs")
test()
print(__name__) | 13.4 | 31 | 0.656716 | 10 | 67 | 4 | 0.8 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 5 | 32 | 13.4 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
35ebe747c5dfe75209f7d1cb306d0f4ceb925048 | 27 | py | Python | src/euler_python_package/euler_python/medium/p417.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p417.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p417.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem417():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
35f46cd5096216a052cdf792b0f06bfef3f9d55c | 86 | py | Python | hypergeo/utils/__init__.py | jsleb333/hypergeometric_tail_inversion | 7141d2bfec97f8d2e162a389531f01ce6e931b7c | [
"MIT"
] | null | null | null | hypergeo/utils/__init__.py | jsleb333/hypergeometric_tail_inversion | 7141d2bfec97f8d2e162a389531f01ce6e931b7c | [
"MIT"
] | null | null | null | hypergeo/utils/__init__.py | jsleb333/hypergeometric_tail_inversion | 7141d2bfec97f8d2e162a389531f01ce6e931b7c | [
"MIT"
] | null | null | null | from hypergeo.utils.utils import *
from hypergeo.utils.func_to_cmd import func_to_cmd
| 28.666667 | 50 | 0.848837 | 15 | 86 | 4.6 | 0.466667 | 0.347826 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 51 | 43 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c40628b13a0f5a436b98498b7e662b20f50df183 | 30 | py | Python | strym/multimode/__init__.py | jmscslgroup/canviz | 27a43277b4f8b265d2fd9961cade26fbf0415a45 | [
"Unlicense"
] | 7 | 2020-02-13T06:44:11.000Z | 2022-01-31T00:43:55.000Z | strym/multimode/__init__.py | jmscslgroup/canviz | 27a43277b4f8b265d2fd9961cade26fbf0415a45 | [
"Unlicense"
] | 27 | 2020-03-31T23:11:29.000Z | 2022-03-30T00:09:19.000Z | strym/multimode/__init__.py | jmscslgroup/canviz | 27a43277b4f8b265d2fd9961cade26fbf0415a45 | [
"Unlicense"
] | 6 | 2020-03-11T18:19:31.000Z | 2022-01-24T23:13:43.000Z | from .platoons import platoons | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4126b19471973090ef62013fc115832e9e22228 | 19,988 | py | Python | src/.ipynb_checkpoints/losses-checkpoint.py | pherrusa7/Traffic4cast_NeurIPS_2019 | a5f1ce2bdbf116d29bd6b7810e164f895a30997e | [
"Apache-2.0"
] | 2 | 2020-07-26T20:55:42.000Z | 2020-07-28T22:35:22.000Z | src/losses.py | pherrusa7/Traffic4cast_NeurIPS_2019 | a5f1ce2bdbf116d29bd6b7810e164f895a30997e | [
"Apache-2.0"
] | 1 | 2021-09-14T07:15:36.000Z | 2021-09-14T07:15:36.000Z | src/.ipynb_checkpoints/losses-checkpoint.py | pherrusa7/Traffic4cast_NeurIPS_2019 | a5f1ce2bdbf116d29bd6b7810e164f895a30997e | [
"Apache-2.0"
] | 1 | 2020-05-28T08:26:06.000Z | 2020-05-28T08:26:06.000Z | import os
from keras import models, activations, losses, optimizers
from keras import backend as K
import numpy as np
from src.data import get_generators, format_bytes, data_postprocess, data_preprocess, exchange_HEADING, vec2tensor
from src.data import write_data, create_directory_structure, data_2_submission_forma... | 45.844037 | 162 | 0.611817 | 2,831 | 19,988 | 4.054398 | 0.091134 | 0.034152 | 0.017076 | 0.005576 | 0.825666 | 0.807284 | 0.770692 | 0.759453 | 0.744468 | 0.733142 | 0 | 0.01842 | 0.258505 | 19,988 | 436 | 163 | 45.844037 | 0.756022 | 0.210126 | 0 | 0.7 | 0 | 0 | 0.114673 | 0.035012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072 | false | 0 | 0.024 | 0.008 | 0.144 | 0.108 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c41d7085147719fade92e11c3f455536f228184e | 35 | py | Python | granite/__init__.py | raplonu/granite | b11c3ff89c983d35bcd8fa793ffb704e6f2d38ab | [
"MIT"
] | null | null | null | granite/__init__.py | raplonu/granite | b11c3ff89c983d35bcd8fa793ffb704e6f2d38ab | [
"MIT"
] | null | null | null | granite/__init__.py | raplonu/granite | b11c3ff89c983d35bcd8fa793ffb704e6f2d38ab | [
"MIT"
] | null | null | null | from .command.app import GraniteApp | 35 | 35 | 0.857143 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c422e9b2334907d07b27bc1aff950ef656b95adf | 1,488 | py | Python | coral/analysis/_sequencing/substitution_matrices/dna.py | klavinslab/coral | 17f59591211562a59a051f474cd6cecba4829df9 | [
"MIT"
] | 34 | 2015-12-26T22:13:51.000Z | 2021-11-17T11:46:37.000Z | coral/analysis/_sequencing/substitution_matrices/dna.py | klavinslab/coral | 17f59591211562a59a051f474cd6cecba4829df9 | [
"MIT"
] | 13 | 2015-09-11T23:27:51.000Z | 2018-06-25T20:44:28.000Z | coral/analysis/_sequencing/substitution_matrices/dna.py | klavinslab/coral | 17f59591211562a59a051f474cd6cecba4829df9 | [
"MIT"
] | 14 | 2015-10-08T17:08:48.000Z | 2022-02-22T04:25:54.000Z | import numpy as np
from .substitution_matrix import SubstitutionMatrix
DNA = SubstitutionMatrix(
np.array([[5, -4, -4, -4, -4, 1, 1, -4, -4, 1, -4, -1, -1, -1, -2, -4],
[-4, 5, -4, -4, -4, 1, -4, 1, 1, -4, -1, -4, -1, -1, -2, 5],
[-4, -4, 5, -4, 1, -4, 1, -4, 1, -4, -1, -1, -4, -1, -2,... | 48 | 76 | 0.24328 | 270 | 1,488 | 1.337037 | 0.059259 | 0.288089 | 0.216066 | 0.166205 | 0.626039 | 0.445983 | 0.288089 | 0.207756 | 0.119114 | 0.119114 | 0 | 0.290909 | 0.408602 | 1,488 | 30 | 77 | 49.6 | 0.119318 | 0 | 0 | 0.25 | 0 | 0 | 0.010753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c46bddfafb7753a9a01d00486f81d80e617bd60d | 250 | py | Python | resolwe/test_helpers/management/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 27 | 2015-12-07T18:29:12.000Z | 2022-03-16T08:01:47.000Z | resolwe/test_helpers/management/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 681 | 2015-12-01T11:52:24.000Z | 2022-03-21T07:43:37.000Z | resolwe/test_helpers/management/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 28 | 2015-12-01T08:32:57.000Z | 2021-12-14T00:04:16.000Z | """.. Ignore pydocstyle D400.
============
Test Helpers
============
.. automodule:: resolwe.test_helpers.management.commands.list_process_tags
:members:
.. automodule:: resolwe.test_helpers.management.commands.show_profile
:members:
"""
| 17.857143 | 74 | 0.672 | 24 | 250 | 6.791667 | 0.625 | 0.202454 | 0.257669 | 0.343558 | 0.564417 | 0.564417 | 0 | 0 | 0 | 0 | 0 | 0.013575 | 0.116 | 250 | 13 | 75 | 19.230769 | 0.723982 | 0.964 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c46c0b700f9aa3729b8df02c5eb0572cfe2e80f2 | 109 | py | Python | test/__init__.py | Lewis-Trowbridge/Go-To-Sleep-Revengeance | 2036381f86d482efdd944b30a1e065410f59fa0d | [
"MIT"
] | null | null | null | test/__init__.py | Lewis-Trowbridge/Go-To-Sleep-Revengeance | 2036381f86d482efdd944b30a1e065410f59fa0d | [
"MIT"
] | 5 | 2021-11-11T07:18:37.000Z | 2022-03-21T07:21:43.000Z | test/__init__.py | Lewis-Trowbridge/Go-To-Sleep-Revengeance | 2036381f86d482efdd944b30a1e065410f59fa0d | [
"MIT"
] | 1 | 2020-05-30T11:33:56.000Z | 2020-05-30T11:33:56.000Z | from .test_argparser import TestArgParser
from .test_times import TestTimes
from .test_pings import TestPings | 36.333333 | 41 | 0.87156 | 15 | 109 | 6.133333 | 0.6 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 109 | 3 | 42 | 36.333333 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
675ad6a9d14625f6f8a8acace85e87476d1ae9c6 | 196 | py | Python | src/autotrainer/autotrainer/blob/models/labelled_blob.py | JasonTheDeveloper/Custom-Vision-Autotrainer | 9a4cc786f116dccce747e47c1a804b03e8b52cc6 | [
"MIT"
] | 10 | 2019-05-21T04:10:11.000Z | 2021-12-15T05:47:11.000Z | src/autotrainer/autotrainer/blob/models/labelled_blob.py | JasonTheDeveloper/Custom-Vision-Autotrainer | 9a4cc786f116dccce747e47c1a804b03e8b52cc6 | [
"MIT"
] | 12 | 2019-02-24T21:51:06.000Z | 2019-03-30T04:00:17.000Z | src/autotrainer/autotrainer/blob/models/labelled_blob.py | xtellurian/Custom-Vision-Autotrainer | 6ede6d8d1dd4dc7fd4ffba8bfe0b19d2ce0569fe | [
"MIT"
] | 7 | 2019-11-06T21:01:59.000Z | 2021-09-13T12:50:55.000Z |
class LabelledBlob:
download_url: str
labels: [str]
def __init__(self, download_url: str, labels: [str]):
self.download_url = download_url
self.labels = labels | 24.5 | 58 | 0.632653 | 23 | 196 | 5.043478 | 0.391304 | 0.37931 | 0.241379 | 0.344828 | 0.396552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27551 | 196 | 8 | 59 | 24.5 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
67615efa8586bd37b9c8d68f9af855e12503679d | 38 | py | Python | src/textacy/spacier/__init__.py | techthiyanes/textacy | c7a5e1f881a3df63a89991accefcbd375ede5353 | [
"Apache-2.0"
] | null | null | null | src/textacy/spacier/__init__.py | techthiyanes/textacy | c7a5e1f881a3df63a89991accefcbd375ede5353 | [
"Apache-2.0"
] | null | null | null | src/textacy/spacier/__init__.py | techthiyanes/textacy | c7a5e1f881a3df63a89991accefcbd375ede5353 | [
"Apache-2.0"
] | null | null | null | from . import core, extensions, utils
| 19 | 37 | 0.763158 | 5 | 38 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 1 | 38 | 38 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
679013889346666d300db89f7ed47ec9c905bf6c | 47 | py | Python | app/routers/__init__.py | Simple2B/ClipWeb | 12861c14433ef655ae3a1156dace4a6ab91bf367 | [
"MIT"
] | null | null | null | app/routers/__init__.py | Simple2B/ClipWeb | 12861c14433ef655ae3a1156dace4a6ab91bf367 | [
"MIT"
] | null | null | null | app/routers/__init__.py | Simple2B/ClipWeb | 12861c14433ef655ae3a1156dace4a6ab91bf367 | [
"MIT"
] | null | null | null | # flake8: noqa F401
from .visit import router
| 11.75 | 25 | 0.744681 | 7 | 47 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.191489 | 47 | 3 | 26 | 15.666667 | 0.815789 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
679a81f7b0ce929da5b8fb45d0f265ce213539ee | 2,640 | py | Python | epytope/Data/pssms/smm/mat/B_58_01_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_58_01_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_58_01_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_58_01_11 = {0: {'A': 0.0, 'C': 0.0, 'E': 0.0, 'D': 0.0, 'G': 0.0, 'F': 0.0, 'I': -0.0, 'H': 0.0, 'K': -0.0, 'M': 0.0, 'L': -0.0, 'N': 0.0, 'Q': -0.0, 'P': 0.0, 'S': 0.0, 'R': 0.0, 'T': 0.0, 'W': 0.0, 'V': 0.0, 'Y': 0.0}, 1: {'A': -0.089, 'C': -0.068, 'E': 0.266, 'D': -0.059, 'G': 0.0, 'F': 0.158, 'I': 0.028, 'H': 0.0... | 2,640 | 2,640 | 0.37197 | 679 | 2,640 | 1.441826 | 0.192931 | 0.14096 | 0.024515 | 0.032686 | 0.319714 | 0.164454 | 0.164454 | 0.164454 | 0.14811 | 0.134831 | 0 | 0.345538 | 0.172348 | 2,640 | 1 | 2,640 | 2,640 | 0.102517 | 0 | 0 | 0 | 0 | 0 | 0.084438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67b6868e1c6c689968fa7dcf62931438ee1b85de | 96 | py | Python | src/ostorlab/cli/scan/stop/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 113 | 2022-02-21T09:30:14.000Z | 2022-03-31T21:54:26.000Z | src/ostorlab/cli/scan/stop/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 2 | 2022-02-25T10:56:55.000Z | 2022-03-24T13:08:06.000Z | src/ostorlab/cli/scan/stop/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 20 | 2022-02-28T14:25:04.000Z | 2022-03-30T23:01:11.000Z | """Module for sub-command of the command scan: stop."""
from ostorlab.cli.scan.stop import stop
| 32 | 55 | 0.75 | 16 | 96 | 4.5 | 0.75 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 2 | 56 | 48 | 0.857143 | 0.510417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1e30ef4204bf5134a64ed6a6086498c57c92073 | 12,330 | py | Python | model.py | styler00dollar/Colab-CSA-pytorch | 5e569581bc3d1870f0a9fe40fdb8254627fac184 | [
"MIT"
] | 29 | 2019-08-15T12:12:46.000Z | 2022-02-20T11:30:25.000Z | model.py | styler00dollar/Colab-CSA-pytorch | 5e569581bc3d1870f0a9fe40fdb8254627fac184 | [
"MIT"
] | 3 | 2019-10-15T06:48:34.000Z | 2020-12-17T11:26:58.000Z | model.py | styler00dollar/Colab-CSA-pytorch | 5e569581bc3d1870f0a9fe40fdb8254627fac184 | [
"MIT"
] | 8 | 2019-09-09T06:18:03.000Z | 2020-10-21T07:16:38.000Z | import torch
from torch import nn
import torch.nn.functional as F
def get_norm(name, out_channels):
if name == 'batch':
norm = nn.BatchNorm2d(out_channels)
elif name == 'instance':
norm = nn.InstanceNorm2d(out_channels)
else:
norm = None
return norm
def get_act(name):
if ... | 36.158358 | 100 | 0.605515 | 1,805 | 12,330 | 3.877008 | 0.054848 | 0.035724 | 0.104173 | 0.115747 | 0.823092 | 0.795513 | 0.782223 | 0.757645 | 0.732495 | 0.679623 | 0 | 0.055124 | 0.268775 | 12,330 | 340 | 101 | 36.264706 | 0.721051 | 0.003082 | 0 | 0.59707 | 0 | 0 | 0.010172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080586 | false | 0 | 0.010989 | 0.018315 | 0.172161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1e31b82c2570c9a0de317ff102a5ecd7e7ac2b0 | 22,354 | py | Python | webapp/tests/forms/steps/lotse/test_personal_data_steps.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 20 | 2021-07-02T07:49:08.000Z | 2022-03-18T22:26:10.000Z | webapp/tests/forms/steps/lotse/test_personal_data_steps.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 555 | 2021-06-28T15:35:15.000Z | 2022-03-31T11:51:55.000Z | webapp/tests/forms/steps/lotse/test_personal_data_steps.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 1 | 2021-07-04T20:34:12.000Z | 2021-07-04T20:34:12.000Z | import datetime
from unittest.mock import patch, MagicMock
import pytest
from flask.sessions import SecureCookieSession
from flask_babel import ngettext, _
from pydantic import ValidationError
from werkzeug.datastructures import MultiDict, ImmutableMultiDict
from app.forms.steps.lotse.personal_data import StepSteuern... | 50.121076 | 124 | 0.660106 | 2,517 | 22,354 | 5.436234 | 0.092571 | 0.038003 | 0.024337 | 0.032157 | 0.877001 | 0.844698 | 0.829058 | 0.807133 | 0.799752 | 0.776438 | 0 | 0.016997 | 0.244654 | 22,354 | 445 | 125 | 50.233708 | 0.793367 | 0 | 0 | 0.649171 | 0 | 0 | 0.171737 | 0.070905 | 0 | 0 | 0 | 0 | 0.107735 | 1 | 0.116022 | false | 0.002762 | 0.030387 | 0.01105 | 0.190608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c030db2f16cdd4bcaa3a9f65d5924b17bc16d280 | 12,882 | py | Python | auto/wpt_interface_test/case_suite/reprieve_loan.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2021-06-15T07:01:23.000Z | 2021-06-15T07:01:23.000Z | auto/wpt_interface_test/case_suite/reprieve_loan.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 3 | 2020-02-13T14:35:36.000Z | 2021-06-10T21:27:14.000Z | auto/wpt_interface_test/case_suite/reprieve_loan.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2020-04-09T02:13:12.000Z | 2020-04-09T02:13:12.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# @Time : 2019/8/30 8:23
# @Author : TangYong
# @Email : tangyonge@yonyou.com
# @File : reprieve_loan.py
# @Software: PyCharm
import sys
import requests
import unittest
from settings import config
from fun import public
from fun import fatp_db_server
class Reprie... | 33.9 | 117 | 0.624204 | 1,511 | 12,882 | 4.915288 | 0.095963 | 0.056954 | 0.094924 | 0.113909 | 0.83358 | 0.826983 | 0.777838 | 0.757102 | 0.745927 | 0.67093 | 0 | 0.008029 | 0.25555 | 12,882 | 380 | 118 | 33.9 | 0.766423 | 0.048517 | 0 | 0.565217 | 0 | 0 | 0.132122 | 0.012086 | 0 | 0 | 0 | 0 | 0.034783 | 1 | 0.034783 | false | 0 | 0.026087 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c04c9c42cf5836a1eff63a7d533e9e572094b517 | 222 | py | Python | exceptions.py | rafagonc/django-amqp-consumer | 9a14a3d62fbf533f2f340495f0037cc5a0799e6b | [
"MIT"
] | null | null | null | exceptions.py | rafagonc/django-amqp-consumer | 9a14a3d62fbf533f2f340495f0037cc5a0799e6b | [
"MIT"
] | null | null | null | exceptions.py | rafagonc/django-amqp-consumer | 9a14a3d62fbf533f2f340495f0037cc5a0799e6b | [
"MIT"
] | null | null | null |
class CannotFindQueueException(Exception):
def __init__(self, queue_name):
self.queue_name = queue_name
def __str__(self):
return "Cannot find queue: " + self.queue_name + " on django settings"
| 22.2 | 78 | 0.684685 | 26 | 222 | 5.384615 | 0.576923 | 0.257143 | 0.278571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225225 | 222 | 9 | 79 | 24.666667 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
c05847a970427ca9b7b78a9bd5d689741b3e088c | 40 | py | Python | torpido/exceptions/__init__.py | AP-Atul/Torpido | a646b4d6de7f2e2c96de4c64ce3113f53e3931c2 | [
"Unlicense"
] | 21 | 2020-12-23T07:13:10.000Z | 2022-01-12T10:32:22.000Z | torpido/exceptions/__init__.py | AP-Atul/Torpido | a646b4d6de7f2e2c96de4c64ce3113f53e3931c2 | [
"Unlicense"
] | 2 | 2020-12-30T10:45:42.000Z | 2021-09-25T09:52:00.000Z | torpido/exceptions/__init__.py | AP-Atul/Torpido | a646b4d6de7f2e2c96de4c64ce3113f53e3931c2 | [
"Unlicense"
] | 1 | 2021-02-06T21:39:41.000Z | 2021-02-06T21:39:41.000Z | from torpido.exceptions.custom import *
| 20 | 39 | 0.825 | 5 | 40 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c05a4c2bba8c9f85a65eca0b40600c663ee19113 | 202 | py | Python | components/camera.py | nancynobody/teddy | ac2bde38d2f9891e83b644e9092af63b9b33e705 | [
"MIT"
] | null | null | null | components/camera.py | nancynobody/teddy | ac2bde38d2f9891e83b644e9092af63b9b33e705 | [
"MIT"
] | null | null | null | components/camera.py | nancynobody/teddy | ac2bde38d2f9891e83b644e9092af63b9b33e705 | [
"MIT"
] | null | null | null | """CAMERA
"""
import picamera
class Camera:
def __init__(self):
self.camera = picamera.PiCamera()
def start_recording(self):
pass
def stop_recording(self):
pass
| 12.625 | 41 | 0.608911 | 22 | 202 | 5.318182 | 0.5 | 0.222222 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287129 | 202 | 15 | 42 | 13.466667 | 0.8125 | 0.029703 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.25 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c0699e70f27a08712282b97f1c28869c3ea3e6ab | 38,207 | py | Python | cryosat_toolkit/read_cryosat_L2.py | Sibada/read-cryosat-2 | 3267a0bb52857feb142a67cbb0e352160415c28f | [
"MIT"
] | null | null | null | cryosat_toolkit/read_cryosat_L2.py | Sibada/read-cryosat-2 | 3267a0bb52857feb142a67cbb0e352160415c28f | [
"MIT"
] | null | null | null | cryosat_toolkit/read_cryosat_L2.py | Sibada/read-cryosat-2 | 3267a0bb52857feb142a67cbb0e352160415c28f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
u"""
read_cryosat_L2.py
Written by Tyler Sutterley (10/2018)
Reads CryoSat Level-2 data products from baselines A, B and C
Supported CryoSat Modes: LRM, SAR, SARin, FDM, SID, GDR
INPUTS:
full_filename: full path of CryoSat .DBL file
OUTPUTS:
Data_1Hz: Time and Orbit Parameters
C... | 55.45283 | 93 | 0.710105 | 6,181 | 38,207 | 4.170199 | 0.080731 | 0.015247 | 0.034451 | 0.064595 | 0.822432 | 0.793102 | 0.779912 | 0.754268 | 0.738439 | 0.715123 | 0 | 0.037113 | 0.123407 | 38,207 | 688 | 94 | 55.53343 | 0.732503 | 0.291491 | 0 | 0.118357 | 0 | 0.002415 | 0.140185 | 0.030762 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014493 | false | 0 | 0.012077 | 0 | 0.041063 | 0.021739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbf12203c00167a6583c5273bfe342886b08eaa3 | 16,928 | py | Python | tests/gui/steps/oneprovider/file_browser.py | aoxiangflysky/onedata | 5fe5783f4fb23e90e6567d638a165a0bfcc2f663 | [
"Apache-2.0"
] | 2 | 2017-09-15T10:38:56.000Z | 2017-09-20T12:48:55.000Z | tests/gui/steps/oneprovider/file_browser.py | aoxiangflysky/onedata | 5fe5783f4fb23e90e6567d638a165a0bfcc2f663 | [
"Apache-2.0"
] | 31 | 2016-09-07T11:50:15.000Z | 2017-10-31T11:47:50.000Z | tests/gui/steps/oneprovider/file_browser.py | aoxiangflysky/onedata | 5fe5783f4fb23e90e6567d638a165a0bfcc2f663 | [
"Apache-2.0"
] | 1 | 2017-08-31T11:55:09.000Z | 2017-08-31T11:55:09.000Z | """Steps used for file list handling in various GUI testing scenarios
"""
from time import time
from datetime import datetime
import pytest
from pytest_bdd import when, then, parsers
from tests.gui.conftest import WAIT_BACKEND, SELENIUM_IMPLICIT_WAIT, WAIT_FRONTEND
from tests.gui.utils.generic import parse_seq, repe... | 47.684507 | 82 | 0.643785 | 2,268 | 16,928 | 4.541005 | 0.080688 | 0.090009 | 0.075736 | 0.097874 | 0.818041 | 0.814933 | 0.78862 | 0.769783 | 0.746092 | 0.727449 | 0 | 0.000791 | 0.252776 | 16,928 | 354 | 83 | 47.819209 | 0.813424 | 0.018608 | 0 | 0.564626 | 0 | 0 | 0.336325 | 0 | 0 | 0 | 0 | 0 | 0.085034 | 1 | 0.081633 | false | 0 | 0.020408 | 0 | 0.105442 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbfc223779491c516d4a00188f3cd001a39089dc | 258 | py | Python | omoide_index/domain/infra/__init__.py | IgorZyktin/omoide-index | b64cdc9e661b0b3d3b25a460f8bb0ef689ea81ad | [
"MIT"
] | null | null | null | omoide_index/domain/infra/__init__.py | IgorZyktin/omoide-index | b64cdc9e661b0b3d3b25a460f8bb0ef689ea81ad | [
"MIT"
] | 16 | 2021-12-22T02:27:24.000Z | 2022-03-31T02:26:07.000Z | omoide_index/domain/infra/__init__.py | IgorZyktin/omoide-index | b64cdc9e661b0b3d3b25a460f8bb0ef689ea81ad | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from omoide_index.domain.infra.abstract_clock import AbstractClock
from omoide_index.domain.infra.abstract_config import AbstractConfig
from omoide_index.domain.infra.abstract_memory_calculator import (
AbstractMemoryCalculator
)
| 36.857143 | 68 | 0.833333 | 31 | 258 | 6.709677 | 0.548387 | 0.144231 | 0.216346 | 0.302885 | 0.490385 | 0.490385 | 0 | 0 | 0 | 0 | 0 | 0.004255 | 0.089147 | 258 | 6 | 69 | 43 | 0.880851 | 0.081395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
223621529b2849d9a663d8fcfa232fd37ee2c856 | 5,808 | py | Python | tests/vmss/test_vmss_fetcher.py | ianalderman/chaostoolkit-azure | 1ed41aa19b005cd05faffe3a11446e13d53b781a | [
"Apache-2.0"
] | null | null | null | tests/vmss/test_vmss_fetcher.py | ianalderman/chaostoolkit-azure | 1ed41aa19b005cd05faffe3a11446e13d53b781a | [
"Apache-2.0"
] | null | null | null | tests/vmss/test_vmss_fetcher.py | ianalderman/chaostoolkit-azure | 1ed41aa19b005cd05faffe3a11446e13d53b781a | [
"Apache-2.0"
] | 2 | 2020-09-20T11:07:40.000Z | 2020-10-19T14:48:58.000Z | from unittest.mock import patch
import pytest
from chaoslib.exceptions import FailedActivity
import chaosazure
from chaosazure.vmss.actions import delete_vmss
from chaosazure.vmss.fetcher import fetch_vmss, fetch_instances
from tests.data import vmss_provider
@patch('chaosazure.vmss.fetcher.fetch_resources', autosp... | 36.993631 | 107 | 0.721763 | 769 | 5,808 | 5.093628 | 0.084525 | 0.071483 | 0.097013 | 0.089609 | 0.900179 | 0.860863 | 0.81542 | 0.786827 | 0.726576 | 0.708706 | 0 | 0.022579 | 0.153581 | 5,808 | 156 | 108 | 37.230769 | 0.774207 | 0.012397 | 0 | 0.612613 | 0 | 0 | 0.142034 | 0.036688 | 0 | 0 | 0 | 0 | 0.207207 | 1 | 0.072072 | false | 0 | 0.063063 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97d47ac5be712c13a3a8b67a284823eb26d57d2a | 1,825 | py | Python | tasks/docs.py | tmbb/playfair | cad2491c955259e0482a443cea94f5d334b6e05e | [
"MIT"
] | null | null | null | tasks/docs.py | tmbb/playfair | cad2491c955259e0482a443cea94f5d334b6e05e | [
"MIT"
] | null | null | null | tasks/docs.py | tmbb/playfair | cad2491c955259e0482a443cea94f5d334b6e05e | [
"MIT"
] | null | null | null | def make_example_image_1():
from playfair.compare import add_comparisons_to_axes, Comparison, stars
from matplotlib import pyplot as plt
import numpy as np
# Generate some data
d1 = np.linspace(1, 2, 55)
d2 = np.linspace(2, 2.5, 34)
# Create a comparison marker between populations at the p... | 34.433962 | 78 | 0.684384 | 288 | 1,825 | 4.177083 | 0.298611 | 0.119701 | 0.0532 | 0.0665 | 0.823774 | 0.780549 | 0.780549 | 0.717373 | 0.684123 | 0.684123 | 0 | 0.055517 | 0.210411 | 1,825 | 52 | 79 | 35.096154 | 0.77932 | 0.289315 | 0 | 0.413793 | 1 | 0 | 0.088716 | 0.049805 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.206897 | 0 | 0.275862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97ede6c37c4d381c2d5119717b7c6ab3912f1e2d | 22 | py | Python | python/app/thirdparty/dirsearch/thirdparty/requests/packages/__init__.py | taomujian/linbing | fe772a58f41e3b046b51a866bdb7e4655abaf51a | [
"MIT"
] | 351 | 2020-02-26T05:23:26.000Z | 2022-03-26T12:39:19.000Z | python/app/thirdparty/dirsearch/thirdparty/requests/packages/__init__.py | taomujian/linbing | fe772a58f41e3b046b51a866bdb7e4655abaf51a | [
"MIT"
] | 15 | 2020-03-26T07:31:49.000Z | 2022-03-09T02:12:17.000Z | python/app/thirdparty/dirsearch/thirdparty/requests/packages/__init__.py | taomujian/linbing | fe772a58f41e3b046b51a866bdb7e4655abaf51a | [
"MIT"
] | 99 | 2020-02-28T07:30:46.000Z | 2022-03-16T16:41:09.000Z | from . import urllib3
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
451f93db6e8045db8d799feecc51a41bba6dd94d | 46,395 | py | Python | font_6x8_src.py | azorg/font_6x8 | 6c889e1c89b1dc1902782057b5b151119ad6f379 | [
"BSD-3-Clause"
] | 1 | 2021-09-12T19:28:36.000Z | 2021-09-12T19:28:36.000Z | font_6x8_src.py | azorg/font_6x8 | 6c889e1c89b1dc1902782057b5b151119ad6f379 | [
"BSD-3-Clause"
] | null | null | null | font_6x8_src.py | azorg/font_6x8 | 6c889e1c89b1dc1902782057b5b151119ad6f379 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: UTF8 -*-
font_6x8_koi8r_src = [tuple(' ' * 12 for i in range(8)) for j in range(256)]
# ' ' "\u0020"
font_6x8_koi8r_src[0x20] = (
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ")
# '!'... | 17.892403 | 78 | 0.169005 | 2,092 | 46,395 | 3.426386 | 0.305927 | 0.240234 | 0.408482 | 0.506417 | 0.146066 | 0.13923 | 0.128488 | 0.120675 | 0.112026 | 0.107003 | 0 | 0.09907 | 0.518095 | 46,395 | 2,592 | 79 | 17.899306 | 0.218848 | 0.068801 | 0 | 0.869238 | 0 | 0 | 0.510276 | 0.001001 | 0 | 0 | 0.021344 | 0 | 0 | 1 | 0.002822 | false | 0 | 0 | 0 | 0.005644 | 0.010348 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18aeb369ef13926aa8f76586750af7fae5287599 | 10,362 | py | Python | pycity_calc/test/test_chp.py | RWTH-EBC/pyCity_calc | 99fd0dab7f9a9030fd84ba4715753364662927ec | [
"MIT"
] | 4 | 2020-06-22T14:14:25.000Z | 2021-11-08T11:47:01.000Z | pycity_calc/test/test_chp.py | RWTH-EBC/pyCity_calc | 99fd0dab7f9a9030fd84ba4715753364662927ec | [
"MIT"
] | 4 | 2019-08-28T19:42:28.000Z | 2019-08-28T19:43:44.000Z | pycity_calc/test/test_chp.py | RWTH-EBC/pyCity_calc | 99fd0dab7f9a9030fd84ba4715753364662927ec | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
"""
Test script for BatteryExtended class
"""
from __future__ import division
from decimal import *
import pycity_calc.energysystems.chp as Chp
import pycity_calc.economic.energy_sys_cost.chp_cost as chp_cost
from pycity_calc.test.pycity_calc_fixtures import fixture_environment, \... | 35.244898 | 74 | 0.585987 | 1,257 | 10,362 | 4.381862 | 0.115354 | 0.141612 | 0.103486 | 0.069717 | 0.828613 | 0.82244 | 0.792302 | 0.763253 | 0.730937 | 0.709877 | 0 | 0.060765 | 0.356784 | 10,362 | 293 | 75 | 35.365188 | 0.765641 | 0.068809 | 0 | 0.697115 | 0 | 0 | 0.008131 | 0 | 0 | 0 | 0 | 0.003413 | 0.158654 | 1 | 0.0625 | false | 0 | 0.024038 | 0 | 0.091346 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18b4c48d63e145af6c4c3ae24ea037a18aa0ee5d | 148 | py | Python | app/main/errors.py | Abzed/pitches-python | 28c9b1462f929ae4b84ca76d8d72092d460ba380 | [
"MIT"
] | null | null | null | app/main/errors.py | Abzed/pitches-python | 28c9b1462f929ae4b84ca76d8d72092d460ba380 | [
"MIT"
] | null | null | null | app/main/errors.py | Abzed/pitches-python | 28c9b1462f929ae4b84ca76d8d72092d460ba380 | [
"MIT"
] | null | null | null | from flask import render_template
from . import main
@main.app_errorhandler(404)
def fo_o_fo(error):
return render_template('fo_o_fo.html'),404 | 24.666667 | 46 | 0.790541 | 25 | 148 | 4.4 | 0.6 | 0.254545 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 0.114865 | 148 | 6 | 46 | 24.666667 | 0.793893 | 0 | 0 | 0 | 0 | 0 | 0.080537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
18ca96d80812360b0d02f2e1f9d5dbb3519fe7ad | 10,160 | py | Python | testcases/security_scan/connect.py | rski/functest-mirror | 7a2538438eab7a406c821acd7c72352f4a6ba364 | [
"Apache-2.0"
] | null | null | null | testcases/security_scan/connect.py | rski/functest-mirror | 7a2538438eab7a406c821acd7c72352f4a6ba364 | [
"Apache-2.0"
] | null | null | null | testcases/security_scan/connect.py | rski/functest-mirror | 7a2538438eab7a406c821acd7c72352f4a6ba364 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#
# Copyright (c) 2016 Red Hat
# Luke Hinds (lhinds@redhat.com)
# This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 0.1: OpenS... | 41.469388 | 75 | 0.585728 | 1,039 | 10,160 | 5.614052 | 0.169394 | 0.031202 | 0.04526 | 0.046288 | 0.737871 | 0.710441 | 0.710441 | 0.710441 | 0.695183 | 0.695183 | 0 | 0.015376 | 0.308661 | 10,160 | 244 | 76 | 41.639344 | 0.815063 | 0.06063 | 0 | 0.731343 | 0 | 0 | 0.132773 | 0.002206 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.00995 | 0.019901 | null | null | 0.004975 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18f237b1bdcfc940cf58e3a2abd3ce6c3dbd7088 | 32,955 | py | Python | zfit/_loss/binnedloss.py | nsahoo/zfit | fcad2578f31138f5383f7fa5de6c0f8c6b1dbaa4 | [
"BSD-3-Clause"
] | null | null | null | zfit/_loss/binnedloss.py | nsahoo/zfit | fcad2578f31138f5383f7fa5de6c0f8c6b1dbaa4 | [
"BSD-3-Clause"
] | null | null | null | zfit/_loss/binnedloss.py | nsahoo/zfit | fcad2578f31138f5383f7fa5de6c0f8c6b1dbaa4 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2021 zfit
from typing import Iterable, Optional, Set
import numpy as np
import tensorflow as tf
from uhi.typing.plottable import PlottableHistogram
from .. import z
from ..core.interfaces import ZfitBinnedData, ZfitBinnedPDF
from ..core.loss import BaseLoss
from ..util import ztyping
from ..util.chec... | 48.250366 | 161 | 0.626491 | 4,120 | 32,955 | 4.913107 | 0.100728 | 0.014228 | 0.013833 | 0.008398 | 0.854708 | 0.844087 | 0.837368 | 0.82892 | 0.818891 | 0.816026 | 0 | 0.005459 | 0.294037 | 32,955 | 682 | 162 | 48.321114 | 0.864603 | 0.528842 | 0 | 0.611888 | 0 | 0 | 0.106352 | 0.006286 | 0 | 0 | 0 | 0.007331 | 0 | 1 | 0.08042 | false | 0 | 0.048951 | 0.017483 | 0.199301 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a09afedf6f9ee42306fe61a4fd8f4fdec0a20f5 | 11,014 | py | Python | mistral/db/sqlalchemy/migration/alembic_migrations/versions/001_kilo.py | shubhamdang/mistral | 3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d | [
"Apache-2.0"
] | 205 | 2015-06-21T11:51:47.000Z | 2022-03-05T04:00:04.000Z | mistral/db/sqlalchemy/migration/alembic_migrations/versions/001_kilo.py | shubhamdang/mistral | 3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d | [
"Apache-2.0"
] | 8 | 2015-06-23T14:47:58.000Z | 2021-01-28T06:06:44.000Z | mistral/db/sqlalchemy/migration/alembic_migrations/versions/001_kilo.py | shubhamdang/mistral | 3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d | [
"Apache-2.0"
] | 110 | 2015-06-14T03:34:38.000Z | 2021-11-11T12:12:56.000Z | # Copyright 2015 OpenStack Foundation.
#
# 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 wri... | 48.09607 | 78 | 0.638551 | 1,364 | 11,014 | 5.075513 | 0.1261 | 0.146757 | 0.218402 | 0.286003 | 0.829265 | 0.812942 | 0.729597 | 0.687563 | 0.653763 | 0.639607 | 0 | 0.019166 | 0.18994 | 11,014 | 228 | 79 | 48.307018 | 0.756781 | 0.061649 | 0 | 0.63 | 0 | 0 | 0.14632 | 0.01086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005 | false | 0 | 0.015 | 0 | 0.02 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a15c8b10b6be644cfeed0310573c5374df35e24 | 27 | py | Python | limix_ext/gcta/__init__.py | glimix/limix-ext | 7cf7a3b2b02f6a73cbba90f1945a06b9295b7357 | [
"MIT"
] | null | null | null | limix_ext/gcta/__init__.py | glimix/limix-ext | 7cf7a3b2b02f6a73cbba90f1945a06b9295b7357 | [
"MIT"
] | 2 | 2017-06-05T08:29:22.000Z | 2017-06-07T16:54:54.000Z | limix_ext/gcta/__init__.py | glimix/limix-ext | 7cf7a3b2b02f6a73cbba90f1945a06b9295b7357 | [
"MIT"
] | null | null | null | from . import heritability
| 13.5 | 26 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1b2782c8ce4b0270809102f21fc90c1f96879b8 | 189 | py | Python | tax_calc/filing_status.py | dayfine/tax_calc | 4315e79c10f117cb56603d3e232792e01d37781e | [
"MIT"
] | null | null | null | tax_calc/filing_status.py | dayfine/tax_calc | 4315e79c10f117cb56603d3e232792e01d37781e | [
"MIT"
] | null | null | null | tax_calc/filing_status.py | dayfine/tax_calc | 4315e79c10f117cb56603d3e232792e01d37781e | [
"MIT"
] | null | null | null | import enum
class FilingStatus(enum.Enum):
SINGLE = enum.auto()
MARRIED_FILING_JOINTLY = enum.auto()
MARRIED_FILING_SEPARATELY = enum.auto()
HEAD_OF_HOUSEHOLD = enum.auto() | 27 | 43 | 0.724868 | 24 | 189 | 5.458333 | 0.541667 | 0.244275 | 0.229008 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169312 | 189 | 7 | 44 | 27 | 0.834395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e1bbeb4f4d91df2cacca1635c97a67bf7db70b8f | 157 | py | Python | pdml2flow-new-plugin.py | Enteee/pdml2flow | 2e5da6f03bc799f0e8ef77dd987031b969d4a5df | [
"Apache-2.0"
] | 12 | 2016-04-01T10:59:14.000Z | 2022-01-27T04:05:43.000Z | pdml2flow-new-plugin.py | Enteee/pdml2flow | 2e5da6f03bc799f0e8ef77dd987031b969d4a5df | [
"Apache-2.0"
] | 16 | 2016-03-18T10:44:00.000Z | 2019-08-12T05:52:24.000Z | pdml2flow-new-plugin.py | Enteee/pdml2flow | 2e5da6f03bc799f0e8ef77dd987031b969d4a5df | [
"Apache-2.0"
] | 2 | 2016-09-08T11:49:39.000Z | 2020-09-09T04:39:15.000Z | #!/usr/bin/env python3
# vim: set fenc=utf8 ts=4 sw=4 et :
from pdml2flow import pdml2flow_new_plugin
if __name__ == '__main__':
pdml2flow_new_plugin()
| 22.428571 | 42 | 0.732484 | 25 | 157 | 4.12 | 0.8 | 0.23301 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.152866 | 157 | 6 | 43 | 26.166667 | 0.721805 | 0.350318 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bed61d0301287edb78f1bb38264d567bbbb2b789 | 5,370 | py | Python | tests/test_transition_masks.py | sagnik/baseline | 8d75616e04c1cca509dbebbb6d08ad7e1a7b9f88 | [
"Apache-2.0"
] | 241 | 2016-04-25T20:02:31.000Z | 2019-09-03T05:44:09.000Z | tests/test_transition_masks.py | sagnik/baseline | 8d75616e04c1cca509dbebbb6d08ad7e1a7b9f88 | [
"Apache-2.0"
] | 131 | 2019-10-12T10:53:17.000Z | 2021-12-03T19:52:47.000Z | tests/test_transition_masks.py | sagnik/baseline | 8d75616e04c1cca509dbebbb6d08ad7e1a7b9f88 | [
"Apache-2.0"
] | 75 | 2016-06-28T01:18:58.000Z | 2019-08-29T06:47:22.000Z | import pytest
from eight_mile.utils import transition_mask
IOBv = {"<PAD>": 0, "<GO>": 1, "<EOS>": 2, "B-X": 3, "I-X": 4, "B-X-Y": 5, "I-X-Y": 6, "O": 7}
BIOv = IOBv
IOBESv = {
"<PAD>": 0,
"<GO>": 1,
"<EOS>": 2,
"B-X": 3,
"I-X": 4,
"E-X": 5,
"S-X": 6,
"B-X-Y": 7,
"I-X-Y": 8,
"... | 31.588235 | 94 | 0.550838 | 876 | 5,370 | 3.312785 | 0.057078 | 0.238801 | 0.363198 | 0.248105 | 0.805996 | 0.715713 | 0.649897 | 0.393866 | 0.307719 | 0.202963 | 0 | 0.021876 | 0.174302 | 5,370 | 169 | 95 | 31.775148 | 0.632612 | 0 | 0 | 0.137097 | 0 | 0 | 0.120857 | 0 | 0 | 0 | 0 | 0 | 0.629032 | 1 | 0.169355 | false | 0 | 0.016129 | 0.024194 | 0.209677 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
befb3a0760cc473c85eb3f0e827c3857d7ca2b8e | 26 | py | Python | mail_to_sms/__init__.py | naschorr/mail-to-sms | 40acd30b1ebccf350713c6b17d5b9b313e3f39d6 | [
"MIT"
] | 5 | 2017-08-15T03:57:14.000Z | 2022-01-24T00:37:27.000Z | mail_to_sms/__init__.py | agcashdaum/mail-to-sms | b1d9bcaf20570192b82a0684e595f9ed000335e1 | [
"MIT"
] | 2 | 2021-05-03T06:01:17.000Z | 2021-10-30T07:53:34.000Z | mail_to_sms/__init__.py | agcashdaum/mail-to-sms | b1d9bcaf20570192b82a0684e595f9ed000335e1 | [
"MIT"
] | 4 | 2018-01-25T09:14:18.000Z | 2021-09-21T06:25:22.000Z | from .mail_to_sms import * | 26 | 26 | 0.807692 | 5 | 26 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8366bc46f113764791ef128e075b6f9df98a13cd | 27 | py | Python | 2018-01/2018-01-23/animal/animal.py | wenjuanchendora/Python_Study | 02d08229210602edf4e1fa96fd7167356275e316 | [
"MIT"
] | null | null | null | 2018-01/2018-01-23/animal/animal.py | wenjuanchendora/Python_Study | 02d08229210602edf4e1fa96fd7167356275e316 | [
"MIT"
] | null | null | null | 2018-01/2018-01-23/animal/animal.py | wenjuanchendora/Python_Study | 02d08229210602edf4e1fa96fd7167356275e316 | [
"MIT"
] | null | null | null | def run():
print("run") | 13.5 | 16 | 0.518519 | 4 | 27 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 2 | 16 | 13.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3607b17a7ea85fbdf681d26efbd8046602b81f6b | 258,376 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/92.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/92.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/92.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 19309
passenger_arriving = (
(5, 2, 2, 5, 2, 1, 4, 1, 1, 2, 0, 1, 0, 7, 7, 2, 1, 8, 0, 1, 2, 2, 4, 1, 1, 0), # 0
(4, 11, 5, 2, 2, 4, 6, 0, 3, 1, 0, 1, 0, 5, 3, 3, 0, 6, 4, 2, 2, 2, 0, 1, 1, 0), # 1
(8, 8, 1, 6, 2, 2, 2, 3, 1, 0, 0, 1, 0, 8, 7, 4, 5, 6, 6, 0, 1, 3, 1, 0, 2, 0),... | 276.337968 | 494 | 0.769623 | 32,987 | 258,376 | 6.027859 | 0.2166 | 0.358477 | 0.343993 | 0.651777 | 0.375913 | 0.367314 | 0.364759 | 0.363939 | 0.363939 | 0.363939 | 0 | 0.849856 | 0.095729 | 258,376 | 934 | 495 | 276.633833 | 0.001194 | 0.015524 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
362a3ccfb5c08880a373a77798da06c480ea8367 | 96 | py | Python | venv/lib/python3.8/site-packages/future/moves/reprlib.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/moves/reprlib.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/moves/reprlib.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/36/de/6c/520310de379522e92a4873af074508b25e98e6dfa6993ff5de6a599a26 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3650ffa2f133264e813a879801171ae94bfce644 | 23 | py | Python | vsbuy_backend/products/models/__init__.py | Edward-TL/vsbuy_backend | e6b3e71d6c0e6b253707489d70d951400acac451 | [
"MIT"
] | null | null | null | vsbuy_backend/products/models/__init__.py | Edward-TL/vsbuy_backend | e6b3e71d6c0e6b253707489d70d951400acac451 | [
"MIT"
] | 13 | 2019-12-09T02:38:36.000Z | 2022-03-12T00:33:57.000Z | vsbuy_backend/products/models/__init__.py | Edward-TL/vsbuy_backend | e6b3e71d6c0e6b253707489d70d951400acac451 | [
"MIT"
] | 1 | 2020-10-05T01:21:59.000Z | 2020-10-05T01:21:59.000Z | from .products import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.