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
8b38d7ea9ac4d57278f15d185d30a30aa83010c9
654
py
Python
app/stats/migrations/0001_initial.py
DOSSIER-dev/DOSSIER-Sources
a89d3626ddf1bfcd021f2f7b4e927182aa5b3d8e
[ "MIT" ]
7
2019-04-05T11:28:50.000Z
2021-04-14T10:05:46.000Z
app/stats/migrations/0001_initial.py
DOSSIER-dev/DOSSIER-Sources
a89d3626ddf1bfcd021f2f7b4e927182aa5b3d8e
[ "MIT" ]
1
2022-03-02T03:41:28.000Z
2022-03-02T03:41:28.000Z
app/stats/migrations/0001_initial.py
DOSSIER-dev/DOSSIER-Sources
a89d3626ddf1bfcd021f2f7b4e927182aa5b3d8e
[ "MIT" ]
1
2019-04-15T10:41:08.000Z
2019-04-15T10:41:08.000Z
# Generated by Django 2.0.6 on 2018-08-10 15:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('sources_main', '0011_auto_20180716_1729'), ] operations = [ migrations.CreateModel( ...
27.25
138
0.625382
73
654
5.465753
0.671233
0.06015
0.070175
0.110276
0
0
0
0
0
0
0
0.063008
0.247706
654
23
139
28.434783
0.747967
0.068807
0
0
1
0
0.126853
0.037891
0
0
0
0
0
1
0
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b39be3d64e4baee30bb633b255ed95573530e78
1,617
py
Python
apps/authentication/views.py
hakloev/hakloevno
3d7d701fb82e6324285551c285f85869a36efbe6
[ "MIT" ]
null
null
null
apps/authentication/views.py
hakloev/hakloevno
3d7d701fb82e6324285551c285f85869a36efbe6
[ "MIT" ]
null
null
null
apps/authentication/views.py
hakloev/hakloevno
3d7d701fb82e6324285551c285f85869a36efbe6
[ "MIT" ]
null
null
null
import logging from django.shortcuts import render from django.conf import settings from django.http import HttpResponseRedirect from django.views.decorators.debug import sensitive_post_parameters from django.contrib import messages from django.contrib.auth import authenticate, login, logout log = logging.getLogger(__...
36.75
79
0.66543
178
1,617
5.960674
0.370787
0.05655
0.048068
0.047125
0.081056
0.081056
0
0
0
0
0
0
0.238714
1,617
43
80
37.604651
0.861901
0.021645
0
0.138889
0
0
0.149367
0.015823
0
0
0
0
0
1
0.055556
false
0.138889
0.194444
0
0.361111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8b3b794225db1e2b81b1655aa8a82c6523b9a916
618
py
Python
tests/pipe_proc_tests/add.py
genematx/nmrglue
8a24cf6cbd18451e552fc0673b84c42d1dcb69a2
[ "BSD-3-Clause" ]
150
2015-01-16T12:24:13.000Z
2022-03-03T18:01:18.000Z
tests/pipe_proc_tests/add.py
genematx/nmrglue
8a24cf6cbd18451e552fc0673b84c42d1dcb69a2
[ "BSD-3-Clause" ]
129
2015-01-13T04:58:56.000Z
2022-03-02T13:39:16.000Z
tests/pipe_proc_tests/add.py
genematx/nmrglue
8a24cf6cbd18451e552fc0673b84c42d1dcb69a2
[ "BSD-3-Clause" ]
88
2015-02-16T20:04:12.000Z
2022-03-10T06:50:30.000Z
#! /usr/bin/env python """ Create files for add unit test """ import nmrglue.fileio.pipe as pipe import nmrglue.process.pipe_proc as p d, a = pipe.read("time_complex.fid") d, a = p.add(d, a, r=2.0, i=-1.0) pipe.write("add1.glue", d, a, overwrite=True) d, a = pipe.read("time_complex.fid") d, a = p.add(d, a, c=10.0) p...
28.090909
45
0.645631
129
618
3.054264
0.348837
0.081218
0.060914
0.101523
0.538071
0.489848
0.489848
0.489848
0.489848
0.489848
0
0.04878
0.13754
618
21
46
29.428571
0.690432
0.085761
0
0.285714
0
0
0.179211
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8b3d945b897541cf5a0e129c9045393de719370b
371
py
Python
mnist_softmax_test.py
cnishina/tf-mnist
3a60dc6061b29a33bf449500b3875963d1ea97af
[ "MIT" ]
null
null
null
mnist_softmax_test.py
cnishina/tf-mnist
3a60dc6061b29a33bf449500b3875963d1ea97af
[ "MIT" ]
null
null
null
mnist_softmax_test.py
cnishina/tf-mnist
3a60dc6061b29a33bf449500b3875963d1ea97af
[ "MIT" ]
null
null
null
import mnist_softmax import unittest class MnistSoftmaxTest(unittest.TestCase): """MNIST softmax tests""" def test_find_accuracy(self): mnistSoftmax = mnist_softmax.MnistSoftmax() accuracy = mnistSoftmax.find_accuracy() # Test for acceptance. This should be roughly 92% self.as...
28.538462
65
0.706199
42
371
6.119048
0.642857
0.140078
0
0
0
0
0
0
0
0
0
0.023729
0.204852
371
12
66
30.916667
0.847458
0.183288
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8c66cb8df80fed9a916c11857df81de909991baa
1,941
py
Python
mirai.py
vexuas/mirai
4422530bbe27d20cc0971bdb0a090378a95dc942
[ "MIT" ]
null
null
null
mirai.py
vexuas/mirai
4422530bbe27d20cc0971bdb0a090378a95dc942
[ "MIT" ]
null
null
null
mirai.py
vexuas/mirai
4422530bbe27d20cc0971bdb0a090378a95dc942
[ "MIT" ]
null
null
null
import asyncio import discord; import json import datetime; from database.countdown_db import CountdownDatabase from helpers import Helpers from timer.timer import Timer; mirai = discord.Bot(); # Reads config json file with open("config/mirai.json") as file: config = json.load(file); # Event handlers @mirai.e...
36.622642
108
0.760433
265
1,941
5.445283
0.433962
0.066528
0.02079
0.030492
0
0
0
0
0
0
0
0.010837
0.144256
1,941
52
109
37.326923
0.856111
0.27357
0
0
0
0
0.075768
0
0
0
0
0.019231
0
1
0
false
0
0.205882
0
0.205882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8c7025b94bf4e7383e75dc15a1f5d8de8c00e505
2,099
py
Python
authomize/rest_api_client/client/client.py
authomize/connectors-rest-api-client
ed13f23f86fa3d974fc05243f5d72e838c9b9f05
[ "MIT" ]
15
2022-01-13T11:18:50.000Z
2022-01-14T11:04:47.000Z
authomize/rest_api_client/client/client.py
authomize/connectors-rest-api-client
ed13f23f86fa3d974fc05243f5d72e838c9b9f05
[ "MIT" ]
2
2022-02-17T11:09:59.000Z
2022-02-17T15:26:08.000Z
authomize/rest_api_client/client/client.py
authomize/connectors-rest-api-client
ed13f23f86fa3d974fc05243f5d72e838c9b9f05
[ "MIT" ]
null
null
null
from apiclient_pydantic import serialize_all_methods, serialize_response from authomize.rest_api_client.client.base_client import BaseClient from authomize.rest_api_client.generated.schemas import ( BundleTransactionSchema, ItemsBundleSchema, MeResponse, RestApiConnectorListSchema, SubmitResponse, ...
36.189655
99
0.694616
224
2,099
6.276786
0.236607
0.125178
0.084637
0.119488
0.652916
0.571835
0.571835
0.547653
0.512802
0.512802
0
0.003663
0.219628
2,099
57
100
36.824561
0.854701
0
0
0.367347
1
0
0.189138
0.110052
0
0
0
0
0
1
0.122449
false
0
0.061224
0.040816
0.326531
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8c75911cef8386089ea30a3f4bbf930e8798a1ed
3,195
py
Python
src/annalist_root/annalist/models/collectionvocabcache.py
gklyne/annalist
82e7ef2d56a400325e7618fa9e590072ee8a71d3
[ "MIT" ]
18
2015-02-20T23:09:13.000Z
2020-11-13T06:06:43.000Z
src/annalist_root/annalist/models/collectionvocabcache.py
gklyne/annalist
82e7ef2d56a400325e7618fa9e590072ee8a71d3
[ "MIT" ]
30
2015-01-03T09:56:28.000Z
2021-06-10T20:58:55.000Z
src/annalist_root/annalist/models/collectionvocabcache.py
gklyne/annalist
82e7ef2d56a400325e7618fa9e590072ee8a71d3
[ "MIT" ]
5
2015-02-02T09:01:23.000Z
2018-06-14T20:05:28.000Z
from __future__ import unicode_literals from __future__ import absolute_import, division, print_function """ This module is used to cache per-collection vocabulary namespace information. """ __author__ = "Graham Klyne (GK@ACM.ORG)" __copyright__ = "Copyright 2017, G. Klyne" __license__ = "MIT (http://opens...
34.354839
92
0.663224
342
3,195
6
0.342105
0.092593
0.025341
0.026316
0.30848
0.291423
0.291423
0.225146
0.178363
0.178363
0
0.001625
0.229734
3,195
92
93
34.728261
0.832182
0.412207
0
0
0
0
0.057272
0
0
0
0
0
0
1
0.233333
false
0
0.266667
0
0.766667
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8c77b32be8a00ab9d82d0f868f5a00523cc51b02
10,949
py
Python
algebra_linear_no_python_colab.py
lodaniel/algebra_linear_python
6778eb18b3c81ebe921e3d1db81c6e121745fbdb
[ "Apache-2.0" ]
null
null
null
algebra_linear_no_python_colab.py
lodaniel/algebra_linear_python
6778eb18b3c81ebe921e3d1db81c6e121745fbdb
[ "Apache-2.0" ]
null
null
null
algebra_linear_no_python_colab.py
lodaniel/algebra_linear_python
6778eb18b3c81ebe921e3d1db81c6e121745fbdb
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Algebra_Linear_no_Python-Colab.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/18WA6PXajjsR3ipWb-9c5dfxojLcI6QMv # **Álgebra Linear** """ import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d imp...
18.187708
86
0.539775
2,133
10,949
2.764182
0.116737
0.066486
0.032564
0.022897
0.531377
0.462347
0.414688
0.376696
0.36194
0.321235
0
0.097817
0.154991
10,949
602
87
18.187708
0.539451
0.040826
0
0.355556
1
0
0.189677
0
0
0
0
0.001661
0
1
0
false
0
0.009524
0
0.009524
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8c7e4a29ffa7a595cb676cef3be6034a9f1cefb6
1,431
py
Python
profiles/management/commands/createdefaultsuperuser.py
cds-snc/covid-alert-portal
e7d56fa9fa4a2ad2d60f056eae063713661bd260
[ "MIT" ]
43
2020-07-31T14:38:06.000Z
2022-03-07T11:28:28.000Z
profiles/management/commands/createdefaultsuperuser.py
cds-snc/covid-alert-portal
e7d56fa9fa4a2ad2d60f056eae063713661bd260
[ "MIT" ]
322
2020-07-23T19:38:26.000Z
2022-03-31T19:15:45.000Z
profiles/management/commands/createdefaultsuperuser.py
cds-snc/covid-alert-portal
e7d56fa9fa4a2ad2d60f056eae063713661bd260
[ "MIT" ]
6
2020-11-28T19:30:20.000Z
2021-07-29T18:06:55.000Z
from portal.settings import SU_DEFAULT_PASSWORD from django.contrib.auth.password_validation import validate_password from django.core.management.base import BaseCommand from profiles.models import HealthcareUser SU_EXISTS = HealthcareUser.objects.filter(name="hcw_portal_admin").exists() class Command(BaseCommand): ...
44.71875
128
0.696716
174
1,431
5.58046
0.477011
0.046344
0.087539
0.058702
0.167868
0.095778
0
0
0
0
0
0.011691
0.222921
1,431
31
129
46.16129
0.861511
0.246681
0
0
0
0
0.148459
0
0
0
0
0
0
1
0.090909
false
0.227273
0.181818
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8c870d877dc281273a05b326c2c4a2e68536f2e0
2,223
py
Python
aniso/utils.py
gianmatharu/Aniso
38992b23a8a5b78ed79e5823d91a7f082d87042d
[ "MIT" ]
2
2021-12-09T00:22:34.000Z
2022-03-23T09:13:42.000Z
aniso/utils.py
gianmatharu/Aniso
38992b23a8a5b78ed79e5823d91a7f082d87042d
[ "MIT" ]
null
null
null
aniso/utils.py
gianmatharu/Aniso
38992b23a8a5b78ed79e5823d91a7f082d87042d
[ "MIT" ]
null
null
null
import numpy as np from scipy.ndimage.filters import gaussian_filter # math utilities def eigsorted(A): """ Return sorted eigenvalues and eigenvectors. ...
41.166667
116
0.37022
174
2,223
4.678161
0.454023
0.029484
0.04914
0.051597
0.117936
0.063882
0
0
0
0
0
0.012195
0.557355
2,223
54
117
41.166667
0.815041
0.308592
0
0.083333
0
0
0.044331
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.458333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
1
8c8b2751be1e534b9ab135fe1b44f2206e70730a
305
py
Python
algorithms/665. Non-decreasing Array.py
vuzway9132/leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
1
2020-12-02T13:54:30.000Z
2020-12-02T13:54:30.000Z
algorithms/665. Non-decreasing Array.py
vuzway9132/leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
null
null
null
algorithms/665. Non-decreasing Array.py
vuzway9132/leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
null
null
null
class Solution: def checkPossibility(self, nums: List[int]) -> bool: count = 0 for i in range(1, len(nums)): if nums[i] < nums[i-1]: count += 1 if count == 2: return False if i-2 >= 0 and nums[i] < nums[i-2]: nums[i] = nums[i-1] return True
25.416667
54
0.504918
48
305
3.208333
0.479167
0.194805
0.175325
0.194805
0.142857
0
0
0
0
0
0
0.045226
0.347541
305
11
55
27.727273
0.728643
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.363636
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8c8c30a84611335d1bb69e835fe95c3ea32760d4
852
py
Python
tasks/mrc_ner/data_preprocess/query_map.py
ShannonAI/dice_loss_for_NLP
d437bb999185535df46fdb74d1f2f57161331b44
[ "Apache-2.0" ]
143
2020-04-25T11:23:10.000Z
2022-03-30T14:49:21.000Z
tasks/mrc_ner/data_preprocess/query_map.py
ShannonAI/dice_loss_for_NLP
d437bb999185535df46fdb74d1f2f57161331b44
[ "Apache-2.0" ]
17
2021-04-12T19:11:58.000Z
2022-02-21T02:42:56.000Z
tasks/mrc_ner/data_preprocess/query_map.py
ShannonAI/dice_loss_for_NLP
d437bb999185535df46fdb74d1f2f57161331b44
[ "Apache-2.0" ]
26
2021-03-26T08:05:37.000Z
2022-03-15T07:28:38.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # file: query_map.py # --------------------------------------------- # query collections for different dataset # --------------------------------------------- en_conll03_query = { "default": { "ORG": "organization entities are limited to named corporate, gove...
34.08
193
0.615023
91
852
5.67033
0.725275
0.052326
0.062016
0
0
0
0
0
0
0
0
0.011396
0.176056
852
24
194
35.5
0.723647
0.2277
0
0
0
0.083333
0.710324
0
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
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8c8c5ce3965447a7b00221c37bdbedae9ae97af8
4,229
py
Python
tests/units/test_transaction_write.py
deniskoronchik/neo4j-platform
3a4979d1fad6adc358171b8c8b8657ec5aa6a7c7
[ "MIT" ]
null
null
null
tests/units/test_transaction_write.py
deniskoronchik/neo4j-platform
3a4979d1fad6adc358171b8c8b8657ec5aa6a7c7
[ "MIT" ]
null
null
null
tests/units/test_transaction_write.py
deniskoronchik/neo4j-platform
3a4979d1fad6adc358171b8c8b8657ec5aa6a7c7
[ "MIT" ]
null
null
null
from unittest import result from tests.memory_case import MemoryTestCase from sc import ElementID class TestCommon(MemoryTestCase): def test_duplicate_alias(self): tr = self.memory.create_write_transaction() tr.create_node("alias") self.assertRaises(KeyError, tr.create_node, "alias") def test_no_ali...
28.006623
74
0.694254
565
4,229
4.984071
0.123894
0.082386
0.080966
0.089489
0.745384
0.728693
0.590554
0.53267
0.496804
0.496804
0
0.005152
0.1738
4,229
150
75
28.193333
0.800801
0
0
0.651786
0
0
0.055805
0
0
0
0
0
0.294643
1
0.098214
false
0
0.026786
0
0.151786
0
0
0
0
null
0
0
0
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
0
0
0
0
0
0
0
0
1
8c8cc025752c1ae165d60dc86714864e1f2e367e
676
py
Python
tgext/rq/redis_config.py
eureciclo/tgext.rq
9146ba1ab42aef2f93bc4c81c359ce4fed695a69
[ "MIT" ]
null
null
null
tgext/rq/redis_config.py
eureciclo/tgext.rq
9146ba1ab42aef2f93bc4c81c359ce4fed695a69
[ "MIT" ]
null
null
null
tgext/rq/redis_config.py
eureciclo/tgext.rq
9146ba1ab42aef2f93bc4c81c359ce4fed695a69
[ "MIT" ]
null
null
null
import os from tg import config from redis import Redis class RedisConfig: def url(self): redis_url = config.get('redis.url', os.getenv('REDIS_URL')) if redis_url == None: raise Exception("""redis.url config or REDIS_URL env var not set.""" """Redis cannot be found.""")...
30.727273
89
0.64497
92
676
4.586957
0.413043
0.170616
0.056872
0
0
0
0
0
0
0
0
0.005941
0.252959
676
21
90
32.190476
0.829703
0
0
0
0
0
0.141975
0.04321
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8c938fc1bd706dfae5457cc2423b396d6bfbec04
2,960
py
Python
cloudbio/custom/bio_proteomics_wine.py
kokyriakidis/cloudbiolinux
a318ecbade2b27e23c275601571b1b19c8842d7a
[ "MIT" ]
122
2015-01-04T13:23:27.000Z
2022-01-18T22:52:12.000Z
cloudbio/custom/bio_proteomics_wine.py
kokyriakidis/cloudbiolinux
a318ecbade2b27e23c275601571b1b19c8842d7a
[ "MIT" ]
170
2015-02-09T18:03:49.000Z
2021-11-14T02:32:09.000Z
cloudbio/custom/bio_proteomics_wine.py
kokyriakidis/cloudbiolinux
a318ecbade2b27e23c275601571b1b19c8842d7a
[ "MIT" ]
107
2015-01-06T06:10:04.000Z
2022-02-10T17:25:34.000Z
from fabric.api import cd from shared import (_make_tmp_dir, _fetch_and_unpack, _write_to_file, _get_bin_dir) import os def install_proteomics_wine_env(env): script_src = env.get("setup_proteomics_wine_env_script") script_dest = "%s/bin/setup_proteomics_wine_env.sh" % env.get("system_install") if not en...
35.662651
154
0.683108
431
2,960
4.36891
0.308585
0.038237
0.054169
0.036113
0.304833
0.22411
0.200743
0.200743
0.200743
0.200743
0
0.017717
0.180068
2,960
82
155
36.097561
0.758138
0.028041
0
0.237288
0
0.033898
0.290865
0.072454
0
0
0
0.012195
0
1
0.135593
false
0
0.050847
0.033898
0.237288
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8c962dd20e8c2dddea5f18797a41b645d50e7abc
956
py
Python
tests/test_setro.py
renukamanavalan/sonic-swss
d9314ddc5f4dd8ab630d67910c750a9c7e1da6d4
[ "Apache-2.0" ]
null
null
null
tests/test_setro.py
renukamanavalan/sonic-swss
d9314ddc5f4dd8ab630d67910c750a9c7e1da6d4
[ "Apache-2.0" ]
1
2018-06-09T01:06:34.000Z
2018-06-09T01:06:34.000Z
tests/test_setro.py
renukamanavalan/sonic-swss
d9314ddc5f4dd8ab630d67910c750a9c7e1da6d4
[ "Apache-2.0" ]
1
2019-07-16T07:56:40.000Z
2019-07-16T07:56:40.000Z
from swsscommon import swsscommon import time import json import redis from pprint import pprint def test_SetReadOnlyAttribute(dvs, testlog): db = swsscommon.DBConnector(swsscommon.ASIC_DB, dvs.redis_sock, 0) tbl = swsscommon.Table(db, "ASIC_STATE:SAI_OBJECT_TYPE_SWITCH") keys = tbl.getKeys() asser...
23.317073
78
0.713389
132
956
4.984848
0.568182
0.027356
0.048632
0.057751
0
0
0
0
0
0
0
0.006443
0.188285
956
40
79
23.9
0.841495
0.106695
0
0
0
0
0.168038
0.125734
0
0
0
0
0.095238
0
null
null
0
0.238095
null
null
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8ca48b48a0de56296824d5af991a8c425b804829
456
py
Python
mailing/migrations/0012_subscription_date_joined.py
Aladom/django-mailing
aa18963b1902e4b7f066b0064a832e26e725f643
[ "MIT" ]
null
null
null
mailing/migrations/0012_subscription_date_joined.py
Aladom/django-mailing
aa18963b1902e4b7f066b0064a832e26e725f643
[ "MIT" ]
13
2016-02-04T14:56:11.000Z
2021-06-10T20:39:51.000Z
mailing/migrations/0012_subscription_date_joined.py
Aladom/django-mailing
aa18963b1902e4b7f066b0064a832e26e725f643
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-05-30 09:42 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('mailing', '0011_subscription_last_modified'), ] operations = [ migrations.AddField( model_name='sub...
22.8
74
0.644737
49
456
5.897959
0.755102
0.076125
0.131488
0
0
0
0
0
0
0
0
0.055394
0.247807
456
19
75
24
0.787172
0.098684
0
0
1
0
0.149144
0.075795
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8cac0313795552320b0194516627a58b53f589eb
753
py
Python
api/resources/login.py
abhishekmulay/careermate-apis
eeccb703d3e997fba2996f464f127f6fc2a308b2
[ "MIT" ]
null
null
null
api/resources/login.py
abhishekmulay/careermate-apis
eeccb703d3e997fba2996f464f127f6fc2a308b2
[ "MIT" ]
null
null
null
api/resources/login.py
abhishekmulay/careermate-apis
eeccb703d3e997fba2996f464f127f6fc2a308b2
[ "MIT" ]
null
null
null
from flask_restful import Resource, reqparse from api.common.util import ResponseUtil class Login(Resource): def post(self): parser = reqparse.RequestParser() parser.add_argument('username', required=True, help="Username cannot be blank!") parser.add_argument('password', required=True, hel...
34.227273
95
0.652058
84
753
5.761905
0.511905
0.03719
0.070248
0.123967
0
0
0
0
0
0
0
0.005291
0.247012
753
21
96
35.857143
0.848325
0
0
0
0
0
0.176627
0
0
0
0
0
0
1
0.058824
false
0.294118
0.117647
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8cb788d9ec78283ef3f828a5ce34790055cc377b
577
py
Python
setup.py
Torvaney/chainplot
02402ac1e9752fc519b8227d102ee5da25f107fc
[ "MIT" ]
1
2017-03-06T12:43:03.000Z
2017-03-06T12:43:03.000Z
setup.py
Torvaney/chainplot
02402ac1e9752fc519b8227d102ee5da25f107fc
[ "MIT" ]
null
null
null
setup.py
Torvaney/chainplot
02402ac1e9752fc519b8227d102ee5da25f107fc
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='chainplot', packages=find_packages(), version='0.2.1', description='A(nother) matplotlib wrapper', author='Ben Torvaney', author_email='btorvaney@gmail.com', url='https://github.com/torvaney/chainplot', download_url='https://githu...
26.227273
69
0.611785
71
577
4.901408
0.619718
0.068966
0.08046
0.097701
0.195402
0.195402
0
0
0
0
0
0.05
0.202773
577
21
70
27.47619
0.706522
0
0
0
0
0
0.421144
0
0
0
0
0
0
1
0
true
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8cb9b55439920503177774376b95d935ca99b9ef
25,948
py
Python
borax/calendars/lunardate.py
kinegratii/borax
3595f554b788c31d0f07be4099db68c854db65f7
[ "MIT" ]
51
2018-04-18T13:52:15.000Z
2022-03-23T13:46:02.000Z
borax/calendars/lunardate.py
kinegratii/borax
3595f554b788c31d0f07be4099db68c854db65f7
[ "MIT" ]
26
2019-05-26T02:22:34.000Z
2022-03-14T07:50:32.000Z
borax/calendars/lunardate.py
kinegratii/borax
3595f554b788c31d0f07be4099db68c854db65f7
[ "MIT" ]
7
2018-09-30T08:17:29.000Z
2020-12-16T01:49:24.000Z
# coding=utf8 import re import datetime import warnings from .store import ( EncoderMixin, f_year, f_month, f_day, f_leap ) from typing import Optional, Iterator, Tuple __all__ = ['LunarDate', 'LCalendars', 'InvalidLunarDateError'] # Exception class InvalidLunarDateError(ValueError): # The InvalidLunarDat...
38.327917
120
0.647526
2,773
25,948
5.862243
0.194374
0.017163
0.00812
0.00689
0.281804
0.201157
0.138287
0.118356
0.065084
0.054626
0
0.31013
0.23154
25,948
676
121
38.384615
0.505065
0.042585
0
0.177606
0
0
0.230962
0.200842
0
0
0.056961
0
0
1
0.15251
false
0.001931
0.009653
0.067568
0.362934
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8cba48455d1d06947a7f0fad31fb1ec42891e639
3,148
py
Python
tests/test_data/test_sampler.py
kiyoon/Video-Swin-Transformer
7a0d40ced8fb52c064d1cd11ffa8b0c3bbb77607
[ "Apache-2.0" ]
648
2021-06-24T19:33:09.000Z
2022-03-31T06:27:24.000Z
tests/test_data/test_sampler.py
kiyoon/Video-Swin-Transformer
7a0d40ced8fb52c064d1cd11ffa8b0c3bbb77607
[ "Apache-2.0" ]
53
2021-07-01T03:07:52.000Z
2022-03-27T16:15:29.000Z
tests/test_data/test_sampler.py
kiyoon/Video-Swin-Transformer
7a0d40ced8fb52c064d1cd11ffa8b0c3bbb77607
[ "Apache-2.0" ]
117
2021-06-25T01:22:32.000Z
2022-03-31T08:33:55.000Z
from torch.utils.data import DataLoader, Dataset from mmaction.datasets.samplers import (ClassSpecificDistributedSampler, DistributedSampler) class MyDataset(Dataset): def __init__(self, class_prob={i: 1 for i in range(10)}): super().__init__() self.class_...
32.791667
72
0.662008
400
3,148
5.0475
0.1725
0.069341
0.062407
0.093611
0.753839
0.699851
0.687964
0.687964
0.687964
0.643388
0
0.025255
0.22014
3,148
95
73
33.136842
0.797149
0
0
0.555556
0
0
0.008895
0
0
0
0
0
0.194444
1
0.069444
false
0
0.027778
0.027778
0.138889
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8cbaddaa45bb8fbf3135d878ca2cf933d35e8f68
347
py
Python
pygotcha2015/pygotcha/exercises/syntaxkwargs.py
pythonhacker/talks
fa2a99af38d7092498eefb39940701a1ac10b6c2
[ "MIT" ]
2
2018-10-14T19:13:01.000Z
2019-02-14T06:07:10.000Z
pygotcha2015/pygotcha/exercises/syntaxkwargs.py
Vasistareddy/talks
fa2a99af38d7092498eefb39940701a1ac10b6c2
[ "MIT" ]
null
null
null
pygotcha2015/pygotcha/exercises/syntaxkwargs.py
Vasistareddy/talks
fa2a99af38d7092498eefb39940701a1ac10b6c2
[ "MIT" ]
3
2018-10-14T19:12:32.000Z
2019-02-28T17:30:00.000Z
""" Fix the syntax for positional & keyword arguments. """ def foo(*args, lang='Python'): """ Print something nice about my favorite programming language """ msg = ' '.join(args) output = ' '.join((msg, kwargs.get('lang', 'Python'))) print output if __name__ == "__main__": foo('I love','It is ...
19.277778
71
0.616715
43
347
4.790698
0.767442
0.145631
0.145631
0
0
0
0
0
0
0
0
0
0.204611
347
17
72
20.411765
0.746377
0
0
0
0
0
0.237443
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8cc93ede47840ed580b7baf1cd73742188fd3e30
916
py
Python
chapter 1/lessons/hello.py
JonTheBurger/python_class
586ac912f5603e64cf8d117f9e6c0820af8daeb2
[ "MIT" ]
1
2017-03-13T20:09:46.000Z
2017-03-13T20:09:46.000Z
chapter 1/lessons/hello.py
JonTheBurger/python_class
586ac912f5603e64cf8d117f9e6c0820af8daeb2
[ "MIT" ]
null
null
null
chapter 1/lessons/hello.py
JonTheBurger/python_class
586ac912f5603e64cf8d117f9e6c0820af8daeb2
[ "MIT" ]
null
null
null
# Lesson 1 # This is a comment. It's ignored by the Python interpreter. # We use comments to document our code. """ This is a multi-line comment. """ # We can use the print function to display text to the terminal. print('hello world!') # This declares a "variable" named 'num' with the value 5. num = 5 # Numbers can ...
26.171429
115
0.700873
158
916
4.063291
0.487342
0.031153
0.021807
0
0
0
0
0
0
0
0
0.006831
0.200873
916
34
116
26.941176
0.870219
0.789301
0
0.222222
0
0
0.244186
0
0
0
0
0
0
1
0
false
0
0
0
0
0.555556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
8cd14d4fe94d9057b61ed6a5b7f6f1d0c570d78e
1,566
py
Python
cralwer/resolver.py
GamjaPower/threat_intel
57416cb6f0e8adc58e58701c9e39cab7ef968d3f
[ "MIT" ]
null
null
null
cralwer/resolver.py
GamjaPower/threat_intel
57416cb6f0e8adc58e58701c9e39cab7ef968d3f
[ "MIT" ]
null
null
null
cralwer/resolver.py
GamjaPower/threat_intel
57416cb6f0e8adc58e58701c9e39cab7ef968d3f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' Created on 2019. 3. 29. @author: jason96 ''' import dns.resolver import time dns.resolver.timeout = 1 dns.resolver.lifetime = 1 def load_threat_intel_domain(): domains = [] with open('crawler_threat_intel_domain.txt') as f: for x in f.readlines(): x = x.repl...
29.54717
74
0.458493
162
1,566
4.234568
0.512346
0.12828
0.173469
0.061224
0.163265
0
0
0
0
0
0
0.093154
0.431034
1,566
52
75
30.115385
0.676768
0.01341
0
0
0
0
0.110442
0.038822
0
0
0
0
0
0
null
null
0.028571
0.057143
null
null
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8cd170ddca642aa95a8b99c36aebf4828e052d47
348
py
Python
snakeskin/crypto.py
healthverity/snakeskin-fabric
31ba7fa5a71445eba76f89723c998d603704e0f9
[ "Apache-2.0" ]
5
2019-08-08T17:16:02.000Z
2021-05-15T07:28:31.000Z
snakeskin/crypto.py
healthverity/snakeskin-fabric
31ba7fa5a71445eba76f89723c998d603704e0f9
[ "Apache-2.0" ]
4
2019-08-20T15:07:12.000Z
2020-07-31T17:50:51.000Z
snakeskin/crypto.py
healthverity/snakeskin-fabric
31ba7fa5a71445eba76f89723c998d603704e0f9
[ "Apache-2.0" ]
2
2019-08-20T15:22:48.000Z
2019-12-17T19:38:55.000Z
""" Cryptography logic """ from ._hfc.crypto import ecies class CryptoSuite: # pylint: disable=too-few-public-methods """ A singleton that can be used to access cryptography suites """ default = ecies() @classmethod def set_default(cls, default): """ Sets the default crypto suite """ ...
20.470588
70
0.655172
41
348
5.512195
0.780488
0.088496
0
0
0
0
0
0
0
0
0
0
0.238506
348
16
71
21.75
0.85283
0.428161
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8cd27432a25bfdee74300bb0bcd3d67f09c800d6
2,592
py
Python
backup/guitemplates/creatingsessiondialog.py
calebtrahan/KujiIn_Python
0599d36993fa1d5988a4cf3206a12fdbe63781d8
[ "MIT" ]
null
null
null
backup/guitemplates/creatingsessiondialog.py
calebtrahan/KujiIn_Python
0599d36993fa1d5988a4cf3206a12fdbe63781d8
[ "MIT" ]
null
null
null
backup/guitemplates/creatingsessiondialog.py
calebtrahan/KujiIn_Python
0599d36993fa1d5988a4cf3206a12fdbe63781d8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'creatingsessiondialog.ui' # # Created: Wed Jun 17 18:46:15 2015 # by: PyQt4 UI code generator 4.11.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8...
48
115
0.755787
234
2,592
8.303419
0.440171
0.05404
0.041173
0.057643
0.084406
0.084406
0.084406
0.084406
0.084406
0.084406
0
0.032638
0.14892
2,592
53
116
48.90566
0.848141
0.087191
0
0.157895
1
0
0.103521
0.039033
0
0
0
0
0
1
0.131579
false
0
0.026316
0.078947
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8cd27787f5b5c054e1e597077d7c23ce4bfacb72
2,236
py
Python
mapillary-tools/add_fix_dates.py
mgottholsen/cynefin
acb45635c8e99d758ff18917123cc50a4c916981
[ "MIT" ]
null
null
null
mapillary-tools/add_fix_dates.py
mgottholsen/cynefin
acb45635c8e99d758ff18917123cc50a4c916981
[ "MIT" ]
null
null
null
mapillary-tools/add_fix_dates.py
mgottholsen/cynefin
acb45635c8e99d758ff18917123cc50a4c916981
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import os import datetime from lib.exifedit import ExifEdit ''' Script for adding dates to jpg files extracted from video with no tags. if you have a directory of files provide the directory, the datetime for the first file, and an increment in seconds. Ie if the photos are taken ever...
33.373134
108
0.666816
338
2,236
4.284024
0.440828
0.055939
0.037293
0.023481
0.026243
0
0
0
0
0
0
0.015535
0.222719
2,236
67
109
33.373134
0.817606
0.018784
0
0
0
0.029412
0.135424
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8cda6030527996fdc5e7400b55bc7fc17179c071
1,546
py
Python
app_portfolio_contact/views.py
MichaelDoctor/Portfolio
41d9104ef6d34f8eb146230b19038b445351c713
[ "MIT" ]
null
null
null
app_portfolio_contact/views.py
MichaelDoctor/Portfolio
41d9104ef6d34f8eb146230b19038b445351c713
[ "MIT" ]
4
2021-06-09T18:02:18.000Z
2022-01-13T03:06:24.000Z
app_portfolio_contact/views.py
MichaelDoctor/Portfolio
41d9104ef6d34f8eb146230b19038b445351c713
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework.generics import RetrieveAPIView from .models import Contact from .serializers import ContactSerializer from rest_framework import permissions from rest_framework.response import Response from rest_framework.exceptions import APIException from django.core.mai...
31.55102
79
0.633247
146
1,546
6.589041
0.472603
0.04158
0.088358
0
0
0
0
0
0
0
0
0.002667
0.272316
1,546
48
80
32.208333
0.852444
0
0
0.052632
0
0
0.128072
0.033635
0
0
0
0
0
1
0.026316
false
0
0.210526
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8ce28a45b64dfd653bcb5aea7eaa5e9b574e5a00
400
py
Python
src/waldur_mastermind/support/migrations/0017_alter_requesttype_fields.py
opennode/nodeconductor-assembly-waldur
cad9966389dc9b52b13d2301940c99cf4b243900
[ "MIT" ]
2
2017-01-20T15:26:25.000Z
2017-08-03T04:38:08.000Z
src/waldur_mastermind/support/migrations/0017_alter_requesttype_fields.py
opennode/nodeconductor-assembly-waldur
cad9966389dc9b52b13d2301940c99cf4b243900
[ "MIT" ]
null
null
null
src/waldur_mastermind/support/migrations/0017_alter_requesttype_fields.py
opennode/nodeconductor-assembly-waldur
cad9966389dc9b52b13d2301940c99cf4b243900
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2022-01-31 14:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('support', '0016_requesttype_fields'), ] operations = [ migrations.AlterField( model_name='requesttype', name='fields',...
21.052632
61
0.6075
41
400
5.853659
0.804878
0
0
0
0
0
0
0
0
0
0
0.0625
0.28
400
18
62
22.222222
0.770833
0.1075
0
0
1
0
0.132394
0.064789
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8ceba34a4a6d4109802e7c5df3d85493a7d96573
12,452
py
Python
dnload/glsl_block_source.py
Konsonanz/dnload
52668c73339f6d11b54c8b41e6fe3ba6c4ef6b77
[ "BSD-3-Clause" ]
63
2016-11-03T09:13:58.000Z
2022-03-29T12:54:58.000Z
dnload/glsl_block_source.py
Konsonanz/dnload
52668c73339f6d11b54c8b41e6fe3ba6c4ef6b77
[ "BSD-3-Clause" ]
6
2018-07-27T18:21:25.000Z
2021-03-19T08:04:07.000Z
dnload/glsl_block_source.py
Konsonanz/dnload
52668c73339f6d11b54c8b41e6fe3ba6c4ef6b77
[ "BSD-3-Clause" ]
10
2016-07-27T17:03:00.000Z
2021-03-13T19:34:36.000Z
import re import os from dnload.common import generate_temporary_filename from dnload.common import is_verbose from dnload.common import variablize from dnload.glsl_block import GlslBlock from dnload.glsl_block_preprocessor import glsl_parse_preprocessor from dnload.glsl_block_inout import is_glsl_block_inout_typed fr...
36.516129
191
0.598378
1,426
12,452
4.991585
0.167602
0.029503
0.014611
0.010677
0.266226
0.216353
0.17519
0.153835
0.141191
0.141191
0
0.001071
0.25008
12,452
340
192
36.623529
0.761191
0.129939
0
0.297619
1
0
0.156645
0.043046
0
0
0
0
0.003968
1
0.107143
false
0
0.047619
0.003968
0.301587
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8cefc14173f54c5cca8daababe88e1ea4f636b45
5,587
py
Python
venv/Lib/site-packages/foreman/objects.py
GarySparrow/mFlaskWeb
c908112e44013cbaabdea2b2f693ef5ec6551ca2
[ "MIT" ]
10
2015-11-04T20:26:47.000Z
2021-07-03T16:51:53.000Z
venv/Lib/site-packages/foreman/objects.py
GarySparrow/mFlaskWeb
c908112e44013cbaabdea2b2f693ef5ec6551ca2
[ "MIT" ]
5
2015-11-25T20:47:01.000Z
2019-01-04T12:36:50.000Z
vsurfree/lib/python2.7/site-packages/foreman/objects.py
yokeshrana/SurfFree
ab3d0f6d3a3eb06bd532ac2b4f8c0950608b90ba
[ "MIT" ]
6
2016-05-28T14:26:19.000Z
2021-02-03T21:41:52.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
32.109195
75
0.594774
620
5,587
5.256452
0.275806
0.019331
0.031298
0.02915
0.129181
0.120589
0.088678
0.077324
0.054004
0.054004
0
0.002382
0.323608
5,587
173
76
32.294798
0.860016
0.128871
0
0.084507
0
0
0.003487
0
0
0
0
0
0
0
null
null
0
0.028169
null
null
0.014085
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8cf2633feb4385474faa9478ea638ad855fe38a9
54,685
py
Python
pypeit/coadd2d.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
null
null
null
pypeit/coadd2d.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
null
null
null
pypeit/coadd2d.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
null
null
null
""" Module for performing two-dimensional coaddition of spectra. .. include common links, assuming primary doc root is up one directory .. include:: ../include/links.rst """ import os import copy from IPython import embed import numpy as np from scipy import ndimage from matplotlib import pyplot as plt from pypeit ...
48.011414
142
0.603438
6,825
54,685
4.649963
0.12
0.011028
0.018843
0.008508
0.388392
0.324458
0.281384
0.248393
0.218742
0.195362
0
0.007559
0.30566
54,685
1,138
143
48.053603
0.828259
0.337935
0
0.201479
0
0
0.076996
0.00733
0
0
0
0.015817
0
1
0.044362
false
0.009242
0.033272
0
0.123845
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5066dbd0b4169fbe8471aa06189d787a16640ea1
789
py
Python
tests/utils.py
Showmax/prometheus-es-exporter
6284b5c948222e177c19d1283948a064f9ba57bf
[ "MIT" ]
null
null
null
tests/utils.py
Showmax/prometheus-es-exporter
6284b5c948222e177c19d1283948a064f9ba57bf
[ "MIT" ]
null
null
null
tests/utils.py
Showmax/prometheus-es-exporter
6284b5c948222e177c19d1283948a064f9ba57bf
[ "MIT" ]
1
2018-10-23T11:51:15.000Z
2018-10-23T11:51:15.000Z
from prometheus_es_exporter import format_metric_name, format_label_value def format_label(key, value_list): return key + '="' + format_label_value(value_list) + '"' def format_metric(name_list, label_dict): name = format_metric_name(name_list) if len(label_dict) > 0: sorted_keys = sorted(label...
27.206897
81
0.674271
106
789
4.735849
0.386792
0.10757
0.12749
0.101594
0.169323
0.115538
0
0
0
0
0
0.001629
0.2218
789
28
82
28.178571
0.815961
0.145754
0
0
0
0
0.008942
0
0
0
0
0
0
1
0.166667
false
0
0.055556
0.111111
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
506925d7a0982d6e5d448dd157a33efcc20a8718
3,384
py
Python
tic_tac_die.py
neilk/tic_tac_die
e4188158eeb2024f479a7939a5091ab1fe0dde6c
[ "MIT" ]
null
null
null
tic_tac_die.py
neilk/tic_tac_die
e4188158eeb2024f479a7939a5091ab1fe0dde6c
[ "MIT" ]
null
null
null
tic_tac_die.py
neilk/tic_tac_die
e4188158eeb2024f479a7939a5091ab1fe0dde6c
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys game = [None] * 9 turn = 1 WIN_COMBOS = [ [0,1,2], [3,4,5], [6,7,8], [0,3,6], [1,4,7], [2,5,8], [0,4,8], [2,4,6] ] def repr_square(game, i): if game[i] == 1: return 'X' elif game[i] == 0: return 'O' else: return ' ' ...
19.227273
70
0.506797
483
3,384
3.42236
0.238095
0.024198
0.024198
0.027223
0.139746
0.102238
0.030248
0
0
0
0
0.037518
0.385638
3,384
175
71
19.337143
0.757576
0.127364
0
0.137931
0
0
0.042648
0
0
0
0
0
0
0
null
null
0.008621
0.008621
null
null
0.112069
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
506cb0f7fdd8750f63e2851cb77757171cb86d7e
8,055
py
Python
jihanki/Fst.py
ZhangAustin/jihanki
7d5821668b97ab9a63c04cb82d0cedd04f108833
[ "BSD-2-Clause" ]
5
2017-11-14T04:30:42.000Z
2021-05-23T12:16:20.000Z
jihanki/Fst.py
ZhangAustin/jihanki
7d5821668b97ab9a63c04cb82d0cedd04f108833
[ "BSD-2-Clause" ]
null
null
null
jihanki/Fst.py
ZhangAustin/jihanki
7d5821668b97ab9a63c04cb82d0cedd04f108833
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import sys, re class SymbolTable( ): def __init__( self, symbols_list=[], eps="<eps>" ): self.eps = eps self.syms_to_ints = {eps:0} self.ints_to_syms = {0:eps} self._load_symbols( symbols_list ) def _load_symbols( self, symbols_list ): for...
33.5625
84
0.47424
879
8,055
4.192264
0.161547
0.046404
0.029308
0.041791
0.383718
0.313161
0.313161
0.289281
0.274627
0.251832
0
0.017304
0.41887
8,055
239
85
33.702929
0.769921
0.011173
0
0.38
0
0
0.028364
0
0
0
0
0
0
0
null
null
0
0.005
null
null
0.005
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
507c5b5aed61d7049c86f96b587924b8360b05a7
4,587
py
Python
py2/testdir_single_jvm/test_summary2_NY0.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2
2020-09-23T14:23:55.000Z
2020-09-23T19:26:30.000Z
py2/testdir_single_jvm/test_summary2_NY0.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2
2021-06-02T02:24:03.000Z
2021-11-15T17:51:49.000Z
py2/testdir_single_jvm/test_summary2_NY0.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
1
2020-04-17T13:06:26.000Z
2020-04-17T13:06:26.000Z
import unittest, time, sys, random, math, getpass sys.path.extend(['.','..','../..','py']) import h2o2 as h2o import h2o_cmd, h2o_import as h2i, h2o_util, h2o_print as h2p def write_syn_dataset(csvPathname, rowCount, colCount, SEED, choices): r1 = random.Random(SEED) dsf = open(csvPathname, "w+") naCnt = ...
36.11811
122
0.537388
525
4,587
4.590476
0.392381
0.006639
0.009959
0.013278
0.137344
0.054772
0.019917
0.019917
0.019917
0.019917
0
0.043186
0.318509
4,587
126
123
36.404762
0.727767
0.082625
0
0.189474
0
0
0.061443
0
0.010526
0
0
0
0.021053
0
null
null
0.010526
0.042105
null
null
0.073684
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
507f76113af6ed2b7474dd8541edc593d0ed0abf
5,882
py
Python
SBM_UTILITY.py
BrunoSauvalle/BB-SGD
3bb784ddfb4bc8261dcfca32fc3dd80d2c4df98f
[ "MIT" ]
null
null
null
SBM_UTILITY.py
BrunoSauvalle/BB-SGD
3bb784ddfb4bc8261dcfca32fc3dd80d2c4df98f
[ "MIT" ]
null
null
null
SBM_UTILITY.py
BrunoSauvalle/BB-SGD
3bb784ddfb4bc8261dcfca32fc3dd80d2c4df98f
[ "MIT" ]
null
null
null
import os import sys import imageio import SBM_Evaluate def Utility(GT_path, evaluated_path): ''' Function to evaulate the your results for SBMnet dataset, this code will generate a 'cm.txt' file in your result path to save all the metrics. input: GT_path: the path of the groundtruth folder. ...
41.716312
275
0.535192
808
5,882
3.667079
0.170792
0.0243
0.054674
0.050624
0.318934
0.168073
0.090449
0.090449
0.067499
0.033075
0
0.014443
0.352601
5,882
140
276
42.014286
0.763655
0.093336
0
0.132075
1
0
0.106742
0.009686
0
0
0
0
0
1
0.009434
false
0
0.037736
0
0.04717
0.056604
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
508260147f69f53727b89371ecf9b2812b0df5ca
3,623
py
Python
fitlins/conftest.py
poldracklab/fitlins
3f6cea2f18db176cbd471419313b974e2bcd52ed
[ "Apache-2.0" ]
60
2018-03-05T17:14:07.000Z
2022-03-25T22:08:57.000Z
fitlins/conftest.py
poldracklab/fitlins
3f6cea2f18db176cbd471419313b974e2bcd52ed
[ "Apache-2.0" ]
292
2018-03-07T16:28:22.000Z
2022-03-30T12:56:01.000Z
fitlins/conftest.py
poldracklab/fitlins
3f6cea2f18db176cbd471419313b974e2bcd52ed
[ "Apache-2.0" ]
34
2018-03-02T17:15:22.000Z
2021-10-02T18:48:19.000Z
import json import pytest from .generate_dset import DummyDerivatives @pytest.fixture(scope="session") def bids_dir(tmpdir_factory): return tmpdir_factory.mktemp("bids") @pytest.fixture(scope="session") def bids_dset(bids_dir): database_path = bids_dir.dirpath() / "dbcache" layout = DummyDerivatives(b...
33.546296
91
0.417334
281
3,623
5.142349
0.316726
0.080969
0.049827
0.070588
0.333564
0.307266
0.221453
0.10519
0.10519
0.070588
0
0.009201
0.43003
3,623
107
92
33.859813
0.690557
0
0
0.229167
1
0
0.279603
0
0
0
0
0
0
1
0.041667
false
0
0.03125
0.020833
0.114583
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
508edd30d15b4d1df9ed6b9d184cb209a71dd610
658
py
Python
dader/data/_utils.py
tuhahaha/dader-pypi
b5867727151fe7de0f2711e8202778a901517ec0
[ "MIT" ]
null
null
null
dader/data/_utils.py
tuhahaha/dader-pypi
b5867727151fe7de0f2711e8202778a901517ec0
[ "MIT" ]
null
null
null
dader/data/_utils.py
tuhahaha/dader-pypi
b5867727151fe7de0f2711e8202778a901517ec0
[ "MIT" ]
null
null
null
import csv import pandas as pd def read_csv(input_file, quotechar='"'): """Reads a tab separated value file.""" with open(input_file, "r") as f: reader = csv.reader(f,quotechar=quotechar) lines = [] for line in reader: lines.append(line) return lines def read_tsv(input_file, qu...
26.32
64
0.600304
89
658
4.370787
0.370787
0.092545
0.092545
0.092545
0.673522
0.673522
0.673522
0.673522
0.673522
0.673522
0
0
0.243161
658
24
65
27.416667
0.781125
0.101824
0
0.526316
0
0
0.018966
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
508f5a763a6a5e124fbb39f39488c308c53f7958
2,957
py
Python
seqseqpan/exception.py
sekang2/seq-seq-pan
ef2b1e3e8c91374fa3545104d4bf90edbbe9aa66
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
seqseqpan/exception.py
sekang2/seq-seq-pan
ef2b1e3e8c91374fa3545104d4bf90edbbe9aa66
[ "BSD-2-Clause-FreeBSD" ]
1
2019-05-01T12:29:52.000Z
2019-05-01T12:33:04.000Z
seqseqpan/exception.py
sekang2/seq-seq-pan
ef2b1e3e8c91374fa3545104d4bf90edbbe9aa66
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
class FormatError(Exception): pass class InputError(Exception): pass class ParameterError(Exception): def __init__(self, parameter, value, range_text): self.parameter = parameter self.value = value self.range_text = range_text class ConsensusFastaFormatError(FormatError): d...
36.9625
117
0.649983
318
2,957
5.874214
0.383648
0.044968
0.070664
0.101178
0.170771
0.15364
0.139186
0.059957
0.059957
0
0
0.001372
0.260737
2,957
79
118
37.43038
0.853156
0
0
0.169811
0
0
0.38113
0.012175
0
0
0
0
0
1
0.226415
false
0.037736
0
0
0.490566
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
5095d47e76de8b60463028e78c3d104cb6d9d097
5,284
py
Python
dev/Gems/CloudGemFramework/v1/ResourceManager/resource_manager/gem.py
stickyparticles/lumberyard
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
2
2018-03-29T10:56:36.000Z
2020-12-12T15:28:14.000Z
dev/Gems/CloudGemFramework/v1/ResourceManager/resource_manager/gem.py
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Gems/CloudGemFramework/v1/ResourceManager/resource_manager/gem.py
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
3
2019-05-13T09:41:33.000Z
2021-04-09T12:12:38.000Z
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or th...
34.993377
146
0.684519
705
5,284
4.699291
0.171631
0.105946
0.097495
0.051313
0.368548
0.23936
0.132508
0.066405
0.066405
0.027769
0
0
0.236185
5,284
150
147
35.226667
0.820862
0.105791
0
0.231481
0
0
0.042869
0
0
0
0
0
0
1
0.194444
false
0
0.037037
0.111111
0.435185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
5097d2d36e160547a1897fb65e2c4115b68f5349
200
py
Python
tradearn/coupons/urls.py
didils/tradmarkearn
a2a49314639a419db1b7b414319745c81fcc26e1
[ "MIT" ]
null
null
null
tradearn/coupons/urls.py
didils/tradmarkearn
a2a49314639a419db1b7b414319745c81fcc26e1
[ "MIT" ]
4
2020-06-05T20:21:46.000Z
2021-09-08T00:57:42.000Z
tradearn/coupons/urls.py
didils/tradmarkearn
a2a49314639a419db1b7b414319745c81fcc26e1
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views app_name = "coupons" urlpatterns = [ url( regex=r'^check/$', view=views.CouponCheck.as_view(), name='coupon_check') ]
18.181818
41
0.625
25
200
4.88
0.72
0
0
0
0
0
0
0
0
0
0
0
0.24
200
11
42
18.181818
0.802632
0
0
0
0
0
0.134328
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
0
0
0
0
0
0
0
1
509866fddfca7e7d8209198aff241f470e52721c
738
py
Python
tests/util.py
roshanrahman/miraiml
89f4d997605318d9e8eda0741639da7d426ecdd8
[ "MIT" ]
26
2019-04-09T17:26:08.000Z
2021-09-03T02:14:52.000Z
tests/util.py
roshanrahman/miraiml
89f4d997605318d9e8eda0741639da7d426ecdd8
[ "MIT" ]
63
2019-04-10T11:58:00.000Z
2020-06-27T15:22:34.000Z
tests/util.py
roshanrahman/miraiml
89f4d997605318d9e8eda0741639da7d426ecdd8
[ "MIT" ]
5
2019-04-23T19:26:45.000Z
2020-07-03T00:55:36.000Z
from miraiml.util import sample_random_len, is_valid_filename def test_sample_random_len(): if len(sample_random_len([])) != 0: raise AssertionError() lst = range(10) result = sample_random_len(lst) if len(result) > len(lst): raise AssertionError() if len(set(result) - set(lst))...
25.448276
80
0.600271
93
738
4.505376
0.344086
0.22673
0.143198
0.090692
0.181384
0.181384
0
0
0
0
0
0.007168
0.243902
738
28
81
26.357143
0.743728
0
0
0.263158
0
0
0.060976
0
0
0
0
0
0.263158
1
0.105263
false
0
0.052632
0
0.157895
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50996ddc536e15bb588c96111ed0bbdc241b2d1a
204,188
py
Python
peakpo/view/qtd.py
SHDShim/PeakPo
75bdc12da18d70a946a24dde9b12c859150ca0b6
[ "Apache-2.0" ]
15
2017-09-02T13:55:35.000Z
2022-03-26T08:20:16.000Z
peakpo/view/qtd.py
SHDShim/peakpo-v7
7a929f735621dfa05bd40e7d64208757161fa43e
[ "Apache-2.0" ]
null
null
null
peakpo/view/qtd.py
SHDShim/peakpo-v7
7a929f735621dfa05bd40e7d64208757161fa43e
[ "Apache-2.0" ]
2
2018-05-16T13:32:08.000Z
2019-06-16T08:09:38.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '../ui/peakpo.ui' # # Created by: PyQt5 UI code generator 5.12.3 # # WARNING! All changes made in this file will be lost! from .mplwidget import MplWidget from PyQt5 import QtCore, QtGui, QtWidgets import os class Ui_MainWindow(object): ...
62.904498
116
0.740812
19,594
204,188
7.536695
0.038583
0.062855
0.032843
0.046745
0.54323
0.463142
0.363788
0.309621
0.291114
0.288209
0
0.028444
0.165103
204,188
3,245
117
62.923883
0.837737
0.000911
0
0.276918
1
0
0.082022
0.015348
0
0
0
0
0
1
0.000619
false
0
0.005879
0
0.006807
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
509c5c1b1bb543ef8921e26a7e94131ecc552838
3,609
py
Python
src/scripts/flybase_import/FlyBase_import.py
cthoyt/drosophila-anatomy-developmental-ontology
1186e61c3aede5991112fdd4b496bad53a3ec21e
[ "CC-BY-4.0" ]
13
2016-07-27T15:42:58.000Z
2022-02-12T02:42:52.000Z
src/scripts/flybase_import/FlyBase_import.py
cthoyt/drosophila-anatomy-developmental-ontology
1186e61c3aede5991112fdd4b496bad53a3ec21e
[ "CC-BY-4.0" ]
725
2015-06-15T14:16:14.000Z
2022-03-31T11:42:52.000Z
src/scripts/flybase_import/FlyBase_import.py
mmc46/drosophila-anatomy-developmental-ontology
9494694456ca0e6b8bfb173740d5e5daa6e1bf3a
[ "CC-BY-4.0" ]
7
2016-03-07T13:33:48.000Z
2022-03-09T11:07:20.000Z
""" Script to get label and synonym info for FlyBase genes from VFB and make a robot template. Template can be used to generate a new flybase_import.owl file. """ import psycopg2 import pandas as pd from collections import OrderedDict def FBgn_template_from_ID_list(ID_list='../../../ontology/seed.txt', outfile='./te...
40.1
110
0.602937
481
3,609
4.380457
0.345114
0.016611
0.014238
0.031324
0.138586
0.088277
0.070242
0.070242
0.070242
0.070242
0
0.005712
0.272375
3,609
89
111
40.550562
0.796649
0.144084
0
0
1
0
0.27823
0.04328
0
0
0
0
0
1
0.016949
false
0
0.050847
0
0.067797
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50a5162c854d155583597cde53629cfab7c52d67
5,121
py
Python
ocloze.py
pixelherodev/oboeta
d80a22b6310c0b36945484e0cd306b2a3cd95cd0
[ "CC0-1.0" ]
40
2015-09-25T05:30:27.000Z
2021-09-30T04:08:43.000Z
ocloze.py
stefan-peng/oboeta
40fe3149d5313189cc783f7ca19e263357fe8c5d
[ "CC0-1.0" ]
null
null
null
ocloze.py
stefan-peng/oboeta
40fe3149d5313189cc783f7ca19e263357fe8c5d
[ "CC0-1.0" ]
7
2015-11-10T00:46:34.000Z
2021-08-18T03:38:34.000Z
#!/usr/bin/env python3 # Generate Cloze Deletions from Standard Input # Written in 2012 by 伴上段 # # To the extent possible under law, the author(s) have dedicated all copyright # and related and neighboring rights to this software to the public domain # worldwide. This software is distributed without any warranty. # # ...
37.933333
151
0.687952
712
5,121
4.901685
0.38764
0.022923
0.012894
0.0149
0.088825
0.088825
0.054441
0.054441
0.054441
0.054441
0
0.009502
0.219098
5,121
134
152
38.216418
0.863216
0.112869
0
0.194175
1
0.009709
0.523515
0
0
0
0
0
0
1
0
false
0.009709
0.038835
0
0.038835
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50a95662e7c5b4930b3f973b9401403fd4e9b591
2,381
py
Python
matlab_ext/identification/hided/compilation_code.py
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
matlab_ext/identification/hided/compilation_code.py
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
15
2015-03-07T12:46:41.000Z
2015-04-11T09:08:36.000Z
matlab_ext/identification/hided/compilation_code.py
zaqwes8811/micro-apps
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
# coding: utf8 # Sys # Libs from numpy import arange # App from opimizers.finder import curve_graph from app_plot_analog_filters import analog_filter_plot from app_digital_filters import calc_digital_characteristics if __name__=="__main__": """ Settings project """ fs_work_iir = 5.0 # Hz """0. По...
26.455556
76
0.561949
299
2,381
4.220736
0.334448
0.080824
0.161648
0.022187
0.128368
0.033281
0
0
0
0
0
0.041615
0.323814
2,381
90
77
26.455556
0.742236
0.076018
0
0
0
0
0.036449
0
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.116279
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
50ac8d25ecd11294b15a1bac2ce2f818126c3cb7
1,026
py
Python
preDeal/lstm_v2_test.py
xjtushilei/pCVR
29bb49be537baf90f5ab4678630dae3b7fffb94a
[ "Apache-2.0" ]
32
2017-06-06T08:08:23.000Z
2021-04-11T06:04:31.000Z
preDeal/lstm_v2_test.py
wangmengsd/pCVR
0070620d4387f545e0fecd9497ce183180f9f63f
[ "Apache-2.0" ]
1
2018-04-11T01:34:03.000Z
2018-04-11T01:58:13.000Z
preDeal/lstm_v2_test.py
wangmengsd/pCVR
0070620d4387f545e0fecd9497ce183180f9f63f
[ "Apache-2.0" ]
12
2017-07-12T01:28:35.000Z
2019-06-23T14:29:01.000Z
import pickle import numpy import tensorflow from keras.models import load_model from keras import layers from keras.models import Sequential from keras.utils import np_utils from utils import * from keras import backend as K K.clear_session() # 加载数据 print("开始反序列化加载数据...") with open('get_data_v2.data', 'rb') as tra...
21.375
68
0.655945
163
1,026
3.993865
0.392638
0.069124
0.046083
0.064516
0.067588
0.067588
0.067588
0.067588
0
0
0
0.020882
0.159844
1,026
48
69
21.375
0.734339
0.11501
0
0
0
0
0.098958
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.238095
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
50ae6f25ebef6fc899c4cbd9f88504daebcdb60e
379
py
Python
metaranker/networks/__init__.py
thunlp/MetaAdaptRank
5e80520b003b0a3a5fad817edf65cf76222438dd
[ "MIT" ]
4
2021-05-30T09:34:45.000Z
2021-09-07T02:46:01.000Z
metaranker/networks/.ipynb_checkpoints/__init__-checkpoint.py
thunlp/MetaAdaptRank
5e80520b003b0a3a5fad817edf65cf76222438dd
[ "MIT" ]
null
null
null
metaranker/networks/.ipynb_checkpoints/__init__-checkpoint.py
thunlp/MetaAdaptRank
5e80520b003b0a3a5fad817edf65cf76222438dd
[ "MIT" ]
1
2021-07-26T01:51:11.000Z
2021-07-26T01:51:11.000Z
from ..transformers import AutoConfig def get_class(args): config = AutoConfig.from_pretrained( args.cache_pretrain_dir, num_labels=args.num_labels) return BertRanker.from_pretrained( args.cache_pretrain_dir, config=config, loss_class=args.loss_class,) from .bert_ran...
27.071429
40
0.733509
46
379
5.76087
0.5
0.067925
0.135849
0.173585
0.256604
0.256604
0
0
0
0
0
0
0.200528
379
14
41
27.071429
0.874587
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50af199005c624f4a18aea97b010a9e98b4885b4
3,343
py
Python
fluent_python/coroutine/taxi_sim.py
ftconan/python3
eb63ba33960072f792ecce6db809866b38c402f8
[ "MIT" ]
1
2018-12-19T22:07:56.000Z
2018-12-19T22:07:56.000Z
fluent_python/coroutine/taxi_sim.py
ftconan/python3
eb63ba33960072f792ecce6db809866b38c402f8
[ "MIT" ]
12
2020-03-14T05:32:26.000Z
2022-03-12T00:08:49.000Z
fluent_python/coroutine/taxi_sim.py
ftconan/python3
eb63ba33960072f792ecce6db809866b38c402f8
[ "MIT" ]
1
2018-12-19T22:08:00.000Z
2018-12-19T22:08:00.000Z
""" @author: magician @file: taxi_sim.py @date: 2021/12/13 """ import argparse import collections import queue import random DEFAULT_NUMBER_OF_TAXIS = 3 DEFAULT_END_TIME = 180 SEARCH_DURATION = 5 TRIP_DURATION = 20 DEPARTURE_INTERVAL = 5 Event = collections.namedtuple('Event', 'time proc action') def taxi_proces...
28.818966
107
0.61741
417
3,343
4.729017
0.304556
0.042596
0.032961
0.040568
0.023327
0
0
0
0
0
0
0.011401
0.265331
3,343
115
108
29.069565
0.791531
0.073287
0
0.044118
0
0
0.133622
0
0
0
0
0
0
1
0.073529
false
0.058824
0.058824
0
0.161765
0.044118
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
50af5ba5eea3ae4f6963f92d7935fcd3e11cde49
2,355
py
Python
src/biblishelf_book/migrations/0001_initial.py
x007007007/biblishelf
a79b105f6929ecc9df41b1e74a92713212cd06fa
[ "MIT" ]
null
null
null
src/biblishelf_book/migrations/0001_initial.py
x007007007/biblishelf
a79b105f6929ecc9df41b1e74a92713212cd06fa
[ "MIT" ]
3
2018-01-28T15:17:55.000Z
2018-01-31T09:21:01.000Z
src/biblishelf_book/migrations/0001_initial.py
x007007007/biblishelf
a79b105f6929ecc9df41b1e74a92713212cd06fa
[ "MIT" ]
1
2018-01-27T13:49:51.000Z
2018-01-27T13:49:51.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-09-24 09:10 from __future__ import unicode_literals import biblishelf_book.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('biblishel...
40.603448
157
0.599151
249
2,355
5.502008
0.333333
0.046715
0.040876
0.064234
0.458394
0.458394
0.381752
0.381752
0.381752
0.318978
0
0.017806
0.260722
2,355
57
158
41.315789
0.769098
0.028875
0
0.428571
1
0
0.114711
0.024956
0
0
0
0
0
1
0
false
0
0.081633
0
0.163265
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50b2bb21bea6476205ef9059cbca89c55b8a0677
2,511
py
Python
code/ACquery.py
UCLA-StarAI/LearnSDD
3cc33b90468c0c8d074db87b094383619e64a5ce
[ "Apache-2.0" ]
1
2016-11-05T23:44:28.000Z
2016-11-05T23:44:28.000Z
code/ACquery.py
UCLA-StarAI/LearnSDD
3cc33b90468c0c8d074db87b094383619e64a5ce
[ "Apache-2.0" ]
null
null
null
code/ACquery.py
UCLA-StarAI/LearnSDD
3cc33b90468c0c8d074db87b094383619e64a5ce
[ "Apache-2.0" ]
null
null
null
import random, math, time, os, sys, subprocess acquery = "acquery" def powerset(seq): """ Returns all the subsets of this set. This is a generator. """ if len(seq) <= 1: yield seq yield [] else: for item in powerset(seq[1:]): yield [seq[0]]+item yie...
23.25
111
0.615293
339
2,511
4.480826
0.277286
0.0237
0.009875
0.010533
0.230415
0.194207
0.189598
0.189598
0.132982
0.061883
0
0.022751
0.247312
2,511
108
112
23.25
0.780952
0.013142
0
0.173333
0
0
0.021021
0
0
0
0
0
0
0
null
null
0
0.013333
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
50b3547f171a1047bc026287ef44b59045d390ff
190
py
Python
pdks/Bulk65nm_Mock_PDK/primitive.py
rbarzic/ALIGN-public
e76df6c5739e6e4f476a1060b6b0a5e31370d0d3
[ "BSD-3-Clause" ]
null
null
null
pdks/Bulk65nm_Mock_PDK/primitive.py
rbarzic/ALIGN-public
e76df6c5739e6e4f476a1060b6b0a5e31370d0d3
[ "BSD-3-Clause" ]
null
null
null
pdks/Bulk65nm_Mock_PDK/primitive.py
rbarzic/ALIGN-public
e76df6c5739e6e4f476a1060b6b0a5e31370d0d3
[ "BSD-3-Clause" ]
null
null
null
from align.primitive import default # # Default generators are good enough ! # MOSGenerator = default.MOSGenerator CapGenerator = default.CapGenerator ResGenerator = default.ResGenerator
17.272727
38
0.810526
19
190
8.105263
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.131579
190
10
39
19
0.933333
0.189474
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
0
0
1
50b5b4427c9bcd3ed8e365e26ab022a8478a1885
1,827
py
Python
rj_gameplay/rj_gameplay/action/kick.py
RoboJackets/robocup-software
ae2920b8b98213e625d0565dd67005e7a8595fac
[ "Apache-2.0" ]
200
2015-01-26T01:45:34.000Z
2022-03-19T13:05:31.000Z
rj_gameplay/rj_gameplay/action/kick.py
RoboJackets/robocup-software
ae2920b8b98213e625d0565dd67005e7a8595fac
[ "Apache-2.0" ]
1,254
2015-01-03T01:57:35.000Z
2022-03-16T06:32:21.000Z
rj_gameplay/rj_gameplay/action/kick.py
RoboJackets/robocup-software
ae2920b8b98213e625d0565dd67005e7a8595fac
[ "Apache-2.0" ]
206
2015-01-21T02:03:18.000Z
2022-02-01T17:57:46.000Z
"""This module contains the interface and action for kick.""" from abc import ABC, abstractmethod import stp.role as role import stp.action as action import numpy as np import stp.rc as rc from typing import Optional from rj_msgs.msg import RobotIntent, EmptyMotionCommand from rj_geometry_msgs.msg import Point KICK_...
35.134615
113
0.695129
263
1,827
4.56654
0.365019
0.074938
0.036636
0.042465
0.098251
0.098251
0.098251
0
0
0
0
0.004252
0.227696
1,827
51
114
35.823529
0.846917
0.088123
0
0.052632
0
0
0
0
0
0
0
0.019608
0
1
0.078947
false
0
0.236842
0
0.447368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
50b84e7bdd204d552c0d162134c9bd3c49963a28
2,293
py
Python
main.py
skhong0831/meta-ner
92dd58d46e6a1be76d91a692119257d7e3d6edd7
[ "MIT" ]
null
null
null
main.py
skhong0831/meta-ner
92dd58d46e6a1be76d91a692119257d7e3d6edd7
[ "MIT" ]
null
null
null
main.py
skhong0831/meta-ner
92dd58d46e6a1be76d91a692119257d7e3d6edd7
[ "MIT" ]
null
null
null
import argparse from solver import Solver def parse(): parser = argparse.ArgumentParser(description="Pytorch-Leo") parser.add_argument('-train', action='store_true',help='whether train whole model') parser.add_argument('-test', action='store_true',help='whether test') parser.add_argument('-verbose', a...
44.960784
142
0.711731
304
2,293
5.174342
0.342105
0.120153
0.226955
0.060394
0.160203
0.040687
0
0
0
0
0
0.010157
0.1413
2,293
50
143
45.86
0.788725
0.00785
0
0
0
0
0.367356
0.033436
0
0
0
0
0
1
0.029412
false
0
0.058824
0
0.117647
0.029412
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50bc8a71ad7cc8e900d285575572b2aebcb27fa9
813
py
Python
tormor/dsn.py
tleekkul/tormor
a06a02842b21f6f35209b6dc46f8d925ef566e60
[ "MIT" ]
null
null
null
tormor/dsn.py
tleekkul/tormor
a06a02842b21f6f35209b6dc46f8d925ef566e60
[ "MIT" ]
null
null
null
tormor/dsn.py
tleekkul/tormor
a06a02842b21f6f35209b6dc46f8d925ef566e60
[ "MIT" ]
null
null
null
import os # Dictionary of possible options PGOPTMAP = { "-d": ("dbname", "PGDATABASE", "/dbname"), "-h": ("host", "PGHOST", "@host"), "-p": ("port", "PGPORT", ":port"), "-U": ("user", "PGUSER", "user"), "-P": ("password", "PGPASSWORD", ":password") } # Create a string of "mapped_filed = value" d...
30.111111
67
0.592866
87
813
5.528736
0.528736
0.066528
0.143451
0.116424
0
0
0
0
0
0
0
0
0.223862
813
26
68
31.269231
0.762282
0.088561
0
0
0
0
0.212737
0.058266
0
0
0
0
0
1
0.05
false
0.1
0.05
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
50c9b552537266739f71a34258004429fef1ddaa
322
py
Python
jobs/migrations/0003_remove_job_slug.py
thepsalmist/Jobspply
30871642a43c43b44d0281a7a1fbf39aab639dad
[ "MIT" ]
1
2021-06-11T19:46:03.000Z
2021-06-11T19:46:03.000Z
jobs/migrations/0003_remove_job_slug.py
thepsalmist/Jobspply
30871642a43c43b44d0281a7a1fbf39aab639dad
[ "MIT" ]
null
null
null
jobs/migrations/0003_remove_job_slug.py
thepsalmist/Jobspply
30871642a43c43b44d0281a7a1fbf39aab639dad
[ "MIT" ]
null
null
null
# Generated by Django 3.0.1 on 2020-03-04 09:50 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('jobs', '0002_remove_job_thumbnail'), ] operations = [ migrations.RemoveField( model_name='job', name='slug', ), ...
17.888889
47
0.583851
35
322
5.257143
0.828571
0
0
0
0
0
0
0
0
0
0
0.084444
0.301242
322
17
48
18.941176
0.733333
0.139752
0
0
1
0
0.130909
0.090909
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50cb59f1f75b037b8b23e989ba89e644fd330cce
398
py
Python
cricket/migrations/0004_auto_20180920_2307.py
joysdo/MyApps
0a5b032257f82360405346533893d57dcd616abc
[ "CC0-1.0" ]
null
null
null
cricket/migrations/0004_auto_20180920_2307.py
joysdo/MyApps
0a5b032257f82360405346533893d57dcd616abc
[ "CC0-1.0" ]
null
null
null
cricket/migrations/0004_auto_20180920_2307.py
joysdo/MyApps
0a5b032257f82360405346533893d57dcd616abc
[ "CC0-1.0" ]
null
null
null
# Generated by Django 2.0.2 on 2018-09-20 23:07 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('cricket', '0003_auto_20180920_2305'), ] operations = [ migrations.RemoveField( model_name='go_live', name='name', ),...
18.952381
47
0.565327
41
398
5.341463
0.731707
0.054795
0.091324
0
0
0
0
0
0
0
0
0.114815
0.321608
398
20
48
19.9
0.696296
0.113065
0
0.142857
1
0
0.136752
0.065527
0
0
0
0
0
1
0
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50cb96cff2b57f83227f2985666521cdd8a18762
823
py
Python
setup.py
hkailee/cellnet
010aff0a31a602890028150d75709e4d40235cb1
[ "MIT" ]
null
null
null
setup.py
hkailee/cellnet
010aff0a31a602890028150d75709e4d40235cb1
[ "MIT" ]
null
null
null
setup.py
hkailee/cellnet
010aff0a31a602890028150d75709e4d40235cb1
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='CellNet', author='Lee Hong Kai', author_email='leehongkai@gmail.com', version='1.1.1.2', long_description=__doc__, packages=find_packages(), include_package_data=True, zip_safe=False, maintainer='CJM Lab', license='MIT', ...
24.939394
59
0.540705
107
823
4
0.570093
0.014019
0
0
0
0
0
0
0
0
0
0.096506
0.269745
823
32
60
25.71875
0.615641
0
0
0
0
0
0.36209
0.207776
0
0
0
0
0
1
0
true
0
0.032258
0
0.032258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
50ce1b2ec5ad512c8211dd5fe44f719a16c9c774
494
py
Python
project/__init__.py
VidhiRambhia/NSV_KJ
a9a450f8da31b192c3fdbf9a2e97210afe5ffe9b
[ "MIT" ]
5
2019-10-06T17:42:24.000Z
2021-10-01T10:46:07.000Z
project/__init__.py
VidhiRambhia/Trumped
a9a450f8da31b192c3fdbf9a2e97210afe5ffe9b
[ "MIT" ]
null
null
null
project/__init__.py
VidhiRambhia/Trumped
a9a450f8da31b192c3fdbf9a2e97210afe5ffe9b
[ "MIT" ]
null
null
null
import os from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_bcrypt import Bcrypt from flask_login import LoginManager import dialogflow, json, pusher, requests app = Flask(__name__) app.config['SECRET_KEY'] = '5797628bb0b13ue0c576dfde280fg245' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:/...
27.444444
61
0.813765
64
494
6.03125
0.46875
0.093264
0.07772
0
0
0
0
0
0
0
0
0.045147
0.103239
494
17
62
29.058824
0.826185
0
0
0
0
0
0.182186
0.111336
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
50cf2ef6909707856faa69d702fef6b313299659
6,169
py
Python
Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/pruning/pruning.py
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
1
2021-08-30T13:42:30.000Z
2021-08-30T13:42:30.000Z
Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/pruning/pruning.py
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
null
null
null
Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/pruning/pruning.py
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import imp import multiprocessing as mp import os import sys import torch from nndct_shared.base import key_names from nndct_shared.pruning import analyser as ana_lib from nndct_shared.pruning import logging f...
32.298429
79
0.686335
834
6,169
4.872902
0.286571
0.027067
0.022146
0.021654
0.087106
0.040846
0
0
0
0
0
0.00454
0.214459
6,169
190
80
32.468421
0.83409
0.313503
0
0.079208
0
0
0.046289
0
0
0
0
0.010526
0
1
0.108911
false
0.019802
0.158416
0.019802
0.346535
0.009901
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
50d1590e4fda24427f90dcadb34fe76781f229d6
808
py
Python
homeassistant/components/trace/utils.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/trace/utils.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
homeassistant/components/trace/utils.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Helpers for script and automation tracing and debugging.""" from collections import OrderedDict class LimitedSizeDict(OrderedDict): """OrderedDict limited in size.""" def __init__(self, *args, **kwds): """Initialize OrderedDict limited in size.""" self.size_limit = kwds.pop("size_limit", N...
33.666667
70
0.647277
99
808
4.989899
0.454545
0.12753
0.078947
0.097166
0.08502
0
0
0
0
0
0
0
0.238861
808
23
71
35.130435
0.803252
0.262376
0
0.153846
0
0
0.017544
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
50d4bbeea7967b622ff3cbf4e01424582cd2d3cf
6,375
py
Python
tests/test_executor.py
gaqzi/radish
42cbface3bc181d3fa62afbb15f7a6f5433d4509
[ "Beerware" ]
null
null
null
tests/test_executor.py
gaqzi/radish
42cbface3bc181d3fa62afbb15f7a6f5433d4509
[ "Beerware" ]
1
2016-09-18T16:00:10.000Z
2016-09-18T16:00:10.000Z
tests/test_executor.py
gaqzi/radish
42cbface3bc181d3fa62afbb15f7a6f5433d4509
[ "Beerware" ]
null
null
null
# coding=utf-8 from __future__ import unicode_literals import os from radish.executor import ExecutionResult, NullExecutor, Executor, ExecutionResults from radish.outputter import Outputter from radish.path import Path from radish.utils import TimeTaken try: from unittest.mock import Mock, ANY except ImportError...
31.403941
94
0.689412
780
6,375
5.337179
0.183333
0.053807
0.018736
0.038914
0.53447
0.474898
0.43166
0.349988
0.270718
0.251982
0
0.02646
0.199686
6,375
202
95
31.559406
0.789494
0.001882
0
0.369231
0
0
0.055652
0
0
0
0
0
0.261538
1
0.269231
false
0.007692
0.069231
0.015385
0.392308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
50e51542ae5d41dad2b6799c636b4adf8d44d770
62,936
py
Python
tools/thermo/plot_expansion_no_parser.py
vishaltiwari/XNet
a7ad8d9a610edb1d522fef56b8ed1067fb39f30f
[ "BSD-3-Clause" ]
2
2019-03-05T22:56:32.000Z
2020-11-11T15:54:47.000Z
tools/thermo/plot_expansion_no_parser.py
vishaltiwari/XNet
a7ad8d9a610edb1d522fef56b8ed1067fb39f30f
[ "BSD-3-Clause" ]
2
2019-10-07T16:31:55.000Z
2022-02-14T16:50:27.000Z
tools/thermo/plot_expansion_no_parser.py
vishaltiwari/XNet
a7ad8d9a610edb1d522fef56b8ed1067fb39f30f
[ "BSD-3-Clause" ]
2
2019-06-20T20:36:56.000Z
2019-07-28T18:17:55.000Z
import os,sys,itertools import numpy as np import matplotlib.pyplot as plt import matplotlib.ticker as plticker import matplotlib.gridspec as gridspec import matplotlib.axes as plax from datetime import datetime from scipy import interpolate from scipy import signal import scipy.io as scio import numpy.matlib...
51.544636
180
0.541661
8,507
62,936
3.704714
0.071118
0.016563
0.019799
0.008377
0.59611
0.552513
0.493464
0.459893
0.43965
0.424229
0
0.035562
0.328906
62,936
1,221
181
51.544636
0.710626
0.164532
0
0.351773
0
0.002837
0.039617
0.009826
0
0
0
0
0
0
null
null
0
0.024113
null
null
0.007092
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
50e59713162a4d6bdc25796a60d122ee2157a8af
922
py
Python
my_iot/services/clock.py
eigenein/energizer
1a9b742ae0688e4bcc4e9024458c1a07cb57ebc3
[ "MIT" ]
null
null
null
my_iot/services/clock.py
eigenein/energizer
1a9b742ae0688e4bcc4e9024458c1a07cb57ebc3
[ "MIT" ]
77
2019-01-18T22:53:36.000Z
2019-04-24T16:15:17.000Z
my_iot/services/clock.py
eigenein/my-iot
1a9b742ae0688e4bcc4e9024458c1a07cb57ebc3
[ "MIT" ]
null
null
null
from __future__ import annotations from asyncio import sleep from datetime import timedelta from itertools import count from typing import Optional from loguru import logger from my_iot.services.base import Service from my_iot.types_ import Event, Unit class Clock(Service): def __init__(self, sub_channel: str,...
31.793103
103
0.70282
127
922
4.96063
0.425197
0.079365
0.088889
0
0
0
0
0
0
0
0
0.00135
0.196312
922
28
104
32.928571
0.844804
0
0
0
0
0.047619
0.14859
0.111714
0
0
0
0
0
1
0.095238
false
0
0.380952
0.047619
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
50e689145eeeed2aa94c7b50175c27ea92a2f3d5
9,515
py
Python
create_data_and_load.py
EvgenySocialSpice/antiquaclub
65dbaadc555ac410003fe02cfb626fcb18f16c3e
[ "MIT" ]
null
null
null
create_data_and_load.py
EvgenySocialSpice/antiquaclub
65dbaadc555ac410003fe02cfb626fcb18f16c3e
[ "MIT" ]
5
2021-06-12T15:07:02.000Z
2021-08-03T11:52:40.000Z
create_data_and_load.py
EvgenySocialSpice/antiquaclub
65dbaadc555ac410003fe02cfb626fcb18f16c3e
[ "MIT" ]
null
null
null
from faker import Faker from datetime import timedelta import random from auctionapp.db import db from auctionapp.models_db import User, Tag, Item, ItemTag, Bet, Category, generate_password_hash from transliterate import translit fake = Faker('ru_Ru') def choose_description(): descriptions = ["Уникальная вещь из...
37.608696
120
0.603889
1,134
9,515
4.820988
0.285714
0.017926
0.033291
0.034205
0.221145
0.158222
0.121639
0.064752
0.064752
0.064752
0
0.011608
0.27567
9,515
252
121
37.757937
0.781631
0.015765
0
0.123762
1
0
0.224514
0
0
0
0
0
0
1
0.084158
false
0.009901
0.029703
0
0.188119
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50e9172d6a699703880ec619f01b956e5430426e
5,829
py
Python
ddg_images_downloader/images.py
butchland/ddg_images_downloader
e4b78db336be1e46562b9f0004d0ae380ffdfa1c
[ "Apache-2.0" ]
null
null
null
ddg_images_downloader/images.py
butchland/ddg_images_downloader
e4b78db336be1e46562b9f0004d0ae380ffdfa1c
[ "Apache-2.0" ]
2
2021-09-28T03:02:14.000Z
2022-02-26T08:09:40.000Z
ddg_images_downloader/images.py
butchland/ddg_images_downloader
e4b78db336be1e46562b9f0004d0ae380ffdfa1c
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_images.ipynb (unless otherwise specified). __all__ = ['get_image_urls', 'download_search_url', 'download_search_urls', 'download_images_slowly', 'download_search_images_slowly'] # Internal Cell # set options to be headless, .. from selenium import webdriver ch...
43.177778
201
0.724481
858
5,829
4.695804
0.268065
0.035493
0.031273
0.025813
0.278481
0.25937
0.209729
0.209729
0.166294
0.142964
0
0.016269
0.166924
5,829
135
202
43.177778
0.813427
0.23263
0
0.040816
1
0.040816
0.246294
0.037818
0
0
0
0
0
1
0.102041
false
0
0.102041
0
0.265306
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50e9db3a905e3d288401a8ce4d8c6d216f02382e
311
py
Python
tests/models/test_gans.py
gokceneraslan/pytorch-lightning-bolts
0fb847894177971a83e840b824a03869f0f9f15f
[ "Apache-2.0" ]
null
null
null
tests/models/test_gans.py
gokceneraslan/pytorch-lightning-bolts
0fb847894177971a83e840b824a03869f0f9f15f
[ "Apache-2.0" ]
null
null
null
tests/models/test_gans.py
gokceneraslan/pytorch-lightning-bolts
0fb847894177971a83e840b824a03869f0f9f15f
[ "Apache-2.0" ]
null
null
null
import pytorch_lightning as pl from pytorch_lightning import seed_everything from pl_bolts.models.gans import GAN def test_gan(tmpdir): seed_everything() model = GAN(data_dir=tmpdir) trainer = pl.Trainer(fast_dev_run=True, default_root_dir=tmpdir) trainer.fit(model) trainer.test(model)
22.214286
68
0.768489
46
311
4.956522
0.565217
0.140351
0.140351
0
0
0
0
0
0
0
0
0
0.154341
311
13
69
23.923077
0.86692
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
50ebac585c6a8d16aa413d8ad4318bb1dedae967
2,692
py
Python
ci_scripts/pylint/todo.py
gtagency/buzzmobile
8f7215d35b3b7fe3c6ca6419f0123ba18e8aca0a
[ "MIT" ]
25
2015-02-18T04:15:09.000Z
2019-12-11T14:29:02.000Z
ci_scripts/pylint/todo.py
gtagency/buzzmobile
8f7215d35b3b7fe3c6ca6419f0123ba18e8aca0a
[ "MIT" ]
173
2016-09-16T05:34:27.000Z
2017-11-15T07:31:53.000Z
ci_scripts/pylint/todo.py
gtagency/buzzmobile
8f7215d35b3b7fe3c6ca6419f0123ba18e8aca0a
[ "MIT" ]
4
2015-01-18T15:46:35.000Z
2017-04-08T00:39:05.000Z
#pylint: skip-file # Copyright (c) 2006, 2009-2013 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> # Copyright (c) 2013-2014 Google, Inc. # Copyright (c) 2014 Alexandru Coman <fcoman@bitdefender.com> # Copyright (c) 2014-2016 Claudiu Popa <pcmanticore@gmail.com> # Licensed under the GPL: https://www.gnu.org/licenses...
31.302326
87
0.625929
333
2,692
4.993994
0.486486
0.043295
0.016837
0
0
0
0
0
0
0
0
0.026513
0.257429
2,692
85
88
31.670588
0.805403
0.280832
0
0
0
0
0.198294
0.013326
0
0
0
0.035294
0
1
0.090909
false
0
0.090909
0
0.340909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
50eee2a5b704e69d9dec6d2a0b523c10c0611c73
4,883
py
Python
py2/testdir_single_jvm/test_GBM_basic.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2
2020-09-23T14:23:55.000Z
2020-09-23T19:26:30.000Z
py2/testdir_single_jvm/test_GBM_basic.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
2
2021-06-02T02:24:03.000Z
2021-11-15T17:51:49.000Z
py2/testdir_single_jvm/test_GBM_basic.py
ahmedengu/h2o-3
ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11
[ "Apache-2.0" ]
1
2020-04-17T13:06:26.000Z
2020-04-17T13:06:26.000Z
import unittest, sys, time sys.path.extend(['.','..','../..','py']) import h2o2 as h2o import h2o_cmd, h2o_import as h2i from h2o_test import dump_json, verboseprint, OutputObj from tabulate import tabulate class Basic(unittest.TestCase): def tearDown(self): h2o.check_sandbox_for_errors() @classmetho...
35.904412
107
0.576285
517
4,883
5.299807
0.417795
0.020438
0.024818
0.019708
0.094526
0.070438
0.070438
0.070438
0.056204
0.037226
0
0.02772
0.312922
4,883
135
108
36.17037
0.788972
0.177964
0
0.177778
0
0
0.113756
0.006765
0
0
0
0
0.011111
0
null
null
0
0.133333
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
50ef2c6a8ab09621e1a9fe22f8a57a7c342d75a8
5,326
py
Python
tests/nutsflow/test_common.py
maet3608/nuts-flow
0d7b8eefc80cb45c079b155ff5062d1d93ff2caf
[ "Apache-2.0" ]
21
2017-05-01T10:15:41.000Z
2022-01-25T07:02:44.000Z
tests/nutsflow/test_common.py
maet3608/nuts-flow
0d7b8eefc80cb45c079b155ff5062d1d93ff2caf
[ "Apache-2.0" ]
7
2017-02-09T03:36:37.000Z
2017-08-22T11:23:03.000Z
tests/nutsflow/test_common.py
maet3608/nuts-flow
0d7b8eefc80cb45c079b155ff5062d1d93ff2caf
[ "Apache-2.0" ]
5
2017-05-30T01:56:31.000Z
2020-10-05T08:21:43.000Z
""" .. module:: test_common :synopsis: Unit tests for common module """ from __future__ import print_function import sys import time import numpy as np from pytest import approx from time import sleep from collections import namedtuple from nutsflow import MeanStd from nutsflow.common import (sec_to_hms, timestr...
26.763819
77
0.569658
774
5,326
3.837209
0.166667
0.014815
0.030303
0.008081
0.330303
0.321886
0.223906
0.172054
0.172054
0.128956
0
0.082859
0.240894
5,326
198
78
26.89899
0.651744
0.018213
0
0.22069
0
0
0.095576
0
0
0
0
0
0.441379
1
0.117241
false
0
0.062069
0
0.17931
0.041379
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
50f77e7f0206660ad5005072b2834f507120216b
899
py
Python
crapi/__init__.py
ooer-dev/crapi
0a0e9871f356e644830b7d93102b5f566e0ba404
[ "MIT" ]
null
null
null
crapi/__init__.py
ooer-dev/crapi
0a0e9871f356e644830b7d93102b5f566e0ba404
[ "MIT" ]
null
null
null
crapi/__init__.py
ooer-dev/crapi
0a0e9871f356e644830b7d93102b5f566e0ba404
[ "MIT" ]
null
null
null
import click from flask import Flask from flask_session import Session def create_app(config_override=None): application = Flask(__name__, instance_relative_config=True) application.config.from_pyfile('config.py') application.config.from_object(config_override) Session(application) from crapi.u...
24.972222
64
0.734149
113
899
5.654867
0.415929
0.117371
0.156495
0.137715
0.169014
0
0
0
0
0
0
0
0.187987
899
35
65
25.685714
0.875342
0
0
0
0
0
0.015573
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.458333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0f99403c31608774e281d7e41c48ff79a3ef9568
1,142
py
Python
VPython/neural.py
CDFalcon/AI
0b372be78c30ca019cf609494a6b505e485d7610
[ "MIT" ]
null
null
null
VPython/neural.py
CDFalcon/AI
0b372be78c30ca019cf609494a6b505e485d7610
[ "MIT" ]
null
null
null
VPython/neural.py
CDFalcon/AI
0b372be78c30ca019cf609494a6b505e485d7610
[ "MIT" ]
null
null
null
from vpython import * import random as ran #--------------------# memoryLength = 3000 maxDistance = 1 mutationRate = 5 # Inverse relationship, 1/mutationRate is the % of instructions that will me mutated #--------------------# class brain: def __init__(self): # Creates an empty memory self.memo...
33.588235
154
0.628722
134
1,142
5.328358
0.447761
0.056022
0.117647
0.179272
0.310924
0.294118
0.294118
0.294118
0.19888
0.19888
0
0.019883
0.251313
1,142
33
155
34.606061
0.815205
0.319615
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.117647
0
0.352941
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0fabe7503b097efceb6c07157e7cad675066c516
395
py
Python
coffeenijuan/product/migrations/0005_alter_product_price.py
Cyvid7-Darus10/CMSC-128-Group-Repo
cdbbe84f4af398a6c1d5c2749173d4cf585487a9
[ "MIT" ]
null
null
null
coffeenijuan/product/migrations/0005_alter_product_price.py
Cyvid7-Darus10/CMSC-128-Group-Repo
cdbbe84f4af398a6c1d5c2749173d4cf585487a9
[ "MIT" ]
null
null
null
coffeenijuan/product/migrations/0005_alter_product_price.py
Cyvid7-Darus10/CMSC-128-Group-Repo
cdbbe84f4af398a6c1d5c2749173d4cf585487a9
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2022-04-04 06:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0004_auto_20220404_1319'), ] operations = [ migrations.AlterField( model_name='product', name='price', ...
20.789474
59
0.6
43
395
5.418605
0.790698
0
0
0
0
0
0
0
0
0
0
0.109541
0.283544
395
18
60
21.944444
0.713781
0.113924
0
0
1
0
0.12069
0.066092
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0faf3d22aaae784731779f65e95c6e3292103459
619
py
Python
election/forms.py
everyvoter/everyvoter
65d9b8bdf9b5c64057135c279f6e03b6c207e0fa
[ "MIT" ]
5
2019-07-01T17:50:44.000Z
2022-02-20T02:44:42.000Z
election/forms.py
everyvoter/everyvoter
65d9b8bdf9b5c64057135c279f6e03b6c207e0fa
[ "MIT" ]
3
2020-06-05T21:44:33.000Z
2021-06-10T21:39:26.000Z
election/forms.py
everyvoter/everyvoter
65d9b8bdf9b5c64057135c279f6e03b6c207e0fa
[ "MIT" ]
1
2021-12-09T06:32:40.000Z
2021-12-09T06:32:40.000Z
"""Forms for election app""" from django import forms from election.models import OrganizationElection class OrgElectionNotificationForm(forms.ModelForm): """Update notification preferences of org election""" class Meta(object): """Meta options for form""" model = OrganizationElection ...
26.913043
74
0.688207
64
619
6.578125
0.515625
0.066508
0.095012
0.095012
0.356295
0.356295
0.356295
0.356295
0.356295
0.356295
0
0
0.20517
619
22
75
28.136364
0.855691
0.245557
0
0.4
0
0
0.122449
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0fba234ba7461752b6aee0521ccb18ab53b32a37
9,935
py
Python
client_sdk/avalon_client_sdk/interfaces/work_order_receipt_client.py
manojsalunke85/avalon0.6_automaiton
309c2ffffdf7ee6e85fbc5d775157c0513bf1e7e
[ "Apache-2.0" ]
null
null
null
client_sdk/avalon_client_sdk/interfaces/work_order_receipt_client.py
manojsalunke85/avalon0.6_automaiton
309c2ffffdf7ee6e85fbc5d775157c0513bf1e7e
[ "Apache-2.0" ]
null
null
null
client_sdk/avalon_client_sdk/interfaces/work_order_receipt_client.py
manojsalunke85/avalon0.6_automaiton
309c2ffffdf7ee6e85fbc5d775157c0513bf1e7e
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
44.954751
79
0.630901
1,303
9,935
4.695319
0.214121
0.086793
0.065381
0.020595
0.39016
0.333279
0.282282
0.225564
0.167865
0.145799
0
0.006807
0.334575
9,935
220
80
45.159091
0.91862
0.695622
0
0.463415
0
0
0
0
0
0
0
0
0
1
0.170732
false
0.146341
0.02439
0
0.219512
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0fbd5c8ae268b4b27cda33320af0103c64769bc3
3,882
py
Python
setup.py
SecexSaudeTCU/PegaSUS
0e24c00595e8a7376680dfb2e5aa42e1e9eb7770
[ "MIT" ]
null
null
null
setup.py
SecexSaudeTCU/PegaSUS
0e24c00595e8a7376680dfb2e5aa42e1e9eb7770
[ "MIT" ]
null
null
null
setup.py
SecexSaudeTCU/PegaSUS
0e24c00595e8a7376680dfb2e5aa42e1e9eb7770
[ "MIT" ]
1
2020-08-19T19:31:42.000Z
2020-08-19T19:31:42.000Z
import os import setuptools lg = """ The PegaSUS project is divided into n modules. One of the implemented modules, called dados, allows to create a schema of a PostgreSQL database, previously created in the user computer, and to insert data that belongs to the following information health systems of the Brazilian Pub...
43.617978
125
0.67491
513
3,882
5.064327
0.444444
0.011547
0.016166
0.017321
0.391455
0.376828
0.338722
0.312548
0.312548
0.312548
0
0.01361
0.205049
3,882
88
126
44.113636
0.828257
0
0
0.441558
0
0.038961
0.704019
0.015456
0
0
0
0
0
1
0
false
0
0.025974
0
0.025974
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0fc89c8f88b87f366435a9f95524a15ca007592a
206
py
Python
slackbot_settings_sample.py
99yen/slackbot-ojichat
8a3f34edb90a84adcf62e053013a0fdc88c9df54
[ "MIT" ]
4
2019-06-01T10:22:02.000Z
2020-08-17T00:42:00.000Z
slackbot_settings_sample.py
99yen/slackbot-ojichat
8a3f34edb90a84adcf62e053013a0fdc88c9df54
[ "MIT" ]
null
null
null
slackbot_settings_sample.py
99yen/slackbot-ojichat
8a3f34edb90a84adcf62e053013a0fdc88c9df54
[ "MIT" ]
null
null
null
# coding: utf-8 # BOTに使用するSlack RTM APIキー API_TOKEN = "" # ojichatの設定 # ojichat実行ファイルのパス OJICHAT_PATH = "ojichat" # 絵文字/顔文字の最大連続数 E_LEVEL = "4" # 句読点挿入頻度レベル P_LEVEL = "1" # 触らないこと! PLUGINS = ['plugins']
12.875
25
0.694175
25
206
5.56
0.88
0
0
0
0
0
0
0
0
0
0
0.017544
0.169903
206
15
26
13.733333
0.795322
0.475728
0
0
0
0
0.16
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
1
0fcec406b8574355bd2ddcc9b14aca18471a0175
1,191
py
Python
microlearn/ml_models/PassiveAggressiveClassifier.py
adarsh1001/micro-learn
60cf9da31ff1ee489b28d2cf88236a0622fb5c42
[ "MIT" ]
12
2020-05-28T19:51:54.000Z
2021-10-17T15:22:33.000Z
microlearn/ml_models/PassiveAggressiveClassifier.py
adarsh1001/micro-learn
60cf9da31ff1ee489b28d2cf88236a0622fb5c42
[ "MIT" ]
null
null
null
microlearn/ml_models/PassiveAggressiveClassifier.py
adarsh1001/micro-learn
60cf9da31ff1ee489b28d2cf88236a0622fb5c42
[ "MIT" ]
2
2020-05-05T19:34:18.000Z
2021-06-14T05:35:58.000Z
import math import numpy as np class OffloadPA: def __init__(self, model): self.class0 = model.__dict__['classes_'][0] self.class1 = model.__dict__['classes_'][1] self.w = model.coef_[0] self.b = model.intercept_[0] self.dim = len(self.w) def get_params(self): ...
22.471698
98
0.554996
163
1,191
3.91411
0.441718
0.076803
0.050157
0.059561
0.097179
0.097179
0.097179
0
0
0
0
0.025375
0.27204
1,191
52
99
22.903846
0.710496
0
0
0.175
0
0.025
0.609572
0.080605
0
0
0
0
0
1
0.075
false
0
0.05
0.025
0.2
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0fd5c815c111bc85f7110b4e2cf954ddf74cc3ee
593
py
Python
recipes/mpi_bandwidth.py
unholywhale/hpc-container-maker
9b96f6f4f7b16555b4c9c21cd56c319ddbefd47b
[ "Apache-2.0" ]
1
2019-02-25T22:54:31.000Z
2019-02-25T22:54:31.000Z
recipes/mpi_bandwidth.py
unholywhale/hpc-container-maker
9b96f6f4f7b16555b4c9c21cd56c319ddbefd47b
[ "Apache-2.0" ]
null
null
null
recipes/mpi_bandwidth.py
unholywhale/hpc-container-maker
9b96f6f4f7b16555b4c9c21cd56c319ddbefd47b
[ "Apache-2.0" ]
null
null
null
""" MPI Bandwidth Contents: CentOS 7 GNU compilers (upstream) Mellanox OFED OpenMPI version 3.0.0 """ Stage0 += comment(__doc__, reformat=False) # CentOS base image Stage0 += baseimage(image='centos:7') # GNU compilers Stage0 += gnu(fortran=False) # Mellanox OFED Stage0 += mlnx_ofed() # OpenMPI Stage0 += ...
20.448276
120
0.70489
85
593
4.823529
0.564706
0.146341
0.04878
0.092683
0
0
0
0
0
0
0
0.027505
0.141653
593
28
121
21.178571
0.777996
0.288364
0
0
0
0.125
0.458537
0.180488
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0fd66dae09ef048b329e184a33926cd56eab2edf
499
py
Python
project/posts/migrations/0003_comment_post.py
fael07/Blog-Django-with-CBV
269747b2e663a34b99acae6368db49c6ad37c2b8
[ "MIT" ]
null
null
null
project/posts/migrations/0003_comment_post.py
fael07/Blog-Django-with-CBV
269747b2e663a34b99acae6368db49c6ad37c2b8
[ "MIT" ]
null
null
null
project/posts/migrations/0003_comment_post.py
fael07/Blog-Django-with-CBV
269747b2e663a34b99acae6368db49c6ad37c2b8
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-19 18:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('posts', '0002_post_slug'), ] operations = [ migrations.AddField( model_name='comment', ...
23.761905
110
0.621242
56
499
5.446429
0.660714
0.078689
0.091803
0.144262
0
0
0
0
0
0
0
0.048518
0.256513
499
20
111
24.95
0.773585
0.086172
0
0
1
0
0.088106
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0fdb2e3eaa602051c0733561b780d337b4fb39c5
819
py
Python
notification/migrations/0020_auto_20211122_2123.py
aropan/clist
b0eda1c3a7147a3c9300f9b3eadb83c42cdc8bfe
[ "Apache-2.0" ]
166
2019-05-16T23:46:08.000Z
2022-03-31T05:20:23.000Z
notification/migrations/0020_auto_20211122_2123.py
aropan/clist
b0eda1c3a7147a3c9300f9b3eadb83c42cdc8bfe
[ "Apache-2.0" ]
92
2020-01-18T22:51:53.000Z
2022-03-12T01:23:57.000Z
notification/migrations/0020_auto_20211122_2123.py
aropan/clist
b0eda1c3a7147a3c9300f9b3eadb83c42cdc8bfe
[ "Apache-2.0" ]
23
2020-02-09T17:38:43.000Z
2021-12-09T14:39:07.000Z
# Generated by Django 3.1.13 on 2021-11-22 21:23 import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('notification', '0019_calendar'), ] operations = [ migrations.AddField( model_name='calend...
27.3
124
0.603175
81
819
6.012346
0.567901
0.055441
0.104723
0.129363
0.287474
0.168378
0
0
0
0
0
0.042445
0.28083
819
29
125
28.241379
0.78438
0.056166
0
0.347826
1
0
0.090791
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0fdcf0cec131de1b36f7ce9b13cbd0a847ead65d
18,337
py
Python
fio-gen.py
dedwards-tech/fio-tools
7d328cff9ba3c5e67c3df23ffb064361e64eac06
[ "BSD-2-Clause" ]
null
null
null
fio-gen.py
dedwards-tech/fio-tools
7d328cff9ba3c5e67c3df23ffb064361e64eac06
[ "BSD-2-Clause" ]
null
null
null
fio-gen.py
dedwards-tech/fio-tools
7d328cff9ba3c5e67c3df23ffb064361e64eac06
[ "BSD-2-Clause" ]
null
null
null
#! /usr/local/bin/python import argparse import yaml import subprocess import os, sys import math import json import pprint sys.path.append('./libs/'); from multihost import SvrMultiHostCustom sys.path.append('../provision/'); from remote_exec import SvrRemoteThreadBase CFG_DEFAULT_WORKLOAD_YAML = """fio-gen: se...
38.361925
208
0.610678
2,463
18,337
4.344702
0.172148
0.020746
0.010093
0.009158
0.314363
0.2796
0.265022
0.229511
0.189515
0.185403
0
0.013173
0.25484
18,337
477
209
38.442348
0.76998
0.08851
0
0.28866
0
0.030928
0.368629
0.057767
0
0
0
0.002096
0
0
null
null
0
0.030928
null
null
0.036082
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0fe036ef7b70dee4404b74329dc2eb9be5124beb
1,005
py
Python
LeetCodeSolutions/python/65_Valid_Number.py
ChuanleiGuo/AlgorithmsPlayground
90b6287b742c8bfd3797540c408d679be2821a40
[ "MIT" ]
1
2017-03-27T13:38:37.000Z
2017-03-27T13:38:37.000Z
LeetCodeSolutions/python/65_Valid_Number.py
ChuanleiGuo/AlgorithmsPlayground
90b6287b742c8bfd3797540c408d679be2821a40
[ "MIT" ]
null
null
null
LeetCodeSolutions/python/65_Valid_Number.py
ChuanleiGuo/AlgorithmsPlayground
90b6287b742c8bfd3797540c408d679be2821a40
[ "MIT" ]
null
null
null
class Solution(object): def isNumber(self, s): """ :type s: str :rtype: bool """ s = s.strip() length = len(s) if length == 0: return False has_e = has_first = has_dot = has_digit = False for c in s: if c.isdigit(): ...
25.125
55
0.389055
100
1,005
3.73
0.33
0.128686
0.150134
0.080429
0
0
0
0
0
0
0
0.002169
0.541294
1,005
39
56
25.769231
0.806941
0.024876
0
0.290323
0
0
0.004219
0
0
0
0
0
0
1
0.032258
false
0
0
0
0.258065
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
1
0fe273bcec01123a3cf8277d600da6aaf65806a3
1,112
py
Python
manifests/maverick-modules/maverick_analysis/facts.d/rapl.py
rgreenosborne/maverick
ba851999b0b064c66e8644ac13575ffb8bbe81ff
[ "MIT" ]
null
null
null
manifests/maverick-modules/maverick_analysis/facts.d/rapl.py
rgreenosborne/maverick
ba851999b0b064c66e8644ac13575ffb8bbe81ff
[ "MIT" ]
null
null
null
manifests/maverick-modules/maverick_analysis/facts.d/rapl.py
rgreenosborne/maverick
ba851999b0b064c66e8644ac13575ffb8bbe81ff
[ "MIT" ]
null
null
null
#!/usr/bin/env python # This fact extracts as much hardware information out of an Up board as possible import os, re, sys, subprocess class RAPL(object): def __init__(self): self.data = {'present': 'no'} def rapldata(self): count = 0 try: with open('/sys/c...
31.771429
89
0.569245
150
1,112
4.126667
0.506667
0.077544
0.048465
0.051696
0.177706
0.138934
0.138934
0.138934
0.138934
0.138934
0
0.006361
0.293165
1,112
34
90
32.705882
0.78117
0.204137
0
0
0
0
0.196368
0.118048
0
0
0
0
0
0
null
null
0.043478
0.043478
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0fea907e13b0dd5b6d13a355811d728f9e2f9fc5
1,238
py
Python
app/wqFull/Ceq/meanStd.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
app/wqFull/Ceq/meanStd.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
app/wqFull/Ceq/meanStd.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
2
2021-04-04T02:45:59.000Z
2022-03-19T09:41:39.000Z
import pandas as pd from hydroDL.data import usgs, gageII, gridMET, ntn, GLASS, transform, dbBasin import numpy as np import matplotlib.pyplot as plt from hydroDL.post import axplot, figplot from hydroDL import kPath, utils import json import os import importlib from hydroDL.master import basinFull from hydroDL.app.wa...
25.265306
78
0.684976
201
1,238
4.218905
0.462687
0.064858
0.021226
0.033019
0
0
0
0
0
0
0
0.027965
0.162359
1,238
48
79
25.791667
0.789778
0.06462
0
0
0
0
0.016464
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ba03ab5c569e62ad7a86aa8444c1f41ac5780c19
1,942
py
Python
gwtarget/DESI_mainInjector/Main-Injector-master/python/equalArea/mcplot.py
rknop/timedomain
d3e3c43dfbb9cadc150ea04024d9b4132cb9ca17
[ "MIT" ]
1
2021-06-18T05:25:27.000Z
2021-06-18T05:25:27.000Z
gwtarget/DESI_mainInjector/Main-Injector-master/python/equalArea/mcplot.py
MatthewPortman/timedomain
b9c6c2e6804d7dde56311d9402769be545d505d0
[ "MIT" ]
null
null
null
gwtarget/DESI_mainInjector/Main-Injector-master/python/equalArea/mcplot.py
MatthewPortman/timedomain
b9c6c2e6804d7dde56311d9402769be545d505d0
[ "MIT" ]
null
null
null
import numpy as np; import matplotlib.pyplot as plt; license=""" Copyright (C) 2014 James Annis This program is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. More to the points- thi...
38.84
122
0.658084
289
1,942
4.391003
0.470588
0.009456
0.028369
0.066194
0.264775
0.244287
0.200158
0.200158
0.170213
0.133964
0
0.020107
0.23172
1,942
49
123
39.632653
0.830429
0.008754
0
0.04878
0
0
0.452133
0
0
0
0
0
0
0
null
null
0
0.04878
null
null
0.02439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ba06046e29745800786affed7ad01ad0fb881edb
6,636
py
Python
packages/django-backend/lexicon/models.py
ZechyW/cs-toolkit
802a28b3a4ce33754b8a986f6d2eb616aad017d4
[ "MIT" ]
1
2021-08-02T18:32:08.000Z
2021-08-02T18:32:08.000Z
packages/django-backend/lexicon/models.py
ZechyW/cs-toolkit
802a28b3a4ce33754b8a986f6d2eb616aad017d4
[ "MIT" ]
5
2021-03-09T17:02:32.000Z
2022-02-26T17:28:38.000Z
packages/django-backend/lexicon/models.py
ZechyW/cs-toolkit
802a28b3a4ce33754b8a986f6d2eb616aad017d4
[ "MIT" ]
1
2021-08-02T18:32:09.000Z
2021-08-02T18:32:09.000Z
""" Contains the Django models used to represent lexical items and their features. It is expected that all interaction with users should take place via the admin interface and the forms in `.forms`, which perform various validation/cleaning steps on the data. If you are modifying the database directly, you should ens...
33.685279
84
0.63909
788
6,636
5.309645
0.327411
0.021033
0.025813
0.034417
0.146511
0.12261
0.06501
0.018164
0
0
0
0.004453
0.255425
6,636
196
85
33.857143
0.84234
0.476341
0
0.175676
0
0
0.08243
0.012705
0
0
0
0
0
1
0.094595
false
0
0.054054
0.040541
0.540541
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ba0f0c01031459c3b4b4df4c355497c2c8eeb95e
1,809
py
Python
scripts/slaves.py
saugeorg/kosmosfs
d7002141b9a89c0bcba6bd10854fa4f0364766f6
[ "Apache-2.0" ]
2
2015-10-03T16:05:43.000Z
2018-03-06T15:14:20.000Z
scripts/slaves.py
saugeorg/kosmosfs
d7002141b9a89c0bcba6bd10854fa4f0364766f6
[ "Apache-2.0" ]
null
null
null
scripts/slaves.py
saugeorg/kosmosfs
d7002141b9a89c0bcba6bd10854fa4f0364766f6
[ "Apache-2.0" ]
4
2015-08-30T11:02:56.000Z
2019-05-28T14:27:25.000Z
#!/usr/bin/env python # # $Id$ # # Copyright 2008 Quantcast Corp. # Author: Sriram Rao # # This file is part of Kosmos File System (KFS). # # Licensed under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # h...
28.714286
78
0.643449
268
1,809
4.283582
0.522388
0.052265
0.023519
0.027875
0.090592
0.090592
0.090592
0.090592
0.090592
0.090592
0
0.017518
0.242676
1,809
62
79
29.177419
0.820438
0.404091
0
0.1875
0
0
0.097723
0.02277
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.09375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ba11037aa9c8ce2ff81759183944561879626019
2,935
py
Python
backend/tests/functional_tests/conftest.py
kolszewska/MedTagger
c691c822dd23a9fb402d1314e7fe2e6bde898e9c
[ "Apache-2.0" ]
71
2019-01-31T19:50:31.000Z
2022-02-20T07:36:49.000Z
backend/tests/functional_tests/conftest.py
kolszewska/MedTagger
c691c822dd23a9fb402d1314e7fe2e6bde898e9c
[ "Apache-2.0" ]
379
2019-02-16T19:12:01.000Z
2022-03-11T23:12:24.000Z
backend/tests/functional_tests/conftest.py
kolszewska/MedTagger
c691c822dd23a9fb402d1314e7fe2e6bde898e9c
[ "Apache-2.0" ]
16
2019-01-31T16:44:39.000Z
2022-02-14T15:23:29.000Z
"""Module for global fixtures that may be useful during application testing.""" import logging from typing import Any import pytest from cassandra.cqlengine.models import ModelMetaClass from medtagger import storage from medtagger.api import InvalidArgumentsException from medtagger.api.auth.business import create_use...
34.940476
101
0.740034
376
2,935
5.577128
0.404255
0.055794
0.03052
0.025751
0.066762
0.066762
0
0
0
0
0
0.00041
0.169336
2,935
83
102
35.361446
0.859721
0.153663
0
0.071429
0
0
0.148875
0.022904
0
0
0
0
0
1
0.089286
false
0.053571
0.232143
0
0.339286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ba11cc68b5a934e11c086eadc6409ee894de4c9a
1,168
py
Python
feature_extractor/vgg_feature_extractor.py
MatusBako/MakeFacesGreatAgain
e4941a8460db79dec566ed02d4b23eafb416a6db
[ "MIT" ]
null
null
null
feature_extractor/vgg_feature_extractor.py
MatusBako/MakeFacesGreatAgain
e4941a8460db79dec566ed02d4b23eafb416a6db
[ "MIT" ]
null
null
null
feature_extractor/vgg_feature_extractor.py
MatusBako/MakeFacesGreatAgain
e4941a8460db79dec566ed02d4b23eafb416a6db
[ "MIT" ]
null
null
null
from torch import nn,tensor from torchvision.models import vgg19 class VggFeatureExtractor(nn.Module): def __init__(self, maxpool_idx=2, no_activation=True): """ Used for computing perception loss (MSE over activations) :param maxpool_idx: either 1 or 4 :param no_activation: flag ...
37.677419
109
0.66524
160
1,168
4.68125
0.5125
0.066756
0.037383
0.018692
0.021362
0
0
0
0
0
0
0.044662
0.214041
1,168
30
110
38.933333
0.771242
0.16524
0
0
0
0
0.016043
0
0
0
0
0
0
1
0.1875
false
0
0.125
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ba123d68a47051749d4403fca9092143fa9694cb
2,430
py
Python
users/models.py
raikhert13/phonepages
20359156dd14b6f303cc30465db32cdd0c45c26b
[ "MIT" ]
null
null
null
users/models.py
raikhert13/phonepages
20359156dd14b6f303cc30465db32cdd0c45c26b
[ "MIT" ]
null
null
null
users/models.py
raikhert13/phonepages
20359156dd14b6f303cc30465db32cdd0c45c26b
[ "MIT" ]
null
null
null
from django.contrib.auth.models import ( AbstractBaseUser, BaseUserManager, PermissionsMixin, ) from django.db import models from django.utils import timezone class AdvancedUserManager(BaseUserManager): def create_user(self, email, username, password=None, **extra_fields): if not email: ...
29.634146
79
0.669547
273
2,430
5.758242
0.347985
0.076972
0.030534
0.045802
0.187659
0.150127
0.150127
0.053435
0
0
0
0.006469
0.236626
2,430
81
80
30
0.84097
0
0
0.088235
0
0
0.104938
0
0
0
0
0
0
1
0.102941
false
0.058824
0.044118
0.073529
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ba134e558879d301b928594941e90476b8b0941e
3,498
py
Python
src/cwfollowup/viterbi_schema.py
gravitationalwavedc/gwlab_cwfollowup
7bc9ab125c8336f5ac86ca24c24d02001e918b5e
[ "MIT" ]
null
null
null
src/cwfollowup/viterbi_schema.py
gravitationalwavedc/gwlab_cwfollowup
7bc9ab125c8336f5ac86ca24c24d02001e918b5e
[ "MIT" ]
null
null
null
src/cwfollowup/viterbi_schema.py
gravitationalwavedc/gwlab_cwfollowup
7bc9ab125c8336f5ac86ca24c24d02001e918b5e
[ "MIT" ]
null
null
null
import graphene from graphene import relay from graphene.utils.str_converters import to_snake_case from .types import ViterbiStartType, ViterbiDataType, ViterbiLabelType, ViterbiJobStatusType from .views import perform_viterbi_query, get_viterbi_candidates from .utils.generate_viterbi_query import generate_viterbi_que...
30.155172
116
0.701544
388
3,498
6.14433
0.298969
0.064597
0.018456
0.036913
0.240772
0.130872
0.091443
0.091443
0.091443
0
0
0.001089
0.212407
3,498
115
117
30.417391
0.864247
0.032304
0
0.149425
0
0
0.002663
0
0
0
0
0
0
1
0.057471
false
0
0.068966
0.022989
0.609195
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ba1438091eb9e1c484a87aea66338b138cdf8c60
1,649
py
Python
nengo_loihi/version.py
Michaeljurado24/nengo-loihi
47a18efcda3324f74493d014b431cfd0e5b9fbe2
[ "Apache-2.0" ]
null
null
null
nengo_loihi/version.py
Michaeljurado24/nengo-loihi
47a18efcda3324f74493d014b431cfd0e5b9fbe2
[ "Apache-2.0" ]
null
null
null
nengo_loihi/version.py
Michaeljurado24/nengo-loihi
47a18efcda3324f74493d014b431cfd0e5b9fbe2
[ "Apache-2.0" ]
null
null
null
"""NengoLoihi version information. We use semantic versioning (see http://semver.org/). and conform to PEP440 (see https://www.python.org/dev/peps/pep-0440/). '.devN' will be added to the version unless the code base represents a release version. Release versions are git tagged with the version. """ import warnings ...
34.354167
87
0.706489
228
1,649
4.934211
0.451754
0.213333
0.085333
0.061333
0.055111
0.055111
0
0
0
0
0
0.015766
0.192238
1,649
47
88
35.085106
0.828829
0.342632
0
0
0
0
0.231343
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0.038462
0.192308
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba14964793f9c8c520e3bcab5845c2409014fe97
3,171
py
Python
OroWebhook/APIAIquiz.py
Marcelpv96/webhook-joanOro
5054b655eb8a406abe5c8c1f03545302106f53f1
[ "MIT" ]
null
null
null
OroWebhook/APIAIquiz.py
Marcelpv96/webhook-joanOro
5054b655eb8a406abe5c8c1f03545302106f53f1
[ "MIT" ]
null
null
null
OroWebhook/APIAIquiz.py
Marcelpv96/webhook-joanOro
5054b655eb8a406abe5c8c1f03545302106f53f1
[ "MIT" ]
null
null
null
import json import random from models import LastQuestion, Question from wordsLanguages import words language = "Spanish" def createWebhookAnswer(answer): return { "speech": answer, "displayText": answer, "source": "API.AI-test-simple-Quiz" } def JSONtoQuestion(jsonData): return...
35.233333
93
0.684011
300
3,171
7.173333
0.27
0.078532
0.033457
0.072491
0.223513
0.142193
0.115242
0.080855
0
0
0
0.008046
0.176916
3,171
89
94
35.629213
0.816475
0
0
0.070423
0
0
0.0883
0.007253
0
0
0
0
0
0
null
null
0
0.056338
null
null
0.042254
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ba187d2adc4e8257325e4ca8216e40ae19e6e344
2,386
py
Python
.leetcode/101.symmetric-tree.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/101.symmetric-tree.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/101.symmetric-tree.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
# @lc app=leetcode id=101 lang=python3 # # [101] Symmetric Tree # # https://leetcode.com/problems/symmetric-tree/description/ # # algorithms # Easy (48.58%) # Likes: 6148 # Dislikes: 164 # Total Accepted: 889.2K # Total Submissions: 1.8M # Testcase Example: '[1,2,2,3,4,4,3]' # # Given the root of a binary tree, ...
20.220339
77
0.559933
331
2,386
4
0.377644
0.010574
0.015861
0.012085
0.19864
0.160121
0.160121
0.132175
0.084592
0.084592
0
0.052295
0.278709
2,386
118
78
20.220339
0.717025
0.436714
0
0.307692
0
0
0.110156
0.016406
0
0
0
0
0
1
0.025641
false
0.025641
0.025641
0
0.179487
0.435897
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ba1ad14489756ca1aa248b6f045932c073bc83ab
1,196
py
Python
scripts/diversity.py
rishigurnani/iclr19-graph2graph
77ff0ab52393930ac3a49f1300e007c9176bb001
[ "MIT" ]
135
2019-01-28T17:44:14.000Z
2022-03-17T03:10:16.000Z
scripts/diversity.py
rishigurnani/iclr19-graph2graph
77ff0ab52393930ac3a49f1300e007c9176bb001
[ "MIT" ]
7
2019-12-29T13:31:36.000Z
2021-01-29T01:15:39.000Z
scripts/diversity.py
rishigurnani/iclr19-graph2graph
77ff0ab52393930ac3a49f1300e007c9176bb001
[ "MIT" ]
46
2019-01-31T01:50:29.000Z
2022-01-26T02:05:32.000Z
import sys import argparse import numpy as np from props import * parser = argparse.ArgumentParser() parser.add_argument('--num_decode', type=int, default=10) parser.add_argument('--sim_delta', type=float, default=0.4) parser.add_argument('--prop_delta', type=float, default=0.9) args = parser.parse_args() data = [lin...
26
122
0.625418
212
1,196
3.415094
0.316038
0.058011
0.070442
0.058011
0.154696
0.058011
0.058011
0
0
0
0
0.022532
0.220736
1,196
45
123
26.577778
0.754292
0
0
0.054054
0
0
0.032609
0
0
0
0
0
0.027027
0
null
null
0
0.108108
null
null
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ba1f17dd22ae1487bb664732d273f43083a186e3
830
py
Python
sandbox/urls.py
zengoma/django-oscar-payfast
e695cc6d7421f272ca1e63faae884285a2f31a0d
[ "MIT" ]
null
null
null
sandbox/urls.py
zengoma/django-oscar-payfast
e695cc6d7421f272ca1e63faae884285a2f31a0d
[ "MIT" ]
null
null
null
sandbox/urls.py
zengoma/django-oscar-payfast
e695cc6d7421f272ca1e63faae884285a2f31a0d
[ "MIT" ]
null
null
null
from django.conf.urls import include, url from django.conf.urls.i18n import i18n_patterns from django.conf import settings from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.conf.urls.static import static from apps.app import application admin.autodiscove...
26.774194
67
0.73012
104
830
5.701923
0.269231
0.10118
0.094435
0.091062
0
0
0
0
0
0
0
0.014124
0.146988
830
30
68
27.666667
0.823446
0
0
0
0
0
0.079518
0.025301
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e83bbde514202d97dbce4935bab7471b435e7a41
10,240
py
Python
scripts/gauge_comparison.py
benyang3028/surge-examples
66078e9b445fd5efd11d047fc4863c3c2931a027
[ "MIT" ]
4
2020-05-20T16:03:25.000Z
2021-09-13T07:30:12.000Z
scripts/gauge_comparison.py
benyang3028/surge-examples
66078e9b445fd5efd11d047fc4863c3c2931a027
[ "MIT" ]
19
2015-09-27T18:33:14.000Z
2022-02-17T16:51:45.000Z
scripts/gauge_comparison.py
benyang3028/surge-examples
66078e9b445fd5efd11d047fc4863c3c2931a027
[ "MIT" ]
45
2015-09-16T12:19:33.000Z
2021-09-10T03:30:40.000Z
#!/usr/bin/env python import os import sys import datetime import scipy.io import numpy as np # Plot customization import matplotlib # Markers and line widths matplotlib.rcParams['lines.linewidth'] = 2.0 matplotlib.rcParams['lines.markersize'] = 6 matplotlib.rcParams['lines.markersize'] = 8 # Font Sizes matplotlib...
35.432526
102
0.602344
1,327
10,240
4.449133
0.197438
0.032012
0.01372
0.017276
0.302507
0.237636
0.172087
0.126186
0.126186
0.11416
0
0.027774
0.275684
10,240
289
103
35.432526
0.768235
0.107227
0
0.213904
0
0
0.091315
0.005149
0
0
0
0
0
0
null
null
0.005348
0.058824
null
null
0.048128
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e84b2ad49bfd1da1bcdfa9911d5fe12c05cdadc6
1,136
py
Python
app/models/part.py
jubbp/maker-hub
93bde3bcde7869c8454613061c50c0dcb3d2f573
[ "MIT" ]
4
2021-09-28T04:55:16.000Z
2021-12-11T03:33:01.000Z
app/models/part.py
jubbp/maker-hub
93bde3bcde7869c8454613061c50c0dcb3d2f573
[ "MIT" ]
92
2021-03-18T07:26:43.000Z
2022-03-29T21:25:38.000Z
app/models/part.py
jubbp/maker-hub
93bde3bcde7869c8454613061c50c0dcb3d2f573
[ "MIT" ]
4
2021-02-27T16:31:41.000Z
2021-07-25T02:20:09.000Z
import datetime from typing import List import sqlalchemy as sa import sqlalchemy.orm as orm from app.models.modelbase import SqlAlchemyBase from app.models.stock import Stock class Part(SqlAlchemyBase): __tablename__ = "parts" id: str = sa.Column(sa.String, primary_key=True) created_date: datetime.da...
29.128205
71
0.698063
150
1,136
5.193333
0.34
0.092426
0.115533
0.116816
0.467266
0.442875
0.442875
0.331194
0.331194
0.17715
0
0
0.1875
1,136
38
72
29.894737
0.843987
0.038732
0
0.071429
0
0
0.016529
0
0
0
0
0
0
1
0.035714
false
0
0.214286
0.035714
0.714286
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1