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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
761dacd0fe7addbdf010bc1584ca428bda74b670 | 132 | py | Python | satsound/apps.py | saanobhaai/apman | e07452f54fcb895fb6039b6be63abf3861d7b9cb | [
"MIT"
] | null | null | null | satsound/apps.py | saanobhaai/apman | e07452f54fcb895fb6039b6be63abf3861d7b9cb | [
"MIT"
] | null | null | null | satsound/apps.py | saanobhaai/apman | e07452f54fcb895fb6039b6be63abf3861d7b9cb | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class SatsoundConfig(AppConfig):
name = 'satsound'
| 16.5 | 39 | 0.795455 | 15 | 132 | 6.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 7 | 40 | 18.857143 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
522801d076653a6d3b2e171d603a39ea5315eaff | 134 | py | Python | terafamiliar/individual_therapy/urls.py | Icogerard/WEB-TERAFAMILIAR---DJANGO2 | dcf7d6507ef2eda697766ab3b1dd6df4365f0452 | [
"MIT"
] | null | null | null | terafamiliar/individual_therapy/urls.py | Icogerard/WEB-TERAFAMILIAR---DJANGO2 | dcf7d6507ef2eda697766ab3b1dd6df4365f0452 | [
"MIT"
] | null | null | null | terafamiliar/individual_therapy/urls.py | Icogerard/WEB-TERAFAMILIAR---DJANGO2 | dcf7d6507ef2eda697766ab3b1dd6df4365f0452 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.individual_therapy, name="individual_therapy"),
] | 22.333333 | 66 | 0.738806 | 16 | 134 | 6.0625 | 0.625 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 134 | 6 | 67 | 22.333333 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5229fdde7056072e9a076b5e38f4df470aab8de2 | 209 | py | Python | handlers/__init__.py | drx/rom-info | 0b82d86d4fc9c43f51da6b12b1db820f180a1a34 | [
"MIT"
] | 6 | 2016-12-20T00:54:51.000Z | 2019-03-22T03:37:56.000Z | handlers/__init__.py | drx/rom-info | 0b82d86d4fc9c43f51da6b12b1db820f180a1a34 | [
"MIT"
] | 30 | 2016-12-21T20:51:49.000Z | 2017-04-03T21:47:25.000Z | handlers/__init__.py | drx/rom-info | 0b82d86d4fc9c43f51da6b12b1db820f180a1a34 | [
"MIT"
] | null | null | null | from .megadrive import MegadriveHandler
from .iso9660 import ISO9660Handler
from .dreamcast import DCDataTrackHandler, GDIHandler
handlers = [MegadriveHandler, DCDataTrackHandler, ISO9660Handler, GDIHandler]
| 34.833333 | 77 | 0.856459 | 18 | 209 | 9.944444 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.095694 | 209 | 5 | 78 | 41.8 | 0.883598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
523829494dd5b01f83d9d33d44fdff1ce2853ab8 | 227 | py | Python | pytpp/attributes/log_application_container.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | 4 | 2022-02-04T23:58:55.000Z | 2022-02-15T18:53:08.000Z | pytpp/attributes/log_application_container.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | pytpp/attributes/log_application_container.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | from pytpp.attributes._helper import IterableMeta
from pytpp.attributes.top import TopAttributes
class LogApplicationContainerAttributes(TopAttributes, metaclass=IterableMeta):
__config_class__ = "Log Application Container"
| 32.428571 | 79 | 0.863436 | 22 | 227 | 8.636364 | 0.681818 | 0.094737 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0837 | 227 | 6 | 80 | 37.833333 | 0.913462 | 0 | 0 | 0 | 0 | 0 | 0.110132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
523af7db34ae95768e290d847a54ebe9640ec1bb | 266 | py | Python | trustee/forms.py | Kishan51/Trust | fbc9cc7e790721cd5743941f2f2427e5201eff8a | [
"MIT"
] | null | null | null | trustee/forms.py | Kishan51/Trust | fbc9cc7e790721cd5743941f2f2427e5201eff8a | [
"MIT"
] | 2 | 2020-06-05T21:09:28.000Z | 2021-06-01T23:49:53.000Z | trustee/forms.py | Kishan51/Trust | fbc9cc7e790721cd5743941f2f2427e5201eff8a | [
"MIT"
] | 1 | 2019-06-12T16:40:39.000Z | 2019-06-12T16:40:39.000Z | from django import forms
from .models import ContactUs,Contact
class HomeForm(forms.ModelForm):
class Meta:
model = ContactUs
exclude = ('',)
class ContactForm1(forms.ModelForm):
class Meta:
model = Contact
exclude = ('',) | 19 | 37 | 0.635338 | 27 | 266 | 6.259259 | 0.518519 | 0.16568 | 0.224852 | 0.272189 | 0.331361 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.266917 | 266 | 14 | 38 | 19 | 0.861538 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5243fdb1c9bde1b65c1daebe7f59cf7953801614 | 1,081 | py | Python | web/iot/models.py | rodrigodeleonv/proyectos-ie | ab827fe5d37454399a05c500a5ae20d8481a33e6 | [
"Apache-2.0"
] | 3 | 2020-12-09T16:11:23.000Z | 2020-12-22T16:39:46.000Z | web/iot/models.py | rodrigodeleonv/proyectos-ie | ab827fe5d37454399a05c500a5ae20d8481a33e6 | [
"Apache-2.0"
] | null | null | null | web/iot/models.py | rodrigodeleonv/proyectos-ie | ab827fe5d37454399a05c500a5ae20d8481a33e6 | [
"Apache-2.0"
] | 2 | 2020-12-16T01:25:02.000Z | 2020-12-23T01:09:51.000Z | from django.db import models
class Sensor(models.Model):
"""
La clase sensor de Python represtan una tabla de la base de datos
Atributos de la clase representan los campos de la tabla
"""
created = models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True)
name =... | 30.885714 | 75 | 0.712303 | 143 | 1,081 | 5.20979 | 0.384615 | 0.15302 | 0.185235 | 0.209396 | 0.477852 | 0.339597 | 0.339597 | 0.339597 | 0.339597 | 0.339597 | 0 | 0.00904 | 0.181314 | 1,081 | 34 | 76 | 31.794118 | 0.832768 | 0.141536 | 0 | 0.428571 | 0 | 0 | 0.110132 | 0.027533 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.047619 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5255cf28cacc0c1804b10813f37d5f18b4d6b43a | 110 | py | Python | apps/analisis_factorial/apps.py | nickjesus737/MultivariateAnalysis | d2511ff7e2106f0eea7548adbddd0a37e34c7921 | [
"MIT"
] | null | null | null | apps/analisis_factorial/apps.py | nickjesus737/MultivariateAnalysis | d2511ff7e2106f0eea7548adbddd0a37e34c7921 | [
"MIT"
] | null | null | null | apps/analisis_factorial/apps.py | nickjesus737/MultivariateAnalysis | d2511ff7e2106f0eea7548adbddd0a37e34c7921 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AnalisisFactorialConfig(AppConfig):
name = 'analisis_factorial'
| 18.333333 | 41 | 0.8 | 11 | 110 | 7.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 42 | 22 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
52690417ed3057adf69e4aaa8c3cdac890ed3f7c | 160 | py | Python | aula5_listas.py | clovisdanielcosta/dio-python | 764eaac06320c0531c3038e301eb4c002fe8afce | [
"MIT"
] | null | null | null | aula5_listas.py | clovisdanielcosta/dio-python | 764eaac06320c0531c3038e301eb4c002fe8afce | [
"MIT"
] | null | null | null | aula5_listas.py | clovisdanielcosta/dio-python | 764eaac06320c0531c3038e301eb4c002fe8afce | [
"MIT"
] | null | null | null | lista = [1, 3, 5, 7]
lista_animal = ['cachorro', 'gato', 'elefante']
print(lista)
print(lista_animal[1])
#Resultado: gato
for x in lista_animal:
print(x)
| 16 | 47 | 0.6625 | 25 | 160 | 4.12 | 0.56 | 0.320388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 0.1625 | 160 | 9 | 48 | 17.777778 | 0.731343 | 0.09375 | 0 | 0 | 0 | 0 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5278db83cc62e90a945160d06e0d80dd7ee0557a | 1,380 | py | Python | tests/v2/test_user_create_data.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | tests/v2/test_user_create_data.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | tests/v2/test_user_create_data.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
from __future__ import absolute_import
import sys
import unittest
im... | 28.163265 | 108 | 0.744928 | 173 | 1,380 | 5.693642 | 0.456647 | 0.081218 | 0.129949 | 0.146193 | 0.270051 | 0.270051 | 0.26599 | 0.192893 | 0.081218 | 0 | 0 | 0.015887 | 0.178986 | 1,380 | 48 | 109 | 28.75 | 0.853486 | 0.28913 | 0 | 0.310345 | 0 | 0 | 0.147303 | 0.139004 | 0 | 0 | 0 | 0.020833 | 0 | 1 | 0.103448 | false | 0.103448 | 0.37931 | 0 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
5282ad10aa0332fbe48a66cf7b4236cbd0dc33e8 | 103 | py | Python | httpserver/controllersX/css.py | evinlort/http-server | 7db0637da7afbdb3736e595c431477c5242320a9 | [
"MIT"
] | null | null | null | httpserver/controllersX/css.py | evinlort/http-server | 7db0637da7afbdb3736e595c431477c5242320a9 | [
"MIT"
] | null | null | null | httpserver/controllersX/css.py | evinlort/http-server | 7db0637da7afbdb3736e595c431477c5242320a9 | [
"MIT"
] | null | null | null | def index(query):
query = query.strip("/")
fd = open("css/" + query, "r")
return fd.read()
| 20.6 | 34 | 0.533981 | 14 | 103 | 3.928571 | 0.714286 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242718 | 103 | 4 | 35 | 25.75 | 0.705128 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bff26d4b7c04348a8e5060fd3a86fabf1d56d307 | 62 | py | Python | bkgames/configuration/__init__.py | michalurbanski/bkgames | 69b1d16ae27d3118dd78449ce7deecbd6e1b95e7 | [
"MIT"
] | null | null | null | bkgames/configuration/__init__.py | michalurbanski/bkgames | 69b1d16ae27d3118dd78449ce7deecbd6e1b95e7 | [
"MIT"
] | null | null | null | bkgames/configuration/__init__.py | michalurbanski/bkgames | 69b1d16ae27d3118dd78449ce7deecbd6e1b95e7 | [
"MIT"
] | null | null | null | from bkgames.configuration.configuration import Configuration
| 31 | 61 | 0.903226 | 6 | 62 | 9.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 1 | 62 | 62 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
872a0b36152db9a207aeb90f2bbb90b0b2d052f0 | 47 | py | Python | 20180609/python_cla_02.py | bijitchakraborty12/MyProjects01 | 503af4cd6e8fa0576add7ac64393f1b4a16456c7 | [
"MIT"
] | null | null | null | 20180609/python_cla_02.py | bijitchakraborty12/MyProjects01 | 503af4cd6e8fa0576add7ac64393f1b4a16456c7 | [
"MIT"
] | null | null | null | 20180609/python_cla_02.py | bijitchakraborty12/MyProjects01 | 503af4cd6e8fa0576add7ac64393f1b4a16456c7 | [
"MIT"
] | null | null | null | from sys import argv
for i in argv:
print(i)
| 9.4 | 20 | 0.702128 | 10 | 47 | 3.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 47 | 4 | 21 | 11.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
873e785fdbf94a82aa3d92297ae2a518a9671687 | 883 | py | Python | clase2/Tarea/reemplace.py | Tank3-TK3/codigo-basico-Python | 580e8d284fa8a4d70b2a264762c91bd64c89ab80 | [
"MIT"
] | 7 | 2021-04-19T01:32:49.000Z | 2021-06-04T17:38:04.000Z | clase2/Tarea/reemplace.py | Tank3-TK3/codigo-basico-Python | 580e8d284fa8a4d70b2a264762c91bd64c89ab80 | [
"MIT"
] | null | null | null | clase2/Tarea/reemplace.py | Tank3-TK3/codigo-basico-Python | 580e8d284fa8a4d70b2a264762c91bd64c89ab80 | [
"MIT"
] | null | null | null | print ("--------------------------------------------------")
cad1 = "separar"
print (cad1)
nuevo_string1 = ",".join(cad1)
print (nuevo_string1)
print ("--------------------------------------------------")
cad2 = "mi archivo de texto.txt"
print (cad2)
nuevo_string2 = cad2.split()
nuevo_string2 = "_".join(nuevo_... | 32.703704 | 61 | 0.488109 | 82 | 883 | 5.04878 | 0.329268 | 0.231884 | 0.123188 | 0.173913 | 0.140097 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062341 | 0.109853 | 883 | 26 | 62 | 33.961538 | 0.464377 | 0 | 0 | 0.307692 | 0 | 0 | 0.373396 | 0.291715 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.576923 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 4 |
87423974439c2a75977c377c0729354fe022eae1 | 70 | py | Python | src/fitness_functions/sphere.py | NickDeGroote/Complex_Systems_SS21 | 7317499dd3ebd8d2b98c15c4006972a1033051ae | [
"MIT"
] | null | null | null | src/fitness_functions/sphere.py | NickDeGroote/Complex_Systems_SS21 | 7317499dd3ebd8d2b98c15c4006972a1033051ae | [
"MIT"
] | null | null | null | src/fitness_functions/sphere.py | NickDeGroote/Complex_Systems_SS21 | 7317499dd3ebd8d2b98c15c4006972a1033051ae | [
"MIT"
] | null | null | null | def sphere(x: list) -> float:
fitness = sum(x)
return fitness
| 17.5 | 29 | 0.614286 | 10 | 70 | 4.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 70 | 3 | 30 | 23.333333 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
874b4a77ee5c6518c18bd6036ac66878c5274a83 | 222 | py | Python | auctions/context_processor.py | eld120/CS50-Commerce | 6ce6dfd633c0020da609d43311bc6ee70920a7c5 | [
"MIT"
] | null | null | null | auctions/context_processor.py | eld120/CS50-Commerce | 6ce6dfd633c0020da609d43311bc6ee70920a7c5 | [
"MIT"
] | null | null | null | auctions/context_processor.py | eld120/CS50-Commerce | 6ce6dfd633c0020da609d43311bc6ee70920a7c5 | [
"MIT"
] | null | null | null | from .models import Bid, Comment, Listing
def context_processor(request):
return {
"bid_db": Bid.objects.all(),
"listing_db": Listing.objects.all(),
"comment_db": Comment.objects.all(),
}
| 22.2 | 44 | 0.626126 | 26 | 222 | 5.192308 | 0.538462 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22973 | 222 | 9 | 45 | 24.666667 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.117117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
8761f060215c10f3d66649f2fd267ceecff714c4 | 315 | py | Python | language_basics/varparameter.py | nebulx29/LearnPython | 519a29b04c36bbd1feb2cda5a0c0669e15062ba4 | [
"Apache-2.0"
] | null | null | null | language_basics/varparameter.py | nebulx29/LearnPython | 519a29b04c36bbd1feb2cda5a0c0669e15062ba4 | [
"Apache-2.0"
] | null | null | null | language_basics/varparameter.py | nebulx29/LearnPython | 519a29b04c36bbd1feb2cda5a0c0669e15062ba4 | [
"Apache-2.0"
] | null | null | null | def multi_print(number = 3, word = "Hallo"):
for i in range(0, number):
print(str(i) + " " + word)
multi_print(1, "Hallo")
print("--")
multi_print()
print("--")
multi_print(2)
print("--")
multi_print(word = "Welt")
print("--")
multi_print(word = "Welt", number = 5)
print("--")
| 19.6875 | 45 | 0.542857 | 41 | 315 | 4.02439 | 0.414634 | 0.363636 | 0.363636 | 0.230303 | 0.278788 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020661 | 0.231746 | 315 | 15 | 46 | 21 | 0.661157 | 0 | 0 | 0.384615 | 0 | 0 | 0.09699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.076923 | 0.923077 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5e3f6478ad5899bc5ec6b4b7bafac2647004b5a3 | 192 | py | Python | code/api/views.py | alejoortiz/celery-django-multiple-apps | 4f168f691f59d79212a93672180153a151261639 | [
"MIT"
] | null | null | null | code/api/views.py | alejoortiz/celery-django-multiple-apps | 4f168f691f59d79212a93672180153a151261639 | [
"MIT"
] | null | null | null | code/api/views.py | alejoortiz/celery-django-multiple-apps | 4f168f691f59d79212a93672180153a151261639 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
# Create your views here.
from api.task import async_test_api
def main(request):
async_test_api.delay()
return HttpResponse('Hello, World API!')
| 21.333333 | 44 | 0.760417 | 28 | 192 | 5.071429 | 0.714286 | 0.126761 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 192 | 8 | 45 | 24 | 0.876543 | 0.119792 | 0 | 0 | 0 | 0 | 0.101796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5e507b9b7f9ec10b506bffaa7dc7f82796b18647 | 7,400 | py | Python | GMAO_etc/unittests/test_check_obsysrc.py | GEOS-ESM/GMAO_Shared | 022af23abbc7883891006b57379be96d9a50df23 | [
"NASA-1.3",
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-02-01T17:36:53.000Z | 2020-02-01T17:36:53.000Z | GMAO_etc/unittests/test_check_obsysrc.py | GEOS-ESM/GMAO_Shared | 022af23abbc7883891006b57379be96d9a50df23 | [
"NASA-1.3",
"ECL-2.0",
"Apache-2.0"
] | 105 | 2019-07-08T19:27:23.000Z | 2022-03-22T02:12:16.000Z | GMAO_etc/unittests/test_check_obsysrc.py | GEOS-ESM/GMAO_Shared | 022af23abbc7883891006b57379be96d9a50df23 | [
"NASA-1.3",
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-07-05T18:00:44.000Z | 2022-03-11T16:26:29.000Z | #!/usr/bin/env python
import os, sys, time
sys.path.append(os.pardir)
import check_obsysrc
import filecmp
import shutil
import unittest
infile = os.path.join("input","obsys-test-gaas.rc")
check_obsysrc = os.path.join(os.pardir, "check_obsysrc.py")
class CheckObsysRcTest(unittest.TestCase):
#...................... | 33.944954 | 76 | 0.540676 | 872 | 7,400 | 4.482798 | 0.133028 | 0.064467 | 0.074188 | 0.06549 | 0.808391 | 0.797646 | 0.790739 | 0.771553 | 0.688667 | 0.594014 | 0 | 0.013533 | 0.251081 | 7,400 | 217 | 77 | 34.101382 | 0.691808 | 0.124595 | 0 | 0.56 | 0 | 0 | 0.204616 | 0 | 0 | 0 | 0 | 0 | 0.073333 | 1 | 0.04 | false | 0 | 0.033333 | 0 | 0.08 | 0.073333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5e74e5e0b3c4d6508421d8a36ee04343b9c48333 | 138 | py | Python | Aulas/Aulas-Mundo3/Aula019/Aula019a.py | Sofista23/Aula1_Python | 129132d977058ac6f23cc95c7bb8b55d8a1bb429 | [
"MIT"
] | null | null | null | Aulas/Aulas-Mundo3/Aula019/Aula019a.py | Sofista23/Aula1_Python | 129132d977058ac6f23cc95c7bb8b55d8a1bb429 | [
"MIT"
] | null | null | null | Aulas/Aulas-Mundo3/Aula019/Aula019a.py | Sofista23/Aula1_Python | 129132d977058ac6f23cc95c7bb8b55d8a1bb429 | [
"MIT"
] | null | null | null | a={"nome":"Pedro","idade":18,"sexo":"M"}
print(a.values())
print(a.keys())
print(a.items())
for k,v in a.items():
print(f"{k} é {v}.") | 23 | 40 | 0.557971 | 27 | 138 | 2.851852 | 0.62963 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.101449 | 138 | 6 | 41 | 23 | 0.604839 | 0 | 0 | 0 | 0 | 0 | 0.208633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
5e7b3071704b508954bc77ef6d6ee183673eab7a | 62 | py | Python | kattis/Hissing Microphone.py | jaredliw/python-question-bank | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2021-04-08T07:49:15.000Z | 2021-04-08T07:49:15.000Z | kattis/Hissing Microphone.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | null | null | null | kattis/Hissing Microphone.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2022-01-23T02:12:24.000Z | 2022-01-23T02:12:24.000Z | # CPU: 0.05 s
print("hiss" if "ss" in input() else "no hiss")
| 20.666667 | 47 | 0.596774 | 13 | 62 | 2.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.193548 | 62 | 2 | 48 | 31 | 0.68 | 0.177419 | 0 | 0 | 0 | 0 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5e8601723969ed4b356accfbb81d6e82c3ca71cd | 180 | py | Python | Timbuchalka/Section-4/contrived.py | Advik-B/Learn-Python | 66ac57259764e8f2c3c6513a8de6c106800d8abe | [
"MIT"
] | 6 | 2021-07-26T14:21:25.000Z | 2021-07-26T14:32:01.000Z | Timbuchalka/Section-4/contrived.py | Advik-B/Learn-Python | 66ac57259764e8f2c3c6513a8de6c106800d8abe | [
"MIT"
] | 2 | 2021-12-10T10:25:19.000Z | 2021-12-10T10:27:15.000Z | Timbuchalka/Section-4/contrived.py | Advik-B/Learn-Python | 66ac57259764e8f2c3c6513a8de6c106800d8abe | [
"MIT"
] | null | null | null | numbers = [1, 45, 31, 12, 60]
for number in numbers:
if number % 8 == 0:
print ("THe numbers are unacccepetble")
break
else:
print ("The Numbers are good") | 22.5 | 47 | 0.588889 | 26 | 180 | 4.076923 | 0.730769 | 0.150943 | 0.283019 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086614 | 0.294444 | 180 | 8 | 48 | 22.5 | 0.748032 | 0 | 0 | 0 | 0 | 0 | 0.270718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5ebdc1757c941fb4f6c3694f190a839c7dd58b01 | 243 | py | Python | HW4/VeronyWise/task4.3.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW4/VeronyWise/task4.3.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW4/VeronyWise/task4.3.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | 6 | 2022-02-22T22:30:49.000Z | 2022-03-28T12:51:19.000Z | number_for_fibonacci = int(input("Enter Fibonacci number: "))
first_num = 0
second_num = 1
while second_num <= number_for_fibonacci:
print(second_num)
first_num, second_num = second_num, first_num + second_num
print("Fibonacci number") | 34.714286 | 62 | 0.769547 | 36 | 243 | 4.833333 | 0.361111 | 0.310345 | 0.206897 | 0.195402 | 0.298851 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.135802 | 243 | 7 | 63 | 34.714286 | 0.819048 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5ec739fd644d628292b2c5f40f2ace0ca9818d97 | 274 | py | Python | Auction/admin.py | Poornartha/Odonata | 71e8dfc4e8d93c6ecc1a3a155459b7e43bd28cdb | [
"MIT"
] | null | null | null | Auction/admin.py | Poornartha/Odonata | 71e8dfc4e8d93c6ecc1a3a155459b7e43bd28cdb | [
"MIT"
] | null | null | null | Auction/admin.py | Poornartha/Odonata | 71e8dfc4e8d93c6ecc1a3a155459b7e43bd28cdb | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Task, Taskassigned, Tasksubmission, Tasksubmissionfile
# Register your models here.
admin.site.register(Task)
admin.site.register(Taskassigned)
admin.site.register(Tasksubmission)
admin.site.register(Tasksubmissionfile)
| 30.444444 | 74 | 0.839416 | 32 | 274 | 7.1875 | 0.4375 | 0.156522 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076642 | 274 | 8 | 75 | 34.25 | 0.909091 | 0.094891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0d7f85a81538a8ad33254c5aed1e2dca558082e2 | 327 | py | Python | pybullet-gym/pybulletgym/envs/roboschool/envs/locomotion/half_cheetah_env.py | SmaleZ/vcl_diayn | b2c47a681675b405d2011bc4a43c3914f3af4ecc | [
"MIT"
] | null | null | null | pybullet-gym/pybulletgym/envs/roboschool/envs/locomotion/half_cheetah_env.py | SmaleZ/vcl_diayn | b2c47a681675b405d2011bc4a43c3914f3af4ecc | [
"MIT"
] | null | null | null | pybullet-gym/pybulletgym/envs/roboschool/envs/locomotion/half_cheetah_env.py | SmaleZ/vcl_diayn | b2c47a681675b405d2011bc4a43c3914f3af4ecc | [
"MIT"
] | null | null | null | from pybulletgym.envs.roboschool.envs.locomotion.walker_base_env import WalkerBaseBulletEnv
from pybulletgym.envs.roboschool.robots.locomotors import HalfCheetah
class HalfCheetahBulletEnv(WalkerBaseBulletEnv):
def __init__(self):
self.robot = HalfCheetah()
WalkerBaseBulletEnv.__init__(self, self.... | 36.333333 | 91 | 0.807339 | 33 | 327 | 7.69697 | 0.575758 | 0.11811 | 0.149606 | 0.228346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 327 | 8 | 92 | 40.875 | 0.881944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0da3e655d907d6c720a8161925fc6dd25f10291a | 825 | py | Python | utils/relevance_info.py | StKlaas/NPRF | 9de3b4206aa25e9fe730b84a7b6fdfa5e46ac810 | [
"Apache-2.0"
] | 36 | 2018-08-27T15:08:31.000Z | 2022-03-07T06:38:55.000Z | utils/relevance_info.py | StKlaas/NPRF | 9de3b4206aa25e9fe730b84a7b6fdfa5e46ac810 | [
"Apache-2.0"
] | 6 | 2018-11-01T21:45:22.000Z | 2021-12-21T09:03:59.000Z | utils/relevance_info.py | StKlaas/NPRF | 9de3b4206aa25e9fe730b84a7b6fdfa5e46ac810 | [
"Apache-2.0"
] | 10 | 2018-09-25T01:48:18.000Z | 2020-12-09T01:29:07.000Z |
class Relevance(object):
'''Incooperation with result file and qrels file
Attributes:
qid, int, query id
judgement_docid_list: list of list, judged docids in TREC qrels
supervised_docid_list: list, top docids from unsupervised models, e.g. BM25, QL.
'''
def __init__(self, qid, judged_docid_... | 29.464286 | 91 | 0.766061 | 116 | 825 | 5.017241 | 0.318966 | 0.185567 | 0.195876 | 0.092784 | 0.32646 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002924 | 0.170909 | 825 | 28 | 92 | 29.464286 | 0.847953 | 0.283636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
0dc8854110660d466e6596f38b2f8fce51c55ca7 | 514 | py | Python | tools/fileinfo/features/delphi-timestamp-heuristic/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2017-12-14T14:25:17.000Z | 2019-03-09T03:29:12.000Z | tools/fileinfo/features/delphi-timestamp-heuristic/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 10 | 2019-06-14T09:12:55.000Z | 2021-10-01T12:15:43.000Z | tools/fileinfo/features/delphi-timestamp-heuristic/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2019-05-10T14:59:48.000Z | 2022-03-07T16:34:23.000Z | from regression_tests import *
class Test(Test):
settings = TestSettings(
tool='fileinfo',
input='Abundant-O0-g'
)
def test_check_fileinfo_output(self):
assert self.fileinfo.succeeded
assert self.fileinfo.output.contains('PE')
assert self.fileinfo.output.contains('x... | 32.125 | 63 | 0.682879 | 58 | 514 | 5.982759 | 0.5 | 0.242075 | 0.311239 | 0.345821 | 0.461095 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007371 | 0.208171 | 514 | 15 | 64 | 34.266667 | 0.845209 | 0 | 0 | 0 | 0 | 0 | 0.132296 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0dd02f42e260d56d5dec5e2095b2101e36982ec0 | 301 | py | Python | platypush/plugins/light/__init__.py | shineit/platypush | a67b301cd66235b41bff6bfb3de56b903bf9551d | [
"MIT"
] | 1 | 2020-12-08T06:26:31.000Z | 2020-12-08T06:26:31.000Z | platypush/plugins/light/__init__.py | shineit/platypush | a67b301cd66235b41bff6bfb3de56b903bf9551d | [
"MIT"
] | null | null | null | platypush/plugins/light/__init__.py | shineit/platypush | a67b301cd66235b41bff6bfb3de56b903bf9551d | [
"MIT"
] | null | null | null | from .. import Plugin
class LightPlugin(Plugin):
def on(self):
raise NotImplementedError()
def off(self):
raise NotImplementedError()
def toggle(self):
raise NotImplementedError()
def status(self):
raise NotImplementedError()
# vim:sw=4:ts=4:et:
| 15.842105 | 35 | 0.631229 | 32 | 301 | 5.9375 | 0.5625 | 0.189474 | 0.589474 | 0.489474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.262458 | 301 | 18 | 36 | 16.722222 | 0.846847 | 0.056478 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0def51f2d6c8d71d5fb23adc5538719bca7841b0 | 72 | py | Python | 0/1/1085/1085.py | chr0m3/boj-codes | d71d0a22d0a3ae62c225f382442461275f56fe8f | [
"MIT"
] | 3 | 2017-07-08T16:29:06.000Z | 2020-07-20T00:17:45.000Z | 0/1/1085/1085.py | chr0m3/boj-codes | d71d0a22d0a3ae62c225f382442461275f56fe8f | [
"MIT"
] | null | null | null | 0/1/1085/1085.py | chr0m3/boj-codes | d71d0a22d0a3ae62c225f382442461275f56fe8f | [
"MIT"
] | 2 | 2017-11-20T14:06:06.000Z | 2020-07-20T00:17:47.000Z | x, y, w, h = map(int, input().split())
print(min([x, y, w - x, h - y]))
| 24 | 38 | 0.472222 | 16 | 72 | 2.125 | 0.625 | 0.117647 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 72 | 2 | 39 | 36 | 0.596491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
216dc6230121926106741cd40a61dd231d5c83a4 | 417 | py | Python | leonardo_module_redirects/__init__.py | dresl/leonardo-module-redirects | e8d1a04334ee63c36337f01a48923b1d278e5a01 | [
"BSD-3-Clause"
] | null | null | null | leonardo_module_redirects/__init__.py | dresl/leonardo-module-redirects | e8d1a04334ee63c36337f01a48923b1d278e5a01 | [
"BSD-3-Clause"
] | null | null | null | leonardo_module_redirects/__init__.py | dresl/leonardo-module-redirects | e8d1a04334ee63c36337f01a48923b1d278e5a01 | [
"BSD-3-Clause"
] | null | null | null |
from django.apps import AppConfig
default_app_config = 'leonardo_module_redirects.Config'
try:
from local_settings import APPS
except ImportError:
pass
if 'leonardo_module_redirects' in APPS:
LEONARDO_APPS = [
'leonardo_module_redirects',
'django.contrib.redirects',
]
class Config(A... | 20.85 | 55 | 0.736211 | 47 | 417 | 6.255319 | 0.489362 | 0.238095 | 0.391156 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18705 | 417 | 19 | 56 | 21.947368 | 0.867257 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.214286 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2173824a52efbb4038be99647ff170a1d3403769 | 128 | py | Python | name_gen_app/admin.py | david-abel/name_generator | 3d13fc17552b3a67dd57d87c5c9963d4f33548d0 | [
"MIT"
] | 1 | 2019-12-16T04:42:42.000Z | 2019-12-16T04:42:42.000Z | name_gen_app/admin.py | david-abel/name_generator | 3d13fc17552b3a67dd57d87c5c9963d4f33548d0 | [
"MIT"
] | null | null | null | name_gen_app/admin.py | david-abel/name_generator | 3d13fc17552b3a67dd57d87c5c9963d4f33548d0 | [
"MIT"
] | 1 | 2019-12-16T04:42:44.000Z | 2019-12-16T04:42:44.000Z | from django.contrib import admin
from name_gen_app import models
# Register your models here.
admin.site.register(models.NGram) | 25.6 | 33 | 0.828125 | 20 | 128 | 5.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 128 | 5 | 33 | 25.6 | 0.912281 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
21741bdab94df2da4437c9e5316dc923420b6d69 | 52,090 | py | Python | qa_tools/prediction.py | keithgroup/qa-atoms-dimers | fff24f5658b45618de8f2dcb35b3b0b7e87898d0 | [
"MIT"
] | null | null | null | qa_tools/prediction.py | keithgroup/qa-atoms-dimers | fff24f5658b45618de8f2dcb35b3b0b7e87898d0 | [
"MIT"
] | null | null | null | qa_tools/prediction.py | keithgroup/qa-atoms-dimers | fff24f5658b45618de8f2dcb35b3b0b7e87898d0 | [
"MIT"
] | null | null | null | # MIT License
#
# Copyright (c) 2021, Alex M. Maldonado
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify... | 41.605431 | 106 | 0.63732 | 6,828 | 52,090 | 4.611306 | 0.059315 | 0.020326 | 0.015245 | 0.012704 | 0.785651 | 0.763355 | 0.735787 | 0.713873 | 0.694594 | 0.671346 | 0 | 0.006748 | 0.268804 | 52,090 | 1,251 | 107 | 41.638689 | 0.819917 | 0.425667 | 0 | 0.5344 | 0 | 0 | 0.099907 | 0.009323 | 0 | 0 | 0 | 0 | 0.064 | 1 | 0.0192 | false | 0 | 0.0048 | 0 | 0.0544 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
218e26245f753f8fa8f7e9e3cb508a4273f664b5 | 85 | py | Python | Album/apps.py | alstn2468/Likelion_DRF_Project | 35a359a05185f551ed2e999ab17e0108a69d6b57 | [
"MIT"
] | 28 | 2019-10-15T13:15:26.000Z | 2021-11-08T08:23:45.000Z | 15_LikeLionDRFProject/Album/apps.py | jhleed/LikeLion_Django_Study_Summary | c788182af5bcfd16bdd4b57235a48659758e494b | [
"MIT"
] | null | null | null | 15_LikeLionDRFProject/Album/apps.py | jhleed/LikeLion_Django_Study_Summary | c788182af5bcfd16bdd4b57235a48659758e494b | [
"MIT"
] | 17 | 2019-09-09T00:15:36.000Z | 2021-01-28T13:08:51.000Z | from django.apps import AppConfig
class AlbumConfig(AppConfig):
name = 'Album'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1d08b9313e1fbbbedb902b663180ae924e90c8af | 579 | py | Python | tests/integration_tests/utils/sample_projects/wrong_hexa_arch_project/hexagonal_config.py | rfrezino/hexagonal-sanity-check | 78c8711d9be6ec173abead4ab344f7ac57d5d4ac | [
"MIT"
] | 1 | 2022-03-14T10:17:38.000Z | 2022-03-14T10:17:38.000Z | tests/integration_tests/utils/sample_projects/wrong_hexa_arch_project/hexagonal_config.py | rfrezino/hexagonal-sanity-check | 78c8711d9be6ec173abead4ab344f7ac57d5d4ac | [
"MIT"
] | null | null | null | tests/integration_tests/utils/sample_projects/wrong_hexa_arch_project/hexagonal_config.py | rfrezino/hexagonal-sanity-check | 78c8711d9be6ec173abead4ab344f7ac57d5d4ac | [
"MIT"
] | 2 | 2021-12-14T10:35:24.000Z | 2022-01-31T14:17:36.000Z | from hexagonal.domain.hexagonal_layer import HexagonalLayer
from hexagonal.hexagonal_config import hexagonal_config
hexagonal_config.add_inner_layer(HexagonalLayer(name='adapters', directories_groups=[['/adapters/new_printer'],
['/ada... | 64.333333 | 113 | 0.699482 | 57 | 579 | 6.77193 | 0.350877 | 0.233161 | 0.139896 | 0.178756 | 0.357513 | 0.357513 | 0.357513 | 0 | 0 | 0 | 0 | 0 | 0.17962 | 579 | 9 | 114 | 64.333333 | 0.812632 | 0 | 0 | 0 | 0 | 0 | 0.134483 | 0.072414 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0.285714 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df14af408cfee194dde4f956e94d321cf58ee579 | 179 | py | Python | PyMOTW/source/zipfile/zipfile_namelist.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | 1 | 2019-01-04T05:47:50.000Z | 2019-01-04T05:47:50.000Z | PyMOTW/source/zipfile/zipfile_namelist.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | 1 | 2020-07-18T03:52:03.000Z | 2020-07-18T04:18:01.000Z | PyMOTW/source/zipfile/zipfile_namelist.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | 2 | 2021-03-06T04:28:32.000Z | 2021-03-06T04:59:17.000Z | #!/usr/bin/env python3
"""Reading the names out of a ZIP archive.
"""
#end_pymotw_header
import zipfile
with zipfile.ZipFile('example.zip', 'r') as zf:
print(zf.namelist())
| 17.9 | 47 | 0.698324 | 28 | 179 | 4.392857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.145251 | 179 | 9 | 48 | 19.888889 | 0.797386 | 0.435754 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
df40fd279f4621587dbc01e8782b1a279c64af23 | 11,689 | py | Python | lfs/customer/migrations/0004_auto__chg_field_customer_dsa_object_id__chg_field_customer_dia_object_.py | restless/django-lfs | 4058f9d45b416ef2e8c28a87856ea0f1550b523d | [
"BSD-3-Clause"
] | 1 | 2020-02-26T03:07:39.000Z | 2020-02-26T03:07:39.000Z | lfs/customer/migrations/0004_auto__chg_field_customer_dsa_object_id__chg_field_customer_dia_object_.py | mxins/django-lfs | bf42ed80ce0e1ec96db6ab985adcc614ea79dfc8 | [
"BSD-3-Clause"
] | null | null | null | lfs/customer/migrations/0004_auto__chg_field_customer_dsa_object_id__chg_field_customer_dia_object_.py | mxins/django-lfs | bf42ed80ce0e1ec96db6ab985adcc614ea79dfc8 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'Customer.dsa_object_id'
db.alter_column('customer_customer', 'dsa_object_id', self.gf('dj... | 77.926667 | 212 | 0.573958 | 1,178 | 11,689 | 5.565365 | 0.123939 | 0.109823 | 0.190055 | 0.271507 | 0.771965 | 0.737035 | 0.703478 | 0.631483 | 0.563148 | 0.491916 | 0 | 0.008376 | 0.182907 | 11,689 | 150 | 213 | 77.926667 | 0.678044 | 0.015485 | 0 | 0.214815 | 0 | 0 | 0.59428 | 0.35156 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014815 | false | 0.007407 | 0.02963 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df495b9677370b299b72a7f2f44fe8b0be6fa108 | 5,232 | py | Python | plugins/disapproval.py | tommai78101/IRCBot | 93a8b53eff81a8bf00fa69aa847a4e5febb336fa | [
"MIT"
] | null | null | null | plugins/disapproval.py | tommai78101/IRCBot | 93a8b53eff81a8bf00fa69aa847a4e5febb336fa | [
"MIT"
] | null | null | null | plugins/disapproval.py | tommai78101/IRCBot | 93a8b53eff81a8bf00fa69aa847a4e5febb336fa | [
"MIT"
] | null | null | null | from PluginBot import PRIVMSG
from PluginBot import getMessage
def version():
return "Look of Disapproval v1.0"
def plugin_main(parent, tokens):
if (len(tokens) > 3):
if (tokens[3] == ".ugh" or tokens[3] == ".sigh"):
if (len(tokens) > 4):
parent.s.send(PRIVMSG(tokens[2], " -- \u0ca0_\u0ca0 at %s." % toke... | 39.044776 | 148 | 0.609327 | 717 | 5,232 | 4.471409 | 0.145049 | 0.159077 | 0.068621 | 0.112289 | 0.820649 | 0.752027 | 0.724891 | 0.675608 | 0.590455 | 0.530256 | 0 | 0.092509 | 0.196292 | 5,232 | 133 | 149 | 39.338346 | 0.662545 | 0.008219 | 0 | 0.531746 | 0 | 0.055556 | 0.341887 | 0.092996 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015873 | null | null | 0.269841 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df6b6aa0914ba5bc8773fd64a50bf74e255f5b70 | 134 | py | Python | Beginner/1044.py | pedrodanieljardim/DesafiosURI-feitos-em-JAVA | 4e727e1b08e01f527d0b7b884c268643f1472ded | [
"MIT"
] | 1 | 2022-03-19T18:06:25.000Z | 2022-03-19T18:06:25.000Z | Beginner/1044.py | pedrodanieljardim/beecrowd | 4e727e1b08e01f527d0b7b884c268643f1472ded | [
"MIT"
] | null | null | null | Beginner/1044.py | pedrodanieljardim/beecrowd | 4e727e1b08e01f527d0b7b884c268643f1472ded | [
"MIT"
] | null | null | null | A = int(input())
B = int(input())
if B % A == 0 or A % B == 0:
print("São Múltiplos \n")
else:
print("Não são Múltiplos \n")
| 16.75 | 33 | 0.529851 | 24 | 134 | 2.958333 | 0.541667 | 0.225352 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.261194 | 134 | 7 | 34 | 19.142857 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df77b8b8930489ffd3bae381a6bdaa60a25cfd06 | 86 | py | Python | hijack/signals.py | glizer/django-hijack | 023cf4f6bc8f1f01bcf01756c2c103521f98ebc5 | [
"MIT"
] | null | null | null | hijack/signals.py | glizer/django-hijack | 023cf4f6bc8f1f01bcf01756c2c103521f98ebc5 | [
"MIT"
] | null | null | null | hijack/signals.py | glizer/django-hijack | 023cf4f6bc8f1f01bcf01756c2c103521f98ebc5 | [
"MIT"
] | null | null | null | from django.dispatch import Signal
hijack_started = Signal()
hijack_ended = Signal()
| 17.2 | 34 | 0.790698 | 11 | 86 | 6 | 0.727273 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 4 | 35 | 21.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
df826f1eb9fa477b2303b55e45a401e519b14632 | 554 | py | Python | aulas_secao_17_metodos_magicos.py | Romuloro/Curso_udemy_geek_academy_python | 10d514874d913b7c2e3e4c30bd8a610973ffff3a | [
"MIT"
] | null | null | null | aulas_secao_17_metodos_magicos.py | Romuloro/Curso_udemy_geek_academy_python | 10d514874d913b7c2e3e4c30bd8a610973ffff3a | [
"MIT"
] | null | null | null | aulas_secao_17_metodos_magicos.py | Romuloro/Curso_udemy_geek_academy_python | 10d514874d913b7c2e3e4c30bd8a610973ffff3a | [
"MIT"
] | null | null | null | """
Métodos mágicos são todos os métodos que utilizam o dunder __method__
"""
# Construtor (__init__)
class Livro:
def __init__(self, titulo, autor, paginas):
self.__titulo = titulo
self.__autor = autor
self.__pagina = paginas
def __repr__(self): #__repr__ É a representasão do objeto... | 23.083333 | 86 | 0.6787 | 70 | 554 | 4.685714 | 0.5 | 0.121951 | 0.085366 | 0.109756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249097 | 554 | 23 | 87 | 24.086957 | 0.788462 | 0.395307 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
df927cfa1da48e0834ef7d11b919e85e79f612ef | 362 | py | Python | examples/0_boot.py/minimal/boot.py | fasteddy516/CircuitPython_GamepadXL | 63626ff04cbe205510620801fe492d73c63e703d | [
"MIT"
] | 1 | 2021-12-23T18:40:18.000Z | 2021-12-23T18:40:18.000Z | examples/0_boot.py/minimal/boot.py | fasteddy516/CircuitPython_GamepadXL | 63626ff04cbe205510620801fe492d73c63e703d | [
"MIT"
] | 7 | 2021-08-18T16:34:12.000Z | 2021-12-23T08:35:28.000Z | examples/0_boot.py/minimal/boot.py | fasteddy516/CircuitPython_JoystickXL | 63626ff04cbe205510620801fe492d73c63e703d | [
"MIT"
] | null | null | null | """JoystickXL minimal boot.py."""
import usb_hid # type: ignore (this is a CircuitPython built-in)
from joystick_xl.hid import create_joystick
# This will enable a joystick USB HID device. All other standard CircuitPython USB HID
# devices (keyboard, mouse, consumer control) will be disabled.
usb_hid.enable((create... | 40.222222 | 87 | 0.770718 | 55 | 362 | 4.981818 | 0.690909 | 0.087591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015924 | 0.132597 | 362 | 8 | 88 | 45.25 | 0.856688 | 0.618785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
10d678a3ab60786ad15ae7b08d7a223f4c51cde2 | 154 | py | Python | awtg/dispatcher/dispatcher.py | kvxmmu/aw | 134603864f624075bc7b06876b2df3386bbeef2d | [
"BSD-3-Clause"
] | 2 | 2020-05-21T11:45:16.000Z | 2020-07-28T16:35:38.000Z | awtg/dispatcher/dispatcher.py | kvxmmu/aw | 134603864f624075bc7b06876b2df3386bbeef2d | [
"BSD-3-Clause"
] | 1 | 2020-05-20T09:35:19.000Z | 2020-05-20T09:35:19.000Z | awtg/dispatcher/dispatcher.py | kvxmmu/aw | 134603864f624075bc7b06876b2df3386bbeef2d | [
"BSD-3-Clause"
] | 2 | 2020-05-19T17:39:25.000Z | 2020-07-01T15:05:06.000Z | from ..abstract.dispatcher import AbstractDispatcher
class Dispatcher(AbstractDispatcher):
def process_message(self):
raise NotImplemented
| 19.25 | 52 | 0.779221 | 14 | 154 | 8.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162338 | 154 | 7 | 53 | 22 | 0.922481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
10dc2ec476a3b3b32ff8097baec052a0f505fce3 | 60 | py | Python | kubetools/dev/backend.py | EDITD/kubetools | 3a87ed3b233aed152af9e52a4c1d5844a9c26437 | [
"MIT"
] | 5 | 2020-04-20T21:24:14.000Z | 2022-01-29T15:35:02.000Z | kubetools/dev/backend.py | EDITD/kubetools | 3a87ed3b233aed152af9e52a4c1d5844a9c26437 | [
"MIT"
] | 69 | 2019-12-17T16:16:21.000Z | 2022-03-23T11:19:49.000Z | kubetools/dev/backend.py | EDITD/kubetools | 3a87ed3b233aed152af9e52a4c1d5844a9c26437 | [
"MIT"
] | 1 | 2022-01-14T04:12:15.000Z | 2022-01-14T04:12:15.000Z | # dummy file - see ./backends/__init__.py for actual module
| 30 | 59 | 0.75 | 9 | 60 | 4.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 1 | 60 | 60 | 0.803922 | 0.95 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10e4b146691da7d25d7a3b572b70484922c30028 | 95 | py | Python | src/insideblog/apps.py | abhishek18620/django-forum | 7d4354645cdd5b2af5dfe3ee4a07fb6674f94a84 | [
"MIT"
] | null | null | null | src/insideblog/apps.py | abhishek18620/django-forum | 7d4354645cdd5b2af5dfe3ee4a07fb6674f94a84 | [
"MIT"
] | null | null | null | src/insideblog/apps.py | abhishek18620/django-forum | 7d4354645cdd5b2af5dfe3ee4a07fb6674f94a84 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class InsideblogConfig(AppConfig):
name = 'insideblog'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
10ea15ebe189f4358d9d280d07014fb1a4e899a1 | 320 | py | Python | components/gpio_control/GPIODevices/__init__.py | jorgemiar/RPi-Jukebox-RFID | e0c445cf3d1115915d03a56deb5d9242abfd74ae | [
"MIT"
] | null | null | null | components/gpio_control/GPIODevices/__init__.py | jorgemiar/RPi-Jukebox-RFID | e0c445cf3d1115915d03a56deb5d9242abfd74ae | [
"MIT"
] | null | null | null | components/gpio_control/GPIODevices/__init__.py | jorgemiar/RPi-Jukebox-RFID | e0c445cf3d1115915d03a56deb5d9242abfd74ae | [
"MIT"
] | null | null | null | from .rotary_encoder import RotaryEncoder
from .two_button_control import TwoButtonControl
from .shutdown_button import ShutdownButton
from .simple_button import SimpleButton
from .two_button_control import TwoButtonControl
from .VolumeControl import VolumeControl
from .long_button import LongButton
from .led import *
| 35.555556 | 48 | 0.871875 | 39 | 320 | 6.948718 | 0.435897 | 0.132841 | 0.095941 | 0.147601 | 0.339483 | 0.339483 | 0.339483 | 0 | 0 | 0 | 0 | 0 | 0.1 | 320 | 8 | 49 | 40 | 0.940972 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
10f01dfcfa2f3c320942bd276c0afddb73a00163 | 292 | py | Python | src/daipecore/lineage/GenericOutputDecorator.py | daipe-ai/daipe-core | aa205495fa6b464fa6078d17e439c60345ac99ea | [
"MIT"
] | 1 | 2021-09-17T09:07:09.000Z | 2021-09-17T09:07:09.000Z | src/daipecore/lineage/GenericOutputDecorator.py | daipe-ai/daipe-core | aa205495fa6b464fa6078d17e439c60345ac99ea | [
"MIT"
] | 2 | 2021-12-20T07:46:33.000Z | 2022-02-24T07:02:05.000Z | src/daipecore/lineage/GenericOutputDecorator.py | daipe-ai/daipe-core | aa205495fa6b464fa6078d17e439c60345ac99ea | [
"MIT"
] | null | null | null | from daipecore.lineage.OutputDecoratorInterface import OutputDecoratorInterface
class GenericOutputDecorator(OutputDecoratorInterface):
def __init__(self, identifier: str):
self.__identifier = identifier
@property
def identifier(self):
return self.__identifier
| 26.545455 | 79 | 0.773973 | 24 | 292 | 9.083333 | 0.583333 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167808 | 292 | 10 | 80 | 29.2 | 0.897119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
800a6b030cbdbe70a4a203ac3ba115c5dbc2737c | 29 | py | Python | AnalyzeMaxima/__init__.py | Brow71189/AnalyzeMaxima | 9d91a3448e3d76216e683834b1fe66e88b2cddbf | [
"MIT"
] | null | null | null | AnalyzeMaxima/__init__.py | Brow71189/AnalyzeMaxima | 9d91a3448e3d76216e683834b1fe66e88b2cddbf | [
"MIT"
] | null | null | null | AnalyzeMaxima/__init__.py | Brow71189/AnalyzeMaxima | 9d91a3448e3d76216e683834b1fe66e88b2cddbf | [
"MIT"
] | null | null | null | """
Package AnalyzeMaxima
""" | 9.666667 | 21 | 0.689655 | 2 | 29 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 3 | 22 | 9.666667 | 0.769231 | 0.724138 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
801433f3173a620a628c4d9b2842b2f7bb547619 | 283 | py | Python | sample/urls.py | ivissani/django-bootstrap3-datetimepicker | fc916c72a78bdafb54f09d8a30add516cbfe7689 | [
"Apache-2.0"
] | 86 | 2015-01-04T06:57:12.000Z | 2021-03-28T03:35:45.000Z | sample/urls.py | ivissani/django-bootstrap3-datetimepicker | fc916c72a78bdafb54f09d8a30add516cbfe7689 | [
"Apache-2.0"
] | 38 | 2015-01-27T15:22:14.000Z | 2021-11-08T21:24:09.000Z | sample/urls.py | ivissani/django-bootstrap3-datetimepicker | fc916c72a78bdafb54f09d8a30add516cbfe7689 | [
"Apache-2.0"
] | 128 | 2015-01-27T15:24:22.000Z | 2021-11-28T14:52:32.000Z | from django.conf import settings
from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('',
url(r'.*', 'sample.todo_app.views.edit'),
)
from django.conf.urls.static import static
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) | 31.444444 | 78 | 0.777385 | 39 | 283 | 5.538462 | 0.487179 | 0.138889 | 0.194444 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09894 | 283 | 9 | 78 | 31.444444 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 0.091549 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
33985ef0b67e128539f5887a48f77dfb10b76cc7 | 10,216 | py | Python | analysis.py | dmitrijsg123/Programming_and_Scripting_Project | 3035f42cca794b5c4bc520a8c3bfaac289d0e35f | [
"MIT"
] | null | null | null | analysis.py | dmitrijsg123/Programming_and_Scripting_Project | 3035f42cca794b5c4bc520a8c3bfaac289d0e35f | [
"MIT"
] | null | null | null | analysis.py | dmitrijsg123/Programming_and_Scripting_Project | 3035f42cca794b5c4bc520a8c3bfaac289d0e35f | [
"MIT"
] | null | null | null | #Import pandas library that allows to use its in-built functions, like max(), mnin(), mean() and describe()
import pandas as pd
df=pd.read_csv('Iris.csv') # reads the csv file
output_textfile = "Variables_Summary.txt" # writing to a text... | 57.072626 | 259 | 0.644381 | 1,339 | 10,216 | 4.836445 | 0.137416 | 0.086473 | 0.084311 | 0.132489 | 0.758184 | 0.712477 | 0.708308 | 0.703675 | 0.641909 | 0.631563 | 0 | 0.008168 | 0.197044 | 10,216 | 178 | 260 | 57.393258 | 0.7813 | 0.242854 | 0 | 0.375 | 0 | 0 | 0.298164 | 0.002794 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.316667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
33e47325e95795d792dde3a01a437a11ea8bbe0e | 486 | py | Python | boto3_type_annotations/boto3_type_annotations/opsworkscm/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/opsworkscm/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/opsworkscm/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from botocore.paginate import Paginator
class DescribeBackups(Paginator):
def paginate(self, BackupId: str = None, ServerName: str = None, PaginationConfig: Dict = None) -> Dict:
pass
class DescribeEvents(Paginator):
def paginate(self, ServerName: str, PaginationConfig: Dict ... | 27 | 108 | 0.707819 | 53 | 486 | 6.490566 | 0.358491 | 0.104651 | 0.174419 | 0.209302 | 0.584302 | 0.584302 | 0.284884 | 0.284884 | 0 | 0 | 0 | 0 | 0.199588 | 486 | 17 | 109 | 28.588235 | 0.884319 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.181818 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d5084da4b988566707b1b7de151427985d1d8594 | 174 | py | Python | core/__init__.py | iColdPlayer/kasir | 5c83c201a6e5e3bc0ca402ed4bb824ea85e02e38 | [
"MIT"
] | 29 | 2019-12-04T16:21:14.000Z | 2022-03-02T23:27:59.000Z | core/__init__.py | mejeng/kasir | cc6f9158b61c0cb45078ddf798af9588c8771311 | [
"MIT"
] | 13 | 2019-11-29T18:12:41.000Z | 2021-06-27T02:01:07.000Z | core/__init__.py | mejeng/kasir | cc6f9158b61c0cb45078ddf798af9588c8771311 | [
"MIT"
] | 14 | 2019-12-04T16:21:15.000Z | 2022-02-24T07:05:12.000Z | from __future__ import absolute_import, unicode_literals
from .celery import app as celery_app
# to ensure celery keep start everytime django started
__all__ = ('celery_app') | 43.5 | 56 | 0.827586 | 25 | 174 | 5.28 | 0.68 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 174 | 4 | 57 | 43.5 | 0.868421 | 0.298851 | 0 | 0 | 0 | 0 | 0.082645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1d45c276ce3d8322b934fa1dfbb7ce2b9dcc1d38 | 668 | py | Python | tests/test_Level2_Pipeline.py | jchiang87/Level2_Pipeline | d7f4d49b8f28a112c1a20e6812e9d810d2562e45 | [
"BSD-3-Clause"
] | 1 | 2016-12-20T21:47:39.000Z | 2016-12-20T21:47:39.000Z | tests/test_Level2_Pipeline.py | jchiang87/Level2_Pipeline | d7f4d49b8f28a112c1a20e6812e9d810d2562e45 | [
"BSD-3-Clause"
] | null | null | null | tests/test_Level2_Pipeline.py | jchiang87/Level2_Pipeline | d7f4d49b8f28a112c1a20e6812e9d810d2562e45 | [
"BSD-3-Clause"
] | null | null | null | """
Example unit tests for Level2_Pipeline package
"""
import unittest
import desc.level2_pipeline
class Level2_PipelineTestCase(unittest.TestCase):
def setUp(self):
self.message = 'Hello, world'
def tearDown(self):
pass
def test_run(self):
foo = desc.level2_pipeline.Level... | 26.72 | 74 | 0.697605 | 78 | 668 | 5.730769 | 0.423077 | 0.250559 | 0.161074 | 0.161074 | 0.295302 | 0.223714 | 0.223714 | 0.223714 | 0.223714 | 0 | 0 | 0.016854 | 0.200599 | 668 | 24 | 75 | 27.833333 | 0.820225 | 0.068862 | 0 | 0.125 | 0 | 0 | 0.032573 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.25 | false | 0.0625 | 0.125 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1d51f7d7b7c6029074d8a6b0681a61564626dac3 | 61 | py | Python | src/genie/libs/parser/arubaos/__init__.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/arubaos/__init__.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/arubaos/__init__.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | from genie import abstract
abstract.declare_token(__name__) | 15.25 | 32 | 0.852459 | 8 | 61 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 61 | 4 | 32 | 15.25 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 4 |
1d6c9dbf7a2f8f559af1aebb978666643dd41566 | 42 | py | Python | fem/continuous/__init__.py | joepatmckenna/fem | 18b3e3cb0b83f7a4eb464c84f09f00673ea2fcb3 | [
"MIT"
] | null | null | null | fem/continuous/__init__.py | joepatmckenna/fem | 18b3e3cb0b83f7a4eb464c84f09f00673ea2fcb3 | [
"MIT"
] | null | null | null | fem/continuous/__init__.py | joepatmckenna/fem | 18b3e3cb0b83f7a4eb464c84f09f00673ea2fcb3 | [
"MIT"
] | null | null | null | name = 'continuous'
import fit, simulate
| 10.5 | 20 | 0.738095 | 5 | 42 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 3 | 21 | 14 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1d6cd1793ea2d62f7ac0111b29aa68a521054da4 | 593 | py | Python | backend/events/schema.py | DDoS000/Event_Registers | 84a77d0914333ee830a72e2d31fa5374f70dea35 | [
"MIT"
] | null | null | null | backend/events/schema.py | DDoS000/Event_Registers | 84a77d0914333ee830a72e2d31fa5374f70dea35 | [
"MIT"
] | null | null | null | backend/events/schema.py | DDoS000/Event_Registers | 84a77d0914333ee830a72e2d31fa5374f70dea35 | [
"MIT"
] | null | null | null | import datetime
from pydantic import BaseModel
class EventBase(BaseModel):
id: int
name: str
description: str
location: str
start_date: datetime.datetime
end_date: datetime.datetime
created_by: int
created_on: datetime.datetime
status: str
image: str
class EventCreate(BaseModel... | 19.129032 | 33 | 0.693086 | 71 | 593 | 5.676056 | 0.366197 | 0.238213 | 0.198511 | 0.104218 | 0.647643 | 0.647643 | 0.647643 | 0.647643 | 0.647643 | 0.431762 | 0 | 0 | 0.246206 | 593 | 30 | 34 | 19.766667 | 0.901566 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 1 | 0 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1d752560244e76cf8a47c924cea23be76dd6af94 | 185 | py | Python | centerpoints/__main__.py | grundrauschen/center-points | 5a12f68ac012a0a2bf52d8a8381d0272e309ac18 | [
"MIT"
] | null | null | null | centerpoints/__main__.py | grundrauschen/center-points | 5a12f68ac012a0a2bf52d8a8381d0272e309ac18 | [
"MIT"
] | 2 | 2015-06-03T10:57:13.000Z | 2015-09-15T12:43:22.000Z | centerpoints/__main__.py | fu-berlin-swp-2014/center-points | 0fa523314a3168d4d229b6f61d0d05d314a8b35a | [
"MIT"
] | null | null | null | if __name__ == "__main__":
# To make relative paths work, the module has to be invoked with the
# -m argument like: python -m centerpoints
from .cli import main
main()
| 26.428571 | 72 | 0.67027 | 27 | 185 | 4.296296 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254054 | 185 | 6 | 73 | 30.833333 | 0.84058 | 0.578378 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1daa5c4e8d587ca76aee1aab4b7cca6d675c15e8 | 185 | py | Python | open_python_console.py | hugoburiel/OpenPythonConsole | 8a0f0e40e9187bcfbdb246bad013b5c6dae72b95 | [
"MIT"
] | null | null | null | open_python_console.py | hugoburiel/OpenPythonConsole | 8a0f0e40e9187bcfbdb246bad013b5c6dae72b95 | [
"MIT"
] | null | null | null | open_python_console.py | hugoburiel/OpenPythonConsole | 8a0f0e40e9187bcfbdb246bad013b5c6dae72b95 | [
"MIT"
] | null | null | null | import sublime, sublime_plugin
# TODO: add comments
def plugin_loaded():
window = sublime.active_window()
window.run_command("show_panel", {"panel": "console", "toggle": True}) | 30.833333 | 74 | 0.718919 | 23 | 185 | 5.565217 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 185 | 6 | 74 | 30.833333 | 0.8 | 0.097297 | 0 | 0 | 0 | 0 | 0.168675 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d52b03be55248e5a96e5d11828e66d4838a6bd34 | 27 | py | Python | aevum_auth.example.py | kaylynn234/AevumBot | 63a99dd20b2fbc62ee0a57a3679aff0ced129992 | [
"MIT"
] | null | null | null | aevum_auth.example.py | kaylynn234/AevumBot | 63a99dd20b2fbc62ee0a57a3679aff0ced129992 | [
"MIT"
] | null | null | null | aevum_auth.example.py | kaylynn234/AevumBot | 63a99dd20b2fbc62ee0a57a3679aff0ced129992 | [
"MIT"
] | null | null | null | TOKEN = "(your token here)" | 27 | 27 | 0.666667 | 4 | 27 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d53fa1040a42f59e80a470139ceed065b7aadf52 | 555 | py | Python | custom/champ/utils.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | custom/champ/utils.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | custom/champ/utils.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z |
ENHANCED_PEER_MOBILIZATION = 'enhanced_peer_mobilization'
CHAMP_CAMEROON = 'champ_client_forms'
TARGET_XMLNS = 'http://openrosa.org/formdesigner/A79467FD-4CDE-47B6-8218-4394699A5C95'
PREVENTION_XMLNS = 'http://openrosa.org/formdesigner/DF2FBEEA-31DE-4537-9913-07D57591502C'
POST_TEST_XMLNS = 'http://openrosa.org/formd... | 55.5 | 94 | 0.830631 | 68 | 555 | 6.573529 | 0.647059 | 0.100671 | 0.190157 | 0.223714 | 0.357942 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182331 | 0.041441 | 555 | 9 | 95 | 61.666667 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0.702166 | 0.046931 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5747e16ce619b2b977803951d6943a7136a6ae0 | 374 | py | Python | src/python/20ValidParentheses/solution_test.py | foomango/leetcode | a9d509db4b0902216b13449afe59b4ef22a416ca | [
"MIT"
] | null | null | null | src/python/20ValidParentheses/solution_test.py | foomango/leetcode | a9d509db4b0902216b13449afe59b4ef22a416ca | [
"MIT"
] | null | null | null | src/python/20ValidParentheses/solution_test.py | foomango/leetcode | a9d509db4b0902216b13449afe59b4ef22a416ca | [
"MIT"
] | null | null | null | import unittest
from solution import Solution
class TestSolution(unittest.TestCase):
def test_solution(self):
inst = Solution()
self.assertTrue(inst.isValid("()"))
self.assertTrue(inst.isValid("()[]{}"))
self.assertTrue(inst.isValid("{[]}"))
self.assertFalse(inst.isValid(... | 24.933333 | 47 | 0.620321 | 36 | 374 | 6.416667 | 0.388889 | 0.238095 | 0.25974 | 0.324675 | 0.549784 | 0.549784 | 0.341991 | 0.341991 | 0.341991 | 0 | 0 | 0 | 0.197861 | 374 | 14 | 48 | 26.714286 | 0.77 | 0 | 0 | 0 | 0 | 0 | 0.048128 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d58def71a94759edd1d0de3744a21e3ab5322d2d | 286 | py | Python | src/__init__.py | veechand/swPractise | 91d2941c7e8372567e95ed9871c92174a144c368 | [
"Apache-2.0"
] | null | null | null | src/__init__.py | veechand/swPractise | 91d2941c7e8372567e95ed9871c92174a144c368 | [
"Apache-2.0"
] | null | null | null | src/__init__.py | veechand/swPractise | 91d2941c7e8372567e95ed9871c92174a144c368 | [
"Apache-2.0"
] | null | null | null | from flask import Flask
from flask import render_template, make_response
app = Flask(__name__)
@app.route('/hello/')
def hello_world():
return render_template('hello.html', name="")
@app.route('/hello/<name>')
def hello_name(name):
return render_template('hello.html', name=name) | 26 | 51 | 0.741259 | 41 | 286 | 4.926829 | 0.365854 | 0.207921 | 0.148515 | 0.168317 | 0.326733 | 0.326733 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 286 | 11 | 51 | 26 | 0.789063 | 0 | 0 | 0 | 0 | 0 | 0.139373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
d59f53305b68ec40f6e06c5141f7ca97658ae2cf | 93 | py | Python | protestId/apps.py | gurleen-kaur1313/Oneness-Backend | 90c19d6c82c1d447f878575c132a7087d5347c85 | [
"MIT"
] | 1 | 2020-12-25T12:21:17.000Z | 2020-12-25T12:21:17.000Z | protestId/apps.py | gurleen-kaur1313/Oneness-Backend | 90c19d6c82c1d447f878575c132a7087d5347c85 | [
"MIT"
] | null | null | null | protestId/apps.py | gurleen-kaur1313/Oneness-Backend | 90c19d6c82c1d447f878575c132a7087d5347c85 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProtestidConfig(AppConfig):
name = 'protestId'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
634139e233f9799538f322255b69764d01818509 | 684 | py | Python | llvm/utils/lit/tests/test-data-micro.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 4,812 | 2015-01-02T19:38:10.000Z | 2022-03-27T12:42:24.000Z | llvm/utils/lit/tests/test-data-micro.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | llvm/utils/lit/tests/test-data-micro.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 2,543 | 2015-01-01T11:18:36.000Z | 2022-03-22T21:32:36.000Z | # Test features related to formats which support reporting additional test data.
# and multiple test results.
# RUN: %{lit} -j 1 -v %{inputs}/test-data-micro | FileCheck %s
# CHECK: -- Testing:
# CHECK: PASS: test-data-micro :: micro-tests.ini
# CHECK-NEXT: *** TEST 'test-data-micro :: micro-tests.ini' RESULTS ***
#... | 31.090909 | 80 | 0.685673 | 105 | 684 | 4.409524 | 0.352381 | 0.2527 | 0.272138 | 0.116631 | 0.468683 | 0.468683 | 0.356371 | 0.356371 | 0.356371 | 0.356371 | 0 | 0.046154 | 0.144737 | 684 | 21 | 81 | 32.571429 | 0.745299 | 0.94152 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6370722419a2586fe2ce2890f1f62b268d2a2a82 | 107 | py | Python | deferredCounters/apps.py | federicoemartinez/django-deferred-counter | 871e52f1adcdb8bdc88c85b02e4a34fde26ac097 | [
"BSD-3-Clause"
] | 1 | 2019-12-15T00:13:20.000Z | 2019-12-15T00:13:20.000Z | deferredCounters/apps.py | federicoemartinez/django-deferred-counter | 871e52f1adcdb8bdc88c85b02e4a34fde26ac097 | [
"BSD-3-Clause"
] | null | null | null | deferredCounters/apps.py | federicoemartinez/django-deferred-counter | 871e52f1adcdb8bdc88c85b02e4a34fde26ac097 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class DeferredcountersConfig(AppConfig):
name = 'deferredCounters'
| 17.833333 | 40 | 0.794393 | 10 | 107 | 8.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 41 | 21.4 | 0.923913 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
638bc0990e7baa601f3d41ecc0718235b239c077 | 101 | py | Python | Tutorials/01. 10 Days of Statistics/016. Day 6 - The Central Limit Theorem III.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Tutorials/01. 10 Days of Statistics/016. Day 6 - The Central Limit Theorem III.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Tutorials/01. 10 Days of Statistics/016. Day 6 - The Central Limit Theorem III.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | # Problem: https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-3/problem
# Score: 30
| 33.666667 | 88 | 0.772277 | 15 | 101 | 5.2 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.059406 | 101 | 2 | 89 | 50.5 | 0.768421 | 0.950495 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
63bba6bc144329d88f8529fc7892e26dbded74c6 | 1,151 | py | Python | apis_core/apis_tei/views.py | acdh-oeaw/apis-core | f7ece05eec46c820321fd28d3e947653dcb98ae7 | [
"MIT"
] | 11 | 2018-07-11T18:11:40.000Z | 2022-03-25T11:07:12.000Z | apis_core/apis_tei/views.py | acdh-oeaw/apis-core | f7ece05eec46c820321fd28d3e947653dcb98ae7 | [
"MIT"
] | 309 | 2018-06-11T08:38:50.000Z | 2022-03-31T13:45:22.000Z | apis_core/apis_tei/views.py | acdh-oeaw/apis-core | f7ece05eec46c820321fd28d3e947653dcb98ae7 | [
"MIT"
] | 5 | 2017-08-21T10:37:07.000Z | 2021-09-27T19:08:47.000Z | import lxml.etree as ET
from django.http import HttpResponse
from django.shortcuts import get_object_or_404
from apis_core.apis_entities.models import Person, Place, Institution
from .tei_utils import get_node_from_template
def person_as_tei(request, pk):
full = request.GET.get('full')
res = get_object_or_4... | 33.852941 | 71 | 0.738488 | 180 | 1,151 | 4.488889 | 0.244444 | 0.044554 | 0.054455 | 0.069307 | 0.705446 | 0.705446 | 0.705446 | 0.705446 | 0.705446 | 0.582921 | 0 | 0.015152 | 0.139878 | 1,151 | 33 | 72 | 34.878788 | 0.80101 | 0 | 0 | 0.391304 | 0 | 0 | 0.10879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.217391 | 0 | 0.478261 | 0.130435 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 4 |
892138b9b158cfb0d22cbfe2399dee0a3fbac88b | 139 | py | Python | 4. Estrutura de Repeticao While/Lista 01/programa 05.py | enosteteo/Introducao-a-Programacao-P1 | bd8f90c96fd16c88e7dc7136942fe29a828f86fa | [
"MIT"
] | null | null | null | 4. Estrutura de Repeticao While/Lista 01/programa 05.py | enosteteo/Introducao-a-Programacao-P1 | bd8f90c96fd16c88e7dc7136942fe29a828f86fa | [
"MIT"
] | null | null | null | 4. Estrutura de Repeticao While/Lista 01/programa 05.py | enosteteo/Introducao-a-Programacao-P1 | bd8f90c96fd16c88e7dc7136942fe29a828f86fa | [
"MIT"
] | null | null | null | a = 10
b = 22
while b - a > 4:
c = b - (2 * a)
if c > 0:
d = c + 1
else:
d = c + 5
a = a + 3
b = b - 2
| 12.636364 | 19 | 0.273381 | 28 | 139 | 1.357143 | 0.535714 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 0.57554 | 139 | 10 | 20 | 13.9 | 0.457627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
89243bf1315e9a3d44088e0289d4de4644eff531 | 329 | py | Python | mudminnow/mudminnow.py | DJHostetler/mudminnow | e7785e615ef04a11c6d091d58593ea2e2bf93c9d | [
"MIT"
] | 1 | 2019-10-15T01:27:46.000Z | 2019-10-15T01:27:46.000Z | mudminnow/mudminnow.py | DJHostetler/mudminnow | e7785e615ef04a11c6d091d58593ea2e2bf93c9d | [
"MIT"
] | null | null | null | mudminnow/mudminnow.py | DJHostetler/mudminnow | e7785e615ef04a11c6d091d58593ea2e2bf93c9d | [
"MIT"
] | null | null | null | import shapely
from dem import DEM
from geometry_v2 import Geometry
class Mapper:
'''Mapper class for mapping cross section elevation
data'''
def __init__(self, xs_file, reach_file, dem_file):
self.geometry = Geometry(xs_file, reach_file)
self.dem = DEM(dem_file)
def map(self):
... | 19.352941 | 55 | 0.680851 | 46 | 329 | 4.630435 | 0.478261 | 0.056338 | 0.103286 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004016 | 0.243161 | 329 | 17 | 56 | 19.352941 | 0.851406 | 0.161094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
892b1fd4c18ad8ae357f80f9f1fd509380c1107f | 224 | py | Python | corpustools/corpus/classes/__init__.py | akki2825/CorpusTools | ba236f55266eceb7e719fa36545985d8453953d3 | [
"BSD-3-Clause"
] | 97 | 2015-07-06T18:58:43.000Z | 2022-03-10T23:00:07.000Z | corpustools/corpus/classes/__init__.py | akki2825/CorpusTools | ba236f55266eceb7e719fa36545985d8453953d3 | [
"BSD-3-Clause"
] | 443 | 2015-03-10T21:24:39.000Z | 2022-03-22T22:20:13.000Z | corpustools/corpus/classes/__init__.py | akki2825/CorpusTools | ba236f55266eceb7e719fa36545985d8453953d3 | [
"BSD-3-Clause"
] | 22 | 2015-07-19T18:56:24.000Z | 2020-09-17T17:58:12.000Z |
from .lexicon import (Corpus, Word, Environment, EnvironmentFilter, FeatureMatrix,
Segment, Transcription, Attribute, )
from .spontaneous import Speaker, WordToken, Discourse, SpontaneousSpeechCorpus
| 37.333333 | 82 | 0.741071 | 18 | 224 | 9.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191964 | 224 | 5 | 83 | 44.8 | 0.917127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
89346dc74e8bfcb719fb5788fd85e4b9fbb9c4b6 | 91 | py | Python | enthought/enable/qt4/base_window.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/enable/qt4/base_window.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/enable/qt4/base_window.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from enable.qt4.base_window import *
| 22.75 | 38 | 0.835165 | 13 | 91 | 5.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.120879 | 91 | 3 | 39 | 30.333333 | 0.8625 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8962e467ae54be542b4ed08170f0da5cd00bb0ce | 87 | py | Python | super_recetas/receta/apps.py | Fahrek/test_project | 2e7f41f82c43c8b2ff9b49885afcca573883afaa | [
"MIT"
] | null | null | null | super_recetas/receta/apps.py | Fahrek/test_project | 2e7f41f82c43c8b2ff9b49885afcca573883afaa | [
"MIT"
] | null | null | null | super_recetas/receta/apps.py | Fahrek/test_project | 2e7f41f82c43c8b2ff9b49885afcca573883afaa | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RecetaConfig(AppConfig):
name = 'receta'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
89969590ce097ec5594e3d4d48bf574a0e330a25 | 50 | py | Python | tests/__init__.py | sahulkrishan/python-masterthermconnect | 7610056a5c387ccfeb7a01f3b6e0f8d42f63ddbf | [
"MIT"
] | null | null | null | tests/__init__.py | sahulkrishan/python-masterthermconnect | 7610056a5c387ccfeb7a01f3b6e0f8d42f63ddbf | [
"MIT"
] | null | null | null | tests/__init__.py | sahulkrishan/python-masterthermconnect | 7610056a5c387ccfeb7a01f3b6e0f8d42f63ddbf | [
"MIT"
] | 1 | 2021-11-27T15:07:27.000Z | 2021-11-27T15:07:27.000Z | """Python API wrapper for Mastertherm Connect."""
| 25 | 49 | 0.74 | 6 | 50 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 1 | 50 | 50 | 0.840909 | 0.86 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
982f348c7ea0ddbcf48063aece26f1a3c3615b68 | 78 | py | Python | Python-Fundamentals-June-2019/03_lists/04_rotate_list_of_strings.py | marinakolova/Python-Courses | eb95c782307be561b5026c5adafaa001b04caf4f | [
"MIT"
] | null | null | null | Python-Fundamentals-June-2019/03_lists/04_rotate_list_of_strings.py | marinakolova/Python-Courses | eb95c782307be561b5026c5adafaa001b04caf4f | [
"MIT"
] | null | null | null | Python-Fundamentals-June-2019/03_lists/04_rotate_list_of_strings.py | marinakolova/Python-Courses | eb95c782307be561b5026c5adafaa001b04caf4f | [
"MIT"
] | null | null | null | strings = input().split(' ')
print(strings[-1] + ' ' + ' '.join(strings[:-1])) | 39 | 49 | 0.538462 | 9 | 78 | 4.666667 | 0.666667 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.128205 | 78 | 2 | 49 | 39 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9848a892b4159a6813f1acf134e232e2743263cb | 1,502 | py | Python | tests/logging_/test_record_templates.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | tests/logging_/test_record_templates.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | tests/logging_/test_record_templates.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """Unit tests of logging records."""
import pytest
from ..utilities.general import is_never_authz, is_no_authz, uses_cataloging, uses_filesystem_only
@pytest.mark.usefixtures("log_entry_record_class_fixture", "log_entry_record_test_fixture")
class TestLogEntryRecord(object):
"""Tests for LogEntryRecord"""
@... | 31.291667 | 105 | 0.808921 | 178 | 1,502 | 6.404494 | 0.264045 | 0.070175 | 0.147368 | 0.168421 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081225 | 1,502 | 47 | 106 | 31.957447 | 0.826087 | 0.159787 | 0 | 0 | 0 | 0 | 0.407895 | 0.407895 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
986fbb87c0c00f7569917973938a669aa37fd1c5 | 149 | py | Python | guild-file-intro/train.py | lambdaofgod/examples | 26f7dd0ab58aba2f251e307982c34c9bd67d4797 | [
"Apache-2.0"
] | 9 | 2017-12-14T01:20:07.000Z | 2020-04-30T09:33:55.000Z | guild-file-intro/train.py | lambdaofgod/examples | 26f7dd0ab58aba2f251e307982c34c9bd67d4797 | [
"Apache-2.0"
] | 2 | 2019-08-15T16:32:00.000Z | 2020-03-18T18:22:38.000Z | guild-file-intro/train.py | lambdaofgod/examples | 26f7dd0ab58aba2f251e307982c34c9bd67d4797 | [
"Apache-2.0"
] | 4 | 2019-08-22T07:25:11.000Z | 2020-06-08T07:07:50.000Z | f1 = 1
f2 = 2
not_a_flag = 3
print("step: 1")
print("stat_1: 0.5")
print("stat_2: 0.6")
print("step: 2")
print("stat_1: 0.7")
print("stat_2: 0.8")
| 12.416667 | 20 | 0.597315 | 34 | 149 | 2.441176 | 0.470588 | 0.433735 | 0.240964 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 0.154362 | 149 | 11 | 21 | 13.545455 | 0.507937 | 0 | 0 | 0 | 0 | 0 | 0.389262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
98abdf7a7e0af400b1e608fa4cb89763c7571991 | 1,401 | py | Python | tests/test_markdownify_notion.py | chekos/markdownify-notion | d9a4b8140902e0039f0de88aa6364b33199508fa | [
"Apache-2.0"
] | 1 | 2022-01-25T22:46:17.000Z | 2022-01-25T22:46:17.000Z | tests/test_markdownify_notion.py | chekos/markdownify-notion | d9a4b8140902e0039f0de88aa6364b33199508fa | [
"Apache-2.0"
] | 8 | 2022-01-26T22:07:59.000Z | 2022-02-01T04:48:06.000Z | tests/test_markdownify_notion.py | chekos/markdownify-notion | d9a4b8140902e0039f0de88aa6364b33199508fa | [
"Apache-2.0"
] | null | null | null | from markdownify_notion import markdownify_block
from blocks import PARAGRAPH, BOOKMARK, CODE, HEADING_1, HEADING_2, HEADING_3, DIVIDER
from tests.blocks import IMAGE
def test_markdownify_block_paragraph():
assert (
markdownify_block(PARAGRAPH)
== "I wonder if the _markdown_ works - or **how** it ... | 33.357143 | 262 | 0.680942 | 193 | 1,401 | 4.756477 | 0.34715 | 0.261438 | 0.191721 | 0.150327 | 0.252723 | 0.204793 | 0.089325 | 0 | 0 | 0 | 0 | 0.07088 | 0.164168 | 1,401 | 41 | 263 | 34.170732 | 0.713066 | 0 | 0 | 0.137931 | 0 | 0.068966 | 0.38758 | 0.079943 | 0 | 0 | 0 | 0 | 0.275862 | 1 | 0.206897 | true | 0 | 0.103448 | 0 | 0.310345 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98aefe29eb57a2caf73ea44b7878db0246f47a40 | 62 | py | Python | Projects in Python/projeto_1.py | gusta-ino/Projects-in-Python | 4cc8e636f1e940b345070cf0a4ab153bc0d50044 | [
"MIT"
] | 1 | 2022-03-17T17:14:31.000Z | 2022-03-17T17:14:31.000Z | Projects in Python/projeto_1.py | gusta-ino/Projects-in-Python | 4cc8e636f1e940b345070cf0a4ab153bc0d50044 | [
"MIT"
] | null | null | null | Projects in Python/projeto_1.py | gusta-ino/Projects-in-Python | 4cc8e636f1e940b345070cf0a4ab153bc0d50044 | [
"MIT"
] | null | null | null | #Primeiro código em python - 11-03-22
print('Hello World!!!')
| 20.666667 | 37 | 0.693548 | 10 | 62 | 4.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.129032 | 62 | 2 | 38 | 31 | 0.685185 | 0.580645 | 0 | 0 | 0 | 0 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7f3e6c3f62ce0dca785e4f6b449b863bb6fcf82d | 1,735 | py | Python | abp/configs/tests/reinforce_config_tests.py | amritas02/abp-lets-work-together | c061e1ad92c4a807e39b681a29d7e28265ddf664 | [
"MIT"
] | null | null | null | abp/configs/tests/reinforce_config_tests.py | amritas02/abp-lets-work-together | c061e1ad92c4a807e39b681a29d7e28265ddf664 | [
"MIT"
] | 9 | 2018-11-14T23:35:05.000Z | 2019-05-22T18:31:30.000Z | abp/configs/tests/reinforce_config_tests.py | Zaerei/abp | 2459c1b4d77606c1d70715ce8378d738ba102f37 | [
"MIT"
] | 1 | 2018-11-14T22:34:09.000Z | 2018-11-14T22:34:09.000Z | import unittest
from abp.configs import ReinforceConfig
import os
file_path = os.path.dirname(os.path.abspath(__file__))
filename = "assets/reinforce.yml"
test_file = os.path.join(file_path, filename)
class ReinforceConfigTests(unittest.TestCase):
"""Unit tests for config objects"""
def test_should_create_r... | 36.914894 | 97 | 0.75562 | 210 | 1,735 | 5.9 | 0.338095 | 0.254237 | 0.309927 | 0.387409 | 0.619048 | 0.594027 | 0.188862 | 0.124294 | 0.124294 | 0.124294 | 0 | 0.029412 | 0.157349 | 1,735 | 46 | 98 | 37.717391 | 0.818057 | 0.016715 | 0 | 0.125 | 0 | 0 | 0.037647 | 0.021176 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.09375 | false | 0 | 0.09375 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7f420a31321ae5b0039c559e4ff575c4b2fe2c6d | 1,057 | py | Python | .upython/stubs/network.py | stalyatech/upython-samples | 1a28e09bef278532eda7a5ab1a80b3f80f525e63 | [
"MIT"
] | null | null | null | .upython/stubs/network.py | stalyatech/upython-samples | 1a28e09bef278532eda7a5ab1a80b3f80f525e63 | [
"MIT"
] | null | null | null | .upython/stubs/network.py | stalyatech/upython-samples | 1a28e09bef278532eda7a5ab1a80b3f80f525e63 | [
"MIT"
] | 1 | 2020-11-15T09:00:59.000Z | 2020-11-15T09:00:59.000Z | """
Module: 'network' on pySBC 1.13.0 with FW1.5.12-264
"""
# MCU: (sysname='pySBC', nodename='pySBC', release='1.13.0 with FW1.5.12', version='v1.13-264-gb0c6ec5bb-dirty on 2020-11-25', machine='simpleRTK-SBC with STM32F745')
# Stubber: 1.3.4
class SMS:
''
def callback():
pass
def send():
pass
def isbusy()... | 13.2125 | 166 | 0.528855 | 131 | 1,057 | 4.21374 | 0.450382 | 0.21558 | 0.014493 | 0.028986 | 0.300725 | 0.155797 | 0.155797 | 0 | 0 | 0 | 0 | 0.074236 | 0.350047 | 1,057 | 79 | 167 | 13.379747 | 0.729258 | 0.219489 | 0 | 0.622642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.377358 | false | 0.377358 | 0 | 0 | 0.566038 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7f6f80e935a7dad9192f285c63912a9d52b5e2f1 | 20,492 | py | Python | apps/graph/purpleserver/graph/tests/test_templates.py | rcknr/purplship-server | f8ec35af3da870fada0e989c20a8349c958c637c | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2020-02-03T08:11:21.000Z | 2021-04-13T02:00:38.000Z | apps/graph/purpleserver/graph/tests/test_templates.py | rcknr/purplship-server | f8ec35af3da870fada0e989c20a8349c958c637c | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2020-02-12T00:25:08.000Z | 2021-04-20T10:31:59.000Z | apps/graph/purpleserver/graph/tests/test_templates.py | rcknr/purplship-server | f8ec35af3da870fada0e989c20a8349c958c637c | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2020-02-03T08:10:50.000Z | 2021-04-13T15:17:12.000Z | import json
from unittest.mock import ANY
from purpleserver.graph.tests.base import GraphTestCase
import purpleserver.manager.models as manager
import purpleserver.graph.models as graph
class TestAddressTemplate(GraphTestCase):
def _create_address_template(self):
return self.query(
"""
... | 30.768769 | 87 | 0.432901 | 1,454 | 20,492 | 5.828748 | 0.105227 | 0.041062 | 0.023363 | 0.020177 | 0.822537 | 0.764366 | 0.705133 | 0.683658 | 0.63528 | 0.625133 | 0 | 0.017155 | 0.473746 | 20,492 | 665 | 88 | 30.815038 | 0.768731 | 0 | 0 | 0.568922 | 0 | 0 | 0.204878 | 0.012482 | 0 | 0 | 0 | 0 | 0.06015 | 1 | 0.030075 | false | 0 | 0.012531 | 0.007519 | 0.057644 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7f782af94eecb324c73402d1693faf09bee1f77c | 137 | py | Python | problem/01000~09999/05347/5347.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/01000~09999/05347/5347.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/01000~09999/05347/5347.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | def G(a,b): return G(b,a%b) if b else a
def L(a,b): return a*b//G(a,b)
for i in range(int(input())): print(L(*map(int,input().split()))) | 45.666667 | 65 | 0.59854 | 35 | 137 | 2.342857 | 0.485714 | 0.121951 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 137 | 3 | 65 | 45.666667 | 0.683333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.666667 | false | 0 | 0 | 0.666667 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7f8fc533a0c00287f0b70a9a6f0fc86d7b90806a | 55 | py | Python | pdml2flow/__init__.py | Enteee/pdml2flow | 2e5da6f03bc799f0e8ef77dd987031b969d4a5df | [
"Apache-2.0"
] | 12 | 2016-04-01T10:59:14.000Z | 2022-01-27T04:05:43.000Z | pdml2flow/__init__.py | Enteee/pdml2flow | 2e5da6f03bc799f0e8ef77dd987031b969d4a5df | [
"Apache-2.0"
] | 16 | 2016-03-18T10:44:00.000Z | 2019-08-12T05:52:24.000Z | pdml2flow/__init__.py | Enteee/pdml2flow | 2e5da6f03bc799f0e8ef77dd987031b969d4a5df | [
"Apache-2.0"
] | 2 | 2016-09-08T11:49:39.000Z | 2020-09-09T04:39:15.000Z | # vim: set fenc=utf8 ts=4 sw=4 et :
from .cli import *
| 18.333333 | 35 | 0.636364 | 12 | 55 | 2.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.218182 | 55 | 2 | 36 | 27.5 | 0.744186 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7f9df8388891590a596839bbda988c34ec742bfd | 492 | py | Python | tests/conftest.py | skspoon/cascade | 00534bd7e2558b880dfeb2e8bb2248a104ba6083 | [
"MIT"
] | null | null | null | tests/conftest.py | skspoon/cascade | 00534bd7e2558b880dfeb2e8bb2248a104ba6083 | [
"MIT"
] | null | null | null | tests/conftest.py | skspoon/cascade | 00534bd7e2558b880dfeb2e8bb2248a104ba6083 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def mock_execution_context(mocker):
mock_context = mocker.Mock()
mock_context.parameters.database = "test_database"
mock_context.parameters.model_version_id = 12345
return mock_context
@pytest.fixture
def mock_ezfuncs(mocker):
return mocker.patch("cascade.core.db.ez... | 24.6 | 105 | 0.772358 | 62 | 492 | 5.854839 | 0.419355 | 0.121212 | 0.132231 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011547 | 0.119919 | 492 | 19 | 106 | 25.894737 | 0.82679 | 0 | 0 | 0.230769 | 0 | 0 | 0.105691 | 0.046748 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7f9fad8ad41b5faa0832fed342552cb8503fb54f | 326 | py | Python | Lessons-Learned/nasa/websockets.py | defionscode/Ansible-at-NASA | caaa626ed5d88863e011ee6014d9dd0b6ab633d1 | [
"MIT"
] | 11 | 2015-02-23T23:33:00.000Z | 2019-03-29T10:31:02.000Z | Lessons-Learned/nasa/websockets.py | nousdefions/Ansible-at-NASA | caaa626ed5d88863e011ee6014d9dd0b6ab633d1 | [
"MIT"
] | null | null | null | Lessons-Learned/nasa/websockets.py | nousdefions/Ansible-at-NASA | caaa626ed5d88863e011ee6014d9dd0b6ab633d1 | [
"MIT"
] | 4 | 2015-02-23T18:06:35.000Z | 2019-03-08T07:33:51.000Z | # Copyright (c) 2014, Matt Makai
# All rights reserved.
# Full License can be read here: http://bit.ly/1qBgqzn
from flask.ext.socketio import emit
from . import socketio
@socketio.on('connect', namespace='/nasa')
def test_connect():
pass
@socketio.on('disconnect', namespace='/nasa')
def test_disconnect():
... | 18.111111 | 54 | 0.711656 | 45 | 326 | 5.111111 | 0.711111 | 0.086957 | 0.13913 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018116 | 0.153374 | 326 | 17 | 55 | 19.176471 | 0.815217 | 0.319018 | 0 | 0.25 | 0 | 0 | 0.124424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7fa06af38b3b9e8bb58097976147c3bbdc50ac5d | 670 | py | Python | application/bills/bill_forms.py | akelshareif/fiscally | ca44ca00537d2b9ef1bca8a3a67b66427394dc72 | [
"MIT"
] | 1 | 2020-09-18T04:18:58.000Z | 2020-09-18T04:18:58.000Z | application/bills/bill_forms.py | akelshareif/fiscally | ca44ca00537d2b9ef1bca8a3a67b66427394dc72 | [
"MIT"
] | null | null | null | application/bills/bill_forms.py | akelshareif/fiscally | ca44ca00537d2b9ef1bca8a3a67b66427394dc72 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, DecimalField
from wtforms.fields.html5 import DateField
from wtforms.validators import InputRequired
class BillForm(FlaskForm):
""" Add bill form """
bill_name = StringField('Bill Name', validators=[
InputRequired(me... | 37.222222 | 101 | 0.649254 | 75 | 670 | 5.733333 | 0.426667 | 0.076744 | 0.209302 | 0.230233 | 0.25814 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001992 | 0.250746 | 670 | 17 | 102 | 39.411765 | 0.854582 | 0.019403 | 0 | 0 | 0 | 0 | 0.189522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7fbb5f7d1f6cc405dadecbec98d91c441f6e9900 | 82 | py | Python | EulerProject/p1.py | cuihaoleo/exercises | 401dc2f19b6474e84e357a79a53754684fc93784 | [
"WTFPL"
] | 1 | 2015-08-30T10:06:41.000Z | 2015-08-30T10:06:41.000Z | EulerProject/p1.py | cuihaoleo/exercises | 401dc2f19b6474e84e357a79a53754684fc93784 | [
"WTFPL"
] | null | null | null | EulerProject/p1.py | cuihaoleo/exercises | 401dc2f19b6474e84e357a79a53754684fc93784 | [
"WTFPL"
] | null | null | null | #!/usr/bin/env python3
print(sum([i for i in range(1,1000) if i%3==0 or i%5==0]))
| 27.333333 | 58 | 0.621951 | 21 | 82 | 2.428571 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 0.134146 | 82 | 2 | 59 | 41 | 0.577465 | 0.256098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f680e221c7545bf1356d2c2caab48fc19c51fbe2 | 420 | py | Python | rastervision/v2/core/pipeline_config.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 1 | 2019-11-07T10:02:23.000Z | 2019-11-07T10:02:23.000Z | rastervision/v2/core/pipeline_config.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | rastervision/v2/core/pipeline_config.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | from rastervision.v2.core.config import Config
from rastervision.v2.core.config import register_config
from rastervision.v2.core.pipeline import Pipeline
@register_config('pipeline')
class PipelineConfig(Config):
root_uri: str
def build(self, tmp_dir):
return Pipeline(self, tmp_dir)
def get_config(... | 21 | 55 | 0.761905 | 56 | 420 | 5.571429 | 0.464286 | 0.153846 | 0.173077 | 0.211538 | 0.326923 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0.008357 | 0.145238 | 420 | 19 | 56 | 22.105263 | 0.860724 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.25 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
f6862211a2a19a57b79c1b4ecd18bc47845dce6d | 2,076 | py | Python | tests/api/judge_protocol_tests.py | ericbrandwein/CodeforcesAPI | 12ae641910a3308033584dc518bb2fc0173e56f3 | [
"MIT"
] | 26 | 2015-06-21T16:19:44.000Z | 2021-11-15T12:32:25.000Z | tests/api/judge_protocol_tests.py | ericbrandwein/CodeforcesAPI | 12ae641910a3308033584dc518bb2fc0173e56f3 | [
"MIT"
] | 5 | 2015-03-10T06:00:52.000Z | 2020-01-18T12:59:25.000Z | tests/api/judge_protocol_tests.py | ericbrandwein/CodeforcesAPI | 12ae641910a3308033584dc518bb2fc0173e56f3 | [
"MIT"
] | 12 | 2015-04-24T17:16:50.000Z | 2022-01-04T14:21:25.000Z | """
This module provides classes for testing JudgeProtocol object
"""
import unittest
from codeforces import JudgeProtocol
class JudgeProtocolTests(unittest.TestCase):
def setUp(self):
self.protocol = JudgeProtocol()
def test_load_from_dict(self):
protocol = (b"Solution verdict:\nWRONG_ANSW... | 37.745455 | 115 | 0.617534 | 273 | 2,076 | 4.619048 | 0.249084 | 0.023791 | 0.028549 | 0.088818 | 0.731166 | 0.731166 | 0.731166 | 0.731166 | 0.650278 | 0.650278 | 0 | 0.053934 | 0.240848 | 2,076 | 54 | 116 | 38.444444 | 0.746193 | 0.029383 | 0 | 0.235294 | 0 | 0.117647 | 0.410734 | 0.181356 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.088235 | false | 0 | 0.058824 | 0 | 0.176471 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f68fc9be7c7c4c5eb2df2ecf739c4801eb3923df | 375,017 | py | Python | icons_rc.py | LOC1207/Starting_with_QT-Creator | 2f7401a40dc00e508ac3b3736e76f66b202010d2 | [
"MIT"
] | 1 | 2019-03-17T10:03:11.000Z | 2019-03-17T10:03:11.000Z | icons_rc.py | gaurav3210/QT_creater | 2f7401a40dc00e508ac3b3736e76f66b202010d2 | [
"MIT"
] | null | null | null | icons_rc.py | gaurav3210/QT_creater | 2f7401a40dc00e508ac3b3736e76f66b202010d2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.11.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x33\x99\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x02\x58\x... | 65.528045 | 105 | 0.727247 | 90,827 | 375,017 | 3.002323 | 0.00338 | 0.008779 | 0.003961 | 0.005193 | 0.036811 | 0.029957 | 0.025762 | 0.025025 | 0.024078 | 0.023561 | 0 | 0.309661 | 0.015493 | 375,017 | 5,722 | 106 | 65.539497 | 0.428927 | 0.000405 | 0 | 0.01034 | 0 | 0.992639 | 0.000003 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000351 | false | 0 | 0.000175 | 0 | 0.000526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f69038ee8586a57244e6b8341ffb825502dd0a48 | 20,169 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpOspfDatabase/cli/equal/golden_output2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowIpOspfDatabase/cli/equal/golden_output2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowIpOspfDatabase/cli/equal/golden_output2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"vrf": {
"default": {
"address_family": {
"ipv4": {
"instance": {
"65109": {
"areas": {
"0.0.0.8": {
"database": {
... | 71.268551 | 96 | 0.132332 | 721 | 20,169 | 3.558946 | 0.140083 | 0.081839 | 0.130943 | 0.130943 | 0.710444 | 0.70265 | 0.590413 | 0.590413 | 0.544037 | 0.425175 | 0 | 0.31724 | 0.796668 | 20,169 | 282 | 97 | 71.521277 | 0.308461 | 0 | 0 | 0.478723 | 0 | 0 | 0.141455 | 0 | 0 | 0 | 0.016064 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 4 |
f6ca21d245e8a5cd437e9c60eac782b48a96bf95 | 217 | py | Python | sparcli/capture/platform_base.py | z0u/sparcli | 976e857c3802f61dead386f67404fc44e97b6672 | [
"MIT"
] | 3 | 2020-04-13T23:58:23.000Z | 2020-04-25T08:08:27.000Z | sparcli/capture/platform_base.py | z0u/sparcli | 976e857c3802f61dead386f67404fc44e97b6672 | [
"MIT"
] | null | null | null | sparcli/capture/platform_base.py | z0u/sparcli | 976e857c3802f61dead386f67404fc44e97b6672 | [
"MIT"
] | null | null | null | class Platform:
def set_nonblocking(self, read_fd):
raise NotImplementedError(
"Non-blocking capture not impelemented on this platform"
)
def apply_workarounds(self):
pass
| 24.111111 | 68 | 0.64977 | 23 | 217 | 6 | 0.869565 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 217 | 8 | 69 | 27.125 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.248848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f6d9be41cc369863429673efc485ea9840bfbbd0 | 109 | py | Python | src/config.py | JonathanWillnow/european_factor_stockpicking_screener | 4bb9396490a2171954ecf7aff16656d4225ae251 | [
"MIT"
] | 67 | 2015-01-19T17:41:02.000Z | 2019-10-17T19:12:49.000Z | src/config.py | JonathanWillnow/european_factor_stockpicking_screener | 4bb9396490a2171954ecf7aff16656d4225ae251 | [
"MIT"
] | 64 | 2015-02-23T15:18:24.000Z | 2019-11-20T19:58:59.000Z | src/config.py | JonathanWillnow/european_factor_stockpicking_screener | 4bb9396490a2171954ecf7aff16656d4225ae251 | [
"MIT"
] | 51 | 2015-01-15T16:10:33.000Z | 2019-10-28T21:14:03.000Z | from pathlib import Path
ROOT = Path(__file__).parent.parent
SRC = Path(__file__).parent
BLD = ROOT / "bld"
| 18.166667 | 35 | 0.733945 | 16 | 109 | 4.5 | 0.5625 | 0.222222 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 5 | 36 | 21.8 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f6e44d3d7dc334264ce073ad82023ed36af9e205 | 255 | py | Python | fossbotpy/gateway/dms/request.py | fosscord/fossbotpy | c10c57c42f403acc93197d524d254ab3215c1737 | [
"MIT"
] | 2 | 2021-12-04T15:16:30.000Z | 2021-12-21T04:37:17.000Z | fossbotpy/gateway/dms/request.py | fosscord/fossbotpy | c10c57c42f403acc93197d524d254ab3215c1737 | [
"MIT"
] | null | null | null | fossbotpy/gateway/dms/request.py | fosscord/fossbotpy | c10c57c42f403acc93197d524d254ab3215c1737 | [
"MIT"
] | null | null | null | #request
class DmRequest(object):
__slots__ = ['gatewayobj']
def __init__(self, gatewayobj):
self.gatewayobj = gatewayobj
def DMchannel(self, channel_id):
self.gatewayobj.send({'op':self.gatewayobj.OPCODE.DM_UPDATE,'d':{'channel_id':channel_id}}) | 28.333333 | 93 | 0.74902 | 32 | 255 | 5.59375 | 0.5625 | 0.312849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 255 | 9 | 93 | 28.333333 | 0.774892 | 0.027451 | 0 | 0 | 0 | 0 | 0.092742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 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 | 0 | 1 | 0 | 0 | 4 |
101030963f3e4fbf033859d7e7b6ea68b8b51a27 | 3,611 | py | Python | agents/maze_agents/modules/value_function.py | victorcampos7/edl | ffdf23d4e102ca7d69a1408bafa267b0c7d8bfa0 | [
"MIT"
] | 30 | 2020-02-16T15:52:59.000Z | 2022-03-22T10:54:54.000Z | agents/maze_agents/modules/value_function.py | imatge-upc/edl | ffdf23d4e102ca7d69a1408bafa267b0c7d8bfa0 | [
"MIT"
] | null | null | null | agents/maze_agents/modules/value_function.py | imatge-upc/edl | ffdf23d4e102ca7d69a1408bafa267b0c7d8bfa0 | [
"MIT"
] | 7 | 2020-02-16T15:53:05.000Z | 2022-01-18T03:41:03.000Z | # Copyright (c) 2019, salesforce.com, inc.
# All rights reserved.
# SPDX-License-Identifier: MIT
# For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
import torch
import torch.nn as nn
from dist_train.utils.helpers import create_nn
from base.modules.normalization import... | 43.506024 | 120 | 0.66519 | 545 | 3,611 | 4.108257 | 0.179817 | 0.050022 | 0.03573 | 0.029477 | 0.794998 | 0.766414 | 0.754801 | 0.754355 | 0.694953 | 0.694953 | 0 | 0.006606 | 0.245361 | 3,611 | 83 | 121 | 43.506024 | 0.815046 | 0.057879 | 0 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 1 | 0.084746 | false | 0 | 0.067797 | 0 | 0.271186 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
101180e060687c6c9b6b5fbf3e494ee1cb47e291 | 477 | py | Python | employee_management_backend/users/utils.py | SamwelOpiyo/simple_company_employee_management_backend | 75723dd6aed002a1bc30f2d78d077e498eb25226 | [
"MIT"
] | null | null | null | employee_management_backend/users/utils.py | SamwelOpiyo/simple_company_employee_management_backend | 75723dd6aed002a1bc30f2d78d077e498eb25226 | [
"MIT"
] | null | null | null | employee_management_backend/users/utils.py | SamwelOpiyo/simple_company_employee_management_backend | 75723dd6aed002a1bc30f2d78d077e498eb25226 | [
"MIT"
] | null | null | null | from datetime import datetime
import os
import time
import pytz
def get_extension(filename):
return os.path.splitext(filename)[1]
def user_avatar_path(instance, filename):
"""
Path for storing the profile image of the user
"""
# file will be uploaded to MEDIA_ROOT/avatars/<username>/<time>.<exte... | 25.105263 | 79 | 0.710692 | 64 | 477 | 5.171875 | 0.578125 | 0.084592 | 0.120846 | 0.1571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0075 | 0.161426 | 477 | 18 | 80 | 26.5 | 0.82 | 0.253669 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
63e9751fe18c84204aad03d6694488df775f0b5a | 73 | py | Python | Olympiad Solutions/DMOJ/shortest1.py | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | Olympiad Solutions/DMOJ/shortest1.py | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | Olympiad Solutions/DMOJ/shortest1.py | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | # Ivan Carvalho
# Solution to https://dmoj.ca/problem/shortest1
while 1:0 | 24.333333 | 47 | 0.767123 | 12 | 73 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.109589 | 73 | 3 | 48 | 24.333333 | 0.815385 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
120bb757fc8bc7f2ffc5cb286759a06ea5097d04 | 338 | py | Python | Enums/cooling_type.py | clean-code-craft-tcq-2/coverage-in-py-Shivam6033 | a44d54826b9abbf16b463c1de974cb4a95ee46e9 | [
"MIT"
] | null | null | null | Enums/cooling_type.py | clean-code-craft-tcq-2/coverage-in-py-Shivam6033 | a44d54826b9abbf16b463c1de974cb4a95ee46e9 | [
"MIT"
] | null | null | null | Enums/cooling_type.py | clean-code-craft-tcq-2/coverage-in-py-Shivam6033 | a44d54826b9abbf16b463c1de974cb4a95ee46e9 | [
"MIT"
] | null | null | null | from enum import Enum
from concrete_class.hi_active_cooling import HighActiveCooling
from concrete_class.med_active_cooling import MedActiveCooling
from concrete_class.passive_cooling import PassiveCooling
class CoolingType(Enum):
PASSIVE = PassiveCooling()
HIGH_ACTIVE = HighActiveCooling()
MED_ACTIVE = ... | 30.727273 | 62 | 0.83432 | 38 | 338 | 7.157895 | 0.394737 | 0.132353 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121302 | 338 | 11 | 63 | 30.727273 | 0.915825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
121bf53d2459dd354f8b16b435a9acc394866fd4 | 163 | py | Python | posts/forms.py | inziani/myInsta | 3f564f8a0240fc02665b06b4032214046771d3ef | [
"Unlicense"
] | null | null | null | posts/forms.py | inziani/myInsta | 3f564f8a0240fc02665b06b4032214046771d3ef | [
"Unlicense"
] | null | null | null | posts/forms.py | inziani/myInsta | 3f564f8a0240fc02665b06b4032214046771d3ef | [
"Unlicense"
] | null | null | null | from django import forms
from .models import Post, Comment
# class CommentForm(forms.ModelForm):
# class meta:
# model = Comment
# fields = ('comment') | 20.375 | 37 | 0.687117 | 19 | 163 | 5.894737 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208589 | 163 | 8 | 38 | 20.375 | 0.868217 | 0.576687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
12275067cf76b824609fdb87476e1b79b56d6104 | 175 | py | Python | allauth/socialaccount/providers/meetup_provider/urls.py | Fuzzwah/django-allauth | 071cbef1388bb61a563d3e41197bd5b7c26664d2 | [
"MIT"
] | null | null | null | allauth/socialaccount/providers/meetup_provider/urls.py | Fuzzwah/django-allauth | 071cbef1388bb61a563d3e41197bd5b7c26664d2 | [
"MIT"
] | null | null | null | allauth/socialaccount/providers/meetup_provider/urls.py | Fuzzwah/django-allauth | 071cbef1388bb61a563d3e41197bd5b7c26664d2 | [
"MIT"
] | null | null | null | from allauth.socialaccount.providers.oauth2_provider.urls import default_urlpatterns
from .provider import MeetupProvider
urlpatterns = default_urlpatterns(MeetupProvider)
| 25 | 84 | 0.874286 | 18 | 175 | 8.333333 | 0.611111 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.08 | 175 | 6 | 85 | 29.166667 | 0.925466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 4 |
1252db5e921c08fc596303de2dd87b4b5332e90c | 218 | py | Python | cynetworkx/algorithms/approximation/tests/test_independent_set.py | Viech/cynetworkx | 01a37859c67b752392e9e783c949084964eef2cf | [
"BSD-3-Clause"
] | 12 | 2019-07-23T08:07:53.000Z | 2022-03-09T06:13:16.000Z | cynetworkx/algorithms/approximation/tests/test_independent_set.py | Viech/cynetworkx | 01a37859c67b752392e9e783c949084964eef2cf | [
"BSD-3-Clause"
] | 7 | 2019-08-30T07:00:00.000Z | 2021-12-30T08:02:56.000Z | cynetworkx/algorithms/approximation/tests/test_independent_set.py | Viech/cynetworkx | 01a37859c67b752392e9e783c949084964eef2cf | [
"BSD-3-Clause"
] | 5 | 2020-10-10T03:40:32.000Z | 2021-11-23T12:28:53.000Z | from nose.tools import *
import cynetworkx as nx
import cynetworkx.algorithms.approximation as a
def test_independent_set():
# smoke test
G = nx.Graph()
assert_equal(len(a.maximum_independent_set(G)), 0)
| 21.8 | 54 | 0.743119 | 32 | 218 | 4.90625 | 0.6875 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005495 | 0.165138 | 218 | 9 | 55 | 24.222222 | 0.857143 | 0.045872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 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 | 0 | 0 | 4 |
89ceec934560d0dfc394a85b9d6c812847858ef7 | 130 | py | Python | Day14/persistance.py | ananthramas/pythonEducation | 7abd0341ee6cf46aaf3b337ba5870e3e3ea72e83 | [
"MIT"
] | null | null | null | Day14/persistance.py | ananthramas/pythonEducation | 7abd0341ee6cf46aaf3b337ba5870e3e3ea72e83 | [
"MIT"
] | null | null | null | Day14/persistance.py | ananthramas/pythonEducation | 7abd0341ee6cf46aaf3b337ba5870e3e3ea72e83 | [
"MIT"
] | 1 | 2021-03-16T00:04:42.000Z | 2021-03-16T00:04:42.000Z | userinput = ""
print("Before User input ", userinput)
userinput = input("EnterSomething :")
print("After User input ", userinput)
| 26 | 38 | 0.723077 | 14 | 130 | 6.714286 | 0.5 | 0.191489 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 130 | 4 | 39 | 32.5 | 0.831858 | 0 | 0 | 0 | 0 | 0 | 0.392308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.