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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
90c24606fefd974d194300edec4e158df83f015c | 1,052 | py | Python | L1Trigger/TrackFindingTracklet/python/Analyzer_cff.py | dally96/cmssw | c37b9bfa391850cb349c71190b0bbb2d04224cc8 | [
"Apache-2.0"
] | 1 | 2022-02-24T15:01:09.000Z | 2022-02-24T15:01:09.000Z | L1Trigger/TrackFindingTracklet/python/Analyzer_cff.py | dally96/cmssw | c37b9bfa391850cb349c71190b0bbb2d04224cc8 | [
"Apache-2.0"
] | 8 | 2022-03-03T14:24:02.000Z | 2022-03-22T19:53:45.000Z | L1Trigger/TrackFindingTracklet/python/Analyzer_cff.py | dally96/cmssw | c37b9bfa391850cb349c71190b0bbb2d04224cc8 | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
from L1Trigger.TrackFindingTracklet.Analyzer_cfi import TrackFindingTrackletAnalyzer_params
from L1Trigger.TrackFindingTracklet.ProducerKF_cfi import TrackFindingTrackletProducerKF_params
TrackFindingTrackletAnalyzerTracklet = cms.EDAnalyzer( 'trackFindingTracklet::AnalyzerTra... | 105.2 | 173 | 0.901141 | 67 | 1,052 | 13.940299 | 0.402985 | 0.218415 | 0.342612 | 0.374732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001992 | 0.045627 | 1,052 | 10 | 174 | 105.2 | 0.928287 | 0 | 0 | 0 | 0 | 0 | 0.152896 | 0.152896 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
90f624ecf6d7d295c02f732dff073c0b8ee56b5a | 113 | py | Python | main.py | igorFNegrizoli/CompiladohDuMineirin | e57eec1e9dc3cb8ca72f01cef0cf405f8217d041 | [
"MIT"
] | null | null | null | main.py | igorFNegrizoli/CompiladohDuMineirin | e57eec1e9dc3cb8ca72f01cef0cf405f8217d041 | [
"MIT"
] | null | null | null | main.py | igorFNegrizoli/CompiladohDuMineirin | e57eec1e9dc3cb8ca72f01cef0cf405f8217d041 | [
"MIT"
] | null | null | null | from sintatico import sintatico
from lexico import lexico
import sys
lexico(False, sys.argv[1], "0")
sintatico() | 18.833333 | 31 | 0.778761 | 17 | 113 | 5.176471 | 0.529412 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.123894 | 113 | 6 | 32 | 18.833333 | 0.868687 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29008d006b04aa60db561bebbb93912b8bd63db0 | 95 | py | Python | FreeTAKServer/model/sockets/TCPServerSocket.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | null | null | null | FreeTAKServer/model/sockets/TCPServerSocket.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | null | null | null | FreeTAKServer/model/sockets/TCPServerSocket.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | null | null | null | from FreeTAKServer.model.sockets import MainSocket
class TCPServerSocket(MainSocket):
pass | 23.75 | 50 | 0.831579 | 10 | 95 | 7.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 4 | 51 | 23.75 | 0.940476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
290c7806b3a8432af880efccd19cd09d884f9a9d | 581 | py | Python | flaskproject/entries/forms.py | nhitchings/FlaskProject | 6bfc3c6f1807039d607df691c17dde281f374a5f | [
"MIT"
] | 2 | 2016-12-15T22:59:42.000Z | 2017-01-16T07:54:00.000Z | flaskproject/entries/forms.py | nhitchings/FlaskProject | 6bfc3c6f1807039d607df691c17dde281f374a5f | [
"MIT"
] | 1 | 2021-02-08T20:21:17.000Z | 2021-02-08T20:21:17.000Z | flaskproject/entries/forms.py | nhitchings/FlaskProject | 6bfc3c6f1807039d607df691c17dde281f374a5f | [
"MIT"
] | 1 | 2017-03-23T04:48:09.000Z | 2017-03-23T04:48:09.000Z | from flask_wtf import Form
from wtforms import StringField, TextAreaField
from wtforms import validators
class CreateEntryForm(Form):
# title = TextField('Title', [validators.Length(min=1, max=70)])
title = StringField('Title', [validators.Length(min=1, max=70)])
body = TextAreaField('Body', [validators.Le... | 41.5 | 69 | 0.710843 | 74 | 581 | 5.567568 | 0.283784 | 0.23301 | 0.276699 | 0.291262 | 0.684466 | 0.684466 | 0.684466 | 0.684466 | 0.684466 | 0.684466 | 0 | 0.039526 | 0.129088 | 581 | 13 | 70 | 44.692308 | 0.774704 | 0.215146 | 0 | 0.444444 | 0 | 0 | 0.039735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
291c16913bfbf1c03007a34c8cafcd2feac13c05 | 33 | py | Python | fixtures/gotodef/approximate-resource-imports/gotodeflib3.py | gliviu/hyperclick-robot-framework | ff76a2c07829c4a0b12856e4925c8f9f8d741385 | [
"MIT"
] | 3 | 2017-02-18T11:55:59.000Z | 2020-02-03T18:02:03.000Z | fixtures/gotodef/approximate-resource-imports/gotodeflib3.py | gliviu/hyperclick-robot-framework | ff76a2c07829c4a0b12856e4925c8f9f8d741385 | [
"MIT"
] | 4 | 2017-02-13T13:18:02.000Z | 2020-08-14T16:26:13.000Z | fixtures/gotodef/approximate-resource-imports/gotodeflib3.py | gliviu/hyperclick-robot-framework | ff76a2c07829c4a0b12856e4925c8f9f8d741385 | [
"MIT"
] | null | null | null | def impkw():
print('impkw3')
| 11 | 19 | 0.575758 | 4 | 33 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.212121 | 33 | 2 | 20 | 16.5 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2944adb46dd2f90277904b655abdf7f3bc7fdbd1 | 5,767 | py | Python | backend/underbudget/tests/test_budget_queries.py | vimofthevine/underbudget4 | c90eecf9879f7ce57c77a68b3f83b1d76c4451af | [
"MIT"
] | null | null | null | backend/underbudget/tests/test_budget_queries.py | vimofthevine/underbudget4 | c90eecf9879f7ce57c77a68b3f83b1d76c4451af | [
"MIT"
] | 45 | 2019-12-23T23:45:10.000Z | 2022-03-31T05:01:22.000Z | backend/underbudget/tests/test_budget_queries.py | vimofthevine/underbudget4 | c90eecf9879f7ce57c77a68b3f83b1d76c4451af | [
"MIT"
] | 1 | 2020-12-26T17:16:58.000Z | 2020-12-26T17:16:58.000Z | """ Integration tests for budget query APIs """
from parameterized import parameterized
from underbudget.tests.base import BaseTestCase
class BudgetQueriesTestCase(BaseTestCase):
""" Integration tests for budget query APIs """
@parameterized.expand(
[
("not-an-id", 2021, 1),
... | 34.951515 | 88 | 0.565285 | 712 | 5,767 | 4.27809 | 0.110955 | 0.091924 | 0.070913 | 0.045962 | 0.887722 | 0.87065 | 0.831254 | 0.781353 | 0.781353 | 0.781353 | 0 | 0.062023 | 0.317843 | 5,767 | 164 | 89 | 35.164634 | 0.712252 | 0.013872 | 0 | 0.601399 | 0 | 0 | 0.128151 | 0.08373 | 0 | 0 | 0 | 0 | 0.125874 | 1 | 0.027972 | false | 0 | 0.013986 | 0 | 0.048951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
295cc372f2ef31657e56496ffa8997e4c24859d7 | 10,726 | py | Python | Lista_ordenes.py | 202010040/IPC2_PRACTICA1 | 57566344da8cb7452b1d41d5ab6a2f971da2f6df | [
"MIT"
] | null | null | null | Lista_ordenes.py | 202010040/IPC2_PRACTICA1 | 57566344da8cb7452b1d41d5ab6a2f971da2f6df | [
"MIT"
] | null | null | null | Lista_ordenes.py | 202010040/IPC2_PRACTICA1 | 57566344da8cb7452b1d41d5ab6a2f971da2f6df | [
"MIT"
] | null | null | null | from clases import ingrediente_t,pizza_t,orden_t
from datetime import datetime, timedelta
import graphviz
import pydot
class ingredientes_list:
def __init__(self):
self.primero = None
self.ultimo = None
def vacia (self):
if self.primero == None:
return True
el... | 40.022388 | 408 | 0.49394 | 1,135 | 10,726 | 4.614978 | 0.118062 | 0.077701 | 0.048683 | 0.022719 | 0.778541 | 0.768041 | 0.768041 | 0.762123 | 0.731004 | 0.720695 | 0 | 0.005335 | 0.35344 | 10,726 | 267 | 409 | 40.172285 | 0.749964 | 0.028249 | 0 | 0.792952 | 0 | 0 | 0.151044 | 0.02126 | 0.022026 | 0 | 0 | 0.003745 | 0 | 1 | 0.092511 | false | 0 | 0.017621 | 0 | 0.15859 | 0.092511 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
295e23265165fd98f1ab0ae12e638e0b84dfd6ed | 38,011 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/56.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/56.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/56.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4041
passenger_arriving = (
(3, 10, 7, 5, 3, 0, 7, 9, 4, 9, 3, 0), # 0
(1, 4, 8, 8, 1, 0, 10, 12, 4, 5, 2, 0), # 1
(6, 12, 13, 3, 1, 0, 10, 12, 3, 4, 5, 0), # 2
(7, 5, 7, 4, 3, 0, 5, 9, 5, 10, 1, 0), # 3
(6, 12, 8, 4, 4, 0, 11, 8, 5, 2, 5, 0), # 4
(3, 11, 6, 5, 2, 0, 8, ... | 113.465672 | 213 | 0.729973 | 5,147 | 38,011 | 5.38877 | 0.235477 | 0.311509 | 0.246611 | 0.467263 | 0.32694 | 0.326435 | 0.326435 | 0.326435 | 0.326435 | 0.326435 | 0 | 0.819685 | 0.118755 | 38,011 | 334 | 214 | 113.805389 | 0.008329 | 0.031859 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 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 | 6 |
4633d749b69ac7180ce134aea5a059d20d2b8374 | 6,434 | py | Python | tests/test_elements/test_ui_tool_tip.py | ylenard/pygame_gui | 03683215cc6a838ca1c245af9cfa157b29da700b | [
"MIT"
] | null | null | null | tests/test_elements/test_ui_tool_tip.py | ylenard/pygame_gui | 03683215cc6a838ca1c245af9cfa157b29da700b | [
"MIT"
] | null | null | null | tests/test_elements/test_ui_tool_tip.py | ylenard/pygame_gui | 03683215cc6a838ca1c245af9cfa157b29da700b | [
"MIT"
] | null | null | null | import os
import pytest
import pygame
from tests.shared_fixtures import _init_pygame, default_ui_manager, default_display_surface
from pygame_gui.ui_manager import UIManager
from pygame_gui.elements.ui_tool_tip import UITooltip
class TestUIToolTip:
def test_creation(self, _init_pygame, default_ui_manager):
... | 43.768707 | 112 | 0.643457 | 840 | 6,434 | 4.595238 | 0.12619 | 0.08886 | 0.107772 | 0.072539 | 0.833679 | 0.778756 | 0.754145 | 0.740155 | 0.740155 | 0.72772 | 0 | 0.035639 | 0.26733 | 6,434 | 146 | 113 | 44.068493 | 0.783199 | 0 | 0 | 0.509804 | 0 | 0 | 0.069319 | 0.008548 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.137255 | false | 0 | 0.058824 | 0 | 0.205882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4651a617dbd49fa18730f0e24156fcef7aea74e4 | 38 | py | Python | causalml/inference/iv/__init__.py | jadhav-kumar/causalml | 082f315d41e8486fdb9e2430a537cd1013fae2e2 | [
"Apache-2.0"
] | 1 | 2020-11-06T02:54:27.000Z | 2020-11-06T02:54:27.000Z | causalml/inference/iv/__init__.py | jadhav-kumar/causalml | 082f315d41e8486fdb9e2430a537cd1013fae2e2 | [
"Apache-2.0"
] | 1 | 2020-10-26T13:30:40.000Z | 2021-01-20T11:46:26.000Z | causalml/inference/iv/__init__.py | jadhav-kumar/causalml | 082f315d41e8486fdb9e2430a537cd1013fae2e2 | [
"Apache-2.0"
] | 1 | 2021-02-07T05:57:29.000Z | 2021-02-07T05:57:29.000Z | from .iv_regression import IVRegressor | 38 | 38 | 0.894737 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4667c545604edbde3c9cb8d2749fc6bcd5457532 | 3,527 | py | Python | json_test/test_json_check.py | inkmonk/json-test | dc1807b8d6073ec82e55008f35a835171e3e593c | [
"BSD-3-Clause"
] | 2 | 2015-02-24T16:04:28.000Z | 2015-02-27T11:09:04.000Z | json_test/test_json_check.py | inkmonk/json-test | dc1807b8d6073ec82e55008f35a835171e3e593c | [
"BSD-3-Clause"
] | null | null | null | json_test/test_json_check.py | inkmonk/json-test | dc1807b8d6073ec82e55008f35a835171e3e593c | [
"BSD-3-Clause"
] | null | null | null | from json_check import *
import unittest
class TestJsonCheck(unittest.TestCase):
def test_simple(self):
"""Test a simple un-nested object"""
samp1 = JObject(keys = ['status', 'result'])
j = json.loads('{"status": "success", "result": "yes"}')
self.assertTrue(check_json_object(j... | 41.988095 | 97 | 0.556564 | 415 | 3,527 | 4.607229 | 0.151807 | 0.040272 | 0.047071 | 0.062762 | 0.853556 | 0.82113 | 0.816423 | 0.755753 | 0.735879 | 0.713389 | 0 | 0.023583 | 0.254607 | 3,527 | 83 | 98 | 42.493976 | 0.70369 | 0.079388 | 0 | 0.454545 | 0 | 0.036364 | 0.178852 | 0.020709 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.036364 | 0 | 0.254545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
469378d013e56ca1044393a517d09c4b0568df33 | 39 | py | Python | dqc/ml/nlp/index.py | Indexical-Metrics-Measure-Advisory/watchmen-dqc | 91196d8da29415f33b35d800c424534880162a12 | [
"MIT"
] | 1 | 2021-07-29T10:44:50.000Z | 2021-07-29T10:44:50.000Z | dqc/ml/nlp/index.py | Indexical-Metrics-Measure-Advisory/watchmen-dqc | 91196d8da29415f33b35d800c424534880162a12 | [
"MIT"
] | null | null | null | dqc/ml/nlp/index.py | Indexical-Metrics-Measure-Advisory/watchmen-dqc | 91196d8da29415f33b35d800c424534880162a12 | [
"MIT"
] | null | null | null | def run_nlp_search_content():
pass
| 13 | 29 | 0.74359 | 6 | 39 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 30 | 19.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4696ea4d5b1ad94888241c925e59418f367b2dd9 | 39 | py | Python | afm/scripts/modeling/criterion/__init__.py | nerdneilsfield/2D-3D-pose-tracking | 33678c775e53360116099d43cf0712072b53a25f | [
"BSD-3-Clause"
] | 288 | 2019-03-06T00:40:59.000Z | 2022-03-31T03:23:23.000Z | modeling/criterion/__init__.py | iVMCL/afm_cvpr2019 | e900b7bbff7f153499c6ff3775966f4485498abe | [
"MIT"
] | 26 | 2019-03-12T02:46:24.000Z | 2021-10-01T07:53:01.000Z | modeling/criterion/__init__.py | iVMCL/afm_cvpr2019 | e900b7bbff7f153499c6ff3775966f4485498abe | [
"MIT"
] | 63 | 2019-03-06T14:54:40.000Z | 2022-03-17T10:17:41.000Z | from .criterion import build_criterions | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3e6a70c33e914ee99f58b6623163bbcf6e5a39b | 3,591 | py | Python | ws_lock/tests/conftest.py | sevdog/test-websocker-user-lock | 8aef3249f623e23479d61c7681e0f59909c47926 | [
"MIT"
] | null | null | null | ws_lock/tests/conftest.py | sevdog/test-websocker-user-lock | 8aef3249f623e23479d61c7681e0f59909c47926 | [
"MIT"
] | null | null | null | ws_lock/tests/conftest.py | sevdog/test-websocker-user-lock | 8aef3249f623e23479d61c7681e0f59909c47926 | [
"MIT"
] | null | null | null | from collections import namedtuple
import threading
from async_generator import async_generator, yield_
import pytest
from django.core.management import call_command
from .utils import application, websocket_connect_to_asgi, User
ConnectionTuple = namedtuple('ConnectionTuple', ['user', 'communicator', 'connected'])
... | 31.778761 | 86 | 0.732665 | 428 | 3,591 | 5.757009 | 0.14486 | 0.051948 | 0.063312 | 0.073052 | 0.837256 | 0.76664 | 0.75 | 0.737419 | 0.717938 | 0.689123 | 0 | 0 | 0.175717 | 3,591 | 112 | 87 | 32.0625 | 0.832432 | 0 | 0 | 0.597826 | 0 | 0 | 0.073796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054348 | false | 0 | 0.065217 | 0 | 0.163043 | 0.097826 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3e94ec86f305d4e0d82c81995d2c18dea7f5219 | 14,034 | py | Python | src/pipelines.py | kant/open-solution-home-credit | 868da3788fc105d4acdb14da9dbc05937dff14d8 | [
"MIT"
] | 336 | 2018-06-28T21:42:12.000Z | 2019-10-08T08:03:13.000Z | src/pipelines.py | JerryCatLeung/open-solution-home-credit | 0105fcffadcfc7c743a71b1ff2ea99453b445ee8 | [
"MIT"
] | 105 | 2018-06-27T11:02:00.000Z | 2019-08-19T10:35:02.000Z | src/pipelines.py | JerryCatLeung/open-solution-home-credit | 0105fcffadcfc7c743a71b1ff2ea99453b445ee8 | [
"MIT"
] | 138 | 2018-07-03T08:16:03.000Z | 2019-09-09T20:13:54.000Z | from functools import partial
from sklearn.ensemble import RandomForestClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.naive_bayes import BernoulliNB
from sklearn.svm import SVC
from . import pipeline_blocks as blocks
def light_gbm(config, train_mode, suffix=''):
if train_mode:
... | 47.897611 | 112 | 0.431452 | 938 | 14,034 | 6.088486 | 0.072495 | 0.066188 | 0.12975 | 0.121345 | 0.795658 | 0.756785 | 0.719314 | 0.705481 | 0.673963 | 0.612327 | 0 | 0 | 0.526151 | 14,034 | 292 | 113 | 48.061644 | 0.858797 | 0 | 0 | 0.731225 | 0 | 0 | 0.020094 | 0.008622 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035573 | false | 0 | 0.023715 | 0 | 0.094862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 6 |
d3f88317c29c7b3fbb3e38faa19ab10dcd0302e0 | 145 | py | Python | tests/endtoend/eventhub_batch_functions/get_eventhub_batch_triggered/__init__.py | maiqbal11/azure-functions-python-worker | c7fc77e2211d2dca08eedfd3962fa5ec6de42d0b | [
"MIT"
] | null | null | null | tests/endtoend/eventhub_batch_functions/get_eventhub_batch_triggered/__init__.py | maiqbal11/azure-functions-python-worker | c7fc77e2211d2dca08eedfd3962fa5ec6de42d0b | [
"MIT"
] | null | null | null | tests/endtoend/eventhub_batch_functions/get_eventhub_batch_triggered/__init__.py | maiqbal11/azure-functions-python-worker | c7fc77e2211d2dca08eedfd3962fa5ec6de42d0b | [
"MIT"
] | null | null | null | import azure.functions as func
def main(req: func.HttpRequest, testEntities):
return func.HttpResponse(status_code=200, body=testEntities)
| 24.166667 | 64 | 0.793103 | 19 | 145 | 6 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.117241 | 145 | 5 | 65 | 29 | 0.867188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
311aa4f9fd570bf667789d38f274575b145b5a9c | 25 | py | Python | S4/S4 Library/generated/protocolbuffers/__init__.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/generated/protocolbuffers/__init__.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/generated/protocolbuffers/__init__.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | 'Protocol Buffers Shared' | 25 | 25 | 0.84 | 3 | 25 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 25 | 1 | 25 | 25 | 0.913043 | 0.92 | 0 | 0 | 0 | 0 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
317e81d1e3b271ad97451454ba3acbe79e012350 | 37 | py | Python | logfile/__init__.py | Data-Designer/Pytorch_Template | 6972b68d8e083f587bf114a06fa2ab5a524e5803 | [
"MIT"
] | 1 | 2021-05-26T09:29:48.000Z | 2021-05-26T09:29:48.000Z | logfile/__init__.py | Data-Designer/Pytorch_Template | 6972b68d8e083f587bf114a06fa2ab5a524e5803 | [
"MIT"
] | null | null | null | logfile/__init__.py | Data-Designer/Pytorch_Template | 6972b68d8e083f587bf114a06fa2ab5a524e5803 | [
"MIT"
] | null | null | null | # 这里存放tensorboard中的logfile文件以及其他log文件 | 37 | 37 | 0.945946 | 1 | 37 | 35 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 37 | 1 | 37 | 37 | 0.972222 | 0.945946 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31dcb0789e7049e9c615cb8862d24ed614ccaea0 | 61 | py | Python | repos/spikewidgets/spikewidgets/widgets/crosscorrelogramswidget/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | repos/spikewidgets/spikewidgets/widgets/crosscorrelogramswidget/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | repos/spikewidgets/spikewidgets/widgets/crosscorrelogramswidget/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | from .crosscorrelogramswidget import CrossCorrelogramsWidget
| 30.5 | 60 | 0.918033 | 4 | 61 | 14 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 61 | 1 | 61 | 61 | 0.982456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
31e5f34ce671a494d815934d649c41d1fa4e602a | 39,499 | py | Python | docker-images/taigav2/taiga-back/tests/integration/resources_permissions/test_tasks_resources.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | 1 | 2017-05-29T19:01:06.000Z | 2017-05-29T19:01:06.000Z | docker-images/taigav2/taiga-back/tests/integration/resources_permissions/test_tasks_resources.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | docker-images/taigav2/taiga-back/tests/integration/resources_permissions/test_tasks_resources.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (C) 2014-2016 Andrey Antukh <niwi@niwi.nz>
# Copyright (C) 2014-2016 Jesús Espino <jespinog@gmail.com>
# Copyright (C) 2014-2016 David Barragán <bameda@dbarragan.com>
# Copyright (C) 2014-2016 Alejandro Alonso <alejandro.alonso@kaleidos.net>
# Copyright (C) 2014-2016 Anler Hernández ... | 42.609493 | 122 | 0.655687 | 4,915 | 39,499 | 5.009359 | 0.053103 | 0.028512 | 0.043784 | 0.062548 | 0.865318 | 0.824012 | 0.804516 | 0.781731 | 0.774298 | 0.759595 | 0 | 0.047473 | 0.226183 | 39,499 | 926 | 123 | 42.655508 | 0.758057 | 0.02914 | 0 | 0.670748 | 0 | 0 | 0.070815 | 0.004384 | 0 | 0 | 0 | 0 | 0.119728 | 1 | 0.031293 | false | 0 | 0.023129 | 0 | 0.055782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9eca48b9759b15c48e027d137df8e1470e239f9e | 29,164 | py | Python | esi_leap/tests/db/sqlalchemy/test_api.py | samuel-zuk/esi-leap | 5c1fd5c29a17f2fad938f98f1ec922ee21e56dbf | [
"Apache-2.0"
] | null | null | null | esi_leap/tests/db/sqlalchemy/test_api.py | samuel-zuk/esi-leap | 5c1fd5c29a17f2fad938f98f1ec922ee21e56dbf | [
"Apache-2.0"
] | 41 | 2019-07-16T14:57:18.000Z | 2021-08-04T14:19:01.000Z | esi_leap/tests/db/sqlalchemy/test_api.py | samuel-zuk/esi-leap | 5c1fd5c29a17f2fad938f98f1ec922ee21e56dbf | [
"Apache-2.0"
] | 13 | 2019-03-29T14:33:33.000Z | 2022-01-17T20:03:21.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | 38.781915 | 79 | 0.629543 | 3,690 | 29,164 | 4.671003 | 0.057724 | 0.116384 | 0.143769 | 0.091901 | 0.886981 | 0.830355 | 0.765955 | 0.744546 | 0.717452 | 0.684382 | 0 | 0.03265 | 0.258572 | 29,164 | 751 | 80 | 38.833555 | 0.764464 | 0.018722 | 0 | 0.605519 | 0 | 0 | 0.051848 | 0.001783 | 0 | 0 | 0 | 0 | 0.149351 | 1 | 0.058442 | false | 0 | 0.011364 | 0 | 0.076299 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7344a43677997660e31b5510011d3d25a7920c06 | 49 | py | Python | parser/team14/Nodo.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 35 | 2020-12-07T03:11:43.000Z | 2021-04-15T17:38:16.000Z | parser/team14/Nodo.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 47 | 2020-12-09T01:29:09.000Z | 2021-01-13T05:37:50.000Z | parser/team14/Nodo.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 556 | 2020-12-07T03:13:31.000Z | 2021-06-17T17:41:10.000Z | class Nodo:
'''
class nodo
'''
| 9.8 | 19 | 0.367347 | 4 | 49 | 4.5 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489796 | 49 | 4 | 20 | 12.25 | 0.72 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
73649e780ff374a58053aa4f7f49febdb3230530 | 14,265 | py | Python | fhirclient/models/questionnaireresponse_tests.py | NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units | fb5ad260fb8d264d85aea9e6c895d1700eea4d11 | [
"Apache-2.0"
] | 2 | 2019-05-16T16:41:22.000Z | 2021-04-22T22:06:49.000Z | fhirclient/models/questionnaireresponse_tests.py | NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units | fb5ad260fb8d264d85aea9e6c895d1700eea4d11 | [
"Apache-2.0"
] | null | null | null | fhirclient/models/questionnaireresponse_tests.py | NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units | fb5ad260fb8d264d85aea9e6c895d1700eea4d11 | [
"Apache-2.0"
] | 3 | 2019-03-26T01:39:18.000Z | 2020-02-02T19:06:33.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 1.0.2.7202 on 2016-06-23.
# 2016, SMART Health IT.
import os
import io
import unittest
import json
from . import questionnaireresponse
from .fhirdate import FHIRDate
class QuestionnaireResponseTests(unittest.TestCase):
def instantiate_from(... | 73.153846 | 170 | 0.699194 | 1,890 | 14,265 | 5.266667 | 0.12963 | 0.19138 | 0.232871 | 0.238698 | 0.780189 | 0.742817 | 0.711875 | 0.665863 | 0.591119 | 0.529636 | 0 | 0.052513 | 0.13095 | 14,265 | 194 | 171 | 73.530928 | 0.750423 | 0.007921 | 0 | 0.145349 | 1 | 0 | 0.170861 | 0.040506 | 0 | 0 | 0 | 0 | 0.767442 | 1 | 0.052326 | false | 0 | 0.034884 | 0 | 0.098837 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b406571076f8c6859a197e964190452e3254936d | 139 | py | Python | vis_det/optimize/__init__.py | Caoang327/vis_det | 0b544cee20bb304b27bac6d9e64d3bac6b4b6b4b | [
"MIT"
] | 16 | 2021-06-24T15:23:01.000Z | 2021-12-22T19:38:26.000Z | vis_det/optimize/__init__.py | Caoang327/vis_det | 0b544cee20bb304b27bac6d9e64d3bac6b4b6b4b | [
"MIT"
] | 1 | 2021-07-03T08:34:22.000Z | 2021-07-19T11:59:35.000Z | vis_det/optimize/__init__.py | Caoang327/vis_det | 0b544cee20bb304b27bac6d9e64d3bac6b4b6b4b | [
"MIT"
] | 1 | 2022-01-20T23:48:39.000Z | 2022-01-20T23:48:39.000Z | from vis_det.optimize.loss import layout_vis_loss
from vis_det.optimize.optimize import layout_optimize
__all__ = list(globals().keys())
| 23.166667 | 53 | 0.820144 | 21 | 139 | 5 | 0.52381 | 0.133333 | 0.190476 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093525 | 139 | 5 | 54 | 27.8 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b413886c1c74f7be928a406aa0753809c0469a9e | 159 | py | Python | triangler/__init__.py | taroorat/triangler | 299e536db267dc0f99dd3c536f35f8452e5055b1 | [
"MIT"
] | null | null | null | triangler/__init__.py | taroorat/triangler | 299e536db267dc0f99dd3c536f35f8452e5055b1 | [
"MIT"
] | null | null | null | triangler/__init__.py | taroorat/triangler | 299e536db267dc0f99dd3c536f35f8452e5055b1 | [
"MIT"
] | 1 | 2021-01-25T09:43:35.000Z | 2021-01-25T09:43:35.000Z | from triangler.color import ColorMethod
from triangler.edges import EdgeMethod
from triangler.mod import Triangler
from triangler.sampling import SampleMethod
| 31.8 | 43 | 0.874214 | 20 | 159 | 6.95 | 0.5 | 0.374101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 159 | 4 | 44 | 39.75 | 0.972028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b425d7e7641b9f8684298fca1f2948c4c2b82f64 | 196 | py | Python | janitor/__init__.py | JoshuaC3/pyjanitor | 14192fc750a52484f819f4d535165bc07bb7c13a | [
"MIT"
] | null | null | null | janitor/__init__.py | JoshuaC3/pyjanitor | 14192fc750a52484f819f4d535165bc07bb7c13a | [
"MIT"
] | null | null | null | janitor/__init__.py | JoshuaC3/pyjanitor | 14192fc750a52484f819f4d535165bc07bb7c13a | [
"MIT"
] | null | null | null | from .functions import * # noqa: F403, F401
from .dataframe import JanitorDataFrame as DataFrame # noqa: F401
from .dataframe import JanitorSeries as Series # noqa: F401
__version__ = '0.1.1'
| 32.666667 | 66 | 0.75 | 26 | 196 | 5.5 | 0.538462 | 0.111888 | 0.237762 | 0.321678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092025 | 0.168367 | 196 | 5 | 67 | 39.2 | 0.785276 | 0.193878 | 0 | 0 | 0 | 0 | 0.032468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b43e9016647c7d7b95559ccaf96b2437ce9ac66e | 109 | py | Python | tcvx21/file_io/__init__.py | dsoliveir/TCV-X21 | 784c55adb33417e21a6736e2504a3895a9348dbe | [
"CC-BY-4.0"
] | 1 | 2021-12-13T11:52:39.000Z | 2021-12-13T11:52:39.000Z | tcvx21/file_io/__init__.py | dsoliveir/TCV-X21 | 784c55adb33417e21a6736e2504a3895a9348dbe | [
"CC-BY-4.0"
] | 2 | 2021-12-18T17:18:52.000Z | 2022-01-26T09:23:23.000Z | tcvx21/file_io/__init__.py | dsoliveir/TCV-X21 | 784c55adb33417e21a6736e2504a3895a9348dbe | [
"CC-BY-4.0"
] | 2 | 2021-12-13T12:56:09.000Z | 2022-01-25T20:30:28.000Z | from .json_io_m import read_from_json, write_to_json
from .matlab_file_reader_m import read_struct_from_file
| 36.333333 | 55 | 0.889908 | 21 | 109 | 4.047619 | 0.571429 | 0.188235 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 109 | 2 | 56 | 54.5 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b46be703611ce65388588b5009b2cb68e24e0d9d | 4,301 | py | Python | Categoriser.py | abt1/manga-processing | 8e6b0cfd91bcaa062a3fb5bd4df26728943f5f69 | [
"Apache-2.0"
] | null | null | null | Categoriser.py | abt1/manga-processing | 8e6b0cfd91bcaa062a3fb5bd4df26728943f5f69 | [
"Apache-2.0"
] | null | null | null | Categoriser.py | abt1/manga-processing | 8e6b0cfd91bcaa062a3fb5bd4df26728943f5f69 | [
"Apache-2.0"
] | null | null | null | import csv
import os
import sys
'''This code finds the maps of galaxies classified as having particular features and moves them to a different place
Please specify the inputfile on the command line when running this code'''
for f in ['../Sorted/RRs/Marvin.csv','../Sorted/KDCs/Marvin.csv','../Sorted/CRCs/Marvin.csv','..... | 70.508197 | 140 | 0.578935 | 658 | 4,301 | 3.699088 | 0.136778 | 0.018077 | 0.090386 | 0.117502 | 0.789236 | 0.789236 | 0.7765 | 0.7765 | 0.729252 | 0.67009 | 0 | 0.043554 | 0.193908 | 4,301 | 61 | 141 | 70.508197 | 0.658494 | 0 | 0 | 0.14 | 0 | 0.28 | 0.476526 | 0.334712 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.06 | 0 | 0.06 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c33a5fa5ff8d810bdce55e8873e27bee1302a349 | 149,928 | py | Python | tests/GSMTC35_test.py | QuentinCG/GSM-TC35-Python-Library | 0bbf961033742df063e03510c7be9f22f32dba47 | [
"MIT"
] | 19 | 2016-07-29T18:23:55.000Z | 2021-08-24T16:38:48.000Z | tests/GSMTC35_test.py | QuentinCG/GSM-TC35-Python-Library | 0bbf961033742df063e03510c7be9f22f32dba47 | [
"MIT"
] | 18 | 2016-08-20T21:07:04.000Z | 2021-05-10T21:32:49.000Z | tests/GSMTC35_test.py | QuentinCG/GSM-TC35-Python-Library | 0bbf961033742df063e03510c7be9f22f32dba47 | [
"MIT"
] | 6 | 2017-06-29T15:12:01.000Z | 2022-02-03T13:48:44.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Automatic test of GSMTC35 library with fake serial port (using a Mock) and
getting stdout with a specific class.
"""
import unittest
from GSMTC35 import GSMTC35
import logging
import re
import datetime
import time
import sys
# Python 2.7/3 (Mock)
if sys.version_... | 58.451462 | 429 | 0.578211 | 20,000 | 149,928 | 4.2526 | 0.0371 | 0.039011 | 0.05673 | 0.068076 | 0.8935 | 0.875488 | 0.853513 | 0.834043 | 0.801992 | 0.774608 | 0 | 0.103567 | 0.206126 | 149,928 | 2,564 | 430 | 58.474259 | 0.610868 | 0.03473 | 0 | 0.648766 | 0 | 0.029511 | 0.337315 | 0.096208 | 0 | 0 | 0.000083 | 0.00039 | 0.246251 | 1 | 0.034833 | false | 0 | 0.005806 | 0.000484 | 0.050798 | 0.000484 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c347c3656e8d312463543795858d80a1192b1f10 | 39 | py | Python | samples/src/main/resources/datasets/python/21.py | sritchie/kotlingrad | 8165ed1cd77220a5347c58cded4c6f2bcf22ee30 | [
"Apache-2.0"
] | 11 | 2020-12-19T01:19:44.000Z | 2021-12-25T20:43:33.000Z | src/main/resources/datasets/python/21.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | null | null | null | src/main/resources/datasets/python/21.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | 2 | 2021-01-25T07:59:20.000Z | 2021-08-07T07:13:49.000Z | def power4():
return 2 ** (3 ** 4)
| 13 | 24 | 0.461538 | 6 | 39 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.307692 | 39 | 2 | 25 | 19.5 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 6 |
c35a10744c4e7ac0a57cfad0695a328aa6edd256 | 5,260 | py | Python | frame.exapme.py | shadow-share/websocket | 221f523f2973633b14d66b3890a644a0707dd18c | [
"MIT"
] | null | null | null | frame.exapme.py | shadow-share/websocket | 221f523f2973633b14d66b3890a644a0707dd18c | [
"MIT"
] | null | null | null | frame.exapme.py | shadow-share/websocket | 221f523f2973633b14d66b3890a644a0707dd18c | [
"MIT"
] | null | null | null | '''
Byte 0 * * * * * * * 1 * * * * * * * 2 * * * * * * * 3 * * * * * * * -
| | | | |
bit 0 | 1 | 2 | 3 |
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 |
+-+-+-+-+-------+-... | 41.417323 | 106 | 0.355703 | 801 | 5,260 | 2.325843 | 0.126092 | 0.169619 | 0.190016 | 0.206119 | 0.588835 | 0.545357 | 0.509393 | 0.487923 | 0.421363 | 0.413312 | 0 | 0.243711 | 0.418061 | 5,260 | 126 | 107 | 41.746032 | 0.364913 | 0.974144 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5edcf6e69e8daec01450d6fa3d83b9000258c6f6 | 23 | py | Python | rcnn/modeling/backbone/__init__.py | yf19970118/OPLD-Pytorch | 4939bf62587da4533276fda20db36bb019575511 | [
"MIT"
] | 25 | 2020-08-28T07:28:16.000Z | 2022-03-06T06:18:56.000Z | rcnn/modeling/backbone/__init__.py | yf19970118/OPLD-Pytorch | 4939bf62587da4533276fda20db36bb019575511 | [
"MIT"
] | 5 | 2020-12-22T07:42:50.000Z | 2021-07-12T01:49:57.000Z | rcnn/modeling/backbone/__init__.py | yf19970118/OPLD-Pytorch | 4939bf62587da4533276fda20db36bb019575511 | [
"MIT"
] | 4 | 2020-12-19T03:14:26.000Z | 2021-12-17T12:38:37.000Z |
from .ResNet import *
| 7.666667 | 21 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5edf301e6a8944761d865ecb3b5d4a58198c1264 | 63,094 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv6_nd_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv6_nd_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv6_nd_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 52.88684 | 263 | 0.5152 | 5,872 | 63,094 | 5.331403 | 0.04564 | 0.084073 | 0.105092 | 0.117613 | 0.892864 | 0.880981 | 0.865425 | 0.825529 | 0.763176 | 0.704913 | 0 | 0.037301 | 0.329508 | 63,094 | 1,192 | 264 | 52.931208 | 0.702723 | 0 | 0 | 0.577628 | 0 | 0.016393 | 0.461843 | 0.353873 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007715 | 0 | 0.007715 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5eef17bb15710286cfac1cda849675245f0750c5 | 72 | py | Python | Testopt/__init__.py | kaiwanggiya/TestOpt_Master | 5e014a787588aa1bfbf0709a2be70ae1d163a4e8 | [
"MIT"
] | null | null | null | Testopt/__init__.py | kaiwanggiya/TestOpt_Master | 5e014a787588aa1bfbf0709a2be70ae1d163a4e8 | [
"MIT"
] | null | null | null | Testopt/__init__.py | kaiwanggiya/TestOpt_Master | 5e014a787588aa1bfbf0709a2be70ae1d163a4e8 | [
"MIT"
] | null | null | null | from Testopt.addfun import addfun
from Testopt.database import database
| 24 | 37 | 0.861111 | 10 | 72 | 6.2 | 0.5 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 38 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f59087e1dd9fc20a8980cf96fa5468215e282e6 | 30 | py | Python | bottlenose/__init__.py | bopopescu/Gamedex-Backend | d1532ba9377750466834eba6be0e4280a7df59c8 | [
"BSD-3-Clause"
] | 1 | 2015-06-26T04:15:57.000Z | 2015-06-26T04:15:57.000Z | bottlenose/__init__.py | bopopescu/Gamedex-Backend | d1532ba9377750466834eba6be0e4280a7df59c8 | [
"BSD-3-Clause"
] | null | null | null | bottlenose/__init__.py | bopopescu/Gamedex-Backend | d1532ba9377750466834eba6be0e4280a7df59c8 | [
"BSD-3-Clause"
] | 1 | 2020-07-25T21:08:30.000Z | 2020-07-25T21:08:30.000Z | from bottlenose.api import *
| 10 | 28 | 0.766667 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 29 | 15 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f6ff1c335cfa02638626aa8ed553db9935e8b7e | 52,096 | py | Python | forch/proto/faucet_event_pb2.py | pbatta/forch | df033bc5b7cbac06e1c406257193cb0cb62f2742 | [
"Apache-2.0"
] | null | null | null | forch/proto/faucet_event_pb2.py | pbatta/forch | df033bc5b7cbac06e1c406257193cb0cb62f2742 | [
"Apache-2.0"
] | null | null | null | forch/proto/faucet_event_pb2.py | pbatta/forch | df033bc5b7cbac06e1c406257193cb0cb62f2742 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: forch/proto/faucet_event.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
fr... | 44.949094 | 3,832 | 0.75309 | 6,709 | 52,096 | 5.502757 | 0.046952 | 0.052007 | 0.077713 | 0.068016 | 0.74568 | 0.716778 | 0.70234 | 0.692995 | 0.686955 | 0.684029 | 0 | 0.037393 | 0.123215 | 52,096 | 1,158 | 3,833 | 44.98791 | 0.770847 | 0.02267 | 0 | 0.702403 | 1 | 0.003697 | 0.135788 | 0.07713 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004621 | 0 | 0.004621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f75fe2cee4bb5601648fcef65330c41e69cec80 | 275 | py | Python | scripts/train_sentiment_classifier.py | juliandehne/whowhatwhy | fa4c89158e65d90b1cea62838f3d12f7c14e59fb | [
"MIT"
] | null | null | null | scripts/train_sentiment_classifier.py | juliandehne/whowhatwhy | fa4c89158e65d90b1cea62838f3d12f7c14e59fb | [
"MIT"
] | 6 | 2021-08-18T11:09:25.000Z | 2021-10-04T08:23:43.000Z | scripts/train_sentiment_classifier.py | juliandehne/whowhatwhy | fa4c89158e65d90b1cea62838f3d12f7c14e59fb | [
"MIT"
] | null | null | null | from delab.sentiment.sentiment_training import train_sentiment_classification
""" This is a django runscript, it can be started in the django home directory with
$ python manage.py runscript [filename_no_ending]
"""
def run():
train_sentiment_classification()
| 27.5 | 83 | 0.774545 | 36 | 275 | 5.722222 | 0.805556 | 0.135922 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 275 | 9 | 84 | 30.555556 | 0.891775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
488bd9a19c5a57da2a3ef96eb707ef8cb8bcd502 | 38,002 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/93.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/93.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/93.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4053
passenger_arriving = (
(5, 14, 9, 5, 2, 0, 9, 8, 8, 10, 0, 0), # 0
(5, 9, 6, 3, 1, 0, 0, 12, 5, 11, 4, 0), # 1
(5, 8, 9, 2, 2, 0, 6, 9, 5, 4, 3, 0), # 2
(7, 9, 13, 3, 3, 0, 7, 14, 5, 9, 2, 0), # 3
(4, 14, 11, 4, 0, 0, 4, 9, 9, 12, 4, 0), # 4
(3, 9, 9, 9, 3, 0, 10, 1... | 113.438806 | 213 | 0.729909 | 5,147 | 38,002 | 5.387022 | 0.235866 | 0.31161 | 0.246691 | 0.467414 | 0.327767 | 0.326613 | 0.326613 | 0.326613 | 0.326613 | 0.326613 | 0 | 0.819637 | 0.118783 | 38,002 | 334 | 214 | 113.778443 | 0.008331 | 0.031867 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 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 | 6 |
48b590b0c88ea663743f5b634f8c159330b274bd | 9,524 | py | Python | WebullTradingBot/Objects/OrderStatus.py | mizzouse/WeBot | 8f88b4b7ae14e45872fe84d0aaf4e717adc6cf46 | [
"MIT"
] | null | null | null | WebullTradingBot/Objects/OrderStatus.py | mizzouse/WeBot | 8f88b4b7ae14e45872fe84d0aaf4e717adc6cf46 | [
"MIT"
] | null | null | null | WebullTradingBot/Objects/OrderStatus.py | mizzouse/WeBot | 8f88b4b7ae14e45872fe84d0aaf4e717adc6cf46 | [
"MIT"
] | null | null | null | from Objects.Trades import Trade
from webull import webull
from webull import paper_webull
class OrderStatus():
def __init__(self, trade_obj: Trade) -> None:
self.trade_obj = trade_obj
self.order_status = self.trade_obj.order_status
@property
def is_cancelled(self, refresh_order_info: bo... | 31.641196 | 80 | 0.572239 | 1,115 | 9,524 | 4.732735 | 0.066368 | 0.081865 | 0.109153 | 0.090961 | 0.889142 | 0.884404 | 0.884404 | 0.884404 | 0.841198 | 0.798181 | 0 | 0 | 0.355418 | 9,524 | 300 | 81 | 31.746667 | 0.859586 | 0.47879 | 0 | 0.699029 | 0 | 0 | 0.03653 | 0.005641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.126214 | false | 0 | 0.029126 | 0 | 0.398058 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48bdc38cb6b4c65b90c01376a368fb8e6da06a25 | 4,778 | py | Python | tests/test_keepalived_dbus_control.py | danos/vyatta-vrrp | c8e34e0cdc0164dc18f982104bf8eb60d16ebbbb | [
"BSD-3-Clause"
] | 1 | 2019-11-18T12:07:37.000Z | 2019-11-18T12:07:37.000Z | tests/test_keepalived_dbus_control.py | danos/vyatta-vrrp | c8e34e0cdc0164dc18f982104bf8eb60d16ebbbb | [
"BSD-3-Clause"
] | null | null | null | tests/test_keepalived_dbus_control.py | danos/vyatta-vrrp | c8e34e0cdc0164dc18f982104bf8eb60d16ebbbb | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2019-2020 AT&T Intellectual Property.
# All rights reserved.
# SPDX-License-Identifier: GPL-2.0-only.
from pathlib import Path
class TestKeepalivedDbusControl:
def test_is_process_running(self, mock_pydbus):
import vyatta.vrrp_vci.keepalived.dbus.process_control as process_ctrl
p... | 40.837607 | 78 | 0.714525 | 573 | 4,778 | 5.600349 | 0.162304 | 0.205048 | 0.059832 | 0.07105 | 0.834216 | 0.813337 | 0.762543 | 0.745715 | 0.68713 | 0.68713 | 0 | 0.008459 | 0.208246 | 4,778 | 116 | 79 | 41.189655 | 0.83981 | 0.023231 | 0 | 0.616279 | 0 | 0 | 0.071628 | 0.038816 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.116279 | false | 0 | 0.151163 | 0 | 0.27907 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48c645b93f8d1afab6235a072c446d72f8284abd | 4,424 | py | Python | xlsxwriter/test/comparison/test_simple06.py | totdiao/XlsxWriter | 3d65858d8933bddb8262d500bcc2005f28fde645 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | xlsxwriter/test/comparison/test_simple06.py | totdiao/XlsxWriter | 3d65858d8933bddb8262d500bcc2005f28fde645 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | xlsxwriter/test/comparison/test_simple06.py | totdiao/XlsxWriter | 3d65858d8933bddb8262d500bcc2005f28fde645 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013-2016, John McNamara, jmcnamara@cpan.org
#
from ..excel_comparsion_test import ExcelComparisonTest
from datetime import datetime, date, time
from ...workbook import Workbook
class TestComp... | 27.308642 | 79 | 0.610307 | 515 | 4,424 | 5.075728 | 0.165049 | 0.075746 | 0.078041 | 0.091813 | 0.793803 | 0.775057 | 0.754782 | 0.754782 | 0.754782 | 0.754782 | 0 | 0.056284 | 0.240958 | 4,424 | 161 | 80 | 27.478261 | 0.722156 | 0.087251 | 0 | 0.72619 | 0 | 0 | 0.082139 | 0.006909 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.083333 | false | 0 | 0.035714 | 0 | 0.130952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48dda8cf132091e5b51fb38342844e03c6e15b0c | 40 | py | Python | models/CvT_SSD/__init__.py | albert-jin/CvT-ASSD | 9f404f57d04a20dcbda500e7506e15ed2d770791 | [
"Apache-2.0"
] | 4 | 2021-11-18T13:15:04.000Z | 2022-03-07T07:39:44.000Z | models/CvT_SSD/__init__.py | albert-jin/CvT-ASSD | 9f404f57d04a20dcbda500e7506e15ed2d770791 | [
"Apache-2.0"
] | null | null | null | models/CvT_SSD/__init__.py | albert-jin/CvT-ASSD | 9f404f57d04a20dcbda500e7506e15ed2d770791 | [
"Apache-2.0"
] | null | null | null | from .cvt_ssd import build_ssd_from_cvt
| 20 | 39 | 0.875 | 8 | 40 | 3.875 | 0.625 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
961e130e602376a24b62353ed924cfafc2909c11 | 98 | py | Python | util/Kernel.py | jonasnick/FCW-Kernel | 8b856eaae1841226a93477440595b5c03dd3a351 | [
"MIT"
] | 4 | 2015-01-20T15:35:49.000Z | 2019-11-24T14:52:46.000Z | util/Kernel.py | jonasnick/FCW-Kernel | 8b856eaae1841226a93477440595b5c03dd3a351 | [
"MIT"
] | null | null | null | util/Kernel.py | jonasnick/FCW-Kernel | 8b856eaae1841226a93477440595b5c03dd3a351 | [
"MIT"
] | null | null | null | import numpy as np
def LinearKernel(features):
return np.dot(features, np.array(features).T)
| 19.6 | 49 | 0.744898 | 15 | 98 | 4.866667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 4 | 50 | 24.5 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8266cfc15e95e7964cbce5581ed5ef5652fb3d8f | 6,383 | py | Python | packaging/test_irods_resource_plugin_s3.py | alanking/irods_resource_plugin_s3 | 492839f885f432d30fa904ac9d5f89369d248ece | [
"BSD-3-Clause"
] | null | null | null | packaging/test_irods_resource_plugin_s3.py | alanking/irods_resource_plugin_s3 | 492839f885f432d30fa904ac9d5f89369d248ece | [
"BSD-3-Clause"
] | 14 | 2018-12-17T21:57:33.000Z | 2019-07-05T14:39:44.000Z | packaging/test_irods_resource_plugin_s3.py | alanking/irods_resource_plugin_s3 | 492839f885f432d30fa904ac9d5f89369d248ece | [
"BSD-3-Clause"
] | null | null | null | try:
from minio import Minio
from minio.error import ResponseError
except ImportError:
print('This test requires minio: perhaps try pip install minio')
exit()
import commands
import datetime
import os
import platform
import random
import re
import shutil
import string
import subprocess
import urllib3
from... | 40.398734 | 117 | 0.718314 | 854 | 6,383 | 5.048009 | 0.15808 | 0.030619 | 0.048249 | 0.041754 | 0.833913 | 0.818372 | 0.787752 | 0.777778 | 0.74855 | 0.707261 | 0 | 0.02141 | 0.173116 | 6,383 | 157 | 118 | 40.656051 | 0.795377 | 0.05217 | 0 | 0.554622 | 0 | 0 | 0.245893 | 0.130406 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.033613 | 0.193277 | 0 | 0.394958 | 0.008403 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82b0b8b60ad1afd096f7315bd8505fd72dc5e60c | 126 | py | Python | appstore_tools/appstore/__init__.py | luke14free/appstore-tools | 6d8d8ca6fbc361e927c07461235b96a2cd5d999e | [
"MIT"
] | null | null | null | appstore_tools/appstore/__init__.py | luke14free/appstore-tools | 6d8d8ca6fbc361e927c07461235b96a2cd5d999e | [
"MIT"
] | 7 | 2021-04-26T11:37:18.000Z | 2021-05-05T15:51:44.000Z | appstore_tools/appstore/__init__.py | luke14free/appstore-tools | 6d8d8ca6fbc361e927c07461235b96a2cd5d999e | [
"MIT"
] | 1 | 2021-04-26T12:39:09.000Z | 2021-04-26T12:39:09.000Z | from .api import *
from .auth import *
from .fetch import *
from .exceptions import *
from .types import *
from .util import * | 21 | 25 | 0.722222 | 18 | 126 | 5.055556 | 0.444444 | 0.549451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 126 | 6 | 26 | 21 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7dc99bfe726ff12c02b0f0abad24b85527ceb26b | 2,891 | py | Python | tests/configuration/test_project_config_assignments.py | veox/populllus | c80498b99e236598ce556fd0948622a3f9a49c28 | [
"MIT"
] | 1 | 2022-03-14T03:35:17.000Z | 2022-03-14T03:35:17.000Z | tests/configuration/test_project_config_assignments.py | Ingridamilsina/populus | b5844b2b623b0c6c4a32846b7c09d57fa2802134 | [
"MIT"
] | null | null | null | tests/configuration/test_project_config_assignments.py | Ingridamilsina/populus | b5844b2b623b0c6c4a32846b7c09d57fa2802134 | [
"MIT"
] | 1 | 2021-12-06T04:03:32.000Z | 2021-12-06T04:03:32.000Z | import pytest
from populus.config.defaults import (
load_default_config,
)
from populus.config.base import (
Config,
)
def test_user_config_not_assignable(project):
with pytest.raises(AttributeError):
project.user_config = Config()
def test_project_config_not_assignable(project):
with pyte... | 29.5 | 75 | 0.759599 | 356 | 2,891 | 5.80618 | 0.103933 | 0.135462 | 0.10837 | 0.128689 | 0.83551 | 0.801645 | 0.772617 | 0.772617 | 0.750847 | 0.671505 | 0 | 0 | 0.150467 | 2,891 | 97 | 76 | 29.804124 | 0.841612 | 0 | 0 | 0.453125 | 0 | 0 | 0.088205 | 0.073331 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.09375 | false | 0 | 0.125 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ddfe94ab6499c7d12139d7122e240fb58e38ec2 | 2,968 | py | Python | tests/assertions/types/boolean_vows.py | wking/pyvows | a26b59ab9049d1c82c2fd6b27f7c215e6549569f | [
"MIT"
] | 34 | 2015-02-08T20:43:18.000Z | 2021-03-09T19:01:09.000Z | tests/assertions/types/boolean_vows.py | wking/pyvows | a26b59ab9049d1c82c2fd6b27f7c215e6549569f | [
"MIT"
] | 21 | 2015-01-02T19:21:38.000Z | 2021-10-21T16:04:01.000Z | tests/assertions/types/boolean_vows.py | wking/pyvows | a26b59ab9049d1c82c2fd6b27f7c215e6549569f | [
"MIT"
] | 9 | 2015-01-05T19:00:31.000Z | 2021-09-04T12:46:53.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# pyvows testing engine
# https://github.com/heynemann/pyvows
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2011 Bernardo Heynemann heynemann@gmail.com
from pyvows import Vows, expect
@Vows.batch
class AssertionIsTru... | 25.808696 | 91 | 0.628369 | 381 | 2,968 | 4.622047 | 0.212598 | 0.093697 | 0.088586 | 0.147643 | 0.736513 | 0.736513 | 0.701874 | 0.699603 | 0.609313 | 0.609313 | 0 | 0.003232 | 0.270216 | 2,968 | 114 | 92 | 26.035088 | 0.809788 | 0.079852 | 0 | 0.569444 | 0 | 0 | 0.029736 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 1 | 0.361111 | false | 0 | 0.013889 | 0.152778 | 0.736111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8158e56fa677b6c3af8489c24aea6c864b87bfa5 | 185 | py | Python | utils/__init__.py | Jerryxiaoyu/my_baselines | c0163328e33dd05713e2139d2c1703fc5f661be3 | [
"MIT"
] | null | null | null | utils/__init__.py | Jerryxiaoyu/my_baselines | c0163328e33dd05713e2139d2c1703fc5f661be3 | [
"MIT"
] | null | null | null | utils/__init__.py | Jerryxiaoyu/my_baselines | c0163328e33dd05713e2139d2c1703fc5f661be3 | [
"MIT"
] | null | null | null | from .Logger import *
from .loginfo import *
from utils.replay_memory import *
from utils.zfilter import *
from utils.torch import *
from utils.math import *
from utils.tools import *
| 20.555556 | 33 | 0.767568 | 27 | 185 | 5.222222 | 0.407407 | 0.425532 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156757 | 185 | 8 | 34 | 23.125 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8164c93120959d09736c972e13cfc275600afddb | 47 | py | Python | avicena/optimizers/__init__.py | ribsthakkar/RiderPickup | e4eaf69d905631034949b18433bc70e4a08f0e58 | [
"MIT"
] | 2 | 2020-04-21T02:43:23.000Z | 2020-04-21T02:44:44.000Z | avicena/optimizers/__init__.py | ribsthakkar/RiderPickup | e4eaf69d905631034949b18433bc70e4a08f0e58 | [
"MIT"
] | 1 | 2020-04-21T02:41:11.000Z | 2020-04-21T02:41:11.000Z | avicena/optimizers/__init__.py | ribsthakkar/RiderPickup | e4eaf69d905631034949b18433bc70e4a08f0e58 | [
"MIT"
] | null | null | null | from .GeneralOptimizer import GeneralOptimizer
| 23.5 | 46 | 0.893617 | 4 | 47 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
818ebc623434601d346a64c5e3747c8218b0146d | 63 | py | Python | federate_learning/orchestrator/aggregation_strategy/aggregation_strategy.py | deib-polimi/FederatedLearningFramework | d6ab5cfb2f3c9cbe594aed1ff0a6a34499655718 | [
"Artistic-1.0-cl8"
] | null | null | null | federate_learning/orchestrator/aggregation_strategy/aggregation_strategy.py | deib-polimi/FederatedLearningFramework | d6ab5cfb2f3c9cbe594aed1ff0a6a34499655718 | [
"Artistic-1.0-cl8"
] | null | null | null | federate_learning/orchestrator/aggregation_strategy/aggregation_strategy.py | deib-polimi/FederatedLearningFramework | d6ab5cfb2f3c9cbe594aed1ff0a6a34499655718 | [
"Artistic-1.0-cl8"
] | 2 | 2021-02-10T13:30:41.000Z | 2021-02-10T13:38:54.000Z | from abc import ABC
class AggregationStrategy(ABC):
pass
| 10.5 | 31 | 0.746032 | 8 | 63 | 5.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 63 | 5 | 32 | 12.6 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
81ac38b41efc93536c256eb19be30b5f9388d8c4 | 31 | py | Python | trainer/__init__.py | mrdvince/ajime | d75df750c2500aac64540aa5fa4e7f9a95836100 | [
"MIT"
] | null | null | null | trainer/__init__.py | mrdvince/ajime | d75df750c2500aac64540aa5fa4e7f9a95836100 | [
"MIT"
] | null | null | null | trainer/__init__.py | mrdvince/ajime | d75df750c2500aac64540aa5fa4e7f9a95836100 | [
"MIT"
] | null | null | null | from .trainer import * # noqa
| 15.5 | 30 | 0.677419 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 1 | 31 | 31 | 0.875 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4d4e40d02edfa0f5b3be1f3f8f244bda0258c1d | 88 | py | Python | tax/tes.py | riconova92/tax | 795f51a04bc5e89345cc6832ea3ee72703a38298 | [
"MIT"
] | null | null | null | tax/tes.py | riconova92/tax | 795f51a04bc5e89345cc6832ea3ee72703a38298 | [
"MIT"
] | null | null | null | tax/tes.py | riconova92/tax | 795f51a04bc5e89345cc6832ea3ee72703a38298 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import frappe
def tes():
frappe.throw("tes")
| 14.666667 | 39 | 0.772727 | 12 | 88 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 5 | 40 | 17.6 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 0 | 1 | 0 | 0 | 6 |
c4e1bd5ee8e78db72bb3293e863bb8584c417675 | 160 | py | Python | base/__init__.py | cavalleria/humanseg.pytorch | 77663504b32d777ae22345e660f8bc2132c1c817 | [
"MIT"
] | 20 | 2020-06-03T02:56:26.000Z | 2022-03-29T03:55:10.000Z | base/__init__.py | cavalleria/humanseg.pytorch | 77663504b32d777ae22345e660f8bc2132c1c817 | [
"MIT"
] | 3 | 2020-06-24T02:08:36.000Z | 2021-06-09T03:35:05.000Z | base/__init__.py | cavalleria/humanseg.pytorch | 77663504b32d777ae22345e660f8bc2132c1c817 | [
"MIT"
] | 11 | 2020-07-15T08:43:09.000Z | 2021-12-24T07:14:40.000Z | from .base_data_loader import *
from .base_model import *
from .base_trainer import *
from base.base_inference import (
BaseInference,
VideoInference
) | 20 | 33 | 0.76875 | 20 | 160 | 5.9 | 0.5 | 0.271186 | 0.355932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16875 | 160 | 8 | 34 | 20 | 0.887218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c4e3199e0f23f52993bc853a020f4956096d2038 | 13,958 | py | Python | umrfixipul.py | saipulanwar00/TugasAkhir | 6144e0b730658199ece5486063625cbd81a8e6b4 | [
"MIT"
] | null | null | null | umrfixipul.py | saipulanwar00/TugasAkhir | 6144e0b730658199ece5486063625cbd81a8e6b4 | [
"MIT"
] | null | null | null | umrfixipul.py | saipulanwar00/TugasAkhir | 6144e0b730658199ece5486063625cbd81a8e6b4 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from tkinter import *
from tkinter import Button
from tkinter import messagebox
class Umr(Tk):
def __init__(self):
super().__init__()
self.label1 = Label(
self,
text='Selamat datang',
bg='red',
fg='yellow',
... | 32.235566 | 73 | 0.381573 | 1,308 | 13,958 | 4.065749 | 0.100153 | 0.091764 | 0.083114 | 0.057917 | 0.796916 | 0.7783 | 0.774351 | 0.774351 | 0.774351 | 0.774351 | 0 | 0.043789 | 0.48954 | 13,958 | 433 | 74 | 32.235566 | 0.702596 | 0.002722 | 0 | 0.816229 | 0 | 0 | 0.143329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011933 | false | 0 | 0.00716 | 0 | 0.02148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4ec3876ba190263a0ed45305e5206adc34461f7 | 235 | py | Python | tests/test_schema.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | tests/test_schema.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | tests/test_schema.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
import uuid
from . import utils
def migrate():
utils.expecting_text('get', '/schema/migrate', 'done', 200)
def migrate_sqlite():
utils.expecting_text('get', '/schema/migrate/sqlite', 'done', 200)
| 15.666667 | 70 | 0.646809 | 30 | 235 | 4.966667 | 0.533333 | 0.134228 | 0.241611 | 0.281879 | 0.456376 | 0.456376 | 0 | 0 | 0 | 0 | 0 | 0.035533 | 0.161702 | 235 | 14 | 71 | 16.785714 | 0.720812 | 0.089362 | 0 | 0 | 0 | 0 | 0.240566 | 0.103774 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
486c731a6d5e4fd46a51bd355473ecbefbb4fce2 | 8,387 | py | Python | leo/modes/yaml.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 1,550 | 2015-01-14T16:30:37.000Z | 2022-03-31T08:55:58.000Z | leo/modes/yaml.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 2,009 | 2015-01-13T16:28:52.000Z | 2022-03-31T18:21:48.000Z | leo/modes/yaml.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 200 | 2015-01-05T15:07:41.000Z | 2022-03-07T17:05:01.000Z | # Leo colorizer control file for yaml mode.
# This file is in the public domain.
# Properties for yaml mode.
properties = {
"indentNextLines": "\\s*([^\\s]+\\s*:|-)\\s*$",
"indentSize": "2",
"noTabs": "true",
"tabSize": "2",
"lineComment": "#",
}
# Attributes dict for yaml_main ruleset.
yaml_main_... | 36.947137 | 137 | 0.654346 | 1,187 | 8,387 | 4.328559 | 0.125527 | 0.114831 | 0.055664 | 0.097314 | 0.773647 | 0.765862 | 0.765862 | 0.754185 | 0.747762 | 0.747762 | 0 | 0.039004 | 0.162394 | 8,387 | 226 | 138 | 37.110619 | 0.692384 | 0.09324 | 0 | 0.139535 | 0 | 0 | 0.082322 | 0.007388 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145349 | false | 0 | 0.005814 | 0.145349 | 0.296512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
6fc07a08d0e906976c673bce63e1e392651fdd69 | 324 | py | Python | hwhandler_api/core/base_command.py | kevimota/hwhandler-api | 3817d555689f584ae3b7eafcd4eaa1a9a73e01f5 | [
"MIT"
] | 1 | 2020-07-22T21:54:13.000Z | 2020-07-22T21:54:13.000Z | hwhandler_api/core/base_command.py | kevimota/hwhandler-api | 3817d555689f584ae3b7eafcd4eaa1a9a73e01f5 | [
"MIT"
] | null | null | null | hwhandler_api/core/base_command.py | kevimota/hwhandler-api | 3817d555689f584ae3b7eafcd4eaa1a9a73e01f5 | [
"MIT"
] | 1 | 2020-07-29T18:56:42.000Z | 2020-07-29T18:56:42.000Z | class BaseCommand():
def __init__(self):
self.pre_command()
self.exec_command()
self.post_command()
def pre_command(self):
return 0
def exec_command(self):
return 0
def post_command(self):
return 0
if __name__ == '__main__':
cmd = BaseCommand... | 17.052632 | 27 | 0.57716 | 37 | 324 | 4.567568 | 0.405405 | 0.325444 | 0.301775 | 0.319527 | 0.248521 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.324074 | 324 | 18 | 28 | 18 | 0.757991 | 0 | 0 | 0.230769 | 0 | 0 | 0.024768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.230769 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b50243367ce93a03d39f841e8736ec2230f237ee | 146 | py | Python | Python/code case/code case 49.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | 3 | 2021-01-01T13:08:24.000Z | 2021-02-03T09:27:56.000Z | Python/code case/code case 49.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | null | null | null | Python/code case/code case 49.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | null | null | null | stack = [3, 4, 5]
stack.append(6)
stack.append(7)
print(stack)
print(stack.pop())
print(stack)
print(stack.pop())
print(stack.pop())
print(stack)
| 14.6 | 18 | 0.691781 | 25 | 146 | 4.04 | 0.36 | 0.594059 | 0.386139 | 0.534653 | 0.683168 | 0.554455 | 0.554455 | 0 | 0 | 0 | 0 | 0.037594 | 0.089041 | 146 | 9 | 19 | 16.222222 | 0.721805 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b507db79e1c0effd85be0485596046844bebf28d | 99 | py | Python | GUI/Gtk/View.py | gcewing/PyGUI | 58c6c38ccb8e66acdf98dea6b24bef1d9a03147c | [
"MIT"
] | 9 | 2019-07-15T19:03:27.000Z | 2021-11-24T19:50:02.000Z | GUI/Gtk/View.py | mnabeelp/PyGUI | 58c6c38ccb8e66acdf98dea6b24bef1d9a03147c | [
"MIT"
] | 3 | 2019-09-11T13:22:10.000Z | 2020-08-19T20:13:00.000Z | GUI/Gtk/View.py | mnabeelp/PyGUI | 58c6c38ccb8e66acdf98dea6b24bef1d9a03147c | [
"MIT"
] | 4 | 2020-02-23T16:50:06.000Z | 2022-02-10T07:15:35.000Z | #
# Python GUI - Views - Gtk
#
from GUI import export
from GUI.GViews import View
export(View)
| 11 | 28 | 0.69697 | 15 | 99 | 4.6 | 0.6 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 99 | 8 | 29 | 12.375 | 0.896104 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82f016488a5247c279bad2dcebf56bd08094262c | 174 | py | Python | wmd/settings.py | morgantxrx/django-wmd-editor | 99f7c9e640ce9ca598fe121e4f56794fdca28045 | [
"BSD-3-Clause"
] | null | null | null | wmd/settings.py | morgantxrx/django-wmd-editor | 99f7c9e640ce9ca598fe121e4f56794fdca28045 | [
"BSD-3-Clause"
] | null | null | null | wmd/settings.py | morgantxrx/django-wmd-editor | 99f7c9e640ce9ca598fe121e4f56794fdca28045 | [
"BSD-3-Clause"
] | 1 | 2021-06-29T16:51:32.000Z | 2021-06-29T16:51:32.000Z |
from django.conf import settings
WMD_SHOW_PREVIEW = getattr(settings, 'WMD_SHOW_PREVIEW', False)
WMD_ADMIN_SHOW_PREVIEW = getattr(settings, 'WMD_ADMIN_SHOW_PREVIEW', True)
| 29 | 74 | 0.821839 | 25 | 174 | 5.32 | 0.48 | 0.330827 | 0.225564 | 0.330827 | 0.43609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 174 | 5 | 75 | 34.8 | 0.841772 | 0 | 0 | 0 | 0 | 0 | 0.219653 | 0.127168 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
82f8a9b3a8c1df779683293aeeb4dd3eecef13c7 | 44 | py | Python | bicep/__init__.py | brynhayder/bicep | fd75edd4da65fca242ee60bc8cec4b18ccf3541a | [
"MIT"
] | 1 | 2020-12-22T10:11:27.000Z | 2020-12-22T10:11:27.000Z | bicep/__init__.py | brynhayder/bicep | fd75edd4da65fca242ee60bc8cec4b18ccf3541a | [
"MIT"
] | null | null | null | bicep/__init__.py | brynhayder/bicep | fd75edd4da65fca242ee60bc8cec4b18ccf3541a | [
"MIT"
] | null | null | null | from .loops import Trainer, evaluate, train
| 22 | 43 | 0.795455 | 6 | 44 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d22dc724021a1dcb99359ca82576875583efddd5 | 69 | py | Python | open511/tests/__init__.py | opennorth/open511 | 3d573f59d7efa06ff1b5419ea5ff4d90a90b3cf8 | [
"MIT"
] | 1 | 2015-01-13T22:47:58.000Z | 2015-01-13T22:47:58.000Z | open511/tests/__init__.py | opennorth/open511 | 3d573f59d7efa06ff1b5419ea5ff4d90a90b3cf8 | [
"MIT"
] | 1 | 2015-04-22T22:29:34.000Z | 2015-04-22T22:31:19.000Z | open511/tests/__init__.py | opennorth/open511 | 3d573f59d7efa06ff1b5419ea5ff4d90a90b3cf8 | [
"MIT"
] | null | null | null | from open511.tests.schedule import *
from open511.tests.tmdd import * | 34.5 | 36 | 0.811594 | 10 | 69 | 5.6 | 0.6 | 0.392857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.101449 | 69 | 2 | 37 | 34.5 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d241cd5e9c97b0d2d7f6ae2494bc1f70ad76fb67 | 12,608 | py | Python | malaya_speech/train/model/openseq2seq/layer.py | dtx525942103/malaya-speech | 212c4e890d0cbcbbca0037c89a698b68b05db393 | [
"MIT"
] | null | null | null | malaya_speech/train/model/openseq2seq/layer.py | dtx525942103/malaya-speech | 212c4e890d0cbcbbca0037c89a698b68b05db393 | [
"MIT"
] | null | null | null | malaya_speech/train/model/openseq2seq/layer.py | dtx525942103/malaya-speech | 212c4e890d0cbcbbca0037c89a698b68b05db393 | [
"MIT"
] | 1 | 2021-08-19T02:34:41.000Z | 2021-08-19T02:34:41.000Z | # Copyright (c) 2018 NVIDIA Corporation
import tensorflow as tf
class TemporalConvolutionalLayer(tf.layers.Conv1D):
"""Temporal Convolutional layer
"""
def __init__(
self,
filters,
kernel_size,
strides = 1,
dilation_rate = 1,
activation = None,
data_... | 27.113978 | 78 | 0.57527 | 1,289 | 12,608 | 5.404189 | 0.114818 | 0.053115 | 0.041487 | 0.034453 | 0.797732 | 0.774045 | 0.75323 | 0.741746 | 0.727964 | 0.715906 | 0 | 0.009349 | 0.338277 | 12,608 | 464 | 79 | 27.172414 | 0.825602 | 0.082567 | 0 | 0.778061 | 0 | 0 | 0.030433 | 0.001918 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.002551 | 0 | 0.043367 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d27e458faa6f39c5ddcf6a650b46ab89cea7e172 | 235 | py | Python | drone/config.py | tinvaan/PyDrone | 777fe955a335f2353e231499b5e9f335cdb6bfdd | [
"Apache-2.0"
] | 4 | 2021-07-29T13:06:28.000Z | 2021-10-05T15:35:00.000Z | drone/config.py | tinvaan/PyDrone | 777fe955a335f2353e231499b5e9f335cdb6bfdd | [
"Apache-2.0"
] | 5 | 2020-10-04T15:07:31.000Z | 2021-05-22T21:17:15.000Z | drone/config.py | tinvaan/PyDrone | 777fe955a335f2353e231499b5e9f335cdb6bfdd | [
"Apache-2.0"
] | 3 | 2020-08-12T19:36:29.000Z | 2020-10-05T10:57:01.000Z |
import os
def api_token():
if not os.environ.get('DRONE_TOKEN'):
raise EnvironmentError('')
return os.environ.get('DRONE_TOKEN')
def api_server():
return os.environ.get('DRONE_SERVER', 'https://cloud.drone.io') | 19.583333 | 67 | 0.67234 | 33 | 235 | 4.636364 | 0.515152 | 0.176471 | 0.235294 | 0.333333 | 0.477124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 235 | 12 | 67 | 19.583333 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.238298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
963c7ed749fcf8b380c4004b1162c2406a3364ee | 146 | py | Python | jetavator/schema_registry/RegistryService.py | jetavator/jetavator | 6edc7b57532809f9903735c333544658631252b5 | [
"Apache-2.0"
] | null | null | null | jetavator/schema_registry/RegistryService.py | jetavator/jetavator | 6edc7b57532809f9903735c333544658631252b5 | [
"Apache-2.0"
] | 86 | 2020-04-11T18:03:32.000Z | 2021-06-15T14:48:45.000Z | jetavator/schema_registry/RegistryService.py | jetavator/jetavator | 6edc7b57532809f9903735c333544658631252b5 | [
"Apache-2.0"
] | null | null | null | # from abc import ABC
from jetavator.services.EngineOwnedService import EngineOwnedService
class RegistryService(EngineOwnedService):
pass
| 18.25 | 68 | 0.828767 | 14 | 146 | 8.642857 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130137 | 146 | 7 | 69 | 20.857143 | 0.952756 | 0.130137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9665182064063fc190d5363abfc97aaaa027106c | 215 | py | Python | envoy.github.abstract/tests/test_abstract.py | Nordix/pytooling | b48e70e9098c283d0f17db8016d2f32a2b103a57 | [
"Apache-2.0"
] | 1 | 2021-12-09T19:24:48.000Z | 2021-12-09T19:24:48.000Z | envoy.github.abstract/tests/test_abstract.py | Nordix/pytooling | b48e70e9098c283d0f17db8016d2f32a2b103a57 | [
"Apache-2.0"
] | 392 | 2021-08-24T15:55:32.000Z | 2022-03-28T14:26:22.000Z | envoy.github.abstract/tests/test_abstract.py | Nordix/pytooling | b48e70e9098c283d0f17db8016d2f32a2b103a57 | [
"Apache-2.0"
] | 3 | 2021-10-06T13:43:11.000Z | 2021-11-29T13:48:56.000Z |
from envoy.github.abstract import (
AGithubRelease, AGithubReleaseAssets, AGithubReleaseManager)
def test_imports():
assert AGithubRelease
assert AGithubReleaseAssets
assert AGithubReleaseManager
| 21.5 | 64 | 0.8 | 17 | 215 | 10.058824 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15814 | 215 | 9 | 65 | 23.888889 | 0.944751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
96790ce31d91c0501f2c2bd8ad8ebae5bf0a80ba | 25 | py | Python | main.py | nickdelgrosso/SkunkClassroomEdition | e37e7045d4f408e31a240c32208f2ceabc25bc44 | [
"MIT"
] | null | null | null | main.py | nickdelgrosso/SkunkClassroomEdition | e37e7045d4f408e31a240c32208f2ceabc25bc44 | [
"MIT"
] | null | null | null | main.py | nickdelgrosso/SkunkClassroomEdition | e37e7045d4f408e31a240c32208f2ceabc25bc44 | [
"MIT"
] | null | null | null | from routes import app
| 6.25 | 22 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 25 | 3 | 23 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
967f0fc48894de8780873ae38255de3f7644b2a2 | 5,574 | py | Python | deicode/scripts/_standalone_rpca.py | davised/DEICODE | a3142a95bc8945188eacfe7929dab768786c2f4e | [
"BSD-3-Clause"
] | null | null | null | deicode/scripts/_standalone_rpca.py | davised/DEICODE | a3142a95bc8945188eacfe7929dab768786c2f4e | [
"BSD-3-Clause"
] | null | null | null | deicode/scripts/_standalone_rpca.py | davised/DEICODE | a3142a95bc8945188eacfe7929dab768786c2f4e | [
"BSD-3-Clause"
] | null | null | null | import os
import click
from biom import load_table
from deicode.rpca import rpca as _rpca
from deicode.rpca import auto_rpca as _auto_rpca
from deicode._rpca_defaults import (DEFAULT_RANK, DEFAULT_MSC, DEFAULT_MFC,
DEFAULT_ITERATIONS, DESC_RANK, DESC_MSC,
... | 38.178082 | 78 | 0.610154 | 696 | 5,574 | 4.712644 | 0.206897 | 0.038415 | 0.041159 | 0.052134 | 0.864634 | 0.857622 | 0.857622 | 0.842378 | 0.842378 | 0.842378 | 0 | 0.001023 | 0.298349 | 5,574 | 145 | 79 | 38.441379 | 0.837637 | 0.290635 | 0 | 0.676471 | 0 | 0 | 0.107134 | 0.011762 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0.009804 | 0.058824 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
737e7e7d43a04166010b77ede1cc3ddbc7b70c8c | 46 | py | Python | src/__init__.py | campustirolmotorsport/DL-LidarSimulation | 3d42d686d2bcbc8f8acc0e7a7f37e419bfb61c64 | [
"MIT"
] | null | null | null | src/__init__.py | campustirolmotorsport/DL-LidarSimulation | 3d42d686d2bcbc8f8acc0e7a7f37e419bfb61c64 | [
"MIT"
] | null | null | null | src/__init__.py | campustirolmotorsport/DL-LidarSimulation | 3d42d686d2bcbc8f8acc0e7a7f37e419bfb61c64 | [
"MIT"
] | 1 | 2022-02-11T07:56:56.000Z | 2022-02-11T07:56:56.000Z | from .Types import *
from .constants import *
| 15.333333 | 24 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
738483478c5efe7c7cb7bf94de93befe77a77c55 | 6,498 | py | Python | pytimize/programs/tests/linear/test_to_sef.py | TerrayTM/pytimize | 5d3508e8da4d2e6c8e52d3386b580bc300dc52d5 | [
"Apache-2.0"
] | 10 | 2020-02-24T01:52:20.000Z | 2022-03-12T02:50:58.000Z | pytimize/programs/tests/linear/test_to_sef.py | TerrayTM/pytimize | 5d3508e8da4d2e6c8e52d3386b580bc300dc52d5 | [
"Apache-2.0"
] | null | null | null | pytimize/programs/tests/linear/test_to_sef.py | TerrayTM/pytimize | 5d3508e8da4d2e6c8e52d3386b580bc300dc52d5 | [
"Apache-2.0"
] | 2 | 2021-10-03T22:18:47.000Z | 2021-10-03T22:19:27.000Z | import numpy as np
import math
from ... import LinearProgram
from unittest import TestCase, main
class TestToSEF(TestCase):
def test_to_sef(self) -> None:
A = np.array([
[1, 5, 3],
[2, -1, 2],
[1, 2, -1]
])
b = np.array([5, 4, 2])
c = np.array([1... | 45.440559 | 130 | 0.548476 | 911 | 6,498 | 3.867179 | 0.073546 | 0.061595 | 0.076639 | 0.102186 | 0.949759 | 0.944933 | 0.915129 | 0.911155 | 0.911155 | 0.905194 | 0 | 0.056087 | 0.275623 | 6,498 | 142 | 131 | 45.760563 | 0.692373 | 0 | 0 | 0.625 | 0 | 0 | 0.269775 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.025 | false | 0 | 0.033333 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
739a42fa3a5c40cd0d152e25c3fd38c583ffd1b4 | 75 | py | Python | parsing/utils/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | parsing/utils/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | parsing/utils/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | from . import category, common, group, junction
from . import junction_old
| 25 | 47 | 0.786667 | 10 | 75 | 5.8 | 0.7 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 2 | 48 | 37.5 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
739e0518f8e40a6b5408ef523fae9b220d9c45f2 | 115 | py | Python | tests/test_calculators.py | costrouc/pymatgen-lammps | 0e1aee4c4c93a62ac3648086d3007be7c2ce20a1 | [
"MIT"
] | 3 | 2020-07-01T07:59:42.000Z | 2022-01-19T07:19:08.000Z | tests/test_calculators.py | costrouc/pymatgen-lammps | 0e1aee4c4c93a62ac3648086d3007be7c2ce20a1 | [
"MIT"
] | null | null | null | tests/test_calculators.py | costrouc/pymatgen-lammps | 0e1aee4c4c93a62ac3648086d3007be7c2ce20a1 | [
"MIT"
] | 4 | 2020-07-26T03:30:52.000Z | 2021-08-09T21:26:00.000Z | # test that imports work
def test_calculators():
from pmg_lammps.calculator import LammpsWorker, LammpsMaster
| 23 | 64 | 0.8 | 14 | 115 | 6.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 115 | 4 | 65 | 28.75 | 0.918367 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73a43133990896be62b2a33f8188bae149f2f37c | 162 | py | Python | TimeWrapper_JE/venv/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 32 | 2021-05-03T09:03:57.000Z | 2022-03-17T09:18:59.000Z | TimeWrapper_JE/venv/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 4 | 2021-05-29T20:42:52.000Z | 2022-03-16T03:01:12.000Z | TimeWrapper_JE/venv/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 27 | 2021-11-10T08:44:10.000Z | 2022-03-30T08:19:46.000Z | __all__ = ["Mapping", "Sequence"]
try:
from collections.abc import Mapping, Sequence
except ImportError:
from collections import Mapping, Sequence
| 23.142857 | 50 | 0.722222 | 17 | 162 | 6.647059 | 0.588235 | 0.39823 | 0.371681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 162 | 6 | 51 | 27 | 0.869231 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73b6c6fe2f11928c295b30c2a8236f2ff4ac0012 | 123 | py | Python | tests/conftest.py | cybojenix/py-libsalesforce | 5468b6043196a403cd6bb9c493864ddacdb51c67 | [
"MIT"
] | null | null | null | tests/conftest.py | cybojenix/py-libsalesforce | 5468b6043196a403cd6bb9c493864ddacdb51c67 | [
"MIT"
] | null | null | null | tests/conftest.py | cybojenix/py-libsalesforce | 5468b6043196a403cd6bb9c493864ddacdb51c67 | [
"MIT"
] | null | null | null | import pytest
from faker import Factory
@pytest.fixture(scope="session")
def faker():
return Factory.create("en_GB")
| 15.375 | 34 | 0.739837 | 17 | 123 | 5.294118 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 7 | 35 | 17.571429 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
73e1b684b4e968d6eaad48deb5b15cd9f532d044 | 71 | py | Python | lib/backbone/__init__.py | Bazinga699/NCL | 8b1d1bfaa1cf4473c210e314c1bdc080c04f78d2 | [
"BSD-2-Clause"
] | 32 | 2022-03-19T08:03:54.000Z | 2022-03-31T17:34:51.000Z | lib/backbone/__init__.py | sce0022/NCL | 2bbf193d16c67ca8ec7784c88557abfab3114391 | [
"BSD-2-Clause"
] | 1 | 2022-03-21T08:32:43.000Z | 2022-03-21T08:32:43.000Z | lib/backbone/__init__.py | sce0022/NCL | 2bbf193d16c67ca8ec7784c88557abfab3114391 | [
"BSD-2-Clause"
] | 21 | 2022-03-19T08:15:48.000Z | 2022-03-28T15:00:03.000Z | from .resnet import res50,res152
from .resnet_cifar import res32_cifar
| 23.666667 | 37 | 0.84507 | 11 | 71 | 5.272727 | 0.636364 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.112676 | 71 | 2 | 38 | 35.5 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb56ef3d52d9f45e85e5ef37369e90b43fe855a0 | 36 | py | Python | qbitkit/provider/leap/__init__.py | qbitkit/qbitkit | 53a5dc2d1006ada20911f672daf2e3827296a4fd | [
"Apache-2.0"
] | 3 | 2021-02-26T09:57:28.000Z | 2021-03-27T01:02:36.000Z | qbitkit/provider/leap/__init__.py | qbitkit/qbitkit | 53a5dc2d1006ada20911f672daf2e3827296a4fd | [
"Apache-2.0"
] | 31 | 2021-01-03T02:26:21.000Z | 2021-08-19T02:56:59.000Z | qbitkit/provider/leap/__init__.py | qbitkit/qbitkit | 53a5dc2d1006ada20911f672daf2e3827296a4fd | [
"Apache-2.0"
] | null | null | null | from qbitkit.provider.leap import *
| 18 | 35 | 0.805556 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbb0c610ef002d99700eb675e261805c31f7a237 | 28 | py | Python | variantcall/call/snake/helpers/__init__.py | owensgl/haploblocks_2019 | 1b59b2ed8a3c512270cd6e0aec23cedca868d778 | [
"MIT"
] | null | null | null | variantcall/call/snake/helpers/__init__.py | owensgl/haploblocks_2019 | 1b59b2ed8a3c512270cd6e0aec23cedca868d778 | [
"MIT"
] | null | null | null | variantcall/call/snake/helpers/__init__.py | owensgl/haploblocks_2019 | 1b59b2ed8a3c512270cd6e0aec23cedca868d778 | [
"MIT"
] | null | null | null |
from .model import Contig
| 7 | 25 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 3 | 26 | 9.333333 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83848c4a5d58411884c8d760e6da07925aee7d3a | 176 | py | Python | bla/__init__.py | josecostamartins/pythonreges | 0e5a0e5a5a348a3c6217f0700b0866231bca5050 | [
"MIT"
] | null | null | null | bla/__init__.py | josecostamartins/pythonreges | 0e5a0e5a5a348a3c6217f0700b0866231bca5050 | [
"MIT"
] | null | null | null | bla/__init__.py | josecostamartins/pythonreges | 0e5a0e5a5a348a3c6217f0700b0866231bca5050 | [
"MIT"
] | 2 | 2021-05-18T02:44:49.000Z | 2021-12-06T17:41:55.000Z | # -*- coding: utf-8 -*-
from __future__ import (unicode_literals, nested_scopes, generators, division,
absolute_import, with_statement, print_function)
| 44 | 78 | 0.681818 | 18 | 176 | 6.166667 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.221591 | 176 | 3 | 79 | 58.666667 | 0.80292 | 0.119318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
86037c1a8740969e090c2a4d86a4fc27bb13c3e9 | 31 | py | Python | src/spectrabuster/Spectrum/__init__.py | eduardosprp/spectrabuster | bb75c2bc860fd5ade7414b212e63113e6fa22eab | [
"MIT"
] | null | null | null | src/spectrabuster/Spectrum/__init__.py | eduardosprp/spectrabuster | bb75c2bc860fd5ade7414b212e63113e6fa22eab | [
"MIT"
] | 1 | 2020-11-14T16:04:23.000Z | 2020-11-14T16:04:23.000Z | src/spectrabuster/Spectrum/__init__.py | eduardosprp/spectrabuster | bb75c2bc860fd5ade7414b212e63113e6fa22eab | [
"MIT"
] | 3 | 2020-11-14T03:27:09.000Z | 2022-01-14T09:25:22.000Z | from .spectrum import Spectrum
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7c043cbb40252ce242ea5fdf76a0c87629961ae | 12,146 | py | Python | layers/_neural.py | larsmaaloee/BIVA | e47201113d779c6ea1245875714101b2bbfcbdae | [
"MIT"
] | 28 | 2019-10-24T10:35:43.000Z | 2021-07-25T04:28:44.000Z | layers/_neural.py | larsmaaloee/BIVA | e47201113d779c6ea1245875714101b2bbfcbdae | [
"MIT"
] | null | null | null | layers/_neural.py | larsmaaloee/BIVA | e47201113d779c6ea1245875714101b2bbfcbdae | [
"MIT"
] | 6 | 2019-10-24T11:09:58.000Z | 2021-02-19T01:35:38.000Z |
import tensorflow as tf
import warnings
def conv2d(x, dim=(32, [3, 3], [1, 1]), pad='SAME', scope="conv2d", training=True, ema=None, init=False, bias_initializer=tf.constant_initializer(0.)):
num_filters, filter_size, stride = dim
with tf.variable_scope(scope):
V = tf.get_variable('V', shape=list(fil... | 44.819188 | 194 | 0.580273 | 1,908 | 12,146 | 3.545597 | 0.118973 | 0.014486 | 0.017738 | 0.016556 | 0.812269 | 0.778418 | 0.755654 | 0.720177 | 0.710273 | 0.705248 | 0 | 0.044284 | 0.245184 | 12,146 | 270 | 195 | 44.985185 | 0.693608 | 0.052857 | 0 | 0.649215 | 0 | 0 | 0.05338 | 0.005844 | 0 | 0 | 0 | 0 | 0.020942 | 1 | 0.052356 | false | 0 | 0.010471 | 0 | 0.115183 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7fc0eec94d2ed59d118b176abfc6e1b68bd7edc | 21 | py | Python | januspy/__init__.py | Akagi201/januspy | 85680d31c38770b7ce724d1d703385e19671eb3b | [
"MIT"
] | 5 | 2016-12-19T17:18:48.000Z | 2020-10-20T01:37:09.000Z | januspy/__init__.py | Akagi201/januspy | 85680d31c38770b7ce724d1d703385e19671eb3b | [
"MIT"
] | null | null | null | januspy/__init__.py | Akagi201/januspy | 85680d31c38770b7ce724d1d703385e19671eb3b | [
"MIT"
] | 4 | 2020-03-17T11:31:06.000Z | 2021-08-06T11:40:01.000Z | from januspy import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f72863ca7b1b865d798b9801a38bbfb1be6fdca9 | 33 | py | Python | src/estimate/__init__.py | haoyio/stock-opt | 4a7dc730693517fd25ddd5c105361f73b51f11ac | [
"Apache-2.0"
] | null | null | null | src/estimate/__init__.py | haoyio/stock-opt | 4a7dc730693517fd25ddd5c105361f73b51f11ac | [
"Apache-2.0"
] | null | null | null | src/estimate/__init__.py | haoyio/stock-opt | 4a7dc730693517fd25ddd5c105361f73b51f11ac | [
"Apache-2.0"
] | null | null | null | from estimate.constants import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f74e31c8153afe5250c8deec735a6fa37bb5394e | 5,681 | py | Python | tests/cli/config/test_set.py | ashemedai/hatch | 9ec00d5e027c992efbc16dd777b1f6926368b6bf | [
"MIT"
] | null | null | null | tests/cli/config/test_set.py | ashemedai/hatch | 9ec00d5e027c992efbc16dd777b1f6926368b6bf | [
"MIT"
] | null | null | null | tests/cli/config/test_set.py | ashemedai/hatch | 9ec00d5e027c992efbc16dd777b1f6926368b6bf | [
"MIT"
] | null | null | null | def test_standard(hatch, config_file, helpers):
result = hatch('config', 'set', 'project', 'foo')
assert result.exit_code == 0, result.output
assert result.output == helpers.dedent(
"""
New setting:
project = "foo"
"""
)
config_file.load()
assert config_file.mod... | 25.59009 | 91 | 0.591269 | 652 | 5,681 | 4.97546 | 0.102761 | 0.135635 | 0.083231 | 0.097102 | 0.86344 | 0.823058 | 0.813194 | 0.802404 | 0.725956 | 0.695746 | 0 | 0.002827 | 0.252772 | 5,681 | 221 | 92 | 25.705882 | 0.761366 | 0 | 0 | 0.671756 | 0 | 0 | 0.187882 | 0.012631 | 0 | 0 | 0 | 0 | 0.29771 | 1 | 0.091603 | false | 0 | 0 | 0 | 0.091603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f77a3f9fff0a26966626240dfc8c2bb583432bdc | 10,470 | py | Python | src/reporter/tests/test_op.py | pooja1pathak/ngsi-timeseries-api | 1709b2f62e6c8b5112cca4badcfb01b92bcc9bb5 | [
"MIT"
] | null | null | null | src/reporter/tests/test_op.py | pooja1pathak/ngsi-timeseries-api | 1709b2f62e6c8b5112cca4badcfb01b92bcc9bb5 | [
"MIT"
] | null | null | null | src/reporter/tests/test_op.py | pooja1pathak/ngsi-timeseries-api | 1709b2f62e6c8b5112cca4badcfb01b92bcc9bb5 | [
"MIT"
] | 1 | 2022-02-13T13:05:17.000Z | 2022-02-13T13:05:17.000Z | from conftest import QL_URL
from reporter.tests.utils import insert_test_data, delete_test_data
import pytest
import requests
import json
import time
entity_type = 'Room'
entity_id = 'Room0'
temperature = 'temperature'
pressure = 'pressure'
n_days = 30
services = ['t1', 't2']
query_url = "{}/op/query".format(QL_URL)
... | 25.724816 | 77 | 0.511175 | 1,041 | 10,470 | 4.941403 | 0.108549 | 0.087675 | 0.040824 | 0.057154 | 0.846617 | 0.820568 | 0.807154 | 0.798017 | 0.770023 | 0.747667 | 0 | 0.022487 | 0.358644 | 10,470 | 406 | 78 | 25.788177 | 0.743559 | 0.001242 | 0 | 0.665722 | 0 | 0 | 0.11565 | 0.005548 | 0 | 0 | 0 | 0 | 0.096317 | 1 | 0.036827 | false | 0 | 0.016997 | 0 | 0.056657 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3ca1e2e0ac84db94eda05726aedf9973076dfa8 | 159 | py | Python | clustering.py | jgreer013/re-qomp | d60d5d5a329055b516edabadf9fa5370e4575e83 | [
"MIT"
] | null | null | null | clustering.py | jgreer013/re-qomp | d60d5d5a329055b516edabadf9fa5370e4575e83 | [
"MIT"
] | null | null | null | clustering.py | jgreer013/re-qomp | d60d5d5a329055b516edabadf9fa5370e4575e83 | [
"MIT"
] | null | null | null | from sklearn.cluster import AgglomerativeClustering
def multinomClustering(distance_matrix):
return AgglomerativeClustering(n_clusters=2, linkage='ward')
| 22.714286 | 62 | 0.842767 | 16 | 159 | 8.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.08805 | 159 | 6 | 63 | 26.5 | 0.903448 | 0 | 0 | 0 | 0 | 0 | 0.025157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5411ff6bb54b8d594460749418badd4542969d86 | 160 | py | Python | geoportal/geoportailv3_geoportal/scripts/lux_gunicorn.py | Geoportail-Luxembourg/geoportailv3 | a3797a426e263683cdebe371753e655604789474 | [
"MIT"
] | 17 | 2015-01-14T08:40:22.000Z | 2021-05-08T04:39:50.000Z | geoportal/geoportailv3_geoportal/scripts/lux_gunicorn.py | Geoportail-Luxembourg/geoportailv3 | a3797a426e263683cdebe371753e655604789474 | [
"MIT"
] | 1,477 | 2015-01-05T09:58:41.000Z | 2022-03-18T11:07:09.000Z | geoportal/geoportailv3_geoportal/scripts/lux_gunicorn.py | Geoportail-Luxembourg/geoportailv3 | a3797a426e263683cdebe371753e655604789474 | [
"MIT"
] | 14 | 2015-07-24T07:33:13.000Z | 2021-03-02T13:51:48.000Z | # patched_gunicorn_runner.py
from gunicorn.http import message
from gunicorn.app.wsgiapp import run
def main():
message.MAX_REQUEST_LINE = 65534
run()
| 20 | 36 | 0.76875 | 23 | 160 | 5.173913 | 0.73913 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.15625 | 160 | 7 | 37 | 22.857143 | 0.844444 | 0.1625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
580fa70213371dc65b76ddb5026e8955b71953bf | 42 | py | Python | wsgi.py | MaayanLab/fuzzy-proxy | 7d05de30a189ae05b73a5f31bf099213dd589825 | [
"Apache-2.0"
] | null | null | null | wsgi.py | MaayanLab/fuzzy-proxy | 7d05de30a189ae05b73a5f31bf099213dd589825 | [
"Apache-2.0"
] | null | null | null | wsgi.py | MaayanLab/fuzzy-proxy | 7d05de30a189ae05b73a5f31bf099213dd589825 | [
"Apache-2.0"
] | 1 | 2019-10-24T18:27:21.000Z | 2019-10-24T18:27:21.000Z | from fuzzy_proxy import app as application | 42 | 42 | 0.880952 | 7 | 42 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5858ab2cbb24167297cf7cbe539b01ac6321efcb | 87 | py | Python | tests/test_init.py | brymck/pygclip | 63d3002a7463ebcf57c19354cfeed1a79585bf41 | [
"MIT"
] | null | null | null | tests/test_init.py | brymck/pygclip | 63d3002a7463ebcf57c19354cfeed1a79585bf41 | [
"MIT"
] | null | null | null | tests/test_init.py | brymck/pygclip | 63d3002a7463ebcf57c19354cfeed1a79585bf41 | [
"MIT"
] | null | null | null | import pygclip
def test_version_exists():
assert pygclip.__version__ is not None
| 14.5 | 42 | 0.781609 | 12 | 87 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 43 | 17.4 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
545ee96a8646637ae1bf0fb30f0c6ec38064a847 | 25,789 | py | Python | Code/miccai2021_model.py | S-HuaBomb/Conditional_LapIRN | 2afe563a796768406bd7e8c244696245ce74b57a | [
"MIT"
] | null | null | null | Code/miccai2021_model.py | S-HuaBomb/Conditional_LapIRN | 2afe563a796768406bd7e8c244696245ce74b57a | [
"MIT"
] | null | null | null | Code/miccai2021_model.py | S-HuaBomb/Conditional_LapIRN | 2afe563a796768406bd7e8c244696245ce74b57a | [
"MIT"
] | null | null | null | import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from Functions import generate_grid_unit
class Miccai2021_LDR_conditional_laplacian_unit_disp_add_lvl1(nn.Module):
def __init__(self, in_channel, n_classes, start_channel, is_train=True, imgshape=(160, 192, 144), range_flow=0.4... | 41.52818 | 120 | 0.605685 | 3,456 | 25,789 | 4.246528 | 0.070313 | 0.046334 | 0.034751 | 0.042927 | 0.805056 | 0.775143 | 0.748228 | 0.733851 | 0.683701 | 0.667076 | 0 | 0.035435 | 0.272287 | 25,789 | 620 | 121 | 41.595161 | 0.746576 | 0.096475 | 0 | 0.610329 | 1 | 0 | 0.004954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084507 | false | 0 | 0.011737 | 0 | 0.185446 | 0.004695 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5465135fd3c5b89fa9b1638cff2c41aec476ae2a | 82 | py | Python | rl/augmentations/__init__.py | Luca96/carla-driving-rl-agent | 00ae9ec6dc61f82ecd19e96b6c1a5e1903911e62 | [
"MIT"
] | 26 | 2021-01-27T21:42:17.000Z | 2022-03-31T08:46:30.000Z | rl/augmentations/__init__.py | Martje55555/carla-rl-agent | 0d38cc3080cab900f4eaa3cd4735918c5868103a | [
"MIT"
] | 9 | 2021-05-21T14:50:57.000Z | 2022-03-25T17:50:03.000Z | rl/augmentations/__init__.py | Martje55555/carla-rl-agent | 0d38cc3080cab900f4eaa3cd4735918c5868103a | [
"MIT"
] | 10 | 2021-03-23T14:10:14.000Z | 2022-03-24T17:49:12.000Z |
from rl.augmentations.augmentations import *
from rl.augmentations import simclr
| 20.5 | 44 | 0.841463 | 10 | 82 | 6.9 | 0.5 | 0.173913 | 0.550725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 82 | 3 | 45 | 27.333333 | 0.945205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
546ff34bf66ad2c956f2639bc2209ea0c21f9229 | 286 | py | Python | antools/database/postgres/__init__.py | antonin-drozda/antools | 550310a61aae8d11e50e088731211197b7ee790b | [
"MIT"
] | 1 | 2021-02-27T07:22:39.000Z | 2021-02-27T07:22:39.000Z | antools/database/postgres/__init__.py | antonin-drozda/antools | 550310a61aae8d11e50e088731211197b7ee790b | [
"MIT"
] | null | null | null | antools/database/postgres/__init__.py | antonin-drozda/antools | 550310a61aae8d11e50e088731211197b7ee790b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
DATABASES - POSTGRES
"""
# %% FILE IMPORT
from antools.database.postgres.postgres_database import PostgreSQLDatabase
from antools.database.postgres.postgres_schema import PostgreSQLSchema
from antools.database.postgres.postgres_table import PostgreSQLTable
| 28.6 | 74 | 0.807692 | 31 | 286 | 7.354839 | 0.483871 | 0.144737 | 0.25 | 0.355263 | 0.460526 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003861 | 0.094406 | 286 | 9 | 75 | 31.777778 | 0.876448 | 0.202797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5475acfb4fbcdec29b9153c7528894ff110bc4a5 | 3,436 | py | Python | test/test_md010.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md010.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md010.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | """
Module to provide tests related to the MD010 rule.
"""
from test.markdown_scanner import MarkdownScanner
import pytest
@pytest.mark.rules
def test_md010_bad_configuration_style():
"""
Test to make sure we get the expected behavior after scanning a good file from the
test/resources/rules/md010 directo... | 30.678571 | 87 | 0.675786 | 449 | 3,436 | 4.946548 | 0.209354 | 0.050428 | 0.105358 | 0.124268 | 0.801441 | 0.792436 | 0.770374 | 0.724899 | 0.724899 | 0.724899 | 0 | 0.04106 | 0.220314 | 3,436 | 111 | 88 | 30.954955 | 0.787981 | 0.187718 | 0 | 0.461538 | 0 | 0 | 0.406135 | 0.236881 | 0 | 0 | 0 | 0 | 0.046154 | 1 | 0.046154 | false | 0 | 0.030769 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54783ceea2e91aeacabe0939be5a7849c1026b83 | 17 | py | Python | td/__init__.py | jay13jay/alpacaBot | 5164fa8f742fb4d38cb9b11de165c5779e8b3d8c | [
"Apache-2.0"
] | null | null | null | td/__init__.py | jay13jay/alpacaBot | 5164fa8f742fb4d38cb9b11de165c5779e8b3d8c | [
"Apache-2.0"
] | null | null | null | td/__init__.py | jay13jay/alpacaBot | 5164fa8f742fb4d38cb9b11de165c5779e8b3d8c | [
"Apache-2.0"
] | null | null | null | from .td import * | 17 | 17 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
548b9fe38845033ce2d2dc6d73ba64e6d695282d | 282 | py | Python | canbeta/child/command/__init__.py | FROM-THE-EARTH/canbeta | d41cf1b3dd926c5144dc5086f42943a0594c478b | [
"MIT"
] | 1 | 2021-06-27T10:50:37.000Z | 2021-06-27T10:50:37.000Z | canbeta/child/command/__init__.py | FROM-THE-EARTH/canbeta | d41cf1b3dd926c5144dc5086f42943a0594c478b | [
"MIT"
] | 5 | 2021-06-19T08:33:47.000Z | 2021-06-19T08:59:30.000Z | canbeta/child/command/__init__.py | FROM-THE-EARTH/canbeta | d41cf1b3dd926c5144dc5086f42943a0594c478b | [
"MIT"
] | null | null | null |
from can09.child.command.register_state_command import RegisterStateCommand
from can09.child.command.request_data_command import RequestDataCommand
from can09.child.command.request_state_command import RequestStateCommand
from can09.child.command.start_command import StartCommand
| 47 | 75 | 0.897163 | 35 | 282 | 7.028571 | 0.4 | 0.146341 | 0.227642 | 0.341463 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030189 | 0.060284 | 282 | 5 | 76 | 56.4 | 0.898113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5498ac93b18e350cb860c3fb8c740bba8f915529 | 16,147 | py | Python | tests/test_longest_common_substring.py | jiayingwang/smart-match | 3f273aafce87dc1a97da20baa49b3adceaf53979 | [
"MIT"
] | 14 | 2020-09-27T10:20:00.000Z | 2022-01-08T19:12:29.000Z | tests/test_longest_common_substring.py | jiayingwang/smart-match | 3f273aafce87dc1a97da20baa49b3adceaf53979 | [
"MIT"
] | 5 | 2020-09-28T13:45:13.000Z | 2020-12-08T09:24:49.000Z | tests/test_longest_common_substring.py | jiayingwang/smart-match | 3f273aafce87dc1a97da20baa49b3adceaf53979 | [
"MIT"
] | 19 | 2020-09-25T12:36:09.000Z | 2021-08-16T09:30:48.000Z | import unittest
import smart_match
class TestLongestCommonSubstring(unittest.TestCase):
def setUp(self):
smart_match.use('Longest Common Substring')
def test_similarity(self):
self.assertEqual(smart_match.similarity('hello', 'low'), 0.4)
self.assertEqual(smart_match.similarity('te... | 96.113095 | 192 | 0.725769 | 1,947 | 16,147 | 5.935285 | 0.0868 | 0.130668 | 0.257875 | 0.322343 | 0.888975 | 0.84891 | 0.736501 | 0.550363 | 0.401436 | 0.277691 | 0 | 0.087591 | 0.155075 | 16,147 | 167 | 193 | 96.688623 | 0.759437 | 0 | 0 | 0 | 0 | 0 | 0.359571 | 0 | 0 | 0 | 0 | 0 | 0.93125 | 1 | 0.03125 | false | 0 | 0.0125 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
549a48f4cb3d224183b4a93a55158c8e0175a7ab | 72 | py | Python | core/workaround/opencv.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 143 | 2021-12-03T02:33:36.000Z | 2022-03-29T00:01:48.000Z | core/workaround/opencv.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 33 | 2021-12-03T10:32:05.000Z | 2022-03-31T02:13:55.000Z | core/workaround/opencv.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 24 | 2021-12-04T06:46:42.000Z | 2022-03-30T07:57:47.000Z | def opencv_no_multithreading():
import cv2
cv2.setNumThreads(0)
| 18 | 31 | 0.736111 | 9 | 72 | 5.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.180556 | 72 | 3 | 32 | 24 | 0.813559 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54aaf05cb60adecea498318c37cb510304b193b3 | 96 | py | Python | chalk.py | open-tech-world/self-pkg | cf49184e7b0a5158ed2dc1b73f09de927a7050e4 | [
"MIT"
] | null | null | null | chalk.py | open-tech-world/self-pkg | cf49184e7b0a5158ed2dc1b73f09de927a7050e4 | [
"MIT"
] | null | null | null | chalk.py | open-tech-world/self-pkg | cf49184e7b0a5158ed2dc1b73f09de927a7050e4 | [
"MIT"
] | null | null | null | from colorama import Fore, Style
def red(str):
return f"{Fore.RED}{str}{Style.RESET_ALL}"
| 16 | 46 | 0.697917 | 16 | 96 | 4.125 | 0.75 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 47 | 19.2 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
54ad255b370fc1a79dfa3a9d672943d3f7d8b38c | 45 | py | Python | python_lessons/Textastic_Files/HelloDatabase.py | 1986MMartin/coding-sections-markus | e13be32e5d83e69250ecfb3c76a04ee48a320607 | [
"Apache-2.0"
] | null | null | null | python_lessons/Textastic_Files/HelloDatabase.py | 1986MMartin/coding-sections-markus | e13be32e5d83e69250ecfb3c76a04ee48a320607 | [
"Apache-2.0"
] | null | null | null | python_lessons/Textastic_Files/HelloDatabase.py | 1986MMartin/coding-sections-markus | e13be32e5d83e69250ecfb3c76a04ee48a320607 | [
"Apache-2.0"
] | null | null | null | import sqlite3
import os
os.system('clear')
| 9 | 18 | 0.755556 | 7 | 45 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.133333 | 45 | 4 | 19 | 11.25 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54c3852b05bf0e8d98c48257c90e3d90ae54e7bd | 399 | py | Python | wbia_pie_v2/utils/__init__.py | dylanirion/wbia-plugin-pie-v2 | 8ae37c2ad218e5e888bb1aea039f1b04a3fe9d8d | [
"Apache-2.0"
] | null | null | null | wbia_pie_v2/utils/__init__.py | dylanirion/wbia-plugin-pie-v2 | 8ae37c2ad218e5e888bb1aea039f1b04a3fe9d8d | [
"Apache-2.0"
] | null | null | null | wbia_pie_v2/utils/__init__.py | dylanirion/wbia-plugin-pie-v2 | 8ae37c2ad218e5e888bb1aea039f1b04a3fe9d8d | [
"Apache-2.0"
] | 1 | 2021-04-05T23:46:11.000Z | 2021-04-05T23:46:11.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .tools import * # noqa: F401, F403
from .loggers import * # noqa: F401, F403
from .avgmeter import * # noqa: F401, F403
from .reidtools import * # noqa: F401, F403
from .torchtools import * # noqa: F401, F403
from .model_complexity import compute... | 36.272727 | 68 | 0.721805 | 54 | 399 | 5.166667 | 0.388889 | 0.200717 | 0.250896 | 0.322581 | 0.394265 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112805 | 0.177945 | 399 | 10 | 69 | 39.9 | 0.737805 | 0.320802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49bed6fa795670852c0979d888d83ca8319bba69 | 28 | py | Python | moveSTL.py | MengerSponge/WiredPanel_generator | e7754f18556a6445ed72ee68b8f40b830eb67894 | [
"MIT"
] | null | null | null | moveSTL.py | MengerSponge/WiredPanel_generator | e7754f18556a6445ed72ee68b8f40b830eb67894 | [
"MIT"
] | null | null | null | moveSTL.py | MengerSponge/WiredPanel_generator | e7754f18556a6445ed72ee68b8f40b830eb67894 | [
"MIT"
] | null | null | null | import trimesh
import glob
| 7 | 14 | 0.821429 | 4 | 28 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 3 | 15 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.