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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
126c70cfd4f5dd58b70d6563429b9753c64c44e8 | 941 | py | Python | merpy/__init__.py | AndreLamurias/merpy | eebfa602f07603178d8ae8706e2e7d18b068f7c8 | [
"Apache-2.0"
] | 5 | 2019-06-25T11:00:14.000Z | 2022-03-31T17:31:38.000Z | merpy/__init__.py | AndreLamurias/merpy | eebfa602f07603178d8ae8706e2e7d18b068f7c8 | [
"Apache-2.0"
] | 4 | 2020-01-08T11:05:35.000Z | 2020-11-12T12:32:38.000Z | merpy/__init__.py | AndreLamurias/merpy | eebfa602f07603178d8ae8706e2e7d18b068f7c8 | [
"Apache-2.0"
] | 2 | 2021-03-14T21:24:59.000Z | 2021-10-03T10:53:36.000Z | from .merpy import (
get_entities,
get_similarities,
generate_lexicon,
process_lexicon,
show_lexicons,
get_lexicons,
download_lexicon,
create_lexicon,
create_mappings,
download_mer,
download_lexicons,
mer_path,
get_entities_mp,
create_lexicon_from_file,
delete... | 20.021277 | 31 | 0.68119 | 98 | 941 | 5.969388 | 0.285714 | 0.075214 | 0.047863 | 0.088889 | 0.882051 | 0.882051 | 0.882051 | 0.882051 | 0.882051 | 0.882051 | 0 | 0 | 0.226355 | 941 | 46 | 32 | 20.456522 | 0.803571 | 0 | 0 | 0 | 1 | 0 | 0.329437 | 0.05101 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022222 | 0 | 0.022222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
89d3819062a399528d942dfc8efc7adbf2f43f4d | 219 | py | Python | lazymodel/models.py | apnarm/django-lazycache | a68f782ff989fadf30fd3ecf0dad0af799b0341b | [
"MIT"
] | null | null | null | lazymodel/models.py | apnarm/django-lazycache | a68f782ff989fadf30fd3ecf0dad0af799b0341b | [
"MIT"
] | null | null | null | lazymodel/models.py | apnarm/django-lazycache | a68f782ff989fadf30fd3ecf0dad0af799b0341b | [
"MIT"
] | null | null | null | # TODO: define these models and get tests working again
from django.db import models
from lazymodel import ModelWithCaching
class Account(ModelWithCaching):
pass
class PhotoGallery(ModelWithCaching):
pass
| 15.642857 | 55 | 0.785388 | 26 | 219 | 6.615385 | 0.730769 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173516 | 219 | 13 | 56 | 16.846154 | 0.950276 | 0.242009 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
d60206cec0a5f383271617545d203b99f0b179aa | 14,440 | py | Python | dialogflow_v2beta1/proto/intent_pb2_grpc.py | gertventer1970/dialogflow-python-client-v2 | e78b0e6765f94fb9ecbbc72c9fc30ce7245703e2 | [
"Apache-2.0"
] | 1 | 2020-10-14T07:43:19.000Z | 2020-10-14T07:43:19.000Z | dialogflow_v2beta1/proto/intent_pb2_grpc.py | everydaycodings/dialogflow-python-client-v2 | c1c925d94726f49e549870e087ad79ee491056e2 | [
"Apache-2.0"
] | null | null | null | dialogflow_v2beta1/proto/intent_pb2_grpc.py | everydaycodings/dialogflow-python-client-v2 | c1c925d94726f49e549870e087ad79ee491056e2 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from dialogflow_v2beta1.proto import (
intent_pb2 as google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_intent__pb2,
)
from googl... | 40.448179 | 142 | 0.696122 | 1,395 | 14,440 | 6.749104 | 0.091039 | 0.097504 | 0.050558 | 0.061391 | 0.845353 | 0.835794 | 0.809453 | 0.768561 | 0.721827 | 0.721827 | 0 | 0.014249 | 0.236981 | 14,440 | 356 | 143 | 40.561798 | 0.840261 | 0.072091 | 0 | 0.682274 | 1 | 0 | 0.09121 | 0.060029 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053512 | false | 0 | 0.013378 | 0.023411 | 0.100334 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d624afc005581dffbfc08e82838a1665027d366a | 12,517 | py | Python | 1/feature.py | houzeyu2683/NCKUCSIEIIR | 5289de95caed724b395136fcfc8e44fc522aad68 | [
"MIT"
] | null | null | null | 1/feature.py | houzeyu2683/NCKUCSIEIIR | 5289de95caed724b395136fcfc8e44fc522aad68 | [
"MIT"
] | null | null | null | 1/feature.py | houzeyu2683/NCKUCSIEIIR | 5289de95caed724b395136fcfc8e44fc522aad68 | [
"MIT"
] | null | null | null |
import cv2
class color:
def __init__(self, table, use):
self.table = table
self.use = use
return
def process(self, item):
if(self.use=='rgb'):
size = (64,64)
image = cv2.imread(item['path'])
if(not isinstance(image, numpy.n... | 33.026385 | 132 | 0.502596 | 1,269 | 12,517 | 4.911742 | 0.109535 | 0.035938 | 0.0369 | 0.007701 | 0.841168 | 0.819028 | 0.794321 | 0.789668 | 0.770897 | 0.746992 | 0 | 0.036442 | 0.333546 | 12,517 | 379 | 133 | 33.026385 | 0.710741 | 0.450427 | 0 | 0.858108 | 0 | 0 | 0.045329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040541 | false | 0.155405 | 0.027027 | 0 | 0.094595 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
612ecfda35cd8d93573ac60f077c553e163ffa6a | 160 | py | Python | accounts/admin.py | Dev-Mehta/AskaDev | 4514383cb1f94178e8082f0b710c7efbdd3225a7 | [
"MIT"
] | 7 | 2020-08-26T12:32:50.000Z | 2020-09-20T09:17:12.000Z | accounts/admin.py | Dev-Mehta/AskaDev | 4514383cb1f94178e8082f0b710c7efbdd3225a7 | [
"MIT"
] | null | null | null | accounts/admin.py | Dev-Mehta/AskaDev | 4514383cb1f94178e8082f0b710c7efbdd3225a7 | [
"MIT"
] | 3 | 2020-08-27T06:06:43.000Z | 2020-10-10T15:53:26.000Z | from django.contrib import admin
from .models import ProgrammingLanguage, UserProfile
admin.site.register(UserProfile)
admin.site.register(ProgrammingLanguage) | 32 | 52 | 0.8625 | 18 | 160 | 7.666667 | 0.555556 | 0.231884 | 0.289855 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06875 | 160 | 5 | 53 | 32 | 0.926175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
61bca4eaa32bb1d8f9fcdd23e9b7147440128669 | 108 | py | Python | tests/test_artificial_objects_2d.py | elsandal/pyclesperanto_prototype | 7bda828813b86b44b63d73d5e8f466d9769cded1 | [
"BSD-3-Clause"
] | 2 | 2020-07-01T06:20:44.000Z | 2020-07-01T09:36:48.000Z | tests/test_artificial_objects_2d.py | elsandal/pyclesperanto_prototype | 7bda828813b86b44b63d73d5e8f466d9769cded1 | [
"BSD-3-Clause"
] | null | null | null | tests/test_artificial_objects_2d.py | elsandal/pyclesperanto_prototype | 7bda828813b86b44b63d73d5e8f466d9769cded1 | [
"BSD-3-Clause"
] | 1 | 2020-06-29T18:40:54.000Z | 2020-06-29T18:40:54.000Z | def test_artificial_objects_2d():
import pyclesperanto_prototype as cle
cle.artificial_objects_2d()
| 27 | 41 | 0.805556 | 14 | 108 | 5.785714 | 0.714286 | 0.419753 | 0.469136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.138889 | 108 | 3 | 42 | 36 | 0.849462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
61bce430d360996e97a91a55ee3188cadb7521ab | 132,733 | py | Python | polls/esp_xlsx.py | raqsilva/VCFDataExporter | b5eaabd82ade95a837fd98dff5e1600046eeb029 | [
"Apache-2.0"
] | null | null | null | polls/esp_xlsx.py | raqsilva/VCFDataExporter | b5eaabd82ade95a837fd98dff5e1600046eeb029 | [
"Apache-2.0"
] | null | null | null | polls/esp_xlsx.py | raqsilva/VCFDataExporter | b5eaabd82ade95a837fd98dff5e1600046eeb029 | [
"Apache-2.0"
] | null | null | null | import vcf
from django.http import HttpResponse
from django.core.files import File
import xlsxwriter
import os
from .vcf_functions import getBasePath, save_binary, getFilePath, parse_fasta, getEspPath
import subprocess
import collections
from .dictionaries import esp_col_dic
from pytera.settings import BASE_DIR
# PYTE... | 51.407049 | 120 | 0.317638 | 10,909 | 132,733 | 3.825465 | 0.016133 | 0.180509 | 0.21027 | 0.12228 | 0.969879 | 0.96916 | 0.966956 | 0.966956 | 0.966956 | 0.964512 | 0 | 0.032531 | 0.553721 | 132,733 | 2,581 | 121 | 51.426966 | 0.671973 | 0.000399 | 0 | 0.970855 | 0 | 0.010634 | 0.052609 | 0.000913 | 0.010634 | 0 | 0 | 0 | 0 | 1 | 0.000394 | false | 0.148878 | 0.003939 | 0 | 0.004726 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
4edf4e5da1cf00b7d7db246168a8366bec39843f | 3,568 | py | Python | python/modeltools/imagetools/test_result.py | GT-AcerZhang/PaddleSelfTools | ad7e45ddc3166f6834e8798011a33488a9f7f70e | [
"Apache-2.0"
] | 1 | 2021-02-27T18:01:44.000Z | 2021-02-27T18:01:44.000Z | python/modeltools/imagetools/test_result.py | GT-AcerZhang/PaddleSelfTools | ad7e45ddc3166f6834e8798011a33488a9f7f70e | [
"Apache-2.0"
] | 1 | 2020-03-18T15:55:50.000Z | 2020-03-18T15:55:50.000Z | python/modeltools/imagetools/test_result.py | GT-AcerZhang/PaddleSelfTools | ad7e45ddc3166f6834e8798011a33488a9f7f70e | [
"Apache-2.0"
] | 1 | 2021-03-05T10:23:37.000Z | 2021-03-05T10:23:37.000Z | # coding=utf-8
import numpy as np
# fromfile = np.fromfile('/Users/xiebaiyuan/PaddleProject/paddle-mobile/tools/python/imagetools/datas/jpgs/0000_0.9834-148196_82452-0ad4b83ec6bc0f9c5f28101539267054.jpg_p0_0.126571263346.jpg.npfile', 'f')
# fromfile = np.fromfile('/Users/xiebaiyuan/PaddleProject/paddle-mobile/tools/py... | 29.00813 | 204 | 0.69815 | 470 | 3,568 | 5.231915 | 0.12766 | 0.080521 | 0.02928 | 0.05368 | 0.906466 | 0.906466 | 0.906466 | 0.906466 | 0.906466 | 0.906466 | 0 | 0.168659 | 0.132567 | 3,568 | 122 | 205 | 29.245902 | 0.625848 | 0.116872 | 0 | 0.865979 | 0 | 0.061856 | 0.440737 | 0.408643 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010309 | null | null | 0.371134 | 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 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f637e3392c8c6461ada801c17a43ac56bfdc0ba3 | 123 | py | Python | python/pygimli/misc/__init__.py | mjziebarth/gimli | 196ac4d6dd67e0326cccc44a87b367f64051e490 | [
"Apache-2.0"
] | 3 | 2021-07-10T00:56:59.000Z | 2022-02-17T12:43:38.000Z | python/pygimli/misc/__init__.py | ivek1312/gimli | 5fafebb7c96dd0e04e2616df402fa27a01609d63 | [
"Apache-2.0"
] | null | null | null | python/pygimli/misc/__init__.py | ivek1312/gimli | 5fafebb7c96dd0e04e2616df402fa27a01609d63 | [
"Apache-2.0"
] | 1 | 2022-03-29T04:28:40.000Z | 2022-03-29T04:28:40.000Z | # -*- coding: utf-8 -*-
"""
Unsorted miscellaneous stuff
"""
from .unsorted import *
from .unsorted import streamline
| 15.375 | 32 | 0.666667 | 13 | 123 | 6.307692 | 0.692308 | 0.292683 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.186992 | 123 | 7 | 33 | 17.571429 | 0.81 | 0.414634 | 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 |
f641c36178a65bbfc610b9a5571bcb7865d2f5ec | 16,135 | py | Python | magenta/models/lookback_rnn/lookback_rnn_encoder_decoder_test.py | Sprog-gle/Magenta | 55bfd53f8112cf34952e67efc646b98523837f8f | [
"Apache-2.0"
] | null | null | null | magenta/models/lookback_rnn/lookback_rnn_encoder_decoder_test.py | Sprog-gle/Magenta | 55bfd53f8112cf34952e67efc646b98523837f8f | [
"Apache-2.0"
] | null | null | null | magenta/models/lookback_rnn/lookback_rnn_encoder_decoder_test.py | Sprog-gle/Magenta | 55bfd53f8112cf34952e67efc646b98523837f8f | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 59.759259 | 80 | 0.464642 | 4,424 | 16,135 | 1.643083 | 0.035036 | 0.928876 | 1.360297 | 1.771908 | 0.874398 | 0.865594 | 0.856789 | 0.834503 | 0.834503 | 0.834503 | 0 | 0.328276 | 0.264642 | 16,135 | 269 | 81 | 59.981413 | 0.284366 | 0.038798 | 0 | 0.757447 | 0 | 0 | 0.000516 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 1 | 0.008511 | false | 0 | 0.012766 | 0 | 0.025532 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
9c9944bcc47bf407be2e97f0b042b46e0079024f | 36 | py | Python | tests/test_multi/views.py | cacahootie/deckmaster | 6f8585ee35b8cfc2fb0b68adefc1308322da618d | [
"MIT"
] | null | null | null | tests/test_multi/views.py | cacahootie/deckmaster | 6f8585ee35b8cfc2fb0b68adefc1308322da618d | [
"MIT"
] | null | null | null | tests/test_multi/views.py | cacahootie/deckmaster | 6f8585ee35b8cfc2fb0b68adefc1308322da618d | [
"MIT"
] | null | null | null |
def c():
return "HappyFilmore"
| 9 | 25 | 0.611111 | 4 | 36 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 36 | 3 | 26 | 12 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9cc4a956152fdbca76b3675be69befe26d5b5929 | 41 | py | Python | 0x02-python-import_modules/101-easy_print.py | Nahi-Terefe/alx-higher_level_programming | c67a78a6f79e853918963971f8352979e7691541 | [
"MIT"
] | null | null | null | 0x02-python-import_modules/101-easy_print.py | Nahi-Terefe/alx-higher_level_programming | c67a78a6f79e853918963971f8352979e7691541 | [
"MIT"
] | null | null | null | 0x02-python-import_modules/101-easy_print.py | Nahi-Terefe/alx-higher_level_programming | c67a78a6f79e853918963971f8352979e7691541 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import easy_print_101
| 13.666667 | 21 | 0.804878 | 7 | 41 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.073171 | 41 | 2 | 22 | 20.5 | 0.710526 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
9cc9655c102180c64f11f7ecabab9a8083456ce9 | 318 | py | Python | PythonModulo1/ex006.py | BossNX/ExerciciosDePython | 27c79d284794f65f94d3a07de11429d665ec92da | [
"MIT"
] | null | null | null | PythonModulo1/ex006.py | BossNX/ExerciciosDePython | 27c79d284794f65f94d3a07de11429d665ec92da | [
"MIT"
] | null | null | null | PythonModulo1/ex006.py | BossNX/ExerciciosDePython | 27c79d284794f65f94d3a07de11429d665ec92da | [
"MIT"
] | null | null | null | n = int(input('Digite um número: '))
d = n * 2
t = n * 3
r = n ** (1/2)
print('O dobro de \033[4;31m{}\033[m vale \033[34m{}\033[m. '.format(n, d))
print('O triplo de \033[4;33m{}\033[m vale \033[36m{}\033[m. '.format(n, t))
print('A raíz quadrada de \033[4;35m{}\033[m é igual a \033[32m{:.2f}\033[m. '.format(n, r))
| 39.75 | 92 | 0.578616 | 71 | 318 | 2.591549 | 0.478873 | 0.130435 | 0.097826 | 0.179348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207407 | 0.150943 | 318 | 7 | 93 | 45.428571 | 0.474074 | 0 | 0 | 0 | 0 | 0.428571 | 0.613208 | 0.066038 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 7 |
9cff114514a4e53b9d73b004333fbe341dfc861e | 10,438 | py | Python | tests/bugs/core_2251_test.py | reevespaul/firebird-qa | 98f16f425aa9ab8ee63b86172f959d63a2d76f21 | [
"MIT"
] | null | null | null | tests/bugs/core_2251_test.py | reevespaul/firebird-qa | 98f16f425aa9ab8ee63b86172f959d63a2d76f21 | [
"MIT"
] | null | null | null | tests/bugs/core_2251_test.py | reevespaul/firebird-qa | 98f16f425aa9ab8ee63b86172f959d63a2d76f21 | [
"MIT"
] | null | null | null | #coding:utf-8
#
# id: bugs.core_2251
# title: gbak doesn't return error code
# decription:
# Inaccessible folder is defined here as $tmp + GUID (i.e. it 100% not yet exists).
# We have to check allof kind for inaccessible file:
# * .fbk when ... | 58.312849 | 189 | 0.617934 | 1,239 | 10,438 | 4.958031 | 0.144471 | 0.050138 | 0.020837 | 0.051278 | 0.762657 | 0.762657 | 0.739378 | 0.718216 | 0.700147 | 0.693309 | 0 | 0.022374 | 0.229258 | 10,438 | 178 | 190 | 58.640449 | 0.741206 | 0.772658 | 0 | 0 | 0 | 0 | 0.780041 | 0.405295 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.08 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1406cc74764fb413f8c4e2e6fa7df223ab8a97a3 | 4,191 | py | Python | traffic_control/tests/test_owner_api.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 2 | 2020-11-23T22:08:58.000Z | 2022-03-02T13:13:20.000Z | traffic_control/tests/test_owner_api.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 170 | 2019-12-31T13:37:04.000Z | 2022-03-12T14:03:35.000Z | traffic_control/tests/test_owner_api.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 3 | 2020-05-08T05:58:02.000Z | 2022-03-15T16:07:25.000Z | import pytest
from django.urls import reverse
from rest_framework import status
from traffic_control.models import Owner
from traffic_control.tests.factories import get_api_client, get_owner, get_user
@pytest.mark.django_db
@pytest.mark.parametrize("is_admin", (True, False))
def test__owner_api__list(is_admin):
... | 31.044444 | 81 | 0.675018 | 592 | 4,191 | 4.505068 | 0.126689 | 0.057743 | 0.049494 | 0.089989 | 0.864267 | 0.835021 | 0.822272 | 0.814773 | 0.80165 | 0.785527 | 0 | 0.015049 | 0.191362 | 4,191 | 134 | 82 | 31.276119 | 0.771909 | 0 | 0 | 0.724771 | 0 | 0 | 0.083274 | 0 | 0 | 0 | 0 | 0 | 0.266055 | 1 | 0.055046 | false | 0 | 0.045872 | 0 | 0.100917 | 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 |
141608780ace7d6b13085fdb6ef40b7ba4d59c94 | 65,519 | py | Python | billforward/apis/amendments_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:32:37.000Z | 2022-02-24T05:13:20.000Z | billforward/apis/amendments_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | null | null | null | billforward/apis/amendments_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 1 | 2016-12-30T20:02:48.000Z | 2016-12-30T20:02:48.000Z | # coding: utf-8
"""
BillForward REST API
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
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... | 47.719592 | 229 | 0.606358 | 7,057 | 65,519 | 5.448774 | 0.042086 | 0.045771 | 0.023874 | 0.020597 | 0.949079 | 0.941355 | 0.932903 | 0.926532 | 0.914621 | 0.907963 | 0 | 0.000753 | 0.310521 | 65,519 | 1,372 | 230 | 47.754373 | 0.850445 | 0.410308 | 0 | 0.803101 | 1 | 0 | 0.195939 | 0.050362 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035659 | false | 0 | 0.010853 | 0 | 0.099225 | 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 |
1437eacaa0c14b24a0c529618cf50cc8b86516e3 | 101 | py | Python | 1-Iniciante-Beginner/1007 - Diferenca - Difference.py | Limarceu/Uri_Online_Judge | 3328dacd5419b5a6bce4cb7dfc38e355e9fdab1f | [
"MIT"
] | null | null | null | 1-Iniciante-Beginner/1007 - Diferenca - Difference.py | Limarceu/Uri_Online_Judge | 3328dacd5419b5a6bce4cb7dfc38e355e9fdab1f | [
"MIT"
] | null | null | null | 1-Iniciante-Beginner/1007 - Diferenca - Difference.py | Limarceu/Uri_Online_Judge | 3328dacd5419b5a6bce4cb7dfc38e355e9fdab1f | [
"MIT"
] | null | null | null | a,b,c,d = int(input()),int(input()),int(input()),int(input())
print('DIFERENCA = {}'.format(a*b-c*d)) | 50.5 | 61 | 0.594059 | 19 | 101 | 3.157895 | 0.473684 | 0.533333 | 0.55 | 0.8 | 0.533333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 101 | 2 | 62 | 50.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
14605133b5a68f936b862bf051b6b8b818564c9d | 21,324 | py | Python | inn/inn_hotels/doctype/inn_room_charge_posting/inn_room_charge_posting.py | vinhnguyent090/front-desk | 7384642e9206e30855986465a7ef63c8fd76ef2a | [
"MIT"
] | 4 | 2021-08-19T03:33:36.000Z | 2021-08-28T16:37:52.000Z | inn/inn_hotels/doctype/inn_room_charge_posting/inn_room_charge_posting.py | vinhnguyent090/front-desk | 7384642e9206e30855986465a7ef63c8fd76ef2a | [
"MIT"
] | 98 | 2020-02-24T08:12:47.000Z | 2021-08-21T07:54:03.000Z | inn/inn_hotels/doctype/inn_room_charge_posting/inn_room_charge_posting.py | vinhnguyent090/front-desk | 7384642e9206e30855986465a7ef63c8fd76ef2a | [
"MIT"
] | 13 | 2021-01-24T18:08:43.000Z | 2022-03-29T09:23:25.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2020, Core Initiative and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import json
import frappe
import math
import datetime
from frappe.model.document import Document
from inn.inn_hotels.doctype.inn_folio_transaction_ty... | 49.475638 | 169 | 0.790096 | 3,133 | 21,324 | 4.948292 | 0.051069 | 0.074824 | 0.075856 | 0.051087 | 0.914146 | 0.905051 | 0.887377 | 0.868993 | 0.849965 | 0.846094 | 0 | 0.002941 | 0.123054 | 21,324 | 431 | 170 | 49.475638 | 0.826096 | 0.060073 | 0 | 0.756983 | 0 | 0 | 0.131651 | 0.002098 | 0 | 0 | 0 | 0.00232 | 0 | 1 | 0.01676 | false | 0.002793 | 0.027933 | 0 | 0.067039 | 0.022346 | 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 |
14aaf108131e71fa427262f5ee129addc001ddae | 33,527 | py | Python | canopy/openapi/api/sim_version_api.py | CanopySimulations/canopy-python | 9ec37e674e65d6fbef0402ac0c612c163d55631e | [
"MIT"
] | null | null | null | canopy/openapi/api/sim_version_api.py | CanopySimulations/canopy-python | 9ec37e674e65d6fbef0402ac0c612c163d55631e | [
"MIT"
] | 1 | 2022-01-31T10:18:08.000Z | 2022-01-31T10:18:08.000Z | canopy/openapi/api/sim_version_api.py | CanopySimulations/canopy-python | 9ec37e674e65d6fbef0402ac0c612c163d55631e | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Canopy.Api
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa:... | 45.063172 | 142 | 0.601068 | 3,704 | 33,527 | 5.142549 | 0.051836 | 0.067199 | 0.066884 | 0.028349 | 0.934954 | 0.929441 | 0.919834 | 0.913534 | 0.904819 | 0.901354 | 0 | 0.013593 | 0.326364 | 33,527 | 743 | 143 | 45.123822 | 0.829799 | 0.427745 | 0 | 0.726257 | 1 | 0 | 0.197947 | 0.06538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036313 | false | 0 | 0.013966 | 0 | 0.086592 | 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 |
1ad3fcee088889246860a4fbec72d01b0688a10d | 10,766 | py | Python | tests/payoff_calculator_test.py | phillipgreenii/loan_payoff_tools | 4ffb8a83f7fe6bf7eb37eb7165b3959422d3a515 | [
"MIT"
] | null | null | null | tests/payoff_calculator_test.py | phillipgreenii/loan_payoff_tools | 4ffb8a83f7fe6bf7eb37eb7165b3959422d3a515 | [
"MIT"
] | 3 | 2015-05-03T02:16:49.000Z | 2015-05-08T21:25:01.000Z | tests/payoff_calculator_test.py | phillipgreenii/loan_payoff_tools | 4ffb8a83f7fe6bf7eb37eb7165b3959422d3a515 | [
"MIT"
] | null | null | null | '''
loan_payoff_tools: Test module.
Meant for use with py.test.
Write each test as a function named test_<something>.
Read more here: http://pytest.org/
Copyright 2014, Phillip Green II
Licensed under MIT
'''
import unittest
from datetime import date
from loan_payoff_tools.payment_manager import Account
from loan_p... | 59.480663 | 185 | 0.606911 | 1,258 | 10,766 | 4.985692 | 0.112083 | 0.063776 | 0.114796 | 0.133929 | 0.893017 | 0.871492 | 0.855389 | 0.827647 | 0.817602 | 0.817602 | 0 | 0.147447 | 0.254133 | 10,766 | 180 | 186 | 59.811111 | 0.633624 | 0.018763 | 0 | 0.75188 | 0 | 0 | 0.013073 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 1 | 0.06015 | false | 0 | 0.06015 | 0 | 0.12782 | 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 |
b4a7d54ebf43275a91b1af9ae00ff9bd58753690 | 118 | py | Python | dataservice/api/outcome/__init__.py | ConnorBarnhill/kf-api-dataservice | 547df467a307788882469a25c947a14965a26336 | [
"Apache-2.0"
] | 6 | 2018-01-25T13:49:24.000Z | 2020-03-07T16:25:09.000Z | dataservice/api/outcome/__init__.py | ConnorBarnhill/kf-api-dataservice | 547df467a307788882469a25c947a14965a26336 | [
"Apache-2.0"
] | 369 | 2018-01-17T15:22:18.000Z | 2022-03-10T19:14:56.000Z | dataservice/api/outcome/__init__.py | ConnorBarnhill/kf-api-dataservice | 547df467a307788882469a25c947a14965a26336 | [
"Apache-2.0"
] | 3 | 2018-04-11T14:18:37.000Z | 2018-10-31T19:09:48.000Z | from dataservice.api.outcome.resources import OutcomeAPI
from dataservice.api.outcome.resources import OutcomeListAPI
| 39.333333 | 60 | 0.881356 | 14 | 118 | 7.428571 | 0.571429 | 0.288462 | 0.346154 | 0.480769 | 0.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 118 | 2 | 61 | 59 | 0.945455 | 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 | 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 | 1 | 0 | 1 | 0 | 0 | 9 |
371f4ea7362504af95802b40a1ae8e406cb61f3a | 10,522 | py | Python | tests/test_directory_view_get_context_data.py | wildfish/django-directory | 7a097e1eca66a2e5f5ae02905b92ecc37ae0db34 | [
"MIT"
] | 5 | 2015-10-05T11:54:59.000Z | 2021-07-07T05:08:56.000Z | tests/test_directory_view_get_context_data.py | wildfish/django-directory | 7a097e1eca66a2e5f5ae02905b92ecc37ae0db34 | [
"MIT"
] | null | null | null | tests/test_directory_view_get_context_data.py | wildfish/django-directory | 7a097e1eca66a2e5f5ae02905b92ecc37ae0db34 | [
"MIT"
] | 1 | 2016-03-16T07:59:50.000Z | 2016-03-16T07:59:50.000Z | from django.http import QueryDict
from django.test import TestCase, RequestFactory
from directory.views import DirectoryView
from .models import TestModelB, MultipleFieldModel
class DirectoryViewGetContextData(TestCase):
def test_filter_is_not_supplied_in_kwargs___filter_is_added(self):
class TestDirector... | 35.789116 | 151 | 0.642558 | 1,144 | 10,522 | 5.451049 | 0.072552 | 0.102309 | 0.038807 | 0.118826 | 0.897691 | 0.867383 | 0.843329 | 0.829859 | 0.820558 | 0.80789 | 0 | 0.005193 | 0.267915 | 10,522 | 293 | 152 | 35.911263 | 0.804362 | 0 | 0 | 0.787037 | 0 | 0 | 0.066812 | 0.010644 | 0 | 0 | 0 | 0 | 0.087963 | 1 | 0.087963 | false | 0 | 0.018519 | 0 | 0.287037 | 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 |
372eaae9ab2c16dd902249d10915b4c6382a3850 | 3,143 | py | Python | fake_modules.py | meissnert/StarCluster-Plugins | a84dc5f62b5a37e7843c0fb4ac69011ecd766e51 | [
"MIT"
] | 1 | 2016-05-27T19:58:53.000Z | 2016-05-27T19:58:53.000Z | fake_modules.py | meissnert/StarCluster-Plugins | a84dc5f62b5a37e7843c0fb4ac69011ecd766e51 | [
"MIT"
] | null | null | null | fake_modules.py | meissnert/StarCluster-Plugins | a84dc5f62b5a37e7843c0fb4ac69011ecd766e51 | [
"MIT"
] | null | null | null | from starcluster.clustersetup import ClusterSetup
from starcluster.logger import log
class FakeModInstaller(ClusterSetup):
def run(self, nodes, master, user, user_shell, volumes):
for node in nodes:
log.info("Creating python 2.6.5 module files on %s" % (node.alias))
node.ssh.execute('mkdir /usr/local/Modules/... | 69.844444 | 130 | 0.673242 | 495 | 3,143 | 4.272727 | 0.113131 | 0.089362 | 0.178723 | 0.293617 | 0.908747 | 0.853901 | 0.840662 | 0.831678 | 0.821277 | 0.799527 | 0 | 0.035385 | 0.136812 | 3,143 | 44 | 131 | 71.431818 | 0.744195 | 0 | 0 | 0.078947 | 0 | 0.473684 | 0.625517 | 0.424435 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.052632 | null | null | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
2eabbc492325693d84c09f8314053d43a9d2b56b | 20,786 | py | Python | pyne/tests/spatial_solvers/ahot_script.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T20:01:13.000Z | 2022-03-26T20:01:13.000Z | pyne/tests/spatial_solvers/ahot_script.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | null | null | null | pyne/tests/spatial_solvers/ahot_script.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T19:59:13.000Z | 2022-03-26T19:59:13.000Z | """AHOT Spatial Solver tests"""
# TODO:
# Add tests with supported warning configurations?
# a = populate_with_warnings("AHOTN")
# a = populate_with_warnings("DGFEM")
import numpy as np
from numpy.testing import assert_array_almost_equal
import pyne.spatialsolver
from .dictionary_populate_test import (
populate_... | 36.024263 | 85 | 0.537285 | 2,650 | 20,786 | 4.138113 | 0.110943 | 0.04514 | 0.023345 | 0.035747 | 0.869323 | 0.866314 | 0.848258 | 0.848258 | 0.736002 | 0.665238 | 0 | 0.466147 | 0.309343 | 20,786 | 576 | 86 | 36.086806 | 0.297715 | 0.007361 | 0 | 0.69305 | 0 | 0 | 0.05736 | 0 | 0 | 0 | 0 | 0.001736 | 0.030888 | 1 | 0.027027 | false | 0 | 0.007722 | 0 | 0.034749 | 0.025097 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2eccbc156b4505de0db85d95b51443c5f217b8c1 | 33,547 | py | Python | pensa/comparison/statespecific.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 55 | 2020-11-18T07:03:46.000Z | 2022-03-29T02:47:10.000Z | pensa/comparison/statespecific.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-18T16:43:43.000Z | 2022-02-22T20:02:22.000Z | pensa/comparison/statespecific.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-19T04:34:36.000Z | 2022-03-01T23:48:57.000Z | import numpy as np
from tqdm import tqdm
from pensa.features import *
from pensa.statesinfo import *
# -- Functions to calculate SSI statistics across paired ensembles --
def ssi_ensemble_analysis(features_a, features_b, all_data_a, all_data_b, torsions=None, pocket_occupancy=None, pbc=True,
... | 44.551129 | 150 | 0.590455 | 4,391 | 33,547 | 4.17422 | 0.057846 | 0.025097 | 0.023078 | 0.014731 | 0.904741 | 0.885755 | 0.876862 | 0.854493 | 0.831251 | 0.821267 | 0 | 0.012654 | 0.335678 | 33,547 | 752 | 151 | 44.610372 | 0.809791 | 0.276686 | 0 | 0.796392 | 0 | 0 | 0.045996 | 0 | 0 | 0 | 0 | 0 | 0.023196 | 1 | 0.012887 | false | 0 | 0.010309 | 0 | 0.036082 | 0.048969 | 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 |
2ee9442cf0b747887f56ef399cd05098b20a5c95 | 176,065 | py | Python | intensio/test/python/advanced/output/basicRAT-example/core/TrNyQrwBvIPHpfSTViMBqueBppNSmHsjaYRzCIUnZGssHFZOnGvbeYBzohXKYFkpdJWLMHzjkYZVOwJOJLhASWYmJogCqrdkDFciQiRvNRYsljZPbmBTSKePnbUSviji.py | Chudry/Intensio-Obfuscator | 62f6c8871704693ca79342efb03dcd2530d7614e | [
"MIT"
] | 1 | 2019-09-06T11:55:29.000Z | 2019-09-06T11:55:29.000Z | intensio/test/python/advanced/output/basicRAT-example/core/TrNyQrwBvIPHpfSTViMBqueBppNSmHsjaYRzCIUnZGssHFZOnGvbeYBzohXKYFkpdJWLMHzjkYZVOwJOJLhASWYmJogCqrdkDFciQiRvNRYsljZPbmBTSKePnbUSviji.py | Chudry/Intensio-Obfuscator | 62f6c8871704693ca79342efb03dcd2530d7614e | [
"MIT"
] | null | null | null | intensio/test/python/advanced/output/basicRAT-example/core/TrNyQrwBvIPHpfSTViMBqueBppNSmHsjaYRzCIUnZGssHFZOnGvbeYBzohXKYFkpdJWLMHzjkYZVOwJOJLhASWYmJogCqrdkDFciQiRvNRYsljZPbmBTSKePnbUSviji.py | Chudry/Intensio-Obfuscator | 62f6c8871704693ca79342efb03dcd2530d7614e | [
"MIT"
] | null | null | null | MWZWSmMhtUsRrINuSTzFrxaxjBTBJqSWKuKnGWRXkqWQJqFZtHcGtyMgFWrExRGweSHLOCtzbXotCELvYZdsUDmsxKLYPEnCGzbpsNkLrKPigaoVayVePBGtbjfjhKyb="""
\x23\x20\x2d\x2a\x2d\x20\x63\x6f\x64\x69\x6e\x67\x3a\x20\x75\x74\x66\x2d\x38\x20\x2d\x2a\x2d\x0a
\x69\x6d\x70\x6f\x72\x74\x20\x64\x61\x74\x65\x74\x69\x6d\x65\x0a
\x53\x4b\x4f\x47\x5a\x7a\... | 912.253886 | 1,172 | 0.749513 | 43,904 | 176,065 | 3.005717 | 0.001686 | 0.075794 | 0.103256 | 0.123762 | 0.808136 | 0.802725 | 0.801611 | 0.80002 | 0.798678 | 0.797019 | 0 | 0.43499 | 0.001091 | 176,065 | 192 | 1,173 | 917.005208 | 0.315341 | 0 | 0 | 0.041667 | 0 | 0.963542 | 0.998461 | 0.997382 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
2c1930976901fb8aedd4548bfb8d6c15eb67bbc4 | 533 | py | Python | catkin_ws/build/catkin_generated/order_packages.py | engboustani/3d-printer-arm | 49173f30a19dcc5adb0e27d85b8b37fc5282e571 | [
"Apache-2.0"
] | null | null | null | catkin_ws/build/catkin_generated/order_packages.py | engboustani/3d-printer-arm | 49173f30a19dcc5adb0e27d85b8b37fc5282e571 | [
"Apache-2.0"
] | null | null | null | catkin_ws/build/catkin_generated/order_packages.py | engboustani/3d-printer-arm | 49173f30a19dcc5adb0e27d85b8b37fc5282e571 | [
"Apache-2.0"
] | null | null | null | # generated from catkin/cmake/template/order_packages.context.py.in
source_root_dir = "/home/engboustani/Documents/3d-printer-arm/catkin_ws/src"
whitelisted_packages = "".split(';') if "" != "" else []
blacklisted_packages = "".split(';') if "" != "" else []
underlay_workspaces = "/home/engboustani/Documents/3d-printer... | 88.833333 | 273 | 0.742964 | 71 | 533 | 5.422535 | 0.464789 | 0.194805 | 0.187013 | 0.202597 | 0.581818 | 0.581818 | 0.581818 | 0.581818 | 0.467532 | 0.467532 | 0 | 0.006012 | 0.06379 | 533 | 5 | 274 | 106.6 | 0.765531 | 0.121951 | 0 | 0 | 1 | 0.5 | 0.594421 | 0.587983 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
25b4f049fb62cc24f11e54dc8fc2ba379ccfdcb5 | 3,634 | py | Python | test_bear_todo_counter.py | attomos/bear_todo_counter | 4a42955f6a76f25cc4fdcdba3fe6dd79dcfeb217 | [
"MIT"
] | 1 | 2019-07-27T14:51:45.000Z | 2019-07-27T14:51:45.000Z | test_bear_todo_counter.py | attomos/bear_todo_counter | 4a42955f6a76f25cc4fdcdba3fe6dd79dcfeb217 | [
"MIT"
] | null | null | null | test_bear_todo_counter.py | attomos/bear_todo_counter | 4a42955f6a76f25cc4fdcdba3fe6dd79dcfeb217 | [
"MIT"
] | null | null | null | from bear_todo_counter import append_todo_count
def test_simple_todo():
txt = """\
Tasks
+ Task one
- Task two
- Task three"""
actual = append_todo_count(txt)
expected = """\
Tasks [1/3]
+ Task one
- Task two
- Task three"""
assert actual == expected
def test_todo_with_emoji():
txt = """\
Tasks ... | 21.00578 | 171 | 0.635938 | 568 | 3,634 | 4.024648 | 0.15669 | 0.034996 | 0.048994 | 0.082677 | 0.884952 | 0.86133 | 0.841207 | 0.780402 | 0.780402 | 0.730096 | 0 | 0.021777 | 0.216566 | 3,634 | 172 | 172 | 21.127907 | 0.772041 | 0.011833 | 0 | 0.811688 | 0 | 0.025974 | 0.63246 | 0 | 0 | 0 | 0 | 0 | 0.058442 | 1 | 0.058442 | false | 0 | 0.006494 | 0 | 0.064935 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
25db060c714c394d50b7346b0ada7c29a4a01a98 | 5,182 | py | Python | ratings/migrations/0010_auto_20211023_0238.py | CommanderStorm/rallyetool-v2 | 721413d6df8afc9347dac7ee83deb3a0ad4c01bc | [
"MIT"
] | 1 | 2021-10-03T17:49:53.000Z | 2021-10-03T17:49:53.000Z | ratings/migrations/0010_auto_20211023_0238.py | FSTUM/rallyetool-v2 | 2f3e2b5cb8655abe023ed1215b7182430b75bb23 | [
"MIT"
] | 9 | 2021-11-23T10:13:43.000Z | 2022-03-01T15:04:15.000Z | ratings/migrations/0010_auto_20211023_0238.py | CommanderStorm/rallyetool-v2 | 721413d6df8afc9347dac7ee83deb3a0ad4c01bc | [
"MIT"
] | 1 | 2021-10-16T09:07:47.000Z | 2021-10-16T09:07:47.000Z | # Generated by Django 3.2.7 on 2021-10-23 00:38
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("ratings", "0009_alter_group_name"),
]
operations = [
migrations.AddField(
model_name="station",
name="contact_person... | 34.092105 | 116 | 0.502316 | 466 | 5,182 | 5.429185 | 0.167382 | 0.078261 | 0.094862 | 0.118577 | 0.881818 | 0.881818 | 0.866798 | 0.84664 | 0.826877 | 0.80751 | 0 | 0.010567 | 0.397337 | 5,182 | 151 | 117 | 34.317881 | 0.799552 | 0.008684 | 0 | 0.827586 | 1 | 0 | 0.259202 | 0.037001 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006897 | 0 | 0.027586 | 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 |
d3065f109a6ce326cbde2152a2c5536f9adbb3e1 | 16,288 | py | Python | tests/test_pyros_schemas/test_schema.py | pyros-dev/pyros-schemas | a460920260ee77a1b5b6d5c0b97df52f1572ff79 | [
"MIT"
] | 3 | 2018-01-01T17:10:16.000Z | 2018-11-15T15:41:46.000Z | tests/test_pyros_schemas/test_schema.py | pyros-dev/pyros-schemas | a460920260ee77a1b5b6d5c0b97df52f1572ff79 | [
"MIT"
] | 7 | 2018-02-02T10:05:55.000Z | 2018-02-17T15:15:46.000Z | tests/test_pyros_schemas/test_schema.py | pyros-dev/pyros-schemas | a460920260ee77a1b5b6d5c0b97df52f1572ff79 | [
"MIT"
] | 2 | 2017-09-27T09:46:31.000Z | 2018-02-02T09:37:13.000Z | from __future__ import absolute_import, print_function
import pytest
from pyros_schemas.ros.schemagic import create
from . import six_long
import hypothesis
import hypothesis.strategies as st
import std_msgs.msg as std_msgs
import genpy
from . import msg as pyros_schemas_test_msgs
from .strategies.ros import st... | 47.905882 | 174 | 0.786591 | 2,525 | 16,288 | 4.571485 | 0.063366 | 0.12735 | 0.079009 | 0.075717 | 0.900373 | 0.868752 | 0.839556 | 0.832019 | 0.781686 | 0.781686 | 0 | 0.020865 | 0.114317 | 16,288 | 339 | 175 | 48.047198 | 0.779287 | 0.06735 | 0 | 0.341463 | 0 | 0 | 0.237113 | 0.110943 | 0 | 0 | 0 | 0.00295 | 0.01626 | 1 | 0.142276 | false | 0 | 0.04065 | 0.113821 | 0.373984 | 0.004065 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
d33489bffeda5130f23db3e3776ee3c503ebde42 | 2,920 | py | Python | location_register/models/ratu_models.py | Iva-khar/Data_converter | 9e991f479e2bf1c2ab430a9ad1be2da936ea139b | [
"MIT"
] | null | null | null | location_register/models/ratu_models.py | Iva-khar/Data_converter | 9e991f479e2bf1c2ab430a9ad1be2da936ea139b | [
"MIT"
] | null | null | null | location_register/models/ratu_models.py | Iva-khar/Data_converter | 9e991f479e2bf1c2ab430a9ad1be2da936ea139b | [
"MIT"
] | null | null | null | from django.db import models
from data_ocean.models import DataOceanModel
from location_register.models.koatuu_models import KoatuuCategory
class RatuRegion(DataOceanModel):
name = models.CharField('назва', max_length=30, unique=True)
koatuu = models.CharField('код КОАТУУ', max_length=10, unique=True, null=T... | 42.941176 | 94 | 0.681507 | 326 | 2,920 | 5.966258 | 0.168712 | 0.096144 | 0.086375 | 0.129563 | 0.83599 | 0.827249 | 0.810283 | 0.791774 | 0.749614 | 0.749614 | 0 | 0.014815 | 0.214041 | 2,920 | 67 | 95 | 43.58209 | 0.83268 | 0 | 0 | 0.666667 | 0 | 0 | 0.087671 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.745098 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
d33d11247d061e7ccfc35cffc890e5eb82902094 | 12,708 | py | Python | tests/test_dataset_roll.py | Ouranosinc/clisops | d78c127e07503877ae87c40e3548146fb06258ff | [
"BSD-3-Clause"
] | 18 | 2020-05-19T21:22:37.000Z | 2022-02-04T08:10:21.000Z | tests/test_dataset_roll.py | Ouranosinc/clisops | d78c127e07503877ae87c40e3548146fb06258ff | [
"BSD-3-Clause"
] | 166 | 2020-04-22T11:04:57.000Z | 2022-03-31T11:14:21.000Z | tests/test_dataset_roll.py | Ouranosinc/clisops | d78c127e07503877ae87c40e3548146fb06258ff | [
"BSD-3-Clause"
] | 6 | 2020-04-02T14:30:21.000Z | 2021-12-04T03:51:12.000Z | """ Test the different methods of transforming the longitude coordinates after rolling"""
import numpy as np
# calculate the offset in the same way as in dataset_utils
def calculate_offset(a, bounds):
low, high = bounds
# get resolution of data
res = a[1] - a[0]
# calculate how many degrees to move ... | 34.721311 | 101 | 0.633695 | 1,970 | 12,708 | 3.878173 | 0.048731 | 0.095288 | 0.127618 | 0.117801 | 0.911518 | 0.906806 | 0.896597 | 0.890052 | 0.887565 | 0.880628 | 0 | 0.080885 | 0.239219 | 12,708 | 365 | 102 | 34.816438 | 0.70935 | 0.142037 | 0 | 0.897196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 1 | 0.130841 | false | 0 | 0.004673 | 0 | 0.172897 | 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 |
6cb558227ac1e84bef92016016290a758a6aca30 | 21,544 | py | Python | tests/primitives/test_repartition.py | philippwitte/distdl | e77e0c355d617def88b4acfcc12f0e92e9fb2fe5 | [
"BSD-2-Clause"
] | null | null | null | tests/primitives/test_repartition.py | philippwitte/distdl | e77e0c355d617def88b4acfcc12f0e92e9fb2fe5 | [
"BSD-2-Clause"
] | null | null | null | tests/primitives/test_repartition.py | philippwitte/distdl | e77e0c355d617def88b4acfcc12f0e92e9fb2fe5 | [
"BSD-2-Clause"
] | null | null | null | import os
import numpy as np
import pytest
import torch
from adjoint_test import check_adjoint_test_tight
use_cuda = 'USE_CUDA' in os.environ
adjoint_parametrizations = []
# Main functionality
adjoint_parametrizations.append(
pytest.param(
np.arange(4, 8), [4, 1], # P_x_ranks, P_x_shape
np.aran... | 32.741641 | 97 | 0.618084 | 2,942 | 21,544 | 4.230795 | 0.065602 | 0.0188 | 0.055274 | 0.015425 | 0.937093 | 0.932916 | 0.912188 | 0.891138 | 0.868 | 0.854342 | 0 | 0.023238 | 0.286901 | 21,544 | 657 | 98 | 32.791476 | 0.786956 | 0.143706 | 0 | 0.806653 | 0 | 0 | 0.050674 | 0.022528 | 0 | 0 | 0 | 0 | 0.008316 | 1 | 0.014553 | false | 0 | 0.085239 | 0 | 0.114345 | 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 |
9f1197dd664a9ad2b1d58438a66a2af11118261c | 511,100 | py | Python | pypsexec/paexec.py | 0v3rride/pypsexec_mod | 71f047744d3b416aa7ddb83cee06ef165984fb05 | [
"MIT"
] | null | null | null | pypsexec/paexec.py | 0v3rride/pypsexec_mod | 71f047744d3b416aa7ddb83cee06ef165984fb05 | [
"MIT"
] | null | null | null | pypsexec/paexec.py | 0v3rride/pypsexec_mod | 71f047744d3b416aa7ddb83cee06ef165984fb05 | [
"MIT"
] | null | null | null | import binascii
import os
import struct
from smbprotocol.structure import BoolField, BytesField, EnumField, \
IntField, ListField, Structure, StructureField, DateTimeField
from pypsexec.exceptions import PAExecException
try:
from collections import OrderedDict
except ImportError: # pragma: no cover
from... | 77.322239 | 83 | 0.757498 | 8,045 | 511,100 | 48.082039 | 0.749161 | 0.165581 | 0.241748 | 0.3135 | 0.08924 | 0.086826 | 0.085906 | 0.084298 | 0.081438 | 0.081035 | 0 | 0.714486 | 0.203015 | 511,100 | 6,609 | 84 | 77.333939 | 0.235141 | 0.007672 | 0 | 0.097746 | 0 | 0 | 0.74855 | 0.746344 | 0 | 0 | 0.000118 | 0 | 0 | 1 | 0.002162 | false | 0.000618 | 0.001235 | 0 | 0.007412 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
9f125cf42ff10da630e5eecfb8fb74a032107eeb | 60,224 | py | Python | ocr-20191230/python/alibabacloud_ocr20191230/client.py | atptro/alibabacloud-sdk | 65d4a000e4f4059b58ca1bc3d032853aedef4f3f | [
"Apache-2.0"
] | null | null | null | ocr-20191230/python/alibabacloud_ocr20191230/client.py | atptro/alibabacloud-sdk | 65d4a000e4f4059b58ca1bc3d032853aedef4f3f | [
"Apache-2.0"
] | null | null | null | ocr-20191230/python/alibabacloud_ocr20191230/client.py | atptro/alibabacloud-sdk | 65d4a000e4f4059b58ca1bc3d032853aedef4f3f | [
"Apache-2.0"
] | null | null | null | # This file is auto-generated, don't edit it. Thanks.
from alibabacloud_tea_rpc.client import Client as RPCClient
from alibabacloud_ocr20191230 import models as ocr_20191230_models
from alibabacloud_tea_util import models as util_models
from alibabacloud_tea_util.client import Client as UtilClient
from alibabacloud_tea... | 45.624242 | 195 | 0.680808 | 6,573 | 60,224 | 5.815914 | 0.036361 | 0.075337 | 0.04604 | 0.035576 | 0.817882 | 0.799309 | 0.799309 | 0.799309 | 0.797112 | 0.797112 | 0 | 0.014515 | 0.240386 | 60,224 | 1,319 | 196 | 45.658832 | 0.821125 | 0.029075 | 0 | 0.696785 | 1 | 0 | 0.03614 | 0.011984 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038228 | false | 0.013901 | 0.011295 | 0 | 0.089487 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9f2e1f309463ac4d74344bf610a616e724a8db09 | 13,793 | py | Python | backmarker/migrations/0001_initial.py | jmp/backmarker | e12a094d92dec798ad10aa8890fabe84f946c303 | [
"MIT"
] | null | null | null | backmarker/migrations/0001_initial.py | jmp/backmarker | e12a094d92dec798ad10aa8890fabe84f946c303 | [
"MIT"
] | null | null | null | backmarker/migrations/0001_initial.py | jmp/backmarker | e12a094d92dec798ad10aa8890fabe84f946c303 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.2 on 2021-05-15 15:45
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="Circuit",
fields=[
... | 36.297368 | 83 | 0.38418 | 878 | 13,793 | 5.916856 | 0.113895 | 0.075072 | 0.090087 | 0.120116 | 0.805775 | 0.782291 | 0.768816 | 0.715111 | 0.707603 | 0.707603 | 0 | 0.013854 | 0.508084 | 13,793 | 379 | 84 | 36.39314 | 0.751805 | 0.003263 | 0 | 0.763441 | 1 | 0 | 0.079441 | 0.006402 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005376 | 0 | 0.016129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 9 |
9f60bdd794cd662cbd883925c8025b2c7bf61851 | 16,921 | py | Python | sdk/python/pulumi_keycloak/custom_identity_provider_mapping.py | davide-talesco/pulumi-keycloak | 08d66be6f2bf578d4292e29eb6181794375bc4e5 | [
"ECL-2.0",
"Apache-2.0"
] | 13 | 2020-04-28T15:20:56.000Z | 2022-03-24T18:00:17.000Z | sdk/python/pulumi_keycloak/custom_identity_provider_mapping.py | davide-talesco/pulumi-keycloak | 08d66be6f2bf578d4292e29eb6181794375bc4e5 | [
"ECL-2.0",
"Apache-2.0"
] | 49 | 2020-02-06T17:53:35.000Z | 2022-03-25T19:36:08.000Z | sdk/python/pulumi_keycloak/custom_identity_provider_mapping.py | davide-talesco/pulumi-keycloak | 08d66be6f2bf578d4292e29eb6181794375bc4e5 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-06-09T01:08:56.000Z | 2021-12-07T15:30:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 48.207977 | 361 | 0.671651 | 2,032 | 16,921 | 5.376476 | 0.084154 | 0.130343 | 0.069199 | 0.054371 | 0.813272 | 0.794325 | 0.781419 | 0.765034 | 0.746362 | 0.710023 | 0 | 0.003018 | 0.236334 | 16,921 | 350 | 362 | 48.345714 | 0.842439 | 0.340228 | 0 | 0.653659 | 1 | 0 | 0.118416 | 0.073818 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156098 | false | 0.004878 | 0.02439 | 0 | 0.273171 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4ce6d6a0bff2622c22fb1c1367e64eb0e4b661d8 | 2,440 | py | Python | tests/test_models/test_common/test_ensemble.py | miaomiaojj/mmediting-master | 4705db3000b3766af4932a7a8e090ed6e8198afe | [
"Apache-2.0"
] | 1 | 2022-03-22T03:00:20.000Z | 2022-03-22T03:00:20.000Z | tests/test_models/test_common/test_ensemble.py | miaomiaojj/mmediting-master | 4705db3000b3766af4932a7a8e090ed6e8198afe | [
"Apache-2.0"
] | null | null | null | tests/test_models/test_common/test_ensemble.py | miaomiaojj/mmediting-master | 4705db3000b3766af4932a7a8e090ed6e8198afe | [
"Apache-2.0"
] | 1 | 2022-03-10T01:00:24.000Z | 2022-03-10T01:00:24.000Z | # Copyright (c) OpenMMLab. All rights reserved.
import numpy as np
import pytest
import torch
import torch.nn as nn
from mmedit.models.common import SpatialTemporalEnsemble
def test_ensemble_cpu():
model = nn.Identity()
# spatial ensemble of an image
ensemble = SpatialTemporalEnsemble(is_temporal_ensemb... | 37.538462 | 77 | 0.686475 | 302 | 2,440 | 5.437086 | 0.172185 | 0.116931 | 0.16078 | 0.199756 | 0.856882 | 0.856882 | 0.856882 | 0.856882 | 0.856882 | 0.856882 | 0 | 0.018634 | 0.208197 | 2,440 | 64 | 78 | 38.125 | 0.831263 | 0.138115 | 0 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.047619 | false | 0 | 0.119048 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
98053fe58d00f015f391cc682e1397842a6dae53 | 5,751 | py | Python | Nombre/Nombre.py | willingtonino/Algoritmos_programacion_C4G2 | 2a2c94678ae981974539a8019f17108775521e23 | [
"MIT"
] | null | null | null | Nombre/Nombre.py | willingtonino/Algoritmos_programacion_C4G2 | 2a2c94678ae981974539a8019f17108775521e23 | [
"MIT"
] | null | null | null | Nombre/Nombre.py | willingtonino/Algoritmos_programacion_C4G2 | 2a2c94678ae981974539a8019f17108775521e23 | [
"MIT"
] | 1 | 2021-10-31T22:54:45.000Z | 2021-10-31T22:54:45.000Z | import turtle
nombre = turtle.Turtle()
colors=['red', 'purple', 'blue', 'green', 'yellow', 'orange', 'pink','light blue']
#Nombre:Willington
nombre.color("blue")
nombre.pu()
nombre.setposition(-500,300)
nombre.speed(10)
nombre.pensize(5)
nombre.pd()
nombre.left(270)
nombre.forward(350)
nombre.left(135)
n... | 19.298658 | 83 | 0.719701 | 883 | 5,751 | 4.687429 | 0.091733 | 0.354917 | 0.264557 | 0.279053 | 0.830635 | 0.787388 | 0.765402 | 0.707659 | 0.684706 | 0.677942 | 0 | 0.117195 | 0.117197 | 5,751 | 298 | 84 | 19.298658 | 0.69805 | 0.024344 | 0 | 0.875862 | 0 | 0 | 0.015637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003448 | 0 | 0.003448 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 9 |
e28c841373f2374d122cbff3f43b67a22b6729fe | 21,378 | py | Python | src/rnn_cells/skip_rnn_cells.py | imatge-upc/skiprnn-2017-tfm | 63f93a539a3f2c7a713089fdd2c38bb7b0c581ca | [
"MIT"
] | 129 | 2017-08-24T00:27:47.000Z | 2022-03-24T21:42:37.000Z | src/rnn_cells/skip_rnn_cells.py | imatge-upc/skiprnn-2018-iclr | 63f93a539a3f2c7a713089fdd2c38bb7b0c581ca | [
"MIT"
] | 8 | 2018-02-28T15:05:48.000Z | 2022-02-09T23:30:21.000Z | src/rnn_cells/skip_rnn_cells.py | imatge-upc/skiprnn-2018-iclr | 63f93a539a3f2c7a713089fdd2c38bb7b0c581ca | [
"MIT"
] | 45 | 2017-08-24T13:16:11.000Z | 2021-05-13T02:36:59.000Z | """
Skip RNN cells that decide which timesteps should be attended.
"""
from __future__ import absolute_import
from __future__ import print_function
import collections
import tensorflow as tf
from rnn_cells import rnn_ops
from tensorflow.python.framework import ops
SkipLSTMStateTuple = collections.namedtuple("Skip... | 48.697039 | 123 | 0.630882 | 2,775 | 21,378 | 4.525405 | 0.071351 | 0.086001 | 0.049689 | 0.052954 | 0.885651 | 0.873626 | 0.858576 | 0.84257 | 0.835722 | 0.828874 | 0 | 0.007441 | 0.283329 | 21,378 | 438 | 124 | 48.808219 | 0.812219 | 0.180185 | 0 | 0.726923 | 0 | 0 | 0.034016 | 0.005414 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080769 | false | 0 | 0.023077 | 0.030769 | 0.184615 | 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 |
2c33c3656f1470ff41575901a7b5533eecb2a153 | 20,247 | py | Python | out.py | CYB3R73/hiro-bot | a1217d950b4bb228689b1a4b585cecbb064f3a2b | [
"Apache-2.0"
] | null | null | null | out.py | CYB3R73/hiro-bot | a1217d950b4bb228689b1a4b585cecbb064f3a2b | [
"Apache-2.0"
] | null | null | null | out.py | CYB3R73/hiro-bot | a1217d950b4bb228689b1a4b585cecbb064f3a2b | [
"Apache-2.0"
] | null | null | null | [2021-06-17T19:47:05.267189+03:00] DiscordPHP.INFO: gateway retrieved and set {"gateway":"wss://gateway.discord.gg/?v=6&encoding=json","session":{"total":1000,"remaining":983,"reset_after":62092171,"max_concurrency":1}} []
[2021-06-17T19:47:05.270016+03:00] DiscordPHP.INFO: starting connection to websocket {"gateway":"... | 54.721622 | 426 | 0.703265 | 2,975 | 20,247 | 4.767731 | 0.123025 | 0.063875 | 0.149041 | 0.145939 | 0.868866 | 0.753173 | 0.743866 | 0.740905 | 0.659475 | 0.659475 | 0 | 0.23695 | 0.080358 | 20,247 | 369 | 427 | 54.869919 | 0.524812 | 0 | 0 | 0.307116 | 0 | 0 | 0.198844 | 0.080012 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 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 |
2c7a4215e79452e900349586a25792c9f22bcf7f | 114 | py | Python | layoutlm/examples/__init__.py | Cedrusco/unilm | f5485696aad9a39b733bc16d40e5e5d2c37284eb | [
"MIT"
] | null | null | null | layoutlm/examples/__init__.py | Cedrusco/unilm | f5485696aad9a39b733bc16d40e5e5d2c37284eb | [
"MIT"
] | null | null | null | layoutlm/examples/__init__.py | Cedrusco/unilm | f5485696aad9a39b733bc16d40e5e5d2c37284eb | [
"MIT"
] | null | null | null | # flake8: noqa
from .classification.predict import make_prediction
from .classification.predict_api import predict | 38 | 51 | 0.859649 | 14 | 114 | 6.857143 | 0.642857 | 0.375 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.087719 | 114 | 3 | 52 | 38 | 0.913462 | 0.105263 | 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 |
2c925b2706415b690a9c401ac995120ba9c0bb9d | 220 | py | Python | rdfs/__init__.py | Caterpillar3211/respect_your_dfs | c7fa9fc187aa4bd7fdcd7b58b79981f351adbd71 | [
"MIT"
] | 1 | 2019-06-19T20:11:12.000Z | 2019-06-19T20:11:12.000Z | rdfs/__init__.py | Caterpillar3211/respect_your_dfs | c7fa9fc187aa4bd7fdcd7b58b79981f351adbd71 | [
"MIT"
] | null | null | null | rdfs/__init__.py | Caterpillar3211/respect_your_dfs | c7fa9fc187aa4bd7fdcd7b58b79981f351adbd71 | [
"MIT"
] | null | null | null | from .helpers import load_dataset
from .core import Merger
from .core import CategoryEncoder
from .core import Imputer
from .core import AttributeAdder
from .core import Pipesystem
from .core import OptimizedPipesystem | 24.444444 | 37 | 0.836364 | 29 | 220 | 6.310345 | 0.413793 | 0.262295 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131818 | 220 | 9 | 37 | 24.444444 | 0.958115 | 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 |
2ca4ea63da0f23de067acef30ee7375c05e958de | 783 | py | Python | src/ctc/db/schemas/protocol_schemas/fourbyte_schema_defs.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/db/schemas/protocol_schemas/fourbyte_schema_defs.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/db/schemas/protocol_schemas/fourbyte_schema_defs.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from __future__ import annotations
import toolsql
fourbyte_schema: toolsql.DBSchema = {
'tables': {
'function_signatures': {
'columns': [
{'name': 'id', 'primary': True},
{'name': 'created_at'},
{'name': 'text_signature', 'index': True},
... | 27.964286 | 58 | 0.427842 | 57 | 783 | 5.614035 | 0.421053 | 0.15 | 0.225 | 0.275 | 0.725 | 0.725 | 0.725 | 0.725 | 0.725 | 0.725 | 0 | 0 | 0.394636 | 783 | 27 | 59 | 29 | 0.675105 | 0 | 0 | 0.583333 | 0 | 0 | 0.302682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2cc59f6d545ed4eb26a63f14b39ba4426d435d78 | 17,950 | py | Python | krun/tests/test_manifest_manager.py | softdevteam/krun | a0c8e5bfb91d192695df63a500be96b7e6764491 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 68 | 2015-09-28T18:29:45.000Z | 2022-01-25T21:54:18.000Z | krun/tests/test_manifest_manager.py | softdevteam/krun | a0c8e5bfb91d192695df63a500be96b7e6764491 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 369 | 2015-07-01T14:43:22.000Z | 2021-07-28T09:34:25.000Z | krun/tests/test_manifest_manager.py | softdevteam/krun | a0c8e5bfb91d192695df63a500be96b7e6764491 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 9 | 2016-04-29T18:28:28.000Z | 2020-10-02T21:17:26.000Z | import os.path
import pytest
from krun.config import Config
from krun.scheduler import ManifestManager
from krun.util import FatalKrunError
from krun.tests.mocks import MockPlatform, mock_platform
DEFAULT_MANIFEST = "krun.manifest"
TEST_DIR = os.path.abspath(os.path.dirname(__file__))
BLANK_EXAMPLE_MANIFEST = """eta... | 32.695811 | 94 | 0.710306 | 2,408 | 17,950 | 5.056063 | 0.070183 | 0.127639 | 0.121971 | 0.087064 | 0.872279 | 0.83885 | 0.821437 | 0.791869 | 0.752115 | 0.727885 | 0 | 0.023739 | 0.173928 | 17,950 | 548 | 95 | 32.755474 | 0.797343 | 0.012535 | 0 | 0.739583 | 0 | 0 | 0.339056 | 0.284617 | 0 | 0 | 0 | 0 | 0.245833 | 1 | 0.05625 | false | 0 | 0.0125 | 0 | 0.075 | 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 |
390bc903243dbca726f91a88351ec6f06ced30c7 | 151 | py | Python | tcplotter/__init__.py | HUGG/gchron-plotters | 6f8115c62431030f59bbe6203b243f88d96527e0 | [
"MIT"
] | null | null | null | tcplotter/__init__.py | HUGG/gchron-plotters | 6f8115c62431030f59bbe6203b243f88d96527e0 | [
"MIT"
] | 5 | 2022-02-04T07:13:32.000Z | 2022-03-15T14:15:04.000Z | tcplotter/__init__.py | HUGG/gchron-plotters | 6f8115c62431030f59bbe6203b243f88d96527e0 | [
"MIT"
] | null | null | null | from .tcplotter import time_vs_temp
from .tcplotter import eu_vs_radius
from .tcplotter import rate_vs_radius_eu
from .tcplotter import rate_vs_age_tc
| 30.2 | 40 | 0.86755 | 26 | 151 | 4.653846 | 0.423077 | 0.429752 | 0.628099 | 0.380165 | 0.413223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 151 | 4 | 41 | 37.75 | 0.896296 | 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 |
1ac9d75cb11357f8d4a47e717d459835c97dc46a | 38 | py | Python | src/lib/symbol.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/symbol.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/symbol.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("symbol")
| 19 | 37 | 0.763158 | 6 | 38 | 4 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
46e978e4d8c72a9619d5082735eae010a3835dc0 | 4,172 | py | Python | trabConfeitaria/pycake/migrations/0002_auto_20210908_2214.py | mestrecalendo/trabalho_web | 4b6c8c6029e67270146396b8421f4c65a172a52d | [
"MIT"
] | null | null | null | trabConfeitaria/pycake/migrations/0002_auto_20210908_2214.py | mestrecalendo/trabalho_web | 4b6c8c6029e67270146396b8421f4c65a172a52d | [
"MIT"
] | null | null | null | trabConfeitaria/pycake/migrations/0002_auto_20210908_2214.py | mestrecalendo/trabalho_web | 4b6c8c6029e67270146396b8421f4c65a172a52d | [
"MIT"
] | null | null | null | # Generated by Django 3.2.6 on 2021-09-09 02:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pycake', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='pedido',
name='cobertura',
... | 65.1875 | 545 | 0.584372 | 395 | 4,172 | 6.118987 | 0.205063 | 0.082747 | 0.103434 | 0.119983 | 0.918494 | 0.918494 | 0.904013 | 0.900703 | 0.900703 | 0.851055 | 0 | 0.012944 | 0.203739 | 4,172 | 63 | 546 | 66.222222 | 0.71463 | 0.010786 | 0 | 0.77193 | 1 | 0 | 0.39297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 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 |
200de3e606ff6ab210f5f66800ffdc8b73b8e1ee | 902,000 | py | Python | data.py | dskart/perceptron_classifier | 936f763d8dcdb11898628cce2be50e68d0259296 | [
"MIT"
] | null | null | null | data.py | dskart/perceptron_classifier | 936f763d8dcdb11898628cce2be50e68d0259296 | [
"MIT"
] | null | null | null | data.py | dskart/perceptron_classifier | 936f763d8dcdb11898628cce2be50e68d0259296 | [
"MIT"
] | null | null | null | iris = [
((6.0, 2.2, 4.0, 1.0), "iris-versicolor"),
((6.9, 3.1, 5.4, 2.1), "iris-virginica" ),
((5.5, 2.4, 3.7, 1.0), "iris-versicolor"),
((6.3, 2.8, 5.1, 1.5), "iris-virginica" ),
((6.8, 3.0, 5.5, 2.1), "iris-virginica" ),
((6.3, 2.7, 4.9, 1.8), "iris-virginica" ),
((6.3, 3.4, 5.6, 2... | 129.059951 | 204 | 0.414328 | 265,000 | 902,000 | 1.410279 | 0.02266 | 0.445559 | 0.403902 | 0.280143 | 0.848907 | 0.832194 | 0.751771 | 0.590867 | 0.493701 | 0.416717 | 0 | 0.536868 | 0.260006 | 902,000 | 6,988 | 205 | 129.07842 | 0.023039 | 0 | 0 | 0.000716 | 0 | 0 | 0.002235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
647db96c9aaf141903504ac8bd588d3cfc6e9c13 | 112,783 | py | Python | api/source/main/python/datacube/api/query.py | alex-ip/agdc | 9e9eb556c33792440a3736f64cd5f628cf3a1385 | [
"BSD-3-Clause"
] | null | null | null | api/source/main/python/datacube/api/query.py | alex-ip/agdc | 9e9eb556c33792440a3736f64cd5f628cf3a1385 | [
"BSD-3-Clause"
] | null | null | null | api/source/main/python/datacube/api/query.py | alex-ip/agdc | 9e9eb556c33792440a3736f64cd5f628cf3a1385 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# ===============================================================================
# Copyright (c) 2014 Geoscience Australia
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
... | 35.861049 | 162 | 0.636967 | 14,909 | 112,783 | 4.608357 | 0.031189 | 0.051349 | 0.021687 | 0.022705 | 0.935799 | 0.933165 | 0.929206 | 0.923369 | 0.9204 | 0.915728 | 0 | 0.003268 | 0.270191 | 112,783 | 3,144 | 163 | 35.872455 | 0.831454 | 0.396922 | 0 | 0.794294 | 0 | 0.048799 | 0.530753 | 0.143814 | 0 | 0 | 0 | 0.000318 | 0 | 1 | 0.029279 | false | 0.003003 | 0.008258 | 0 | 0.087087 | 0.006757 | 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 |
64aa3d37b85cc243ccdf71e09e84298f1e19d500 | 25,744 | py | Python | venv/Lib/site-packages/dateparser/data/date_translation_data/pt.py | realwaynesun/cryptotradedata | 4bd4d3f80438507fbb2b611a9cf451ed1aa2bde1 | [
"MIT"
] | 2 | 2020-09-28T21:23:59.000Z | 2021-11-10T15:01:15.000Z | venv/Lib/site-packages/dateparser/data/date_translation_data/pt.py | realwaynesun/cryptotradedata | 4bd4d3f80438507fbb2b611a9cf451ed1aa2bde1 | [
"MIT"
] | 21 | 2021-02-04T01:37:44.000Z | 2022-03-12T01:00:55.000Z | venv/Lib/site-packages/dateparser/data/date_translation_data/pt.py | realwaynesun/cryptotradedata | 4bd4d3f80438507fbb2b611a9cf451ed1aa2bde1 | [
"MIT"
] | 1 | 2021-03-27T19:41:10.000Z | 2021-03-27T19:41:10.000Z | info = {
"name": "pt",
"date_order": "DMY",
"january": [
"janeiro",
"jan"
],
"february": [
"fevereiro",
"fev"
],
"march": [
"março",
"mar"
],
"april": [
"abril",
"abr"
],
"may": [
"maio",
"mai"
... | 26.215886 | 48 | 0.235977 | 1,747 | 25,744 | 3.4751 | 0.084717 | 0.260913 | 0.293527 | 0.037556 | 0.770713 | 0.766431 | 0.762477 | 0.762477 | 0.762477 | 0.762477 | 0 | 0.011936 | 0.599713 | 25,744 | 981 | 49 | 26.24261 | 0.577196 | 0 | 0 | 0.729867 | 0 | 0 | 0.331844 | 0.000893 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b3fd52b152656f94f2cb493a192011c38a0ebbef | 1,246 | py | Python | test.py | lvreynoso/Call-Routing-Project | 8aeafe6c26d92ed93f32a0fc830bb53e339cb83a | [
"MIT"
] | null | null | null | test.py | lvreynoso/Call-Routing-Project | 8aeafe6c26d92ed93f32a0fc830bb53e339cb83a | [
"MIT"
] | null | null | null | test.py | lvreynoso/Call-Routing-Project | 8aeafe6c26d92ed93f32a0fc830bb53e339cb83a | [
"MIT"
] | null | null | null | import scenario1
import unittest
cost = scenario1.findCost
class Scenario1Test(unittest.TestCase):
def test_init(self):
pass
def test_ten(self):
routes = 'data/route-costs-10.txt'
# find longest route
assert cost(routes, '+449275049230') == '0.49'
assert cost(rout... | 23.074074 | 54 | 0.611557 | 150 | 1,246 | 4.946667 | 0.28 | 0.113208 | 0.188679 | 0.256065 | 0.708895 | 0.708895 | 0.708895 | 0.708895 | 0.708895 | 0.708895 | 0 | 0.102508 | 0.264045 | 1,246 | 54 | 55 | 23.074074 | 0.706652 | 0.014446 | 0 | 0.705882 | 0 | 0 | 0.245314 | 0.202119 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.352941 | false | 0.058824 | 0.058824 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
3744a67ac0806df733d0a009949e03e1e837df25 | 4,565 | py | Python | waterspout_api/migrations/0014_auto_20210406_1439.py | Water-Systems-Management-UCM/Waterspout | 78965f1e53b09f442e278dff72c290ceac22ed60 | [
"MIT"
] | 1 | 2020-09-10T20:43:24.000Z | 2020-09-10T20:43:24.000Z | waterspout_api/migrations/0014_auto_20210406_1439.py | Water-Systems-Management-UCM/Waterspout | 78965f1e53b09f442e278dff72c290ceac22ed60 | [
"MIT"
] | 72 | 2020-05-28T17:20:12.000Z | 2022-03-28T14:11:40.000Z | waterspout_api/migrations/0014_auto_20210406_1439.py | Water-Systems-Management-UCM/Waterspout | 78965f1e53b09f442e278dff72c290ceac22ed60 | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2021-04-06 21:39
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('waterspout_api', '0013_modelarea_main_help_page_content'),
]
operations = [
migrations.AlterField(
model_name='calibratedparameter... | 40.04386 | 111 | 0.605915 | 451 | 4,565 | 5.94235 | 0.135255 | 0.089552 | 0.186567 | 0.216418 | 0.839925 | 0.839925 | 0.839925 | 0.839925 | 0.839925 | 0.839925 | 0 | 0.005436 | 0.274699 | 4,565 | 113 | 112 | 40.39823 | 0.803987 | 0.00942 | 0 | 0.747664 | 1 | 0 | 0.080531 | 0.008186 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009346 | 0 | 0.037383 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
37b2a8a74db0c97f1c16318f9a8201defdfcd005 | 129 | py | Python | bangoo/theming/context_processors.py | slapec/bangoo | 34facf122f15943a4368d5c2f45fe178ff01edaa | [
"MIT"
] | null | null | null | bangoo/theming/context_processors.py | slapec/bangoo | 34facf122f15943a4368d5c2f45fe178ff01edaa | [
"MIT"
] | null | null | null | bangoo/theming/context_processors.py | slapec/bangoo | 34facf122f15943a4368d5c2f45fe178ff01edaa | [
"MIT"
] | null | null | null | from django.conf import settings
def act_theme(request):
return {'ACT_THEME': getattr(request, 'ACT_THEME', settings.THEME)} | 32.25 | 71 | 0.75969 | 18 | 129 | 5.277778 | 0.611111 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 129 | 4 | 71 | 32.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 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 |
8077f1dd7b219933df17d90b224491a92c222729 | 174 | py | Python | secrets.py | bethskw/botcocktails | 1090d6e85161efb174891911a4cdb4523c97719a | [
"MIT"
] | 3 | 2019-02-20T21:47:08.000Z | 2021-03-19T19:23:17.000Z | secrets.py | bethskw/botcocktails | 1090d6e85161efb174891911a4cdb4523c97719a | [
"MIT"
] | null | null | null | secrets.py | bethskw/botcocktails | 1090d6e85161efb174891911a4cdb4523c97719a | [
"MIT"
] | 1 | 2018-11-27T22:03:24.000Z | 2018-11-27T22:03:24.000Z | C_KEY = "XXXXX" # replace with your own
C_SECRET = "XXXXX" # replace with your own
A_TOKEN = "xxxxx" # replace with your own
A_TOKEN_SECRET = "XXXXX" # replace with your own | 43.5 | 48 | 0.724138 | 29 | 174 | 4.172414 | 0.344828 | 0.396694 | 0.528926 | 0.661157 | 0.958678 | 0.768595 | 0.479339 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 174 | 4 | 48 | 43.5 | 0.852113 | 0.505747 | 0 | 0 | 0 | 0 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
80c11af0a9e842802c77c72389868b3417a646eb | 87 | py | Python | sam-app/sam-checker/get_contents.py | Aishwarya26l/sam-testing | bb2d78944ba5f816edc4de7d48a57c00bc4dfc21 | [
"MIT"
] | null | null | null | sam-app/sam-checker/get_contents.py | Aishwarya26l/sam-testing | bb2d78944ba5f816edc4de7d48a57c00bc4dfc21 | [
"MIT"
] | null | null | null | sam-app/sam-checker/get_contents.py | Aishwarya26l/sam-testing | bb2d78944ba5f816edc4de7d48a57c00bc4dfc21 | [
"MIT"
] | 1 | 2019-10-22T02:48:04.000Z | 2019-10-22T02:48:04.000Z | import os
def getIndexPage():
return os.popen('cat /var/task/index.html').read()
| 14.5 | 54 | 0.678161 | 13 | 87 | 4.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 5 | 55 | 17.4 | 0.797297 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 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 |
80d072dd7f1dfab164b7c6fe152a6fe9d577cdab | 111,008 | py | Python | src/libraries/reactive_planner_lib.py | vvasilo/semnav | e1141035fa4ea8ad3d5f077198a141209693625b | [
"MIT"
] | 10 | 2020-02-28T22:26:55.000Z | 2021-12-14T08:34:18.000Z | src/libraries/reactive_planner_lib.py | KodlabPenn/semnav | 489cfe203516e359cc488740b99c8e208a757c2d | [
"MIT"
] | 1 | 2020-08-24T23:37:51.000Z | 2021-11-10T14:29:34.000Z | src/libraries/reactive_planner_lib.py | vvasilo/semnav | e1141035fa4ea8ad3d5f077198a141209693625b | [
"MIT"
] | 3 | 2020-02-27T20:22:57.000Z | 2022-01-21T12:58:32.000Z | #!/usr/bin/env python
"""
MIT License (modified)
Copyright (c) 2020 The Trustees of the University of Pennsylvania
Authors:
Vasileios Vasilopoulos <vvasilo@seas.upenn.edu>
Omur Arslan <omur@seas.upenn.edu>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this **file** (the "Software"),... | 61.432208 | 1,155 | 0.628982 | 16,738 | 111,008 | 4.052814 | 0.045346 | 0.01026 | 0.006368 | 0.007076 | 0.800239 | 0.774559 | 0.75202 | 0.728035 | 0.709771 | 0.698243 | 0 | 0.042397 | 0.182383 | 111,008 | 1,806 | 1,156 | 61.466224 | 0.705009 | 0.263657 | 0 | 0.568946 | 0 | 0 | 0.06476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040556 | false | 0.003476 | 0.017381 | 0 | 0.110081 | 0.00927 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
80d5c63ff69dba8134d7d97f4b5da991272fad1f | 8,536 | py | Python | test/partial_log/test_partial_log.py | splunk/docker-logging-plugin | 6a5816b4ccba58c33e431b3c763442da65c2a5b3 | [
"Apache-2.0"
] | 63 | 2017-10-19T16:44:05.000Z | 2022-02-18T23:22:12.000Z | test/partial_log/test_partial_log.py | splunk/docker-logging-plugin | 6a5816b4ccba58c33e431b3c763442da65c2a5b3 | [
"Apache-2.0"
] | 41 | 2017-12-05T12:30:05.000Z | 2022-01-11T21:06:58.000Z | test/partial_log/test_partial_log.py | splunk/docker-logging-plugin | 6a5816b4ccba58c33e431b3c763442da65c2a5b3 | [
"Apache-2.0"
] | 27 | 2017-11-21T09:45:25.000Z | 2022-03-27T09:45:42.000Z | """
Copyright 2018 Splunk, 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, softwar... | 39.88785 | 121 | 0.606256 | 1,080 | 8,536 | 4.566667 | 0.165741 | 0.015207 | 0.041363 | 0.028386 | 0.822993 | 0.807583 | 0.782441 | 0.782441 | 0.773114 | 0.764801 | 0 | 0.012222 | 0.300258 | 8,536 | 214 | 122 | 39.88785 | 0.813494 | 0.243088 | 0 | 0.811024 | 0 | 0 | 0.127255 | 0.005223 | 0 | 0 | 0 | 0 | 0.03937 | 1 | 0.03937 | false | 0.03937 | 0.047244 | 0 | 0.086614 | 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 |
03f0e951e703bc07082b6a1a6a828adfe88ff594 | 797 | py | Python | CanChickensFly.py | griledchicken/VAMPY-2017-CS | 1bc71734751850b580b481eac51c5c235d0ca9e2 | [
"MIT"
] | null | null | null | CanChickensFly.py | griledchicken/VAMPY-2017-CS | 1bc71734751850b580b481eac51c5c235d0ca9e2 | [
"MIT"
] | null | null | null | CanChickensFly.py | griledchicken/VAMPY-2017-CS | 1bc71734751850b580b481eac51c5c235d0ca9e2 | [
"MIT"
] | null | null | null | answer = input("Can Chickens Fly? YES/NO: ")
if answer == "YES":
answer = input("Can they fly well? YES/NO: ")
if answer == "YES":
answer = input("Have you ever seen a Chicken? YES/NO: ")
if answer == "YES":
print("You're lying to me")
else:
print("Go take a look at one")
else:
answer = input("Have you... | 26.566667 | 58 | 0.607277 | 130 | 797 | 3.723077 | 0.238462 | 0.159091 | 0.10124 | 0.188017 | 0.896694 | 0.896694 | 0.896694 | 0.840909 | 0.840909 | 0.840909 | 0 | 0 | 0.224592 | 797 | 29 | 59 | 27.482759 | 0.783172 | 0 | 0 | 0.896552 | 0 | 0 | 0.462986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.275862 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
208d55bf2af77c0581700d580f1805b2e51b5213 | 30,297 | py | Python | model/dualposenet.py | wx-b/DualPoseNet | 393f786a28f857eee36d913f335912da72b28371 | [
"MIT"
] | 14 | 2021-08-19T09:12:23.000Z | 2022-03-22T06:58:58.000Z | model/dualposenet.py | wx-b/DualPoseNet | 393f786a28f857eee36d913f335912da72b28371 | [
"MIT"
] | 4 | 2021-09-16T05:48:53.000Z | 2022-02-28T16:23:40.000Z | model/dualposenet.py | wx-b/DualPoseNet | 393f786a28f857eee36d913f335912da72b28371 | [
"MIT"
] | 7 | 2021-10-11T05:38:39.000Z | 2022-01-04T03:22:57.000Z | # Copyright (c) Gorilla Lab, SCUT.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
"""
Dual Pose Network with Refined Learning of Pose Consistency.
Author: Jiehong Lin
"""
import os
import tensorflow as tf
import numpy as np
... | 48.243631 | 175 | 0.529491 | 3,493 | 30,297 | 4.348411 | 0.089322 | 0.036869 | 0.018434 | 0.020014 | 0.820923 | 0.799263 | 0.793798 | 0.766344 | 0.755415 | 0.735598 | 0 | 0.028694 | 0.361587 | 30,297 | 627 | 176 | 48.320574 | 0.756592 | 0.016833 | 0 | 0.704918 | 0 | 0.002049 | 0.053264 | 0.009375 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0.028689 | 0 | 0.047131 | 0.034836 | 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 |
20e69aa1204b71354dd606f9dd415d38b56a677a | 15,298 | py | Python | tests/integration/test_occ.py | aavcc/taiga-openshift | 7c33284573ceed38f755b8159ad83f3f68d2f7cb | [
"MIT"
] | null | null | null | tests/integration/test_occ.py | aavcc/taiga-openshift | 7c33284573ceed38f755b8159ad83f3f68d2f7cb | [
"MIT"
] | 12 | 2019-11-25T14:08:32.000Z | 2021-06-24T10:35:51.000Z | tests/integration/test_occ.py | threefoldtech/Threefold-Circles | cbc433796b25cf7af9a295af65d665a4a279e2d6 | [
"Apache-2.0"
] | 1 | 2018-06-07T10:58:15.000Z | 2018-06-07T10:58:15.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2014-2017 Andrey Antukh <niwi@niwi.nz>
# Copyright (C) 2014-2017 Jesús Espino <jespinog@gmail.com>
# Copyright (C) 2014-2017 David Barragán <bameda@dbarragan.com>
# Copyright (C) 2014-2017 Alejandro Alonso <alejandro.alonso@kaleidos.net>
# This program is free software: you can r... | 42.376731 | 88 | 0.664727 | 1,873 | 15,298 | 5.302723 | 0.097704 | 0.064841 | 0.043496 | 0.057994 | 0.914217 | 0.903141 | 0.896798 | 0.889952 | 0.887737 | 0.887737 | 0 | 0.015511 | 0.203491 | 15,298 | 360 | 89 | 42.494444 | 0.79959 | 0.0587 | 0 | 0.897436 | 0 | 0 | 0.15881 | 0.051801 | 0 | 0 | 0 | 0 | 0.131868 | 1 | 0.047619 | false | 0 | 0.018315 | 0 | 0.065934 | 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 |
20eced0df909101c4f435345f41c4866a1674f9a | 138 | py | Python | test/resources/inspectors/python/case27_using_requests.py | nihalshetty-boop/hyperstyle | 9a6d53cd1ca220d97d296c0087056b5885b26281 | [
"Apache-2.0"
] | 18 | 2020-10-05T16:48:11.000Z | 2022-03-22T04:15:38.000Z | test/resources/inspectors/python/case27_using_requests.py | nihalshetty-boop/hyperstyle | 9a6d53cd1ca220d97d296c0087056b5885b26281 | [
"Apache-2.0"
] | 60 | 2020-10-05T17:01:05.000Z | 2022-01-27T12:46:14.000Z | test/resources/inspectors/python/case27_using_requests.py | nihalshetty-boop/hyperstyle | 9a6d53cd1ca220d97d296c0087056b5885b26281 | [
"Apache-2.0"
] | 6 | 2021-02-09T09:31:19.000Z | 2021-08-13T07:45:51.000Z | import requests
def do_search(bookstore_url, params):
return requests.get(url=bookstore_url,
params=params)
| 19.714286 | 42 | 0.652174 | 16 | 138 | 5.4375 | 0.625 | 0.275862 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 138 | 6 | 43 | 23 | 0.87 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
4555aaa5efb8e9633d6c3233732fefd9345316e0 | 41 | py | Python | Python/Tests/TestData/FormattingTests/linereduction.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/FormattingTests/linereduction.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/FormattingTests/linereduction.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | (a +
b +
c +
d+
e+
f
)
| 4.555556 | 8 | 0.146341 | 6 | 41 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.682927 | 41 | 8 | 9 | 5.125 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
afff826c89cf84dbe2b809d9f7fa9ddb7ae851a3 | 86 | py | Python | chainerltr/evaluation/__init__.py | rjagerman/chainerltr | 1fdb6a0a304a465d27149011951a01a5e3de4bbc | [
"MIT"
] | 1 | 2019-04-10T03:18:23.000Z | 2019-04-10T03:18:23.000Z | chainerltr/evaluation/__init__.py | rjagerman/chainerltr | 1fdb6a0a304a465d27149011951a01a5e3de4bbc | [
"MIT"
] | null | null | null | chainerltr/evaluation/__init__.py | rjagerman/chainerltr | 1fdb6a0a304a465d27149011951a01a5e3de4bbc | [
"MIT"
] | null | null | null | from chainerltr.evaluation.ndcg import ndcg
from chainerltr.evaluation.dcg import dcg
| 28.666667 | 43 | 0.860465 | 12 | 86 | 6.166667 | 0.5 | 0.378378 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 44 | 43 | 0.948718 | 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 |
b370d17d5c8b1ddccff4041e2effd7503de95a5e | 8,292 | py | Python | home/templatetags/table_tags.py | davidjrichardson/toucans | 7446b78ec2a09ff90eb83d4a78638c909deb06e1 | [
"MIT"
] | 1 | 2020-04-20T05:37:09.000Z | 2020-04-20T05:37:09.000Z | home/templatetags/table_tags.py | davidjrichardson/toucans | 7446b78ec2a09ff90eb83d4a78638c909deb06e1 | [
"MIT"
] | 23 | 2019-03-13T10:54:36.000Z | 2022-03-11T23:33:59.000Z | home/templatetags/table_tags.py | davidjrichardson/toucans | 7446b78ec2a09ff90eb83d4a78638c909deb06e1 | [
"MIT"
] | null | null | null | from functools import reduce
from django import template
register = template.Library()
def rank_leg(scores):
points = {}
ranked = sorted(scores, key=lambda x: x[1], reverse=True)
for i in range(0, len(ranked)):
if ranked[i][1] != (0, 0, 0):
points[ranked[i][0]] = (len(ranked) - i, r... | 43.873016 | 113 | 0.599735 | 1,243 | 8,292 | 3.860016 | 0.103781 | 0.029179 | 0.034389 | 0.034181 | 0.834931 | 0.834931 | 0.834931 | 0.827637 | 0.793039 | 0.793039 | 0 | 0.032693 | 0.265919 | 8,292 | 188 | 114 | 44.106383 | 0.75538 | 0.154848 | 0 | 0.628788 | 0 | 0.212121 | 0.041518 | 0.014889 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0 | 0.015152 | 0.007576 | 0.159091 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2fb06c21eb891caf2ba79588b761d865ccf7d6e3 | 21,869 | py | Python | sdk/python/pulumi_newrelic/service_level.py | pulumi/pulumi-newrelic | cd9a882f3524883ed155f87ff26c4c17cd048c9a | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2019-09-17T20:41:26.000Z | 2022-01-13T23:54:14.000Z | sdk/python/pulumi_newrelic/service_level.py | pulumi/pulumi-newrelic | cd9a882f3524883ed155f87ff26c4c17cd048c9a | [
"ECL-2.0",
"Apache-2.0"
] | 136 | 2019-04-29T21:34:57.000Z | 2022-03-30T17:07:03.000Z | sdk/python/pulumi_newrelic/service_level.py | pulumi/pulumi-newrelic | cd9a882f3524883ed155f87ff26c4c17cd048c9a | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2019-10-05T10:33:59.000Z | 2021-06-15T16:37:49.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 44.630612 | 241 | 0.637661 | 2,460 | 21,869 | 5.534959 | 0.105691 | 0.071093 | 0.048326 | 0.045241 | 0.858769 | 0.838058 | 0.819771 | 0.805964 | 0.802218 | 0.787823 | 0 | 0.004789 | 0.26485 | 21,869 | 489 | 242 | 44.721881 | 0.842135 | 0.455622 | 0 | 0.659193 | 1 | 0 | 0.110541 | 0.05014 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156951 | false | 0.004484 | 0.03139 | 0 | 0.282511 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2fbeda5ce9c154a9ab00881c49315865e5d2e8ad | 197,887 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/lex_models/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/lex_models/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/lex_models/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def can_paginate(self, operation_name: str = None):
"""
C... | 59.74849 | 1,198 | 0.557945 | 21,454 | 197,887 | 5.130046 | 0.041158 | 0.01581 | 0.012993 | 0.007741 | 0.827013 | 0.805406 | 0.778712 | 0.755061 | 0.740187 | 0.728757 | 0 | 0.006678 | 0.349932 | 197,887 | 3,311 | 1,199 | 59.766536 | 0.848888 | 0.844836 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.454545 | 0.102273 | 0 | 0.568182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 11 |
2fc9f7217040262d94ce5133df432d66dd60db6a | 48 | py | Python | src/ui/menus.py | KathTheDragon/spindizzy-client | 7ad7c5b330e707ab40fa572c2c25049959544d11 | [
"MIT"
] | null | null | null | src/ui/menus.py | KathTheDragon/spindizzy-client | 7ad7c5b330e707ab40fa572c2c25049959544d11 | [
"MIT"
] | null | null | null | src/ui/menus.py | KathTheDragon/spindizzy-client | 7ad7c5b330e707ab40fa572c2c25049959544d11 | [
"MIT"
] | null | null | null | import tkinter as tk
def menubar(ui):
pass
| 9.6 | 20 | 0.6875 | 8 | 48 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 48 | 4 | 21 | 12 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
ff43b73960dca68d62dec6fa9b19a0ca5ed2c18c | 43 | py | Python | shufflenet/__init__.py | TropComplique/ShuffleNet-tensorflow | a3e531d23364af0d38a336241a07eb8b37993b74 | [
"MIT"
] | 45 | 2017-08-27T17:31:03.000Z | 2021-03-01T11:01:40.000Z | shufflenet/__init__.py | kingzhengguang/ImageNet-ShuffleNet-tensorflow | a3e531d23364af0d38a336241a07eb8b37993b74 | [
"MIT"
] | 9 | 2017-08-24T09:53:26.000Z | 2019-08-22T08:24:50.000Z | shufflenet/__init__.py | kingzhengguang/ImageNet-ShuffleNet-tensorflow | a3e531d23364af0d38a336241a07eb8b37993b74 | [
"MIT"
] | 20 | 2017-08-28T16:33:03.000Z | 2019-10-31T13:01:55.000Z | from .get_shufflenet import get_shufflenet
| 21.5 | 42 | 0.883721 | 6 | 43 | 6 | 0.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 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 |
ff6894db50194aa75df64958c810c45cece30015 | 108 | py | Python | app/database/base.py | Sephyr3s/Store-backend | c5e9cc91069e52b0ab11002094a88b1776b669bd | [
"Apache-2.0"
] | null | null | null | app/database/base.py | Sephyr3s/Store-backend | c5e9cc91069e52b0ab11002094a88b1776b669bd | [
"Apache-2.0"
] | null | null | null | app/database/base.py | Sephyr3s/Store-backend | c5e9cc91069e52b0ab11002094a88b1776b669bd | [
"Apache-2.0"
] | null | null | null | from app.database.base_class import Base
from app.models.place import Place
from app.models.user import User | 36 | 40 | 0.842593 | 19 | 108 | 4.736842 | 0.473684 | 0.233333 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 3 | 41 | 36 | 0.927835 | 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 |
ffa7ea79eec8298d7bcdbef4fe9e8d9ea1a8557e | 109 | py | Python | messenger/health_check/__init__.py | EducationalTestingService/halef-messenger | 59eccdbf021a5a1e8290b4f61fdc2b1d74947993 | [
"Apache-2.0"
] | null | null | null | messenger/health_check/__init__.py | EducationalTestingService/halef-messenger | 59eccdbf021a5a1e8290b4f61fdc2b1d74947993 | [
"Apache-2.0"
] | 1 | 2017-06-05T22:57:47.000Z | 2017-06-05T22:58:45.000Z | messenger/health_check/__init__.py | EducationalTestingService/halef-messenger | 59eccdbf021a5a1e8290b4f61fdc2b1d74947993 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
health_check = Blueprint('health_check', __name__)
from . import health # noqa | 21.8 | 50 | 0.779817 | 14 | 109 | 5.642857 | 0.571429 | 0.379747 | 0.506329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 5 | 51 | 21.8 | 0.849462 | 0.036697 | 0 | 0 | 0 | 0 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
4460e4feed0f72a43de6ee2899df2357b585c9b2 | 4,134 | py | Python | tests/render-out/Drawing13.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T23:34:55.000Z | 2020-05-21T23:34:55.000Z | tests/render-out/Drawing13.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | tests/render-out/Drawing13.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | #Autogenerated by ReportLab guiedit do not edit
from reportlab.graphics.shapes import _DrawingEditorMixin, Drawing, Group, Rect, String
from reportlab.lib.colors import Color, CMYKColor, PCMYKColor
class ExplodedDrawing_Drawing(_DrawingEditorMixin,Drawing):
def __init__(self,width=756.284,height=240.20000000000002,*a... | 142.551724 | 242 | 0.779149 | 668 | 4,134 | 4.83982 | 0.185629 | 0.016084 | 0.015775 | 0.011135 | 0.808537 | 0.808537 | 0.808537 | 0.808537 | 0.799876 | 0.799876 | 0 | 0.116463 | 0.050798 | 4,134 | 28 | 243 | 147.642857 | 0.699286 | 0.013546 | 0 | 0 | 1 | 0 | 0.229146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.083333 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9230b5dfc3dc5973a4a8bb85e64adb2810164e90 | 154 | py | Python | data/test_xunit.py | dustprotocol/go2xunit | 15f9176b63ac73928fea9106350a53d7556ddf27 | [
"MIT"
] | 163 | 2015-03-18T09:42:39.000Z | 2022-02-09T01:22:29.000Z | data/test_xunit.py | dustprotocol/go2xunit | 15f9176b63ac73928fea9106350a53d7556ddf27 | [
"MIT"
] | 50 | 2015-05-28T08:27:51.000Z | 2019-09-26T08:07:31.000Z | data/test_xunit.py | dustprotocol/go2xunit | 15f9176b63ac73928fea9106350a53d7556ddf27 | [
"MIT"
] | 50 | 2015-01-10T18:44:32.000Z | 2021-11-18T03:52:03.000Z | def test_add():
assert 1 + 2 == 3, "bad add"
def test_sub():
assert 2 - 1 == 1, "bad sub"
def test_sub_fail():
assert 2 - 2 == 1, "bad sub"
| 17.111111 | 32 | 0.538961 | 28 | 154 | 2.821429 | 0.357143 | 0.265823 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 0.285714 | 154 | 8 | 33 | 19.25 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
92aeeb3e9d61abc362adc14aaad14c366f08ca7b | 47,930 | py | Python | src/vbr/tableclasses/redcap/autogenerated/qst_mcc1_v03.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 1 | 2021-05-26T19:08:29.000Z | 2021-05-26T19:08:29.000Z | src/vbr/tableclasses/redcap/autogenerated/qst_mcc1_v03.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 7 | 2021-05-04T13:12:39.000Z | 2022-03-09T21:04:33.000Z | src/vbr/tableclasses/redcap/autogenerated/qst_mcc1_v03.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 2 | 2021-04-20T14:46:52.000Z | 2021-06-07T20:28:28.000Z | """Autogenerated 2021-11-16T11:37:36.551949 by redcap_classfiles.py
"""
from ....pgrest import *
from ...constants import Constants
from ..rcconstants import REDCapConstants
from ..rcaptable import RcapTable
__all__ = ["RcapQstMcc1V03"]
class RcapQstMcc1V03(RcapTable):
"""Qst Mcc1 V03"""
__redcap_form_nam... | 68.964029 | 245 | 0.528041 | 11,141 | 47,930 | 2.265326 | 0.028364 | 0.031698 | 0.035661 | 0.031698 | 0.908352 | 0.902647 | 0.866867 | 0.841231 | 0.840082 | 0.833545 | 0 | 0.245692 | 0.250511 | 47,930 | 694 | 246 | 69.063401 | 0.456866 | 0.686105 | 0 | 0 | 1 | 0 | 0.002891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022472 | 0 | 0.994382 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
92b26fb10b69150eb5abb2d1e46488489f0a691c | 55 | py | Python | play_motion/play_motion/src/play_motion/__init__.py | hect1995/Robotics_intro | 1b687585c20db5f1114d8ca6811a70313d325dd6 | [
"BSD-3-Clause"
] | 7 | 2018-10-24T14:52:20.000Z | 2021-01-12T14:59:00.000Z | play_motion/play_motion/src/play_motion/__init__.py | hect1995/Robotics_intro | 1b687585c20db5f1114d8ca6811a70313d325dd6 | [
"BSD-3-Clause"
] | null | null | null | play_motion/play_motion/src/play_motion/__init__.py | hect1995/Robotics_intro | 1b687585c20db5f1114d8ca6811a70313d325dd6 | [
"BSD-3-Clause"
] | 17 | 2019-09-29T10:22:41.000Z | 2021-04-08T12:38:37.000Z | from .move_joint import move_joint, print_err, print_ok | 55 | 55 | 0.854545 | 10 | 55 | 4.3 | 0.7 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 1 | 55 | 55 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
2bac10073b3ae6eec7697f798e5c4e87de6ae3a5 | 33,051 | py | Python | src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py | saisankargochhayat/azure-cli-extensions | f89443a766961f984977a2cf1b682973fcb61edd | [
"MIT"
] | null | null | null | src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py | saisankargochhayat/azure-cli-extensions | f89443a766961f984977a2cf1b682973fcb61edd | [
"MIT"
] | null | null | null | src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py | saisankargochhayat/azure-cli-extensions | f89443a766961f984977a2cf1b682973fcb61edd | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 58.809609 | 291 | 0.663399 | 3,856 | 33,051 | 5.465768 | 0.067427 | 0.086971 | 0.104574 | 0.055418 | 0.865819 | 0.836307 | 0.814196 | 0.801907 | 0.784304 | 0.756453 | 0 | 0.011297 | 0.183141 | 33,051 | 561 | 292 | 58.914439 | 0.769353 | 0.028743 | 0 | 0.711111 | 0 | 0.059259 | 0.330653 | 0.013869 | 0 | 0 | 0 | 0 | 0.019753 | 1 | 0.022222 | false | 0.004938 | 0.014815 | 0 | 0.049383 | 0.009877 | 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 |
9208f7346cadc419a62a686dd5dba387c6a93c38 | 8,531 | py | Python | examples/seq2seq/penman_denoising.py | ahoho/transformers | 366c305e5d4d122b47dd7a0a5e5e481e18e0a6ff | [
"Apache-2.0"
] | null | null | null | examples/seq2seq/penman_denoising.py | ahoho/transformers | 366c305e5d4d122b47dd7a0a5e5e481e18e0a6ff | [
"Apache-2.0"
] | null | null | null | examples/seq2seq/penman_denoising.py | ahoho/transformers | 366c305e5d4d122b47dd7a0a5e5e481e18e0a6ff | [
"Apache-2.0"
] | null | null | null | AMR_SOURCES = [
"(w / want-01 :ARG0 (b / boy) :ARG1 (g / go-01 :ARG0 b))"
]
AMR_TARGETS = [
"The boy wants to go."
]
AMR_NOISED = {
"convert-to-triples": {
"src": "order Graph: ( want :ARG0 ( boy ) :ARG1 ( go :ARG0 boy ) )",
"tgt": "<t> want :ARG0 boy <t> want :ARG1 go <t> go :ARG0 boy"
},
"generate-fr... | 39.133028 | 94 | 0.563006 | 1,217 | 8,531 | 3.822514 | 0.036976 | 0.215176 | 0.104471 | 0.108985 | 0.955718 | 0.938951 | 0.915735 | 0.866939 | 0.86092 | 0.829536 | 0 | 0.044783 | 0.214746 | 8,531 | 218 | 95 | 39.133028 | 0.649649 | 0 | 0 | 0.398148 | 0 | 0.175926 | 0.80872 | 0.117206 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a6f4cd68d6d364156f5fdb3da318997921fa8760 | 314 | py | Python | randomsubgroups/__init__.py | rebelosa/random-subgroups | 5fa795d0251e2d5dfac678729d091ddf5c34f82e | [
"MIT"
] | 4 | 2020-10-15T20:30:15.000Z | 2021-02-23T16:38:13.000Z | randomsubgroups/__init__.py | rebelosa/random-subgroups | 5fa795d0251e2d5dfac678729d091ddf5c34f82e | [
"MIT"
] | 2 | 2021-02-14T07:03:58.000Z | 2021-02-21T17:16:57.000Z | randomsubgroups/__init__.py | rebelosa/random-subgroups | 5fa795d0251e2d5dfac678729d091ddf5c34f82e | [
"MIT"
] | null | null | null | from ._randomsubgroups import SubgroupPredictorBase
from ._randomsubgroups import RandomSubgroupClassifier
from ._randomsubgroups import RandomSubgroupRegressor
from ._version import __version__
__all__ = ['SubgroupPredictorBase', 'RandomSubgroupClassifier', 'RandomSubgroupRegressor',
'__version__']
| 34.888889 | 90 | 0.83121 | 21 | 314 | 11.666667 | 0.380952 | 0.232653 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111465 | 314 | 8 | 91 | 39.25 | 0.878136 | 0 | 0 | 0 | 0 | 0 | 0.251592 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
47029060be442baf1023a0a0e23b74ce3ae356e8 | 8,240 | py | Python | aoi_envs/__init__.py | landonbutler/Learning-Connectivity | 2ce4c148878e2dab98c53a7cc2bd8d1362c2bf87 | [
"MIT"
] | 2 | 2021-04-13T19:50:40.000Z | 2021-05-04T09:27:37.000Z | aoi_envs/__init__.py | landonbutler/Learning-Connectivity | 2ce4c148878e2dab98c53a7cc2bd8d1362c2bf87 | [
"MIT"
] | null | null | null | aoi_envs/__init__.py | landonbutler/Learning-Connectivity | 2ce4c148878e2dab98c53a7cc2bd8d1362c2bf87 | [
"MIT"
] | 2 | 2021-04-13T19:51:05.000Z | 2021-05-12T16:07:41.000Z | from aoi_envs.MultiAgent import MultiAgentEnv
from aoi_envs.Mobile import MobileEnv
from gym.envs.registration import register
MAX_EPISODE_STEPS = 10000
register(
id='StationaryEnv-v0',
entry_point='aoi_envs:MultiAgentEnv',
max_episode_steps=MAX_EPISODE_STEPS,
)
##########################################... | 24.744745 | 76 | 0.672209 | 993 | 8,240 | 5.239678 | 0.093656 | 0.174899 | 0.262349 | 0.129733 | 0.80319 | 0.77513 | 0.77513 | 0.747453 | 0.743609 | 0.743609 | 0 | 0.042746 | 0.142597 | 8,240 | 332 | 77 | 24.819277 | 0.693701 | 0.037015 | 0 | 0.511538 | 0 | 0 | 0.323224 | 0.061852 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011538 | 0 | 0.011538 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
471541a5cf52f118d9542ca2f78a5e604679f92d | 194 | py | Python | manager/integration/tests/cloudprovider.py | kaxing/longhorn-tests | e8e95f1446155f20cbbb9b47d8e139de09d567f0 | [
"Apache-2.0"
] | 10 | 2021-01-25T00:52:46.000Z | 2022-02-20T01:49:56.000Z | manager/integration/tests/cloudprovider.py | kaxing/longhorn-tests | e8e95f1446155f20cbbb9b47d8e139de09d567f0 | [
"Apache-2.0"
] | 273 | 2019-06-12T17:43:49.000Z | 2022-03-29T09:06:02.000Z | manager/integration/tests/cloudprovider.py | kaxing/longhorn-tests | e8e95f1446155f20cbbb9b47d8e139de09d567f0 | [
"Apache-2.0"
] | 24 | 2019-06-12T04:03:00.000Z | 2022-03-21T08:08:47.000Z | class cloudprovider:
def instance_id(self):
pass
def instance_stop(self):
pass
def instance_start(self):
pass
def instance_status(self):
pass
| 13.857143 | 30 | 0.592784 | 22 | 194 | 5.045455 | 0.454545 | 0.396396 | 0.297297 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.340206 | 194 | 13 | 31 | 14.923077 | 0.867188 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
472541c1fb45432416447fbd232a3ef995de7235 | 35 | py | Python | cstool/input_data/__init__.py | Nebula-simulator/cstool | 4d8a6434fa0d05287876f656842257fbd5d196bd | [
"BSD-3-Clause"
] | null | null | null | cstool/input_data/__init__.py | Nebula-simulator/cstool | 4d8a6434fa0d05287876f656842257fbd5d196bd | [
"BSD-3-Clause"
] | 2 | 2021-08-05T12:36:13.000Z | 2022-02-05T15:51:39.000Z | cstool/input_data/__init__.py | Nebula-simulator/cstool | 4d8a6434fa0d05287876f656842257fbd5d196bd | [
"BSD-3-Clause"
] | 1 | 2021-08-06T09:20:43.000Z | 2021-08-06T09:20:43.000Z | from .param_file import param_file
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 0.666667 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
753028e8ebdf1300490ed13c919d16e0ca4beb04 | 7,068 | py | Python | tests/test_dataset.py | ttecles/aidl-lyrics-recognition | 33a7cf449a0a5e45d0575493b8b92b64787c8b8e | [
"CC0-1.0"
] | 8 | 2021-06-07T09:16:56.000Z | 2022-03-30T13:30:31.000Z | tests/test_dataset.py | ttecles/aidl-lyrics-recognition | 33a7cf449a0a5e45d0575493b8b92b64787c8b8e | [
"CC0-1.0"
] | 1 | 2021-06-27T13:56:29.000Z | 2021-06-30T20:52:08.000Z | tests/test_dataset.py | ttecles/aidl-lyrics-recognition | 33a7cf449a0a5e45d0575493b8b92b64787c8b8e | [
"CC0-1.0"
] | 2 | 2021-12-05T06:58:27.000Z | 2022-02-09T15:18:02.000Z | import pathlib
from unittest import TestCase
from unittest.mock import patch
from DALI import Annotations
from lyre.data import DaliDataset, Chunk
from lyre.utils import sample2time
class TestDaliDataset(TestCase):
def test_creation_of_dataset(self):
self.maxDiff = None
with patch("lyre.data.da... | 47.436242 | 119 | 0.535088 | 787 | 7,068 | 4.637865 | 0.13723 | 0.102466 | 0.036164 | 0.030685 | 0.816712 | 0.813151 | 0.791507 | 0.791507 | 0.781644 | 0.766575 | 0 | 0.081143 | 0.316497 | 7,068 | 148 | 120 | 47.756757 | 0.674395 | 0.037917 | 0 | 0.705882 | 0 | 0 | 0.099102 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 1 | 0.033613 | false | 0 | 0.05042 | 0 | 0.092437 | 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 |
f337866812b474c09e2202fff6887c80f6dcd01a | 31,982 | py | Python | sdk/python/pulumi_databricks/mws_customer_managed_keys.py | pulumi/pulumi-databricks | 43580d4adbd04b72558f368ff0eef3d03432ebc1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_databricks/mws_customer_managed_keys.py | pulumi/pulumi-databricks | 43580d4adbd04b72558f368ff0eef3d03432ebc1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_databricks/mws_customer_managed_keys.py | pulumi/pulumi-databricks | 43580d4adbd04b72558f368ff0eef3d03432ebc1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 49.738725 | 272 | 0.616253 | 3,267 | 31,982 | 5.811142 | 0.089073 | 0.047511 | 0.052146 | 0.032657 | 0.895128 | 0.884277 | 0.87685 | 0.865894 | 0.863208 | 0.850988 | 0 | 0.005882 | 0.287724 | 31,982 | 642 | 273 | 49.816199 | 0.827524 | 0.568632 | 0 | 0.642512 | 1 | 0 | 0.142752 | 0.064828 | 0 | 0 | 0 | 0 | 0 | 1 | 0.154589 | false | 0.004831 | 0.033816 | 0 | 0.280193 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f36495e33d596f7361caa6c8ba8d2e5cf0761c52 | 25,617 | py | Python | devops/ops/api/assets_api.py | jinjin123/devops2.0 | 8241aff0c6677cef55c9e13b7d182fb75a814bbe | [
"MIT"
] | null | null | null | devops/ops/api/assets_api.py | jinjin123/devops2.0 | 8241aff0c6677cef55c9e13b7d182fb75a814bbe | [
"MIT"
] | null | null | null | devops/ops/api/assets_api.py | jinjin123/devops2.0 | 8241aff0c6677cef55c9e13b7d182fb75a814bbe | [
"MIT"
] | null | null | null | # !/usr/bin/env python
# _*_ coding:utf-8 _*_
from rest_framework import viewsets, permissions
from ops.serializers import *
from ops.models import *
from rest_framework import status
from django.http import Http404
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framewor... | 43.640545 | 124 | 0.615099 | 2,814 | 25,617 | 5.445984 | 0.057569 | 0.084959 | 0.065775 | 0.073083 | 0.861338 | 0.840261 | 0.817684 | 0.786949 | 0.765024 | 0.737031 | 0 | 0.010303 | 0.268728 | 25,617 | 586 | 125 | 43.715017 | 0.807772 | 0.004177 | 0 | 0.637131 | 0 | 0 | 0.072248 | 0.020107 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.004219 | 0.021097 | null | null | 0.008439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f3a3102984d588e2abc373267f16845fca67864a | 17,427 | py | Python | import_models.py | CHREC/nn_benching-1 | 3b2e21e244edc20a226930104f9eb82f097296b0 | [
"MIT"
] | 3 | 2020-01-07T17:51:10.000Z | 2021-03-27T02:03:53.000Z | import_models.py | CHREC/nn_benching-1 | 3b2e21e244edc20a226930104f9eb82f097296b0 | [
"MIT"
] | null | null | null | import_models.py | CHREC/nn_benching-1 | 3b2e21e244edc20a226930104f9eb82f097296b0 | [
"MIT"
] | 1 | 2021-07-13T16:30:04.000Z | 2021-07-13T16:30:04.000Z | import torchvision.models as models
import torchvision.transforms as transforms
import torchvision.datasets as datasets
from torch.utils.data import DataLoader
import torch
#from models_dir.p_s_s.models import duc_hdc, fcn8s, fcn16s, fcn32s, gcn, psp_net, seg_net, u_net
from efficientnet_pytorch import Efficien... | 48.008264 | 189 | 0.650485 | 1,744 | 17,427 | 6.241972 | 0.114679 | 0.088187 | 0.176741 | 0.203932 | 0.914937 | 0.904648 | 0.904648 | 0.904648 | 0.891788 | 0.891788 | 0 | 0.065416 | 0.207896 | 17,427 | 362 | 190 | 48.140884 | 0.723196 | 0.156998 | 0 | 0.819905 | 0 | 0.004739 | 0.136495 | 0.011209 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009479 | false | 0 | 0.037915 | 0 | 0.075829 | 0.033175 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
caca9e7e4c7e9fcaa5eda9ce8eed667687e6876a | 34,263 | py | Python | tests/scheduling/test_condition.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | tests/scheduling/test_condition.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | tests/scheduling/test_condition.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | import logging
import pytest
from psyneulink.core.components.functions.transferfunctions import Linear
from psyneulink.core.components.mechanisms.processing.transfermechanism import TransferMechanism
from psyneulink.core.components.projections.pathway.mappingprojection import MappingProjection
from psyneulink.core.co... | 41.330519 | 395 | 0.613636 | 3,871 | 34,263 | 5.269181 | 0.049083 | 0.138844 | 0.088248 | 0.108251 | 0.903956 | 0.903074 | 0.903074 | 0.899201 | 0.891945 | 0.891945 | 0 | 0.013774 | 0.27108 | 34,263 | 828 | 396 | 41.380435 | 0.802923 | 0.032134 | 0 | 0.776235 | 0 | 0 | 0.003018 | 0 | 0 | 0 | 0 | 0 | 0.075617 | 1 | 0.070988 | false | 0.100309 | 0.013889 | 0.003086 | 0.098765 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
1b6d09dfc4f1b4dc68d58889456369a59b9e4ee0 | 92 | py | Python | parameters_8000.py | rchen33/Web2py_memo | 71387aaef5b2220e4442514944a39266e44a8871 | [
"BSD-3-Clause"
] | null | null | null | parameters_8000.py | rchen33/Web2py_memo | 71387aaef5b2220e4442514944a39266e44a8871 | [
"BSD-3-Clause"
] | null | null | null | parameters_8000.py | rchen33/Web2py_memo | 71387aaef5b2220e4442514944a39266e44a8871 | [
"BSD-3-Clause"
] | null | null | null | password="pbkdf2(1000,20,sha512)$b38a05727410f589$82dc4c62c2132fdc53b2e69c6a362f5369ad31dd"
| 46 | 91 | 0.891304 | 7 | 92 | 11.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.516484 | 0.01087 | 92 | 1 | 92 | 92 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0.869565 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
948936c51930c143342f75833616fd120dea2868 | 68,602 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_pinned/cmp_libquantum/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_pinned/cmp_libquantum/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_pinned/cmp_libquantum/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.056893 | 124 | 0.68205 | 8,082 | 68,602 | 5.783469 | 0.064959 | 0.123572 | 0.112961 | 0.093449 | 0.941038 | 0.933743 | 0.920756 | 0.895832 | 0.867464 | 0.84868 | 0 | 0.131834 | 0.224352 | 68,602 | 914 | 125 | 75.056893 | 0.746594 | 0 | 0 | 0.664114 | 0 | 0 | 0.657479 | 0.048103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b6e01231f6ddaed17eabf22f2cf909de2da3fd64 | 8,289 | py | Python | tests/test_backend.py | pbaehr/django-cas-ng | 470fc9ab4d6110cf39cc434c8317097546aa4ced | [
"MIT"
] | null | null | null | tests/test_backend.py | pbaehr/django-cas-ng | 470fc9ab4d6110cf39cc434c8317097546aa4ced | [
"MIT"
] | 1 | 2017-07-17T12:31:28.000Z | 2017-07-31T08:59:35.000Z | tests/test_backend.py | WernerRaath/django-cas-ng | 2999648af76e888ea0122c8f727451396cf9f724 | [
"MIT"
] | 1 | 2019-03-06T09:44:08.000Z | 2019-03-06T09:44:08.000Z | from __future__ import absolute_import
import sys
import pytest
from django.test import RequestFactory
from django_cas_ng import backends
@pytest.mark.django_db
def test_backend_authentication_creating_a_user(monkeypatch, django_user_model):
"""
Test the case where CAS authentication is creating a new user.... | 31.51711 | 93 | 0.694414 | 1,008 | 8,289 | 5.565476 | 0.109127 | 0.055615 | 0.047415 | 0.040998 | 0.870232 | 0.860606 | 0.860606 | 0.84795 | 0.84795 | 0.836185 | 0 | 0.001365 | 0.204488 | 8,289 | 262 | 94 | 31.637405 | 0.849409 | 0.186754 | 0 | 0.79085 | 0 | 0 | 0.152131 | 0.039587 | 0 | 0 | 0 | 0 | 0.163399 | 1 | 0.124183 | false | 0 | 0.03268 | 0.065359 | 0.228758 | 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 |
8e04477a8705dc2344d3c75791a0441dfe9889b8 | 6,269 | py | Python | loldib/getratings/models/NA/na_jinx/na_jinx_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_jinx/na_jinx_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_jinx/na_jinx_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Jinx_Mid_Aatrox(Ratings):
pass
class NA_Jinx_Mid_Ahri(Ratings):
pass
class NA_Jinx_Mid_Akali(Ratings):
pass
class NA_Jinx_Mid_Alistar(Ratings):
pass
class NA_Jinx_Mid_Amumu(Ratings):
pass
class NA_Jinx_Mid_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
8e22442365d785a783e5e25a9bd0e144d5615dbf | 586 | py | Python | pset_challenging_ext/exercises/p54.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 5 | 2019-04-08T20:05:37.000Z | 2019-12-04T20:48:45.000Z | pset_challenging_ext/exercises/p54.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 8 | 2019-04-15T15:16:05.000Z | 2022-02-12T10:33:32.000Z | pset_challenging_ext/exercises/p54.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 2 | 2019-04-10T00:14:42.000Z | 2020-02-26T20:35:21.000Z | """
Define a class named Shape and its subclass Square. The Square class has an init function which takes a length as argument. Both classes have a area function which can print the area of the shape where Shape's area is 0 by default.
"""
"""Define a class named Shape and its subclass Square. The Square class has an ... | 65.111111 | 234 | 0.771331 | 109 | 586 | 4.146789 | 0.385321 | 0.115044 | 0.053097 | 0.075221 | 0.818584 | 0.818584 | 0.818584 | 0.818584 | 0.818584 | 0.818584 | 0 | 0.004211 | 0.18942 | 586 | 9 | 235 | 65.111111 | 0.947368 | 0.394198 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8e4a79c3b1a36fed4482fd94b962204fce143c66 | 46,378 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_autorp_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_autorp_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_autorp_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_ipv4_autorp_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR ipv4\-autorp package operational data.
This module contains definitions
for the following management objects\:
auto\-rp\: AutoRP operational data
Copyright (c) 2013\-2016 by Cisco Systems, Inc.
All rights res... | 36.691456 | 310 | 0.449351 | 4,488 | 46,378 | 4.444742 | 0.040998 | 0.054943 | 0.068679 | 0.068077 | 0.956036 | 0.953429 | 0.951073 | 0.951073 | 0.951073 | 0.951073 | 0 | 0.035263 | 0.455798 | 46,378 | 1,263 | 311 | 36.720507 | 0.755101 | 0.262538 | 0 | 0.891182 | 0 | 0.026266 | 0.130958 | 0.100596 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161351 | false | 0 | 0.043152 | 0.02439 | 0.515947 | 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 | 1 | 0 | 0 | 8 |
ed9319b4c643894e862dc180400d3e4c6e873027 | 68 | py | Python | src/models/__init__.py | renyi-ai/drfrankenstein | b9064cdea67698f70af07849bc5decaafccac9f3 | [
"MIT"
] | 4 | 2021-12-08T14:27:19.000Z | 2022-01-05T20:19:03.000Z | src/models/__init__.py | renyi-ai/drfrankenstein | b9064cdea67698f70af07849bc5decaafccac9f3 | [
"MIT"
] | null | null | null | src/models/__init__.py | renyi-ai/drfrankenstein | b9064cdea67698f70af07849bc5decaafccac9f3 | [
"MIT"
] | null | null | null | from src.models.classifiers import *
from src.models.frank import *
| 22.666667 | 36 | 0.794118 | 10 | 68 | 5.4 | 0.6 | 0.259259 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 37 | 34 | 0.9 | 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 |
b62ff9e5eec8b6d69d6eaf98f80cfd17b261bf8f | 253,617 | py | Python | src/MSI/optimization/matrix_loader.py | carlylagrotta/MSI | e958beb5df2a2d1018bbb2f96382b5c99b08c3ef | [
"MIT"
] | 1 | 2021-06-25T15:46:06.000Z | 2021-06-25T15:46:06.000Z | src/MSI/optimization/matrix_loader.py | TheBurkeLab/MSI | e958beb5df2a2d1018bbb2f96382b5c99b08c3ef | [
"MIT"
] | null | null | null | src/MSI/optimization/matrix_loader.py | TheBurkeLab/MSI | e958beb5df2a2d1018bbb2f96382b5c99b08c3ef | [
"MIT"
] | 2 | 2019-12-18T23:45:25.000Z | 2021-06-10T20:37:20.000Z | import numpy as np
import pandas as pd
from ..master_equation import master_equation as meq
#import MSI.master_equation.master_equation as meq
import copy
import re
import cantera as ct
class OptMatrix(object):
def __init__(self):
self.S_matrix = None
self.s_matrix = None
self.Y_matrix = N... | 62.590573 | 375 | 0.541718 | 24,945 | 253,617 | 5.133333 | 0.028864 | 0.013682 | 0.011386 | 0.015181 | 0.873394 | 0.838596 | 0.809342 | 0.782751 | 0.764367 | 0.747312 | 0 | 0.009446 | 0.365504 | 253,617 | 4,051 | 376 | 62.606023 | 0.786302 | 0.058624 | 0 | 0.703662 | 0 | 0.000378 | 0.086811 | 0.020438 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013213 | false | 0.00151 | 0.002643 | 0.000378 | 0.033975 | 0.001133 | 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 |
b649d55b955af3b2e169f07a8038551b9e42e9ff | 17,165 | py | Python | placer/placer_lib_test.py | beomyeol/baechi | 796dd45f6db6eb11bb2fba2acfd56f51da024df8 | [
"NCSA"
] | 4 | 2020-09-27T01:32:23.000Z | 2022-03-06T22:49:19.000Z | placer/placer_lib_test.py | beomyeol/baechi | 796dd45f6db6eb11bb2fba2acfd56f51da024df8 | [
"NCSA"
] | null | null | null | placer/placer_lib_test.py | beomyeol/baechi | 796dd45f6db6eb11bb2fba2acfd56f51da024df8 | [
"NCSA"
] | 1 | 2021-11-15T06:36:29.000Z | 2021-11-15T06:36:29.000Z | # Copyright 2020 University of Illinois Board of Trustees. All Rights Reserved.
# Author: Beomyeol Jeon, DPRG (https://dprg.cs.uiuc.edu)
# This file is part of Baechi, which is released under specific terms. See file License.txt file for full license details.
# ==========================================================... | 45.651596 | 122 | 0.55887 | 2,159 | 17,165 | 4.192219 | 0.058824 | 0.092034 | 0.079549 | 0.085073 | 0.896034 | 0.878908 | 0.795161 | 0.777704 | 0.74942 | 0.723898 | 0 | 0.051886 | 0.267929 | 17,165 | 375 | 123 | 45.773333 | 0.668391 | 0.05785 | 0 | 0.726984 | 0 | 0 | 0.216766 | 0 | 0 | 0 | 0 | 0 | 0.260317 | 1 | 0.022222 | false | 0 | 0.009524 | 0 | 0.034921 | 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 |
b69ef294d653b88033a59117fedccaa5a2a0264b | 73 | py | Python | ai/algorithms/reinforcement_learning/monte_carlo/__init__.py | rbak/ai-implementations | 5b773c23a5582b05b8aef55ea70e800cf4ffa376 | [
"MIT"
] | null | null | null | ai/algorithms/reinforcement_learning/monte_carlo/__init__.py | rbak/ai-implementations | 5b773c23a5582b05b8aef55ea70e800cf4ffa376 | [
"MIT"
] | null | null | null | ai/algorithms/reinforcement_learning/monte_carlo/__init__.py | rbak/ai-implementations | 5b773c23a5582b05b8aef55ea70e800cf4ffa376 | [
"MIT"
] | null | null | null | from .monte_carlo_prediction import *
from .monte_carlo_control import *
| 24.333333 | 37 | 0.835616 | 10 | 73 | 5.7 | 0.6 | 0.315789 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 38 | 36.5 | 0.876923 | 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 |
b6a970b2171f56ad789b97a6380209b5c0b4639a | 34,014 | py | Python | dit_helpdesk/countries/migrations/0004_auto_20201021_1041.py | uktrade/dit-helpdesk | f5127daa46e920d33ec3f0b982136b65bba0353a | [
"MIT"
] | 3 | 2019-10-24T10:39:38.000Z | 2021-07-13T11:46:18.000Z | dit_helpdesk/countries/migrations/0004_auto_20201021_1041.py | uktrade/dit-helpdesk | f5127daa46e920d33ec3f0b982136b65bba0353a | [
"MIT"
] | 20 | 2020-01-22T11:16:24.000Z | 2022-02-02T10:38:54.000Z | dit_helpdesk/countries/migrations/0004_auto_20201021_1041.py | uktrade/dit-helpdesk | f5127daa46e920d33ec3f0b982136b65bba0353a | [
"MIT"
] | null | null | null | # Generated by Django 2.2.13 on 2020-10-21 09:41
from django.db import migrations
import logging
trade_data = [
{
"Country code": "CO",
"GOVUK FTA URL": "https://www.gov.uk/government/collections/uk-andean-countries-trade-agreement",
"Mendel agreement label": "ANDEAN-COUNTRIES",
"... | 32.210227 | 147 | 0.539278 | 3,569 | 34,014 | 5.13197 | 0.081535 | 0.105099 | 0.102097 | 0.222756 | 0.917613 | 0.901125 | 0.892608 | 0.887366 | 0.881251 | 0.881251 | 0 | 0.001711 | 0.29532 | 34,014 | 1,055 | 148 | 32.240758 | 0.762443 | 0.001352 | 0 | 0.457692 | 1 | 0.039423 | 0.590326 | 0.026438 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001923 | false | 0 | 0.001923 | 0 | 0.006731 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fcef799a7e5f6146dab0e6c5b4b7d8fd2a2c8798 | 10,058 | py | Python | steps/optimize.py | bartubisgin/z-quantum-core | b61aef12cc86f0a8234229b9b26b21cde950d6f1 | [
"Apache-2.0"
] | null | null | null | steps/optimize.py | bartubisgin/z-quantum-core | b61aef12cc86f0a8234229b9b26b21cde950d6f1 | [
"Apache-2.0"
] | null | null | null | steps/optimize.py | bartubisgin/z-quantum-core | b61aef12cc86f0a8234229b9b26b21cde950d6f1 | [
"Apache-2.0"
] | 1 | 2022-03-19T02:23:53.000Z | 2022-03-19T02:23:53.000Z | import json
import numpy as np
from openfermion import SymbolicOperator
from typing import Union, Dict, Optional, List
from zquantum.core.circuit import (
Circuit,
load_circuit,
load_circuit_template_params,
save_circuit_template_params,
load_parameter_grid,
)
from zquantum.core.cost_function impo... | 43.921397 | 116 | 0.741897 | 1,156 | 10,058 | 6.179066 | 0.123702 | 0.049279 | 0.041159 | 0.00924 | 0.840403 | 0.828083 | 0.818424 | 0.808344 | 0.792384 | 0.792384 | 0 | 0.00025 | 0.205906 | 10,058 | 228 | 117 | 44.114035 | 0.894078 | 0.278485 | 0 | 0.705128 | 0 | 0 | 0.03224 | 0.014079 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012821 | false | 0 | 0.070513 | 0 | 0.083333 | 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 |
1e2e52b3d0a6b948e6c8f945ff393631222f7c91 | 123 | py | Python | ievv_opensource/demo/demoapp/translation.py | appressoas/ievv_opensource | 63e87827952ddc8f6f86145b79478ef21d6a0990 | [
"BSD-3-Clause"
] | null | null | null | ievv_opensource/demo/demoapp/translation.py | appressoas/ievv_opensource | 63e87827952ddc8f6f86145b79478ef21d6a0990 | [
"BSD-3-Clause"
] | 37 | 2015-10-26T09:14:12.000Z | 2022-02-10T10:35:33.000Z | ievv_opensource/demo/demoapp/translation.py | appressoas/ievv_opensource | 63e87827952ddc8f6f86145b79478ef21d6a0990 | [
"BSD-3-Clause"
] | 1 | 2015-11-06T07:56:34.000Z | 2015-11-06T07:56:34.000Z | from django.utils.translation import gettext_lazy as _
def get_translated_string():
return _('Testing translations')
| 20.5 | 54 | 0.788618 | 15 | 123 | 6.133333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 5 | 55 | 24.6 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.162602 | 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 |
1e909bbac52b8d09611a8c081d2717c3f3ceb7b5 | 73 | py | Python | sim_common/client_utils.py | mfatihaktas/edge-load-balance | b866ca47ba37a605eeba05658b1d302f6855a23f | [
"MIT"
] | null | null | null | sim_common/client_utils.py | mfatihaktas/edge-load-balance | b866ca47ba37a605eeba05658b1d302f6855a23f | [
"MIT"
] | null | null | null | sim_common/client_utils.py | mfatihaktas/edge-load-balance | b866ca47ba37a605eeba05658b1d302f6855a23f | [
"MIT"
] | null | null | null |
def min_wait_time(cl_l):
return min(cl.min_wait_time() for cl in cl_l)
| 18.25 | 46 | 0.753425 | 17 | 73 | 2.882353 | 0.529412 | 0.285714 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 3 | 47 | 24.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.