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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d30e870e83c26bc14949e481041a86f91b946c8f | 100 | py | Python | sum.py | adde9708/projects | 911ad1cd486082d2428d1f08af2a4b44659d87d8 | [
"BSD-3-Clause"
] | null | null | null | sum.py | adde9708/projects | 911ad1cd486082d2428d1f08af2a4b44659d87d8 | [
"BSD-3-Clause"
] | null | null | null | sum.py | adde9708/projects | 911ad1cd486082d2428d1f08af2a4b44659d87d8 | [
"BSD-3-Clause"
] | null | null | null | def sum_lst():
lst = [1, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50]
print(sum(lst))
sum_lst()
| 14.285714 | 52 | 0.51 | 20 | 100 | 2.45 | 0.75 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273973 | 0.27 | 100 | 6 | 53 | 16.666667 | 0.39726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d31f2afb42f1257548f4134f0fed30c697d3b869 | 31,053 | py | Python | havsim/old/models.py | ronan-keane/hav-sim | 0aaf9674e987822ff2dc90c74613d5e68e8ef0ce | [
"Apache-2.0"
] | null | null | null | havsim/old/models.py | ronan-keane/hav-sim | 0aaf9674e987822ff2dc90c74613d5e68e8ef0ce | [
"Apache-2.0"
] | null | null | null | havsim/old/models.py | ronan-keane/hav-sim | 0aaf9674e987822ff2dc90c74613d5e68e8ef0ce | [
"Apache-2.0"
] | 2 | 2020-09-30T22:44:37.000Z | 2021-05-09T07:36:28.000Z |
"""
traffic models in their function form
@author: rlk268@cornell.edu
"""
from havsim import helper
import math
import numpy as np
def LLobj(p,simtimes, curtime, prev, prevspeed,count, eta, cureta, etaactive, am, leadint, curLC, LClist, h, datadelay ):
#p[0] = time delay
#p[1] = shift in space
#p[2] = f... | 40.539164 | 207 | 0.492996 | 5,882 | 31,053 | 2.587385 | 0.066474 | 0.06781 | 0.076878 | 0.021552 | 0.749064 | 0.742099 | 0.732374 | 0.720547 | 0.707208 | 0.701754 | 0 | 0.098055 | 0.246611 | 31,053 | 765 | 208 | 40.592157 | 0.552468 | 0.255016 | 0 | 0.751708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047836 | false | 0.002278 | 0.006834 | 0 | 0.102506 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3758e793eb7f68eb32e36be2f278d624016d927 | 121 | py | Python | Hello-World/hello_world_rakibul_islam_raju.py | RoyalTechie/Hacktoberfest | 5a66f81972a3db15d7c48c8d163d8de4df01d0fe | [
"Apache-2.0"
] | 1 | 2021-10-08T17:18:23.000Z | 2021-10-08T17:18:23.000Z | Hello-World/hello_world_rakibul_islam_raju.py | RoyalTechie/Hacktoberfest | 5a66f81972a3db15d7c48c8d163d8de4df01d0fe | [
"Apache-2.0"
] | null | null | null | Hello-World/hello_world_rakibul_islam_raju.py | RoyalTechie/Hacktoberfest | 5a66f81972a3db15d7c48c8d163d8de4df01d0fe | [
"Apache-2.0"
] | null | null | null | '''
LANGUAGE: Python
AUTHOR: Rakibul Islam Raju
GITHUB: https://github.com/rakibul-islam-raju
'''
print('Hello, World!')
| 17.285714 | 45 | 0.719008 | 16 | 121 | 5.4375 | 0.75 | 0.275862 | 0.367816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 6 | 46 | 20.166667 | 0.798165 | 0.735537 | 0 | 0 | 0 | 0 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
6c98d1601eb02ce33ac22619e3dec46030eb11e5 | 5,113 | py | Python | tests/test_01_dates.py | RKrahl/archive-tools | a126896ab00bfa9fe206a547e65e23953881a56b | [
"Apache-2.0"
] | 1 | 2021-12-21T04:13:15.000Z | 2021-12-21T04:13:15.000Z | tests/test_01_dates.py | RKrahl/archive-tools | a126896ab00bfa9fe206a547e65e23953881a56b | [
"Apache-2.0"
] | 45 | 2019-02-23T22:45:07.000Z | 2021-12-05T22:00:50.000Z | tests/test_01_dates.py | RKrahl/archive-tools | a126896ab00bfa9fe206a547e65e23953881a56b | [
"Apache-2.0"
] | 1 | 2020-02-01T00:59:25.000Z | 2020-02-01T00:59:25.000Z | """Test helper functions dealing with dates in the archive.tools module.
"""
import datetime
import pytest
import archive.tools
tz_utc = datetime.timezone.utc
tz_cest = datetime.timezone(datetime.timedelta(hours=2))
tz_mst = datetime.timezone(datetime.timedelta(hours=-7))
testdates = [
{
'dt': datetime.da... | 39.030534 | 75 | 0.678662 | 761 | 5,113 | 4.39159 | 0.160315 | 0.078995 | 0.041891 | 0.031119 | 0.825853 | 0.730102 | 0.727409 | 0.714841 | 0.714841 | 0.710054 | 0 | 0.07471 | 0.191082 | 5,113 | 130 | 76 | 39.330769 | 0.733317 | 0.238607 | 0 | 0.494253 | 0 | 0 | 0.173844 | 0.019815 | 0 | 0 | 0 | 0 | 0.16092 | 1 | 0.091954 | false | 0 | 0.034483 | 0 | 0.126437 | 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 |
9f028a71e665c0e45ca4328d236dc7b3d5bf73ef | 10,206 | py | Python | tests/test_client.py | girtsf/hbmqtt | af8238e6bf72ba1193eaec0e3b74f964bf602efb | [
"MIT"
] | 1 | 2021-07-19T06:46:25.000Z | 2021-07-19T06:46:25.000Z | tests/test_client.py | girtsf/hbmqtt | af8238e6bf72ba1193eaec0e3b74f964bf602efb | [
"MIT"
] | null | null | null | tests/test_client.py | girtsf/hbmqtt | af8238e6bf72ba1193eaec0e3b74f964bf602efb | [
"MIT"
] | null | null | null | # Copyright (c) 2015 Nicolas JOUANIN
#
# See the file license.txt for copying permission.
import unittest
import asyncio
import os
import logging
from hbmqtt.client import MQTTClient, ConnectException
from hbmqtt.broker import Broker
from hbmqtt.mqtt.constants import QOS_0, QOS_1, QOS_2
formatter = "[%(asctime)s] %(na... | 37.112727 | 99 | 0.551538 | 1,067 | 10,206 | 5.143393 | 0.129335 | 0.075437 | 0.087464 | 0.01312 | 0.790634 | 0.768586 | 0.761297 | 0.7418 | 0.735423 | 0.708455 | 0 | 0.018767 | 0.342152 | 10,206 | 274 | 100 | 37.248175 | 0.79863 | 0.008132 | 0 | 0.722449 | 0 | 0.004082 | 0.080344 | 0.007708 | 0 | 0 | 0 | 0 | 0.077551 | 1 | 0.089796 | false | 0 | 0.028571 | 0 | 0.122449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c7ead77c302d95b22f70628eb8822ac10ac189b | 1,242 | py | Python | portfolio/migrations/0002_auto_20210808_1617.py | ralphiecodes/my_portfolio | a625e9c3638605fc26dbb97a81881517a9778387 | [
"MIT",
"Unlicense"
] | 1 | 2021-08-09T16:46:30.000Z | 2021-08-09T16:46:30.000Z | portfolio/migrations/0002_auto_20210808_1617.py | ralphiecodes/my_portfolio | a625e9c3638605fc26dbb97a81881517a9778387 | [
"MIT",
"Unlicense"
] | null | null | null | portfolio/migrations/0002_auto_20210808_1617.py | ralphiecodes/my_portfolio | a625e9c3638605fc26dbb97a81881517a9778387 | [
"MIT",
"Unlicense"
] | null | null | null | # Generated by Django 3.2.5 on 2021-08-08 20:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('portfolio', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='project',
name='detail_five',
... | 28.227273 | 63 | 0.558776 | 123 | 1,242 | 5.487805 | 0.333333 | 0.16 | 0.204444 | 0.24 | 0.755556 | 0.755556 | 0.755556 | 0.69037 | 0.62963 | 0.62963 | 0 | 0.044048 | 0.323672 | 1,242 | 43 | 64 | 28.883721 | 0.759524 | 0.036232 | 0 | 0.648649 | 1 | 0 | 0.106276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 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 |
4cab16c58dacba9eb3e490111e01a8672ebbacb6 | 39,083 | py | Python | special.py | DuckMasterAl/dbs-manager | 300680f9a353725358aebf983647c306381a2237 | [
"MIT"
] | 2 | 2020-11-01T07:25:09.000Z | 2020-11-16T01:41:02.000Z | special.py | DuckMasterAl/dbs-manager | 300680f9a353725358aebf983647c306381a2237 | [
"MIT"
] | null | null | null | special.py | DuckMasterAl/dbs-manager | 300680f9a353725358aebf983647c306381a2237 | [
"MIT"
] | 1 | 2021-12-24T03:09:01.000Z | 2021-12-24T03:09:01.000Z | import discord, json, time
from discord.ext import commands
class Special(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(hidden=True)
@commands.is_owner()
async def reload(self, ctx):
""" Reload the Bot's Commands """
self.bot.reload_extension('admin')... | 51.560686 | 271 | 0.554973 | 4,537 | 39,083 | 4.674014 | 0.076482 | 0.029048 | 0.036782 | 0.023908 | 0.797887 | 0.759926 | 0.735547 | 0.718382 | 0.704235 | 0.684287 | 0 | 0.041466 | 0.331116 | 39,083 | 757 | 272 | 51.628798 | 0.769719 | 0.010158 | 0 | 0.763014 | 0 | 0.009589 | 0.194574 | 0.026974 | 0 | 0 | 0.001256 | 0 | 0 | 1 | 0.012329 | false | 0.015068 | 0.00274 | 0 | 0.105479 | 0.00137 | 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 |
4cb84ff1c042d4ac3fae5ead4a3c1c77d404c59d | 32 | py | Python | tesla_dashcam/__init__.py | zhuorantan/tesla_dashcam | dcd91acb6882347d3dde4fd1da42dd6803ed21c4 | [
"Apache-2.0"
] | 547 | 2019-02-28T02:19:52.000Z | 2022-03-19T17:46:56.000Z | tesla_dashcam/__init__.py | mikealanni/tesla_dashcam | 2409e41b7ac867f500f9091398005b2f6c49ba26 | [
"Apache-2.0"
] | 153 | 2019-03-14T18:44:38.000Z | 2022-03-11T16:17:27.000Z | tesla_dashcam/__init__.py | mikealanni/tesla_dashcam | 2409e41b7ac867f500f9091398005b2f6c49ba26 | [
"Apache-2.0"
] | 77 | 2019-03-13T15:52:13.000Z | 2022-03-21T22:22:29.000Z | from .tesla_dashcam import main
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
4cdb8b978eacd49ecf3f359ce021aae911b7e169 | 44 | py | Python | examples/object/all_are_objects/class_is_object.py | zqmillet/kinopico_python_book | 0db4b0a904a1ba1b7e90cf971871e134941aeb65 | [
"MIT"
] | null | null | null | examples/object/all_are_objects/class_is_object.py | zqmillet/kinopico_python_book | 0db4b0a904a1ba1b7e90cf971871e134941aeb65 | [
"MIT"
] | null | null | null | examples/object/all_are_objects/class_is_object.py | zqmillet/kinopico_python_book | 0db4b0a904a1ba1b7e90cf971871e134941aeb65 | [
"MIT"
] | null | null | null | class A: pass
print(isinstance(A, object))
| 11 | 28 | 0.727273 | 7 | 44 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 3 | 29 | 14.666667 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
9814b86bb4cf7c1e1e61b62ac6cdc7fd2a3976c7 | 19 | py | Python | src/etcd/tests/__init__.py | ellipses/python-etcd | b227f496c038b2b856c4d76c9525b3547e5c8dc4 | [
"MIT"
] | 459 | 2015-01-09T13:52:02.000Z | 2022-02-23T11:42:35.000Z | src/etcd/tests/__init__.py | ellipses/python-etcd | b227f496c038b2b856c4d76c9525b3547e5c8dc4 | [
"MIT"
] | 185 | 2015-01-22T23:02:41.000Z | 2022-03-01T12:13:57.000Z | src/etcd/tests/__init__.py | ellipses/python-etcd | b227f496c038b2b856c4d76c9525b3547e5c8dc4 | [
"MIT"
] | 213 | 2015-01-12T06:02:00.000Z | 2022-02-17T00:41:43.000Z | from . import unit
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 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 |
e227b7b71c82f22f07312c3e853cef9d56bc6add | 104 | py | Python | Logica/TiposDeDados.py | DjCod3r/PythonScripts | 95e70ebb81d2bc37b0283daff8ee723c5d2a382c | [
"MIT"
] | null | null | null | Logica/TiposDeDados.py | DjCod3r/PythonScripts | 95e70ebb81d2bc37b0283daff8ee723c5d2a382c | [
"MIT"
] | null | null | null | Logica/TiposDeDados.py | DjCod3r/PythonScripts | 95e70ebb81d2bc37b0283daff8ee723c5d2a382c | [
"MIT"
] | null | null | null | print(type('Djonatan')) #string
print(type(5)) #Inteiro
print(type(5.2)) #Float
print(type(True)) #Bool
| 20.8 | 31 | 0.701923 | 17 | 104 | 4.294118 | 0.588235 | 0.493151 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.076923 | 104 | 4 | 32 | 26 | 0.729167 | 0.211538 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
e22b8a2cbe472297e7cb54007c727ef0c277047d | 76,285 | py | Python | test/test_player_cache.py | vanderh0ff/pyvtt | 15f721b1798c1c00ea5372b692c355dce7d9ce18 | [
"MIT"
] | 8 | 2021-01-14T16:36:46.000Z | 2022-03-16T02:52:54.000Z | test/test_player_cache.py | vanderh0ff/pyvtt | 15f721b1798c1c00ea5372b692c355dce7d9ce18 | [
"MIT"
] | 1 | 2022-02-26T12:47:34.000Z | 2022-02-26T12:47:34.000Z | test/test_player_cache.py | vanderh0ff/pyvtt | 15f721b1798c1c00ea5372b692c355dce7d9ce18 | [
"MIT"
] | 2 | 2021-01-14T16:36:51.000Z | 2022-02-26T00:07:05.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
https://github.com/cgloeckner/pyvtt/
Copyright (c) 2020-2021 Christian Glöckner
License: MIT (see LICENSE for details)
"""
import time, copy
from pony.orm import db_session
import cache, orm
from test.utils import EngineBaseTest, SocketDummy
class PlayerCacheTest(E... | 39.322165 | 103 | 0.587167 | 8,437 | 76,285 | 5.169017 | 0.058789 | 0.106281 | 0.092821 | 0.031277 | 0.797505 | 0.767283 | 0.746303 | 0.717686 | 0.703011 | 0.67632 | 0 | 0.034535 | 0.300059 | 76,285 | 1,939 | 104 | 39.342445 | 0.782227 | 0.097044 | 0 | 0.721995 | 0 | 0 | 0.046841 | 0 | 0 | 0 | 0 | 0.000516 | 0.268443 | 1 | 0.023224 | false | 0 | 0.002732 | 0 | 0.030738 | 0.000683 | 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 |
e2396a680321a21a46f085c28e46202a722dfe49 | 18,204 | py | Python | cubework/module/parallel_1d/module.py | kurisusnowdeng/Cubework | 56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa | [
"Apache-2.0"
] | null | null | null | cubework/module/parallel_1d/module.py | kurisusnowdeng/Cubework | 56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa | [
"Apache-2.0"
] | null | null | null | cubework/module/parallel_1d/module.py | kurisusnowdeng/Cubework | 56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa | [
"Apache-2.0"
] | null | null | null | """Adapted from Megatron-LM:
https://github.com/NVIDIA/Megatron-LM/blob/main/megatron/mpu/layers.py
"""
import math
from typing import Callable, Tuple
import torch
import torch.nn as nn
import torch.nn.functional as F
from cubework.distributed import ParallelManager as pm
from cubework.distributed import broadcast
fr... | 36.335329 | 118 | 0.652274 | 2,215 | 18,204 | 5.013093 | 0.07991 | 0.03062 | 0.033501 | 0.029179 | 0.797731 | 0.775847 | 0.744056 | 0.729107 | 0.7038 | 0.696776 | 0 | 0.005748 | 0.264173 | 18,204 | 500 | 119 | 36.408 | 0.823218 | 0.038453 | 0 | 0.716792 | 0 | 0 | 0.007211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077694 | false | 0 | 0.0401 | 0 | 0.165414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e254d6fcb81e3c561750fa9246d92772ee2be8a3 | 21 | py | Python | procemon/__init__.py | subalterngames/procemon | d65140ecccab406ba55b649f3df1999f823fba5a | [
"MIT"
] | null | null | null | procemon/__init__.py | subalterngames/procemon | d65140ecccab406ba55b649f3df1999f823fba5a | [
"MIT"
] | null | null | null | procemon/__init__.py | subalterngames/procemon | d65140ecccab406ba55b649f3df1999f823fba5a | [
"MIT"
] | null | null | null | from .dex import Dex
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
e25615f0040221f98a25923a112e8554e0382fe6 | 17,034 | py | Python | test/test_handlers.py | esmacgil/log4mongo-python | fc23cb51eed87930f184835d8c119d3029946925 | [
"BSD-3-Clause"
] | 74 | 2015-01-22T19:14:35.000Z | 2021-12-22T09:53:36.000Z | test/test_handlers.py | esmacgil/log4mongo-python | fc23cb51eed87930f184835d8c119d3029946925 | [
"BSD-3-Clause"
] | 32 | 2015-04-09T15:59:08.000Z | 2021-01-25T21:39:24.000Z | test/test_handlers.py | esmacgil/log4mongo-python | fc23cb51eed87930f184835d8c119d3029946925 | [
"BSD-3-Clause"
] | 33 | 2015-04-09T15:59:28.000Z | 2021-12-27T11:58:52.000Z | from io import StringIO
import unittest
import logging
import time
import sys
import threading
from pymongo.errors import ServerSelectionTimeoutError
import log4mongo.handlers
from log4mongo.handlers import BufferedMongoHandler
from log4mongo.handlers import MongoHandler
class TestMongoHandler(unittest.TestCase):
... | 46.162602 | 121 | 0.623987 | 1,844 | 17,034 | 5.616594 | 0.103579 | 0.074346 | 0.06218 | 0.041035 | 0.808149 | 0.779859 | 0.766245 | 0.737569 | 0.715555 | 0.694892 | 0 | 0.009469 | 0.268404 | 17,034 | 368 | 122 | 46.288043 | 0.821618 | 0.018492 | 0 | 0.603333 | 0 | 0 | 0.18098 | 0.011132 | 0 | 0 | 0 | 0 | 0.206667 | 1 | 0.1 | false | 0 | 0.033333 | 0 | 0.16 | 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 |
2c3f634ff6c1afc385387b8df4abd2bf2f5c5cf9 | 19,869 | py | Python | Extinction_2_player_src/sprites3.py | sumqwerty/Extinction_2_Player | 2a7b2d0f4e9906b988ed0c913e52b681ede33d13 | [
"MIT"
] | null | null | null | Extinction_2_player_src/sprites3.py | sumqwerty/Extinction_2_Player | 2a7b2d0f4e9906b988ed0c913e52b681ede33d13 | [
"MIT"
] | null | null | null | Extinction_2_player_src/sprites3.py | sumqwerty/Extinction_2_Player | 2a7b2d0f4e9906b988ed0c913e52b681ede33d13 | [
"MIT"
] | null | null | null | import pygame as pg
from random import uniform, choice, randint, random
from settings3 import *
from tilemap3 import collide_hit_rect
import pytweening as tween
from itertools import chain
vec = pg.math.Vector2
def collide_with_walls(sprite, group, dir):
if dir == 'x':
hits = pg.sprite.spritecollide(sprit... | 40.058468 | 117 | 0.558508 | 2,690 | 19,869 | 3.981413 | 0.083271 | 0.070215 | 0.029785 | 0.030252 | 0.857423 | 0.835387 | 0.806629 | 0.781326 | 0.759384 | 0.747806 | 0 | 0.019896 | 0.311943 | 19,869 | 495 | 118 | 40.139394 | 0.763514 | 0.129599 | 0 | 0.671717 | 0 | 0 | 0.015759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065657 | false | 0 | 0.015152 | 0 | 0.10101 | 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 |
2c5a5cfd9b458d67a1fb7a375434c01f90377986 | 3,893 | py | Python | dijkstra.py | A01704868/ADA | db10fd66a3bff4709fac781a6b79e13760f00e1a | [
"MIT"
] | null | null | null | dijkstra.py | A01704868/ADA | db10fd66a3bff4709fac781a6b79e13760f00e1a | [
"MIT"
] | null | null | null | dijkstra.py | A01704868/ADA | db10fd66a3bff4709fac781a6b79e13760f00e1a | [
"MIT"
] | null | null | null | import sys
class Graph():
def __init__(self, vertices):
self.V = vertices
self.graph = [[0 for columna in range(vertices)]
for fila in range(vertices)]
def imprimir(self, dist):
for nodo in range(self.V):
print(nodo, "\t", dist[nodo])
... | 51.906667 | 97 | 0.338043 | 928 | 3,893 | 1.411638 | 0.047414 | 0.977099 | 1.328244 | 1.60916 | 0.649618 | 0.625954 | 0.623664 | 0.623664 | 0.589313 | 0.589313 | 0 | 0.344077 | 0.410223 | 3,893 | 75 | 98 | 51.906667 | 0.226481 | 0 | 0 | 0 | 0 | 0 | 0.000524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067797 | false | 0 | 0.016949 | 0 | 0.118644 | 0.016949 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c5e4f03f64d3a402d3a27596c5ca41b20f120a5 | 3,391 | py | Python | testonedrivesdk/test_models.py | meson800/onedrive-sdk-python | e5642f8cad8eea37a4f653c1a23dfcfc06c37110 | [
"MIT"
] | 912 | 2015-10-08T18:52:13.000Z | 2022-03-29T10:54:40.000Z | testonedrivesdk/test_models.py | lavrut/onedrive-sdk-python | e5642f8cad8eea37a4f653c1a23dfcfc06c37110 | [
"MIT"
] | 189 | 2015-10-08T20:11:21.000Z | 2022-01-27T23:24:17.000Z | testonedrivesdk/test_models.py | lavrut/onedrive-sdk-python | e5642f8cad8eea37a4f653c1a23dfcfc06c37110 | [
"MIT"
] | 205 | 2015-10-09T10:28:16.000Z | 2022-03-15T11:58:41.000Z | import unittest
from onedrivesdk.model.folder import Folder
from onedrivesdk.model.item import Item
from onedrivesdk.model.item_reference import ItemReference
from datetime import datetime
class TestModels(unittest.TestCase):
name = "test1"
id = "thisisa!test"
def test_serialization(self):
"""
... | 40.369048 | 139 | 0.685049 | 394 | 3,391 | 5.700508 | 0.208122 | 0.066785 | 0.085485 | 0.106857 | 0.79252 | 0.788958 | 0.788958 | 0.788958 | 0.788958 | 0.788958 | 0 | 0.033457 | 0.206724 | 3,391 | 83 | 140 | 40.855422 | 0.801487 | 0.099086 | 0 | 0.592593 | 0 | 0 | 0.123992 | 0.025874 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.037037 | false | 0 | 0.092593 | 0 | 0.185185 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c76c2411d874e837ca658b9fe0769a710ef0ad7 | 203 | py | Python | api/python/arrus/medium.py | us4useu/arrus | 10487b09f556e327ddb1bec28fbaccf3b8b08064 | [
"BSL-1.0",
"MIT"
] | 11 | 2021-02-04T19:56:08.000Z | 2022-02-18T09:41:51.000Z | api/python/arrus/medium.py | us4useu/arrus | 10487b09f556e327ddb1bec28fbaccf3b8b08064 | [
"BSL-1.0",
"MIT"
] | 60 | 2020-11-06T04:59:06.000Z | 2022-03-12T17:39:06.000Z | api/python/arrus/medium.py | us4useu/arrus | 10487b09f556e327ddb1bec28fbaccf3b8b08064 | [
"BSL-1.0",
"MIT"
] | 4 | 2021-07-22T16:13:06.000Z | 2021-12-13T08:53:31.000Z | import dataclasses
@dataclasses.dataclass(frozen=True)
class Medium:
name: str
speed_of_sound: float
@dataclasses.dataclass(frozen=True)
class MediumDTO:
name: str
speed_of_sound: float | 18.454545 | 35 | 0.758621 | 26 | 203 | 5.769231 | 0.538462 | 0.266667 | 0.346667 | 0.4 | 0.786667 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162562 | 203 | 11 | 36 | 18.454545 | 0.882353 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.777778 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
2ca131fdcc40bb02bb8e4855c599d0d9f2cb0e4b | 170 | py | Python | tasks/EPAM/python_course/foundation-python/l4/m4-16.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | 2 | 2022-01-19T18:01:35.000Z | 2022-02-06T06:54:38.000Z | tasks/EPAM/python_course/foundation-python/l4/m4-16.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | tasks/EPAM/python_course/foundation-python/l4/m4-16.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | """from … import"""
# Import from module hello
from hello import print_func
# Also can be used from … import *
# Call function defined in that module
print_func("EPAM") | 21.25 | 38 | 0.729412 | 28 | 170 | 4.571429 | 0.607143 | 0.109375 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 170 | 8 | 39 | 21.25 | 0.871429 | 0.641176 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 1 | 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 | 0 | 1 | 0 | 6 |
2cb1bbe17fe5fc1865ec4cb031b4ba7b72a0ea18 | 115 | py | Python | EDScoutCore/__init__.py | MrTimbones/ed-scout | 2fd6d09368e77e214cf8e677d4569c4b81986122 | [
"MIT"
] | 116 | 2020-08-06T22:00:41.000Z | 2022-03-22T21:06:20.000Z | EDScoutCore/__init__.py | MrTimbones/ed-scout | 2fd6d09368e77e214cf8e677d4569c4b81986122 | [
"MIT"
] | 126 | 2020-08-10T03:58:00.000Z | 2022-03-11T18:21:47.000Z | EDScoutCore/__init__.py | MrTimbones/ed-scout | 2fd6d09368e77e214cf8e677d4569c4b81986122 | [
"MIT"
] | 20 | 2020-08-19T17:27:34.000Z | 2021-10-01T23:28:08.000Z | from . import EDScout
from . import EDSMInterface
from . import BodyAppraiser
from . import NavRouteIntegrator
| 23 | 33 | 0.791304 | 12 | 115 | 7.583333 | 0.5 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 115 | 4 | 34 | 28.75 | 0.957895 | 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 |
39235b6d2674fe0b818ba8a90ea5a19d68a94413 | 160 | py | Python | probably/__init__.py | Parsely/probably | e46e30cf9dd25d487849fc1ec3912aa35d33d9cb | [
"MIT"
] | 18 | 2016-11-30T02:03:32.000Z | 2021-04-10T00:42:39.000Z | probably/__init__.py | Parsely/probably | e46e30cf9dd25d487849fc1ec3912aa35d33d9cb | [
"MIT"
] | 3 | 2016-10-06T17:14:10.000Z | 2017-05-30T15:39:29.000Z | probably/__init__.py | Parsely/probably | e46e30cf9dd25d487849fc1ec3912aa35d33d9cb | [
"MIT"
] | 5 | 2017-01-19T07:05:05.000Z | 2018-02-16T00:21:01.000Z | from __future__ import absolute_import
from .bloomfilter import *
from .cdbf import *
from .countmin import *
from .hll import *
from .temporal_daily import *
| 20 | 38 | 0.78125 | 21 | 160 | 5.666667 | 0.47619 | 0.420168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 160 | 7 | 39 | 22.857143 | 0.881481 | 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 |
392a6c2e47bd04ddf5121fcd55a8954f50ca6541 | 40 | py | Python | tf_taggers/pos_taggers/library.py | xflows/tf_taggers | 367926aee43937cfa1ace7eca8e3f2aa59306c07 | [
"MIT"
] | null | null | null | tf_taggers/pos_taggers/library.py | xflows/tf_taggers | 367926aee43937cfa1ace7eca8e3f2aa59306c07 | [
"MIT"
] | null | null | null | tf_taggers/pos_taggers/library.py | xflows/tf_taggers | 367926aee43937cfa1ace7eca8e3f2aa59306c07 | [
"MIT"
] | null | null | null | from lib.part_of_speech_tagging import * | 40 | 40 | 0.875 | 7 | 40 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.864865 | 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 |
3931efc6f40d2576b1513cf65305cf39089be044 | 274 | py | Python | src/nanocut/__init__.py | tamaswells/Nanocut_redistribute | 3103eaa3c015ab1c04fb254d51c263a00df90cae | [
"BSD-2-Clause"
] | 1 | 2020-05-12T23:52:02.000Z | 2020-05-12T23:52:02.000Z | src/nanocut/__init__.py | tamaswells/Nanocut_redistribute | 3103eaa3c015ab1c04fb254d51c263a00df90cae | [
"BSD-2-Clause"
] | null | null | null | src/nanocut/__init__.py | tamaswells/Nanocut_redistribute | 3103eaa3c015ab1c04fb254d51c263a00df90cae | [
"BSD-2-Clause"
] | 3 | 2019-02-27T07:03:07.000Z | 2021-04-27T14:44:22.000Z | from . import output
from . import geometry
from . import sphere
from . import polyhedron
from . import cylinder
from . import periodic_1D_cylinder
from . import periodic_1D_prism
from . import periodic_2D_plane
from . import periodic_3D_supercell
from . import periodicity
| 24.909091 | 35 | 0.817518 | 38 | 274 | 5.684211 | 0.394737 | 0.462963 | 0.333333 | 0.240741 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.145985 | 274 | 10 | 36 | 27.4 | 0.905983 | 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 | 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 |
1a4ac79c8a66b549c3b12ffb76b6331f44c6dc29 | 49 | py | Python | graphgallery/nn/models/pytorch/BVAT/__init__.py | Jie-Re/GraphGallery | 37a2e807bb21e5ed986ade935ac9619b62bfdd90 | [
"MIT"
] | null | null | null | graphgallery/nn/models/pytorch/BVAT/__init__.py | Jie-Re/GraphGallery | 37a2e807bb21e5ed986ade935ac9619b62bfdd90 | [
"MIT"
] | null | null | null | graphgallery/nn/models/pytorch/BVAT/__init__.py | Jie-Re/GraphGallery | 37a2e807bb21e5ed986ade935ac9619b62bfdd90 | [
"MIT"
] | null | null | null | from .sbvat import SBVAT
from .obvat import OBVAT | 24.5 | 24 | 0.816327 | 8 | 49 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 25 | 24.5 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a894bf1508b483de99ff10533fa54d95104bc6b | 20 | py | Python | notebooks/python_recap/_solutions/python_rehearsal108.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 65 | 2017-03-21T09:15:40.000Z | 2022-02-01T23:43:08.000Z | notebooks/python_recap/_solutions/python_rehearsal108.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 100 | 2016-12-15T03:44:06.000Z | 2022-03-07T08:14:07.000Z | notebooks/python_recap/_solutions/python_rehearsal108.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 52 | 2016-12-19T07:48:52.000Z | 2022-02-19T17:53:48.000Z | AR[AR%2 == 0] = 0
AR | 10 | 17 | 0.45 | 6 | 20 | 1.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.25 | 20 | 2 | 18 | 10 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a9ece555989fd6f2b8ccb81d50e349d7775572b | 38 | py | Python | src/amuse/community/fractalcluster/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/fractalcluster/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | 12 | 2021-11-15T09:13:03.000Z | 2022-02-02T14:53:04.000Z | src/amuse/community/fractalcluster/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | from .interface import Fractalcluster
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 |
46ccfdb4224a03c0f3fff0084a789c805e836255 | 48 | py | Python | mlutils/config/__init__.py | marcopodda/mldatautils | 57bf5d6ee2fb62d9dffd4b344d7d91eb8795457d | [
"MIT"
] | 2 | 2020-03-06T19:55:53.000Z | 2020-03-07T14:14:53.000Z | mlutils/config/__init__.py | marcopodda/mldatautils | 57bf5d6ee2fb62d9dffd4b344d7d91eb8795457d | [
"MIT"
] | null | null | null | mlutils/config/__init__.py | marcopodda/mldatautils | 57bf5d6ee2fb62d9dffd4b344d7d91eb8795457d | [
"MIT"
] | null | null | null | from .config import Config, ModelSelectionConfig | 48 | 48 | 0.875 | 5 | 48 | 8.4 | 0.8 | 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 |
46dbf5104f40f77391fa3790004fd0ce63adc383 | 15,489 | py | Python | tests/test_publictransit_api.py | baffolobill/HerePy | c6655e9dfde7a5888cc231d7f9f9e8a888f54dcd | [
"MIT"
] | null | null | null | tests/test_publictransit_api.py | baffolobill/HerePy | c6655e9dfde7a5888cc231d7f9f9e8a888f54dcd | [
"MIT"
] | null | null | null | tests/test_publictransit_api.py | baffolobill/HerePy | c6655e9dfde7a5888cc231d7f9f9e8a888f54dcd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import sys
import io
import unittest
import responses
import codecs
import herepy
class PublicTransitApiTest(unittest.TestCase):
def setUp(self):
api = herepy.PublicTransitApi('app_id', 'app_code')
self._api = api
def test_initiation(self):
self.assert... | 53.595156 | 154 | 0.643037 | 1,744 | 15,489 | 5.512041 | 0.092317 | 0.053053 | 0.04213 | 0.050557 | 0.922917 | 0.91033 | 0.884531 | 0.860293 | 0.817435 | 0.761781 | 0 | 0.054894 | 0.241397 | 15,489 | 288 | 155 | 53.78125 | 0.763234 | 0.001291 | 0 | 0.66537 | 0 | 0 | 0.198539 | 0.084109 | 0 | 0 | 0 | 0 | 0.167315 | 1 | 0.108949 | false | 0 | 0.027237 | 0 | 0.140078 | 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 |
2025e02c95e90b7f6c69574988e7962c2c2134d7 | 237 | py | Python | gooddata-pandas/gooddata_pandas/__init__.py | jaceksan/gooddata-python-sdk | 640bd8b679e00a5f0eb627bdf6143de078f8b59b | [
"MIT"
] | 7 | 2022-01-24T16:27:06.000Z | 2022-02-25T10:18:49.000Z | gooddata-pandas/gooddata_pandas/__init__.py | jaceksan/gooddata-python-sdk | 640bd8b679e00a5f0eb627bdf6143de078f8b59b | [
"MIT"
] | 29 | 2022-01-20T15:45:38.000Z | 2022-03-31T09:39:25.000Z | gooddata-pandas/gooddata_pandas/__init__.py | jaceksan/gooddata-python-sdk | 640bd8b679e00a5f0eb627bdf6143de078f8b59b | [
"MIT"
] | 7 | 2022-01-20T07:11:15.000Z | 2022-03-09T14:50:17.000Z | # (C) 2021 GoodData Corporation
from gooddata_pandas._version import __version__
from gooddata_pandas.dataframe import DataFrameFactory
from gooddata_pandas.good_pandas import GoodPandas
from gooddata_pandas.series import SeriesFactory
| 33.857143 | 54 | 0.877637 | 29 | 237 | 6.827586 | 0.482759 | 0.242424 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018605 | 0.092827 | 237 | 6 | 55 | 39.5 | 0.902326 | 0.122363 | 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 |
64556e403a5697432f805a5af28dab812fa8b932 | 172 | py | Python | doctr/transforms/functional/__init__.py | mzeidhassan/doctr | 14b376e07d31b09b6bd31bceebf6ffb477c30f08 | [
"Apache-2.0"
] | 628 | 2021-02-13T21:49:37.000Z | 2022-03-31T19:48:57.000Z | doctr/transforms/functional/__init__.py | mzeidhassan/doctr | 14b376e07d31b09b6bd31bceebf6ffb477c30f08 | [
"Apache-2.0"
] | 694 | 2021-02-08T15:23:38.000Z | 2022-03-31T07:24:59.000Z | doctr/transforms/functional/__init__.py | mzeidhassan/doctr | 14b376e07d31b09b6bd31bceebf6ffb477c30f08 | [
"Apache-2.0"
] | 90 | 2021-04-28T05:39:02.000Z | 2022-03-31T06:48:36.000Z | from doctr.file_utils import is_tf_available, is_torch_available
if is_tf_available():
from .tensorflow import *
elif is_torch_available():
from .pytorch import *
| 24.571429 | 64 | 0.77907 | 25 | 172 | 5 | 0.52 | 0.064 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 172 | 6 | 65 | 28.666667 | 0.856164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
646820fddb602809204de79ca0f1dac9b5ccf045 | 81 | py | Python | package/demo/001/sub/SubDenpendence.py | yinyayun/pyloader | 2be0919ab80dbb38b1fdd7969c31647be20e8fa9 | [
"Apache-2.0"
] | 1 | 2021-03-17T08:03:53.000Z | 2021-03-17T08:03:53.000Z | package/demo/001/sub/SubDenpendence.py | yinyayun/pyloader | 2be0919ab80dbb38b1fdd7969c31647be20e8fa9 | [
"Apache-2.0"
] | null | null | null | package/demo/001/sub/SubDenpendence.py | yinyayun/pyloader | 2be0919ab80dbb38b1fdd7969c31647be20e8fa9 | [
"Apache-2.0"
] | 1 | 2021-03-17T08:03:57.000Z | 2021-03-17T08:03:57.000Z | '''
Created on 2018年10月22日
@author: yinyayun
'''
def calc():
return '001'
| 8.1 | 22 | 0.617284 | 9 | 81 | 5.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 0.222222 | 81 | 9 | 23 | 9 | 0.619048 | 0.506173 | 0 | 0 | 0 | 0 | 0.09375 | 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 |
64b5235f0ba0896fbc99e07138ad363718b05df0 | 330 | py | Python | qttbx/command_line/start_chimerax.py | Anthchirp/cctbx | b8064f755b1dbadf05b8fbf806b7d50d73ef69bf | [
"BSD-3-Clause-LBNL"
] | null | null | null | qttbx/command_line/start_chimerax.py | Anthchirp/cctbx | b8064f755b1dbadf05b8fbf806b7d50d73ef69bf | [
"BSD-3-Clause-LBNL"
] | null | null | null | qttbx/command_line/start_chimerax.py | Anthchirp/cctbx | b8064f755b1dbadf05b8fbf806b7d50d73ef69bf | [
"BSD-3-Clause-LBNL"
] | null | null | null | # LIBTBX_SET_DISPATCHER_NAME phenix.start_chimerax
# LIBTBX_SET_DISPATCHER_NAME qttbx.start_chimerax
from __future__ import absolute_import, division, print_function
from iotbx.cli_parser import run_program
from qttbx.programs import start_chimerax
if __name__ == '__main__':
run_program(program_class=start_chimerax... | 33 | 64 | 0.860606 | 45 | 330 | 5.688889 | 0.533333 | 0.203125 | 0.148438 | 0.179688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087879 | 330 | 9 | 65 | 36.666667 | 0.850498 | 0.290909 | 0 | 0 | 0 | 0 | 0.034632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64ba0f9a4b79f77942091fb88a636df82175ecb1 | 45 | py | Python | psipy/tracing/__init__.py | jj-gonzalez-aviles/PsiPy | 415436b1f449e7125e9e8ff31385e9fc70af28a7 | [
"MIT"
] | null | null | null | psipy/tracing/__init__.py | jj-gonzalez-aviles/PsiPy | 415436b1f449e7125e9e8ff31385e9fc70af28a7 | [
"MIT"
] | null | null | null | psipy/tracing/__init__.py | jj-gonzalez-aviles/PsiPy | 415436b1f449e7125e9e8ff31385e9fc70af28a7 | [
"MIT"
] | null | null | null | from .flines import *
from .tracing 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 |
64d9430ac362ebd23cf320545605b00437014c92 | 54 | py | Python | shisell/writers/__init__.py | Soluto/shisell-python | a6bb7e06b3b025b7e0de21f5b970c9d59d3c56c3 | [
"MIT"
] | 2 | 2018-09-27T06:57:33.000Z | 2021-12-16T13:08:31.000Z | shisell/writers/__init__.py | Soluto/shisell-python | a6bb7e06b3b025b7e0de21f5b970c9d59d3c56c3 | [
"MIT"
] | null | null | null | shisell/writers/__init__.py | Soluto/shisell-python | a6bb7e06b3b025b7e0de21f5b970c9d59d3c56c3 | [
"MIT"
] | null | null | null | from .log_writer import log_writer, create_log_writer
| 27 | 53 | 0.87037 | 9 | 54 | 4.777778 | 0.555556 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 1 | 54 | 54 | 0.877551 | 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 |
b3b7f3b724cef59ca77d0ee3b609b3290f185a1a | 10,859 | py | Python | attacks/examples/testSinglingOut.py | m3eeza/code | 2d69ccd945a60373071c1eb0a66ddacc6e750c17 | [
"MIT"
] | null | null | null | attacks/examples/testSinglingOut.py | m3eeza/code | 2d69ccd945a60373071c1eb0a66ddacc6e750c17 | [
"MIT"
] | null | null | null | attacks/examples/testSinglingOut.py | m3eeza/code | 2d69ccd945a60373071c1eb0a66ddacc6e750c17 | [
"MIT"
] | null | null | null | import sys
import pprint
sys.path.append('../../common')
from gdaScore import gdaAttack, gdaScores
from myUtilities import checkMatch
# Anon: None
# Attack: List DB contents
# Criteria: Singling-out
# Database: Banking.Accounts
# -------------------------- subroutines ---------------------------
# ------------------... | 28.278646 | 72 | 0.545999 | 1,199 | 10,859 | 4.913261 | 0.169308 | 0.024444 | 0.010185 | 0.022407 | 0.786454 | 0.736717 | 0.724834 | 0.715159 | 0.715159 | 0.697674 | 0 | 0.013359 | 0.227922 | 10,859 | 383 | 73 | 28.35248 | 0.689289 | 0.326549 | 0 | 0.705645 | 0 | 0 | 0.275953 | 0.002899 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.020161 | 0.016129 | 0 | 0.016129 | 0.108871 | 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 |
b3c4433123149dc61e00e23227aa6099c8bc081a | 3,313 | py | Python | 2020/aoc11.py | wolfgangmuender/AdventOfCode | 3956c245f6d3e789cb5424ac54832ebcfc03eb21 | [
"Apache-2.0"
] | null | null | null | 2020/aoc11.py | wolfgangmuender/AdventOfCode | 3956c245f6d3e789cb5424ac54832ebcfc03eb21 | [
"Apache-2.0"
] | null | null | null | 2020/aoc11.py | wolfgangmuender/AdventOfCode | 3956c245f6d3e789cb5424ac54832ebcfc03eb21 | [
"Apache-2.0"
] | null | null | null | from collections import defaultdict
from copy import deepcopy
with open("input/input11.txt") as f:
content = f.read().splitlines()
seat_layout = defaultdict(lambda: defaultdict(lambda: '.'))
curr_line = 0
curr_pos = 0
for line in content:
curr_pos = 0
for char in line:
seat_layout[curr_line][curr... | 36.01087 | 115 | 0.626321 | 540 | 3,313 | 3.474074 | 0.116667 | 0.255864 | 0.127932 | 0.170576 | 0.780384 | 0.75533 | 0.751066 | 0.716951 | 0.716951 | 0.591684 | 0 | 0.022168 | 0.251132 | 3,313 | 91 | 116 | 36.406593 | 0.733978 | 0 | 0 | 0.421053 | 0 | 0 | 0.031995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039474 | false | 0 | 0.026316 | 0.026316 | 0.118421 | 0.026316 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 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 |
b60666ca48b9d76f318a1d5252274bd1e7fadc4a | 4,240 | py | Python | test/test_python_grader.py | nischalshrestha/pygradethis | 40fbaa2401860e4c88a5777f39e5be08af3c90a5 | [
"MIT"
] | 12 | 2020-08-01T19:33:04.000Z | 2022-03-18T03:56:47.000Z | test/test_python_grader.py | nischalshrestha/pygradethis | 40fbaa2401860e4c88a5777f39e5be08af3c90a5 | [
"MIT"
] | 24 | 2020-07-31T03:09:11.000Z | 2022-03-24T03:13:59.000Z | test/test_python_grader.py | nischalshrestha/pygradethis | 40fbaa2401860e4c88a5777f39e5be08af3c90a5 | [
"MIT"
] | 1 | 2022-03-21T15:12:05.000Z | 2022-03-21T15:12:05.000Z |
import unittest
from pygradethis.conditions import *
from pygradethis.python_grader import *
class PythonGraderTest(unittest.TestCase):
# Grade result -------------------------------------
def test_pass_if_correct(self):
result = grade(
python_pass_if(2, "Woah, nice!"),
user... | 32.366412 | 90 | 0.55283 | 487 | 4,240 | 4.585216 | 0.154004 | 0.08867 | 0.15047 | 0.15047 | 0.833856 | 0.826691 | 0.804299 | 0.70309 | 0.674429 | 0.653829 | 0 | 0.016129 | 0.298113 | 4,240 | 131 | 91 | 32.366412 | 0.734207 | 0.102123 | 0 | 0.673077 | 0 | 0 | 0.127435 | 0 | 0 | 0 | 0 | 0.007634 | 0.25 | 1 | 0.115385 | false | 0.153846 | 0.028846 | 0 | 0.153846 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
808d3ee46a435a1ca8e31313ceebd2667c919281 | 1,441 | py | Python | crop_img.py | JY-D/Wasserstein-Creative-Adversarial-Networks | 1871a7a70c434d0252bdf2ab90c98d125332926a | [
"MIT"
] | 3 | 2018-01-11T14:38:24.000Z | 2019-06-16T17:37:34.000Z | crop_img.py | JY-D/Wasserstein-Creative-Adversarial-Networks | 1871a7a70c434d0252bdf2ab90c98d125332926a | [
"MIT"
] | null | null | null | crop_img.py | JY-D/Wasserstein-Creative-Adversarial-Networks | 1871a7a70c434d0252bdf2ab90c98d125332926a | [
"MIT"
] | null | null | null | import glob
import numpy as np
import cv2
import pdb
for CAN_sample in glob.glob('./logs/dataset=wikiart,isCan=True,lr=0.0001,imsize=128,batch_size=35/003/samples/train_03*'):
print ('now cropping ', CAN_sample)
img = cv2.imread(CAN_sample)
#print(np.shape(img))
for i in range (8):
i = i * 128
... | 37.921053 | 160 | 0.576683 | 230 | 1,441 | 3.526087 | 0.230435 | 0.014797 | 0.036991 | 0.11344 | 0.803946 | 0.803946 | 0.803946 | 0.764488 | 0.764488 | 0.764488 | 0 | 0.104533 | 0.249827 | 1,441 | 37 | 161 | 38.945946 | 0.645698 | 0.130465 | 0 | 0.5 | 0 | 0.166667 | 0.327697 | 0.307568 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
03baffd25b3bf9d948eb1cc5aed0fa83666b043b | 121 | py | Python | 3.6.1/solution.py | luxnlex/stepic-python | 92a4b25391f76935c3c2a70fb8552e7f93928d9b | [
"MIT"
] | 1 | 2021-05-07T18:20:51.000Z | 2021-05-07T18:20:51.000Z | 3.6.1/solution.py | luxnlex/stepic-python | 92a4b25391f76935c3c2a70fb8552e7f93928d9b | [
"MIT"
] | null | null | null | 3.6.1/solution.py | luxnlex/stepic-python | 92a4b25391f76935c3c2a70fb8552e7f93928d9b | [
"MIT"
] | 2 | 2017-12-27T07:51:57.000Z | 2020-08-03T22:10:55.000Z | import requests
print(len(requests.get('https://stepic.org/media/attachments/course67/3.6.2/699.txt').text.splitlines())) | 60.5 | 105 | 0.77686 | 19 | 121 | 4.947368 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0.016529 | 121 | 2 | 105 | 60.5 | 0.722689 | 0 | 0 | 0 | 0 | 0.5 | 0.483607 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
03bd286bef960b78bd0eba8ebb06cb9e18dc76d8 | 31 | py | Python | toad/utils/progress/__init__.py | kevin-meng/toad | 02a2e21237d84fefea2a74828659786958076eb8 | [
"MIT"
] | 21 | 2020-12-23T07:13:10.000Z | 2022-01-12T10:32:22.000Z | toad/utils/progress/__init__.py | Secbone/toad | 9aa755273c8fc055c8a244f244e5437c189aa884 | [
"MIT"
] | 2 | 2020-12-30T10:45:42.000Z | 2021-09-25T09:52:00.000Z | toad/utils/progress/__init__.py | Secbone/toad | 9aa755273c8fc055c8a244f244e5437c189aa884 | [
"MIT"
] | 1 | 2021-02-06T21:39:41.000Z | 2021-02-06T21:39:41.000Z | from .progress import Progress
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
03f3ae7b5213854809647389b666e5c6a8ff9acd | 49 | py | Python | src/schema_actions/delete_schema/__init__.py | fholycow/openwhisk-python-crud-example | 00b532275c22660d10f1164b2c4e58b8d06e641e | [
"Apache-2.0"
] | null | null | null | src/schema_actions/delete_schema/__init__.py | fholycow/openwhisk-python-crud-example | 00b532275c22660d10f1164b2c4e58b8d06e641e | [
"Apache-2.0"
] | null | null | null | src/schema_actions/delete_schema/__init__.py | fholycow/openwhisk-python-crud-example | 00b532275c22660d10f1164b2c4e58b8d06e641e | [
"Apache-2.0"
] | null | null | null | from .delete_schema_handler import SchemaDeleter
| 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 |
20f3d9df4b178afd87dc8841851059ade331929e | 134 | py | Python | src/utils/__init__.py | StevRamos/video_summarization | 051632fd9e5ad94dd4a2b2bb31ea928f7269c1ac | [
"MIT"
] | 3 | 2021-11-09T03:05:52.000Z | 2022-03-17T08:37:45.000Z | src/utils/__init__.py | StevRamos/video_summarization | 051632fd9e5ad94dd4a2b2bb31ea928f7269c1ac | [
"MIT"
] | 3 | 2021-11-04T03:14:06.000Z | 2022-01-13T21:00:51.000Z | src/utils/__init__.py | StevRamos/video_summarization | 051632fd9e5ad94dd4a2b2bb31ea928f7269c1ac | [
"MIT"
] | 1 | 2021-12-05T19:12:45.000Z | 2021-12-05T19:12:45.000Z | from .vsm_dataset import *
from .parse_arguments import *
from .utils_model import *
from .vsum_tools import *
from .knapsack import * | 26.8 | 30 | 0.783582 | 19 | 134 | 5.315789 | 0.578947 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 134 | 5 | 31 | 26.8 | 0.878261 | 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 |
4577f4c539938f0e125f547055395bfd8b0a6f4d | 202 | py | Python | pycroscopy/io/translators/df_utils/__init__.py | viktorb93/pycroscopy | d59c12ed3865385abdec6633faf12e6c009982ac | [
"MIT"
] | 1 | 2020-02-13T20:54:47.000Z | 2020-02-13T20:54:47.000Z | pycroscopy/io/translators/df_utils/__init__.py | Liambcollins/pycroscopy | fd02ac735a1194d2a5687183fafe00368ed8a3ca | [
"MIT"
] | null | null | null | pycroscopy/io/translators/df_utils/__init__.py | Liambcollins/pycroscopy | fd02ac735a1194d2a5687183fafe00368ed8a3ca | [
"MIT"
] | 1 | 2020-03-20T13:19:09.000Z | 2020-03-20T13:19:09.000Z | from . import be_utils
from . import gmode_utils
from . import dm4reader
from . import parse_dm3
from . import beps_gen_utils
from . import nanonis_utils
from . import base_utils
from . import gsf_read
| 22.444444 | 28 | 0.80198 | 32 | 202 | 4.8125 | 0.4375 | 0.519481 | 0.487013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.158416 | 202 | 8 | 29 | 25.25 | 0.894118 | 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 | 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 |
45a45f86289d37b0078f532a5459e0ca67acf419 | 193 | py | Python | wagtail_embed_videos/apps.py | archandha/wagtail-embedvideos | b17a7476139dbcd9dc30be733afee605fb6504f5 | [
"BSD-3-Clause"
] | 7 | 2020-12-01T03:21:50.000Z | 2022-03-23T08:09:44.000Z | wagtail_embed_videos/apps.py | archandha/wagtail-embedvideos | b17a7476139dbcd9dc30be733afee605fb6504f5 | [
"BSD-3-Clause"
] | 8 | 2020-12-07T14:31:21.000Z | 2021-12-13T04:35:47.000Z | wagtail_embed_videos/apps.py | archandha/wagtail-embedvideos | b17a7476139dbcd9dc30be733afee605fb6504f5 | [
"BSD-3-Clause"
] | 3 | 2018-06-07T11:15:38.000Z | 2018-06-12T19:23:51.000Z | from django.apps import AppConfig
class WagtailEmbedVideosAppConfig(AppConfig):
name = 'wagtail_embed_videos'
label = 'wagtail_embed_videos'
verbose_name = "Wagtail embed videos"
| 24.125 | 45 | 0.772021 | 21 | 193 | 6.857143 | 0.619048 | 0.25 | 0.375 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160622 | 193 | 7 | 46 | 27.571429 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.310881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
45bd38ee0cb1c91eced5e2cbe1df98e0e0c9cdc5 | 277 | py | Python | aiida_cp2k/workflows/__init__.py | gloriacapano/aiida-cp2k | 75eafa1fe1ccb14223334a79e18ecf3cb11668c3 | [
"MIT"
] | null | null | null | aiida_cp2k/workflows/__init__.py | gloriacapano/aiida-cp2k | 75eafa1fe1ccb14223334a79e18ecf3cb11668c3 | [
"MIT"
] | null | null | null | aiida_cp2k/workflows/__init__.py | gloriacapano/aiida-cp2k | 75eafa1fe1ccb14223334a79e18ecf3cb11668c3 | [
"MIT"
] | null | null | null | from .dftbase import Cp2kDftBaseWorkChain
from .dftgeoopt import Cp2kGeoOptWorkChain
from .dftcellopt import Cp2kCellOptWorkChain
from .dftmd import Cp2kMdWorkChain
from .dftrobustgeoopt import Cp2kRobustGeoOptWorkChain
from .dftbandstructure import Cp2kBandStructureWorkChain
| 39.571429 | 56 | 0.891697 | 24 | 277 | 10.291667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023715 | 0.086643 | 277 | 6 | 57 | 46.166667 | 0.952569 | 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 |
b35769750d25b3a7ffbbc6908ac92a1e3471472a | 31 | py | Python | server/lib/drivers/TCPRemote/__init__.py | frdfsnlght/RemoteControl | 843d73372b36880d2381ca68fb075a2f0750028c | [
"MIT"
] | null | null | null | server/lib/drivers/TCPRemote/__init__.py | frdfsnlght/RemoteControl | 843d73372b36880d2381ca68fb075a2f0750028c | [
"MIT"
] | 1 | 2022-01-04T23:39:26.000Z | 2022-01-04T23:39:26.000Z | server/lib/drivers/TCPRemote/__init__.py | frdfsnlght/RemoteControl | 843d73372b36880d2381ca68fb075a2f0750028c | [
"MIT"
] | null | null | null |
from .TCPRemote import Device
| 10.333333 | 29 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.961538 | 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 |
b36544f277368757769b549f7cf745231639ea5f | 206 | py | Python | sentry/client/celery/__init__.py | optimal-outsource/django-sentry | 1b55011f1474cde8707a9febaf0c64c8142496d2 | [
"BSD-3-Clause"
] | null | null | null | sentry/client/celery/__init__.py | optimal-outsource/django-sentry | 1b55011f1474cde8707a9febaf0c64c8142496d2 | [
"BSD-3-Clause"
] | null | null | null | sentry/client/celery/__init__.py | optimal-outsource/django-sentry | 1b55011f1474cde8707a9febaf0c64c8142496d2 | [
"BSD-3-Clause"
] | null | null | null | """
sentry.client.celery
~~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from .client import CelerySentryClient | 22.888889 | 70 | 0.674757 | 26 | 206 | 5.346154 | 0.730769 | 0.100719 | 0.201439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.135922 | 206 | 9 | 71 | 22.888889 | 0.758427 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2fccc7293c2cc1e6bff993ff1935cac78c68326a | 74 | py | Python | src/domain/__init__.py | gntzh/fastapi-tmpl | 83cb815c4fb5ced0f87286e485a4089bb0097b8f | [
"MIT"
] | null | null | null | src/domain/__init__.py | gntzh/fastapi-tmpl | 83cb815c4fb5ced0f87286e485a4089bb0097b8f | [
"MIT"
] | null | null | null | src/domain/__init__.py | gntzh/fastapi-tmpl | 83cb815c4fb5ced0f87286e485a4089bb0097b8f | [
"MIT"
] | null | null | null | from .user import User # noqa: F401
from .item import Item # noqa: F401
| 24.666667 | 36 | 0.702703 | 12 | 74 | 4.333333 | 0.5 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.216216 | 74 | 2 | 37 | 37 | 0.793103 | 0.283784 | 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 |
2ff55dd2813912c2d48ad5dbb33f38f79ce94639 | 159 | py | Python | mau_mau/__init__.py | obestwalter/mau-mau | 3cc56914cef8f0423d8d3b5419e9d909f2266842 | [
"MIT"
] | 10 | 2016-04-15T14:53:55.000Z | 2018-10-17T15:00:37.000Z | mau_mau/__init__.py | obestwalter/mau-mau | 3cc56914cef8f0423d8d3b5419e9d909f2266842 | [
"MIT"
] | 15 | 2016-04-11T08:38:35.000Z | 2019-05-19T14:22:01.000Z | mau_mau/__init__.py | obestwalter/mau-mau | 3cc56914cef8f0423d8d3b5419e9d909f2266842 | [
"MIT"
] | 11 | 2016-04-06T23:19:41.000Z | 2019-10-17T10:11:38.000Z | try:
# fix terminal output for windows command lines
import win_unicode_console # noqa
win_unicode_console.enable()
except ImportError:
pass
| 19.875 | 51 | 0.735849 | 20 | 159 | 5.65 | 0.85 | 0.176991 | 0.300885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220126 | 159 | 7 | 52 | 22.714286 | 0.91129 | 0.314465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
64072a24725981dc6bb394438d0fa651ff1ea4c9 | 46 | py | Python | HelloPython.py | rouillonh/ChallengePython | 7e7d9b69f60394fd1f00a6a4aa32f97de95b1b92 | [
"MIT"
] | null | null | null | HelloPython.py | rouillonh/ChallengePython | 7e7d9b69f60394fd1f00a6a4aa32f97de95b1b92 | [
"MIT"
] | null | null | null | HelloPython.py | rouillonh/ChallengePython | 7e7d9b69f60394fd1f00a6a4aa32f97de95b1b92 | [
"MIT"
] | null | null | null | print("Hola immune, soy Favio y hoy es 23/11") | 46 | 46 | 0.717391 | 10 | 46 | 3.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.152174 | 46 | 1 | 46 | 46 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.787234 | 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 |
ff4aa31d600684acb7a1b7cfb00a091b121cf000 | 49 | py | Python | databroker/v0.py | dylanmcreynolds/databroker | 13bfca28d27cc1cc812d11eb00bf66ecc7e0519d | [
"BSD-3-Clause"
] | 15 | 2019-09-07T13:18:43.000Z | 2022-03-25T07:03:47.000Z | databroker/v0.py | dylanmcreynolds/databroker | 13bfca28d27cc1cc812d11eb00bf66ecc7e0519d | [
"BSD-3-Clause"
] | 412 | 2015-01-13T00:32:32.000Z | 2019-05-07T13:48:35.000Z | databroker/v0.py | dylanmcreynolds/databroker | 13bfca28d27cc1cc812d11eb00bf66ecc7e0519d | [
"BSD-3-Clause"
] | 27 | 2015-01-23T16:12:52.000Z | 2019-05-06T16:11:13.000Z | from ._core import Broker, temp_config, BrokerES
| 24.5 | 48 | 0.816327 | 7 | 49 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.883721 | 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 |
ff4f118132726324f493072024bdd173da899452 | 141 | py | Python | utils.py | dedeSkar/monke-api | d25463cfe3e0555e1ad2ddada35bdc656ef05534 | [
"MIT"
] | 1 | 2021-04-07T14:03:18.000Z | 2021-04-07T14:03:18.000Z | utils.py | dedeSkar/monke-api | d25463cfe3e0555e1ad2ddada35bdc656ef05534 | [
"MIT"
] | null | null | null | utils.py | dedeSkar/monke-api | d25463cfe3e0555e1ad2ddada35bdc656ef05534 | [
"MIT"
] | null | null | null | from typing import Any
def magic(response_value: Any, json: bool = False):
return {"data": response_value} if json else response_value
| 23.5 | 63 | 0.744681 | 21 | 141 | 4.857143 | 0.714286 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 5 | 64 | 28.2 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.028369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 |
440a56dffbcfc0268454da8084dd4bbee8994f02 | 104 | py | Python | plugins/darktrace/icon_darktrace/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/darktrace/icon_darktrace/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/darktrace/icon_darktrace/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .update_watched_domains.action import UpdateWatchedDomains
| 34.666667 | 63 | 0.836538 | 14 | 104 | 6.071429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 2 | 64 | 52 | 0.934066 | 0.355769 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
440c39a9ad137bcad72f00521009caf9f232b024 | 66 | py | Python | amqpframe/__init__.py | malinoff/amqpframe | 5f37025e0ac481000e3e681aad2fbb3dc30d5512 | [
"BSD-3-Clause"
] | 1 | 2021-06-06T19:28:02.000Z | 2021-06-06T19:28:02.000Z | amqpframe/__init__.py | malinoff/amqpframe | 5f37025e0ac481000e3e681aad2fbb3dc30d5512 | [
"BSD-3-Clause"
] | null | null | null | amqpframe/__init__.py | malinoff/amqpframe | 5f37025e0ac481000e3e681aad2fbb3dc30d5512 | [
"BSD-3-Clause"
] | null | null | null | from .frames import * # noqa
from .frames import __all__ # noqa
| 22 | 35 | 0.712121 | 9 | 66 | 4.777778 | 0.555556 | 0.465116 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 66 | 2 | 36 | 33 | 0.826923 | 0.136364 | 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 |
4411c2006484f283ca6d26c11431aee17767b959 | 164 | py | Python | samples/driver-oaas/lib/__init__.py | tsh2/lib-python-databox2 | 41212c77a5dac5c494ee2690cc9570c5e7cac744 | [
"MIT"
] | null | null | null | samples/driver-oaas/lib/__init__.py | tsh2/lib-python-databox2 | 41212c77a5dac5c494ee2690cc9570c5e7cac744 | [
"MIT"
] | 4 | 2021-03-18T20:27:10.000Z | 2022-03-11T23:18:36.000Z | samples/driver-oaas/lib/__init__.py | tsh2/lib-python-databox2 | 41212c77a5dac5c494ee2690cc9570c5e7cac744 | [
"MIT"
] | null | null | null | from lib.utils import *
from lib.catalog import *
from lib.export import *
from lib.subscriptions import *
from lib.key_value import *
from lib.time_series import * | 27.333333 | 31 | 0.786585 | 26 | 164 | 4.884615 | 0.423077 | 0.330709 | 0.511811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140244 | 164 | 6 | 32 | 27.333333 | 0.900709 | 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 |
445e04eaf949f36a4d692a2a5a2a8cf7efee5266 | 70 | py | Python | api_keys.py | nelsont87/python-api-challenge | 405603a717b2fa0240f3cb8014b6ebafd25e528a | [
"ADSL"
] | null | null | null | api_keys.py | nelsont87/python-api-challenge | 405603a717b2fa0240f3cb8014b6ebafd25e528a | [
"ADSL"
] | null | null | null | api_keys.py | nelsont87/python-api-challenge | 405603a717b2fa0240f3cb8014b6ebafd25e528a | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "1bcb42c02db7a02ff0f80247a04757e2"
| 23.333333 | 44 | 0.842857 | 6 | 70 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.31746 | 0.1 | 70 | 2 | 45 | 35 | 0.603175 | 0.314286 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
925dff18a8d004407002371d7b962cb95d806c79 | 5,874 | py | Python | tests/functional/test_scoping/importURI_variations/test_importURI_variations.py | stanislaw/textX | cccb0e0680635e884841f7ef929b1234131716d3 | [
"MIT"
] | 346 | 2018-12-30T18:47:09.000Z | 2022-03-31T23:07:13.000Z | tests/functional/test_scoping/importURI_variations/test_importURI_variations.py | stanislaw/textX | cccb0e0680635e884841f7ef929b1234131716d3 | [
"MIT"
] | 183 | 2018-12-27T17:22:28.000Z | 2022-03-28T08:31:09.000Z | tests/functional/test_scoping/importURI_variations/test_importURI_variations.py | stanislaw/textX | cccb0e0680635e884841f7ef929b1234131716d3 | [
"MIT"
] | 46 | 2019-01-01T07:58:04.000Z | 2022-01-01T14:15:38.000Z | from __future__ import unicode_literals
from textx import metamodel_from_str
from os.path import dirname, abspath, join
from pytest import raises
import textx.exceptions
import textx.scoping.providers as scoping_providers
grammar = r'''
Model:
imports*=Import
packages*=Package
;
Package:
'pac... | 29.223881 | 77 | 0.47906 | 556 | 5,874 | 4.785971 | 0.131295 | 0.063134 | 0.097708 | 0.157835 | 0.810222 | 0.798196 | 0.798196 | 0.784292 | 0.784292 | 0.784292 | 0 | 0.012135 | 0.200375 | 5,874 | 200 | 78 | 29.37 | 0.554396 | 0.03541 | 0 | 0.566667 | 0 | 0 | 0.135929 | 0.004781 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.111111 | false | 0 | 0.3 | 0.055556 | 0.466667 | 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 |
9260d848bc3426b1a5ae53993b7d71095efc1202 | 32 | py | Python | examples/example_model_code/basemodel/__init__.py | gchq/Bailo | 9913eb6938eaea55135d9f35428dec143d4e2da6 | [
"Apache-2.0"
] | 20 | 2022-01-27T09:53:05.000Z | 2022-03-24T13:59:01.000Z | examples/example_model_code/basemodel/__init__.py | gchq/Bailo | 9913eb6938eaea55135d9f35428dec143d4e2da6 | [
"Apache-2.0"
] | 29 | 2022-01-27T10:25:01.000Z | 2022-03-24T11:43:34.000Z | examples/example_model_code/basemodel/__init__.py | gchq/Bailo | 9913eb6938eaea55135d9f35428dec143d4e2da6 | [
"Apache-2.0"
] | 1 | 2022-03-28T08:19:29.000Z | 2022-03-28T08:19:29.000Z | from .basemodel import BaseModel | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 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 |
2b85c502b75424ac42c9ed7fd8e6a7b17ee43a7d | 41 | py | Python | hello.py | ousttrue/ljl | 669554749de8c44b9cdff2bf68f7a6fa23167a93 | [
"MIT"
] | null | null | null | hello.py | ousttrue/ljl | 669554749de8c44b9cdff2bf68f7a6fa23167a93 | [
"MIT"
] | null | null | null | hello.py | ousttrue/ljl | 669554749de8c44b9cdff2bf68f7a6fa23167a93 | [
"MIT"
] | null | null | null | import sys
print('hello', sys.argv[1])
| 13.666667 | 28 | 0.658537 | 7 | 41 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.146341 | 41 | 2 | 29 | 20.5 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2b9c48c8ea24bbb88450d35fc393279fb4234a0c | 106 | py | Python | app/exceptions.py | n1EzeR/reviews_tazalau | 973b0a8ad1c4f54ad13e767424cf3d42fb1a0bbf | [
"CC0-1.0"
] | null | null | null | app/exceptions.py | n1EzeR/reviews_tazalau | 973b0a8ad1c4f54ad13e767424cf3d42fb1a0bbf | [
"CC0-1.0"
] | 1 | 2021-06-02T00:47:32.000Z | 2021-06-02T00:47:32.000Z | app/exceptions.py | n1EzeR/reviews_tazalau | 973b0a8ad1c4f54ad13e767424cf3d42fb1a0bbf | [
"CC0-1.0"
] | null | null | null | class EmptyDirectoryException(Exception):
pass
class DataNotCollectedException(Exception):
pass
| 15.142857 | 43 | 0.792453 | 8 | 106 | 10.5 | 0.625 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 6 | 44 | 17.666667 | 0.933333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ecfd783e923f2784249076e0979b28db9c8ec49e | 49 | py | Python | bucki/buckets/serializers/__init__.py | patozavala/bucki | acc52bb99b65921377f947c7c47027ef686b7030 | [
"MIT"
] | 1 | 2021-07-02T03:26:18.000Z | 2021-07-02T03:26:18.000Z | bucki/buckets/serializers/__init__.py | patozavala/spectralbuckets | acc52bb99b65921377f947c7c47027ef686b7030 | [
"MIT"
] | 6 | 2021-06-16T22:38:36.000Z | 2021-06-26T04:46:03.000Z | bucki/buckets/serializers/__init__.py | patozavala/spectralbuckets | acc52bb99b65921377f947c7c47027ef686b7030 | [
"MIT"
] | null | null | null | from .buckets import *
from .memberships import * | 24.5 | 26 | 0.77551 | 6 | 49 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 26 | 24.5 | 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 |
a68196a619fcf331d6f66d7afe18c209dd31229c | 62,368 | py | Python | users/tests/test_coupon_order.py | RaphaelPrevost/Back2Shops | 5f2d369e82fe2a7b9b3a6c55782319b23d142dfd | [
"CECILL-B"
] | null | null | null | users/tests/test_coupon_order.py | RaphaelPrevost/Back2Shops | 5f2d369e82fe2a7b9b3a6c55782319b23d142dfd | [
"CECILL-B"
] | 6 | 2021-03-31T19:21:50.000Z | 2022-01-13T01:46:09.000Z | users/tests/test_coupon_order.py | RaphaelPrevost/Back2Shops | 5f2d369e82fe2a7b9b3a6c55782319b23d142dfd | [
"CECILL-B"
] | null | null | null | # -*- coding: utf-8 -*-
#############################################################################
#
# Copyright © Dragon Dollar Limited
# contact: contact@dragondollar.com
#
# This software is a collection of webservices designed to provide a secure
# and scalable framework to build e-commerce websites.
#
# This s... | 44.201276 | 89 | 0.468622 | 6,488 | 62,368 | 4.259094 | 0.067355 | 0.04596 | 0.048457 | 0.038432 | 0.792639 | 0.771469 | 0.758731 | 0.750262 | 0.727138 | 0.70329 | 0 | 0.061975 | 0.414267 | 62,368 | 1,410 | 90 | 44.232624 | 0.694424 | 0.077251 | 0 | 0.777138 | 0 | 0 | 0.129752 | 0.005516 | 0 | 0 | 0 | 0 | 0.064967 | 1 | 0.018092 | false | 0.006579 | 0.010691 | 0 | 0.036184 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a68c3a20d9bed8a144103c1fae8920393f9c5ab7 | 116,370 | py | Python | main.py | badawiki/openNAMU | 347c7244a9638380da083216f201b9b91b9049be | [
"BSD-3-Clause"
] | null | null | null | main.py | badawiki/openNAMU | 347c7244a9638380da083216f201b9b91b9049be | [
"BSD-3-Clause"
] | null | null | null | main.py | badawiki/openNAMU | 347c7244a9638380da083216f201b9b91b9049be | [
"BSD-3-Clause"
] | null | null | null | from flask import Flask, request, session, render_template, send_file
app = Flask(__name__)
import bcrypt
import os
import difflib
import hashlib
import json
import pymysql
json_data = open('set.json').read()
set_data = json.loads(json_data)
if(not set_data['log'] == "O"):
import logging
log = logging.getLo... | 48.447127 | 638 | 0.43861 | 13,760 | 116,370 | 3.5875 | 0.042151 | 0.026639 | 0.026538 | 0.031764 | 0.819605 | 0.782919 | 0.741654 | 0.708067 | 0.68394 | 0.664898 | 0 | 0.013605 | 0.366478 | 116,370 | 2,402 | 639 | 48.447127 | 0.655969 | 0 | 0 | 0.651256 | 0 | 0.029146 | 0.249411 | 0.047469 | 0.000503 | 0 | 0 | 0 | 0 | 0 | null | null | 0.001005 | 0.005025 | null | null | 0.000503 | 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 |
a6a2203407039af49f3d5a5625b11e87a296f27d | 44 | py | Python | novelsave/services/tools/__init__.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 15 | 2020-11-05T10:05:01.000Z | 2021-06-28T14:43:56.000Z | novelsave/services/tools/__init__.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 21 | 2020-11-01T04:36:56.000Z | 2021-08-16T09:36:48.000Z | novelsave/services/tools/__init__.py | mHaisham/novelsave | 011b6c5d705591783aee64662bc88b207bdc7205 | [
"Apache-2.0"
] | 6 | 2021-10-03T11:31:08.000Z | 2022-03-29T07:28:49.000Z | from .calibre_service import CalibreService
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 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 |
a6d49bb73dd3c13b0f259a1f2a11343780abcae5 | 13,686 | py | Python | src/tests/test_basic.py | lclem/agda-kernel | 202cfa86fec977716b61d564f8681f79b94db9c5 | [
"CC-BY-4.0"
] | 19 | 2019-05-07T09:59:43.000Z | 2022-03-04T17:29:32.000Z | src/tests/test_basic.py | lclem/agda-kernel | 202cfa86fec977716b61d564f8681f79b94db9c5 | [
"CC-BY-4.0"
] | 9 | 2019-04-15T20:51:19.000Z | 2020-12-08T11:48:38.000Z | src/tests/test_basic.py | lclem/agda-kernel | 202cfa86fec977716b61d564f8681f79b94db9c5 | [
"CC-BY-4.0"
] | 2 | 2019-05-07T15:22:07.000Z | 2019-08-20T18:06:57.000Z | import pytest
from agda_kernel.kernel import AgdaKernel
#import agda_kernel.kernel.findAllHoles
@pytest.fixture
def kernel():
return AgdaKernel()
def test_isHole_1(kernel):
assert kernel.isHole("?")
def test_isHole_2(kernel):
assert kernel.isHole("{!!}")
def test_isHole_3(kernel):
assert kernel.isHo... | 53.88189 | 1,520 | 0.574675 | 2,480 | 13,686 | 3.212903 | 0.070968 | 0.0251 | 0.035392 | 0.033886 | 0.779744 | 0.731802 | 0.703439 | 0.657129 | 0.628891 | 0.62613 | 0 | 0.03306 | 0.224244 | 13,686 | 254 | 1,520 | 53.88189 | 0.690025 | 0.117712 | 0 | 0.251572 | 0 | 0.220126 | 0.526513 | 0 | 0 | 0 | 0 | 0 | 0.352201 | 1 | 0.358491 | false | 0 | 0.012579 | 0.006289 | 0.377358 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a6d5c8d1d03c514ac3c4c79ab600d3093fcd1ee6 | 23 | py | Python | PyFTBot/__init__.py | BlackRouter/PYFTBot | e7cdca979980183ca72c3c33e7c5734440eb031d | [
"MIT"
] | 2 | 2020-01-27T16:31:29.000Z | 2020-03-11T07:57:49.000Z | PyFTBot/__init__.py | BlackRouter/PYFTBot | e7cdca979980183ca72c3c33e7c5734440eb031d | [
"MIT"
] | null | null | null | PyFTBot/__init__.py | BlackRouter/PYFTBot | e7cdca979980183ca72c3c33e7c5734440eb031d | [
"MIT"
] | null | null | null | from PyFTBot import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 1 | 23 | 23 | 0.944444 | 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 |
a6e425828eb5e094517bf71c304609940959172f | 8,054 | py | Python | python/prueba2.py | elviscruz45/ECMAScript-6- | 0547c87de661a2e159c4d25219a85e23f8842930 | [
"MIT"
] | null | null | null | python/prueba2.py | elviscruz45/ECMAScript-6- | 0547c87de661a2e159c4d25219a85e23f8842930 | [
"MIT"
] | null | null | null | python/prueba2.py | elviscruz45/ECMAScript-6- | 0547c87de661a2e159c4d25219a85e23f8842930 | [
"MIT"
] | null | null | null | #Python Arrays
#--------------------------------------------------------------------------------------------------------
#Python Classes and Objects
class MyClass:
x = 5
hola=MyClass()
print(hola.x)
##
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
p1 = Pers... | 37.115207 | 105 | 0.287435 | 459 | 8,054 | 4.851852 | 0.185185 | 0.085317 | 0.093399 | 0.129322 | 0.724293 | 0.71621 | 0.71621 | 0.679838 | 0.652896 | 0.652896 | 0 | 0.003069 | 0.109883 | 8,054 | 217 | 106 | 37.115207 | 0.307574 | 0.608393 | 0 | 0.828571 | 0 | 0 | 0.042381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.219048 | false | 0 | 0 | 0 | 0.380952 | 0.295238 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
470387aa1b6aa18998a15a2c09360c65cb1a8dd9 | 10,902 | py | Python | report/forms.py | maverick-labs-pune/wikirumours | 51651aae651fd88468b54d08abb8ec28a93e65fa | [
"MIT"
] | null | null | null | report/forms.py | maverick-labs-pune/wikirumours | 51651aae651fd88468b54d08abb8ec28a93e65fa | [
"MIT"
] | null | null | null | report/forms.py | maverick-labs-pune/wikirumours | 51651aae651fd88468b54d08abb8ec28a93e65fa | [
"MIT"
] | null | null | null | from django.forms import ModelForm, TextInput, DateInput
from django import forms
from django.forms.widgets import Select, Textarea, DateTimeInput
from django.utils.translation import ugettext_lazy
from django.utils.translation import ugettext_lazy as _
from mapwidgets import GooglePointFieldWidget
from countries.mode... | 32.446429 | 112 | 0.441295 | 918 | 10,902 | 5.176471 | 0.120915 | 0.050505 | 0.080808 | 0.111111 | 0.793561 | 0.793561 | 0.785774 | 0.758838 | 0.74032 | 0.74032 | 0 | 0.008997 | 0.429096 | 10,902 | 335 | 113 | 32.543284 | 0.754499 | 0 | 0 | 0.713355 | 0 | 0.065147 | 0.321042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003257 | false | 0 | 0.026059 | 0 | 0.087948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
47064c63d984315fd54a4c0921e41ae9aa380a89 | 22,462 | py | Python | python/tests/sql/test_predicate_join.py | aji-geo/incubator-sedona | ed7a1badf58f0c7efedf79a0a21a9ef6ebd1d6b1 | [
"Apache-2.0"
] | 1 | 2021-10-19T07:57:29.000Z | 2021-10-19T07:57:29.000Z | python/tests/sql/test_predicate_join.py | aji-geo/incubator-sedona | ed7a1badf58f0c7efedf79a0a21a9ef6ebd1d6b1 | [
"Apache-2.0"
] | null | null | null | python/tests/sql/test_predicate_join.py | aji-geo/incubator-sedona | ed7a1badf58f0c7efedf79a0a21a9ef6ebd1d6b1 | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may... | 49.69469 | 280 | 0.673538 | 2,736 | 22,462 | 5.274123 | 0.076754 | 0.052391 | 0.064033 | 0.075676 | 0.834511 | 0.815662 | 0.794248 | 0.789536 | 0.779695 | 0.767706 | 0 | 0.039908 | 0.206838 | 22,462 | 451 | 281 | 49.804878 | 0.770038 | 0.034058 | 0 | 0.663818 | 0 | 0.082621 | 0.36081 | 0.157111 | 0 | 0 | 0 | 0 | 0.039886 | 1 | 0.039886 | false | 0 | 0.011396 | 0 | 0.054131 | 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 |
4708507544cc87bab479ce2236f42adea092ee09 | 108 | py | Python | orator/commands/seeds/__init__.py | vimox-shah/orator-repo-0.9v | 002d7a0d9bcce17e5da39c3f4675d0a1a8286280 | [
"MIT"
] | 1,484 | 2015-05-24T19:34:02.000Z | 2022-03-29T07:17:05.000Z | orator/commands/seeds/__init__.py | vimox-shah/orator-repo-0.9v | 002d7a0d9bcce17e5da39c3f4675d0a1a8286280 | [
"MIT"
] | 359 | 2015-05-25T14:59:20.000Z | 2022-03-21T07:54:28.000Z | orator/commands/seeds/__init__.py | vimox-shah/orator-repo-0.9v | 002d7a0d9bcce17e5da39c3f4675d0a1a8286280 | [
"MIT"
] | 221 | 2015-06-10T12:38:38.000Z | 2022-03-12T23:22:36.000Z | # -*- coding: utf-8 -*-
from .make_command import SeedersMakeCommand
from .seed_command import SeedCommand
| 21.6 | 44 | 0.768519 | 13 | 108 | 6.230769 | 0.769231 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.12963 | 108 | 4 | 45 | 27 | 0.851064 | 0.194444 | 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 |
5b26f0f52142b1ee6db1a6a751b3b2928470c384 | 222 | py | Python | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/pkgutil/pkgutil_devel.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/pkgutil/pkgutil_devel.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/pkgutil/pkgutil_devel.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | #
"""
"""
# end_pymotw_header
import demopkg2
print("demopkg2 :", demopkg2.__file__)
import demopkg2.overloaded
print("demopkg2.overloaded:", demopkg2.overloaded.__file__)
print()
demopkg2.overloaded.func()
| 13.875 | 59 | 0.720721 | 22 | 222 | 6.818182 | 0.409091 | 0.48 | 0.306667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036649 | 0.13964 | 222 | 15 | 60 | 14.8 | 0.748691 | 0.076577 | 0 | 0 | 0 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
5b6513893da5fc591eea80f5793848263092e1d5 | 42 | py | Python | random.py | SUBHAROOP/Learning-Python | 83a28a5e71ed3ab33c1510ba90b62559d241039e | [
"MIT"
] | null | null | null | random.py | SUBHAROOP/Learning-Python | 83a28a5e71ed3ab33c1510ba90b62559d241039e | [
"MIT"
] | null | null | null | random.py | SUBHAROOP/Learning-Python | 83a28a5e71ed3ab33c1510ba90b62559d241039e | [
"MIT"
] | null | null | null | import random
print(random.randint(0,20))
| 14 | 27 | 0.785714 | 7 | 42 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.071429 | 42 | 2 | 28 | 21 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
5badfc3196f964b08514c3b64565a1f0083d07cb | 26 | py | Python | terrascript/ns1/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/ns1/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/ns1/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:50:05"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7520a571841f355dcca818e3201eeef741da1354 | 47 | py | Python | svg_calendar/__init__.py | parsingphase/batbox | 64d7a0f14690b0b9969963c58e334c440cf600c3 | [
"MIT"
] | null | null | null | svg_calendar/__init__.py | parsingphase/batbox | 64d7a0f14690b0b9969963c58e334c440cf600c3 | [
"MIT"
] | 8 | 2019-07-17T09:50:26.000Z | 2021-04-22T11:34:00.000Z | svg_calendar/__init__.py | parsingphase/batbox | 64d7a0f14690b0b9969963c58e334c440cf600c3 | [
"MIT"
] | null | null | null | from .daily_grid import GridImage # noqa F401
| 23.5 | 46 | 0.787234 | 7 | 47 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.170213 | 47 | 1 | 47 | 47 | 0.846154 | 0.191489 | 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 |
756021ccebef1fbd4d01ea19cec3990b27fd2a8e | 189 | py | Python | download_weights.py | muhammadsaboor35/SOLOv2_CS484 | f36c551bc07108751a943623898c32ee8bbe0ac2 | [
"BSD-2-Clause"
] | 1 | 2021-05-25T11:22:12.000Z | 2021-05-25T11:22:12.000Z | download_weights.py | muhammadsaboor35/SOLOv2_CS484 | f36c551bc07108751a943623898c32ee8bbe0ac2 | [
"BSD-2-Clause"
] | null | null | null | download_weights.py | muhammadsaboor35/SOLOv2_CS484 | f36c551bc07108751a943623898c32ee8bbe0ac2 | [
"BSD-2-Clause"
] | null | null | null | from google_drive_downloader import GoogleDriveDownloader as gdd
import os
gdd.download_file_from_google_drive(file_id='10f8mj8OUEQ1_YASCktXY6v9rRyMDZMLB', dest_path='./model_final.pth')
| 31.5 | 111 | 0.867725 | 25 | 189 | 6.16 | 0.76 | 0.12987 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039548 | 0.063492 | 189 | 5 | 112 | 37.8 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0.265957 | 0.175532 | 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 |
f37321a000f7321c30f55ee79165d75d32dc2c91 | 2,906 | py | Python | tests/nested_loop_test.py | meshtag/dace | e6751ee6a4f6356b47b93065d43cefb3fd54ebaa | [
"BSD-3-Clause"
] | 1 | 2022-03-11T13:36:34.000Z | 2022-03-11T13:36:34.000Z | tests/nested_loop_test.py | meshtag/dace | e6751ee6a4f6356b47b93065d43cefb3fd54ebaa | [
"BSD-3-Clause"
] | null | null | null | tests/nested_loop_test.py | meshtag/dace | e6751ee6a4f6356b47b93065d43cefb3fd54ebaa | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
import dace
import numpy as np
@dace.program
def nested_loop_test(A: dace.int32[1]):
for i in range(11):
for j in range(5):
with dace.tasklet:
in_a << A[0]
out_a >> A[0]
... | 25.269565 | 75 | 0.593944 | 482 | 2,906 | 3.414938 | 0.126556 | 0.072904 | 0.118469 | 0.085055 | 0.832928 | 0.81288 | 0.782503 | 0.782503 | 0.782503 | 0.782503 | 0 | 0.069897 | 0.261528 | 2,906 | 114 | 76 | 25.491228 | 0.697111 | 0.02512 | 0 | 0.641975 | 0 | 0 | 0.002826 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.148148 | false | 0 | 0.024691 | 0 | 0.17284 | 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 |
f39a110d1bde687847083e6520149a096530ce85 | 15,797 | py | Python | Tests/scripts/hook_validations/tests/integration_test.py | vibhuabharadwaj/content | 30d639dbea0015536a3040ec18f93e50322bded0 | [
"MIT"
] | 1 | 2020-08-02T18:00:00.000Z | 2020-08-02T18:00:00.000Z | Tests/scripts/hook_validations/tests/integration_test.py | vibhuabharadwaj/content | 30d639dbea0015536a3040ec18f93e50322bded0 | [
"MIT"
] | 4 | 2021-03-26T00:33:20.000Z | 2021-12-13T20:48:36.000Z | Tests/scripts/hook_validations/tests/integration_test.py | vibhuabharadwaj/content | 30d639dbea0015536a3040ec18f93e50322bded0 | [
"MIT"
] | 1 | 2021-02-06T08:49:05.000Z | 2021-02-06T08:49:05.000Z | from Tests.scripts.hook_validations.integration import IntegrationValidator
def test_removed_docker_image_on_existing_integration():
validator = IntegrationValidator("temp_file", check_git=False)
validator.old_integration = {
"script": {
"dockerimage": "test"
}
}
validator.... | 27.665499 | 120 | 0.454517 | 1,127 | 15,797 | 6.124224 | 0.089618 | 0.047522 | 0.105187 | 0.117937 | 0.89887 | 0.885396 | 0.86062 | 0.811504 | 0.802231 | 0.76601 | 0 | 0.00139 | 0.453504 | 15,797 | 570 | 121 | 27.714035 | 0.7981 | 0 | 0 | 0.433134 | 0 | 0 | 0.215231 | 0 | 0 | 0 | 0 | 0 | 0.043912 | 1 | 0.043912 | false | 0 | 0.001996 | 0 | 0.045908 | 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 |
45eee457f4c184d2f44858e59a633ad2a21841ee | 187 | py | Python | distrib/kotlin_kernel/__main__.py | Snowgrass/kotlin-jupyter | ce0bf03f5423c1861e8cd777874a00f71ec144cb | [
"Apache-2.0"
] | 1 | 2021-04-04T01:30:39.000Z | 2021-04-04T01:30:39.000Z | distrib/kotlin_kernel/__main__.py | Snowgrass/kotlin-jupyter | ce0bf03f5423c1861e8cd777874a00f71ec144cb | [
"Apache-2.0"
] | 1 | 2021-06-18T15:10:35.000Z | 2021-06-18T15:10:35.000Z | distrib/kotlin_kernel/__main__.py | Snowgrass/kotlin-jupyter | ce0bf03f5423c1861e8cd777874a00f71ec144cb | [
"Apache-2.0"
] | null | null | null | from kotlin_kernel.install_user import install_user
import sys
if __name__ == "__main__":
if len(sys.argv) == 2 and sys.argv[1] == "fix-kernelspec-location":
install_user()
| 23.375 | 71 | 0.700535 | 27 | 187 | 4.407407 | 0.666667 | 0.277311 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.176471 | 187 | 7 | 72 | 26.714286 | 0.75974 | 0 | 0 | 0 | 0 | 0 | 0.165775 | 0.122995 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
45f4fb201cc8d2785c31a8dee76f73b4b471dd68 | 37 | py | Python | harminv/__init__.py | aaren/pharminv | b3d3d11c81bafa40a72583aa98f51b05acec9835 | [
"BSD-3-Clause"
] | 12 | 2015-05-12T21:02:44.000Z | 2021-04-24T23:05:16.000Z | harminv/__init__.py | aaren/pharminv | b3d3d11c81bafa40a72583aa98f51b05acec9835 | [
"BSD-3-Clause"
] | 5 | 2015-04-05T17:05:09.000Z | 2022-02-11T16:46:57.000Z | harminv/__init__.py | aaren/pharminv | b3d3d11c81bafa40a72583aa98f51b05acec9835 | [
"BSD-3-Clause"
] | 3 | 2018-04-27T20:10:10.000Z | 2022-02-16T13:12:02.000Z | from .harminv import Harminv, invert
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
342b31d4c17b89ada08b7c04ab3eaa233a22cc2e | 94 | py | Python | source/pdv/partners/schemas.py | DanielBacci/geodjango | b8d163e862255834f6ba495019f63fff51aecb7e | [
"MIT"
] | null | null | null | source/pdv/partners/schemas.py | DanielBacci/geodjango | b8d163e862255834f6ba495019f63fff51aecb7e | [
"MIT"
] | 6 | 2019-12-04T23:50:03.000Z | 2021-09-22T17:56:51.000Z | source/pdv/partners/schemas.py | DanielBacci/geodjango | b8d163e862255834f6ba495019f63fff51aecb7e | [
"MIT"
] | null | null | null | from rest_framework.schemas import AutoSchema
class PartnerViewSchema(AutoSchema):
pass
| 15.666667 | 45 | 0.819149 | 10 | 94 | 7.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 5 | 46 | 18.8 | 0.938272 | 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 |
343887431cb8219b8df8a9a638628d1d7e9d07af | 182 | py | Python | tests/test_generate_random_array.py | storiesbi/testfile_generator | dc8c2e6684401d14c756b9b53bde2fed2574a2eb | [
"MIT"
] | 1 | 2018-05-17T19:30:51.000Z | 2018-05-17T19:30:51.000Z | tests/test_generate_random_array.py | storiesbi/testfile_generator | dc8c2e6684401d14c756b9b53bde2fed2574a2eb | [
"MIT"
] | null | null | null | tests/test_generate_random_array.py | storiesbi/testfile_generator | dc8c2e6684401d14c756b9b53bde2fed2574a2eb | [
"MIT"
] | null | null | null | from performance_test_generator.generator import generate_random_array
def test_generate_random_array():
arr = generate_random_array(2, 2, 3, 2)
assert arr.shape == (4, 5)
| 26 | 70 | 0.763736 | 27 | 182 | 4.814815 | 0.592593 | 0.323077 | 0.438462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03871 | 0.148352 | 182 | 6 | 71 | 30.333333 | 0.8 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
345b105c4d005b7d549dab09e795d02150d9f485 | 12,806 | py | Python | sci_analysis/test/test_groupcorrelation.py | cmmorrow/sci-analysis | de65ba29fe210eb950daa3dbc2e956963a4770ef | [
"MIT"
] | 17 | 2017-05-10T18:25:36.000Z | 2021-12-23T14:43:49.000Z | sci_analysis/test/test_groupcorrelation.py | cmmorrow/sci-analysis | de65ba29fe210eb950daa3dbc2e956963a4770ef | [
"MIT"
] | 57 | 2016-08-22T23:58:05.000Z | 2019-07-31T06:54:22.000Z | sci_analysis/test/test_groupcorrelation.py | cmmorrow/sci-analysis | de65ba29fe210eb950daa3dbc2e956963a4770ef | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import pytest
import scipy.stats as st
from ..analysis import GroupCorrelation
from ..analysis.exc import MinimumSizeError, NoDataError
from ..data import UnequalVectorLengthError, Vector
@pytest.fixture
def random_seed():
"""Generate a numpy random seed for repeatable test... | 46.567273 | 114 | 0.563798 | 1,856 | 12,806 | 3.737069 | 0.090517 | 0.057958 | 0.086938 | 0.116205 | 0.842849 | 0.798299 | 0.790802 | 0.782151 | 0.766148 | 0.751153 | 0 | 0.182334 | 0.242386 | 12,806 | 274 | 115 | 46.737226 | 0.532571 | 0.061534 | 0 | 0.604651 | 0 | 0 | 0.263246 | 0.058341 | 0 | 0 | 0 | 0 | 0.116279 | 1 | 0.065116 | false | 0 | 0.032558 | 0 | 0.102326 | 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 |
1b14b92b46e11b28c09cc482e6a5993632945b7a | 120 | py | Python | noteman/frontend/views.py | jnthnrzr/noted | 7a9a93c829da24dcdc991a90a87dd33357a86508 | [
"MIT"
] | null | null | null | noteman/frontend/views.py | jnthnrzr/noted | 7a9a93c829da24dcdc991a90a87dd33357a86508 | [
"MIT"
] | null | null | null | noteman/frontend/views.py | jnthnrzr/noted | 7a9a93c829da24dcdc991a90a87dd33357a86508 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, template_name='frontend/index.html')
| 20 | 61 | 0.791667 | 16 | 120 | 5.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 5 | 62 | 24 | 0.878505 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1b8d5913a9a1166fb851f7aa1beabe1037d1a498 | 4,309 | py | Python | test/test_application_secret_proof.py | seanlytics/facebook-sdk | 4c064a344d3a744fe3a2b3fb8d812918c9b15ca4 | [
"Apache-2.0"
] | null | null | null | test/test_application_secret_proof.py | seanlytics/facebook-sdk | 4c064a344d3a744fe3a2b3fb8d812918c9b15ca4 | [
"Apache-2.0"
] | 1 | 2019-08-20T07:37:24.000Z | 2019-08-20T07:37:24.000Z | test/test_application_secret_proof.py | seanlytics/facebook-sdk | 4c064a344d3a744fe3a2b3fb8d812918c9b15ca4 | [
"Apache-2.0"
] | 1 | 2021-11-01T09:43:03.000Z | 2021-11-01T09:43:03.000Z | try:
from unittest import mock
except ImportError:
import mock
import facebook
from . import FacebookTestCase
class FacebookAppSecretProofTestCase(FacebookTestCase):
"""Tests related to application secret proofs."""
PROOF = "4dad02ff1693df832f9c183fe400fc4f601360be06514acb4a73edb783eec345"
ACCE... | 35.908333 | 79 | 0.639824 | 492 | 4,309 | 5.390244 | 0.160569 | 0.082956 | 0.039593 | 0.054299 | 0.808824 | 0.791478 | 0.779789 | 0.766591 | 0.748492 | 0.72813 | 0 | 0.016949 | 0.27431 | 4,309 | 119 | 80 | 36.210084 | 0.831148 | 0.197726 | 0 | 0.658228 | 0 | 0 | 0.125271 | 0.019796 | 0 | 0 | 0 | 0 | 0.075949 | 1 | 0.075949 | false | 0 | 0.063291 | 0 | 0.189873 | 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 |
1ba4ac948ad3e51eaae636b656d06e933e9684ae | 251 | py | Python | market/admin.py | morphosis-nitmz/Stock-Bridge-2018 | 5f7d55a5dfeed52e2fa46fd1e2abd6bba80c954a | [
"MIT"
] | 12 | 2019-09-10T02:51:01.000Z | 2022-03-23T07:19:34.000Z | market/admin.py | morphosis-nitmz/Stock-Bridge-2018 | 5f7d55a5dfeed52e2fa46fd1e2abd6bba80c954a | [
"MIT"
] | null | null | null | market/admin.py | morphosis-nitmz/Stock-Bridge-2018 | 5f7d55a5dfeed52e2fa46fd1e2abd6bba80c954a | [
"MIT"
] | 8 | 2019-06-26T14:16:23.000Z | 2022-01-07T08:48:08.000Z | from django.contrib import admin
from .models import Company, InvestmentRecord, CompanyCMPRecord, Transaction
admin.site.register(Company)
admin.site.register(Transaction)
admin.site.register(InvestmentRecord)
admin.site.register(CompanyCMPRecord)
| 25.1 | 76 | 0.844622 | 28 | 251 | 7.571429 | 0.428571 | 0.169811 | 0.320755 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071713 | 251 | 9 | 77 | 27.888889 | 0.909871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
59fe26c94a26aad3acab0e77afedde3f49bb71df | 1,922 | py | Python | selective_search/filters.py | jkhu29/SoCo | 1cef465ce5bdc975a72d3d869147ebeb6031781d | [
"MIT"
] | 80 | 2021-10-22T03:26:42.000Z | 2022-03-31T08:45:36.000Z | selective_search/filters.py | jkhu29/SoCo | 1cef465ce5bdc975a72d3d869147ebeb6031781d | [
"MIT"
] | 17 | 2021-11-03T08:58:59.000Z | 2022-03-03T13:39:47.000Z | selective_search/filters.py | jkhu29/SoCo | 1cef465ce5bdc975a72d3d869147ebeb6031781d | [
"MIT"
] | 14 | 2021-10-31T14:34:34.000Z | 2022-03-10T16:30:55.000Z | # --------------------------------------------------------
# SoCo
# Copyright (c) 2021 Microsoft
# Licensed under The MIT License [see LICENSE for details]
# Written by Yue Gao
# --------------------------------------------------------
from math import sqrt
'''
regions : array of dict
[
{
're... | 28.686567 | 124 | 0.530177 | 278 | 1,922 | 3.478417 | 0.23741 | 0.115822 | 0.045502 | 0.074457 | 0.75181 | 0.75181 | 0.75181 | 0.75181 | 0.712513 | 0.653568 | 0 | 0.030769 | 0.289802 | 1,922 | 66 | 125 | 29.121212 | 0.677656 | 0.156608 | 0 | 0.769231 | 0 | 0 | 0.011236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.025641 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
940d9c57f1bfe0683dc814d987797464d72b704f | 32 | py | Python | quacker.py | aniongithub/native-python-caller | 4b1b2483cd49c333755e7a6514a7a0687244f96e | [
"MIT"
] | null | null | null | quacker.py | aniongithub/native-python-caller | 4b1b2483cd49c333755e7a6514a7a0687244f96e | [
"MIT"
] | null | null | null | quacker.py | aniongithub/native-python-caller | 4b1b2483cd49c333755e7a6514a7a0687244f96e | [
"MIT"
] | 1 | 2021-12-06T20:24:34.000Z | 2021-12-06T20:24:34.000Z | def quack():
print("Quack!") | 16 | 19 | 0.5625 | 4 | 32 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 2 | 19 | 16 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
942c770b9f8d25c89f5cace1761cd8986d9baa36 | 33 | py | Python | Modules/CircuitDrawer/__init__.py | bus6479/QCAD | b660d07639e44b099dccc1213e87bae737db716d | [
"MIT"
] | 1 | 2018-10-05T06:33:56.000Z | 2018-10-05T06:33:56.000Z | Modules/CircuitDrawer/__init__.py | GyunghunKim/QCAD | b660d07639e44b099dccc1213e87bae737db716d | [
"MIT"
] | null | null | null | Modules/CircuitDrawer/__init__.py | GyunghunKim/QCAD | b660d07639e44b099dccc1213e87bae737db716d | [
"MIT"
] | 1 | 2018-09-01T02:35:50.000Z | 2018-09-01T02:35:50.000Z | from .circuit_drawer import draw
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
94345b357a9fb935a1688eafe5aff500b17f3f52 | 28 | py | Python | numerical_eqs/utils/__init__.py | alienbrett/numerical-eqs-collection | 23619bf379d53ce0facb63be08ee6a3902d404d5 | [
"MIT"
] | null | null | null | numerical_eqs/utils/__init__.py | alienbrett/numerical-eqs-collection | 23619bf379d53ce0facb63be08ee6a3902d404d5 | [
"MIT"
] | null | null | null | numerical_eqs/utils/__init__.py | alienbrett/numerical-eqs-collection | 23619bf379d53ce0facb63be08ee6a3902d404d5 | [
"MIT"
] | null | null | null | from .simtime import SimTime | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 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 |
94711c4718849534d06e0ce30b8dd34662546a34 | 49 | py | Python | tmp/testdata/pkg/a.py | KGerring/importlab | bda6e8146b6b8eda3bb8f208944b30bcf340f92c | [
"Apache-2.0"
] | 130 | 2018-03-12T13:20:17.000Z | 2022-03-31T17:15:14.000Z | tmp/testdata/pkg/a.py | KGerring/importlab | bda6e8146b6b8eda3bb8f208944b30bcf340f92c | [
"Apache-2.0"
] | 33 | 2018-05-02T22:52:07.000Z | 2022-01-07T20:27:20.000Z | tmp/testdata/pkg/a.py | KGerring/importlab | bda6e8146b6b8eda3bb8f208944b30bcf340f92c | [
"Apache-2.0"
] | 20 | 2018-03-01T08:35:42.000Z | 2022-01-07T05:32:41.000Z | from . import b
from . import c
from . import d
| 9.8 | 15 | 0.673469 | 9 | 49 | 3.666667 | 0.555556 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 49 | 4 | 16 | 12.25 | 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 | 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 | 0 | 0 | 0 | 6 |
9472772ec2204b3de2eab6080b5be8742d82af05 | 14,875 | py | Python | losantrest/notebook.py | Losant/losant-rest-python | 50a6ce13dfef7acefb930fe45893c7bae862f784 | [
"MIT"
] | 5 | 2016-06-16T20:18:11.000Z | 2022-03-09T11:41:59.000Z | losantrest/notebook.py | Losant/losant-rest-python | 50a6ce13dfef7acefb930fe45893c7bae862f784 | [
"MIT"
] | 4 | 2021-07-13T06:09:16.000Z | 2022-03-07T14:24:49.000Z | losantrest/notebook.py | Losant/losant-rest-python | 50a6ce13dfef7acefb930fe45893c7bae862f784 | [
"MIT"
] | 6 | 2016-11-18T03:19:17.000Z | 2022-03-09T11:41:47.000Z | """
The MIT License (MIT)
Copyright (c) 2021 Losant IoT, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, me... | 43.75 | 160 | 0.643697 | 1,637 | 14,875 | 5.755651 | 0.138668 | 0.034812 | 0.031204 | 0.03789 | 0.794417 | 0.778709 | 0.77457 | 0.77457 | 0.77457 | 0.764487 | 0 | 0.00558 | 0.253042 | 14,875 | 339 | 161 | 43.879056 | 0.842408 | 0.505546 | 0 | 0.804688 | 0 | 0 | 0.275977 | 0.055291 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054688 | false | 0 | 0.007813 | 0 | 0.117188 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
849219afd2cddec2ec6d489f12f60a34994bfb80 | 133 | py | Python | utils/commons/single_thread_env.py | leminhnguyen/NATSpeech | 66b7b5c27b43523952b4edf1413d7cedb8c9310e | [
"MIT"
] | 561 | 2022-02-13T04:57:38.000Z | 2022-03-28T03:16:15.000Z | utils/commons/single_thread_env.py | zjumml/NATSpeech | b1cf33e336a69e8550953bf8091e1b5ac6c0608e | [
"MIT"
] | 9 | 2022-02-14T05:17:11.000Z | 2022-03-31T02:06:13.000Z | utils/commons/single_thread_env.py | zjumml/NATSpeech | b1cf33e336a69e8550953bf8091e1b5ac6c0608e | [
"MIT"
] | 51 | 2022-02-13T04:50:36.000Z | 2022-03-25T23:22:35.000Z | import os
os.environ["OMP_NUM_THREADS"] = "1"
os.environ['TF_NUM_INTEROP_THREADS'] = '1'
os.environ['TF_NUM_INTRAOP_THREADS'] = '1'
| 22.166667 | 42 | 0.729323 | 22 | 133 | 4.045455 | 0.454545 | 0.303371 | 0.224719 | 0.382022 | 0.494382 | 0.494382 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.090226 | 133 | 5 | 43 | 26.6 | 0.710744 | 0 | 0 | 0 | 0 | 0 | 0.466165 | 0.330827 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
84ac6262fd2a3c72f5daaa9e2ba4c594f7cb5591 | 29 | py | Python | uxps/__init__.py | jonasangstrom/uxps | 0dda91010789f8f3ac88ad8332fbfdd467fc7df1 | [
"MIT"
] | null | null | null | uxps/__init__.py | jonasangstrom/uxps | 0dda91010789f8f3ac88ad8332fbfdd467fc7df1 | [
"MIT"
] | null | null | null | uxps/__init__.py | jonasangstrom/uxps | 0dda91010789f8f3ac88ad8332fbfdd467fc7df1 | [
"MIT"
] | null | null | null | from uxps.model import Model
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
84b116a2aab503cc20c3018da1ba41afb2c8fa58 | 6,071 | py | Python | traffic_control/tests/test_permissions.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 2 | 2020-11-23T22:08:58.000Z | 2022-03-02T13:13:20.000Z | traffic_control/tests/test_permissions.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 170 | 2019-12-31T13:37:04.000Z | 2022-03-12T14:03:35.000Z | traffic_control/tests/test_permissions.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 3 | 2020-05-08T05:58:02.000Z | 2022-03-15T16:07:25.000Z | from unittest.mock import MagicMock
import pytest
from django.conf import settings
from django.contrib.gis.geos import MultiPolygon, Point, Polygon
from django.test import RequestFactory
from ..models import OperationalArea
from ..permissions import (
IsAdminUserOrReadOnly,
ObjectInsideOperationalAreaOrAnonRe... | 29.614634 | 88 | 0.623456 | 656 | 6,071 | 5.556402 | 0.108232 | 0.018107 | 0.02085 | 0.015089 | 0.801372 | 0.801372 | 0.801372 | 0.801372 | 0.786283 | 0.786283 | 0 | 0.025971 | 0.245264 | 6,071 | 204 | 89 | 29.759804 | 0.769533 | 0 | 0 | 0.592179 | 0 | 0 | 0.061604 | 0.003953 | 0 | 0 | 0 | 0 | 0.03352 | 1 | 0.03352 | false | 0 | 0.050279 | 0 | 0.083799 | 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 |
84d05d3d5109a79ac9db4cc55140c1f80d99deb3 | 3,438 | py | Python | src/lib/mine/utility/test_math.py | rdw20170120/workstation | ed19aa930a83885c2a8cb58eb0bb5afe58f95df3 | [
"MIT"
] | null | null | null | src/lib/mine/utility/test_math.py | rdw20170120/workstation | ed19aa930a83885c2a8cb58eb0bb5afe58f95df3 | [
"MIT"
] | 2 | 2021-04-06T18:07:32.000Z | 2021-06-02T01:50:40.000Z | src/lib/mine/utility/test_math.py | rdw20170120/workstation | ed19aa930a83885c2a8cb58eb0bb5afe58f95df3 | [
"MIT"
] | null | null | null | #!/usr/bin/env false
"""TODO: Write
"""
# Internal packages (absolute references, distributed with Python)
from math import isnan
# External packages (absolute references, NOT distributed with Python)
# Library modules (absolute references, NOT packaged, in project)
from utility import my_assert as is_
from utility.... | 28.413223 | 70 | 0.680337 | 529 | 3,438 | 4.234405 | 0.102079 | 0.185714 | 0.301786 | 0.325 | 0.747321 | 0.716071 | 0.707589 | 0.692411 | 0.664732 | 0.657143 | 0 | 0.042049 | 0.176847 | 3,438 | 120 | 71 | 28.65 | 0.74947 | 0.086387 | 0 | 0.506024 | 0 | 0 | 0.048906 | 0 | 0 | 0 | 0 | 0.008333 | 0.674699 | 1 | 0.144578 | false | 0 | 0.060241 | 0 | 0.204819 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca128c6751c1ee00061838b32a8b8bf3b2539dff | 34 | py | Python | src/ColorTheories/__init__.py | pgscasado/Color-Theories | 58119879cbc6161720ac4f16ae9949fbdbbcf063 | [
"MIT"
] | null | null | null | src/ColorTheories/__init__.py | pgscasado/Color-Theories | 58119879cbc6161720ac4f16ae9949fbdbbcf063 | [
"MIT"
] | 1 | 2021-05-04T18:38:22.000Z | 2021-05-04T18:38:22.000Z | src/ColorTheories/__init__.py | pgscasado/Color-Theories | 58119879cbc6161720ac4f16ae9949fbdbbcf063 | [
"MIT"
] | 1 | 2021-04-27T23:32:21.000Z | 2021-04-27T23:32:21.000Z | print('Welcom to Color Theories!') | 34 | 34 | 0.764706 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.83871 | 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 |
ca396236120b6cb4dda0219ef27e1ae0ffefaaf4 | 11,204 | py | Python | starthinker/util/dcm/schema/Per_Interaction_Dimensions.py | viohman/starthinker | 20bd2d7fd1e541eb8a2c9b7159941f667e22e38e | [
"Apache-2.0"
] | 1 | 2019-07-02T18:25:25.000Z | 2019-07-02T18:25:25.000Z | starthinker/util/dcm/schema/Per_Interaction_Dimensions.py | viohman/starthinker | 20bd2d7fd1e541eb8a2c9b7159941f667e22e38e | [
"Apache-2.0"
] | 6 | 2021-03-19T12:00:18.000Z | 2022-02-10T09:43:42.000Z | starthinker/util/dcm/schema/Per_Interaction_Dimensions.py | viohman/starthinker | 20bd2d7fd1e541eb8a2c9b7159941f667e22e38e | [
"Apache-2.0"
] | null | null | null | ###########################################################################
#
# Copyright 2017 Google Inc.
#
# 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
#
# https://www.apache.org/... | 69.590062 | 102 | 0.632631 | 1,273 | 11,204 | 5.304006 | 0.139042 | 0.250592 | 0.331754 | 0.260664 | 0.850267 | 0.817091 | 0.6016 | 0.436759 | 0.347156 | 0.195646 | 0 | 0.005545 | 0.098536 | 11,204 | 161 | 103 | 69.590062 | 0.66297 | 0.049804 | 0 | 0 | 0 | 0 | 0.631298 | 0.175859 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca883b204c1323d9a30f84f7c4b402a67276ff07 | 2,203 | py | Python | tests/base.py | asidlare/todos | e6ae268efdfe68ae567b516f6cb5fa9cb8a46435 | [
"MIT"
] | null | null | null | tests/base.py | asidlare/todos | e6ae268efdfe68ae567b516f6cb5fa9cb8a46435 | [
"MIT"
] | null | null | null | tests/base.py | asidlare/todos | e6ae268efdfe68ae567b516f6cb5fa9cb8a46435 | [
"MIT"
] | null | null | null | import os
import unittest
from flask_sqlalchemy import event
from sqlalchemy.engine import Engine
from sqlite3 import Connection
from todos import Todos
from todos.models import db
class TestCaseWithDB(unittest.TestCase):
@classmethod
def setUpClass(cls):
os.environ["FLASK_ENV"] = "testing" # Force ... | 31.028169 | 73 | 0.612801 | 245 | 2,203 | 5.379592 | 0.261224 | 0.063733 | 0.084977 | 0.051593 | 0.787557 | 0.787557 | 0.787557 | 0.787557 | 0.787557 | 0.787557 | 0 | 0.001911 | 0.287335 | 2,203 | 70 | 74 | 31.471429 | 0.83758 | 0.045847 | 0 | 0.758621 | 0 | 0 | 0.075346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172414 | false | 0 | 0.12069 | 0 | 0.327586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
046d3528df6f1251493c6613137a41a153b55799 | 28 | py | Python | chronos/migrations.py | fossabot/chronos-2 | 21108d1283ebb19aa6a56f025ebd11d9a6ad9923 | [
"MIT"
] | 55 | 2019-04-20T13:28:14.000Z | 2022-01-19T09:52:06.000Z | chronos/migrations.py | fossabot/chronos-2 | 21108d1283ebb19aa6a56f025ebd11d9a6ad9923 | [
"MIT"
] | 45 | 2019-04-22T11:11:15.000Z | 2022-01-20T20:48:15.000Z | chronos/migrations.py | fossabot/chronos-2 | 21108d1283ebb19aa6a56f025ebd11d9a6ad9923 | [
"MIT"
] | 15 | 2019-04-25T20:47:06.000Z | 2022-02-18T03:37:52.000Z | def run_missing():
pass
| 9.333333 | 18 | 0.642857 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.