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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6f67dc1568ee757508905abb02a33c1edb9248fc | 170 | py | Python | hackerrank/forcia2019/yfp_a.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | 1 | 2018-11-12T15:18:55.000Z | 2018-11-12T15:18:55.000Z | hackerrank/forcia2019/yfp_a.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | hackerrank/forcia2019/yfp_a.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | s = int(input().replace('b', '0').replace('B', '1'), 2)
t = int(input().replace('b', '0').replace('B', '1'), 2)
print(bin(s + t)[2:].replace('0', 'b').replace('1', 'B'))
| 42.5 | 57 | 0.5 | 31 | 170 | 2.741935 | 0.354839 | 0.376471 | 0.352941 | 0.376471 | 0.635294 | 0.635294 | 0.635294 | 0.635294 | 0.635294 | 0 | 0 | 0.058824 | 0.1 | 170 | 3 | 58 | 56.666667 | 0.496732 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f73ff53c69c0f29f3b30629ae060d750fe57093 | 190 | py | Python | NewsPaper/NewsPaper/NewsPaper/news/admin.py | PavelPopkov/D3.4.-Practice-Popkov | 46de6209bad81c17882520397fbb358c0834e753 | [
"MIT"
] | null | null | null | NewsPaper/NewsPaper/NewsPaper/news/admin.py | PavelPopkov/D3.4.-Practice-Popkov | 46de6209bad81c17882520397fbb358c0834e753 | [
"MIT"
] | null | null | null | NewsPaper/NewsPaper/NewsPaper/news/admin.py | PavelPopkov/D3.4.-Practice-Popkov | 46de6209bad81c17882520397fbb358c0834e753 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Category, Post, Author
admin.site.register(Category)
admin.site.register(Post)
admin.site.register(Author)
# Register your models here.
| 23.75 | 42 | 0.805263 | 27 | 190 | 5.666667 | 0.481481 | 0.176471 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 190 | 7 | 43 | 27.142857 | 0.894737 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
48a024988481367c58396d630a4731b23dcd4d6d | 141 | py | Python | src/flotilla.py | pebble/flotilla | 23d9b3aefd8312879549c50e52ea73f3e3f493be | [
"MIT"
] | 5 | 2016-01-01T15:50:21.000Z | 2018-11-27T17:38:15.000Z | src/flotilla.py | pebble/flotilla | 23d9b3aefd8312879549c50e52ea73f3e3f493be | [
"MIT"
] | 27 | 2015-12-17T07:49:56.000Z | 2018-07-13T15:06:33.000Z | src/flotilla.py | pebble/flotilla | 23d9b3aefd8312879549c50e52ea73f3e3f493be | [
"MIT"
] | 7 | 2015-12-01T22:04:24.000Z | 2021-11-28T13:21:35.000Z | #!/usr/bin/env python
from main import setup_logging
from flotilla.cli import cli
if __name__ == '__main__':
setup_logging()
cli()
| 15.666667 | 30 | 0.70922 | 20 | 141 | 4.5 | 0.65 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184397 | 141 | 8 | 31 | 17.625 | 0.782609 | 0.141844 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
48a46b486d3501db93dc65960f51bb0bec0ea51a | 154 | py | Python | api/source/testing/cases/splash_case.py | 1pkg/ReRe | 83f77d2cece0fb5f6d7b86a395fcca7d4e16459f | [
"MIT"
] | 1 | 2019-12-17T10:31:48.000Z | 2019-12-17T10:31:48.000Z | api/source/testing/cases/splash_case.py | c-pkg/ReRe | 83f77d2cece0fb5f6d7b86a395fcca7d4e16459f | [
"MIT"
] | null | null | null | api/source/testing/cases/splash_case.py | c-pkg/ReRe | 83f77d2cece0fb5f6d7b86a395fcca7d4e16459f | [
"MIT"
] | 1 | 2019-04-29T08:19:36.000Z | 2019-04-29T08:19:36.000Z | from .base_case import BaseCase
from actions import Splash
class SplashCase(BaseCase):
def test_splash_result(self):
return NotImplemented
| 17.111111 | 33 | 0.766234 | 19 | 154 | 6.052632 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188312 | 154 | 8 | 34 | 19.25 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
48f24012698359067f29497d265827d68ccdd405 | 34 | py | Python | torchswarm/utils/parameters.py | rohanmohapatra/torchswarm | 0b0c1aee787ff97bee4bce469fe8481734e14ee5 | [
"MIT"
] | 15 | 2020-12-26T15:22:53.000Z | 2022-02-01T23:21:59.000Z | torchswarm/utils/parameters.py | rohanmohapatra/torchswarm | 0b0c1aee787ff97bee4bce469fe8481734e14ee5 | [
"MIT"
] | null | null | null | torchswarm/utils/parameters.py | rohanmohapatra/torchswarm | 0b0c1aee787ff97bee4bce469fe8481734e14ee5 | [
"MIT"
] | 3 | 2021-08-06T09:30:01.000Z | 2022-02-11T05:38:10.000Z | class SwarmParameters:
pass
| 11.333333 | 23 | 0.705882 | 3 | 34 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 34 | 2 | 24 | 17 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
48fb5e3262b09fb64a9f14dd6c7c92b507fa0a4c | 51 | py | Python | modules/MMM-Testpython/sample.py | ENTITYSmartMirror/BeautyMirrorTest1 | d19ccbddc03fe87ae48485863cb84b2f33cd6796 | [
"MIT"
] | null | null | null | modules/MMM-Testpython/sample.py | ENTITYSmartMirror/BeautyMirrorTest1 | d19ccbddc03fe87ae48485863cb84b2f33cd6796 | [
"MIT"
] | 3 | 2021-12-01T09:31:40.000Z | 2022-03-25T18:41:33.000Z | modules/MMM-Testpython/sample.py | ENTITYSmartMirror/BeautyMirrorTest1 | d19ccbddc03fe87ae48485863cb84b2f33cd6796 | [
"MIT"
] | null | null | null | print ("sample.py ! I'm Python. Nice to meet you!") | 51 | 51 | 0.666667 | 10 | 51 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 1 | 51 | 51 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
5b16290da097104e6ec9565b0904c99f18758a9f | 32 | py | Python | AER/fairseq_c/fairseq/version.py | formiel/NeurIPS2021 | a2a29a1904779c3ffd1a002fd057bf90b31a234d | [
"MIT"
] | 5 | 2021-10-11T13:44:05.000Z | 2022-02-22T12:55:25.000Z | AER/fairseq_c/fairseq/version.py | formiel/NeurIPS2021 | a2a29a1904779c3ffd1a002fd057bf90b31a234d | [
"MIT"
] | null | null | null | AER/fairseq_c/fairseq/version.py | formiel/NeurIPS2021 | a2a29a1904779c3ffd1a002fd057bf90b31a234d | [
"MIT"
] | 8 | 2021-09-09T14:49:14.000Z | 2022-03-03T15:53:09.000Z | __version__ = "1.0.0a0+59b0556"
| 16 | 31 | 0.71875 | 5 | 32 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.344828 | 0.09375 | 32 | 1 | 32 | 32 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d28d7c797ff8aa2243b0b71fd13154658327df06 | 57 | py | Python | datasets/__init__.py | ZhengPeng7/GLCNet | 5ec7d4eb0ddece3f789df0b25f414bc4b5ac1d9e | [
"MIT"
] | 5 | 2021-12-07T03:11:02.000Z | 2022-01-22T15:52:19.000Z | datasets/__init__.py | ZhengPeng7/GLCNet | 5ec7d4eb0ddece3f789df0b25f414bc4b5ac1d9e | [
"MIT"
] | 2 | 2021-12-18T07:24:25.000Z | 2022-03-31T08:43:48.000Z | datasets/__init__.py | ZhengPeng7/GLCNet | 5ec7d4eb0ddece3f789df0b25f414bc4b5ac1d9e | [
"MIT"
] | null | null | null | from .build import build_test_loader, build_train_loader
| 28.5 | 56 | 0.877193 | 9 | 57 | 5.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 57 | 1 | 57 | 57 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d2b017f8da1c58e536a2cbf80e635bb4db171a28 | 30,551 | py | Python | old_codes/GEETools.py | ollinevalainen/satellitetools | c36cb686bb6d87d5268890706d71f2144144b4c0 | [
"MIT"
] | 6 | 2021-02-26T09:17:15.000Z | 2022-01-10T17:10:04.000Z | old_codes/GEETools.py | ollinevalainen/satellitetools | c36cb686bb6d87d5268890706d71f2144144b4c0 | [
"MIT"
] | 2 | 2020-06-09T09:55:45.000Z | 2022-02-23T12:36:01.000Z | old_codes/GEETools.py | ollinevalainen/satellitetools | c36cb686bb6d87d5268890706d71f2144144b4c0 | [
"MIT"
] | 1 | 2021-06-08T01:09:22.000Z | 2021-06-08T01:09:22.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Dec 10 10:43:18 2019
@author: nevalaio
"""
import ee
import time
import datetime
import satelliteTools as st
import pandas as pd
from geetools import batch, tools
import numpy as np
ee.Initialize()
#----------------- Sentinel-2 ------------------------... | 49.196457 | 189 | 0.578541 | 3,236 | 30,551 | 5.286156 | 0.084054 | 0.014732 | 0.043026 | 0.056471 | 0.834269 | 0.792003 | 0.742137 | 0.708348 | 0.673565 | 0.652578 | 0 | 0.013168 | 0.281627 | 30,551 | 620 | 190 | 49.275806 | 0.766255 | 0.093123 | 0 | 0.686364 | 0 | 0 | 0.120508 | 0.012521 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.015909 | 0 | 0.122727 | 0.013636 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d2c80b3ecf64360017b06703d1d976586b238850 | 290 | py | Python | src/waldur_mastermind/marketplace_rancher/extension.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 26 | 2017-10-18T13:49:58.000Z | 2021-09-19T04:44:09.000Z | src/waldur_mastermind/marketplace_rancher/extension.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 14 | 2018-12-10T14:14:51.000Z | 2021-06-07T10:33:39.000Z | src/waldur_mastermind/marketplace_rancher/extension.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 32 | 2017-09-24T03:10:45.000Z | 2021-10-16T16:41:09.000Z | from waldur_core.core import WaldurExtension
class MarketplaceRancherExtension(WaldurExtension):
class Settings:
pass
@staticmethod
def django_app():
return 'waldur_mastermind.marketplace_rancher'
@staticmethod
def is_assembly():
return True
| 19.333333 | 54 | 0.713793 | 27 | 290 | 7.481481 | 0.740741 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231034 | 290 | 14 | 55 | 20.714286 | 0.90583 | 0 | 0 | 0.2 | 0 | 0 | 0.127586 | 0.127586 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.1 | 0.1 | 0.2 | 0.7 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
8252f69eebf8614888e5121c2d0ad3c23abd6c65 | 43 | py | Python | lib/python/treadmill/syscall/__init__.py | vrautela/treadmill | 05e47fa8acdf8bad7af78e737efb26ea6488de82 | [
"Apache-2.0"
] | 133 | 2016-09-15T13:36:12.000Z | 2021-01-18T06:29:13.000Z | lib/python/treadmill/syscall/__init__.py | bretttegart/treadmill | 812109e31c503a6eddaee2d3f2e1faf2833b6aaf | [
"Apache-2.0"
] | 108 | 2016-12-28T23:41:27.000Z | 2020-03-05T21:20:37.000Z | lib/python/treadmill/syscall/__init__.py | bretttegart/treadmill | 812109e31c503a6eddaee2d3f2e1faf2833b6aaf | [
"Apache-2.0"
] | 69 | 2016-09-23T20:38:58.000Z | 2020-11-11T02:31:21.000Z | """Linux direct system call interface.
"""
| 14.333333 | 38 | 0.697674 | 5 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 2 | 39 | 21.5 | 0.810811 | 0.813953 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
825fad92ce86d06a272eb8c33f8214580f9e35db | 164 | py | Python | segmentation/model/decoder/__init__.py | RajasekharChowdary9/panoptic-deeplab | 7645bc1cf51e3ebc85153666f26f8630a407b52b | [
"Apache-2.0"
] | 506 | 2020-06-12T01:07:56.000Z | 2022-03-26T00:56:52.000Z | segmentation/model/decoder/__init__.py | RajasekharChowdary9/panoptic-deeplab | 7645bc1cf51e3ebc85153666f26f8630a407b52b | [
"Apache-2.0"
] | 85 | 2020-06-12T04:51:31.000Z | 2022-03-23T16:19:44.000Z | segmentation/model/decoder/__init__.py | RajasekharChowdary9/panoptic-deeplab | 7645bc1cf51e3ebc85153666f26f8630a407b52b | [
"Apache-2.0"
] | 102 | 2020-06-12T06:45:44.000Z | 2022-03-22T14:03:04.000Z | from .aspp import ASPP
from .deeplabv3 import DeepLabV3Decoder
from .deeplabv3plus import DeepLabV3PlusDecoder
from .panoptic_deeplab import PanopticDeepLabDecoder
| 32.8 | 52 | 0.878049 | 17 | 164 | 8.411765 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.097561 | 164 | 4 | 53 | 41 | 0.939189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
82653c88172a502e67527d557f7c2247f700acf5 | 883 | py | Python | xilinx/python/bba.py | ilesser/nextpnr-xilinx | 2425dde6a3cc65d990e0bb06bbe8a40e661b0b45 | [
"0BSD"
] | 79 | 2019-09-26T12:46:28.000Z | 2021-04-22T16:10:12.000Z | xilinx/python/bba.py | ilesser/nextpnr-xilinx | 2425dde6a3cc65d990e0bb06bbe8a40e661b0b45 | [
"0BSD"
] | 15 | 2019-12-24T11:25:28.000Z | 2021-02-07T21:11:58.000Z | xilinx/python/bba.py | ilesser/nextpnr-xilinx | 2425dde6a3cc65d990e0bb06bbe8a40e661b0b45 | [
"0BSD"
] | 12 | 2019-12-27T16:22:47.000Z | 2021-04-21T09:19:58.000Z | class BBAWriter:
def __init__(self, f):
self.f = f
def pre(self, s):
print("pre {}".format(s), file=self.f)
def post(self, s):
print("post {}".format(s), file=self.f)
def push(self, s):
print("push {}".format(s), file=self.f)
def offset32(self):
print("offset32", file=self.f)
def ref(self, r, comment=""... | 31.535714 | 57 | 0.601359 | 145 | 883 | 3.634483 | 0.17931 | 0.132827 | 0.204934 | 0.250474 | 0.381404 | 0.309298 | 0.165085 | 0.165085 | 0 | 0 | 0 | 0.018543 | 0.14496 | 883 | 27 | 58 | 32.703704 | 0.67947 | 0 | 0 | 0 | 0 | 0 | 0.101925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.481481 | false | 0 | 0 | 0 | 0.518519 | 0.444444 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 5 |
8281cd488d2aba5f3800592490a1d60bba7f815f | 326 | py | Python | test.py | jakobbaek/link_collector | 18fa1083a876b653e345f35075402a415aa71b6d | [
"MIT"
] | null | null | null | test.py | jakobbaek/link_collector | 18fa1083a876b653e345f35075402a415aa71b6d | [
"MIT"
] | null | null | null | test.py | jakobbaek/link_collector | 18fa1083a876b653e345f35075402a415aa71b6d | [
"MIT"
] | null | null | null | from referals.referals import Collector
import pandas as pd
#inputfile = "/home/jakob/antivax/inputfiles/DATA AntiVax Norden_updated August.xlsx"
#col = Collector(inputfile,title="test2")
#col.add_services(services=["crowdtangle"])
#col.add_services(services=["twitter"])
#col.get_referals(running_export=False,update=F... | 36.222222 | 85 | 0.800613 | 43 | 326 | 5.953488 | 0.674419 | 0.046875 | 0.109375 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003279 | 0.064417 | 326 | 8 | 86 | 40.75 | 0.836066 | 0.782209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8283b0201fb1fdfb6f1565d6ebbd985fe57065ce | 117 | py | Python | IntroProPython/aula9-Arquivos/listagem09-20.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | IntroProPython/aula9-Arquivos/listagem09-20.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | IntroProPython/aula9-Arquivos/listagem09-20.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | import os.path
if os.path.exists('z'):
print('O diretorio z existe.')
else:
print('O diretorio z nao existe') | 23.4 | 37 | 0.666667 | 20 | 117 | 3.9 | 0.6 | 0.153846 | 0.384615 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 117 | 5 | 37 | 23.4 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.389831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
8286140ff338dc9e50fabdd39ebee99b12c86433 | 4,646 | py | Python | functions.py | StanislavPetrovV/3D-Fractal-Mandelbulb-Ray-marching- | e7528c01e953159f957535c7549dbfdb63e19909 | [
"MIT"
] | 16 | 2020-05-14T04:29:10.000Z | 2021-09-11T11:46:51.000Z | functions.py | StanislavPetrovV/3D-Fractal-Mandelbulb-Ray-marching- | e7528c01e953159f957535c7549dbfdb63e19909 | [
"MIT"
] | 1 | 2020-08-31T18:50:31.000Z | 2020-08-31T18:50:31.000Z | functions.py | StanislavPetrovV/3D-Fractal-Mandelbulb-Ray-marching- | e7528c01e953159f957535c7549dbfdb63e19909 | [
"MIT"
] | 5 | 2020-05-16T10:45:45.000Z | 2021-09-01T07:41:37.000Z | import math
# from settings import *
from numba import njit
@njit(fastmath=True)#, cache=True)
def mod_vec3_n(vec, n):
return (vec[0] % n, vec[1] % n, vec[2] % n)
@njit(fastmath=True)#, cache=True)
def length_vec3(vec):
return math.sqrt(vec[0] ** 2 + vec[1] ** 2 + vec[2] ** 2)
@njit(fastmath=... | 24.978495 | 105 | 0.525613 | 860 | 4,646 | 2.756977 | 0.076744 | 0.141712 | 0.18895 | 0.23914 | 0.754534 | 0.721215 | 0.685787 | 0.652889 | 0.589625 | 0.589625 | 0 | 0.103945 | 0.252475 | 4,646 | 186 | 106 | 24.978495 | 0.57875 | 0.080284 | 0 | 0.390977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.015038 | 0.112782 | 0.43609 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
8296d3ae67e4ec09bed29e92f953636bc870a350 | 67 | py | Python | b3q/__init__.py | nthparty/b3q | d39d5b943ccb665796dddbdf0a1dc02329ea5775 | [
"MIT"
] | null | null | null | b3q/__init__.py | nthparty/b3q | d39d5b943ccb665796dddbdf0a1dc02329ea5775 | [
"MIT"
] | null | null | null | b3q/__init__.py | nthparty/b3q | d39d5b943ccb665796dddbdf0a1dc02329ea5775 | [
"MIT"
] | null | null | null | """Gives users direct access to method."""
from b3q.b3q import get
| 22.333333 | 42 | 0.731343 | 11 | 67 | 4.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.149254 | 67 | 2 | 43 | 33.5 | 0.824561 | 0.537313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
82d14d4fc6a3bc267ab0b84ae227a48360e485db | 116 | py | Python | autodse/__main__.py | falcon-computing/Merlin_DSE | f8d22fa11c4664b782f060f0d79b87b5e3fbf205 | [
"Apache-2.0"
] | 6 | 2021-11-16T16:22:19.000Z | 2022-03-05T14:27:23.000Z | autodse/__main__.py | falcon-computing/Merlin_DSE | f8d22fa11c4664b782f060f0d79b87b5e3fbf205 | [
"Apache-2.0"
] | 2 | 2021-12-01T07:59:49.000Z | 2022-01-10T08:20:38.000Z | autodse/__main__.py | falcon-computing/Merlin_DSE | f8d22fa11c4664b782f060f0d79b87b5e3fbf205 | [
"Apache-2.0"
] | 5 | 2021-11-04T19:59:39.000Z | 2022-02-27T22:32:52.000Z | """
The package and console entry.
"""
from autodse.main import Main
if __name__ == '__main__':
Main().main()
| 12.888889 | 30 | 0.655172 | 15 | 116 | 4.533333 | 0.733333 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 116 | 8 | 31 | 14.5 | 0.723404 | 0.258621 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
82e3f9f4f9815f2b42378f3276b083b566880e9b | 129 | py | Python | python-sdk/nuscenes/eval/common/config.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/eval/common/config.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/eval/common/config.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:650ce3dc1d1180763afe12a5c75a47f401008772752ccf3bc73809b03a4c9d39
size 1503
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.414634 | 0.046512 | 129 | 3 | 76 | 43 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7d81edb8204eddff88d1a22cbb08dad7fa815c19 | 5,505 | py | Python | tests/unit/dataactvalidator/test_fabs41_detached_award_financial_assistance_3.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | 1 | 2019-06-22T21:53:16.000Z | 2019-06-22T21:53:16.000Z | tests/unit/dataactvalidator/test_fabs41_detached_award_financial_assistance_3.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_fabs41_detached_award_financial_assistance_3.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | from tests.unit.dataactcore.factories.staging import DetachedAwardFinancialAssistanceFactory
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
from dataactcore.models.domainModels import Zips
_FILE = 'fabs41_detached_award_financial_assistance_3'
def test_column_headers(database):
exp... | 68.8125 | 119 | 0.651408 | 573 | 5,505 | 5.886562 | 0.219895 | 0.074711 | 0.192114 | 0.117403 | 0.745034 | 0.726949 | 0.726949 | 0.726949 | 0.690187 | 0.68485 | 0 | 0.069114 | 0.28247 | 5,505 | 79 | 120 | 69.683544 | 0.78481 | 0.151499 | 0 | 0.272727 | 0 | 0 | 0.080087 | 0.020563 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.054545 | false | 0 | 0.054545 | 0 | 0.109091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7d8da3897e90f29b0860f30a43ce22a4f7a383ab | 105 | py | Python | slack_g_cal/wit/__init__.py | wfa207/slack_g_cal | 2acfb19d156e3b6f14c4ad0b079b9c3a5f79c9b0 | [
"Apache-2.0"
] | 1 | 2018-11-01T15:53:18.000Z | 2018-11-01T15:53:18.000Z | slack_g_cal/wit/__init__.py | wfa207/slack_g_cal | 2acfb19d156e3b6f14c4ad0b079b9c3a5f79c9b0 | [
"Apache-2.0"
] | null | null | null | slack_g_cal/wit/__init__.py | wfa207/slack_g_cal | 2acfb19d156e3b6f14c4ad0b079b9c3a5f79c9b0 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
from __future__ import unicode_literals
from client import wit_client # NOQA
| 21 | 39 | 0.742857 | 14 | 105 | 5.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.161905 | 105 | 4 | 40 | 26.25 | 0.806818 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7da74abf170d937e7dc8e8d6028eaba12c819cf6 | 225 | py | Python | Python-Advanced/comprehension_exercise/capitals.py | Xamaneone/SoftUni-Intro | 985fe3249cd2adf021c2003372e840219811d989 | [
"MIT"
] | null | null | null | Python-Advanced/comprehension_exercise/capitals.py | Xamaneone/SoftUni-Intro | 985fe3249cd2adf021c2003372e840219811d989 | [
"MIT"
] | null | null | null | Python-Advanced/comprehension_exercise/capitals.py | Xamaneone/SoftUni-Intro | 985fe3249cd2adf021c2003372e840219811d989 | [
"MIT"
] | null | null | null | countries = input().split(", ")
capitals = input().split(", ")
my_dict = {country: capital for country, capital in tuple(zip(countries, capitals))}
[print (f"{country} -> {capital}") for country, capital in my_dict.items()] | 37.5 | 84 | 0.68 | 29 | 225 | 5.206897 | 0.517241 | 0.370861 | 0.225166 | 0.317881 | 0.437086 | 0.437086 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124444 | 225 | 6 | 85 | 37.5 | 0.766497 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7db3383c72f24f87c415c7549f7af75f82d03253 | 77 | py | Python | 001-unittest/matrix.py | jake-bladt/pysandbox | 02056ef22fa61f2ab1460167e0681fef28e57730 | [
"Apache-2.0"
] | null | null | null | 001-unittest/matrix.py | jake-bladt/pysandbox | 02056ef22fa61f2ab1460167e0681fef28e57730 | [
"Apache-2.0"
] | null | null | null | 001-unittest/matrix.py | jake-bladt/pysandbox | 02056ef22fa61f2ab1460167e0681fef28e57730 | [
"Apache-2.0"
] | null | null | null | def get_matrix():
return [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
]
| 11 | 17 | 0.363636 | 13 | 77 | 2.076923 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 0.38961 | 77 | 6 | 18 | 12.833333 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0.166667 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
7dbfb410cc6962a84eb253cb613a328a20aefd8d | 76 | py | Python | execute_multi_updater.py | LUXROBO/-modi2-firmware-updater- | 44fb7835f561d8629fe80d8e90b6f07d560c3e5d | [
"MIT"
] | 1 | 2022-02-04T01:22:00.000Z | 2022-02-04T01:22:00.000Z | execute_multi_updater.py | LUXROBO/-modi2-firmware-updater- | 44fb7835f561d8629fe80d8e90b6f07d560c3e5d | [
"MIT"
] | null | null | null | execute_multi_updater.py | LUXROBO/-modi2-firmware-updater- | 44fb7835f561d8629fe80d8e90b6f07d560c3e5d | [
"MIT"
] | null | null | null | from main import run_gui
if __name__ == "__main__":
run_gui(multi=True) | 19 | 26 | 0.723684 | 12 | 76 | 3.75 | 0.75 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 4 | 27 | 19 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7ded7dde5b93fea2799ac74e1db3649ed19974f6 | 49 | py | Python | med/encoder/__init__.py | jjeamin/sleep | c38ee3ef51405ae7ebd49b833c4cec9c6132f320 | [
"MIT"
] | 1 | 2020-10-12T02:57:25.000Z | 2020-10-12T02:57:25.000Z | med/encoder/__init__.py | jjeamin/sleep | c38ee3ef51405ae7ebd49b833c4cec9c6132f320 | [
"MIT"
] | null | null | null | med/encoder/__init__.py | jjeamin/sleep | c38ee3ef51405ae7ebd49b833c4cec9c6132f320 | [
"MIT"
] | 1 | 2021-01-17T11:48:40.000Z | 2021-01-17T11:48:40.000Z | from .segnet import SegNetv2, SegNet, get_encoder | 49 | 49 | 0.836735 | 7 | 49 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.102041 | 49 | 1 | 49 | 49 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8156737158dc8beee799bc8e08ad0942f21ed62e | 186 | py | Python | abstractions/recognition/feature_extractor.py | Trapov/osu-recognition | 703822f6700896f6d3e36b9fa005609f113fef73 | [
"MIT"
] | null | null | null | abstractions/recognition/feature_extractor.py | Trapov/osu-recognition | 703822f6700896f6d3e36b9fa005609f113fef73 | [
"MIT"
] | 2 | 2020-09-24T19:01:18.000Z | 2020-09-24T19:31:55.000Z | abstractions/recognition/feature_extractor.py | Trapov/osu-recognition | 703822f6700896f6d3e36b9fa005609f113fef73 | [
"MIT"
] | 1 | 2020-03-28T16:04:00.000Z | 2020-03-28T16:04:00.000Z | from abc import ABC, abstractmethod
from numpy import ndarray
class FeatureExtractor(ABC):
@abstractmethod
def extract(self, numpy_array: ndarray, faces: []) -> []:
...
| 23.25 | 61 | 0.682796 | 20 | 186 | 6.3 | 0.65 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204301 | 186 | 7 | 62 | 26.571429 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8181b856f7d56f12e1b9e253568829fd79c621df | 294 | py | Python | website/addons/zotero/tests/test_utils.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | null | null | null | website/addons/zotero/tests/test_utils.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | 1 | 2019-08-16T13:45:12.000Z | 2019-08-16T13:45:12.000Z | website/addons/zotero/tests/test_utils.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | null | null | null | import unittest
from nose.tools import *
from website.addons.citations.utils import serialize_account
class TestSerializeAccount(unittest.TestCase):
# TODO: Move to website/addons/citations/tests
def test_serialize_account_none(self):
assert_is_none(serialize_account(None)) | 26.727273 | 60 | 0.795918 | 37 | 294 | 6.135135 | 0.648649 | 0.211454 | 0.193833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 294 | 11 | 61 | 26.727273 | 0.890196 | 0.14966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.166667 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8182dff3f3f0426bbe469eae5d776e478de1df19 | 204 | py | Python | UniCoin/web/views.py | WckdAwe/UniCoin | 955eadcf34e8b5829ef294a497f532ae31ae963b | [
"MIT"
] | null | null | null | UniCoin/web/views.py | WckdAwe/UniCoin | 955eadcf34e8b5829ef294a497f532ae31ae963b | [
"MIT"
] | null | null | null | UniCoin/web/views.py | WckdAwe/UniCoin | 955eadcf34e8b5829ef294a497f532ae31ae963b | [
"MIT"
] | null | null | null | # from flask import render_template, redirect, request
# from UniCoin import app
#
#
# @app.route('/')
# def index():
# return render_template('index.html',
# page_title='• Index')
| 22.666667 | 55 | 0.637255 | 24 | 204 | 5.291667 | 0.708333 | 0.220472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210784 | 204 | 8 | 56 | 25.5 | 0.78882 | 0.877451 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
81936e8e7cec44ee0e4c85293f0e47e631c1b8b3 | 147 | py | Python | GameLogic/Utils.py | Insineer/OSS-13 | 6ddceea4fdd4b869ad438190237bbbc2610ba4bc | [
"MIT"
] | null | null | null | GameLogic/Utils.py | Insineer/OSS-13 | 6ddceea4fdd4b869ad438190237bbbc2610ba4bc | [
"MIT"
] | null | null | null | GameLogic/Utils.py | Insineer/OSS-13 | 6ddceea4fdd4b869ad438190237bbbc2610ba4bc | [
"MIT"
] | null | null | null | import contextlib
from datetime import timedelta
from Engine import GGame
def spawn(delay, activity):
GGame.AddDelayedActivity(delay, activity)
| 18.375 | 42 | 0.823129 | 18 | 147 | 6.722222 | 0.666667 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 147 | 7 | 43 | 21 | 0.937985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
81b8506858e82ded4fc55adcbe347e2532d7d46b | 123 | py | Python | intro_to_pytorch/data.py | emlozin/intro_to_pytorch | 5dc06c5c340f07f34582f6f7a539215a899f58a1 | [
"MIT"
] | 1 | 2021-01-15T16:18:23.000Z | 2021-01-15T16:18:23.000Z | intro_to_pytorch/data.py | emlozin/intro_to_pytorch | 5dc06c5c340f07f34582f6f7a539215a899f58a1 | [
"MIT"
] | null | null | null | intro_to_pytorch/data.py | emlozin/intro_to_pytorch | 5dc06c5c340f07f34582f6f7a539215a899f58a1 | [
"MIT"
] | null | null | null | from pathlib import Path
PROJECT_ROOT = Path(__file__).parent.parent
DATA_PATH = PROJECT_ROOT / "intro_to_pytorch/data"
| 17.571429 | 50 | 0.796748 | 18 | 123 | 4.944444 | 0.666667 | 0.247191 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 123 | 6 | 51 | 20.5 | 0.824074 | 0 | 0 | 0 | 0 | 0 | 0.172131 | 0.172131 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
81d4eba54bcdebd22b12ccdf7a0bbee711e5c21f | 89 | py | Python | ce_expansion/atomgraph/__init__.py | loevlie/ce_expansion | 17417b9467914dd91ee8e0325cfdc3bd19ad7f1e | [
"MIT"
] | 1 | 2020-11-04T08:01:22.000Z | 2020-11-04T08:01:22.000Z | ce_expansion/atomgraph/__init__.py | loevlie/ce_expansion | 17417b9467914dd91ee8e0325cfdc3bd19ad7f1e | [
"MIT"
] | 2 | 2021-04-19T23:45:54.000Z | 2022-02-21T17:40:41.000Z | ce_expansion/atomgraph/__init__.py | loevlie/ce_expansion | 17417b9467914dd91ee8e0325cfdc3bd19ad7f1e | [
"MIT"
] | 3 | 2021-05-10T14:25:28.000Z | 2022-02-18T01:09:05.000Z | from ce_expansion.atomgraph import adjacency, atomgraph
AtomGraph = atomgraph.AtomGraph
| 22.25 | 55 | 0.853933 | 10 | 89 | 7.5 | 0.6 | 0.72 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 89 | 3 | 56 | 29.666667 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
81e0639b73160c34af27c22681a83a5bd28be44b | 54 | py | Python | helloworld/hello_world.py | LinuxClient/python-learning | a8fee0f244e1b0b1666ba4cf47f3d496fb11801f | [
"Apache-2.0"
] | null | null | null | helloworld/hello_world.py | LinuxClient/python-learning | a8fee0f244e1b0b1666ba4cf47f3d496fb11801f | [
"Apache-2.0"
] | null | null | null | helloworld/hello_world.py | LinuxClient/python-learning | a8fee0f244e1b0b1666ba4cf47f3d496fb11801f | [
"Apache-2.0"
] | null | null | null | print("Hello World!")
print("Greetings from Python!")
| 18 | 31 | 0.722222 | 7 | 54 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 2 | 32 | 27 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c48e7a083661ef1fb67cf8588314e1ed3c4e57d0 | 121 | py | Python | backend/app/models/components/__init__.py | griviala/garpix_page | 55f1d9bc6d1de29d18e15369bebcbef18811b5a4 | [
"MIT"
] | null | null | null | backend/app/models/components/__init__.py | griviala/garpix_page | 55f1d9bc6d1de29d18e15369bebcbef18811b5a4 | [
"MIT"
] | null | null | null | backend/app/models/components/__init__.py | griviala/garpix_page | 55f1d9bc6d1de29d18e15369bebcbef18811b5a4 | [
"MIT"
] | null | null | null | from .text_component import TextComponent # noqa
from .text_description_component import TextDescriptionComponent # noqa
| 40.333333 | 71 | 0.867769 | 13 | 121 | 7.846154 | 0.615385 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 2 | 72 | 60.5 | 0.93578 | 0.07438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c4c1a38ff9f80af8b58e88dd8ce8cf7a996bf869 | 38 | py | Python | cntopic/__init__.py | thunderhit/cntopic | a74e15879c79e7e55b6f92a50cf6f7c56dc589e3 | [
"MIT"
] | 13 | 2020-06-22T11:40:58.000Z | 2021-05-10T04:08:28.000Z | cntopic/__init__.py | XIAOHUOCHAI123/cntopic | a74e15879c79e7e55b6f92a50cf6f7c56dc589e3 | [
"MIT"
] | null | null | null | cntopic/__init__.py | XIAOHUOCHAI123/cntopic | a74e15879c79e7e55b6f92a50cf6f7c56dc589e3 | [
"MIT"
] | 6 | 2020-07-31T14:15:04.000Z | 2021-05-10T04:08:34.000Z | from cntopic.chinesetopic import Topic | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c4d46a91a3ae74e0c4074a72c55a6ca1e2f9b839 | 135 | py | Python | src/wepy/boundary_conditions/unbinding.py | edeustua/wepy | f1a2ef5c8cc368d5602c9d683983b3af69a48ce2 | [
"MIT"
] | 35 | 2017-08-22T15:39:06.000Z | 2022-03-20T15:17:52.000Z | src/wepy/boundary_conditions/unbinding.py | edeustua/wepy | f1a2ef5c8cc368d5602c9d683983b3af69a48ce2 | [
"MIT"
] | 33 | 2017-10-02T22:04:45.000Z | 2022-03-02T22:19:08.000Z | src/wepy/boundary_conditions/unbinding.py | stxinsite/wepy | 352d4c1316b20e839aae8824eedd66f0f2d0b456 | [
"MIT"
] | 17 | 2018-07-14T15:33:30.000Z | 2022-01-18T16:30:55.000Z | """ Alias for the new receptor.py module for old pickles etc.. Will be deprecated."""
from wepy.boundary_conditions.receptor import *
| 33.75 | 85 | 0.762963 | 20 | 135 | 5.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 135 | 3 | 86 | 45 | 0.87931 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c4de07554b1193ef510b12a8b58c4c0b75fa0bc1 | 186 | py | Python | dentexchange/apps/libs/context_processors.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | 1 | 2017-11-09T23:09:51.000Z | 2017-11-09T23:09:51.000Z | dentexchange/apps/libs/context_processors.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | null | null | null | dentexchange/apps/libs/context_processors.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | 3 | 2015-08-11T16:58:47.000Z | 2021-01-04T08:23:51.000Z | # -*- coding:utf-8 -*-
from django.conf import settings
def conf(request):
return getattr(settings, 'CONTEXT_CONF', {})
def debug(request):
return dict(DEBUG=settings.DEBUG)
| 16.909091 | 48 | 0.688172 | 24 | 186 | 5.291667 | 0.625 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.16129 | 186 | 10 | 49 | 18.6 | 0.807692 | 0.107527 | 0 | 0 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c4e2710d9a9d509ed7d88f8fe26df0dda4eb1e80 | 63 | py | Python | models/py_utils/__init__.py | xuduo35/CenterUnet | 2a97376ee4df93ea945ab55c30bfcd9af9b5923d | [
"MIT"
] | 27 | 2020-04-08T14:35:39.000Z | 2022-02-03T09:03:15.000Z | models/py_utils/__init__.py | xuduo35/CenterUnet | 2a97376ee4df93ea945ab55c30bfcd9af9b5923d | [
"MIT"
] | 1 | 2021-06-18T12:35:53.000Z | 2021-11-15T04:59:11.000Z | models/py_utils/__init__.py | xuduo35/CenterUnet | 2a97376ee4df93ea945ab55c30bfcd9af9b5923d | [
"MIT"
] | 15 | 2020-05-28T10:10:50.000Z | 2022-02-21T11:12:26.000Z | from ._cpools import TopPool, BottomPool, LeftPool, RightPool
| 21 | 61 | 0.809524 | 7 | 63 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 62 | 31.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c4fd10e08ac71cb74150557b1aa45d11d4876046 | 2,258 | py | Python | data/colormaps/xx.py | TACC/GravIT | 0a79dc74036c11669075198e01b30a92a8150693 | [
"BSD-3-Clause"
] | 24 | 2015-08-13T20:16:11.000Z | 2020-03-02T17:03:17.000Z | data/colormaps/xx.py | TACC/GravIT | 0a79dc74036c11669075198e01b30a92a8150693 | [
"BSD-3-Clause"
] | 16 | 2015-10-16T03:42:37.000Z | 2019-08-07T21:54:47.000Z | data/colormaps/xx.py | TACC/GravIT | 0a79dc74036c11669075198e01b30a92a8150693 | [
"BSD-3-Clause"
] | 8 | 2015-08-25T15:07:35.000Z | 2019-03-10T11:00:32.000Z | import os
def xyzzy(name, colors):
print name
f = open(name, "w")
f.write("%d\n" % len(colors))
for i,c in enumerate(colors):
f.write("%f %f %f %f\n" % tuple([i / (len(colors)-1.0)] + c))
f.close()
colors = []
colors.append([0 , 0 , 0.562493 ])
colors.append([0 , 0 , 1 ... | 37.016393 | 63 | 0.517715 | 294 | 2,258 | 3.97619 | 0.282313 | 0.318221 | 0.300257 | 0.083832 | 0.334474 | 0.249786 | 0.183062 | 0.073567 | 0.073567 | 0.073567 | 0 | 0.272612 | 0.299823 | 2,258 | 60 | 64 | 37.633333 | 0.466793 | 0 | 0 | 0.183673 | 0 | 0 | 0.067316 | 0.042073 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.020408 | null | null | 0.020408 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f217a1025ecb620b4274de333a7c75b033ffc2f9 | 41 | py | Python | tests/assets/successpackage/successpackage/two/alpha.py | SimonBiggs/layer_linter | 9eb518b74118e4a2d8079e2f32ecc12612ca9e86 | [
"BSD-3-Clause"
] | 63 | 2018-06-21T10:39:54.000Z | 2021-06-04T14:28:44.000Z | tests/assets/successpackage/successpackage/two/alpha.py | SimonBiggs/layer_linter | 9eb518b74118e4a2d8079e2f32ecc12612ca9e86 | [
"BSD-3-Clause"
] | 86 | 2018-06-20T13:30:30.000Z | 2019-06-04T12:47:28.000Z | tests/assets/successpackage/successpackage/two/alpha.py | SimonBiggs/layer_linter | 9eb518b74118e4a2d8079e2f32ecc12612ca9e86 | [
"BSD-3-Clause"
] | 4 | 2021-01-16T04:16:22.000Z | 2021-12-23T02:50:04.000Z | from ..one import alpha
BAR = alpha.BAR
| 10.25 | 23 | 0.707317 | 7 | 41 | 4.142857 | 0.714286 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 3 | 24 | 13.666667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f21d3e75d9071b8bf64807c3829ca1bec21feb1e | 159 | py | Python | server/apps/system/tasks.py | wanghaiqing2015/django-vue-admin | c7f05d3ce749e5d4deb594fd332a3696ae2b3093 | [
"MIT"
] | null | null | null | server/apps/system/tasks.py | wanghaiqing2015/django-vue-admin | c7f05d3ce749e5d4deb594fd332a3696ae2b3093 | [
"MIT"
] | null | null | null | server/apps/system/tasks.py | wanghaiqing2015/django-vue-admin | c7f05d3ce749e5d4deb594fd332a3696ae2b3093 | [
"MIT"
] | null | null | null | # Create your tasks here
from __future__ import absolute_import, unicode_literals
from celery import shared_task
@shared_task
def show():
print('ok!!!') | 17.666667 | 56 | 0.767296 | 22 | 159 | 5.181818 | 0.772727 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 159 | 9 | 57 | 17.666667 | 0.844444 | 0.138365 | 0 | 0 | 0 | 0 | 0.036765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1eed4938b21b19a61d0f25a6a9d9b302405cd0ab | 400 | py | Python | lrose_solopy/__init__.py | ncareol/lrose-soloPy | fb438d537aadd6703a059ad4dc9fe0db5645356e | [
"CNRI-Python"
] | 5 | 2015-02-11T02:04:28.000Z | 2019-06-01T07:49:12.000Z | lrose_solopy/__init__.py | ncareol/lrose-soloPy | fb438d537aadd6703a059ad4dc9fe0db5645356e | [
"CNRI-Python"
] | 1 | 2017-08-12T10:39:20.000Z | 2017-08-12T10:39:20.000Z | lrose_solopy/__init__.py | ncareol/lrose-soloPy | fb438d537aadd6703a059ad4dc9fe0db5645356e | [
"CNRI-Python"
] | 5 | 2015-01-27T15:34:57.000Z | 2022-02-07T02:51:58.000Z | # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
# ** Copyright UCAR (c) 1992 - 2014
# ** University Corporation for Atmospheric Research(UCAR)
# ** National Center for Atmospheric Research(NCAR)
# ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
# ** See LICENSE.TXT for license detai... | 50 | 76 | 0.4375 | 32 | 400 | 5.46875 | 0.78125 | 0.16 | 0.251429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05949 | 0.1175 | 400 | 7 | 77 | 57.142857 | 0.436261 | 0.96 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1ef585599a36a2986760cf418ae9e982eed5a6c0 | 2,454 | py | Python | Roadside Data(Final)- SVM/new Redundant data/SVM_source_Code.py | ZadaK-bit/Real-Time-AQI-Pridiction | a0707ea190dddd6477a306644c733fc58745d022 | [
"MIT"
] | null | null | null | Roadside Data(Final)- SVM/new Redundant data/SVM_source_Code.py | ZadaK-bit/Real-Time-AQI-Pridiction | a0707ea190dddd6477a306644c733fc58745d022 | [
"MIT"
] | null | null | null | Roadside Data(Final)- SVM/new Redundant data/SVM_source_Code.py | ZadaK-bit/Real-Time-AQI-Pridiction | a0707ea190dddd6477a306644c733fc58745d022 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri May 8 09:10:44 2020
@author: ZAdak
"""
import pandas as pd
dataset = pd.read_csv('ReduceData_Roadside.csv')
dataset.shape
import warnings
warnings.filterwarnings("ignore")
X = dataset.drop(['AQI'],axis=1)
X.head()
y = dataset['AQI']
y.head()
from sklea... | 26.387097 | 89 | 0.759984 | 394 | 2,454 | 4.477157 | 0.170051 | 0.059524 | 0.047619 | 0.079365 | 0.77551 | 0.759637 | 0.759637 | 0.759637 | 0.740363 | 0.740363 | 0 | 0.007951 | 0.128769 | 2,454 | 92 | 90 | 26.673913 | 0.817119 | 0.030155 | 0 | 0.65625 | 0 | 0 | 0.042105 | 0.010088 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.265625 | 0 | 0.265625 | 0.28125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1efa551a90df3c1daf921701a735be2e05b38b7c | 549 | py | Python | pytest/test-discovery/test_file.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | pytest/test-discovery/test_file.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | pytest/test-discovery/test_file.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | import unittest
def test_method():
assert True
def testmethod():
assert False
class TestClass:
def test_method(self):
assert True
def testmethod(self):
assert False
class TestRun: # regular class
@property
def test_reports(self):
assert False
class ClassTest:
... | 14.076923 | 37 | 0.642987 | 63 | 549 | 5.52381 | 0.301587 | 0.201149 | 0.215517 | 0.198276 | 0.491379 | 0.425287 | 0.316092 | 0.316092 | 0.316092 | 0.316092 | 0 | 0 | 0.291439 | 549 | 38 | 38 | 14.447368 | 0.894602 | 0.023679 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | false | 0 | 0.041667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
480a7bcae2d272611ac226800ef63eeac172f91c | 787 | py | Python | awsdiscovery/codecommit.py | giovannicuriel/aws-discovery | f5b35bec086ee8f6d1d92edc0f8757db7e28e001 | [
"BSD-3-Clause"
] | null | null | null | awsdiscovery/codecommit.py | giovannicuriel/aws-discovery | f5b35bec086ee8f6d1d92edc0f8757db7e28e001 | [
"BSD-3-Clause"
] | null | null | null | awsdiscovery/codecommit.py | giovannicuriel/aws-discovery | f5b35bec086ee8f6d1d92edc0f8757db7e28e001 | [
"BSD-3-Clause"
] | null | null | null | import boto3
import json
import sys
client = boto3.client('codecommit', region_name=sys.argv[1])
results = client.list_repositories()
for item in results['repositories']:
branch_results = client.list_branches(repositoryName=item['repositoryName'])
print(f"{item['repositoryName']}: {len(branch_results['branch... | 41.421053 | 88 | 0.739517 | 96 | 787 | 5.927083 | 0.3125 | 0.091388 | 0.119508 | 0.101933 | 0.702988 | 0.702988 | 0.702988 | 0.702988 | 0.702988 | 0.702988 | 0 | 0.004354 | 0.124524 | 787 | 18 | 89 | 43.722222 | 0.82148 | 0 | 0 | 0.533333 | 0 | 0 | 0.302799 | 0.147583 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.133333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
486331d86566cea325561d253a9129aef371d159 | 138 | py | Python | hello_world/main.py | philiWeitz/google-cloud-terraform-sandbox | 43e4d9f231ec6f312be4c44fe07d6306a0d80f71 | [
"Apache-2.0"
] | null | null | null | hello_world/main.py | philiWeitz/google-cloud-terraform-sandbox | 43e4d9f231ec6f312be4c44fe07d6306a0d80f71 | [
"Apache-2.0"
] | null | null | null | hello_world/main.py | philiWeitz/google-cloud-terraform-sandbox | 43e4d9f231ec6f312be4c44fe07d6306a0d80f71 | [
"Apache-2.0"
] | null | null | null | def hello_world(event):
return f"Hello, World!"
def hello_bucket(event, context):
return f"A new file was uploaded to the bucket" | 27.6 | 51 | 0.724638 | 23 | 138 | 4.26087 | 0.652174 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181159 | 138 | 5 | 51 | 27.6 | 0.867257 | 0 | 0 | 0 | 0 | 0 | 0.359712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6fa253bf8e0b8bdde441b65c366eb478145dc211 | 20,679 | py | Python | pyCEvNS/oscillation.py | Ikaroshu/pyCEvNS | c5bf63da4a487014d4cb40550113d2faad5f8448 | [
"MIT"
] | 5 | 2018-04-05T22:55:33.000Z | 2019-04-30T23:33:14.000Z | pyCEvNS/oscillation.py | Ikaroshu/pyCEvNS | c5bf63da4a487014d4cb40550113d2faad5f8448 | [
"MIT"
] | null | null | null | pyCEvNS/oscillation.py | Ikaroshu/pyCEvNS | c5bf63da4a487014d4cb40550113d2faad5f8448 | [
"MIT"
] | 4 | 2018-04-06T15:27:13.000Z | 2019-07-23T15:29:32.000Z | """
neutrino oscillation related funtions
"""
from .parameters import *
# solar number density at r=0.05 solar radius, unit is MeV^3 (natural unit)
__ne_solar = 4.163053492437814e-07
__nu_solar = 1.0053941490424488e-06
__nd_solar = 7.618722503535536e-07
def survival_solar(ev, epsi=NSIparameters(), op=oscillation_pa... | 43.352201 | 147 | 0.518836 | 3,004 | 20,679 | 3.498336 | 0.091212 | 0.019031 | 0.023979 | 0.01827 | 0.772766 | 0.758207 | 0.739271 | 0.727757 | 0.713864 | 0.702255 | 0 | 0.053948 | 0.296339 | 20,679 | 476 | 148 | 43.443277 | 0.66827 | 0.18821 | 0 | 0.660661 | 0 | 0 | 0.051638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.006006 | 0 | 0.132132 | 0.006006 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6fad098b58ad51e0b44065461007ede30af9bc91 | 19 | py | Python | rosreestr2coord/version.py | sergeybarkov/rosreestr2coord | 0f55e4af259d6e5ae03a899de91a3fc43eec6932 | [
"MIT"
] | null | null | null | rosreestr2coord/version.py | sergeybarkov/rosreestr2coord | 0f55e4af259d6e5ae03a899de91a3fc43eec6932 | [
"MIT"
] | null | null | null | rosreestr2coord/version.py | sergeybarkov/rosreestr2coord | 0f55e4af259d6e5ae03a899de91a3fc43eec6932 | [
"MIT"
] | null | null | null | VERSION = "4.0.13"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6fcfdd5f30c6e19adfcc18a3d0e9aae92969ed88 | 105 | py | Python | lopy4_bme680_ttnuplink/bme680_ttnuplink/boot.py | AidanTek/Fab-Cre8_IoT | 3d358a484aea2e2a50d6dbef443e9a2757ef9ab8 | [
"MIT"
] | null | null | null | lopy4_bme680_ttnuplink/bme680_ttnuplink/boot.py | AidanTek/Fab-Cre8_IoT | 3d358a484aea2e2a50d6dbef443e9a2757ef9ab8 | [
"MIT"
] | null | null | null | lopy4_bme680_ttnuplink/bme680_ttnuplink/boot.py | AidanTek/Fab-Cre8_IoT | 3d358a484aea2e2a50d6dbef443e9a2757ef9ab8 | [
"MIT"
] | null | null | null | # lopy4_bme680_ttnuplink/bme680_ttnuplink/boot.py
import pycom
pycom.heartbeat(False)
# Disable WiFi?
| 13.125 | 49 | 0.809524 | 14 | 105 | 5.857143 | 0.785714 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074468 | 0.104762 | 105 | 7 | 50 | 15 | 0.797872 | 0.580952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6ff6fa2b9c19a0a5d467151516df1a9b64593368 | 37 | py | Python | admin_tools_zinnia/modules/__init__.py | django-blog-zinnia/admin-tools-zinnia | f370e6b05dfc62eab0a9739ebf5b17fd13ebf7dc | [
"BSD-3-Clause"
] | 12 | 2015-04-13T22:16:20.000Z | 2019-12-12T08:52:23.000Z | admin_tools_zinnia/modules/__init__.py | SusannaGr/admin-tools-zinnia | f370e6b05dfc62eab0a9739ebf5b17fd13ebf7dc | [
"BSD-3-Clause"
] | 1 | 2015-04-14T10:03:14.000Z | 2015-04-14T10:03:14.000Z | admin_tools_zinnia/modules/__init__.py | SusannaGr/admin-tools-zinnia | f370e6b05dfc62eab0a9739ebf5b17fd13ebf7dc | [
"BSD-3-Clause"
] | 3 | 2015-04-13T21:46:08.000Z | 2019-11-12T10:36:18.000Z | """Modules for admin_tools_zinnia"""
| 18.5 | 36 | 0.756757 | 5 | 37 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.764706 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b50a74df4d0578c9d7c7345de5c4cc9252637169 | 129 | py | Python | chat/admin.py | rukbotto/financial-chat-django | 3d7f6782471df7c58026aecce6ac374fa7d68bcc | [
"MIT"
] | null | null | null | chat/admin.py | rukbotto/financial-chat-django | 3d7f6782471df7c58026aecce6ac374fa7d68bcc | [
"MIT"
] | null | null | null | chat/admin.py | rukbotto/financial-chat-django | 3d7f6782471df7c58026aecce6ac374fa7d68bcc | [
"MIT"
] | null | null | null | from django.contrib import admin
from chat.models import Profile, Room
admin.site.register(Profile)
admin.site.register(Room)
| 16.125 | 37 | 0.806202 | 19 | 129 | 5.473684 | 0.578947 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108527 | 129 | 7 | 38 | 18.428571 | 0.904348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
82f6e035910a55e7cec63a946334ee8a2aae3eaf | 74 | py | Python | hermes_fix/message_lib/FIX_4_3/__init__.py | yabov/hermes_fix | 0a5e89fd15903a7ee0929e82b39879362e2e1008 | [
"Apache-2.0"
] | 2 | 2020-02-20T15:00:35.000Z | 2020-02-21T19:27:53.000Z | hermes_fix/message_lib/FIX_5_0SP2/__init__.py | yabov/hermes_fix | 0a5e89fd15903a7ee0929e82b39879362e2e1008 | [
"Apache-2.0"
] | 3 | 2020-02-21T03:25:35.000Z | 2020-02-21T18:37:42.000Z | hermes_fix/message_lib/FIX_5_0SP2/__init__.py | yabov/hermes_fix | 0a5e89fd15903a7ee0929e82b39879362e2e1008 | [
"Apache-2.0"
] | null | null | null | from . import field_types
from . import fields
from . import fix_messages
| 18.5 | 26 | 0.797297 | 11 | 74 | 5.181818 | 0.636364 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 27 | 24.666667 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
82f7b51205cec92b9609690acbbf1a78c613595c | 306 | py | Python | hls4ml/templates/__init__.py | marcinswiniarski20/hls4ml | dff4d1d733ae2ed139bb4fc1175ec46e8ec17ba4 | [
"Apache-2.0"
] | 1 | 2020-09-10T13:18:55.000Z | 2020-09-10T13:18:55.000Z | hls4ml/templates/__init__.py | mswiniars/hls4ml | dff4d1d733ae2ed139bb4fc1175ec46e8ec17ba4 | [
"Apache-2.0"
] | null | null | null | hls4ml/templates/__init__.py | mswiniars/hls4ml | dff4d1d733ae2ed139bb4fc1175ec46e8ec17ba4 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from hls4ml.templates.templates import Backend, register_backend, get_backend
from hls4ml.templates.vivado_template import VivadoBackend
from hls4ml.templates.oneapi_template import OneAPI
register_backend('Vivado', VivadoBackend)
register_backend('oneAPI', OneAPI) | 38.25 | 77 | 0.866013 | 37 | 306 | 6.864865 | 0.351351 | 0.11811 | 0.224409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010601 | 0.075163 | 306 | 8 | 78 | 38.25 | 0.886926 | 0 | 0 | 0 | 0 | 0 | 0.039088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d201a6f267a1faf1c220dddaf0879e58042cf7bb | 28 | py | Python | configs/__init__.py | xumingze0308/eLR-WACV2018 | ac2ef36f6272f02c44fb862c9f6d63140349eb6b | [
"MIT"
] | 11 | 2019-05-04T18:37:05.000Z | 2019-12-09T13:32:31.000Z | configs/__init__.py | xumingze0308/eLR-WACV2018 | ac2ef36f6272f02c44fb862c9f6d63140349eb6b | [
"MIT"
] | null | null | null | configs/__init__.py | xumingze0308/eLR-WACV2018 | ac2ef36f6272f02c44fb862c9f6d63140349eb6b | [
"MIT"
] | 5 | 2019-05-05T01:16:07.000Z | 2020-02-17T19:39:19.000Z | from .base_configs import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d20fec7f322daa1aca97af6599ecbbfb8780d14e | 975 | py | Python | onepay_new/forms.py | shaoren0110/onepay_flask | c736971113763ab5e1a67c85d5599137f3a373fc | [
"MIT"
] | null | null | null | onepay_new/forms.py | shaoren0110/onepay_flask | c736971113763ab5e1a67c85d5599137f3a373fc | [
"MIT"
] | null | null | null | onepay_new/forms.py | shaoren0110/onepay_flask | c736971113763ab5e1a67c85d5599137f3a373fc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask_wtf import FlaskForm
from wtforms.validators import DataRequired, Length
from wtforms import StringField, SubmitField, SelectField, TextAreaField, ValidationError, HiddenField, \
BooleanField, PasswordField
class LoginForm(FlaskForm):
username = StringField('用户名', validators... | 48.75 | 105 | 0.718974 | 99 | 975 | 7.050505 | 0.424242 | 0.206304 | 0.280802 | 0.290831 | 0.388252 | 0.255014 | 0.243553 | 0.243553 | 0.243553 | 0.243553 | 0 | 0.025943 | 0.130256 | 975 | 20 | 106 | 48.75 | 0.79717 | 0.021538 | 0 | 0.125 | 0 | 0 | 0.036726 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.3125 | 0.1875 | 0 | 0.9375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
d21b218ffaad2e7c3dd3097053d6dd60fd0453cc | 37 | py | Python | django_replicated/__init__.py | svetlyak40wt/django_replicated | 464f1a76684df944ab75401870b1228c66243aca | [
"BSD-3-Clause"
] | null | null | null | django_replicated/__init__.py | svetlyak40wt/django_replicated | 464f1a76684df944ab75401870b1228c66243aca | [
"BSD-3-Clause"
] | null | null | null | django_replicated/__init__.py | svetlyak40wt/django_replicated | 464f1a76684df944ab75401870b1228c66243aca | [
"BSD-3-Clause"
] | 1 | 2019-06-10T16:48:39.000Z | 2019-06-10T16:48:39.000Z | from router import ReplicationRouter
| 18.5 | 36 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 | 0 | 0 | 0 | 5 |
d259fb38f228bd602da2156aa66ab1e46be9d625 | 7,860 | py | Python | api/network/base/views.py | klebed/esdc-ce | 2c9e4591f344247d345a83880ba86777bb794460 | [
"Apache-2.0"
] | 97 | 2016-11-15T14:44:23.000Z | 2022-03-13T18:09:15.000Z | api/network/base/views.py | klebed/esdc-ce | 2c9e4591f344247d345a83880ba86777bb794460 | [
"Apache-2.0"
] | 334 | 2016-11-17T19:56:57.000Z | 2022-03-18T10:45:53.000Z | api/network/base/views.py | klebed/esdc-ce | 2c9e4591f344247d345a83880ba86777bb794460 | [
"Apache-2.0"
] | 33 | 2017-01-02T16:04:13.000Z | 2022-02-07T19:20:24.000Z | from api.decorators import api_view, request_data_defaultdc
from api.permissions import IsAnyDcNetworkAdmin
from api.network.base.api_views import NetworkView
__all__ = ('net_list', 'net_manage')
@api_view(('GET',))
@request_data_defaultdc(permissions=(IsAnyDcNetworkAdmin,))
def net_list(request, data=None):
"""... | 42.032086 | 117 | 0.616539 | 995 | 7,860 | 4.805025 | 0.18392 | 0.054173 | 0.057101 | 0.022589 | 0.75068 | 0.7306 | 0.713031 | 0.689605 | 0.689605 | 0.644844 | 0 | 0.021815 | 0.270992 | 7,860 | 186 | 118 | 42.258065 | 0.812565 | 0.845674 | 0 | 0.166667 | 0 | 0 | 0.063248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.25 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d25f6384f553f3738111bb8eddbdbf37ca406585 | 62 | py | Python | 01_Language/01_Functions/python/atanh.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/atanh.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/atanh.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
import math
print(math.atanh(math.tanh(2)))
| 10.333333 | 31 | 0.693548 | 11 | 62 | 3.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.129032 | 62 | 5 | 32 | 12.4 | 0.759259 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9638fc0418e62e5263356d3162d3e7556a3387a8 | 336 | py | Python | naive_tokenizers/__init__.py | naivenlp/naive-tokenizers | 811e1eb7452e85a42e4646204a02f28e626c73f6 | [
"Apache-2.0"
] | null | null | null | naive_tokenizers/__init__.py | naivenlp/naive-tokenizers | 811e1eb7452e85a42e4646204a02f28e626c73f6 | [
"Apache-2.0"
] | null | null | null | naive_tokenizers/__init__.py | naivenlp/naive-tokenizers | 811e1eb7452e85a42e4646204a02f28e626c73f6 | [
"Apache-2.0"
] | null | null | null | from .abstract_tokenizer import AbstractIntervener, DefaultIntervener
from .abstract_tokenizer import AbstractTokenizer, VocabBasedTokenizer
from .bert_tokenizer import BertTokenizer
from .jieba_tokenizer import JiebaTokenizer
from .transformer_tokenizer import TransformerTokenizer
__name__ = 'naive_tokenizers'
__vers... | 37.333333 | 70 | 0.869048 | 34 | 336 | 8.176471 | 0.588235 | 0.269784 | 0.151079 | 0.194245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009772 | 0.08631 | 336 | 8 | 71 | 42 | 0.895765 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
963adb3c68190b58e24c0769a2077abc842bd6ea | 19 | py | Python | yfinance/version.py | victorymr/yfinance | 608849efc91dcbca0c66f9d46e0816ff70fed7a8 | [
"Apache-2.0"
] | null | null | null | yfinance/version.py | victorymr/yfinance | 608849efc91dcbca0c66f9d46e0816ff70fed7a8 | [
"Apache-2.0"
] | null | null | null | yfinance/version.py | victorymr/yfinance | 608849efc91dcbca0c66f9d46e0816ff70fed7a8 | [
"Apache-2.0"
] | 1 | 2021-02-21T12:31:04.000Z | 2021-02-21T12:31:04.000Z | version = "0.1.66"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9650a01d1c339a5eea475706c98f20261aaa6a17 | 168 | py | Python | rvpvp/isa/rvf/fmsub.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 5 | 2021-05-10T09:57:00.000Z | 2021-10-05T14:39:20.000Z | rvpvp/isa/rvf/fmsub.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | null | null | null | rvpvp/isa/rvf/fmsub.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 1 | 2021-05-14T20:24:11.000Z | 2021-05-14T20:24:11.000Z | from ...isa.inst import *
import numpy as np
class Fmsub(Inst):
name = 'fmsub.s'
def golden(self):
return self['rs1']*self['rs2']-self['rs3']
| 16.8 | 50 | 0.571429 | 24 | 168 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.255952 | 168 | 9 | 51 | 18.666667 | 0.744 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
9654748971907ce35d000326b491070bab34398a | 61 | py | Python | DependencyInjection/Processor.py | mschepers188/Programming2 | 9dc481758435671a72608dbe0d4546f92b5b6c8d | [
"MIT"
] | null | null | null | DependencyInjection/Processor.py | mschepers188/Programming2 | 9dc481758435671a72608dbe0d4546f92b5b6c8d | [
"MIT"
] | null | null | null | DependencyInjection/Processor.py | mschepers188/Programming2 | 9dc481758435671a72608dbe0d4546f92b5b6c8d | [
"MIT"
] | null | null | null | class Processor:
def __init__(self, select):
pass | 20.333333 | 31 | 0.639344 | 7 | 61 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278689 | 61 | 3 | 32 | 20.333333 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
966f993c4767697f783419bf9b09a31ee870c67d | 109 | py | Python | models/__init__.py | tolgabirdal/PHDimGeneralization | e5c0a7f7a7fc1afab6d1843093e4e03954f4c017 | [
"MIT"
] | 10 | 2021-11-18T13:57:05.000Z | 2022-03-27T04:00:55.000Z | models/__init__.py | tolgabirdal/PHDimGeneralization | e5c0a7f7a7fc1afab6d1843093e4e03954f4c017 | [
"MIT"
] | null | null | null | models/__init__.py | tolgabirdal/PHDimGeneralization | e5c0a7f7a7fc1afab6d1843093e4e03954f4c017 | [
"MIT"
] | 2 | 2021-12-03T05:34:08.000Z | 2021-12-09T09:44:39.000Z | from .fc import fc_mnist, fc_cifar
from .alexnet import alexnet
from .vgg import vgg
from .lenet import lenet | 27.25 | 34 | 0.807339 | 19 | 109 | 4.526316 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 4 | 35 | 27.25 | 0.924731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
967d3235069ab44753ceae5d20f958849183fc4e | 190 | py | Python | Clase 8/app/matematica.py | FreddyGJ/Portafolio-de-prog-3 | ea16b7f8951d02b62291b8e7b73833f25b56578e | [
"MIT"
] | null | null | null | Clase 8/app/matematica.py | FreddyGJ/Portafolio-de-prog-3 | ea16b7f8951d02b62291b8e7b73833f25b56578e | [
"MIT"
] | null | null | null | Clase 8/app/matematica.py | FreddyGJ/Portafolio-de-prog-3 | ea16b7f8951d02b62291b8e7b73833f25b56578e | [
"MIT"
] | null | null | null | def sumar(a, b):
return a + b
def restar(a, b):
return a - b
def multiplicador(a, b):
return a * b
def dividir(numerador, denominador):
return float(numerador)/denominador | 17.272727 | 39 | 0.652632 | 29 | 190 | 4.275862 | 0.37931 | 0.096774 | 0.193548 | 0.217742 | 0.314516 | 0.314516 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231579 | 190 | 11 | 39 | 17.272727 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
969b48fea47d93b601d1865364ea17bb9905c493 | 162 | py | Python | bedrock/main.py | ronbeltran/webapp2-bedrock | 42909fd6eb99ffe19ff941f9c66c9c84548139c6 | [
"MIT"
] | 1 | 2019-01-09T10:14:38.000Z | 2019-01-09T10:14:38.000Z | bedrock/main.py | ronbeltran/webapp2-bedrock | 42909fd6eb99ffe19ff941f9c66c9c84548139c6 | [
"MIT"
] | null | null | null | bedrock/main.py | ronbeltran/webapp2-bedrock | 42909fd6eb99ffe19ff941f9c66c9c84548139c6 | [
"MIT"
] | null | null | null | import webapp2
import config
import app.handlers.home
ROUTES = []
ROUTES += app.handlers.home.ROUTES
app = webapp2.WSGIApplication(ROUTES, debug=config.DEBUG)
| 16.2 | 57 | 0.777778 | 21 | 162 | 6 | 0.428571 | 0.174603 | 0.238095 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013986 | 0.117284 | 162 | 9 | 58 | 18 | 0.867133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
96b7b68388d4454689bc31a17e2fe37f75a9c4d0 | 5,985 | py | Python | release/stubs.min/Autodesk/Revit/DB/Electrical.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/Autodesk/Revit/DB/Electrical.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/Autodesk/Revit/DB/Electrical.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | # encoding: utf-8
# module Autodesk.Revit.DB.Electrical calls itself Electrical
# from RevitAPI,Version=17.0.0.0,Culture=neutral,PublicKeyToken=null
# by generator 1.145
# no doc
# no imports
# no functions
# classes
from Electrical_parts.CableTrayConduitBase import CableTrayConduitBase
from Electrical_parts... | 64.354839 | 97 | 0.906767 | 531 | 5,985 | 10.06403 | 0.212806 | 0.21744 | 0.295097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001807 | 0.075522 | 5,985 | 92 | 98 | 65.054348 | 0.964034 | 0.033417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
73817ae9d1de17889ee9e3c018c81f83495b2e3b | 32 | py | Python | crmsystem/hosting/__init__.py | iomegak12/pythondockertry | dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85 | [
"MIT"
] | null | null | null | crmsystem/hosting/__init__.py | iomegak12/pythondockertry | dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85 | [
"MIT"
] | null | null | null | crmsystem/hosting/__init__.py | iomegak12/pythondockertry | dd91dc57a09141f94cb0a73e18a8ad9da4d5aa85 | [
"MIT"
] | null | null | null | from .crmsystem_host import app
| 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 | 0 | 0 | 0 | 5 |
73a2e789d58e80833a25e31412732b46825246d3 | 31 | py | Python | skfda/inference/__init__.py | jiduque/scikit-fda | 5ea71e78854801b259aa3a01eb6b154aa63bf54b | [
"BSD-3-Clause"
] | 147 | 2019-05-10T20:46:42.000Z | 2022-03-25T17:23:19.000Z | skfda/inference/__init__.py | jiduque/scikit-fda | 5ea71e78854801b259aa3a01eb6b154aa63bf54b | [
"BSD-3-Clause"
] | 306 | 2019-04-26T08:56:05.000Z | 2022-03-30T11:12:48.000Z | skfda/inference/__init__.py | jiduque/scikit-fda | 5ea71e78854801b259aa3a01eb6b154aa63bf54b | [
"BSD-3-Clause"
] | 38 | 2019-09-03T17:24:04.000Z | 2022-01-06T05:09:18.000Z | from . import anova, hotelling
| 15.5 | 30 | 0.774194 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
73ff17472dc5969985a0c1c162ec9c4a5f3ab1ac | 2,195 | py | Python | imap_cli/tests/test_imapcli.py | salewski/imap-cli | 2a318e278121ba306552e2d215bd126f34f8490f | [
"MIT"
] | 60 | 2015-05-06T12:44:41.000Z | 2021-09-28T18:12:50.000Z | imap_cli/tests/test_imapcli.py | salewski/imap-cli | 2a318e278121ba306552e2d215bd126f34f8490f | [
"MIT"
] | 17 | 2015-05-12T06:57:11.000Z | 2021-01-15T17:11:07.000Z | imap_cli/tests/test_imapcli.py | salewski/imap-cli | 2a318e278121ba306552e2d215bd126f34f8490f | [
"MIT"
] | 15 | 2017-02-03T12:10:39.000Z | 2022-02-23T18:53:32.000Z | # -*- coding: utf-8 -*-
"""Test helpers"""
import imaplib
import unittest
import imap_cli
from imap_cli import tests
class ImapCLITest(unittest.TestCase):
def setUp(self):
imaplib.IMAP4 = tests.ImapConnectionMock()
imaplib.IMAP4_SSL = tests.ImapConnectionMock()
def test_change_dir(self):... | 32.279412 | 76 | 0.636446 | 251 | 2,195 | 5.290837 | 0.187251 | 0.150602 | 0.28238 | 0.114458 | 0.723645 | 0.723645 | 0.723645 | 0.723645 | 0.692771 | 0.60994 | 0 | 0.010462 | 0.259681 | 2,195 | 67 | 77 | 32.761194 | 0.806769 | 0.015945 | 0 | 0.488889 | 0 | 0 | 0.058032 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 1 | 0.2 | false | 0.044444 | 0.088889 | 0 | 0.311111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb414b25dc94850b253642a4719cfd935654976e | 45 | py | Python | ice/error/human_readable_error.py | reavessm/Ice | e78d046abfd6006b1a81d1cbdb516b7c3e141ac9 | [
"MIT"
] | 578 | 2015-01-02T12:43:52.000Z | 2022-03-27T23:45:32.000Z | ice/error/human_readable_error.py | raphaelcastaneda/Ice | b380de7fc7830251b883fb55c46fea894058afa3 | [
"MIT"
] | 271 | 2015-01-05T01:56:38.000Z | 2021-08-14T02:51:24.000Z | ice/error/human_readable_error.py | raphaelcastaneda/Ice | b380de7fc7830251b883fb55c46fea894058afa3 | [
"MIT"
] | 156 | 2015-01-07T15:43:20.000Z | 2021-12-11T19:10:44.000Z |
class HumanReadableError(Exception):
pass
| 11.25 | 36 | 0.8 | 4 | 45 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 3 | 37 | 15 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fb5e9e1fb86cf41fc9802eb10f8d63054a21f97b | 23,470 | py | Python | tests/resources/fetcher_inputs/fetcher_test_data.py | degiere/zipline | bc0b117dc94b8e93081818964e3b1bdbf9b33abb | [
"Apache-2.0"
] | null | null | null | tests/resources/fetcher_inputs/fetcher_test_data.py | degiere/zipline | bc0b117dc94b8e93081818964e3b1bdbf9b33abb | [
"Apache-2.0"
] | null | null | null | tests/resources/fetcher_inputs/fetcher_test_data.py | degiere/zipline | bc0b117dc94b8e93081818964e3b1bdbf9b33abb | [
"Apache-2.0"
] | 1 | 2019-09-20T01:08:33.000Z | 2019-09-20T01:08:33.000Z | MULTI_SIGNAL_CSV_DATA = """
symbol,date,signal
ibm,1/1/06,1
ibm,2/1/06,0
ibm,3/1/06,0
ibm,4/1/06,0
ibm,5/1/06,1
ibm,6/1/06,1
ibm,7/1/06,1
ibm,8/1/06,1
ibm,9/1/06,0
ibm,10/1/06,1
ibm,11/1/06,1
ibm,12/1/06,5
ibm,1/1/07,1
ibm,2/1/07,0
ibm,3/1/07,1
ibm,4/1/07,0
ibm,5/1/07,1
dell,1/1/06,1
dell,2/1/06,0
dell,3/1/06,0
dell,4/... | 34.464023 | 77 | 0.681764 | 7,311 | 23,470 | 2.18438 | 0.033238 | 0.080776 | 0.017846 | 0.01603 | 0.690795 | 0.507952 | 0.293175 | 0.180589 | 0.093676 | 0.078334 | 0 | 0.663354 | 0.031146 | 23,470 | 680 | 78 | 34.514706 | 0.038964 | 0.001065 | 0 | 0.125186 | 0 | 0.733234 | 0.980805 | 0.865504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb5ea22bc915d377f52c18e7cc591c1c2366468a | 141 | py | Python | __init__.py | federicozaiter/LogClass | 62c1c9c61294625bdb3d99dc01b6adc7b735c4ab | [
"MIT"
] | 159 | 2020-02-19T00:19:23.000Z | 2022-03-30T08:40:08.000Z | __init__.py | WeibinMeng/LogClass-1 | 8edbaf4377374e2aac5e7057987e1d047b83ff2f | [
"MIT"
] | 3 | 2021-06-09T04:30:35.000Z | 2022-01-09T23:26:07.000Z | __init__.py | WeibinMeng/LogClass-1 | 8edbaf4377374e2aac5e7057987e1d047b83ff2f | [
"MIT"
] | 41 | 2020-02-19T00:19:26.000Z | 2022-03-28T08:02:22.000Z | __all__ = ["utils", "logclass"]
from .preprocess import *
from .feature_engineering import *
from .models import *
from .reporting import *
| 20.142857 | 34 | 0.737589 | 16 | 141 | 6.1875 | 0.625 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 141 | 6 | 35 | 23.5 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.092199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fb62005e26f5f656c89f92646218f30f51b175ac | 152 | py | Python | lib/JumpScale/baselib/cache/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | null | null | null | lib/JumpScale/baselib/cache/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | lib/JumpScale/baselib/cache/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | from JumpScale import j
def cb():
from .Cache import *
return CacheFactory()
j.base.loader.makeAvailable(j, 'db')
j.db._register('cache', cb)
| 16.888889 | 36 | 0.684211 | 22 | 152 | 4.681818 | 0.636364 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 152 | 8 | 37 | 19 | 0.81746 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fb6ae0cda8e89a4e7fce579b43549ded65e96427 | 117 | py | Python | hla/__init__.py | Biomedical-Genetics/hla-genotyper | 91d8568de3b3383efe3c4d2e087668e4b9ab8595 | [
"MIT"
] | 4 | 2018-03-05T14:05:08.000Z | 2020-10-30T16:05:45.000Z | hla/__init__.py | Biomedical-Genetics/hla-genotyper | 91d8568de3b3383efe3c4d2e087668e4b9ab8595 | [
"MIT"
] | 1 | 2018-03-05T14:04:34.000Z | 2018-03-05T15:41:05.000Z | hla/__init__.py | Biomedical-Genetics/hla-genotyper | 91d8568de3b3383efe3c4d2e087668e4b9ab8595 | [
"MIT"
] | null | null | null | import sys
import genotyper as gt
def main():
"""Entry point for the application script"""
gt.main(sys.argv)
| 19.5 | 48 | 0.692308 | 18 | 117 | 4.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196581 | 117 | 5 | 49 | 23.4 | 0.861702 | 0.324786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fb78b3034bcecd8deb288b1fe8d95b5dff5665ba | 265 | py | Python | tests/test_post_processor.py | kachark/FormFlight | 94189581ecd28ab5d9d30e2b171a3fa3296029a7 | [
"MIT"
] | 5 | 2019-11-03T06:35:28.000Z | 2021-05-25T16:21:28.000Z | tests/test_post_processor.py | kachark/FormFlight | 94189581ecd28ab5d9d30e2b171a3fa3296029a7 | [
"MIT"
] | null | null | null | tests/test_post_processor.py | kachark/FormFlight | 94189581ecd28ab5d9d30e2b171a3fa3296029a7 | [
"MIT"
] | null | null | null |
import pytest
import numpy as np
import pandas as pd
import DOT_assignment.engine
import DOT_assignment.assignments
import DOT_assignment.controls
import DOT_assignment.run
import DOT_assignment.dynamics
import DOT_assignment.agents
import DOT_assignment.setup
| 17.666667 | 33 | 0.867925 | 38 | 265 | 5.868421 | 0.421053 | 0.282511 | 0.596413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10566 | 265 | 14 | 34 | 18.928571 | 0.940928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fb7f0a2eeeb61a5b6034901871c8d870236404a9 | 35 | py | Python | client_admin/menu/__init__.py | HatchCanada/django-client-admin | 69ef136ea6bc9b5676dc3547d4322b8b217d2f2f | [
"Apache-2.0"
] | 16 | 2015-01-15T23:42:32.000Z | 2021-01-04T08:57:46.000Z | client_admin/menu/__init__.py | HatchCanada/django-client-admin | 69ef136ea6bc9b5676dc3547d4322b8b217d2f2f | [
"Apache-2.0"
] | null | null | null | client_admin/menu/__init__.py | HatchCanada/django-client-admin | 69ef136ea6bc9b5676dc3547d4322b8b217d2f2f | [
"Apache-2.0"
] | 8 | 2015-02-06T09:00:23.000Z | 2019-02-13T17:00:18.000Z | # Kept for backwards compatibility
| 17.5 | 34 | 0.828571 | 4 | 35 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.966667 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb805af812213e48c7e50f3f5372dee72c4a4215 | 1,454 | py | Python | pj8.py | Ziggareto/project_euler_solns | e52066b9ffec97005bad0f26a3f0e08760d5c5cb | [
"MIT"
] | null | null | null | pj8.py | Ziggareto/project_euler_solns | e52066b9ffec97005bad0f26a3f0e08760d5c5cb | [
"MIT"
] | null | null | null | pj8.py | Ziggareto/project_euler_solns | e52066b9ffec97005bad0f26a3f0e08760d5c5cb | [
"MIT"
] | null | null | null | #pj8
from pj_euler import mathStuff
x = """73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
66896648950445244523161731856403098711121722383113
62229893423... | 33.045455 | 58 | 0.842503 | 73 | 1,454 | 16.767123 | 0.643836 | 0.011438 | 0.014706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.790424 | 0.123796 | 1,454 | 43 | 59 | 33.813953 | 0.17033 | 0.002063 | 0 | 0 | 0 | 0 | 0.725657 | 0.710732 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 0.054054 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb89b9ee6056502603ef680c86f2b758916e1ba7 | 212 | py | Python | pyload/load.py | lrterry/py-load | c06ef979ee1761c5b9df642f5af5119da7ec09fe | [
"Apache-2.0"
] | null | null | null | pyload/load.py | lrterry/py-load | c06ef979ee1761c5b9df642f5af5119da7ec09fe | [
"Apache-2.0"
] | null | null | null | pyload/load.py | lrterry/py-load | c06ef979ee1761c5b9df642f5af5119da7ec09fe | [
"Apache-2.0"
] | null | null | null | class BaseLoadTester(object):
def __init__(self, config):
self.config = config
def before(self):
raise NotImplementedError()
def on_result(self):
raise NotImplementedError()
| 21.2 | 35 | 0.65566 | 21 | 212 | 6.380952 | 0.571429 | 0.149254 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254717 | 212 | 9 | 36 | 23.555556 | 0.848101 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
fb8bd230ad9060d3b92d7a34b0c0fcc8870cc654 | 124 | py | Python | HLTrigger/HLTanalyzers/test/test_hltrigreport_run_lumi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | HLTrigger/HLTanalyzers/test/test_hltrigreport_run_lumi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | HLTrigger/HLTanalyzers/test/test_hltrigreport_run_lumi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | from test_hltrigreport_base_cfg import process
process.hlTrigReport.resetBy = "run"
process.hlTrigReport.reportBy = "lumi"
| 24.8 | 46 | 0.830645 | 15 | 124 | 6.666667 | 0.733333 | 0.38 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08871 | 124 | 4 | 47 | 31 | 0.884956 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fbb664c0ea7f42fa05ee1a117842b4328f585eb7 | 17 | py | Python | fancy_tests/tests/models.py | YPCrumble/django-fancy-cache | 6efe6317ecd8c2ebf4357fef284f79e3e21afed6 | [
"BSD-3-Clause"
] | 31 | 2015-08-03T23:59:54.000Z | 2022-02-15T19:43:22.000Z | fancy_tests/tests/models.py | YPCrumble/django-fancy-cache | 6efe6317ecd8c2ebf4357fef284f79e3e21afed6 | [
"BSD-3-Clause"
] | 46 | 2015-03-14T19:02:34.000Z | 2022-03-31T00:23:25.000Z | fancy_tests/tests/models.py | YPCrumble/django-fancy-cache | 6efe6317ecd8c2ebf4357fef284f79e3e21afed6 | [
"BSD-3-Clause"
] | 12 | 2015-07-27T21:56:00.000Z | 2020-11-02T09:39:23.000Z | # lonely in here
| 8.5 | 16 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 17 | 1 | 17 | 17 | 0.923077 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fbb7df791c9bb8b6592dc68cf38823cd1d975dc5 | 755 | py | Python | build/geometry/kdl_conversions/catkin_generated/pkg.develspace.context.pc.py | EurobotMDX/eurobot_2020_odroid_cam | ddd9a17d53899f1c615816fd74512c112ecad188 | [
"MIT"
] | 4 | 2019-10-26T18:48:51.000Z | 2020-02-27T19:31:36.000Z | build/geometry/kdl_conversions/catkin_generated/pkg.develspace.context.pc.py | EurobotMDX/eurobot_2020_odroid_cam | ddd9a17d53899f1c615816fd74512c112ecad188 | [
"MIT"
] | null | null | null | build/geometry/kdl_conversions/catkin_generated/pkg.develspace.context.pc.py | EurobotMDX/eurobot_2020_odroid_cam | ddd9a17d53899f1c615816fd74512c112ecad188 | [
"MIT"
] | 1 | 2019-10-26T18:50:48.000Z | 2019-10-26T18:50:48.000Z | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/ros/lidar_ws/src/geometry/kdl_conversions/include;/opt/ros/kinetic/share/orocos_kdl/../../include;/usr/include/eigen3".split(';') if "/home/ros/lidar_ws/src/geometry/kdl_conversions/include;/opt/... | 83.888889 | 313 | 0.75894 | 113 | 755 | 4.831858 | 0.451327 | 0.043956 | 0.095238 | 0.076923 | 0.527473 | 0.527473 | 0.527473 | 0.527473 | 0.527473 | 0.527473 | 0 | 0.01676 | 0.051656 | 755 | 8 | 314 | 94.375 | 0.74581 | 0.071523 | 0 | 0 | 1 | 0.571429 | 0.615165 | 0.560801 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fbce315166e8fedba3fe68b076bf2c0e8e0c57a4 | 158 | py | Python | accounts/forms/__init__.py | kevangel79/b2note | e38789afc389c31b46bba652b4fe98f0e5c2f49e | [
"MIT"
] | null | null | null | accounts/forms/__init__.py | kevangel79/b2note | e38789afc389c31b46bba652b4fe98f0e5c2f49e | [
"MIT"
] | null | null | null | accounts/forms/__init__.py | kevangel79/b2note | e38789afc389c31b46bba652b4fe98f0e5c2f49e | [
"MIT"
] | 1 | 2020-04-04T11:52:11.000Z | 2020-04-04T11:52:11.000Z | from register import RegistrationForm
from old_register import OldRegistrationForm
from authenticate import AuthenticationForm
from profile import ProfileForm | 39.5 | 44 | 0.905063 | 17 | 158 | 8.352941 | 0.588235 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094937 | 158 | 4 | 45 | 39.5 | 0.993007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
83d55f92211e0f11e50296743ed52e4756674b93 | 99 | py | Python | skater/core/local_interpretation/lime/lime_tabular.py | RPUTHUMA/Skater | 317460b88065b41eebe6790e9efdbb0595cbe450 | [
"UPL-1.0"
] | 718 | 2017-05-19T22:49:40.000Z | 2019-03-27T06:40:54.000Z | skater/core/local_interpretation/lime/lime_tabular.py | quant1729/Skater | b46a4abe3465ddc7b19ffc762ad45d1414b060a6 | [
"UPL-1.0"
] | 114 | 2017-05-24T16:55:59.000Z | 2019-03-27T12:48:18.000Z | skater/core/local_interpretation/lime/lime_tabular.py | quant1729/Skater | b46a4abe3465ddc7b19ffc762ad45d1414b060a6 | [
"UPL-1.0"
] | 121 | 2017-05-22T17:20:19.000Z | 2019-03-21T15:06:19.000Z | """
Making LimeTabularExplainer Accessible
"""
from lime.lime_tabular import LimeTabularExplainer
| 16.5 | 50 | 0.828283 | 9 | 99 | 9 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 5 | 51 | 19.8 | 0.910112 | 0.383838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
83eb514f328590d0ab9c9a0ee2688df9f090d21e | 30 | py | Python | reddit_login/__init__.py | Chromadream/reddit-login | dc594eca3ac32dbc7cde2e47cd3881d20e7cd7ef | [
"BSD-3-Clause"
] | null | null | null | reddit_login/__init__.py | Chromadream/reddit-login | dc594eca3ac32dbc7cde2e47cd3881d20e7cd7ef | [
"BSD-3-Clause"
] | 1 | 2021-06-01T22:52:46.000Z | 2021-06-01T22:52:46.000Z | reddit_login/__init__.py | Chromadream/reddit-login | dc594eca3ac32dbc7cde2e47cd3881d20e7cd7ef | [
"BSD-3-Clause"
] | null | null | null | from .login import login_flow
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f7b0507138a5e7e776b460b1540515a6d41a5447 | 4,247 | py | Python | agent0/ddpg/model.py | zhoubin-me/agent0 | 1184827077e43dfa63e1f24a004fcc6c3e3d5130 | [
"MIT"
] | null | null | null | agent0/ddpg/model.py | zhoubin-me/agent0 | 1184827077e43dfa63e1f24a004fcc6c3e3d5130 | [
"MIT"
] | null | null | null | agent0/ddpg/model.py | zhoubin-me/agent0 | 1184827077e43dfa63e1f24a004fcc6c3e3d5130 | [
"MIT"
] | null | null | null | from itertools import chain
import numpy as np
import torch
import torch.nn as nn
from torch.distributions import Normal
def init(m, gain=1.0):
if isinstance(m, nn.Conv2d) or isinstance(m, nn.Linear):
nn.init.orthogonal_(m.weight.data, gain)
nn.init.zeros_(m.bias.data)
class DDPGMLP(nn.Module):... | 31.459259 | 85 | 0.610078 | 601 | 4,247 | 4.086522 | 0.136439 | 0.142508 | 0.078176 | 0.104235 | 0.766694 | 0.748779 | 0.739414 | 0.739414 | 0.739414 | 0.739414 | 0 | 0.013338 | 0.258535 | 4,247 | 134 | 86 | 31.69403 | 0.766593 | 0 | 0 | 0.63 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0.05 | 0.09 | 0.39 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f7bc8636782ea4fa6c13b1a0e68b3a1a235df0b6 | 70 | py | Python | efficient_rl/oo_mdp_operations/__init__.py | rlagywjd802/efficient_rl | 6a82bfc10d814f5d36a7c211d645aa35ea380acf | [
"MIT"
] | 8 | 2020-06-25T10:16:48.000Z | 2022-02-15T09:12:04.000Z | efficient_rl/oo_mdp_operations/__init__.py | rlagywjd802/efficient_rl | 6a82bfc10d814f5d36a7c211d645aa35ea380acf | [
"MIT"
] | null | null | null | efficient_rl/oo_mdp_operations/__init__.py | rlagywjd802/efficient_rl | 6a82bfc10d814f5d36a7c211d645aa35ea380acf | [
"MIT"
] | 2 | 2020-12-30T07:39:38.000Z | 2021-04-12T14:57:13.000Z | from efficient_rl.oo_mdp_operations.OperationsClass import Operations
| 35 | 69 | 0.914286 | 9 | 70 | 6.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 70 | 1 | 70 | 70 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f7e4b36de2a446bc468631ea406410c15917a43d | 13,222 | py | Python | storagemgr/storage/tests/tests_archive.py | akgrant43/storagemgr | 1d0bec363d93802b2133d8d58475f69c4418ad67 | [
"Apache-2.0"
] | null | null | null | storagemgr/storage/tests/tests_archive.py | akgrant43/storagemgr | 1d0bec363d93802b2133d8d58475f69c4418ad67 | [
"Apache-2.0"
] | null | null | null | storagemgr/storage/tests/tests_archive.py | akgrant43/storagemgr | 1d0bec363d93802b2133d8d58475f69c4418ad67 | [
"Apache-2.0"
] | null | null | null | """
Test the archiver functionality.
"""
from shutil import copy2, rmtree
from os.path import isdir, isfile, join, getmtime
from os import makedirs, remove
from datetime import datetime
from django.conf import settings
from django.test import TestCase
from storage.models import RootPath, File, Hash
from storage.scan ... | 35.447721 | 87 | 0.615111 | 1,529 | 13,222 | 5.254415 | 0.147155 | 0.054767 | 0.037341 | 0.043814 | 0.754668 | 0.720065 | 0.714464 | 0.709609 | 0.698407 | 0.685462 | 0 | 0.065668 | 0.27787 | 13,222 | 372 | 88 | 35.543011 | 0.775765 | 0.185297 | 0 | 0.758621 | 0 | 0 | 0.122042 | 0.056584 | 0 | 0 | 0 | 0 | 0.12931 | 1 | 0.064655 | false | 0 | 0.038793 | 0 | 0.193966 | 0 | 0 | 0 | 0 | null | 0 | 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 | 5 |
f7e552f3463d050f19e9eb3f71c2c901fab0f8c9 | 39 | py | Python | dmb/data/loaders/__init__.py | jiaw-z/DenseMatchingBenchmark | 177c56ca1952f54d28e6073afa2c16981113a2af | [
"MIT"
] | 160 | 2019-11-16T13:59:21.000Z | 2022-03-28T07:52:59.000Z | dmb/data/loaders/__init__.py | jiaw-z/DenseMatchingBenchmark | 177c56ca1952f54d28e6073afa2c16981113a2af | [
"MIT"
] | 22 | 2019-11-22T02:14:18.000Z | 2022-01-24T10:16:14.000Z | dmb/data/loaders/__init__.py | jiaw-z/DenseMatchingBenchmark | 177c56ca1952f54d28e6073afa2c16981113a2af | [
"MIT"
] | 38 | 2019-12-27T14:01:01.000Z | 2022-03-12T11:40:11.000Z | from .builder import build_data_loader
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
790b7011c7cbd959fb9330d296ab2129185ff98d | 2,670 | py | Python | waves_gateway/model/polling_delay_config.py | NeolithEra/WavesGatewayFramework | e7ba892427e1d0444f2bfdc2922c45ff5f4c4add | [
"MIT"
] | 25 | 2018-03-04T07:49:21.000Z | 2022-03-28T05:20:50.000Z | waves_gateway/model/polling_delay_config.py | NeolithEra/WavesGatewayFramework | e7ba892427e1d0444f2bfdc2922c45ff5f4c4add | [
"MIT"
] | 22 | 2018-03-25T13:19:45.000Z | 2020-11-28T17:21:08.000Z | waves_gateway/model/polling_delay_config.py | NeolithEra/WavesGatewayFramework | e7ba892427e1d0444f2bfdc2922c45ff5f4c4add | [
"MIT"
] | 31 | 2018-03-25T09:45:13.000Z | 2022-03-24T05:32:18.000Z | """
PollingDelayConfig
"""
from typing import Any
class PollingDelayConfig(object):
"""
Summarized configuration for the polling_delay settings in the Gateway Application.
"""
DEFAULT_MIN_TRANSACTION_POLLING_DELAY_S = 0.0
DEFAULT_MAX_TRANSACTION_POLLING_DELAY_S = 60.0
DEFAULT_MIN_ATTEMPT_LIST... | 41.71875 | 115 | 0.762921 | 378 | 2,670 | 4.71164 | 0.103175 | 0.178551 | 0.357664 | 0.125772 | 0.862437 | 0.845592 | 0.731611 | 0.601909 | 0.440764 | 0.411567 | 0 | 0.004634 | 0.19176 | 2,670 | 63 | 116 | 42.380952 | 0.820667 | 0.038202 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.021739 | 0.152174 | 0.456522 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
f70b5953932541c87b991bde53d94cc13d35e857 | 36 | py | Python | tests/__init__.py | quarkslab/ziphyr | f4b6f258b88ed5b4c8c1e0557ddd01e63f225407 | [
"Apache-2.0"
] | 3 | 2020-12-13T10:52:50.000Z | 2021-11-15T10:45:00.000Z | tests/__init__.py | quarkslab/ziphyr | f4b6f258b88ed5b4c8c1e0557ddd01e63f225407 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | quarkslab/ziphyr | f4b6f258b88ed5b4c8c1e0557ddd01e63f225407 | [
"Apache-2.0"
] | 1 | 2021-11-14T02:56:49.000Z | 2021-11-14T02:56:49.000Z | """Unit test package for ziphyr."""
| 18 | 35 | 0.666667 | 5 | 36 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.774194 | 0.805556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f7881991ef2ae4a7bb28118def5709bee514b6a3 | 87 | py | Python | extra_hours/shared/value_objects.py | flaviogf/extra_hours | 9b235f06b1f111219c2b85d293728aa2f986206a | [
"MIT"
] | null | null | null | extra_hours/shared/value_objects.py | flaviogf/extra_hours | 9b235f06b1f111219c2b85d293728aa2f986206a | [
"MIT"
] | null | null | null | extra_hours/shared/value_objects.py | flaviogf/extra_hours | 9b235f06b1f111219c2b85d293728aa2f986206a | [
"MIT"
] | null | null | null | from pyflunt.notifications import Notifiable
class ValueObject(Notifiable):
pass
| 14.5 | 44 | 0.804598 | 9 | 87 | 7.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 5 | 45 | 17.4 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
e3932807142489ea644607a1dfdd39a2db865169 | 97 | py | Python | lackawanna/collection/admin.py | allyjweir/lackawanna | 54ce5088a0fb828b056fb2ca2ac2924489fd33f1 | [
"BSD-3-Clause"
] | 3 | 2015-11-03T03:07:28.000Z | 2016-02-03T00:32:14.000Z | lackawanna/collection/admin.py | allyjweir/lackawanna | 54ce5088a0fb828b056fb2ca2ac2924489fd33f1 | [
"BSD-3-Clause"
] | 11 | 2015-10-20T19:05:34.000Z | 2019-05-17T13:47:30.000Z | lackawanna/collection/admin.py | allyjweir/lackawanna | 54ce5088a0fb828b056fb2ca2ac2924489fd33f1 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Collection
admin.site.register(Collection) | 19.4 | 32 | 0.835052 | 13 | 97 | 6.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 97 | 5 | 33 | 19.4 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e3bb334b5fafae302bdd73bf5c7274f9b9cb0f25 | 142 | py | Python | flarestack/data/public/__init__.py | grburgess/flarestack | 6f94b9493d5470539e2705e473c84683720122cc | [
"MIT"
] | 1 | 2021-04-19T06:26:03.000Z | 2021-04-19T06:26:03.000Z | flarestack/data/public/__init__.py | Raimer/flarestack | 60659d368db93ead7b53addf3af9f1e8ac3a52bc | [
"MIT"
] | null | null | null | flarestack/data/public/__init__.py | Raimer/flarestack | 60659d368db93ead7b53addf3af9f1e8ac3a52bc | [
"MIT"
] | 1 | 2022-03-01T06:11:46.000Z | 2022-03-01T06:11:46.000Z | from flarestack.data.public.icecube.all_sky_point_source.all_sky_3_year \
import icecube_ps_3_year
icecube_ps_3_year = icecube_ps_3_year
| 28.4 | 73 | 0.859155 | 26 | 142 | 4.115385 | 0.5 | 0.186916 | 0.280374 | 0.392523 | 0.392523 | 0.392523 | 0.392523 | 0.392523 | 0 | 0 | 0 | 0.031008 | 0.091549 | 142 | 4 | 74 | 35.5 | 0.79845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
58082132b167acc804473399abdd10ef7e6d0ec7 | 408 | py | Python | simba/errors.py | joebentley/simba | dd1b7bc6d22ad96566898dd1851cfa210462cb00 | [
"MIT"
] | 8 | 2020-03-19T10:59:25.000Z | 2022-01-22T22:33:07.000Z | simba/errors.py | joebentley/simba | dd1b7bc6d22ad96566898dd1851cfa210462cb00 | [
"MIT"
] | 1 | 2022-01-22T11:24:45.000Z | 2022-01-22T11:24:45.000Z | simba/errors.py | joebentley/simba | dd1b7bc6d22ad96566898dd1851cfa210462cb00 | [
"MIT"
] | 1 | 2020-03-19T13:27:41.000Z | 2020-03-19T13:27:41.000Z | class DimensionError(Exception):
"""Represents an error involving matrix dimensions."""
class CoefficientError(Exception):
"""Represents an error involving transfer function coefficients."""
class StateSpaceError(Exception):
"""Represents a miscellaneous error involving `StateSpace`."""
class ResultEr... | 27.2 | 71 | 0.754902 | 40 | 408 | 7.7 | 0.575 | 0.246753 | 0.204545 | 0.253247 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142157 | 408 | 14 | 72 | 29.142857 | 0.88 | 0.561275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
582daa62807245d45a97d7bbd0f917377024ee8d | 428 | py | Python | djangoLogin/loginproject/models.py | roygoswamisuvankar/djangoLogin | e8a9a142e5bfb5b50fa90ea974877151a936eba1 | [
"MIT"
] | null | null | null | djangoLogin/loginproject/models.py | roygoswamisuvankar/djangoLogin | e8a9a142e5bfb5b50fa90ea974877151a936eba1 | [
"MIT"
] | null | null | null | djangoLogin/loginproject/models.py | roygoswamisuvankar/djangoLogin | e8a9a142e5bfb5b50fa90ea974877151a936eba1 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class employee(models.Model):
name = models.CharField(max_length=20)
phone = models.CharField(max_length=10)
email = models.CharField(max_length=20)
class student(models.Model):
name = models.CharField(max_length=20)
phone = models.CharField... | 28.533333 | 47 | 0.740654 | 59 | 428 | 5.254237 | 0.372881 | 0.33871 | 0.406452 | 0.541935 | 0.658065 | 0.651613 | 0.451613 | 0.451613 | 0.451613 | 0.451613 | 0 | 0.041322 | 0.151869 | 428 | 14 | 48 | 30.571429 | 0.812672 | 0.056075 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
582de98ed99c66c4e5930ba9f5cff979c3a98b02 | 35 | py | Python | sumuka/drop_all_tables.py | kds119/eBay-Opportunity-Hack-Blr-2014 | 3bb0d35c88f4001a2fc50dca6349b06bc7f2f33d | [
"MIT"
] | 1 | 2021-03-02T09:07:43.000Z | 2021-03-02T09:07:43.000Z | sumuka/drop_all_tables.py | ebayohblr2014/eBay-Opportunity-Hack-Blr-2014 | 3bb0d35c88f4001a2fc50dca6349b06bc7f2f33d | [
"MIT"
] | null | null | null | sumuka/drop_all_tables.py | ebayohblr2014/eBay-Opportunity-Hack-Blr-2014 | 3bb0d35c88f4001a2fc50dca6349b06bc7f2f33d | [
"MIT"
] | 2 | 2015-02-05T06:16:58.000Z | 2015-02-05T16:10:46.000Z | from models import *
db.drop_all()
| 11.666667 | 20 | 0.742857 | 6 | 35 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 21 | 17.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
582f0ebc9caea5b574b80619184e9cc38bb986f6 | 228 | py | Python | OFTF/Dice.py | aessek/OFTF | 6d6c8c1270c216bb794c851d66212cf9814cb94b | [
"MIT"
] | null | null | null | OFTF/Dice.py | aessek/OFTF | 6d6c8c1270c216bb794c851d66212cf9814cb94b | [
"MIT"
] | null | null | null | OFTF/Dice.py | aessek/OFTF | 6d6c8c1270c216bb794c851d66212cf9814cb94b | [
"MIT"
] | null | null | null | import random
class Dice:
def __init__(self):
pass
def roll(self, num_dice):
outcome = list()
for i in range(num_dice):
outcome.append(random.randrange(1,7))
return outcome | 17.538462 | 49 | 0.578947 | 29 | 228 | 4.344828 | 0.724138 | 0.111111 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0.328947 | 228 | 13 | 50 | 17.538462 | 0.810458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
5885a30bef4725c2a3be66821a30ddbd0fcdc52e | 802 | py | Python | lib/django-1.5/django/contrib/gis/geos/__init__.py | MiCHiLU/google_appengine_sdk | 3da9f20d7e65e26c4938d2c4054bc4f39cbc5522 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | django/contrib/gis/geos/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | django/contrib/gis/geos/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | """
The GeoDjango GEOS module. Please consult the GeoDjango documentation
for more details:
http://geodjango.org/docs/geos.html
"""
from django.contrib.gis.geos.geometry import GEOSGeometry, wkt_regex, hex_regex
from django.contrib.gis.geos.point import Point
from django.contrib.gis.geos.linestring import LineStrin... | 53.466667 | 109 | 0.835411 | 109 | 802 | 6.091743 | 0.440367 | 0.135542 | 0.230422 | 0.271084 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084788 | 802 | 14 | 110 | 57.285714 | 0.904632 | 0.158354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
58867867c80228f7ec4c7ed4bd87430ec01d982e | 17 | py | Python | examples/example1.py | telemetrix/sample_tr50_python | be88ecf38417486325203e281a9ecebffe1b3f69 | [
"MIT"
] | null | null | null | examples/example1.py | telemetrix/sample_tr50_python | be88ecf38417486325203e281a9ecebffe1b3f69 | [
"MIT"
] | null | null | null | examples/example1.py | telemetrix/sample_tr50_python | be88ecf38417486325203e281a9ecebffe1b3f69 | [
"MIT"
] | null | null | null | print("example1") | 17 | 17 | 0.764706 | 2 | 17 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 17 | 1 | 17 | 17 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
58a405bea03b5e36a684daffd37d7aefd68bf1fb | 575 | py | Python | data_sets/data_set_reader.py | bryceklinker/learning-machine-learning | 70b0d6aae091b781f20e3abe219c25aaef2d7be6 | [
"MIT"
] | null | null | null | data_sets/data_set_reader.py | bryceklinker/learning-machine-learning | 70b0d6aae091b781f20e3abe219c25aaef2d7be6 | [
"MIT"
] | null | null | null | data_sets/data_set_reader.py | bryceklinker/learning-machine-learning | 70b0d6aae091b781f20e3abe219c25aaef2d7be6 | [
"MIT"
] | null | null | null | from os.path import join, dirname
from pandas import read_csv
from data_sets.data_set import DataSet
ROOT_PATH = join(dirname(__file__), 'files')
def read_data_set(name: str, dependent_variable_vector_index=-1) -> DataSet:
data_frame = read_csv(join(ROOT_PATH, "{}.csv".format(name)))
features = data_frame.... | 38.333333 | 113 | 0.798261 | 81 | 575 | 5.271605 | 0.382716 | 0.238876 | 0.323185 | 0.196721 | 0.159251 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003884 | 0.104348 | 575 | 14 | 114 | 41.071429 | 0.825243 | 0 | 0 | 0 | 0 | 0 | 0.01913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5492771f7f34d74ff2a91499e303810fdc776866 | 94 | py | Python | data_structures/stack/__init__.py | kirkirey/programming-for-linguists | d97c59738713fab725073e9c88c7321119a648fc | [
"Apache-2.0"
] | null | null | null | data_structures/stack/__init__.py | kirkirey/programming-for-linguists | d97c59738713fab725073e9c88c7321119a648fc | [
"Apache-2.0"
] | null | null | null | data_structures/stack/__init__.py | kirkirey/programming-for-linguists | d97c59738713fab725073e9c88c7321119a648fc | [
"Apache-2.0"
] | 4 | 2021-02-09T12:00:34.000Z | 2021-05-21T18:59:38.000Z | """
Programming for linguists
Stack module
"""
from data_structures.stack.stack import Stack
| 13.428571 | 45 | 0.787234 | 12 | 94 | 6.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 6 | 46 | 15.666667 | 0.890244 | 0.414894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.