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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0631438c7f8ae6fdf09a93b0b3e27564659fcee2 | 44 | py | Python | source/ports/scala_port/src/test/scala/scripts/s1.py | Duckxz/core | 8761daab0874e9f5c46f8e0b08d95c9d8709f5ee | [
"Apache-2.0"
] | null | null | null | source/ports/scala_port/src/test/scala/scripts/s1.py | Duckxz/core | 8761daab0874e9f5c46f8e0b08d95c9d8709f5ee | [
"Apache-2.0"
] | null | null | null | source/ports/scala_port/src/test/scala/scripts/s1.py | Duckxz/core | 8761daab0874e9f5c46f8e0b08d95c9d8709f5ee | [
"Apache-2.0"
] | null | null | null |
def fn_in_s1():
return 'Hello from s1'
| 11 | 26 | 0.636364 | 8 | 44 | 3.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.25 | 44 | 3 | 27 | 14.666667 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
231c2c14987b6d3cd169130d7566080a52ee38bd | 108 | py | Python | janus/mm_wrapper/__init__.py | zhenglz/janus | f3f1ed3f2b6e377c51e958cae2d919069d221eda | [
"BSD-3-Clause"
] | 16 | 2019-04-18T15:45:02.000Z | 2021-12-17T17:51:18.000Z | janus/mm_wrapper/__init__.py | zhenglz/janus | f3f1ed3f2b6e377c51e958cae2d919069d221eda | [
"BSD-3-Clause"
] | 2 | 2019-06-20T16:56:08.000Z | 2020-08-28T16:09:16.000Z | janus/mm_wrapper/__init__.py | zhenglz/janus | f3f1ed3f2b6e377c51e958cae2d919069d221eda | [
"BSD-3-Clause"
] | 8 | 2018-11-16T17:00:58.000Z | 2022-01-11T05:36:50.000Z | from janus.mm_wrapper.mm_wrapper import MMWrapper
from janus.mm_wrapper.openmm_wrapper import OpenMMWrapper
| 36 | 57 | 0.888889 | 16 | 108 | 5.75 | 0.5 | 0.293478 | 0.23913 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 2 | 58 | 54 | 0.92 | 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 | 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 | 7 |
234a4201bfc293c89c7e8430c2be8255b0ba3503 | 151,831 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/backup/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/backup/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/backup/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from datetime import datetime
from botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def can_paginate(self, operation_name: str ... | 60.659608 | 496 | 0.595267 | 16,376 | 151,831 | 5.5 | 0.042196 | 0.012124 | 0.018142 | 0.00977 | 0.872696 | 0.848248 | 0.822956 | 0.79742 | 0.782387 | 0.768764 | 0 | 0.033005 | 0.315337 | 151,831 | 2,502 | 497 | 60.683853 | 0.833425 | 0.836845 | 0 | 0.456311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.456311 | false | 0.456311 | 0.07767 | 0 | 0.543689 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
88f1894643514c7980a71a1462d1bc0a44dc70f4 | 974 | py | Python | src/test_echo_server.py | linus87/drl_shape_optimization | 39e6b66bd5b70dfce07e145aafe815071bc1b6fe | [
"MIT"
] | 17 | 2020-12-28T16:25:47.000Z | 2022-03-27T18:28:44.000Z | src/test_echo_server.py | linus87/drl_shape_optimization | 39e6b66bd5b70dfce07e145aafe815071bc1b6fe | [
"MIT"
] | 2 | 2021-04-18T03:40:02.000Z | 2022-01-24T08:40:10.000Z | src/test_echo_server.py | linus87/drl_shape_optimization | 39e6b66bd5b70dfce07e145aafe815071bc1b6fe | [
"MIT"
] | 8 | 2020-12-23T05:59:52.000Z | 2022-03-28T12:06:35.000Z | from __future__ import print_function
from echo_server import EchoServer
import numpy as np
# check with a list
print()
print("Test with a list")
data = [1, 2, 3]
echo_server_instance = EchoServer(verbose=5)
encoded = echo_server_instance.encode_message('DUMP', data)
print(encoded)
decoded = echo_server_instance.de... | 21.173913 | 69 | 0.752567 | 151 | 974 | 4.655629 | 0.231788 | 0.142248 | 0.230441 | 0.076814 | 0.822191 | 0.795164 | 0.795164 | 0.795164 | 0.672831 | 0.672831 | 0 | 0.025731 | 0.122177 | 974 | 45 | 70 | 21.644444 | 0.796491 | 0.061602 | 0 | 0.740741 | 0 | 0 | 0.083516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.481481 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
0023081cca9c1d1a17ed7792764dfd7817bf6b1f | 8,276 | py | Python | tests/test_endem.py | rombr/endem-su-test-task | 5ee92273049499b7ae50ca7db4efe108e81eccfb | [
"MIT"
] | null | null | null | tests/test_endem.py | rombr/endem-su-test-task | 5ee92273049499b7ae50ca7db4efe108e81eccfb | [
"MIT"
] | null | null | null | tests/test_endem.py | rombr/endem-su-test-task | 5ee92273049499b7ae50ca7db4efe108e81eccfb | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_endem
----------------------------------
Tests for `endem` module.
"""
import pytest
import smtplib
from endem import endem
@pytest.fixture
def emaillib_gmail():
return endem.EmailSender('gmail')
@pytest.fixture
def emaillib_yandex():
return endem.... | 28.937063 | 73 | 0.574795 | 862 | 8,276 | 5.301624 | 0.109049 | 0.032166 | 0.043326 | 0.042013 | 0.830416 | 0.808753 | 0.764114 | 0.712254 | 0.712254 | 0.698906 | 0 | 0.001242 | 0.319116 | 8,276 | 285 | 74 | 29.038596 | 0.80976 | 0.105123 | 0 | 0.591954 | 0 | 0 | 0.1597 | 0.00908 | 0 | 0 | 0 | 0 | 0.114943 | 1 | 0.137931 | false | 0.149425 | 0.017241 | 0.017241 | 0.241379 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
002f08bae27ae34c9caaa436e3fc5f491c037f0a | 42,764 | py | Python | business_register/migrations/0158_auto_20210806_0930.py | roman-tiukh/Data_converter | 3a0db911417a853ba6cffc4210fe83ba9959955c | [
"MIT"
] | null | null | null | business_register/migrations/0158_auto_20210806_0930.py | roman-tiukh/Data_converter | 3a0db911417a853ba6cffc4210fe83ba9959955c | [
"MIT"
] | null | null | null | business_register/migrations/0158_auto_20210806_0930.py | roman-tiukh/Data_converter | 3a0db911417a853ba6cffc4210fe83ba9959955c | [
"MIT"
] | null | null | null | # Generated by Django 3.1.12 on 2021-08-06 09:30
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('location_register', '0024_auto_20210526_0845'),
('business_register', '0157_auto_2021... | 55.900654 | 676 | 0.631115 | 4,601 | 42,764 | 5.733102 | 0.071072 | 0.050838 | 0.138373 | 0.160513 | 0.895898 | 0.885586 | 0.835772 | 0.783494 | 0.672113 | 0.62264 | 0 | 0.012281 | 0.240249 | 42,764 | 764 | 677 | 55.973822 | 0.7996 | 0.001076 | 0 | 0.783641 | 1 | 0 | 0.291624 | 0.040032 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003958 | 0 | 0.007916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cc6f51d93ed47bc1de6d9c5af2f20b7104573b51 | 38 | py | Python | src/lib/shelve.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/shelve.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/shelve.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("shelve")
| 19 | 37 | 0.763158 | 6 | 38 | 4 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 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 | 1 | 0 | 0 | 7 |
cc80a3e8dce98ff536cfd10a7c60aad3ec559548 | 8,160 | py | Python | dlkit/abstract_osid/authorization/receivers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/abstract_osid/authorization/receivers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/abstract_osid/authorization/receivers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """Implementations of authorization abstract base class receivers."""
# pylint: disable=invalid-name
# Method names comply with OSID specification.
# pylint: disable=no-init
# Abstract classes do not define __init__.
# pylint: disable=too-few-public-methods
# Some interfaces are specified as 'markers' and i... | 33.036437 | 157 | 0.668382 | 932 | 8,160 | 5.72103 | 0.119099 | 0.147037 | 0.052513 | 0.044636 | 0.882596 | 0.864029 | 0.851275 | 0.801388 | 0.783008 | 0.759752 | 0 | 0 | 0.234436 | 8,160 | 246 | 158 | 33.170732 | 0.85353 | 0.674265 | 0 | 0.627451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27451 | false | 0.27451 | 0.019608 | 0 | 0.45098 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
ccd3e54c44e1e124c2de8d42b7474943241d0978 | 87 | py | Python | secure_ml/__init__.py | Koukyosyumei/secure_ml | 9da24f4ce4782ec2f6dd63b0437f657a0e190e40 | [
"MIT"
] | 10 | 2021-02-23T01:32:48.000Z | 2021-11-16T06:02:26.000Z | secure_ml/__init__.py | ahatamiz/secure_ml | 1242148e0686d0374795f99143fcb0a8f34f71f2 | [
"MIT"
] | 2 | 2021-05-16T08:38:19.000Z | 2021-06-20T09:01:45.000Z | secure_ml/__init__.py | ahatamiz/secure_ml | 1242148e0686d0374795f99143fcb0a8f34f71f2 | [
"MIT"
] | 4 | 2021-02-25T04:33:06.000Z | 2021-08-17T05:43:47.000Z | from secure_ml import utils
from secure_ml import attack
from secure_ml import defense
| 21.75 | 29 | 0.862069 | 15 | 87 | 4.8 | 0.466667 | 0.416667 | 0.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 30 | 29 | 0.96 | 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 | 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 | 7 |
aeadf08a10c109853a2f7df35406489e1809a077 | 2,800 | py | Python | test_rows2atoms.py | rphilander/proteus | 840ed265131c7399b983802afaae61306f02ba3b | [
"MIT"
] | null | null | null | test_rows2atoms.py | rphilander/proteus | 840ed265131c7399b983802afaae61306f02ba3b | [
"MIT"
] | null | null | null | test_rows2atoms.py | rphilander/proteus | 840ed265131c7399b983802afaae61306f02ba3b | [
"MIT"
] | null | null | null | import unittest
from core import Atom
from rows2atoms import transform
headers = ['athlete', 'age', 'country', 'year', 'sport', 'golds', 'silvers', 'bronzes', 'total_medals']
class Rows2AtomsTests(unittest.TestCase):
def test_empty(self):
self.assertEqual(list(transform([headers])), [])
def test_on... | 43.75 | 103 | 0.628571 | 350 | 2,800 | 4.968571 | 0.162857 | 0.241518 | 0.310523 | 0.341576 | 0.783209 | 0.767108 | 0.748706 | 0.748706 | 0.748706 | 0.748706 | 0 | 0.040164 | 0.2175 | 2,800 | 63 | 104 | 44.444444 | 0.753537 | 0 | 0 | 0.519231 | 0 | 0 | 0.175357 | 0 | 0 | 0 | 0 | 0 | 0.653846 | 1 | 0.076923 | false | 0 | 0.057692 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
aedcb25961afd836530e10b91c0d29278ee4150a | 142 | py | Python | CRM-Project/accounts/admin.py | wiky-avis/trainee-domclick-test | a12727563a9a728b2a3472b7fee7b16cf11b298b | [
"MIT"
] | null | null | null | CRM-Project/accounts/admin.py | wiky-avis/trainee-domclick-test | a12727563a9a728b2a3472b7fee7b16cf11b298b | [
"MIT"
] | 2 | 2022-01-13T03:52:59.000Z | 2022-03-12T01:00:19.000Z | CRM-Project/accounts/admin.py | wiky-avis/trainee-domclick-test | a12727563a9a728b2a3472b7fee7b16cf11b298b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import ClientProfile, Profile
admin.site.register(Profile)
admin.site.register(ClientProfile)
| 20.285714 | 42 | 0.830986 | 18 | 142 | 6.555556 | 0.555556 | 0.20339 | 0.271186 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 142 | 6 | 43 | 23.666667 | 0.914729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
4e15e9bbd5ae48d400029634fc9bdb548d58aabf | 9,338 | py | Python | mayan/apps/tags/tests/test_document_tag_api.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/tags/tests/test_document_tag_api.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/tags/tests/test_document_tag_api.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from rest_framework import status
from mayan.apps.documents.tests.mixins.document_mixins import DocumentTestMixin
from mayan.apps.rest_api.tests.base import BaseAPITestCase
from ..events import event_tag_attached, event_tag_removed
from ..permissions import (
permission_tag_attach, permission_tag_remove, permissi... | 34.585185 | 83 | 0.718676 | 1,207 | 9,338 | 5.136703 | 0.067937 | 0.087742 | 0.087742 | 0.052258 | 0.90871 | 0.902419 | 0.899839 | 0.893065 | 0.891452 | 0.891452 | 0 | 0.00929 | 0.193082 | 9,338 | 269 | 84 | 34.713755 | 0.813537 | 0 | 0 | 0.734807 | 0 | 0 | 0.001821 | 0 | 0 | 0 | 0 | 0 | 0.276243 | 1 | 0.088398 | false | 0 | 0.033149 | 0 | 0.132597 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4e3befa174fa8b5b8d88a334fe52793718dc335a | 14,608 | py | Python | safe_transaction_service/contracts/tests/test_etherscan_api.py | peekpi/safe-transaction-service | d75008096e6ee9d87dcb274478777b4984f4b71e | [
"MIT"
] | 5 | 2021-01-28T17:41:42.000Z | 2021-11-14T17:09:18.000Z | safe_transaction_service/contracts/tests/test_etherscan_api.py | peekpi/safe-transaction-service | d75008096e6ee9d87dcb274478777b4984f4b71e | [
"MIT"
] | 5 | 2021-06-09T18:47:49.000Z | 2022-03-12T00:56:46.000Z | safe_transaction_service/contracts/tests/test_etherscan_api.py | peekpi/safe-transaction-service | d75008096e6ee9d87dcb274478777b4984f4b71e | [
"MIT"
] | 5 | 2021-04-06T17:20:02.000Z | 2022-01-13T10:58:08.000Z | from django.test import TestCase
from gnosis.eth.ethereum_client import EthereumNetwork
from ..clients import EtherscanApi
from ..clients.etherscan_api import RateLimitError
class TestEtherscanApi(TestCase):
def test_etherscan_get_abi(self):
try:
etherscan_api = EtherscanApi(EthereumNetwork.... | 730.4 | 13,922 | 0.622673 | 1,311 | 14,608 | 6.909992 | 0.109077 | 0.064356 | 0.09394 | 0.061596 | 0.810575 | 0.783972 | 0.768076 | 0.731096 | 0.698421 | 0.693896 | 0 | 0.02336 | 0.097412 | 14,608 | 19 | 13,923 | 768.842105 | 0.663709 | 0 | 0 | 0 | 0 | 0 | 0.56339 | 0.018004 | 0 | 0 | 0.00575 | 0 | 0.142857 | 1 | 0.071429 | false | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9d6c6be7029c3d70f5d87dfcd7764d898d4c0f06 | 3,927 | py | Python | source code/functions.py | muhammadBadawy/napster | 54205e6cd097148529a6e6f6fd512495dd606def | [
"MIT"
] | null | null | null | source code/functions.py | muhammadBadawy/napster | 54205e6cd097148529a6e6f6fd512495dd606def | [
"MIT"
] | null | null | null | source code/functions.py | muhammadBadawy/napster | 54205e6cd097148529a6e6f6fd512495dd606def | [
"MIT"
] | null | null | null | import pickle
# def register(conn, addr, nick):
#
# try:
# users = pickle.load(open("users", "rb"))
# # print users
# except:
# users = {}
# pickle.dump(users, open("users", "wb"))
# # print users[addr[0]]
# try:
# nickname = users[addr[0]]['nick']
# # print... | 29.088889 | 87 | 0.554367 | 424 | 3,927 | 5.134434 | 0.132075 | 0.07074 | 0.036748 | 0.04961 | 0.88011 | 0.843362 | 0.838769 | 0.838769 | 0.834175 | 0.834175 | 0 | 0.004258 | 0.282404 | 3,927 | 134 | 88 | 29.30597 | 0.768275 | 0.514897 | 0 | 0.4375 | 0 | 0 | 0.154436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.020833 | null | null | 0.020833 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9dc8ed3c4c4fa2706cc6a37767873c88535a78d8 | 115 | py | Python | test/unit/reference_dummy.py | barberj/bridge-python | 1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe | [
"MIT"
] | null | null | null | test/unit/reference_dummy.py | barberj/bridge-python | 1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe | [
"MIT"
] | null | null | null | test/unit/reference_dummy.py | barberj/bridge-python | 1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe | [
"MIT"
] | null | null | null | class ReferenceDummy():
def __init__(self, *args):
return
def _to_dict(self, *args):
return "dummy"
| 16.428571 | 28 | 0.643478 | 14 | 115 | 4.857143 | 0.714286 | 0.235294 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226087 | 115 | 6 | 29 | 19.166667 | 0.764045 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9dd1fe9277b140d77a1bcbd39826bf7b60188b87 | 141 | py | Python | 8kyu/(8 kyu) Return Negative/(8 kyu) Return Negative.py | e1r0nd/codewars | 9b05e32a26ee5f36a4b3f1e76a71e0c79b3c865b | [
"MIT"
] | 49 | 2018-04-30T06:42:45.000Z | 2021-07-22T16:39:02.000Z | (8 kyu) Return Negative/(8 kyu) Return Negative.py | novsunheng/codewars | c54b1d822356889b91587b088d02ca0bd3d8dc9e | [
"MIT"
] | 1 | 2020-08-31T02:36:53.000Z | 2020-08-31T10:14:00.000Z | (8 kyu) Return Negative/(8 kyu) Return Negative.py | novsunheng/codewars | c54b1d822356889b91587b088d02ca0bd3d8dc9e | [
"MIT"
] | 25 | 2018-04-02T20:57:58.000Z | 2021-05-28T15:24:51.000Z | # #1
# def make_negative( number ):
# return number if number < 0 else - number
# #2
def make_negative( number ):
return -abs(number) | 23.5 | 47 | 0.652482 | 20 | 141 | 4.5 | 0.55 | 0.155556 | 0.333333 | 0.466667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.22695 | 141 | 6 | 48 | 23.5 | 0.798165 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
d18031999d0f81aab48fc108b2e5c575cf2385a4 | 3,351 | py | Python | jimmy.py | mvaenskae/cil-2018-road-segmentation | 512db116f064da519a8ad20483b7dcda7567d596 | [
"BSD-3-Clause"
] | 1 | 2018-09-16T18:36:01.000Z | 2018-09-16T18:36:01.000Z | jimmy.py | mvaenskae/cil-2018-road-segmentation | 512db116f064da519a8ad20483b7dcda7567d596 | [
"BSD-3-Clause"
] | null | null | null | jimmy.py | mvaenskae/cil-2018-road-segmentation | 512db116f064da519a8ad20483b7dcda7567d596 | [
"BSD-3-Clause"
] | 2 | 2018-09-16T18:36:39.000Z | 2020-03-29T15:15:36.000Z | from cnn_model import *
from label_cnn import LabelCNN
from keras.layers import Activation, Concatenate
class VEGGG(CnnModel):
def __init__(self, model_name):
super().__init__()
self.MODEL_NAME = model_name
def build_model(self):
layers = BasicLayers(relu_version='parametric')
... | 47.871429 | 106 | 0.600119 | 518 | 3,351 | 3.694981 | 0.127413 | 0.034483 | 0.103448 | 0.188088 | 0.893417 | 0.893417 | 0.893417 | 0.855799 | 0.855799 | 0.855799 | 0 | 0.066515 | 0.214861 | 3,351 | 69 | 107 | 48.565217 | 0.660965 | 0 | 0 | 0.745455 | 0 | 0 | 0.034936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072727 | false | 0 | 0.054545 | 0 | 0.163636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
d188e271348baf17cd1bc0f0dd7b861beb006e91 | 1,421 | py | Python | plotshape.py | martinchristen/pyconhk-2020 | ff4ad82809fb8ce0c1ea4ae69dc32be81728e93c | [
"MIT"
] | 2 | 2020-05-09T18:45:22.000Z | 2020-06-06T20:48:51.000Z | plotshape.py | martinchristen/pyconhk-2020 | ff4ad82809fb8ce0c1ea4ae69dc32be81728e93c | [
"MIT"
] | null | null | null | plotshape.py | martinchristen/pyconhk-2020 | ff4ad82809fb8ce0c1ea4ae69dc32be81728e93c | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import cartopy.crs as ccrs
from cartopy.feature import ShapelyFeature
from shapely.geometry import shape
def plot(s):
proj = ccrs.PlateCarree()
ax = plt.axes(projection=proj)
ax.set_extent((s.bounds[0], s.bounds[2], s.bounds[1], s.bounds[3]), crs=ccrs.PlateCarree())
sha... | 34.658537 | 95 | 0.635468 | 191 | 1,421 | 4.628272 | 0.308901 | 0.063348 | 0.081448 | 0.072398 | 0.80543 | 0.80543 | 0.80543 | 0.80543 | 0.80543 | 0.80543 | 0 | 0.019383 | 0.201267 | 1,421 | 41 | 96 | 34.658537 | 0.759471 | 0 | 0 | 0.733333 | 0 | 0 | 0.059072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d1ae488d4e262ffe388fd943071a2cab19caa4ab | 1,465 | py | Python | terrascript/gitlab/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/gitlab/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/gitlab/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/gitlab/r.py
import terrascript
class gitlab_branch_protection(terrascript.Resource):
pass
class gitlab_tag_protection(terrascript.Resource):
pass
class gitlab_group(terrascript.Resource):
pass
class gitlab_project(terrascript.Resource):
pass
class gitlab_label(terrascript.Resour... | 15.260417 | 62 | 0.789761 | 167 | 1,465 | 6.652695 | 0.185629 | 0.227723 | 0.476148 | 0.554455 | 0.875788 | 0.814581 | 0.167417 | 0 | 0 | 0 | 0 | 0 | 0.14471 | 1,465 | 95 | 63 | 15.421053 | 0.886672 | 0.0157 | 0 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.489362 | 0.021277 | 0 | 0.510638 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
ae21219f9eaee4b2eb6ba5675746666711634b4a | 9,991 | py | Python | data/get_data.py | victorUTF/loterias-datamining | 878799c89c7b9b02baa9b25a8e627f2264d7027c | [
"MIT"
] | null | null | null | data/get_data.py | victorUTF/loterias-datamining | 878799c89c7b9b02baa9b25a8e627f2264d7027c | [
"MIT"
] | null | null | null | data/get_data.py | victorUTF/loterias-datamining | 878799c89c7b9b02baa9b25a8e627f2264d7027c | [
"MIT"
] | null | null | null | import requests
import zipfile
from bs4 import BeautifulSoup
import codecs
# Getting data from Loterias Caixa and saving files
# # URL of the file containing the data we need
downloadMega = 'http://www1.caixa.gov.br/loterias/_arquivos/loterias/D_mgsasc.zip'
downloadLoto = 'http://www1.caixa.gov.br/loterias/_arquivos/... | 49.216749 | 92 | 0.504554 | 898 | 9,991 | 5.571269 | 0.216036 | 0.180092 | 0.179892 | 0.03358 | 0.80012 | 0.754347 | 0.754347 | 0.754347 | 0.739956 | 0.722766 | 0 | 0.044327 | 0.354219 | 9,991 | 202 | 93 | 49.460396 | 0.731091 | 0.09969 | 0 | 0.721854 | 0 | 0 | 0.12864 | 0.007364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013245 | false | 0 | 0.02649 | 0 | 0.059603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8897f7cff5dc5a18284333e7e9c76d0eef06e6d8 | 47 | py | Python | Orest Lab1/2.py | PetroSidliar/HelloPython | 7df40e339d5615e7b305ae8c189a5061607adc92 | [
"MIT"
] | null | null | null | Orest Lab1/2.py | PetroSidliar/HelloPython | 7df40e339d5615e7b305ae8c189a5061607adc92 | [
"MIT"
] | null | null | null | Orest Lab1/2.py | PetroSidliar/HelloPython | 7df40e339d5615e7b305ae8c189a5061607adc92 | [
"MIT"
] | null | null | null | m = 35.0 / 8.0
n = int(35/8)
print(m)
print(n)
| 9.4 | 14 | 0.531915 | 13 | 47 | 1.923077 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 0.212766 | 47 | 4 | 15 | 11.75 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
ee28bf426b84f8291fe79aa934cb696fe7bc722a | 3,302 | py | Python | home/migrations/0007_auto_20210221_2103.py | SmithJesko/volny-films | 7c50713eb1d2c2d5984700a5de20a12e4045e1b9 | [
"MIT"
] | 1 | 2021-02-23T00:12:43.000Z | 2021-02-23T00:12:43.000Z | home/migrations/0007_auto_20210221_2103.py | SmithJesko/volny-films | 7c50713eb1d2c2d5984700a5de20a12e4045e1b9 | [
"MIT"
] | null | null | null | home/migrations/0007_auto_20210221_2103.py | SmithJesko/volny-films | 7c50713eb1d2c2d5984700a5de20a12e4045e1b9 | [
"MIT"
] | 1 | 2021-02-23T06:04:13.000Z | 2021-02-23T06:04:13.000Z | # Generated by Django 2.2 on 2021-02-22 03:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('home', '0006_auto_20210214_2205'),
]
operations = [
migrations.AlterField(
model_name='movie',
name='actors',
... | 31.75 | 74 | 0.54361 | 319 | 3,302 | 5.489028 | 0.172414 | 0.097658 | 0.256996 | 0.298115 | 0.850371 | 0.850371 | 0.828669 | 0.828669 | 0.828669 | 0.828669 | 0 | 0.038251 | 0.334949 | 3,302 | 103 | 75 | 32.058252 | 0.759107 | 0.013022 | 0 | 0.742268 | 1 | 0 | 0.07553 | 0.007062 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010309 | 0 | 0.041237 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ee5d40b596189c355b7d5bc64488ac6d717c2ce5 | 282 | py | Python | wordcount/forms.py | saurabht16/wordcount | 7207f35d97c988a8320b9096eb432c03571a4c79 | [
"Apache-2.0"
] | null | null | null | wordcount/forms.py | saurabht16/wordcount | 7207f35d97c988a8320b9096eb432c03571a4c79 | [
"Apache-2.0"
] | null | null | null | wordcount/forms.py | saurabht16/wordcount | 7207f35d97c988a8320b9096eb432c03571a4c79 | [
"Apache-2.0"
] | null | null | null | from django import forms
class HomeForm(forms.Form):
your_text = forms.CharField(label='Text To Process', max_length=2000, widget = forms.Textarea)
class CountForm(forms.Form):
your_text = forms.CharField(label='Text To Process', max_length=2000, widget = forms.Textarea) | 35.25 | 98 | 0.758865 | 40 | 282 | 5.25 | 0.475 | 0.085714 | 0.12381 | 0.161905 | 0.771429 | 0.771429 | 0.771429 | 0.771429 | 0.771429 | 0.771429 | 0 | 0.03252 | 0.12766 | 282 | 8 | 99 | 35.25 | 0.821138 | 0 | 0 | 0.4 | 0 | 0 | 0.106007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
c9d6d8906084a9c393728c6e2f49a184475e24cf | 96 | py | Python | stable_baselines/poar/__init__.py | BillChan226/Robotic | a6a8052e105369656d34fffc4f7ca4475dcc38df | [
"MIT"
] | 3 | 2021-09-17T13:53:06.000Z | 2022-02-08T03:33:20.000Z | stable_baselines/poar/__init__.py | BillChan226/POAR-SRL-4-Robot | a6a8052e105369656d34fffc4f7ca4475dcc38df | [
"MIT"
] | null | null | null | stable_baselines/poar/__init__.py | BillChan226/POAR-SRL-4-Robot | a6a8052e105369656d34fffc4f7ca4475dcc38df | [
"MIT"
] | null | null | null | from stable_baselines.poar.poar import POAR
from stable_baselines.poar.poar_mmd import POAR_MMD | 32 | 51 | 0.875 | 16 | 96 | 5 | 0.375 | 0.25 | 0.475 | 0.575 | 0.675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 3 | 51 | 32 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a00c1446db76d5517821c150dd2cf33f3b5ea61f | 93 | py | Python | pymontecarlo/results/__init__.py | pymontecarlo/pymontecarlo | 87050041724feb17f1ccff5794e9830c3209244e | [
"Apache-2.0"
] | 5 | 2018-04-10T07:15:06.000Z | 2021-07-01T15:40:29.000Z | pymontecarlo/results/__init__.py | pymontecarlo/pymontecarlo | 87050041724feb17f1ccff5794e9830c3209244e | [
"Apache-2.0"
] | 73 | 2015-09-04T09:48:29.000Z | 2022-01-03T17:49:01.000Z | pymontecarlo/results/__init__.py | pymontecarlo/pymontecarlo | 87050041724feb17f1ccff5794e9830c3209244e | [
"Apache-2.0"
] | 4 | 2016-05-17T12:57:20.000Z | 2021-01-31T10:55:24.000Z | from pymontecarlo.results.photonintensity import *
from pymontecarlo.results.kratio import *
| 31 | 50 | 0.849462 | 10 | 93 | 7.9 | 0.6 | 0.405063 | 0.582278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 51 | 46.5 | 0.929412 | 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 | 1 | 0 | 0 | 7 |
4e4cf3022b65204dca56954e099aba6f5990a8d6 | 3,904 | py | Python | silo/benchmarks/results/istc11-3-14-13.py | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 274 | 2015-01-23T16:24:09.000Z | 2022-02-22T03:16:14.000Z | silo/benchmarks/results/istc11-3-14-13.py | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 3 | 2015-03-17T11:52:36.000Z | 2019-07-22T23:04:25.000Z | silo/benchmarks/results/istc11-3-14-13.py | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 94 | 2015-01-07T06:55:36.000Z | 2022-01-22T08:14:15.000Z | RESULTS = [({'scale_factor': 1000, 'threads': 1, 'txn_flags': 1, 'db': 'kvdb', 'bench': 'ycsb'}, (559456.0, 0.0)), ({'scale_factor': 1000, 'threads': 1, 'txn_flags': 1, 'db': 'ndb-proto2', 'bench': 'ycsb'}, (208605.0, 0.0)), ({'scale_factor': 4000, 'threads': 4, 'txn_flags': 1, 'db': 'kvdb', 'bench': 'ycsb'}, (1772190.... | 1,952 | 3,903 | 0.570184 | 595 | 3,904 | 3.620168 | 0.132773 | 0.050139 | 0.150418 | 0.183844 | 0.861653 | 0.848654 | 0.848654 | 0.815227 | 0.706592 | 0.31662 | 0 | 0.172622 | 0.111168 | 3,904 | 1 | 3,904 | 3,904 | 0.448127 | 0 | 0 | 0 | 0 | 0 | 0.42418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
14d4a9bc25a9241cc0fb462e2d7e038d54897c48 | 22,366 | py | Python | plotterapp.py | martinlink00/plotterapp | 247262f8e84921c593d8cce441babad02cc64171 | [
"MIT"
] | null | null | null | plotterapp.py | martinlink00/plotterapp | 247262f8e84921c593d8cce441babad02cc64171 | [
"MIT"
] | null | null | null | plotterapp.py | martinlink00/plotterapp | 247262f8e84921c593d8cce441babad02cc64171 | [
"MIT"
] | null | null | null | ###############################################################################
"""This is the main GUI app used to plot and analyse data from the database"""
###############################################################################
#Note that no camera needs to be connected to the computer, in order to use this... | 39.868093 | 124 | 0.440892 | 1,902 | 22,366 | 5.109359 | 0.123554 | 0.034575 | 0.037045 | 0.029636 | 0.855526 | 0.838341 | 0.829903 | 0.816732 | 0.816732 | 0.806339 | 0 | 0.023983 | 0.422069 | 22,366 | 560 | 125 | 39.939286 | 0.727835 | 0.034964 | 0 | 0.852097 | 0 | 0 | 0.219798 | 0 | 0.00883 | 0 | 0 | 0 | 0 | 1 | 0.006623 | false | 0 | 0.019868 | 0 | 0.033113 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
14e8acbb532c5a118d0f47e7fc4ee1186d2a3560 | 20,132 | py | Python | tasks-deploy/hexandxor/generate.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | 3 | 2021-03-30T06:27:58.000Z | 2021-04-03T17:56:35.000Z | tasks-deploy/hexandxor/generate.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | tasks-deploy/hexandxor/generate.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | TITLE = "Hex and Xor"
STATEMENT_TEMPLATE = '''
Дан код, шифрующий флаг, и результат его работы. Получите флаг.
`flag = 'some string'
key = '' # one byte key was removed for security reasons
output = ""
for character in flag:
temp = ord(character) ^ ord(key)
output += (hex(temp))[2:] + ' '
key =... | 875.304348 | 19,562 | 0.621746 | 6,669 | 20,132 | 1.876593 | 0.025941 | 0.048182 | 0.063923 | 0.095885 | 0.779305 | 0.779305 | 0.779305 | 0.779305 | 0.779305 | 0.779305 | 0 | 0.761724 | 0.344377 | 20,132 | 23 | 19,562 | 875.304348 | 0.186454 | 0 | 0 | 0 | 0 | 10.526316 | 0.949132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.105263 | 0.052632 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
090c20f68cb380e6a2a1ec40d43f1f3f1b9079b3 | 1,769 | py | Python | djh_app/migrations/0015_auto_20210509_2025.py | asvbkr/djh-box | a3b3919900a15efefb387380931affd76b0d942a | [
"Apache-2.0"
] | 1 | 2020-05-22T10:40:52.000Z | 2020-05-22T10:40:52.000Z | djh_app/migrations/0015_auto_20210509_2025.py | asvbkr/djh-box | a3b3919900a15efefb387380931affd76b0d942a | [
"Apache-2.0"
] | 5 | 2021-04-06T17:59:29.000Z | 2022-02-10T07:35:35.000Z | djh_app/migrations/0015_auto_20210509_2025.py | asvbkr/djh-box | a3b3919900a15efefb387380931affd76b0d942a | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.2.2 on 2021-05-09 17:25
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('djh_app', '0014_auto_20201221_2136'),
]
operations = [
migrations.AlterField(
model_name='ttbdjchatavailable',
name=... | 36.102041 | 111 | 0.614471 | 177 | 1,769 | 5.960452 | 0.259887 | 0.079621 | 0.165877 | 0.192417 | 0.72891 | 0.72891 | 0.72891 | 0.72891 | 0.72891 | 0.72891 | 0 | 0.023938 | 0.267948 | 1,769 | 48 | 112 | 36.854167 | 0.790734 | 0.025438 | 0 | 0.666667 | 1 | 0 | 0.0964 | 0.026713 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0959210a0d1290d1d5504f7ce2a2b580078c3805 | 36,680 | py | Python | __init__.py | rocketbot-cl/MercadoPago | 2bf71bb28626afbfe10e83c630503be4f1150396 | [
"MIT"
] | null | null | null | __init__.py | rocketbot-cl/MercadoPago | 2bf71bb28626afbfe10e83c630503be4f1150396 | [
"MIT"
] | null | null | null | __init__.py | rocketbot-cl/MercadoPago | 2bf71bb28626afbfe10e83c630503be4f1150396 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Base para desarrollo de modulos externos.
Para obtener el modulo/Funcion que se esta llamando:
GetParams("module")
Para obtener las variables enviadas desde formulario/comando Rocketbot:
var = GetParams(variable)
Las "variable" se define en forms del archivo package.json
Para modifica... | 77.547569 | 8,651 | 0.803353 | 1,613 | 36,680 | 18.231246 | 0.271544 | 0.00272 | 0.005101 | 0.006801 | 0.917979 | 0.914986 | 0.914272 | 0.910532 | 0.910327 | 0.910327 | 0 | 0.117069 | 0.128571 | 36,680 | 473 | 8,652 | 77.547569 | 0.802935 | 0.017394 | 0 | 0.376068 | 0 | 0 | 0.175161 | 0 | 0 | 1 | 0 | 0.002114 | 0 | 1 | 0 | false | 0 | 0.034188 | 0 | 0.034188 | 0.068376 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f502f8940f229ec87510fd54d1854e03d2eab714 | 16,838 | py | Python | tests/util/test_filter_fileset.py | strawpants/cate | eeef7da204b2f5c6dab1a90cb240aa5158c44513 | [
"MIT"
] | 34 | 2017-09-28T19:08:59.000Z | 2022-02-09T14:53:26.000Z | tests/util/test_filter_fileset.py | strawpants/cate | eeef7da204b2f5c6dab1a90cb240aa5158c44513 | [
"MIT"
] | 608 | 2017-09-25T20:29:52.000Z | 2022-03-28T11:02:21.000Z | tests/util/test_filter_fileset.py | strawpants/cate | eeef7da204b2f5c6dab1a90cb240aa5158c44513 | [
"MIT"
] | 14 | 2017-10-16T07:34:59.000Z | 2021-02-22T15:52:37.000Z | from unittest import TestCase
from cate.util.misc import filter_fileset
class IncludeExcludeDataSourcesTest(TestCase):
def test_none(self):
filtered_data_sources = filter_fileset(ALL_DATA_SOURCES)
self.assertIs(filtered_data_sources, ALL_DATA_SOURCES)
def test_include(self):
filtered... | 75.169643 | 114 | 0.70816 | 2,776 | 16,838 | 4.243156 | 0.064481 | 0.142372 | 0.161644 | 0.242465 | 0.943119 | 0.938365 | 0.938365 | 0.938365 | 0.937856 | 0.930045 | 0 | 0.080805 | 0.109217 | 16,838 | 223 | 115 | 75.506726 | 0.704514 | 0 | 0 | 0.186047 | 0 | 0.87907 | 0.810013 | 0.805678 | 0 | 0 | 0 | 0 | 0.018605 | 1 | 0.018605 | false | 0.004651 | 0.009302 | 0 | 0.032558 | 0.009302 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
eeb3983f96cb34453fdf117ceaf927381072f908 | 46,655 | py | Python | tests/test_blobxfer_operations_download.py | temporaer/blobxfer | 8602006192c0f8f7bb078e3d6da20396c07f302a | [
"MIT"
] | null | null | null | tests/test_blobxfer_operations_download.py | temporaer/blobxfer | 8602006192c0f8f7bb078e3d6da20396c07f302a | [
"MIT"
] | null | null | null | tests/test_blobxfer_operations_download.py | temporaer/blobxfer | 8602006192c0f8f7bb078e3d6da20396c07f302a | [
"MIT"
] | null | null | null | # coding=utf-8
"""Tests for download operations"""
# stdlib imports
import datetime
try:
import unittest.mock as mock
except ImportError: # noqa
import mock
import multiprocessing
try:
import pathlib2 as pathlib
except ImportError: # noqa
import pathlib
try:
import queue
except ImportError: # no... | 36.852291 | 78 | 0.657464 | 5,645 | 46,655 | 5.1093 | 0.052967 | 0.104119 | 0.036891 | 0.057694 | 0.874905 | 0.844636 | 0.811352 | 0.785764 | 0.75976 | 0.74388 | 0 | 0.009999 | 0.241153 | 46,655 | 1,265 | 79 | 36.881423 | 0.804655 | 0.008595 | 0 | 0.788411 | 0 | 0 | 0.04017 | 0.032426 | 0 | 0 | 0 | 0 | 0.071115 | 1 | 0.015803 | false | 0 | 0.017559 | 0 | 0.034241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e11bccc33b30658fd1c4eb343192fee1a95e51f9 | 12,429 | py | Python | Code/neighbors.py | mehran66/surface-area-computations | b933565961c743d34e50db0ec680110faaade2cf | [
"MIT"
] | 1 | 2018-07-26T15:48:48.000Z | 2018-07-26T15:48:48.000Z | Code/neighbors.py | mehran66/surface-area-computations | b933565961c743d34e50db0ec680110faaade2cf | [
"MIT"
] | null | null | null | Code/neighbors.py | mehran66/surface-area-computations | b933565961c743d34e50db0ec680110faaade2cf | [
"MIT"
] | 1 | 2020-06-28T06:14:02.000Z | 2020-06-28T06:14:02.000Z | import numpy as np
'''Zone
Each pixels is devided into 4 parts as coded in the following
--------------------
| | |
| (1) | (2) |
| | |
|________|__________|
| | |
| (4) | (3) |
| | |
|________|__________|
''... | 79.165605 | 165 | 0.594416 | 1,854 | 12,429 | 3.748652 | 0.025351 | 0.231367 | 0.124317 | 0.03223 | 0.946475 | 0.946475 | 0.930935 | 0.903309 | 0.903309 | 0.903309 | 0 | 0.087909 | 0.246762 | 12,429 | 157 | 166 | 79.165605 | 0.654454 | 0.006437 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007937 | false | 0 | 0.007937 | 0 | 0.02381 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
0127ee2566a7231f66823aaa9bb1addb31d7cbf2 | 5,534 | py | Python | tests/test_gui_weight_frame.py | rbotter/pyDEA | 2c8b4a70e8c071d580eff26a040efc22fc264045 | [
"MIT"
] | 29 | 2017-10-22T03:03:20.000Z | 2022-03-21T09:15:22.000Z | tests/test_gui_weight_frame.py | rbotter/pyDEA | 2c8b4a70e8c071d580eff26a040efc22fc264045 | [
"MIT"
] | 6 | 2018-07-18T01:40:43.000Z | 2021-04-11T00:38:30.000Z | tests/test_gui_weight_frame.py | rbotter/pyDEA | 2c8b4a70e8c071d580eff26a040efc22fc264045 | [
"MIT"
] | 20 | 2018-01-23T05:50:29.000Z | 2022-02-22T05:04:56.000Z | from tkinter import Tk, StringVar, END
import pytest
from pyDEA.core.gui_modules.weight_frame_gui import WeightFrame
from pyDEA.core.data_processing.parameters import Parameters
from tests.test_gui_data_tab_frame import ParamsFrameMock
@pytest.fixture
def weight_frame(request):
parent = Tk()
current_categor... | 45.735537 | 105 | 0.716299 | 782 | 5,534 | 4.763427 | 0.109974 | 0.221477 | 0.114094 | 0.098792 | 0.802148 | 0.791409 | 0.782819 | 0.777718 | 0.77557 | 0.77557 | 0 | 0.032313 | 0.155584 | 5,534 | 120 | 106 | 46.116667 | 0.764819 | 0.014275 | 0 | 0.54902 | 0 | 0 | 0.216434 | 0.087491 | 0 | 0 | 0 | 0 | 0.294118 | 1 | 0.068627 | false | 0 | 0.04902 | 0 | 0.127451 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
013624528be63acc13cfeb61380af43ce489f159 | 3,901 | py | Python | tests/intersim/envs/test_intersimple_rasterized.py | sisl/InteractionSimulator | a4f68349eb7fa55ed5855a94bb97d8242869149d | [
"MIT"
] | 3 | 2021-07-13T07:28:34.000Z | 2021-07-29T12:37:20.000Z | tests/intersim/envs/test_intersimple_rasterized.py | sisl/InteractionSimulator | a4f68349eb7fa55ed5855a94bb97d8242869149d | [
"MIT"
] | 6 | 2021-08-30T15:51:19.000Z | 2022-02-21T12:39:08.000Z | tests/intersim/envs/test_intersimple_rasterized.py | sisl/InteractionSimulator | a4f68349eb7fa55ed5855a94bb97d8242869149d | [
"MIT"
] | 1 | 2021-08-29T20:28:54.000Z | 2021-08-29T20:28:54.000Z | from intersim.envs import IntersimpleRasterized, NRasterized
import numpy as np
import os
def test_obs_shape_dtype():
env = IntersimpleRasterized(height=152, width=491)
obs = env.reset()
assert obs.shape == (1, 152, 491)
assert obs.dtype == np.uint8
def test_agent51_frame0():
env = IntersimpleRast... | 27.471831 | 93 | 0.668547 | 528 | 3,901 | 4.655303 | 0.149621 | 0.046379 | 0.089911 | 0.124491 | 0.845403 | 0.817738 | 0.810415 | 0.783157 | 0.773393 | 0.745728 | 0 | 0.032633 | 0.206614 | 3,901 | 141 | 94 | 27.666667 | 0.761551 | 0 | 0 | 0.756757 | 0 | 0 | 0.029736 | 0.017944 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.09009 | false | 0 | 0.027027 | 0 | 0.117117 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
01578b2a028842aa221483f53868c624260f9127 | 1,677 | py | Python | migrations/versions/e07abccfa1_.py | Encrylize/flask-blogger | c63982b7b97604c5092cb2532359401e8b9e7243 | [
"MIT"
] | 1 | 2016-01-03T19:40:42.000Z | 2016-01-03T19:40:42.000Z | migrations/versions/e07abccfa1_.py | Encrylize/yetanotherblog | c63982b7b97604c5092cb2532359401e8b9e7243 | [
"MIT"
] | 1 | 2016-01-10T16:39:04.000Z | 2016-05-04T15:00:30.000Z | migrations/versions/e07abccfa1_.py | Encrylize/yetanotherblog | c63982b7b97604c5092cb2532359401e8b9e7243 | [
"MIT"
] | null | null | null | """empty message
Revision ID: e07abccfa1
Revises: 3890f70717a
Create Date: 2015-12-27 16:08:09.859981
"""
# revision identifiers, used by Alembic.
revision = 'e07abccfa1'
down_revision = '3890f70717a'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please... | 30.490909 | 63 | 0.59034 | 188 | 1,677 | 5.154255 | 0.292553 | 0.072239 | 0.134159 | 0.216718 | 0.742002 | 0.737874 | 0.732714 | 0.732714 | 0.714138 | 0.714138 | 0 | 0.056338 | 0.280262 | 1,677 | 54 | 64 | 31.055556 | 0.746479 | 0.171735 | 0 | 0.833333 | 0 | 0 | 0.078909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.055556 | 0.055556 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
6d8bbd86bf1ad9430ecfb711882e54ea4258a43d | 15,759 | py | Python | rlkit/samplers/data_collector/path_collector.py | YashBit/generalized-hindsight | 2ba2e1ba0caa20b71d01c8ad70fbc7f47d61bd6c | [
"MIT"
] | null | null | null | rlkit/samplers/data_collector/path_collector.py | YashBit/generalized-hindsight | 2ba2e1ba0caa20b71d01c8ad70fbc7f47d61bd6c | [
"MIT"
] | null | null | null | rlkit/samplers/data_collector/path_collector.py | YashBit/generalized-hindsight | 2ba2e1ba0caa20b71d01c8ad70fbc7f47d61bd6c | [
"MIT"
] | null | null | null | import numpy as np
from collections import deque, OrderedDict
from rlkit.core import logger
from rlkit.core.eval_util import create_stats_ordered_dict
from rlkit.samplers.rollout_functions import diayn_multitask_rollout_with_relabeler, rollout, multitask_rollout, multitask_rollout_with_relabeler
from rlkit.samplers.dat... | 33.745182 | 145 | 0.585126 | 1,796 | 15,759 | 4.729399 | 0.084076 | 0.069696 | 0.047445 | 0.037674 | 0.87968 | 0.847069 | 0.834825 | 0.809866 | 0.808335 | 0.808335 | 0 | 0.003268 | 0.339869 | 15,759 | 466 | 146 | 33.817597 | 0.813227 | 0.054953 | 0 | 0.863636 | 0 | 0 | 0.048887 | 0.003766 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.020202 | 0.020202 | 0.131313 | 0.017677 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6db4f527837059f1e960a7ce74561d98be705f1c | 9,531 | py | Python | tests/test_meal.py | coosoti/Osoti-Small | ccd147768aeae234eb45bf0a78257aafc3a8a16f | [
"MIT"
] | null | null | null | tests/test_meal.py | coosoti/Osoti-Small | ccd147768aeae234eb45bf0a78257aafc3a8a16f | [
"MIT"
] | 2 | 2018-04-26T17:14:47.000Z | 2018-04-30T12:04:14.000Z | tests/test_meal.py | coosoti/Osoti-Small | ccd147768aeae234eb45bf0a78257aafc3a8a16f | [
"MIT"
] | null | null | null | import unittest
import json
from api import db
from api.models.models import Meal, User
from tests.main import MainTestCase
sample_admin = {'username': 'victorvenosa',
'email': 'osoticharles@gmail.com',
'designation': 'caterer',
'password': 'kulundeng',
'... | 39.547718 | 88 | 0.509076 | 912 | 9,531 | 5.233553 | 0.122807 | 0.085481 | 0.090509 | 0.105594 | 0.818353 | 0.807459 | 0.807459 | 0.80264 | 0.80264 | 0.80264 | 0 | 0.017415 | 0.373413 | 9,531 | 240 | 89 | 39.7125 | 0.781815 | 0.028538 | 0 | 0.768519 | 0 | 0 | 0.170986 | 0.004771 | 0 | 0 | 0 | 0 | 0.101852 | 1 | 0.032407 | false | 0.013889 | 0.023148 | 0 | 0.060185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6db668dfed48dade1d099a7a2058d1217bd2a34b | 7,503 | py | Python | rsbook_code/utilities/search.py | patricknaughton01/RoboticSystemsBook | 0fc67cbccee0832b5f9b00d848c55697fa69bedf | [
"Apache-2.0"
] | 116 | 2018-08-27T15:32:59.000Z | 2022-02-28T10:41:37.000Z | rsbook_code/utilities/search.py | patricknaughton01/RoboticSystemsBook | 0fc67cbccee0832b5f9b00d848c55697fa69bedf | [
"Apache-2.0"
] | 2 | 2021-05-04T12:56:40.000Z | 2022-02-18T23:13:33.000Z | rsbook_code/utilities/search.py | patricknaughton01/RoboticSystemsBook | 0fc67cbccee0832b5f9b00d848c55697fa69bedf | [
"Apache-2.0"
] | 29 | 2019-06-20T20:13:36.000Z | 2022-02-20T14:01:34.000Z | """
Includes Dijkstra's algorithm and two A* implementations.
"""
from __future__ import print_function,division
import heapq #for a fast priority queue implementation
def predecessor_traverse(p,s,g):
"""Used by dijkstra's algorithm to traverse a predecessor dictionary"""
L = []
v = g
while v is not... | 41 | 106 | 0.572971 | 1,147 | 7,503 | 3.734961 | 0.133391 | 0.010504 | 0.012605 | 0.033613 | 0.865313 | 0.861111 | 0.857843 | 0.84057 | 0.829365 | 0.816527 | 0 | 0.005194 | 0.3328 | 7,503 | 182 | 107 | 41.225275 | 0.850579 | 0.523257 | 0 | 0.736264 | 0 | 0 | 0.051446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043956 | false | 0 | 0.021978 | 0 | 0.142857 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6df268c4e43d3bd438749da771de993e27c85205 | 79 | py | Python | pipe_tools/generator/__init__.py | GlobalFishingWatch/pipe-tools | 34dff591997bb2c25e018df86d13a9d42972032b | [
"Apache-2.0"
] | 1 | 2018-05-26T20:10:51.000Z | 2018-05-26T20:10:51.000Z | pipe_tools/generator/__init__.py | GlobalFishingWatch/pipe-tools | 34dff591997bb2c25e018df86d13a9d42972032b | [
"Apache-2.0"
] | 37 | 2017-10-22T12:00:59.000Z | 2022-02-08T19:17:58.000Z | pipe_tools/generator/__init__.py | GlobalFishingWatch/pipe-tools | 34dff591997bb2c25e018df86d13a9d42972032b | [
"Apache-2.0"
] | null | null | null | from .generator import MessageGenerator
from .generator import GenerateMessages | 39.5 | 39 | 0.886076 | 8 | 79 | 8.75 | 0.625 | 0.371429 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 79 | 2 | 40 | 39.5 | 0.972222 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
098ae5fe0946f6509dc81a45f3d8b96c1f397cba | 127 | py | Python | bireme/thesaurus/models.py | viniciusandrade/fi-admin-fork | 5187af08d1424f275222422ed12f9e54c14caa5b | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2016-04-08T19:45:25.000Z | 2022-03-24T16:56:49.000Z | bireme/thesaurus/models.py | viniciusandrade/fi-admin-fork | 5187af08d1424f275222422ed12f9e54c14caa5b | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 1,214 | 2015-03-10T14:47:10.000Z | 2022-03-31T12:15:05.000Z | bireme/thesaurus/models.py | viniciusandrade/fi-admin-fork | 5187af08d1424f275222422ed12f9e54c14caa5b | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2015-06-01T17:58:22.000Z | 2021-09-29T12:34:19.000Z |
from thesaurus.models_thesaurus import *
from thesaurus.models_qualifiers import *
from thesaurus.models_descriptors import *
| 25.4 | 42 | 0.850394 | 15 | 127 | 7 | 0.4 | 0.371429 | 0.542857 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 127 | 4 | 43 | 31.75 | 0.921053 | 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 | 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 | 8 |
09c431aaa931457d3ad0820a7199a1a80b9785a6 | 195 | py | Python | tests/fixtures/basic.py | jparise/nosecomplete | b5105cd72923f6ef5746d6e763e4a8f422674f1f | [
"BSD-3-Clause"
] | 23 | 2015-02-07T14:56:48.000Z | 2021-09-29T18:50:38.000Z | tests/fixtures/basic.py | jparise/nosecomplete | b5105cd72923f6ef5746d6e763e4a8f422674f1f | [
"BSD-3-Clause"
] | 7 | 2015-08-09T18:11:31.000Z | 2020-08-24T21:08:28.000Z | tests/fixtures/basic.py | jparise/nosecomplete | b5105cd72923f6ef5746d6e763e4a8f422674f1f | [
"BSD-3-Clause"
] | 4 | 2015-08-08T02:19:37.000Z | 2019-10-18T14:01:59.000Z | import unittest
def test_red():
pass
class AwesomeTestCase(unittest.TestCase):
def test_yellow(self):
pass
def test_green(self):
pass
def test_blue():
pass
| 10.833333 | 41 | 0.635897 | 24 | 195 | 5 | 0.541667 | 0.233333 | 0.183333 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 195 | 17 | 42 | 11.470588 | 0.857143 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0.1 | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
61eaa3c598d3c68e625c211ed2a3e76dcddc12ce | 12,742 | py | Python | third_party/tests/YosysTests/architecture/synth_xilinx_srl/generate.py | parzival3/Surelog | cf126533ebfb2af7df321057af9e3535feb30487 | [
"Apache-2.0"
] | 156 | 2019-11-16T17:29:55.000Z | 2022-01-21T05:41:13.000Z | third_party/tests/YosysTests/architecture/synth_xilinx_srl/generate.py | parzival3/Surelog | cf126533ebfb2af7df321057af9e3535feb30487 | [
"Apache-2.0"
] | 414 | 2021-06-11T07:22:01.000Z | 2022-03-31T22:06:14.000Z | third_party/tests/YosysTests/architecture/synth_xilinx_srl/generate.py | parzival3/Surelog | cf126533ebfb2af7df321057af9e3535feb30487 | [
"Apache-2.0"
] | 30 | 2019-11-18T16:31:40.000Z | 2021-12-26T01:22:51.000Z | #!/usr/bin/python3
import re, glob
N = 131
def assert_static_area(fp, i, name):
if i < 3:
srl32,srl16,fd = (0,0,i)
else:
srl32 = i // 32
if (i % 32) == 0:
srl16 = 0
fd = 0
elif (i % 32) == 1:
srl16 = 0
fd = 1
elif (i % 32)... | 33.096104 | 382 | 0.567336 | 2,205 | 12,742 | 3.084807 | 0.057143 | 0.028815 | 0.037048 | 0.038224 | 0.909732 | 0.906057 | 0.901206 | 0.874596 | 0.862834 | 0.828286 | 0 | 0.054227 | 0.264794 | 12,742 | 384 | 383 | 33.182292 | 0.671862 | 0.048423 | 0 | 0.778761 | 0 | 0.076696 | 0.738606 | 0.129293 | 0 | 0 | 0 | 0 | 0.050147 | 1 | 0.0059 | false | 0 | 0.0059 | 0 | 0.011799 | 0.00295 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
111589e56487524f50631e9b1bc88f87aa5fd11a | 94,425 | py | Python | workflow/migrations/0001_initial.py | sannleen/TolaActivity | b47154339c3a45583063ecad43b0b16ae2f8f36e | [
"Apache-2.0"
] | null | null | null | workflow/migrations/0001_initial.py | sannleen/TolaActivity | b47154339c3a45583063ecad43b0b16ae2f8f36e | [
"Apache-2.0"
] | null | null | null | workflow/migrations/0001_initial.py | sannleen/TolaActivity | b47154339c3a45583063ecad43b0b16ae2f8f36e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-10-19 08:07
from __future__ import unicode_literals
from decimal import Decimal
from django.conf import settings
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migrati... | 67.446429 | 352 | 0.616235 | 9,744 | 94,425 | 5.816708 | 0.050903 | 0.076696 | 0.053901 | 0.070486 | 0.880289 | 0.867427 | 0.827429 | 0.79807 | 0.777603 | 0.755866 | 0 | 0.011593 | 0.237204 | 94,425 | 1,399 | 353 | 67.494639 | 0.775306 | 0.00072 | 0 | 0.690151 | 1 | 0.001438 | 0.208375 | 0.033968 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005032 | 0 | 0.007908 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
113b98f6b47fccdbba85713feadc0af1a901b14e | 19,829 | py | Python | python/app/ui/resources_rc.py | nfa-vfxim/tk-desktop-libraryimporter | 2a77755a779d79e8d6e2cb53d9b0bca97cca5851 | [
"MIT"
] | 1 | 2021-12-24T19:37:55.000Z | 2021-12-24T19:37:55.000Z | python/app/ui/resources_rc.py | nfa-vfxim/tk-desktop-libraryimporter | 2a77755a779d79e8d6e2cb53d9b0bca97cca5851 | [
"MIT"
] | null | null | null | python/app/ui/resources_rc.py | nfa-vfxim/tk-desktop-libraryimporter | 2a77755a779d79e8d6e2cb53d9b0bca97cca5851 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# by: The Resource Compiler for PySide (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from tank.platform.qt import QtCore
qt_resource_data = b"\x00\x00\x19\x90\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00M\x00\x00\x00L\x08\x06\x00\... | 944.238095 | 19,044 | 0.741591 | 4,495 | 19,829 | 3.259622 | 0.273415 | 0.01638 | 0.012285 | 0.005733 | 0.014947 | 0.014537 | 0.014537 | 0.013718 | 0.011876 | 0.011876 | 0 | 0.238624 | 0.004791 | 19,829 | 20 | 19,045 | 991.45 | 0.503851 | 0.007514 | 0 | 0 | 0 | 0.333333 | 0.980989 | 0.979718 | 0 | 0 | 0.000407 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3a00c3668f7c6f8a14b5ca71fe36deb2b55d5283 | 7,312 | py | Python | commitlog/tests.py | k1000/django-commitlog | 89c544a63898870c7d29beda4505c1da6a64029d | [
"MIT"
] | 1 | 2015-11-05T15:17:06.000Z | 2015-11-05T15:17:06.000Z | commitlog/tests.py | k1000/django-commitlog | 89c544a63898870c7d29beda4505c1da6a64029d | [
"MIT"
] | null | null | null | commitlog/tests.py | k1000/django-commitlog | 89c544a63898870c7d29beda4505c1da6a64029d | [
"MIT"
] | null | null | null | import unittest
from django.test import TestCase, Client
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
REPO_DATA = ("local", "master")
COMMIT_SHA = ("78a325da2d00c5071ddddc8b35dfb0e1241660b1",)
PATH = ("plantilla.html",)
class TestCommitViews(TestCase):
def setUp(self):
... | 41.545455 | 74 | 0.611734 | 818 | 7,312 | 5.363081 | 0.089242 | 0.072943 | 0.114885 | 0.134032 | 0.909733 | 0.901299 | 0.901299 | 0.901299 | 0.901299 | 0.901299 | 0 | 0.004526 | 0.274754 | 7,312 | 176 | 75 | 41.545455 | 0.822742 | 0.103255 | 0 | 0.737589 | 0 | 0 | 0.115616 | 0.029906 | 0 | 0 | 0 | 0 | 0.198582 | 1 | 0.12766 | false | 0.028369 | 0.028369 | 0 | 0.184397 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
28acbc5c721e6a2aa0bd764872fdc71523414008 | 2,487 | py | Python | Bugscan_exploits-master/exp_list/exp-1408.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 11 | 2020-05-30T13:53:49.000Z | 2021-03-17T03:20:59.000Z | Bugscan_exploits-master/exp_list/exp-1408.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-13T03:25:18.000Z | 2020-07-21T06:24:16.000Z | Bugscan_exploits-master/exp_list/exp-1408.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-30T13:53:51.000Z | 2020-12-01T21:44:26.000Z | #!/usr/bin/python
#-*- encoding:utf-8 -*-
#__author__ = '1c3z'
import socket
socket.setdefaulttimeout(30)
def assign(service, arg):
if service == "ip":
return True, arg
def poc(ip):
addr =(ip,6605)
s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
data = '#\x08\x01\x00\x00\x01\x01... | 75.363636 | 1,730 | 0.682348 | 519 | 2,487 | 3.240848 | 0.127168 | 1.423306 | 2.102854 | 2.768133 | 0.722354 | 0.722354 | 0.722354 | 0.722354 | 0.722354 | 0.722354 | 0 | 0.402609 | 0.106152 | 2,487 | 33 | 1,731 | 75.363636 | 0.354026 | 0.022919 | 0 | 0.076923 | 0 | 0.038462 | 0.732888 | 0.715776 | 0 | 1 | 0 | 0 | 0 | 1 | 0.115385 | false | 0.038462 | 0.076923 | 0 | 0.346154 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
e93505d76ae62dff23162d4e8f5ff36b5a0356d6 | 37,991 | py | Python | tests/quara/protocol/qtomography/standard/test_standard_qmpt.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 3 | 2021-05-19T11:44:30.000Z | 2022-03-30T07:13:49.000Z | tests/quara/protocol/qtomography/standard/test_standard_qmpt.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 2 | 2021-06-02T01:24:59.000Z | 2021-06-02T12:20:31.000Z | tests/quara/protocol/qtomography/standard/test_standard_qmpt.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 1 | 2021-10-14T13:21:27.000Z | 2021-10-14T13:21:27.000Z | import itertools
import numpy as np
import numpy.testing as npt
import pytest
from quara.objects.composite_system import CompositeSystem
from quara.objects.composite_system_typical import generate_composite_system
from quara.objects.elemental_system import ElementalSystem
from quara.objects.matrix_basis import get_no... | 27.312006 | 101 | 0.568477 | 4,230 | 37,991 | 4.771631 | 0.05461 | 0.01744 | 0.02497 | 0.031906 | 0.908987 | 0.886692 | 0.877279 | 0.872473 | 0.866528 | 0.863654 | 0 | 0.03046 | 0.338054 | 37,991 | 1,390 | 102 | 27.331655 | 0.772149 | 0.032192 | 0 | 0.775221 | 1 | 0 | 0.052136 | 0.012113 | 0 | 0 | 0 | 0 | 0.020354 | 1 | 0.015044 | false | 0 | 0.015929 | 0 | 0.032743 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3a5dbbe85400e757d6b9ffa5392c1cfc80f6d887 | 54,813 | py | Python | turdshovel/_stubs/System/Collections/Generic.py | daddycocoaman/turdshovel | 6f9d9b08734028fa819c590e8573ae49481dc769 | [
"MIT"
] | 39 | 2021-10-30T06:34:21.000Z | 2022-03-22T09:04:40.000Z | turdshovel/_stubs/System/Collections/Generic.py | daddycocoaman/turdshovel | 6f9d9b08734028fa819c590e8573ae49481dc769 | [
"MIT"
] | null | null | null | turdshovel/_stubs/System/Collections/Generic.py | daddycocoaman/turdshovel | 6f9d9b08734028fa819c590e8573ae49481dc769 | [
"MIT"
] | 3 | 2021-10-30T03:56:16.000Z | 2021-11-08T01:59:32.000Z | # encoding: utf-8
# module System.Collections.Generic calls itself Generic
# from mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b... | 34.024209 | 299 | 0.582161 | 5,981 | 54,813 | 5.026417 | 0.046146 | 0.056348 | 0.056348 | 0.072448 | 0.818115 | 0.778199 | 0.732761 | 0.664105 | 0.620896 | 0.551941 | 0 | 0.001227 | 0.271323 | 54,813 | 1,610 | 300 | 34.045342 | 0.751458 | 0.460092 | 0 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.430769 | false | 0.430769 | 0 | 0 | 0.549231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
3a8b7ad68456f13d0ff20e658c208b7772b631cb | 2,927 | py | Python | test/test_algs.py | emccarthy23/example | 3b30c22fb5ee36046ae238340380a8802afe879d | [
"Apache-2.0"
] | null | null | null | test/test_algs.py | emccarthy23/example | 3b30c22fb5ee36046ae238340380a8802afe879d | [
"Apache-2.0"
] | null | null | null | test/test_algs.py | emccarthy23/example | 3b30c22fb5ee36046ae238340380a8802afe879d | [
"Apache-2.0"
] | null | null | null | import numpy as np
from example import algs
def test_bubblesort():
#Empty vector
x = []
#check
if algs.only_integers(x) == x:
assert np.array_equal(algs.bubblesort(x), sorted(x))
else:
print(algs.only_integers(x))
#One entry
x = [1]
#check
if algs.only_integers(x) == x:
assert np.array_e... | 22.007519 | 56 | 0.635121 | 474 | 2,927 | 3.816456 | 0.094937 | 0.141515 | 0.283029 | 0.300719 | 0.961857 | 0.961857 | 0.961857 | 0.961857 | 0.961857 | 0.961857 | 0 | 0.020627 | 0.204988 | 2,927 | 132 | 57 | 22.174242 | 0.756768 | 0.118893 | 0 | 0.952381 | 0 | 0 | 0.000785 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.02381 | false | 0 | 0.02381 | 0 | 0.047619 | 0.190476 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 9 |
aaeff0b982333821b78ea9046c55b10b6d635527 | 586 | py | Python | ss5/4-6.py | DuongVu39/C4E10_Duong | 60ec59bddbb3397b5a1804930d5bdfd81107dcae | [
"MIT"
] | null | null | null | ss5/4-6.py | DuongVu39/C4E10_Duong | 60ec59bddbb3397b5a1804930d5bdfd81107dcae | [
"MIT"
] | null | null | null | ss5/4-6.py | DuongVu39/C4E10_Duong | 60ec59bddbb3397b5a1804930d5bdfd81107dcae | [
"MIT"
] | null | null | null | <<<<<<< HEAD
from turtle import *
bgcolor('lightgreen')
color('blue')
t= Turtle()
def draw_poly (t, n, sz):
t = Turtle()
for i in range (n):
t.fd(sz)
t.left(360/n)
def draw_equitriangle (t,sz):
draw_poly(t,3,sz)
draw_equitriangle (t, 50)
=======
from turtle import *
bgcolor('lightgreen... | 15.421053 | 48 | 0.600683 | 88 | 586 | 3.909091 | 0.284091 | 0.081395 | 0.104651 | 0.133721 | 0.872093 | 0.872093 | 0.872093 | 0.872093 | 0.872093 | 0.872093 | 0 | 0.085714 | 0.223549 | 586 | 37 | 49 | 15.837838 | 0.67033 | 0 | 0 | 0.888889 | 0 | 0 | 0.047782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.074074 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a34db0ed0a9d3ac5f110e112bc5a14d3e505e4fb | 158 | py | Python | attachments/ros_ws/local_planner_py/scripts/crowd_nav/policy/__init__.py | sustech-isus/AEMCARL | 241b3c94112efb2944a27e4cc3eb1d65775edc10 | [
"MIT"
] | 6 | 2021-05-18T15:21:12.000Z | 2021-12-12T08:28:46.000Z | attachments/ros_ws/local_planner_py/scripts/crowd_nav/policy/__init__.py | SJWang2015/ACTENVCARL | 241b3c94112efb2944a27e4cc3eb1d65775edc10 | [
"MIT"
] | null | null | null | attachments/ros_ws/local_planner_py/scripts/crowd_nav/policy/__init__.py | SJWang2015/ACTENVCARL | 241b3c94112efb2944a27e4cc3eb1d65775edc10 | [
"MIT"
] | 1 | 2021-11-30T13:08:45.000Z | 2021-11-30T13:08:45.000Z | import sys
sys.path.append('/home/kevinlad/icra_ws/src/local_planner_py/scripts')
sys.path.append('/home/kevinlad/icra_ws/src/local_planner_py/scripts/envs')
| 39.5 | 75 | 0.816456 | 27 | 158 | 4.555556 | 0.518519 | 0.113821 | 0.211382 | 0.276423 | 0.894309 | 0.894309 | 0.894309 | 0.894309 | 0.894309 | 0.894309 | 0 | 0 | 0.025316 | 158 | 3 | 76 | 52.666667 | 0.798701 | 0 | 0 | 0 | 0 | 0 | 0.677215 | 0.677215 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 14 |
6e66c95c28c162c16e91297410a4d4dc186f6c42 | 130 | py | Python | tests/services/blockchain_follower/handlers/test_mention.py | dpays/dsocial-notifications | 32b1cdcd58d622407fd50206053c5b9735a56ba9 | [
"MIT"
] | 10 | 2017-10-22T20:07:40.000Z | 2018-08-01T21:48:49.000Z | tests/services/blockchain_follower/handlers/test_mention.py | dpays/dsocial-notifications | 32b1cdcd58d622407fd50206053c5b9735a56ba9 | [
"MIT"
] | 81 | 2017-08-19T15:38:32.000Z | 2020-05-12T09:56:14.000Z | tests/services/blockchain_follower/handlers/test_mention.py | dpays/dsocial-notifications | 32b1cdcd58d622407fd50206053c5b9735a56ba9 | [
"MIT"
] | 9 | 2017-09-19T07:12:20.000Z | 2021-05-25T17:09:27.000Z | # -*- coding: utf-8 -*-
from yo.services.blockchain_follower.handlers import handle_mention
def test_handle_mention():
pass
| 18.571429 | 67 | 0.746154 | 17 | 130 | 5.470588 | 0.882353 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.138462 | 130 | 6 | 68 | 21.666667 | 0.821429 | 0.161538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
6e986bda12041dda95290cbde987c718a46c2ef2 | 137 | py | Python | openff/toolkit/utils/__init__.py | ijpulidos/openff-toolkit | 24953a407c853411bee9584d29fa0fb953e59151 | [
"MIT"
] | 120 | 2017-11-21T16:47:37.000Z | 2021-01-11T09:59:24.000Z | openff/toolkit/utils/__init__.py | ijpulidos/openff-toolkit | 24953a407c853411bee9584d29fa0fb953e59151 | [
"MIT"
] | 725 | 2017-11-14T22:21:48.000Z | 2021-01-11T16:51:47.000Z | openff/toolkit/utils/__init__.py | justinGilmer/openforcefield | 1bb07cfa4ceffee4a1df760e44fdbdb1d281d1c7 | [
"MIT"
] | 37 | 2017-12-02T01:14:58.000Z | 2020-11-05T00:10:18.000Z | # General utilities for force fields
from openff.toolkit.utils.utils import * # isort:skip
from openff.toolkit.utils.toolkits import *
| 27.4 | 54 | 0.788321 | 19 | 137 | 5.684211 | 0.684211 | 0.185185 | 0.314815 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131387 | 137 | 4 | 55 | 34.25 | 0.907563 | 0.328467 | 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 | 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 | 7 |
6ebaeb8471ae318a03e25e5dce70dd01b217df8a | 176 | py | Python | treebankanalytics/writers/__init__.py | Cocophotos/TreebankAnalytics | cf45e24cecb0b187a9b6ec5a55a836c7ab5ffb01 | [
"MIT"
] | 2 | 2015-10-28T21:12:36.000Z | 2016-09-08T14:00:41.000Z | treebankanalytics/writers/__init__.py | Cocophotos/TreebankAnalytics | cf45e24cecb0b187a9b6ec5a55a836c7ab5ffb01 | [
"MIT"
] | null | null | null | treebankanalytics/writers/__init__.py | Cocophotos/TreebankAnalytics | cf45e24cecb0b187a9b6ec5a55a836c7ab5ffb01 | [
"MIT"
] | null | null | null | from treebankanalytics.writers import sagae
from treebankanalytics.writers import sdp
from treebankanalytics.writers import sequoia
from treebankanalytics.writers import tikz
| 29.333333 | 45 | 0.880682 | 20 | 176 | 7.75 | 0.4 | 0.541935 | 0.722581 | 0.877419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096591 | 176 | 5 | 46 | 35.2 | 0.974843 | 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 | 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 | 8 |
6e3e8ddc7b1a9547109aec62d494145d2ed336e3 | 49,939 | py | Python | btk20_src/lib/cepstralFrontend.py | musiclvme/distant_speech_recognition | 60f867383488ac45c2fa3a5433736fdf00dd4f1d | [
"MIT"
] | 136 | 2018-12-06T06:35:44.000Z | 2022-03-27T15:07:42.000Z | btk20_src/lib/cepstralFrontend.py | musiclvme/distant_speech_recognition | 60f867383488ac45c2fa3a5433736fdf00dd4f1d | [
"MIT"
] | 25 | 2018-12-03T04:33:24.000Z | 2021-07-28T22:01:37.000Z | btk20_src/lib/cepstralFrontend.py | musiclvme/distant_speech_recognition | 60f867383488ac45c2fa3a5433736fdf00dd4f1d | [
"MIT"
] | 68 | 2019-01-08T06:33:30.000Z | 2021-11-17T09:33:10.000Z | #
# Beamforming Toolkit
# (btk)
#
# Module: btk.cepstralFrontend
# Purpose: Cepstral feature extraction.
# Author: Dominik Raub and Matthias Woelfel
from numpy import *
from MLab import *
from FFT import *
from LinearAlgebra import *
from btk.sound import ... | 206.359504 | 869 | 0.597229 | 18,147 | 49,939 | 1.63454 | 0.064308 | 0.973097 | 1.453678 | 1.930416 | 0.685254 | 0.671533 | 0.669914 | 0.66506 | 0.660677 | 0.660677 | 0 | 0.533475 | 0.03244 | 49,939 | 241 | 870 | 207.215768 | 0.080403 | 0.402571 | 0 | 0.43609 | 0 | 0 | 0.000675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.120301 | false | 0 | 0.06015 | 0 | 0.225564 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9544ce53f69bfc734157aef711adb10ed37aee37 | 104,219 | py | Python | Uncertainty/data/case-de/case_de_94.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | Uncertainty/data/case-de/case_de_94.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | Uncertainty/data/case-de/case_de_94.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | from numpy import array
def case_de_94():
ppc = {"version": '2'}
ppc["baseMVA"] = 100.0
ppc["bus"] = array([
[75, 2, 106.89, 21.38, 0, 0, 5, 1.0, 0, 380.0, 0, 1.1, 0.9, 0.6, 10 ],
[502, 2, 236.46, 47.29, 0, 0, 5, 1.0, 0, 220.0,... | 126.020556 | 192 | 0.294265 | 20,128 | 104,219 | 1.523549 | 0.043372 | 0.449618 | 0.511152 | 0.570534 | 0.654242 | 0.615926 | 0.614426 | 0.604057 | 0.600111 | 0.600111 | 0 | 0.577112 | 0.492319 | 104,219 | 827 | 193 | 126.020556 | 0.002476 | 0 | 0 | 0.326481 | 0 | 0 | 0.000326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001209 | false | 0 | 0.001209 | 0 | 0.003628 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
954eaddc391f9dd7e3a586bd506c172d1b3be129 | 1,500 | py | Python | ietf/person/migrations/0014_auto_20160613_0751.py | ekr/ietfdb | 8d936836b0b9ff31cda415b0a423e3f5b33ab695 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-11-20T03:40:40.000Z | 2021-11-20T03:40:42.000Z | ietf/person/migrations/0014_auto_20160613_0751.py | ekr/ietfdb | 8d936836b0b9ff31cda415b0a423e3f5b33ab695 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ietf/person/migrations/0014_auto_20160613_0751.py | ekr/ietfdb | 8d936836b0b9ff31cda415b0a423e3f5b33ab695 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import ietf.utils.storage
class Migration(migrations.Migration):
dependencies = [
('person', '0013_add_plain_name_aliases'),
]
operations = [
migrations.AlterField(
model... | 37.5 | 162 | 0.656 | 144 | 1,500 | 6.673611 | 0.291667 | 0.046826 | 0.083247 | 0.120708 | 0.811655 | 0.811655 | 0.811655 | 0.768991 | 0.768991 | 0.768991 | 0 | 0.004344 | 0.232667 | 1,500 | 39 | 163 | 38.461538 | 0.830582 | 0.014 | 0 | 0.727273 | 0 | 0 | 0.083277 | 0.01828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
95e45429dffe87500e3a89c1d565879d89da52f5 | 4,905 | py | Python | LaylaCoin/main.py | Bhaney44/AlgorandDevelopment | 309e68337227af879f5c4e92c72156928a39fe32 | [
"MIT"
] | null | null | null | LaylaCoin/main.py | Bhaney44/AlgorandDevelopment | 309e68337227af879f5c4e92c72156928a39fe32 | [
"MIT"
] | 1 | 2021-04-24T19:24:05.000Z | 2021-04-28T05:32:40.000Z | LaylaCoin/main.py | Bhaney44/AlgorandDevelopment | 309e68337227af879f5c4e92c72156928a39fe32 | [
"MIT"
] | 1 | 2022-01-17T18:00:56.000Z | 2022-01-17T18:00:56.000Z | #Imports
from config import *
from algosdk.v2client import algod
from algosdk import account, mnemonic
from algosdk.future.transaction import write_to_file
from algosdk.future.transaction import AssetConfigTxn, AssetTransferTxn
from util import sign_and_send, balance_formatter
from algosdk.future.transaction import Ass... | 41.923077 | 122 | 0.730479 | 634 | 4,905 | 5.498423 | 0.143533 | 0.066265 | 0.022088 | 0.046472 | 0.849684 | 0.812679 | 0.812679 | 0.800057 | 0.800057 | 0.776248 | 0 | 0.003632 | 0.158002 | 4,905 | 117 | 123 | 41.923077 | 0.840436 | 0.270133 | 0 | 0.815789 | 0 | 0 | 0.119269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092105 | false | 0.197368 | 0.105263 | 0 | 0.223684 | 0.144737 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
25105c62df30d4774bfe05457d440c425ff6c41b | 35,727 | py | Python | data collection and processing/r.landslide/ANN_module.py | Landslide-Analytics-System/GLAS | 1a51a7365dcd6a29ded6798d29f3a1f90b93a0c3 | [
"MIT"
] | 1 | 2020-11-15T04:18:18.000Z | 2020-11-15T04:18:18.000Z | data collection and processing/r.landslide/ANN_module.py | ShreyJ1729/Landslide-Prediction | 1a51a7365dcd6a29ded6798d29f3a1f90b93a0c3 | [
"MIT"
] | 1 | 2021-03-24T17:40:23.000Z | 2021-05-29T20:36:24.000Z | data collection and processing/r.landslide/ANN_module.py | ShreyJ1729/Landslide-Prediction | 1a51a7365dcd6a29ded6798d29f3a1f90b93a0c3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Oct 19 16:52:59 2018
@author: Lucimara Bragagnolo
"""
def ann_module(input_data,output_data,reckon,num_hidden,coef,nr_epochs,val_samples,test_samples,directory,columnst,col,row,flag_train):
import numpy as np
import math
import matplotlib
matplotlib.use(... | 38.960742 | 301 | 0.552943 | 5,293 | 35,727 | 3.5768 | 0.054223 | 0.014473 | 0.034228 | 0.027308 | 0.945595 | 0.935823 | 0.932126 | 0.932126 | 0.924202 | 0.924202 | 0 | 0.029028 | 0.300921 | 35,727 | 917 | 302 | 38.960742 | 0.72898 | 0.062586 | 0 | 0.918803 | 0 | 0 | 0.042877 | 0.00518 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029915 | false | 0 | 0.019943 | 0 | 0.079772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
253de405efcb01d7243cf9555559bb499b3c827e | 96 | py | Python | examples/lp_train/models/__init__.py | drcut/QPyTorch | 63c293178e8ce9e6e5b218dee96536e9c4ad1e5c | [
"MIT"
] | 172 | 2019-04-25T20:24:12.000Z | 2022-03-31T06:19:08.000Z | examples/lp_train/models/__init__.py | drcut/QPyTorch | 63c293178e8ce9e6e5b218dee96536e9c4ad1e5c | [
"MIT"
] | 36 | 2019-05-09T19:27:03.000Z | 2022-01-27T10:53:37.000Z | examples/lp_train/models/__init__.py | drcut/QPyTorch | 63c293178e8ce9e6e5b218dee96536e9c4ad1e5c | [
"MIT"
] | 43 | 2019-05-04T15:14:09.000Z | 2022-02-21T17:45:30.000Z | from .vgg import *
from .vgg_low import *
from .preresnet import *
from .preresnet_low import *
| 19.2 | 28 | 0.75 | 14 | 96 | 5 | 0.357143 | 0.428571 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 4 | 29 | 24 | 0.875 | 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 | 1 | 0 | 0 | 7 |
c28a0565bad8bd6342df91e52a98f34a942dd157 | 112 | py | Python | plugins/dig/komand_dig/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/dig/komand_dig/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/dig/komand_dig/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 .forward.action import Forward
from .reverse.action import Reverse
| 28 | 39 | 0.794643 | 17 | 112 | 5.235294 | 0.705882 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 112 | 3 | 40 | 37.333333 | 0.936842 | 0.330357 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c2de7cc36d2e154a38f73e15950c0b4dd818fe57 | 15,770 | py | Python | testcases/generated/iam_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 95 | 2018-06-05T10:49:32.000Z | 2019-12-31T11:07:36.000Z | testcases/generated/iam_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 22 | 2018-06-05T10:58:59.000Z | 2020-07-31T12:13:19.000Z | testcases/generated/iam_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 21 | 2018-06-04T12:50:27.000Z | 2020-11-05T10:55:28.000Z | # coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 33.768737 | 134 | 0.588586 | 1,958 | 15,770 | 4.659857 | 0.069459 | 0.037593 | 0.069816 | 0.091298 | 0.88733 | 0.860587 | 0.856313 | 0.798992 | 0.729943 | 0.678211 | 0 | 0.001553 | 0.265124 | 15,770 | 466 | 135 | 33.841202 | 0.785745 | 0.040203 | 0 | 0.706052 | 0 | 0.066282 | 0.242162 | 0.050403 | 0 | 0 | 0 | 0 | 0.14121 | 1 | 0.14121 | false | 0 | 0.008646 | 0 | 0.152738 | 0.14121 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6c0374d20069132d5113634e39b456f50e696163 | 6,418 | py | Python | adform/base.py | dutkiewicz/adform-api | 5b670ea971c261565d1fe4cf7c18b2e109f8449d | [
"MIT"
] | null | null | null | adform/base.py | dutkiewicz/adform-api | 5b670ea971c261565d1fe4cf7c18b2e109f8449d | [
"MIT"
] | 6 | 2019-11-29T04:53:15.000Z | 2020-06-29T04:41:24.000Z | adform/base.py | dutkiewicz/adform-api | 5b670ea971c261565d1fe4cf7c18b2e109f8449d | [
"MIT"
] | null | null | null | from urllib.parse import urljoin
import requests
from adform import exceptions
class Base:
"""Base class for requesting API with ticket. Containst common http methods like GET, POST, PUT, DELETE."""
base_url = "https://api.adform.com"
_ticket = None
body = None
_headers = {'Authorization': 'Bear... | 54.389831 | 111 | 0.523683 | 568 | 6,418 | 5.75 | 0.121479 | 0.171464 | 0.220453 | 0.107777 | 0.894366 | 0.894366 | 0.894366 | 0.894366 | 0.894366 | 0.894366 | 0 | 0.018059 | 0.378778 | 6,418 | 117 | 112 | 54.854701 | 0.801104 | 0.015737 | 0 | 0.834951 | 0 | 0 | 0.11377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048544 | false | 0 | 0.029126 | 0 | 0.165049 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 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 | 8 |
6c07371788661f836f0d619a6dafba1dadcef5ae | 3,613 | py | Python | maddpg/models/mlp_net.py | zixianma/PIC | bbfe8985121e3ffb693c047ed3fe85d0c8256737 | [
"MIT"
] | 28 | 2019-10-31T00:38:10.000Z | 2022-03-21T12:33:03.000Z | maddpg/models/mlp_net.py | zixianma/PIC | bbfe8985121e3ffb693c047ed3fe85d0c8256737 | [
"MIT"
] | 10 | 2019-11-27T12:37:25.000Z | 2021-06-07T11:52:34.000Z | maddpg/models/mlp_net.py | baicenxiao/AREL | 2168508138fde62150bc5e8b47b1aa3bcef09785 | [
"MIT"
] | 13 | 2019-10-31T00:38:17.000Z | 2022-03-06T04:24:09.000Z | """Implements a simple two layer mlp network."""
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
class MlpNet(nn.Module):
"""Implements a simple fully connected mlp network."""
def __init__(self, sa_dim, n_agents, hidden_size,
agent_id=0, agent_shuffle='none'... | 31.417391 | 93 | 0.605868 | 550 | 3,613 | 3.774545 | 0.167273 | 0.092486 | 0.077071 | 0.043353 | 0.879094 | 0.879094 | 0.875723 | 0.872832 | 0.813102 | 0.813102 | 0 | 0.019331 | 0.255466 | 3,613 | 114 | 94 | 31.692982 | 0.752416 | 0.063382 | 0 | 0.806452 | 0 | 0 | 0.029718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043011 | false | 0.021505 | 0.043011 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6c2dbbee5656abf8acf0130cb3149b545bfc5a8b | 47,719 | py | Python | app/tests/test_orion.py | RoboticBase/uoa-poc2-controller | 5fdd7951d26d62ea72b25460936b26a9631b7e0a | [
"Apache-2.0"
] | null | null | null | app/tests/test_orion.py | RoboticBase/uoa-poc2-controller | 5fdd7951d26d62ea72b25460936b26a9631b7e0a | [
"Apache-2.0"
] | null | null | null | app/tests/test_orion.py | RoboticBase/uoa-poc2-controller | 5fdd7951d26d62ea72b25460936b26a9631b7e0a | [
"Apache-2.0"
] | null | null | null | import os
import json
import datetime as dt
import importlib
from unittest.mock import call
import requests
import dateutil.parser
from werkzeug.exceptions import InternalServerError, NotFound, BadRequest
import pytest
import freezegun
import lazy_import
orion = lazy_import.lazy_module('src.orion')
const = lazy_impor... | 35.932982 | 126 | 0.555628 | 5,102 | 47,719 | 5.001372 | 0.049784 | 0.071874 | 0.076028 | 0.038249 | 0.905788 | 0.887212 | 0.848963 | 0.832857 | 0.82106 | 0.807501 | 0 | 0.040903 | 0.309374 | 47,719 | 1,327 | 127 | 35.96006 | 0.733372 | 0 | 0 | 0.729778 | 0 | 0 | 0.162744 | 0.035688 | 0 | 0 | 0 | 0 | 0.117333 | 1 | 0.032889 | false | 0.003556 | 0.036444 | 0.000889 | 0.084444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
66631ae72a6911933d3fb035eb246232c161b9db | 92,518 | py | Python | dlkit/abstract_osid/mapping/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/abstract_osid/mapping/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/abstract_osid/mapping/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """Implementations of mapping abstract base class managers."""
# pylint: disable=invalid-name
# Method names comply with OSID specification.
# pylint: disable=no-init
# Abstract classes do not define __init__.
# pylint: disable=too-few-public-methods
# Some interfaces are specified as 'markers' and include ... | 40.225217 | 141 | 0.650846 | 9,471 | 92,518 | 6.208637 | 0.027452 | 0.033298 | 0.042856 | 0.034285 | 0.958114 | 0.942315 | 0.916618 | 0.870753 | 0.827778 | 0.799769 | 0 | 0 | 0.225383 | 92,518 | 2,299 | 142 | 40.242714 | 0.820501 | 0.71705 | 0 | 0.610048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.301435 | false | 0 | 0.002392 | 0 | 0.698565 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
dd04656fde2921ea52fb6414a18b7b307a09b818 | 174 | py | Python | bolinette/core/models/__init__.py | bolinette/bolinette | b35a7d828c7d9617da6a8d7ac066e3b675a65252 | [
"MIT"
] | 4 | 2020-11-02T15:16:32.000Z | 2022-01-11T11:19:24.000Z | bolinette/core/models/__init__.py | bolinette/bolinette | b35a7d828c7d9617da6a8d7ac066e3b675a65252 | [
"MIT"
] | 14 | 2021-01-04T11:06:59.000Z | 2022-03-23T17:01:49.000Z | bolinette/core/models/__init__.py | bolinette/bolinette | b35a7d828c7d9617da6a8d7ac066e3b675a65252 | [
"MIT"
] | null | null | null | from bolinette.core.models.model import Model, ModelMetadata, ModelProperty
from bolinette.core.models.attributes import Column, ColumnList, Backref, Reference, Relationship
| 58 | 97 | 0.850575 | 20 | 174 | 7.4 | 0.7 | 0.175676 | 0.22973 | 0.310811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 174 | 2 | 98 | 87 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
dd3463f88dabb317552923808d12d192d8e62b95 | 27,798 | py | Python | scripts/achived/standard_regression_within_experiment_n_trials_back.py | nmningmei/metacognition | 734082e247cc7fc9d277563e2676e10692617a3f | [
"MIT"
] | 3 | 2019-07-09T15:37:46.000Z | 2019-07-17T16:28:02.000Z | scripts/achived/standard_regression_within_experiment_n_trials_back.py | nmningmei/metacognition | 734082e247cc7fc9d277563e2676e10692617a3f | [
"MIT"
] | null | null | null | scripts/achived/standard_regression_within_experiment_n_trials_back.py | nmningmei/metacognition | 734082e247cc7fc9d277563e2676e10692617a3f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Jul 15 16:02:16 2018
@author: ning
"""
import os
working_dir = ''
import pandas as pd
pd.options.mode.chained_assignment = None
import statsmodels.formula.api as sm
import numpy as np
from sklearn.preprocessing import StandardScaler
result_dir = '../results/'
# Exp 1
exper... | 44.053883 | 149 | 0.491618 | 2,960 | 27,798 | 4.465878 | 0.0625 | 0.043574 | 0.021787 | 0.043574 | 0.982752 | 0.982752 | 0.982752 | 0.982752 | 0.979272 | 0.979272 | 0 | 0.010897 | 0.352975 | 27,798 | 630 | 150 | 44.12381 | 0.724063 | 0.118066 | 0 | 0.912381 | 0 | 0 | 0.118195 | 0.031279 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009524 | 0 | 0.009524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
dd4f74091274e569564ed87d0a4f752b4585a3e3 | 155 | py | Python | utils_mongodb/__init__.py | BrunoASNascimento/api_aluraflix | 6eaa26f5316732e14a65ce2cd422a1c81331f10e | [
"MIT"
] | null | null | null | utils_mongodb/__init__.py | BrunoASNascimento/api_aluraflix | 6eaa26f5316732e14a65ce2cd422a1c81331f10e | [
"MIT"
] | null | null | null | utils_mongodb/__init__.py | BrunoASNascimento/api_aluraflix | 6eaa26f5316732e14a65ce2cd422a1c81331f10e | [
"MIT"
] | null | null | null | from .mongo_connection import *
from .read_documents import *
from .create_document import *
from .delete_document import *
from .update_document import *
| 25.833333 | 31 | 0.806452 | 20 | 155 | 6 | 0.5 | 0.333333 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 155 | 5 | 32 | 31 | 0.888889 | 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 | 1 | 0 | 0 | 7 |
dd7ffad4c90394e9827410f5c63c8e561c194680 | 192 | py | Python | venvctrl/cli/__init__.py | flowersjg/venvctrl | 36d4e0e4d5ebced6385a6ade1198f4769ff2df41 | [
"MIT"
] | 4 | 2015-04-20T15:13:34.000Z | 2020-11-24T04:57:47.000Z | venvctrl/cli/__init__.py | flowersjg/venvctrl | 36d4e0e4d5ebced6385a6ade1198f4769ff2df41 | [
"MIT"
] | 9 | 2017-10-25T01:56:12.000Z | 2021-12-30T03:49:54.000Z | venvctrl/cli/__init__.py | flowersjg/venvctrl | 36d4e0e4d5ebced6385a6ade1198f4769ff2df41 | [
"MIT"
] | 6 | 2015-12-14T20:09:39.000Z | 2019-04-30T22:20:48.000Z | """Command line scripts and utilities."""
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
| 27.428571 | 41 | 0.848958 | 24 | 192 | 6 | 0.583333 | 0.277778 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 192 | 6 | 42 | 32 | 0.847059 | 0.182292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
dd8ca5f848259aec6ccd307848b60e668896c616 | 29,595 | py | Python | mdot_rest/test/resource.py | uw-it-aca/mdot-rest | 3f5aa88ae2ac9693f283b8843ac8998b10dc7bb8 | [
"Apache-2.0"
] | null | null | null | mdot_rest/test/resource.py | uw-it-aca/mdot-rest | 3f5aa88ae2ac9693f283b8843ac8998b10dc7bb8 | [
"Apache-2.0"
] | 67 | 2015-07-23T23:22:14.000Z | 2022-02-04T21:39:43.000Z | mdot_rest/test/resource.py | uw-it-aca/mdot-rest | 3f5aa88ae2ac9693f283b8843ac8998b10dc7bb8 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0
from django.test import TestCase, Client
from django.contrib.auth.models import User
from rest_framework import status
import mdot_rest.models as resource_models
import json
import datetime
from mock import patch
class ResourceTes... | 49.65604 | 79 | 0.405474 | 2,624 | 29,595 | 4.410061 | 0.070122 | 0.029381 | 0.020567 | 0.035258 | 0.821466 | 0.810577 | 0.781974 | 0.758987 | 0.741272 | 0.719927 | 0 | 0.047787 | 0.492313 | 29,595 | 595 | 80 | 49.739496 | 0.722396 | 0.038993 | 0 | 0.768293 | 0 | 0 | 0.203656 | 0.047522 | 0 | 0 | 0 | 0 | 0.050813 | 1 | 0.036585 | false | 0 | 0.014228 | 0 | 0.052846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
dd9e5d10f335affa0cf1458640b84e6fe3781971 | 130 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/calculators/calc_synth.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/calculators/calc_synth.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/calculators/calc_synth.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.jumbo.calculators.calc_synth import CALC_Synth_jumbo
class CALC_Synth_nixi(CALC_Synth_jumbo):
pass | 21.666667 | 77 | 0.846154 | 19 | 130 | 5.421053 | 0.578947 | 0.349515 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 6 | 78 | 21.666667 | 0.880342 | 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 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
9ffd3dfe517c2c2940f0a62f5cc5898d630c80cf | 334 | py | Python | spotify_api/error.py | Saphyel/spotify-api | e1e73e7aa6e5946aa832d3c89fbae80b5de23ffe | [
"MIT"
] | 1 | 2019-11-03T18:15:16.000Z | 2019-11-03T18:15:16.000Z | spotify_api/error.py | Saphyel/spotify-api | e1e73e7aa6e5946aa832d3c89fbae80b5de23ffe | [
"MIT"
] | null | null | null | spotify_api/error.py | Saphyel/spotify-api | e1e73e7aa6e5946aa832d3c89fbae80b5de23ffe | [
"MIT"
] | null | null | null | __strict__ = True
class SpotifyOauthError(Exception):
pass
class SpotifyRepositoryError(Exception):
def __init__(self, http_status: int, body: str):
self.http_status = http_status
self.body = body
def __str__(self):
return 'http status: {0}, code:{1}'.format(str(self.http_status... | 22.266667 | 84 | 0.679641 | 41 | 334 | 5.146341 | 0.487805 | 0.236967 | 0.199052 | 0.161137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007547 | 0.206587 | 334 | 14 | 85 | 23.857143 | 0.788679 | 0 | 0 | 0 | 0 | 0 | 0.077844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
b00c92d899753288e3ccbc11682fc78e480342cd | 146 | py | Python | src/fritz_dect_mail_extract/constants.py | CarliJoy/fritz-dect-mail-extract | e3636ae9c15aa9740cd49cb7cd0aec42aad0d1f0 | [
"MIT"
] | null | null | null | src/fritz_dect_mail_extract/constants.py | CarliJoy/fritz-dect-mail-extract | e3636ae9c15aa9740cd49cb7cd0aec42aad0d1f0 | [
"MIT"
] | null | null | null | src/fritz_dect_mail_extract/constants.py | CarliJoy/fritz-dect-mail-extract | e3636ae9c15aa9740cd49cb7cd0aec42aad0d1f0 | [
"MIT"
] | null | null | null | ENV_NAMES = {
"PASSWORD": "DECT_MAIL_EXTRACT_PASSWORD",
"USERNAME": "DECT_MAIL_EXTRACT_USER",
"SERVER": "DECT_MAIL_EXTRACT_SERVER",
}
| 24.333333 | 45 | 0.705479 | 17 | 146 | 5.470588 | 0.529412 | 0.258065 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 146 | 5 | 46 | 29.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.643836 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
b057bd219b8aacca0f9e1a4c355cdab53ae64190 | 100 | py | Python | pytorch_agents/a2c/__init__.py | AiForAlpha/pytorch_agents | 0151b16f0a8cf7131cede83c369cbc728435b3c2 | [
"MIT"
] | null | null | null | pytorch_agents/a2c/__init__.py | AiForAlpha/pytorch_agents | 0151b16f0a8cf7131cede83c369cbc728435b3c2 | [
"MIT"
] | null | null | null | pytorch_agents/a2c/__init__.py | AiForAlpha/pytorch_agents | 0151b16f0a8cf7131cede83c369cbc728435b3c2 | [
"MIT"
] | null | null | null | from pytorch_agents.a2c.a2c import A2C
from pytorch_agents.a2c.policies import CnnPolicy, MlpPolicy
| 33.333333 | 60 | 0.86 | 15 | 100 | 5.6 | 0.533333 | 0.261905 | 0.404762 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.09 | 100 | 2 | 61 | 50 | 0.879121 | 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 | 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 | 8 |
c6b2bc07a4bf94297331b03585a0e4447ceb2c0a | 3,137 | py | Python | custom_augmentation.py | rongtuech/handbodypose | 6e06164acee8d24096e062c69553acdd8756c0f6 | [
"Apache-2.0"
] | 5 | 2021-05-06T06:50:40.000Z | 2021-09-01T10:10:06.000Z | custom_augmentation.py | rongtuech/handbodypose | 6e06164acee8d24096e062c69553acdd8756c0f6 | [
"Apache-2.0"
] | 2 | 2021-05-06T01:43:39.000Z | 2021-05-11T07:33:13.000Z | custom_augmentation.py | rongtuech/handbodypose | 6e06164acee8d24096e062c69553acdd8756c0f6 | [
"Apache-2.0"
] | null | null | null | import cv2
from albumentations import Compose, PadIfNeeded, ShiftScaleRotate, ImageCompression, KeypointParams, \
LongestMaxSize
from albumentations.imgaug.transforms import IAAAffine
class COCOTransformation:
def __init__(self, width, height):
self.aug = Compose([
ShiftScaleRotate(p=0.5, ... | 48.261538 | 103 | 0.660822 | 355 | 3,137 | 5.585915 | 0.194366 | 0.027231 | 0.039334 | 0.057489 | 0.851236 | 0.837115 | 0.837115 | 0.837115 | 0.837115 | 0.778114 | 0 | 0.016109 | 0.228244 | 3,137 | 65 | 104 | 48.261538 | 0.802974 | 0 | 0 | 0.703704 | 0 | 0 | 0.039197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148148 | false | 0 | 0.055556 | 0 | 0.351852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
05a44b36f0db8eecb847582e47d0934d006b14c0 | 192 | py | Python | finitewave/cpuwave3D/model/__init__.py | ArsOkenov/Finitewave | 14274d74be824a395b47a5c53ba18188798ab70d | [
"MIT"
] | null | null | null | finitewave/cpuwave3D/model/__init__.py | ArsOkenov/Finitewave | 14274d74be824a395b47a5c53ba18188798ab70d | [
"MIT"
] | null | null | null | finitewave/cpuwave3D/model/__init__.py | ArsOkenov/Finitewave | 14274d74be824a395b47a5c53ba18188798ab70d | [
"MIT"
] | null | null | null | from finitewave.cpuwave3D.model.aliev_panfilov_3d import AlievPanfilov3D
from finitewave.cpuwave3D.model.luo_rudy91_3d import LuoRudy913D
from finitewave.cpuwave3D.model.tp06_3d import TP063D
| 48 | 72 | 0.890625 | 26 | 192 | 6.384615 | 0.538462 | 0.253012 | 0.415663 | 0.506024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094444 | 0.0625 | 192 | 3 | 73 | 64 | 0.827778 | 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 | 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 | 8 |
af30b2dba65301ca560614579a27a497d45b5850 | 97 | py | Python | gym_pcgrl/envs/__init__.py | JiangZehua/gym-pcgrl | 80ddbde173803e81060578c2c4167d8d1f5cacba | [
"MIT"
] | null | null | null | gym_pcgrl/envs/__init__.py | JiangZehua/gym-pcgrl | 80ddbde173803e81060578c2c4167d8d1f5cacba | [
"MIT"
] | null | null | null | gym_pcgrl/envs/__init__.py | JiangZehua/gym-pcgrl | 80ddbde173803e81060578c2c4167d8d1f5cacba | [
"MIT"
] | null | null | null | from gym_pcgrl.envs.pcgrl_env import PcgrlEnv
from gym_pcgrl.envs.pcgrl_env_3D import PcgrlEnv3D
| 32.333333 | 50 | 0.876289 | 17 | 97 | 4.705882 | 0.529412 | 0.175 | 0.3 | 0.4 | 0.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.082474 | 97 | 2 | 51 | 48.5 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bbed305f22e0a61671e306336c80610cb5e83bd8 | 153 | py | Python | apcommand/readme.py | russellnakamura/apcommand | 84a8ac522967477e10e51d3583f83c3b7de1ac2b | [
"MIT"
] | null | null | null | apcommand/readme.py | russellnakamura/apcommand | 84a8ac522967477e10e51d3583f83c3b7de1ac2b | [
"MIT"
] | null | null | null | apcommand/readme.py | russellnakamura/apcommand | 84a8ac522967477e10e51d3583f83c3b7de1ac2b | [
"MIT"
] | null | null | null |
# python standard library
import subprocess
print(subprocess.check_output('atheros -h'.split()))
print(subprocess.check_output('broadcom -h'.split())) | 21.857143 | 53 | 0.771242 | 19 | 153 | 6.105263 | 0.631579 | 0.258621 | 0.344828 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 153 | 7 | 53 | 21.857143 | 0.822695 | 0.150327 | 0 | 0 | 0 | 0 | 0.164063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 8 |
a5647d63b8c8146d30515389485be29abd7942ab | 62 | py | Python | src/pkg_trainmote/userHelper.py | FelixNievelstein/Trainmote-Server | 120b8b5a2db4c08789e57788233c38d659628330 | [
"MIT"
] | null | null | null | src/pkg_trainmote/userHelper.py | FelixNievelstein/Trainmote-Server | 120b8b5a2db4c08789e57788233c38d659628330 | [
"MIT"
] | null | null | null | src/pkg_trainmote/userHelper.py | FelixNievelstein/Trainmote-Server | 120b8b5a2db4c08789e57788233c38d659628330 | [
"MIT"
] | null | null | null | import os
def is_root() -> bool:
return os.geteuid() == 0 | 15.5 | 28 | 0.612903 | 10 | 62 | 3.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.225806 | 62 | 4 | 28 | 15.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
a56b8cd7dc853e2d6d9c08fb275977656a6c16fb | 523 | py | Python | prototype_template/template_module/__init__.py | IceKhan13/quantum-prototype-template | 87f6ca0cf27de368a1755aa3975ea8f82b691021 | [
"Apache-2.0"
] | 2 | 2022-03-01T20:30:20.000Z | 2022-03-01T21:19:22.000Z | prototype_template/template_module/__init__.py | IceKhan13/quantum-prototype-template | 87f6ca0cf27de368a1755aa3975ea8f82b691021 | [
"Apache-2.0"
] | 9 | 2022-03-09T21:26:42.000Z | 2022-03-30T21:10:19.000Z | prototype_template/template_module/__init__.py | IceKhan13/quantum-prototype-template | 87f6ca0cf27de368a1755aa3975ea8f82b691021 | [
"Apache-2.0"
] | 2 | 2022-03-28T17:47:26.000Z | 2022-03-28T19:59:12.000Z | """
===========================================================
Template module (:mod:`prototype_template.template_module`)
===========================================================
.. currentmodule:: prototype_template.template_module
This module contains an :class:`TemplateClass`
which is the main class for this ... | 24.904762 | 59 | 0.537285 | 41 | 523 | 6.731707 | 0.585366 | 0.202899 | 0.181159 | 0.224638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101338 | 523 | 20 | 60 | 26.15 | 0.587234 | 0.900574 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a5771d1e49880786440c4bdf0be8e2b5a99a773d | 51 | py | Python | run.py | cjalmeida/conda_pyspark | 878c64d82c4aef61dd649a74981b0b701c21a93c | [
"MIT"
] | null | null | null | run.py | cjalmeida/conda_pyspark | 878c64d82c4aef61dd649a74981b0b701c21a93c | [
"MIT"
] | null | null | null | run.py | cjalmeida/conda_pyspark | 878c64d82c4aef61dd649a74981b0b701c21a93c | [
"MIT"
] | null | null | null | import my_module.do_it
my_module.do_it.run_test()
| 12.75 | 26 | 0.823529 | 11 | 51 | 3.363636 | 0.636364 | 0.432432 | 0.540541 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 3 | 27 | 17 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3c04bb815f11910bea5f75b0aa6c9b03e97d0e5b | 16,492 | py | Python | tests/st/ops/gpu/test_scatter_update_op.py | GuoSuiming/mindspore | 48afc4cfa53d970c0b20eedfb46e039db2a133d5 | [
"Apache-2.0"
] | 55 | 2020-12-17T10:26:06.000Z | 2022-03-28T07:18:26.000Z | tests/st/ops/gpu/test_scatter_update_op.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | null | null | null | tests/st/ops/gpu/test_scatter_update_op.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | 14 | 2021-01-29T02:39:47.000Z | 2022-03-23T05:00:26.000Z | # Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 45.811111 | 85 | 0.556997 | 2,071 | 16,492 | 4.292129 | 0.124095 | 0.055799 | 0.038025 | 0.03825 | 0.844077 | 0.82259 | 0.801777 | 0.78929 | 0.764878 | 0.751491 | 0 | 0.103629 | 0.269767 | 16,492 | 359 | 86 | 45.938719 | 0.634476 | 0.040565 | 0 | 0.712934 | 0 | 0 | 0.003479 | 0 | 0 | 0 | 0 | 0 | 0.053628 | 1 | 0.078864 | false | 0 | 0.022082 | 0 | 0.129338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3c286f7f4ec6f05d2f74ff49ccaea1f093a5a543 | 205 | py | Python | splparser/rules/common/regexrules.py | lowell80/splparser | 2b33d74d59565cc53ae47452126621300dba9ed8 | [
"BSD-3-Clause"
] | 31 | 2015-12-02T15:41:06.000Z | 2022-03-16T22:27:23.000Z | splparser/rules/common/regexrules.py | lowell80/splparser | 2b33d74d59565cc53ae47452126621300dba9ed8 | [
"BSD-3-Clause"
] | 1 | 2021-06-24T11:23:00.000Z | 2021-06-24T11:23:00.000Z | splparser/rules/common/regexrules.py | lowell80/splparser | 2b33d74d59565cc53ae47452126621300dba9ed8 | [
"BSD-3-Clause"
] | 15 | 2015-12-10T16:48:20.000Z | 2022-02-26T18:12:44.000Z |
from splparser.parsetree import *
def p_regex_regular_expression(p):
"""regex : REGULAR_EXPRESSION"""
p[0] = ParseTreeNode('VALUE', nodetype='REGULAR_EXPRESSION', raw=p[1], is_argument=True)
| 18.636364 | 92 | 0.717073 | 26 | 205 | 5.423077 | 0.692308 | 0.361702 | 0.184397 | 0.326241 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.141463 | 205 | 10 | 93 | 20.5 | 0.789773 | 0.126829 | 0 | 0 | 0 | 0 | 0.136905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3c56cc774eb1adce349790bdf8a99891256f01fe | 740 | py | Python | prob79.py | vf42/projecteuler | a99c0f7afe458e12e63a13aa96f456208292e7db | [
"MIT"
] | null | null | null | prob79.py | vf42/projecteuler | a99c0f7afe458e12e63a13aa96f456208292e7db | [
"MIT"
] | null | null | null | prob79.py | vf42/projecteuler | a99c0f7afe458e12e63a13aa96f456208292e7db | [
"MIT"
] | null | null | null | '''
Created on Oct 2, 2012
@author: vadim
Todo: need to learn string algorithms.
'''
f = open('data/keylog.txt')
mx = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, ... | 20.555556 | 39 | 0.410811 | 159 | 740 | 1.861635 | 0.232704 | 0.668919 | 0.993243 | 1.310811 | 0.337838 | 0.337838 | 0.337838 | 0.337838 | 0.337838 | 0.337838 | 0 | 0.226721 | 0.332432 | 740 | 35 | 40 | 21.142857 | 0.37247 | 0.105405 | 0 | 0.347826 | 0 | 0 | 0.035168 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0 | false | 0.043478 | 0 | 0 | 0 | 0.043478 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3c6659efcdbfdc734ad0ad60d5c7389995044df7 | 755 | py | Python | ast_matcher/categories/narrowing.py | PrVrSs/ast-matcher | cf36cd83b1e0acc051df510178b1787c53dfea57 | [
"MIT"
] | null | null | null | ast_matcher/categories/narrowing.py | PrVrSs/ast-matcher | cf36cd83b1e0acc051df510178b1787c53dfea57 | [
"MIT"
] | null | null | null | ast_matcher/categories/narrowing.py | PrVrSs/ast-matcher | cf36cd83b1e0acc051df510178b1787c53dfea57 | [
"MIT"
] | null | null | null | from typing import final
from .base import BaseNarrowing
__all__ = (
'HasName',
)
@final
class HasName(BaseNarrowing):
def _check(self, node) -> bool:
raise NotImplementedError
@final
class AllOf(BaseNarrowing):
def _check(self, node) -> bool:
raise NotImplementedError
@final
class ... | 16.413043 | 37 | 0.692715 | 76 | 755 | 6.75 | 0.276316 | 0.116959 | 0.245614 | 0.292398 | 0.764133 | 0.764133 | 0.764133 | 0.764133 | 0.653021 | 0.653021 | 0 | 0 | 0.218543 | 755 | 45 | 38 | 16.777778 | 0.869492 | 0 | 0 | 0.62069 | 0 | 0 | 0.009272 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.068966 | 0 | 0.482759 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3c67d2ebc20a912e6fccf5a10eeedbb14e5a6c3e | 13,057 | py | Python | addons/purchase/tests/test_purchase_invoice.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/purchase/tests/test_purchase_invoice.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/purchase/tests/test_purchase_invoice.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
from odoo.tests import tagged
from odoo.tests.common import Form
@tagged('post_install', '-at_install')
class TestPurchaseToInvoice(AccountTestInvo... | 43.235099 | 102 | 0.620433 | 1,553 | 13,057 | 4.943335 | 0.11848 | 0.101602 | 0.054448 | 0.063045 | 0.805132 | 0.76879 | 0.739482 | 0.720724 | 0.720724 | 0.718119 | 0 | 0.015014 | 0.265451 | 13,057 | 301 | 103 | 43.378738 | 0.785424 | 0.048327 | 0 | 0.708812 | 0 | 0 | 0.143019 | 0.001702 | 0 | 0 | 0 | 0 | 0.149425 | 1 | 0.02682 | false | 0 | 0.011494 | 0 | 0.042146 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3c9ebf2c66fb9fd27d68de77fa1d54d3cccb41c7 | 48,164 | py | Python | tests/test_df_keycollision.py | Pcosmin/Optimus | ef3306d1b752bbfb1959ddb9103786acb8e9b9ba | [
"Apache-2.0"
] | 1 | 2020-09-22T13:04:37.000Z | 2020-09-22T13:04:37.000Z | tests/test_df_keycollision.py | rafaelang/Optimus | 809088f41588c968b2e30210f98a494a497b07ff | [
"Apache-2.0"
] | null | null | null | tests/test_df_keycollision.py | rafaelang/Optimus | 809088f41588c968b2e30210f98a494a497b07ff | [
"Apache-2.0"
] | null | null | null | from pyspark.sql.types import *
from optimus import Optimus
from optimus.helpers.json import json_enconding
from optimus.helpers.functions import deep_sort
import unittest
from pyspark.ml.linalg import Vectors, VectorUDT, DenseVector
import numpy as np
nan = np.nan
from optimus.engines.spark.ml import keycollision as k... | 1,301.72973 | 15,772 | 0.655386 | 6,093 | 48,164 | 5.153455 | 0.043821 | 0.626752 | 0.859873 | 1.054777 | 0.987516 | 0.98465 | 0.981465 | 0.981465 | 0.981465 | 0.981465 | 0 | 0.064748 | 0.113363 | 48,164 | 36 | 15,773 | 1,337.888889 | 0.670546 | 0 | 0 | 0.342857 | 0 | 0 | 0.302134 | 0.01416 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.114286 | false | 0 | 0.228571 | 0 | 0.4 | 0.228571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
5909800a70aacc90ac8870e927d6a571fa65eef8 | 88 | py | Python | scylla/proxy/__init__.py | peng4217/scylla | aa5133d7c6d565c95651fc75b26ad605da0982cd | [
"Apache-2.0"
] | 3,556 | 2018-04-28T22:59:40.000Z | 2022-03-28T22:20:07.000Z | scylla/proxy/__init__.py | peng4217/scylla | aa5133d7c6d565c95651fc75b26ad605da0982cd | [
"Apache-2.0"
] | 120 | 2018-05-20T11:49:00.000Z | 2022-03-07T00:08:55.000Z | scylla/proxy/__init__.py | peng4217/scylla | aa5133d7c6d565c95651fc75b26ad605da0982cd | [
"Apache-2.0"
] | 518 | 2018-05-27T01:42:25.000Z | 2022-03-25T12:38:32.000Z | from .server import start_forward_proxy_server_non_blocking, start_forward_proxy_server
| 44 | 87 | 0.920455 | 13 | 88 | 5.615385 | 0.615385 | 0.328767 | 0.465753 | 0.630137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 88 | 1 | 88 | 88 | 0.879518 | 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 | 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 | 8 |
59269e3f3af184609ce95d0b83e631749af0d841 | 5,771 | py | Python | modelos/test_edna.py | Chrpob/heroku-telegram-bot | 7a30c4dcc4928b5aa16dfdce2df6251e0ea33ec4 | [
"MIT"
] | null | null | null | modelos/test_edna.py | Chrpob/heroku-telegram-bot | 7a30c4dcc4928b5aa16dfdce2df6251e0ea33ec4 | [
"MIT"
] | null | null | null | modelos/test_edna.py | Chrpob/heroku-telegram-bot | 7a30c4dcc4928b5aa16dfdce2df6251e0ea33ec4 | [
"MIT"
] | null | null | null | import unittest
from modelos.edna import Edna, DESEMPENO_NARRATIVO, COMPRENSION_DISCURSO_NARRATIVO
class TestEdna(unittest.TestCase):
def test_edad_4(self):
# dn: 2, 4, 9, 12, 14
# cdn: 12, 19, 26, 30, 34
dn_deficit_y_cdn_deficit = Edna('4', '1', '7')
dn_deficit_y_cdn_normal_bajo = ... | 64.842697 | 129 | 0.712875 | 747 | 5,771 | 5.085676 | 0.099063 | 0.047381 | 0.105291 | 0.169518 | 0.91682 | 0.902869 | 0.884707 | 0.845222 | 0.840484 | 0.836009 | 0 | 0.040033 | 0.168948 | 5,771 | 89 | 130 | 64.842697 | 0.752085 | 0.062381 | 0 | 0.25 | 0 | 0 | 0.133753 | 0 | 0 | 0 | 0 | 0 | 0.5625 | 1 | 0.078125 | false | 0 | 0.03125 | 0 | 0.125 | 0.015625 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
596c137c11681dcf130695e0f5c98ccdf75b3a37 | 35 | py | Python | csr_utils/__init__.py | narges-rzv/csr_utils | 9a643b4a7ab2ccc889664ea63e9bff764f8cbc8b | [
"MIT"
] | null | null | null | csr_utils/__init__.py | narges-rzv/csr_utils | 9a643b4a7ab2ccc889664ea63e9bff764f8cbc8b | [
"MIT"
] | null | null | null | csr_utils/__init__.py | narges-rzv/csr_utils | 9a643b4a7ab2ccc889664ea63e9bff764f8cbc8b | [
"MIT"
] | null | null | null | from csr_utils.csr_utils import *
| 11.666667 | 33 | 0.8 | 6 | 35 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 0.866667 | 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 | 1 | 0 | 0 | 7 |
59d68873e93594462507c55ad4c70362eab1092b | 174,272 | py | Python | py/client/pydeephaven/proto/console_pb2.py | mattrunyon/deephaven-core | 80e3567e4647ab76a81e483d0a8ab542f9aadace | [
"MIT"
] | null | null | null | py/client/pydeephaven/proto/console_pb2.py | mattrunyon/deephaven-core | 80e3567e4647ab76a81e483d0a8ab542f9aadace | [
"MIT"
] | null | null | null | py/client/pydeephaven/proto/console_pb2.py | mattrunyon/deephaven-core | 80e3567e4647ab76a81e483d0a8ab542f9aadace | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: deephaven/proto/console.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
fro... | 52.318223 | 17,288 | 0.781095 | 20,865 | 174,272 | 6.205655 | 0.037815 | 0.039357 | 0.071756 | 0.071825 | 0.806999 | 0.774036 | 0.755825 | 0.730771 | 0.715619 | 0.663279 | 0 | 0.032301 | 0.104653 | 174,272 | 3,330 | 17,289 | 52.333934 | 0.797525 | 0.027704 | 0 | 0.694948 | 1 | 0.000318 | 0.269501 | 0.231464 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002224 | 0 | 0.002224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e631090fc061055346a98d6caaa9cfb39ae3daab | 3,802 | py | Python | y/interfaces/multicall2.py | cartercarlson/ypricemagic | f17fec155db7fb44ee624cd6e75193f17c6238cf | [
"MIT"
] | 1 | 2022-03-28T16:07:07.000Z | 2022-03-28T16:07:07.000Z | y/interfaces/multicall2.py | cartercarlson/ypricemagic | f17fec155db7fb44ee624cd6e75193f17c6238cf | [
"MIT"
] | null | null | null | y/interfaces/multicall2.py | cartercarlson/ypricemagic | f17fec155db7fb44ee624cd6e75193f17c6238cf | [
"MIT"
] | null | null | null | MULTICALL2_ABI = [{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"callData","type":"bytes"}],"internalType":"struct Multicall2.Call[]","name":"calls","type":"tuple[]"}],"name":"aggregate","outputs":[{"internalType":"uint256","name":"blockNumber","typ... | 3,802 | 3,802 | 0.676223 | 353 | 3,802 | 7.280453 | 0.133144 | 0.056031 | 0.077043 | 0.093385 | 0.819066 | 0.804669 | 0.758755 | 0.724125 | 0.618288 | 0.618288 | 0 | 0.020564 | 0.002367 | 3,802 | 1 | 3,802 | 3,802 | 0.657 | 0 | 0 | 0 | 0 | 0 | 0.68446 | 0.02498 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e64174d86d0e165d2ecfc94880443351e64d6cc9 | 4,056 | py | Python | tests/changes/artifacts/test_collection_artifact.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | tests/changes/artifacts/test_collection_artifact.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | tests/changes/artifacts/test_collection_artifact.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | from cStringIO import StringIO
import mock
from changes.artifacts.base import ArtifactParseError
from changes.artifacts.collection_artifact import CollectionArtifactHandler
from changes.config import db
from changes.constants import Result
from changes.models.failurereason import FailureReason
from changes.models.job... | 43.612903 | 90 | 0.70217 | 466 | 4,056 | 5.879828 | 0.165236 | 0.087591 | 0.052555 | 0.065693 | 0.819708 | 0.819708 | 0.819708 | 0.819708 | 0.819708 | 0.819708 | 0 | 0.000308 | 0.198718 | 4,056 | 92 | 91 | 44.086957 | 0.842769 | 0.032298 | 0 | 0.753247 | 0 | 0 | 0.048724 | 0.022449 | 0 | 0 | 0 | 0 | 0.116883 | 1 | 0.051948 | false | 0 | 0.116883 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e66898beb5f372de5e29153a9615aebcd35886d2 | 19,859 | py | Python | models/csqa_dataset.py | kachiO/KagNet | f2b34eb644cad8f2d2fc03072f9449d0ff6454d1 | [
"MIT"
] | 244 | 2019-09-06T07:53:57.000Z | 2022-03-28T19:32:15.000Z | models/csqa_dataset.py | kachiO/KagNet | f2b34eb644cad8f2d2fc03072f9449d0ff6454d1 | [
"MIT"
] | null | null | null | models/csqa_dataset.py | kachiO/KagNet | f2b34eb644cad8f2d2fc03072f9449d0ff6454d1 | [
"MIT"
] | 61 | 2019-09-14T07:06:57.000Z | 2022-03-16T07:02:52.000Z | import torch
import torch.utils.data as data
import numpy as np
import json
from tqdm import tqdm
import timeit
import pickle
import os
import dgl
import networkx as nx
import random
def load_embeddings(path):
print("Loading glove concept embeddings with pooling:", path)
concept_vec = np.load(path)
print("... | 40.363821 | 161 | 0.574047 | 2,635 | 19,859 | 4.102087 | 0.088805 | 0.025164 | 0.036174 | 0.022019 | 0.9283 | 0.911648 | 0.905264 | 0.902674 | 0.902674 | 0.89555 | 0 | 0.006592 | 0.3049 | 19,859 | 491 | 162 | 40.446029 | 0.776442 | 0.12342 | 0 | 0.822289 | 0 | 0 | 0.04852 | 0 | 0 | 0 | 0 | 0 | 0.03012 | 1 | 0.042169 | false | 0 | 0.039157 | 0.018072 | 0.120482 | 0.084337 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
053c437a379aab6b1215b9c8966bbf5c5d98df06 | 38 | py | Python | src/lib/ntpath.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/ntpath.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/ntpath.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("ntpath")
| 19 | 37 | 0.763158 | 6 | 38 | 4 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 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 | 1 | 0 | 0 | 7 |
055f601ec28e5f836d53b13f1a5ee3eb33c041a6 | 3,826 | py | Python | py3/classes/sysflow/grammar/sfqlListener.py | sthagen/sysflow-telemetry-sf-apis | d95c98b34e8896dc1774fbe283ef7db6b8a61bce | [
"Apache-2.0"
] | 12 | 2019-11-07T15:03:41.000Z | 2021-01-19T18:50:19.000Z | py3/classes/sysflow/grammar/sfqlListener.py | sthagen/sysflow-telemetry-sf-apis | d95c98b34e8896dc1774fbe283ef7db6b8a61bce | [
"Apache-2.0"
] | 3 | 2020-01-22T17:49:59.000Z | 2022-02-07T22:24:34.000Z | py3/classes/sysflow/grammar/sfqlListener.py | sthagen/sysflow-telemetry-sf-apis | d95c98b34e8896dc1774fbe283ef7db6b8a61bce | [
"Apache-2.0"
] | 7 | 2020-01-11T14:27:28.000Z | 2021-06-16T14:04:58.000Z | # Generated from sfql.g4 by ANTLR 4.9.2
from antlr4 import *
if __name__ is not None and "." in __name__:
from .sfqlParser import sfqlParser
else:
from sfqlParser import sfqlParser
# This class defines a complete listener for a parse tree produced by sfqlParser.
class sfqlListener(ParseTreeListener):
# En... | 29.658915 | 81 | 0.719289 | 479 | 3,826 | 5.640919 | 0.177453 | 0.059956 | 0.099926 | 0.179867 | 0.835307 | 0.713916 | 0.702813 | 0.523316 | 0.336788 | 0 | 0 | 0.001666 | 0.215369 | 3,826 | 129 | 82 | 29.658915 | 0.898401 | 0.378463 | 0 | 0.440678 | 1 | 0 | 0.00043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.440678 | false | 0.440678 | 0.050847 | 0 | 0.508475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
552e34a2c2861e6de3c0891410aaea72e7dc1476 | 152 | py | Python | src/templates/template-vision-segmentation/models.py | rwiteshbera/code-generator | 2cbc24b3908bc0b84088c4c272b8f5cb848410fd | [
"BSD-3-Clause"
] | 28 | 2021-04-20T13:33:12.000Z | 2022-01-01T11:53:52.000Z | src/templates/template-vision-segmentation/models.py | rwiteshbera/code-generator | 2cbc24b3908bc0b84088c4c272b8f5cb848410fd | [
"BSD-3-Clause"
] | 112 | 2021-04-22T02:07:43.000Z | 2022-03-28T01:28:05.000Z | src/templates/template-vision-segmentation/models.py | rwiteshbera/code-generator | 2cbc24b3908bc0b84088c4c272b8f5cb848410fd | [
"BSD-3-Clause"
] | 21 | 2021-04-21T07:48:29.000Z | 2022-02-04T19:40:54.000Z | from torchvision.models.segmentation import deeplabv3_resnet50
def setup_model(config):
return deeplabv3_resnet50(num_classes=config.num_classes)
| 25.333333 | 62 | 0.848684 | 19 | 152 | 6.526316 | 0.736842 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.092105 | 152 | 5 | 63 | 30.4 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 7 |
55a3a441607dc69ce06a1f224900284a4733f8be | 6,189 | py | Python | indicators/harmonics.py | zqngetsu96/PyForex | 09783c7c9bc4bf0cfefea1ebca8c0328a58b176c | [
"MIT"
] | null | null | null | indicators/harmonics.py | zqngetsu96/PyForex | 09783c7c9bc4bf0cfefea1ebca8c0328a58b176c | [
"MIT"
] | null | null | null | indicators/harmonics.py | zqngetsu96/PyForex | 09783c7c9bc4bf0cfefea1ebca8c0328a58b176c | [
"MIT"
] | 1 | 2021-10-08T10:41:52.000Z | 2021-10-08T10:41:52.000Z | import pandas as pd
import numpy as np
from scipy.signal import argrelextrema
def peak_detect(price):
# Find our relative extrema
# Return the max indexes of the extrema
max_idx = list(argrelextrema(price, np.greater, order=3)[0])
# Return the min indexes of the extrema
min_idx = list(argrelextrema... | 40.986755 | 127 | 0.561965 | 1,041 | 6,189 | 3.198847 | 0.073967 | 0.156156 | 0.086486 | 0.062462 | 0.880781 | 0.864565 | 0.864565 | 0.864565 | 0.864565 | 0.864565 | 0 | 0.073599 | 0.282113 | 6,189 | 151 | 128 | 40.986755 | 0.675895 | 0.297463 | 0 | 0.762887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051546 | false | 0 | 0.030928 | 0 | 0.298969 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.