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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c6bc35a605030acc356cb23c9568d0d3542f104 | 12,121 | py | Python | tests/feature_extraction/test_extraction.py | mynameisvinn/tsfresh | 4546e16f42110f16b90c02e0328048b99b7e747b | [
"MIT"
] | 1 | 2021-02-24T09:30:50.000Z | 2021-02-24T09:30:50.000Z | tests/feature_extraction/test_extraction.py | mynameisvinn/tsfresh | 4546e16f42110f16b90c02e0328048b99b7e747b | [
"MIT"
] | null | null | null | tests/feature_extraction/test_extraction.py | mynameisvinn/tsfresh | 4546e16f42110f16b90c02e0328048b99b7e747b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# This file as well as the whole tsfresh package are licenced under the MIT licence (see the LICENCE.txt)
# Maximilian Christ (maximilianchrist.com), Blue Yonder Gmbh, 2016
from __future__ import absolute_import, division
import numpy as np
import pandas as pd
from tests.fixtures import DataTes... | 57.719048 | 112 | 0.630394 | 1,436 | 12,121 | 5.036212 | 0.126741 | 0.155144 | 0.084071 | 0.099834 | 0.85896 | 0.853153 | 0.837113 | 0.822041 | 0.806831 | 0.800747 | 0 | 0.02924 | 0.252289 | 12,121 | 209 | 113 | 57.995215 | 0.76873 | 0.044633 | 0 | 0.698113 | 0 | 0 | 0.039941 | 0.002507 | 0 | 0 | 0 | 0.004785 | 0.358491 | 1 | 0.075472 | false | 0 | 0.050314 | 0 | 0.138365 | 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 |
1306dd3b562c8aa8613efda24a8c5defd1dbfcbe | 17,056 | py | Python | pgAdmin/pgadmin4/web/pgadmin/browser/server_groups/servers/databases/external_tables/tests/test_external_tables_view.py | WeilerWebServices/PostgreSQL | ae594ed077bebbad1be3c1d95c38b7c2c2683e8c | [
"PostgreSQL"
] | null | null | null | pgAdmin/pgadmin4/web/pgadmin/browser/server_groups/servers/databases/external_tables/tests/test_external_tables_view.py | WeilerWebServices/PostgreSQL | ae594ed077bebbad1be3c1d95c38b7c2c2683e8c | [
"PostgreSQL"
] | null | null | null | pgAdmin/pgadmin4/web/pgadmin/browser/server_groups/servers/databases/external_tables/tests/test_external_tables_view.py | WeilerWebServices/PostgreSQL | ae594ed077bebbad1be3c1d95c38b7c2c2683e8c | [
"PostgreSQL"
] | null | null | null | ##########################################################################
#
# pgAdmin 4 - PostgreSQL Tools
#
# Copyright (C) 2013 - 2020, The pgAdmin Development Team
# This software is released under the PostgreSQL Licence
#
##########################################################################
import os
from p... | 39.573086 | 78 | 0.541628 | 1,586 | 17,056 | 5.472257 | 0.115385 | 0.050697 | 0.048162 | 0.038945 | 0.80136 | 0.779929 | 0.756078 | 0.748012 | 0.709874 | 0.691093 | 0 | 0.019014 | 0.361691 | 17,056 | 430 | 79 | 39.665116 | 0.778176 | 0.00815 | 0 | 0.694444 | 0 | 0 | 0.19926 | 0.069562 | 0 | 0 | 0 | 0 | 0.04798 | 1 | 0.017677 | false | 0 | 0.010101 | 0 | 0.032828 | 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 |
1350b7acaba84f26e245f16581b9b17a8d3badb2 | 90,552 | py | Python | ckan/tests/legacy/functional/api/test_activity.py | Engerrs/ckan | dbf5173c1b8c2e64048435de35d190e47441ac29 | [
"Apache-2.0"
] | 2 | 2017-05-17T04:19:09.000Z | 2017-08-07T20:54:34.000Z | ckan/tests/legacy/functional/api/test_activity.py | Engerrs/ckan | dbf5173c1b8c2e64048435de35d190e47441ac29 | [
"Apache-2.0"
] | 4 | 2017-05-29T03:39:27.000Z | 2017-08-07T22:37:36.000Z | ckan/tests/legacy/functional/api/test_activity.py | Engerrs/ckan | dbf5173c1b8c2e64048435de35d190e47441ac29 | [
"Apache-2.0"
] | 2 | 2017-02-10T09:25:01.000Z | 2021-09-20T18:55:29.000Z | # encoding: utf-8
'''Functional tests for the public activity streams API.
This module tests the contents of the various public activity streams:
use activity streams, dataset activity streams, group activity streams, etc.
This module _does not_ test the private user dashboard activity stream (which
is different bec... | 42.753541 | 79 | 0.608026 | 10,622 | 90,552 | 5.00499 | 0.032856 | 0.047684 | 0.024942 | 0.022929 | 0.86058 | 0.835243 | 0.817298 | 0.804187 | 0.793653 | 0.779753 | 0 | 0.00381 | 0.281175 | 90,552 | 2,117 | 80 | 42.773736 | 0.812939 | 0.161355 | 0 | 0.693793 | 0 | 0 | 0.204762 | 0.015254 | 0 | 0 | 0 | 0.005196 | 0.19931 | 1 | 0.048966 | false | 0.00069 | 0.008966 | 0.00069 | 0.068966 | 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 |
136feab7c23a58fd646b9dd969ea1bfbe6b202ba | 32 | py | Python | main.py | AmerikancIIKotik/nepotik | a080a679a45dffebbe45fb225cca189f583e278d | [
"Unlicense"
] | null | null | null | main.py | AmerikancIIKotik/nepotik | a080a679a45dffebbe45fb225cca189f583e278d | [
"Unlicense"
] | null | null | null | main.py | AmerikancIIKotik/nepotik | a080a679a45dffebbe45fb225cca189f583e278d | [
"Unlicense"
] | null | null | null | print("welcome to the internet") | 32 | 32 | 0.78125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 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 |
139038ea2d15321ff9025395d11310f480c640d2 | 120 | py | Python | genetic_file_gestion.py | Dratui/AI-Arena | e9693e34a90523bbb86eb2ad3b2c3e9797beed5c | [
"MIT"
] | 2 | 2018-11-16T08:18:42.000Z | 2018-11-22T08:44:10.000Z | genetic_file_gestion.py | Dratui/2048_online | e9693e34a90523bbb86eb2ad3b2c3e9797beed5c | [
"MIT"
] | 15 | 2018-11-16T10:52:24.000Z | 2018-11-23T08:36:17.000Z | genetic_file_gestion.py | Dratui/AI-Arena | e9693e34a90523bbb86eb2ad3b2c3e9797beed5c | [
"MIT"
] | 2 | 2018-11-15T09:32:36.000Z | 2018-11-16T08:56:54.000Z | from genetics.genetic_file_gestion import *
from genetics import *
do_work_for_genetic('genetics/to_do_simple_sum.txt')
| 30 | 52 | 0.85 | 19 | 120 | 4.947368 | 0.684211 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 120 | 3 | 53 | 40 | 0.846847 | 0 | 0 | 0 | 0 | 0 | 0.241667 | 0.241667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
13912aba35f12330a8e2ffaf3a87b981495b29e1 | 16,814 | py | Python | AppDB/test/unit/test_zookeeper.py | obino/appscale | be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f | [
"Apache-2.0"
] | 1 | 2017-04-07T15:33:35.000Z | 2017-04-07T15:33:35.000Z | AppDB/test/unit/test_zookeeper.py | obino/appscale | be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f | [
"Apache-2.0"
] | 1 | 2016-10-27T17:23:54.000Z | 2016-10-27T17:23:54.000Z | AppDB/test/unit/test_zookeeper.py | obino/appscale | be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Programmer: Navraj Chohan <nlake44@gmail.com>
import kazoo.client
import kazoo.exceptions
import kazoo.protocol
import kazoo.protocol.states
import unittest
from appscale.datastore.dbconstants import MAX_GROUPS_FOR_XG
from appscale.datastore.zkappscale import zktransaction as zk
from appscale.... | 41.930175 | 97 | 0.739086 | 2,148 | 16,814 | 5.523277 | 0.081937 | 0.094235 | 0.078473 | 0.107384 | 0.852158 | 0.837492 | 0.816841 | 0.799225 | 0.773685 | 0.732637 | 0 | 0.003117 | 0.14137 | 16,814 | 400 | 98 | 42.035 | 0.81866 | 0.097419 | 0 | 0.617857 | 0 | 0 | 0.126289 | 0.021687 | 0 | 0 | 0 | 0.0025 | 0.1 | 1 | 0.057143 | false | 0.003571 | 0.035714 | 0 | 0.096429 | 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 |
b942545436d92e198d00bed7c48ac7ef961fc506 | 14,514 | py | Python | meregistro/apps/ws/views.py | MERegistro/meregistro | 6cde3cab2bd1a8e3084fa38147de377d229391e3 | [
"BSD-3-Clause"
] | null | null | null | meregistro/apps/ws/views.py | MERegistro/meregistro | 6cde3cab2bd1a8e3084fa38147de377d229391e3 | [
"BSD-3-Clause"
] | null | null | null | meregistro/apps/ws/views.py | MERegistro/meregistro | 6cde3cab2bd1a8e3084fa38147de377d229391e3 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: UTF-8 -*-
from django.views.decorators.http import require_http_methods
from django.http import HttpResponse
import simplejson as json
from django.core import serializers
import json
import datetime
@require_http_methods(["GET"])
def getOfertaPorAnio(request, anio):
anios_disponibles = ['2013', '201... | 63.938326 | 495 | 0.764917 | 1,796 | 14,514 | 5.987751 | 0.087416 | 0.027618 | 0.040171 | 0.051888 | 0.890552 | 0.878743 | 0.865259 | 0.830575 | 0.830575 | 0.813279 | 0 | 0.005648 | 0.109412 | 14,514 | 226 | 496 | 64.221239 | 0.826319 | 0.001447 | 0 | 0.538462 | 0 | 0 | 0.338389 | 0.084715 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064103 | false | 0 | 0.128205 | 0 | 0.269231 | 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 |
b948a9593a4be856d6ee20ddf88658211418ab37 | 35 | py | Python | python-jumpstart/lesson1/task1/task.py | miami-acm/pycharm-courses | 92b9b0ec3f0b6141b6798bf07e8a1f0dabad3866 | [
"MIT"
] | null | null | null | python-jumpstart/lesson1/task1/task.py | miami-acm/pycharm-courses | 92b9b0ec3f0b6141b6798bf07e8a1f0dabad3866 | [
"MIT"
] | null | null | null | python-jumpstart/lesson1/task1/task.py | miami-acm/pycharm-courses | 92b9b0ec3f0b6141b6798bf07e8a1f0dabad3866 | [
"MIT"
] | null | null | null | # TODO: Write print('Hello World')
| 17.5 | 34 | 0.685714 | 5 | 35 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.8 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b97a3b15f2e459305930da75b9b16b0c344127ce | 95 | py | Python | world.py | d-wire/cs3240-labdemo | e38647b11ad2d9f210e0b000ec94c0088f287a87 | [
"MIT"
] | null | null | null | world.py | d-wire/cs3240-labdemo | e38647b11ad2d9f210e0b000ec94c0088f287a87 | [
"MIT"
] | null | null | null | world.py | d-wire/cs3240-labdemo | e38647b11ad2d9f210e0b000ec94c0088f287a87 | [
"MIT"
] | null | null | null | def whats_up_world():
print("What's up world?")
if __name__ == "__main__":
whats_up_world()
| 15.833333 | 26 | 0.694737 | 15 | 95 | 3.6 | 0.666667 | 0.388889 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 27 | 19 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9ac47a57d227dd150ddceda930cfd254e0ec203 | 153 | py | Python | routers/utils/__init__.py | Waifu-im/waifu.im | 0e4a3ac55f6c135c1e5ffd350898ea3077e052d8 | [
"MIT"
] | 6 | 2021-11-26T08:30:35.000Z | 2022-02-22T15:07:03.000Z | routers/utils/__init__.py | Waifu-im/waifu-api | e0408748a78f41e846dfab7ff40ca5c53f086905 | [
"MIT"
] | 2 | 2021-12-17T15:18:25.000Z | 2022-02-20T15:25:52.000Z | routers/utils/__init__.py | Waifu-im/waifu-api | e0408748a78f41e846dfab7ff40ca5c53f086905 | [
"MIT"
] | 1 | 2022-02-24T05:00:37.000Z | 2022-02-24T05:00:37.000Z | from .authorization import *
from .formatings import *
from .types import *
from .constants import *
from .discord import *
from .queries import *
| 21.857143 | 29 | 0.72549 | 18 | 153 | 6.166667 | 0.444444 | 0.45045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 153 | 6 | 30 | 25.5 | 0.902439 | 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 |
6a0234fc1c95197b391a225cd2e65391090db78d | 39 | py | Python | api/__init__.py | ohduran/autogram | e24c7ff40c44cd0eabf8018e61ad5fe0b422a6a1 | [
"MIT"
] | null | null | null | api/__init__.py | ohduran/autogram | e24c7ff40c44cd0eabf8018e61ad5fe0b422a6a1 | [
"MIT"
] | null | null | null | api/__init__.py | ohduran/autogram | e24c7ff40c44cd0eabf8018e61ad5fe0b422a6a1 | [
"MIT"
] | null | null | null | from .base import InstagramBot # noqa
| 19.5 | 38 | 0.769231 | 5 | 39 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 1 | 39 | 39 | 0.9375 | 0.102564 | 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 |
6a1e76821f301e3956b4ddb63f286229e7384883 | 9,168 | py | Python | tests/test_evaluation.py | ezietsman/lightfm | 59303f4436fc31adc569a277b94b07e4509a6ab2 | [
"Apache-2.0"
] | null | null | null | tests/test_evaluation.py | ezietsman/lightfm | 59303f4436fc31adc569a277b94b07e4509a6ab2 | [
"Apache-2.0"
] | null | null | null | tests/test_evaluation.py | ezietsman/lightfm | 59303f4436fc31adc569a277b94b07e4509a6ab2 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pytest
import scipy.sparse as sp
from sklearn.metrics import roc_auc_score
from lightfm import LightFM, evaluation
def _generate_data(num_users, num_items, density=0.1, test_fraction=0.2):
# Generate a dataset where every user has interactions
# in both the train and the test set... | 32.055944 | 100 | 0.682046 | 1,269 | 9,168 | 4.689519 | 0.122143 | 0.011091 | 0.025542 | 0.030583 | 0.80373 | 0.767098 | 0.730465 | 0.721727 | 0.664594 | 0.6041 | 0 | 0.012258 | 0.21695 | 9,168 | 285 | 101 | 32.168421 | 0.816688 | 0.070681 | 0 | 0.538012 | 1 | 0 | 0.001764 | 0 | 0 | 0 | 0 | 0 | 0.081871 | 1 | 0.052632 | false | 0 | 0.02924 | 0 | 0.105263 | 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 |
6a2b2fe848f779390d0cbd67106332b874dcced4 | 16,461 | py | Python | src/tests/test_pagure_flask_ui_repo_delete_project.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_flask_ui_repo_delete_project.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_flask_ui_repo_delete_project.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
"""
(c) 2017 - Copyright Red Hat Inc
Authors:
Pierre-Yves Chibon <pingou@pingoured.fr>
"""
from __future__ import unicode_literals, absolute_import
import sys
import os
import pagure_messages
from mock import ANY, patch, MagicMock
from fedora_messaging import testing
sys.path.insert(... | 39.47482 | 91 | 0.529555 | 1,609 | 16,461 | 5.264139 | 0.131759 | 0.035065 | 0.042503 | 0.03719 | 0.851004 | 0.844864 | 0.8366 | 0.8366 | 0.824321 | 0.824321 | 0 | 0.004445 | 0.357633 | 16,461 | 416 | 92 | 39.569712 | 0.796577 | 0.080129 | 0 | 0.669725 | 0 | 0 | 0.197477 | 0.064081 | 0 | 0 | 0 | 0 | 0.107034 | 1 | 0.030581 | false | 0 | 0.024465 | 0 | 0.058104 | 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 |
6a390f704a10fbb29c1ef3ea2f35991fc6ec890d | 34 | py | Python | bonfo/msp/fields/utils.py | destos/bonfo | ac6052769f873c743ca14cffbc6d348b321495b7 | [
"MIT"
] | null | null | null | bonfo/msp/fields/utils.py | destos/bonfo | ac6052769f873c743ca14cffbc6d348b321495b7 | [
"MIT"
] | 1 | 2022-03-31T01:54:53.000Z | 2022-03-31T01:54:53.000Z | bonfo/msp/fields/utils.py | destos/bonfo | ac6052769f873c743ca14cffbc6d348b321495b7 | [
"MIT"
] | null | null | null | def BIT(num):
return 1 << num
| 11.333333 | 19 | 0.558824 | 6 | 34 | 3.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.294118 | 34 | 2 | 20 | 17 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dbe525d1912a4ad1aacef82c4ac5444c33e76af6 | 16,713 | py | Python | models/model_denoising.py | ozgurkara99/ISNAS-DIP | bfe3c41459f8803de552a2549266074b84fe1e17 | [
"MIT"
] | 6 | 2022-03-28T19:00:17.000Z | 2022-03-31T19:30:52.000Z | models/model_denoising.py | ozgurkara99/ISNAS-DIP | bfe3c41459f8803de552a2549266074b84fe1e17 | [
"MIT"
] | null | null | null | models/model_denoising.py | ozgurkara99/ISNAS-DIP | bfe3c41459f8803de552a2549266074b84fe1e17 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from .common import *
import models.gen_upsample_layer
class OutputBlock(nn.Module):
def __init__(self,
in_channel,
out_channel,
kernel_size,
bias,
pad,
need_sigmoid):
... | 39.792857 | 256 | 0.452402 | 1,680 | 16,713 | 4.120238 | 0.061905 | 0.089569 | 0.140422 | 0.095348 | 0.818405 | 0.802514 | 0.753973 | 0.740248 | 0.73577 | 0.701965 | 0 | 0.035046 | 0.475857 | 16,713 | 419 | 257 | 39.887828 | 0.755137 | 0.006701 | 0 | 0.679525 | 0 | 0 | 0.001929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041543 | false | 0 | 0.011869 | 0.017804 | 0.094955 | 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 |
e02fb6ae9567dbb8f2be9113eff2d4ccaad9f1f0 | 419 | py | Python | views/__init__.py | grimpy/hexa-a | 556e9a2a70758bf9c7d70f91776d361b40524c78 | [
"Apache-2.0"
] | 3 | 2018-02-05T11:43:04.000Z | 2019-02-22T18:11:55.000Z | views/__init__.py | grimpy/hexa-a | 556e9a2a70758bf9c7d70f91776d361b40524c78 | [
"Apache-2.0"
] | 4 | 2019-03-26T09:51:43.000Z | 2019-03-31T06:41:14.000Z | views/__init__.py | grimpy/hexa-a | 556e9a2a70758bf9c7d70f91776d361b40524c78 | [
"Apache-2.0"
] | 1 | 2019-03-03T20:55:21.000Z | 2019-03-03T20:55:21.000Z | from views.main import main_pages
from views.user import user_pages
from views.group.group import group_pages
from views.group.assignments import assignments_pages
from views.group.testsuites import testsuites_pages
from views.group.submissions import submissions_pages
from views.group.members import members_page
from ... | 46.555556 | 57 | 0.878282 | 61 | 419 | 5.885246 | 0.229508 | 0.225627 | 0.272981 | 0.264624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083532 | 419 | 9 | 57 | 46.555556 | 0.934896 | 0 | 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 | 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 |
e041a658d02fe713b456cc4dc65b9d125eb3eb10 | 17,392 | py | Python | test/unit/metrics/test_extra_metrics.py | bthng/fairlearn | 042d18c530c397191363b5cf57d7684d52cf817e | [
"MIT"
] | null | null | null | test/unit/metrics/test_extra_metrics.py | bthng/fairlearn | 042d18c530c397191363b5cf57d7684d52cf817e | [
"MIT"
] | null | null | null | test/unit/metrics/test_extra_metrics.py | bthng/fairlearn | 042d18c530c397191363b5cf57d7684d52cf817e | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation and Fairlearn contributors.
# Licensed under the MIT License.
import numpy as np
import pytest
import sklearn.metrics as skm
import fairlearn.metrics as metrics
from fairlearn.metrics._extra_metrics import _get_labels_for_confusion_matrix
# ======================================... | 41.311164 | 95 | 0.598321 | 2,829 | 17,392 | 3.420997 | 0.050548 | 0.030998 | 0.025108 | 0.066129 | 0.880967 | 0.860508 | 0.842013 | 0.823001 | 0.785286 | 0.723393 | 0 | 0.066452 | 0.268859 | 17,392 | 420 | 96 | 41.409524 | 0.694637 | 0.025989 | 0 | 0.460568 | 0 | 0.006309 | 0.015123 | 0 | 0 | 0 | 0 | 0 | 0.321767 | 1 | 0.116719 | false | 0 | 0.015773 | 0 | 0.15142 | 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 |
e04d0a7742b9f43a09a22c1a4e14f10290ff72f1 | 16,577 | py | Python | groupdocsclassificationcloud/apis/classification_api.py | groupdocs-classification-cloud/groupdocs-classification-cloud-python | 5538e34808be16d57fb7709194d5c8837c64ba80 | [
"MIT"
] | 3 | 2019-10-31T09:32:24.000Z | 2020-11-09T07:30:43.000Z | groupdocsclassificationcloud/apis/classification_api.py | groupdocs-classification-cloud/groupdocs-classification-cloud-python | 5538e34808be16d57fb7709194d5c8837c64ba80 | [
"MIT"
] | null | null | null | groupdocsclassificationcloud/apis/classification_api.py | groupdocs-classification-cloud/groupdocs-classification-cloud-python | 5538e34808be16d57fb7709194d5c8837c64ba80 | [
"MIT"
] | 1 | 2020-04-17T13:39:44.000Z | 2020-04-17T13:39:44.000Z | # coding: utf-8
# -----------------------------------------------------------------------------------
# <copyright company="GroupDocs" file="classification_api.py">
# Copyright (c) 2019 GroupDocs.Classification for Cloud
# </copyright>
# <summary>
# Permission is hereby granted, free of charge, to any person obtai... | 44.924119 | 189 | 0.635941 | 1,914 | 16,577 | 5.312435 | 0.142633 | 0.02439 | 0.024292 | 0.024784 | 0.817958 | 0.778226 | 0.757278 | 0.724036 | 0.702596 | 0.648112 | 0 | 0.00989 | 0.255836 | 16,577 | 368 | 190 | 45.046196 | 0.814364 | 0.422815 | 0 | 0.588889 | 0 | 0 | 0.128513 | 0.035931 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0.005556 | 0.027778 | 0 | 0.161111 | 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 |
e0771713ce8f96f2a9e2132972ad1fb76085147d | 23 | py | Python | python/optirx/__init__.py | tasbolat1/hmv-s16 | 7863c66ed645b463b72aef98a5c484a18cc9f396 | [
"BSD-3-Clause"
] | 1 | 2020-10-10T21:27:30.000Z | 2020-10-10T21:27:30.000Z | python/optirx/__init__.py | tasbolat1/hmv-s16 | 7863c66ed645b463b72aef98a5c484a18cc9f396 | [
"BSD-3-Clause"
] | null | null | null | python/optirx/__init__.py | tasbolat1/hmv-s16 | 7863c66ed645b463b72aef98a5c484a18cc9f396 | [
"BSD-3-Clause"
] | null | null | null |
from optirx import *
| 5.75 | 20 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 23 | 3 | 21 | 7.666667 | 0.941176 | 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 |
0ebb6ef77ef4f8c4e859127ed1d8b66657b56633 | 19,478 | py | Python | tests/magnus/test_graph.py | vishalbelsare/magnus-core | 77a4eb8ecca70b276b48e5f7a11166f7c3196f6b | [
"Apache-2.0"
] | 3 | 2022-03-15T15:19:14.000Z | 2022-03-29T02:38:27.000Z | tests/magnus/test_graph.py | vishalbelsare/magnus-core | 77a4eb8ecca70b276b48e5f7a11166f7c3196f6b | [
"Apache-2.0"
] | 18 | 2022-02-02T08:28:25.000Z | 2022-03-30T12:38:40.000Z | tests/magnus/test_graph.py | vishalbelsare/magnus-core | 77a4eb8ecca70b276b48e5f7a11166f7c3196f6b | [
"Apache-2.0"
] | 2 | 2022-01-24T11:10:09.000Z | 2022-03-15T15:19:46.000Z | import pytest
from magnus import defaults # pylint: disable=import-error
from magnus import exceptions # pylint: disable=import-error
from magnus import graph # pylint: disable=import-error
from magnus.nodes import BaseNode
def get_new_graph(start_at='this', internal_branch_name='i_name'):
return graph.Graph(... | 34.052448 | 119 | 0.714755 | 2,496 | 19,478 | 5.178285 | 0.05649 | 0.047041 | 0.083636 | 0.097485 | 0.897718 | 0.889594 | 0.872108 | 0.837911 | 0.826383 | 0.798839 | 0 | 0.001925 | 0.173375 | 19,478 | 571 | 120 | 34.112084 | 0.80082 | 0.004415 | 0 | 0.671329 | 0 | 0 | 0.103363 | 0.01764 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.104895 | false | 0.002331 | 0.011655 | 0.006993 | 0.130536 | 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 |
0ece3a7d80900b5b68092f6b6a520eee6a9683f6 | 90 | py | Python | cride/users/views/__init__.py | albertoaldanar/betmatcherAPI | c0590025efd79f4e489f9c9433b17554ea6ba23f | [
"MIT"
] | null | null | null | cride/users/views/__init__.py | albertoaldanar/betmatcherAPI | c0590025efd79f4e489f9c9433b17554ea6ba23f | [
"MIT"
] | 7 | 2020-06-05T20:53:27.000Z | 2022-03-11T23:47:12.000Z | cride/users/views/__init__.py | albertoaldanar/betmatcherAPI | c0590025efd79f4e489f9c9433b17554ea6ba23f | [
"MIT"
] | null | null | null | from .users import *
from .profile import *
from .prizes import *
from .exchanges import * | 22.5 | 24 | 0.744444 | 12 | 90 | 5.583333 | 0.5 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 4 | 24 | 22.5 | 0.893333 | 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 |
16251bc6b2dde6c3edc8762a0783d55f69df2419 | 97,895 | py | Python | source/codegen/metadata/nifake/functions.py | ni/grpc-device | 9713da936ba712930554bdd8f8c7452be509e900 | [
"MIT"
] | 24 | 2021-03-25T18:37:59.000Z | 2022-03-03T16:33:56.000Z | source/codegen/metadata/nifake/functions.py | ni/grpc-device | 9713da936ba712930554bdd8f8c7452be509e900 | [
"MIT"
] | 129 | 2021-04-03T15:16:04.000Z | 2022-03-25T21:48:18.000Z | source/codegen/metadata/nifake/functions.py | ni/grpc-device | 9713da936ba712930554bdd8f8c7452be509e900 | [
"MIT"
] | 24 | 2021-03-31T12:36:14.000Z | 2022-02-25T03:01:25.000Z | # -*- coding: utf-8 -*-
# This file is generated from NI-FAKE API metadata version 1.2.0d9
functions = {
'Abort': {
'codegen_method': 'public',
'documentation': {
'description': 'Aborts a previously initiated thingie.'
},
'parameters': [
{
'dir... | 31.68123 | 157 | 0.360979 | 5,329 | 97,895 | 6.575155 | 0.091574 | 0.175347 | 0.098633 | 0.142841 | 0.805388 | 0.760381 | 0.709609 | 0.680185 | 0.634293 | 0.612803 | 0 | 0.008338 | 0.512396 | 97,895 | 3,089 | 158 | 31.691486 | 0.725709 | 0.000878 | 0 | 0.57564 | 1 | 0.000972 | 0.379977 | 0.026266 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010366 | 0.000648 | 0 | 0.000648 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
163a639a8a58f8ec27c1b8b4a6a3ab06460125c3 | 166 | py | Python | rando/view3d/__init__.py | camillemonchicourt/Geotrek-rando | df92c0f19ca37ea1750d934cedafcdb23325bc95 | [
"BSD-2-Clause"
] | null | null | null | rando/view3d/__init__.py | camillemonchicourt/Geotrek-rando | df92c0f19ca37ea1750d934cedafcdb23325bc95 | [
"BSD-2-Clause"
] | null | null | null | rando/view3d/__init__.py | camillemonchicourt/Geotrek-rando | df92c0f19ca37ea1750d934cedafcdb23325bc95 | [
"BSD-2-Clause"
] | null | null | null | from rando.core.signals import pre_sync
from rando.view3d.sync import sync_content_view3d
pre_sync.connect(sync_content_view3d, dispatch_uid='rando.view3d.sync')
| 23.714286 | 72 | 0.837349 | 26 | 166 | 5.076923 | 0.461538 | 0.136364 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.084337 | 166 | 6 | 73 | 27.666667 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.10241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
165df8c78915b98fea23e554ddfd80dd8e0f11d9 | 121 | py | Python | DarkNeurons/__init__.py | Tushar-ml/DarkNeuron | 84fb630d512199224bc5288e2088e445e4ea1270 | [
"MIT"
] | 7 | 2020-06-07T07:38:40.000Z | 2021-12-21T16:59:22.000Z | build/lib/DarkNeurons/__init__.py | Tushar-ml/Deep-Stack | 84fb630d512199224bc5288e2088e445e4ea1270 | [
"MIT"
] | 1 | 2020-06-15T11:13:35.000Z | 2020-06-17T18:11:53.000Z | build/lib/DarkNeurons/__init__.py | Tushar-ml/Deep-Stack | 84fb630d512199224bc5288e2088e445e4ea1270 | [
"MIT"
] | 2 | 2020-10-26T17:33:25.000Z | 2021-09-10T12:06:32.000Z | from .Classification import Classify_Images
from .YoloV4 import YOLOv4
from .Network_Visualizer import network_visualizer | 40.333333 | 50 | 0.884298 | 15 | 121 | 6.933333 | 0.533333 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.090909 | 121 | 3 | 50 | 40.333333 | 0.927273 | 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 |
166685f031e6c3efddd46c195e7c586dd2a11faa | 137 | py | Python | transformer/__init__.py | quocanh199/FastSpeech2-1 | 62d560fbf4e8a397bd4d4c7a1b216b683a9767f6 | [
"MIT"
] | 745 | 2019-06-03T02:11:49.000Z | 2022-03-31T07:21:50.000Z | transformer/__init__.py | keonlee9420/Korean-FastSpeech2-Pytorch | 4a246539315fb6ebdfb26ca1ca04ea4a3c8479a2 | [
"MIT"
] | 97 | 2019-06-03T09:03:36.000Z | 2021-07-02T04:14:44.000Z | transformer/__init__.py | keonlee9420/Korean-FastSpeech2-Pytorch | 4a246539315fb6ebdfb26ca1ca04ea4a3c8479a2 | [
"MIT"
] | 201 | 2019-06-03T00:49:39.000Z | 2022-03-26T20:08:51.000Z | import transformer.Constants
import transformer.Modules
import transformer.Layers
import transformer.SubLayers
import transformer.Models
| 22.833333 | 28 | 0.890511 | 15 | 137 | 8.133333 | 0.466667 | 0.696721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072993 | 137 | 5 | 29 | 27.4 | 0.96063 | 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 |
16afdef5eaac3396439702c545292db5ca1b8f11 | 48 | py | Python | xpandas/transformers/image_transformer/__init__.py | kiraly-group/xpandas | 120ffd258e9eb68a287830dcbad09a11ab737291 | [
"BSD-3-Clause"
] | 27 | 2017-10-23T21:37:30.000Z | 2021-09-18T18:02:10.000Z | xpandas/transformers/image_transformer/__init__.py | kiraly-group/xpandas | 120ffd258e9eb68a287830dcbad09a11ab737291 | [
"BSD-3-Clause"
] | 6 | 2018-12-14T14:58:57.000Z | 2021-01-10T23:38:07.000Z | pyDeepInsight/__init__.py | engsarah365/autogluon | bdbaac2d13d14d075b7aa751561f0bbd39927789 | [
"Apache-2.0"
] | 7 | 2018-01-20T09:28:41.000Z | 2021-07-28T02:58:26.000Z | from .image_transformer import ImageTransformer
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 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 |
bc495915a0b59e0da6e6a44b4a825a3e09ba02e3 | 14,560 | py | Python | sdk/python/pulumi_aws/dynamodb/global_table.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 260 | 2018-06-18T14:57:00.000Z | 2022-03-29T11:41:03.000Z | sdk/python/pulumi_aws/dynamodb/global_table.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 1,154 | 2018-06-19T20:38:20.000Z | 2022-03-31T19:48:16.000Z | sdk/python/pulumi_aws/dynamodb/global_table.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 115 | 2018-06-28T03:20:27.000Z | 2022-03-29T11:41:06.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 42.573099 | 291 | 0.633723 | 1,647 | 14,560 | 5.421372 | 0.133576 | 0.060365 | 0.032926 | 0.036398 | 0.792698 | 0.766043 | 0.731213 | 0.71811 | 0.703886 | 0.698958 | 0 | 0.008374 | 0.261882 | 14,560 | 341 | 292 | 42.697947 | 0.822462 | 0.49272 | 0 | 0.533333 | 1 | 0 | 0.100473 | 0.042407 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148148 | false | 0.007407 | 0.051852 | 0 | 0.288889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 |
bc77b4542926230dcbb566e1fab12db21b0e312e | 2,803 | py | Python | test/entry/test_script.py | HansBug/pji | 449d171cea0c03f4c302da886988f36f70e34ee6 | [
"Apache-2.0"
] | null | null | null | test/entry/test_script.py | HansBug/pji | 449d171cea0c03f4c302da886988f36f70e34ee6 | [
"Apache-2.0"
] | null | null | null | test/entry/test_script.py | HansBug/pji | 449d171cea0c03f4c302da886988f36f70e34ee6 | [
"Apache-2.0"
] | null | null | null | import codecs
import os
import tempfile
import pytest
from pji.entry.script import load_pji_script
from .scripts import DEMO_B64_SCRIPT, DEMO_B64_TEST_SCRIPT_PY, DEMO_B64_BEFORE_SCRIPT
# noinspection DuplicatedCode
@pytest.mark.unittest
class TestEntryScript:
def test_simple_demo(self):
with tempfile.Te... | 40.623188 | 95 | 0.613271 | 373 | 2,803 | 4.375335 | 0.16622 | 0.047794 | 0.079657 | 0.135417 | 0.837623 | 0.82598 | 0.809436 | 0.809436 | 0.809436 | 0.809436 | 0 | 0.020359 | 0.264003 | 2,803 | 68 | 96 | 41.220588 | 0.770722 | 0.009633 | 0 | 0.653846 | 0 | 0 | 0.09553 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.076923 | false | 0 | 0.115385 | 0 | 0.211538 | 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 |
4c3bf95544578bd678ee31fe38be4699dd46f7e0 | 2,656 | py | Python | tests/helpers/test_ratelimit.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 1 | 2021-07-08T20:09:55.000Z | 2021-07-08T20:09:55.000Z | tests/helpers/test_ratelimit.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 47 | 2021-02-21T23:43:07.000Z | 2022-03-31T06:07:10.000Z | tests/helpers/test_ratelimit.py | OpenPeerPower/core | f673dfac9f2d0c48fa30af37b0a99df9dd6640ee | [
"Apache-2.0"
] | null | null | null | """Tests for ratelimit."""
import asyncio
from datetime import timedelta
from openpeerpower.core import callback
from openpeerpower.helpers import ratelimit
from openpeerpower.util import dt as dt_util
async def test_hit(opp):
"""Test hitting the rate limit."""
refresh_called = False
@callback
def ... | 24.366972 | 84 | 0.666792 | 320 | 2,656 | 5.259375 | 0.18125 | 0.130719 | 0.161616 | 0.091503 | 0.815211 | 0.815211 | 0.748069 | 0.720737 | 0.720737 | 0.682115 | 0 | 0.015 | 0.246988 | 2,656 | 108 | 85 | 24.592593 | 0.8265 | 0.00753 | 0 | 0.696203 | 0 | 0 | 0.022562 | 0 | 0 | 0 | 0 | 0 | 0.21519 | 1 | 0.037975 | false | 0 | 0.063291 | 0 | 0.139241 | 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 |
4c5bb408de419c0084220c0b722cad73880396e7 | 48 | py | Python | bots.sample/crowd-board-games/__init__.py | 0xdc/botfriend | 6157a873c4158ccfdda4bf021059bddf14217654 | [
"MIT"
] | 39 | 2017-06-19T16:12:34.000Z | 2022-03-02T10:06:29.000Z | bots.sample/crowd-board-games/__init__.py | 0xdc/botfriend | 6157a873c4158ccfdda4bf021059bddf14217654 | [
"MIT"
] | null | null | null | bots.sample/crowd-board-games/__init__.py | 0xdc/botfriend | 6157a873c4158ccfdda4bf021059bddf14217654 | [
"MIT"
] | 5 | 2018-08-27T19:49:56.000Z | 2020-10-22T02:31:04.000Z | from botfriend.bot import RSSScraperBot as Bot
| 16 | 46 | 0.833333 | 7 | 48 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 47 | 24 | 0.97561 | 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 |
4c748951b56476697648c932593dc617a87eafb7 | 11,322 | py | Python | CSGM/presets.py | PSCLab-ASU/OpenICS | e8f639f9278ce88c98f14daf026a56395cb64ca9 | [
"CC0-1.0"
] | 13 | 2021-03-03T13:13:34.000Z | 2022-01-13T12:02:59.000Z | CSGM/presets.py | PSCLab-ASU/OpenICS | e8f639f9278ce88c98f14daf026a56395cb64ca9 | [
"CC0-1.0"
] | null | null | null | CSGM/presets.py | PSCLab-ASU/OpenICS | e8f639f9278ce88c98f14daf026a56395cb64ca9 | [
"CC0-1.0"
] | 2 | 2021-03-04T12:16:27.000Z | 2021-05-09T03:07:44.000Z | import numpy as np
lasso = {
'pretrained-model-dir': './models/mnist-vae/',
'input-type': "full-input",
'num-input-images' : 300,
'batch-size': 50,
'noise-std': 0.1,
'model-types': ["lasso"],
'mloss1_weight':0.0,
'mloss2_w... | 28.234414 | 102 | 0.463964 | 1,190 | 11,322 | 4.287395 | 0.141176 | 0.068601 | 0.034496 | 0.035672 | 0.749902 | 0.749902 | 0.738142 | 0.715798 | 0.701294 | 0.672873 | 0 | 0.069454 | 0.370518 | 11,322 | 401 | 103 | 28.234414 | 0.646415 | 0.030383 | 0 | 0.719512 | 0 | 0 | 0.419652 | 0.051591 | 0 | 0 | 0 | 0.002494 | 0 | 1 | 0 | false | 0 | 0.003049 | 0 | 0.003049 | 0.039634 | 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 |
912f2ba1c53ae9f8faf04181e8f417ae53d92347 | 24,226 | py | Python | hdltools/axis-build.py | rftafas/hdltools | 8522ff45d7674d0255bfc1ee0d0070b5ae646e10 | [
"Apache-2.0"
] | null | null | null | hdltools/axis-build.py | rftafas/hdltools | 8522ff45d7674d0255bfc1ee0d0070b5ae646e10 | [
"Apache-2.0"
] | 8 | 2020-12-09T18:14:00.000Z | 2021-04-16T16:19:02.000Z | hdltools/axis-build.py | rftafas/hdltools | 8522ff45d7674d0255bfc1ee0d0070b5ae646e10 | [
"Apache-2.0"
] | 2 | 2020-12-09T19:45:25.000Z | 2021-09-03T20:26:01.000Z | #################################################################################
# Copyright 2020 Ricardo F Tafas Jr
# 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.ap... | 50.78826 | 139 | 0.601833 | 3,448 | 24,226 | 4.010441 | 0.075116 | 0.07521 | 0.093289 | 0.04744 | 0.810168 | 0.782109 | 0.734452 | 0.704802 | 0.637041 | 0.613321 | 0 | 0.008023 | 0.233427 | 24,226 | 476 | 140 | 50.894958 | 0.736579 | 0 | 0 | 0.474874 | 0 | 0.01005 | 0.33061 | 0.029064 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.005025 | null | null | 0.113065 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e67542e9daa5dd3dd2e2f75a6dd11ab4c5eb0bf4 | 18,617 | py | Python | tests/test_testspace_api.py | s2technologies/testspace-python | 5f985f711e0ef5c29fd7617345bebe7c4e200108 | [
"MIT"
] | null | null | null | tests/test_testspace_api.py | s2technologies/testspace-python | 5f985f711e0ef5c29fd7617345bebe7c4e200108 | [
"MIT"
] | 4 | 2019-12-30T18:36:55.000Z | 2021-11-23T04:09:42.000Z | tests/test_testspace_api.py | s2technologies/testspace-python | 5f985f711e0ef5c29fd7617345bebe7c4e200108 | [
"MIT"
] | 4 | 2019-11-13T16:27:02.000Z | 2021-09-16T01:00:49.000Z | import json
import os
import pytest
import requests
from testspace import testspace as ts
@pytest.fixture(scope="function")
def load_json(request):
with open(os.path.join("tests", "mock_requests", request.param)) as file_handle:
return json.load(file_handle)
@pytest.fixture(scope="function")
def testsp... | 31.080134 | 89 | 0.719396 | 2,427 | 18,617 | 5.149155 | 0.050268 | 0.12291 | 0.067216 | 0.069137 | 0.854685 | 0.809634 | 0.785629 | 0.725694 | 0.703049 | 0.645755 | 0 | 0.009103 | 0.162056 | 18,617 | 598 | 90 | 31.132107 | 0.791987 | 0 | 0 | 0.546569 | 0 | 0 | 0.077886 | 0.004566 | 0 | 0 | 0 | 0 | 0.102941 | 1 | 0.102941 | false | 0.004902 | 0.012255 | 0 | 0.120098 | 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 |
e6b940cc9e473644c3ddd4f5c5bb1481b8ef5685 | 142,676 | py | Python | pytest_t23.py | YuMiao329/ecg-analysis | b37d4a0a367bb2c933bb2ac46bde5a363a9b010a | [
"MIT"
] | null | null | null | pytest_t23.py | YuMiao329/ecg-analysis | b37d4a0a367bb2c933bb2ac46bde5a363a9b010a | [
"MIT"
] | null | null | null | pytest_t23.py | YuMiao329/ecg-analysis | b37d4a0a367bb2c933bb2ac46bde5a363a9b010a | [
"MIT"
] | null | null | null | new_time = [0.0, 0.004, 0.008, 0.012, 0.016, 0.02, 0.024, 0.028, 0.032, 0.036, 0.04, 0.044, 0.048, 0.052, 0.056, 0.06, 0.064, 0.068, 0.072, 0.076, 0.08, 0.084, 0.088, 0.092, 0.096, 0.1, 0.104, 0.108, 0.112, 0.116, 0.12, 0.124, 0.128, 0.132, 0.136, 0.14, 0.144, 0.148, 0.152, 0.156, 0.16, 0.164, 0.168, 0.172, 0.176, 0.18... | 47,558.666667 | 75,111 | 0.55488 | 40,007 | 142,676 | 1.978779 | 0.010223 | 0.001895 | 0.003183 | 0.000606 | 0.284962 | 0.079947 | 0.079859 | 0.01032 | 0.010105 | 0.001604 | 0 | 0.64508 | 0.14022 | 142,676 | 3 | 75,112 | 47,558.666667 | 0.000269 | 0 | 0 | 0 | 0 | 0 | 0.000077 | 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 |
e6ba84cefaeeb8bacab66b6bcc4b53f2f2d31e8f | 54 | py | Python | DemoStandaloneApp/DemoStandAloneApp/ASubNamespace/AnotherSubNameSpace/Feature2.py | avarghesein/PyCompilePackage | 2f14203a2f7669d809a9b26abaab59ca10b249dc | [
"MIT"
] | null | null | null | DemoStandaloneApp/DemoStandAloneApp/ASubNamespace/AnotherSubNameSpace/Feature2.py | avarghesein/PyCompilePackage | 2f14203a2f7669d809a9b26abaab59ca10b249dc | [
"MIT"
] | null | null | null | DemoStandaloneApp/DemoStandAloneApp/ASubNamespace/AnotherSubNameSpace/Feature2.py | avarghesein/PyCompilePackage | 2f14203a2f7669d809a9b26abaab59ca10b249dc | [
"MIT"
] | null | null | null |
def MyFeature2():
return "Hello from My Feature2" | 18 | 35 | 0.703704 | 7 | 54 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.203704 | 54 | 3 | 35 | 18 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e6baa794f3a808a100b7678112b493897326164a | 65 | py | Python | smart-chef-api/src/smartchef/views/__init__.py | Flusinerd/SoftSol | 9eea560853b6414daa4348a70bae6fabd3289c88 | [
"MIT"
] | 2 | 2022-03-29T09:27:12.000Z | 2022-03-29T09:47:40.000Z | smart-chef-api/src/smartchef/views/__init__.py | Flusinerd/SoftSol | 9eea560853b6414daa4348a70bae6fabd3289c88 | [
"MIT"
] | 14 | 2022-03-31T08:30:11.000Z | 2022-03-31T09:01:47.000Z | smart-chef-api/src/smartchef/views/__init__.py | Flusinerd/SoftSol | 9eea560853b6414daa4348a70bae6fabd3289c88 | [
"MIT"
] | null | null | null | from .household import *
from .user import *
from .auth import *
| 16.25 | 24 | 0.723077 | 9 | 65 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 25 | 21.666667 | 0.886792 | 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 |
fc6d5ca2b69fb5689ca51889247cbaa514c33de9 | 63 | py | Python | tsticle/__init__.py | burtgulash/TSTicle | ec722ba5e904fa32e05def0a6002d9c3bbedf900 | [
"MIT"
] | 2 | 2016-01-19T11:30:41.000Z | 2018-05-15T05:28:42.000Z | tsticle/__init__.py | burtgulash/TSTicle | ec722ba5e904fa32e05def0a6002d9c3bbedf900 | [
"MIT"
] | null | null | null | tsticle/__init__.py | burtgulash/TSTicle | ec722ba5e904fa32e05def0a6002d9c3bbedf900 | [
"MIT"
] | null | null | null | from tsticle.tst import *
from tsticle.compressed_tst import *
| 21 | 36 | 0.809524 | 9 | 63 | 5.555556 | 0.555556 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 37 | 31.5 | 0.909091 | 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 |
5dd4d7fc6f40c27e1c47384c7ffa315fa544299c | 49 | py | Python | uil/vue/rest/__init__.py | UiL-OTS-labs/django-shared-core | 702ca346f1be861108ec70ceed2ed3b99623f0a3 | [
"Apache-2.0"
] | null | null | null | uil/vue/rest/__init__.py | UiL-OTS-labs/django-shared-core | 702ca346f1be861108ec70ceed2ed3b99623f0a3 | [
"Apache-2.0"
] | 13 | 2019-06-25T13:23:30.000Z | 2022-02-10T07:00:39.000Z | uil/vue/rest/__init__.py | UiL-OTS-labs/django-shared-core | 702ca346f1be861108ec70ceed2ed3b99623f0a3 | [
"Apache-2.0"
] | null | null | null | from .fancylist_api_view import FancyListApiView
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 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 |
f8f8b932d7e88787a40b5d9056e132333286cb88 | 5,157 | py | Python | chess_game/ai.py | wuhw234/chess_bot | d849c11ccfef006e0492b173f5f1a89743abc3d0 | [
"MIT"
] | null | null | null | chess_game/ai.py | wuhw234/chess_bot | d849c11ccfef006e0492b173f5f1a89743abc3d0 | [
"MIT"
] | null | null | null | chess_game/ai.py | wuhw234/chess_bot | d849c11ccfef006e0492b173f5f1a89743abc3d0 | [
"MIT"
] | null | null | null | import random
import math
DEPTH = 2
piece_values = {"k": 0, "q": 9, "r": 5, "b": 3, "n": 3, "p": 1}
next_move = None
def get_random_move(moves):
return random.choice(moves)
def get_best_move(moves, game_state, board, turn):
random.shuffle(moves)
negamax(moves, game_state, board, turn, DEPTH)
# ne... | 33.270968 | 97 | 0.588327 | 690 | 5,157 | 4.143478 | 0.110145 | 0.116474 | 0.054565 | 0.079748 | 0.818118 | 0.78524 | 0.78524 | 0.770549 | 0.727527 | 0.727527 | 0 | 0.01522 | 0.312003 | 5,157 | 155 | 98 | 33.270968 | 0.790586 | 0.160558 | 0 | 0.673077 | 0 | 0 | 0.002323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057692 | false | 0 | 0.019231 | 0.009615 | 0.192308 | 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 |
5d0582e936660f082f16e342be659b85a8f32ab6 | 28,310 | py | Python | azurerm/networkrp.py | gbowerman/azurerm | cb18f912eb28552b72410f042f7873bdeb16c1f2 | [
"MIT"
] | 44 | 2016-01-18T22:09:50.000Z | 2022-03-01T04:54:48.000Z | azurerm/networkrp.py | gbowerman/azurerm | cb18f912eb28552b72410f042f7873bdeb16c1f2 | [
"MIT"
] | 27 | 2016-03-16T22:23:28.000Z | 2021-11-21T06:47:44.000Z | azurerm/networkrp.py | gbowerman/azurerm | cb18f912eb28552b72410f042f7873bdeb16c1f2 | [
"MIT"
] | 31 | 2016-02-28T07:59:34.000Z | 2021-07-19T15:25:00.000Z | '''networkrp.py - azurerm functions for the Microsoft.Network resource provider'''
import json
from .restfns import do_delete, do_get, do_put
from .settings import get_rm_endpoint, NETWORK_API
def create_lb_with_nat_pool(access_token, subscription_id, resource_group, lb_name, public_ip_id,
... | 40.558739 | 97 | 0.628011 | 3,022 | 28,310 | 5.679682 | 0.063534 | 0.101958 | 0.068632 | 0.078653 | 0.819856 | 0.802668 | 0.77313 | 0.755884 | 0.731473 | 0.7031 | 0 | 0.001699 | 0.27213 | 28,310 | 697 | 98 | 40.61693 | 0.831263 | 0.383151 | 0 | 0.634752 | 0 | 0 | 0.223768 | 0.10973 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109929 | false | 0 | 0.010638 | 0 | 0.230496 | 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 |
5d12ac2cc898b3329c88689cd9d29d25251b3825 | 45 | py | Python | stribor/dist/__init__.py | mbilos/stribor | 76082c255653d6bd8d506519223183e5d8395578 | [
"MIT"
] | 10 | 2021-06-23T17:14:25.000Z | 2022-03-08T11:34:18.000Z | stribor/dist/__init__.py | mbilos/stribor | 76082c255653d6bd8d506519223183e5d8395578 | [
"MIT"
] | null | null | null | stribor/dist/__init__.py | mbilos/stribor | 76082c255653d6bd8d506519223183e5d8395578 | [
"MIT"
] | 1 | 2021-03-11T13:34:44.000Z | 2021-03-11T13:34:44.000Z | from .normal import *
from .uniform import *
| 15 | 22 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.891892 | 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 |
5d2553b07b75ec6d2e7f736cbdadb48dcf879a29 | 28 | py | Python | tests/__init__.py | pash4paul/vk7 | c42c7c0ec23d5b60a3aa0d7b3aa480f274dead10 | [
"MIT"
] | 4 | 2018-02-02T18:42:02.000Z | 2020-06-12T20:40:09.000Z | tests/__init__.py | pash4paul/vk7 | c42c7c0ec23d5b60a3aa0d7b3aa480f274dead10 | [
"MIT"
] | null | null | null | tests/__init__.py | pash4paul/vk7 | c42c7c0ec23d5b60a3aa0d7b3aa480f274dead10 | [
"MIT"
] | null | null | null | from .test_vk import TestVk
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
5d27540f413d429ad9e42202e2483ca4b083a940 | 32 | py | Python | harrytom/harry.py | rich17lucas/modules_tut | 3b74ae5bb467c0f74fe80418cf946bbd544b1b1a | [
"MIT"
] | null | null | null | harrytom/harry.py | rich17lucas/modules_tut | 3b74ae5bb467c0f74fe80418cf946bbd544b1b1a | [
"MIT"
] | null | null | null | harrytom/harry.py | rich17lucas/modules_tut | 3b74ae5bb467c0f74fe80418cf946bbd544b1b1a | [
"MIT"
] | null | null | null | def harry():
return("harry") | 16 | 19 | 0.59375 | 4 | 32 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 2 | 19 | 16 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
5d412729a68fd41b1b449a7ea2ac9d4e8644bd4b | 81,701 | py | Python | fc2/client.py | wangaoone/fc-python-sdk | c948ef8d2cc8ac9978b6b41142888f7eae0b716f | [
"MIT"
] | null | null | null | fc2/client.py | wangaoone/fc-python-sdk | c948ef8d2cc8ac9978b6b41142888f7eae0b716f | [
"MIT"
] | null | null | null | fc2/client.py | wangaoone/fc-python-sdk | c948ef8d2cc8ac9978b6b41142888f7eae0b716f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from requests.packages.urllib3.util.retry import Retry
from requests.adapters import HTTPAdapter
import base64
import email
import io
import json
import logging
import platform
import sys
import requests
from . import __version__
from . import auth
from . import fc_exceptions
from . import ut... | 42.663708 | 172 | 0.580336 | 8,277 | 81,701 | 5.668358 | 0.063791 | 0.013535 | 0.03406 | 0.024042 | 0.823049 | 0.805934 | 0.789181 | 0.763668 | 0.754183 | 0.737153 | 0 | 0.009685 | 0.311245 | 81,701 | 1,914 | 173 | 42.685998 | 0.824069 | 0.429248 | 0 | 0.641379 | 0 | 0.005517 | 0.115895 | 0.03896 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.022069 | 0.002759 | 0.176552 | 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 |
53a7ab7a8bbe51829dbc03d42a092992c9e6faa0 | 38 | py | Python | operadores basicos/modulo1.py | gabys12/portafolio-fundamento-de-programacion | c9b47f32e885ed6ae80b14133a609798ea034e19 | [
"CNRI-Python"
] | null | null | null | operadores basicos/modulo1.py | gabys12/portafolio-fundamento-de-programacion | c9b47f32e885ed6ae80b14133a609798ea034e19 | [
"CNRI-Python"
] | null | null | null | operadores basicos/modulo1.py | gabys12/portafolio-fundamento-de-programacion | c9b47f32e885ed6ae80b14133a609798ea034e19 | [
"CNRI-Python"
] | null | null | null | a = 35
b = 7
print("a % b =", a % b)
| 7.6 | 23 | 0.368421 | 9 | 38 | 1.555556 | 0.555556 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.368421 | 38 | 4 | 24 | 9.5 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 1 | 0 | 0 | 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 | 0 | 0 | 6 |
53c4ba62061a7397783ce2e55eca858fd79b49bb | 39 | py | Python | venv/lib/python3.7/site-packages/torch/utils/data/datapipes/__init__.py | GOOGLE-M/SGC | 78ad8d02b80808302e38559e2d0f430f66a809bd | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/torch/utils/data/datapipes/__init__.py | GOOGLE-M/SGC | 78ad8d02b80808302e38559e2d0f430f66a809bd | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/torch/utils/data/datapipes/__init__.py | GOOGLE-M/SGC | 78ad8d02b80808302e38559e2d0f430f66a809bd | [
"MIT"
] | null | null | null | import torch.utils.data.datapipes.iter
| 19.5 | 38 | 0.846154 | 6 | 39 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 39 | 1 | 39 | 39 | 0.891892 | 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 |
53cb0f348eb357da4a04c4e2eab705becc85dfc3 | 15,852 | py | Python | apps/rhd/models.py | giovannidispoto/a-GPUBench | 2332fb68247cad347f889c006028385fed4c5c93 | [
"Apache-2.0"
] | null | null | null | apps/rhd/models.py | giovannidispoto/a-GPUBench | 2332fb68247cad347f889c006028385fed4c5c93 | [
"Apache-2.0"
] | null | null | null | apps/rhd/models.py | giovannidispoto/a-GPUBench | 2332fb68247cad347f889c006028385fed4c5c93 | [
"Apache-2.0"
] | null | null | null | """Deep learning models"""
import tensorflow as tf
from tensorflow.keras.layers import Input, Dense, Dropout, Flatten, Conv3D, Convolution3D, MaxPooling3D, ZeroPadding3D, BatchNormalization, Activation
from tensorflow.keras.models import Model, Sequential
def c3d_test(summary=True, backend='tf'):
"""
C3D mod... | 43.669421 | 150 | 0.601438 | 1,942 | 15,852 | 4.756952 | 0.081359 | 0.079671 | 0.061918 | 0.136393 | 0.828751 | 0.821715 | 0.798658 | 0.753518 | 0.72927 | 0.694306 | 0 | 0.054896 | 0.256498 | 15,852 | 363 | 151 | 43.669421 | 0.728916 | 0.0622 | 0 | 0.588235 | 0 | 0 | 0.057563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018382 | false | 0 | 0.011029 | 0 | 0.106618 | 0.007353 | 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 |
53f83347c0e6d3ea4f8227f20b80728e3f82ddd6 | 142 | py | Python | django_project_base/users/admin.py | Sanketkgboy/Blog_app_repo | ad3da8d9e8f0bba19a6c047dc19de02a765241c1 | [
"MIT"
] | null | null | null | django_project_base/users/admin.py | Sanketkgboy/Blog_app_repo | ad3da8d9e8f0bba19a6c047dc19de02a765241c1 | [
"MIT"
] | 3 | 2021-06-08T21:44:44.000Z | 2021-09-08T02:08:20.000Z | django_project_base/users/admin.py | Sanketkgboy/Blog_app_repo | ad3da8d9e8f0bba19a6c047dc19de02a765241c1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from.models import Profile
# Did this to register profile with the admin page
admin.site.register(Profile)
| 20.285714 | 50 | 0.809859 | 22 | 142 | 5.227273 | 0.681818 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 142 | 6 | 51 | 23.666667 | 0.942623 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
54d148b84b4ea67ca9733130a619d01e3c3251fa | 110 | py | Python | models/genre/__init__.py | billvsme/videoSpider | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 216 | 2016-02-20T12:46:43.000Z | 2022-02-23T07:07:00.000Z | models/genre/__init__.py | billvsme/tvCrawlers | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 3 | 2016-05-06T05:04:17.000Z | 2021-12-13T19:41:39.000Z | models/genre/__init__.py | billvsme/tvCrawlers | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 99 | 2016-02-20T08:34:00.000Z | 2022-02-10T20:52:01.000Z | from .movie_genre import MovieGenre
from .tv_genre import TVGenre
from .animation_genre import AnimationGenre
| 27.5 | 43 | 0.863636 | 15 | 110 | 6.133333 | 0.6 | 0.358696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 3 | 44 | 36.666667 | 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 |
54eafccf8fd4952e49291e9a08a9b74a7fef5652 | 24,614 | py | Python | macauff/tests/test_parse_catalogue.py | lsst-uk/macauff | 02ce5caeaa1523957f914155dd433c7d1bf65869 | [
"BSD-3-Clause"
] | 5 | 2021-03-03T22:03:03.000Z | 2022-03-11T05:42:18.000Z | macauff/tests/test_parse_catalogue.py | lsst-uk/macauff | 02ce5caeaa1523957f914155dd433c7d1bf65869 | [
"BSD-3-Clause"
] | 8 | 2020-07-09T09:26:17.000Z | 2022-03-30T14:24:11.000Z | macauff/tests/test_parse_catalogue.py | lsst-uk/macauff | 02ce5caeaa1523957f914155dd433c7d1bf65869 | [
"BSD-3-Clause"
] | 1 | 2022-01-24T13:21:37.000Z | 2022-01-24T13:21:37.000Z | # Licensed under a 3-clause BSD style license - see LICENSE
'''
Tests for the "parse_catalogue" module.
'''
import os
import pandas as pd
import numpy as np
import pytest
from numpy.testing import assert_allclose
from ..parse_catalogue import csv_to_npy, npy_to_csv, rect_slice_npy, rect_slice_csv
class TestParseCat... | 51.279167 | 99 | 0.556472 | 3,812 | 24,614 | 3.405561 | 0.066369 | 0.08196 | 0.085041 | 0.039516 | 0.826144 | 0.803651 | 0.781621 | 0.767524 | 0.751271 | 0.724465 | 0 | 0.03015 | 0.266962 | 24,614 | 479 | 100 | 51.386221 | 0.689353 | 0.05115 | 0 | 0.647668 | 0 | 0 | 0.14391 | 0.034509 | 0 | 0 | 0 | 0 | 0.284974 | 1 | 0.025907 | false | 0 | 0.015544 | 0 | 0.046632 | 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 |
0737f742c6ea2947016c3b23bc548f1a4a89aaa2 | 2,796 | py | Python | phenix/views.py | phenix-lbl/django_cctbx_tutorials | 92091be542d29f962f6e364aaceea664e0eca2e7 | [
"BSD-3-Clause"
] | null | null | null | phenix/views.py | phenix-lbl/django_cctbx_tutorials | 92091be542d29f962f6e364aaceea664e0eca2e7 | [
"BSD-3-Clause"
] | null | null | null | phenix/views.py | phenix-lbl/django_cctbx_tutorials | 92091be542d29f962f6e364aaceea664e0eca2e7 | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# ------------------------------------------------------------------------------
def index(request):
return render(request, 'phenix/index.html')
#return HttpResponse("Hello, world. You're at the index.")
# ----------------------------------... | 35.846154 | 96 | 0.652361 | 306 | 2,796 | 5.663399 | 0.173203 | 0.142527 | 0.208309 | 0.285055 | 0.589729 | 0.534334 | 0.447201 | 0.338719 | 0.338719 | 0.338719 | 0 | 0 | 0.069027 | 2,796 | 77 | 97 | 36.311688 | 0.66577 | 0.217811 | 0 | 0 | 0 | 0 | 0.426011 | 0.418199 | 0 | 0 | 0 | 0 | 0 | 1 | 0.475 | false | 0 | 0.05 | 0.475 | 1 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ab0202d224546c0955059c68814ddf11ab970836 | 74 | py | Python | open_turb_arch/evaluation/analysis/__init__.py | jbussemaker/OpenTurbofanArchitecting | 2a6c82b107720e5c281908387c9c3045e3dad749 | [
"Apache-2.0"
] | 1 | 2021-09-03T12:05:01.000Z | 2021-09-03T12:05:01.000Z | open_turb_arch/evaluation/analysis/__init__.py | jbussemaker/OpenTurbofanArchitecting | 2a6c82b107720e5c281908387c9c3045e3dad749 | [
"Apache-2.0"
] | null | null | null | open_turb_arch/evaluation/analysis/__init__.py | jbussemaker/OpenTurbofanArchitecting | 2a6c82b107720e5c281908387c9c3045e3dad749 | [
"Apache-2.0"
] | 1 | 2021-10-15T15:48:20.000Z | 2021-10-15T15:48:20.000Z | from .builder import *
from .balancer import *
from .disciplines import *
| 18.5 | 26 | 0.756757 | 9 | 74 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 27 | 24.666667 | 0.903226 | 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 |
ab0c031d4cc241514001cc53b4357a6b35bcff70 | 108 | py | Python | src/rand.py | GreenXenith/zoria | 30a16baab3643c820613a8c8669ee6235a2cd47c | [
"MIT"
] | null | null | null | src/rand.py | GreenXenith/zoria | 30a16baab3643c820613a8c8669ee6235a2cd47c | [
"MIT"
] | null | null | null | src/rand.py | GreenXenith/zoria | 30a16baab3643c820613a8c8669ee6235a2cd47c | [
"MIT"
] | null | null | null | # random.randint wrapper
import random
def rand(*args):
random.seed()
return random.randint(*args)
| 15.428571 | 32 | 0.703704 | 14 | 108 | 5.428571 | 0.642857 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175926 | 108 | 6 | 33 | 18 | 0.853933 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ab13adfa222c7e52e3da9c6e591fd607a2a11fb2 | 26,445 | py | Python | huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
# import models into model package
from huaweicloudsdkrds.v3.model.allow_db_privilege_request import AllowDbPrivilegeRequest
from huaweicloudsdkrds.v3.model.allow_db_privilege_response import AllowDbPrivilegeResponse
from huaweicloudsdkrds.v3.model.allow_db_user_... | 89.94898 | 130 | 0.923048 | 2,866 | 26,445 | 8.223308 | 0.149337 | 0.256619 | 0.281059 | 0.342159 | 0.517015 | 0.451375 | 0.321071 | 0.168661 | 0.06407 | 0.017821 | 0 | 0.011512 | 0.044129 | 26,445 | 293 | 131 | 90.255973 | 0.92084 | 0.001739 | 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 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab37eeabc9e946918eb6720ed2a4134e12374b83 | 468 | py | Python | py_mybatis/string_util.py | malone081021/py_mybatis | bea69b2aa0d17d9a96ddf596bc63bd88e5a2045e | [
"Apache-2.0"
] | 15 | 2020-08-20T03:57:13.000Z | 2022-02-01T03:08:14.000Z | py_mybatis/string_util.py | malone081021/py_mybatis | bea69b2aa0d17d9a96ddf596bc63bd88e5a2045e | [
"Apache-2.0"
] | 3 | 2020-08-20T05:43:22.000Z | 2020-09-23T08:08:10.000Z | py_mybatis/string_util.py | malone081021/py_mybatis | bea69b2aa0d17d9a96ddf596bc63bd88e5a2045e | [
"Apache-2.0"
] | 10 | 2020-12-10T06:17:20.000Z | 2022-02-26T07:07:48.000Z | import re
def replace_sql_first(string: str, prefix_overrides: str, replace: str):
string = string.strip()
regex = r'^[\s]*?({})'.format(prefix_overrides)
return re.sub(regex, replace, string, count=1, flags=re.IGNORECASE)
def replace_sql_last(string: str, suffix_overrides: str, replace: str):
strin... | 31.2 | 72 | 0.681624 | 64 | 468 | 4.859375 | 0.359375 | 0.064309 | 0.083601 | 0.141479 | 0.726688 | 0.726688 | 0.726688 | 0.726688 | 0.726688 | 0.726688 | 0 | 0.005013 | 0.147436 | 468 | 14 | 73 | 33.428571 | 0.774436 | 0 | 0 | 0.444444 | 0 | 0 | 0.055675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab520a1ae057e362e0c5a2348adf2c3594da5c7e | 24 | py | Python | clusterer/__init__.py | wjkoh/cs262a | 44268418b2982dc5b44909e8aa99f9ea20772e90 | [
"BSD-3-Clause"
] | 1 | 2017-11-03T13:29:15.000Z | 2017-11-03T13:29:15.000Z | clusterer/__init__.py | wjkoh/cs262a | 44268418b2982dc5b44909e8aa99f9ea20772e90 | [
"BSD-3-Clause"
] | null | null | null | clusterer/__init__.py | wjkoh/cs262a | 44268418b2982dc5b44909e8aa99f9ea20772e90 | [
"BSD-3-Clause"
] | null | null | null | from clusterer import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
db78c8aaab0b8768e496753758f6147ff8959509 | 161 | py | Python | DeepEBM/Torture/dataset/__init__.py | taufikxu/FD-ScoreMatching | 9df0789bb98bb798b3de57072f63ee4b2f19947f | [
"MIT"
] | 12 | 2020-05-23T10:02:12.000Z | 2021-03-25T19:54:00.000Z | DeepEBM/Torture/dataset/__init__.py | taufikxu/FD-ScoreMatching | 9df0789bb98bb798b3de57072f63ee4b2f19947f | [
"MIT"
] | 6 | 2021-03-19T15:30:28.000Z | 2022-03-12T00:51:16.000Z | DeepEBM/Torture/dataset/__init__.py | taufikxu/FD-ScoreMatching | 9df0789bb98bb798b3de57072f63ee4b2f19947f | [
"MIT"
] | 4 | 2020-11-04T03:52:45.000Z | 2021-12-28T16:07:08.000Z | from .base_dataset import (InfinityDataloaderWraper, NumpyImageLabelDataset,
NumpyImageDataset)
from .MOG_dataset import CLEVRDataset
| 40.25 | 76 | 0.732919 | 12 | 161 | 9.666667 | 0.75 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229814 | 161 | 3 | 77 | 53.666667 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
db7db10f2fbe7f303d70dd01bc93a43d6e5e2559 | 269,409 | py | Python | google/cloud/aiplatform/training_jobs.py | pompipo/python-aiplatform | 3612b05c62dfb46822cd2c1798fd47349dba33bc | [
"Apache-2.0"
] | 1 | 2021-09-05T04:00:59.000Z | 2021-09-05T04:00:59.000Z | google/cloud/aiplatform/training_jobs.py | pompipo/python-aiplatform | 3612b05c62dfb46822cd2c1798fd47349dba33bc | [
"Apache-2.0"
] | null | null | null | google/cloud/aiplatform/training_jobs.py | pompipo/python-aiplatform | 3612b05c62dfb46822cd2c1798fd47349dba33bc | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# 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 o... | 50.085332 | 145 | 0.626252 | 31,412 | 269,409 | 5.203139 | 0.036801 | 0.017578 | 0.014592 | 0.011564 | 0.881762 | 0.863474 | 0.848893 | 0.835678 | 0.83104 | 0.823306 | 0 | 0.005107 | 0.321177 | 269,409 | 5,378 | 146 | 50.094645 | 0.888594 | 0.615132 | 0 | 0.648526 | 0 | 0.000567 | 0.069779 | 0.016845 | 0 | 0 | 0 | 0.001116 | 0.002834 | 1 | 0.037415 | false | 0.003401 | 0.012472 | 0 | 0.090703 | 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 |
db819a3b84cee2b4ecdb537538fd7c0a70005113 | 2,615 | py | Python | test/test_config.py | ecell/scopyon | 99436fbfd34bb684966846eba75b206c2806f69c | [
"BSD-3-Clause"
] | 6 | 2018-12-24T16:20:55.000Z | 2021-06-12T20:50:04.000Z | test/test_config.py | ecell/bioimaging | 99436fbfd34bb684966846eba75b206c2806f69c | [
"BSD-3-Clause"
] | 9 | 2019-03-03T15:30:37.000Z | 2020-08-27T05:48:33.000Z | test/test_config.py | ecell/scopyon | 99436fbfd34bb684966846eba75b206c2806f69c | [
"BSD-3-Clause"
] | 3 | 2019-03-05T22:51:38.000Z | 2020-02-03T13:58:48.000Z | import unittest
class TestConfig(unittest.TestCase):
def setUp(self):
self.exposure_time = 0.1 # a default
def tearDown(self):
pass
def test1(self):
import scopyon.config
def test2(self):
from scopyon.config import DefaultConfiguration
config = DefaultConfi... | 30.057471 | 89 | 0.619885 | 251 | 2,615 | 6.338645 | 0.183267 | 0.135764 | 0.231301 | 0.271527 | 0.821496 | 0.821496 | 0.821496 | 0.7423 | 0.646135 | 0.573224 | 0 | 0.031453 | 0.294837 | 2,615 | 86 | 90 | 30.406977 | 0.831345 | 0.003442 | 0 | 0.666667 | 0 | 0 | 0.18702 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.130435 | false | 0.014493 | 0.15942 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
dba70193e015bd5bcaabd5b76af4bad163467a5f | 10,628 | py | Python | userbot/plugins/imagefun.py | Doom098/userbot | 11f0225a75241ab9492b1c435414c77de287b8a6 | [
"MIT"
] | 12 | 2022-01-06T19:52:48.000Z | 2022-03-06T09:05:08.000Z | userbot/plugins/imagefun.py | Doom098/userbot | 11f0225a75241ab9492b1c435414c77de287b8a6 | [
"MIT"
] | 1 | 2022-01-09T11:35:06.000Z | 2022-01-09T11:35:06.000Z | userbot/plugins/imagefun.py | Doom098/userbot | 11f0225a75241ab9492b1c435414c77de287b8a6 | [
"MIT"
] | 64 | 2022-01-06T19:55:15.000Z | 2022-03-29T21:03:01.000Z | import os
import requests
from telegraph import upload_file
from telethon.tl.types import MessageMediaPhoto
from FIREX.utils import admin_cmd, sudo_cmd
from userbot import bot
from userbot.cmdhelp import CmdHelp
pathdc = "./userbot/"
if not os.path.isdir(pathdc):
os.makedirs(pathdc)
@bot.on(admin_cmd(pattern=r... | 34.506494 | 119 | 0.646688 | 1,589 | 10,628 | 4.274386 | 0.112649 | 0.061837 | 0.043286 | 0.055948 | 0.837456 | 0.829358 | 0.765018 | 0.75692 | 0.748086 | 0.737191 | 0 | 0.001296 | 0.201543 | 10,628 | 307 | 120 | 34.618893 | 0.792835 | 0.003199 | 0 | 0.675277 | 0 | 0.00369 | 0.194465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02583 | 0 | 0.062731 | 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 |
dbcd2a88134cdb8f916d83433391211917091472 | 4,246 | py | Python | lannerpsp/sdk_rfm.py | lanneriotsw/psp-api-python | 24806866ef6335bbe852da9133a0b580f4d77909 | [
"MIT"
] | null | null | null | lannerpsp/sdk_rfm.py | lanneriotsw/psp-api-python | 24806866ef6335bbe852da9133a0b580f4d77909 | [
"MIT"
] | null | null | null | lannerpsp/sdk_rfm.py | lanneriotsw/psp-api-python | 24806866ef6335bbe852da9133a0b580f4d77909 | [
"MIT"
] | null | null | null | import logging
from ctypes import byref, c_uint32
from .lmbinc import PSP
logger = logging.getLogger(__name__)
class RadioFrequencyModule:
"""
Radio Frequency Module.
sdk/src_utils/sdk_rfm/sdk_rfm.c
:param lmb_io_path: path of liblmbio.so
:param lmb_api_path: path of liblmbapi.so
"""
... | 38.252252 | 91 | 0.574423 | 631 | 4,246 | 3.667195 | 0.163233 | 0.017286 | 0.031115 | 0.033708 | 0.803371 | 0.786949 | 0.786949 | 0.77701 | 0.75108 | 0.75108 | 0 | 0.037151 | 0.308997 | 4,246 | 110 | 92 | 38.6 | 0.751534 | 0.327838 | 0 | 0.44898 | 0 | 0 | 0.130097 | 0.050097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102041 | false | 0 | 0.061224 | 0 | 0.22449 | 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 |
dbd7fe196e022f31611affc078eb763505a8d5b8 | 6,703 | py | Python | tests/app/service/test_service_data_retention_rest.py | tlwr/notifications-api | 88a6b7729edb9be41ce3e7c027f1452b7b6d00d2 | [
"MIT"
] | 10 | 2020-05-04T14:11:06.000Z | 2022-02-22T19:06:36.000Z | tests/app/service/test_service_data_retention_rest.py | tlwr/notifications-api | 88a6b7729edb9be41ce3e7c027f1452b7b6d00d2 | [
"MIT"
] | 554 | 2020-05-07T21:56:24.000Z | 2022-03-31T23:04:51.000Z | tests/app/service/test_service_data_retention_rest.py | tlwr/notifications-api | 88a6b7729edb9be41ce3e7c027f1452b7b6d00d2 | [
"MIT"
] | 4 | 2020-08-27T16:43:29.000Z | 2021-02-17T22:17:27.000Z | import json
import uuid
from app.models import ServiceDataRetention
from tests import create_authorization_header
from tests.app.db import create_service_data_retention
def test_get_service_data_retention(client, sample_service):
sms_data_retention = create_service_data_retention(service=sample_service)
emai... | 41.376543 | 110 | 0.698792 | 790 | 6,703 | 5.593671 | 0.110127 | 0.150034 | 0.149355 | 0.076488 | 0.820774 | 0.801539 | 0.772347 | 0.761937 | 0.723467 | 0.670966 | 0 | 0.013457 | 0.179621 | 6,703 | 161 | 111 | 41.63354 | 0.790144 | 0 | 0 | 0.458647 | 0 | 0 | 0.148292 | 0.048038 | 0 | 0 | 0 | 0 | 0.195489 | 1 | 0.082707 | false | 0 | 0.037594 | 0 | 0.120301 | 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 |
918f27242743cc1008d24a4cc4c065a6f5031922 | 9,603 | py | Python | MyLinkedList.py | GolferChen/LeetCode | b502a57ff1ebe8daf670e7b068dd98cec0b9bf38 | [
"MIT"
] | null | null | null | MyLinkedList.py | GolferChen/LeetCode | b502a57ff1ebe8daf670e7b068dd98cec0b9bf38 | [
"MIT"
] | null | null | null | MyLinkedList.py | GolferChen/LeetCode | b502a57ff1ebe8daf670e7b068dd98cec0b9bf38 | [
"MIT"
] | null | null | null |
class Node:
def __init__(self, val):
self.val = val
self.next = None
# Single List, without sentinel node
# class MyLinkedList:
#
# def __init__(self):
# """
# Initialize your data structure here.
# """
# self.header = None
# self.size = 0
#
# def ge... | 31.485246 | 245 | 0.552223 | 1,276 | 9,603 | 4.04232 | 0.0721 | 0.04653 | 0.045366 | 0.029857 | 0.898798 | 0.884645 | 0.87786 | 0.851105 | 0.831136 | 0.814269 | 0 | 0.010505 | 0.345725 | 9,603 | 305 | 246 | 31.485246 | 0.810441 | 0.679683 | 0 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.222222 | 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 |
91b85021b3770688b6c0e9d90b16d561209dbeab | 92 | py | Python | src/mm_json/__init__.py | Peilonrayz/mm_json | 28c2c7ff148956886daa55f75bd32b1282dec1a3 | [
"MIT"
] | null | null | null | src/mm_json/__init__.py | Peilonrayz/mm_json | 28c2c7ff148956886daa55f75bd32b1282dec1a3 | [
"MIT"
] | null | null | null | src/mm_json/__init__.py | Peilonrayz/mm_json | 28c2c7ff148956886daa55f75bd32b1282dec1a3 | [
"MIT"
] | null | null | null | from .public.dataclass_json import dataclass_json
from .public.typing_json import Converter
| 30.666667 | 49 | 0.869565 | 13 | 92 | 5.923077 | 0.538462 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 50 | 46 | 0.916667 | 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 |
91ba3beceab3befa3e4e385ede00eb2de7aefbf1 | 2,153 | py | Python | assignmenthub/revision_policy/migrations/0001_initial.py | webspace95/assignment_hub_prototype | bf1b588fa817e1d622f965cb9536c986a4a965cf | [
"MIT"
] | null | null | null | assignmenthub/revision_policy/migrations/0001_initial.py | webspace95/assignment_hub_prototype | bf1b588fa817e1d622f965cb9536c986a4a965cf | [
"MIT"
] | null | null | null | assignmenthub/revision_policy/migrations/0001_initial.py | webspace95/assignment_hub_prototype | bf1b588fa817e1d622f965cb9536c986a4a965cf | [
"MIT"
] | null | null | null | # Generated by Django 3.0.4 on 2022-02-25 01:50
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Conclusion',
fields=[
('id', models.AutoFie... | 37.12069 | 114 | 0.537854 | 194 | 2,153 | 5.850515 | 0.242268 | 0.105727 | 0.077533 | 0.101322 | 0.770044 | 0.770044 | 0.770044 | 0.770044 | 0.770044 | 0.673128 | 0 | 0.02106 | 0.316303 | 2,153 | 57 | 115 | 37.77193 | 0.75 | 0.020901 | 0 | 0.66 | 1 | 0 | 0.086895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 |
91bce01935307dad1c3997fcab1989e022f841af | 175 | py | Python | src/pyfoam/__init__.py | lucasralves/pyfoam | fd3c0da05c7a0e0442218942daa432ee01f89eac | [
"MIT"
] | null | null | null | src/pyfoam/__init__.py | lucasralves/pyfoam | fd3c0da05c7a0e0442218942daa432ee01f89eac | [
"MIT"
] | null | null | null | src/pyfoam/__init__.py | lucasralves/pyfoam | fd3c0da05c7a0e0442218942daa432ee01f89eac | [
"MIT"
] | null | null | null | from pyfoam.modules.airfoil.redefine_foil import redefine_airfoil
from pyfoam.modules.mesh.build_mesh import build_mesh
from pyfoam.modules.case.create_case import create_case | 58.333333 | 65 | 0.885714 | 27 | 175 | 5.518519 | 0.407407 | 0.201342 | 0.342282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062857 | 175 | 3 | 66 | 58.333333 | 0.908537 | 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 |
91e1dcb918dd4366e602dbdc0b476d75cae55eb3 | 56 | py | Python | repos/spikeextractors/spikeextractors/extractors/rawrecordingextractor/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | repos/spikeextractors/spikeextractors/extractors/rawrecordingextractor/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | repos/spikeextractors/spikeextractors/extractors/rawrecordingextractor/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | from .rawrecordingextractor import RawRecordingExtractor | 56 | 56 | 0.928571 | 4 | 56 | 13 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.981132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
530825df8d6a31a19f93abadd78c366761edbc88 | 3,735 | py | Python | benchmarks/benchmarks.py | Saransh-cpp/liionpack | 82ab00ad257ccb2bc8dbcb71bc08baa30fa9ed43 | [
"MIT"
] | 23 | 2021-09-28T15:48:48.000Z | 2022-03-15T10:34:35.000Z | benchmarks/benchmarks.py | Saransh-cpp/liionpack | 82ab00ad257ccb2bc8dbcb71bc08baa30fa9ed43 | [
"MIT"
] | 131 | 2021-09-29T09:18:50.000Z | 2022-03-03T06:09:52.000Z | benchmarks/benchmarks.py | Saransh-cpp/liionpack | 82ab00ad257ccb2bc8dbcb71bc08baa30fa9ed43 | [
"MIT"
] | 17 | 2021-09-29T13:14:00.000Z | 2022-03-24T11:01:19.000Z | # Write the benchmarking functions here.
# See "Writing benchmarks" in the asv docs for more information.
import liionpack as lp
import pybamm
class BasicBenchmark:
def setup(self):
self.sim = lp.basic_simulation()
def time_solve_model(self):
self.sim.solve([0, 1800])
class SmallPack:
... | 27.463235 | 75 | 0.554485 | 407 | 3,735 | 4.941032 | 0.203931 | 0.126803 | 0.09448 | 0.062655 | 0.812034 | 0.812034 | 0.812034 | 0.784684 | 0.784684 | 0.700646 | 0 | 0.041735 | 0.345649 | 3,735 | 135 | 76 | 27.666667 | 0.781097 | 0.027042 | 0 | 0.609091 | 0 | 0 | 0.066373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109091 | false | 0 | 0.018182 | 0 | 0.190909 | 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 |
534aed5355ad63b2f6e7ac27542b5030af76ce0d | 44 | py | Python | src/bytespread/__init__.py | jonathanlurie/bytespread | 40cdcba9c631201c031de7f50184e98168b5a8c3 | [
"MIT"
] | null | null | null | src/bytespread/__init__.py | jonathanlurie/bytespread | 40cdcba9c631201c031de7f50184e98168b5a8c3 | [
"MIT"
] | null | null | null | src/bytespread/__init__.py | jonathanlurie/bytespread | 40cdcba9c631201c031de7f50184e98168b5a8c3 | [
"MIT"
] | null | null | null | from bytespread._version import __version__
| 22 | 43 | 0.886364 | 5 | 44 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.85 | 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 |
725d1de19bbae0453b1f523819a2f8e46b9d54c4 | 17,182 | py | Python | python/perspective/perspective/tests/table/test_table_arrow.py | JKGu/perspective | 7b319b7896e58d5860b72bd8756997976f9a7722 | [
"Apache-2.0"
] | null | null | null | python/perspective/perspective/tests/table/test_table_arrow.py | JKGu/perspective | 7b319b7896e58d5860b72bd8756997976f9a7722 | [
"Apache-2.0"
] | null | null | null | python/perspective/perspective/tests/table/test_table_arrow.py | JKGu/perspective | 7b319b7896e58d5860b72bd8756997976f9a7722 | [
"Apache-2.0"
] | null | null | null | # *****************************************************************************
#
# Copyright (c) 2019, the Perspective Authors.
#
# This file is part of the Perspective library, distributed under the terms of
# the Apache License 2.0. The full license can be found in the LICENSE file.
#
import os.path
import numpy a... | 31.996276 | 130 | 0.453556 | 2,050 | 17,182 | 3.653659 | 0.080976 | 0.094927 | 0.028838 | 0.05287 | 0.832176 | 0.821762 | 0.805741 | 0.798798 | 0.793858 | 0.759813 | 0 | 0.048117 | 0.377081 | 17,182 | 536 | 131 | 32.05597 | 0.651686 | 0.036433 | 0 | 0.616205 | 0 | 0 | 0.03455 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 1 | 0.061834 | false | 0 | 0.012793 | 0 | 0.076759 | 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 |
726dcdef6b49cea78a5e3506faf2205d231e2292 | 167 | py | Python | poppler_wrap/pdf/pdf_doc.py | dannguyen/poppler_wrap | abd23dbd273e10cb34ceeb4b6a078faa525c3bb4 | [
"MIT"
] | null | null | null | poppler_wrap/pdf/pdf_doc.py | dannguyen/poppler_wrap | abd23dbd273e10cb34ceeb4b6a078faa525c3bb4 | [
"MIT"
] | null | null | null | poppler_wrap/pdf/pdf_doc.py | dannguyen/poppler_wrap | abd23dbd273e10cb34ceeb4b6a078faa525c3bb4 | [
"MIT"
] | null | null | null | class PdfDoc():
def __init__(self, filename):
self.filename = filename
self.pages = []
def page_count(self):
return len(self.pages)
| 16.7 | 33 | 0.586826 | 19 | 167 | 4.894737 | 0.578947 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.299401 | 167 | 9 | 34 | 18.555556 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 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 |
72722e7768e918fb1963205a81c6db0198479d27 | 1,210 | py | Python | wemo/actions.py | 7ooL/web_home_auto | 66d1a96359154a2a8015fb8ebfabfedcf38f69a9 | [
"MIT"
] | null | null | null | wemo/actions.py | 7ooL/web_home_auto | 66d1a96359154a2a8015fb8ebfabfedcf38f69a9 | [
"MIT"
] | 8 | 2020-12-30T17:41:41.000Z | 2021-01-24T19:16:54.000Z | wemo/actions.py | 7ooL/HomeAuto | 66d1a96359154a2a8015fb8ebfabfedcf38f69a9 | [
"MIT"
] | null | null | null |
import subprocess, logging
logger = logging.getLogger(__name__)
def turn_on_light(device):
if device.enabled:
if not device.status:
cmd = '/usr/local/bin/wemo switch "' + device.name + '" on'
proc = subprocess.Popen([cmd], stdout=(subprocess.PIPE), shell=True)
out, err... | 33.611111 | 93 | 0.56281 | 140 | 1,210 | 4.807143 | 0.292857 | 0.089153 | 0.098068 | 0.112927 | 0.879643 | 0.879643 | 0.796434 | 0.796434 | 0.796434 | 0.796434 | 0 | 0 | 0.284298 | 1,210 | 35 | 94 | 34.571429 | 0.777136 | 0 | 0 | 0.642857 | 0 | 0 | 0.129246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.035714 | 0 | 0.25 | 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 |
f44cd555edf9fbc2ab94748d15ca66419e52bec0 | 678 | py | Python | src/peter_sslers/model/websafe.py | jvanasco/pyramid_letsencrypt_admin | 6db37d30ef8028ff978bf6083cdf978fc88a4782 | [
"MIT"
] | 1 | 2016-03-31T22:19:19.000Z | 2016-03-31T22:19:19.000Z | src/peter_sslers/model/websafe.py | jvanasco/pyramid_letsencrypt_admin | 6db37d30ef8028ff978bf6083cdf978fc88a4782 | [
"MIT"
] | null | null | null | src/peter_sslers/model/websafe.py | jvanasco/pyramid_letsencrypt_admin | 6db37d30ef8028ff978bf6083cdf978fc88a4782 | [
"MIT"
] | null | null | null | from .utils import Acme_Status_Authorization # noqa: F401
from .utils import Acme_Status_Challenge # noqa: F401
from .utils import Acme_Status_Order # noqa: F401
from .utils import AcmeChallengeFailType # noqa: F401
from .utils import AcmeChallengeType # noqa: F401
from .utils import AcmeEvent # noqa: F401
from .... | 48.428571 | 60 | 0.789086 | 84 | 678 | 6.297619 | 0.238095 | 0.221172 | 0.36862 | 0.385633 | 0.606805 | 0.124764 | 0.124764 | 0 | 0 | 0 | 0 | 0.067944 | 0.153392 | 678 | 13 | 61 | 52.153846 | 0.853659 | 0.20944 | 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 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f47250c9d4b7c74337631f2ffcaf0309aa8a9774 | 1,608 | py | Python | src/wellsfargo/migrations/0028_auto_20190401_1213.py | robertdev5/django-oscar | 35c8554c988ad3a901de1d4772c4372c190df1e3 | [
"0BSD"
] | null | null | null | src/wellsfargo/migrations/0028_auto_20190401_1213.py | robertdev5/django-oscar | 35c8554c988ad3a901de1d4772c4372c190df1e3 | [
"0BSD"
] | 8 | 2021-03-18T22:26:27.000Z | 2022-02-10T11:28:57.000Z | src/wellsfargo/migrations/0028_auto_20190401_1213.py | supertech-999/django-oscar | 35c8554c988ad3a901de1d4772c4372c190df1e3 | [
"0BSD"
] | null | null | null | # Generated by Django 2.2 on 2019-04-01 16:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('wellsfargo', '0027_auto_20190208_1635'),
]
operations = [
migrations.AlterField(
model_name='cacreditapp',
name='statu... | 47.294118 | 233 | 0.572761 | 160 | 1,608 | 5.6625 | 0.33125 | 0.0883 | 0.110375 | 0.128035 | 0.740618 | 0.740618 | 0.740618 | 0.740618 | 0.740618 | 0.740618 | 0 | 0.043062 | 0.220149 | 1,608 | 33 | 234 | 48.727273 | 0.679426 | 0.026741 | 0 | 0.592593 | 1 | 0 | 0.288548 | 0.014715 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 |
be3bcb3fe5acc6459d7bcb25b177342484c16b86 | 855 | py | Python | authentication/module/util/objectUtil.py | williamducfer/eras | d85b8b53431f4416152e3f536bc8c99481a63dd7 | [
"MIT"
] | 1 | 2020-09-09T19:51:44.000Z | 2020-09-09T19:51:44.000Z | authentication/module/util/objectUtil.py | williamducfer/eras | d85b8b53431f4416152e3f536bc8c99481a63dd7 | [
"MIT"
] | null | null | null | authentication/module/util/objectUtil.py | williamducfer/eras | d85b8b53431f4416152e3f536bc8c99481a63dd7 | [
"MIT"
] | 2 | 2021-09-11T07:31:19.000Z | 2022-03-17T16:27:10.000Z | def object_function_apply_by_key(object_to_apply, key_to_find, function_to_apply):
if object_to_apply:
if isinstance(object_to_apply, list) and len(object_to_apply) > 0:
for item in object_to_apply:
object_function_apply_by_key(item, key_to_find, function_to_apply)
el... | 37.173913 | 100 | 0.645614 | 121 | 855 | 4.066116 | 0.165289 | 0.24187 | 0.317073 | 0.172764 | 0.878049 | 0.873984 | 0.784553 | 0.626016 | 0.321138 | 0.321138 | 0 | 0.00165 | 0.291228 | 855 | 22 | 101 | 38.863636 | 0.810231 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be430856d7b037dcdd033ba4e6f150ac8116852c | 208 | py | Python | percy/__init__.py | percy/percy-python-selenium | 701c5237cd149cbf9986b324a30b00e99ddd447b | [
"MIT"
] | 9 | 2019-09-20T21:22:42.000Z | 2020-07-25T08:34:15.000Z | percy/__init__.py | percy/percy-selenium-python | 701c5237cd149cbf9986b324a30b00e99ddd447b | [
"MIT"
] | 6 | 2021-02-08T23:24:59.000Z | 2021-11-23T19:05:05.000Z | percy/__init__.py | percy/percy-selenium-python | 701c5237cd149cbf9986b324a30b00e99ddd447b | [
"MIT"
] | 3 | 2021-07-30T21:33:06.000Z | 2022-02-18T14:35:05.000Z | from percy.snapshot import percy_snapshot
from percy.version import __version__
# for better backwards compatibility
def percySnapshot(browser, *a, **kw):
return percy_snapshot(driver=browser, *a, **kw)
| 29.714286 | 51 | 0.783654 | 27 | 208 | 5.814815 | 0.592593 | 0.248408 | 0.127389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 208 | 6 | 52 | 34.666667 | 0.862637 | 0.163462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 6 |
be7e5aa1fc80ee89cfc2486b34051fbd2f4a14c9 | 177 | py | Python | pushcrew/exceptions.py | felicesyforrados/pushcrew-python | ecf2eef3995bfaa010542a39919e391e5752592d | [
"MIT"
] | 2 | 2019-05-25T09:39:22.000Z | 2020-08-08T18:03:14.000Z | pushcrew/exceptions.py | felicesyforrados/pushcrew-python | ecf2eef3995bfaa010542a39919e391e5752592d | [
"MIT"
] | null | null | null | pushcrew/exceptions.py | felicesyforrados/pushcrew-python | ecf2eef3995bfaa010542a39919e391e5752592d | [
"MIT"
] | 1 | 2020-09-02T14:31:10.000Z | 2020-09-02T14:31:10.000Z | class PushCrewBaseException(BaseException):
"""
Generic exception
"""
def __init__(self, *args, **kwargs):
BaseException.__init__(self, *args, **kwargs)
| 25.285714 | 53 | 0.649718 | 15 | 177 | 7.133333 | 0.666667 | 0.149533 | 0.224299 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20904 | 177 | 6 | 54 | 29.5 | 0.764286 | 0.096045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
beac3868de7a5b6a54aaf9326e5008c0086d7e9a | 99 | py | Python | orb_simulator/orbsim_language/orbsim_ast/agent.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/orbsim_language/orbsim_ast/agent.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/orbsim_language/orbsim_ast/agent.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | from orbsim_language.orbsim_ast.atomic_node import AtomicNode
class AgentNode(AtomicNode):
pass | 24.75 | 61 | 0.848485 | 13 | 99 | 6.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 4 | 62 | 24.75 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
beb990cf65b04a73cbc78cc40aac33df7d48ad72 | 11,611 | py | Python | app/tests/evaluation_tests/test_permissions.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 7 | 2016-11-05T07:16:30.000Z | 2017-11-23T03:38:03.000Z | app/tests/evaluation_tests/test_permissions.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 113 | 2015-05-26T09:27:59.000Z | 2018-03-21T10:45:56.000Z | app/tests/evaluation_tests/test_permissions.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 7 | 2015-07-16T20:11:22.000Z | 2017-06-06T02:41:24.000Z | import pytest
from django.conf import settings
from django.contrib.auth.models import Group
from django.test import TestCase
from django_capture_on_commit_callbacks import capture_on_commit_callbacks
from guardian.shortcuts import get_groups_with_perms, get_users_with_perms
from grandchallenge.evaluation.models import... | 35.184848 | 80 | 0.637413 | 1,227 | 11,611 | 5.678892 | 0.113284 | 0.094719 | 0.106774 | 0.086108 | 0.806257 | 0.766648 | 0.724024 | 0.708094 | 0.708094 | 0.687141 | 0 | 0.000477 | 0.278184 | 11,611 | 329 | 81 | 35.291793 | 0.830927 | 0.101197 | 0 | 0.546939 | 0 | 0 | 0.075536 | 0.004483 | 0 | 0 | 0 | 0 | 0.118367 | 1 | 0.04898 | false | 0 | 0.036735 | 0 | 0.110204 | 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 |
fe95c97ef44ae0ce62e186ab01466ef345d57b11 | 86 | py | Python | selenium_robot/__init__.py | puke3615/selenium_robot | 929598ab6c4df1d8a90c06729f5f8a279dfad16b | [
"Apache-2.0"
] | 1 | 2019-01-22T01:18:48.000Z | 2019-01-22T01:18:48.000Z | selenium_robot/__init__.py | puke3615/selenium_robot | 929598ab6c4df1d8a90c06729f5f8a279dfad16b | [
"Apache-2.0"
] | null | null | null | selenium_robot/__init__.py | puke3615/selenium_robot | 929598ab6c4df1d8a90c06729f5f8a279dfad16b | [
"Apache-2.0"
] | null | null | null | from exceptions import *
from actions import *
from models import *
from opts import * | 21.5 | 24 | 0.77907 | 12 | 86 | 5.583333 | 0.5 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 86 | 4 | 25 | 21.5 | 0.943662 | 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 |
fe980d5548699633ae86e13eb653a068aa3d53ae | 704 | py | Python | sdk/python/pulumi_phpipam/__init__.py | MartinSchmidt123/pulumi-phpipam | f45776184a45fc1cc1fa14ec40dfdea892cb66f8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_phpipam/__init__.py | MartinSchmidt123/pulumi-phpipam | f45776184a45fc1cc1fa14ec40dfdea892cb66f8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_phpipam/__init__.py | MartinSchmidt123/pulumi-phpipam | f45776184a45fc1cc1fa14ec40dfdea892cb66f8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from .address import *
from .first_free_address import *
from .first_free_subnet import *
f... | 27.076923 | 87 | 0.745739 | 104 | 704 | 4.894231 | 0.471154 | 0.275049 | 0.204322 | 0.111984 | 0.277014 | 0.11002 | 0 | 0 | 0 | 0 | 0 | 0.001704 | 0.166193 | 704 | 25 | 88 | 28.16 | 0.865417 | 0.350852 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
feb80173f3f58704935fef85d17d7bf12a997096 | 35 | py | Python | testing/correctness/apps/local_sequence_detector/_validate.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 1,459 | 2017-09-16T13:13:15.000Z | 2020-10-05T06:19:50.000Z | testing/correctness/apps/local_sequence_detector/_validate.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 1,413 | 2017-09-14T18:18:14.000Z | 2020-09-28T08:10:30.000Z | testing/correctness/apps/local_sequence_detector/_validate.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 80 | 2017-09-27T23:16:23.000Z | 2020-06-02T09:18:53.000Z | print("I'm an empty _validate.py")
| 17.5 | 34 | 0.714286 | 7 | 35 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 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 |
22949a00f0ae7bb8b76e39acfde3ae43edc25d91 | 345 | py | Python | lib/CbasLib/CBASOperations.py | pavithra-mahamani/TAF | ff854adcc6ca3e50d9dc64e7756ca690251128d3 | [
"Apache-2.0"
] | null | null | null | lib/CbasLib/CBASOperations.py | pavithra-mahamani/TAF | ff854adcc6ca3e50d9dc64e7756ca690251128d3 | [
"Apache-2.0"
] | null | null | null | lib/CbasLib/CBASOperations.py | pavithra-mahamani/TAF | ff854adcc6ca3e50d9dc64e7756ca690251128d3 | [
"Apache-2.0"
] | null | null | null | '''
Created on Oct 24, 2017
@author: riteshagarwal
'''
import mode
if mode.java:
from CbasLib.CBASOperations_JavaSDK import CBASHelper as cbaslib
elif mode.cli:
from CbasLib.CBASOperations_CLI import CBASHelper as cbaslib
else:
from CbasLib.CBASOperations_Rest import CBASHelper as cbaslib
class CBAS... | 20.294118 | 68 | 0.768116 | 44 | 345 | 5.954545 | 0.522727 | 0.125954 | 0.28626 | 0.28626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.173913 | 345 | 17 | 69 | 20.294118 | 0.898246 | 0.136232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.444444 | 0 | 0.555556 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
22a8e075fb43849d5f85c5f47ea9c3972c9a4f6c | 62 | py | Python | ilf/fuzzers/mix/__init__.py | RainOfPhone/ilf | 83c34c2147f05a26fde81f94acb58fe5719b05a2 | [
"Apache-2.0"
] | 2 | 2022-02-24T10:05:54.000Z | 2022-03-21T06:29:56.000Z | ilf/fuzzers/mix/__init__.py | RainOfPhone/ilf | 83c34c2147f05a26fde81f94acb58fe5719b05a2 | [
"Apache-2.0"
] | null | null | null | ilf/fuzzers/mix/__init__.py | RainOfPhone/ilf | 83c34c2147f05a26fde81f94acb58fe5719b05a2 | [
"Apache-2.0"
] | null | null | null | from .obs_mix import ObsMix
from .policy_mix import PolicyMix
| 20.666667 | 33 | 0.83871 | 10 | 62 | 5 | 0.7 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 34 | 31 | 0.925926 | 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 |
22ca524f9870defca2ab8b7cf5e26e1db45ff389 | 35 | py | Python | daemonize/__init__.py | samarthg/snowflake-smart-suspend | bbfb656c40817bc203f7d94e6562a03523ae5125 | [
"MIT"
] | null | null | null | daemonize/__init__.py | samarthg/snowflake-smart-suspend | bbfb656c40817bc203f7d94e6562a03523ae5125 | [
"MIT"
] | 3 | 2017-05-02T18:32:03.000Z | 2017-05-02T18:34:03.000Z | daemonize/__init__.py | samarthg/snowflake-smart-suspend | bbfb656c40817bc203f7d94e6562a03523ae5125 | [
"MIT"
] | null | null | null | from daemonize.daemon import Daemon | 35 | 35 | 0.885714 | 5 | 35 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 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 |
22da31f5d865ed919e4a173ea25d9c04fef05bb8 | 5,682 | py | Python | notebook/scipy_sparse_arithmetic_operations.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/scipy_sparse_arithmetic_operations.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/scipy_sparse_arithmetic_operations.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | import numpy as np
from scipy.sparse import csr_matrix, csc_matrix, coo_matrix, lil_matrix
l = [[0, 1, 2],
[3, 0, 4],
[0, 0, 0]]
csr = csr_matrix(l)
print((csr + csr).toarray())
# [[0 2 4]
# [6 0 8]
# [0 0 0]]
print(type((csr + csr)))
# <class 'scipy.sparse.csr.csr_matrix'>
print((csr - csr).toarray())... | 24.704348 | 123 | 0.636572 | 922 | 5,682 | 3.892625 | 0.098698 | 0.021176 | 0.017554 | 0.085261 | 0.827529 | 0.790192 | 0.744497 | 0.720535 | 0.674283 | 0.663416 | 0 | 0.067088 | 0.19201 | 5,682 | 229 | 124 | 24.812227 | 0.714659 | 0.729849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040816 | 0 | 0.040816 | 0.77551 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 6 |
a3a992d4aa7dbee50c1579149613a75179829bed | 2,317 | py | Python | tests/test_engine/test_queries/test_queryop_array_size.py | bobuk/montydb | 9ee299e7f1d3a7236abb683e0dfe4f7817859b2c | [
"BSD-3-Clause"
] | 478 | 2019-07-31T00:48:11.000Z | 2022-03-18T09:12:29.000Z | tests/test_engine/test_queries/test_queryop_array_size.py | bobuk/montydb | 9ee299e7f1d3a7236abb683e0dfe4f7817859b2c | [
"BSD-3-Clause"
] | 47 | 2019-07-28T10:12:22.000Z | 2022-01-04T16:25:12.000Z | tests/test_engine/test_queries/test_queryop_array_size.py | bobuk/montydb | 9ee299e7f1d3a7236abb683e0dfe4f7817859b2c | [
"BSD-3-Clause"
] | 26 | 2019-08-09T14:28:29.000Z | 2022-02-22T02:49:51.000Z |
import pytest
from montydb.errors import OperationFailure
def count_documents(cursor, spec=None):
return cursor.collection.count_documents(spec or {})
def test_qop_size_1(monty_find, mongo_find):
docs = [
{"a": [0, 1, 2]},
{"a": [0, 1]}
]
spec = {"a": {"$size": 3}}
monty_c = mo... | 25.184783 | 75 | 0.580924 | 341 | 2,317 | 3.692082 | 0.1261 | 0.101668 | 0.103257 | 0.127085 | 0.838761 | 0.838761 | 0.838761 | 0.827641 | 0.807784 | 0.787133 | 0 | 0.026584 | 0.236944 | 2,317 | 91 | 76 | 25.461538 | 0.68552 | 0.021148 | 0 | 0.59375 | 0 | 0 | 0.030477 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.109375 | false | 0 | 0.03125 | 0.015625 | 0.15625 | 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 |
a3c23c637c5c2da2eca5f3b4a8261e77f73c09fd | 2,743 | py | Python | minigame_grids.py | TheRealBanana/Algosnake | c31da39f1e47bb0a4ac1a0c3ef090a6ae3c74968 | [
"MIT"
] | 1 | 2018-06-09T01:48:15.000Z | 2018-06-09T01:48:15.000Z | minigame_grids.py | TheRealBanana/Algosnake | c31da39f1e47bb0a4ac1a0c3ef090a6ae3c74968 | [
"MIT"
] | null | null | null | minigame_grids.py | TheRealBanana/Algosnake | c31da39f1e47bb0a4ac1a0c3ef090a6ae3c74968 | [
"MIT"
] | null | null | null | countdown_3_grid = [{(11, 16): 2, (4, 18): 2, (7, 16): 2, (11, 14): 2, (9, 18): 2, (7, 15): 2, (5, 18): 2, (10, 18): 2, (4, 13): 2, (11, 18): 2, (11, 13): 2, (7, 14): 2, (6, 18): 2, (4, 14): 2, (7, 18): 2, (4, 16): 2, (11, 17): 2, (20, 2): 3, (4, 15): 2, (4, 17): 2, (8, 18): 2, (7, 17): 2, (11, 15): 2}, (20, 2)]
countd... | 548.6 | 1,798 | 0.354721 | 665 | 2,743 | 1.452632 | 0.051128 | 0.057971 | 0.024845 | 0.02795 | 0.213251 | 0.154244 | 0.154244 | 0.082816 | 0.082816 | 0.082816 | 0 | 0.441615 | 0.241342 | 2,743 | 4 | 1,799 | 685.75 | 0.022585 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a3d2f508df57b4db0be121811a9bf799514e7375 | 43 | py | Python | quarantine/controller/__init__.py | kwoolter/Quarantine | 7b824a3d6eebbded611c48e44dcb3c2e4007033e | [
"BSD-2-Clause"
] | null | null | null | quarantine/controller/__init__.py | kwoolter/Quarantine | 7b824a3d6eebbded611c48e44dcb3c2e4007033e | [
"BSD-2-Clause"
] | null | null | null | quarantine/controller/__init__.py | kwoolter/Quarantine | 7b824a3d6eebbded611c48e44dcb3c2e4007033e | [
"BSD-2-Clause"
] | null | null | null | from . pygame_controller import QController | 43 | 43 | 0.883721 | 5 | 43 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 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 |
a3dd2e19e82dfaf820e11b4760d1a68ae0d55196 | 23,450 | py | Python | src/y0/util/stat_utils.py | y0-causal-inference/y0 | 3a84c35c78e79d502570510109fd0dc919ad1bfd | [
"BSD-3-Clause"
] | 8 | 2021-02-09T22:47:11.000Z | 2022-03-29T17:26:52.000Z | src/y0/util/stat_utils.py | altdeep/y0 | 3e9e8d47b08b51f64216000db31d8f4c0fd388a3 | [
"BSD-3-Clause"
] | 61 | 2021-01-11T20:03:01.000Z | 2022-03-19T20:09:20.000Z | src/y0/util/stat_utils.py | y0-causal-inference/y0 | 3a84c35c78e79d502570510109fd0dc919ad1bfd | [
"BSD-3-Clause"
] | 4 | 2021-01-12T01:19:36.000Z | 2021-12-01T04:02:20.000Z | # flake8: noqa
# The MIT License (MIT)
#
# Copyright (c) 2013-2017 pgmpy
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# u... | 36.413043 | 109 | 0.623795 | 3,304 | 23,450 | 4.378935 | 0.104722 | 0.057575 | 0.033177 | 0.029859 | 0.795411 | 0.793544 | 0.790227 | 0.777371 | 0.775988 | 0.763962 | 0 | 0.016185 | 0.267548 | 23,450 | 643 | 110 | 36.469673 | 0.825862 | 0.803497 | 0 | 0.169231 | 0 | 0.030769 | 0.137722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123077 | false | 0 | 0.030769 | 0 | 0.292308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3e49c12996fdb7e17aa1d63353aa36ffdcc3326 | 6,205 | py | Python | UniversalPetrarch/EventCoder.py | Sayeedsalam/UDPetrarch-for-Python3 | e6c58e927f9ce214b2f94527a07cc6acefda4304 | [
"MIT"
] | null | null | null | UniversalPetrarch/EventCoder.py | Sayeedsalam/UDPetrarch-for-Python3 | e6c58e927f9ce214b2f94527a07cc6acefda4304 | [
"MIT"
] | null | null | null | UniversalPetrarch/EventCoder.py | Sayeedsalam/UDPetrarch-for-Python3 | e6c58e927f9ce214b2f94527a07cc6acefda4304 | [
"MIT"
] | null | null | null |
import logging
import time
from UniversalPetrarch import utilities, PETRglobals, PETRreader, petrarch_ud
class EventCoder:
def __init__(self, petrGlobal={}, config_folder='data/config/', config_file='PETR_config.ini'):
#cli_args = petrarch2.parse_cli_args()
if not petrGlobal:
ut... | 45.962963 | 99 | 0.700403 | 448 | 6,205 | 9.622768 | 0.200893 | 0.046393 | 0.066806 | 0.046393 | 0.865228 | 0.865228 | 0.851775 | 0.851775 | 0.851775 | 0.822547 | 0 | 0.000203 | 0.206446 | 6,205 | 134 | 100 | 46.30597 | 0.875305 | 0.005963 | 0 | 0.152381 | 0 | 0 | 0.170668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.028571 | 0.019048 | 0.12381 | 0.028571 | 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 |
a3e81d82e1678994d3a2682b59dcf002065a730a | 24 | py | Python | src/planning/__init__.py | proballstar/canary | beda60e9f543c73eba635ad0e25cc20c0d57bb71 | [
"MIT"
] | null | null | null | src/planning/__init__.py | proballstar/canary | beda60e9f543c73eba635ad0e25cc20c0d57bb71 | [
"MIT"
] | 3 | 2020-04-13T21:10:36.000Z | 2020-04-21T14:59:51.000Z | src/planning/__init__.py | proballstar/canary | beda60e9f543c73eba635ad0e25cc20c0d57bb71 | [
"MIT"
] | 1 | 2020-04-13T20:29:10.000Z | 2020-04-13T20:29:10.000Z | from . import plan_route | 24 | 24 | 0.833333 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 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 |
431d928e1f5ce6742792a696a6617271d613fa25 | 4,233 | py | Python | uem/kasiski/kasiski.py | junquera/my-crypto-works | 8ef1b207a97fd5ee7eb53f985edc73813a0f8fc0 | [
"MIT"
] | null | null | null | uem/kasiski/kasiski.py | junquera/my-crypto-works | 8ef1b207a97fd5ee7eb53f985edc73813a0f8fc0 | [
"MIT"
] | null | null | null | uem/kasiski/kasiski.py | junquera/my-crypto-works | 8ef1b207a97fd5ee7eb53f985edc73813a0f8fc0 | [
"MIT"
] | 1 | 2018-07-16T22:03:44.000Z | 2018-07-16T22:03:44.000Z | '''
La mejor explicación del método de análisis Kasiski:
https://crypto.interactive-maths.com/kasiski-analysis-breaking-the-code.html
'''
import mono
m1 = 'VSFCRJUZHROTAABUEXCCRRMOARLUNNISUDBUEYCFUEEQVWRMFHECDWCKOSFNDADSNCILOQFCABALEEHEFPDCTIAYOCFLUOYWANSGZCAQBELMVRIRMAVVNFOQVNGSFKRACEUEZOQFRKFRJOXJRILASATLMGRVNGBG... | 75.589286 | 1,349 | 0.86558 | 183 | 4,233 | 19.934426 | 0.486339 | 0.008224 | 0.004934 | 0.014803 | 0.035088 | 0.035088 | 0.035088 | 0.035088 | 0.035088 | 0.035088 | 0 | 0.004396 | 0.086464 | 4,233 | 55 | 1,350 | 76.963636 | 0.938971 | 0.114576 | 0 | 0 | 0 | 0 | 0.765336 | 0.765068 | 0 | 1 | 0 | 0.018182 | 0 | 1 | 0 | false | 0.033333 | 0.033333 | 0 | 0.033333 | 0.033333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43368ee05e70390b47b2138773a9325d183af06f | 156 | py | Python | django_import_data/apps.py | GreenBankObservatory/django-import-data | 80b75f5a1a750c75c1d9f6c759a357cf600d4a5e | [
"MIT"
] | 1 | 2021-09-22T14:37:41.000Z | 2021-09-22T14:37:41.000Z | django_import_data/apps.py | GreenBankObservatory/django-import-data | 80b75f5a1a750c75c1d9f6c759a357cf600d4a5e | [
"MIT"
] | null | null | null | django_import_data/apps.py | GreenBankObservatory/django-import-data | 80b75f5a1a750c75c1d9f6c759a357cf600d4a5e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DjangoImportDataProjectConfig(AppConfig):
name = "django_import_data"
verbose_name = "Django Import Data"
| 22.285714 | 47 | 0.782051 | 17 | 156 | 7 | 0.588235 | 0.168067 | 0.268908 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 156 | 6 | 48 | 26 | 0.901515 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1.75 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43432531a23134f49af23e5f40cdb70638727ebc | 33,044 | py | Python | src/main/python/smart/smartplots_setup.py | cday97/beam | 7e1ab50eecaefafd04daab360f8b12bc7cab559b | [
"BSD-3-Clause-LBNL"
] | 123 | 2017-04-06T20:17:19.000Z | 2022-03-02T13:42:15.000Z | src/main/python/smart/smartplots_setup.py | cday97/beam | 7e1ab50eecaefafd04daab360f8b12bc7cab559b | [
"BSD-3-Clause-LBNL"
] | 2,676 | 2017-04-26T20:27:27.000Z | 2022-03-31T16:39:53.000Z | src/main/python/smart/smartplots_setup.py | cday97/beam | 7e1ab50eecaefafd04daab360f8b12bc7cab559b | [
"BSD-3-Clause-LBNL"
] | 60 | 2017-04-06T20:14:32.000Z | 2022-03-30T20:10:53.000Z | import matplotlib
import sys
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.patches as mpatches
import matplotlib.lines as mlines
import os
plt.style.use('seaborn-colorblind')
# plt.style.use('ggplot')
plt.rcParams['axes.edgecolor'] = 'black'
plt.rcParams['axes.facecolor'] = '... | 52.617834 | 171 | 0.666808 | 4,690 | 33,044 | 4.404478 | 0.057143 | 0.038341 | 0.023237 | 0.019364 | 0.849736 | 0.801326 | 0.785109 | 0.770102 | 0.735005 | 0.712156 | 0 | 0.018374 | 0.155066 | 33,044 | 628 | 172 | 52.617834 | 0.72149 | 0.000878 | 0 | 0.622103 | 0 | 0 | 0.230758 | 0.045103 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02139 | false | 0.003565 | 0.01426 | 0 | 0.035651 | 0.001783 | 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 |
4abcc9673671d7058bf9881772a43282afcbe8e8 | 4,311 | py | Python | gwells/test_admin.py | rstens/gwells | 234132f741643d2debd3c509c46c0bbfae2333ae | [
"Apache-2.0"
] | null | null | null | gwells/test_admin.py | rstens/gwells | 234132f741643d2debd3c509c46c0bbfae2333ae | [
"Apache-2.0"
] | null | null | null | gwells/test_admin.py | rstens/gwells | 234132f741643d2debd3c509c46c0bbfae2333ae | [
"Apache-2.0"
] | null | null | null | from django.test import TestCase
from django.contrib.auth.models import Group
from django.contrib.auth.models import User
from django.urls import reverse
from urllib.parse import urlparse
from urllib.parse import parse_qsl
from http import HTTPStatus
class AdminTestCase(TestCase):
@classmethod
def setUpTestDat... | 33.418605 | 95 | 0.670146 | 504 | 4,311 | 5.587302 | 0.178571 | 0.053267 | 0.068182 | 0.090909 | 0.825639 | 0.771307 | 0.731534 | 0.689276 | 0.67294 | 0.67294 | 0 | 0.003859 | 0.218511 | 4,311 | 128 | 96 | 33.679688 | 0.831998 | 0.027604 | 0 | 0.777778 | 0 | 0 | 0.068644 | 0 | 0 | 0 | 0 | 0.007813 | 0.2 | 1 | 0.111111 | false | 0.155556 | 0.077778 | 0 | 0.211111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
435bccee9efaad2b93ccff44c3c59f987b834310 | 19,539 | py | Python | tests/testdata/jsonfile_archiver/chat_component.py | wakamezake/pytchat | c84a32682c6ad62e3710612123508b304e6eb7e4 | [
"MIT"
] | 246 | 2019-11-14T13:33:48.000Z | 2022-03-18T16:36:21.000Z | tests/testdata/jsonfile_archiver/chat_component.py | wakamezake/pytchat | c84a32682c6ad62e3710612123508b304e6eb7e4 | [
"MIT"
] | 47 | 2020-01-30T15:00:13.000Z | 2021-12-14T04:06:02.000Z | tests/testdata/jsonfile_archiver/chat_component.py | wakamezake/pytchat | c84a32682c6ad62e3710612123508b304e6eb7e4 | [
"MIT"
] | 49 | 2019-12-24T03:33:41.000Z | 2022-03-23T15:14:47.000Z | chat_component = {
"video_id" : "video_id",
"timeout" : 10,
"chatdata": [
{
"addChatItemAction": {
"item": {
"liveChatTextMessageRenderer": {
"message": {
"runs": [
{
... | 40.038934 | 150 | 0.309637 | 832 | 19,539 | 7.159856 | 0.161058 | 0.021487 | 0.036931 | 0.053718 | 0.799228 | 0.795367 | 0.784623 | 0.750713 | 0.727883 | 0.717307 | 0 | 0.052477 | 0.582578 | 19,539 | 487 | 151 | 40.12115 | 0.677415 | 0 | 0 | 0.486653 | 0 | 0.032854 | 0.322534 | 0.056861 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
436354faf3d243eb1af1e420791ddeba6d36f624 | 78 | py | Python | markdowngenerator/__init__.py | mattpminer/python-markdown-generator | a04ab291d83ed095df2dc7170fb3911b1a7600ee | [
"Apache-2.0"
] | null | null | null | markdowngenerator/__init__.py | mattpminer/python-markdown-generator | a04ab291d83ed095df2dc7170fb3911b1a7600ee | [
"Apache-2.0"
] | null | null | null | markdowngenerator/__init__.py | mattpminer/python-markdown-generator | a04ab291d83ed095df2dc7170fb3911b1a7600ee | [
"Apache-2.0"
] | null | null | null | from .conf import *
from .syntax import *
from .markdowngenerator import *
| 19.5 | 33 | 0.730769 | 9 | 78 | 6.333333 | 0.555556 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 78 | 3 | 34 | 26 | 0.904762 | 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 |
436ddce323b8b446e81503803a9ea8ceed9fd850 | 29 | py | Python | slides/7-filas-prioridade/codes/example.py | carlosal1015/curso-estruturas-de-dados-i | 1673fa73966efcacf05fcdc41a0cc7396df74a86 | [
"CC-BY-4.0"
] | 21 | 2020-09-03T20:15:15.000Z | 2022-03-28T18:18:39.000Z | slides/7-filas-prioridade/codes/example.py | Salgadoow/curso-estruturas-de-dados-i | cba5ee530cba0a31583ca7936959613fb2b73c00 | [
"CC-BY-4.0"
] | 1 | 2020-08-05T18:30:19.000Z | 2020-08-06T02:57:41.000Z | slides/7-filas-prioridade/codes/example.py | Salgadoow/curso-estruturas-de-dados-i | cba5ee530cba0a31583ca7936959613fb2b73c00 | [
"CC-BY-4.0"
] | 7 | 2020-10-27T13:13:40.000Z | 2021-11-14T22:55:54.000Z | print("Example Hello World")
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 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 |
43aa361405b964be18de0dc21ae80adf6bbbd260 | 66 | py | Python | unit_tests/__init__.py | plumgrid/upstream-charm-plumgrid-gateway | 7448c43f9735203a052d1366aa96a091f6544446 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | unit_tests/__init__.py | plumgrid/upstream-charm-plumgrid-gateway | 7448c43f9735203a052d1366aa96a091f6544446 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | unit_tests/__init__.py | plumgrid/upstream-charm-plumgrid-gateway | 7448c43f9735203a052d1366aa96a091f6544446 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import sys
sys.path.append('actions/')
sys.path.append('hooks/')
| 13.2 | 27 | 0.712121 | 10 | 66 | 4.7 | 0.6 | 0.297872 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 66 | 4 | 28 | 16.5 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.