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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bb5ca265e909af62be31eaa73e21e3e22675d67e | 67 | py | Python | main.py | mate-app/mate_fhkiel_validateuserdata | 34ee7b0fdc6ceffe1710dafaa6b842f0476c9e4f | [
"MIT"
] | null | null | null | main.py | mate-app/mate_fhkiel_validateuserdata | 34ee7b0fdc6ceffe1710dafaa6b842f0476c9e4f | [
"MIT"
] | 2 | 2021-03-20T05:26:57.000Z | 2021-04-20T21:16:51.000Z | main.py | mate-app/mate_fhkiel_validateuserdata | 34ee7b0fdc6ceffe1710dafaa6b842f0476c9e4f | [
"MIT"
] | null | null | null | from validateuserdata.validate_user_data import validate_user_data
| 33.5 | 66 | 0.925373 | 9 | 67 | 6.444444 | 0.666667 | 0.413793 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 67 | 1 | 67 | 67 | 0.920635 | 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 |
248da15930439a3981705ab529ebc7ff2f4bd9e0 | 4,945 | py | Python | survae/tests/nn/layers/autoregressive/masked_conv_2d.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 262 | 2020-07-05T20:57:44.000Z | 2022-03-28T02:24:43.000Z | survae/tests/nn/layers/autoregressive/masked_conv_2d.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 17 | 2020-08-15T05:43:34.000Z | 2022-01-31T12:24:21.000Z | survae/tests/nn/layers/autoregressive/masked_conv_2d.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 35 | 2020-08-24T06:55:37.000Z | 2022-02-11T05:17:58.000Z | import torch
import torchtestcase
import unittest
import copy
from survae.tests.nn import ModuleTest
from survae.nn.layers.autoregressive import SpatialMaskedConv2d, MaskedConv2d
class SpatialMaskedConv2dTest(ModuleTest):
def test_layer_is_well_behaved(self):
batch_size = 10
shape = (2,8,8)
... | 36.62963 | 86 | 0.59454 | 756 | 4,945 | 3.740741 | 0.10582 | 0.031825 | 0.016973 | 0.056577 | 0.908062 | 0.883663 | 0.871641 | 0.863154 | 0.855021 | 0.833805 | 0 | 0.066142 | 0.229525 | 4,945 | 134 | 87 | 36.902985 | 0.676115 | 0.144591 | 0 | 0.813953 | 0 | 0 | 0.0038 | 0 | 0 | 0 | 0 | 0 | 0.325581 | 1 | 0.069767 | false | 0 | 0.069767 | 0 | 0.162791 | 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 |
2493e8f1a19b98f8a229c6b4b6ab6f4a3961bf3a | 169 | py | Python | models/responses/__init__.py | Untesler/fra641-backend | f7fbb10273d6259fd59c0d8e99b6557af91d405b | [
"MIT"
] | null | null | null | models/responses/__init__.py | Untesler/fra641-backend | f7fbb10273d6259fd59c0d8e99b6557af91d405b | [
"MIT"
] | null | null | null | models/responses/__init__.py | Untesler/fra641-backend | f7fbb10273d6259fd59c0d8e99b6557af91d405b | [
"MIT"
] | null | null | null | from models.responses.status2xx import *
from models.responses.status4xx import *
from models.responses.status5xx import *
from models.responses.http_exception import *
| 33.8 | 45 | 0.83432 | 21 | 169 | 6.666667 | 0.428571 | 0.285714 | 0.542857 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.094675 | 169 | 4 | 46 | 42.25 | 0.895425 | 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 |
24da54d40d7120fdd310f0dfd8b9195c24741c93 | 1,354 | py | Python | back_end/DbModel/models.py | Wizard-J/Jsite | ddfe8deae0a9f3490b50ed4829d2563cfb6b3c1d | [
"MIT"
] | null | null | null | back_end/DbModel/models.py | Wizard-J/Jsite | ddfe8deae0a9f3490b50ed4829d2563cfb6b3c1d | [
"MIT"
] | null | null | null | back_end/DbModel/models.py | Wizard-J/Jsite | ddfe8deae0a9f3490b50ed4829d2563cfb6b3c1d | [
"MIT"
] | null | null | null | from django.db import models
# 文章类
class Article(models.Model):
title = models.CharField(max_length=1000,default="未命名") # 文章名称
author = models.CharField(max_length=50,default="未署名") # 文章作者
content = models.TextField(default="") # 文章内容
tags = models.ForeignKey("Tag", to_field="id", on_delete=models.CAS... | 34.717949 | 93 | 0.695716 | 177 | 1,354 | 5.135593 | 0.350282 | 0.148515 | 0.178218 | 0.237624 | 0.741474 | 0.741474 | 0.741474 | 0.741474 | 0.741474 | 0.741474 | 0 | 0.018834 | 0.176514 | 1,354 | 38 | 94 | 35.631579 | 0.796413 | 0.077548 | 0 | 0.62963 | 0 | 0 | 0.045528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.037037 | 0.111111 | 0.962963 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
70119206354c54246133cc1794728bada229725f | 4,036 | py | Python | src/abaqus/DisplayOptions/GraphicsInfo.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/DisplayOptions/GraphicsInfo.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/DisplayOptions/GraphicsInfo.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null |
class GraphicsInfo:
"""The GraphicsInfo object stores information about the graphics adapter installed in your
system. The GraphicsInfo object has no constructor or methods; Abaqus creates the
*GraphicsInfo* member when a session is started.
If you execute Abaqus/CAE on a remote system and display t... | 47.482353 | 95 | 0.7111 | 560 | 4,036 | 5.125 | 0.2 | 0.041812 | 0.092683 | 0.050174 | 0.776655 | 0.776655 | 0.770035 | 0.770035 | 0.757143 | 0.757143 | 0 | 0.000657 | 0.246036 | 4,036 | 84 | 96 | 48.047619 | 0.942491 | 0.869177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
7014d5dcf0f54c8ce75d5e7899ae7fd0cb983b24 | 1,198 | py | Python | boto3_type_annotations/boto3_type_annotations/machinelearning/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/machinelearning/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/machinelearning/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from botocore.paginate import Paginator
class DescribeBatchPredictions(Paginator):
def paginate(self, FilterVariable: str = None, EQ: str = None, GT: str = None, LT: str = None, GE: str = None, LE: str = None, NE: str = None, Prefix: str = None, SortOrder: str = None, PaginationConfig: Dic... | 52.086957 | 229 | 0.661937 | 161 | 1,198 | 4.925466 | 0.167702 | 0.317781 | 0.100883 | 0.121059 | 0.825977 | 0.825977 | 0.825977 | 0.825977 | 0.825977 | 0.825977 | 0 | 0 | 0.210351 | 1,198 | 22 | 230 | 54.454545 | 0.838266 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.142857 | 0 | 0.714286 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
7067de972ce333115b8dca26709e502a9fa28a15 | 328 | py | Python | pysequitur/__init__.py | markomanninen/revelationnodes | 6e603bba67f61c145db35a750491b6153c5a40b0 | [
"MIT"
] | 1 | 2017-09-22T03:05:01.000Z | 2017-09-22T03:05:01.000Z | pysequitur/__init__.py | markomanninen/revelationnodes | 6e603bba67f61c145db35a750491b6153c5a40b0 | [
"MIT"
] | null | null | null | pysequitur/__init__.py | markomanninen/revelationnodes | 6e603bba67f61c145db35a750491b6153c5a40b0 | [
"MIT"
] | null | null | null | #!/usr/local/bin/python
# -*- coding: utf-8 -*-
# file: __init__.py
try:
from .main import Sequencer, Sequencer2, Sequencer3, RuleIndex, print_grammar
except:
from main import Sequencer, Sequencer2, Sequencer3, RuleIndex, print_grammar
"""
exporting:
- Sequencer
- Sequencer2
- Sequencer3
- RuleIndex
- print_gram... | 18.222222 | 81 | 0.731707 | 37 | 328 | 6.297297 | 0.594595 | 0.244635 | 0.373391 | 0.48927 | 0.763949 | 0.763949 | 0.549356 | 0.549356 | 0.549356 | 0 | 0 | 0.024911 | 0.143293 | 328 | 17 | 82 | 19.294118 | 0.80427 | 0.189024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
5616cfde857fc4527ca8f19d0fc4eadf2cfe04dd | 195 | py | Python | tensornetwork/contractors/__init__.py | 0xflotus/TensorNetwork | 6b3f8fbd3a9067058b20edd805923f276829ca17 | [
"Apache-2.0"
] | 2 | 2019-07-25T12:53:06.000Z | 2019-08-18T16:26:18.000Z | tensornetwork/contractors/__init__.py | 0xflotus/TensorNetwork | 6b3f8fbd3a9067058b20edd805923f276829ca17 | [
"Apache-2.0"
] | null | null | null | tensornetwork/contractors/__init__.py | 0xflotus/TensorNetwork | 6b3f8fbd3a9067058b20edd805923f276829ca17 | [
"Apache-2.0"
] | null | null | null | from tensornetwork.contractors.bucket_contractor import bucket
from tensornetwork.contractors.naive_contractor import naive
from tensornetwork.contractors.stochastic_contractor import stochastic
| 48.75 | 70 | 0.907692 | 21 | 195 | 8.285714 | 0.380952 | 0.293103 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 195 | 3 | 71 | 65 | 0.95082 | 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 |
56244c28fab42dc691d6f70644f4925dbfe5c899 | 72,965 | py | Python | api/generated/python/azure-iiot-opc-registry/azure_opc_registry_client.py | benjguin/Industrial-IoT | 1bc68a62383f0849bbb18f373c9566d8d30c1d68 | [
"MIT"
] | 2 | 2021-08-06T19:40:53.000Z | 2021-08-07T05:21:24.000Z | api/generated/python/azure-iiot-opc-registry/azure_opc_registry_client.py | benjguin/Industrial-IoT | 1bc68a62383f0849bbb18f373c9566d8d30c1d68 | [
"MIT"
] | null | null | null | api/generated/python/azure-iiot-opc-registry/azure_opc_registry_client.py | benjguin/Industrial-IoT | 1bc68a62383f0849bbb18f373c9566d8d30c1d68 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator 2.3.33.0
# ... | 41.933908 | 288 | 0.675941 | 7,614 | 72,965 | 6.302075 | 0.048201 | 0.031427 | 0.024175 | 0.019173 | 0.847157 | 0.833549 | 0.823379 | 0.812854 | 0.803351 | 0.794515 | 0 | 0.00374 | 0.245076 | 72,965 | 1,739 | 289 | 41.958022 | 0.867382 | 0.377674 | 0 | 0.752841 | 0 | 0 | 0.110035 | 0.041432 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044034 | false | 0 | 0.008523 | 0 | 0.120739 | 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 |
56a629d3b404c08bfa08f4c17c73296c34f40be3 | 187 | py | Python | tests/test_imports.py | bastih/pycobertura | 9e2f80d1f6bd8023f12dfb5541a421a31ebf8453 | [
"MIT"
] | 54 | 2018-01-12T08:29:29.000Z | 2022-02-07T22:03:57.000Z | tests/test_imports.py | bastih/pycobertura | 9e2f80d1f6bd8023f12dfb5541a421a31ebf8453 | [
"MIT"
] | 54 | 2017-11-30T14:32:48.000Z | 2022-03-26T18:58:06.000Z | tests/test_imports.py | bastih/pycobertura | 9e2f80d1f6bd8023f12dfb5541a421a31ebf8453 | [
"MIT"
] | 26 | 2017-11-01T23:02:01.000Z | 2022-03-16T08:12:49.000Z | def test_imports():
from pycobertura import Cobertura
from pycobertura import CoberturaDiff
from pycobertura import TextReporter
from pycobertura import TextReporterDelta
| 31.166667 | 45 | 0.802139 | 19 | 187 | 7.842105 | 0.526316 | 0.402685 | 0.563758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 187 | 5 | 46 | 37.4 | 0.973856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 1 | 0 | 1.2 | 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 |
3b42b29be95174007e1ed18fc10eccdedd80b581 | 97 | py | Python | tools/wptserve/tests/functional/docroot/subdir/import_handler.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 9 | 2019-04-01T10:57:10.000Z | 2021-12-02T11:12:06.000Z | tools/wptserve/tests/functional/docroot/subdir/import_handler.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 33 | 2018-07-11T22:04:44.000Z | 2019-03-18T15:38:51.000Z | tools/wptserve/tests/functional/docroot/subdir/import_handler.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 11 | 2019-04-12T01:20:16.000Z | 2021-11-23T17:25:02.000Z | import example_module
def main(request, response):
return example_module.module_function()
| 16.166667 | 43 | 0.793814 | 12 | 97 | 6.166667 | 0.75 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 5 | 44 | 19.4 | 0.880952 | 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 |
3b68dcbb8e5460813a12ffec6e16b1ed2ae2065f | 3,879 | py | Python | tests/test_CoreCli_cli.py | pbianchi/climatic | dc0fa65640e9b8161d07b10c73245c33244124b9 | [
"MIT"
] | 12 | 2021-03-08T13:22:13.000Z | 2022-02-10T01:02:41.000Z | tests/test_CoreCli_cli.py | pbianchi/climatic | dc0fa65640e9b8161d07b10c73245c33244124b9 | [
"MIT"
] | 1 | 2022-02-03T22:59:33.000Z | 2022-02-03T23:46:42.000Z | tests/test_CoreCli_cli.py | pbianchi/climatic | dc0fa65640e9b8161d07b10c73245c33244124b9 | [
"MIT"
] | 2 | 2021-10-18T01:38:31.000Z | 2022-01-26T23:19:21.000Z | import pexpect
import pytest
import re
from expects import *
from unittest.mock import MagicMock
from unittest.mock import Mock
from climatic.CoreCli import CoreCli, RunResults, NO_ERROR_MARKER
def test_cli_defaults_pass(core_cli):
connection = Mock()
terminal = Mock()
terminal.expect.side_effect = [1, ... | 32.325 | 77 | 0.617943 | 536 | 3,879 | 4.352612 | 0.147388 | 0.043721 | 0.046292 | 0.057865 | 0.824689 | 0.804972 | 0.804972 | 0.798971 | 0.78697 | 0.78697 | 0 | 0.023288 | 0.247229 | 3,879 | 119 | 78 | 32.596639 | 0.775685 | 0 | 0 | 0.707547 | 0 | 0 | 0.232276 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 1 | 0.075472 | false | 0.028302 | 0.066038 | 0.009434 | 0.169811 | 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 |
3b6ce486c99569819007eda42c25b149e6126eab | 25,089 | py | Python | farad/dual.py | The-Pyoneers/cs107-FinalProject | 76e9d7a0fd5418ece35458df3b379602e699388a | [
"MIT"
] | 1 | 2020-11-16T01:48:46.000Z | 2020-11-16T01:48:46.000Z | farad/dual.py | The-Pyoneers/cs107-FinalProject | 76e9d7a0fd5418ece35458df3b379602e699388a | [
"MIT"
] | 7 | 2020-11-16T02:48:00.000Z | 2020-12-12T03:25:41.000Z | farad/dual.py | The-Pyoneers/cs107-FinalProject | 76e9d7a0fd5418ece35458df3b379602e699388a | [
"MIT"
] | 2 | 2021-02-25T00:09:27.000Z | 2021-11-15T02:29:06.000Z | """Dual number implementation for Python forward AD mode.
This module contains dunder methods to overload built-in Python operators
such as addition and multiplication. This system will only be used for the
forward AD mode, which will be called by the FaradObject.forward() method. If
the method fails to implement dual... | 31.598237 | 176 | 0.554187 | 3,164 | 25,089 | 4.322061 | 0.081858 | 0.069982 | 0.050457 | 0.050969 | 0.8283 | 0.816673 | 0.782669 | 0.763144 | 0.73755 | 0.703547 | 0 | 0.023028 | 0.335366 | 25,089 | 793 | 177 | 31.638083 | 0.797061 | 0.632189 | 0 | 0.32381 | 0 | 0.019048 | 0.109529 | 0.061184 | 0 | 0 | 0 | 0 | 0 | 1 | 0.228571 | false | 0 | 0.038095 | 0 | 0.647619 | 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 |
8ed3178202e08099dcbb316aabb32b90fdbd48e3 | 2,048 | py | Python | Analyser/my_input.py | nicoladainese96/CoopVM | 91064e8495e2bb4c6dfd27fd52801f1ba871fb44 | [
"MIT"
] | null | null | null | Analyser/my_input.py | nicoladainese96/CoopVM | 91064e8495e2bb4c6dfd27fd52801f1ba871fb44 | [
"MIT"
] | null | null | null | Analyser/my_input.py | nicoladainese96/CoopVM | 91064e8495e2bb4c6dfd27fd52801f1ba871fb44 | [
"MIT"
] | 1 | 2018-10-08T11:52:59.000Z | 2018-10-08T11:52:59.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Aug 21 08:30:17 2018
Code for reading both csv data and strings.
@author: nicola.dainese96@gmail.com
"""
def csv_reader (filename, dir_path):
from ensure_dir import ensure_dir
file_path = dir_path+'//'+ filename + ".csv"
ensure_dir(file_path)
with open (file_... | 26.25641 | 49 | 0.407715 | 262 | 2,048 | 3.076336 | 0.244275 | 0.100496 | 0.096774 | 0.126551 | 0.831266 | 0.831266 | 0.831266 | 0.831266 | 0.831266 | 0.831266 | 0 | 0.049107 | 0.453125 | 2,048 | 77 | 50 | 26.597403 | 0.670536 | 0.067383 | 0 | 0.909091 | 0 | 0 | 0.018411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.136364 | 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 |
8eda81b2c69787789a291572a43c5be4d30cf54c | 4,324 | py | Python | tests/test_main_argparse.py | cincanproject/cincan-registry | ec606acaf7920ce808398dbd0286a8ca8ea49928 | [
"MIT"
] | null | null | null | tests/test_main_argparse.py | cincanproject/cincan-registry | ec606acaf7920ce808398dbd0286a8ca8ea49928 | [
"MIT"
] | null | null | null | tests/test_main_argparse.py | cincanproject/cincan-registry | ec606acaf7920ce808398dbd0286a8ca8ea49928 | [
"MIT"
] | null | null | null | from cincanregistry import create_list_argparse
import argparse
import pytest
DEFAULT_TAG = "latest"
def test_create_list_argparse(caplog, capsys):
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(dest="sub_command")
create_list_argparse(subparsers)
test_args = ["list"]
args =... | 30.885714 | 109 | 0.677845 | 599 | 4,324 | 4.771285 | 0.116861 | 0.138558 | 0.20014 | 0.086424 | 0.848495 | 0.827502 | 0.817005 | 0.750525 | 0.724633 | 0.706088 | 0 | 0.001178 | 0.214616 | 4,324 | 139 | 110 | 31.107914 | 0.8404 | 0 | 0 | 0.733871 | 0 | 0 | 0.110083 | 0 | 0 | 0 | 0 | 0 | 0.629032 | 1 | 0.016129 | false | 0 | 0.024194 | 0 | 0.040323 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8edf58cd0ab349eeac597f8d41248b55206e1367 | 4,270 | py | Python | Flower 2.py | imumer12/Python-turtle | 6117f86e89f8bf0a7edba0b42a9375c4ddcc08ec | [
"MIT"
] | 1 | 2022-03-23T16:35:54.000Z | 2022-03-23T16:35:54.000Z | Flower 2.py | imumer12/Python-turtle | 6117f86e89f8bf0a7edba0b42a9375c4ddcc08ec | [
"MIT"
] | null | null | null | Flower 2.py | imumer12/Python-turtle | 6117f86e89f8bf0a7edba0b42a9375c4ddcc08ec | [
"MIT"
] | null | null | null | import turtle as tu
roo = tu.Turtle()
wn = tu.Screen()
wn.bgcolor("black")
wn.title("Fractal Tree Pattern")
roo.left(90)
roo.speed(20)
def draw(l):
if(l<10):
return
else:
roo.pensize(2)
roo.pencolor("yellow")
roo.forward(l)
roo.left(30)
... | 16.679688 | 36 | 0.444965 | 584 | 4,270 | 3.253425 | 0.080479 | 0.103158 | 0.113684 | 0.117895 | 0.936842 | 0.936842 | 0.936842 | 0.936842 | 0.936842 | 0.936842 | 0 | 0.101911 | 0.41171 | 4,270 | 256 | 37 | 16.679688 | 0.654459 | 0 | 0 | 0.951456 | 0 | 0 | 0.024402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058252 | false | 0 | 0.004854 | 0 | 0.121359 | 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 |
795baf163b123836e69f2e9a67e51f256adfd230 | 184 | py | Python | counterblock/__init__.py | coinwarp/dogeblock | fc4a3a8315e1e822c1261f0fbcb4e1bbd300dfcd | [
"MIT"
] | null | null | null | counterblock/__init__.py | coinwarp/dogeblock | fc4a3a8315e1e822c1261f0fbcb4e1bbd300dfcd | [
"MIT"
] | null | null | null | counterblock/__init__.py | coinwarp/dogeblock | fc4a3a8315e1e822c1261f0fbcb4e1bbd300dfcd | [
"MIT"
] | null | null | null | import os, sys
def server_main():
from counterblock import server
server.main()
def armory_utxsvr_main():
from counterblock import armory_utxsvr
armory_utxsvr.main()
| 18.4 | 42 | 0.73913 | 24 | 184 | 5.458333 | 0.416667 | 0.274809 | 0.305344 | 0.396947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190217 | 184 | 9 | 43 | 20.444444 | 0.879195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.428571 | 0 | 0.714286 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
79d6cc6f66d9d33e2ee38980621010c58c90312c | 4,288 | py | Python | PR_BCI_team/Team_StarLab/DKHan/examples/CSDG/get_common.py | PatternRecognition/OpenBMI | d9291ddb81f4319fb3764d7192e0363939a62ee9 | [
"MIT"
] | 217 | 2015-11-02T11:10:29.000Z | 2022-03-22T07:01:12.000Z | PR_BCI_team/Team_StarLab/DKHan/examples/CSDG/get_common.py | deep-bci-g/OpenBMI | 75daf901b2dbe215852cbff243606dcfcd10f05c | [
"MIT"
] | 24 | 2015-11-02T11:10:45.000Z | 2021-09-08T11:10:33.000Z | PR_BCI_team/Team_StarLab/DKHan/examples/CSDG/get_common.py | deep-bci-g/OpenBMI | 75daf901b2dbe215852cbff243606dcfcd10f05c | [
"MIT"
] | 112 | 2016-01-22T01:45:44.000Z | 2022-03-22T07:08:19.000Z | from networks_new import Deep4Net_origin, ConvClfNet, TripletNet, FcClfNet
import networks_new as nets
from losses import TripletLoss_dev2, TripLoss, ContrastiveLoss_dk
from torch.optim import lr_scheduler
import torch.optim as optim
class dgnet():
# def __init__(self,gamma):
# margin = 1.0
# self... | 53.6 | 106 | 0.660914 | 582 | 4,288 | 4.709622 | 0.170103 | 0.059103 | 0.070047 | 0.035024 | 0.840569 | 0.840569 | 0.840569 | 0.835097 | 0.824152 | 0.824152 | 0 | 0.053163 | 0.214785 | 4,288 | 80 | 107 | 53.6 | 0.760915 | 0.719216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.352941 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
eb853414a731a072af5f46584107040e9d1bd4d2 | 353 | py | Python | mayan/apps/project_setup/__init__.py | camerondphillips/MAYAN | b8cd44af50f0b2f2b59286d9c88e2f7aa573a93f | [
"Apache-2.0"
] | null | null | null | mayan/apps/project_setup/__init__.py | camerondphillips/MAYAN | b8cd44af50f0b2f2b59286d9c88e2f7aa573a93f | [
"Apache-2.0"
] | null | null | null | mayan/apps/project_setup/__init__.py | camerondphillips/MAYAN | b8cd44af50f0b2f2b59286d9c88e2f7aa573a93f | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from navigation.api import register_links
from .links import link_setup
register_links(['common:current_user_details', 'common:current_user_edit', 'common:current_user_locale_profile_details', 'common:current_user_locale_profile_edit', 'common:password_change_view'], [link_set... | 44.125 | 237 | 0.847025 | 48 | 353 | 5.708333 | 0.5 | 0.189781 | 0.248175 | 0.175182 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062323 | 353 | 7 | 238 | 50.428571 | 0.827795 | 0 | 0 | 0 | 0 | 0 | 0.490085 | 0.450425 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
696683d9a3c9de68dd53333974b3d6879e1353be | 2,966 | py | Python | statsmodels/datasplit/testcases.py | NolanMP/statsmodels | ca6b652188be2422061052f7e61dd7bf2da03d52 | [
"BSD-3-Clause"
] | null | null | null | statsmodels/datasplit/testcases.py | NolanMP/statsmodels | ca6b652188be2422061052f7e61dd7bf2da03d52 | [
"BSD-3-Clause"
] | null | null | null | statsmodels/datasplit/testcases.py | NolanMP/statsmodels | ca6b652188be2422061052f7e61dd7bf2da03d52 | [
"BSD-3-Clause"
] | null | null | null | import pandas as pd
import numpy as np
from datasplitter import train_test_split
'''
Main function:
train_test_split(X,Y)
for train test 4 outputs
for train test val 6 outputs
Arguments
val_split = True/False
shuffle = True/False
stratify = True/False
train_size = 0.7 or 70 (percent or number)
te... | 38.519481 | 144 | 0.781524 | 545 | 2,966 | 4.119266 | 0.106422 | 0.112249 | 0.162138 | 0.215145 | 0.801782 | 0.801782 | 0.801782 | 0.787082 | 0.787082 | 0.779065 | 0 | 0.051431 | 0.069117 | 2,966 | 76 | 145 | 39.026316 | 0.761681 | 0.0118 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
15c41a2ba5106e873378339908f7a3c35baf1776 | 78,689 | py | Python | models.py | jeannechaverot/CovidForecasting | 75c599a0b25a44e94323480ec504532e5a655437 | [
"MIT"
] | null | null | null | models.py | jeannechaverot/CovidForecasting | 75c599a0b25a44e94323480ec504532e5a655437 | [
"MIT"
] | null | null | null | models.py | jeannechaverot/CovidForecasting | 75c599a0b25a44e94323480ec504532e5a655437 | [
"MIT"
] | null | null | null | """
@ authors: Andrei Militaru, Jeanne Chaverot
@ date: 5th of April 2020
"""
import numpy as np
class CompartmentManager(object):
"""
Class that lets multiple cells interact with one another and evolve. In principle,
no specific model has been assumed, although for the moment only the SIR has been
i... | 78,689 | 78,689 | 0.580094 | 9,273 | 78,689 | 4.839534 | 0.045724 | 0.025848 | 0.030416 | 0.026472 | 0.844553 | 0.820064 | 0.798115 | 0.786862 | 0.767208 | 0.754418 | 0 | 0.014696 | 0.334125 | 78,689 | 1 | 78,689 | 78,689 | 0.841785 | 0.502688 | 0 | 0.692972 | 0 | 0.002466 | 0.023761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134402 | false | 0.004932 | 0.001233 | 0 | 0.358816 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
15e73dfe212947fbc7fc1083f7398b95c25a1116 | 46,663 | py | Python | laygo/generators/adc_sar/TISARADC_layout_generator.py | tinapiao/Software-IC-Automation | 74b23cd94aa6e4658b110e93b5deb635e014f3a6 | [
"BSD-3-Clause"
] | 26 | 2017-07-07T08:06:31.000Z | 2021-11-25T06:41:24.000Z | laygo/generators/adc_sar/TISARADC_layout_generator.py | tinapiao/Software-IC-Automation | 74b23cd94aa6e4658b110e93b5deb635e014f3a6 | [
"BSD-3-Clause"
] | 9 | 2016-12-28T03:08:29.000Z | 2019-01-30T16:00:28.000Z | laygo/generators/adc_sar/TISARADC_layout_generator.py | tinapiao/Software-IC-Automation | 74b23cd94aa6e4658b110e93b5deb635e014f3a6 | [
"BSD-3-Clause"
] | 10 | 2018-07-14T01:31:28.000Z | 2021-08-21T10:18:30.000Z | #!/usr/bin/python
########################################################################################################################
#
# Copyright (c) 2014, Regents of the University of California
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permi... | 65.354342 | 170 | 0.615241 | 6,578 | 46,663 | 4.017787 | 0.061569 | 0.041205 | 0.059821 | 0.047826 | 0.852094 | 0.83643 | 0.824435 | 0.816035 | 0.812214 | 0.805365 | 0 | 0.045666 | 0.252898 | 46,663 | 713 | 171 | 65.446003 | 0.712438 | 0.151833 | 0 | 0.755597 | 0 | 0 | 0.067196 | 0.005842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003731 | false | 0.029851 | 0.020522 | 0 | 0.024254 | 0.001866 | 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 |
c6558c8559bf1ab4aa12378a6279909166770acd | 23 | py | Python | Python/Tests/TestData/DebuggerProject/LocalsTest.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/DebuggerProject/LocalsTest.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/DebuggerProject/LocalsTest.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z |
def f():
x = 42
f()
| 3.833333 | 8 | 0.347826 | 5 | 23 | 1.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.391304 | 23 | 5 | 9 | 4.6 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d6a470e6cabc83572bb64debb5ffc316190be235 | 124 | py | Python | invest_overlap_analysis_mz.py | phargogh/invest-natcap.invest-3 | ee96055a4fa034d9a95fa8ccc6259ab03264e6c1 | [
"BSD-3-Clause"
] | null | null | null | invest_overlap_analysis_mz.py | phargogh/invest-natcap.invest-3 | ee96055a4fa034d9a95fa8ccc6259ab03264e6c1 | [
"BSD-3-Clause"
] | null | null | null | invest_overlap_analysis_mz.py | phargogh/invest-natcap.invest-3 | ee96055a4fa034d9a95fa8ccc6259ab03264e6c1 | [
"BSD-3-Clause"
] | null | null | null | import invest_natcap.iui.modelui
if __name__ == '__main__':
invest_natcap.iui.modelui.main('overlap_analysis_mz.json')
| 24.8 | 62 | 0.782258 | 17 | 124 | 5 | 0.705882 | 0.282353 | 0.352941 | 0.517647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 4 | 63 | 31 | 0.758929 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
d6c705b2d1aab8a88dc9870c38eb7d222a314eab | 114 | py | Python | netbox_plugin_extensions/querysets.py | hagbarddenstore/netbox-plugin-extensions | 387950bb921af99b1809cb0d60582abf29764158 | [
"Apache-2.0"
] | 6 | 2021-09-22T05:41:24.000Z | 2022-03-15T16:11:46.000Z | netbox_plugin_extensions/querysets.py | hagbarddenstore/netbox-plugin-extensions | 387950bb921af99b1809cb0d60582abf29764158 | [
"Apache-2.0"
] | 3 | 2021-09-30T16:36:09.000Z | 2022-01-13T15:54:53.000Z | netbox_plugin_extensions/querysets.py | hagbarddenstore/netbox-plugin-extensions | 387950bb921af99b1809cb0d60582abf29764158 | [
"Apache-2.0"
] | 3 | 2021-09-30T15:32:00.000Z | 2022-01-19T12:35:24.000Z | from utilities.querysets import RestrictedQuerySet
class PluginRestrictedQuerySet(RestrictedQuerySet):
pass
| 19 | 51 | 0.850877 | 9 | 114 | 10.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 114 | 5 | 52 | 22.8 | 0.960396 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
ba41087bdad6cee5f476de8aa4491064ec4c4ac3 | 19,637 | py | Python | startup/SST/RSoXS/Functions/NEXAFSscans.py | NSLS-II-SST/profile_collection | e2c9d1fce421e7ed8a60fb744c34a770f7780803 | [
"BSD-3-Clause"
] | null | null | null | startup/SST/RSoXS/Functions/NEXAFSscans.py | NSLS-II-SST/profile_collection | e2c9d1fce421e7ed8a60fb744c34a770f7780803 | [
"BSD-3-Clause"
] | 12 | 2019-05-30T15:08:15.000Z | 2021-04-29T03:24:10.000Z | startup/SST/RSoXS/Functions/NEXAFSscans.py | NSLS-II-SST/profile_collection | e2c9d1fce421e7ed8a60fb744c34a770f7780803 | [
"BSD-3-Clause"
] | 2 | 2019-05-23T17:13:04.000Z | 2019-10-20T14:52:05.000Z | import numpy as np
from ..HW.energy import en
from ..HW.signals import Sample_TEY, Izero_Mesh, Beamstop_SAXS, Beamstop_WAXS
from ..Functions.alignment import sample, load_sample
from ..Functions.alignment import rotate_now
from .energyscancore import NEXAFS_fly_scan_core, NEXAFS_scan_core
from .energyscans import clean... | 28.963127 | 117 | 0.62041 | 2,637 | 19,637 | 4.430413 | 0.095563 | 0.03595 | 0.021142 | 0.023966 | 0.831892 | 0.810408 | 0.790893 | 0.784559 | 0.771206 | 0.735599 | 0 | 0.03448 | 0.29256 | 19,637 | 677 | 118 | 29.005908 | 0.806507 | 0.26613 | 0 | 0.710372 | 0 | 0 | 0.122967 | 0.027732 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031311 | false | 0 | 0.015656 | 0.001957 | 0.068493 | 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 |
ba8096f8348798c9cfee4495c2dae20b736f7f70 | 148 | py | Python | behave4git/utils.py | opinionated-digital-center/behave4git | c84cb9d05c73df3b720607bf08d17e5cf34b274c | [
"MIT"
] | null | null | null | behave4git/utils.py | opinionated-digital-center/behave4git | c84cb9d05c73df3b720607bf08d17e5cf34b274c | [
"MIT"
] | 24 | 2020-05-07T15:12:58.000Z | 2022-03-07T11:14:06.000Z | behave4git/utils.py | opinionated-digital-center/behave4git | c84cb9d05c73df3b720607bf08d17e5cf34b274c | [
"MIT"
] | null | null | null | from typing import List
from git import Commit
def files_committed_in_commit(commit: Commit) -> List:
return list(commit.stats.files.keys())
| 18.5 | 54 | 0.763514 | 22 | 148 | 5 | 0.590909 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 7 | 55 | 21.142857 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
24159c43ba413e42eb7fc50451f9c5116e47a4f0 | 26,551 | py | Python | swagger_client/apis/class_api.py | scubawhere/scubawhere-api-python-client | 9f8578e251492c7667f785df7b7c9d66e71f5c8e | [
"Apache-2.0"
] | null | null | null | swagger_client/apis/class_api.py | scubawhere/scubawhere-api-python-client | 9f8578e251492c7667f785df7b7c9d66e71f5c8e | [
"Apache-2.0"
] | null | null | null | swagger_client/apis/class_api.py | scubawhere/scubawhere-api-python-client | 9f8578e251492c7667f785df7b7c9d66e71f5c8e | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Scubawhere API Documentation
This is the documentation for scubawhere's RMS API. This API is only to be used by authorized parties with valid auth tokens. [Learn about scubawhere](http://www.scubawhere.com) to become an authorized consumer of our API
OpenAPI spec version: 1.0.0
... | 38.368497 | 227 | 0.555723 | 2,707 | 26,551 | 5.257111 | 0.080901 | 0.067458 | 0.02361 | 0.030356 | 0.905629 | 0.898602 | 0.891645 | 0.885461 | 0.868456 | 0.862413 | 0 | 0.003067 | 0.361493 | 26,551 | 691 | 228 | 38.424023 | 0.836371 | 0.337275 | 0 | 0.77673 | 0 | 0 | 0.148087 | 0.028138 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040881 | false | 0 | 0.022013 | 0 | 0.122642 | 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 |
242d5eac2cf401463714b65b1c851b2493fd1ec8 | 103 | py | Python | project-management-api/app_config.py | paolo-demagistris-polito/EnvForDigitalProjectDelivery | afa395cd5ba49d13a06b2f65efe41b627194ce06 | [
"MIT"
] | 1 | 2022-03-03T14:22:47.000Z | 2022-03-03T14:22:47.000Z | project-management-api/app_config.py | paolo-demagistris-polito/EnvForDigitalProjectDelivery | afa395cd5ba49d13a06b2f65efe41b627194ce06 | [
"MIT"
] | 3 | 2022-01-20T05:22:52.000Z | 2022-01-28T09:34:19.000Z | project-management-api/app_config.py | paolo-demagistris-polito/EnvForDigitalProjectDelivery | afa395cd5ba49d13a06b2f65efe41b627194ce06 | [
"MIT"
] | null | null | null | # openssl rand -hex 32
SECRET_KEY = "991c37e0b2867aa8f7ab5028ee26fd185c2d1a92ab178c3e15330297c8931e2f"
| 34.333333 | 79 | 0.873786 | 7 | 103 | 12.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.463158 | 0.07767 | 103 | 2 | 80 | 51.5 | 0.473684 | 0.194175 | 0 | 0 | 0 | 0 | 0.790123 | 0.790123 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
243b60251bc29052cde2783f5df1a24f4e2f34a4 | 48 | py | Python | pyqt_tooltip_list_widget/__init__.py | yjg30737/pyqt-show-long-text-as-tooltip-list-widget | 3ff89b21ca11597157938808bc3082fb746bedfa | [
"MIT"
] | null | null | null | pyqt_tooltip_list_widget/__init__.py | yjg30737/pyqt-show-long-text-as-tooltip-list-widget | 3ff89b21ca11597157938808bc3082fb746bedfa | [
"MIT"
] | null | null | null | pyqt_tooltip_list_widget/__init__.py | yjg30737/pyqt-show-long-text-as-tooltip-list-widget | 3ff89b21ca11597157938808bc3082fb746bedfa | [
"MIT"
] | null | null | null | from .toolTipListWidget import ToolTipListWidget | 48 | 48 | 0.916667 | 4 | 48 | 11 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
033be0eb93578f33c083d248c5cfee44ceda9191 | 119,505 | py | Python | instructions.py | psifertex/binaryninja_avr | 3009bcd763816c6b3b210c0e6026d0c223171c17 | [
"MIT"
] | null | null | null | instructions.py | psifertex/binaryninja_avr | 3009bcd763816c6b3b210c0e6026d0c223171c17 | [
"MIT"
] | null | null | null | instructions.py | psifertex/binaryninja_avr | 3009bcd763816c6b3b210c0e6026d0c223171c17 | [
"MIT"
] | null | null | null | import abc
import collections
import struct
from binaryninja_avr import operand
from binaryninja_avr.operand import RAM_SEGMENT_BEGIN
try:
import binaryninja
from binaryninja.log import log
from binaryninja.enums import LogLevel
from binaryninja import InstructionTextToken, InstructionTextTokenType
ex... | 26.615813 | 143 | 0.47808 | 10,381 | 119,505 | 5.311338 | 0.056738 | 0.043963 | 0.034659 | 0.0876 | 0.837949 | 0.816149 | 0.797105 | 0.782669 | 0.744636 | 0.713369 | 0 | 0.036736 | 0.427129 | 119,505 | 4,489 | 144 | 26.621742 | 0.768642 | 0.022225 | 0 | 0.705028 | 0 | 0.000269 | 0.033841 | 0 | 0 | 0 | 0.000069 | 0.000668 | 0.000269 | 1 | 0.102447 | false | 0.000538 | 0.00242 | 0.054316 | 0.227481 | 0.000269 | 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 |
034fefc02f886f6e404988a93832817afe7a159b | 2,670 | py | Python | src/tf_schedulers.py | nextBillyonair/Attention | 3e2dfecd63abd762633888895f3ba721c903f439 | [
"MIT"
] | null | null | null | src/tf_schedulers.py | nextBillyonair/Attention | 3e2dfecd63abd762633888895f3ba721c903f439 | [
"MIT"
] | null | null | null | src/tf_schedulers.py | nextBillyonair/Attention | 3e2dfecd63abd762633888895f3ba721c903f439 | [
"MIT"
] | null | null | null | import torch
import torch.nn.functional as F
import math
def constant_annealing(model, iteration, max_iterations, start_tf=1.0):
model.teacher_forcing = min(1, max(start_tf, 0))
def linear_annealing(model, iteration, max_iterations, start_tf=1.0):
value = start_tf * (1 - iteration / max_iterations)
model... | 44.5 | 88 | 0.697378 | 405 | 2,670 | 4.414815 | 0.118519 | 0.090045 | 0.246085 | 0.174497 | 0.776846 | 0.775727 | 0.758949 | 0.758949 | 0.732662 | 0.607942 | 0 | 0.038667 | 0.157303 | 2,670 | 59 | 89 | 45.254237 | 0.756 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.065217 | 0 | 0.326087 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3022ac39dfb5e77ff1fe15ae1143ee00dee007ec | 37,449 | py | Python | pkgs/conf-pkg/src/genie/libs/conf/pim/nxos/tests/test_pim.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | null | null | null | pkgs/conf-pkg/src/genie/libs/conf/pim/nxos/tests/test_pim.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | null | null | null | pkgs/conf-pkg/src/genie/libs/conf/pim/nxos/tests/test_pim.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Python
import unittest
from unittest.mock import Mock
# Genie
from genie.conf.tests import TestCase
from genie.conf import Genie
from genie.conf.base import Testbed, Device, Link, Interface
from genie.conf.base.attributes import UnsupportedAttributeWarning
# PIM
from genie.libs.conf.vrf impor... | 40.138264 | 142 | 0.561991 | 4,571 | 37,449 | 4.389193 | 0.054036 | 0.058815 | 0.09829 | 0.092359 | 0.886009 | 0.867019 | 0.836714 | 0.814484 | 0.807506 | 0.793949 | 0 | 0.046479 | 0.324949 | 37,449 | 932 | 143 | 40.18133 | 0.747152 | 0.072285 | 0 | 0.71938 | 0 | 0.035659 | 0.237101 | 0.00208 | 0 | 0 | 0 | 0 | 0.04031 | 1 | 0.012403 | false | 0 | 0.013953 | 0.00155 | 0.029457 | 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 |
305bfb723d64488be45117a09c72f88917dc3015 | 13,834 | py | Python | model.py | kimmo1019/scDEC | ae479009cc0f6232300be0476f5681411613c7af | [
"MIT"
] | 25 | 2020-08-18T04:03:48.000Z | 2022-01-26T00:17:09.000Z | model.py | Aceculuses/scDEC | ae479009cc0f6232300be0476f5681411613c7af | [
"MIT"
] | 1 | 2021-12-22T03:27:40.000Z | 2022-01-04T05:53:11.000Z | model.py | Aceculuses/scDEC | ae479009cc0f6232300be0476f5681411613c7af | [
"MIT"
] | 3 | 2020-08-27T05:21:36.000Z | 2021-05-13T01:47:46.000Z | import tensorflow as tf
import tensorflow.contrib as tc
import tensorflow.contrib.layers as tcl
#the default is relu function
def leaky_relu(x, alpha=0.2):
return tf.maximum(tf.minimum(0.0, alpha * x), x)
#return tf.maximum(0.0, x)
#return tf.nn.tanh(x)
#return tf.nn.elu(x)
def conv_cond_concat(x, y):... | 40.568915 | 122 | 0.549299 | 1,720 | 13,834 | 4.208721 | 0.077907 | 0.024865 | 0.046415 | 0.075425 | 0.858682 | 0.816964 | 0.815306 | 0.784777 | 0.768614 | 0.758945 | 0 | 0.03473 | 0.344369 | 13,834 | 340 | 123 | 40.688235 | 0.763396 | 0.112549 | 0 | 0.702206 | 0 | 0 | 0.005148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073529 | false | 0 | 0.011029 | 0.025735 | 0.158088 | 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 |
3070ec9f1f3e69e016e149194c14b837a27fd643 | 658 | py | Python | test/docstrings/format1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/docstrings/format1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/docstrings/format1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | r'''Module docstring
%(language)s has %(number)03d quote types.
'''
r : source.python, storage.type.string.python, string.quoted.docstring.raw.multi.python
''' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.raw.multi.python
Module docstring : source.py... | 47 | 115 | 0.718845 | 82 | 658 | 5.768293 | 0.268293 | 0.15222 | 0.22833 | 0.342495 | 0.854123 | 0.854123 | 0.854123 | 0.723044 | 0.623679 | 0.287526 | 0 | 0.00713 | 0.147416 | 658 | 13 | 116 | 50.615385 | 0.836007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
066e1b016e6e9f1b590f6b23b7781abd636b12d6 | 33,916 | py | Python | app/api/v2/order_list.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | 6 | 2021-06-16T02:06:21.000Z | 2021-09-20T09:50:56.000Z | app/api/v2/order_list.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | 68 | 2021-04-06T03:44:54.000Z | 2022-03-29T02:00:02.000Z | app/api/v2/order_list.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | null | null | null | """
Copyright BOOSTRY 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 in writing,
software distr... | 36.429646 | 147 | 0.540836 | 3,015 | 33,916 | 5.776451 | 0.07927 | 0.071543 | 0.060289 | 0.027331 | 0.915939 | 0.896073 | 0.882407 | 0.864722 | 0.849506 | 0.846061 | 0 | 0.002399 | 0.373128 | 33,916 | 930 | 148 | 36.468817 | 0.816519 | 0.068876 | 0 | 0.808482 | 0 | 0 | 0.077283 | 0.015215 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021888 | false | 0 | 0.015048 | 0 | 0.060192 | 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 |
23040391e975609116ea5c4026610b416a7a3aba | 71 | py | Python | textclassifier/views.py | Mykola-cnvrg/SpamBot1 | 71a964d717bf3bc15bf9e0b7d72c18557d3d2fb0 | [
"MIT"
] | 17 | 2018-09-01T08:41:40.000Z | 2020-05-30T13:09:34.000Z | textclassifier/views.py | Mykola-cnvrg/SpamBot1 | 71a964d717bf3bc15bf9e0b7d72c18557d3d2fb0 | [
"MIT"
] | 3 | 2018-10-02T08:43:22.000Z | 2018-10-02T12:28:08.000Z | textclassifier/views.py | Mykola-cnvrg/SpamBot1 | 71a964d717bf3bc15bf9e0b7d72c18557d3d2fb0 | [
"MIT"
] | 8 | 2018-09-02T12:15:01.000Z | 2019-10-01T07:07:30.000Z | from django.shortcuts import render
def about():
return render() | 14.2 | 36 | 0.71831 | 9 | 71 | 5.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 5 | 37 | 14.2 | 0.894737 | 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 |
2306902af1dde37d581e701755671f940938a8fe | 30 | py | Python | test/tokenize/t27.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/tokenize/t27.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/tokenize/t27.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | def d01v_(a=1, *k, **w): pass
| 15 | 29 | 0.533333 | 7 | 30 | 2.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.166667 | 30 | 1 | 30 | 30 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
23167ef7dc7e58e2e34a4918d94d4084aa07ed18 | 25,166 | py | Python | pyspawn/tests/integration_tests/pg_adapter_tests/test_pg_adapter.py | Tsanton/pyspawn | e539e0170f65a96e2579f255888575f6710db561 | [
"Apache-2.0"
] | null | null | null | pyspawn/tests/integration_tests/pg_adapter_tests/test_pg_adapter.py | Tsanton/pyspawn | e539e0170f65a96e2579f255888575f6710db561 | [
"Apache-2.0"
] | null | null | null | pyspawn/tests/integration_tests/pg_adapter_tests/test_pg_adapter.py | Tsanton/pyspawn | e539e0170f65a96e2579f255888575f6710db561 | [
"Apache-2.0"
] | null | null | null | from pyspawn import Checkpoint
from pyspawn.adapters import PgAdapter
from pyspawn._graph.table import Table
from pyspawn.tests.integration_tests.pg_adapter_tests._pgsql_utilities import (
_execute_query,
_execute_scalar,
_insert_bulk,
_create_schema,
_create_table,
_create_foreign_key_relation... | 49.345098 | 182 | 0.676389 | 4,002 | 25,166 | 3.989505 | 0.031734 | 0.089816 | 0.068395 | 0.088062 | 0.948265 | 0.943067 | 0.934736 | 0.921834 | 0.918577 | 0.913817 | 0 | 0.02517 | 0.168004 | 25,166 | 510 | 183 | 49.345098 | 0.737367 | 0.018279 | 0 | 0.713068 | 0 | 0.045455 | 0.399679 | 0.00296 | 0 | 0 | 0 | 0 | 0.213068 | 1 | 0.0625 | false | 0 | 0.011364 | 0 | 0.073864 | 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 |
23473771f1128b7d5f1247b135826b8573124e32 | 42 | py | Python | Python/jadoo_hates_numbers.py | Rounak259/HackerEarth | fb6f950f0b68f1c4ffab0a0c17b2e693700c4cb0 | [
"MIT"
] | null | null | null | Python/jadoo_hates_numbers.py | Rounak259/HackerEarth | fb6f950f0b68f1c4ffab0a0c17b2e693700c4cb0 | [
"MIT"
] | null | null | null | Python/jadoo_hates_numbers.py | Rounak259/HackerEarth | fb6f950f0b68f1c4ffab0a0c17b2e693700c4cb0 | [
"MIT"
] | null | null | null | print(ord('i')+ord('i')+ord('i')+ord('i')) | 42 | 42 | 0.5 | 9 | 42 | 2.333333 | 0.333333 | 0.761905 | 1 | 1.142857 | 0.761905 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 42 | 1 | 42 | 42 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
236729938f6fa574d410ac44017cdd5d2fa912cd | 159,394 | py | Python | sikat.py | jamalnggau1/brute-fb | 1fd21e1da9fac442becc15d8d675f28bd5a2dc92 | [
"Apache-2.0"
] | null | null | null | sikat.py | jamalnggau1/brute-fb | 1fd21e1da9fac442becc15d8d675f28bd5a2dc92 | [
"Apache-2.0"
] | null | null | null | sikat.py | jamalnggau1/brute-fb | 1fd21e1da9fac442becc15d8d675f28bd5a2dc92 | [
"Apache-2.0"
] | null | null | null | #Compiled By xNot_Found
#Github : https://github.com/hatakecnk
import marshal
exec(marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s\x93\x03\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x00\x00d\x01\x00l\x02\x00Z\x02\x00d\x00\x00d\x01\x00l\x03\x00Z\x03\x0... | 39,848.5 | 159,316 | 0.745041 | 36,405 | 159,394 | 3.256229 | 0.03527 | 0.246898 | 0.109707 | 0.045351 | 0.850814 | 0.805362 | 0.752874 | 0.711978 | 0.685422 | 0.655003 | 0 | 0.389667 | 0.0098 | 159,394 | 4 | 159,316 | 39,848.5 | 0.361403 | 0.00037 | 0 | 0 | 0 | 12 | 0.585374 | 0.497477 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 16 |
88c1ae70c8e9a0e7f1df42ede956c21176a46ea4 | 94 | py | Python | pythonteste/aula11b.py | mateusmarinho/python3-cursoemvideo | 706d419865532e156fb80b8a873e18cb90d6e0da | [
"MIT"
] | null | null | null | pythonteste/aula11b.py | mateusmarinho/python3-cursoemvideo | 706d419865532e156fb80b8a873e18cb90d6e0da | [
"MIT"
] | null | null | null | pythonteste/aula11b.py | mateusmarinho/python3-cursoemvideo | 706d419865532e156fb80b8a873e18cb90d6e0da | [
"MIT"
] | null | null | null | a = 3
b = 5
print('Os valores são \033[32;44m{}\033[m e \033[31;44m{}\033[m'.format(a, b))
| 23.5 | 79 | 0.574468 | 22 | 94 | 2.454545 | 0.681818 | 0.222222 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 0.170213 | 94 | 3 | 80 | 31.333333 | 0.410256 | 0 | 0 | 0 | 0 | 0.333333 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
88d715ad8f2306c401bed550e22360393d1a9b88 | 6,567 | py | Python | Results/PlotMonteCalorsConvergence.py | ggzhang0071/pytorch_geometric-1 | 80717cec2abfa6ff0951834cf4d7b1641b7952b1 | [
"MIT"
] | null | null | null | Results/PlotMonteCalorsConvergence.py | ggzhang0071/pytorch_geometric-1 | 80717cec2abfa6ff0951834cf4d7b1641b7952b1 | [
"MIT"
] | null | null | null | Results/PlotMonteCalorsConvergence.py | ggzhang0071/pytorch_geometric-1 | 80717cec2abfa6ff0951834cf4d7b1641b7952b1 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
import os,glob
import seaborn as sns
import matplotlib.style as style
style.available
sns.set_context('paper')
sns.set()
def PlotMonteCalorsTimesConvergenceNpy(dataset,modelName,file_constraited,coefficientsFirst,coefficientsSecond,coefficientsThree,coefficientsFour,s... | 49.75 | 190 | 0.60469 | 710 | 6,567 | 5.492958 | 0.138028 | 0.096923 | 0.080769 | 0.092308 | 0.821795 | 0.796154 | 0.796154 | 0.796154 | 0.796154 | 0.796154 | 0 | 0.016498 | 0.261611 | 6,567 | 131 | 191 | 50.129771 | 0.787791 | 0.038678 | 0 | 0.711538 | 0 | 0 | 0.061638 | 0.015845 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009615 | false | 0 | 0.048077 | 0 | 0.057692 | 0.115385 | 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 |
00057e572991b2a2f76cf335221231797365fac6 | 46 | py | Python | src/Meta/__init__.py | BlackBeard98/Code-Generation | 769ef8fd9162c0fae6326dc9d08e20bb5d20c067 | [
"MIT"
] | 1 | 2021-11-03T01:24:21.000Z | 2021-11-03T01:24:21.000Z | src/Meta/__init__.py | BlackBeard98/Code-Generation | 769ef8fd9162c0fae6326dc9d08e20bb5d20c067 | [
"MIT"
] | null | null | null | src/Meta/__init__.py | BlackBeard98/Code-Generation | 769ef8fd9162c0fae6326dc9d08e20bb5d20c067 | [
"MIT"
] | null | null | null | from .Meta import main
def entry():
main() | 15.333333 | 22 | 0.652174 | 7 | 46 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 3 | 23 | 15.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 7 |
cc711f47d0147bdd2df69510e520379be430450b | 11,622 | py | Python | phasor/readouts/AC.py | mccullerlp/OpenLoop | fe86dc6dec3740d4b6be6b88d8eef8566e2aa78d | [
"Apache-2.0"
] | 5 | 2018-02-28T00:43:37.000Z | 2020-01-21T11:39:15.000Z | phasor/readouts/AC.py | mccullerlp/OpenLoop | fe86dc6dec3740d4b6be6b88d8eef8566e2aa78d | [
"Apache-2.0"
] | 1 | 2019-09-07T23:15:43.000Z | 2019-09-07T23:15:43.000Z | phasor/readouts/AC.py | mccullerlp/OpenLoop | fe86dc6dec3740d4b6be6b88d8eef8566e2aa78d | [
"Apache-2.0"
] | 1 | 2020-08-21T04:42:09.000Z | 2020-08-21T04:42:09.000Z | # -*- coding: utf-8 -*-
"""
"""
from __future__ import division, print_function, unicode_literals
#from phasor.utilities.print import print
#import numpy as np
import declarative as decl
from ..utilities.future_from_2 import super
from .. import base
from .noise import NoiseReadout
class ACReadout(base.SystemElem... | 31.326146 | 95 | 0.595853 | 1,480 | 11,622 | 4.432432 | 0.088514 | 0.085366 | 0.103659 | 0.091463 | 0.897256 | 0.867683 | 0.844817 | 0.83872 | 0.749848 | 0.730488 | 0 | 0.005353 | 0.292721 | 11,622 | 370 | 96 | 31.410811 | 0.792701 | 0.137068 | 0 | 0.734615 | 0 | 0 | 0.011022 | 0 | 0 | 0 | 0 | 0.002703 | 0 | 1 | 0.1 | false | 0 | 0.019231 | 0.038462 | 0.230769 | 0.003846 | 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 |
cc750d5e68257e121c9b0cb31f63245a514f98a1 | 11,117 | py | Python | modules/shapelets/compute/_logic.py | shapelets/shapelets-compute | 1dffe62d4eab9b1115b95bda5aaa7a3392024d72 | [
"MIT",
"BSD-3-Clause"
] | 14 | 2021-05-28T09:43:28.000Z | 2022-03-31T01:44:55.000Z | modules/shapelets/compute/_logic.py | shapelets/shapelets-compute | 1dffe62d4eab9b1115b95bda5aaa7a3392024d72 | [
"MIT",
"BSD-3-Clause"
] | 14 | 2021-05-31T11:48:12.000Z | 2022-03-06T20:30:34.000Z | modules/shapelets/compute/_logic.py | shapelets/shapelets-compute | 1dffe62d4eab9b1115b95bda5aaa7a3392024d72 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2021 Grumpy Cat Software S.L.
#
# This Source Code is licensed under the MIT 2.0 license.
# the terms can be found in LICENSE.md at the root of
# this project, or at http://mozilla.org/MPL/2.0/.
from __future__ import annotations
from .__basic_typing import ArrayLike
from ._array_obj import ShapeletsA... | 23.552966 | 89 | 0.568229 | 1,352 | 11,117 | 4.622041 | 0.108728 | 0.014402 | 0.013442 | 0.097456 | 0.839014 | 0.823812 | 0.818051 | 0.806369 | 0.761242 | 0.761242 | 0 | 0.024168 | 0.330035 | 11,117 | 471 | 90 | 23.602972 | 0.81485 | 0.700639 | 0 | 0 | 0 | 0 | 0.060074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0.111111 | 0 | 0.888889 | 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 |
aea116da3b274d165c2f86dde68033dcdb6925df | 45 | py | Python | client-portal/apis/financial_aid/__init__.py | oakbani/ksdp-portal | 8f44b3cb0081a7f31b9c8121883dd51945a05520 | [
"MIT"
] | null | null | null | client-portal/apis/financial_aid/__init__.py | oakbani/ksdp-portal | 8f44b3cb0081a7f31b9c8121883dd51945a05520 | [
"MIT"
] | null | null | null | client-portal/apis/financial_aid/__init__.py | oakbani/ksdp-portal | 8f44b3cb0081a7f31b9c8121883dd51945a05520 | [
"MIT"
] | 1 | 2021-09-19T10:58:17.000Z | 2021-09-19T10:58:17.000Z | from .financial_aid import financial_aid_api
| 22.5 | 44 | 0.888889 | 7 | 45 | 5.285714 | 0.714286 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.902439 | 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 |
aedbccbf528a7cbf1196df5120162a4e2e826629 | 2,781 | py | Python | euler_project/8/sol_8.py | decaun/easy-python-study | 70da7db22b28811890265ebc5df2007edb829606 | [
"Apache-2.0"
] | 1 | 2019-04-15T06:32:22.000Z | 2019-04-15T06:32:22.000Z | euler_project/8/sol_8.py | decaun/easy-python-study | 70da7db22b28811890265ebc5df2007edb829606 | [
"Apache-2.0"
] | 4 | 2021-03-18T22:53:33.000Z | 2021-03-19T10:35:04.000Z | euler_project/8/sol_8.py | decaun/easy-python-study | 70da7db22b28811890265ebc5df2007edb829606 | [
"Apache-2.0"
] | null | null | null | """
The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.
73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
1254069874715852386305071569329096329522744304355... | 41.507463 | 107 | 0.873786 | 135 | 2,781 | 17.918519 | 0.474074 | 0.024804 | 0.013229 | 0.015709 | 0.876395 | 0.876395 | 0.876395 | 0.876395 | 0.876395 | 0.876395 | 0 | 0.805334 | 0.096728 | 2,781 | 66 | 108 | 42.136364 | 0.156449 | 0.451277 | 0 | 0 | 0 | 0 | 0.721763 | 0.701791 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0 | 0 | 0.0625 | 0.03125 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
aee9e105a252c3ee110842217618eb3dccc42fab | 77,332 | py | Python | venv/lib/python3.8/site-packages/oauth2/test/test_grant.py | wjone005/Netflix_Tinder | 92a167ccfaee96b15c36b2f70c2b2d5d7e43e069 | [
"MIT"
] | 120 | 2015-02-21T10:07:36.000Z | 2021-05-05T17:31:06.000Z | venv/lib/python3.8/site-packages/oauth2/test/test_grant.py | wjone005/Netflix_Tinder | 92a167ccfaee96b15c36b2f70c2b2d5d7e43e069 | [
"MIT"
] | 27 | 2015-02-11T03:40:11.000Z | 2019-06-28T18:05:50.000Z | venv/lib/python3.8/site-packages/oauth2/test/test_grant.py | wjone005/Netflix_Tinder | 92a167ccfaee96b15c36b2f70c2b2d5d7e43e069 | [
"MIT"
] | 51 | 2015-02-10T03:37:30.000Z | 2021-12-17T10:45:25.000Z | from mock import Mock, call, patch
import json
from oauth2.client_authenticator import ClientAuthenticator
from oauth2.compatibility import quote
from oauth2.test import unittest
from oauth2.web import Response, ResourceOwnerGrantSiteAdapter, \
ImplicitGrantSiteAdapter, AuthorizationCodeGrantSiteAdapter
from oauth2... | 40.214249 | 128 | 0.649718 | 8,065 | 77,332 | 5.882207 | 0.041538 | 0.046606 | 0.031619 | 0.030354 | 0.848293 | 0.816884 | 0.76895 | 0.743866 | 0.713828 | 0.675843 | 0 | 0.004865 | 0.266371 | 77,332 | 1,922 | 129 | 40.235172 | 0.831333 | 0.021699 | 0 | 0.729329 | 0 | 0 | 0.057763 | 0.002073 | 0 | 0 | 0 | 0 | 0.159717 | 1 | 0.045936 | false | 0.002827 | 0.009894 | 0.000707 | 0.066431 | 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 |
4e281f07edb9d17fed456539244973882e12a898 | 787,352 | py | Python | conary_test/libtest/fixeddifflibtest.py | sassoftware/conary | d418968acd5e11ee17ed6d91ca395ea10a040222 | [
"Apache-2.0"
] | 43 | 2015-03-31T01:37:10.000Z | 2021-11-14T16:26:48.000Z | conary_test/libtest/fixeddifflibtest.py | sassoftware/conary | d418968acd5e11ee17ed6d91ca395ea10a040222 | [
"Apache-2.0"
] | 9 | 2015-06-10T16:39:41.000Z | 2020-01-27T16:35:01.000Z | conary_test/libtest/fixeddifflibtest.py | sassoftware/conary | d418968acd5e11ee17ed6d91ca395ea10a040222 | [
"Apache-2.0"
] | 9 | 2015-04-07T08:12:37.000Z | 2020-01-26T09:54:18.000Z | #
# Copyright (c) SAS Institute Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | 105.134464 | 130 | 0.706497 | 135,730 | 787,352 | 4.086738 | 0.003212 | 0.146351 | 0.159093 | 0.225382 | 0.99777 | 0.997582 | 0.99742 | 0.997262 | 0.996147 | 0.995181 | 0 | 0.180517 | 0.11083 | 787,352 | 7,488 | 131 | 105.148504 | 0.6118 | 0.001041 | 0 | 0.310252 | 0 | 0.973296 | 0.875851 | 0.728919 | 0 | 0 | 0 | 0 | 0.000403 | 1 | 0.000268 | false | 0 | 0.000805 | 0 | 0.001342 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
9db74f9dce19d3a0eb07737c4578609af272a117 | 156,011 | py | Python | test/test_requests.py | darosior/pylibbitcoin | edb30539fa431f5318637fc4d8fcc69934f02fcd | [
"MIT"
] | 3 | 2018-07-06T10:51:21.000Z | 2019-09-16T05:14:51.000Z | test/test_requests.py | darosior/pylibbitcoin | edb30539fa431f5318637fc4d8fcc69934f02fcd | [
"MIT"
] | 1 | 2019-07-27T02:36:23.000Z | 2019-07-27T10:15:36.000Z | test/test_requests.py | darosior/pylibbitcoin | edb30539fa431f5318637fc4d8fcc69934f02fcd | [
"MIT"
] | 7 | 2018-10-19T16:36:23.000Z | 2021-06-21T00:02:53.000Z | import asyncio
import struct
from binascii import unhexlify
import asynctest
from asynctest import CoroutineMock, MagicMock
import bitcoin.core.serialize
import zmq
import zmq.asyncio
import pylibbitcoin.client
"""
api_interactions has all API calls.
request_id == 2 == b"\x02\x00\x00\x00"
error_code == 0 == b"\x00\x0... | 262.644781 | 115,179 | 0.738756 | 32,088 | 156,011 | 3.563232 | 0.129394 | 0.146147 | 0.140821 | 0.095087 | 0.459895 | 0.430386 | 0.400247 | 0.380148 | 0.357741 | 0.330164 | 0 | 0.281505 | 0.033081 | 156,011 | 593 | 115,180 | 263.08769 | 0.476447 | 0.00341 | 0 | 0.444944 | 0 | 0.204494 | 0.603189 | 0.586296 | 0 | 0 | 0 | 0 | 0.119101 | 1 | 0.080899 | false | 0.002247 | 0.020225 | 0 | 0.146067 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9dd0f0806317830a621541306a81fc31e90854d6 | 10,488 | py | Python | tests/test_net_honr.py | dwhall/HeyMac | 18c86b5855d65d3d6ffe9ee9d5913396cee40d81 | [
"MIT"
] | 5 | 2018-03-25T03:31:52.000Z | 2021-11-23T03:17:01.000Z | tests/test_net_honr.py | dwhall/HeyMac | 18c86b5855d65d3d6ffe9ee9d5913396cee40d81 | [
"MIT"
] | 10 | 2018-05-18T20:53:45.000Z | 2021-08-22T03:01:31.000Z | tests/test_net_honr.py | dwhall/HeyMac | 18c86b5855d65d3d6ffe9ee9d5913396cee40d81 | [
"MIT"
] | 1 | 2020-06-14T16:31:34.000Z | 2020-06-14T16:31:34.000Z | import unittest
from heymac.net import honr
class TestNetHonr(unittest.TestCase):
def test_to_internal_repr(self):
# Bad data type
with self.assertRaises(AssertionError): honr.to_internal_repr([0, 0])
# Good data types
self.assertEqual(honr.to_internal_repr(b"\x01\x02"), bytearray... | 58.921348 | 190 | 0.680778 | 1,664 | 10,488 | 4.120793 | 0.067909 | 0.25463 | 0.299256 | 0.329007 | 0.920957 | 0.910894 | 0.866268 | 0.801663 | 0.736328 | 0.54222 | 0 | 0.122157 | 0.153127 | 10,488 | 177 | 191 | 59.254237 | 0.649854 | 0.053776 | 0 | 0.079365 | 0 | 0.031746 | 0.228895 | 0.131433 | 0 | 0 | 0.00182 | 0 | 0.896825 | 1 | 0.063492 | false | 0 | 0.015873 | 0 | 0.087302 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ae5eb0d8bc3cb6a966d8cd9fb8db582aa9cf49dc | 155 | py | Python | loldib/getratings/models/NA/na_karthus/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_karthus/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_karthus/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_karthus_top import *
from .na_karthus_jng import *
from .na_karthus_mid import *
from .na_karthus_bot import *
from .na_karthus_sup import *
| 25.833333 | 30 | 0.774194 | 25 | 155 | 4.4 | 0.36 | 0.272727 | 0.590909 | 0.690909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 155 | 5 | 31 | 31 | 0.846154 | 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 |
ae97629227ece93e21b60be2a509a62cbed5a34e | 26,337 | py | Python | resources/features/selected/0_False_LinearSVC-1486292275.065055-NAMES.py | Rostlab/LocText | 3871f860a5a68c192fadca3f9a9af9e7df3f2887 | [
"Apache-2.0"
] | 4 | 2017-06-18T06:39:35.000Z | 2019-02-19T02:54:32.000Z | resources/features/selected/0_False_LinearSVC-1486292275.065055-NAMES.py | juanmirocks/LocText | 3871f860a5a68c192fadca3f9a9af9e7df3f2887 | [
"Apache-2.0"
] | 35 | 2016-10-22T12:30:30.000Z | 2017-03-25T09:58:43.000Z | resources/features/selected/0_False_LinearSVC-1486292275.065055-NAMES.py | juanmirocks/LocText | 3871f860a5a68c192fadca3f9a9af9e7df3f2887 | [
"Apache-2.0"
] | 2 | 2017-12-19T14:54:07.000Z | 2019-12-10T01:23:30.000Z | [
"SentenceFeatureGenerator::1.1_counts_individual_int_individual_e_1_[0]", # 0
"SentenceFeatureGenerator::1.1_counts_individual_int_individual_e_3_[0]", # 1
"SentenceFeatureGenerator::3_order_[0]", # 2
"DependencyFeatureGenerator::19_LD_pos_N_gram_LD_1_<NOUN>_[0]", # 3
"DependencyFeatureGenerat... | 86.35082 | 110 | 0.740707 | 3,706 | 26,337 | 4.594711 | 0.119266 | 0.086916 | 0.069063 | 0.164729 | 0.817653 | 0.812838 | 0.812838 | 0.812838 | 0.575112 | 0.259925 | 0 | 0.086977 | 0.11687 | 26,337 | 304 | 111 | 86.634868 | 0.645127 | 0.041652 | 0 | 0 | 0 | 0 | 0.878734 | 0.721819 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.009868 | 0.003289 | 0 | 0.003289 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8823423585f46e0b19984a2d049be4d520527451 | 1,003 | py | Python | zip_test.py | benhunter/cryptopals | 0d75634639381f198cf5938e7a3bb6f4e578ae18 | [
"MIT"
] | null | null | null | zip_test.py | benhunter/cryptopals | 0d75634639381f198cf5938e7a3bb6f4e578ae18 | [
"MIT"
] | null | null | null | zip_test.py | benhunter/cryptopals | 0d75634639381f198cf5938e7a3bb6f4e578ae18 | [
"MIT"
] | null | null | null | from itertools import zip_longest
one = b"abcdefghijklmnop"
two = b"1234567890"
zipped_list_of_tuples = zip_longest(one, two)
print(zipped_list_of_tuples)
print(list(zipped_list_of_tuples))
# print(list(zip(*zip(one, two)))) # unzips
# print(bytes(list(zip(*zip(one, two)))))
zipped_list_of_tuples = zip_longest(one,... | 20.469388 | 52 | 0.656032 | 160 | 1,003 | 3.9125 | 0.1625 | 0.14377 | 0.172524 | 0.258786 | 0.920128 | 0.875399 | 0.734824 | 0.734824 | 0.626198 | 0.626198 | 0 | 0.03856 | 0.224327 | 1,003 | 48 | 53 | 20.895833 | 0.766067 | 0.098704 | 0 | 0.918919 | 0 | 0 | 0.113586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 0.243243 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8840905e2cf67655ec2fef312205a821ac84223f | 5,331 | py | Python | rorapi/tests_integration/tests_search.py | jjshoe/ror-api | 8bcd1afcabe76094b69787eb1990b4b19ee94dd7 | [
"MIT"
] | 29 | 2019-02-11T12:14:16.000Z | 2022-01-31T18:10:29.000Z | rorapi/tests_integration/tests_search.py | jjshoe/ror-api | 8bcd1afcabe76094b69787eb1990b4b19ee94dd7 | [
"MIT"
] | 144 | 2019-01-07T11:08:33.000Z | 2022-03-28T18:43:24.000Z | rorapi/tests_integration/tests_search.py | jjshoe/ror-api | 8bcd1afcabe76094b69787eb1990b4b19ee94dd7 | [
"MIT"
] | 8 | 2019-12-10T12:03:45.000Z | 2021-04-10T17:34:34.000Z | import os
import requests
from django.test import SimpleTestCase
BASE_URL = '{}/organizations'.format(
os.environ.get('ROR_BASE_URL', 'http://localhost'))
class QueryTestCase(SimpleTestCase):
def test_exact(self):
items = requests.get(BASE_URL, {
'query': 'Centro Universitário do Maranhã... | 39.198529 | 79 | 0.587507 | 575 | 5,331 | 5.325217 | 0.102609 | 0.045722 | 0.094056 | 0.11757 | 0.927825 | 0.927825 | 0.927825 | 0.917374 | 0.917374 | 0.917374 | 0 | 0.033507 | 0.244232 | 5,331 | 135 | 80 | 39.488889 | 0.726483 | 0 | 0 | 0.769912 | 0 | 0 | 0.323391 | 0.02251 | 0 | 0 | 0 | 0 | 0.318584 | 1 | 0.079646 | false | 0 | 0.026549 | 0 | 0.123894 | 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 |
884ed9d2912f4e797818412876feea196dd27e10 | 2,208 | py | Python | 12 - Loops/quiz.py | kuyesu/Scripting-With-Python-BIT-II | d2fd4fa1eb49f48de8a5492a20253cd91b38e826 | [
"MIT"
] | 1 | 2022-02-21T10:03:47.000Z | 2022-02-21T10:03:47.000Z | 12 - Loops/quiz.py | kuyesu/Scripting-With-Python-BIT-II | d2fd4fa1eb49f48de8a5492a20253cd91b38e826 | [
"MIT"
] | null | null | null | 12 - Loops/quiz.py | kuyesu/Scripting-With-Python-BIT-II | d2fd4fa1eb49f48de8a5492a20253cd91b38e826 | [
"MIT"
] | 1 | 2022-02-02T11:02:24.000Z | 2022-02-02T11:02:24.000Z | question = "What color are apples?\n(a) Red\n(b) Purple\n(c) Orange\n(d) Yellow"
answer = "b"
attempt = 3
while attempt <= 3:
print(question)
guess = input()
if guess == answer:
print("Correct!")
break
else:
print("Incorrect!")
print(f"You have only {attempt-1}/3")
... | 28.675325 | 80 | 0.564764 | 392 | 2,208 | 3.181122 | 0.127551 | 0.137129 | 0.182839 | 0.091419 | 0.74579 | 0.74579 | 0.74579 | 0.74579 | 0.74579 | 0.74579 | 0 | 0.00472 | 0.232337 | 2,208 | 76 | 81 | 29.052632 | 0.730973 | 0 | 0 | 0.646154 | 0 | 0.292308 | 0.63208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.123077 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
88695602872670039e66608bf993ff3c29048e27 | 229 | py | Python | bitmovin_api_sdk/encoding/inputs/redundant_rtmp/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/inputs/redundant_rtmp/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/inputs/redundant_rtmp/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.inputs.redundant_rtmp.redundant_rtmp_api import RedundantRtmpApi
from bitmovin_api_sdk.encoding.inputs.redundant_rtmp.redundant_rtmp_input_list_query_params import RedundantRtmpInputListQueryParams
| 76.333333 | 132 | 0.930131 | 29 | 229 | 6.896552 | 0.517241 | 0.26 | 0.15 | 0.18 | 0.58 | 0.58 | 0.58 | 0.58 | 0.58 | 0.58 | 0 | 0 | 0.034935 | 229 | 2 | 133 | 114.5 | 0.904977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
8878912df62d7e38e1dfefad38fff75a8d381b01 | 23,849 | py | Python | clks/utils/stream.py | cjliux/mdst.c2f | 5617624b25ddaa11ffbc07401d3fe0276ca220d5 | [
"BSD-3-Clause"
] | 2 | 2020-07-17T12:12:35.000Z | 2020-09-12T14:28:55.000Z | clks/utils/stream.py | cjliux/mdst.c2f | 5617624b25ddaa11ffbc07401d3fe0276ca220d5 | [
"BSD-3-Clause"
] | null | null | null | clks/utils/stream.py | cjliux/mdst.c2f | 5617624b25ddaa11ffbc07401d3fe0276ca220d5 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
"""
By cjliux@gmail.com at 2018-08-19 22:10:16
"""
import os
import torch
import numpy as np
def default_collate_fn(batch_data):
assert isinstance(batch_data, list) and len(batch_data) > 0
if isinstance(batch_data[0], dict):
new_batch_data = {}
for k in batch_data[0].keys(... | 35.175516 | 94 | 0.596042 | 3,008 | 23,849 | 4.397606 | 0.053191 | 0.062292 | 0.065316 | 0.072573 | 0.906789 | 0.878062 | 0.855383 | 0.837995 | 0.831116 | 0.824463 | 0 | 0.00525 | 0.313095 | 23,849 | 678 | 95 | 35.175516 | 0.802222 | 0.078829 | 0 | 0.853229 | 0 | 0 | 0.062799 | 0 | 0 | 0 | 0 | 0.0059 | 0.001957 | 1 | 0.117417 | false | 0 | 0.005871 | 0.033268 | 0.223092 | 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 |
888d0dc367462e6fd8965ca75d3c3436ba4599d9 | 78 | py | Python | carbonserver/carbonserver/api/infra/api_key_service.py | nikhil153/codecarbon | b3cc0cc29abd4b82e39699695d535351e86f1ec0 | [
"MIT"
] | 346 | 2020-11-11T02:27:03.000Z | 2022-03-30T12:43:21.000Z | carbonserver/carbonserver/api/infra/api_key_service.py | nikhil153/codecarbon | b3cc0cc29abd4b82e39699695d535351e86f1ec0 | [
"MIT"
] | 163 | 2020-11-10T18:57:38.000Z | 2022-03-30T14:44:53.000Z | carbonserver/carbonserver/api/infra/api_key_service.py | nikhil153/codecarbon | b3cc0cc29abd4b82e39699695d535351e86f1ec0 | [
"MIT"
] | 57 | 2020-11-11T02:26:15.000Z | 2022-03-30T14:36:39.000Z | import secrets
def generate_api_key():
return secrets.token_urlsafe(16)
| 13 | 36 | 0.769231 | 11 | 78 | 5.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.153846 | 78 | 5 | 37 | 15.6 | 0.833333 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 7 |
88aa7b76a4a9c5ccc4ca165ccbaff8868262c9e4 | 60 | py | Python | tests/testdata/complex-dist/complexdist/__init__.py | hugovk/wheel | 0e07002ac82efa883061ac91c476d057b8d4d20d | [
"MIT"
] | null | null | null | tests/testdata/complex-dist/complexdist/__init__.py | hugovk/wheel | 0e07002ac82efa883061ac91c476d057b8d4d20d | [
"MIT"
] | null | null | null | tests/testdata/complex-dist/complexdist/__init__.py | hugovk/wheel | 0e07002ac82efa883061ac91c476d057b8d4d20d | [
"MIT"
] | null | null | null | from __future__ import annotations
def main():
return
| 10 | 34 | 0.733333 | 7 | 60 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 60 | 5 | 35 | 12 | 0.851064 | 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 |
ee3a13b1a4201d2dab199f3c2c8dc91e143e0056 | 5,880 | py | Python | relativeEKF.py | shushuai3/multi-robot-localization | 9d7b45979cc21ea11def44e7bc51613e7599a768 | [
"MIT"
] | 8 | 2021-08-18T15:03:26.000Z | 2022-03-18T20:43:42.000Z | relativeEKF.py | shushuai3/multi-robot-localization | 9d7b45979cc21ea11def44e7bc51613e7599a768 | [
"MIT"
] | null | null | null | relativeEKF.py | shushuai3/multi-robot-localization | 9d7b45979cc21ea11def44e7bc51613e7599a768 | [
"MIT"
] | 6 | 2020-03-26T14:21:39.000Z | 2022-01-13T22:14:14.000Z | import numpy as np
class EKFonSimData:
def __init__(self, Pxy, Pr, Qxy, Qr, Rd, numRob):
self.Pxy = Pxy
self.Pr = Pr
self.Qxy = Qxy
self.Qr = Qr
self.Rd = Rd
self.numRob = numRob
self.Pmatrix = np.zeros((3, 3, self.numRob, self.numRob))
for i in range... | 54.953271 | 108 | 0.467347 | 769 | 5,880 | 3.563069 | 0.158648 | 0.018248 | 0.043796 | 0.037226 | 0.887591 | 0.876642 | 0.852555 | 0.837226 | 0.837226 | 0.805109 | 0 | 0.02435 | 0.385374 | 5,880 | 107 | 109 | 54.953271 | 0.733813 | 0.103912 | 0 | 0.817204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043011 | false | 0 | 0.010753 | 0 | 0.096774 | 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 |
4e48949e778f23da5ab15118f0c84aecfe51c57b | 140 | py | Python | onthefly/backend/twelvefactor_backend.py | jayvdb/onthefly | b7442e96df44252ad7a68e679b109afb30fbb6a0 | [
"MIT"
] | 23 | 2016-12-26T05:40:02.000Z | 2021-11-15T09:52:25.000Z | onthefly/backend/twelvefactor_backend.py | jayvdb/onthefly | b7442e96df44252ad7a68e679b109afb30fbb6a0 | [
"MIT"
] | 4 | 2017-01-02T21:40:28.000Z | 2020-06-01T18:14:53.000Z | onthefly/backend/twelvefactor_backend.py | jayvdb/onthefly | b7442e96df44252ad7a68e679b109afb30fbb6a0 | [
"MIT"
] | 13 | 2016-12-29T00:29:35.000Z | 2021-01-13T07:58:20.000Z | from onthefly.backend import BaseBackend
class TwelveFactorBackend(BaseBackend):
pass
# todo implement here using os environments
| 20 | 47 | 0.792857 | 15 | 140 | 7.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 140 | 6 | 48 | 23.333333 | 0.956897 | 0.292857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
4e6900ef52c148dd61c765be464a99296bc70674 | 9,966 | py | Python | ticket_office_service/test_ticket_office.py | youarhache/katas-TrainReservation | c0f3f48acdee527bfe59cbf236530e0dc095b69a | [
"MIT"
] | null | null | null | ticket_office_service/test_ticket_office.py | youarhache/katas-TrainReservation | c0f3f48acdee527bfe59cbf236530e0dc095b69a | [
"MIT"
] | null | null | null | ticket_office_service/test_ticket_office.py | youarhache/katas-TrainReservation | c0f3f48acdee527bfe59cbf236530e0dc095b69a | [
"MIT"
] | null | null | null | from unittest.mock import patch
from ticket_office import TicketOffice, Reservation
from train_services_adapters import Seat
@patch("ticket_office.BookingReferenceClient")
@patch("ticket_office.TrainDataAdapter")
def test_should_return_none_when_reserve_0_seat(
mock_train_data_adapter, mock_booking_ref_adapter
):... | 44.690583 | 88 | 0.751856 | 1,306 | 9,966 | 5.287136 | 0.064319 | 0.134395 | 0.101665 | 0.081101 | 0.947864 | 0.945836 | 0.940623 | 0.924113 | 0.912238 | 0.912238 | 0 | 0.029095 | 0.134357 | 9,966 | 222 | 89 | 44.891892 | 0.771299 | 0 | 0 | 0.710526 | 0 | 0 | 0.104756 | 0.05298 | 0 | 0 | 0 | 0 | 0.194737 | 1 | 0.042105 | false | 0 | 0.015789 | 0 | 0.057895 | 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 |
4eba67f9a3dabb7b4a14f8d235fe7d9c8ad3acda | 3,767 | py | Python | tests/test_provider_terraform_provider_graylog_graylog.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_terraform_provider_graylog_graylog.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_terraform_provider_graylog_graylog.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_terraform-provider-graylog_graylog.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:17:31 UTC)
def test_provider_import():
import terrascript.provider.terraform_provider_graylog.graylog
def test_resource_import():
from terrascript.resource.terraform_provider_graylog.gr... | 31.655462 | 93 | 0.779666 | 410 | 3,767 | 6.860976 | 0.214634 | 0.211518 | 0.298614 | 0.363669 | 0.817988 | 0.804124 | 0.786349 | 0.741913 | 0.741913 | 0.495201 | 0 | 0.00476 | 0.163525 | 3,767 | 118 | 94 | 31.923729 | 0.887972 | 0.15158 | 0 | 0.26087 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0 | 1 | 0.043478 | true | 0 | 0.478261 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 12 |
14d3acde59173dd2677ec191ff360b0103fc98f9 | 6,939 | py | Python | tests/test_menu.py | coosoti/Osoti-Small | ccd147768aeae234eb45bf0a78257aafc3a8a16f | [
"MIT"
] | null | null | null | tests/test_menu.py | coosoti/Osoti-Small | ccd147768aeae234eb45bf0a78257aafc3a8a16f | [
"MIT"
] | 2 | 2018-04-26T17:14:47.000Z | 2018-04-30T12:04:14.000Z | tests/test_menu.py | coosoti/Osoti-Small | ccd147768aeae234eb45bf0a78257aafc3a8a16f | [
"MIT"
] | null | null | null | """Testing the Menu Class"""
import datetime
import uuid
from flask import json
from api.models.models import Meal
from tests.main import MainTestCase
sample_admin = {'username': 'victorvenosa',
'email': 'osoticharles@gmail.com',
'designation': 'caterer',
'password': 'ku... | 38.55 | 85 | 0.510592 | 680 | 6,939 | 5.117647 | 0.138235 | 0.05977 | 0.093103 | 0.108621 | 0.866667 | 0.856322 | 0.844828 | 0.844828 | 0.844828 | 0.844828 | 0 | 0.015504 | 0.36792 | 6,939 | 179 | 86 | 38.765363 | 0.77793 | 0.035884 | 0 | 0.8 | 0 | 0 | 0.164139 | 0.006608 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.025 | false | 0.01875 | 0.03125 | 0 | 0.0625 | 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 |
09620bec9f1f6fb2134a113bb7415380cd191bbd | 12,971 | py | Python | tests/test_binary.py | escherba/clustering-metrics | 92c8d88837c697ba550b5e76017a9b5556c364f6 | [
"BSD-3-Clause"
] | 7 | 2017-01-11T22:50:48.000Z | 2022-01-21T17:45:24.000Z | tests/test_binary.py | escherba/clustering-metrics | 92c8d88837c697ba550b5e76017a9b5556c364f6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_binary.py | escherba/clustering-metrics | 92c8d88837c697ba550b5e76017a9b5556c364f6 | [
"BSD-3-Clause"
] | 5 | 2016-09-13T19:58:09.000Z | 2019-11-19T07:26:20.000Z | import numpy as np
from nose.tools import assert_almost_equal, assert_true
from clustering_metrics.metrics import ConfusionMatrix2
def test_0000():
m = (0, 0, 0, 0)
cm = ConfusionMatrix2.from_ccw(*m)
assert_almost_equal(cm.chisq_score(), 0.0, 4)
assert_almost_equal(cm.g_score(), 0.0, 4)
assert_tr... | 36.030556 | 57 | 0.677126 | 2,291 | 12,971 | 3.532519 | 0.030554 | 0.330656 | 0.46843 | 0.493019 | 0.965896 | 0.956506 | 0.941554 | 0.941554 | 0.938589 | 0.938589 | 0 | 0.078986 | 0.157659 | 12,971 | 359 | 58 | 36.130919 | 0.661724 | 0 | 0 | 0.800687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.814433 | 1 | 0.054983 | false | 0 | 0.010309 | 0 | 0.065292 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
1185e27cf767bbdc9628b3eeda767b14a802c5b1 | 11,241 | py | Python | specification-elements/code/12-176r7.py | ilkkarinne/NamingAuthority | 62b6372f37790ca24ad6aa4babffc348f9d48a57 | [
"OML"
] | 6 | 2018-09-20T12:50:34.000Z | 2022-01-22T01:18:42.000Z | specification-elements/code/12-176r7.py | ilkkarinne/NamingAuthority | 62b6372f37790ca24ad6aa4babffc348f9d48a57 | [
"OML"
] | 139 | 2018-09-06T20:16:56.000Z | 2022-03-28T06:14:03.000Z | specification-elements/code/12-176r7.py | ilkkarinne/NamingAuthority | 62b6372f37790ca24ad6aa4babffc348f9d48a57 | [
"OML"
] | 13 | 2018-09-27T04:46:42.000Z | 2021-09-15T14:34:35.000Z | # OGC Catalogue Services 3.0 Specification - HTTP Protocol Binding
identifier = "12-176r7"
specURL = "http://docs.opengeospatial.org/is/12-176r7/12-176r7.html"
fout = open("../mappings/"+identifier+".csv","w") # output file
elementList = []
confClasses = ['Basic-Catalogue','OpenSearch','GetCapabilities-XML','GetRecordB... | 65.354651 | 491 | 0.648519 | 1,744 | 11,241 | 4.180046 | 0.08945 | 0.020302 | 0.210288 | 0.240329 | 0.916872 | 0.912894 | 0.90823 | 0.89465 | 0.89273 | 0.89273 | 0 | 0.048257 | 0.116982 | 11,241 | 171 | 492 | 65.736842 | 0.686178 | 0.015657 | 0 | 0.518987 | 0 | 0 | 0.53428 | 0.022431 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
119e2d931d6f9b0401ecfa03dd502c5d4fdeb35b | 157 | py | Python | instascrape/scrapers/__init__.py | Paola351/instascrape | b4a50c9140fa9054187738f6d1564cecc32cbaab | [
"MIT"
] | null | null | null | instascrape/scrapers/__init__.py | Paola351/instascrape | b4a50c9140fa9054187738f6d1564cecc32cbaab | [
"MIT"
] | null | null | null | instascrape/scrapers/__init__.py | Paola351/instascrape | b4a50c9140fa9054187738f6d1564cecc32cbaab | [
"MIT"
] | null | null | null | from .hashtag import *
from .http_error_page import *
from .landing_page import *
from .login_page import *
from .post import *
from .profile import *
| 22.428571 | 31 | 0.732484 | 22 | 157 | 5.045455 | 0.454545 | 0.45045 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191083 | 157 | 6 | 32 | 26.166667 | 0.874016 | 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 |
e103a4a15c89858d4117c2c134b7e79e7db36271 | 174 | py | Python | api/test_util.py | stephanos/subtitlevocabulary | f452d7f35468912fe3967cfcf81c8f65cab345ec | [
"MIT"
] | 19 | 2017-04-20T00:57:36.000Z | 2018-01-06T10:47:38.000Z | api/test_util.py | stephanos/subtitlevocabulary | f452d7f35468912fe3967cfcf81c8f65cab345ec | [
"MIT"
] | null | null | null | api/test_util.py | stephanos/subtitlevocabulary | f452d7f35468912fe3967cfcf81c8f65cab345ec | [
"MIT"
] | 3 | 2018-01-01T06:27:48.000Z | 2020-04-09T17:21:28.000Z | class JSONResponse:
def __init__(self, status_code, body):
self.status_code = status_code
self.body = body
def json(self):
return self.body
| 19.333333 | 42 | 0.632184 | 22 | 174 | 4.681818 | 0.454545 | 0.291262 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287356 | 174 | 8 | 43 | 21.75 | 0.830645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
e10bf79dcdbde66eb49c5f88e475aa73c1f5a759 | 151 | py | Python | fugue/workflow/__init__.py | WangCHX/fugue | bb9758d23b0041d4ed00f6195f317d097a9dd683 | [
"Apache-2.0"
] | null | null | null | fugue/workflow/__init__.py | WangCHX/fugue | bb9758d23b0041d4ed00f6195f317d097a9dd683 | [
"Apache-2.0"
] | null | null | null | fugue/workflow/__init__.py | WangCHX/fugue | bb9758d23b0041d4ed00f6195f317d097a9dd683 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from fugue.workflow.workflow import FugueWorkflow, WorkflowDataFrame
from fugue.workflow._workflow_context import FugueWorkflowContext
| 30.2 | 68 | 0.86755 | 16 | 151 | 8.0625 | 0.625 | 0.139535 | 0.263566 | 0.387597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.086093 | 151 | 4 | 69 | 37.75 | 0.927536 | 0.07947 | 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 |
e11a41ba924c8b8ab8b15c33ee88ee95423e64b9 | 33,720 | py | Python | tests/test_modules/test_pmac/test_beamselectorpart.py | thomascobb/pymalcolm | 801f8fe6217c0c028b5edc87fa0aef9d60b91d9d | [
"Apache-2.0"
] | null | null | null | tests/test_modules/test_pmac/test_beamselectorpart.py | thomascobb/pymalcolm | 801f8fe6217c0c028b5edc87fa0aef9d60b91d9d | [
"Apache-2.0"
] | null | null | null | tests/test_modules/test_pmac/test_beamselectorpart.py | thomascobb/pymalcolm | 801f8fe6217c0c028b5edc87fa0aef9d60b91d9d | [
"Apache-2.0"
] | null | null | null | import shutil
import pytest
from mock import call
from scanpointgenerator import CompoundGenerator, LineGenerator, StaticPointGenerator
from malcolm.core import Context, Process
from malcolm.modules.builtin.defines import tmp_dir
from malcolm.modules.pmac.parts import BeamSelectorPart
from malcolm.modules.pmac.util i... | 34.026236 | 88 | 0.553292 | 3,401 | 33,720 | 5.221111 | 0.079388 | 0.056091 | 0.051811 | 0.034972 | 0.852622 | 0.839049 | 0.816241 | 0.799572 | 0.777271 | 0.76888 | 0 | 0.05962 | 0.353855 | 33,720 | 990 | 89 | 34.060606 | 0.75537 | 0.045047 | 0 | 0.735593 | 0 | 0 | 0.044306 | 0.000871 | 0 | 0 | 0 | 0 | 0.047458 | 1 | 0.022599 | false | 0.00113 | 0.012429 | 0.00113 | 0.037288 | 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 |
01544d6218156c156c230e098b1660ae3021c2da | 2,286 | py | Python | 01/part1.py | tbjoern/adventofcode2017 | f1d596f159701b88120aa9059a2a0eeada4df07d | [
"MIT"
] | null | null | null | 01/part1.py | tbjoern/adventofcode2017 | f1d596f159701b88120aa9059a2a0eeada4df07d | [
"MIT"
] | null | null | null | 01/part1.py | tbjoern/adventofcode2017 | f1d596f159701b88120aa9059a2a0eeada4df07d | [
"MIT"
] | null | null | null | input = "56729875333539561996296839415645286462625671174334615477477939283229586467798324846891741519182615516892217561655988984287367821945116278293557184937239613232721364525179874713513818819468835282486116112586561998129986326826687496835885153629469944158523371967184762191621249788365373489245919571888279297534178... | 254 | 2,109 | 0.961942 | 32 | 2,286 | 68.65625 | 0.5 | 0.010924 | 0.010014 | 0.014565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.939624 | 0.021872 | 2,286 | 9 | 2,110 | 254 | 0.042934 | 0 | 0 | 0 | 0 | 0 | 0.920579 | 0.920579 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6d734f1d3b1a5335b33df563da8c1472c7c720b6 | 142,260 | py | Python | bin/temp/var/usd/cd/tmp/usd/data/data/data/data/data/temp/pinterest.py | RazorKenway/All-Downloader | e1c6d9ee277166faff8876e967b521fd752f0e7f | [
"MIT"
] | 44 | 2021-06-28T15:57:18.000Z | 2022-03-22T07:36:13.000Z | bin/temp/var/usd/cd/tmp/usd/data/data/data/data/data/temp/pinterest.py | RazorKenway/All-Downloader | e1c6d9ee277166faff8876e967b521fd752f0e7f | [
"MIT"
] | 1 | 2021-11-26T13:28:10.000Z | 2022-01-10T21:23:41.000Z | bin/temp/var/usd/cd/tmp/usd/data/data/data/data/data/temp/pinterest.py | RazorKenway/All-Downloader | e1c6d9ee277166faff8876e967b521fd752f0e7f | [
"MIT"
] | 5 | 2021-08-23T17:34:56.000Z | 2022-02-25T19:23:59.000Z | #ENCODE BY CRYPTO
#YOU CAN TRY THIS DECODE GOD BLESS
import gzip,marshal,zlib,base64,binascii,lzma
try:
exec(gzip.decompress(marshal.loads(b's\xb5\xc1\x00\x00\x1f\x8b\x08\x00\xf4\x86\x98a\x02\xffl}i_\xd4^\xb0\xf4\xfb\xfb)\x04\x04Y\x04\x93\xc9$9Q\x16\x15e\x11Q\\@\x11\\r\xb2\xb0\x83\x02\xb2\x08\xf2\xd9\xefTu\x1d\xe7\x... | 12,932.727273 | 142,101 | 0.733959 | 32,699 | 142,260 | 3.186886 | 0.179975 | 0.000461 | 0.000173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230504 | 0.00142 | 142,260 | 11 | 142,102 | 12,932.727273 | 0.503055 | 0.000344 | 0 | 0 | 0 | 24 | 0.634695 | 0.633071 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6db058336f09ca6fed5f8567f60965ab393fa081 | 1,103 | py | Python | django_dicom/models/networking/logging.py | ZviBaratz/django-dicom | fc5d5443ebcab9af9705a2e81c58662789a34c62 | [
"Apache-2.0"
] | 8 | 2018-12-25T11:00:31.000Z | 2022-02-03T12:05:56.000Z | django_dicom/models/networking/logging.py | ZviBaratz/django-dicom | fc5d5443ebcab9af9705a2e81c58662789a34c62 | [
"Apache-2.0"
] | 49 | 2019-09-04T11:36:00.000Z | 2022-03-20T12:33:04.000Z | django_dicom/models/networking/logging.py | ZviBaratz/django-dicom | fc5d5443ebcab9af9705a2e81c58662789a34c62 | [
"Apache-2.0"
] | 4 | 2019-06-23T18:09:07.000Z | 2019-08-30T15:43:18.000Z | import logging
from django_dicom.models.networking import messages
logger = logging.getLogger("data.dicom.networking")
def log_c_store_received(level=logging.DEBUG) -> None:
message = messages.C_STORE_RECEIVED
logger.log(level, message)
def log_dataset_saved(file_name: str, level=logging.DEBUG) -> None:
... | 30.638889 | 75 | 0.770626 | 160 | 1,103 | 5.04375 | 0.20625 | 0.148699 | 0.126394 | 0.156134 | 0.807931 | 0.807931 | 0.729864 | 0.729864 | 0.729864 | 0.671623 | 0 | 0 | 0.122393 | 1,103 | 35 | 76 | 31.514286 | 0.833678 | 0 | 0 | 0.285714 | 0 | 0 | 0.019039 | 0.019039 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.571429 | 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 |
114bd8d8e74cd62e842df2efad3a3e6556a66e77 | 21,241 | py | Python | devilry/devilry_cradmin/tests/test_devilry_listfilter/test_assignmentgroup_listfilter.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/devilry_cradmin/tests/test_devilry_listfilter/test_assignmentgroup_listfilter.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/devilry_cradmin/tests/test_devilry_listfilter/test_assignmentgroup_listfilter.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | from django import test
from model_bakery import baker
from devilry.apps.core.models import AssignmentGroup
from devilry.devilry_dbcache.customsql import AssignmentGroupDbCacheCustomSql
from devilry.devilry_cradmin.devilry_listfilter.assignmentgroup import ExaminerCountFilter, CandidateCountFilter
class TestExamine... | 53.235589 | 112 | 0.738854 | 2,674 | 21,241 | 5.551608 | 0.029544 | 0.154126 | 0.189694 | 0.184304 | 0.951566 | 0.946581 | 0.942337 | 0.874032 | 0.874032 | 0.850926 | 0 | 0.018343 | 0.165858 | 21,241 | 398 | 113 | 53.369347 | 0.819506 | 0 | 0 | 0.774286 | 0 | 0 | 0.01031 | 0 | 0 | 0 | 0 | 0 | 0.58 | 1 | 0.125714 | false | 0 | 0.014286 | 0 | 0.157143 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
fefa5f350fb55fd2249b40160a82f93844f1f85c | 1,667 | py | Python | test/test_modify_group.py | oc4kxb/python_training | 69ad23a6e2afa56f0ee5ff8fe4d49f6ab073962a | [
"Apache-2.0"
] | null | null | null | test/test_modify_group.py | oc4kxb/python_training | 69ad23a6e2afa56f0ee5ff8fe4d49f6ab073962a | [
"Apache-2.0"
] | null | null | null | test/test_modify_group.py | oc4kxb/python_training | 69ad23a6e2afa56f0ee5ff8fe4d49f6ab073962a | [
"Apache-2.0"
] | null | null | null | import random
from model.group import Group
def test_modify_group_name(app, db, check_ui, data_groups):
if len(db.get_groups_list()) == 0:
app.group.create(data_groups)
old_groups = db.get_groups_list()
group = random.choice(old_groups)
group.name = "EditedName"
app.group.modify(group)
... | 39.690476 | 114 | 0.718656 | 268 | 1,667 | 4.145522 | 0.130597 | 0.09721 | 0.140414 | 0.129613 | 0.891089 | 0.891089 | 0.891089 | 0.891089 | 0.891089 | 0.891089 | 0 | 0.002143 | 0.160168 | 1,667 | 41 | 115 | 40.658537 | 0.791429 | 0 | 0 | 0.771429 | 0 | 0 | 0.020396 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.085714 | false | 0 | 0.057143 | 0 | 0.142857 | 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 |
3a06df79d1273e3393768cb19d1663992cc83b2f | 8,398 | py | Python | hrwros_ws/devel/.private/hrwros_msgs/lib/python2.7/dist-packages/hrwros_msgs/srv/_ConvertMetresToFeet.py | AshfakYeafi/ros | 7895302251088b7945e359f60a9c617e5170a72e | [
"MIT"
] | null | null | null | hrwros_ws/devel/.private/hrwros_msgs/lib/python2.7/dist-packages/hrwros_msgs/srv/_ConvertMetresToFeet.py | AshfakYeafi/ros | 7895302251088b7945e359f60a9c617e5170a72e | [
"MIT"
] | null | null | null | hrwros_ws/devel/.private/hrwros_msgs/lib/python2.7/dist-packages/hrwros_msgs/srv/_ConvertMetresToFeet.py | AshfakYeafi/ros | 7895302251088b7945e359f60a9c617e5170a72e | [
"MIT"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from hrwros_msgs/ConvertMetresToFeetRequest.msg. Do not edit."""
import codecs
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class ConvertMetresToFeetRequest(genpy.Message):
_md5sum = "9c... | 34.846473 | 145 | 0.678971 | 1,117 | 8,398 | 4.921218 | 0.149508 | 0.012734 | 0.024741 | 0.027651 | 0.80262 | 0.80262 | 0.80262 | 0.80262 | 0.80262 | 0.80262 | 0 | 0.015568 | 0.212193 | 8,398 | 240 | 146 | 34.991667 | 0.815296 | 0.291379 | 0 | 0.758621 | 1 | 0 | 0.133802 | 0.036737 | 0 | 0 | 0.003602 | 0 | 0 | 1 | 0.110345 | false | 0 | 0.055172 | 0 | 0.365517 | 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 |
3abefd360896c2c57f6387256de13e37952a314e | 9,229 | py | Python | decision reasoning/profiling report/temp_list/div.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | 1 | 2022-01-18T01:53:34.000Z | 2022-01-18T01:53:34.000Z | decision reasoning/profiling report/temp_list/div.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | decision reasoning/profiling report/temp_list/div.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | def input_query_div(cnt_create, attributes, tasks, visType):
div = '''
<div id="vis''' + str(cnt_create) + '''" style="display: flex; height: 250px; margin-bottom: 5px; border: 3px solid #74788D;">
<div id="list">
<table>
<tr>
<th... | 82.401786 | 285 | 0.477842 | 988 | 9,229 | 4.409919 | 0.106275 | 0.050493 | 0.082626 | 0.037182 | 0.889603 | 0.829699 | 0.829699 | 0.812256 | 0.809502 | 0.787239 | 0 | 0.077288 | 0.336873 | 9,229 | 112 | 286 | 82.401786 | 0.634641 | 0 | 0 | 0.545455 | 0 | 0.309091 | 0.829916 | 0.024016 | 0.081818 | 0 | 0 | 0 | 0 | 1 | 0.027273 | false | 0 | 0 | 0 | 0.054545 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3af504c9ba6518ba7b8d88470e1b466993b530a1 | 100 | py | Python | models/__init__.py | gaotianyu1350/new_fewrel_bertpair | 27184050d476fc93576948fb26680d508a2824bb | [
"MIT"
] | 81 | 2018-10-31T07:54:27.000Z | 2022-03-02T09:43:14.000Z | models/__init__.py | gaotianyu1350/new_fewrel_bertpair | 27184050d476fc93576948fb26680d508a2824bb | [
"MIT"
] | null | null | null | models/__init__.py | gaotianyu1350/new_fewrel_bertpair | 27184050d476fc93576948fb26680d508a2824bb | [
"MIT"
] | 18 | 2018-11-23T14:31:27.000Z | 2022-02-09T09:46:00.000Z | from models import proto
from models import snail
from models import gnn
from models import metanet
| 20 | 26 | 0.84 | 16 | 100 | 5.25 | 0.4375 | 0.47619 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 4 | 27 | 25 | 1 | 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 |
c901cacdc894a90d29055c2ece8ae045664363ed | 102 | py | Python | chainer/dataset/tabular/__init__.py | tkerola/chainer | 572f6eef2c3f1470911ac08332c2b5c3440edf44 | [
"MIT"
] | null | null | null | chainer/dataset/tabular/__init__.py | tkerola/chainer | 572f6eef2c3f1470911ac08332c2b5c3440edf44 | [
"MIT"
] | null | null | null | chainer/dataset/tabular/__init__.py | tkerola/chainer | 572f6eef2c3f1470911ac08332c2b5c3440edf44 | [
"MIT"
] | null | null | null | from chainer.dataset.tabular import as_mode # NOQA
from chainer.dataset.tabular import slice # NOQA
| 34 | 51 | 0.803922 | 15 | 102 | 5.4 | 0.6 | 0.271605 | 0.444444 | 0.617284 | 0.765432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 102 | 2 | 52 | 51 | 0.920455 | 0.088235 | 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 |
c925c951d0a96c979573907debaf9e6aec5ad76d | 19,792 | py | Python | l0bnb/proximal/atoms.py | jonathan-taylor/l0bnb | 0c2beef67b92861ec51bc3514d485eabad43c611 | [
"MIT"
] | null | null | null | l0bnb/proximal/atoms.py | jonathan-taylor/l0bnb | 0c2beef67b92861ec51bc3514d485eabad43c611 | [
"MIT"
] | null | null | null | l0bnb/proximal/atoms.py | jonathan-taylor/l0bnb | 0c2beef67b92861ec51bc3514d485eabad43c611 | [
"MIT"
] | null | null | null | import numpy as np
from regreg.atoms import atom, _work_out_conjugate, affine_atom
from regreg.objdoctemplates import objective_doc_templater
from regreg.doctemplates import doc_template_user
from .core import (dual_cost_bound,
dual_cost_lagrange,
primal_cost_bound,
... | 31.168504 | 113 | 0.481103 | 2,001 | 19,792 | 4.471764 | 0.072964 | 0.023245 | 0.02861 | 0.007152 | 0.944569 | 0.939651 | 0.906236 | 0.906236 | 0.906236 | 0.906236 | 0 | 0.010684 | 0.427799 | 19,792 | 634 | 114 | 31.217666 | 0.779426 | 0.103678 | 0 | 0.892774 | 0 | 0.009324 | 0.050131 | 0.014498 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074592 | false | 0 | 0.011655 | 0.009324 | 0.216783 | 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 |
c95abf83fff637a4a40f10ecd134c53bea682241 | 2,123 | py | Python | tensorflow/tempoGAN/example_run_training.py | fabian57fabian/tempoGAN | 5c288ba352a0bb817621e4c5998d9a890612898e | [
"Apache-2.0"
] | 158 | 2018-06-24T17:42:13.000Z | 2022-03-12T13:29:43.000Z | tensorflow/tempoGAN/example_run_training.py | greenty5/tempoGAN | 6ad6c289aac11ffff5e73a8d398f6cd7d848b9cc | [
"Apache-2.0"
] | 5 | 2018-09-05T07:30:48.000Z | 2020-07-01T08:56:28.000Z | tensorflow/tempoGAN/example_run_training.py | greenty5/tempoGAN | 6ad6c289aac11ffff5e73a8d398f6cd7d848b9cc | [
"Apache-2.0"
] | 35 | 2018-06-13T04:05:42.000Z | 2022-03-29T16:55:24.000Z | import os
#os.environ["CUDA_VISIBLE_DEVICES"]="0"
#using density as input of generator, with tempoD
os.system('python tempoGAN.py randSeed 42 out 0 trainingIters 40000 lambda 5.0 lambda2 -0.00001 discRuns 2 genRuns 2 alwaysSave 1 fromSim 1000 toSim 1001 outputInterval 200 genValiImg 1 dataDim 2 batchSize 16 useVelocit... | 141.533333 | 448 | 0.81724 | 358 | 2,123 | 4.740223 | 0.212291 | 0.032999 | 0.032999 | 0.051856 | 0.94284 | 0.94284 | 0.94284 | 0.94284 | 0.91868 | 0.91868 | 0 | 0.121047 | 0.136128 | 2,123 | 14 | 449 | 151.642857 | 0.804253 | 0.142723 | 0 | 0 | 0 | 0.8 | 0.958678 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c95da1a5b5021b5a43a634df69f87a6d26f2b946 | 737,741 | py | Python | intrepid/MT_EMAP_data_interchange_pb2.py | intrepid-geophysics/intrepid-protobuf-py | e01a11e139b0ed3bb9500a8153939d7acfa8b3b4 | [
"Apache-2.0"
] | 1 | 2020-07-08T04:41:52.000Z | 2020-07-08T04:41:52.000Z | intrepid/MT_EMAP_data_interchange_pb2.py | intrepid-geophysics/intrepid-protobuf-py | e01a11e139b0ed3bb9500a8153939d7acfa8b3b4 | [
"Apache-2.0"
] | null | null | null | intrepid/MT_EMAP_data_interchange_pb2.py | intrepid-geophysics/intrepid-protobuf-py | e01a11e139b0ed3bb9500a8153939d7acfa8b3b4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: MT_EMAP_data_interchange.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
f... | 53.49826 | 61,313 | 0.751585 | 103,321 | 737,741 | 5.024371 | 0.011595 | 0.063615 | 0.098491 | 0.076716 | 0.946666 | 0.9143 | 0.895135 | 0.880088 | 0.86372 | 0.848134 | 0 | 0.045336 | 0.12617 | 737,741 | 13,789 | 61,314 | 53.502139 | 0.759931 | 0.010662 | 0 | 0.771878 | 1 | 0.000527 | 0.169937 | 0.143523 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000377 | 0 | 0.000377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a32b1bbf47054e397a96b3fa86e306d77512bfd1 | 223 | py | Python | analysis/semantic/input-generation/generators/ReScue/test/scripts/extractor/__init__.py | VTLeeLab/LinguaFranca-FSE19 | a75bd51713d14aa9b48c32e103a3da500854f518 | [
"MIT"
] | 2 | 2019-09-03T07:00:26.000Z | 2020-01-07T02:24:01.000Z | analysis/performance/vuln-regex-detector/src/detect/src/detectors/shen-ReScue/test/scripts/extractor/__init__.py | SBULeeLab/LinguaFranca-FSE19 | a75bd51713d14aa9b48c32e103a3da500854f518 | [
"MIT"
] | null | null | null | analysis/performance/vuln-regex-detector/src/detect/src/detectors/shen-ReScue/test/scripts/extractor/__init__.py | SBULeeLab/LinguaFranca-FSE19 | a75bd51713d14aa9b48c32e103a3da500854f518 | [
"MIT"
] | 2 | 2020-10-15T16:48:20.000Z | 2020-12-30T12:57:45.000Z | # -*- coding: utf-8 -*-
# from scripts.extractor.java import *
# from scripts.extractor.js import *
# from scripts.extractor.php import *
# from scripts.extractor.python import *
# __all__ = ['java', 'js', 'php', 'python']
| 31.857143 | 43 | 0.67713 | 28 | 223 | 5.25 | 0.428571 | 0.29932 | 0.544218 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.143498 | 223 | 6 | 44 | 37.166667 | 0.764398 | 0.941704 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a34d3f6c84c59d3d589ac98b333b57a7eaa77f87 | 419,212 | py | Python | rl_agents/a3c_agent_v4-156_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | rl_agents/a3c_agent_v4-156_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | rl_agents/a3c_agent_v4-156_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | serialized_string = b'gAN9cQBYEAAAAG1vZGVsX3N0YXRlX2RpY3RxAWNjb2xsZWN0aW9ucwpPcmRlcmVkRGljdApxAilScQMoWCEAAABiYXNlLmxheWVycy4wLm1lc3NhZ2VfcGFzc2luZ19tYXRxBGN0b3JjaC5fdXRpbHMKX3JlYnVpbGRfdGVuc29yX3YyCnEFKGN0b3JjaC5zdG9yYWdlCl9sb2FkX2Zyb21fYnl0ZXMKcQZCPJ0AAIACigps/JxG+SBqqFAZLoACTekDLoACfXEAKFgQAAAAcHJvdG9jb2xfdmVyc2lvbn... | 2,451.532164 | 412,003 | 0.935462 | 25,312 | 419,212 | 15.482459 | 0.056653 | 1.662244 | 2.41379 | 3.112286 | 0.896063 | 0.895277 | 0.894989 | 0.894923 | 0.894923 | 0.894769 | 0 | 0.179847 | 0.004415 | 419,212 | 170 | 412,004 | 2,465.952941 | 0.759129 | 0.001629 | 0 | 0.138462 | 0 | 0.015385 | 0.984698 | 0.984383 | 0 | 1 | 0 | 0.005882 | 0.015385 | 1 | 0.1 | false | 0.015385 | 0.038462 | 0.007692 | 0.246154 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
6e83c3e2d38b73715cf398e0774110956a352ca9 | 7,740 | py | Python | livestyled/tests/test_resource_client_ticket.py | andrelopez/python-sdk | 3c83d4698ecf6b5b59003d20cb26644e0dd77f61 | [
"MIT"
] | null | null | null | livestyled/tests/test_resource_client_ticket.py | andrelopez/python-sdk | 3c83d4698ecf6b5b59003d20cb26644e0dd77f61 | [
"MIT"
] | 1 | 2021-07-09T10:59:21.000Z | 2021-07-09T10:59:21.000Z | livestyled/tests/test_resource_client_ticket.py | andrelopez/python-sdk | 3c83d4698ecf6b5b59003d20cb26644e0dd77f61 | [
"MIT"
] | 3 | 2021-02-01T10:13:36.000Z | 2022-02-11T17:47:30.000Z | from datetime import datetime, timedelta, timezone
import json
import os
from livestyled.models.ticket import Ticket
from livestyled.models.ticket_integration import TicketIntegration
from livestyled.models.user import User
from livestyled.resource_client import LiveStyledResourceClient
from livestyled.tests.utils imp... | 40.3125 | 131 | 0.718088 | 1,040 | 7,740 | 5.154808 | 0.127885 | 0.228316 | 0.107443 | 0.161164 | 0.797053 | 0.78698 | 0.771125 | 0.761052 | 0.761052 | 0.761052 | 0 | 0.050925 | 0.183075 | 7,740 | 191 | 132 | 40.52356 | 0.796932 | 0 | 0 | 0.651163 | 0 | 0 | 0.091085 | 0.033463 | 0 | 0 | 0 | 0 | 0.633721 | 1 | 0.023256 | false | 0 | 0.046512 | 0 | 0.069767 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 8 |
6e911d5b063278d4b678c366faad90b30081a57e | 49,459 | py | Python | tripleo_common/tests/actions/test_baremetal_deploy.py | d0ugal/tripleo-common | dcf76e1e905613170d2011d0430bed5d35fe1006 | [
"Apache-2.0"
] | 2 | 2016-05-25T14:55:27.000Z | 2020-04-13T09:53:09.000Z | tripleo_common/tests/actions/test_baremetal_deploy.py | d0ugal/tripleo-common | dcf76e1e905613170d2011d0430bed5d35fe1006 | [
"Apache-2.0"
] | null | null | null | tripleo_common/tests/actions/test_baremetal_deploy.py | d0ugal/tripleo-common | dcf76e1e905613170d2011d0430bed5d35fe1006 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 38.192278 | 78 | 0.503569 | 4,274 | 49,459 | 5.680393 | 0.081657 | 0.025949 | 0.050416 | 0.060713 | 0.850276 | 0.790592 | 0.75208 | 0.723083 | 0.701788 | 0.664346 | 0 | 0.019021 | 0.354779 | 49,459 | 1,294 | 79 | 38.221793 | 0.741759 | 0.020158 | 0 | 0.711636 | 0 | 0 | 0.252333 | 0.081221 | 0 | 0 | 0 | 0.000773 | 0.104553 | 1 | 0.03204 | false | 0 | 0.005059 | 0 | 0.043002 | 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 |
6e9e496478194dd89508f88801224f6c4f5ca872 | 9,596 | py | Python | chatBotStable/modules/Bitbucket.py | JKhan01/SM446_TeamXYZ | 721ba3694bb5d8ecc4cb36f5ad158fabcd8c5f7e | [
"Apache-2.0"
] | null | null | null | chatBotStable/modules/Bitbucket.py | JKhan01/SM446_TeamXYZ | 721ba3694bb5d8ecc4cb36f5ad158fabcd8c5f7e | [
"Apache-2.0"
] | null | null | null | chatBotStable/modules/Bitbucket.py | JKhan01/SM446_TeamXYZ | 721ba3694bb5d8ecc4cb36f5ad158fabcd8c5f7e | [
"Apache-2.0"
] | null | null | null | import json
import requests
class bitbucketActions():
def __init__(self):
self.baseUrl = 'https://api.bitbucket.org/2.0/'
self.returnJson = {}
self.viewUrl = 'https://bitbucket.org/'
# self.access_token = ''
## getting list of repos
def get_repos(self,owner_name):
se... | 49.979167 | 127 | 0.536578 | 1,027 | 9,596 | 4.908471 | 0.090555 | 0.113866 | 0.044436 | 0.056735 | 0.92561 | 0.904979 | 0.903392 | 0.886729 | 0.886729 | 0.878992 | 0 | 0.007833 | 0.294915 | 9,596 | 192 | 128 | 49.979167 | 0.737215 | 0.085661 | 0 | 0.85443 | 0 | 0 | 0.149503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056962 | false | 0 | 0.012658 | 0 | 0.126582 | 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 |
6eba84535b2826531098460a386a30cac2f205d5 | 11,613 | py | Python | python/github_com/TheThingsNetwork/api/monitor/monitor_pb2_grpc.py | LukasHabring/api | 9e3da3462f14dab4c45fa38b03335e85e1970833 | [
"MIT"
] | 14 | 2017-07-14T16:11:54.000Z | 2021-11-16T12:35:37.000Z | python/github_com/TheThingsNetwork/api/monitor/monitor_pb2_grpc.py | LukasHabring/api | 9e3da3462f14dab4c45fa38b03335e85e1970833 | [
"MIT"
] | 34 | 2017-07-14T15:15:13.000Z | 2021-08-18T10:08:10.000Z | python/github_com/TheThingsNetwork/api/monitor/monitor_pb2_grpc.py | LukasHabring/api | 9e3da3462f14dab4c45fa38b03335e85e1970833 | [
"MIT"
] | 12 | 2017-07-25T16:13:16.000Z | 2021-05-08T07:21:50.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from github_com.TheThingsNetwork.api.broker import broker_pb2 as github_dot_com_dot_TheThingsNetwork_dot_api_dot_broker_dot_broker__pb2
from github_com.TheThingsNetwork.api.gateway import gateway_pb2 as github_dot_com_dot_TheThingsNetwor... | 52.310811 | 163 | 0.798157 | 1,297 | 11,613 | 6.665382 | 0.06862 | 0.028109 | 0.037478 | 0.046848 | 0.858184 | 0.813765 | 0.79572 | 0.746096 | 0.746096 | 0.746096 | 0 | 0.00561 | 0.14036 | 11,613 | 221 | 164 | 52.547511 | 0.860363 | 0.072591 | 0 | 0.47541 | 1 | 0 | 0.094058 | 0.031477 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071038 | false | 0.071038 | 0.038251 | 0 | 0.120219 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
6e28b3568e24ddabf1e140b57366c2103e765124 | 183 | py | Python | financier/__init__.py | charignon/financier | 5b5bc89a97c265376bbc134911419a06d938b7dd | [
"MIT"
] | 9 | 2019-08-19T00:50:37.000Z | 2021-11-29T09:31:11.000Z | financier/__init__.py | charignon/financier | 5b5bc89a97c265376bbc134911419a06d938b7dd | [
"MIT"
] | null | null | null | financier/__init__.py | charignon/financier | 5b5bc89a97c265376bbc134911419a06d938b7dd | [
"MIT"
] | 1 | 2019-02-23T06:17:02.000Z | 2019-02-23T06:17:02.000Z | from .offer import Offer
from .visualizer import plot_income
from .calculator import two_years_by_month
from .calculator import four_years_by_month
from .calculator import Calculator
| 30.5 | 43 | 0.863388 | 27 | 183 | 5.592593 | 0.444444 | 0.278146 | 0.397351 | 0.211921 | 0.423841 | 0.423841 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10929 | 183 | 5 | 44 | 36.6 | 0.92638 | 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 |
284b943ddb1fac3cefcad43f768ab71aecb86228 | 183 | py | Python | app/custom_error.py | chick0/urls | 6f4315f050275646899644c636d4d404cc6d696d | [
"MIT"
] | 1 | 2021-06-08T05:02:11.000Z | 2021-06-08T05:02:11.000Z | app/custom_error.py | chick0/urls | 6f4315f050275646899644c636d4d404cc6d696d | [
"MIT"
] | 3 | 2021-06-24T05:18:32.000Z | 2021-07-09T03:35:06.000Z | app/custom_error.py | chick0/urls | 6f4315f050275646899644c636d4d404cc6d696d | [
"MIT"
] | null | null | null | class UrlVerifyFail(Exception):
def __init__(self, message):
super().__init__(message)
class FailToCreate(Exception):
def __init__(self):
super().__init__()
| 20.333333 | 33 | 0.672131 | 18 | 183 | 5.944444 | 0.5 | 0.224299 | 0.299065 | 0.373832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202186 | 183 | 8 | 34 | 22.875 | 0.732877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
284bee7409e2c4ccacd5da87108df2d18cf4afcb | 4,940 | py | Python | tests/utils/tests_permission_set.py | priyanshisharma/teesco-backend | f6b35f3fc1f21e60e266ff3baed0e8b4f128d7cb | [
"Apache-2.0"
] | 10 | 2020-04-17T10:34:46.000Z | 2021-06-08T04:08:16.000Z | tests/utils/tests_permission_set.py | priyanshisharma/teesco-backend | f6b35f3fc1f21e60e266ff3baed0e8b4f128d7cb | [
"Apache-2.0"
] | 122 | 2020-04-16T18:27:12.000Z | 2021-06-09T03:54:31.000Z | tests/utils/tests_permission_set.py | priyanshisharma/teesco-backend | f6b35f3fc1f21e60e266ff3baed0e8b4f128d7cb | [
"Apache-2.0"
] | 20 | 2020-04-16T17:44:50.000Z | 2021-02-16T16:00:33.000Z | from django.test import TestCase
from org.custom_model_field import Permissions as PermissionSet
from collections import defaultdict
class PermissionSetTestCase(TestCase):
"These testcases are for org.custom_model_field.PermissionSet class"
def test_create_obj_with_zero(self):
permission_int = 0
... | 46.603774 | 89 | 0.752429 | 535 | 4,940 | 6.64486 | 0.140187 | 0.131646 | 0.18903 | 0.260197 | 0.815752 | 0.750774 | 0.730239 | 0.687764 | 0.636006 | 0.61744 | 0 | 0.004199 | 0.180364 | 4,940 | 106 | 90 | 46.603774 | 0.873796 | 0.12085 | 0 | 0.59375 | 0 | 0 | 0.015007 | 0.008186 | 0 | 0 | 0 | 0.009434 | 0.515625 | 1 | 0.078125 | false | 0 | 0.046875 | 0 | 0.140625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
28580d1208ee2ba2c1f0d5f7b70cb7eefc22468c | 3,112 | py | Python | Audio_based_models/CNN_1D/utils/models.py | heysemkaya/ABAW-SIU | 21ecbc0b36f954a769522674d660d249e27057ca | [
"Apache-2.0"
] | 1 | 2021-06-10T15:51:12.000Z | 2021-06-10T15:51:12.000Z | Audio_based_models/CNN_1D/utils/models.py | heysemkaya/ABAW-SIU | 21ecbc0b36f954a769522674d660d249e27057ca | [
"Apache-2.0"
] | null | null | null | Audio_based_models/CNN_1D/utils/models.py | heysemkaya/ABAW-SIU | 21ecbc0b36f954a769522674d660d249e27057ca | [
"Apache-2.0"
] | 3 | 2020-10-31T19:24:08.000Z | 2021-07-29T06:36:37.000Z | import tensorflow as tf
def CNN_1D_model(input_shape, num_classes):
model=tf.keras.Sequential()
model.add(tf.keras.layers.Conv1D(input_shape=input_shape, filters=128, kernel_size=20, strides=1, activation='relu', padding='same'))
model.add(tf.keras.layers.Dropout(0.3))
model.add(tf.keras.layers.MaxPo... | 49.396825 | 137 | 0.71883 | 481 | 3,112 | 4.538462 | 0.130977 | 0.13147 | 0.174072 | 0.261109 | 0.91159 | 0.898763 | 0.898763 | 0.898763 | 0.898305 | 0.888685 | 0 | 0.042499 | 0.11536 | 3,112 | 62 | 138 | 50.193548 | 0.750454 | 0 | 0 | 0.6 | 0 | 0 | 0.029563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.018182 | 0 | 0.127273 | 0.054545 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
955de09d37e9e3b440e1d40f0328e877f75246ad | 167 | py | Python | misc/ycomb.py | harryxp/haskell-things | 112288bd841b775154a0e4d80da5e38b174ff388 | [
"MIT"
] | null | null | null | misc/ycomb.py | harryxp/haskell-things | 112288bd841b775154a0e4d80da5e38b174ff388 | [
"MIT"
] | null | null | null | misc/ycomb.py | harryxp/haskell-things | 112288bd841b775154a0e4d80da5e38b174ff388 | [
"MIT"
] | null | null | null | def z(f):
return (lambda x: f(lambda y: x(x)(y))) (lambda x: f(lambda y: x(x)(y)))
def c(g):
return (lambda n: 1 if n == 0 else n * g(n - 1))
print(z(c)(5))
| 20.875 | 76 | 0.51497 | 39 | 167 | 2.205128 | 0.410256 | 0.27907 | 0.186047 | 0.325581 | 0.418605 | 0.418605 | 0.418605 | 0.418605 | 0 | 0 | 0 | 0.031496 | 0.239521 | 167 | 7 | 77 | 23.857143 | 0.645669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
956e1d333ac095436a70ae82e3c749e54792a728 | 2,350 | py | Python | telas_finais.py | mateuscmartins-1/Space_Run | 3a227c8e9b686a74e205662a5958b1de569a2811 | [
"CC-BY-4.0"
] | null | null | null | telas_finais.py | mateuscmartins-1/Space_Run | 3a227c8e9b686a74e205662a5958b1de569a2811 | [
"CC-BY-4.0"
] | null | null | null | telas_finais.py | mateuscmartins-1/Space_Run | 3a227c8e9b686a74e205662a5958b1de569a2811 | [
"CC-BY-4.0"
] | null | null | null | import pygame
from config import FPS,QUIT,INIT
from assets import load_assets,YOU_WIN,YOU_LOSE,TELA_ESTRELAS,TELA_ESTRELAS_RECT
def tela_final1(janela):
assets = load_assets()
clock = pygame.time.Clock()
jogo = True
controle = True
pygame.mixer.music.stop()
while jogo:
clock.tick(FPS)
... | 36.71875 | 100 | 0.572766 | 284 | 2,350 | 4.65493 | 0.246479 | 0.054463 | 0.033283 | 0.051437 | 0.857791 | 0.857791 | 0.857791 | 0.857791 | 0.801815 | 0.801815 | 0 | 0.04537 | 0.315319 | 2,350 | 64 | 101 | 36.71875 | 0.776259 | 0 | 0 | 0.83871 | 0 | 0 | 0.048065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.048387 | 0 | 0.112903 | 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 |
95cd6880edf903359b98e4fe268842c32f898602 | 99,315 | py | Python | serdes_ec/layout/laygo/divider.py | tinapiao/Software-IC-Automation | 74b23cd94aa6e4658b110e93b5deb635e014f3a6 | [
"BSD-3-Clause"
] | null | null | null | serdes_ec/layout/laygo/divider.py | tinapiao/Software-IC-Automation | 74b23cd94aa6e4658b110e93b5deb635e014f3a6 | [
"BSD-3-Clause"
] | null | null | null | serdes_ec/layout/laygo/divider.py | tinapiao/Software-IC-Automation | 74b23cd94aa6e4658b110e93b5deb635e014f3a6 | [
"BSD-3-Clause"
] | 1 | 2020-01-07T04:53:53.000Z | 2020-01-07T04:53:53.000Z | # -*- coding: utf-8 -*-
"""This module contains LaygoBase templates used in Hybrid-QDR receiver."""
from typing import TYPE_CHECKING, Dict, Any, Set, Union
from itertools import chain
from bag.layout.routing import TrackManager, TrackID, WireArray
from bag.layout.template import TemplateBase
from abs_templates_ec.... | 45.061252 | 100 | 0.580134 | 14,541 | 99,315 | 3.61275 | 0.036311 | 0.040831 | 0.033655 | 0.047741 | 0.863286 | 0.83201 | 0.807987 | 0.789123 | 0.772257 | 0.759028 | 0 | 0.014144 | 0.301616 | 99,315 | 2,203 | 101 | 45.081707 | 0.743253 | 0.049016 | 0 | 0.739875 | 0 | 0 | 0.050149 | 0.000234 | 0 | 0 | 0 | 0.000908 | 0 | 1 | 0.029663 | false | 0 | 0.003423 | 0.011409 | 0.060468 | 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 |
95fcc811e7a50aa1842567f68879b84969770a35 | 1,858 | py | Python | tests/test_utils.py | jumpojoy/pykube | 52779bb86c5526057bb982b331b52fa6ed4fe0ea | [
"Apache-2.0"
] | 116 | 2019-03-03T17:19:09.000Z | 2021-11-15T11:30:13.000Z | tests/test_utils.py | jumpojoy/pykube | 52779bb86c5526057bb982b331b52fa6ed4fe0ea | [
"Apache-2.0"
] | 62 | 2019-03-03T09:11:03.000Z | 2020-10-02T18:55:21.000Z | tests/test_utils.py | jumpojoy/pykube | 52779bb86c5526057bb982b331b52fa6ed4fe0ea | [
"Apache-2.0"
] | 35 | 2019-03-25T08:32:13.000Z | 2020-12-05T07:09:45.000Z | from pykube.utils import join_url_path
from pykube.utils import obj_merge
def test_obj_merge():
assert obj_merge({}, {}) == {}
assert obj_merge({"a": 1}, {}) == {"a": 1}
assert obj_merge({}, {"b": 2}) == {"b": 2}
assert obj_merge({"a": []}, {"a": []}) == {"a": []}
assert obj_merge({"a": [1, 2]}, {... | 41.288889 | 86 | 0.449408 | 262 | 1,858 | 3.007634 | 0.114504 | 0.055838 | 0.230964 | 0.209391 | 0.812183 | 0.76269 | 0.720812 | 0.581218 | 0.557107 | 0.557107 | 0 | 0.04426 | 0.221744 | 1,858 | 44 | 87 | 42.227273 | 0.500692 | 0 | 0 | 0.128205 | 0 | 0 | 0.112487 | 0 | 0 | 0 | 0 | 0 | 0.589744 | 1 | 0.051282 | true | 0 | 0.051282 | 0 | 0.102564 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
252a89fa5e490a813f47cdf5de580f6fadf7132f | 251 | py | Python | elo_frontend/__init__.py | tshakebbn/elo-frontend | a598c1a76e3f2a4049986e7189a070b11eeb9ff2 | [
"MIT"
] | null | null | null | elo_frontend/__init__.py | tshakebbn/elo-frontend | a598c1a76e3f2a4049986e7189a070b11eeb9ff2 | [
"MIT"
] | 2 | 2019-02-11T13:59:40.000Z | 2019-02-12T01:52:48.000Z | elo_frontend/__init__.py | tylershake/elo-frontend | a598c1a76e3f2a4049986e7189a070b11eeb9ff2 | [
"MIT"
] | null | null | null | from utils.db_manager import DBManager
from utils.exceptions import ConfigError
from utils.exceptions import HTTPError
from utils.exceptions import DBValueError
from utils.exceptions import DBConnectionError
from utils.exceptions import DBSyntaxError
| 35.857143 | 46 | 0.880478 | 31 | 251 | 7.096774 | 0.387097 | 0.245455 | 0.431818 | 0.568182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095618 | 251 | 6 | 47 | 41.833333 | 0.969163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
25348a9a3eaad03490472ec43eabe25b9ed3a3fe | 112 | py | Python | descwl_shear_sims/wcs/__init__.py | aguinot/descwl-shear-sims | a808ffb377b1936964db312e87bd72299268ff2e | [
"BSD-3-Clause"
] | 5 | 2020-11-30T17:40:00.000Z | 2021-07-13T22:27:30.000Z | descwl_shear_sims/wcs/__init__.py | aguinot/descwl-shear-sims | a808ffb377b1936964db312e87bd72299268ff2e | [
"BSD-3-Clause"
] | 128 | 2020-01-06T21:21:56.000Z | 2022-02-07T14:02:28.000Z | descwl_shear_sims/wcs/__init__.py | aguinot/descwl-shear-sims | a808ffb377b1936964db312e87bd72299268ff2e | [
"BSD-3-Clause"
] | 1 | 2021-07-11T13:40:49.000Z | 2021-07-11T13:40:49.000Z | # flake8: noqa
from .wcstools import make_wcs, make_coadd_wcs
from .dmwcs import make_dm_wcs, make_coadd_dm_wcs
| 28 | 49 | 0.830357 | 20 | 112 | 4.25 | 0.5 | 0.235294 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.116071 | 112 | 3 | 50 | 37.333333 | 0.848485 | 0.107143 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.