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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9a2e42257cdd85a1bbe5ca62b41e3356bfae4ca | 2,795 | py | Python | official/vision/beta/modeling/layers/__init__.py | hjkim-haga/TF-OD-API | 22ac477ff4dfb93fe7a32c94b5f0b1e74330902b | [
"Apache-2.0"
] | 1 | 2021-05-22T12:50:50.000Z | 2021-05-22T12:50:50.000Z | official/vision/beta/modeling/layers/__init__.py | DemonDamon/mask-detection-based-on-tf2odapi | 192ae544169c1230c21141c033800aa1bd94e9b6 | [
"MIT"
] | null | null | null | official/vision/beta/modeling/layers/__init__.py | DemonDamon/mask-detection-based-on-tf2odapi | 192ae544169c1230c21141c033800aa1bd94e9b6 | [
"MIT"
] | null | null | null | # Copyright 2021 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 62.111111 | 98 | 0.840072 | 372 | 2,795 | 6.233871 | 0.306452 | 0.139715 | 0.209573 | 0.256145 | 0.566192 | 0.566192 | 0.535144 | 0.484692 | 0.484692 | 0.044847 | 0 | 0.006717 | 0.094454 | 2,795 | 44 | 99 | 63.522727 | 0.909522 | 0.223971 | 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 | 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 | 5 |
4e62ed89ab7a61092ecbb7dabe7e63006b953706 | 14 | py | Python | emmaze/__init__.py | christopherphan/emmaze | c2428f6f99f80b5be104fe8eab3704ff70bce38b | [
"MIT"
] | null | null | null | emmaze/__init__.py | christopherphan/emmaze | c2428f6f99f80b5be104fe8eab3704ff70bce38b | [
"MIT"
] | null | null | null | emmaze/__init__.py | christopherphan/emmaze | c2428f6f99f80b5be104fe8eab3704ff70bce38b | [
"MIT"
] | null | null | null | # noqa: D104
| 7 | 13 | 0.571429 | 2 | 14 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0.285714 | 14 | 1 | 14 | 14 | 0.5 | 0.714286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4eb1dbd86aed7853c94197b79bcb8849a733c454 | 41 | py | Python | model_loads/utils/exceptions.py | cwh94/model_loads | e387f18f5acf88a4b804fdac1577948ceebe8c01 | [
"Apache-2.0"
] | null | null | null | model_loads/utils/exceptions.py | cwh94/model_loads | e387f18f5acf88a4b804fdac1577948ceebe8c01 | [
"Apache-2.0"
] | 1 | 2020-05-21T02:40:02.000Z | 2020-06-03T15:37:49.000Z | model_loads/utils/exceptions.py | cwh94/model_loads | e387f18f5acf88a4b804fdac1577948ceebe8c01 | [
"Apache-2.0"
] | 1 | 2020-05-21T16:55:27.000Z | 2020-05-21T16:55:27.000Z | class LoadException(Exception):
pass
| 13.666667 | 31 | 0.756098 | 4 | 41 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 32 | 20.5 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4ed59e5d129282a36e433e2bf3354a7c16921555 | 24 | py | Python | app/modules/home/__init__.py | cupskeee/App-MFE | 4f546a9e6a475f3937f1a77406e612e3354af2b7 | [
"Apache-2.0"
] | null | null | null | app/modules/home/__init__.py | cupskeee/App-MFE | 4f546a9e6a475f3937f1a77406e612e3354af2b7 | [
"Apache-2.0"
] | null | null | null | app/modules/home/__init__.py | cupskeee/App-MFE | 4f546a9e6a475f3937f1a77406e612e3354af2b7 | [
"Apache-2.0"
] | null | null | null | from .routes import home | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
14cdabfff63c658c6e69d0a6949e4d939b7d4f24 | 156 | py | Python | djangocms_slick_slider/admin.py | ELDAELRA/djangocms_slick_slider | 57678d45b262083df5eeee2b88c2eee93699f064 | [
"MIT"
] | null | null | null | djangocms_slick_slider/admin.py | ELDAELRA/djangocms_slick_slider | 57678d45b262083df5eeee2b88c2eee93699f064 | [
"MIT"
] | null | null | null | djangocms_slick_slider/admin.py | ELDAELRA/djangocms_slick_slider | 57678d45b262083df5eeee2b88c2eee93699f064 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.contrib import admin
from .models import SlickSliderImage
admin.site.register(SlickSliderImage)
| 19.5 | 37 | 0.75641 | 20 | 156 | 5.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.115385 | 156 | 7 | 38 | 22.285714 | 0.847826 | 0.269231 | 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 | 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 | 5 |
14d72ab64d3e3ca4091c36234e6724e2ad4a84ca | 138 | py | Python | dynabuffers-python/dynabuffers/api/IAnnotation.py | rschluesselbauer/dynabuffers | c90becb5edff323ed5ac1ea394136babb0dcca1d | [
"Apache-2.0"
] | 2 | 2019-10-28T12:28:01.000Z | 2020-07-07T12:25:40.000Z | dynabuffers-python/dynabuffers/api/IAnnotation.py | rschluesselbauer/dynabuffers | c90becb5edff323ed5ac1ea394136babb0dcca1d | [
"Apache-2.0"
] | 1 | 2021-12-21T07:35:22.000Z | 2021-12-21T07:35:22.000Z | dynabuffers-python/dynabuffers/api/IAnnotation.py | rschluesselbauer/dynabuffers | c90becb5edff323ed5ac1ea394136babb0dcca1d | [
"Apache-2.0"
] | 1 | 2020-03-19T09:19:43.000Z | 2020-03-19T09:19:43.000Z | from abc import ABC, abstractmethod
class IAnnotation(ABC):
@abstractmethod
def validate(self, fieldName, value):
pass
| 15.333333 | 41 | 0.695652 | 15 | 138 | 6.4 | 0.8 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 138 | 8 | 42 | 17.25 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
093ab27f7af7ca31516d0064f503c04fd45911dd | 166 | py | Python | examples/double_pole_balancing/draw_net.py | adamtupper/pyneat | 12bf2bf936602c0da7c40cfcb99aced2eb981faa | [
"MIT"
] | null | null | null | examples/double_pole_balancing/draw_net.py | adamtupper/pyneat | 12bf2bf936602c0da7c40cfcb99aced2eb981faa | [
"MIT"
] | null | null | null | examples/double_pole_balancing/draw_net.py | adamtupper/pyneat | 12bf2bf936602c0da7c40cfcb99aced2eb981faa | [
"MIT"
] | null | null | null | import pickle
from visualize import draw_net
genome = pickle.load(open('results/run-0/solution.pickle', 'rb'))
draw_net(genome, filename='results/run-0/solution.gv') | 33.2 | 65 | 0.777108 | 26 | 166 | 4.884615 | 0.615385 | 0.110236 | 0.204724 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.072289 | 166 | 5 | 66 | 33.2 | 0.811688 | 0 | 0 | 0 | 0 | 0 | 0.335329 | 0.323353 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
11dd6f5a4e69d1bfcbf8fcb063e38419a97fbb18 | 871 | py | Python | pyaff4/plugins.py | aff4/python-aff4 | 94a3583475c07ad92147f70ff8a19e9e36f12aa9 | [
"Apache-2.0"
] | 34 | 2017-10-21T16:12:58.000Z | 2022-02-18T00:37:08.000Z | pyaff4/plugins.py | aff4/python-aff4 | 94a3583475c07ad92147f70ff8a19e9e36f12aa9 | [
"Apache-2.0"
] | 23 | 2017-11-06T17:01:04.000Z | 2021-12-26T14:09:38.000Z | pyaff4/plugins.py | aff4/python-aff4 | 94a3583475c07ad92147f70ff8a19e9e36f12aa9 | [
"Apache-2.0"
] | 17 | 2019-02-11T00:47:02.000Z | 2022-03-14T02:52:04.000Z | from __future__ import unicode_literals
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... | 33.5 | 80 | 0.786452 | 135 | 871 | 5 | 0.6 | 0.103704 | 0.165926 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028926 | 0.166475 | 871 | 25 | 81 | 34.84 | 0.900826 | 0.650976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.090909 | 0.818182 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
ee9d51046abb29f4d9b0a0ba5a656a19602cbca2 | 44,163 | py | Python | tests/examples/minlplib/powerflow0014r.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/powerflow0014r.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/powerflow0014r.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # NLP written by GAMS Convert at 04/21/18 13:53:50
#
# Equation counts
# Total E G L N X C B
# 198 110 24 64 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 58.884 | 120 | 0.615832 | 7,206 | 44,163 | 3.774216 | 0.069109 | 0.01559 | 0.060742 | 0.086774 | 0.778909 | 0.732948 | 0.732728 | 0.72986 | 0.619995 | 0.403206 | 0 | 0.45255 | 0.205693 | 44,163 | 749 | 121 | 58.962617 | 0.322757 | 0.015352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00189 | 0 | 0.00189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eed64899869e65ba62f3c98311a5f6f622287ef0 | 8,043 | py | Python | shortest_common_supersequence.py | tusharsadhwani/leetcode | a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8 | [
"MIT"
] | 6 | 2021-05-21T01:10:42.000Z | 2021-12-16T16:12:30.000Z | shortest_common_supersequence.py | tusharsadhwani/leetcode | a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8 | [
"MIT"
] | null | null | null | shortest_common_supersequence.py | tusharsadhwani/leetcode | a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8 | [
"MIT"
] | null | null | null | from typing import MutableMapping, Optional
from collections import defaultdict
# # Method 1 - Recursion: TLE
# class Solution:
# def shortestCommonSupersequence(
# self,
# str1: str,
# str2: str,
# index1: int = 0,
# index2: int = 0,
# ) -> str:
# ... | 54.344595 | 1,700 | 0.734303 | 437 | 8,043 | 13.501144 | 0.187643 | 0.010678 | 0.015424 | 0.039661 | 0.20661 | 0.175254 | 0.175254 | 0.175254 | 0.144068 | 0.089831 | 0 | 0.028797 | 0.196941 | 8,043 | 147 | 1,701 | 54.714286 | 0.884657 | 0.383315 | 0 | 0.088235 | 0 | 0 | 0.766317 | 0.759522 | 0 | 1 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.058824 | 0 | 0.147059 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eee026427c2c64f667140cdeacffc13fe937567e | 127 | py | Python | gecasmo/__init__.py | cornederuijt/gecasmo | ec7f67f82595c6609ab10c98d51432adf53bf82a | [
"MIT"
] | null | null | null | gecasmo/__init__.py | cornederuijt/gecasmo | ec7f67f82595c6609ab10c98d51432adf53bf82a | [
"MIT"
] | null | null | null | gecasmo/__init__.py | cornederuijt/gecasmo | ec7f67f82595c6609ab10c98d51432adf53bf82a | [
"MIT"
] | null | null | null | """gecasmo is a package for estimating click models"""
from .GCM import GCM
from .clickdefinitionreader import ClickDefinition | 31.75 | 54 | 0.811024 | 16 | 127 | 6.4375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 127 | 4 | 55 | 31.75 | 0.927928 | 0.377953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
01605a22db720f5493727798259733a0f3f516f9 | 182 | py | Python | grasp_det_seg/data_OCID/__init__.py | stefan-ainetter/grasp_det_seg_cnn | 2492d5ec78f831c327e817246e822cdfce9e16ad | [
"BSD-3-Clause"
] | 21 | 2022-01-12T16:47:59.000Z | 2022-03-29T07:33:03.000Z | grasp_det_seg/data_OCID/__init__.py | stefan-ainetter/grasp_det_seg_cnn | 2492d5ec78f831c327e817246e822cdfce9e16ad | [
"BSD-3-Clause"
] | 6 | 2022-01-18T01:30:46.000Z | 2022-03-21T12:06:06.000Z | grasp_det_seg/data_OCID/__init__.py | stefan-ainetter/grasp_det_seg_cnn | 2492d5ec78f831c327e817246e822cdfce9e16ad | [
"BSD-3-Clause"
] | 2 | 2022-02-11T15:29:28.000Z | 2022-03-23T13:48:22.000Z | from .dataset import OCIDDataset, OCIDTestDataset
from .misc import iss_collate_fn, read_boxes_from_file, prepare_frcnn_format
from .transform import OCIDTransform, OCIDTestTransform | 60.666667 | 76 | 0.879121 | 23 | 182 | 6.652174 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082418 | 182 | 3 | 77 | 60.666667 | 0.916168 | 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 | 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 | 5 |
0165c66c475d1feb0f36c1787698fc5541796ba8 | 2,771 | py | Python | save_image.py | revathivijay/VJTI-Navigation | 29d25c6ffa69937b73b75a064017799d6d583459 | [
"MIT"
] | null | null | null | save_image.py | revathivijay/VJTI-Navigation | 29d25c6ffa69937b73b75a064017799d6d583459 | [
"MIT"
] | null | null | null | save_image.py | revathivijay/VJTI-Navigation | 29d25c6ffa69937b73b75a064017799d6d583459 | [
"MIT"
] | 2 | 2020-09-09T11:20:08.000Z | 2022-02-24T21:20:22.000Z | import PIL
import numpy as np
import cv2
def save_image(output_images, count, src_number, dest_number, case_2=True):
if count == 1:
ref = PIL.Image.open(f'resized-new/reference1.jpg')
_, h = ref.size
img = PIL.Image.open(output_images[0])
img = np.array(img)
width ... | 44.693548 | 85 | 0.575604 | 395 | 2,771 | 3.886076 | 0.151899 | 0.218893 | 0.175896 | 0.246254 | 0.758958 | 0.744625 | 0.717264 | 0.649511 | 0.649511 | 0.649511 | 0 | 0.062437 | 0.283291 | 2,771 | 62 | 86 | 44.693548 | 0.710473 | 0.024901 | 0 | 0.566667 | 0 | 0 | 0.122774 | 0.115195 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016667 | false | 0 | 0.05 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
01857d057488a333eb49bcb460bde3f5c4a0bf9f | 1,602 | py | Python | Metodo_super_OOP.py | DalfonsoLucia/Programmazione_OOP | a314ac9497698cc05ce71bfd0b3b2a042a42835d | [
"MIT"
] | null | null | null | Metodo_super_OOP.py | DalfonsoLucia/Programmazione_OOP | a314ac9497698cc05ce71bfd0b3b2a042a42835d | [
"MIT"
] | null | null | null | Metodo_super_OOP.py | DalfonsoLucia/Programmazione_OOP | a314ac9497698cc05ce71bfd0b3b2a042a42835d | [
"MIT"
] | null | null | null | # super(): COME DELEGARE ALLA CLASSE BASE
# Perchè viene utilizzato il metodo super()?
# prendiamo l'esempio che segue:
class Animale():
def __init__(self,specie):
self.specie = specie
def razza(self):
return f"Io sono della specie {self.specie}"
class Cane(Animale):
def __init__(self, ... | 34.085106 | 130 | 0.662921 | 217 | 1,602 | 4.801843 | 0.43318 | 0.086372 | 0.053743 | 0.069098 | 0.347409 | 0.347409 | 0.301344 | 0.245681 | 0.245681 | 0.245681 | 0 | 0.000842 | 0.259051 | 1,602 | 47 | 131 | 34.085106 | 0.877001 | 0.50437 | 0 | 0.875 | 0 | 0 | 0.116517 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0192151b809aebb1035eb2cce9e54096698bff80 | 165 | py | Python | pythons-nest/hello-world.py | elliefarrer/first-go-at-python | 303477f2f26e4d5a9148d30f90b42d3de28d1c8d | [
"MIT"
] | null | null | null | pythons-nest/hello-world.py | elliefarrer/first-go-at-python | 303477f2f26e4d5a9148d30f90b42d3de28d1c8d | [
"MIT"
] | null | null | null | pythons-nest/hello-world.py | elliefarrer/first-go-at-python | 303477f2f26e4d5a9148d30f90b42d3de28d1c8d | [
"MIT"
] | null | null | null | #First go
print("Hello, World!")
message = "Hello, World!"
print(message)
#-------> print "Hello World!" is Python 2 syntax, use print("Hello World!") for Python 3
| 23.571429 | 89 | 0.660606 | 24 | 165 | 4.541667 | 0.541667 | 0.366972 | 0.412844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014184 | 0.145455 | 165 | 6 | 90 | 27.5 | 0.758865 | 0.581818 | 0 | 0 | 0 | 0 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0196bbaefc787bfce271ca75dee5202b65e218a9 | 49,601 | py | Python | tests/test_day_states.py | kubamik/Manitobot | 4185be44a1afd2a3b796020bc819c8c65dca0e07 | [
"MIT"
] | null | null | null | tests/test_day_states.py | kubamik/Manitobot | 4185be44a1afd2a3b796020bc819c8c65dca0e07 | [
"MIT"
] | null | null | null | tests/test_day_states.py | kubamik/Manitobot | 4185be44a1afd2a3b796020bc819c8c65dca0e07 | [
"MIT"
] | 1 | 2020-07-01T17:21:48.000Z | 2020-07-01T17:21:48.000Z | import collections
import functools
import unittest
from unittest.mock import AsyncMock, MagicMock
import discord
from manitobot.base_day_states import AcceptedChallenge, Challenge, HangSummary
from manitobot.day_states import InitialState, SearchOnlyState, Voting, Duel, DuelSummary, SearchingSummary, \
Searching... | 45.463795 | 119 | 0.673595 | 6,216 | 49,601 | 5.210746 | 0.061615 | 0.088083 | 0.06397 | 0.05125 | 0.831059 | 0.791726 | 0.750664 | 0.70105 | 0.657271 | 0.618679 | 0 | 0.024789 | 0.209472 | 49,601 | 1,090 | 120 | 45.505505 | 0.801255 | 0.007802 | 0 | 0.600642 | 0 | 0.005353 | 0.056056 | 0.00691 | 0 | 0 | 0 | 0 | 0.297645 | 1 | 0.007495 | false | 0 | 0.011777 | 0 | 0.039615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d7eddac0cb09b0a86ed57ad13e7d16492074e09 | 137 | py | Python | pyalp/skins/__init__.py | Mause/pyalp | fb0f723070e11f8c9ed57e2475eb963599f442a6 | [
"MIT"
] | null | null | null | pyalp/skins/__init__.py | Mause/pyalp | fb0f723070e11f8c9ed57e2475eb963599f442a6 | [
"MIT"
] | 2 | 2021-06-08T19:32:48.000Z | 2022-03-11T23:17:45.000Z | pyalp/skins/__init__.py | Mause/pyalp | fb0f723070e11f8c9ed57e2475eb963599f442a6 | [
"MIT"
] | null | null | null | from .skins import Skin
def get_skin():
if not hasattr(get_skin, 'skin'):
get_skin.skin = Skin()
return get_skin.skin
| 15.222222 | 37 | 0.642336 | 21 | 137 | 4 | 0.47619 | 0.333333 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248175 | 137 | 8 | 38 | 17.125 | 0.815534 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d85d7e3c8cd20d258b1a66012cb6ec84a8b2e96 | 163 | py | Python | etl/celery_app.py | cygilbert/dota2_opgg_clone | 6b65248248119a4dda6169f4c19bd68714f0ed75 | [
"Apache-2.0"
] | null | null | null | etl/celery_app.py | cygilbert/dota2_opgg_clone | 6b65248248119a4dda6169f4c19bd68714f0ed75 | [
"Apache-2.0"
] | null | null | null | etl/celery_app.py | cygilbert/dota2_opgg_clone | 6b65248248119a4dda6169f4c19bd68714f0ed75 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""Init and config Celery app"""
from celery import Celery
celery = Celery()
celery.config_from_object('celeryconfig')
| 18.111111 | 41 | 0.699387 | 22 | 163 | 5.090909 | 0.681818 | 0.321429 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.128834 | 163 | 8 | 42 | 20.375 | 0.78169 | 0.398773 | 0 | 0 | 0 | 0 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
6d8c641c7787a2872f90f4be088ff4b7af29179c | 1,440 | py | Python | tests/src/Health_Card_Index/check_with_healthcard_button.py | JalajaTR/cQube | 6bf58ab25f0c36709630987ab730bbd5d9192c03 | [
"MIT"
] | null | null | null | tests/src/Health_Card_Index/check_with_healthcard_button.py | JalajaTR/cQube | 6bf58ab25f0c36709630987ab730bbd5d9192c03 | [
"MIT"
] | 2 | 2022-02-01T00:55:12.000Z | 2022-03-29T22:29:09.000Z | tests/src/Health_Card_Index/check_with_healthcard_button.py | JalajaTR/cQube | 6bf58ab25f0c36709630987ab730bbd5d9192c03 | [
"MIT"
] | null | null | null | import time
from Data.parameters import Data
from reuse_func import GetData
class Health_card_btn():
def __init__(self,driver):
self.driver = driver
def check_dashboard_health_board(self):
self.data = GetData()
count = 0
self.data.page_loading(self.driver)
self.driver... | 32.727273 | 76 | 0.638889 | 184 | 1,440 | 4.804348 | 0.271739 | 0.169683 | 0.081448 | 0.128959 | 0.774887 | 0.774887 | 0.737557 | 0.737557 | 0.737557 | 0.737557 | 0 | 0.004673 | 0.256944 | 1,440 | 43 | 77 | 33.488372 | 0.821495 | 0 | 0 | 0.666667 | 0 | 0 | 0.147427 | 0.030598 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.25 | 0.111111 | 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 | 0 | 0 | 0 | 0 | 5 |
097e923e8f33ac9f1219db8f2f76ae5c98ff80f8 | 13,086 | py | Python | tests/test_mapping.py | Alzpeta/oarepo-rdm-records | 4a2d93bd676364d2f1f95fae78fea8cd084b45e5 | [
"MIT"
] | 1 | 2021-06-16T21:19:39.000Z | 2021-06-16T21:19:39.000Z | tests/test_mapping.py | Alzpeta/oarepo-rdm-records | 4a2d93bd676364d2f1f95fae78fea8cd084b45e5 | [
"MIT"
] | 2 | 2021-04-20T16:52:30.000Z | 2021-08-11T13:24:28.000Z | tests/test_mapping.py | Alzpeta/oarepo-rdm-records | 4a2d93bd676364d2f1f95fae78fea8cd084b45e5 | [
"MIT"
] | 7 | 2020-09-16T07:29:22.000Z | 2021-08-11T10:42:04.000Z | # import json
#
#
# def test_mapping(app):
# """Test of mapping."""
# search = app.extensions['invenio-search']
# with open(search.mappings['records-record-v1.0.0']) as f:
# data = json.load(f)
# assert data == {
# "mappings": {
# "date_detection": False,
# "numeric_detection": False,
... | 27.093168 | 63 | 0.237735 | 544 | 13,086 | 5.628676 | 0.220588 | 0.204768 | 0.189419 | 0.071848 | 0.489549 | 0.472567 | 0.426845 | 0.426845 | 0.35663 | 0.35663 | 0 | 0.000554 | 0.585817 | 13,086 | 482 | 64 | 27.149378 | 0.564391 | 0.926257 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09b4ed9e96ca20d6a2c161b070137e1b3ff2a2d5 | 204 | py | Python | moto/sqs/__init__.py | argos83/moto | d3df810065c9c453d40fcc971f9be6b7b2846061 | [
"Apache-2.0"
] | 1 | 2021-03-06T22:01:41.000Z | 2021-03-06T22:01:41.000Z | moto/sqs/__init__.py | marciogh/moto | d3df810065c9c453d40fcc971f9be6b7b2846061 | [
"Apache-2.0"
] | null | null | null | moto/sqs/__init__.py | marciogh/moto | d3df810065c9c453d40fcc971f9be6b7b2846061 | [
"Apache-2.0"
] | 1 | 2017-10-19T00:53:28.000Z | 2017-10-19T00:53:28.000Z | from __future__ import unicode_literals
from .models import sqs_backends
from ..core.models import MockAWS, base_decorator
sqs_backend = sqs_backends['us-east-1']
mock_sqs = base_decorator(sqs_backends)
| 29.142857 | 49 | 0.828431 | 30 | 204 | 5.233333 | 0.566667 | 0.210191 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.098039 | 204 | 6 | 50 | 34 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
09c6c2f27b20590e0c629fdfe1e9ed57b260aae9 | 130 | py | Python | FaceSwap-master/pytorch_stylegan_encoder/InterFaceGAN/models/pggan_tf_official/dataset.py | CSID-DGU/-2020-1-OSSP1-ninetynine-2 | b1824254882eeea0ee44e4e60896b72c51ef1d2c | [
"MIT"
] | 1 | 2020-06-21T13:45:26.000Z | 2020-06-21T13:45:26.000Z | FaceSwap-master/pytorch_stylegan_encoder/InterFaceGAN/models/pggan_tf_official/dataset.py | CSID-DGU/-2020-1-OSSP1-ninetynine-2 | b1824254882eeea0ee44e4e60896b72c51ef1d2c | [
"MIT"
] | null | null | null | FaceSwap-master/pytorch_stylegan_encoder/InterFaceGAN/models/pggan_tf_official/dataset.py | CSID-DGU/-2020-1-OSSP1-ninetynine-2 | b1824254882eeea0ee44e4e60896b72c51ef1d2c | [
"MIT"
] | 3 | 2020-09-02T03:18:45.000Z | 2021-01-27T08:24:05.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:0ab972a2349578c1f7b7efebac401b0aff82b0ba3c09935514b807b45c9fdc66
size 12111
| 32.5 | 75 | 0.884615 | 13 | 130 | 8.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.379032 | 0.046154 | 130 | 3 | 76 | 43.333333 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09e85356a42dc0ca9ba85d2e3b7a03ea59d4aa23 | 191 | py | Python | kiki/__init__.py | deuxksy/kiki | d673ebabcd52d557c690edeb77b781d57a5f5e65 | [
"MIT"
] | null | null | null | kiki/__init__.py | deuxksy/kiki | d673ebabcd52d557c690edeb77b781d57a5f5e65 | [
"MIT"
] | null | null | null | kiki/__init__.py | deuxksy/kiki | d673ebabcd52d557c690edeb77b781d57a5f5e65 | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
import os
from cryptography.fernet import Fernet
crypto = Fernet(os.getenv('ZZIZILY_KIKI_CRYPTO'))
package_name = 'kiki'
project_home = os.getenv('ZZIZILY_KIKI_HOME') | 23.875 | 49 | 0.753927 | 27 | 191 | 5.111111 | 0.592593 | 0.115942 | 0.217391 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.104712 | 191 | 8 | 50 | 23.875 | 0.80117 | 0.109948 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 5 |
09f4877a10c47a446c7a362b7aad43c36a1059c1 | 147 | py | Python | models/__init__.py | HerbertVidela/simple-text-representation | 808f2ab25d70718aad09b94d0212c9ee3fbbefdc | [
"MIT"
] | null | null | null | models/__init__.py | HerbertVidela/simple-text-representation | 808f2ab25d70718aad09b94d0212c9ee3fbbefdc | [
"MIT"
] | null | null | null | models/__init__.py | HerbertVidela/simple-text-representation | 808f2ab25d70718aad09b94d0212c9ee3fbbefdc | [
"MIT"
] | null | null | null | from .Database import Database
from .TextModel import TextModel
from .ParagraphModel import ParagraphModel
from .SentenceModel import SentenceModel | 36.75 | 42 | 0.870748 | 16 | 147 | 8 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 147 | 4 | 43 | 36.75 | 0.969697 | 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 | 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 | 5 |
1102b42bb1a3ebd2f0c7a9cb4e2bf2ba05c2ef2c | 24 | py | Python | hello_world.py | aniketAnvekar/Profiles-RestApi | a83ecf71ad9493db04d3577c049339a81056ae9b | [
"MIT"
] | null | null | null | hello_world.py | aniketAnvekar/Profiles-RestApi | a83ecf71ad9493db04d3577c049339a81056ae9b | [
"MIT"
] | 5 | 2020-06-06T01:51:28.000Z | 2022-02-10T11:45:26.000Z | hello_world.py | aniketAnvekar/Profiles-RestApi | a83ecf71ad9493db04d3577c049339a81056ae9b | [
"MIT"
] | null | null | null | print('Hijo de Puta!!')
| 12 | 23 | 0.625 | 4 | 24 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
111375aebc420f2a4c02e9bf6569e3d81f08e0df | 4,976 | py | Python | tests/utils/test_ped.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 24 | 2015-10-15T16:29:58.000Z | 2020-12-08T22:14:13.000Z | tests/utils/test_ped.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 212 | 2015-10-08T14:28:36.000Z | 2020-04-29T22:44:10.000Z | tests/utils/test_ped.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 11 | 2015-10-08T09:26:46.000Z | 2018-02-02T16:45:07.000Z | import os
from puzzle.utils.ped import (get_individuals, get_cases)
class TestGetIndividuals:
def test_get_individuals_from_vcf(self, vcf_file):
individuals = get_individuals(variant_source=vcf_file)
assert len(individuals) == 3
ind_ids = set(['ADM1059A1','ADM1059A2','ADM1059A3'])
... | 42.169492 | 88 | 0.670418 | 667 | 4,976 | 4.662669 | 0.077961 | 0.078778 | 0.087781 | 0.067524 | 0.9209 | 0.868489 | 0.818328 | 0.681994 | 0.681994 | 0.681994 | 0 | 0.048991 | 0.232918 | 4,976 | 118 | 89 | 42.169492 | 0.765785 | 0 | 0 | 0.652632 | 0 | 0 | 0.057866 | 0 | 0 | 0 | 0 | 0 | 0.452632 | 1 | 0.126316 | false | 0 | 0.021053 | 0 | 0.168421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1115060ef5c8b26273a8fece1cc0a50aa1b693d1 | 63 | py | Python | metashare/repository/templatetags/__init__.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 11 | 2015-07-13T13:36:44.000Z | 2021-11-15T08:07:25.000Z | metashare/repository/templatetags/__init__.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 13 | 2015-03-21T14:08:31.000Z | 2021-05-18T18:47:58.000Z | metashare/repository/templatetags/__init__.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 12 | 2015-01-07T02:16:50.000Z | 2021-05-18T08:25:31.000Z | from metashare.repository.templatetags import email_protection
| 31.5 | 62 | 0.904762 | 7 | 63 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.949153 | 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 | 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 | 5 |
115d56cdf505f0ecc769fe24f62fb454c5102823 | 36 | py | Python | kalliope/signals/geolocation/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | 1 | 2020-03-30T15:03:19.000Z | 2020-03-30T15:03:19.000Z | kalliope/signals/geolocation/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | null | null | null | kalliope/signals/geolocation/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | null | null | null | from .geolocation import Geolocation | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 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 | 0 | 0 | 0 | 5 |
116b3969292e9233c8cef006a501496bf6627977 | 43 | py | Python | scale_client/__main__.py | prav33nv/scale_client | dcbd6ed4c8f4a27606ebef5b5f9dabb2e4f3b806 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2018-05-24T00:59:05.000Z | 2020-01-03T08:03:33.000Z | scale_client/__main__.py | prav33nv/scale_client | dcbd6ed4c8f4a27606ebef5b5f9dabb2e4f3b806 | [
"BSD-2-Clause-FreeBSD"
] | 26 | 2015-01-19T22:47:07.000Z | 2017-05-03T01:43:10.000Z | scale_client/__main__.py | prav33nv/scale_client | dcbd6ed4c8f4a27606ebef5b5f9dabb2e4f3b806 | [
"BSD-2-Clause-FreeBSD"
] | 6 | 2015-01-20T20:05:09.000Z | 2017-06-01T02:19:01.000Z | import core.client as client
client.main()
| 14.333333 | 28 | 0.790698 | 7 | 43 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 29 | 21.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fed3825207f3d298de5fb1a82dd903c79020a25b | 225 | py | Python | elvanto_subgroups/admin.py | monty5811/elvanto_subgroups | ef7a819787bbb5bf2a8bf6160e8476a613f67fa3 | [
"MIT"
] | null | null | null | elvanto_subgroups/admin.py | monty5811/elvanto_subgroups | ef7a819787bbb5bf2a8bf6160e8476a613f67fa3 | [
"MIT"
] | null | null | null | elvanto_subgroups/admin.py | monty5811/elvanto_subgroups | ef7a819787bbb5bf2a8bf6160e8476a613f67fa3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from elvanto_subgroups.models import ElvantoGroup, ElvantoPerson, Link
admin.site.register(ElvantoGroup)
admin.site.register(ElvantoPerson)
admin.site.register(Link)
| 25 | 70 | 0.8 | 28 | 225 | 6.392857 | 0.571429 | 0.150838 | 0.284916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.088889 | 225 | 8 | 71 | 28.125 | 0.868293 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fee2a0a1af8923bf47b77da6a8bdd91b76e87000 | 27 | py | Python | base/test-show-scope/func-args-2.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 25 | 2015-04-16T04:31:49.000Z | 2022-03-10T15:53:28.000Z | base/test-show-scope/func-args-2.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2018-11-21T22:40:02.000Z | 2018-11-26T17:53:11.000Z | base/test-show-scope/func-args-2.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2021-03-26T03:36:19.000Z | 2021-03-26T03:36:19.000Z | x = 9
def f(x):
return x
| 5.4 | 9 | 0.518519 | 7 | 27 | 2 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.333333 | 27 | 4 | 10 | 6.75 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
fee93aa6bd7bb88d080086a038c06cf02a4da4ec | 86 | py | Python | simulation/admin.py | FetijeBraha/Blockchain-based-E-Voting | c8fd4fadbe727898d1a3dbbe515732f24c4c8819 | [
"MIT"
] | null | null | null | simulation/admin.py | FetijeBraha/Blockchain-based-E-Voting | c8fd4fadbe727898d1a3dbbe515732f24c4c8819 | [
"MIT"
] | 2 | 2021-02-03T11:52:06.000Z | 2021-02-03T20:57:59.000Z | simulation/admin.py | FetijeBraha/Blockchain-based-E-Voting | c8fd4fadbe727898d1a3dbbe515732f24c4c8819 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Vote
admin.site.register(Vote) | 21.5 | 32 | 0.802326 | 13 | 86 | 5.307692 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 4 | 33 | 21.5 | 0.92 | 0 | 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 | 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 | 5 |
3a2a74ba5dadb33b759a04ed3ee9c5feaa107bac | 2,540 | py | Python | monolith/database.py | Orionisxoxo/Integracja_aplikacji_2 | 8e93ed476ab215bfb489ac5ac6128dec161c56b8 | [
"Apache-2.0"
] | null | null | null | monolith/database.py | Orionisxoxo/Integracja_aplikacji_2 | 8e93ed476ab215bfb489ac5ac6128dec161c56b8 | [
"Apache-2.0"
] | null | null | null | monolith/database.py | Orionisxoxo/Integracja_aplikacji_2 | 8e93ed476ab215bfb489ac5ac6128dec161c56b8 | [
"Apache-2.0"
] | null | null | null | # encoding: utf8
from werkzeug.security import generate_password_hash, check_password_hash
import enum
from sqlalchemy.orm import relationship
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
class User(db.Model):
__tablename__ = 'user'
id = db.Column(db.Integer, primary_key=True, autoincrement=Tru... | 33.866667 | 73 | 0.69685 | 350 | 2,540 | 4.86 | 0.222857 | 0.145797 | 0.182246 | 0.199882 | 0.527337 | 0.431511 | 0.356261 | 0.329218 | 0.306878 | 0.306878 | 0 | 0.030447 | 0.172441 | 2,540 | 74 | 74 | 34.324324 | 0.778782 | 0.005512 | 0 | 0.288136 | 1 | 0 | 0.026149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0.101695 | 0.067797 | 0.033898 | 0.881356 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3a5c6e65e1500fdef075bd0be7bb2cefc8232076 | 115 | py | Python | authentication/admin.py | MarioDavidov/heroku_workout | 50727305f7e6f05527d3a5fff5e8d27843435985 | [
"MIT"
] | null | null | null | authentication/admin.py | MarioDavidov/heroku_workout | 50727305f7e6f05527d3a5fff5e8d27843435985 | [
"MIT"
] | null | null | null | authentication/admin.py | MarioDavidov/heroku_workout | 50727305f7e6f05527d3a5fff5e8d27843435985 | [
"MIT"
] | null | null | null | from django.contrib import admin
from authentication.models import UserProfile
admin.site.register(UserProfile)
| 16.428571 | 45 | 0.843478 | 14 | 115 | 6.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 6 | 46 | 19.166667 | 0.941748 | 0 | 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 | 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 | 5 |
28b7795935f6e2db52dc3164b03ba750a9403136 | 93 | py | Python | cellardoor/__init__.py | movermeyer/cellardoor | 25192b07224ff7bd33fd29ebac07340bef53a2ed | [
"MIT"
] | null | null | null | cellardoor/__init__.py | movermeyer/cellardoor | 25192b07224ff7bd33fd29ebac07340bef53a2ed | [
"MIT"
] | 3 | 2015-01-31T14:53:06.000Z | 2015-02-01T19:04:30.000Z | cellardoor/__init__.py | movermeyer/cellardoor | 25192b07224ff7bd33fd29ebac07340bef53a2ed | [
"MIT"
] | 2 | 2015-01-31T14:54:28.000Z | 2018-03-05T17:33:42.000Z | """
Create REST APIs declaratively.
"""
from version import __version__
from . import errors
| 15.5 | 31 | 0.763441 | 11 | 93 | 6.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 5 | 32 | 18.6 | 0.848101 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e92ac7b66997dfd822019420962ff5b56d8eddb1 | 312 | py | Python | python/anyascii/_data/_301.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_301.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_301.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=' Shen Tuan Lu Du Dan Xia Wei Lan Gai Dong Jia Hong Ji Garon He Xi Tan Shan' | 312 | 312 | 0.182692 | 19 | 312 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.807692 | 312 | 1 | 312 | 312 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0.984026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e9395e8642049c183e12926668b1b6f96c5d5249 | 28 | py | Python | iDrive/tests.py | WilfredWee/iDrive-Django-opensource | 9fd92f416ba435eea458aceeb250b27dcd9c6284 | [
"MIT"
] | 1 | 2021-07-07T07:02:50.000Z | 2021-07-07T07:02:50.000Z | iDrive/tests.py | wilfredwee/iDrive-Django-opensource | 9fd92f416ba435eea458aceeb250b27dcd9c6284 | [
"MIT"
] | null | null | null | iDrive/tests.py | wilfredwee/iDrive-Django-opensource | 9fd92f416ba435eea458aceeb250b27dcd9c6284 | [
"MIT"
] | 2 | 2015-08-14T13:31:30.000Z | 2015-09-13T10:07:49.000Z | from iDrive.models import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 5 |
e93b99c9aee1944ea607116284191bb65bbde136 | 30 | py | Python | modules/__init__.py | jacktomcat/python-lesson-study | 8b15ac61fb5b7779ee758c834d3036e176f1826d | [
"Apache-2.0"
] | null | null | null | modules/__init__.py | jacktomcat/python-lesson-study | 8b15ac61fb5b7779ee758c834d3036e176f1826d | [
"Apache-2.0"
] | null | null | null | modules/__init__.py | jacktomcat/python-lesson-study | 8b15ac61fb5b7779ee758c834d3036e176f1826d | [
"Apache-2.0"
] | null | null | null | #from employee import Employee | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0.966667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
3a8c2bc424ff8d7e9772e17cf05f56122fd6a56c | 50 | py | Python | src/pyper/__init__.py | maichmueller/per | 17eddea4d1aa1aac8fb9664f7437ecc1f119dcf5 | [
"MIT"
] | null | null | null | src/pyper/__init__.py | maichmueller/per | 17eddea4d1aa1aac8fb9664f7437ecc1f119dcf5 | [
"MIT"
] | 2 | 2021-12-22T12:14:20.000Z | 2021-12-23T21:39:14.000Z | src/pyper/__init__.py | maichmueller/per | 17eddea4d1aa1aac8fb9664f7437ecc1f119dcf5 | [
"MIT"
] | null | null | null | from ._pyper import SumTree, PrioritizedExperience | 50 | 50 | 0.88 | 5 | 50 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.934783 | 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 | 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 | 5 |
3aa77214ad0b4eda60b714549dc947909ff5e8c0 | 60,713 | py | Python | seaice/data/test/test_getter.py | andypbarrett/nsidc-seaice | 167a16309f7eaadd5c613b54a7df26eb1f48c2f3 | [
"MIT"
] | 2 | 2020-08-27T08:40:22.000Z | 2021-04-14T15:42:09.000Z | seaice/data/test/test_getter.py | andypbarrett/nsidc-seaice | 167a16309f7eaadd5c613b54a7df26eb1f48c2f3 | [
"MIT"
] | null | null | null | seaice/data/test/test_getter.py | andypbarrett/nsidc-seaice | 167a16309f7eaadd5c613b54a7df26eb1f48c2f3 | [
"MIT"
] | null | null | null | from datetime import date
from unittest.mock import patch
import copy
import datetime as dt
import os
import unittest
from nose.tools import assert_equals, assert_true, raises
import numpy as np
import numpy.testing as npt
import pandas as pd
import pandas.util.testing as pdt
from seaice.data.errors import DateOutOfR... | 38.547937 | 99 | 0.561774 | 6,585 | 60,713 | 4.856796 | 0.064692 | 0.062973 | 0.026265 | 0.025608 | 0.833219 | 0.797605 | 0.747858 | 0.718248 | 0.678882 | 0.662091 | 0 | 0.054522 | 0.328743 | 60,713 | 1,574 | 100 | 38.572427 | 0.730235 | 0.017904 | 0 | 0.621149 | 0 | 0 | 0.113083 | 0.067229 | 0 | 0 | 0 | 0 | 0.082431 | 1 | 0.057452 | false | 0.000833 | 0.014988 | 0 | 0.089092 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c92c81c4b4dafd542865d556e13f32b0ab5cfebe | 37,312 | py | Python | src/datadog_api_client/v1/models/__init__.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v1/models/__init__.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v1/models/__init__.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from datadog_api_client.v1.model.pet import Pet
# or import t... | 85.187215 | 138 | 0.917908 | 4,938 | 37,312 | 6.549818 | 0.148441 | 0.144544 | 0.183966 | 0.262808 | 0.56176 | 0.555638 | 0.544786 | 0.44328 | 0.323501 | 0.143153 | 0 | 0.012013 | 0.047357 | 37,312 | 437 | 139 | 85.382151 | 0.897904 | 0.010077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016509 | 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 | 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 | 5 |
c9362a993263007a286902bee1e116a5815869c7 | 76 | py | Python | mmdet/ops/ml_nms_rotated/__init__.py | JarvisUSTC/DARDet | debbf476e9750030db67f030a40cf8d4f03e46ee | [
"Apache-2.0"
] | 23 | 2021-09-22T14:05:49.000Z | 2022-02-15T09:45:23.000Z | mmdet/ops/ml_nms_rotated/__init__.py | JarvisUSTC/DARDet | debbf476e9750030db67f030a40cf8d4f03e46ee | [
"Apache-2.0"
] | 13 | 2021-10-09T07:08:17.000Z | 2022-01-06T05:53:45.000Z | mmdet/ops/ml_nms_rotated/__init__.py | JarvisUSTC/DARDet | debbf476e9750030db67f030a40cf8d4f03e46ee | [
"Apache-2.0"
] | 6 | 2021-11-15T03:16:51.000Z | 2022-03-20T08:55:19.000Z | from .ml_nms_rotated_cuda import ml_nms_rotated
__all__=['ml_nms_rotated']
| 19 | 47 | 0.842105 | 13 | 76 | 4.076923 | 0.538462 | 0.283019 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 3 | 48 | 25.333333 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c94bec588e643f434d089a3437ab91898b5dbff5 | 28,835 | py | Python | generated/resources/loadbalancer_pool_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | 1 | 2020-04-05T19:43:40.000Z | 2020-04-05T19:43:40.000Z | generated/resources/loadbalancer_pool_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | null | null | null | generated/resources/loadbalancer_pool_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | 1 | 2020-08-25T12:47:27.000Z | 2020-08-25T12:47:27.000Z |
# AUTO-GENERATED file from IFMapApiGenerator. Do Not Edit!
from contrail_heat.resources import contrail
try:
from heat.common.i18n import _
except ImportError:
pass
from heat.engine import attributes
from heat.engine import constraints
from heat.engine import properties
try:
from heat.openstack.common imp... | 55.990291 | 856 | 0.654448 | 3,136 | 28,835 | 5.574298 | 0.050383 | 0.16475 | 0.128254 | 0.136834 | 0.89051 | 0.847148 | 0.784852 | 0.730107 | 0.648418 | 0.58944 | 0 | 0.004676 | 0.265719 | 28,835 | 514 | 857 | 56.099222 | 0.820951 | 0.024033 | 0 | 0.488017 | 1 | 0 | 0.075949 | 0.061798 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010893 | false | 0.002179 | 0.023965 | 0.002179 | 0.052288 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 5 |
c9501f6a2e7dd3911c3c286d0abff281219721cf | 87 | py | Python | Python/Hello_Hacktoberfest.py | kennethsequeira/Hello-world | 464227bc7d9778a4a2a4044fe415a629003ea77f | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/Hello_Hacktoberfest.py | kennethsequeira/Hello-world | 464227bc7d9778a4a2a4044fe415a629003ea77f | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/Hello_Hacktoberfest.py | kennethsequeira/Hello-world | 464227bc7d9778a4a2a4044fe415a629003ea77f | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | from datetime import datetime
print "Hello, Hacktoberfest " + str(datetime.now().year) | 29 | 56 | 0.770115 | 11 | 87 | 6.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 3 | 56 | 29 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
a309fb01a5409fb387f7bf039dd6e6068a686b84 | 229 | py | Python | app/djproject/restaurantes/forms.py | mmaguero/cloud-based-tool-SA | 4dbc10e4e4e59c6351e002b53da59f44f917e503 | [
"MIT"
] | null | null | null | app/djproject/restaurantes/forms.py | mmaguero/cloud-based-tool-SA | 4dbc10e4e4e59c6351e002b53da59f44f917e503 | [
"MIT"
] | null | null | null | app/djproject/restaurantes/forms.py | mmaguero/cloud-based-tool-SA | 4dbc10e4e4e59c6351e002b53da59f44f917e503 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django import forms
class ComputeForm(forms.Form):
title = forms.CharField(required=True, label='Title')
description = forms.CharField(required=True, label='Review', widget=forms.Textarea)
| 32.714286 | 85 | 0.716157 | 28 | 229 | 5.857143 | 0.678571 | 0.170732 | 0.268293 | 0.317073 | 0.378049 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.135371 | 229 | 6 | 86 | 38.166667 | 0.823232 | 0.091703 | 0 | 0 | 0 | 0 | 0.053398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a340cea6e6598303882f5293c7d09ff6e457cee6 | 45 | py | Python | py/junkoda_cellularlib/cellularroot.py | junkoda/junkoda_cellularlib | bc97d6ab419d8e9e1c295a7662d94cfd1f5b3501 | [
"MIT"
] | null | null | null | py/junkoda_cellularlib/cellularroot.py | junkoda/junkoda_cellularlib | bc97d6ab419d8e9e1c295a7662d94cfd1f5b3501 | [
"MIT"
] | null | null | null | py/junkoda_cellularlib/cellularroot.py | junkoda/junkoda_cellularlib | bc97d6ab419d8e9e1c295a7662d94cfd1f5b3501 | [
"MIT"
] | null | null | null | _dir = '/Users/junkoda/Hack/kaggle/cellular'
| 22.5 | 44 | 0.755556 | 6 | 45 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a374fb97d3f606344581b7f47a61e45459c2066b | 72 | py | Python | benchmark/plotting/__init__.py | NeurIPS-Challenge-Team-11/big-ann-benchmarks | 042f75e759247518140b284e70072f890906ca97 | [
"MIT"
] | 75 | 2021-07-25T07:50:11.000Z | 2022-03-25T04:18:54.000Z | benchmark/plotting/__init__.py | NeurIPS-Challenge-Team-11/big-ann-benchmarks | 042f75e759247518140b284e70072f890906ca97 | [
"MIT"
] | 54 | 2021-07-26T02:23:32.000Z | 2022-02-15T05:44:23.000Z | benchmark/plotting/__init__.py | NeurIPS-Challenge-Team-11/big-ann-benchmarks | 042f75e759247518140b284e70072f890906ca97 | [
"MIT"
] | 21 | 2021-07-27T08:44:22.000Z | 2022-03-18T07:56:23.000Z | from __future__ import absolute_import
from benchmark.plotting import *
| 24 | 38 | 0.861111 | 9 | 72 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 39 | 36 | 0.890625 | 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 | 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 | 5 |
6e771e1f079080b0bd56a22b984552e5d329c420 | 192 | py | Python | src/bgmtinygrail/strategy/manual_control.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | 5 | 2020-05-17T02:41:01.000Z | 2020-07-01T23:24:41.000Z | src/bgmtinygrail/strategy/manual_control.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | null | null | null | src/bgmtinygrail/strategy/manual_control.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | 1 | 2021-02-09T04:41:15.000Z | 2021-02-09T04:41:15.000Z | from ._base import *
class ManualControlStrategy(ABCCharaStrategy):
strategy = Strategy.MANUAL_CONTROL
def transition(self):
return self
def output(self):
pass
| 16 | 46 | 0.682292 | 19 | 192 | 6.789474 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 192 | 11 | 47 | 17.454545 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0.142857 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
6e82f812b26bb0f890ac5aa600a24661f243269c | 316 | py | Python | python/bbgo/utils/__init__.py | RicoToothless/bbgo | dc487c9194f6a336660b1b51a6adc1e7f970813f | [
"MIT"
] | null | null | null | python/bbgo/utils/__init__.py | RicoToothless/bbgo | dc487c9194f6a336660b1b51a6adc1e7f970813f | [
"MIT"
] | null | null | null | python/bbgo/utils/__init__.py | RicoToothless/bbgo | dc487c9194f6a336660b1b51a6adc1e7f970813f | [
"MIT"
] | null | null | null | from .convert import parse_float
from .convert import parse_time
from .grpc_utils import get_credentials_from_env
from .grpc_utils import get_grpc_cert_file_from_env
from .grpc_utils import get_grpc_key_file_from_env
from .grpc_utils import get_insecure_channel
from .grpc_utils import get_insecure_channel_from_env
| 39.5 | 53 | 0.889241 | 54 | 316 | 4.722222 | 0.296296 | 0.156863 | 0.254902 | 0.372549 | 0.709804 | 0.623529 | 0.623529 | 0.623529 | 0 | 0 | 0 | 0 | 0.088608 | 316 | 7 | 54 | 45.142857 | 0.885417 | 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 | 0 | 0 | 0 | 5 |
6e950f91049f6c53f9558d3c4727da6b341caba2 | 39 | py | Python | pyknotid/spacecurves/periodicline.py | SPOCKnots/pyknotid | 514a3f0f64d980100dc5f1086551f2d809c14907 | [
"MIT"
] | 17 | 2019-02-07T11:39:38.000Z | 2022-03-31T13:14:29.000Z | pyknotid/spacecurves/periodicline.py | SPOCKnots/pyknotid | 514a3f0f64d980100dc5f1086551f2d809c14907 | [
"MIT"
] | 5 | 2017-11-10T15:12:30.000Z | 2021-11-01T16:36:22.000Z | pyknotid/spacecurves/periodicline.py | SPOCKnots/pyknotid | 514a3f0f64d980100dc5f1086551f2d809c14907 | [
"MIT"
] | 7 | 2017-11-10T14:23:46.000Z | 2021-03-28T06:05:04.000Z |
import numpy as n
class PeriodicKnot
| 7.8 | 18 | 0.794872 | 6 | 39 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 4 | 19 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6ec2dc5fb482dfa3aefa999eefd7ac74ea8809be | 108 | py | Python | python_basics/smart_light_switch.py | almoratalla/mimo-python-projects | 3e1cd48c4bb72c3408b444194e200f0111bfc62d | [
"MIT"
] | null | null | null | python_basics/smart_light_switch.py | almoratalla/mimo-python-projects | 3e1cd48c4bb72c3408b444194e200f0111bfc62d | [
"MIT"
] | null | null | null | python_basics/smart_light_switch.py | almoratalla/mimo-python-projects | 3e1cd48c4bb72c3408b444194e200f0111bfc62d | [
"MIT"
] | null | null | null | is_day = False
lights_on = not is_day
print("Daytime?")
print(is_day)
print("Lights on?")
print(lights_on) | 13.5 | 22 | 0.731481 | 19 | 108 | 3.894737 | 0.421053 | 0.202703 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 108 | 8 | 23 | 13.5 | 0.778947 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6ee987b92db7110ddc4664225c32ecbd3fcb236f | 22,219 | py | Python | spark_fhir_schemas/stu3/complex_types/practitionerrole.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | 2 | 2020-10-31T23:25:01.000Z | 2021-06-09T14:12:42.000Z | spark_fhir_schemas/stu3/complex_types/practitionerrole.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/stu3/complex_types/practitionerrole.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import (
StructType,
StructField,
StringType,
ArrayType,
BooleanType,
DataType,
)
# This file is auto-generated by generate_schema so do not edit manually
# noinspection PyPep8Naming
class PractitionerRoleSchema:
"""
A sp... | 48.832967 | 100 | 0.544624 | 1,993 | 22,219 | 5.845961 | 0.142499 | 0.071067 | 0.045061 | 0.065917 | 0.799416 | 0.781821 | 0.781821 | 0.757102 | 0.748176 | 0.706892 | 0 | 0.002914 | 0.413115 | 22,219 | 454 | 101 | 48.940529 | 0.890567 | 0.279941 | 0 | 0.648148 | 0 | 0 | 0.026113 | 0.001415 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003086 | false | 0 | 0.040123 | 0 | 0.052469 | 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 | 0 | 0 | 0 | 0 | 5 |
42ccf215885b92a543cb9e7d7859a04346ba208e | 104 | py | Python | abc/136/b.py | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | 3 | 2019-06-25T06:17:38.000Z | 2019-07-13T15:18:51.000Z | abc/136/b.py | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | null | null | null | abc/136/b.py | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | null | null | null | N = int(input())
ans = min(9, N) + max(0, min(999, N) - 99) + max(0, min(99999, N) - 9999)
print(ans)
| 17.333333 | 73 | 0.528846 | 21 | 104 | 2.619048 | 0.619048 | 0.145455 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 0.211538 | 104 | 5 | 74 | 20.8 | 0.463415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
42e0add8629cac64830a86d7beab9de71276d1c2 | 1,607 | py | Python | quantarhei/builders/aggregates.py | slamavl/quantarhei | d822bc2db86152c418e330a9152e7866869776f7 | [
"MIT"
] | 14 | 2016-10-16T13:26:05.000Z | 2021-11-09T11:40:52.000Z | quantarhei/builders/aggregates.py | slamavl/quantarhei | d822bc2db86152c418e330a9152e7866869776f7 | [
"MIT"
] | 61 | 2016-09-19T10:45:56.000Z | 2021-11-10T13:53:06.000Z | quantarhei/builders/aggregates.py | slamavl/quantarhei | d822bc2db86152c418e330a9152e7866869776f7 | [
"MIT"
] | 21 | 2016-08-30T09:09:28.000Z | 2022-03-30T03:16:35.000Z | # -*- coding: utf-8 -*-
"""
This is the class representing tightly organized molecular aggregates such
as photosynthetic antenna and light-harvesting complexes in
Quantarhei. Appart from represeting data, this class also provides a
simplified interface to much of Quantarhei's functionality, ... | 30.903846 | 79 | 0.646546 | 164 | 1,607 | 6.329268 | 0.542683 | 0.019268 | 0.030829 | 0.050096 | 0.063584 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000884 | 0.296204 | 1,607 | 52 | 80 | 30.903846 | 0.916888 | 0.821406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
6e002f05f308fd882f50833cdf720e6b71b2b56e | 117 | py | Python | mc/__init__.py | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | 3 | 2017-09-01T19:49:59.000Z | 2018-06-04T10:30:01.000Z | mc/__init__.py | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | null | null | null | mc/__init__.py | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | 1 | 2018-12-13T19:48:27.000Z | 2018-12-13T19:48:27.000Z | VERSION = (0, 0, 1,)
def get_version(): return '.'.join([str(part) for part in VERSION])
__version__ = get_version()
| 29.25 | 67 | 0.675214 | 18 | 117 | 4.055556 | 0.611111 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.136752 | 117 | 3 | 68 | 39 | 0.693069 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
6e233fb2c1bc7d8c7146556628c4e1f1961a2287 | 117 | py | Python | compass/apps.py | osule/bookworm | 21332fb0bd6381d4304b3e4c6fed60c169339bf4 | [
"MIT"
] | null | null | null | compass/apps.py | osule/bookworm | 21332fb0bd6381d4304b3e4c6fed60c169339bf4 | [
"MIT"
] | 13 | 2021-10-04T22:07:21.000Z | 2022-03-21T15:11:24.000Z | compass/apps.py | osule/bookworm | 21332fb0bd6381d4304b3e4c6fed60c169339bf4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CompassConfig(AppConfig):
name = 'compass'
verbose_name = "compass"
| 19.5 | 33 | 0.735043 | 13 | 117 | 6.538462 | 0.769231 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 117 | 5 | 34 | 23.4 | 0.885417 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.75 | 0.25 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
28496ba28a2a6f02e790eed034b8615dabbc5ede | 85 | py | Python | vnpy/api/ctp/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | vnpy/api/ctp/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | vnpy/api/ctp/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | # from .vnctpmd import MdApi
# from .vnctptd import TdApi
from .ctp_constant import * | 28.333333 | 28 | 0.776471 | 12 | 85 | 5.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 3 | 29 | 28.333333 | 0.902778 | 0.623529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
284d5eeee24e9aadd53722ffa6fe56ee06d89246 | 329 | py | Python | pay/forms.py | litchfield/django-pay | d563f9d7d612bd949fd577cee623314d0695c6fd | [
"MIT"
] | null | null | null | pay/forms.py | litchfield/django-pay | d563f9d7d612bd949fd577cee623314d0695c6fd | [
"MIT"
] | null | null | null | pay/forms.py | litchfield/django-pay | d563f9d7d612bd949fd577cee623314d0695c6fd | [
"MIT"
] | null | null | null | from django import forms
class CreditCardForm(forms.Form):
"Form with credit card details"
class PaymentMethodForm(CreditCardForm, forms.ModelForm):
"Create/update a payment method, which can be used for subscriptions/transactions"
class TransactionForm(CreditCardForm, forms.ModelForm):
"Create transa... | 20.5625 | 86 | 0.781155 | 37 | 329 | 6.945946 | 0.72973 | 0.22179 | 0.217899 | 0.264591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 329 | 15 | 87 | 21.933333 | 0.917857 | 0.392097 | 0 | 0 | 0 | 0 | 0.388379 | 0.079511 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
28632786fa61c1a960cfde33e5cea230960d3f3e | 34 | py | Python | notebooks/solutions/timeseries_departure.py | cpaniaguam/pandas-head-to-tail | c809b6ae5834057c51006ecc908266e6d5d05b15 | [
"CC-BY-4.0"
] | 88 | 2016-12-29T06:49:10.000Z | 2022-03-19T20:37:27.000Z | notebooks/solutions/timeseries_departure.py | paritosh666/pandas-head-to-tail | 891a72ea5a21f8e0c8f6a6d22c03a1de26a6f30b | [
"CC-BY-4.0"
] | 8 | 2018-06-17T21:47:27.000Z | 2018-07-11T22:31:17.000Z | notebooks/solutions/timeseries_departure.py | paritosh666/pandas-head-to-tail | 891a72ea5a21f8e0c8f6a6d22c03a1de26a6f30b | [
"CC-BY-4.0"
] | 76 | 2016-12-30T08:56:28.000Z | 2022-02-27T08:05:26.000Z | flights.dep + flights.dep_delay_td | 34 | 34 | 0.852941 | 6 | 34 | 4.5 | 0.666667 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 34 | 1 | 34 | 34 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 5 |
2869ea9d26f307df3545541f66173b9ebf27f2d4 | 140 | py | Python | umusicfy/user_profile/admin.py | CarlosMart626/umusicfy | 97e2166fe26d1fbe36df6bea435044ef3d367edf | [
"Apache-2.0"
] | null | null | null | umusicfy/user_profile/admin.py | CarlosMart626/umusicfy | 97e2166fe26d1fbe36df6bea435044ef3d367edf | [
"Apache-2.0"
] | 8 | 2020-06-05T18:08:05.000Z | 2022-01-13T00:44:30.000Z | umusicfy/user_profile/admin.py | CarlosMart626/umusicfy | 97e2166fe26d1fbe36df6bea435044ef3d367edf | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import PlayList, UserProfile
admin.site.register(PlayList)
admin.site.register(UserProfile)
| 20 | 41 | 0.828571 | 18 | 140 | 6.444444 | 0.555556 | 0.155172 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 140 | 6 | 42 | 23.333333 | 0.913386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
956604227c48182f66ec9135985dfd0dfe0731e8 | 1,760 | py | Python | investment_atlas/tests/test_helpers.py | froddd/great-international-ui | 414bcb09d701cd7e0c5748d1ac8c587d704f92da | [
"MIT"
] | 1 | 2019-03-22T09:45:00.000Z | 2019-03-22T09:45:00.000Z | investment_atlas/tests/test_helpers.py | froddd/great-international-ui | 414bcb09d701cd7e0c5748d1ac8c587d704f92da | [
"MIT"
] | 556 | 2019-01-31T15:31:05.000Z | 2022-03-24T09:44:26.000Z | investment_atlas/tests/test_helpers.py | froddd/great-international-ui | 414bcb09d701cd7e0c5748d1ac8c587d704f92da | [
"MIT"
] | 6 | 2019-03-07T12:57:49.000Z | 2021-11-02T15:23:51.000Z | from investment_atlas import helpers
def test_get_sectors_label():
page = { # NOQA
'related_sectors': [
{'related_sector': {'title': 'Housing'}},
{'related_sector': {'title': 'Aerospace'}}
],
'sub_sectors': ['Green housing', 'Urban', 'Renting']
}
assert he... | 24.444444 | 99 | 0.592045 | 177 | 1,760 | 5.508475 | 0.146893 | 0.14359 | 0.215385 | 0.155897 | 0.932308 | 0.881026 | 0.803077 | 0.714872 | 0.592821 | 0.408205 | 0 | 0 | 0.259091 | 1,760 | 71 | 100 | 24.788732 | 0.747699 | 0.016477 | 0 | 0.5 | 0 | 0 | 0.273782 | 0 | 0 | 0 | 0 | 0 | 0.14 | 1 | 0.14 | false | 0 | 0.02 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
957ed743ac408469f50ca8907251f5bcc08f5288 | 72 | py | Python | winney/__init__.py | olivetree123/Winney | 60068d64ee891bd92b93ce32b599984374eb66ed | [
"MIT"
] | null | null | null | winney/__init__.py | olivetree123/Winney | 60068d64ee891bd92b93ce32b599984374eb66ed | [
"MIT"
] | null | null | null | winney/__init__.py | olivetree123/Winney | 60068d64ee891bd92b93ce32b599984374eb66ed | [
"MIT"
] | 2 | 2021-07-05T03:43:44.000Z | 2021-07-05T06:20:20.000Z | #coding:utf-8
from winney.winney import Winney, Address, retry, Result
| 18 | 56 | 0.777778 | 11 | 72 | 5.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.125 | 72 | 3 | 57 | 24 | 0.873016 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
95989783f3390d3bf69bcdf266ae40935a18511f | 119 | py | Python | tests/test_main.py | K0lb3/_travis_tests | 827f068ada26083a75e5bb00127c38c9a917aab4 | [
"MIT"
] | null | null | null | tests/test_main.py | K0lb3/_travis_tests | 827f068ada26083a75e5bb00127c38c9a917aab4 | [
"MIT"
] | null | null | null | tests/test_main.py | K0lb3/_travis_tests | 827f068ada26083a75e5bb00127c38c9a917aab4 | [
"MIT"
] | null | null | null | from sys import platform
import os
root = os.path.dirname(os.path.abspath(__file__))
def test_none():
return True | 17 | 49 | 0.747899 | 19 | 119 | 4.421053 | 0.789474 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151261 | 119 | 7 | 50 | 17 | 0.831683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
95b734d47274dba383ce3a50c35cfeeb2a4f2fd1 | 55 | py | Python | iperf3/__init__.py | Austinpayne/iperf3-python | 4535d9e96ba5ef3f503e7f1e48f0f8ce51615ddd | [
"MIT"
] | 87 | 2016-09-19T10:58:31.000Z | 2022-03-30T01:36:44.000Z | iperf3/__init__.py | Austinpayne/iperf3-python | 4535d9e96ba5ef3f503e7f1e48f0f8ce51615ddd | [
"MIT"
] | 61 | 2016-08-17T14:46:59.000Z | 2022-03-02T15:28:51.000Z | iperf3/__init__.py | Austinpayne/iperf3-python | 4535d9e96ba5ef3f503e7f1e48f0f8ce51615ddd | [
"MIT"
] | 47 | 2016-09-12T14:51:57.000Z | 2022-01-31T17:46:49.000Z | from .iperf3 import Client, Server, TestResult, IPerf3
| 27.5 | 54 | 0.8 | 7 | 55 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.127273 | 55 | 1 | 55 | 55 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
2528466a7641c6333630e71ef039246852ec4527 | 135 | py | Python | __init__.py | anthill-gaming/game_master | aa0af04b7e6f2073a1b71878bdce46ca534a107e | [
"MIT"
] | 1 | 2019-07-17T16:06:11.000Z | 2019-07-17T16:06:11.000Z | __init__.py | anthill-gaming/game_master | aa0af04b7e6f2073a1b71878bdce46ca534a107e | [
"MIT"
] | null | null | null | __init__.py | anthill-gaming/game_master | aa0af04b7e6f2073a1b71878bdce46ca534a107e | [
"MIT"
] | null | null | null | from anthill.framework.utils.version import get_version
VERSION = (0, 0, 1, 'alpha', 1)
version = __version__ = get_version(VERSION)
| 22.5 | 55 | 0.748148 | 19 | 135 | 5 | 0.526316 | 0.442105 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034188 | 0.133333 | 135 | 5 | 56 | 27 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
c27fc08eb62fc9b4b62c41e90807f383c1757771 | 50 | py | Python | flexmeasures/api/v2_0/implementations/__init__.py | SeitaBV/flexmeasures | f715012c9c35d38d3382bd88d36ef86ce9728d10 | [
"Apache-2.0"
] | 37 | 2021-02-16T11:18:20.000Z | 2021-11-04T22:04:56.000Z | flexmeasures/api/v2_0/implementations/__init__.py | SeitaBV/flexmeasures | f715012c9c35d38d3382bd88d36ef86ce9728d10 | [
"Apache-2.0"
] | 165 | 2021-02-16T15:27:20.000Z | 2021-12-06T14:19:20.000Z | flexmeasures/api/v2_0/implementations/__init__.py | SeitaBV/flexmeasures | f715012c9c35d38d3382bd88d36ef86ce9728d10 | [
"Apache-2.0"
] | 5 | 2021-02-23T12:05:42.000Z | 2021-11-04T13:58:40.000Z | from . import assets, sensors, users # noqa F401
| 25 | 49 | 0.72 | 7 | 50 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.2 | 50 | 1 | 50 | 50 | 0.825 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c27fc8bafb5d92d8b7da3503abf30ba305c1ea06 | 59 | py | Python | {{ cookiecutter.repo_name }}/app/provider/predict.py | ShilpaGopal/cookiecutter-ml-flask-serving | 9d1f56d0cda248fb2834b714390df7078ad24a22 | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/app/provider/predict.py | ShilpaGopal/cookiecutter-ml-flask-serving | 9d1f56d0cda248fb2834b714390df7078ad24a22 | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/app/provider/predict.py | ShilpaGopal/cookiecutter-ml-flask-serving | 9d1f56d0cda248fb2834b714390df7078ad24a22 | [
"MIT"
] | null | null | null | def predict(model, image):
return model.predict(image) | 29.5 | 31 | 0.728814 | 8 | 59 | 5.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 2 | 31 | 29.5 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
c280688cdca76ad9b264fd758d01403361a4622e | 88 | py | Python | models/__init__.py | modeconnectivity/modeconnectivity | 4cc6558cd9c366fd41f9a853a0a18f4b0884c913 | [
"MIT"
] | null | null | null | models/__init__.py | modeconnectivity/modeconnectivity | 4cc6558cd9c366fd41f9a853a0a18f4b0884c913 | [
"MIT"
] | null | null | null | models/__init__.py | modeconnectivity/modeconnectivity | 4cc6558cd9c366fd41f9a853a0a18f4b0884c913 | [
"MIT"
] | null | null | null | from . import cnn
from . import fcn
from . import pretrained
from . import classifiers
| 14.666667 | 25 | 0.761364 | 12 | 88 | 5.583333 | 0.5 | 0.597015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193182 | 88 | 5 | 26 | 17.6 | 0.943662 | 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 | 0 | 0 | 0 | 5 |
c290cd006f6aab8232ee3149187e032c2ce1e52a | 64 | py | Python | pyClarion/utils/__init__.py | jlichter/pyClarion | 326a9b7ac03baaaf8eba49a42954f88542c191e9 | [
"MIT"
] | 25 | 2018-09-21T17:51:09.000Z | 2022-03-08T12:24:35.000Z | pyClarion/utils/__init__.py | jlichter/pyClarion | 326a9b7ac03baaaf8eba49a42954f88542c191e9 | [
"MIT"
] | 9 | 2018-07-01T00:44:02.000Z | 2022-02-10T10:56:30.000Z | pyClarion/utils/__init__.py | jlichter/pyClarion | 326a9b7ac03baaaf8eba49a42954f88542c191e9 | [
"MIT"
] | 10 | 2018-09-21T17:51:13.000Z | 2022-03-03T07:58:37.000Z | """Provides miscellaneous utilities."""
from .pprint import *
| 12.8 | 39 | 0.71875 | 6 | 64 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 4 | 40 | 16 | 0.836364 | 0.515625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 5 |
c2c2c6acbbee18630fcd7f9cc309712310a9d168 | 112 | py | Python | src/briefcase/apps/basedoc/admin.py | Briefcase/Briefcase | 34403c69c19cee1e682293a2c3c3f17c631b9246 | [
"BSD-2-Clause"
] | 2 | 2017-10-19T15:39:31.000Z | 2022-02-09T02:59:27.000Z | src/briefcase/apps/basedoc/admin.py | Briefcase/Briefcase | 34403c69c19cee1e682293a2c3c3f17c631b9246 | [
"BSD-2-Clause"
] | 2 | 2021-06-16T02:08:42.000Z | 2021-12-06T07:43:32.000Z | src/briefcase/apps/basedoc/admin.py | Briefcase/Briefcase | 34403c69c19cee1e682293a2c3c3f17c631b9246 | [
"BSD-2-Clause"
] | 2 | 2016-05-25T07:28:13.000Z | 2021-04-02T03:55:08.000Z | #spreadsheet.admin.py
from models import Basedoc
from django.contrib import admin
admin.site.register(Basedoc)
| 18.666667 | 32 | 0.830357 | 16 | 112 | 5.8125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 5 | 33 | 22.4 | 0.920792 | 0.178571 | 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 | 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 | 5 |
c2f5900430fd8c70f2917f615afe55ae589cb8b0 | 179 | py | Python | bin/libtf/logparsers/TFExceptions.py | ThreshingFloor/splunk.reaper.threshingfloor.io | 4e5f19abd3bf9e15b7b59423018e94e533e28f43 | [
"MIT"
] | null | null | null | bin/libtf/logparsers/TFExceptions.py | ThreshingFloor/splunk.reaper.threshingfloor.io | 4e5f19abd3bf9e15b7b59423018e94e533e28f43 | [
"MIT"
] | null | null | null | bin/libtf/logparsers/TFExceptions.py | ThreshingFloor/splunk.reaper.threshingfloor.io | 4e5f19abd3bf9e15b7b59423018e94e533e28f43 | [
"MIT"
] | null | null | null | class TFException(Exception):
pass
class TFAPIUnavailable(Exception):
pass
class TFLogParsingException(Exception):
def __init__(self, type):
self.type = type | 19.888889 | 39 | 0.72067 | 18 | 179 | 6.944444 | 0.555556 | 0.208 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195531 | 179 | 9 | 40 | 19.888889 | 0.868056 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.285714 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c2f99e55c7c7835a02348183b9c4e6c6a9b039f5 | 141 | py | Python | claripy/vsa/errors.py | embg/claripy | 1a5e0ca61d3f480e541226f103900e983f025e4a | [
"BSD-2-Clause"
] | 211 | 2015-08-06T23:25:01.000Z | 2022-03-26T19:34:49.000Z | claripy/vsa/errors.py | embg/claripy | 1a5e0ca61d3f480e541226f103900e983f025e4a | [
"BSD-2-Clause"
] | 175 | 2015-09-03T11:09:18.000Z | 2022-03-09T20:24:33.000Z | claripy/vsa/errors.py | embg/claripy | 1a5e0ca61d3f480e541226f103900e983f025e4a | [
"BSD-2-Clause"
] | 99 | 2015-08-07T10:30:08.000Z | 2022-03-26T10:32:09.000Z |
from ..errors import ClaripyError
class ClaripyVSAError(ClaripyError):
pass
class ClaripyVSAOperationError(ClaripyVSAError):
pass
| 15.666667 | 48 | 0.794326 | 12 | 141 | 9.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 141 | 8 | 49 | 17.625 | 0.933333 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
6c19db59eaa988e5782aa1e2fed33b2c108a8b2a | 202 | py | Python | pattern/text/xx/__main__.py | huihui7987/pattern | d25511f9ca7ed9356b801d8663b8b5168464e68f | [
"BSD-3-Clause"
] | 6,201 | 2015-01-01T17:40:43.000Z | 2022-03-30T21:28:15.000Z | pattern/text/xx/__main__.py | WZBSocialScienceCenter/patternlite | 99271c8f20afdc3ae3f05246c43100dc00604e3f | [
"BSD-3-Clause"
] | 199 | 2015-01-03T10:24:13.000Z | 2022-03-14T12:53:34.000Z | pattern/text/xx/__main__.py | WZBSocialScienceCenter/patternlite | 99271c8f20afdc3ae3f05246c43100dc00604e3f | [
"BSD-3-Clause"
] | 1,537 | 2015-01-07T06:45:24.000Z | 2022-03-31T07:30:03.000Z | #### PATTERN | XX | PARSER COMMAND-LINE ############################################################
from __future__ import absolute_import
from .__init__ import parse, commandline
commandline(parse)
| 28.857143 | 100 | 0.549505 | 17 | 202 | 6 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 202 | 6 | 101 | 33.666667 | 0.56044 | 0.168317 | 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 | 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 | 5 |
6c73901c30e186ec399d632011e7e84b5ef927d0 | 38 | py | Python | test.py | hlong0806/BullshitGenerator | dbcd8e5c910a28b273d7c938f485f6df440a1ec5 | [
"MIT"
] | null | null | null | test.py | hlong0806/BullshitGenerator | dbcd8e5c910a28b273d7c938f485f6df440a1ec5 | [
"MIT"
] | null | null | null | test.py | hlong0806/BullshitGenerator | dbcd8e5c910a28b273d7c938f485f6df440a1ec5 | [
"MIT"
] | 2 | 2019-11-14T00:46:46.000Z | 2020-06-10T02:53:23.000Z | #!/bin/python
#This is an empty file
| 9.5 | 22 | 0.684211 | 7 | 38 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 3 | 23 | 12.666667 | 0.83871 | 0.868421 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
6696b8caf3e37d6f8ec1f50b44c56f5558e4f1db | 138 | py | Python | measurement/array-operations/vless3.py | quepas/performance-estimation-array-operations | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | [
"MIT"
] | null | null | null | measurement/array-operations/vless3.py | quepas/performance-estimation-array-operations | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | [
"MIT"
] | null | null | null | measurement/array-operations/vless3.py | quepas/performance-estimation-array-operations | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | [
"MIT"
] | null | null | null | import numpy as np
# Element-wise comparision of three vectors (less then)
def vless3(V1, V2, V3):
R = np.less(np.less(V1, V2), V3)
| 19.714286 | 55 | 0.673913 | 25 | 138 | 3.72 | 0.72 | 0.086022 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 0.195652 | 138 | 6 | 56 | 23 | 0.774775 | 0.384058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
66a002928dd93c303d08073b6c56775dbc584991 | 45 | py | Python | samples/infinite.py | Leedehai/ctimer | cfb3c69a19d1b25e4baa2054ac96ff6f09bfb04d | [
"MIT"
] | null | null | null | samples/infinite.py | Leedehai/ctimer | cfb3c69a19d1b25e4baa2054ac96ff6f09bfb04d | [
"MIT"
] | null | null | null | samples/infinite.py | Leedehai/ctimer | cfb3c69a19d1b25e4baa2054ac96ff6f09bfb04d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
while True:
pass
| 7.5 | 21 | 0.622222 | 7 | 45 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 45 | 5 | 22 | 9 | 0.823529 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
66bcd22dce12c14c20e8d22b889f0489f2128033 | 161 | py | Python | sales_project/sales_app/admin.py | alineayumi/django-sales-dataset | 0b179c918ed3360f3413277b069fef76014468cf | [
"MIT"
] | null | null | null | sales_project/sales_app/admin.py | alineayumi/django-sales-dataset | 0b179c918ed3360f3413277b069fef76014468cf | [
"MIT"
] | null | null | null | sales_project/sales_app/admin.py | alineayumi/django-sales-dataset | 0b179c918ed3360f3413277b069fef76014468cf | [
"MIT"
] | null | null | null | from django.contrib import admin
from sales_app.models import Product, Sale
# Register your models here.
admin.site.register(Product)
admin.site.register(Sale)
| 23 | 42 | 0.813665 | 24 | 161 | 5.416667 | 0.583333 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10559 | 161 | 6 | 43 | 26.833333 | 0.902778 | 0.161491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dd1d1797de6eeb0ad17e1fc6cbaff5eb344338c1 | 9 | py | Python | 12.py | fzyy/test007 | 422c5b066d24780f5b77c2af69d879921e8ce6d0 | [
"MIT"
] | null | null | null | 12.py | fzyy/test007 | 422c5b066d24780f5b77c2af69d879921e8ce6d0 | [
"MIT"
] | null | null | null | 12.py | fzyy/test007 | 422c5b066d24780f5b77c2af69d879921e8ce6d0 | [
"MIT"
] | null | null | null | aa = 111
| 4.5 | 8 | 0.555556 | 2 | 9 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.333333 | 9 | 1 | 9 | 9 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dd2aa0024a41112cd35dc28b808cf0a88682bd30 | 615 | py | Python | tests/data/expected/main/main_json_reuse_model/output.py | adaamz/datamodel-code-generator | 3b34573f35f8d420e4668a85047c757fd1da7754 | [
"MIT"
] | 891 | 2019-07-23T04:23:32.000Z | 2022-03-31T13:36:33.000Z | tests/data/expected/main/main_json_reuse_model/output.py | adaamz/datamodel-code-generator | 3b34573f35f8d420e4668a85047c757fd1da7754 | [
"MIT"
] | 663 | 2019-07-23T09:50:26.000Z | 2022-03-29T01:56:55.000Z | tests/data/expected/main/main_json_reuse_model/output.py | adaamz/datamodel-code-generator | 3b34573f35f8d420e4668a85047c757fd1da7754 | [
"MIT"
] | 108 | 2019-07-23T08:50:37.000Z | 2022-03-09T10:50:22.000Z | # generated by datamodel-codegen:
# filename: duplicate_models.json
# timestamp: 2019-07-26T00:00:00+00:00
from __future__ import annotations
from pydantic import BaseModel, Field
class ArmRight(BaseModel):
Joint_1: int = Field(..., alias='Joint 1')
Joint_2: int = Field(..., alias='Joint 2')
Joint_... | 21.964286 | 55 | 0.663415 | 82 | 615 | 4.841463 | 0.426829 | 0.151134 | 0.130982 | 0.18136 | 0.171285 | 0.171285 | 0.171285 | 0.171285 | 0 | 0 | 0 | 0.051793 | 0.18374 | 615 | 27 | 56 | 22.777778 | 0.739044 | 0.170732 | 0 | 0.142857 | 1 | 0 | 0.088933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.071429 | 0.142857 | 0 | 0.928571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
dd4bcfeabd6b6fc06c45f28738f2c4b02465dd04 | 19,928 | py | Python | sdk/python/pulumi_google_native/cloudtasks/v2beta2/task.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/cloudtasks/v2beta2/task.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/cloudtasks/v2beta2/task.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 64.701299 | 923 | 0.687726 | 2,648 | 19,928 | 4.984894 | 0.098943 | 0.044167 | 0.053258 | 0.033333 | 0.809394 | 0.752576 | 0.729015 | 0.699318 | 0.686591 | 0.645227 | 0 | 0.003768 | 0.214322 | 19,928 | 307 | 924 | 64.912052 | 0.839305 | 0.493125 | 0 | 0.38 | 1 | 0 | 0.129895 | 0.040096 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145 | false | 0.005 | 0.04 | 0.015 | 0.275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dd8b15b8050ab5e27501efa685f93310c7fa298e | 314 | py | Python | generated-libraries/python/netapp/autosupport/asup_destination.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/autosupport/asup_destination.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/autosupport/asup_destination.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class AsupDestination(basestring):
"""
smtp|http|noteto|retransmit
Possible values:
<ul>
<li> "smtp" ,
<li> "http" ,
<li> "noteto" ,
<li> "retransmit"
</ul>
"""
@staticmethod
def get_api_name():
return "asup-destination"
| 18.470588 | 35 | 0.484076 | 27 | 314 | 5.555556 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375796 | 314 | 16 | 36 | 19.625 | 0.765306 | 0.452229 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
dd9591c8346506530ff8a8f5430298c51cfa1b12 | 597 | py | Python | quik/namespaces/quotes.py | nusov/QuikPython | d992b9d5aaf68cdda3031a08705221fe461a7780 | [
"MIT"
] | null | null | null | quik/namespaces/quotes.py | nusov/QuikPython | d992b9d5aaf68cdda3031a08705221fe461a7780 | [
"MIT"
] | null | null | null | quik/namespaces/quotes.py | nusov/QuikPython | d992b9d5aaf68cdda3031a08705221fe461a7780 | [
"MIT"
] | null | null | null | from quik.base import QuikNamespace
class QuikQuotesNamespace(QuikNamespace):
def subscribe(self, class_code, sec_code):
return self.quik.invoke("Subscribe_Level_II_Quotes", class_code, sec_code)
def unsubscribe(self, class_code, sec_code):
return self.quik.invoke("Unsubscribe_Level_II_Quotes... | 39.8 | 85 | 0.755444 | 82 | 597 | 5.182927 | 0.280488 | 0.169412 | 0.225882 | 0.301176 | 0.602353 | 0.602353 | 0.602353 | 0.602353 | 0.376471 | 0 | 0 | 0.001972 | 0.150754 | 597 | 15 | 86 | 39.8 | 0.836292 | 0 | 0 | 0 | 0 | 0 | 0.157191 | 0.133779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.4 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
06bfb9a5c4c503d7ca8e8c62a2ecc4341118f795 | 481 | py | Python | OpenGLCffi/GL/EXT/ARB/texture_storage_multisample.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/texture_storage_multisample.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/texture_storage_multisample.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['target', 'samples', 'internalformat', 'width', 'height', 'fixedsamplelocations'])
def glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations):
pass
@params(api='gl', prms=['target', 'samples', 'internalformat', 'width',... | 40.083333 | 115 | 0.756757 | 45 | 481 | 8.088889 | 0.4 | 0.142857 | 0.296703 | 0.351648 | 0.747253 | 0.747253 | 0.532967 | 0.291209 | 0.291209 | 0 | 0 | 0.004556 | 0.087318 | 481 | 11 | 116 | 43.727273 | 0.824601 | 0 | 0 | 0.285714 | 0 | 0 | 0.26096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b075f9fe98d07c99e321b7906fe37c77f51fe6d7 | 377 | py | Python | katas/beta/only_readable_once_list.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/only_readable_once_list.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/only_readable_once_list.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | class SecureList(object):
def __init__(self, lst):
self.lst = list(lst)
def __getitem__(self, item):
return self.lst.pop(item)
def __len__(self):
return len(self.lst)
def __repr__(self):
tmp, self.lst = self.lst, []
return repr(tmp)
def __str__(self):
... | 20.944444 | 36 | 0.564987 | 49 | 377 | 3.938776 | 0.326531 | 0.290155 | 0.170984 | 0.217617 | 0.279793 | 0.279793 | 0.279793 | 0 | 0 | 0 | 0 | 0 | 0.30504 | 377 | 17 | 37 | 22.176471 | 0.736641 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 5 |
b07ec2c2c1e92149b6ee36e34da990cdf795c36a | 146 | py | Python | myCompany/rules/admin.py | Rom4eg/myCompany | 31846a861d8b0560191e2e1d9791f101b88874df | [
"MIT"
] | null | null | null | myCompany/rules/admin.py | Rom4eg/myCompany | 31846a861d8b0560191e2e1d9791f101b88874df | [
"MIT"
] | null | null | null | myCompany/rules/admin.py | Rom4eg/myCompany | 31846a861d8b0560191e2e1d9791f101b88874df | [
"MIT"
] | null | null | null | from django.contrib import admin
from rules.models import Rule
class RuleAdmin(admin.ModelAdmin):
pass
admin.site.register(Rule, RuleAdmin)
| 18.25 | 36 | 0.794521 | 20 | 146 | 5.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130137 | 146 | 7 | 37 | 20.857143 | 0.913386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 | 0 | 0 | 0 | 5 |
b092d322a246878477f87ff47ad050a2a68a4c5b | 54 | py | Python | Python/Tests/TestData/AddImport/ImportFunctionFromExistingFromImportParensTrailingComma.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/AddImport/ImportFunctionFromExistingFromImportParensTrailingComma.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/AddImport/ImportFunctionFromExistingFromImportParensTrailingComma.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | from test_module import (module_func_2,)
module_func() | 27 | 40 | 0.833333 | 9 | 54 | 4.555556 | 0.666667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.074074 | 54 | 2 | 41 | 27 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 5 |
b0e2f000fc745c779507ce9414d52e57d1c38e00 | 5,359 | py | Python | tests/test_note.py | samuelrey/Note-Picker | fc71fcaad8c1562288811f9b8dab4c084632aae0 | [
"Unlicense"
] | 1 | 2017-10-12T18:09:16.000Z | 2017-10-12T18:09:16.000Z | tests/test_note.py | samuelrey/Note-Picker | fc71fcaad8c1562288811f9b8dab4c084632aae0 | [
"Unlicense"
] | null | null | null | tests/test_note.py | samuelrey/Note-Picker | fc71fcaad8c1562288811f9b8dab4c084632aae0 | [
"Unlicense"
] | 1 | 2015-02-18T23:19:49.000Z | 2015-02-18T23:19:49.000Z | # Filename: getFrequency.py
#
# Summary: unit tests getFrequency method.
#
# Author: Samuel Villavicencio
#
# Last Updated: Oct 09 2015
import traceback
import unittest
import _write
import note
class GetFrequencyTest(unittest.TestCase):
def testEmptySignal(self):
n = note.Note()
_write.note(1, 2... | 28.354497 | 88 | 0.515208 | 524 | 5,359 | 5.118321 | 0.164122 | 0.082028 | 0.119314 | 0.08613 | 0.738628 | 0.721104 | 0.700597 | 0.690157 | 0.679344 | 0.632364 | 0 | 0.033374 | 0.38496 | 5,359 | 188 | 89 | 28.505319 | 0.78034 | 0.041426 | 0 | 0.79375 | 0 | 0 | 0.00156 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 1 | 0.0625 | false | 0.0625 | 0.025 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9fd8c7e05fe58e788eeb0c6d398b5d43cda29688 | 833 | py | Python | twitter/lists.py | kwnktks0515/Twitter_with_Python | 80dff5e0f0080a7e5b64dfa134f2e33aba0ed5f8 | [
"MIT"
] | null | null | null | twitter/lists.py | kwnktks0515/Twitter_with_Python | 80dff5e0f0080a7e5b64dfa134f2e33aba0ed5f8 | [
"MIT"
] | null | null | null | twitter/lists.py | kwnktks0515/Twitter_with_Python | 80dff5e0f0080a7e5b64dfa134f2e33aba0ed5f8 | [
"MIT"
] | null | null | null | """lists"""
#import json
class Lists:
"""lists"""
def __init__(self, twitter):
self.twitter = twitter
def list(self, params):
"""Hello"""
pass
def members(self, params):
"""Hello"""
pass
def memberships(self, params):
"""Hello"""
pass
def ... | 20.317073 | 36 | 0.478992 | 79 | 833 | 5 | 0.278481 | 0.278481 | 0.417722 | 0.529114 | 0.556962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364946 | 833 | 40 | 37 | 20.825 | 0.746692 | 0.106843 | 0 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.48 | false | 0.44 | 0 | 0 | 0.52 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9fdc95daa3705491004c662e2fbecb8bdf8f0b1e | 821 | py | Python | tests/fstrips/test_walker.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 29 | 2018-11-26T20:31:04.000Z | 2021-12-29T11:08:40.000Z | tests/fstrips/test_walker.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 101 | 2018-06-07T13:10:01.000Z | 2022-03-11T11:54:00.000Z | tests/fstrips/test_walker.py | phoeft670/tarski | 7d955e535fbbca012bfd1a12402b97febc6b35b9 | [
"Apache-2.0"
] | 18 | 2018-11-01T22:44:39.000Z | 2022-02-28T04:57:15.000Z | from tarski.benchmarks.blocksworld import generate_fstrips_blocksworld_problem
# def test_fstrips_problem_walker():
# problem = generate_fstrips_blocksworld_problem(
# nblocks=2,
# init=[('b1', 'b2'), ('b2', 'table')],
# goal=[('b2', 'table'), ('b1', 'table')]
# )
# lang = problem.... | 41.05 | 105 | 0.62363 | 102 | 821 | 4.862745 | 0.392157 | 0.064516 | 0.104839 | 0.133065 | 0.068548 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026706 | 0.17905 | 821 | 19 | 106 | 43.210526 | 0.709199 | 0.859927 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9ff5a5ee62d2ada8f035ed015df587c46f476bb6 | 302 | py | Python | codes/Ex074.py | BelfortJoao/Curso-phyton01 | 79376233be228f39bf548f90b8d9bd5419ac067a | [
"MIT"
] | 3 | 2021-08-17T14:02:14.000Z | 2021-08-19T02:37:30.000Z | codes/Ex074.py | BelfortJoao/Curso-phyton01 | 79376233be228f39bf548f90b8d9bd5419ac067a | [
"MIT"
] | null | null | null | codes/Ex074.py | BelfortJoao/Curso-phyton01 | 79376233be228f39bf548f90b8d9bd5419ac067a | [
"MIT"
] | null | null | null | from random import randint
x = (randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10))
print('sorteei os numeros:', end='')
for n in x:
print(f'{n}', end=", ")
print(f"\nO maior valor na ordem foi {max(x)}")
print(f"\nO menor valor na ordem foi {min(x)}")
| 37.75 | 100 | 0.625828 | 56 | 302 | 3.375 | 0.446429 | 0.253968 | 0.31746 | 0.449735 | 0.31746 | 0.31746 | 0.31746 | 0.31746 | 0.31746 | 0.31746 | 0 | 0.070866 | 0.15894 | 302 | 7 | 101 | 43.142857 | 0.673228 | 0 | 0 | 0 | 0 | 0 | 0.324503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b0165e61ac75f9dc5b83642b5609b9a9b7f6b8be | 1,085 | py | Python | tests/test_query.py | vision-consensus/vision-python-sdk | 663eefe6c47cc024738b59aaf38f11d25094f21e | [
"MIT"
] | 3 | 2021-04-28T09:12:18.000Z | 2021-06-26T14:40:55.000Z | tests/test_query.py | vision-consensus/vision-python-sdk | 663eefe6c47cc024738b59aaf38f11d25094f21e | [
"MIT"
] | null | null | null | tests/test_query.py | vision-consensus/vision-python-sdk | 663eefe6c47cc024738b59aaf38f11d25094f21e | [
"MIT"
] | 2 | 2021-06-26T12:03:29.000Z | 2021-11-05T10:20:47.000Z | from visionpy import Vision, AsyncVision
import pytest
def test_query_account():
client = Vision(network='vtest')
# There are many VRC10 token named `tt`
with pytest.raises(Exception):
btt = client.get_asset_from_name("tt")
print(btt)
bals = client.get_account_asset_balances("VDGXn73... | 29.324324 | 99 | 0.693088 | 126 | 1,085 | 5.785714 | 0.333333 | 0.074074 | 0.087792 | 0.115226 | 0.751715 | 0.737997 | 0.737997 | 0.737997 | 0.737997 | 0.639232 | 0 | 0.054374 | 0.220277 | 1,085 | 36 | 100 | 30.138889 | 0.807329 | 0.069124 | 0 | 0.48 | 0 | 0 | 0.148957 | 0.135055 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0.04 | false | 0 | 0.08 | 0 | 0.12 | 0.24 | 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 | 0 | 0 | 0 | 0 | 5 |
b01f06294bec79256719a213133705404299955c | 163 | py | Python | netqasm/examples/apps/multiple_files/shared/myfuncs.py | Doomsk/netqasm | 5d6c6ad00c4e0f9ab0ec05518cfa827675f357e7 | [
"MIT"
] | 6 | 2021-11-10T15:03:59.000Z | 2022-02-16T19:35:01.000Z | netqasm/examples/apps/multiple_files/shared/myfuncs.py | Doomsk/netqasm | 5d6c6ad00c4e0f9ab0ec05518cfa827675f357e7 | [
"MIT"
] | 13 | 2021-11-26T09:19:46.000Z | 2022-03-29T09:21:42.000Z | netqasm/examples/apps/multiple_files/shared/myfuncs.py | Doomsk/netqasm | 5d6c6ad00c4e0f9ab0ec05518cfa827675f357e7 | [
"MIT"
] | 4 | 2021-11-19T15:46:17.000Z | 2022-01-23T18:59:15.000Z | def custom_send(socket):
socket.send("message from mod.myfunc()")
def custom_recv(socket):
socket.recv()
def custom_measure(q):
return q.measure()
| 14.818182 | 44 | 0.687117 | 23 | 163 | 4.73913 | 0.521739 | 0.247706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171779 | 163 | 10 | 45 | 16.3 | 0.807407 | 0 | 0 | 0 | 0 | 0 | 0.153374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b042b8e6234f330e5708ecd8c7f83cb0493efcb4 | 34 | py | Python | string_between/__init__.py | sfinktah/string_between | dd6b3767050a68f9ccafd8f81eba79ecb4d0b050 | [
"MIT"
] | null | null | null | string_between/__init__.py | sfinktah/string_between | dd6b3767050a68f9ccafd8f81eba79ecb4d0b050 | [
"MIT"
] | null | null | null | string_between/__init__.py | sfinktah/string_between | dd6b3767050a68f9ccafd8f81eba79ecb4d0b050 | [
"MIT"
] | null | null | null | from .sf_string_between import *
| 11.333333 | 32 | 0.794118 | 5 | 34 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 33 | 17 | 0.862069 | 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 | 0 | 0 | 0 | 5 |
c65e50f5c05e507ac10817affaf1d4f87ca430fc | 285 | py | Python | 5. WEB/app/external_sources/places/services/places_service.py | doyaguillo1997/Data2Gether | 125e3e54060b342a473480f8cb1a913fc54f55ed | [
"MIT"
] | 1 | 2021-10-03T10:19:14.000Z | 2021-10-03T10:19:14.000Z | 5. WEB/app/external_sources/places/services/places_service.py | doyaguillo1997/Data2Gether | 125e3e54060b342a473480f8cb1a913fc54f55ed | [
"MIT"
] | null | null | null | 5. WEB/app/external_sources/places/services/places_service.py | doyaguillo1997/Data2Gether | 125e3e54060b342a473480f8cb1a913fc54f55ed | [
"MIT"
] | null | null | null | from django.contrib.gis.geos import Point
from django.contrib.gis.measure import D
from app.external_sources.places.models import GoogleElement
def get_places_in_circle(center: Point, radius: int):
return GoogleElement.objects.filter(coord__distance_lte=(center, D(km=radius)))
| 31.666667 | 83 | 0.814035 | 42 | 285 | 5.357143 | 0.690476 | 0.088889 | 0.151111 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 285 | 8 | 84 | 35.625 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
c6707e6936067b79264eef38b30a0955941543d1 | 238 | py | Python | kevin/machine_learning/dataset/face/verification/__init__.py | cantbeblank96/kevin_toolbox | a258b2a42c9b4d042decb193354ecb7419bd837c | [
"MIT"
] | null | null | null | kevin/machine_learning/dataset/face/verification/__init__.py | cantbeblank96/kevin_toolbox | a258b2a42c9b4d042decb193354ecb7419bd837c | [
"MIT"
] | null | null | null | kevin/machine_learning/dataset/face/verification/__init__.py | cantbeblank96/kevin_toolbox | a258b2a42c9b4d042decb193354ecb7419bd837c | [
"MIT"
] | null | null | null | #
from .factory import Face_Verification_DataSet_Factory as Factory
#
from .get_executor_ls import by_block
from .get_executor_ls import by_samples
#
from .build_generator import build_generator
from .build_iterator import build_iterator
| 26.444444 | 65 | 0.861345 | 35 | 238 | 5.485714 | 0.457143 | 0.072917 | 0.15625 | 0.177083 | 0.260417 | 0.260417 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105042 | 238 | 8 | 66 | 29.75 | 0.901408 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c691a0b22e205f9a91f24b16c166c95bff718863 | 199 | py | Python | relu.py | hegman12/Deep-learning-in-numpy | 1dff1793728434672f1843a3582596cbe857b03c | [
"Apache-2.0"
] | null | null | null | relu.py | hegman12/Deep-learning-in-numpy | 1dff1793728434672f1843a3582596cbe857b03c | [
"Apache-2.0"
] | null | null | null | relu.py | hegman12/Deep-learning-in-numpy | 1dff1793728434672f1843a3582596cbe857b03c | [
"Apache-2.0"
] | null | null | null | import numpy as np
def relu_forword(activations):
return np.maximum(0,activations)
def relu_backword(dout,cache):
return_value=dout
return_value[cache<=0]=0
return return_value | 19.9 | 36 | 0.733668 | 29 | 199 | 4.862069 | 0.517241 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.180905 | 199 | 10 | 37 | 19.9 | 0.846626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
05a245c63a10851b984054090d721a30aeea4cb9 | 292 | py | Python | src/modules/polynomial/__init__.py | ychnlgy/TIMIT-diarization | 1fbf410cbb643de60201d2d351f1654273885674 | [
"MIT"
] | 1 | 2021-08-19T14:28:45.000Z | 2021-08-19T14:28:45.000Z | src/modules/polynomial/__init__.py | ychnlgy/TIMIT-diarization | 1fbf410cbb643de60201d2d351f1654273885674 | [
"MIT"
] | null | null | null | src/modules/polynomial/__init__.py | ychnlgy/TIMIT-diarization | 1fbf410cbb643de60201d2d351f1654273885674 | [
"MIT"
] | 1 | 2022-03-11T07:20:06.000Z | 2022-03-11T07:20:06.000Z | from . import chebyshev
from .LagrangeBasis import LagrangeBasis
from .Activation import Activation
from .ChebyshevActivation import ChebyshevActivation
from .RegActivation import RegActivation
from .ActivationVisualizer import ActivationVisualizer
from .LinkActivation import LinkActivation
| 36.5 | 54 | 0.880137 | 27 | 292 | 9.518519 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 292 | 7 | 55 | 41.714286 | 0.973485 | 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 | 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 | 5 |
05ca79a686f0d81e06a0bce6b2a5a798f70618ac | 48 | py | Python | pythonExample/ex-27.py | jeffierw/learnPython | 5e8cab47bbbd4451252c9cd22c1b864b19e42228 | [
"MIT"
] | null | null | null | pythonExample/ex-27.py | jeffierw/learnPython | 5e8cab47bbbd4451252c9cd22c1b864b19e42228 | [
"MIT"
] | null | null | null | pythonExample/ex-27.py | jeffierw/learnPython | 5e8cab47bbbd4451252c9cd22c1b864b19e42228 | [
"MIT"
] | null | null | null | # coding: utf-8
# ex-27: 记住逻辑
# 之前学习的C学过了感觉挺简单的 | 12 | 17 | 0.6875 | 7 | 48 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.166667 | 48 | 4 | 17 | 12 | 0.75 | 0.854167 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
af09a5ac5a60e5ce75d760abae41aaa38e1be10c | 114 | py | Python | services/yelp/__init__.py | Ovakefali13/buerro | 1476f6e708f95a09a2d73f67ae8aa2cb3bb836af | [
"MIT"
] | 2 | 2020-03-26T19:20:31.000Z | 2020-03-30T13:09:07.000Z | services/yelp/__init__.py | Ovakefali13/buerro | 1476f6e708f95a09a2d73f67ae8aa2cb3bb836af | [
"MIT"
] | 51 | 2020-03-05T09:04:21.000Z | 2021-12-13T20:34:22.000Z | services/yelp/__init__.py | Ovakefali13/buerro | 1476f6e708f95a09a2d73f67ae8aa2cb3bb836af | [
"MIT"
] | null | null | null | from .yelp_service import YelpService, YelpServiceRemote, YelpServiceModule
from .yelp_request import YelpRequest
| 38 | 75 | 0.877193 | 12 | 114 | 8.166667 | 0.75 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 114 | 2 | 76 | 57 | 0.942308 | 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 | 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 | 5 |
af0e9d9164e56dd34b1cb72be2979903eb9db903 | 59 | py | Python | questions/question#6.py | seunghk1206/1-Manhattan-FullStack-Development | 315696197d67b5ed46df50b87f24f55a7209a6b0 | [
"MIT"
] | 1 | 2020-04-16T15:40:29.000Z | 2020-04-16T15:40:29.000Z | questions/question#6.py | seunghk1206/Python-basic | 315696197d67b5ed46df50b87f24f55a7209a6b0 | [
"MIT"
] | null | null | null | questions/question#6.py | seunghk1206/Python-basic | 315696197d67b5ed46df50b87f24f55a7209a6b0 | [
"MIT"
] | null | null | null | N = int(input())
if 0 < N <= 10000: print(1000*(N-1) + 666) | 29.5 | 42 | 0.542373 | 12 | 59 | 2.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0.186441 | 59 | 2 | 42 | 29.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.