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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0002a85d9b5c3cee769eff4959e22447e34527c9 | 199 | py | Python | polls_api/polls/admin.py | max-belichenko/Django-Polls-API | 36e5cae981a3d6d8da234414400416f760e19413 | [
"BSD-2-Clause"
] | null | null | null | polls_api/polls/admin.py | max-belichenko/Django-Polls-API | 36e5cae981a3d6d8da234414400416f760e19413 | [
"BSD-2-Clause"
] | null | null | null | polls_api/polls/admin.py | max-belichenko/Django-Polls-API | 36e5cae981a3d6d8da234414400416f760e19413 | [
"BSD-2-Clause"
] | null | null | null | from django.contrib import admin
from .models import Poll, Question, Choice, Answer
admin.site.register(Poll)
admin.site.register(Question)
admin.site.register(Choice)
admin.site.register(Answer)
| 19.9 | 50 | 0.80402 | 28 | 199 | 5.714286 | 0.428571 | 0.225 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090452 | 199 | 9 | 51 | 22.111111 | 0.883978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
001ae02ddcd8f9591fd10717a76fa290e66b002e | 189 | py | Python | notes.py | Daniel-mon-Goose/flask_notes_app | d2f133ff5e23e84e9dfb6444ec2628b681ab26ff | [
"MIT"
] | null | null | null | notes.py | Daniel-mon-Goose/flask_notes_app | d2f133ff5e23e84e9dfb6444ec2628b681ab26ff | [
"MIT"
] | null | null | null | notes.py | Daniel-mon-Goose/flask_notes_app | d2f133ff5e23e84e9dfb6444ec2628b681ab26ff | [
"MIT"
] | null | null | null | from app import app, db
from app.models import Note, PreviousNote
@app.shell_context_processor
def make_shell_context():
return {'db': db, 'Note': Note, 'PreviousNote': PreviousNote}
| 23.625 | 65 | 0.751323 | 26 | 189 | 5.307692 | 0.5 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137566 | 189 | 7 | 66 | 27 | 0.846626 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cca6b0044f7a5a2758506a9f087ec2598d5f4903 | 24 | py | Python | expertise/models/elmo/__init__.py | matt-gardner/openreview-expertise | 561f3bae251bdfa32acd3febd3a3b0c8ba4b2ffc | [
"MIT"
] | 12 | 2020-02-25T18:45:32.000Z | 2022-02-07T22:24:48.000Z | expertise/models/elmo/__init__.py | matt-gardner/openreview-expertise | 561f3bae251bdfa32acd3febd3a3b0c8ba4b2ffc | [
"MIT"
] | 52 | 2019-12-19T08:14:43.000Z | 2022-03-23T19:40:02.000Z | expertise/models/elmo/__init__.py | matt-gardner/openreview-expertise | 561f3bae251bdfa32acd3febd3a3b0c8ba4b2ffc | [
"MIT"
] | 3 | 2019-10-24T16:52:34.000Z | 2021-09-27T21:40:39.000Z | from .elmo import Model
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aef041544e1c194f682c9e3594dd5a9dc3449848 | 146 | py | Python | notemanager/models.py | muhammadsiraf/Maktub | eac81395a3347e567b3ba117414698230982bf0c | [
"MIT"
] | null | null | null | notemanager/models.py | muhammadsiraf/Maktub | eac81395a3347e567b3ba117414698230982bf0c | [
"MIT"
] | null | null | null | notemanager/models.py | muhammadsiraf/Maktub | eac81395a3347e567b3ba117414698230982bf0c | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractModel
# Create your models here.
class User(AbstractModel):
pass
| 20.857143 | 52 | 0.794521 | 20 | 146 | 5.8 | 0.7 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143836 | 146 | 6 | 53 | 24.333333 | 0.928 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4e2294d8e96028c757ccd37c564c08407da3dc31 | 168 | py | Python | apps/accounts/admin.py | spiperac/bctf | 136abee0b7c3f9b3dd31bb341d53e8f4c58ebea5 | [
"MIT"
] | 6 | 2019-09-13T18:12:45.000Z | 2020-07-31T19:27:53.000Z | apps/accounts/admin.py | spiperac/bctf | 136abee0b7c3f9b3dd31bb341d53e8f4c58ebea5 | [
"MIT"
] | 10 | 2020-02-12T00:12:42.000Z | 2022-03-11T23:47:06.000Z | apps/accounts/admin.py | spiperac/bctf | 136abee0b7c3f9b3dd31bb341d53e8f4c58ebea5 | [
"MIT"
] | 7 | 2019-09-13T18:12:50.000Z | 2020-10-13T22:36:10.000Z | from django.contrib import admin
from apps.accounts.models import Account
class AccountAdmin(admin.ModelAdmin):
pass
admin.site.register(Account, AccountAdmin)
| 16.8 | 42 | 0.803571 | 21 | 168 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 168 | 9 | 43 | 18.666667 | 0.918367 | 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 | 1 | 0 | 0 | 6 |
9d9c5671e9cbcbbee28160546abb188e2f6435e9 | 24 | py | Python | abr/__init__.py | rhyselsmore/abr-lookup | 5e53de05e7dd5dc23c99b153c6fd62ee999107f6 | [
"Apache-2.0"
] | null | null | null | abr/__init__.py | rhyselsmore/abr-lookup | 5e53de05e7dd5dc23c99b153c6fd62ee999107f6 | [
"Apache-2.0"
] | 14 | 2021-05-28T04:32:51.000Z | 2021-06-01T02:13:42.000Z | abr/__init__.py | rhyselsmore/abr-lookup | 5e53de05e7dd5dc23c99b153c6fd62ee999107f6 | [
"Apache-2.0"
] | null | null | null | from abr.core import app | 24 | 24 | 0.833333 | 5 | 24 | 4 | 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 | 1 | 0 | 0 | 6 |
9ddc4b42e10363942e14f601c60f31a4d088250d | 181 | py | Python | src/water_management/exceptionclass.py | viswan29/watermanagement | ba5d3215d3799c0f56ceca96d26fef71f0238891 | [
"MIT"
] | null | null | null | src/water_management/exceptionclass.py | viswan29/watermanagement | ba5d3215d3799c0f56ceca96d26fef71f0238891 | [
"MIT"
] | null | null | null | src/water_management/exceptionclass.py | viswan29/watermanagement | ba5d3215d3799c0f56ceca96d26fef71f0238891 | [
"MIT"
] | null | null | null | """
Exception class to raise exception
"""
class NotAllowed(Exception):
def __init__(self, m):
self.message = m
def __str__(self):
return self.message | 22.625 | 35 | 0.624309 | 21 | 181 | 5 | 0.571429 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270718 | 181 | 8 | 36 | 22.625 | 0.795455 | 0.187845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 | 1 | 0 | 0 | 6 |
d1f64553325a5f9b766b31e9ebe901cadcc40ca7 | 37 | py | Python | dbscan/dbscan2/__init__.py | mpHarm88/projects | 082e3ed70ce69a08938186fd627c902ced327650 | [
"MIT"
] | 2 | 2020-08-27T16:28:54.000Z | 2022-02-15T19:04:37.000Z | dbscan/dbscan2/__init__.py | levent65/projects | 05144149dd71a54cb089e463fbf43f83cf00caae | [
"MIT"
] | 2 | 2021-09-08T02:25:35.000Z | 2022-01-13T03:09:26.000Z | dbscan/dbscan2/__init__.py | levent65/projects | 05144149dd71a54cb089e463fbf43f83cf00caae | [
"MIT"
] | 1 | 2020-11-25T08:15:15.000Z | 2020-11-25T08:15:15.000Z |
from dbscan2.dbscan2 import dbscan2
| 12.333333 | 35 | 0.837838 | 5 | 37 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ae46ad20d6633fb533380052ef504a6c83d0169c | 160 | py | Python | sisa/settings.py | ramosfm/sisa | 6a546e90e6d62913810dcc5e3563a6c640e23f59 | [
"MIT"
] | null | null | null | sisa/settings.py | ramosfm/sisa | 6a546e90e6d62913810dcc5e3563a6c640e23f59 | [
"MIT"
] | null | null | null | sisa/settings.py | ramosfm/sisa | 6a546e90e6d62913810dcc5e3563a6c640e23f59 | [
"MIT"
] | null | null | null | import os
# credenciales brindadas por SISA
# cargar en local_settings
USER_SISA = os.environ.get('USER_SISA', '')
PASS_SISA = os.environ.get('PASS_SISA', '')
| 22.857143 | 43 | 0.7375 | 24 | 160 | 4.708333 | 0.583333 | 0.141593 | 0.230089 | 0.283186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 160 | 6 | 44 | 26.666667 | 0.807143 | 0.35 | 0 | 0 | 0 | 0 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
ae6b0aaffc0ddb474817fbaad11f9caed1b17583 | 44 | py | Python | ground_motions/__init__.py | mohsen-azimi/OpenSEE | 3ae4cfde93bd845f4f84073d30958ae2900baf3b | [
"MIT"
] | null | null | null | ground_motions/__init__.py | mohsen-azimi/OpenSEE | 3ae4cfde93bd845f4f84073d30958ae2900baf3b | [
"MIT"
] | null | null | null | ground_motions/__init__.py | mohsen-azimi/OpenSEE | 3ae4cfde93bd845f4f84073d30958ae2900baf3b | [
"MIT"
] | null | null | null | from ground_motions.read_peer import LoadGM
| 22 | 43 | 0.886364 | 7 | 44 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8816fa1af09f14962c816dfce474d487490eeba2 | 234 | py | Python | client/test/test_pipeline/test_dsl/test_io_types/mock_step.py | qiaoshuangshuang/PaddleFlow | 15155a553587f18b09d4edfc604cb64a1fbe01a7 | [
"Apache-2.0"
] | 23 | 2021-12-31T02:36:13.000Z | 2022-03-29T07:38:43.000Z | client/test/test_pipeline/test_dsl/test_io_types/mock_step.py | qiaoshuangshuang/PaddleFlow | 15155a553587f18b09d4edfc604cb64a1fbe01a7 | [
"Apache-2.0"
] | 10 | 2022-01-05T08:47:37.000Z | 2022-03-29T11:59:43.000Z | client/test/test_pipeline/test_dsl/test_io_types/mock_step.py | qiaoshuangshuang/PaddleFlow | 15155a553587f18b09d4edfc604cb64a1fbe01a7 | [
"Apache-2.0"
] | 19 | 2021-12-30T14:37:24.000Z | 2022-03-23T03:30:32.000Z | #!/usr/bin/env python3
""" mock paddleflow.pipeline.dsl.steps.Step
"""
class Step(object):
""" mock paddleflow.pipeline.dsl.steps.Step
"""
def __init__(self, name):
""" init
"""
self.name = name
| 18 | 47 | 0.57265 | 27 | 234 | 4.814815 | 0.592593 | 0.215385 | 0.338462 | 0.384615 | 0.523077 | 0.523077 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.25641 | 234 | 12 | 48 | 19.5 | 0.741379 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
882e78f0e3310012f687d66bf3839e17821ec3ee | 51,254 | py | Python | tests/test_documents.py | GemeenteUtrecht/gemma-drc-cmis | ea71cb3bc3c673cc1e49306ef241481db3bc9d91 | [
"MIT"
] | null | null | null | tests/test_documents.py | GemeenteUtrecht/gemma-drc-cmis | ea71cb3bc3c673cc1e49306ef241481db3bc9d91 | [
"MIT"
] | 1 | 2019-05-14T11:29:55.000Z | 2019-05-14T11:29:55.000Z | tests/test_documents.py | GemeenteUtrecht/gemma-drc-cmis | ea71cb3bc3c673cc1e49306ef241481db3bc9d91 | [
"MIT"
] | 1 | 2020-04-10T09:12:31.000Z | 2020-04-10T09:12:31.000Z | import datetime
import io
import os
import uuid
from unittest import skipIf
from unittest.mock import patch
from django.test import TestCase, override_settings, tag
from django.utils import timezone
from freezegun import freeze_time
from drc_cmis.models import CMISConfig, UrlMapping
from drc_cmis.utils.exceptions im... | 38.050483 | 183 | 0.63037 | 4,998 | 51,254 | 6.258103 | 0.072829 | 0.054671 | 0.027304 | 0.024298 | 0.88209 | 0.863802 | 0.844044 | 0.81511 | 0.802321 | 0.78074 | 0 | 0.037354 | 0.259355 | 51,254 | 1,346 | 184 | 38.078752 | 0.786597 | 0.018535 | 0 | 0.69349 | 0 | 0.025316 | 0.246679 | 0.030529 | 0 | 0 | 0 | 0.000743 | 0.148282 | 1 | 0.039783 | false | 0 | 0.026221 | 0 | 0.068716 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
884467e605b48f3d1a5167639cde1fda7346bc64 | 19,822 | py | Python | tests/unit/models_transforms.py | wijnandb/CodeCult-Scratch | 9bbbfd3b4b2f147bfac75cb1b704f08c63a11969 | [
"Apache-2.0"
] | null | null | null | tests/unit/models_transforms.py | wijnandb/CodeCult-Scratch | 9bbbfd3b4b2f147bfac75cb1b704f08c63a11969 | [
"Apache-2.0"
] | null | null | null | tests/unit/models_transforms.py | wijnandb/CodeCult-Scratch | 9bbbfd3b4b2f147bfac75cb1b704f08c63a11969 | [
"Apache-2.0"
] | 2 | 2020-09-29T17:04:18.000Z | 2021-05-13T07:07:04.000Z | # Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 41.124481 | 79 | 0.618908 | 2,218 | 19,822 | 5.288097 | 0.114968 | 0.055248 | 0.036235 | 0.049024 | 0.826498 | 0.799386 | 0.784551 | 0.752153 | 0.740387 | 0.717197 | 0 | 0.017434 | 0.259207 | 19,822 | 481 | 80 | 41.209979 | 0.781327 | 0.030875 | 0 | 0.643392 | 0 | 0 | 0.165329 | 0.0099 | 0 | 0 | 0 | 0 | 0.162095 | 1 | 0.097257 | false | 0.004988 | 0.009975 | 0.002494 | 0.119701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
889157b5fa060ee39b8a1e9e1d72b50b2bcff61b | 8,220 | py | Python | objectModel/Python/tests/cdm/projection/test_projection_fk.py | MiguelSHS/microsoftCDM | d8df31fa455fcc6afd698e3ca7ec0f8c4a6716fd | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-07-06T17:08:15.000Z | 2021-07-06T17:08:15.000Z | objectModel/Python/tests/cdm/projection/test_projection_fk.py | MiguelSHS/microsoftCDM | d8df31fa455fcc6afd698e3ca7ec0f8c4a6716fd | [
"CC-BY-4.0",
"MIT"
] | null | null | null | objectModel/Python/tests/cdm/projection/test_projection_fk.py | MiguelSHS/microsoftCDM | d8df31fa455fcc6afd698e3ca7ec0f8c4a6716fd | [
"CC-BY-4.0",
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
import os
import unittest
from typing import List
from cdm.objectmodel import CdmCorpusDefinition, CdmManifestDefinition, CdmEntityDefinition
from cdm.utilities im... | 43.036649 | 107 | 0.724818 | 986 | 8,220 | 5.624746 | 0.100406 | 0.069239 | 0.092319 | 0.049044 | 0.822214 | 0.81374 | 0.754237 | 0.734944 | 0.734944 | 0.734944 | 0 | 0 | 0.209002 | 8,220 | 190 | 108 | 43.263158 | 0.852968 | 0.023601 | 0 | 0.61745 | 0 | 0 | 0.095487 | 0.037023 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.053691 | 0 | 0.073826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
889cddf06a4bd809dc25a0d09b267c4fd36b0ae6 | 46 | py | Python | docs/source/plots/var_plot_input.py | nikhase/statsmodels | e1822d4513f442002816bb898ca5794785f35c32 | [
"BSD-3-Clause"
] | 76 | 2019-12-28T08:37:10.000Z | 2022-03-29T02:19:41.000Z | docs/source/plots/var_plot_input.py | nikhase/statsmodels | e1822d4513f442002816bb898ca5794785f35c32 | [
"BSD-3-Clause"
] | 11 | 2015-07-22T22:11:59.000Z | 2020-10-09T08:02:15.000Z | docs/source/plots/var_plot_input.py | nikhase/statsmodels | e1822d4513f442002816bb898ca5794785f35c32 | [
"BSD-3-Clause"
] | 35 | 2020-02-04T14:46:25.000Z | 2022-03-24T03:56:17.000Z | from var_plots import plot_input
plot_input()
| 15.333333 | 32 | 0.847826 | 8 | 46 | 4.5 | 0.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 33 | 23 | 0.878049 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
88adbccf953d737e527f2493f6177a48a4ca161c | 15,039 | py | Python | sdk/python/pulumi_aws_native/rds/global_cluster.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/rds/global_cluster.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/rds/global_cluster.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.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
from... | 54.48913 | 226 | 0.693264 | 1,775 | 15,039 | 5.649577 | 0.090141 | 0.049362 | 0.056841 | 0.044874 | 0.811129 | 0.77134 | 0.734144 | 0.708616 | 0.66075 | 0.602214 | 0 | 0.001456 | 0.223752 | 15,039 | 275 | 227 | 54.687273 | 0.857547 | 0.389986 | 0 | 0.417178 | 1 | 0 | 0.13839 | 0.051575 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147239 | false | 0.006135 | 0.03681 | 0 | 0.276074 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31fc9e341cf22e25a2d3ac8028de9e5d4d42263d | 7,324 | py | Python | odoo/base-addons/account/tests/test_invoice_tax_amount_by_group.py | LucasBorges-Santos/docker-odoo | 53987bbd61f6119669b5f801ee2ad54695084a21 | [
"MIT"
] | null | null | null | odoo/base-addons/account/tests/test_invoice_tax_amount_by_group.py | LucasBorges-Santos/docker-odoo | 53987bbd61f6119669b5f801ee2ad54695084a21 | [
"MIT"
] | null | null | null | odoo/base-addons/account/tests/test_invoice_tax_amount_by_group.py | LucasBorges-Santos/docker-odoo | 53987bbd61f6119669b5f801ee2ad54695084a21 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from odoo.addons.account.tests.account_test_savepoint import AccountTestInvoicingCommon
from odoo.tests import tagged
@tagged('post_install', '-at_install')
class TestInvoiceTaxAmountByGroup(AccountTestInvoicingCommon):
@classmethod
def setUpClass(cls, chart_template_ref=None):
... | 34.87619 | 87 | 0.484981 | 797 | 7,324 | 4.195734 | 0.125471 | 0.0311 | 0.050538 | 0.041866 | 0.794258 | 0.783194 | 0.770634 | 0.734151 | 0.711124 | 0.70634 | 0 | 0.068005 | 0.367559 | 7,324 | 209 | 88 | 35.043062 | 0.653929 | 0.021709 | 0 | 0.78771 | 0 | 0 | 0.202095 | 0.028911 | 0 | 0 | 0 | 0 | 0.050279 | 1 | 0.03352 | false | 0 | 0.011173 | 0 | 0.050279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ee112ffd389deec8bd08ba8117c3f200e59e284d | 132 | py | Python | userbot/clients/__init__.py | CoeF/Ayiin-Userbot | a73af54f78092ef424679295463a7cf5eccfad10 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 2 | 2022-02-22T07:54:30.000Z | 2022-03-08T01:21:32.000Z | userbot/clients/__init__.py | CoeF/Ayiin-Userbot | a73af54f78092ef424679295463a7cf5eccfad10 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/clients/__init__.py | CoeF/Ayiin-Userbot | a73af54f78092ef424679295463a7cf5eccfad10 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | from .client_list import client_id, clients_list
from .logger import ayiin_userbot_on
from .startup import ayiin_client, multiayiin
| 33 | 48 | 0.856061 | 20 | 132 | 5.35 | 0.6 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 3 | 49 | 44 | 0.90678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee2bd72f85a02bd1d5e1b7fb3ac8a16f2f7c0f63 | 9,484 | py | Python | src/confseq/predmix.py | WannabeSmith/confseq | 8c847f8915e553c9fd1a7f3f0fec8f36e2074d42 | [
"MIT"
] | 1 | 2021-07-01T03:26:11.000Z | 2021-07-01T03:26:11.000Z | src/confseq/predmix.py | WannabeSmith/confseq | 8c847f8915e553c9fd1a7f3f0fec8f36e2074d42 | [
"MIT"
] | null | null | null | src/confseq/predmix.py | WannabeSmith/confseq | 8c847f8915e553c9fd1a7f3f0fec8f36e2074d42 | [
"MIT"
] | null | null | null | import math
from typing import Callable, Sequence, Tuple, Union
import numpy as np
from confseq.betting_strategies import lambda_predmix_eb
from confseq.misc import get_running_intersection, get_ci_seq
def predmix_upper_cs(
x: Sequence[float],
v: Sequence[float],
lambdas_fn: Callable[[Sequence[float]], Se... | 27.489855 | 88 | 0.611767 | 1,211 | 9,484 | 4.657308 | 0.096614 | 0.131383 | 0.035106 | 0.050709 | 0.825177 | 0.767199 | 0.750709 | 0.712057 | 0.702128 | 0.672695 | 0 | 0.017196 | 0.282581 | 9,484 | 344 | 89 | 27.569767 | 0.811728 | 0.341944 | 0 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056122 | false | 0 | 0.02551 | 0.010204 | 0.137755 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ee3f41d4fcf91b345d7ac4c79fa386a99e535788 | 100 | py | Python | longest_sequence/dynamic_programming.py | noppanit/dynamic-programming | fd4aa808f095a325dabb721b0ce076f0161dbe61 | [
"MIT"
] | null | null | null | longest_sequence/dynamic_programming.py | noppanit/dynamic-programming | fd4aa808f095a325dabb721b0ce076f0161dbe61 | [
"MIT"
] | null | null | null | longest_sequence/dynamic_programming.py | noppanit/dynamic-programming | fd4aa808f095a325dabb721b0ce076f0161dbe61 | [
"MIT"
] | null | null | null | def longest_non_decreasing(lst):
return []
longest_non_decreasing([10, 12, 13, 8, 20, 9, 28])
| 16.666667 | 50 | 0.68 | 16 | 100 | 4 | 0.8125 | 0.3125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 0.17 | 100 | 5 | 51 | 20 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
ee90651e49ecc2eb4cd82e5d0e63725e80b28788 | 147 | py | Python | PlayStore/__init__.py | geoffduong/PlayStoreLinks_Bot | 710867fcb7df08a07fec357b9d3c424464531ae0 | [
"MIT"
] | 81 | 2015-06-01T10:05:12.000Z | 2021-11-16T13:49:10.000Z | PlayStore/__init__.py | geoffduong/PlayStoreLinks_Bot | 710867fcb7df08a07fec357b9d3c424464531ae0 | [
"MIT"
] | 13 | 2015-05-19T17:39:03.000Z | 2021-12-13T19:43:55.000Z | PlayStore/__init__.py | geoffduong/PlayStoreLinks_Bot | 710867fcb7df08a07fec357b9d3c424464531ae0 | [
"MIT"
] | 22 | 2015-11-17T00:59:08.000Z | 2020-04-19T22:37:42.000Z | from PlayStore.App import App
from PlayStore.AppNotFoundException import AppNotFoundException
from PlayStore.PlayStoreClient import PlayStoreClient | 49 | 63 | 0.904762 | 15 | 147 | 8.866667 | 0.4 | 0.293233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07483 | 147 | 3 | 64 | 49 | 0.977941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9894c541566dfad187d3f4595f29db8a26d9a08 | 12,203 | py | Python | causallearn/utils/PCUtils/BackgroundKnowledge.py | softsys4ai/causal-config-labyrinth | 4f50f9ff15429b0ac6ad0a99fbe4cfdd17e360fc | [
"MIT"
] | 15 | 2022-01-20T12:35:35.000Z | 2022-03-24T16:25:24.000Z | causallearn/utils/PCUtils/BackgroundKnowledge.py | softsys4ai/unicorn | 4f50f9ff15429b0ac6ad0a99fbe4cfdd17e360fc | [
"MIT"
] | 14 | 2022-01-23T00:20:00.000Z | 2022-02-22T01:40:43.000Z | causallearn/utils/PCUtils/BackgroundKnowledge.py | softsys4ai/causal-config-labyrinth | 4f50f9ff15429b0ac6ad0a99fbe4cfdd17e360fc | [
"MIT"
] | 1 | 2022-02-23T08:59:24.000Z | 2022-02-23T08:59:24.000Z | import re
from causallearn.graph.Node import Node
class BackgroundKnowledge(object):
def __init__(self):
self.forbidden_rules_specs = set()
self.forbidden_pattern_rules_specs = set()
self.required_rules_specs = set()
self.required_pattern_rules_specs = set()
self.tier_map ... | 38.015576 | 120 | 0.593788 | 1,499 | 12,203 | 4.650434 | 0.062708 | 0.051643 | 0.041314 | 0.061971 | 0.899727 | 0.842634 | 0.804189 | 0.771769 | 0.766891 | 0.689571 | 0 | 0.019943 | 0.313775 | 12,203 | 320 | 121 | 38.134375 | 0.812515 | 0.305663 | 0 | 0.563492 | 0 | 0 | 0.113032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119048 | false | 0 | 0.015873 | 0 | 0.293651 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9f51351b6bbbe03ffe1c19fdeeec4fc4aabf4d7 | 7,795 | py | Python | Analysis/Hugh Blakemore/.ipynb_checkpoints/project_functions-checkpoint.py | data301-2020-winter2/course-project-group_1017 | 879c7a613abb320d675b13eb25c6f5414f3270bd | [
"MIT"
] | 2 | 2021-02-08T19:43:03.000Z | 2021-02-09T00:44:23.000Z | Analysis/Hugh Blakemore/.ipynb_checkpoints/project_functions-checkpoint.py | data301-2020-winter2/course-project-group_1017 | 879c7a613abb320d675b13eb25c6f5414f3270bd | [
"MIT"
] | 1 | 2021-03-20T00:34:39.000Z | 2021-03-29T23:43:04.000Z | Analysis/Hugh Blakemore/.ipynb_checkpoints/project_functions-checkpoint.py | data301-2020-winter2/course-project-group_1017 | 879c7a613abb320d675b13eb25c6f5414f3270bd | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import os
sns.set_style("ticks")
sns.set_theme("paper")
def load_and_process(cwd):
os.chdir('../..')
os.chdir("Data/Raw")
df1 = (
pd.read_csv('medical_expenses.csv')
.rename({'children':'Dependen... | 30.810277 | 123 | 0.54304 | 984 | 7,795 | 4.239837 | 0.126016 | 0.043624 | 0.057526 | 0.064717 | 0.853787 | 0.838926 | 0.831256 | 0.808006 | 0.782598 | 0.782598 | 0 | 0.034855 | 0.227069 | 7,795 | 252 | 124 | 30.93254 | 0.657593 | 0 | 0 | 0.657658 | 0 | 0 | 0.204747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09009 | false | 0 | 0.022523 | 0 | 0.202703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a0039041c987d5ca5c0d47d17af28fdd15e3852a | 68,694 | py | Python | MaskDetector.py | inder18112000/MaskDetector | 817bf88ba0db2cc0600d71a9dbf1c07f2fbc392d | [
"Apache-2.0"
] | null | null | null | MaskDetector.py | inder18112000/MaskDetector | 817bf88ba0db2cc0600d71a9dbf1c07f2fbc392d | [
"Apache-2.0"
] | null | null | null | MaskDetector.py | inder18112000/MaskDetector | 817bf88ba0db2cc0600d71a9dbf1c07f2fbc392d | [
"Apache-2.0"
] | null | null | null |
from tkinter import *
from tkinter.messagebox import *
import connection
from tkinter.ttk import Combobox, Style, Treeview
import otp
import cv2
import PIL.Image, PIL.ImageTk
from datetime import datetime
import sms_sending
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
from matplotlib.figu... | 46.165323 | 282 | 0.516464 | 8,482 | 68,694 | 4.14348 | 0.067201 | 0.025893 | 0.032921 | 0.037985 | 0.831754 | 0.801565 | 0.766937 | 0.738768 | 0.708607 | 0.68371 | 0 | 0.051845 | 0.328646 | 68,694 | 1,487 | 283 | 46.196369 | 0.710222 | 0.048068 | 0 | 0.67013 | 0 | 0.001732 | 0.133509 | 0.011659 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05368 | false | 0.01645 | 0.009524 | 0 | 0.073593 | 0.006061 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14c95ceff2c80c1ed981e22c456fa6c58bc09c5f | 169 | py | Python | dictKDB.py | marrowgari/SallySellsSeashells | 1f977b63f2a1c7eb3bc04254566ba4f3133c10d5 | [
"MIT"
] | null | null | null | dictKDB.py | marrowgari/SallySellsSeashells | 1f977b63f2a1c7eb3bc04254566ba4f3133c10d5 | [
"MIT"
] | null | null | null | dictKDB.py | marrowgari/SallySellsSeashells | 1f977b63f2a1c7eb3bc04254566ba4f3133c10d5 | [
"MIT"
] | null | null | null | from pyq import q, K
q.set(':alpha/HDB/', q('.Q.en', ':alpha', q('([]Name:`$(); Ask:`float$(); Bid:`float$(); Last:`float$(); Volume:`float$(); Time:`timestamp$())')))
| 42.25 | 146 | 0.532544 | 25 | 169 | 3.6 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088757 | 169 | 3 | 147 | 56.333333 | 0.584416 | 0 | 0 | 0 | 0 | 0.5 | 0.704142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
14f5e2a04189de1d5b2be7881d9a7f2f174c7aa2 | 95 | py | Python | Module_1.py | chauhanmahavir/Python-Basics | c250a9eee203e1188a968ba2c60262442719fa49 | [
"MIT"
] | 1 | 2020-08-05T05:38:44.000Z | 2020-08-05T05:38:44.000Z | Module_1.py | chauhanmahavir/Python-Basics | c250a9eee203e1188a968ba2c60262442719fa49 | [
"MIT"
] | null | null | null | Module_1.py | chauhanmahavir/Python-Basics | c250a9eee203e1188a968ba2c60262442719fa49 | [
"MIT"
] | null | null | null | def epic():
print('Inside epic')
if __name__ == '__main__':
print('Inside main')
| 15.833333 | 27 | 0.578947 | 11 | 95 | 4.272727 | 0.636364 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252632 | 95 | 5 | 28 | 19 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
092c97992afe8a4904f2132c36dd2cc833204535 | 1,714 | py | Python | tools/wr_chart.py | probably-not-porter/pokedex | e9541ca2d4205996038b687046d29df525314236 | [
"MIT"
] | 12 | 2020-01-22T05:32:42.000Z | 2021-05-16T11:11:23.000Z | tools/wr_chart.py | probably-not-porter/pokedex | e9541ca2d4205996038b687046d29df525314236 | [
"MIT"
] | 7 | 2019-12-13T21:05:34.000Z | 2020-12-14T20:34:06.000Z | tools/wr_chart.py | probably-not-porter/pokedex | e9541ca2d4205996038b687046d29df525314236 | [
"MIT"
] | 2 | 2020-12-11T00:59:49.000Z | 2020-12-18T18:40:42.000Z |
# Here is my python equaivalent of a type chart.
# Normal = 0 and so forth
matrix = [
# NOR FIR WAT ELE GRA ICE FIG POI GRO FLY PSY BUG ROC GHO DRA DAR STE FAI
[ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ,0.5, 0 , 1 , 1 ,0.5, 1 ], # NOR
[ 1 ,0.5,0.5, 1 , 2 , 2 , 1 , 1 , 1 , 1 , 1 , 2 ,0.5, 1 ,0.5, 1 ... | 41.804878 | 84 | 0.322637 | 436 | 1,714 | 1.268349 | 0.082569 | 0.426763 | 0.417722 | 0.35443 | 0.678119 | 0.641953 | 0.578662 | 0.443038 | 0.301989 | 0.202532 | 0 | 0.386386 | 0.417153 | 1,714 | 41 | 85 | 41.804878 | 0.167167 | 0.127771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0930fadaf3fc8a8b6b94652a48d9f90d91c0dbc9 | 49 | py | Python | pynsive/plugin/__init__.py | jmvrbanac/pynsive | 0b50f564e5439e8f49b6dcc1e18b67a2996f02d2 | [
"MIT"
] | 5 | 2015-05-23T03:21:20.000Z | 2021-09-01T19:35:31.000Z | pynsive/plugin/__init__.py | jmvrbanac/pynsive | 0b50f564e5439e8f49b6dcc1e18b67a2996f02d2 | [
"MIT"
] | null | null | null | pynsive/plugin/__init__.py | jmvrbanac/pynsive | 0b50f564e5439e8f49b6dcc1e18b67a2996f02d2 | [
"MIT"
] | 2 | 2018-02-23T13:58:36.000Z | 2018-05-30T19:31:14.000Z | from pynsive.plugin.manager import PluginManager
| 24.5 | 48 | 0.877551 | 6 | 49 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0943ccd1d59dc1b547b4cd4e23ccf74b99a56df9 | 31 | py | Python | jsonrpc_ns/__init__.py | abitrolly/jsonrpc-ns | c4e0c18d19560caca671bc8ef1819b993693431e | [
"MIT"
] | 2 | 2015-01-06T16:40:02.000Z | 2015-12-02T10:13:30.000Z | jsonrpc_ns/__init__.py | abitrolly/jsonrpc-ns | c4e0c18d19560caca671bc8ef1819b993693431e | [
"MIT"
] | null | null | null | jsonrpc_ns/__init__.py | abitrolly/jsonrpc-ns | c4e0c18d19560caca671bc8ef1819b993693431e | [
"MIT"
] | 3 | 2015-08-11T18:28:00.000Z | 2021-04-30T14:01:01.000Z | from .jsonrpc import * # NOQA
| 15.5 | 30 | 0.677419 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 1 | 31 | 31 | 0.875 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
11abed136586ff727bf09e20ee49c9417d219711 | 20 | py | Python | assn2/Q5input.py | vardhan2000/1st-sem-python-assignments | 9f38ab2b15c36b5ae1c6a725f4d4effe026e0bb4 | [
"MIT"
] | null | null | null | assn2/Q5input.py | vardhan2000/1st-sem-python-assignments | 9f38ab2b15c36b5ae1c6a725f4d4effe026e0bb4 | [
"MIT"
] | null | null | null | assn2/Q5input.py | vardhan2000/1st-sem-python-assignments | 9f38ab2b15c36b5ae1c6a725f4d4effe026e0bb4 | [
"MIT"
] | null | null | null | l = [1,2,3,4,5]
n=2
| 6.666667 | 15 | 0.4 | 8 | 20 | 1 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0.2 | 20 | 2 | 16 | 10 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
11fc262c57fc2189d29a32f2ede11a16d880557d | 112 | py | Python | fffw/encoding/__init__.py | tumb1er/fffw | 6e0e51c22aecfdb12044ef51521857a790c1fc16 | [
"MIT"
] | 4 | 2020-10-30T03:16:57.000Z | 2021-09-13T12:55:27.000Z | fffw/encoding/__init__.py | tumb1er/fffw | 6e0e51c22aecfdb12044ef51521857a790c1fc16 | [
"MIT"
] | 108 | 2020-02-09T07:55:09.000Z | 2022-03-28T00:54:19.000Z | fffw/encoding/__init__.py | tumb1er/fffw | 6e0e51c22aecfdb12044ef51521857a790c1fc16 | [
"MIT"
] | 3 | 2020-02-09T07:51:28.000Z | 2021-02-17T16:29:19.000Z | from .codecs import *
from .ffmpeg import *
from .filters import *
from .inputs import *
from .outputs import *
| 18.666667 | 22 | 0.732143 | 15 | 112 | 5.466667 | 0.466667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 112 | 5 | 23 | 22.4 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0121e788389b892eec41783965efa683aec33abe | 208 | py | Python | hotset_customizations/hotset_customizations/doctype/stock_details/stock_details.py | promantia-ltd/hotset_erpnext_app | 3f8ad7897c17d46ebf1d1b9280932cab4d6d411d | [
"MIT"
] | null | null | null | hotset_customizations/hotset_customizations/doctype/stock_details/stock_details.py | promantia-ltd/hotset_erpnext_app | 3f8ad7897c17d46ebf1d1b9280932cab4d6d411d | [
"MIT"
] | null | null | null | hotset_customizations/hotset_customizations/doctype/stock_details/stock_details.py | promantia-ltd/hotset_erpnext_app | 3f8ad7897c17d46ebf1d1b9280932cab4d6d411d | [
"MIT"
] | 1 | 2022-02-21T14:10:32.000Z | 2022-02-21T14:10:32.000Z | # Copyright (c) 2022, hotset_customizations and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class StockDetails(Document):
pass
| 23.111111 | 60 | 0.807692 | 26 | 208 | 6.423077 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022099 | 0.129808 | 208 | 8 | 61 | 26 | 0.900552 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
018065d8ccb6e23d46a488e54df31e48a210c869 | 194 | py | Python | src/writers/__init__.py | jwpttcg66/ExcelToTransfer | 3afc0cf088f4c991bbf4dc2d6d1f395a71cbc3c7 | [
"Apache-2.0"
] | 1 | 2018-08-08T07:45:50.000Z | 2018-08-08T07:45:50.000Z | src/writers/__init__.py | jwpttcg66/ExcelToTransfer | 3afc0cf088f4c991bbf4dc2d6d1f395a71cbc3c7 | [
"Apache-2.0"
] | null | null | null | src/writers/__init__.py | jwpttcg66/ExcelToTransfer | 3afc0cf088f4c991bbf4dc2d6d1f395a71cbc3c7 | [
"Apache-2.0"
] | 1 | 2020-01-10T05:03:44.000Z | 2020-01-10T05:03:44.000Z | # -*- coding: utf-8 -*-
from base_writer import BaseWriter
from lua_writer import LuaWriter
from py_writer import PyWriter
from json_writer import JsonWriter
from java_writer import JavaWriter
| 24.25 | 34 | 0.819588 | 28 | 194 | 5.5 | 0.571429 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.134021 | 194 | 7 | 35 | 27.714286 | 0.910714 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0184bfffbd56b92737f1ba3a2c705f129746de14 | 89 | py | Python | app/talks/__init__.py | romeojulietthotel/flask-pycon2014 | bc01a357b4003b40d0cd523d91bc2f10a42417a3 | [
"MIT"
] | 105 | 2015-01-03T02:08:08.000Z | 2021-04-26T15:34:36.000Z | app/talks/__init__.py | romeojulietthotel/flask-pycon2014 | bc01a357b4003b40d0cd523d91bc2f10a42417a3 | [
"MIT"
] | 4 | 2015-04-23T15:57:02.000Z | 2016-10-26T20:01:12.000Z | app/talks/__init__.py | romeojulietthotel/flask-pycon2014 | bc01a357b4003b40d0cd523d91bc2f10a42417a3 | [
"MIT"
] | 63 | 2015-01-05T13:38:26.000Z | 2021-09-18T00:04:42.000Z | from flask import Blueprint
talks = Blueprint('talks', __name__)
from . import routes
| 12.714286 | 36 | 0.752809 | 11 | 89 | 5.727273 | 0.636364 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 6 | 37 | 14.833333 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
01895b45e069a77f416f534f935c9999a78283e5 | 67 | py | Python | src/app/training/signals/__init__.py | serious-notreally/cappa | 993a8df35ca6c3b22f3ca811937fd29c07fc71aa | [
"MIT"
] | 9 | 2020-04-05T07:35:55.000Z | 2021-08-03T05:50:05.000Z | src/app/training/signals/__init__.py | serious-notreally/cappa | 993a8df35ca6c3b22f3ca811937fd29c07fc71aa | [
"MIT"
] | 89 | 2020-01-26T11:50:06.000Z | 2022-03-31T07:14:18.000Z | src/app/training/signals/__init__.py | serious-notreally/cappa | 993a8df35ca6c3b22f3ca811937fd29c07fc71aa | [
"MIT"
] | 13 | 2020-03-10T14:45:07.000Z | 2021-07-31T02:43:40.000Z | from .course import *
from .topic import *
from .taskitem import *
| 16.75 | 23 | 0.731343 | 9 | 67 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 24 | 22.333333 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6d89860415ebeb0a31d097c2cade2c2e0d977036 | 22 | py | Python | dfainductor/__init__.py | SemBarner22/DFA-Inductor-py | 54a9321b9daa500f30addf38b5ecd5f216e03f59 | [
"MIT"
] | 23 | 2021-11-29T03:22:46.000Z | 2022-03-20T19:31:00.000Z | dfainductor/__init__.py | SemBarner22/DFA-Inductor-py | 54a9321b9daa500f30addf38b5ecd5f216e03f59 | [
"MIT"
] | 26 | 2022-02-08T12:48:52.000Z | 2022-03-28T08:58:47.000Z | dfainductor/__init__.py | SemBarner22/DFA-Inductor-py | 54a9321b9daa500f30addf38b5ecd5f216e03f59 | [
"MIT"
] | 1 | 2022-03-16T12:57:24.000Z | 2022-03-16T12:57:24.000Z | from .main import cli
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6da4eaaacbab47b06b81b93451ecaf7276ffd106 | 918 | py | Python | resources/dot_PyCharm/system/python_stubs/cache/8507689a4bb75f2ab40f8d36fa5f7cce6c4a63afca19dd9a25f108c13a5ba2c8/win32trace.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8507689a4bb75f2ab40f8d36fa5f7cce6c4a63afca19dd9a25f108c13a5ba2c8/win32trace.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8507689a4bb75f2ab40f8d36fa5f7cce6c4a63afca19dd9a25f108c13a5ba2c8/win32trace.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module win32trace
# from C:\Python27\lib\site-packages\win32\win32trace.pyd
# by generator 1.147
# no doc
# imports
from pywintypes import error
# functions
def blockingread(*args, **kwargs): # real signature unknown
pass
def flush(*args, **kwargs): # real signature unknown
pass
def Ge... | 19.531915 | 59 | 0.6939 | 116 | 918 | 5.491379 | 0.37069 | 0.172684 | 0.241758 | 0.397174 | 0.634223 | 0.634223 | 0.580848 | 0 | 0 | 0 | 0 | 0.017473 | 0.189542 | 918 | 46 | 60 | 19.956522 | 0.83871 | 0.432462 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.478261 | true | 0.478261 | 0.043478 | 0 | 0.521739 | 0.043478 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6db68b9ac86431a1a6d40e8ea71731dfe4aef6e2 | 6,785 | py | Python | djangoPharma/drugs/forms.py | thodoris/djangoPharma | 76089e67bc9940651a876d078879469127f5ac66 | [
"Apache-2.0"
] | null | null | null | djangoPharma/drugs/forms.py | thodoris/djangoPharma | 76089e67bc9940651a876d078879469127f5ac66 | [
"Apache-2.0"
] | null | null | null | djangoPharma/drugs/forms.py | thodoris/djangoPharma | 76089e67bc9940651a876d078879469127f5ac66 | [
"Apache-2.0"
] | null | null | null | from django import forms
from django.core.validators import RegexValidator
from django.forms import ModelForm
from django.utils.translation import ugettext_lazy as _
from .models import Drug, Category
class UserModelChoiceField(forms.ModelChoiceField):
# return the name instead of the object in the select option... | 45.844595 | 120 | 0.510685 | 536 | 6,785 | 6.36194 | 0.182836 | 0.058065 | 0.084457 | 0.142522 | 0.753666 | 0.753666 | 0.753666 | 0.753666 | 0.75132 | 0.717302 | 0 | 0.008429 | 0.370523 | 6,785 | 147 | 121 | 46.156463 | 0.789979 | 0.017244 | 0 | 0.776786 | 0 | 0 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026786 | false | 0 | 0.044643 | 0.008929 | 0.339286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6dd4ca2193df1204baf9c227f861c3fd246ca67e | 39 | py | Python | newdata/__init__.py | zachbateman/newdata | 10a6493aaf1e68b9f77631769f9e18d69ca3edb2 | [
"MIT"
] | null | null | null | newdata/__init__.py | zachbateman/newdata | 10a6493aaf1e68b9f77631769f9e18d69ca3edb2 | [
"MIT"
] | null | null | null | newdata/__init__.py | zachbateman/newdata | 10a6493aaf1e68b9f77631769f9e18d69ca3edb2 | [
"MIT"
] | null | null | null | from .data_creation import DataCreator
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a301553df2a40c66f83a4b27c6371f2e645a3723 | 8,914 | py | Python | anuga/file_conversion/tests/test_grd2array.py | samcom12/anuga_core | f4378114dbf02d666fe6423de45798add5c42806 | [
"Python-2.0",
"OLDAP-2.7"
] | 136 | 2015-05-07T05:47:43.000Z | 2022-02-16T03:07:40.000Z | anuga/file_conversion/tests/test_grd2array.py | samcom12/anuga_core | f4378114dbf02d666fe6423de45798add5c42806 | [
"Python-2.0",
"OLDAP-2.7"
] | 184 | 2015-05-03T09:27:54.000Z | 2021-12-20T04:22:48.000Z | anuga/file_conversion/tests/test_grd2array.py | samcom12/anuga_core | f4378114dbf02d666fe6423de45798add5c42806 | [
"Python-2.0",
"OLDAP-2.7"
] | 70 | 2015-03-18T07:35:22.000Z | 2021-11-01T07:07:29.000Z | from builtins import str
import unittest
import copy
import os
import numpy as num
from anuga.file_conversion.grd2array import grd2array
#Aux for fit_interpolate.fit example
def linear_function(point):
point = num.array(point)
return point[:,0]+3*point[:,1]
#return point[:,1... | 32.772059 | 89 | 0.509872 | 978 | 8,914 | 4.582822 | 0.241309 | 0.040607 | 0.031236 | 0.022311 | 0.7249 | 0.7249 | 0.7249 | 0.7249 | 0.7249 | 0.7249 | 0 | 0.249614 | 0.346085 | 8,914 | 271 | 90 | 32.892989 | 0.5193 | 0.206417 | 0 | 0.433333 | 0 | 0 | 0.027914 | 0 | 0 | 0 | 0 | 0 | 0.058333 | 1 | 0.033333 | false | 0 | 0.058333 | 0 | 0.116667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
097cc38f17396752a05f8d7f12ee5b90fabbdd1a | 251 | py | Python | run_model.py | wfclark5/hamlet | 172a57053f709ecb4cefde7abf51a3168b2a00e9 | [
"BSD-3-Clause"
] | 2 | 2016-07-25T19:39:41.000Z | 2019-01-07T15:33:35.000Z | run_model.py | wfclark5/hamlet | 172a57053f709ecb4cefde7abf51a3168b2a00e9 | [
"BSD-3-Clause"
] | null | null | null | run_model.py | wfclark5/hamlet | 172a57053f709ecb4cefde7abf51a3168b2a00e9 | [
"BSD-3-Clause"
] | 1 | 2019-01-07T15:34:24.000Z | 2019-01-07T15:34:24.000Z | import sys
from subprocess import call, Popen
call("python get_cyclone_members.py", shell = True)
call("python geoprocess_members.py", shell = True)
call("python drop_members.py", shell = True)
call("python exposure_summary.py", shell = True)
| 31.375 | 52 | 0.74502 | 36 | 251 | 5.055556 | 0.472222 | 0.21978 | 0.241758 | 0.296703 | 0.461538 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139442 | 251 | 7 | 53 | 35.857143 | 0.842593 | 0 | 0 | 0 | 0 | 0 | 0.430328 | 0.17623 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
09b97ee5f06582135e55dd75f583321892eebb67 | 174 | py | Python | members/admin.py | Joshua-Barawa/Django-IP3 | 74c5809d3d7d9739f0d3b093c3865795e1e71b05 | [
"PostgreSQL",
"Unlicense"
] | null | null | null | members/admin.py | Joshua-Barawa/Django-IP3 | 74c5809d3d7d9739f0d3b093c3865795e1e71b05 | [
"PostgreSQL",
"Unlicense"
] | null | null | null | members/admin.py | Joshua-Barawa/Django-IP3 | 74c5809d3d7d9739f0d3b093c3865795e1e71b05 | [
"PostgreSQL",
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Profile)
admin.site.register(Project)
admin.site.register(Prorating)
admin.site.register(Comment)
| 21.75 | 32 | 0.816092 | 24 | 174 | 5.916667 | 0.5 | 0.253521 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074713 | 174 | 7 | 33 | 24.857143 | 0.881988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
113932e9045116b2891a52648041daa009f3ce50 | 3,386 | py | Python | models/models_vgg16.py | jankova/ISIC-melanoma-classification | 42c6c9e43d2bd73b4296d470e5ccf4dcaf25c4a8 | [
"MIT"
] | null | null | null | models/models_vgg16.py | jankova/ISIC-melanoma-classification | 42c6c9e43d2bd73b4296d470e5ccf4dcaf25c4a8 | [
"MIT"
] | null | null | null | models/models_vgg16.py | jankova/ISIC-melanoma-classification | 42c6c9e43d2bd73b4296d470e5ccf4dcaf25c4a8 | [
"MIT"
] | null | null | null | import tensorflow as tf
class VGG16(tf.keras.Model):
def __init__(self, IMG_WIDTH, IMG_HEIGHT, n_meta_features):
super(VGG16, self).__init__()
# from pretrained network
self.IMG_WIDTH = IMG_WIDTH
self.IMG_HEIGHT = IMG_HEIGHT
self.IMG_SIZE = (IMG_WIDTH, IMG_HEIGHT)
... | 38.91954 | 130 | 0.596574 | 425 | 3,386 | 4.557647 | 0.176471 | 0.075891 | 0.09396 | 0.065049 | 0.883325 | 0.883325 | 0.883325 | 0.883325 | 0.838926 | 0.838926 | 0 | 0.038542 | 0.295038 | 3,386 | 86 | 131 | 39.372093 | 0.772937 | 0.111636 | 0 | 0.666667 | 0 | 0 | 0.015344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.018519 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fef36afeb5dd4c9977c2412fc9f89afba472f54d | 151 | py | Python | tests/examples-bad/classmethod1.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-06-05T08:53:26.000Z | 2020-06-05T08:53:26.000Z | tests/examples-bad/classmethod1.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-06-04T13:47:19.000Z | 2020-06-04T13:47:57.000Z | tests/examples-bad/classmethod1.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-11-07T17:02:46.000Z | 2020-11-07T17:02:46.000Z | class FooMany(object):
def __init__(self, a):
self.a = a
def foo0(self):
pass
def foo1(self, a):
self.foo0(1) ## error: too many arguments
| 15.1 | 44 | 0.642384 | 25 | 151 | 3.72 | 0.6 | 0.16129 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0.211921 | 151 | 9 | 45 | 16.777778 | 0.747899 | 0.165563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
3a4c205ebe7fa355730be0658fb32da19d492630 | 3,603 | py | Python | tests/module/test_datafiles_upload.py | onekiloparsec/arcsecond.python | e4b22bf055c7f089ca9f0d6c4bda6314350878e0 | [
"MIT"
] | 7 | 2018-08-29T15:31:25.000Z | 2022-01-08T14:08:39.000Z | tests/module/test_datafiles_upload.py | onekiloparsec/arcsecond-python | e4b22bf055c7f089ca9f0d6c4bda6314350878e0 | [
"MIT"
] | 2 | 2018-10-21T07:42:26.000Z | 2020-02-24T10:11:22.000Z | tests/module/test_datafiles_upload.py | onekiloparsec/arcsecond-python | e4b22bf055c7f089ca9f0d6c4bda6314350878e0 | [
"MIT"
] | null | null | null | import os
import time
import uuid
import httpretty
from click.testing import CliRunner
from arcsecond import ArcsecondAPI
from arcsecond.api.constants import ARCSECOND_API_URL_DEV
from tests.utils import make_successful_login
has_callback_been_called = False
@httpretty.activate
def test_datafiles_upload_file_threa... | 33.055046 | 92 | 0.710519 | 455 | 3,603 | 5.38022 | 0.237363 | 0.040441 | 0.055147 | 0.077206 | 0.79902 | 0.788399 | 0.788399 | 0.712827 | 0.712827 | 0.69281 | 0 | 0.006158 | 0.188732 | 3,603 | 108 | 93 | 33.361111 | 0.831338 | 0.085762 | 0 | 0.707317 | 0 | 0 | 0.090411 | 0.035312 | 0 | 0 | 0 | 0 | 0.097561 | 1 | 0.060976 | false | 0.02439 | 0.097561 | 0 | 0.158537 | 0.04878 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e909c393c9fb1658165552d9d2494df2de92f2a1 | 8,028 | py | Python | tests/test_report.py | sr-murthy/oedtools | f38d7bef1ffb094b09e779db5b741e63926d2d1e | [
"BSD-3-Clause"
] | 4 | 2019-10-25T04:42:51.000Z | 2021-11-14T13:58:56.000Z | tests/test_report.py | sr-murthy/oedtools | f38d7bef1ffb094b09e779db5b741e63926d2d1e | [
"BSD-3-Clause"
] | 24 | 2019-08-31T14:30:56.000Z | 2020-05-19T11:23:50.000Z | tests/test_report.py | sr-murthy/oedtools | f38d7bef1ffb094b09e779db5b741e63926d2d1e | [
"BSD-3-Clause"
] | 3 | 2019-10-25T04:43:21.000Z | 2019-12-10T01:38:03.000Z | import os
import re
import string
from itertools import (
chain,
product,
)
from random import shuffle
from tempfile import NamedTemporaryFile
from unittest import TestCase
import numpy as np
import pandas as pd
import pytest
from hypothesis import (
given,
settings,
)
from hypothesis.strategies impo... | 37.867925 | 143 | 0.670279 | 1,074 | 8,028 | 4.674115 | 0.126629 | 0.099602 | 0.045418 | 0.05498 | 0.877888 | 0.849004 | 0.832669 | 0.832669 | 0.831076 | 0.828088 | 0 | 0.006428 | 0.224838 | 8,028 | 211 | 144 | 38.047393 | 0.800257 | 0 | 0 | 0.548571 | 0 | 0 | 0.020429 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.057143 | false | 0 | 0.091429 | 0 | 0.154286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9316e2ef8174db7d83852fa8c16057e40c386c0 | 197 | py | Python | cmdb/templatetags/mytags.py | wqqsukida/ops_server | 3e108fae895ae42a3771f37da87c24612540d966 | [
"Apache-2.0"
] | null | null | null | cmdb/templatetags/mytags.py | wqqsukida/ops_server | 3e108fae895ae42a3771f37da87c24612540d966 | [
"Apache-2.0"
] | 8 | 2020-06-05T19:37:09.000Z | 2021-12-13T19:52:45.000Z | cmdb/templatetags/mytags.py | wqqsukida/ops_server | 3e108fae895ae42a3771f37da87c24612540d966 | [
"Apache-2.0"
] | 1 | 2020-04-26T13:02:23.000Z | 2020-04-26T13:02:23.000Z | from django import template
register = template.Library()
@register.filter
def get_int(s):
s = s.replace(',','')
return int(s)
@register.filter
def del_end(s):
return s.split(' ')[0] | 16.416667 | 29 | 0.654822 | 29 | 197 | 4.37931 | 0.586207 | 0.220472 | 0.267717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.177665 | 197 | 12 | 30 | 16.416667 | 0.777778 | 0 | 0 | 0.222222 | 0 | 0 | 0.010101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 6 |
3a64a1a94c5ac66590226b9868276e36941c54e1 | 248 | py | Python | OPMxplore/tests/context.py | UWSEDS-aut17/pdb-search | d1aca87dd6b170de0542c8c8fe12aff17c5b60ba | [
"MIT"
] | null | null | null | OPMxplore/tests/context.py | UWSEDS-aut17/pdb-search | d1aca87dd6b170de0542c8c8fe12aff17c5b60ba | [
"MIT"
] | 3 | 2017-11-16T05:06:39.000Z | 2017-11-17T07:31:40.000Z | OPMxplore/tests/context.py | UWSEDS-aut17/uwseds-group-pdb-search-and-analysis | d1aca87dd6b170de0542c8c8fe12aff17c5b60ba | [
"MIT"
] | 1 | 2019-11-22T19:21:31.000Z | 2019-11-22T19:21:31.000Z | import os
import sys
sys.path.insert(0, os.path.abspath(
os.path.join(
os.path.dirname(
os.path.dirname(
__file__)), '..')))
import OPMxplore.OPMxplore | 27.555556 | 43 | 0.451613 | 24 | 248 | 4.5 | 0.458333 | 0.222222 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.439516 | 248 | 9 | 44 | 27.555556 | 0.769784 | 0 | 0 | 0.25 | 0 | 0 | 0.008032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3ab8d75caf1f805d0cdebb202f36e2742ec70b11 | 9,209 | py | Python | premade_modules/2.80/e5e885d0ecb9430a73e0a904cdb6035a2ef77e98/bpy/ops/font.py | echantry/fake-bpy-module | 004cdf198841e639b7d9a4c4db95ca1c0d3aa2c7 | [
"MIT"
] | null | null | null | premade_modules/2.80/e5e885d0ecb9430a73e0a904cdb6035a2ef77e98/bpy/ops/font.py | echantry/fake-bpy-module | 004cdf198841e639b7d9a4c4db95ca1c0d3aa2c7 | [
"MIT"
] | null | null | null | premade_modules/2.80/e5e885d0ecb9430a73e0a904cdb6035a2ef77e98/bpy/ops/font.py | echantry/fake-bpy-module | 004cdf198841e639b7d9a4c4db95ca1c0d3aa2c7 | [
"MIT"
] | null | null | null | def case_set(case='LOWER'):
'''Set font case
:param case: Case, Lower or upper case
:type case: enum in ['LOWER', 'UPPER'], (optional)
'''
pass
def case_toggle():
'''Toggle font case
'''
pass
def change_character(delta=1):
'''Change font character code
:param delta: ... | 32.199301 | 298 | 0.662938 | 1,161 | 9,209 | 5.096469 | 0.13006 | 0.070306 | 0.091262 | 0.105459 | 0.746155 | 0.726551 | 0.726551 | 0.715058 | 0.690384 | 0.690384 | 0 | 0.002868 | 0.242806 | 9,209 | 285 | 299 | 32.312281 | 0.845691 | 0.711695 | 0 | 0.657534 | 0 | 0 | 0.045002 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.273973 | false | 0.273973 | 0 | 0 | 0.273973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3ac082b601f9101b2b9c2fb7e4e01b4097d1852e | 302 | py | Python | src/UQpy/inference/inference_models/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/inference/inference_models/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/inference/inference_models/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | from UQpy.inference.inference_models.baseclass import *
from UQpy.inference.inference_models.ComputationalModel import ComputationalModel
from UQpy.inference.inference_models.DistributionModel import DistributionModel
from UQpy.inference.inference_models.LogLikelihoodModel import LogLikelihoodModel
| 43.142857 | 81 | 0.897351 | 31 | 302 | 8.612903 | 0.290323 | 0.11985 | 0.254682 | 0.389513 | 0.479401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059603 | 302 | 6 | 82 | 50.333333 | 0.940141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3af57ea02d812e1e5669983ca62df939cfdb919a | 2,695 | py | Python | actions/create_remind.py | dmakeienko/remind_me_bot | 54c49abe4dc7674c02cf01390fb6f1551e951b07 | [
"Apache-2.0"
] | 13 | 2020-01-19T18:27:29.000Z | 2022-02-07T21:15:24.000Z | actions/create_remind.py | dmakeienko/remind_me_bot | 54c49abe4dc7674c02cf01390fb6f1551e951b07 | [
"Apache-2.0"
] | 14 | 2020-06-16T07:18:11.000Z | 2020-07-10T09:04:24.000Z | actions/create_remind.py | dmakeienko/remind_me_bot | 54c49abe4dc7674c02cf01390fb6f1551e951b07 | [
"Apache-2.0"
] | 6 | 2019-12-18T05:23:36.000Z | 2021-09-20T20:56:08.000Z | from db.database import create
import datetime
def create_remind(bot, update, args):
user_chat_id = update.message.chat_id
try:
user_message = ' '.join(args).split(" ", 2)
time_remind = user_message[0] + " " + user_message[1]
reminder_text = user_message[2]
remind = "Y... | 47.280702 | 124 | 0.671614 | 407 | 2,695 | 4.257985 | 0.167076 | 0.107328 | 0.098096 | 0.127525 | 0.854587 | 0.830929 | 0.830929 | 0.814195 | 0.814195 | 0.814195 | 0 | 0.006098 | 0.208905 | 2,695 | 56 | 125 | 48.125 | 0.797842 | 0 | 0 | 0.638298 | 0 | 0 | 0.135486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.042553 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aafc55b82a65cb9e5fc123ec90433b6d075c740d | 108 | py | Python | satellite/db/models/__init__.py | aslepakurov/vgs-satellite | 9865a51a88987a32ea0ef89e7c39d2acea5f039a | [
"Apache-2.0"
] | 15 | 2020-06-03T07:31:22.000Z | 2021-11-03T19:30:47.000Z | satellite/db/models/__init__.py | aslepakurov/vgs-satellite | 9865a51a88987a32ea0ef89e7c39d2acea5f039a | [
"Apache-2.0"
] | 55 | 2020-07-14T23:51:02.000Z | 2022-03-25T19:12:02.000Z | satellite/db/models/__init__.py | aslepakurov/vgs-satellite | 9865a51a88987a32ea0ef89e7c39d2acea5f039a | [
"Apache-2.0"
] | 17 | 2020-03-23T23:12:43.000Z | 2022-02-19T15:46:21.000Z | from .alias import Alias # noqa
from .base import Base # noqa
from .route import Route, RuleEntry # noqa
| 27 | 43 | 0.731481 | 16 | 108 | 4.9375 | 0.4375 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 108 | 3 | 44 | 36 | 0.918605 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9056c2849aa482963520c9a0d858631851f5649 | 140 | py | Python | bittrex_ws/_exceptions.py | r3bers/bittrex-ws-v3 | 54c5522fca230a71525eb2c53645d1ac2fa54adc | [
"MIT"
] | null | null | null | bittrex_ws/_exceptions.py | r3bers/bittrex-ws-v3 | 54c5522fca230a71525eb2c53645d1ac2fa54adc | [
"MIT"
] | 1 | 2021-05-27T06:00:47.000Z | 2021-05-27T06:00:47.000Z | bittrex_ws/_exceptions.py | r3bers/bittrex-ws-v3 | 54c5522fca230a71525eb2c53645d1ac2fa54adc | [
"MIT"
] | 1 | 2021-07-31T03:35:20.000Z | 2021-07-31T03:35:20.000Z | #!/usr/bin/env python
from websockets.exceptions import ConnectionClosed, InvalidStatusCode
from requests.exceptions import ConnectionError
| 35 | 69 | 0.864286 | 15 | 140 | 8.066667 | 0.8 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 140 | 3 | 70 | 46.666667 | 0.937985 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c92a48c4bfb6c22c4545c383aacf796a47e1e2f5 | 29,674 | py | Python | freshman01/example/feature/extract_feture.py | hooloong/aliyunProblems | 077d115535fe54e47e59a0d96676b3995bbda75e | [
"MIT"
] | null | null | null | freshman01/example/feature/extract_feture.py | hooloong/aliyunProblems | 077d115535fe54e47e59a0d96676b3995bbda75e | [
"MIT"
] | null | null | null | freshman01/example/feature/extract_feture.py | hooloong/aliyunProblems | 077d115535fe54e47e59a0d96676b3995bbda75e | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import datetime
import sys
import time
import xgboost as xgb
from add_feture import *
FEATURE_EXTRACTION_SLOT = 10
LabelDay = datetime.datetime(2014,12,18,0,0,0)
Data = pd.read_csv("../../../../data/fresh_comp_offline/drop1112_sub_item.csv")
Data['daystime'] = Data['days'].map(lam... | 60.435845 | 161 | 0.725315 | 4,296 | 29,674 | 4.717644 | 0.054004 | 0.042631 | 0.084966 | 0.072236 | 0.854147 | 0.835249 | 0.812947 | 0.776139 | 0.751961 | 0.736567 | 0 | 0.032272 | 0.122835 | 29,674 | 491 | 162 | 60.435845 | 0.74636 | 0.125497 | 0 | 0.435616 | 0 | 0 | 0.064255 | 0.004234 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019178 | false | 0 | 0.019178 | 0 | 0.057534 | 0.005479 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a30f956230a247de8e49f05f00e69b33332ae54b | 12,779 | py | Python | run_models.py | GU-DataLab/topic-modeling-topic-noise-models | b9f3082bee1a9bbee10d5a3459ac445c5d68a39a | [
"MIT"
] | 3 | 2021-12-08T03:57:23.000Z | 2022-01-12T08:13:58.000Z | run_models.py | GU-DataLab/topic-modeling-topic-noise-models | b9f3082bee1a9bbee10d5a3459ac445c5d68a39a | [
"MIT"
] | null | null | null | run_models.py | GU-DataLab/topic-modeling-topic-noise-models | b9f3082bee1a9bbee10d5a3459ac445c5d68a39a | [
"MIT"
] | 1 | 2022-01-12T08:14:03.000Z | 2022-01-12T08:14:03.000Z | import os
import math
import random
from gensim import corpora
from gensim.models import FastText
from gensim.models.fasttext import save_facebook_model
from settings.common import save_topics, load_flat_dataset
from tm_pipeline.tndmallet import TndMallet
from tm_pipeline.ldamallet import LdaMallet
from tm_pipeline.etn... | 44.996479 | 177 | 0.593395 | 1,636 | 12,779 | 4.382029 | 0.110024 | 0.055238 | 0.040312 | 0.056912 | 0.814758 | 0.803459 | 0.778351 | 0.726043 | 0.704561 | 0.680151 | 0 | 0.036072 | 0.288442 | 12,779 | 283 | 178 | 45.155477 | 0.752337 | 0.107598 | 0 | 0.626168 | 0 | 0 | 0.041726 | 0.022768 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028037 | false | 0 | 0.046729 | 0 | 0.093458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a37889c07185db2a393324bfa30d47cdbcdefd90 | 17,648 | py | Python | main.py | R-Sanek/kuna_trader | 02d7331f5788488c7c47db05b1b79637627b5e07 | [
"MIT"
] | 1 | 2021-10-03T06:51:16.000Z | 2021-10-03T06:51:16.000Z | main.py | RezOleksandr/kuna_trader | 02d7331f5788488c7c47db05b1b79637627b5e07 | [
"MIT"
] | null | null | null | main.py | RezOleksandr/kuna_trader | 02d7331f5788488c7c47db05b1b79637627b5e07 | [
"MIT"
] | null | null | null | import requests
import json
import kuna.kuna as kuna
from time import *
# Курсы валют предоставлены https://www.minfin.com.ua/currency/ и https://api.privatbank.ua
print("Курсы валют предоставлены https://www.minfin.com.ua/currency/ и https://api.privatbank.ua\n")
config = json.load(open(r'build\config.json... | 55.671924 | 177 | 0.600465 | 2,230 | 17,648 | 4.535874 | 0.086996 | 0.015818 | 0.017795 | 0.028473 | 0.821354 | 0.783984 | 0.745526 | 0.717845 | 0.717845 | 0.690954 | 0 | 0.024359 | 0.285868 | 17,648 | 316 | 178 | 55.848101 | 0.778227 | 0.005043 | 0 | 0.638298 | 0 | 0.06383 | 0.246621 | 0.028711 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007092 | false | 0 | 0.014184 | 0 | 0.070922 | 0.113475 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6e81203308dfbfecffe393831e7b9b3c4dd1c1b1 | 41 | py | Python | src/autograph/services/__init__.py | RobetSlovev39/AutoGraph | c8bdb358b95143ab0d8c6f7c475a6c21f7a76b95 | [
"MIT"
] | null | null | null | src/autograph/services/__init__.py | RobetSlovev39/AutoGraph | c8bdb358b95143ab0d8c6f7c475a6c21f7a76b95 | [
"MIT"
] | null | null | null | src/autograph/services/__init__.py | RobetSlovev39/AutoGraph | c8bdb358b95143ab0d8c6f7c475a6c21f7a76b95 | [
"MIT"
] | null | null | null | from .autograph import autograph_session
| 20.5 | 40 | 0.878049 | 5 | 41 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e97be7be5f4b7b954c681ae7840bcadb8e00f20 | 94 | py | Python | pytorch_widedeep/bayesian_models/bayesian_nn/modules/__init__.py | TangleSpace/pytorch-widedeep | ccc55a15c1b3205ffc8c054abc5cd25cba9ccdff | [
"MIT"
] | null | null | null | pytorch_widedeep/bayesian_models/bayesian_nn/modules/__init__.py | TangleSpace/pytorch-widedeep | ccc55a15c1b3205ffc8c054abc5cd25cba9ccdff | [
"MIT"
] | null | null | null | pytorch_widedeep/bayesian_models/bayesian_nn/modules/__init__.py | TangleSpace/pytorch-widedeep | ccc55a15c1b3205ffc8c054abc5cd25cba9ccdff | [
"MIT"
] | null | null | null | from .bayesian_linear import BayesianLinear
from .bayesian_embedding import BayesianEmbedding
| 31.333333 | 49 | 0.893617 | 10 | 94 | 8.2 | 0.7 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 2 | 50 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ed115435625a0992e47240cde6ea73ba3e83f55 | 1,964 | py | Python | tests/test_serialization/test_bytes.py | Zapix/mtpylon | b268a4e2d1bc641cace1962ea68de73c1156e44c | [
"MIT"
] | 9 | 2021-11-10T08:53:51.000Z | 2021-12-15T12:03:44.000Z | tests/test_serialization/test_bytes.py | Zapix/mtpylon | b268a4e2d1bc641cace1962ea68de73c1156e44c | [
"MIT"
] | 123 | 2020-10-22T07:08:20.000Z | 2021-09-29T15:26:22.000Z | tests/test_serialization/test_bytes.py | Zapix/mtpylon | b268a4e2d1bc641cace1962ea68de73c1156e44c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from mtpylon.serialization.bytes import load, dump
def test_dump_short_string():
value = b'\x01\x02\x03\x04'
dumped = b'\x04\x01\x02\x03\x04\x00\x00\x00'
assert dump(value) == dumped
def test_dump_short_13_string():
value = b'\x01\x02\x03\x04\x05\x06\x07\x08\x... | 23.95122 | 75 | 0.639002 | 321 | 1,964 | 3.788162 | 0.174455 | 0.049342 | 0.059211 | 0.078947 | 0.875 | 0.840461 | 0.840461 | 0.840461 | 0.840461 | 0.791118 | 0 | 0.14899 | 0.193483 | 1,964 | 81 | 76 | 24.246914 | 0.618687 | 0.010692 | 0 | 0.612245 | 0 | 0.081633 | 0.226687 | 0.152499 | 0 | 0 | 0 | 0 | 0.244898 | 1 | 0.183673 | false | 0 | 0.040816 | 0 | 0.22449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6e3d4bcf53cacfb54e17ce2fce0bd1b71de406be | 19 | py | Python | tnt/__init__.py | BigFishMaster/tnt | 8b80bb3b194eb87ac18924428ef0924c2fb263c5 | [
"BSD-3-Clause"
] | 22 | 2018-12-04T05:46:57.000Z | 2022-02-09T11:44:28.000Z | tnt/__init__.py | BigFishMaster/tnt | 8b80bb3b194eb87ac18924428ef0924c2fb263c5 | [
"BSD-3-Clause"
] | 5 | 2021-03-19T11:49:52.000Z | 2022-03-12T00:21:18.000Z | tnt/__init__.py | BigFishMaster/tnt | 8b80bb3b194eb87ac18924428ef0924c2fb263c5 | [
"BSD-3-Clause"
] | 9 | 2018-11-01T05:56:04.000Z | 2021-08-12T14:32:21.000Z | from . import opts
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2817102570434b9416e784b620c7c12eb1934337 | 109 | py | Python | Engine/src/algorithms/__init__.py | xapharius/HadoopML | c0129f298007ca89b538eb1a3800f991141ba361 | [
"MIT"
] | 2 | 2018-02-05T12:41:31.000Z | 2018-11-23T04:13:13.000Z | Engine/src/algorithms/__init__.py | xapharius/HadoopML | c0129f298007ca89b538eb1a3800f991141ba361 | [
"MIT"
] | null | null | null | Engine/src/algorithms/__init__.py | xapharius/HadoopML | c0129f298007ca89b538eb1a3800f991141ba361 | [
"MIT"
] | null | null | null | from AbstractAlgorithm import AbstractAlgorithm
from AbstractAlgorithmFactory import AbstractAlgorithmFactory | 54.5 | 61 | 0.93578 | 8 | 109 | 12.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 109 | 2 | 61 | 54.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
28241e76069a5458cdaf0589916b92364f2b4fc8 | 101 | py | Python | api/app/books/__init__.py | yunfei07/vue-flask-in-action | 8695f9a252bb3e2136609f421e02a0d3f01c0e58 | [
"MIT"
] | 1 | 2021-11-13T15:54:43.000Z | 2021-11-13T15:54:43.000Z | api/app/books/__init__.py | yunfei07/vue-flask-in-action | 8695f9a252bb3e2136609f421e02a0d3f01c0e58 | [
"MIT"
] | null | null | null | api/app/books/__init__.py | yunfei07/vue-flask-in-action | 8695f9a252bb3e2136609f421e02a0d3f01c0e58 | [
"MIT"
] | 1 | 2021-11-13T00:57:20.000Z | 2021-11-13T00:57:20.000Z | from flask import Blueprint
books_bp = Blueprint('books_bp',__name__)
from app.books import routes
| 16.833333 | 41 | 0.80198 | 15 | 101 | 5 | 0.6 | 0.373333 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 5 | 42 | 20.2 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
283bd914657d89ba16e5aed006a35a9ce7c882b6 | 21,533 | py | Python | tests/test_capacity.py | eng-tools/geofound | b59e720cc0ca62c2999adca27cd66c45ae000828 | [
"MIT"
] | 12 | 2017-12-16T10:15:57.000Z | 2022-01-23T03:55:59.000Z | tests/test_capacity.py | eng-tools/geofound | b59e720cc0ca62c2999adca27cd66c45ae000828 | [
"MIT"
] | 2 | 2018-01-29T16:28:38.000Z | 2021-04-20T22:50:46.000Z | tests/test_capacity.py | eng-tools/geofound | b59e720cc0ca62c2999adca27cd66c45ae000828 | [
"MIT"
] | 9 | 2018-02-09T17:20:55.000Z | 2021-11-09T02:15:16.000Z | import geofound
import numpy as np
from geofound import models
def test_vesics():
"""
values from: Gunaratne, Manjriker. 2006. "Spread Footings: Analysis and Design."
"""
length = 2
width = 2
depth = 1
phi = 35
cohesion = 0
unit_dry_weight = 17
sl = geofound.create_soil(phi, co... | 35.650662 | 114 | 0.684902 | 3,583 | 21,533 | 3.857103 | 0.086241 | 0.022576 | 0.068669 | 0.061505 | 0.844573 | 0.827062 | 0.79631 | 0.774096 | 0.759696 | 0.706151 | 0 | 0.095417 | 0.20861 | 21,533 | 603 | 115 | 35.709784 | 0.715568 | 0.175823 | 0 | 0.631068 | 0 | 0 | 0.001033 | 0 | 0 | 0 | 0 | 0 | 0.148058 | 1 | 0.055825 | false | 0 | 0.007282 | 0 | 0.063107 | 0.007282 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
955177c86dcfd2055e236862f6459af564fb94f7 | 351 | py | Python | test.py | npq7721/gr_hash | a73a6554202d8aea5b4db23b92fa453e7751c833 | [
"MIT"
] | 2 | 2021-03-14T13:18:31.000Z | 2021-11-18T17:21:30.000Z | test.py | npq7721/gr_hash | a73a6554202d8aea5b4db23b92fa453e7751c833 | [
"MIT"
] | null | null | null | test.py | npq7721/gr_hash | a73a6554202d8aea5b4db23b92fa453e7751c833 | [
"MIT"
] | 4 | 2021-09-23T11:56:27.000Z | 2022-02-10T23:35:26.000Z | import gr_hash
import weakref
import binascii
import StringIO
from binascii import unhexlify
teststart = '700000005d385ba114d079970b29a9418fd0549e7d68a95c7f168621a314201000000000578586d149fd07b22f3a8a347c516de7052f034d2b76ff68e0d6ecff9b77a45489e3fd511732011df0731000';
testbin = unhexlify(teststart)
hash_bin ... | 31.909091 | 176 | 0.874644 | 24 | 351 | 12.666667 | 0.541667 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371069 | 0.094017 | 351 | 10 | 177 | 35.1 | 0.584906 | 0 | 0 | 0 | 0 | 0 | 0.469208 | 0.469208 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
95ac3dd4e9c61bc46bd418351230b1a7a526311c | 63 | py | Python | Classifier/__init__.py | T0nyX1ang/Classifier | f4719b10943f09be7d9ea95dc5481e48caa51fa2 | [
"MIT"
] | null | null | null | Classifier/__init__.py | T0nyX1ang/Classifier | f4719b10943f09be7d9ea95dc5481e48caa51fa2 | [
"MIT"
] | null | null | null | Classifier/__init__.py | T0nyX1ang/Classifier | f4719b10943f09be7d9ea95dc5481e48caa51fa2 | [
"MIT"
] | null | null | null | from . import config
from . import classify
from . import merge | 21 | 22 | 0.777778 | 9 | 63 | 5.444444 | 0.555556 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 23 | 21 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
95c11a57b214c0eb7d0a45790c2fa08cccfd57bf | 60 | py | Python | org/apache/helix/package-info.py | davzhang/helix-python-binding | 11a9ecf730bce07720e0b0bcf7f0ec1cd2b25878 | [
"Apache-2.0"
] | 3 | 2015-04-08T22:51:04.000Z | 2015-05-03T06:42:35.000Z | org/apache/helix/package-info.py | zzhang5/helix-python-binding | 11a9ecf730bce07720e0b0bcf7f0ec1cd2b25878 | [
"Apache-2.0"
] | null | null | null | org/apache/helix/package-info.py | zzhang5/helix-python-binding | 11a9ecf730bce07720e0b0bcf7f0ec1cd2b25878 | [
"Apache-2.0"
] | 1 | 2020-03-31T21:43:01.000Z | 2020-03-31T21:43:01.000Z | # package org.apache.helix
#from org.apache.helix import *
| 15 | 31 | 0.75 | 9 | 60 | 5 | 0.666667 | 0.4 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 3 | 32 | 20 | 0.865385 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
252b310414dfcec51e95ebabbd22c06cd1f1f7c5 | 4,969 | py | Python | userbot/plugins/troll.py | Marshmellow098/AK-CRAZY-TECH-BOT | 66b6f57810447b31bb81d675bd1fd5a58740ceb6 | [
"MIT"
] | null | null | null | userbot/plugins/troll.py | Marshmellow098/AK-CRAZY-TECH-BOT | 66b6f57810447b31bb81d675bd1fd5a58740ceb6 | [
"MIT"
] | null | null | null | userbot/plugins/troll.py | Marshmellow098/AK-CRAZY-TECH-BOT | 66b6f57810447b31bb81d675bd1fd5a58740ceb6 | [
"MIT"
] | null | null | null | """
Created by @Jisan7509
plugin for Cat_Userbot
☝☝☝
You remove this, you gay.
"""
from telethon import events
from telethon.errors.rpcerrorlist import YouBlockedUserError
from userbot import CMD_HELP, bot
from userbot.utils import admin_cmd
@bot.on(admin_cmd(pattern="fox ?(.*)", outgoing=True))
async def _(event):... | 34.268966 | 76 | 0.603743 | 600 | 4,969 | 4.916667 | 0.168333 | 0.050847 | 0.054237 | 0.067797 | 0.823051 | 0.802034 | 0.776271 | 0.761356 | 0.745763 | 0.745763 | 0 | 0.014774 | 0.26444 | 4,969 | 144 | 77 | 34.506944 | 0.787415 | 0.014892 | 0 | 0.637097 | 0 | 0 | 0.113567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.112903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
257072f815a0c657fc29e50979b18dcdbb412cca | 20 | py | Python | src/test/resources/input/tree/lambda.py | benoit-maillard/scallion-python-parser | be7483d9d47aaa4b80523a0e67df6f566c5ca36b | [
"Apache-2.0"
] | 2 | 2020-02-27T14:02:24.000Z | 2020-03-27T13:07:02.000Z | src/test/resources/input/tree/lambda.py | benoit-maillard/scallion-python-parser | be7483d9d47aaa4b80523a0e67df6f566c5ca36b | [
"Apache-2.0"
] | null | null | null | src/test/resources/input/tree/lambda.py | benoit-maillard/scallion-python-parser | be7483d9d47aaa4b80523a0e67df6f566c5ca36b | [
"Apache-2.0"
] | null | null | null | lambda x, y=0: x + y | 20 | 20 | 0.55 | 6 | 20 | 1.833333 | 0.666667 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.25 | 20 | 1 | 20 | 20 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 6 |
c29039630586ba9adcbfec07aae2fa64e6ad8f9a | 119 | py | Python | python/testData/inspections/PyProtectedMemberInspection/ImportFromTheSamePackage/my_package/my_public_module.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyProtectedMemberInspection/ImportFromTheSamePackage/my_package/my_public_module.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyProtectedMemberInspection/ImportFromTheSamePackage/my_package/my_public_module.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from my_package import _package_internal_module # False positive here
_package_internal_module.very_smart_func("spam") | 39.666667 | 69 | 0.87395 | 17 | 119 | 5.588235 | 0.764706 | 0.315789 | 0.442105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 119 | 3 | 70 | 39.666667 | 0.863636 | 0.159664 | 0 | 0 | 0 | 0 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6c4f49490a1f0c14c25c6a9277faaa7ab4dfad89 | 33 | py | Python | maps/streambed/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/streambed/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/streambed/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | from .streambed import Streambed
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c629166d7067f0c62fb31ab0d468417d4c40289 | 91 | py | Python | flask_ember/resource.py | fr3akout/flask_ember | f3b3e28011571b8b58888be4fda4f42af0d4015c | [
"BSD-3-Clause"
] | null | null | null | flask_ember/resource.py | fr3akout/flask_ember | f3b3e28011571b8b58888be4fda4f42af0d4015c | [
"BSD-3-Clause"
] | null | null | null | flask_ember/resource.py | fr3akout/flask_ember | f3b3e28011571b8b58888be4fda4f42af0d4015c | [
"BSD-3-Clause"
] | null | null | null | from .resource_meta import ResourceMeta
class Resource(metaclass=ResourceMeta):
pass
| 15.166667 | 39 | 0.802198 | 10 | 91 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 91 | 5 | 40 | 18.2 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
66882a9dd8a5dd39a94dbe815c7e661fa02f4b74 | 35 | py | Python | ezdisteach/model/file/__init__.py | call-learning/ez-disteach | 7636dfdbfb709769824266800ebba18be764ecc3 | [
"MIT"
] | null | null | null | ezdisteach/model/file/__init__.py | call-learning/ez-disteach | 7636dfdbfb709769824266800ebba18be764ecc3 | [
"MIT"
] | null | null | null | ezdisteach/model/file/__init__.py | call-learning/ez-disteach | 7636dfdbfb709769824266800ebba18be764ecc3 | [
"MIT"
] | null | null | null | from .binaryfile import BinaryFile
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd2b9e779a950fc342c72ac14a518e11dd876d58 | 15,950 | py | Python | packages/esp32_LoBo/frozen/display/fonts/ubuntu_condensed_20.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 18 | 2019-07-11T13:31:09.000Z | 2022-01-27T06:38:40.000Z | packages/esp32_LoBo/frozen/display/fonts/ubuntu_condensed_20.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 9 | 2019-09-01T21:44:49.000Z | 2022-02-04T20:55:08.000Z | packages/esp32_LoBo/frozen/display/fonts/ubuntu_condensed_20.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 6 | 2019-10-08T05:31:21.000Z | 2021-04-22T10:21:01.000Z | _FONT = {
32: [4, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255],
33: [5, 1023, 1023, 1023, 1023, 1023, 963, 963, 963, 963, 963, 963, 963, 963, 963, 1023, 1023, 963, 963, 1023, 1023, 1023, 1023],
34: [7, 16383, 16383, 16383, 16383, 12483, 12483, 12483, 1248... | 162.755102 | 273 | 0.701755 | 2,281 | 15,950 | 4.90662 | 0.137221 | 0.211758 | 0.242584 | 0.226948 | 0.597927 | 0.547177 | 0.446658 | 0.383578 | 0.348642 | 0.256523 | 0 | 0.818674 | 0.143197 | 15,950 | 97 | 274 | 164.43299 | 0.000293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd41f5edeb67d65b8b1ba595630d60bedac95f71 | 6,094 | py | Python | tests/integration/test_DataDragonApi.py | iKevinY/Riot-Watcher | 2120c7cb08e6dcb7e2e23e00d6eb6294d0b824cf | [
"MIT"
] | 1 | 2021-07-31T22:26:11.000Z | 2021-07-31T22:26:11.000Z | tests/integration/test_DataDragonApi.py | iKevinY/Riot-Watcher | 2120c7cb08e6dcb7e2e23e00d6eb6294d0b824cf | [
"MIT"
] | null | null | null | tests/integration/test_DataDragonApi.py | iKevinY/Riot-Watcher | 2120c7cb08e6dcb7e2e23e00d6eb6294d0b824cf | [
"MIT"
] | null | null | null | import re
import pytest
@pytest.mark.integration
@pytest.mark.parametrize("version", ("6.24.1", "8.24.1"))
@pytest.mark.parametrize("locale", (None, "en_US", "zh_CN"))
class TestDataDragonApi(object):
def test_champion(self, mock_context, version, locale):
actual_response = mock_context.watcher.data_drag... | 36.933333 | 104 | 0.624549 | 650 | 6,094 | 5.616923 | 0.136923 | 0.132566 | 0.108463 | 0.150644 | 0.831005 | 0.831005 | 0.831005 | 0.819502 | 0.819502 | 0.819502 | 0 | 0.004032 | 0.267476 | 6,094 | 164 | 105 | 37.158537 | 0.813844 | 0 | 0 | 0.460432 | 0 | 0 | 0.156876 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 1 | 0.079137 | false | 0 | 0.014388 | 0 | 0.107914 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd5033c549d687dc97c6928cc9def331564afeb9 | 28,632 | py | Python | utils/srl_algorithms.py | taldatech/pytorch-ls-dqn | f6e63892e3ca9c00f6f719426cec03a3359f2f54 | [
"MIT"
] | 6 | 2020-01-13T09:05:20.000Z | 2021-05-12T17:43:18.000Z | utils/srl_algorithms.py | taldatech/pytorch-ls-dqn | f6e63892e3ca9c00f6f719426cec03a3359f2f54 | [
"MIT"
] | null | null | null | utils/srl_algorithms.py | taldatech/pytorch-ls-dqn | f6e63892e3ca9c00f6f719426cec03a3359f2f54 | [
"MIT"
] | 10 | 2020-02-27T13:49:15.000Z | 2022-02-08T01:52:29.000Z | """
This file implements the SRL algorithms.
Author: Tal Daniel
"""
# imports
import torch
import utils.utils as utils
import copy
def ls_step_dueling(net, tgt_net, batch, gamma, n_srl, lam=1.0, m_batch_size=256, device='cpu',
use_boosting=False, use_double_dqn=False):
"""
This function p... | 62.789474 | 121 | 0.660485 | 4,597 | 28,632 | 3.70807 | 0.045029 | 0.032559 | 0.038953 | 0.025343 | 0.903672 | 0.865775 | 0.821659 | 0.77197 | 0.725742 | 0.667605 | 0 | 0.013951 | 0.226425 | 28,632 | 455 | 122 | 62.927473 | 0.755655 | 0.394873 | 0 | 0.362445 | 0 | 0 | 0.016755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017467 | false | 0 | 0.0131 | 0 | 0.039301 | 0.017467 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd735ca8001e8d8b44ea10a90094c8707eb8adb0 | 659 | py | Python | software/misc/get_gene_mde.py | Searchlight2/Searchlight2 | 87c85975be49c503f79063d72d321da21a6c6341 | [
"MIT"
] | 17 | 2018-12-11T13:36:12.000Z | 2022-03-31T06:27:59.000Z | software/misc/get_gene_mde.py | Searchlight2/Searchlight2 | 87c85975be49c503f79063d72d321da21a6c6341 | [
"MIT"
] | 1 | 2019-11-26T11:00:57.000Z | 2019-11-26T11:01:12.000Z | software/misc/get_gene_mde.py | Searchlight2/Searchlight2 | 87c85975be49c503f79063d72d321da21a6c6341 | [
"MIT"
] | 7 | 2020-05-21T16:35:41.000Z | 2022-03-31T06:28:01.000Z | def get_gene_mde(global_variables,gene_dictionary,de_IDs):
values_list = []
for de_ID in de_IDs:
de_Dict = gene_dictionary[de_ID]
values_list.append(de_Dict["log2fold"])
for de_ID in de_IDs:
de_Dict = gene_dictionary[de_ID]
values_list.append(de_Dict["p"])
for de_ID in ... | 28.652174 | 58 | 0.661608 | 106 | 659 | 3.716981 | 0.207547 | 0.101523 | 0.243655 | 0.114213 | 0.766497 | 0.766497 | 0.766497 | 0.766497 | 0.766497 | 0.766497 | 0 | 0.002 | 0.241275 | 659 | 22 | 59 | 29.954545 | 0.786 | 0 | 0 | 0.555556 | 0 | 0 | 0.033435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd7d382d66eb07a2dde23c639b64e1722a693347 | 22,802 | py | Python | src/context_sensitive_grammar.py | Pogozhelskaya/pctm | 7c858899e87544eee9efdd67d59ac518d88b0d4e | [
"MIT"
] | 1 | 2020-10-11T14:22:09.000Z | 2020-10-11T14:22:09.000Z | src/context_sensitive_grammar.py | Pogozhelskaya/pctm | 7c858899e87544eee9efdd67d59ac518d88b0d4e | [
"MIT"
] | null | null | null | src/context_sensitive_grammar.py | Pogozhelskaya/pctm | 7c858899e87544eee9efdd67d59ac518d88b0d4e | [
"MIT"
] | 1 | 2022-01-08T17:48:17.000Z | 2022-01-08T17:48:17.000Z | """ Context Sensitive Grammar module """
import itertools
from pyformlang import cfg
from src.grammar import Grammar
from src.my_production import Production
from src.turing_machine import TuringMachine
class ContextSensitiveGrammar(Grammar):
""" Class representing a Context Sensitive Grammar
Subclass ... | 54.550239 | 114 | 0.519691 | 2,582 | 22,802 | 4.416731 | 0.045314 | 0.097422 | 0.067345 | 0.086987 | 0.901613 | 0.882848 | 0.847773 | 0.82778 | 0.82322 | 0.819362 | 0 | 0.002779 | 0.352952 | 22,802 | 417 | 115 | 54.681055 | 0.770164 | 0.282431 | 0 | 0.677551 | 0 | 0 | 0.206783 | 0.184961 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.020408 | 0 | 0.069388 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd80769f9cb271532b4a57f0a5028c453baf0495 | 49 | py | Python | tef/python/tef/ops/__init__.py | jony0917/tensorflow-extend-framework | 5db3a0ed373173fd799d292bfcc7e5544882e9d0 | [
"Apache-2.0"
] | 12 | 2020-02-04T04:06:03.000Z | 2021-09-18T12:14:04.000Z | tef/python/tef/ops/__init__.py | jony0917/tensorflow-extend-framework | 5db3a0ed373173fd799d292bfcc7e5544882e9d0 | [
"Apache-2.0"
] | null | null | null | tef/python/tef/ops/__init__.py | jony0917/tensorflow-extend-framework | 5db3a0ed373173fd799d292bfcc7e5544882e9d0 | [
"Apache-2.0"
] | null | null | null |
from embedding import *
from variable import *
| 9.8 | 23 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 49 | 4 | 24 | 12.25 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd9d0a578e6e1273cc280b7d2da206542f4be3bc | 155 | py | Python | intersection-of-two-arrays-ii/intersection-of-two-arrays-ii.py | Dongfang1021/Leetcode | 4ecdad3279300720e92eeac683962ebc52c98a12 | [
"MIT"
] | 1 | 2021-06-05T06:26:32.000Z | 2021-06-05T06:26:32.000Z | intersection-of-two-arrays-ii/intersection-of-two-arrays-ii.py | Dongfang1021/Leetcode | 4ecdad3279300720e92eeac683962ebc52c98a12 | [
"MIT"
] | null | null | null | intersection-of-two-arrays-ii/intersection-of-two-arrays-ii.py | Dongfang1021/Leetcode | 4ecdad3279300720e92eeac683962ebc52c98a12 | [
"MIT"
] | null | null | null | class Solution:
def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]:
return list((Counter(nums1) & Counter(nums2)).elements()) | 51.666667 | 73 | 0.658065 | 20 | 155 | 5.1 | 0.6 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.16129 | 155 | 3 | 74 | 51.666667 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
06d012c560ec402e6c244843db98770df048c7a6 | 269 | py | Python | Dragon/python/dragon/vm/tensorflow/examples/tutorials/mnist/input_data.py | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 212 | 2015-07-05T07:57:17.000Z | 2022-02-27T01:55:35.000Z | Dragon/python/dragon/vm/tensorflow/examples/tutorials/mnist/input_data.py | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 6 | 2016-07-07T14:31:56.000Z | 2017-12-12T02:21:15.000Z | Dragon/python/dragon/vm/tensorflow/examples/tutorials/mnist/input_data.py | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 71 | 2016-03-24T09:02:41.000Z | 2021-06-03T01:52:41.000Z | # --------------------------------------------------------
# TensorFlow @ Dragon
# Copyright(c) 2017 SeetaTech
# Written by Ting Pan
# --------------------------------------------------------
from dragon.vm.tensorflow.contrib.learn.datasets.mnist import read_data_sets | 38.428571 | 76 | 0.453532 | 22 | 269 | 5.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.078067 | 269 | 7 | 76 | 38.428571 | 0.467742 | 0.672862 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
06ef30841b0721d6a5cb6dd55adbcc80854c8dea | 159 | py | Python | utils/__init__.py | edujime23/Bot.py | 0cd7c2002d81c8cc292890b21d4a3e588f4f7559 | [
"Unlicense"
] | null | null | null | utils/__init__.py | edujime23/Bot.py | 0cd7c2002d81c8cc292890b21d4a3e588f4f7559 | [
"Unlicense"
] | null | null | null | utils/__init__.py | edujime23/Bot.py | 0cd7c2002d81c8cc292890b21d4a3e588f4f7559 | [
"Unlicense"
] | null | null | null | from .cache import *
from .colors import *
from .decorators import *
from .http import *
from .progressbar import *
from .time import *
from .hashlib import *
| 19.875 | 26 | 0.735849 | 21 | 159 | 5.571429 | 0.428571 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176101 | 159 | 7 | 27 | 22.714286 | 0.89313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
660533f7854d7e685a6e44ce801cced7ac239023 | 63 | py | Python | testpackagedjwihdowaoidoiwah/__init__.py | naman108/PyPiHelloWorld | f8da61c295d55b1ec8b98cdab15cbd03c8189fbc | [
"MIT"
] | null | null | null | testpackagedjwihdowaoidoiwah/__init__.py | naman108/PyPiHelloWorld | f8da61c295d55b1ec8b98cdab15cbd03c8189fbc | [
"MIT"
] | null | null | null | testpackagedjwihdowaoidoiwah/__init__.py | naman108/PyPiHelloWorld | f8da61c295d55b1ec8b98cdab15cbd03c8189fbc | [
"MIT"
] | null | null | null | from testpackagedjwihdowaoidoiwah.helloworld import helloworld
| 31.5 | 62 | 0.920635 | 5 | 63 | 11.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.983051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
660f441bb7fd009baf19dbb17df1d1d17c1240c6 | 386 | py | Python | src/logo.py | josx/FisherMan | dd7db19d2c73d421b01b179f9ea1cb40f8b2893d | [
"BSD-3-Clause"
] | 105 | 2021-06-27T09:25:06.000Z | 2022-03-29T09:29:58.000Z | src/logo.py | josx/FisherMan | dd7db19d2c73d421b01b179f9ea1cb40f8b2893d | [
"BSD-3-Clause"
] | 11 | 2021-07-03T02:32:54.000Z | 2022-03-19T11:47:31.000Z | src/logo.py | josx/FisherMan | dd7db19d2c73d421b01b179f9ea1cb40f8b2893d | [
"BSD-3-Clause"
] | 28 | 2021-04-28T16:15:25.000Z | 2022-03-18T08:11:01.000Z | name = r"""
______ _ __ __ ___
/ ____/ (_) _____ / /_ ___ _____ / |/ / ____ _ ____
/ /_ / / / ___/ / __ \ / _ \ / ___/ / /|_/ / / __ `/ / __ \
/ __/ / / (__ ) / / / // __/ / / / / / / / /_/ / / / / /
/_/ /_... | 48.25 | 73 | 0.227979 | 2 | 386 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.53886 | 386 | 7 | 74 | 55.142857 | 0.02809 | 0 | 0 | 0 | 0 | 0.428571 | 0.96114 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
660f84f58dccfd95252b1c75c289dfd32abd24a3 | 173 | py | Python | idem/idem/compiler/0020_verify_high.py | brejoc/idem | 12a901f60e77d6fc8a4c8a7496ac0b54b588cf7a | [
"Apache-2.0"
] | 16 | 2019-10-10T22:23:48.000Z | 2022-03-23T18:12:37.000Z | idem/idem/compiler/0020_verify_high.py | brejoc/idem | 12a901f60e77d6fc8a4c8a7496ac0b54b588cf7a | [
"Apache-2.0"
] | 14 | 2019-11-01T15:15:26.000Z | 2020-02-10T15:42:55.000Z | idem/idem/compiler/0020_verify_high.py | brejoc/idem | 12a901f60e77d6fc8a4c8a7496ac0b54b588cf7a | [
"Apache-2.0"
] | 5 | 2019-10-15T11:54:11.000Z | 2019-11-27T07:50:30.000Z | def stage(hub, name):
high, errors = hub.idem.verify.high(hub.idem.RUNS[name]['high'])
hub.idem.RUNS[name]['high'] = high
hub.idem.RUNS[name]['errors'] = errors
| 34.6 | 68 | 0.641618 | 27 | 173 | 4.111111 | 0.333333 | 0.252252 | 0.297297 | 0.405405 | 0.54955 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144509 | 173 | 4 | 69 | 43.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.080925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b0d6ac7dcd5dedebe5fb054a8b47b9f744084ac1 | 40 | py | Python | nntool/objective/loss_function/__init__.py | NLP-Deeplearning-Club/nntool | 1bbf0a20c7526d423f351ba9a854902a669d3713 | [
"MIT"
] | null | null | null | nntool/objective/loss_function/__init__.py | NLP-Deeplearning-Club/nntool | 1bbf0a20c7526d423f351ba9a854902a669d3713 | [
"MIT"
] | null | null | null | nntool/objective/loss_function/__init__.py | NLP-Deeplearning-Club/nntool | 1bbf0a20c7526d423f351ba9a854902a669d3713 | [
"MIT"
] | null | null | null | from .corss_entropy import CrossEntropy
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0eee512be2967d3c4dea6d661461a9233e62dc5 | 408 | py | Python | skimage/transform/__init__.py | emmanuelle/scikits.image | eccc41907135cf81b99c4be18a480a9bc705485d | [
"BSD-3-Clause"
] | 2 | 2020-02-17T18:54:33.000Z | 2021-09-28T15:18:23.000Z | skimage/transform/__init__.py | emmanuelle/scikits.image | eccc41907135cf81b99c4be18a480a9bc705485d | [
"BSD-3-Clause"
] | 1 | 2015-09-04T09:25:46.000Z | 2015-09-04T09:25:46.000Z | skimage/transform/__init__.py | emmanuelle/scikit-image | eccc41907135cf81b99c4be18a480a9bc705485d | [
"BSD-3-Clause"
] | null | null | null | from .hough_transform import *
from .radon_transform import *
from .finite_radon_transform import *
from ._project import homography as fast_homography
from .integral import *
from ._geometric import (warp, warp_coords, estimate_transform,
SimilarityTransform, AffineTransform,
... | 40.8 | 66 | 0.737745 | 40 | 408 | 7.275 | 0.525 | 0.137457 | 0.195876 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213235 | 408 | 9 | 67 | 45.333333 | 0.906542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.777778 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0fd7a04cc9e8093e90aaec9e2403affc937f3c3 | 221 | py | Python | sahi/utils/versions.py | L-Net-1992/sahi | 43f008948419ebff1e0c1861c3cee4ead23fcad1 | [
"MIT"
] | null | null | null | sahi/utils/versions.py | L-Net-1992/sahi | 43f008948419ebff1e0c1861c3cee4ead23fcad1 | [
"MIT"
] | null | null | null | sahi/utils/versions.py | L-Net-1992/sahi | 43f008948419ebff1e0c1861c3cee4ead23fcad1 | [
"MIT"
] | null | null | null | import sys
# The package importlib_metadata is in a different place, depending on the python version.
if sys.version_info < (3, 8):
import importlib_metadata
else:
import importlib.metadata as importlib_metadata
| 27.625 | 90 | 0.782805 | 32 | 221 | 5.28125 | 0.65625 | 0.402367 | 0.272189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.167421 | 221 | 7 | 91 | 31.571429 | 0.907609 | 0.39819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0476cb29b17f95ed6f7c3adb97769b69de798e5 | 162 | py | Python | Python/Desafio_005.py | tonmarcondes/UNIVESP | a66a623d4811e8f3f9e2999f09e38a4470035ae2 | [
"MIT"
] | null | null | null | Python/Desafio_005.py | tonmarcondes/UNIVESP | a66a623d4811e8f3f9e2999f09e38a4470035ae2 | [
"MIT"
] | null | null | null | Python/Desafio_005.py | tonmarcondes/UNIVESP | a66a623d4811e8f3f9e2999f09e38a4470035ae2 | [
"MIT"
] | null | null | null | n1 = eval(input('Qual o seu salário? '))
print('O seu salário de R${:.2f} teve um aumento de 15% e passou a ser de R${:.2f}\nParabéns\n'.format(n1, n1 * 1.15))
| 54 | 119 | 0.635802 | 33 | 162 | 3.121212 | 0.69697 | 0.07767 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0.17284 | 162 | 2 | 120 | 81 | 0.69403 | 0 | 0 | 0 | 0 | 0.5 | 0.66875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
c6d3713b0cf54e8729fa5c821e8e3a5d7052cd0a | 13,328 | gyp | Python | examples/pxScene2d/external/libnode-v10.15.3/deps/v8/gypfiles/unittests.gyp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 918 | 2016-12-22T02:53:08.000Z | 2022-03-22T06:21:35.000Z | examples/pxScene2d/external/libnode-v10.15.3/deps/v8/gypfiles/unittests.gyp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 1,432 | 2017-06-21T04:08:48.000Z | 2020-08-25T16:21:15.000Z | examples/pxScene2d/external/libnode-v10.15.3/deps/v8/gypfiles/unittests.gyp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 317 | 2017-06-20T19:57:17.000Z | 2020-09-16T10:28:30.000Z | # Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# The sources are kept automatically in sync with BUILD.gn.
{
'variables': {
'v8_code': 1,
'unittests_sources': [
'../test/unittests/alloc... | 46.277778 | 88 | 0.640756 | 1,419 | 13,328 | 5.96265 | 0.188865 | 0.261198 | 0.26238 | 0.391443 | 0.666115 | 0.442855 | 0.203286 | 0.086278 | 0 | 0 | 0 | 0.00955 | 0.167167 | 13,328 | 287 | 89 | 46.439024 | 0.752703 | 0.016131 | 0 | 0.202847 | 0 | 0 | 0.765182 | 0.73787 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05ae94f371d6186769b1fa28cfac5e6eedebaf5b | 145 | py | Python | server/toolkits/migrations/__init__.py | Soopro/totoro | 6be1af50496340ded9879a6450c8208ac9f97e72 | [
"MIT"
] | null | null | null | server/toolkits/migrations/__init__.py | Soopro/totoro | 6be1af50496340ded9879a6450c8208ac9f97e72 | [
"MIT"
] | null | null | null | server/toolkits/migrations/__init__.py | Soopro/totoro | 6be1af50496340ded9879a6450c8208ac9f97e72 | [
"MIT"
] | 1 | 2019-10-31T06:11:41.000Z | 2019-10-31T06:11:41.000Z | # coding=utf-8
from __future__ import absolute_import
from .media import *
from .user import *
from .book import *
from .configuration import *
| 18.125 | 38 | 0.765517 | 20 | 145 | 5.3 | 0.55 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.158621 | 145 | 7 | 39 | 20.714286 | 0.860656 | 0.082759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afae7161c65ba367a517e444f591cd0faa7915dd | 1,859 | py | Python | src/problem008.py | galah92/project-euler | d4be56e945e8549905fc530449b3d1f59d71554d | [
"MIT"
] | null | null | null | src/problem008.py | galah92/project-euler | d4be56e945e8549905fc530449b3d1f59d71554d | [
"MIT"
] | null | null | null | src/problem008.py | galah92/project-euler | d4be56e945e8549905fc530449b3d1f59d71554d | [
"MIT"
] | null | null | null | """ Largest product in a series
The four adjacent digits in the 1000-digit number that have the greatest
product are 9 x 9 x 8 x 9 = 5832.
Find the thirteen adjacent digits in the 1000-digit number that have the
greatest product. What is the value of this product?
"""
def main():
""" Iterating over the number, we'... | 50.243243 | 77 | 0.782679 | 139 | 1,859 | 10.410072 | 0.539568 | 0.01935 | 0.022115 | 0.026261 | 0.08293 | 0.08293 | 0.08293 | 0.08293 | 0.08293 | 0.08293 | 0 | 0.642992 | 0.144164 | 1,859 | 37 | 78 | 50.243243 | 0.266499 | 0 | 0 | 0 | 0 | 0 | 0.681081 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.037037 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
afcc9d624d3666a7f6fe979ce4edd9f6f62a200c | 23 | py | Python | gphotos/__init__.py | stevenewbs/gphotos-cli | 37ceb8f56bc6ca8d7815d02fef98a7d68702b246 | [
"MIT"
] | 3 | 2019-11-08T20:13:57.000Z | 2021-01-20T00:13:02.000Z | gphotos/__init__.py | stevenewbs/gphotos-cli | 37ceb8f56bc6ca8d7815d02fef98a7d68702b246 | [
"MIT"
] | 1 | 2021-09-02T16:37:43.000Z | 2021-09-02T16:37:43.000Z | gphotos/__init__.py | stevenewbs/gphotos-cli | 37ceb8f56bc6ca8d7815d02fef98a7d68702b246 | [
"MIT"
] | 1 | 2020-03-11T22:02:57.000Z | 2020-03-11T22:02:57.000Z | from .gphotos import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afd460a0e3552f7de3dbfe454ba0e0225d3f8192 | 140 | py | Python | CreateList.py | Vassago55/SomeAlgorithm | 8c3b82472d7a1e2cc7cd211fdc593dc78526dfdf | [
"MIT"
] | null | null | null | CreateList.py | Vassago55/SomeAlgorithm | 8c3b82472d7a1e2cc7cd211fdc593dc78526dfdf | [
"MIT"
] | null | null | null | CreateList.py | Vassago55/SomeAlgorithm | 8c3b82472d7a1e2cc7cd211fdc593dc78526dfdf | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
import random
def create_list(start, end, number):
return [random.randint(start, end) for _ in range(number)]
| 17.5 | 62 | 0.671429 | 20 | 140 | 4.6 | 0.8 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.171429 | 140 | 7 | 63 | 20 | 0.784483 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
afd5fcba56bdf10e08f21a891cf5e7ed572dbf94 | 43 | py | Python | dependencyInjectors/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | dependencyInjectors/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | dependencyInjectors/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | from .filesContainer import FilesContainer
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb8ed624cc1fd7b04979bb126c0f4bb1f5b49454 | 56 | py | Python | matplotvideo/__init__.py | cryoguy/matplotvideo | 70c891819ac10b504e1f44f01f76b447fedcbbd9 | [
"MIT"
] | 31 | 2020-05-08T21:52:06.000Z | 2022-03-27T00:43:25.000Z | matplotvideo/__init__.py | cryoguy/matplotvideo | 70c891819ac10b504e1f44f01f76b447fedcbbd9 | [
"MIT"
] | 6 | 2020-05-09T07:15:12.000Z | 2021-07-20T16:35:07.000Z | matplotvideo/__init__.py | cryoguy/matplotvideo | 70c891819ac10b504e1f44f01f76b447fedcbbd9 | [
"MIT"
] | 5 | 2020-05-08T21:51:50.000Z | 2021-11-11T02:08:18.000Z | from .video_player import attach_video_player_to_figure
| 28 | 55 | 0.910714 | 9 | 56 | 5.111111 | 0.777778 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bbf649a54455bde7fcafa16f8edfae6576448557 | 3,403 | py | Python | tests/users/test_delete.py | carbonariy/dvhb-hybrid | adbb250767ea255addc607fb6f6755c9add447db | [
"MIT"
] | 27 | 2018-05-08T16:03:24.000Z | 2020-02-20T06:39:19.000Z | tests/users/test_delete.py | carbonariy/dvhb-hybrid | adbb250767ea255addc607fb6f6755c9add447db | [
"MIT"
] | 7 | 2018-10-20T16:03:36.000Z | 2021-11-03T11:09:22.000Z | tests/users/test_delete.py | carbonariy/dvhb-hybrid | adbb250767ea255addc607fb6f6755c9add447db | [
"MIT"
] | 16 | 2018-12-11T15:34:22.000Z | 2022-01-25T00:20:55.000Z | import pytest
@pytest.fixture
def user_deletion_request(make_request):
async def wrapper(expected_status=None, client=None):
return await make_request(
'dvhb_hybrid.user:request_deletion', client=client, expected_status=expected_status)
return wrapper
@pytest.fixture
def confirm_deletion... | 36.202128 | 114 | 0.761681 | 450 | 3,403 | 5.442222 | 0.12 | 0.171499 | 0.073499 | 0.095549 | 0.858718 | 0.85341 | 0.830543 | 0.799102 | 0.783585 | 0.783585 | 0 | 0.012789 | 0.149868 | 3,403 | 93 | 115 | 36.591398 | 0.833737 | 0 | 0 | 0.591549 | 0 | 0 | 0.043491 | 0.028798 | 0 | 0 | 0 | 0 | 0.028169 | 1 | 0.056338 | false | 0.028169 | 0.014085 | 0 | 0.183099 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c381c011e831d08164066c30c467aa9508bb433 | 97 | py | Python | tests/conftest.py | jyooru/tass | b4b557a209a7119f3bb5a0dd86d45f5d546a9ca3 | [
"MIT"
] | null | null | null | tests/conftest.py | jyooru/tass | b4b557a209a7119f3bb5a0dd86d45f5d546a9ca3 | [
"MIT"
] | 42 | 2021-07-07T07:58:35.000Z | 2022-01-31T09:08:42.000Z | tests/conftest.py | jyooru/tass | b4b557a209a7119f3bb5a0dd86d45f5d546a9ca3 | [
"MIT"
] | null | null | null | import pytest
from faker import Faker
@pytest.fixture
def faker() -> Faker:
return Faker()
| 12.125 | 23 | 0.71134 | 13 | 97 | 5.307692 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 97 | 7 | 24 | 13.857143 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3c788ba5a2080d8b18e24dc5dd69dc4352790b42 | 4,135 | py | Python | gym_mdptetris/envs/tests/test_feature_functions.py | Benjscho/gym-mdptetris | 1a47edc33330deb638a03275e484c3e26932d802 | [
"MIT"
] | 2 | 2021-09-29T17:36:35.000Z | 2021-10-18T18:40:41.000Z | gym_mdptetris/envs/tests/test_feature_functions.py | Benjscho/gym-mdptetris | 1a47edc33330deb638a03275e484c3e26932d802 | [
"MIT"
] | null | null | null | gym_mdptetris/envs/tests/test_feature_functions.py | Benjscho/gym-mdptetris | 1a47edc33330deb638a03275e484c3e26932d802 | [
"MIT"
] | null | null | null | import unittest
import gym_mdptetris.envs.board as board
import gym_mdptetris.envs.piece as piece
import gym_mdptetris.envs.feature_functions as f
O = """
XX
XX
"""
L = """
X
X
XX
"""
class featureTests(unittest.TestCase):
@classmethod
def setUpClass(cls):
"""Run expensive functions that need to be ... | 39.380952 | 87 | 0.65925 | 616 | 4,135 | 4.279221 | 0.112013 | 0.225341 | 0.147951 | 0.204856 | 0.834977 | 0.80956 | 0.806904 | 0.765175 | 0.628983 | 0.56525 | 0 | 0.029652 | 0.200726 | 4,135 | 105 | 88 | 39.380952 | 0.767927 | 0.017654 | 0 | 0.548387 | 0 | 0 | 0.003697 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 1 | 0.086022 | false | 0 | 0.043011 | 0 | 0.139785 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c9ad00f7b167f8cfbb46ace4809ff8d660d5afc | 254 | py | Python | trainer/models/__init__.py | Ouwen/MimickNet | 2b255f37af3cd18a47dac08de2c0c98bf9a3280a | [
"Apache-2.0"
] | 34 | 2019-10-02T18:31:43.000Z | 2022-03-07T08:33:49.000Z | trainer/models/__init__.py | Ouwen/MimickNet | 2b255f37af3cd18a47dac08de2c0c98bf9a3280a | [
"Apache-2.0"
] | 3 | 2019-10-03T01:54:03.000Z | 2021-02-25T16:53:40.000Z | trainer/models/__init__.py | Ouwen/MimickNet | 2b255f37af3cd18a47dac08de2c0c98bf9a3280a | [
"Apache-2.0"
] | 10 | 2019-11-05T02:08:42.000Z | 2020-07-07T19:28:23.000Z | from trainer.models.unet import UnetModel
from trainer.models.resunet import ResUnetModel
from trainer.models.patch_discriminator import PatchDiscriminatorModel
from trainer.models.cyclegan import CycleGAN
from trainer.models.model_base import ModelBase
| 42.333333 | 70 | 0.88189 | 32 | 254 | 6.9375 | 0.46875 | 0.247748 | 0.382883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07874 | 254 | 5 | 71 | 50.8 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
595093a4b1f363d23db75fcf0159c8889d5b82ec | 31 | py | Python | wordmarker/__init__.py | lostblackknight/wordmarker | cbdfd6b6d5ae8c48b11825afcf86afe9f7386a48 | [
"MIT"
] | 2 | 2021-04-19T14:26:24.000Z | 2021-05-01T14:59:20.000Z | wordmarker/__init__.py | lostblackknight/wordmarker | cbdfd6b6d5ae8c48b11825afcf86afe9f7386a48 | [
"MIT"
] | null | null | null | wordmarker/__init__.py | lostblackknight/wordmarker | cbdfd6b6d5ae8c48b11825afcf86afe9f7386a48 | [
"MIT"
] | null | null | null | """
:作者: 陈思祥
:时间: 2021年4月
"""
| 5.166667 | 12 | 0.451613 | 4 | 31 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0.225806 | 31 | 5 | 13 | 6.2 | 0.375 | 0.709677 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.