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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a284b14090dd6adf42fc0613d56ac4b5c8e4fcdc | 56 | py | Python | producers/__init__.py | cfloressuazo/science-streaming | ef38624743128c0d1ff9b8c199f9c748678aa48a | [
"MIT"
] | null | null | null | producers/__init__.py | cfloressuazo/science-streaming | ef38624743128c0d1ff9b8c199f9c748678aa48a | [
"MIT"
] | null | null | null | producers/__init__.py | cfloressuazo/science-streaming | ef38624743128c0d1ff9b8c199f9c748678aa48a | [
"MIT"
] | null | null | null | from . import medicare_simulator
from . import producer
| 18.666667 | 32 | 0.821429 | 7 | 56 | 6.428571 | 0.714286 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 33 | 28 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a291606d6a07106fd005e9c3bd6048b49a13f7e0 | 48 | py | Python | aoc/d04/__init__.py | klittlepage/aoc2021 | 896848024b24e862211357795bc1e866534ffec2 | [
"MIT"
] | null | null | null | aoc/d04/__init__.py | klittlepage/aoc2021 | 896848024b24e862211357795bc1e866534ffec2 | [
"MIT"
] | null | null | null | aoc/d04/__init__.py | klittlepage/aoc2021 | 896848024b24e862211357795bc1e866534ffec2 | [
"MIT"
] | null | null | null | from aoc.d04.main import p_1, p_2 # noqa: F401
| 24 | 47 | 0.708333 | 11 | 48 | 2.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0.1875 | 48 | 1 | 48 | 48 | 0.641026 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2cab6741bf16f37960b9e3751c33c3eaec2cdcd | 14,183 | py | Python | src/python/BuildingControlsSimulator/Simulator/params_test_Simulator.py | Kunind/building-controls-simulator | 7d3b74539233cfe5e2983f2f7554afd1bbbacbe9 | [
"BSD-3-Clause"
] | null | null | null | src/python/BuildingControlsSimulator/Simulator/params_test_Simulator.py | Kunind/building-controls-simulator | 7d3b74539233cfe5e2983f2f7554afd1bbbacbe9 | [
"BSD-3-Clause"
] | null | null | null | src/python/BuildingControlsSimulator/Simulator/params_test_Simulator.py | Kunind/building-controls-simulator | 7d3b74539233cfe5e2983f2f7554afd1bbbacbe9 | [
"BSD-3-Clause"
] | null | null | null | # created by Tom Stesco tom.s@ecobee.com
import os
from BuildingControlsSimulator.DataClients.DataSpec import (
DonateYourDataSpec,
Internal,
FlatFilesSpec,
)
"""
Models:
Furnace.idf:
This model is not realistic at all, but is included in every
EnergyPlus installation and for this reaso... | 40.407407 | 79 | 0.47282 | 1,224 | 14,183 | 5.081699 | 0.172386 | 0.033762 | 0.038585 | 0.030064 | 0.886174 | 0.798232 | 0.757235 | 0.750643 | 0.744695 | 0.744695 | 0 | 0.085256 | 0.419446 | 14,183 | 351 | 80 | 40.407407 | 0.670148 | 0.002679 | 0 | 0.673653 | 0 | 0 | 0.362793 | 0.159646 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.02994 | 0.005988 | 0 | 0.005988 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c09ef72804341c5648663d10bf60814f296d770 | 276 | py | Python | guet/committers/_initials_name_email_printer.py | sturzl/guet | b8c453f07968b689b303e20e7a31b405c02c54ef | [
"Apache-2.0"
] | null | null | null | guet/committers/_initials_name_email_printer.py | sturzl/guet | b8c453f07968b689b303e20e7a31b405c02c54ef | [
"Apache-2.0"
] | null | null | null | guet/committers/_initials_name_email_printer.py | sturzl/guet | b8c453f07968b689b303e20e7a31b405c02c54ef | [
"Apache-2.0"
] | null | null | null | from guet.committers._committer_print_formatter import SingleCommitterPrintFormatter
class InitialsNameEmailPrintFormatter(SingleCommitterPrintFormatter):
def __str__(self):
return f'{self._committer.initials} - {self._committer.name} <{self._committer.email}>'
| 39.428571 | 95 | 0.811594 | 25 | 276 | 8.56 | 0.72 | 0.182243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 276 | 6 | 96 | 46 | 0.859438 | 0 | 0 | 0 | 0 | 0.25 | 0.278986 | 0.264493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0c66173df288bfd93a5daaa690f3aa695f455ed1 | 31,264 | py | Python | aws-frauddetector-detector/src/aws_frauddetector_detector/tests/helpers/test_update_worker_helpers.py | srrokib/aws-cloudformation-resource-providers-frauddetector | 08c049a57e4f9d54666ef7bc250d878853be3cd4 | [
"Apache-2.0"
] | 4 | 2021-05-24T05:35:05.000Z | 2021-11-08T09:43:48.000Z | aws-frauddetector-detector/src/aws_frauddetector_detector/tests/helpers/test_update_worker_helpers.py | srrokib/aws-cloudformation-resource-providers-frauddetector | 08c049a57e4f9d54666ef7bc250d878853be3cd4 | [
"Apache-2.0"
] | 3 | 2021-04-29T20:30:17.000Z | 2021-05-14T16:28:19.000Z | aws-frauddetector-detector/src/aws_frauddetector_detector/tests/helpers/test_update_worker_helpers.py | srrokib/aws-cloudformation-resource-providers-frauddetector | 08c049a57e4f9d54666ef7bc250d878853be3cd4 | [
"Apache-2.0"
] | 3 | 2021-04-07T16:03:03.000Z | 2021-10-30T03:25:33.000Z | from aws_frauddetector_detector.helpers import (
update_worker_helpers,
validation_helpers,
api_helpers,
common_helpers,
model_helpers,
)
from aws_frauddetector_detector import models
from botocore.exceptions import ClientError
from cloudformation_cli_python_lib import (
exceptions,
)
from .. im... | 38.173382 | 120 | 0.785728 | 4,058 | 31,264 | 5.470675 | 0.047068 | 0.036036 | 0.056216 | 0.041622 | 0.911126 | 0.872162 | 0.832297 | 0.802342 | 0.76545 | 0.726081 | 0 | 0.002167 | 0.158777 | 31,264 | 818 | 121 | 38.220049 | 0.841939 | 0.04414 | 0 | 0.696223 | 0 | 0 | 0.052549 | 0.028776 | 0 | 0 | 0 | 0 | 0.08867 | 1 | 0.034483 | false | 0 | 0.009852 | 0 | 0.044335 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a758ce21b830c5952a1d80be0aae89659bbec6c7 | 63 | py | Python | Contact/src/__init__.py | arnel-k/pythonlearning | ad1077ce8d550d6d3804dad33a20f6a6b9f0461b | [
"MIT"
] | null | null | null | Contact/src/__init__.py | arnel-k/pythonlearning | ad1077ce8d550d6d3804dad33a20f6a6b9f0461b | [
"MIT"
] | null | null | null | Contact/src/__init__.py | arnel-k/pythonlearning | ad1077ce8d550d6d3804dad33a20f6a6b9f0461b | [
"MIT"
] | null | null | null | from src.address import Address
from src.contact import Contact | 31.5 | 31 | 0.857143 | 10 | 63 | 5.4 | 0.5 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 2 | 32 | 31.5 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a759cad7b228affb528ce3cf7f5bb225d9073fd6 | 44 | py | Python | src/stuff/filey.py | catsymptote/automated_test_on_github_test | ab66977a90835d28a4b7887bc7a87d49509afdda | [
"Unlicense"
] | null | null | null | src/stuff/filey.py | catsymptote/automated_test_on_github_test | ab66977a90835d28a4b7887bc7a87d49509afdda | [
"Unlicense"
] | null | null | null | src/stuff/filey.py | catsymptote/automated_test_on_github_test | ab66977a90835d28a4b7887bc7a87d49509afdda | [
"Unlicense"
] | null | null | null | def do_thing(x: int) -> int:
return x*2
| 14.666667 | 28 | 0.590909 | 9 | 44 | 2.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.25 | 44 | 2 | 29 | 22 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a77eb68b853e6464ce4af58e11504c8b8f792321 | 32,190 | py | Python | bestiary/tests/test_rune.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 66 | 2017-09-11T04:46:00.000Z | 2021-03-13T00:02:42.000Z | bestiary/tests/test_rune.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 133 | 2017-09-24T21:28:59.000Z | 2021-04-02T10:35:31.000Z | bestiary/tests/test_rune.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 28 | 2017-08-30T19:04:32.000Z | 2020-11-16T04:09:00.000Z | from django.core.exceptions import ValidationError
from django.test import TestCase
from bestiary import models
class Rune(models.Rune):
class Meta:
abstract = True
@classmethod
def stub(cls, **kwargs):
defaults = {
'type': Rune.TYPE_ENERGY,
'stars': 6,
... | 34.317697 | 108 | 0.597453 | 4,025 | 32,190 | 4.496398 | 0.052422 | 0.079125 | 0.063653 | 0.076915 | 0.891369 | 0.850536 | 0.795226 | 0.768648 | 0.701348 | 0.645817 | 0 | 0.025426 | 0.297453 | 32,190 | 937 | 109 | 34.354322 | 0.77484 | 0.027369 | 0 | 0.58427 | 0 | 0 | 0.038079 | 0.004988 | 0 | 0 | 0 | 0 | 0.208489 | 1 | 0.121099 | false | 0 | 0.003745 | 0 | 0.132335 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a7a55d534ee3ff84ee28ffeb62ef437d4b6cf5b4 | 67 | py | Python | examples/__init__.py | danassutula/biomech-inverse | 4ee415f181e815085660dfe722bd861c99da0cd9 | [
"MIT"
] | 8 | 2020-03-30T17:12:18.000Z | 2021-12-02T01:31:32.000Z | examples/__init__.py | danassutula/biomech-inverse | 4ee415f181e815085660dfe722bd861c99da0cd9 | [
"MIT"
] | null | null | null | examples/__init__.py | danassutula/biomech-inverse | 4ee415f181e815085660dfe722bd861c99da0cd9 | [
"MIT"
] | 4 | 2020-10-07T21:57:03.000Z | 2022-01-11T19:28:08.000Z |
from . import config
from . import plotting
from . import utility
| 13.4 | 22 | 0.761194 | 9 | 67 | 5.666667 | 0.555556 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 4 | 23 | 16.75 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7c16290acfbc2a615e92a9a02079d470a25e8a8 | 139 | py | Python | PajjuPortfolio/home/views.py | Prajwalmegalamani/prajwalmegalamani.github.io | 1afdb7c4c75f914ba6153980f74774ede0359821 | [
"Apache-2.0"
] | null | null | null | PajjuPortfolio/home/views.py | Prajwalmegalamani/prajwalmegalamani.github.io | 1afdb7c4c75f914ba6153980f74774ede0359821 | [
"Apache-2.0"
] | null | null | null | PajjuPortfolio/home/views.py | Prajwalmegalamani/prajwalmegalamani.github.io | 1afdb7c4c75f914ba6153980f74774ede0359821 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render, HttpResponse
# Create your views here.
def Home(request):
return render(request, 'home.html') | 27.8 | 50 | 0.741007 | 18 | 139 | 5.722222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165468 | 139 | 5 | 51 | 27.8 | 0.887931 | 0.165468 | 0 | 0 | 0 | 0 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
38ebe1a9a9c46676cf2263be016c72ad0ec3ed15 | 221 | py | Python | SymbolExtractorAndRenamer/lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py | Polidea/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 427 | 2018-05-29T14:21:02.000Z | 2022-03-16T03:17:54.000Z | SymbolExtractorAndRenamer/lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py | PolideaPlayground/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 25 | 2018-07-23T08:34:15.000Z | 2021-11-05T07:13:36.000Z | SymbolExtractorAndRenamer/lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py | PolideaPlayground/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 52 | 2018-07-19T19:57:32.000Z | 2022-03-11T16:05:38.000Z | from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
lldbinline.MakeInlineTest(
__file__, globals(), [
decorators.expectedFailureAll(
bugnumber="rdar://problem/24599697")])
| 27.625 | 50 | 0.728507 | 20 | 221 | 7.85 | 0.7 | 0.165605 | 0.216561 | 0.292994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.176471 | 221 | 7 | 51 | 31.571429 | 0.818681 | 0 | 0 | 0 | 0 | 0 | 0.104072 | 0.104072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
38ecc153a0ad9addd829e022e1ab94697bdf8065 | 2,064 | py | Python | network.py | pardi/DRL_collab_compet | e8e2cde185d167e8104001ba3a0e090de3912fab | [
"BSD-3-Clause"
] | null | null | null | network.py | pardi/DRL_collab_compet | e8e2cde185d167e8104001ba3a0e090de3912fab | [
"BSD-3-Clause"
] | null | null | null | network.py | pardi/DRL_collab_compet | e8e2cde185d167e8104001ba3a0e090de3912fab | [
"BSD-3-Clause"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as f
import numpy as np
# Actor network
class ActorNetwork(nn.Module):
def __init__(self, in_channels, out_channels, hidden_layers=(64, 64)):
super(ActorNetwork, self).__init__()
self.fc1 = nn.Linear(in_channels, hidden_layers[0])
... | 31.753846 | 79 | 0.642442 | 308 | 2,064 | 4.090909 | 0.188312 | 0.114286 | 0.061905 | 0.053968 | 0.833333 | 0.833333 | 0.83254 | 0.778571 | 0.739683 | 0.692063 | 0 | 0.03706 | 0.215601 | 2,064 | 65 | 80 | 31.753846 | 0.741198 | 0.013566 | 0 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170213 | false | 0 | 0.085106 | 0 | 0.382979 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac62545d9e991f007fd2f859d32a178feb82678a | 161 | py | Python | gis4wrf/plugin/resources/__init__.py | XavierCLL/gis4wrf | 686b167d656f5f1835858f1b94de4423091f957c | [
"MIT"
] | 111 | 2018-06-13T15:34:52.000Z | 2022-03-23T04:59:53.000Z | gis4wrf/plugin/resources/__init__.py | mostamndi/gis4wrf | 93eb69e5f2e87e9805dcaf8fee05db0228fd81c4 | [
"MIT"
] | 190 | 2018-06-14T15:08:37.000Z | 2022-03-02T14:02:54.000Z | gis4wrf/plugin/resources/__init__.py | mostamndi/gis4wrf | 93eb69e5f2e87e9805dcaf8fee05db0228fd81c4 | [
"MIT"
] | 29 | 2018-06-13T15:35:05.000Z | 2022-01-27T03:18:18.000Z | # GIS4WRF (https://doi.org/10.5281/zenodo.1288569)
# Copyright (c) 2018 D. Meyer and M. Riechert. Licensed under MIT.
from .resources import * # auto-generated
| 32.2 | 66 | 0.726708 | 24 | 161 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129496 | 0.136646 | 161 | 4 | 67 | 40.25 | 0.71223 | 0.795031 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac70711b9701819000aab41b24e78e5010517922 | 10,432 | py | Python | src/api/dcps/python/test/test_ospl_11530.py | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 133 | 2017-11-09T02:10:00.000Z | 2022-03-29T09:45:10.000Z | src/api/dcps/python/test/test_ospl_11530.py | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 131 | 2017-11-07T14:48:43.000Z | 2022-03-13T15:30:47.000Z | src/api/dcps/python/test/test_ospl_11530.py | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 94 | 2017-11-09T02:26:19.000Z | 2022-02-24T06:38:25.000Z | #
# Vortex OpenSplice
#
# This software and documentation are Copyright 2006 to TO_YEAR ADLINK
# Technology Limited, its affiliated companies and licensors. All rights
# reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in ... | 40.909804 | 128 | 0.556557 | 1,099 | 10,432 | 5.099181 | 0.169245 | 0.006424 | 0.051392 | 0.044968 | 0.799072 | 0.799072 | 0.791399 | 0.783904 | 0.783904 | 0.783904 | 0 | 0.011718 | 0.353719 | 10,432 | 255 | 129 | 40.909804 | 0.81949 | 0.097968 | 0 | 0.822581 | 0 | 0 | 0.08145 | 0.004478 | 0 | 0 | 0 | 0 | 0.048387 | 1 | 0.075269 | false | 0.032258 | 0.021505 | 0 | 0.134409 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3bab96b09c6d78f892ba115b246d9ebddee5bb34 | 659 | py | Python | 04th/multiplication-or-plus/solution.py | WooJin1993/coding_test | ec9dc2dc768fe45700b4c0695b16535c0a824f6e | [
"MIT"
] | null | null | null | 04th/multiplication-or-plus/solution.py | WooJin1993/coding_test | ec9dc2dc768fe45700b4c0695b16535c0a824f6e | [
"MIT"
] | null | null | null | 04th/multiplication-or-plus/solution.py | WooJin1993/coding_test | ec9dc2dc768fe45700b4c0695b16535c0a824f6e | [
"MIT"
] | null | null | null | # 풀이 1 (직관적인 풀이)
def solution(s):
s_list = list(map(int, s))
while len(s_list) >= 2:
if s_list[0] + s_list[1] >= s_list[0] * s_list[1]:
s_list[:2] = [s_list[0] + s_list[1]]
else:
s_list[:2] = [s_list[0] * s_list[1]]
return s_list[0]
# 풀이 2 (좀 더 효율적인 풀이)
d... | 22.724138 | 58 | 0.505311 | 118 | 659 | 2.618644 | 0.211864 | 0.38835 | 0.15534 | 0.135922 | 0.731392 | 0.711974 | 0.711974 | 0.711974 | 0.634304 | 0.634304 | 0 | 0.087912 | 0.30956 | 659 | 29 | 59 | 22.724138 | 0.591209 | 0.050076 | 0 | 0.736842 | 0 | 0 | 0.022436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0 | 0 | 0.210526 | 0.157895 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3bc05670ead6a1fdf313cf5953aa7464d4466536 | 200 | py | Python | schematics_flexible/tests/dummy_test.py | EBRD-ProzorroSale/schematics-flexible | f6d19ca222804e47618cda35f938bbae0ef44a1d | [
"Apache-2.0"
] | null | null | null | schematics_flexible/tests/dummy_test.py | EBRD-ProzorroSale/schematics-flexible | f6d19ca222804e47618cda35f938bbae0ef44a1d | [
"Apache-2.0"
] | 1 | 2017-01-23T08:45:14.000Z | 2017-01-25T12:29:32.000Z | schematics_flexible/tests/dummy_test.py | EBRD-ProzorroSale/schematics-flexible | f6d19ca222804e47618cda35f938bbae0ef44a1d | [
"Apache-2.0"
] | 5 | 2016-12-01T14:23:00.000Z | 2018-06-26T08:18:51.000Z | # -*- coding: utf-8 -*-
import unittest
class DummyTest(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_000_something(self):
pass
| 12.5 | 35 | 0.59 | 23 | 200 | 5.043478 | 0.695652 | 0.206897 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.3 | 200 | 15 | 36 | 13.333333 | 0.8 | 0.105 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
3be10bc735259209deb9aaf6a59d17954c4592ab | 2,888 | py | Python | tests/math/binary/test_binary_funcs.py | aslvrstn/MyGrad | df3f95ba4dc859951044296271e9b4668b42606a | [
"MIT"
] | null | null | null | tests/math/binary/test_binary_funcs.py | aslvrstn/MyGrad | df3f95ba4dc859951044296271e9b4668b42606a | [
"MIT"
] | 2 | 2017-08-02T01:47:51.000Z | 2017-08-12T22:34:50.000Z | tests/math/binary/test_binary_funcs.py | aslvrstn/MyGrad | df3f95ba4dc859951044296271e9b4668b42606a | [
"MIT"
] | null | null | null | """ Test all binary arithmetic operations, checks for appropriate broadcast behavior"""
import numpy as np
from hypothesis import settings
from mygrad import (
add,
arctan2,
divide,
logaddexp,
logaddexp2,
multiply,
power,
subtract,
)
from ...wrappers.uber import backprop_test_factory, ... | 19.780822 | 87 | 0.717105 | 436 | 2,888 | 4.433486 | 0.135321 | 0.102431 | 0.140714 | 0.173823 | 0.83342 | 0.807553 | 0.747025 | 0.647698 | 0.617693 | 0.554578 | 0 | 0.038064 | 0.163089 | 2,888 | 145 | 88 | 19.917241 | 0.761688 | 0.027701 | 0 | 0.490909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145455 | true | 0.145455 | 0.036364 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ce21c058edef65c4490d7975fd0c111efca26509 | 100 | py | Python | src/QuestsTab/__init__.py | AndrewGrim/MonsterHunterWorldDatabase | a904647f5499926e46a64d884a2ffebe38dd5407 | [
"MIT"
] | 1 | 2020-02-17T00:16:01.000Z | 2020-02-17T00:16:01.000Z | src/QuestsTab/__init__.py | AndrewGrim/MonsterHunterWorldDatabase | a904647f5499926e46a64d884a2ffebe38dd5407 | [
"MIT"
] | null | null | null | src/QuestsTab/__init__.py | AndrewGrim/MonsterHunterWorldDatabase | a904647f5499926e46a64d884a2ffebe38dd5407 | [
"MIT"
] | 1 | 2020-06-26T06:54:00.000Z | 2020-06-26T06:54:00.000Z | from .QuestsTab import *
from .Quest import *
from .QuestReward import *
from .QuestMonster import * | 25 | 27 | 0.77 | 12 | 100 | 6.416667 | 0.5 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 4 | 27 | 25 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbfba3ab5b964e7c48314822ebb82d32c7134f74 | 27,933 | py | Python | test/enhance/test_adjust.py | bruinxiong/kornia | 0915bfec16425fcedf84f193aaa5c0f04fb6a8da | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/enhance/test_adjust.py | bruinxiong/kornia | 0915bfec16425fcedf84f193aaa5c0f04fb6a8da | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/enhance/test_adjust.py | bruinxiong/kornia | 0915bfec16425fcedf84f193aaa5c0f04fb6a8da | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import pytest
import kornia
from kornia.testing import tensor_to_gradcheck_var, BaseTester
from kornia.constants import pi
import torch
from torch.autograd import gradcheck
from torch.testing import assert_allclose
class TestAdjustSaturation:
def test_saturation_one(self, device):
data = torch.tensor([[... | 33.095972 | 112 | 0.413489 | 2,829 | 27,933 | 4.010604 | 0.072817 | 0.022563 | 0.025119 | 0.02221 | 0.830777 | 0.799136 | 0.77058 | 0.758946 | 0.715759 | 0.683501 | 0 | 0.105914 | 0.438227 | 27,933 | 843 | 113 | 33.135231 | 0.61713 | 0.035084 | 0 | 0.692042 | 0 | 0 | 0.002789 | 0 | 0 | 0 | 0 | 0 | 0.091696 | 1 | 0.079585 | false | 0 | 0.012111 | 0 | 0.110727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02069a19394ca795832c817608b65cf92c17d4ec | 120 | py | Python | warp/__init__.py | j-helland/warp | 2a71346f0ec4d4e6fd45ed3b5e972b683724287c | [
"Unlicense"
] | null | null | null | warp/__init__.py | j-helland/warp | 2a71346f0ec4d4e6fd45ed3b5e972b683724287c | [
"Unlicense"
] | null | null | null | warp/__init__.py | j-helland/warp | 2a71346f0ec4d4e6fd45ed3b5e972b683724287c | [
"Unlicense"
] | null | null | null | from .graph import *
from .workspace import Workspace
from .pipes import *
from .data import *
from .globals import log
| 20 | 32 | 0.766667 | 17 | 120 | 5.411765 | 0.470588 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 120 | 5 | 33 | 24 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0226666ba0fa44f747a2a1a8e0d2863a06b2bfb1 | 95,787 | py | Python | api_tests/nodes/views/test_node_list.py | hmoco/osf.io | a02869f9b5c198bafae7cea0c216674bbcba62f7 | [
"Apache-2.0"
] | 1 | 2015-10-02T18:35:53.000Z | 2015-10-02T18:35:53.000Z | api_tests/nodes/views/test_node_list.py | hmoco/osf.io | a02869f9b5c198bafae7cea0c216674bbcba62f7 | [
"Apache-2.0"
] | 4 | 2016-05-13T14:24:16.000Z | 2017-03-30T15:28:31.000Z | api_tests/nodes/views/test_node_list.py | hmoco/osf.io | a02869f9b5c198bafae7cea0c216674bbcba62f7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from nose.tools import * # flake8: noqa
import pytest
from django.db.models import F
from modularodm import Q
from framework.auth.core import Auth
from website.models import Node, NodeLog
from website.util import permissions
from website.util.sanitize import strip_html
from website.views impo... | 44.991545 | 225 | 0.607807 | 11,928 | 95,787 | 4.617203 | 0.032193 | 0.058921 | 0.055671 | 0.041036 | 0.885245 | 0.856992 | 0.828594 | 0.803446 | 0.775992 | 0.752932 | 0 | 0.00878 | 0.259211 | 95,787 | 2,128 | 226 | 45.012688 | 0.767369 | 0.005084 | 0 | 0.628028 | 0 | 0 | 0.108737 | 0.019436 | 0 | 0 | 0 | 0 | 0.267589 | 1 | 0.083622 | false | 0 | 0.007497 | 0 | 0.098039 | 0.019031 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
026999d9c1a2459b5bb31e54ae2b2777f6751241 | 130 | py | Python | server/blueprint/event/action.py | EtienneTurc/IChooseYou | 9ea7767b793ba6ef389f7cc806a02db2e1434c70 | [
"MIT"
] | 4 | 2022-01-10T10:04:12.000Z | 2022-01-10T18:05:48.000Z | server/blueprint/event/action.py | EtienneTurc/IChooseYou | 9ea7767b793ba6ef389f7cc806a02db2e1434c70 | [
"MIT"
] | null | null | null | server/blueprint/event/action.py | EtienneTurc/IChooseYou | 9ea7767b793ba6ef389f7cc806a02db2e1434c70 | [
"MIT"
] | null | null | null | from enum import Enum
class BlueprintEventAction(Enum):
WORKFLOW_STEP_EXECUTE = "workflow_step_execute" # Defined by slack
| 21.666667 | 71 | 0.792308 | 16 | 130 | 6.1875 | 0.6875 | 0.242424 | 0.383838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 5 | 72 | 26 | 0.9 | 0.123077 | 0 | 0 | 0 | 0 | 0.1875 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
026a6a3d469d4119be4350ef9822f40050064ec4 | 10,967 | py | Python | pw_RadCool_0_1B.py | parkerwray/tmm | 8c27a56163d33de5955611eee35864c4485d1b2b | [
"MIT"
] | null | null | null | pw_RadCool_0_1B.py | parkerwray/tmm | 8c27a56163d33de5955611eee35864c4485d1b2b | [
"MIT"
] | null | null | null | pw_RadCool_0_1B.py | parkerwray/tmm | 8c27a56163d33de5955611eee35864c4485d1b2b | [
"MIT"
] | null | null | null | """
Import relevant modules
"""
from __future__ import division, print_function, absolute_import
#from tmm.tmm_core import (coh_tmm, unpolarized_RT, ellips,
# position_resolved, find_in_structure_with_inf)
from wptherml.wptherml.datalib import datalib
import tmm.tmm_core as tmm
from numpy impor... | 37.176271 | 114 | 0.590863 | 1,568 | 10,967 | 3.985332 | 0.121173 | 0.035846 | 0.049608 | 0.054409 | 0.81421 | 0.792607 | 0.769563 | 0.75196 | 0.75164 | 0.726036 | 0 | 0.03252 | 0.125194 | 10,967 | 294 | 115 | 37.302721 | 0.618824 | 0.387709 | 0 | 0.360825 | 0 | 0 | 0.141842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.061856 | 0 | 0.061856 | 0.010309 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a485e87b06fb8e34ce7f6cd054c8d2b9802616f | 44 | py | Python | segmentify/model/__init__.py | kne42/segmentify | cdacf55be64d066958d0114c0748141203708a06 | [
"BSD-3-Clause"
] | 26 | 2019-07-29T21:52:08.000Z | 2022-03-30T16:47:12.000Z | segmentify/model/__init__.py | joaomamede/segmentify | bd57cfcc94ad2f6dfcb080ae786f410e044659c4 | [
"BSD-3-Clause"
] | 24 | 2019-07-25T20:38:43.000Z | 2021-02-09T21:53:55.000Z | segmentify/model/__init__.py | joaomamede/segmentify | bd57cfcc94ad2f6dfcb080ae786f410e044659c4 | [
"BSD-3-Clause"
] | 11 | 2019-06-18T22:37:34.000Z | 2021-12-14T05:35:24.000Z | from .unet import UNet
from . import layers
| 14.666667 | 22 | 0.772727 | 7 | 44 | 4.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cedc2c475e983383de83354895b9aa06a5e8f0e0 | 137 | py | Python | bitcoin/__init__.py | nelisky/pybitcointools | 495abb20684c724dd5718890fcb2a1703cab5eaf | [
"MIT"
] | 4 | 2015-07-13T21:30:43.000Z | 2015-09-07T18:30:13.000Z | bitcoin/__init__.py | nelisky/pybitcointools | 495abb20684c724dd5718890fcb2a1703cab5eaf | [
"MIT"
] | 1 | 2021-10-04T15:56:08.000Z | 2021-10-04T15:56:08.000Z | bitcoin/__init__.py | nelisky/pybitcointools | 495abb20684c724dd5718890fcb2a1703cab5eaf | [
"MIT"
] | 3 | 2016-01-11T12:36:31.000Z | 2021-02-12T19:36:44.000Z | from main import *
from transaction import *
from deterministic import *
from bci import *
from composite import *
from stealth import *
| 19.571429 | 27 | 0.781022 | 18 | 137 | 5.944444 | 0.444444 | 0.46729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175182 | 137 | 6 | 28 | 22.833333 | 0.946903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ca3d3ba598d28c011b154de7036465f5444e237 | 51 | py | Python | d2k/__init__.py | jaltmayerpizzorno/d2k | da5fae30c167686cf43b4ea67441a47f9385cbbe | [
"MIT"
] | 3 | 2020-04-16T12:03:08.000Z | 2020-10-02T00:34:41.000Z | d2k/__init__.py | jaltmayerpizzorno/d2k | da5fae30c167686cf43b4ea67441a47f9385cbbe | [
"MIT"
] | null | null | null | d2k/__init__.py | jaltmayerpizzorno/d2k | da5fae30c167686cf43b4ea67441a47f9385cbbe | [
"MIT"
] | 1 | 2021-12-18T12:24:43.000Z | 2021-12-18T12:24:43.000Z | import d2k.network
import d2k.box
import d2k.image
| 12.75 | 18 | 0.823529 | 9 | 51 | 4.666667 | 0.555556 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.117647 | 51 | 3 | 19 | 17 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b3240ac9b72cf6cfc08b3d5736a04c869538f9b | 5,591 | py | Python | ckan/model/follower.py | Gnafu/ckan | d81f69b90291e50ef7e85821ccb83daa94eb3bb7 | [
"BSD-3-Clause"
] | 2 | 2021-02-19T20:06:52.000Z | 2021-04-15T20:42:11.000Z | ckan/model/follower.py | Gnafu/ckan | d81f69b90291e50ef7e85821ccb83daa94eb3bb7 | [
"BSD-3-Clause"
] | null | null | null | ckan/model/follower.py | Gnafu/ckan | d81f69b90291e50ef7e85821ccb83daa94eb3bb7 | [
"BSD-3-Clause"
] | 4 | 2016-12-17T22:26:06.000Z | 2017-01-20T21:51:24.000Z | import sqlalchemy
import meta
import datetime
import domain_object
class UserFollowingUser(domain_object.DomainObject):
'''A many-many relationship between users.
A relationship between one user (the follower) and another (the object),
that means that the follower is currently following the object.
'... | 37.02649 | 77 | 0.690216 | 637 | 5,591 | 5.88697 | 0.120879 | 0.090667 | 0.032 | 0.0384 | 0.833333 | 0.815733 | 0.789333 | 0.752 | 0.736 | 0.7056 | 0 | 0 | 0.213915 | 5,591 | 150 | 78 | 37.273333 | 0.853242 | 0.198355 | 0 | 0.633333 | 0 | 0 | 0.042682 | 0.005103 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155556 | false | 0 | 0.044444 | 0 | 0.355556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b67fe29fc06a70b5cea7616b074c1091d673b86 | 117 | py | Python | pypop/__init__.py | trouleau/pypop | a9b22ad02e890e250fb91a8dc32a9dfde3d4e3de | [
"MIT"
] | null | null | null | pypop/__init__.py | trouleau/pypop | a9b22ad02e890e250fb91a8dc32a9dfde3d4e3de | [
"MIT"
] | null | null | null | pypop/__init__.py | trouleau/pypop | a9b22ad02e890e250fb91a8dc32a9dfde3d4e3de | [
"MIT"
] | null | null | null | from . import models
from . import plotting
from . import simulation
from . import priors, posteriors, utils, fitter
| 23.4 | 47 | 0.777778 | 15 | 117 | 6.066667 | 0.6 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 117 | 4 | 48 | 29.25 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b699556b141ae64a8dc4ae439efe55180dcfb87 | 2,651 | py | Python | python/16_bsearch/bsearch_variants.py | shipan3452/algo | 0494cc0d8f5daf108daf4358c4531a29279dd380 | [
"Apache-2.0"
] | 22,028 | 2018-09-27T05:55:19.000Z | 2022-03-30T10:44:46.000Z | python/16_bsearch/bsearch_variants.py | wangjing013/algo | b2c1228ff915287ad7ebeae4355fa26854ea1557 | [
"Apache-2.0"
] | 164 | 2018-10-06T15:11:08.000Z | 2022-03-28T10:04:34.000Z | python/16_bsearch/bsearch_variants.py | wangjing013/algo | b2c1228ff915287ad7ebeae4355fa26854ea1557 | [
"Apache-2.0"
] | 7,250 | 2018-09-30T00:45:25.000Z | 2022-03-31T20:15:33.000Z | """
Author: Wenru
Fix: nzjia
"""
from typing import List
def bsearch_left(nums: List[int], target: int) -> int:
"""Binary search of the index of the first element
equal to a given target in the ascending sorted array.
If not found, return -1.
"""
low, high = 0, len(nums) - 1
while low ... | 27.614583 | 67 | 0.550736 | 396 | 2,651 | 3.585859 | 0.15404 | 0.059155 | 0.067606 | 0.047887 | 0.870423 | 0.849296 | 0.747887 | 0.707042 | 0.707042 | 0.707042 | 0 | 0.040623 | 0.322143 | 2,651 | 95 | 68 | 27.905263 | 0.749583 | 0.206337 | 0 | 0.634921 | 0 | 0 | 0.003968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063492 | false | 0 | 0.015873 | 0 | 0.206349 | 0.190476 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b831c3304d85b5ec363fb33a3120f7970a51bb1 | 25 | py | Python | andromeda/modules/inventory/views/__init__.py | sango09/andromeda_api_rest | b4a3267146f4f9a985fb3f512e652d4ff354bba2 | [
"MIT"
] | 1 | 2021-09-08T18:58:16.000Z | 2021-09-08T18:58:16.000Z | andromeda/modules/inventory/views/__init__.py | sango09/andromeda_api_rest | b4a3267146f4f9a985fb3f512e652d4ff354bba2 | [
"MIT"
] | null | null | null | andromeda/modules/inventory/views/__init__.py | sango09/andromeda_api_rest | b4a3267146f4f9a985fb3f512e652d4ff354bba2 | [
"MIT"
] | null | null | null | from .inventory import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f00ec8ed54871d7ab0b6dd3fcc172c257811cc87 | 84 | py | Python | YahooFinanceDataLoader/bulk_data/__init__.py | alv2017/Python---YahooFinanceDataLoader | 407076c6262d2935b5331aceaaa02d5a9146183d | [
"MIT"
] | null | null | null | YahooFinanceDataLoader/bulk_data/__init__.py | alv2017/Python---YahooFinanceDataLoader | 407076c6262d2935b5331aceaaa02d5a9146183d | [
"MIT"
] | null | null | null | YahooFinanceDataLoader/bulk_data/__init__.py | alv2017/Python---YahooFinanceDataLoader | 407076c6262d2935b5331aceaaa02d5a9146183d | [
"MIT"
] | null | null | null | from YahooFinanceDataLoader.bulk_data.download_bulk_data import download_bulk_data
| 28 | 82 | 0.916667 | 11 | 84 | 6.545455 | 0.545455 | 0.333333 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 84 | 2 | 83 | 42 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f05a7ef6c5feff2e1edd4b2e120164e93fae396f | 1,057 | py | Python | tests/test_grad/test_gradhelpers.py | leaprovenzano/hearth | 97df32b9a7d395a8c6d449659e9867ad1ef895b2 | [
"MIT"
] | null | null | null | tests/test_grad/test_gradhelpers.py | leaprovenzano/hearth | 97df32b9a7d395a8c6d449659e9867ad1ef895b2 | [
"MIT"
] | 42 | 2020-12-14T18:04:41.000Z | 2022-02-06T12:30:14.000Z | tests/test_grad/test_gradhelpers.py | leaprovenzano/muspelheim | 00f09ab35df93e67fd25536f6a3d6fa4ab001afb | [
"MIT"
] | 1 | 2021-08-03T06:59:46.000Z | 2021-08-03T06:59:46.000Z | import pytest
from torch import nn
from hearth.grad import anygrad, allgrad, freeze
@pytest.mark.parametrize(
'model, expected',
[
pytest.param(nn.Sequential(nn.Linear(5, 5), nn.Linear(5, 5)), True, id="unfrozen"),
pytest.param(
nn.Sequential(freeze(nn.Linear(5, 5)), nn.Linear(5, 5... | 29.361111 | 97 | 0.603595 | 141 | 1,057 | 4.48227 | 0.205674 | 0.151899 | 0.170886 | 0.189873 | 0.738924 | 0.738924 | 0.738924 | 0.738924 | 0.738924 | 0.738924 | 0 | 0.029593 | 0.232734 | 1,057 | 35 | 98 | 30.2 | 0.749692 | 0 | 0 | 0.580645 | 0 | 0 | 0.092715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.096774 | 0.064516 | 0.225806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f07c30c1117251fb17b9dba0389da0a95e319718 | 4,604 | py | Python | tests/test_imagewidget.py | 3d-pli/QtSLIX | 99cf520d9e2a8a34ab11b5911989244a983ca328 | [
"MIT"
] | null | null | null | tests/test_imagewidget.py | 3d-pli/QtSLIX | 99cf520d9e2a8a34ab11b5911989244a983ca328 | [
"MIT"
] | null | null | null | tests/test_imagewidget.py | 3d-pli/QtSLIX | 99cf520d9e2a8a34ab11b5911989244a983ca328 | [
"MIT"
] | null | null | null | import pytest
import numpy
from PyQt5 import QtGui, QtCore
from PyQt5.QtGui import qRed, qGreen, qBlue, qAlpha
from PyQt5.QtWidgets import QScrollBar
from QtSLIX import ImageWidget
class TestImageWidget:
@pytest.mark.parametrize("shapes", [(10, 10), (10, 10, 1)])
def test_convert_numpy_to_qimage_grayscale(se... | 39.689655 | 73 | 0.613597 | 629 | 4,604 | 4.357711 | 0.135135 | 0.016053 | 0.0332 | 0.072966 | 0.810653 | 0.785115 | 0.73039 | 0.708865 | 0.648304 | 0.648304 | 0 | 0.057824 | 0.271286 | 4,604 | 115 | 74 | 40.034783 | 0.759165 | 0.016725 | 0 | 0.583333 | 0 | 0 | 0.004201 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.135417 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2d91bf3ec69da7c9ac4cd6659d1f0a3dfdad295 | 32 | py | Python | src/applications/onboarding/forms/__init__.py | Alex-T13/sts_13_on_FastAPI | aab2a5b542b75230c7f0d7bdcdad292f424c638c | [
"MIT"
] | 3 | 2020-11-03T23:49:28.000Z | 2020-11-13T07:25:33.000Z | src/applications/onboarding/forms/__init__.py | Alex-T13/sts_13_on_FastAPI | aab2a5b542b75230c7f0d7bdcdad292f424c638c | [
"MIT"
] | 7 | 2021-04-06T18:19:48.000Z | 2021-09-22T19:43:54.000Z | src/applications/onboarding/forms/__init__.py | Alex-T13/sts_13_without_FastAPI | aab2a5b542b75230c7f0d7bdcdad292f424c638c | [
"MIT"
] | 1 | 2021-01-26T19:45:37.000Z | 2021-01-26T19:45:37.000Z | from .sign_up import SignUpForm
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
650dfd5450a1288e44f4c701d0f86b819521b1c2 | 12,468 | py | Python | auxiliary/dataset.py | stevenygd/AtlasNet | 92f7a8d30a9130a2fe25473f3b66fb5e6c9c5537 | [
"MIT"
] | null | null | null | auxiliary/dataset.py | stevenygd/AtlasNet | 92f7a8d30a9130a2fe25473f3b66fb5e6c9c5537 | [
"MIT"
] | null | null | null | auxiliary/dataset.py | stevenygd/AtlasNet | 92f7a8d30a9130a2fe25473f3b66fb5e6c9c5537 | [
"MIT"
] | null | null | null | from __future__ import print_function
import torch.utils.data as data
import os.path
import torch
import torchvision.transforms as transforms
import numpy as np
import os
from PIL import Image
from utils import *
class ShapeNet(data.Dataset):
def __init__(self,
catefilename='./data/synsetoffset2categor... | 37.781818 | 175 | 0.48813 | 1,400 | 12,468 | 4.257857 | 0.151429 | 0.035229 | 0.033551 | 0.017447 | 0.80775 | 0.798356 | 0.787787 | 0.765643 | 0.765643 | 0.765643 | 0 | 0.024977 | 0.380253 | 12,468 | 329 | 176 | 37.896657 | 0.746473 | 0.496712 | 0 | 0.150327 | 0 | 0 | 0.066798 | 0.043222 | 0 | 0 | 0 | 0 | 0.013072 | 1 | 0.019608 | false | 0 | 0.065359 | 0.006536 | 0.104575 | 0.045752 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
654d2225c8eb390ca3d01f7002f5ac174709871b | 182 | py | Python | yt_dlp_nao/extractor/mastodon/__init__.py | sheerluck/ytdl-patched | 3242cc80a420fc1c4433dba680c84b1b5820ec68 | [
"Unlicense"
] | 80 | 2021-05-25T11:33:49.000Z | 2022-03-29T20:36:53.000Z | yt_dlp_nao/extractor/mastodon/__init__.py | sheerluck/ytdl-patched | 3242cc80a420fc1c4433dba680c84b1b5820ec68 | [
"Unlicense"
] | 22 | 2021-05-08T13:44:12.000Z | 2022-03-30T01:27:23.000Z | yt_dlp_nao/extractor/mastodon/__init__.py | sheerluck/ytdl-patched | 3242cc80a420fc1c4433dba680c84b1b5820ec68 | [
"Unlicense"
] | 22 | 2021-05-07T05:01:27.000Z | 2022-03-26T19:10:54.000Z | from __future__ import unicode_literals
from .mastodon import MastodonIE, MastodonUserIE, MastodonUserNumericIE
__all__ = ['MastodonIE', 'MastodonUserIE', 'MastodonUserNumericIE']
| 30.333333 | 71 | 0.82967 | 15 | 182 | 9.466667 | 0.666667 | 0.338028 | 0.633803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093407 | 182 | 5 | 72 | 36.4 | 0.860606 | 0 | 0 | 0 | 0 | 0 | 0.247253 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8e6b15183bd16a695b2aaf99e691cd85d9f0cad | 347 | py | Python | src/commercetools/importapi/__init__.py | labd/commercetools-python-sdk | d8ec285f08d56ede2e4cad45c74833f5b609ab5c | [
"MIT"
] | 15 | 2018-11-02T14:35:52.000Z | 2022-03-16T07:51:44.000Z | src/commercetools/platform/__init__.py | labd/commercetools-python-sdk | d8ec285f08d56ede2e4cad45c74833f5b609ab5c | [
"MIT"
] | 84 | 2018-11-02T12:50:32.000Z | 2022-03-22T01:25:54.000Z | src/commercetools/platform/__init__.py | labd/commercetools-python-sdk | d8ec285f08d56ede2e4cad45c74833f5b609ab5c | [
"MIT"
] | 13 | 2019-01-03T09:16:50.000Z | 2022-02-15T18:37:19.000Z | # This file is automatically generated by the rmf-codegen project.
#
# The Python code generator is maintained by Lab Digital. If you want to
# contribute to this project then please do not edit this file directly
# but send a pull request to the Lab Digital fork of rmf-codegen at
# https://github.com/labd/rmf-codegen
... | 43.375 | 72 | 0.78098 | 59 | 347 | 4.59322 | 0.711864 | 0.110701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167147 | 347 | 7 | 73 | 49.571429 | 0.937716 | 0.884726 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3338ba838fcc49ad8faab9f5ce0c4833bfbc9e8a | 22,304 | py | Python | eval_pipeline.py | jfc43/self-training-ensembles | f6b8f567ec9e20745cc04ef3cdcf72c171f2858e | [
"Apache-2.0"
] | 8 | 2021-10-14T20:11:19.000Z | 2022-02-22T15:08:33.000Z | eval_pipeline.py | jfc43/self-training-ensembles | f6b8f567ec9e20745cc04ef3cdcf72c171f2858e | [
"Apache-2.0"
] | null | null | null | eval_pipeline.py | jfc43/self-training-ensembles | f6b8f567ec9e20745cc04ef3cdcf72c171f2858e | [
"Apache-2.0"
] | null | null | null | import argparse
import random
import os
import numpy as np
import torch
import torch.optim as optim
from torch.utils.data import DataLoader
from torchvision import datasets
from torchvision import transforms
import torch.nn.functional as F
from utils.data_util import *
from utils.lib import *
from models.model import ... | 56.753181 | 229 | 0.734891 | 2,958 | 22,304 | 5.1714 | 0.078093 | 0.05622 | 0.045761 | 0.045891 | 0.858927 | 0.825783 | 0.817154 | 0.78669 | 0.761849 | 0.728836 | 0 | 0.017867 | 0.166876 | 22,304 | 392 | 230 | 56.897959 | 0.805349 | 0.008205 | 0 | 0.559871 | 0 | 0.003236 | 0.087468 | 0.031071 | 0 | 0 | 0 | 0 | 0.003236 | 1 | 0.02589 | false | 0 | 0.048544 | 0 | 0.100324 | 0.045307 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33683bc0b6e2cc55e0f694d4be04369c37763b75 | 18,593 | py | Python | geoopt/manifolds/base.py | LeanderK/geoopt | a544c6ffe39478b3829a3bd7d065cdc45dc2e98b | [
"Apache-2.0"
] | null | null | null | geoopt/manifolds/base.py | LeanderK/geoopt | a544c6ffe39478b3829a3bd7d065cdc45dc2e98b | [
"Apache-2.0"
] | null | null | null | geoopt/manifolds/base.py | LeanderK/geoopt | a544c6ffe39478b3829a3bd7d065cdc45dc2e98b | [
"Apache-2.0"
] | null | null | null | import abc
import torch.nn
__all__ = ["Manifold"]
class Manifold(torch.nn.Module, metaclass=abc.ABCMeta):
name = None
ndim = None
reversible = None
forward = NotImplemented
def __init__(self, **kwargs):
super().__init__()
def check_point(self, x, *, explain=False):
"""
... | 27.750746 | 117 | 0.530253 | 2,101 | 18,593 | 4.636364 | 0.106616 | 0.019505 | 0.041372 | 0.046196 | 0.822913 | 0.801663 | 0.759881 | 0.74941 | 0.719433 | 0.664819 | 0 | 0.002523 | 0.38181 | 18,593 | 669 | 118 | 27.792227 | 0.844963 | 0.512397 | 0 | 0.565217 | 0 | 0 | 0.059882 | 0 | 0 | 0 | 0 | 0 | 0.037267 | 1 | 0.180124 | false | 0 | 0.012422 | 0.006211 | 0.298137 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
681c2dbcba09fc1f35e2ca0aae6848e63780e95e | 678 | py | Python | temboo/core/Library/Yahoo/Weather/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Yahoo/Weather/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Yahoo/Weather/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Yahoo.Weather.GetTemperature import GetTemperature, GetTemperatureInputSet, GetTemperatureResultSet, GetTemperatureChoreographyExecution
from temboo.Library.Yahoo.Weather.GetWeather import GetWeather, GetWeatherInputSet, GetWeatherResultSet, GetWeatherChoreographyExecution
from temboo.Library.Yahoo.... | 135.6 | 201 | 0.917404 | 44 | 678 | 14.136364 | 0.5 | 0.064309 | 0.109325 | 0.141479 | 0.186495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041298 | 678 | 4 | 202 | 169.5 | 0.956923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68280689c4ad7860909d05e2d29944ca2b2790eb | 1,308 | py | Python | tests/tools/test_yosys.py | psumesh/siliconcompiler | 14663c1d0d6c46994bc9bb24595db7e4ac4e1600 | [
"Apache-2.0"
] | null | null | null | tests/tools/test_yosys.py | psumesh/siliconcompiler | 14663c1d0d6c46994bc9bb24595db7e4ac4e1600 | [
"Apache-2.0"
] | null | null | null | tests/tools/test_yosys.py | psumesh/siliconcompiler | 14663c1d0d6c46994bc9bb24595db7e4ac4e1600 | [
"Apache-2.0"
] | null | null | null | import siliconcompiler
import os
import pytest
@pytest.mark.eda
@pytest.mark.quick
def test_yosys_lec(datadir):
lec_dir = os.path.join(datadir, 'lec')
chip = siliconcompiler.Chip()
chip.load_target('freepdk45_demo')
chip.set('arg', 'step', 'lec')
chip.set('design', 'foo')
chip.set('mode', 'as... | 24.679245 | 83 | 0.625382 | 186 | 1,308 | 4.231183 | 0.27957 | 0.080051 | 0.076239 | 0.066074 | 0.828463 | 0.828463 | 0.828463 | 0.813215 | 0.813215 | 0.736976 | 0 | 0.009242 | 0.172783 | 1,308 | 52 | 84 | 25.153846 | 0.718115 | 0 | 0 | 0.594595 | 0 | 0 | 0.189602 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.054054 | false | 0 | 0.108108 | 0 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
685ef16d6a0fc1a6894984bf73bfc5b382edca7a | 2,308 | py | Python | traffic_control/migrations/0024_rename_owner_obj_fields.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 2 | 2020-11-23T22:08:58.000Z | 2022-03-02T13:13:20.000Z | traffic_control/migrations/0024_rename_owner_obj_fields.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 170 | 2019-12-31T13:37:04.000Z | 2022-03-12T14:03:35.000Z | traffic_control/migrations/0024_rename_owner_obj_fields.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 3 | 2020-05-08T05:58:02.000Z | 2022-03-15T16:07:25.000Z | # Generated by Django 2.2.14 on 2020-09-02 10:27
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("traffic_control", "0023_remove_owner_char_fields"),
]
operations = [
migrations.RenameField(
model_name="additionalsignplan",
... | 27.47619 | 61 | 0.523397 | 198 | 2,308 | 5.792929 | 0.232323 | 0.219704 | 0.31735 | 0.366173 | 0.669573 | 0.669573 | 0.669573 | 0.646033 | 0.646033 | 0.646033 | 0 | 0.013727 | 0.368718 | 2,308 | 83 | 62 | 27.807229 | 0.773507 | 0.019931 | 0 | 0.727273 | 1 | 0 | 0.19115 | 0.012832 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.051948 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
689307be83a2841fc1360e1431f7658831613de6 | 27 | py | Python | indra/sources/sparser/__init__.py | pupster90/indra | e90b0bc1016fc2d210a9b46fb160b78a7d6a5ab9 | [
"BSD-2-Clause"
] | 2 | 2020-01-14T08:59:10.000Z | 2020-12-18T16:21:38.000Z | indra/sources/sparser/__init__.py | pupster90/indra | e90b0bc1016fc2d210a9b46fb160b78a7d6a5ab9 | [
"BSD-2-Clause"
] | null | null | null | indra/sources/sparser/__init__.py | pupster90/indra | e90b0bc1016fc2d210a9b46fb160b78a7d6a5ab9 | [
"BSD-2-Clause"
] | null | null | null | from .sparser_api import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d7e2075227280877047ccd5a22fad9f9513ed8f0 | 2,297 | py | Python | lib/models/encoder.py | denn-s/AdaIN-style-transfer | c2ec553d86e53c8246cc38835409f9ab2f7d20cc | [
"MIT"
] | 2 | 2021-10-03T01:28:58.000Z | 2022-03-30T19:06:44.000Z | lib/models/encoder.py | denn-s/AdaIN-style-transfer | c2ec553d86e53c8246cc38835409f9ab2f7d20cc | [
"MIT"
] | null | null | null | lib/models/encoder.py | denn-s/AdaIN-style-transfer | c2ec553d86e53c8246cc38835409f9ab2f7d20cc | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
class Encoder(nn.Module):
def __init__(self):
super(Encoder, self).__init__()
# modified VGG19 architecture
self.features = nn.Sequential(
nn.Conv2d(3, 3, kernel_size=1),
nn.ReflectionPad2d(1),
nn.Conv2d(3, 64, kerne... | 31.040541 | 54 | 0.505877 | 274 | 2,297 | 4.113139 | 0.149635 | 0.055901 | 0.255546 | 0.28394 | 0.803904 | 0.803904 | 0.644188 | 0.644188 | 0.644188 | 0.644188 | 0 | 0.122366 | 0.359599 | 2,297 | 73 | 55 | 31.465753 | 0.64378 | 0.025686 | 0 | 0.725806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.032258 | 0.016129 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0bf6a71c659ea97781077346c3b4a1368cf7ad6b | 16,868 | py | Python | tests/lexer_test.py | nsetzer/daedalus | a9b9a02264e38d598a990148db46cd2f63acf74b | [
"MIT"
] | 1 | 2020-01-13T12:06:29.000Z | 2020-01-13T12:06:29.000Z | tests/lexer_test.py | nsetzer/daedalus | a9b9a02264e38d598a990148db46cd2f63acf74b | [
"MIT"
] | null | null | null | tests/lexer_test.py | nsetzer/daedalus | a9b9a02264e38d598a990148db46cd2f63acf74b | [
"MIT"
] | null | null | null | #! cd .. && python3 -m tests.lexer_test
import io
import unittest
from daedalus.lexer import Token, LexerBase, Lexer, TokenError, LexError
from tests.util import edit_distance
def tokcmp(a, b):
if a is None:
return False
if b is None:
return False
return a.type == b.type and ... | 30.669091 | 79 | 0.516599 | 2,019 | 16,868 | 4.169886 | 0.09163 | 0.079819 | 0.143723 | 0.094073 | 0.804252 | 0.744269 | 0.731084 | 0.704478 | 0.701627 | 0.670864 | 0 | 0.042062 | 0.33193 | 16,868 | 549 | 80 | 30.724954 | 0.705032 | 0.031954 | 0 | 0.491315 | 0 | 0 | 0.064787 | 0.009782 | 0 | 0 | 0 | 0 | 0.129032 | 1 | 0.124069 | false | 0 | 0.009926 | 0 | 0.163772 | 0.009926 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0402601ebf60de4dc90dabad698d3b6897a8c7eb | 168 | py | Python | OmniDB/OmniDB_app/views/__init__.py | swipswaps/OmniDB | 03d2d791c50455176d20bc3513a48ff584164439 | [
"MIT"
] | 1 | 2019-05-29T19:46:28.000Z | 2019-05-29T19:46:28.000Z | OmniDB/OmniDB_app/views/__init__.py | swipswaps/OmniDB | 03d2d791c50455176d20bc3513a48ff584164439 | [
"MIT"
] | null | null | null | OmniDB/OmniDB_app/views/__init__.py | swipswaps/OmniDB | 03d2d791c50455176d20bc3513a48ff584164439 | [
"MIT"
] | 1 | 2019-03-11T06:57:43.000Z | 2019-03-11T06:57:43.000Z | from . import login, connections, users, workspace, tree, tree_snippets, tree_postgresql, tree_oracle, tree_mysql, tree_mariadb, monitoring, monitor_dashboard, plugins
| 84 | 167 | 0.827381 | 21 | 168 | 6.333333 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 168 | 1 | 168 | 168 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
045c2e18744c200b278b8252db726a8a7fb67488 | 41 | py | Python | src/features/__init__.py | vvrahul11/sentiment_analysis | 1bd22a96467d72865d65f9ab4a15d46cc97b7bba | [
"MIT"
] | null | null | null | src/features/__init__.py | vvrahul11/sentiment_analysis | 1bd22a96467d72865d65f9ab4a15d46cc97b7bba | [
"MIT"
] | null | null | null | src/features/__init__.py | vvrahul11/sentiment_analysis | 1bd22a96467d72865d65f9ab4a15d46cc97b7bba | [
"MIT"
] | null | null | null | from .build_features import bag_of_words
| 20.5 | 40 | 0.878049 | 7 | 41 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
045ebc3b0d522d12db2b7563924438b400960e0c | 487 | py | Python | __init__.py | stevenweaver/treetime | 2f6ab5dd3666d92f4d9411fbc44635a28982748c | [
"MIT"
] | 2 | 2018-07-02T07:57:01.000Z | 2019-06-24T09:37:45.000Z | __init__.py | stevenweaver/treetime | 2f6ab5dd3666d92f4d9411fbc44635a28982748c | [
"MIT"
] | null | null | null | __init__.py | stevenweaver/treetime | 2f6ab5dd3666d92f4d9411fbc44635a28982748c | [
"MIT"
] | 2 | 2018-07-02T07:57:02.000Z | 2019-06-24T09:37:44.000Z | import datetime
from treetime.treeanc import TreeAnc
from treetime.clock_tree import ClockTree
from treetime.treetime import TreeTime
from treetime.treetime import ttconf as treetime_conf
from treetime.gtr import GTR
from treetime.treetime import plot_vs_years
from treetime.treetime import treetime_to_newick
from treet... | 37.461538 | 53 | 0.87885 | 70 | 487 | 5.957143 | 0.371429 | 0.28777 | 0.191847 | 0.2494 | 0.16307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098563 | 487 | 12 | 54 | 40.583333 | 0.949886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0d57b021b8aec3515f595f7901eb27da950ced2 | 125 | py | Python | pixelated.py | sendaljpt/python-utils | 9cb4ba81df38b201022de4aaab65a01f6533cd18 | [
"MIT"
] | 1 | 2020-04-22T21:39:11.000Z | 2020-04-22T21:39:11.000Z | pixelated.py | sendaljpt/python-utils | 9cb4ba81df38b201022de4aaab65a01f6533cd18 | [
"MIT"
] | 9 | 2019-03-27T18:42:41.000Z | 2019-03-31T17:04:24.000Z | pixelated.py | sendaljpt/python-utils | 9cb4ba81df38b201022de4aaab65a01f6533cd18 | [
"MIT"
] | null | null | null | import IPython
IPython.core.display.display_html(IPython.core.display.HTML('<style>img{image-rendering: pixelated}</style>')) | 62.5 | 110 | 0.808 | 17 | 125 | 5.882353 | 0.588235 | 0.22 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 125 | 2 | 110 | 62.5 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0.365079 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f0f14d82748a0225b346c55b8d682a892bb3d714 | 11,980 | py | Python | tests/integration/views/surveys/help/test_surveys_help_with_this_survey.py | uk-gov-mirror/ONSdigital.ras-frontstage | 4bf0f779f37d2a9ce7efe9f11c9b55a7a398faae | [
"MIT"
] | null | null | null | tests/integration/views/surveys/help/test_surveys_help_with_this_survey.py | uk-gov-mirror/ONSdigital.ras-frontstage | 4bf0f779f37d2a9ce7efe9f11c9b55a7a398faae | [
"MIT"
] | null | null | null | tests/integration/views/surveys/help/test_surveys_help_with_this_survey.py | uk-gov-mirror/ONSdigital.ras-frontstage | 4bf0f779f37d2a9ce7efe9f11c9b55a7a398faae | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch
import requests_mock
from frontstage import app
from tests.integration.mocked_services import encoded_jwt_token, respondent_party, survey_eq, survey, \
survey_list_todo, url_banner_api, url_get_respondent_party
class TestSurveyHelpWithThisSurvey(unittest.TestCase)... | 52.086957 | 207 | 0.675459 | 1,416 | 11,980 | 5.5 | 0.117232 | 0.083205 | 0.124807 | 0.121469 | 0.8151 | 0.791988 | 0.772214 | 0.77093 | 0.77093 | 0.765922 | 0 | 0.034148 | 0.21778 | 11,980 | 229 | 208 | 52.31441 | 0.796927 | 0.000334 | 0 | 0.643564 | 0 | 0.029703 | 0.29372 | 0.171371 | 0 | 0 | 0 | 0 | 0.321782 | 1 | 0.064356 | false | 0 | 0.024752 | 0 | 0.094059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0f24cae01c9923b67ffd696ec968e3b9e0d3e5b | 10,399 | py | Python | scrapper/test/passarela_test.py | guilhermeKodama/Closetinn | 44d6792cfb0db9cce56db83f2e8c4b8777530f68 | [
"MIT"
] | null | null | null | scrapper/test/passarela_test.py | guilhermeKodama/Closetinn | 44d6792cfb0db9cce56db83f2e8c4b8777530f68 | [
"MIT"
] | null | null | null | scrapper/test/passarela_test.py | guilhermeKodama/Closetinn | 44d6792cfb0db9cce56db83f2e8c4b8777530f68 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from scrapper.spiders.passarela_spider import PassarelaSpider
from utils import fake_response_from_file
from scrapper.items import ClothItem
def test_parse_product_profile():
response = fake_response_from_file('passarela_product_test.html', 'http://www.passarela.com.br/produto... | 83.862903 | 163 | 0.744014 | 1,472 | 10,399 | 5.220788 | 0.189538 | 0.067404 | 0.154066 | 0.182954 | 0.645153 | 0.636955 | 0.632141 | 0.623032 | 0.592583 | 0.574886 | 0 | 0.094491 | 0.087124 | 10,399 | 123 | 164 | 84.544715 | 0.715053 | 0.002019 | 0 | 0.162393 | 0 | 0.555556 | 0.628277 | 0.012143 | 0 | 0 | 0 | 0 | 0.74359 | 0 | null | null | 0.675214 | 0.034188 | null | null | 0.008547 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f0f30ced639a18c33b5c6dafb62f193dc223e3f1 | 76 | py | Python | neon3/optimizers/__init__.py | erjel/emdrp | 0b04a164989dd2f8ab8d1defc38353a6c0c11c8c | [
"MIT"
] | 4 | 2020-01-14T14:41:14.000Z | 2022-01-08T11:12:27.000Z | neon3/optimizers/__init__.py | erjel/emdrp | 0b04a164989dd2f8ab8d1defc38353a6c0c11c8c | [
"MIT"
] | 1 | 2021-09-23T19:59:08.000Z | 2021-09-23T19:59:08.000Z | neon3/optimizers/__init__.py | erjel/emdrp | 0b04a164989dd2f8ab8d1defc38353a6c0c11c8c | [
"MIT"
] | 1 | 2021-03-02T15:25:48.000Z | 2021-03-02T15:25:48.000Z |
from optimizers.emoptimizers import DiscreteTauExpSchedule, TauExpSchedule
| 25.333333 | 74 | 0.894737 | 6 | 76 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 2 | 75 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b08903f3a9bfe7effbfd0ac713864b3403b0555 | 58 | py | Python | pcpca/__init__.py | vishalbelsare/pcpca | 763e61c669a6cdadbd706e3cb0d553e5f5bd6ff7 | [
"MIT"
] | 13 | 2020-12-16T02:41:44.000Z | 2021-02-16T16:34:33.000Z | pcpca/__init__.py | vishalbelsare/pcpca | 763e61c669a6cdadbd706e3cb0d553e5f5bd6ff7 | [
"MIT"
] | null | null | null | pcpca/__init__.py | vishalbelsare/pcpca | 763e61c669a6cdadbd706e3cb0d553e5f5bd6ff7 | [
"MIT"
] | 5 | 2020-12-17T12:03:04.000Z | 2022-03-28T04:36:08.000Z | from pcpca.pcpca import PCPCA
from pcpca.cpca import CPCA
| 19.333333 | 29 | 0.827586 | 10 | 58 | 4.8 | 0.4 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 30 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5003375d547c82d16a5117781ac78f8046c51e40 | 9,157 | py | Python | watchdogs/web/webutils/BlindSQLRRQueries.py | watchdogoblivion/watchdogs-offsec | 66212988a83b97e54caabcf3ec1ea48e76dafedc | [
"MIT"
] | null | null | null | watchdogs/web/webutils/BlindSQLRRQueries.py | watchdogoblivion/watchdogs-offsec | 66212988a83b97e54caabcf3ec1ea48e76dafedc | [
"MIT"
] | 10 | 2021-08-19T17:48:20.000Z | 2021-09-15T03:40:40.000Z | watchdogs/web/webutils/BlindSQLRRQueries.py | watchdogoblivion/offsec-python | 66212988a83b97e54caabcf3ec1ea48e76dafedc | [
"MIT"
] | null | null | null | # author: WatchDogOblivion
# description: TODO
# WatchDogs Blind SQL Request Response Queries
from watchdogs.base.models import AllArgs # pylint: disable=unused-import
from watchdogs.web.models import BlindSQLRRHelper # pylint: disable=unused-import
from watchdogs.web.parsers import BlindSQLArgs
from watchdogs.util... | 49.497297 | 110 | 0.663755 | 977 | 9,157 | 6.181167 | 0.106448 | 0.058122 | 0.014075 | 0.055638 | 0.833251 | 0.826958 | 0.78821 | 0.758404 | 0.711376 | 0.698294 | 0 | 0.029763 | 0.185432 | 9,157 | 184 | 111 | 49.766304 | 0.779863 | 0.087474 | 0 | 0.520548 | 0 | 0.10274 | 0.174106 | 0.155148 | 0 | 0 | 0 | 0.005435 | 0 | 1 | 0.10274 | false | 0 | 0.027397 | 0 | 0.232877 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50193f509a2a1f95f90acdd82fd415bd06070033 | 1,974 | py | Python | tests/masonry/utils/test_tags.py | rschwarzkopf/poetry | 9a283965cb6cc5ddf228c73b6f7c3df1a4392d3e | [
"MIT"
] | 1 | 2020-07-17T12:39:38.000Z | 2020-07-17T12:39:38.000Z | tests/masonry/utils/test_tags.py | rschwarzkopf/poetry | 9a283965cb6cc5ddf228c73b6f7c3df1a4392d3e | [
"MIT"
] | null | null | null | tests/masonry/utils/test_tags.py | rschwarzkopf/poetry | 9a283965cb6cc5ddf228c73b6f7c3df1a4392d3e | [
"MIT"
] | 1 | 2022-03-09T02:36:31.000Z | 2022-03-09T02:36:31.000Z | import pytest
from poetry.masonry.utils.tags import get_abi_tag
from poetry.utils.env import MockEnv
def test_tags_cpython38():
assert (
get_abi_tag(
MockEnv(
version_info=(3, 8, 0),
python_implementation="CPython",
config_vars={"Py_DEBUG": True... | 24.675 | 88 | 0.447822 | 171 | 1,974 | 4.871345 | 0.245614 | 0.057623 | 0.086435 | 0.12605 | 0.753902 | 0.753902 | 0.753902 | 0.753902 | 0.740696 | 0.740696 | 0 | 0.035422 | 0.442249 | 1,974 | 79 | 89 | 24.987342 | 0.721163 | 0 | 0 | 0.459459 | 0 | 0 | 0.092705 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 1 | 0.027027 | true | 0 | 0.040541 | 0 | 0.067568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50194841b79ff8cd8d458a97ccfaf2b7fce3ca37 | 11 | py | Python | test/integration/ListSlice/no start.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 30 | 2019-10-29T12:47:50.000Z | 2022-02-12T06:41:39.000Z | test/integration/ListSlice/no start.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 247 | 2017-09-21T17:11:18.000Z | 2019-10-08T12:59:07.000Z | test/integration/ListSlice/no start.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 17 | 2017-10-01T16:53:20.000Z | 2018-11-28T07:20:35.000Z | #
abc[:]
#
| 2.75 | 6 | 0.272727 | 1 | 11 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 11 | 3 | 7 | 3.666667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac8ec48c0a7f5db52333af78d02ed0064bf21799 | 32 | py | Python | netdocs/__init__.py | benhoyle/netdocs | 728e66e693fd36cb8c2fd89833bdec0a1a05e661 | [
"MIT"
] | 1 | 2019-07-16T00:34:25.000Z | 2019-07-16T00:34:25.000Z | netdocs/__init__.py | benhoyle/netdocs | 728e66e693fd36cb8c2fd89833bdec0a1a05e661 | [
"MIT"
] | null | null | null | netdocs/__init__.py | benhoyle/netdocs | 728e66e693fd36cb8c2fd89833bdec0a1a05e661 | [
"MIT"
] | 3 | 2019-01-22T00:38:50.000Z | 2022-01-14T19:37:12.000Z | from netdocs.core import NetDocs | 32 | 32 | 0.875 | 5 | 32 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
acaa6e15fecfb030f83ec4941ddbb125a8d15fca | 15,475 | py | Python | test/mount_efs_test/test_match_device.py | Git0ffS3c/efs-utils | e5e7252f88992d0ef2cf0bdac56c1d41644f4c44 | [
"MIT"
] | null | null | null | test/mount_efs_test/test_match_device.py | Git0ffS3c/efs-utils | e5e7252f88992d0ef2cf0bdac56c1d41644f4c44 | [
"MIT"
] | null | null | null | test/mount_efs_test/test_match_device.py | Git0ffS3c/efs-utils | e5e7252f88992d0ef2cf0bdac56c1d41644f4c44 | [
"MIT"
] | null | null | null | # Copyright 2017-2018 Amazon.com, Inc. and its affiliates. All Rights Reserved.
#
# Licensed under the MIT License. See the LICENSE accompanying this file
# for the specific language governing permissions and limitations under
# the License.
import socket
import mount_efs
import pytest
from .. import util... | 38.88191 | 131 | 0.69538 | 2,127 | 15,475 | 4.693465 | 0.078044 | 0.063107 | 0.032054 | 0.028048 | 0.884804 | 0.856656 | 0.838525 | 0.819693 | 0.796354 | 0.796354 | 0 | 0.00348 | 0.201551 | 15,475 | 397 | 132 | 38.979849 | 0.804467 | 0.060355 | 0 | 0.564815 | 0 | 0.012346 | 0.210333 | 0.169498 | 0 | 0 | 0 | 0 | 0.17284 | 1 | 0.058642 | false | 0 | 0.021605 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
acbeddd54011ed507e78ff35d28c75173b70c6f6 | 35 | py | Python | research/test.py | toandaominh1997/Grows | 67d674dcbe2a276cec05d079eb66f5bd94c6e8a0 | [
"Apache-2.0"
] | 4 | 2021-06-05T02:42:50.000Z | 2021-12-13T09:40:18.000Z | research/test.py | toandaominh1997/Grows | 67d674dcbe2a276cec05d079eb66f5bd94c6e8a0 | [
"Apache-2.0"
] | null | null | null | research/test.py | toandaominh1997/Grows | 67d674dcbe2a276cec05d079eb66f5bd94c6e8a0 | [
"Apache-2.0"
] | null | null | null | print('Start research assistant')
| 11.666667 | 33 | 0.771429 | 4 | 35 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 2 | 34 | 17.5 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
acddd72c30cf12a573866b5c87911b571ce7ab8b | 66 | py | Python | shortcutml/feature_selection/__init__.py | SulthanAbiyyu/ShortcutML | f5e457826aec82376fce6bc6c0c63b485f62f1ef | [
"MIT"
] | null | null | null | shortcutml/feature_selection/__init__.py | SulthanAbiyyu/ShortcutML | f5e457826aec82376fce6bc6c0c63b485f62f1ef | [
"MIT"
] | null | null | null | shortcutml/feature_selection/__init__.py | SulthanAbiyyu/ShortcutML | f5e457826aec82376fce6bc6c0c63b485f62f1ef | [
"MIT"
] | null | null | null | from UnivariateFeatureSelection import UnivariateFeatureSelection
| 33 | 65 | 0.939394 | 4 | 66 | 15.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ace127359edadaf598a9b33af57d8fd03947386f | 45 | py | Python | run.py | LiuYuann/chatrobot | 2895db6965669e4658adb90262580bc398a2a36f | [
"MIT"
] | null | null | null | run.py | LiuYuann/chatrobot | 2895db6965669e4658adb90262580bc398a2a36f | [
"MIT"
] | null | null | null | run.py | LiuYuann/chatrobot | 2895db6965669e4658adb90262580bc398a2a36f | [
"MIT"
] | null | null | null | from app import App
app = App()
app.start()
| 9 | 19 | 0.666667 | 8 | 45 | 3.75 | 0.5 | 0.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 45 | 4 | 20 | 11.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c58943481ebe7408b37b1a1a3ce768b221466668 | 125 | py | Python | ophiuchus/coordinates/setup_package.py | adrn/ophiuchus | fe7e937bf421d506ec252165f044d514f571667b | [
"MIT"
] | 1 | 2015-09-25T10:12:52.000Z | 2015-09-25T10:12:52.000Z | ophiuchus/coordinates/setup_package.py | adrn/ophiuchus | fe7e937bf421d506ec252165f044d514f571667b | [
"MIT"
] | null | null | null | ophiuchus/coordinates/setup_package.py | adrn/ophiuchus | fe7e937bf421d506ec252165f044d514f571667b | [
"MIT"
] | null | null | null | from __future__ import absolute_import
def get_package_data():
return {'ophiuchus.coordinates': ['rotationmatrix.txt']}
| 25 | 60 | 0.776 | 14 | 125 | 6.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 4 | 61 | 31.25 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.312 | 0.168 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
c5d28a07a08ab14f1498ff85ee4b051e62801752 | 82,916 | py | Python | estudo/views.py | bcunhasa/nutriodonto | 3ff20377bc85bc4960619f63688b7732e6eebba9 | [
"CC0-1.0"
] | null | null | null | estudo/views.py | bcunhasa/nutriodonto | 3ff20377bc85bc4960619f63688b7732e6eebba9 | [
"CC0-1.0"
] | null | null | null | estudo/views.py | bcunhasa/nutriodonto | 3ff20377bc85bc4960619f63688b7732e6eebba9 | [
"CC0-1.0"
] | null | null | null | from django.contrib.auth.mixins import LoginRequiredMixin
from django.http import HttpResponseRedirect
from django.urls import reverse
from django.shortcuts import render
from django.views import View
import datetime
from administracao.models import *
class LoginRequired(LoginRequiredMixin):
"""Configurações pa... | 98.709524 | 189 | 0.577609 | 11,110 | 82,916 | 4.129073 | 0.025743 | 0.054933 | 0.060426 | 0.058595 | 0.923682 | 0.922462 | 0.918298 | 0.915224 | 0.905306 | 0.897306 | 0 | 0.077818 | 0.27189 | 82,916 | 839 | 190 | 98.827175 | 0.682038 | 0.007417 | 0 | 0.129114 | 0 | 0 | 0.125726 | 0.001082 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001266 | false | 0 | 0.008861 | 0 | 0.016456 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5d7bf973a4183c400811cfad587ed2a10751137 | 3,495 | py | Python | py_libgit/tests/functional/test_api_add.py | tony-yang/e-libgit | 589e08717ef58317b044852185b4f0748b600d96 | [
"Apache-2.0"
] | null | null | null | py_libgit/tests/functional/test_api_add.py | tony-yang/e-libgit | 589e08717ef58317b044852185b4f0748b600d96 | [
"Apache-2.0"
] | null | null | null | py_libgit/tests/functional/test_api_add.py | tony-yang/e-libgit | 589e08717ef58317b044852185b4f0748b600d96 | [
"Apache-2.0"
] | null | null | null | import unittest
import os, shutil
from py_libgit.api.add import Add
from py_libgit.api.init import Init
import py_libgit.settings_tests
class TestAdd(unittest.TestCase):
def setUp(self):
os.chdir('/tmp')
self.repo_name = 'hellogit-testrepo'
self.add = Add()
self.init = Init()
... | 49.225352 | 134 | 0.715021 | 445 | 3,495 | 5.397753 | 0.177528 | 0.066611 | 0.049958 | 0.040799 | 0.817652 | 0.817652 | 0.817652 | 0.817652 | 0.801415 | 0.801415 | 0 | 0.096335 | 0.180258 | 3,495 | 70 | 135 | 49.928571 | 0.742059 | 0 | 0 | 0.581818 | 0 | 0 | 0.278112 | 0.111016 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.109091 | false | 0 | 0.090909 | 0 | 0.218182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5f2c75f90c699a625c5f03ca3b0c8f2c599f3e5 | 119 | py | Python | tweetcloud/__init__.py | gblock0/TweetCloud | 7ffb04f6630271639d556f3ac5519315bf620b19 | [
"MIT"
] | 1 | 2020-07-30T07:50:18.000Z | 2020-07-30T07:50:18.000Z | tweetcloud/__init__.py | gblock0/TweetCloud | 7ffb04f6630271639d556f3ac5519315bf620b19 | [
"MIT"
] | 18 | 2020-07-30T02:34:36.000Z | 2022-03-14T04:02:49.000Z | tweetcloud/__init__.py | gblock0/TweetCloud | 7ffb04f6630271639d556f3ac5519315bf620b19 | [
"MIT"
] | 1 | 2020-07-30T05:13:58.000Z | 2020-07-30T05:13:58.000Z | """
Generate a GIF of word clouds from a user's tweets
"""
from ._version import version as __version__ # noqa: F401
| 19.833333 | 58 | 0.722689 | 19 | 119 | 4.263158 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.193277 | 119 | 5 | 59 | 23.8 | 0.8125 | 0.521008 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a853caa80d3c06558387626e25d16dba502060d7 | 118 | py | Python | registration/views.py | josueischiu12/loginpy | 95f4d677649b114745f7c894f9ab024f292712ec | [
"bzip2-1.0.6"
] | null | null | null | registration/views.py | josueischiu12/loginpy | 95f4d677649b114745f7c894f9ab024f292712ec | [
"bzip2-1.0.6"
] | null | null | null | registration/views.py | josueischiu12/loginpy | 95f4d677649b114745f7c894f9ab024f292712ec | [
"bzip2-1.0.6"
] | null | null | null | from django.shortcuts import render
from django.contrib.auth.forms import UserCreationForm
# Create your views here.
| 23.6 | 54 | 0.830508 | 16 | 118 | 6.125 | 0.8125 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 118 | 4 | 55 | 29.5 | 0.942308 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a87107eb2b27e48bc3c4ecefcbdba793f31cf197 | 37 | py | Python | makeTorrent/__init__.py | stewrutledge/makeTorrent | f02fbf34cd42fce33999f616c2bf663ca9fb373e | [
"MIT"
] | 14 | 2015-05-07T08:35:50.000Z | 2021-09-22T10:28:17.000Z | makeTorrent/__init__.py | stewrutledge/makeTorrent | f02fbf34cd42fce33999f616c2bf663ca9fb373e | [
"MIT"
] | 5 | 2015-01-13T14:11:12.000Z | 2021-09-03T12:23:53.000Z | makeTorrent/__init__.py | stewrutledge/makeTorrent | f02fbf34cd42fce33999f616c2bf663ca9fb373e | [
"MIT"
] | 7 | 2015-01-13T10:57:08.000Z | 2021-09-22T10:28:15.000Z | from makeTorrent import makeTorrent
| 12.333333 | 35 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a88b006638ec25c8fefdd4eff1267c5672d34054 | 6,671 | py | Python | authorizenet/migrations/0004_auto__add_field_response_created__add_field_cimresponse_created__chg_f.py | ajmirsky/django-authorizenet | 0342e79eabffc49a85a40b0937b5e89663c334ca | [
"MIT"
] | 18 | 2015-01-03T22:54:21.000Z | 2021-11-15T11:54:32.000Z | authorizenet/migrations/0004_auto__add_field_response_created__add_field_cimresponse_created__chg_f.py | ajmirsky/django-authorizenet | 0342e79eabffc49a85a40b0937b5e89663c334ca | [
"MIT"
] | 1 | 2016-08-31T21:00:40.000Z | 2016-08-31T21:00:40.000Z | authorizenet/migrations/0004_auto__add_field_response_created__add_field_cimresponse_created__chg_f.py | ajmirsky/django-authorizenet | 0342e79eabffc49a85a40b0937b5e89663c334ca | [
"MIT"
] | 19 | 2015-01-02T07:34:26.000Z | 2021-09-09T03:24:37.000Z | # encoding: 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):
# Adding field 'Response.created'
db.add_column('authorizenet_response', 'created', self.gf('django.db.mo... | 71.731183 | 172 | 0.58477 | 730 | 6,671 | 5.175342 | 0.154795 | 0.118581 | 0.203812 | 0.291159 | 0.806511 | 0.758338 | 0.736898 | 0.732133 | 0.57226 | 0.43171 | 0 | 0.018882 | 0.182282 | 6,671 | 92 | 173 | 72.51087 | 0.673694 | 0.035227 | 0 | 0.054795 | 0 | 0 | 0.549315 | 0.319073 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027397 | false | 0 | 0.054795 | 0 | 0.123288 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8c1fd5e635b94e620e3ab46a2587431c0076788 | 129 | py | Python | model/__init__.py | Yinsongxu/MVMP_MFFN | 2024197ca1f1d7f2f52ccbce08eb85dd282de70d | [
"MIT"
] | null | null | null | model/__init__.py | Yinsongxu/MVMP_MFFN | 2024197ca1f1d7f2f52ccbce08eb85dd282de70d | [
"MIT"
] | null | null | null | model/__init__.py | Yinsongxu/MVMP_MFFN | 2024197ca1f1d7f2f52ccbce08eb85dd282de70d | [
"MIT"
] | null | null | null | from .resnet import *
from .gnn import *
from .cgnet import *
from .osnet_ain import *
from .resnet_c import *
from .pcb import * | 21.5 | 24 | 0.728682 | 20 | 129 | 4.6 | 0.45 | 0.543478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178295 | 129 | 6 | 25 | 21.5 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7636857d9f46d35bec013e7ae161a3011d7a5875 | 7,119 | py | Python | model/scikit/setup.py | agriyakhetarpal/dffml | f76f2ce94c3972634053377b00e7c16530f7f0a4 | [
"MIT"
] | null | null | null | model/scikit/setup.py | agriyakhetarpal/dffml | f76f2ce94c3972634053377b00e7c16530f7f0a4 | [
"MIT"
] | null | null | null | model/scikit/setup.py | agriyakhetarpal/dffml | f76f2ce94c3972634053377b00e7c16530f7f0a4 | [
"MIT"
] | null | null | null | import os
import sys
import ast
import site
from io import open
from setuptools import setup
# See https://github.com/pypa/pip/issues/7953
site.ENABLE_USER_SITE = "--user" in sys.argv[1:]
ORG = "intel"
NAME = "dffml-model-scikit"
DESCRIPTION = "DFFML model scikit"
AUTHOR_NAME = "Yash Lamba"
AUTHOR_EMAIL = "yashlamba2... | 54.343511 | 95 | 0.691249 | 687 | 7,119 | 6.928675 | 0.353712 | 0.140756 | 0.218487 | 0.161765 | 0.028151 | 0.028151 | 0.028151 | 0 | 0 | 0 | 0 | 0.00401 | 0.194269 | 7,119 | 130 | 96 | 54.761538 | 0.825837 | 0.00604 | 0 | 0.02459 | 0 | 0.008197 | 0.683772 | 0.477806 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.606557 | 0 | 0.606557 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
764275f8da5b2dbb5c48cd2542a82d5c724932a0 | 47 | py | Python | knx_stack/encode/layer/link/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 2 | 2021-07-28T07:42:28.000Z | 2022-01-25T18:56:05.000Z | knx_stack/encode/layer/link/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 6 | 2021-07-25T21:36:01.000Z | 2022-02-20T21:11:31.000Z | knx_stack/encode/layer/link/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | null | null | null | from knx_stack.encode.layer.link import l_data
| 23.5 | 46 | 0.851064 | 9 | 47 | 4.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7665209e8cc360e4244e573c25e26b00c3048c3d | 146 | py | Python | aaem/components/annual_savings/__init__.py | gina-alaska/alaska_affordable_energy_model | 96fed0137152985ce280ea37e0affec131e3087f | [
"MIT-feh"
] | 1 | 2022-01-23T07:18:36.000Z | 2022-01-23T07:18:36.000Z | aaem/components/annual_savings/__init__.py | gina-alaska/alaska_affordable_energy_model | 96fed0137152985ce280ea37e0affec131e3087f | [
"MIT-feh"
] | 5 | 2017-07-14T21:56:46.000Z | 2017-07-14T21:59:15.000Z | aaem/components/annual_savings/__init__.py | gina-alaska/alaska_affordable_energy_model | 96fed0137152985ce280ea37e0affec131e3087f | [
"MIT-feh"
] | 2 | 2020-04-28T18:12:55.000Z | 2021-01-13T01:56:57.000Z | """
__init__.py
annual savings component from which all other components
inherit functionality
"""
from annual_savings import AnnualSavings
| 18.25 | 61 | 0.794521 | 17 | 146 | 6.529412 | 0.823529 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157534 | 146 | 7 | 62 | 20.857143 | 0.902439 | 0.657534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76ae4a4f803c1c29fa069533c575c9bf56e0c370 | 90 | py | Python | wk/io/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | wk/io/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | wk/io/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | from .ioutils import *
from .fsutils import *
from .class_store import *
from .db import * | 22.5 | 26 | 0.744444 | 13 | 90 | 5.076923 | 0.538462 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 4 | 27 | 22.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76b09a82216a73df733878847d6f421ab284c032 | 64 | py | Python | dlmPython/__init__.py | luiarthur/dlmPython | c3d6328b1260c795759637cd8d26d3f79febd950 | [
"MIT"
] | 2 | 2018-11-25T15:00:48.000Z | 2019-09-01T19:52:46.000Z | dlmPython/__init__.py | luiarthur/dlmPython | c3d6328b1260c795759637cd8d26d3f79febd950 | [
"MIT"
] | null | null | null | dlmPython/__init__.py | luiarthur/dlmPython | c3d6328b1260c795759637cd8d26d3f79febd950 | [
"MIT"
] | 1 | 2019-09-01T19:52:48.000Z | 2019-09-01T19:52:48.000Z | from .dlm_uni import dlm_uni
from .dlm_uni_df import dlm_uni_df
| 21.333333 | 34 | 0.84375 | 14 | 64 | 3.428571 | 0.357143 | 0.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 35 | 32 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
76b77157ef74b5f9a6d3e29ad6cd7a66b959e9e3 | 618,615 | py | Python | Serega.py | LinarAbdrazakov/HungryGeese | 053a492f47e105a84ed413b67841aa12c967f03e | [
"MIT"
] | null | null | null | Serega.py | LinarAbdrazakov/HungryGeese | 053a492f47e105a84ed413b67841aa12c967f03e | [
"MIT"
] | null | null | null | Serega.py | LinarAbdrazakov/HungryGeese | 053a492f47e105a84ed413b67841aa12c967f03e | [
"MIT"
] | null | null | null | import pickle
import bz2
import base64
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
import math
import time
from copy import deepcopy
from kaggle_environments.envs.hungry_geese.hungry_geese import Action, translate
from kaggle_environments.helpers import histogram
# The model’s ... | 2,015.032573 | 607,551 | 0.961988 | 19,329 | 618,615 | 30.775726 | 0.903254 | 0.000074 | 0.000076 | 0.000129 | 0.002659 | 0.002059 | 0.001469 | 0.000916 | 0.000634 | 0.000496 | 0 | 0.154991 | 0.006185 | 618,615 | 306 | 607,552 | 2,021.617647 | 0.812599 | 0.001216 | 0 | 0.145923 | 0 | 0.004292 | 0.983342 | 0.983337 | 0 | 1 | 0 | 0 | 0 | 1 | 0.072961 | false | 0 | 0.051502 | 0.008584 | 0.201717 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f2c6165b5083504beb4632d7686f42068ffadae | 4,740 | py | Python | tests/dualtor/test_heartbeat_failure.py | dmytroxshevchuk/sonic-mgmt | b784e598a063aba71fdf9ca23fe142840926e4cf | [
"Apache-2.0"
] | 2 | 2020-10-15T05:54:32.000Z | 2020-12-14T07:21:41.000Z | tests/dualtor/test_heartbeat_failure.py | dmytroxshevchuk/sonic-mgmt | b784e598a063aba71fdf9ca23fe142840926e4cf | [
"Apache-2.0"
] | 14 | 2021-08-04T05:50:21.000Z | 2021-12-14T10:06:38.000Z | tests/dualtor/test_heartbeat_failure.py | dmytroxshevchuk/sonic-mgmt | b784e598a063aba71fdf9ca23fe142840926e4cf | [
"Apache-2.0"
] | 7 | 2021-07-28T03:24:41.000Z | 2022-03-07T01:44:20.000Z | import random
import pytest
from tests.common.dualtor.control_plane_utils import verify_tor_states
from tests.common.dualtor.data_plane_utils import send_t1_to_server_with_action, send_server_to_t1_with_action # lgtm[py/unused-import]
from tests.common.dualtor.dual_tor_utils import up... | 38.536585 | 168 | 0.73692 | 642 | 4,740 | 4.965732 | 0.116822 | 0.083438 | 0.075282 | 0.065245 | 0.887704 | 0.887704 | 0.861041 | 0.840339 | 0.800502 | 0.800502 | 0 | 0.006429 | 0.212447 | 4,740 | 122 | 169 | 38.852459 | 0.847576 | 0.198945 | 0 | 0.626506 | 0 | 0 | 0.001903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072289 | false | 0 | 0.096386 | 0 | 0.168675 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f68b6a1d25e91852ce580c61763ae329f757f81 | 133 | py | Python | tests/util.py | addisonElliott/pypaintdotnet | ebffd52f9b8a56f2e885e1a9c51a58fc4b30e3bb | [
"MIT"
] | 15 | 2018-04-29T18:29:14.000Z | 2022-03-29T10:12:22.000Z | tests/util.py | addisonElliott/pypaintdotnet | ebffd52f9b8a56f2e885e1a9c51a58fc4b30e3bb | [
"MIT"
] | 10 | 2019-09-25T00:03:20.000Z | 2022-03-29T12:25:12.000Z | tests/util.py | addisonElliott/pypaintdotnet | ebffd52f9b8a56f2e885e1a9c51a58fc4b30e3bb | [
"MIT"
] | 3 | 2019-09-24T21:21:31.000Z | 2020-10-29T14:00:59.000Z | import os
dataRoot = os.path.join(os.path.dirname(__file__), 'data')
def getDataPath(path):
return os.path.join(dataRoot, path) | 22.166667 | 58 | 0.729323 | 20 | 133 | 4.65 | 0.55 | 0.193548 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 6 | 59 | 22.166667 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4f8646d54268c63f971f6f47c674b6472cfe62eb | 15,317 | py | Python | torch/distributed/_sharded_tensor/__init__.py | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 3 | 2019-01-21T12:15:39.000Z | 2019-06-08T13:59:44.000Z | torch/distributed/_sharded_tensor/__init__.py | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 1 | 2021-04-22T18:37:42.000Z | 2021-04-28T00:53:25.000Z | torch/distributed/_sharded_tensor/__init__.py | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 1 | 2021-10-05T07:05:26.000Z | 2021-10-05T07:05:26.000Z | # coding=utf-8
from .api import (
CreateOp,
Shard,
ShardedTensor,
ShardedTensorMetadata,
TensorInitParams,
TensorProperties,
load_with_process_group,
)
from torch.distributed._sharding_spec import ShardingSpec
from typing import List
import torch
def empty(sharding_spec: ShardingSpec,
... | 43.638177 | 124 | 0.665209 | 1,855 | 15,317 | 5.332615 | 0.106739 | 0.044885 | 0.033967 | 0.025576 | 0.833906 | 0.805499 | 0.791953 | 0.780024 | 0.770926 | 0.754347 | 0 | 0.000438 | 0.255272 | 15,317 | 350 | 125 | 43.762857 | 0.866661 | 0.583078 | 0 | 0.604027 | 0 | 0 | 0.00035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067114 | false | 0 | 0.026846 | 0 | 0.134228 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4fa7381e5bd6d7dcca1678ca3eacefd8374321fc | 5,068 | py | Python | eventhandler.py | akreator/ordinarydaygame | 9f8ba6d8cc3c8f881f2b10e0ecdd02dcebcdcdd9 | [
"Apache-2.0"
] | null | null | null | eventhandler.py | akreator/ordinarydaygame | 9f8ba6d8cc3c8f881f2b10e0ecdd02dcebcdcdd9 | [
"Apache-2.0"
] | null | null | null | eventhandler.py | akreator/ordinarydaygame | 9f8ba6d8cc3c8f881f2b10e0ecdd02dcebcdcdd9 | [
"Apache-2.0"
] | null | null | null | import handler as h
import databases as my_db
import util
class EditEventHandler(h.Handler):
@util.require_trail
@util.require_login
def get(self, trail):
ud = my_db.UserData.get_user_data(self.user, trail)
e = ud.event_path[-1].get()
if self.user.username == e.creator:
... | 46.495413 | 144 | 0.598066 | 619 | 5,068 | 4.757674 | 0.138934 | 0.061121 | 0.0618 | 0.045161 | 0.802377 | 0.783701 | 0.742615 | 0.734126 | 0.734126 | 0.711715 | 0 | 0.000831 | 0.28749 | 5,068 | 109 | 145 | 46.495413 | 0.814733 | 0 | 0 | 0.622449 | 0 | 0 | 0.140067 | 0.027224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061224 | false | 0 | 0.030612 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96e9998e87cdfa8293e7648c016457fec4bf3bd6 | 105 | py | Python | tests/context.py | rowanG077/RecurrenceRelationSolver | e108cf7a41c8341f5c6ea001d891a1185ff1fab6 | [
"BSD-2-Clause"
] | 2 | 2018-12-17T15:11:15.000Z | 2018-12-19T09:35:38.000Z | tests/context.py | rowanG077/RecurrenceRelationSolver | e108cf7a41c8341f5c6ea001d891a1185ff1fab6 | [
"BSD-2-Clause"
] | null | null | null | tests/context.py | rowanG077/RecurrenceRelationSolver | e108cf7a41c8341f5c6ea001d891a1185ff1fab6 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from RecurrenceRelationSolver import RecurrenceRelation, RecurrenceRelationParser | 52.5 | 81 | 0.819048 | 8 | 105 | 10.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.085714 | 105 | 2 | 81 | 52.5 | 0.885417 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fb8080cf242cf20ee1c8b99f12ce16412ab009d | 987 | py | Python | project/creditor/urls.py | markus456/asylum | 45e77fc346b7e7c8514a8641412c7b4f014b76c5 | [
"MIT"
] | 1 | 2017-04-08T21:31:37.000Z | 2017-04-08T21:31:37.000Z | project/creditor/urls.py | markus456/asylum | 45e77fc346b7e7c8514a8641412c7b4f014b76c5 | [
"MIT"
] | 9 | 2016-01-23T22:40:26.000Z | 2021-09-13T17:44:11.000Z | project/creditor/urls.py | markus456/asylum | 45e77fc346b7e7c8514a8641412c7b4f014b76c5 | [
"MIT"
] | 1 | 2017-04-08T22:13:42.000Z | 2017-04-08T22:13:42.000Z | # -*- coding: utf-8 -*-
#from django.conf.urls import url
from django.urls import re_path
from django.contrib.auth.decorators import permission_required
from . import views
urlpatterns = [
re_path(r'^stats$', views.TransactionYearView.as_view(), name="table_y"),
re_path(r'^stats/(?P<year>[0-9]{4})/tag=(?P<ta... | 58.058824 | 200 | 0.687943 | 158 | 987 | 4.113924 | 0.265823 | 0.055385 | 0.053846 | 0.092308 | 0.76 | 0.76 | 0.76 | 0.76 | 0.76 | 0.76 | 0 | 0.027086 | 0.064843 | 987 | 16 | 201 | 61.6875 | 0.67714 | 0.053698 | 0 | 0 | 0 | 0.3 | 0.341935 | 0.206452 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ff0b304af7d50175f8433331dec09238becc4c9 | 259 | py | Python | chinacoordtran/__init__.py | thiswildidea/ChinaCoordTran_py | a1236b891aaf8dc0258a677a49c2c7ab77844894 | [
"Apache-2.0"
] | null | null | null | chinacoordtran/__init__.py | thiswildidea/ChinaCoordTran_py | a1236b891aaf8dc0258a677a49c2c7ab77844894 | [
"Apache-2.0"
] | null | null | null | chinacoordtran/__init__.py | thiswildidea/ChinaCoordTran_py | a1236b891aaf8dc0258a677a49c2c7ab77844894 | [
"Apache-2.0"
] | null | null | null | from chinacoordtran.gcj02towgs84 import gcj02towgs84
from chinacoordtran.wgs84togcj02 import wgs84togcj02
from chinacoordtran.gcj02tobd09 import gcj02tobd09
from chinacoordtran.bd09togcj02 import bd09togcj02
from chinacoordtran.CoordTran import CoordTran | 51.8 | 53 | 0.888031 | 25 | 259 | 9.2 | 0.32 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13617 | 0.092664 | 259 | 5 | 54 | 51.8 | 0.842553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b13e828fb7b78c78b8087cc38040e9fce80ce46 | 4,068 | py | Python | test/test_simpleMERA.py | li012589/NeuralWavelet | 6e593ded5cb4ae80579cbf56eb9c346d808669cb | [
"Apache-2.0"
] | 28 | 2021-01-27T00:41:40.000Z | 2022-02-14T10:11:51.000Z | test/test_simpleMERA.py | li012589/NeuralWavelet | 6e593ded5cb4ae80579cbf56eb9c346d808669cb | [
"Apache-2.0"
] | null | null | null | test/test_simpleMERA.py | li012589/NeuralWavelet | 6e593ded5cb4ae80579cbf56eb9c346d808669cb | [
"Apache-2.0"
] | 6 | 2021-02-03T01:42:08.000Z | 2021-12-03T17:47:19.000Z | from flowRelated import *
import os
import sys
sys.path.append(os.getcwd())
import torch, math
from torch import nn
import numpy as np
import utils
import flow
import source
import utils
from numpy.testing import assert_allclose
#torch.manual_seed(42)
def test_bijective():
decimal = flow.ScalingNshifting(256, -... | 41.090909 | 200 | 0.686332 | 581 | 4,068 | 4.759036 | 0.142857 | 0.121519 | 0.098734 | 0.117179 | 0.803617 | 0.792043 | 0.792043 | 0.792043 | 0.755515 | 0.755515 | 0 | 0.049582 | 0.147247 | 4,068 | 99 | 201 | 41.090909 | 0.747478 | 0.022616 | 0 | 0.575758 | 0 | 0 | 0.010571 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.030303 | false | 0 | 0.166667 | 0 | 0.19697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b2f60dc141d4d6d02095a645fbe83cc473cb422 | 221 | py | Python | app/config.py | t2wain/flask-gentelella | 95c8cbc60bd3425d089b86b46489548ca3a3fda8 | [
"MIT"
] | 1 | 2019-07-19T03:29:05.000Z | 2019-07-19T03:29:05.000Z | app/config.py | t2wain/flask-gentelella | 95c8cbc60bd3425d089b86b46489548ca3a3fda8 | [
"MIT"
] | null | null | null | app/config.py | t2wain/flask-gentelella | 95c8cbc60bd3425d089b86b46489548ca3a3fda8 | [
"MIT"
] | null | null | null | class Config(object):
SECRET_KEY = 'key'
class ProductionConfig(Config):
pass
# DEBUG = False
class DebugConfig(Config):
pass
# DEBUG = True
class GAEConfig(Config):
pass
# DEBUG = False
| 12.277778 | 31 | 0.633484 | 24 | 221 | 5.791667 | 0.5 | 0.215827 | 0.323741 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271493 | 221 | 17 | 32 | 13 | 0.863354 | 0.180995 | 0 | 0.375 | 0 | 0 | 0.016949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.375 | 0 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8c9a7042242c9966440d9fe20e522d0e099b81ba | 156 | py | Python | src/config/key.py | Chicco94/crypto-bot | edbc22477544a25d8eb0c90cdd5f03345f11db68 | [
"MIT"
] | null | null | null | src/config/key.py | Chicco94/crypto-bot | edbc22477544a25d8eb0c90cdd5f03345f11db68 | [
"MIT"
] | null | null | null | src/config/key.py | Chicco94/crypto-bot | edbc22477544a25d8eb0c90cdd5f03345f11db68 | [
"MIT"
] | null | null | null | api_key = 'mvF5vpLlVGh2Ap4jSnhRXGE9gJuaMredzxIQ2SNXcFjEZhYEdUnJXZIDVYlZT0KH'
secret_key = '497i8U1pWMtoVRzPNczgCPGwwEVClKP25yaERoWPErJl42KgdAJUa1SsQBVwwJ9Z' | 78 | 79 | 0.929487 | 6 | 156 | 23.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112583 | 0.032051 | 156 | 2 | 79 | 78 | 0.834437 | 0 | 0 | 0 | 0 | 0 | 0.815287 | 0.815287 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8cacd938fa679a6708e43a7d69a690590191bbdf | 209 | py | Python | src/graph_transpiler/webdnn/backend/fallback/kernels/sigmoid.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | src/graph_transpiler/webdnn/backend/fallback/kernels/sigmoid.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/fallback/kernels/sigmoid.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.backend.fallback.kernels.elementwise import register_elementwise_kernel
from webdnn.graph.operators.sigmoid import Sigmoid
register_elementwise_kernel(Sigmoid, "y = 1.0 / (1.0 + Math.exp(-x0));")
| 41.8 | 83 | 0.803828 | 29 | 209 | 5.655172 | 0.62069 | 0.121951 | 0.304878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026042 | 0.08134 | 209 | 4 | 84 | 52.25 | 0.828125 | 0 | 0 | 0 | 0 | 0 | 0.15311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8cb01db64d299e8e6005f6592c0e7bc4e47d7740 | 28 | py | Python | sutils/ui/core.py | t-mertz/slurm_utils | 6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd | [
"MIT"
] | null | null | null | sutils/ui/core.py | t-mertz/slurm_utils | 6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd | [
"MIT"
] | null | null | null | sutils/ui/core.py | t-mertz/slurm_utils | 6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd | [
"MIT"
] | null | null | null | from curses import wrapper
| 9.333333 | 26 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8cbc1eec656c7f6273ea79ef3acd71bd2a282967 | 17,109 | py | Python | testing/components/distributions/normal_test.py | JeremiasKnoblauch/MXFusion | af6223e9636b055d029d136dd7ae023b210b4560 | [
"Apache-2.0"
] | 2 | 2019-05-31T09:50:47.000Z | 2021-03-06T09:38:47.000Z | testing/components/distributions/normal_test.py | JeremiasKnoblauch/MXFusion | af6223e9636b055d029d136dd7ae023b210b4560 | [
"Apache-2.0"
] | null | null | null | testing/components/distributions/normal_test.py | JeremiasKnoblauch/MXFusion | af6223e9636b055d029d136dd7ae023b210b4560 | [
"Apache-2.0"
] | 1 | 2019-05-30T09:39:46.000Z | 2019-05-30T09:39:46.000Z | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in th... | 47.92437 | 133 | 0.655211 | 2,618 | 17,109 | 4.055004 | 0.074866 | 0.025622 | 0.057649 | 0.02939 | 0.828372 | 0.808591 | 0.780143 | 0.772796 | 0.767521 | 0.75292 | 0 | 0.025767 | 0.21515 | 17,109 | 356 | 134 | 48.058989 | 0.76482 | 0.05085 | 0 | 0.666667 | 0 | 0 | 0.028358 | 0 | 0 | 0 | 0 | 0 | 0.114815 | 1 | 0.033333 | false | 0 | 0.044444 | 0 | 0.088889 | 0.003704 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5069014730926c88807bf7724c36c8ef7ebbfb33 | 8,461 | py | Python | vegans/utils/architectures/example.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 459 | 2019-01-30T17:04:40.000Z | 2022-03-23T08:28:24.000Z | vegans/utils/architectures/example.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 7 | 2019-01-31T03:58:31.000Z | 2021-12-14T15:30:28.000Z | vegans/utils/architectures/example.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 34 | 2019-01-30T18:20:33.000Z | 2022-01-25T06:24:26.000Z | import numpy as np
import torch.nn as nn
from vegans.utils.utils import get_input_dim
from vegans.utils.layers import LayerReshape
class MyGenerator(nn.Module):
def __init__(self, gen_in_dim, x_dim):
super().__init__()
self.hidden_part = nn.Sequential(
nn.Flatten(),
nn.Line... | 30.992674 | 99 | 0.602766 | 1,230 | 8,461 | 3.890244 | 0.095122 | 0.050157 | 0.040125 | 0.040752 | 0.833438 | 0.783699 | 0.733333 | 0.726228 | 0.710763 | 0.689028 | 0 | 0.035131 | 0.283418 | 8,461 | 273 | 100 | 30.992674 | 0.754082 | 0.229169 | 0 | 0.571429 | 0 | 0 | 0.011884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093168 | false | 0 | 0.024845 | 0 | 0.21118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
508693a3778738cefcf2a855738b452977315577 | 26 | py | Python | tests/test_basic.py | longnguyencse/linear-problem | 6181970af4220d2a624c8aab7d26b4b4c9de9567 | [
"MIT"
] | null | null | null | tests/test_basic.py | longnguyencse/linear-problem | 6181970af4220d2a624c8aab7d26b4b4c9de9567 | [
"MIT"
] | null | null | null | tests/test_basic.py | longnguyencse/linear-problem | 6181970af4220d2a624c8aab7d26b4b4c9de9567 | [
"MIT"
] | null | null | null | print("test_advanced.py")
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 26 | 1 | 26 | 26 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5094005f873063315a30a63951e2f4b0771eba76 | 146 | py | Python | BattleCity-NES/views/__init__.py | iOsnaaente/Kata-train_Code | 22cdf9d087bad879875c1f70029bda0771242c50 | [
"MIT"
] | null | null | null | BattleCity-NES/views/__init__.py | iOsnaaente/Kata-train_Code | 22cdf9d087bad879875c1f70029bda0771242c50 | [
"MIT"
] | null | null | null | BattleCity-NES/views/__init__.py | iOsnaaente/Kata-train_Code | 22cdf9d087bad879875c1f70029bda0771242c50 | [
"MIT"
] | null | null | null | #! usr/bin/dev python
from images import imagens
from views import GamePage
from views import InitialPage
from views import ConstructionPage
| 16.222222 | 34 | 0.808219 | 20 | 146 | 5.9 | 0.6 | 0.228814 | 0.381356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 8 | 35 | 18.25 | 0.967213 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5096722936878d7554d42d9f180626da74f5c42d | 97 | py | Python | python/solutions/py_ex7.py | TU-Coding-Outreach-Group/intro-to-coding-2021 | 505d2f348127f1acb08ea4ee4f2ee40b8e9fe727 | [
"CC-BY-4.0"
] | 3 | 2021-12-13T16:29:42.000Z | 2022-03-30T14:44:19.000Z | python/solutions/py_ex7.py | TU-Coding-Outreach-Group/intro-to-coding-2021 | 505d2f348127f1acb08ea4ee4f2ee40b8e9fe727 | [
"CC-BY-4.0"
] | 6 | 2021-12-15T16:43:48.000Z | 2021-12-16T20:52:36.000Z | python/solutions/py_ex7.py | TU-Coding-Outreach-Group/intro-to-coding-2021 | 505d2f348127f1acb08ea4ee4f2ee40b8e9fe727 | [
"CC-BY-4.0"
] | null | null | null | ebdm_concat.to_csv('/Users/lizbeard/Desktop/intro-to-coding-2021/misc/logs/DE249/DE249_ebdm.csv') | 97 | 97 | 0.824742 | 17 | 97 | 4.529412 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 0 | 97 | 1 | 97 | 97 | 0.690722 | 0 | 0 | 0 | 0 | 1 | 0.765306 | 0.765306 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50991ec9adeecc4d6d90c861c7222626be306440 | 144 | py | Python | bitmovin/resources/enums/h264_trellis.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 44 | 2016-12-12T17:37:23.000Z | 2021-03-03T09:48:48.000Z | bitmovin/resources/enums/h264_trellis.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 38 | 2017-01-09T14:45:45.000Z | 2022-02-27T18:04:33.000Z | bitmovin/resources/enums/h264_trellis.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 27 | 2017-02-02T22:49:31.000Z | 2019-11-21T07:04:57.000Z | import enum
class H264Trellis(enum.Enum):
DISABLED = 'DISABLED'
ENABLED_FINAL_MB = 'ENABLED_FINAL_MB'
ENABLED_ALL = 'ENABLED_ALL'
| 18 | 41 | 0.722222 | 18 | 144 | 5.444444 | 0.5 | 0.244898 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.1875 | 144 | 7 | 42 | 20.571429 | 0.811966 | 0 | 0 | 0 | 0 | 0 | 0.243056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
50ef1b4249691ca8ad68efec3aea8a48d5ce4fba | 82 | py | Python | imagenet/models/__init__.py | ChaofanTao/FAT_Quantization | a816720298dd5eeb3aac37bf1c2aea6792169d61 | [
"MIT"
] | 27 | 2021-02-23T07:24:28.000Z | 2022-03-11T11:39:57.000Z | imagenet/models/__init__.py | dylanchan24/FAT_Quantization | f7342c7910081ccf76890656fc0c23209752e3ba | [
"MIT"
] | 2 | 2021-03-18T11:37:15.000Z | 2021-04-21T09:53:00.000Z | imagenet/models/__init__.py | dylanchan24/FAT_Quantization | f7342c7910081ccf76890656fc0c23209752e3ba | [
"MIT"
] | 3 | 2021-03-29T07:24:11.000Z | 2021-08-17T09:13:07.000Z | from .mobilenetv2 import *
from .resnet import *
from .fat_quantization import *
| 16.4 | 31 | 0.768293 | 10 | 82 | 6.2 | 0.6 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.158537 | 82 | 4 | 32 | 20.5 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fbaa4ed4ee79a7fd35f9b7cad192a934236f9ee | 127 | py | Python | aserializer/fields/__init__.py | orderbird/aserializer | 3aeaa073f2dac7830458a1f45ffa9af6540bd315 | [
"MIT"
] | null | null | null | aserializer/fields/__init__.py | orderbird/aserializer | 3aeaa073f2dac7830458a1f45ffa9af6540bd315 | [
"MIT"
] | null | null | null | aserializer/fields/__init__.py | orderbird/aserializer | 3aeaa073f2dac7830458a1f45ffa9af6540bd315 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .base import *
from .fields import *
from .serializer_fields import *
from .time_fields import *
| 18.142857 | 32 | 0.692913 | 17 | 127 | 5.058824 | 0.529412 | 0.348837 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.173228 | 127 | 6 | 33 | 21.166667 | 0.809524 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0ff1b36d6008c9ebfa1abf6be0fc22c9417d8231 | 2,361 | py | Python | apicovid/migrations/0018_auto_20200718_1942.py | jackson541/covid-sjs | 6ac9e2e4a75ef75e66ceddf0557b1af4b339c6c7 | [
"MIT"
] | 1 | 2020-08-29T12:05:05.000Z | 2020-08-29T12:05:05.000Z | apicovid/migrations/0018_auto_20200718_1942.py | jackson541/API-Boletim-Covid | 6ac9e2e4a75ef75e66ceddf0557b1af4b339c6c7 | [
"MIT"
] | 59 | 2020-06-26T00:33:29.000Z | 2021-09-22T19:06:07.000Z | apicovid/migrations/0018_auto_20200718_1942.py | jackson541/API-Boletim-Covid | 6ac9e2e4a75ef75e66ceddf0557b1af4b339c6c7 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-07-18 22:42
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('apicovid', '0017_boletim_ativo'),
]
operations = [
migrations.AddField(
model_name='boletim',
... | 35.772727 | 107 | 0.609064 | 204 | 2,361 | 6.960784 | 0.230392 | 0.06338 | 0.126761 | 0.152113 | 0.778873 | 0.778873 | 0.752113 | 0.752113 | 0.752113 | 0.752113 | 0 | 0.020516 | 0.277425 | 2,361 | 65 | 108 | 36.323077 | 0.811841 | 0.01906 | 0 | 0.694915 | 1 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033898 | 0 | 0.084746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ff56c56d11f6f3b7366ac2afdc24f991cd3a2be | 94 | py | Python | handlers/__init__.py | AmeyMore98/movie_api | afc06ba71d98e873b91de17d2773cd820e89facd | [
"MIT"
] | null | null | null | handlers/__init__.py | AmeyMore98/movie_api | afc06ba71d98e873b91de17d2773cd820e89facd | [
"MIT"
] | null | null | null | handlers/__init__.py | AmeyMore98/movie_api | afc06ba71d98e873b91de17d2773cd820e89facd | [
"MIT"
] | null | null | null | from handlers.movie_handler import MovieHandler
from handlers.user_handler import UserHandler
| 31.333333 | 47 | 0.893617 | 12 | 94 | 6.833333 | 0.666667 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 2 | 48 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8a273c86cf686e4f0958427e6998de1869387b7 | 213 | py | Python | src/aijack/utils/__init__.py | luoshenseeker/AIJack | 4e871a5b3beb4b7c976d38060d6956efcebf880d | [
"MIT"
] | null | null | null | src/aijack/utils/__init__.py | luoshenseeker/AIJack | 4e871a5b3beb4b7c976d38060d6956efcebf880d | [
"MIT"
] | null | null | null | src/aijack/utils/__init__.py | luoshenseeker/AIJack | 4e871a5b3beb4b7c976d38060d6956efcebf880d | [
"MIT"
] | null | null | null | from .dataloader import prepareFederatedMNISTDataloaders # noqa: F401
from .metrics import total_variation # noqa: F401
from .utils import NumpyDataset, try_gpu # noqa: F401
from .configloader import loadConfig | 53.25 | 70 | 0.816901 | 25 | 213 | 6.88 | 0.6 | 0.139535 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048649 | 0.131455 | 213 | 4 | 71 | 53.25 | 0.881081 | 0.150235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8b87b5e3cb77151e86f87a69af927d9918e61c8 | 114 | py | Python | numeric_data_type.py | iqran-star/dara_types_in_python | bd44f18e30bb796a0fefaae0c6c577709f4a6e42 | [
"MIT"
] | null | null | null | numeric_data_type.py | iqran-star/dara_types_in_python | bd44f18e30bb796a0fefaae0c6c577709f4a6e42 | [
"MIT"
] | null | null | null | numeric_data_type.py | iqran-star/dara_types_in_python | bd44f18e30bb796a0fefaae0c6c577709f4a6e42 | [
"MIT"
] | null | null | null |
# Numeric data type in python
print(2)
print(2.0)
print(1+2j)
print(type(2))
print(type(2.0))
print(type(1+2j))
| 11.4 | 29 | 0.675439 | 24 | 114 | 3.208333 | 0.416667 | 0.350649 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.122807 | 114 | 9 | 30 | 12.666667 | 0.67 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e8ca7f0c48161909ceacbd2016f95ecc170814e9 | 32 | py | Python | wraptitude/__init__.py | brettbeatty/wraptitude | ac7cf276a61438a46cb2076c9c313ef078a673d1 | [
"MIT"
] | null | null | null | wraptitude/__init__.py | brettbeatty/wraptitude | ac7cf276a61438a46cb2076c9c313ef078a673d1 | [
"MIT"
] | null | null | null | wraptitude/__init__.py | brettbeatty/wraptitude | ac7cf276a61438a46cb2076c9c313ef078a673d1 | [
"MIT"
] | null | null | null | from .wraptitude import Wrapper
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.