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
b4986e96e1f0b1e90e25754d1b183dee07129893
23,748
py
Python
src/vtra/preprocess/province_roads_access_od_creation.py
GFDRR/vietnam-transport
71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc
[ "MIT" ]
3
2018-07-09T12:15:46.000Z
2020-12-03T07:02:23.000Z
src/vtra/preprocess/province_roads_access_od_creation.py
GFDRR/vietnam-transport
71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc
[ "MIT" ]
1
2019-05-09T21:57:20.000Z
2019-05-09T21:57:20.000Z
src/vtra/preprocess/province_roads_access_od_creation.py
GFDRR/vietnam-transport
71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc
[ "MIT" ]
2
2018-07-23T12:49:21.000Z
2021-06-03T11:00:44.000Z
"""Pre-process accessibility-based provincial OD matrix Purpose ------- Create province scale OD matrices between roads connecting villages to nearest communes: - Net revenue estimates of commune villages - IFPRI crop data at 1km resolution Input data requirements ----------------------- 1. Correct paths to...
45.934236
127
0.677531
3,239
23,748
4.724606
0.129052
0.019865
0.029275
0.011762
0.533686
0.483957
0.424623
0.385741
0.35908
0.315036
0
0.007672
0.242547
23,748
516
128
46.023256
0.843062
0.423362
0
0.207373
0
0
0.121251
0.017311
0
0
0
0
0
1
0.032258
false
0
0.041475
0
0.101382
0.02765
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
0
1
0
b498ac276e2df68b96a6609f47852d8c76bbc685
2,478
py
Python
codes/train.py
pettod/lyft-kaggle
352e6e54f16622a4fac4e698828c11148ead8c7e
[ "Apache-2.0" ]
null
null
null
codes/train.py
pettod/lyft-kaggle
352e6e54f16622a4fac4e698828c11148ead8c7e
[ "Apache-2.0" ]
null
null
null
codes/train.py
pettod/lyft-kaggle
352e6e54f16622a4fac4e698828c11148ead8c7e
[ "Apache-2.0" ]
null
null
null
import argparse from datetime import datetime import os import torch.nn as nn import torch.optim as optim import torch.optim.lr_scheduler as sched from pytorch_lightning import Trainer from pytorch_lightning.loggers import TensorBoardLogger as tb from module import LyftModule from net import LyftNet from dataset impo...
31.769231
92
0.686441
314
2,478
5.194268
0.382166
0.060699
0.104231
0.053955
0.118945
0.118945
0.118945
0.079706
0.079706
0.079706
0
0.00962
0.202986
2,478
77
93
32.181818
0.816203
0.017353
0
0.190476
0
0
0.097119
0.017695
0
0
0
0
0
1
0.047619
false
0
0.174603
0
0.253968
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
0
0
1
0
b49a30813a3995f8b132fee3f56f6df5ef37cad1
1,319
py
Python
blackjack/Model/hand.py
TrevorMcDougald/Blackjack
7441064525ef4634a8ad8d09aca971de2d150cec
[ "MIT" ]
null
null
null
blackjack/Model/hand.py
TrevorMcDougald/Blackjack
7441064525ef4634a8ad8d09aca971de2d150cec
[ "MIT" ]
5
2019-07-11T19:49:36.000Z
2019-07-12T19:19:26.000Z
blackjack/Model/hand.py
TrevorMcDougald/Blackjack
7441064525ef4634a8ad8d09aca971de2d150cec
[ "MIT" ]
1
2020-01-29T02:26:26.000Z
2020-01-29T02:26:26.000Z
from Model.deck import Deck class Hand: """ Attributes: _cards: list BlackjackCard name: str """ def __init__(self, name="", *cards): """ Args: name: *cards: """ self._cards = list(cards) self.name = name class Blackjac...
21.274194
62
0.536012
158
1,319
4.240506
0.28481
0.107463
0.089552
0.068657
0.525373
0.525373
0.459701
0.316418
0.316418
0.316418
0
0.009259
0.344958
1,319
61
63
21.622951
0.766204
0.106899
0
0.25
0
0
0.001832
0
0
0
0
0
0
1
0.3125
false
0
0.03125
0.125
0.71875
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
1
0
0
0
2
b49aaea7ec39afb87fb3a52cd84feb0d5ae86507
2,459
py
Python
Examples/example_crysalispro_cuts.py
DanPorter/Dans_Diffaction
74aea3d2b54d841271f22841f405a9a7c6fa1c81
[ "Apache-2.0" ]
22
2018-05-03T13:13:43.000Z
2022-02-28T16:55:45.000Z
Examples/example_crysalispro_cuts.py
DanPorter/Dans_Diffaction
74aea3d2b54d841271f22841f405a9a7c6fa1c81
[ "Apache-2.0" ]
7
2018-05-21T06:01:13.000Z
2022-03-25T10:39:35.000Z
Examples/example_crysalispro_cuts.py
DanPorter/Dans_Diffaction
74aea3d2b54d841271f22841f405a9a7c6fa1c81
[ "Apache-2.0" ]
6
2020-03-08T17:40:50.000Z
2022-02-28T04:49:31.000Z
""" Example Read recirpocal space cuts from CrysAlisPro """ import sys, os import re import numpy as np import matplotlib.pyplot as plt cf = os.path.dirname(__file__) sys.path.insert(0, os.path.join(cf, '..')) import Dans_Diffraction as dif print(dif.version_info()) def read_image(filename, resolution=0.8): ""...
32.786667
115
0.640504
407
2,459
3.796069
0.361179
0.020712
0.007767
0.025243
0.177994
0.171521
0.137217
0.137217
0.137217
0.137217
0
0.043241
0.181781
2,459
74
116
33.22973
0.724652
0.209435
0
0.044444
0
0.022222
0.139694
0.076964
0
0
0
0
0
1
0.022222
false
0
0.111111
0
0.155556
0.022222
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
0
1
0
b49ac37fe88c794fc2754068fb491f153b63e256
4,339
py
Python
qkeras/qtools/quantized_operators/fused_bn_factory.py
mkettn/qkeras
9ea16325db86ba1dae465c4e3f1ef0575c5f3af5
[ "Apache-2.0" ]
null
null
null
qkeras/qtools/quantized_operators/fused_bn_factory.py
mkettn/qkeras
9ea16325db86ba1dae465c4e3f1ef0575c5f3af5
[ "Apache-2.0" ]
null
null
null
qkeras/qtools/quantized_operators/fused_bn_factory.py
mkettn/qkeras
9ea16325db86ba1dae465c4e3f1ef0575c5f3af5
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # Copyright 2019 Google LLC # # # 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 ag...
37.730435
80
0.726896
579
4,339
5.238342
0.283247
0.031322
0.023739
0.052753
0.263436
0.186614
0.139136
0.049126
0.030663
0
0
0.004033
0.200046
4,339
114
81
38.061404
0.869778
0.52201
0
0.086957
0
0
0.043788
0
0
0
0
0
0.021739
1
0.021739
false
0
0.23913
0
0.282609
0.021739
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
0
1
0
b49b9b4c960812cbbb38751eb57c7f0355124d6a
948
py
Python
discordbot.py
2339145977/discordpy-startup
c69906961514bd7d6d13ff666e9326589f672d81
[ "MIT" ]
null
null
null
discordbot.py
2339145977/discordpy-startup
c69906961514bd7d6d13ff666e9326589f672d81
[ "MIT" ]
null
null
null
discordbot.py
2339145977/discordpy-startup
c69906961514bd7d6d13ff666e9326589f672d81
[ "MIT" ]
null
null
null
from os import getenv import traceback import random import discord PREFIX = "yz " class MyClient(discord.Client): async def on_ready(self): print(f'Logged in as {self.user} (ID: {self.user.id})') print('------') async def on_message(self, message): # we do not want the bot to reply ...
27.085714
72
0.631857
122
948
4.860656
0.47541
0.075885
0.107926
0.175379
0.161889
0
0
0
0
0
0
0.001379
0.235232
948
34
73
27.882353
0.816552
0.043249
0
0
0
0
0.128177
0
0
0
0
0
0
1
0
false
0
0.173913
0
0.26087
0.086957
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
b49c01b7f4d4caa36d93674286e808354fe98984
278
py
Python
drogher/package/dhl.py
jbittel/drogher
9a01a19aa6575f82949ef83a3e3b8834807d9cc9
[ "BSD-3-Clause" ]
13
2017-04-24T07:49:30.000Z
2020-09-22T13:13:13.000Z
drogher/package/dhl.py
jbittel/drogher
9a01a19aa6575f82949ef83a3e3b8834807d9cc9
[ "BSD-3-Clause" ]
null
null
null
drogher/package/dhl.py
jbittel/drogher
9a01a19aa6575f82949ef83a3e3b8834807d9cc9
[ "BSD-3-Clause" ]
4
2018-09-08T05:31:57.000Z
2022-02-10T17:42:31.000Z
from .base import Package class DHL(Package): barcode_pattern = r'^\d{10}$' shipper = 'DHL' @property def valid_checksum(self): chars, check_digit = self.tracking_number[:-1], self.tracking_number[-1] return int(chars) % 7 == int(check_digit)
23.166667
80
0.643885
37
278
4.675676
0.702703
0.115607
0.208092
0.219653
0
0
0
0
0
0
0
0.023041
0.219424
278
11
81
25.272727
0.774194
0
0
0
0
0
0.039568
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.75
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b49c513be34b4f17b0d736578157499c3c26fc69
3,878
py
Python
src/process/rpc/OperationProcess.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
null
null
null
src/process/rpc/OperationProcess.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
null
null
null
src/process/rpc/OperationProcess.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
null
null
null
import time import traceback from IocManager import IocManager from datetime import datetime from domain.operation.execution.services.OperationExecution import OperationExecution from domain.operation.services.DataOperationJobService import DataOperationJobService from infrastructor.data.RepositoryProvider import Rep...
45.093023
168
0.691594
445
3,878
5.680899
0.186517
0.190269
0.106804
0.138449
0.524921
0.513845
0.501978
0.469146
0.450158
0.412184
0
0
0.232336
3,878
85
169
45.623529
0.849177
0.022434
0
0.358209
0
0.029851
0.140496
0.056518
0
0
0
0
0
1
0.044776
false
0
0.164179
0
0.238806
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
0
0
1
0
b49c9eb3c3eb69f27f9c4ba7b02c96c6ca9089e4
404
py
Python
L_3_dz3.py
Malamut86/2075_Python
a78443d4de741cdca0c67c0b014f23daf10428c0
[ "MIT" ]
null
null
null
L_3_dz3.py
Malamut86/2075_Python
a78443d4de741cdca0c67c0b014f23daf10428c0
[ "MIT" ]
2
2022-03-13T13:10:36.000Z
2022-03-20T12:08:26.000Z
L_3_dz3.py
Malamut86/2075_Python
a78443d4de741cdca0c67c0b014f23daf10428c0
[ "MIT" ]
null
null
null
def thesaurus(*args, bool=True) -> dict: if bool: args = sorted(list(args)) dict_out = {} for words in args: dict_value = dict_out.setdefault(words[0], list()) if words not in dict_value: dict_value.append(words) dict_out[words[0]] = dict_value ...
23.764706
59
0.564356
52
404
4.230769
0.480769
0.127273
0.118182
0
0
0
0
0
0
0
0
0.007092
0.30198
404
16
60
25.25
0.77305
0
0
0
0
0
0.054264
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0.090909
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
0
1
0
b49d958a46d14b05dba8cf75523bb3f4b5c4c07d
28
py
Python
adbc/commands/__init__.py
aleontiev/apg
c6a10a9b0a576913c63ed4f093e2a0fa7469af87
[ "MIT" ]
2
2020-07-17T16:33:42.000Z
2020-07-21T04:48:38.000Z
adbc/commands/__init__.py
aleontiev/apg
c6a10a9b0a576913c63ed4f093e2a0fa7469af87
[ "MIT" ]
null
null
null
adbc/commands/__init__.py
aleontiev/apg
c6a10a9b0a576913c63ed4f093e2a0fa7469af87
[ "MIT" ]
null
null
null
from .run import RunCommand
14
27
0.821429
4
28
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
1
28
28
0.958333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b49ea8e7151a4c7f8e75d89321810fa271971c0e
430
py
Python
app/management/commands/delete_all_users.py
kantale/OpenBioC
e047e44d06613f30845f3b98b83d2a2c935dff54
[ "BSD-3-Clause" ]
5
2019-09-05T12:48:46.000Z
2020-08-27T12:47:28.000Z
app/management/commands/delete_all_users.py
kantale/OpenBioC
e047e44d06613f30845f3b98b83d2a2c935dff54
[ "BSD-3-Clause" ]
85
2019-07-25T06:45:44.000Z
2020-09-17T12:59:48.000Z
app/management/commands/delete_all_users.py
kantale/OpenBioC
e047e44d06613f30845f3b98b83d2a2c935dff54
[ "BSD-3-Clause" ]
4
2019-09-05T12:48:49.000Z
2019-12-05T13:29:31.000Z
from django.core.management.base import BaseCommand from django.conf import settings from django.contrib.auth.models import User from ...models import OBC_user class Command(BaseCommand): help = 'Delete all users.' def handle(self, *args, **options): print (User.objects.all().delete()) print...
25.294118
51
0.686047
56
430
5.214286
0.5
0.10274
0.09589
0.136986
0.239726
0.239726
0.239726
0
0
0
0
0
0.195349
430
16
52
26.875
0.843931
0
0
0
0
0
0.123256
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.636364
0.363636
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
1
0
0
2
b4a37dfcf3562862645afaf93f9f77b2926dd541
12,886
py
Python
robonet/video_prediction/models/deterministic_generator.py
russellmendonca/RoboNet
de30fa069dacb2888e62bd239e7a3471ea3aaa9d
[ "MIT" ]
140
2019-10-25T03:05:04.000Z
2022-03-07T17:41:56.000Z
robonet/video_prediction/models/deterministic_generator.py
russellmendonca/RoboNet
de30fa069dacb2888e62bd239e7a3471ea3aaa9d
[ "MIT" ]
9
2019-12-22T20:52:47.000Z
2022-02-22T07:56:43.000Z
robonet/video_prediction/models/deterministic_generator.py
russellmendonca/RoboNet
de30fa069dacb2888e62bd239e7a3471ea3aaa9d
[ "MIT" ]
26
2019-10-21T04:49:55.000Z
2021-09-17T15:50:17.000Z
""" Boiled down version of SAVP model from https://github.com/alexlee-gk/video_prediction """ from robonet.video_prediction.models.base_model import BaseModel from robonet.video_prediction.utils import tf_utils import tensorflow as tf from collections import OrderedDict from robonet.video_prediction import losses from ...
57.526786
155
0.619122
1,648
12,886
4.496966
0.17051
0.06234
0.004858
0.004858
0.353259
0.252058
0.222237
0.173121
0.112805
0.036162
0
0.019406
0.268198
12,886
223
156
57.784753
0.76649
0.03011
0
0.067416
0
0
0.103965
0.010412
0
0
0
0
0.005618
1
0.02809
false
0.005618
0.050562
0.011236
0.123596
0.011236
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
0
1
0
b4a3a57a382cc1afa9ce35172dc42125af270306
2,145
py
Python
utils/boilerplate/test_elephant.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
utils/boilerplate/test_elephant.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
utils/boilerplate/test_elephant.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
import unittest from pysapets.elephant import Elephant from pysapets.animal import Animal import pysapets.constants as constants from unittest.mock import patch from io import StringIO from copy import deepcopy class ElephantTest(unittest.TestCase): def setUp(self): self.elephant = Elephant() self.friends ...
32.014925
97
0.748252
294
2,145
5.292517
0.207483
0.053985
0.032134
0.073907
0.532776
0.448586
0.29563
0.18509
0.079692
0.059126
0
0.015211
0.172494
2,145
67
98
32.014925
0.861408
0.244289
0
0.205128
0
0
0
0
0
0
0
0.014925
0.230769
1
0.333333
false
0.102564
0.179487
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
4
b4a4e97414c6b6c88561b6464b26eaeee459ebc6
6,013
py
Python
checkproject/case.py
perror/checkproject
9321470164e010778d32e24dc77c0b28eccd9429
[ "BSD-3-Clause" ]
null
null
null
checkproject/case.py
perror/checkproject
9321470164e010778d32e24dc77c0b28eccd9429
[ "BSD-3-Clause" ]
null
null
null
checkproject/case.py
perror/checkproject
9321470164e010778d32e24dc77c0b28eccd9429
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 # Checkcase class implementation. """Checkcase class implementation. There is three kinds of ways to fail a check: - Warning: Generate a warning message but do not count as an error. - Error: Generate an error message and count as an error. - Failure: Generate a failure message and stop the run...
35.370588
78
0.640113
826
6,013
4.627119
0.266344
0.028781
0.020408
0.025118
0.299581
0.265568
0.217949
0.217949
0.217949
0.1719
0
0.000472
0.295027
6,013
169
79
35.579882
0.901156
0.616498
0
0.283019
1
0
0.086345
0
0
0
0
0
0
1
0.169811
false
0.037736
0.056604
0
0.320755
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
b4a5bbf08a7b51f662f40c48b225c0d4fcbb721e
8,200
py
Python
models/nerf_net.py
peihaowang/nerf-pytorch
24c11a42d65c381150d2bb6caa6d160920d6cae7
[ "MIT" ]
23
2021-02-03T07:59:22.000Z
2022-03-28T07:13:45.000Z
models/nerf_net.py
peihaowang/nerf-pytorch
24c11a42d65c381150d2bb6caa6d160920d6cae7
[ "MIT" ]
null
null
null
models/nerf_net.py
peihaowang/nerf-pytorch
24c11a42d65c381150d2bb6caa6d160920d6cae7
[ "MIT" ]
4
2021-12-06T12:18:44.000Z
2022-03-29T16:08:12.000Z
import os, sys import numpy as np import imageio import json import random import time import torch import torch.nn as nn import torch.nn.functional as F from torch.utils.tensorboard import SummaryWriter from tqdm import tqdm, trange import matplotlib.pyplot as plt from models.sampler import StratifiedSampler, Import...
42.051282
146
0.617805
1,113
8,200
4.339623
0.224618
0.016563
0.027329
0.016149
0.261077
0.166874
0.142443
0.142443
0.142443
0.128364
0
0.014232
0.280244
8,200
194
147
42.268041
0.804134
0.245976
0
0.163636
0
0
0.01889
0
0
0
0
0
0.009091
1
0.027273
false
0
0.236364
0
0.290909
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
0
0
1
0
b4a6549b47a6935e2adc560ad5318ae84b5054b8
113
py
Python
src/base_unittest.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
216
2015-01-05T12:48:10.000Z
2022-03-08T00:12:23.000Z
src/base_unittest.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
55
2015-02-28T12:10:26.000Z
2020-11-18T17:45:16.000Z
src/base_unittest.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
34
2015-05-02T15:15:10.000Z
2020-06-15T19:20:37.000Z
def independence(): # Simply check that base can be imported. import base print "independence: ok"
16.142857
45
0.672566
14
113
5.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.256637
113
6
46
18.833333
0.904762
0.345133
0
0
0
0
0.222222
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
b4a65d97b1e73201ba7a61c0189b55eeb9aa09c5
1,970
py
Python
code/data_wash.py
ylf2002/lol
476bea227227434fc19c012047243afbeab9d099
[ "MIT" ]
1
2021-05-26T03:03:33.000Z
2021-05-26T03:03:33.000Z
code/data_wash.py
ylf2002/lol
476bea227227434fc19c012047243afbeab9d099
[ "MIT" ]
null
null
null
code/data_wash.py
ylf2002/lol
476bea227227434fc19c012047243afbeab9d099
[ "MIT" ]
null
null
null
####################################### # School of Software Technology # # Dalian University of Technology # # yang lifan # # 2862506026@qq.com # ####################################### import numpy as np import pandas as pd df = pd.read_excel(r"lol\data\f...
35.178571
92
0.561421
310
1,970
3.516129
0.335484
0.12844
0.06422
0.06422
0.36422
0.36422
0.229358
0.229358
0.188991
0.188991
0
0.020171
0.169543
1,970
55
93
35.818182
0.621638
0.09797
0
0.064516
0
0
0.168683
0.071909
0
0
0
0
0
1
0
false
0
0.064516
0
0.064516
0.032258
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
0
1
0
b4a68eef0211ea8367075b0a591513830e5f31fa
1,116
py
Python
development/models/layers/mesh_conv.py
atomicsulfate/meshcnn-4-cadseg
c0d91ec593293cb58eec422556d1322a3b4f6183
[ "MIT" ]
7
2021-04-07T06:31:58.000Z
2022-01-27T09:49:51.000Z
development/models/layers/mesh_conv.py
atomicsulfate/meshcnn-4-cadseg
c0d91ec593293cb58eec422556d1322a3b4f6183
[ "MIT" ]
null
null
null
development/models/layers/mesh_conv.py
atomicsulfate/meshcnn-4-cadseg
c0d91ec593293cb58eec422556d1322a3b4f6183
[ "MIT" ]
2
2021-05-19T03:39:04.000Z
2021-08-12T08:20:19.000Z
import torch from meshcnn.models.layers import mesh_conv class MeshConv(mesh_conv.MeshConv): def create_GeMM(self, x, Gi): Gishape = Gi.shape # pad the first row of every sample in batch with zeros padding = torch.zeros((x.shape[0], x.shape[1], 1), requires_grad=True, device=x.device) ...
34.875
95
0.49552
163
1,116
3.349693
0.380368
0.014652
0.032967
0.03663
0
0
0
0
0
0
0
0.043025
0.312724
1,116
32
96
34.875
0.66884
0.149642
0
0
0
0
0
0
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.227273
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
0
0
1
0
b4a7840aed45d076df5f2476093d1ece342ead3d
3,389
py
Python
miossl/schedulers.py
miossl/miossl
cf1d6e5375803e46c74d361ae650403f70fc2b4c
[ "Apache-2.0" ]
null
null
null
miossl/schedulers.py
miossl/miossl
cf1d6e5375803e46c74d361ae650403f70fc2b4c
[ "Apache-2.0" ]
null
null
null
miossl/schedulers.py
miossl/miossl
cf1d6e5375803e46c74d361ae650403f70fc2b4c
[ "Apache-2.0" ]
null
null
null
import math import warnings from typing import List from torch.optim import Optimizer from torch.optim.lr_scheduler import _LRScheduler class LinearWarmupCosineAnnealingLR(_LRScheduler): def __init__( self, optimizer: Optimizer, warmup_epochs: int, max_epochs: int, warmup_...
39.406977
119
0.588374
424
3,389
4.457547
0.200472
0.100529
0.118519
0.060317
0.455556
0.421164
0.330688
0.293651
0.22963
0.22963
0
0.009466
0.314252
3,389
85
120
39.870588
0.803787
0.151372
0
0.147541
0
0
0.032632
0
0
0
0
0
0
1
0.04918
false
0
0.081967
0
0.262295
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
0
0
1
0
b4a7ca4b7618be6bc620a7d348026e8218320c74
4,305
py
Python
compiler/lexer/lexer.py
KrishnaKanth1729/FireScript
90c42163bfabff3b4e105f337f39da1f48dc4f3a
[ "MIT" ]
null
null
null
compiler/lexer/lexer.py
KrishnaKanth1729/FireScript
90c42163bfabff3b4e105f337f39da1f48dc4f3a
[ "MIT" ]
null
null
null
compiler/lexer/lexer.py
KrishnaKanth1729/FireScript
90c42163bfabff3b4e105f337f39da1f48dc4f3a
[ "MIT" ]
null
null
null
from typing import Tuple from compiler.errors.errors import FEOLError, FParsingError, FEOFError from compiler.lexer.tokens import * from compiler.lexer.readers import Reader class Lexer: def __init__(self, reader: Reader): self.reader = reader def lex_identifier(self) -> str: """Grab an iden...
35.286885
83
0.523577
412
4,305
5.315534
0.191748
0.150685
0.170776
0.124658
0.483105
0.372146
0.339726
0.287671
0.228767
0.228767
0
0
0.371661
4,305
121
84
35.578512
0.809612
0.039024
0
0.247312
0
0
0.035194
0
0
0
0
0.008264
0
1
0.053763
false
0
0.043011
0
0.247312
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
0
0
1
0
b4a7d54ebf43275a91b1af9ae00ff9bd58753690
118
py
Python
dataservice/api/outcome/__init__.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
6
2018-01-25T13:49:24.000Z
2020-03-07T16:25:09.000Z
dataservice/api/outcome/__init__.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
369
2018-01-17T15:22:18.000Z
2022-03-10T19:14:56.000Z
dataservice/api/outcome/__init__.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
3
2018-04-11T14:18:37.000Z
2018-10-31T19:09:48.000Z
from dataservice.api.outcome.resources import OutcomeAPI from dataservice.api.outcome.resources import OutcomeListAPI
39.333333
60
0.881356
14
118
7.428571
0.571429
0.288462
0.346154
0.480769
0.769231
0.769231
0
0
0
0
0
0
0.067797
118
2
61
59
0.945455
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
b4a89b047d9526903b1666439bd632bebb9235df
36,093
py
Python
src/aceinna/devices/openrtk/uart_provider.py
xhaidong/python-openimu
9cd20ed61f62d0abd964e37700972bc97e3d0e8c
[ "Apache-2.0" ]
null
null
null
src/aceinna/devices/openrtk/uart_provider.py
xhaidong/python-openimu
9cd20ed61f62d0abd964e37700972bc97e3d0e8c
[ "Apache-2.0" ]
null
null
null
src/aceinna/devices/openrtk/uart_provider.py
xhaidong/python-openimu
9cd20ed61f62d0abd964e37700972bc97e3d0e8c
[ "Apache-2.0" ]
null
null
null
import os import time import json import datetime import threading import math import re import collections import serial import serial.tools.list_ports from .ntrip_client import NTRIPClient from ...framework.utils import ( helper, resource ) from ...framework.context import APP_CONTEXT from ..base.provider_base im...
38.851453
131
0.506469
3,750
36,093
4.631467
0.1216
0.01831
0.023837
0.012034
0.419219
0.345636
0.278328
0.224551
0.184132
0.174286
0
0.015402
0.382983
36,093
928
132
38.893319
0.764481
0.052198
0
0.31479
0
0.002714
0.111492
0.008048
0
0
0.000355
0
0
1
0.037992
false
0.004071
0.032564
0.001357
0.097693
0.017639
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
0
1
0
b4ab5336f243e3a61cf46c03fff4d5667a06f2b8
2,250
py
Python
src/77. Combinations.py
wisesky/LeetCode-Practice
65549f72c565d9f11641c86d6cef9c7988805817
[ "MIT" ]
null
null
null
src/77. Combinations.py
wisesky/LeetCode-Practice
65549f72c565d9f11641c86d6cef9c7988805817
[ "MIT" ]
null
null
null
src/77. Combinations.py
wisesky/LeetCode-Practice
65549f72c565d9f11641c86d6cef9c7988805817
[ "MIT" ]
null
null
null
from typing import List from itertools import product import random class Solution: def combine(self, n: int, k: int) -> List[List[int]]: # s1 inmitate std practice # nums = list(range(1,n+1)) # res = self.combinations(nums, k) # return list(res) # s2 DFS # nums = l...
28.125
86
0.450667
278
2,250
3.589928
0.241007
0.04509
0.039078
0.042084
0.112224
0.068136
0.068136
0.046092
0
0
0
0.019939
0.420444
2,250
80
87
28.125
0.745399
0.246667
0
0.093023
0
0
0.006599
0
0
0
0
0
0
1
0.093023
false
0
0.069767
0
0.302326
0.023256
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
0
1
0
b4ae6154e286558196a78ebd191992f0143763b1
4,082
py
Python
src/object_detector.py
jaswanthbjk/BCDC-Net
a83b7bc31e53ab89d9025fd6b7e3d45c9dbd4f4f
[ "MIT" ]
null
null
null
src/object_detector.py
jaswanthbjk/BCDC-Net
a83b7bc31e53ab89d9025fd6b7e3d45c9dbd4f4f
[ "MIT" ]
null
null
null
src/object_detector.py
jaswanthbjk/BCDC-Net
a83b7bc31e53ab89d9025fd6b7e3d45c9dbd4f4f
[ "MIT" ]
null
null
null
import cv2 import numpy as np class Image_Detector: """ Detector class for performing 1) resizing to required image size 2) Perform inference on a new image using the trained network Args: label_dict: Dictionary of class_id mapped to class_names frozen_graph: Tensorflow frozen graph of...
41.232323
78
0.566144
514
4,082
4.307393
0.29572
0.054201
0.081301
0.054201
0.102078
0.092141
0.036134
0.036134
0
0
0
0.021477
0.349829
4,082
98
79
41.653061
0.812735
0.246203
0
0.033898
0
0
0.000688
0
0
0
0
0
0
1
0.084746
false
0
0.033898
0
0.20339
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
0
0
1
0
b4b08a6e22243f7c828aaf3dc42a0edf0a5971a8
407
py
Python
embasp/specializations/idlv/idlv_minimal_models.py
MikeCoder96/EmbASP-Python
60898633db9fa3786989bfe7b4c77c5381315e7a
[ "MIT" ]
1
2020-03-28T14:28:40.000Z
2020-03-28T14:28:40.000Z
embasp/specializations/idlv/idlv_minimal_models.py
MikeCoder96/EmbASP-Python
60898633db9fa3786989bfe7b4c77c5381315e7a
[ "MIT" ]
null
null
null
embasp/specializations/idlv/idlv_minimal_models.py
MikeCoder96/EmbASP-Python
60898633db9fa3786989bfe7b4c77c5381315e7a
[ "MIT" ]
5
2020-03-29T15:48:05.000Z
2021-09-07T22:05:04.000Z
from ...languages.datalog.minimal_models import MinimalModels from parsers.datalog.datalog_solvers_parser import DatalogSolversParser class IDLVMinimalModels(MinimalModels): """Represents IDLV's minimal models.""" def __init__(self, out, err=None): super(IDLVMinimalModels, self).__init__(out, err) ...
31.307692
71
0.759214
45
407
6.555556
0.577778
0.088136
0
0
0
0
0
0
0
0
0
0
0.142506
407
12
72
33.916667
0.845272
0.081081
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
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
1
0
0
2
b4b108ba267b965113bd6553053c7e28217a887f
381
py
Python
py/contiguous-array.py
ckclark/leetcode
844c6f18d06dcb397db76436e5f4b8ddcb1beddc
[ "Apache-2.0" ]
null
null
null
py/contiguous-array.py
ckclark/leetcode
844c6f18d06dcb397db76436e5f4b8ddcb1beddc
[ "Apache-2.0" ]
null
null
null
py/contiguous-array.py
ckclark/leetcode
844c6f18d06dcb397db76436e5f4b8ddcb1beddc
[ "Apache-2.0" ]
null
null
null
class Solution(object): def findMaxLength(self, nums): """ :type nums: List[int] :rtype: int """ pos = {0: -1} v = 0 ans = 0 for i, n in enumerate(nums): v += n * 2 - 1 if v in pos: ans = max(ans, i - pos[v]) ...
22.411765
42
0.370079
46
381
3.065217
0.565217
0.056738
0
0
0
0
0
0
0
0
0
0.032086
0.509186
381
16
43
23.8125
0.721925
0.086614
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
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
b4b1e6c3082e6ef4193d783b860478fded91a496
1,548
py
Python
src/test/rdflib/__init__.py
sffjunkie/mogul
1634fd3e630dd27e7d875cbd2f053e97eaa1da6f
[ "Apache-2.0" ]
null
null
null
src/test/rdflib/__init__.py
sffjunkie/mogul
1634fd3e630dd27e7d875cbd2f053e97eaa1da6f
[ "Apache-2.0" ]
null
null
null
src/test/rdflib/__init__.py
sffjunkie/mogul
1634fd3e630dd27e7d875cbd2f053e97eaa1da6f
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2009-2014 Simon Kennedy <sffjunkie+code@gmail.com> # # 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 a...
30.96
98
0.709948
224
1,548
4.816964
0.53125
0.055607
0.024096
0.029657
0.151993
0.118628
0.118628
0.118628
0.118628
0.118628
0
0.017067
0.167313
1,548
50
99
30.96
0.820016
0.379199
0
0.24
0
0
0.160338
0
0
0
0
0
0.04
1
0.12
false
0
0.16
0.04
0.32
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
0
0
1
0
b4b219e46b871a781176af732787b6b6cfc80947
4,753
py
Python
ChiEngProj.py
meson200/ChiEngProj
9661f3d4ce66ddfc2b6e0c36a64bec67a31ef5aa
[ "MIT" ]
null
null
null
ChiEngProj.py
meson200/ChiEngProj
9661f3d4ce66ddfc2b6e0c36a64bec67a31ef5aa
[ "MIT" ]
null
null
null
ChiEngProj.py
meson200/ChiEngProj
9661f3d4ce66ddfc2b6e0c36a64bec67a31ef5aa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Oct 29 23:25:47 2015 Data incubator challenge question "predicting power usage for new home owners" version 1.0 based on 2010 usage and weather data in Chicago @author: Sangkyu Lee """ import pandas as pd import numpy as np import requests import json import calendar from g...
42.4375
115
0.723122
699
4,753
4.69671
0.341917
0.053305
0.01523
0.012793
0.194639
0.136765
0.136765
0.092903
0.042949
0.042949
0
0.019875
0.121397
4,753
111
116
42.81982
0.766284
0.184936
0
0
0
0
0.172803
0.029293
0
0
0
0
0
1
0.042254
false
0
0.098592
0
0.183099
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
0
0
0
0
0
0
0
0
1
0
b4b3d80e55a5aa21605c46650fbb8fb3c8a414dc
17,666
py
Python
dotastats/models.py
romanalexander/opendota
e0ad79db9b425055a5a3ed40be793ddfb082ecd8
[ "MIT" ]
14
2016-08-31T15:21:59.000Z
2021-03-24T07:11:07.000Z
dotastats/models.py
romanalexander/opendota
e0ad79db9b425055a5a3ed40be793ddfb082ecd8
[ "MIT" ]
1
2017-09-07T01:13:49.000Z
2017-09-07T01:13:49.000Z
dotastats/models.py
romanalexander/opendota
e0ad79db9b425055a5a3ed40be793ddfb082ecd8
[ "MIT" ]
6
2016-09-06T04:45:28.000Z
2019-07-19T17:13:41.000Z
from datetime import datetime from datetime import timedelta from django.db import models from django.db.models import Q from django.core import serializers from django.core.exceptions import ObjectDoesNotExist from django.conf import settings from django.utils.timezone import get_current_timezone from django.utils imp...
40.518349
185
0.657874
2,138
17,666
5.212816
0.183349
0.037147
0.012831
0.018753
0.366981
0.310902
0.262719
0.225482
0.175774
0.175774
0
0.01246
0.241311
17,666
435
186
40.611494
0.81907
0.16178
0
0.283019
0
0
0.091704
0.001622
0
0
0
0
0
1
0.100629
false
0.003145
0.031447
0.04717
0.584906
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
b4b498934bcc4f96ba6a32615a180933e174d2c4
1,697
py
Python
setup.py
isabella232/resync
6e9ddfa83087a0c122f72a6cc375c490f758b016
[ "Apache-2.0" ]
1
2016-11-30T18:08:02.000Z
2016-11-30T18:08:02.000Z
setup.py
EHRI/resync
6e9ddfa83087a0c122f72a6cc375c490f758b016
[ "Apache-2.0" ]
1
2021-06-22T08:24:40.000Z
2021-06-22T08:24:40.000Z
setup.py
isabella232/resync
6e9ddfa83087a0c122f72a6cc375c490f758b016
[ "Apache-2.0" ]
1
2021-06-22T08:22:25.000Z
2021-06-22T08:22:25.000Z
from setuptools import setup # setuptools used instead of distutils.core so that # dependencies can be handled automatically # Extract version number from resync/_version.py. Here we # are very strict about the format of the version string # as an extra sanity check. (Thanks for comments in # http://stackoverflow.com/...
39.465116
95
0.64231
193
1,697
5.595855
0.678756
0.036111
0.027778
0
0
0
0
0
0
0
0
0.008346
0.223335
1,697
42
96
40.404762
0.811077
0.274602
0
0
0
0
0.470106
0.038493
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
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
0
0
1
0
b4b57c305f668f559a512cca575b3c48c7b7230f
2,966
py
Python
tests/test_config.py
ARMmbed/snippet
e186338ceeca8727b1dc0843f22c5cc486c00045
[ "Apache-2.0" ]
4
2018-11-09T13:51:07.000Z
2022-03-02T08:16:16.000Z
tests/test_config.py
ARMmbed/snippet
e186338ceeca8727b1dc0843f22c5cc486c00045
[ "Apache-2.0" ]
2
2020-04-09T07:38:44.000Z
2020-04-09T07:49:32.000Z
tests/test_config.py
ARMmbed/snippet
e186338ceeca8727b1dc0843f22c5cc486c00045
[ "Apache-2.0" ]
15
2019-02-03T12:10:44.000Z
2022-03-02T20:40:32.000Z
# # Copyright (C) 2020 Arm Mbed. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # import os import shutil import filecmp import subprocess import sys import textwrap import unittest from snippet import config as snippet_config from tests import tmp_test_dir from tests import sample_input_dir class Test(...
29.366337
96
0.567094
345
2,966
4.681159
0.35942
0.027864
0.043344
0.024149
0.388854
0.344272
0.248916
0.248916
0.248916
0.19195
0
0.006602
0.336143
2,966
100
97
29.66
0.813611
0.110249
0
0.238095
0
0
0.067797
0.015611
0
0
0
0
0.126984
1
0.095238
false
0
0.15873
0
0.269841
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
0
0
1
0
b4b6b4138ca66bccd63341d93918ed34f71c9d55
6,705
py
Python
Train.py
lythings/FaceEmotionCamera
430545201a2ea2d1423ed5509d882f00f9d7dba6
[ "MIT" ]
null
null
null
Train.py
lythings/FaceEmotionCamera
430545201a2ea2d1423ed5509d882f00f9d7dba6
[ "MIT" ]
null
null
null
Train.py
lythings/FaceEmotionCamera
430545201a2ea2d1423ed5509d882f00f9d7dba6
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import time import torch import torch.nn as nn import torch.optim as optim import torchvision from tqdm import tqdm import matplotlib.pyplot as plt class DataSet(torch.utils.data.Dataset): def __init__(self, dataPath, transform=None): self.dataset = pd.read_csv(dataPat...
43.258065
107
0.579717
822
6,705
4.542579
0.281022
0.014462
0.024371
0.022496
0.219336
0.159882
0.131762
0.119443
0.038565
0
0
0.024602
0.296793
6,705
155
108
43.258065
0.767338
0.085011
0
0.11194
0
0.007463
0.053244
0.010813
0
0
0
0
0
1
0.067164
false
0
0.067164
0.007463
0.19403
0.007463
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
0
1
0
b4b770d170dc7ddd7d1fdf77ff1f8640146578d6
625
py
Python
readimc/_imc_file.py
BodenmillerGroup/readimc
d46a3cc0cbae973f21477daa1c57f55b140fa1e3
[ "MIT" ]
null
null
null
readimc/_imc_file.py
BodenmillerGroup/readimc
d46a3cc0cbae973f21477daa1c57f55b140fa1e3
[ "MIT" ]
5
2021-11-01T13:53:10.000Z
2022-03-10T16:34:43.000Z
readimc/_imc_file.py
BodenmillerGroup/readimc
d46a3cc0cbae973f21477daa1c57f55b140fa1e3
[ "MIT" ]
null
null
null
import numpy as np from abc import ABC, abstractmethod from pathlib import Path class IMCFile(ABC): """Shared IMC file interface""" def __init__(self, path: Path) -> None: super().__init__() self._path = Path(path) @property def path(self) -> Path: """Path to the IMC file"""...
23.148148
69
0.6112
76
625
4.881579
0.539474
0.086253
0.097035
0.086253
0
0
0
0
0
0
0
0.004464
0.2832
625
26
70
24.038462
0.823661
0.2768
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0
0.615385
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
1
0
0
2
b4b8ba2e649969fc6bb6f38a691b8170998175d9
1,579
py
Python
behaviour-analysis-pipeline.py
zhen-lab/behaviour-analysis
14cddaa342ad04538428faba1f91a4f34ab7b1e2
[ "MIT" ]
null
null
null
behaviour-analysis-pipeline.py
zhen-lab/behaviour-analysis
14cddaa342ad04538428faba1f91a4f34ab7b1e2
[ "MIT" ]
7
2020-02-07T14:16:48.000Z
2020-02-25T20:43:03.000Z
behaviour-analysis-pipeline.py
zhen-lab/behaviour-analysis
14cddaa342ad04538428faba1f91a4f34ab7b1e2
[ "MIT" ]
null
null
null
import cv2 import glob import os import shutil from tierpsy.processing.processMultipleFilesFun import processMultipleFilesFun from tierpsy.summary.collect import calculate_summaries path = './data/jpeg-30s/' img_extension = "*.jpg" fps = 10 masked_video_dir = path + 'MaskedVideos' results_dir = path + 'Results' parame...
26.762712
173
0.721343
224
1,579
4.839286
0.459821
0.030443
0.038745
0.023985
0.02952
0
0
0
0
0
0
0.014903
0.150095
1,579
59
174
26.762712
0.792847
0.041799
0
0
0
0
0.165453
0
0
0
0
0
0
1
0.022727
false
0
0.136364
0
0.181818
0.022727
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
0
1
0
b4ba681dc4c92ddb5d2f438ede0c482768226c4a
16,306
py
Python
dracoon/groups.py
Quirinwierer/dracoon-python-api
7fad8cdb95069fb80069e76c740547f3ad02b910
[ "Apache-2.0" ]
3
2020-10-05T14:34:46.000Z
2020-11-27T07:44:57.000Z
dracoon/groups.py
Quirinwierer/dracoon-python-api
7fad8cdb95069fb80069e76c740547f3ad02b910
[ "Apache-2.0" ]
1
2022-02-15T16:01:12.000Z
2022-02-15T16:01:12.000Z
dracoon/groups.py
Quirinwierer/dracoon-python-api
7fad8cdb95069fb80069e76c740547f3ad02b910
[ "Apache-2.0" ]
1
2021-03-04T08:16:07.000Z
2021-03-04T08:16:07.000Z
""" Async DRACOON users adapter based on httpx and pydantic V1.0.0 (c) Octavio Simone, November 2021 Collection of DRACOON API calls for user management Documentation: https://dracoon.team/api/swagger-ui/index.html?configUrl=/api/spec_v4/swagger-config#/groups Please note: maximum 500 items are returned in GET reque...
35.680525
170
0.631976
2,056
16,306
4.835603
0.098249
0.073024
0.053309
0.030175
0.740193
0.722189
0.674613
0.649065
0.616375
0.577449
0
0.002319
0.259659
16,306
456
171
35.758772
0.821239
0.07623
0
0.648734
0
0
0.110736
0.009515
0
0
0
0
0
1
0.041139
false
0
0.028481
0
0.142405
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
b4bb509664e64b4c97929d6b7c30c8a2ec08f3e2
1,758
py
Python
higra/accumulator/graph_accumulator.py
deisemaia/Higra
82cb78b606a383f3961faa882457a9a987f802e0
[ "CECILL-B" ]
64
2019-08-18T19:23:23.000Z
2022-03-21T04:15:04.000Z
higra/accumulator/graph_accumulator.py
deisemaia/Higra
82cb78b606a383f3961faa882457a9a987f802e0
[ "CECILL-B" ]
120
2019-08-16T09:10:35.000Z
2022-03-17T09:42:58.000Z
higra/accumulator/graph_accumulator.py
deisemaia/Higra
82cb78b606a383f3961faa882457a9a987f802e0
[ "CECILL-B" ]
12
2019-10-04T07:35:55.000Z
2021-01-10T19:59:11.000Z
############################################################################ # Copyright ESIEE Paris (2018) # # # # Contributor(s) : Benjamin Perret # # ...
43.95
81
0.521615
169
1,758
5.307692
0.325444
0.101449
0.080268
0.055741
0.57748
0.57748
0.519509
0.332219
0.332219
0.332219
0
0.003339
0.318544
1,758
39
82
45.076923
0.745409
0.662116
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
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
1
0
0
2
b4bd67bdd7932ab494ee265fcb7f8858ae2f0b83
48
py
Python
tests/__init__.py
konradical/python_boilerplate
726bce3729f2263b43bc4acc39549e4179a257b3
[ "MIT" ]
4
2021-09-16T15:51:33.000Z
2022-02-22T01:49:38.000Z
tests/__init__.py
konradical/python_boilerplate
726bce3729f2263b43bc4acc39549e4179a257b3
[ "MIT" ]
4
2021-03-30T13:39:29.000Z
2021-09-22T19:12:55.000Z
tests/__init__.py
konradical/python_boilerplate
726bce3729f2263b43bc4acc39549e4179a257b3
[ "MIT" ]
null
null
null
"""Unit test package for python_boilerplate."""
24
47
0.75
6
48
5.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.104167
48
1
48
48
0.813953
0.854167
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
b4bee4983a1e8f4098187f57c27bfb93f46aeb4b
338
py
Python
src/addongen/src/addongen/__object__.py
KAIYOHUGO/addon-gen
65c7db176bdef8c8746eb6db50b684f8cce23bd6
[ "MIT" ]
null
null
null
src/addongen/src/addongen/__object__.py
KAIYOHUGO/addon-gen
65c7db176bdef8c8746eb6db50b684f8cce23bd6
[ "MIT" ]
null
null
null
src/addongen/src/addongen/__object__.py
KAIYOHUGO/addon-gen
65c7db176bdef8c8746eb6db50b684f8cce23bd6
[ "MIT" ]
null
null
null
class component: __type__ = str() data = object() class query: __type__ = str() query_id = int() class itemStack: __identifier__ = str() __type__ = str() count = str() item = str() class block: __identifier__ = str() __type__ = str() block_position = object() tickin...
14.695652
29
0.591716
35
338
4.942857
0.485714
0.16185
0.196532
0.231214
0
0
0
0
0
0
0
0
0.289941
338
22
30
15.363636
0.720833
0
0
0.375
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b4c08a0ea77bdace7128fe675e8b04ad49fff756
171
py
Python
py/ml/main/main.py
deadwind4/gumiho
672907d2f6e585c0042a5425dd1d6c55cd58af14
[ "MIT" ]
2
2019-06-03T12:09:46.000Z
2019-06-03T12:09:50.000Z
py/ml/main/main.py
deadwind4/gumiho
672907d2f6e585c0042a5425dd1d6c55cd58af14
[ "MIT" ]
12
2021-03-19T01:53:24.000Z
2022-03-15T02:26:33.000Z
py/ml/main/main.py
deadwind4/gumiho
672907d2f6e585c0042a5425dd1d6c55cd58af14
[ "MIT" ]
null
null
null
import torch import re import logging logging.basicConfig(level=logging.DEBUG) x = torch.eye(3) print(x) r=re.match('sys_apply', 'sys_apply') print(r) logging.debug("a")
15.545455
40
0.748538
29
171
4.344828
0.551724
0.190476
0
0
0
0
0
0
0
0
0
0.006452
0.093567
171
11
41
15.545455
0.806452
0
0
0
0
0
0.110465
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.222222
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
1
0
0
0
0
2
b4c15794d223dfbfa08064e0cd66ab6569b6d28b
3,353
py
Python
tests/attr/core/strategies/test_margin_sampling.py
nocotan/orakl
b524bc311f008b7ac46f5c289e4cc86322f4c5e3
[ "Apache-2.0" ]
null
null
null
tests/attr/core/strategies/test_margin_sampling.py
nocotan/orakl
b524bc311f008b7ac46f5c289e4cc86322f4c5e3
[ "Apache-2.0" ]
null
null
null
tests/attr/core/strategies/test_margin_sampling.py
nocotan/orakl
b524bc311f008b7ac46f5c289e4cc86322f4c5e3
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import numpy as np import tensorflow as tf from orakl.attr import MarginSampling from ...helpers.utils import BaseTest class Test(BaseTest): def test_call_with_empty_data_pool(self): ms = MarginSampling() model = tf.keras.Model() with self.assertRaises(AssertionEr...
31.632075
71
0.532061
350
3,353
4.857143
0.228571
0.065882
0.030588
0.04
0.560588
0.560588
0.560588
0.560588
0.544706
0.544706
0
0.018817
0.334327
3,353
105
72
31.933333
0.742832
0.006263
0
0.5
0
0
0.110477
0.020414
0
0
0
0
0.073171
1
0.04878
false
0
0.04878
0
0.109756
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
0
0
1
0
b4c44cfa861a3cb2f7399a87693dea11f5c7ba5f
481
py
Python
search_service/models/base.py
verdan/amundsensearchlibrary
ca57770d82f7956339376655aaae736870671a66
[ "Apache-2.0" ]
null
null
null
search_service/models/base.py
verdan/amundsensearchlibrary
ca57770d82f7956339376655aaae736870671a66
[ "Apache-2.0" ]
null
null
null
search_service/models/base.py
verdan/amundsensearchlibrary
ca57770d82f7956339376655aaae736870671a66
[ "Apache-2.0" ]
null
null
null
from abc import ABCMeta, abstractmethod from typing import Set class Base(metaclass=ABCMeta): """ A base class for ES model """ @abstractmethod def get_id(cls) -> str: # return a document id in ES pass @abstractmethod def get_attrs(cls) -> Set: # return a set of a...
19.24
50
0.609148
61
481
4.754098
0.491803
0.175862
0.206897
0.103448
0
0
0
0
0
0
0
0
0.322245
481
24
51
20.041667
0.889571
0.268191
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.230769
false
0.230769
0.153846
0
0.461538
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
b4c5a0efbd3a143079b5efd4a1992af1f5fc5e31
13,196
py
Python
openpnm/models/physics/diffusive_conductance.py
edgargmartinez/OpenPNM
c68745993b3e9895f53938164a9cf6305500748e
[ "MIT" ]
3
2019-07-17T01:35:09.000Z
2021-05-08T02:03:35.000Z
openpnm/models/physics/diffusive_conductance.py
edgargmartinez/OpenPNM
c68745993b3e9895f53938164a9cf6305500748e
[ "MIT" ]
null
null
null
openpnm/models/physics/diffusive_conductance.py
edgargmartinez/OpenPNM
c68745993b3e9895f53938164a9cf6305500748e
[ "MIT" ]
null
null
null
r""" .. autofunction:: openpnm.models.physics.diffusive_conductance.ordinary_diffusion .. autofunction:: openpnm.models.physics.diffusive_conductance.taylor_aris_diffusion .. autofunction:: openpnm.models.physics.diffusive_conductance.generic_conductance """ import scipy as _sp def ordinary_diffusion(target, ...
37.91954
84
0.646863
1,660
13,196
5.024096
0.151205
0.014988
0.047842
0.052878
0.691966
0.663189
0.636691
0.573022
0.573022
0.573022
0
0.022144
0.267657
13,196
347
85
38.028818
0.840853
0.479994
0
0.278571
0
0
0.097708
0.035169
0
0
0
0
0
1
0.028571
false
0
0.007143
0
0.064286
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
0
0
1
0
b4c5e19a5fb4217eaf5c3e579db4be69866e0425
2,281
py
Python
app/caffeine.py
pknn1/radii
29a55161e283e972545f2fa6ab86eb06162aeb8e
[ "MIT" ]
null
null
null
app/caffeine.py
pknn1/radii
29a55161e283e972545f2fa6ab86eb06162aeb8e
[ "MIT" ]
65
2018-10-17T09:13:21.000Z
2019-05-12T15:27:28.000Z
app/caffeine.py
pknn1/radii
29a55161e283e972545f2fa6ab86eb06162aeb8e
[ "MIT" ]
2
2018-11-28T20:42:58.000Z
2019-10-26T07:31:25.000Z
import logging import os import tqdm import codecs import h5py from scipy.sparse import coo_matrix, csr_matrix from implicit.als import AlternatingLeastSquares import numpy as np log = logging.getLogger("implicit") def calculate_similar_event(path, output_filename): model = AlternatingLeastSquares() a, b ...
29.623377
79
0.624288
303
2,281
4.580858
0.369637
0.050432
0.030259
0.024496
0.038905
0.038905
0.038905
0
0
0
0
0.008005
0.233231
2,281
76
80
30.013158
0.785592
0.003507
0
0.037736
0
0
0.073536
0.01365
0
0
0
0
0
1
0.056604
false
0
0.169811
0
0.264151
0.037736
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
0
1
0
b4c62c1d188683a74a0962fac84688ac5b97821d
2,606
py
Python
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Unum-4.1.3-py2.7.egg/unum/units/others/__init__.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
null
null
null
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Unum-4.1.3-py2.7.egg/unum/units/others/__init__.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
null
null
null
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Unum-4.1.3-py2.7.egg/unum/units/others/__init__.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
1
2022-01-15T12:22:30.000Z
2022-01-15T12:22:30.000Z
"""Define common units that are not SI units. Source: http://physics.nist.gov/cuu/Units/outside.html """ from math import pi from unum import Unum from unum.units.si import * unit = Unum.unit min = MIN = unit( 'min' , 60 * s , 'minute' ) h = H =...
63.560976
93
0.331926
253
2,606
3.418972
0.474308
0.006936
0
0
0
0
0
0
0
0
0
0.067953
0.542594
2,606
41
94
63.560976
0.657718
0.079432
0
0
0
0
0.110166
0
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
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
b4c6fc0c69541816e21939fbebc9a6f46bed5200
411
py
Python
ejemplos/python/Project/core.py
juanmi-gh/curso-tdd
6803d7def7e48ea500c5a3de2ab4ce04a645cf54
[ "MIT" ]
null
null
null
ejemplos/python/Project/core.py
juanmi-gh/curso-tdd
6803d7def7e48ea500c5a3de2ab4ce04a645cf54
[ "MIT" ]
null
null
null
ejemplos/python/Project/core.py
juanmi-gh/curso-tdd
6803d7def7e48ea500c5a3de2ab4ce04a645cf54
[ "MIT" ]
null
null
null
class Project: def newMilestone(self, milestone): pass; def milestones(self): pass def percentageCompleted(self): pass def completionSummary(self): pass def data(self): pass def projectName(self): pass class NoIssueException(Exception): ...
17.125
55
0.618005
41
411
6
0.463415
0.142276
0.178862
0
0
0
0
0
0
0
0
0
0.289538
411
23
56
17.869565
0.842466
0
0
0.3125
0
0
0.048662
0
0
0
0
0
0
1
0.4375
false
0.375
0
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
b4c923ce3d32af3eeec668c17548a734deee2fca
5,563
py
Python
.ipynb_checkpoints/quickr-checkpoint.py
victorfica/utils
b61935a860838a0e70afde7c9ecf2c68f51a2c4b
[ "MIT" ]
5
2015-12-16T01:23:07.000Z
2020-04-27T11:41:43.000Z
.ipynb_checkpoints/quickr-checkpoint.py
victorfica/utils
b61935a860838a0e70afde7c9ecf2c68f51a2c4b
[ "MIT" ]
1
2021-05-06T23:47:20.000Z
2021-05-06T23:48:33.000Z
.ipynb_checkpoints/quickr-checkpoint.py
victorfica/utils
b61935a860838a0e70afde7c9ecf2c68f51a2c4b
[ "MIT" ]
6
2016-04-29T14:04:22.000Z
2021-05-06T23:49:34.000Z
import subprocess import pandas as pd import tempfile import os __all__ = ['runRscript'] def runRscript(Rcmd, inDf=None, outputFiles=0, removeTempFiles=None): """Runs an R cmd with option to provide a DataFrame as input and file as output. Params ------ Rcmd : str String containing the R-...
35.433121
104
0.577926
763
5,563
4.196592
0.266055
0.008745
0.021861
0.013741
0.252967
0.230481
0.205497
0.183635
0.1599
0.12742
0
0.038776
0.295344
5,563
156
105
35.660256
0.778061
0.190545
0
0.321101
0
0.018349
0.216519
0.042731
0
0
0
0
0
1
0.027523
false
0
0.036697
0
0.082569
0.137615
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
0
1
0
b4c9ce487e10dba3071c2961a4b998890acc04b4
1,790
py
Python
website/trafficlights/__init__.py
matthewrkitson/traffic-lights
4a469fe9e2b78d140f79e411f57f73a10161608c
[ "MIT" ]
1
2017-07-24T08:21:38.000Z
2017-07-24T08:21:38.000Z
website/trafficlights/__init__.py
matthewrkitson/traffic-lights
4a469fe9e2b78d140f79e411f57f73a10161608c
[ "MIT" ]
1
2017-08-26T22:48:40.000Z
2017-08-26T22:49:31.000Z
website/trafficlights/__init__.py
matthewrkitson/traffic-lights
4a469fe9e2b78d140f79e411f57f73a10161608c
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request import trafficlights.controller as controller import trafficlights.poller as poller from trafficlights.updaters.teamcity_updater import TeamCityUpdater from trafficlights.updaters.flash_updater import FlashUpdater import os import pwd import logging from logging.handler...
30.862069
81
0.732961
214
1,790
6
0.38785
0.091122
0.050623
0.035826
0.068536
0.030374
0
0
0
0
0
0.006506
0.141341
1,790
57
82
31.403509
0.828887
0
0
0
0
0
0.096143
0.030743
0
0
0
0
0
1
0.068182
false
0
0.295455
0.045455
0.409091
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
0
0
1
0
b4caab1d782450ff5523fe9d995e78cea4812cc6
552
py
Python
google-calendar-notifier.py
motchy869/Google-Calendar-notifier
f25ff114f600bcf051622290ce5ee46fa6763b40
[ "MIT" ]
null
null
null
google-calendar-notifier.py
motchy869/Google-Calendar-notifier
f25ff114f600bcf051622290ce5ee46fa6763b40
[ "MIT" ]
null
null
null
google-calendar-notifier.py
motchy869/Google-Calendar-notifier
f25ff114f600bcf051622290ce5ee46fa6763b40
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ google-calendar-notifier Google Calendar から直近の予定を取得し、通知時刻になったらデスクトップに通知を表示する。 """ import sys from modules.Global import APPLICATION_NAME from modules.Manager import Manager import setproctitle from PyQt5.QtWidgets import (QApplication, QWidget) def main(): """ ...
18.4
52
0.748188
63
552
6.380952
0.619048
0.069652
0
0
0
0
0
0
0
0
0
0.014553
0.128623
552
29
53
19.034483
0.821206
0.28442
0
0
0
0
0.021277
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.461538
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
b4cb7e7c29d9db6eb7015f3523a78eabfadd2701
6,121
py
Python
tests/alerters/exotel_test.py
perceptron01/elastalert2
bb91ecdb03dedda207237ca83d628fd5d40d29c6
[ "Apache-2.0" ]
250
2021-04-24T18:06:30.000Z
2022-03-31T04:37:47.000Z
tests/alerters/exotel_test.py
perceptron01/elastalert2
bb91ecdb03dedda207237ca83d628fd5d40d29c6
[ "Apache-2.0" ]
129
2021-04-24T17:09:50.000Z
2022-03-29T08:52:14.000Z
tests/alerters/exotel_test.py
perceptron01/elastalert2
bb91ecdb03dedda207237ca83d628fd5d40d29c6
[ "Apache-2.0" ]
128
2021-04-25T15:20:34.000Z
2022-03-31T04:37:49.000Z
import logging import pytest from unittest import mock from requests import RequestException from elastalert.alerters.exotel import ExotelAlerter from elastalert.loaders import FileRulesLoader from elastalert.util import EAException def test_exotel_getinfo(): rule = { 'name': 'Test Rule', 'type...
34.581921
123
0.59255
641
6,121
5.330733
0.165367
0.077261
0.094527
0.126427
0.724612
0.71554
0.642084
0.590284
0.537899
0.524729
0
0.026108
0.274138
6,121
176
124
34.778409
0.742966
0
0
0.550336
0
0
0.23983
0.018134
0
0
0
0
0.04698
1
0.033557
false
0
0.04698
0
0.080537
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
b4cb904211fffa6f3cd36f4d79779477007b846c
1,664
py
Python
gensort/gen_partitions.py
bskim45/akka-clustered-sorting
af9b5846c346fd758b90c66317edcc620acdaf67
[ "Apache-2.0" ]
4
2016-10-23T12:52:51.000Z
2018-12-07T04:44:17.000Z
gensort/gen_partitions.py
bskim45/akka-clustered-sorting
af9b5846c346fd758b90c66317edcc620acdaf67
[ "Apache-2.0" ]
null
null
null
gensort/gen_partitions.py
bskim45/akka-clustered-sorting
af9b5846c346fd758b90c66317edcc620acdaf67
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- import argparse import os import shlex import subprocess import sys def main(argv): command = "" path = os.path.dirname(os.path.abspath(__file__)) if sys.platform.startswith('win'): command = os.path.join(path, "gensort.exe") + " -a -b%d %d %s\partition%d" elif sys.pl...
32
106
0.616587
216
1,664
4.62037
0.37963
0.054108
0.068136
0.046092
0.138277
0.086172
0.03006
0
0
0
0
0.011719
0.230769
1,664
51
107
32.627451
0.767969
0.01262
0
0.054054
0
0
0.17855
0
0
0
0
0
0
0
null
null
0
0.135135
null
null
0.081081
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
b4cbcf09ac9214d01520bb499e084a430a45cce9
6,855
py
Python
models/backbones/psa.py
EmanuelNk/semantic-segmentation
20ff16da49691fb407724909d9c7e84b47e2fee0
[ "MIT" ]
null
null
null
models/backbones/psa.py
EmanuelNk/semantic-segmentation
20ff16da49691fb407724909d9c7e84b47e2fee0
[ "MIT" ]
null
null
null
models/backbones/psa.py
EmanuelNk/semantic-segmentation
20ff16da49691fb407724909d9c7e84b47e2fee0
[ "MIT" ]
null
null
null
import torch from torch import nn, Tensor from torch.nn import functional as F class PSAP(nn.Module): def __init__(self, c1, c2): super().__init__() ch = c2 // 2 self.conv_q_right = nn.Conv2d(c1, 1, 1, bias=False) self.conv_v_right = nn.Conv2d(c1, ch, 1, bias=False) self.co...
34.104478
117
0.564989
1,029
6,855
3.618076
0.135083
0.042976
0.045394
0.037604
0.628794
0.579103
0.547408
0.523771
0.493688
0.475423
0
0.062398
0.28461
6,855
200
118
34.275
0.696778
0.034136
0
0.503226
0
0
0.012875
0.004544
0
0
0
0
0.006452
1
0.096774
false
0
0.019355
0.012903
0.225806
0.006452
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
0
1
0
b4cc740af35ab7b4d6f5b995924f2b85986c8d1a
2,318
py
Python
ruconlluconv/space/dataset.py
shkarupa-alex/ruconlluconv
7b1c2c5af7724f407b56e412629921dc9b4f163b
[ "MIT" ]
1
2019-10-24T10:23:53.000Z
2019-10-24T10:23:53.000Z
ruconlluconv/space/dataset.py
shkarupa-alex/ruconlluconv
7b1c2c5af7724f407b56e412629921dc9b4f163b
[ "MIT" ]
null
null
null
ruconlluconv/space/dataset.py
shkarupa-alex/ruconlluconv
7b1c2c5af7724f407b56e412629921dc9b4f163b
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import csv import os import random from conllu import parse def create_dataset(src_files, dest_path): data = [] for sf in src_files: with open(sf, 'rb') as f: sent...
29.717949
101
0.592752
310
2,318
4.251613
0.33871
0.042489
0.036419
0.021244
0.157815
0.121396
0.121396
0.081942
0.081942
0.081942
0
0.009674
0.286454
2,318
77
102
30.103896
0.787183
0
0
0.163934
0
0
0.084556
0
0
0
0
0
0.032787
1
0.032787
false
0
0.131148
0
0.163934
0.016393
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
0
1
0
b4cca09337b02a9336a893eb3318ca00d49f56c0
203
py
Python
venv_restaurant/Scripts/django-admin.py
Frank1963-mpoyi/RUTH-RESTAURANT-BACK-END
b2c657b822295b717e699797a12c3db48f8d3b70
[ "MIT" ]
null
null
null
venv_restaurant/Scripts/django-admin.py
Frank1963-mpoyi/RUTH-RESTAURANT-BACK-END
b2c657b822295b717e699797a12c3db48f8d3b70
[ "MIT" ]
null
null
null
venv_restaurant/Scripts/django-admin.py
Frank1963-mpoyi/RUTH-RESTAURANT-BACK-END
b2c657b822295b717e699797a12c3db48f8d3b70
[ "MIT" ]
null
null
null
#!c:\users\mpoyi tshibuyi\desktop\cv\ruth-restaurant-back-end\venv_restaurant\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
33.833333
96
0.802956
28
203
5.392857
0.892857
0
0
0
0
0
0
0
0
0
0
0
0.078818
203
5
97
40.6
0.807487
0.46798
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b4cd052381d84e741e9aba129e01ded11236ccc7
5,471
py
Python
code/head_and_flare_plot_rti_together.py
ryanvolz/thesis_defense
0ada54d632c0c98edaf338390a56f85a8c29381f
[ "CC-BY-4.0", "CC0-1.0", "BSD-3-Clause" ]
1
2022-03-24T22:52:14.000Z
2022-03-24T22:52:14.000Z
code/head_and_flare_plot_rti_together.py
ryanvolz/thesis_defense
0ada54d632c0c98edaf338390a56f85a8c29381f
[ "CC-BY-4.0", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
code/head_and_flare_plot_rti_together.py
ryanvolz/thesis_defense
0ada54d632c0c98edaf338390a56f85a8c29381f
[ "CC-BY-4.0", "CC0-1.0", "BSD-3-Clause" ]
null
null
null
import numpy as np import matplotlib import matplotlib.pyplot as plt from mpl_toolkits import axes_grid1 import cPickle import copy import os import echolect as el params = {#'figure.subplot.left': 0.01, #'figure.subplot.bottom': 0.01, #'figure.subplot.right': .99, #'figure.subplot.top':...
36.718121
86
0.599708
770
5,471
4.172727
0.344156
0.04793
0.02023
0.023343
0.119203
0.110489
0.079676
0.079676
0.065982
0.065982
0
0.052979
0.251325
5,471
149
87
36.718121
0.731445
0.140742
0
0.045872
0
0
0.094251
0
0
0
0
0
0
1
0.009174
false
0
0.073395
0
0.091743
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
0
0
1
0
b4ce3c157a11cf1e8eaa0e95bc2a27f12658839f
1,161
py
Python
second/utils/print_test.py
rogeriobonatti/wysiwyg
04a26c6e9125f55222bd0b5d5b0cfbfaebbdbcdf
[ "MIT", "BSD-3-Clause" ]
92
2020-04-16T08:52:55.000Z
2022-03-02T15:52:55.000Z
second/utils/print_test.py
rogeriobonatti/wysiwyg
04a26c6e9125f55222bd0b5d5b0cfbfaebbdbcdf
[ "MIT", "BSD-3-Clause" ]
6
2020-08-07T03:18:41.000Z
2022-03-09T04:49:07.000Z
second/utils/print_test.py
rogeriobonatti/wysiwyg
04a26c6e9125f55222bd0b5d5b0cfbfaebbdbcdf
[ "MIT", "BSD-3-Clause" ]
18
2020-05-21T15:47:48.000Z
2021-09-28T02:22:11.000Z
import os import json import argparse parser = argparse.ArgumentParser() parser.add_argument('--dataset', type=str, default='nuscenes') parser.add_argument('--step', type=int, default='-1') parser.add_argument('--metric', type=str, default='mean_dist_aps') parser.add_argument('--thresh', type=str, default="") args = p...
25.8
126
0.64255
166
1,161
4.415663
0.439759
0.049113
0.092769
0.040928
0
0
0
0
0
0
0
0.010081
0.145564
1,161
44
127
26.386364
0.728831
0.010336
0
0.055556
0
0
0.196164
0.020052
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.194444
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
0
1
0
b4ce7143a08fd78efc9047f19ca66cad8f2c7504
1,924
py
Python
core/snake.py
LucienShui/SnakeAI
9636d881f5d9647bf8f8a3f60ec890ccf7a6e245
[ "Apache-2.0" ]
1
2020-08-12T07:10:43.000Z
2020-08-12T07:10:43.000Z
core/snake.py
LucienShui/SnakeAI
9636d881f5d9647bf8f8a3f60ec890ccf7a6e245
[ "Apache-2.0" ]
1
2020-08-19T07:38:38.000Z
2020-08-19T07:38:38.000Z
core/snake.py
LucienShui/SnakeAI
9636d881f5d9647bf8f8a3f60ec890ccf7a6e245
[ "Apache-2.0" ]
null
null
null
import typing from .point import Point from .action import Action class Apple(object): def __init__(self, point: Point): self.position: Point = point class Snake(object): def __init__(self, x: int, y: int, length: int = 2): self.length: int = length self.initial_x: int = x ...
26.722222
100
0.572765
248
1,924
4.358871
0.229839
0.101758
0.044403
0.048104
0.256244
0.154487
0.110083
0.083256
0.083256
0.083256
0
0.018783
0.308212
1,924
71
101
27.098592
0.793388
0.017672
0
0.065217
0
0
0
0
0
0
0
0
0
1
0.130435
false
0
0.065217
0.021739
0.369565
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
0
0
1
0
b4cf2c91db7b015aa8aa4991bdda7ef428e1f465
915
py
Python
Python 3/8600TransientTrace.py
BKPrecisionCorp/8600DCLoad
94ab102dca952acc19af9a5216a686546c73340a
[ "Apache-2.0" ]
null
null
null
Python 3/8600TransientTrace.py
BKPrecisionCorp/8600DCLoad
94ab102dca952acc19af9a5216a686546c73340a
[ "Apache-2.0" ]
null
null
null
Python 3/8600TransientTrace.py
BKPrecisionCorp/8600DCLoad
94ab102dca952acc19af9a5216a686546c73340a
[ "Apache-2.0" ]
null
null
null
import time import visa rm=visa.ResourceManager() li=rm.list_resources() for index in range(len(li)): print(str(index)+" - "+li[index]) choice = input("Which device?: ") vi=rm.open_resource(li[int(choice)]) print(vi.query("*idn?")) vi.write("FUNC CURR") vi.write("trace:clear") vi.write("trace:feed two") vi.write("...
28.59375
71
0.689617
157
915
4.006369
0.528662
0.155803
0.09539
0.071542
0.073132
0
0
0
0
0
0
0.012469
0.123497
915
31
72
29.516129
0.77182
0.321311
0
0
0
0
0.361702
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.15
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
0
1
0
b4cf7e1c86e3205958291e7425a9a9f4f73be2ce
9,057
py
Python
tests/test_ssdp.py
esev/pywemo
95ee8271c4253c4872112bdfd02f7e24d2ae4aa5
[ "MIT" ]
null
null
null
tests/test_ssdp.py
esev/pywemo
95ee8271c4253c4872112bdfd02f7e24d2ae4aa5
[ "MIT" ]
null
null
null
tests/test_ssdp.py
esev/pywemo
95ee8271c4253c4872112bdfd02f7e24d2ae4aa5
[ "MIT" ]
null
null
null
"""Tests for SSDP and discovery.""" import queue import socket import unittest.mock as mock import pytest import requests from pywemo import ssdp MOCK_CALLBACK_PORT = 8989 MOCK_IP_ADDRESS = "5.6.7.8" @pytest.fixture() def mock_interface_addresses(): """Mock for util.interface_addresses.""" addresses = ["1...
30.701695
79
0.646572
1,199
9,057
4.69141
0.185154
0.032
0.028444
0.046222
0.449956
0.363733
0.3024
0.278578
0.187022
0.153778
0
0.049712
0.233742
9,057
294
80
30.806122
0.760807
0.178426
0
0.307292
0
0.005208
0.193718
0.074758
0
0
0
0
0.098958
1
0.083333
false
0
0.03125
0.005208
0.15625
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
0
0
1
0
b4cfce8b12a6ac49b647cb4f04c9fcd1077b1ec7
963
py
Python
Past Homeworks/homework6.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
16
2019-01-10T18:54:13.000Z
2022-01-28T20:07:20.000Z
Past Homeworks/homework6.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
null
null
null
Past Homeworks/homework6.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
15
2019-01-24T17:11:20.000Z
2021-12-11T01:53:57.000Z
#1. Run an OLS regression using a different set of data. Use the regression #class created in this chapter. Print the results. #2. Create scatter plots of the observation and predicted values as demonstrated at the end of this chapter. #3. Use the numpy libraries log function to log some or all value in your data. ...
48.15
108
0.768432
160
963
4.6625
0.61875
0.032172
0.040214
0
0
0
0
0
0
0
0
0.01627
0.170301
963
19
109
50.684211
0.909887
0.965732
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b4d0137f7fae0bad4c0708d52cc3a2d28862307e
4,563
py
Python
MCSH/logging.py
RealAllenDa/MinecraftServerHelper
888217070443c0cc04823ebe4a41c7f24ff785ec
[ "MIT" ]
null
null
null
MCSH/logging.py
RealAllenDa/MinecraftServerHelper
888217070443c0cc04823ebe4a41c7f24ff785ec
[ "MIT" ]
null
null
null
MCSH/logging.py
RealAllenDa/MinecraftServerHelper
888217070443c0cc04823ebe4a41c7f24ff785ec
[ "MIT" ]
null
null
null
""" *************************************** MCSH - A Minecraft Server Helper. Coded by AllenDa 2020. Licensed under MIT. *************************************** Module Name: MCSH.logging Module Revision: 0.0.1-18 Module Description: A module for all the shared functions. Including Logging, Downloading, ...
33.8
102
0.573526
537
4,563
4.698324
0.307263
0.039239
0.047562
0.023781
0.0761
0.042013
0
0
0
0
0
0.005338
0.301994
4,563
134
103
34.052239
0.786813
0.163708
0
0.294737
0
0
0.183449
0.026513
0
0
0
0
0
1
0.031579
false
0.010526
0.084211
0
0.115789
0.042105
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
0
1
0
b4d33929de3fd0bf625b63e39a95f8cfb6dfd254
6,366
py
Python
train.py
firehose-dataset/congrad
20792f43aa89beae75454e30b82b2e1280ed3106
[ "MIT" ]
9
2020-07-21T14:37:22.000Z
2021-07-14T12:44:13.000Z
train.py
firehose-dataset/congrad
20792f43aa89beae75454e30b82b2e1280ed3106
[ "MIT" ]
2
2020-09-22T18:05:03.000Z
2020-11-19T09:42:21.000Z
train.py
firehose-dataset/congrad
20792f43aa89beae75454e30b82b2e1280ed3106
[ "MIT" ]
2
2020-07-21T16:39:12.000Z
2020-07-30T02:20:47.000Z
# coding: utf-8 import argparse import json import time import math import os, sys import itertools import numpy as np import os.path as osp import torch import torch.nn as nn import torch.optim as optim from core.dataset.corpus import get_lm_corpus from core.configs import get_basic_parser from core.trainer import ...
47.864662
113
0.56409
721
6,366
4.768377
0.273232
0.034031
0.064282
0.024433
0.242292
0.197208
0.162304
0.115765
0.115765
0.115765
0
0.009144
0.330035
6,366
132
114
48.227273
0.796952
0.033302
0
0.072072
0
0
0.189818
0.015615
0
0
0
0.007576
0.009009
1
0.018018
false
0
0.135135
0
0.171171
0.018018
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
0
1
0
b4d4ab3cc397b904b89f32e4f6a280d303e8fc9e
133
py
Python
python_100/Level1/33.new_list.py
relax-space/python-cy
eaf4650756e7ece5ec97894b65a7495b5c964eb3
[ "Apache-2.0" ]
1
2020-04-27T03:31:23.000Z
2020-04-27T03:31:23.000Z
python_100/Level1/33.new_list.py
relax-space/python-cy
eaf4650756e7ece5ec97894b65a7495b5c964eb3
[ "Apache-2.0" ]
1
2020-04-14T23:55:19.000Z
2020-04-15T03:29:37.000Z
python_100/Level1/33.new_list.py
relax-space/python-cy
eaf4650756e7ece5ec97894b65a7495b5c964eb3
[ "Apache-2.0" ]
null
null
null
# 33.使用单一的列表生成式来产生一个新的列表 # 该列表只包含满足以下条件的值,元素为原始列表中偶数切片 a = [1,2,5,8,10,3,18,6,20] res = [i for i in a[::2] if i %2 ==0] print(res)
22.166667
39
0.639098
27
133
3.148148
0.777778
0
0
0
0
0
0
0
0
0
0
0.151786
0.157895
133
6
40
22.166667
0.607143
0.37594
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b4d83f281f1eebd41934900dc6fcbc95f4422fa8
828
py
Python
Algorithm/Easy/1000+/1137ConstructStringfromBinaryTree.py
MartinYan623/Lint-Code
57d2fa441d6496234615736e3f55d0b71aaa51dc
[ "MIT" ]
null
null
null
Algorithm/Easy/1000+/1137ConstructStringfromBinaryTree.py
MartinYan623/Lint-Code
57d2fa441d6496234615736e3f55d0b71aaa51dc
[ "MIT" ]
1
2020-08-08T10:14:53.000Z
2020-08-08T10:18:37.000Z
Algorithm/Easy/1000+/1137ConstructStringfromBinaryTree.py
MartinYan623/Lint-Code
57d2fa441d6496234615736e3f55d0b71aaa51dc
[ "MIT" ]
null
null
null
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param t: the root of tree @return: return a string """ def tree2str(self, t): # write your code here result = "" ...
27.6
66
0.519324
108
828
3.944444
0.287037
0.058685
0.084507
0.225352
0.481221
0.481221
0.399061
0.312207
0.312207
0.312207
0
0.009208
0.344203
828
29
67
28.551724
0.775322
0.251208
0
0.142857
0
0
0.016863
0
0
0
0
0.034483
0
1
0.071429
false
0
0
0
0.285714
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
1
0
0
0
0
0
0
0
0
0
0
2
b4d9bf8f6d4100f5fbe1040cb0ba4a581a667576
2,589
py
Python
nncf/common/quantization/quantizers.py
xiao1228/nncf
307262119ee3f50eec2fa4022b2ef96693fd8448
[ "Apache-2.0" ]
null
null
null
nncf/common/quantization/quantizers.py
xiao1228/nncf
307262119ee3f50eec2fa4022b2ef96693fd8448
[ "Apache-2.0" ]
null
null
null
nncf/common/quantization/quantizers.py
xiao1228/nncf
307262119ee3f50eec2fa4022b2ef96693fd8448
[ "Apache-2.0" ]
null
null
null
""" Copyright (c) 2021 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 writin...
34.065789
80
0.679413
373
2,589
4.608579
0.281501
0.051193
0.027923
0.053519
0.589296
0.556719
0.556719
0.556719
0.556719
0.556719
0
0.017214
0.25956
2,589
75
81
34.52
0.879499
0.637698
0
0.692308
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.038462
0
0.192308
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
0
0
1
0
b4d9d7e8ab9eba17dd2d34e0f48b7c7da2f7aa12
620
py
Python
Teaching-Evaluation-Assistant/main.py
xsx-123/awesome-sdu-scripts
bc371fda9d4d2a616f82c9a44b7d1d6eddb2c6eb
[ "MIT" ]
21
2021-06-01T09:54:20.000Z
2022-03-11T16:50:42.000Z
Teaching-Evaluation-Assistant/main.py
xsx-123/awesome-sdu-scripts
bc371fda9d4d2a616f82c9a44b7d1d6eddb2c6eb
[ "MIT" ]
1
2020-07-05T15:39:54.000Z
2020-07-05T15:39:54.000Z
Teaching-Evaluation-Assistant/main.py
xsx-123/awesome-sdu-scripts
bc371fda9d4d2a616f82c9a44b7d1d6eddb2c6eb
[ "MIT" ]
8
2021-07-21T03:11:40.000Z
2021-12-03T08:25:19.000Z
# -*- coding: utf-8 -*- #!/usr/bin/env python # Copyright 2018 ZhangT. All Rights Reserved. # Author: ZhangT # Author-Github: github.com/zhangt2333 # main.py 2019/1/18 10:24 from spider import * def main(): username = input('请输入学号: ') password = input('请输入密码: ') print('下面将为你进行所有课的教评,一律好评,如需特...
25.833333
77
0.651613
77
620
5.038961
0.714286
0.14433
0.097938
0
0
0
0
0
0
0
0
0.040486
0.203226
620
23
78
26.956522
0.744939
0.259677
0
0
0
0
0.200466
0.125874
0
0
0
0
0
1
0.083333
false
0.166667
0.083333
0
0.166667
0.333333
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
b4de7316ed1e8e13a0577cf10dc2841aba8c4450
114
py
Python
food_reference_listing/database/apps.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
food_reference_listing/database/apps.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
food_reference_listing/database/apps.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class DatabaseConfig(AppConfig): name = 'food_reference_listing.database'
19
44
0.798246
13
114
6.846154
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.131579
114
5
45
22.8
0.89899
0
0
0
0
0
0.27193
0.27193
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b4e075d99493283f713d77ff2a9998ebc61bca27
6,905
py
Python
crawler/bot.py
danhorsley/my_fx_bot
fc62a9c6c8a596546d028bedd0ada5769038ca93
[ "MIT" ]
null
null
null
crawler/bot.py
danhorsley/my_fx_bot
fc62a9c6c8a596546d028bedd0ada5769038ca93
[ "MIT" ]
1
2021-06-02T00:37:56.000Z
2021-06-02T00:37:56.000Z
crawler/bot.py
danhorsley/my_fx_bot
fc62a9c6c8a596546d028bedd0ada5769038ca93
[ "MIT" ]
null
null
null
#import pandas as pd import numpy as np import random from tqdm import tqdm #from sklearn.linear_model import LinearRegression #from pandas.core.common import SettingWithCopyWarning #import warnings #from .dbtonumpy import eurusd_prices #warnings.simplefilter(action="ignore", category=SettingWithCopyWarning) from datet...
39.232955
116
0.623172
1,058
6,905
3.873346
0.236295
0.009761
0.012201
0.013665
0.118106
0.091508
0.083699
0.061249
0.061249
0.053685
0
0.028106
0.25286
6,905
176
117
39.232955
0.766234
0.204634
0
0.067227
0
0
0
0
0
0
0
0
0
1
0.07563
false
0
0.05042
0
0.201681
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
0
0
1
0
b4e1de52882ddfbf3559c816d3bb41dcee39e97e
3,824
py
Python
test/test_stream.py
pkch/executors
326677ab98de374314bfa76e75624a705c34bdda
[ "MIT" ]
1
2017-07-17T14:11:18.000Z
2017-07-17T14:11:18.000Z
test/test_stream.py
pkch/executors
326677ab98de374314bfa76e75624a705c34bdda
[ "MIT" ]
3
2017-05-29T10:24:36.000Z
2017-05-30T09:20:11.000Z
test/test_stream.py
pkch/executors
326677ab98de374314bfa76e75624a705c34bdda
[ "MIT" ]
1
2020-11-21T18:53:52.000Z
2020-11-21T18:53:52.000Z
from itertools import islice, count from functools import partial import time import os import pytest from streamexecutors import StreamThreadPoolExecutor, StreamProcessPoolExecutor approx = partial(pytest.approx, abs=0.5) test_classes = [StreamThreadPoolExecutor, StreamProcessPoolExecutor] # pytest bu...
30.592
100
0.631799
493
3,824
4.754564
0.25355
0.072952
0.076792
0.048635
0.430887
0.401451
0.375
0.341724
0.31186
0.231229
0
0.020509
0.26046
3,824
124
101
30.83871
0.808345
0.09205
0
0.431579
0
0
0.017964
0
0
0
0
0
0.063158
1
0.115789
false
0.021053
0.063158
0.010526
0.221053
0.042105
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
0
1
0
b4e304de012fad4ec3d5be2223cfc1f74ac57b63
1,997
py
Python
edit_exercise_page.py
delereyus/ProLog
b08c9d4c1aae5c0d7cf2dbafd5fd764b46243406
[ "MIT" ]
null
null
null
edit_exercise_page.py
delereyus/ProLog
b08c9d4c1aae5c0d7cf2dbafd5fd764b46243406
[ "MIT" ]
null
null
null
edit_exercise_page.py
delereyus/ProLog
b08c9d4c1aae5c0d7cf2dbafd5fd764b46243406
[ "MIT" ]
null
null
null
from tkinter import * from back_end import Database import confirm_sets_page import edit_workout_page import config database = Database("py_project.db") class EditExercisePage: def __init__(self, content, exercise, workout_id, workout_date, username): self.show_edit_exercise_page(content, exercise, worko...
46.44186
210
0.751127
268
1,997
5.272388
0.231343
0.135881
0.188252
0.127389
0.474168
0.412597
0.266808
0.236377
0.154282
0
0
0.013634
0.155233
1,997
42
211
47.547619
0.823948
0
0
0.066667
0
0
0.02003
0
0
0
0
0
0
1
0.133333
false
0
0.166667
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b4e324cf93a35e2065c6896d6b9be38a85fb0fe0
4,463
py
Python
src/remote_pdb.py
MatthewWilkes/python-remote-pdb
ce1477a565b1b3cb42a018900c36eb17891b8a53
[ "BSD-2-Clause" ]
null
null
null
src/remote_pdb.py
MatthewWilkes/python-remote-pdb
ce1477a565b1b3cb42a018900c36eb17891b8a53
[ "BSD-2-Clause" ]
null
null
null
src/remote_pdb.py
MatthewWilkes/python-remote-pdb
ce1477a565b1b3cb42a018900c36eb17891b8a53
[ "BSD-2-Clause" ]
null
null
null
from __future__ import print_function import errno import logging import re import socket import sys from pdb import Pdb __version__ = "1.2.0" PY3 = sys.version_info[0] == 3 def cry(message, stderr=sys.__stderr__): logging.critical(message) print(message, file=stderr) stderr.flush() class LF2CRLF_Fi...
32.107914
118
0.611696
561
4,463
4.68984
0.368984
0.039529
0.019384
0.019764
0.028126
0.012163
0
0
0
0
0
0.015462
0.28994
4,463
138
119
32.34058
0.814768
0.184181
0
0.021053
0
0
0.05585
0
0
0
0
0
0
1
0.136842
false
0
0.073684
0.021053
0.294737
0.021053
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
0
1
0
b4e410c12154b75ec6c1f9e175b28611de1ac1b9
9,258
py
Python
dataproxy/__init__.py
peerplays-network/bos-dataproxy
ff19ce97981a10d8ff8d6ad3ed6afe7b4cdd42fc
[ "MIT" ]
6
2019-12-05T18:37:33.000Z
2019-12-20T17:58:32.000Z
dataproxy/__init__.py
peerplays-network/bos-dataproxy
ff19ce97981a10d8ff8d6ad3ed6afe7b4cdd42fc
[ "MIT" ]
2
2019-08-06T10:40:45.000Z
2020-02-21T14:14:12.000Z
dataproxy/__init__.py
peerplays-network/bos-dataproxy
ff19ce97981a10d8ff8d6ad3ed6afe7b4cdd42fc
[ "MIT" ]
1
2019-07-01T13:25:15.000Z
2019-07-01T13:25:15.000Z
import os import yaml import io from copy import deepcopy import logging import collections from logging.handlers import TimedRotatingFileHandler from bookiesports.normalize import IncidentsNormalizer def get_version(): try: with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'VERSION')) ...
36.023346
196
0.600562
1,085
9,258
4.993548
0.242396
0.029531
0.01292
0.011074
0.155962
0.133629
0.1244
0.102067
0.102067
0.102067
0
0.002633
0.302549
9,258
256
197
36.164063
0.836457
0.16159
0
0.215909
0
0.005682
0.150916
0.017388
0
0
0
0
0
1
0.045455
false
0.011364
0.045455
0
0.153409
0.011364
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
0
1
0
b4e4ea35c0b136bd77ad4305316db6545dfc8ef0
957
py
Python
api/migrations/0008_auto_20180527_2054.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
1
2019-05-11T14:45:47.000Z
2019-05-11T14:45:47.000Z
api/migrations/0008_auto_20180527_2054.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
6
2021-03-18T20:45:02.000Z
2021-09-22T17:41:38.000Z
api/migrations/0008_auto_20180527_2054.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-27 20:54 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0007_auto_20180527_2014'), ] operations = [ migrations.AlterField( model_name='parents', ...
38.28
329
0.667712
104
957
6.057692
0.644231
0.079365
0.15873
0.092063
0.126984
0.126984
0
0
0
0
0
0.049479
0.197492
957
24
330
39.875
0.770833
0.047022
0
0.333333
1
0
0.171429
0.025275
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
b4e51bf7923cd3c56e111afff2886221c0eb4630
9,221
py
Python
designs/migrations/0001_initial.py
ygrass/handsome
0ea016745d92054bd4df8d934c1b67fd61b6f845
[ "Unlicense" ]
null
null
null
designs/migrations/0001_initial.py
ygrass/handsome
0ea016745d92054bd4df8d934c1b67fd61b6f845
[ "Unlicense" ]
null
null
null
designs/migrations/0001_initial.py
ygrass/handsome
0ea016745d92054bd4df8d934c1b67fd61b6f845
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'DesignPhoto' db.create_table(u'designs_designphoto', ( ...
69.856061
195
0.584102
1,024
9,221
5.125977
0.137695
0.102115
0.176034
0.251476
0.711564
0.652124
0.634788
0.565822
0.531911
0.391122
0
0.008671
0.187073
9,221
132
196
69.856061
0.691569
0.023533
0
0.141593
0
0
0.534734
0.295654
0
0
0
0
0
1
0.017699
false
0.00885
0.035398
0
0.079646
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
b4e764ff085936858ce0218d82e10f1f4328559c
1,125
py
Python
python_4/sun.py
SPbAU-ProgrammingParadigms/materials
447bc7639c218cf5ee869d461e35998e1a0e02e5
[ "Unlicense" ]
null
null
null
python_4/sun.py
SPbAU-ProgrammingParadigms/materials
447bc7639c218cf5ee869d461e35998e1a0e02e5
[ "Unlicense" ]
null
null
null
python_4/sun.py
SPbAU-ProgrammingParadigms/materials
447bc7639c218cf5ee869d461e35998e1a0e02e5
[ "Unlicense" ]
7
2017-09-02T17:09:46.000Z
2021-01-10T09:53:56.000Z
#!/usr/bin/env python3 class Runtime: pass class Singleton(Runtime): _instance = None def __new__(cls, *args, **kwargs): if not cls._instance: cls._instance = super().__new__(cls, *args, **kwargs) return cls._instance class StringBuilder: def __init__(self, encoding='ut...
20.454545
65
0.535111
122
1,125
4.737705
0.467213
0.083045
0.072664
0.055363
0
0
0
0
0
0
0
0.009162
0.320889
1,125
54
66
20.833333
0.747382
0.072
0
0
0
0
0.039423
0
0
0
0
0
0
1
0.162162
false
0.027027
0
0.081081
0.405405
0.081081
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
0
1
0
b4e7a3522fd2849798df7f967eae45a3a6fe16a0
506
py
Python
notes/code/yahoo/history.py
bckenstler/msan692
1a9dedca98570bacbbec5f755344cd2f66ffc5a9
[ "MIT" ]
null
null
null
notes/code/yahoo/history.py
bckenstler/msan692
1a9dedca98570bacbbec5f755344cd2f66ffc5a9
[ "MIT" ]
null
null
null
notes/code/yahoo/history.py
bckenstler/msan692
1a9dedca98570bacbbec5f755344cd2f66ffc5a9
[ "MIT" ]
1
2019-06-15T16:49:26.000Z
2019-06-15T16:49:26.000Z
HistoryURL = "http://ichart.finance.yahoo.com/table.csv?s=%s" import sys import urllib2 ticker = sys.argv[1] # AAPL response = urllib2.urlopen(HistoryURL % ticker) csvdata = response.read() print csvdata """ ... 1998-02-23,20.125,21.624999,20.00,21.250001,119372400,0.694818 1998-02-20,20.50,20.5625,19.8125,20.00,81...
23
79
0.701581
83
506
4.277108
0.698795
0.033803
0
0
0
0
0
0
0
0
0
0.214932
0.126482
506
21
80
24.095238
0.588235
0.162055
0
0
0
0
0.171329
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
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
1
0
0
0
0
0
0
0
0
2
b4e976b9f90b3ddddb85b1feba1420243bbfa81c
1,894
py
Python
scripts/genmanualtrimlist.py
taneliang/mellotron
259ffb66b0c23d571a5350ee5f05618c4101a59d
[ "BSD-3-Clause" ]
2
2021-09-17T10:15:57.000Z
2021-12-28T08:09:18.000Z
scripts/genmanualtrimlist.py
taneliang/mellotron
259ffb66b0c23d571a5350ee5f05618c4101a59d
[ "BSD-3-Clause" ]
null
null
null
scripts/genmanualtrimlist.py
taneliang/mellotron
259ffb66b0c23d571a5350ee5f05618c4101a59d
[ "BSD-3-Clause" ]
2
2020-11-19T23:03:18.000Z
2021-12-18T11:38:41.000Z
#!/usr/bin/env python3 # Generates a list of files to be manually trimmed. To aid pre-processing of # our existing files. import glob import os import re EMOVDB_CMUARCTIC_PATH = '/home/e/e-liang/is4152/tacotron2/cmuarctic.data' # Transcripts for emovdb dataset located in repo root dataLookup = {} with open(EMOVDB_C...
43.045455
159
0.67529
301
1,894
4.172757
0.421927
0.023885
0.044586
0.031051
0.228503
0.228503
0.109873
0.109873
0.109873
0.057325
0
0.018389
0.167371
1,894
43
160
44.046512
0.77806
0.510032
0
0
1
0
0.250821
0.117196
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
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
b4ea4abbb674908b308a29f2c1088bdba4b29c37
1,587
py
Python
tests/test_zip.py
shengqh/bamsnap
4815c618011b2a1f2ab0d9e6418e39dbd292239b
[ "MIT" ]
84
2020-01-09T11:12:52.000Z
2022-03-05T00:15:55.000Z
tests/test_zip.py
shengqh/bamsnap
4815c618011b2a1f2ab0d9e6418e39dbd292239b
[ "MIT" ]
23
2020-08-24T14:28:06.000Z
2021-11-27T16:42:40.000Z
tests/test_zip.py
shengqh/bamsnap
4815c618011b2a1f2ab0d9e6418e39dbd292239b
[ "MIT" ]
14
2020-08-28T16:55:21.000Z
2021-12-01T20:20:50.000Z
import sys import shlex sys.path.append('..') bamsnap_prog = "src/bamsnap.py" from src import bamsnap # import bamsnap # bamsnap_prog = "bamsnap" cmdlist = [] cmdlist.append(""" -bam ./data/test_SV1_softclipped_1.bam \ -title "Clipped read" \ -pos chr1:37775740 chr1:37775780 chr1:37775783 chr1:3777578...
21.16
80
0.587902
194
1,587
4.592784
0.407216
0.031425
0.035915
0.044893
0.487093
0.487093
0.487093
0.487093
0.487093
0.487093
0
0.099472
0.284184
1,587
74
81
21.445946
0.684859
0.042848
0
0.436364
0
0
0.497358
0.072655
0
0
0
0
0.018182
1
0.036364
false
0
0.054545
0
0.109091
0.018182
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
0
1
0
b4eb14a0b04fc6b011592ad8a874f914b0b2709b
943
py
Python
systems/models.py
KenkoGeek/assigned-it-resources
2407dc309b9cc4751dc556898596d60b3b57b539
[ "MIT" ]
null
null
null
systems/models.py
KenkoGeek/assigned-it-resources
2407dc309b9cc4751dc556898596d60b3b57b539
[ "MIT" ]
null
null
null
systems/models.py
KenkoGeek/assigned-it-resources
2407dc309b9cc4751dc556898596d60b3b57b539
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. PERMISSIONS_NAMES = ( ("Lectura","Lectura"), ("Escritura","Escritura"), ("Administrador","Administrador"), ("Superusuario","Superusuario") ) class Permissions (models.Model): p...
25.486486
79
0.700954
98
943
6.510204
0.44898
0.094044
0.112853
0.15047
0.081505
0.081505
0
0
0
0
0
0.012739
0.16755
943
36
80
26.194444
0.8
0.04878
0
0.130435
0
0
0.106264
0
0
0
0
0
0
1
0.130435
false
0
0.086957
0.130435
0.73913
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
b4ebe3d8d5c147beec7d63a578314a1710325450
3,751
py
Python
doc/source/rstprocess.py
jefalon/WindSE
bf7e0dbad85552b32327bda2b5c29a0fac5286bb
[ "Apache-2.0" ]
35
2019-07-14T17:08:10.000Z
2022-03-15T11:09:44.000Z
doc/source/rstprocess.py
jefalon/WindSE
bf7e0dbad85552b32327bda2b5c29a0fac5286bb
[ "Apache-2.0" ]
45
2020-11-16T16:40:12.000Z
2022-03-30T20:04:37.000Z
doc/source/rstprocess.py
jefalon/WindSE
bf7e0dbad85552b32327bda2b5c29a0fac5286bb
[ "Apache-2.0" ]
21
2020-02-11T12:01:36.000Z
2022-03-18T19:07:14.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2017 Garth N. Wells # # This file is part of DOLFIN. # # DOLFIN is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your opt...
36.417476
140
0.604639
528
3,751
4.210227
0.306818
0.05668
0.053981
0.035987
0.338731
0.2852
0.261359
0.230769
0.174989
0.160594
0
0.00375
0.28899
3,751
102
141
36.77451
0.829771
0.491336
0
0.305556
0
0
0.073553
0.011357
0
0
0
0
0
1
0.027778
false
0.027778
0.166667
0
0.194444
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
0
0
1
0
b4ecc6c166b9223c2444d0ba856f875609a0d0b7
7,084
py
Python
homeassistant/components/thermostat/homematic.py
magas0/home-assistant
3c9e4934946ce99f5193ca550296034e86337997
[ "MIT" ]
1
2016-07-14T05:20:54.000Z
2016-07-14T05:20:54.000Z
app/bower_components/home-assistant-dev/homeassistant/components/thermostat/homematic.py
EkoHub/CustomizableWalkThroughTourElement
0a4ae793a1e031c9bd042b0e8ffef3be96b7c1b0
[ "BSD-3-Clause" ]
null
null
null
app/bower_components/home-assistant-dev/homeassistant/components/thermostat/homematic.py
EkoHub/CustomizableWalkThroughTourElement
0a4ae793a1e031c9bd042b0e8ffef3be96b7c1b0
[ "BSD-3-Clause" ]
1
2018-11-22T13:55:23.000Z
2018-11-22T13:55:23.000Z
""" Support for Homematic (HM-TC-IT-WM-W-EU, HM-CC-RT-DN) thermostats. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/thermostat.homematic/ """ import logging import socket from xmlrpc.client import ServerProxy from xmlrpc.client import Error from collec...
36.328205
79
0.56917
720
7,084
5.340278
0.241667
0.023407
0.023667
0.015605
0.204161
0.151105
0.13264
0.059298
0.015085
0
0
0.007976
0.345144
7,084
194
80
36.515464
0.820867
0.125353
0
0.180556
0
0
0.091458
0.00392
0
0
0
0
0
1
0.076389
false
0
0.055556
0
0.201389
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
0
0
1
0
b4eebbcaac2662f45a776502923fe86d751ae5dc
1,658
py
Python
src/main/python/bridge_access.py
afichet/candela
eafa61fb6054b3beedbb63d9b9ca3c1f5a15f562
[ "MIT" ]
1
2020-07-27T21:37:28.000Z
2020-07-27T21:37:28.000Z
src/main/python/bridge_access.py
afichet/candela
eafa61fb6054b3beedbb63d9b9ca3c1f5a15f562
[ "MIT" ]
1
2020-06-22T13:36:37.000Z
2020-10-04T19:26:52.000Z
src/main/python/bridge_access.py
afichet/candela
eafa61fb6054b3beedbb63d9b9ca3c1f5a15f562
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 import phue from PySide2.QtCore import QObject, Signal, Slot, Property class BridgeAccess(QObject): def __init__(self, ip, user, parent=None): super(BridgeAccess, self).__init__(parent) self.ip_val = ip self.user_val = user t...
26.741935
71
0.626659
211
1,658
4.682464
0.251185
0.060729
0.072874
0.060729
0.37247
0.37247
0.325911
0.325911
0.325911
0.257085
0
0.001672
0.278649
1,658
61
72
27.180328
0.824415
0.03076
0
0.311111
0
0
0.05109
0.013707
0
0
0
0
0
1
0.2
false
0.044444
0.044444
0.044444
0.377778
0.066667
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
0
1
0
b4f154a32dafa26aff0166449879bde375421d24
3,779
py
Python
toqnets/nn/gnntc.py
C-SUNSHINE/TOQ-Nets-PyTorch-Release
05e06bf633fb3c6b610dda9a5126ecd7af1db02f
[ "MIT" ]
6
2021-08-24T21:46:01.000Z
2022-03-09T14:34:05.000Z
toqnets/nn/gnntc.py
vacancy/TOQ-Nets-PyTorch-Release
53a712be28e2ecf8d2e04a9f71a2d7e8db5430e1
[ "MIT" ]
null
null
null
toqnets/nn/gnntc.py
vacancy/TOQ-Nets-PyTorch-Release
53a712be28e2ecf8d2e04a9f71a2d7e8db5430e1
[ "MIT" ]
2
2021-08-23T03:06:20.000Z
2021-09-30T14:17:14.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # File : gnntc.py # Author : Zhezheng Luo # Email : luozhezheng@gmail.com # Date : 08/02/2021 # # This file is part of TOQ-Nets-PyTorch. # Distributed under terms of the MIT license. import torch from torch import nn from toqnets.nn.propnet import AgentEncoder, Rel...
41.527473
117
0.645144
542
3,779
4.243542
0.226937
0.045217
0.033478
0.031304
0.304783
0.23
0.140435
0.08
0.066087
0.037391
0
0.026135
0.230484
3,779
90
118
41.988889
0.764787
0.162741
0
0
0
0
0
0
0
0
0
0
0.169811
1
0.037736
false
0
0.056604
0
0.132075
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
0
0
1
0
b4f33c8f5454d70f21eee639b9eaec15c00e3876
553
py
Python
2020/2/part1.py
atsvetkov/adventofcode2020
392ca75f89214fce696cd4facfcf34a7a91d74c8
[ "MIT" ]
null
null
null
2020/2/part1.py
atsvetkov/adventofcode2020
392ca75f89214fce696cd4facfcf34a7a91d74c8
[ "MIT" ]
null
null
null
2020/2/part1.py
atsvetkov/adventofcode2020
392ca75f89214fce696cd4facfcf34a7a91d74c8
[ "MIT" ]
null
null
null
valid_count = 0 for line in open('input.txt'): space_index = line.index(' ') limits = [int(limit) for limit in line[:space_index].split('-')] lo, hi = limits[0], limits[1] colon_index = line.index(':') letter = line[space_index+1:colon_index] word = line[colon_index+1:] letter_count = 0 ...
29.105263
68
0.582278
78
553
3.961538
0.358974
0.142395
0.058252
0
0
0
0
0
0
0
0
0.020253
0.285714
553
18
69
30.722222
0.762025
0
0
0
0
0
0.068716
0
0
0
0
0
0
1
0
false
0.058824
0
0
0
0.058824
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
b4f83beaa12a9866f44ed0f21189ccc8f4c1bf21
1,187
py
Python
evaluation/hand_calculation/agari.py
VictorZXY/meowjong
ec71171f7dc2369c55f5e3bd3302cbaa76346561
[ "MIT" ]
null
null
null
evaluation/hand_calculation/agari.py
VictorZXY/meowjong
ec71171f7dc2369c55f5e3bd3302cbaa76346561
[ "MIT" ]
null
null
null
evaluation/hand_calculation/agari.py
VictorZXY/meowjong
ec71171f7dc2369c55f5e3bd3302cbaa76346561
[ "MIT" ]
null
null
null
from evaluation.hand_calculation.hand_divider import HandDivider from evaluation.hand_calculation.yaku_list.yakuman import KokushiMusou class Agari: @staticmethod def is_agari(private_tiles, win_tile=None, melds=None): """ Determine whether a given hand is complete. Yaku are not counted. ...
38.290323
80
0.648694
150
1,187
5.013333
0.526667
0.079787
0.047872
0.077128
0
0
0
0
0
0
0
0.003601
0.298231
1,187
30
81
39.566667
0.89916
0.403538
0
0.266667
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.466667
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
0
0
1
0
b4f880d130da7c09dd7f3647df3d4c2bfe447453
2,961
py
Python
SentiLARE/finetune/run_sentilr_tests.py
authorAnonymousGit/WOCEL
5edcf1c0cce07c8280ef3c10c9e01ad0d2643885
[ "Apache-2.0" ]
null
null
null
SentiLARE/finetune/run_sentilr_tests.py
authorAnonymousGit/WOCEL
5edcf1c0cce07c8280ef3c10c9e01ad0d2643885
[ "Apache-2.0" ]
null
null
null
SentiLARE/finetune/run_sentilr_tests.py
authorAnonymousGit/WOCEL
5edcf1c0cce07c8280ef3c10c9e01ad0d2643885
[ "Apache-2.0" ]
null
null
null
import os import numpy as np SEEDS = [1, 2, 3, 4, 5] LOSS_TYPES = ["OCE_loss_final_with_prox_dynamic_L7_with_alpha", "CrossEntropy"] ALPHAS = np.linspace(0.5, 0.9, 5) # Irrelevant for CrossEntropy # SEEDS = [1, 3, 5] # LOSS_TYPES = ['OCE_loss_final_with_prox_dynamic_L7_with_alpha_ablation_prox', # ...
55.867925
116
0.444107
281
2,961
4.316726
0.345196
0.089035
0.049464
0.039571
0.435284
0.402308
0.351195
0.351195
0.351195
0.351195
0
0.033877
0.461668
2,961
52
117
56.942308
0.727102
0.108072
0
0.047619
0
0
0.093023
0.045349
0
0
0
0.019231
0
1
0
false
0
0.047619
0
0.047619
0.071429
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
b4f91e22fe213c7ec2c0ae9a49e8a93da6fcfe82
45
py
Python
src/__init__.py
gchhablani/DRIFT
8d748998b695489a40ff732a974e4b1f915bab34
[ "MIT" ]
90
2021-07-01T15:42:57.000Z
2021-12-06T04:57:59.000Z
src/__init__.py
gchhablani/DRIFT
8d748998b695489a40ff732a974e4b1f915bab34
[ "MIT" ]
8
2021-07-02T12:41:13.000Z
2021-08-08T17:59:30.000Z
src/__init__.py
gchhablani/DRIFT
8d748998b695489a40ff732a974e4b1f915bab34
[ "MIT" ]
7
2021-07-01T13:08:14.000Z
2021-08-29T05:29:09.000Z
from .analysis import * from .utils import *
15
23
0.733333
6
45
5.5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.177778
45
2
24
22.5
0.891892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b4f9ccdefea2153e5041d2860cc16cc5a2038328
570
py
Python
CreaFiguraConSimbolos.py
brown9804/Python_DiversosAlgortimos
e9ff0fbe761f24a49a30a513d50824ca56cafaa3
[ "Apache-2.0" ]
3
2018-06-28T21:06:53.000Z
2018-07-01T20:39:30.000Z
CreaFiguraConSimbolos.py
brown9804/Python_DiversosAlgortimos
e9ff0fbe761f24a49a30a513d50824ca56cafaa3
[ "Apache-2.0" ]
null
null
null
CreaFiguraConSimbolos.py
brown9804/Python_DiversosAlgortimos
e9ff0fbe761f24a49a30a513d50824ca56cafaa3
[ "Apache-2.0" ]
null
null
null
#Python3 #Crea una figura con un simbolo digitado ###### DEFINICIONES ###### def impr (anch): print("*" * anch) def anchofig(anc,sym): print (sym*anc) ###### IMPLEMENTACION ###### ancho = int(input("Digite el ancho para el de asteriscos ")) for indice in range (1, ancho + 1): impr(ancho) ancho ...
23.75
72
0.659649
85
570
4.423529
0.435294
0.117021
0.138298
0.12766
0.335106
0.138298
0
0
0
0
0
0.010893
0.194737
570
23
73
24.782609
0.808279
0.149123
0
0
0
0
0.38326
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
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
0
0
0
0
1
0
b4fa243292a8aeaaab2484645654ac37e38928e0
16,093
py
Python
domain.py
acrovato/geoGen
55cea28f9d6cea7a9b04cb8403e6b9b69e326133
[ "Apache-2.0" ]
1
2021-01-05T11:53:13.000Z
2021-01-05T11:53:13.000Z
domain.py
acrovato/gridGen
55cea28f9d6cea7a9b04cb8403e6b9b69e326133
[ "Apache-2.0" ]
1
2019-09-17T07:18:23.000Z
2019-10-17T16:24:37.000Z
domain.py
acrovato/geoGen
55cea28f9d6cea7a9b04cb8403e6b9b69e326133
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' Copyright 2019 University of Liege 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 requir...
48.914894
346
0.512956
2,627
16,093
3.128283
0.082223
0.128133
0.065588
0.059869
0.77817
0.710514
0.657703
0.607934
0.573254
0.553541
0
0.061267
0.222084
16,093
328
347
49.064024
0.595175
0.105885
0
0.472973
0
0.076577
0.213374
0.045353
0
0
0
0
0
1
0.085586
false
0
0.004505
0
0.103604
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
b4fb690e180278fffd33e59c9c5b194dc52708ab
2,039
py
Python
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/mcl/lp/cmdparser/XmlCommandArgument.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
9
2019-11-22T04:58:40.000Z
2022-02-26T16:47:28.000Z
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/mcl/lp/cmdparser/XmlCommandArgument.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
null
null
null
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/mcl/lp/cmdparser/XmlCommandArgument.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
8
2017-09-27T10:31:18.000Z
2022-01-08T10:30:46.000Z
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: XmlCommandArgument.py from XmlCommandBase import XmlCommandBase class XmlCommandArgument(XmlCommandBase): def __init__(self): XmlComman...
35.155172
105
0.615498
234
2,039
5.247863
0.303419
0.061075
0.143322
0.102606
0.387622
0.270358
0.213355
0.166124
0.166124
0.102606
0
0.033311
0.278568
2,039
58
106
35.155172
0.801496
0.089259
0
0.272727
0
0
0.073974
0
0
0
0
0
0
1
0.181818
false
0
0.022727
0.045455
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b4fc46a1bb23ac5c4deeb4b6415184c741b08da2
10,390
py
Python
userPayWin.py
Salalami/SmartSupermarket4Win
0442de2c821361ecdb88cf1ce9523ac78c48d6d1
[ "Apache-2.0" ]
null
null
null
userPayWin.py
Salalami/SmartSupermarket4Win
0442de2c821361ecdb88cf1ce9523ac78c48d6d1
[ "Apache-2.0" ]
null
null
null
userPayWin.py
Salalami/SmartSupermarket4Win
0442de2c821361ecdb88cf1ce9523ac78c48d6d1
[ "Apache-2.0" ]
null
null
null
from PyQt5.QtWidgets import QApplication, QMainWindow, QDialog, QWidget, QMessageBox from PyQt5 import QtWidgets from PyQt5.QtGui import QPixmap from PyQt5.QtCore import pyqtSignal, QThread, QCoreApplication, Qt from Ui_userPayWin import Ui_Dialog import sys, utils from alipay import AliPay import qrcode, time, threadi...
39.505703
116
0.626083
1,162
10,390
5.344234
0.222031
0.032206
0.030596
0.016908
0.375201
0.303221
0.211916
0.201932
0.056361
0
0
0.019521
0.265351
10,390
262
117
39.656489
0.794052
0.081809
0
0.041451
0
0
0.049621
0.00875
0
0
0
0
0
1
0.062176
false
0
0.041451
0
0.170984
0.072539
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
0
1
0
b4fc5de33e8b1aa1ab1e0d787882387f1e99ef8d
6,125
py
Python
venv/lib/python3.6/site-packages/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_af.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_af.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_af.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
# (c) 2016 Red Hat Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is dis...
31.735751
99
0.577306
677
6,125
4.970458
0.257016
0.031204
0.037444
0.041605
0.581872
0.55156
0.485587
0.485587
0.4211
0.4211
0
0.034778
0.333388
6,125
192
100
31.901042
0.789371
0.110041
0
0.496732
0
0
0.175962
0.056507
0
0
0
0
0.006536
1
0.084967
false
0
0.026144
0
0.124183
0.006536
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
0
1
0
b4fdebbc09fb6614f7cb781e964938b2e7e78dab
7,253
py
Python
devilry/apps/core/admin.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
29
2015-01-18T22:56:23.000Z
2020-11-10T21:28:27.000Z
devilry/apps/core/admin.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
786
2015-01-06T16:10:18.000Z
2022-03-16T11:10:50.000Z
devilry/apps/core/admin.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
15
2015-04-06T06:18:43.000Z
2021-02-24T12:28:30.000Z
import json from django.contrib import admin from django.utils.html import format_html from devilry.apps.core.models import AssignmentGroup, Subject, Period, Assignment, PeriodTag, \ CandidateAssignmentGroupHistory, ExaminerAssignmentGroupHistory, Examiner, RelatedStudent, RelatedExaminer, \ AssignmentGroupHi...
23.548701
113
0.64718
683
7,253
6.481698
0.191801
0.04066
0.051502
0.042693
0.470296
0.418116
0.368647
0.352383
0.304947
0.287554
0
0.000371
0.256721
7,253
307
114
23.625407
0.820812
0.015993
0
0.491304
0
0
0.208999
0.086768
0
0
0
0
0
1
0.052174
false
0.013043
0.021739
0.052174
0.330435
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
0
0
1
0
b4ff7a2689f88f39799b28e0ab3ec620248833a9
168
py
Python
myvenv/lib/python3.5/site-packages/IPython/utils/traitlets.py
tuvapp/tuvappcom
5ca2be19f4b0c86a1d4a9553711a4da9d3f32841
[ "MIT" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
myvenv/lib/python3.5/site-packages/IPython/utils/traitlets.py
tuvapp/tuvappcom
5ca2be19f4b0c86a1d4a9553711a4da9d3f32841
[ "MIT" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
myvenv/lib/python3.5/site-packages/IPython/utils/traitlets.py
tuvapp/tuvappcom
5ca2be19f4b0c86a1d4a9553711a4da9d3f32841
[ "MIT" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
from __future__ import absolute_import from warnings import warn warn("IPython.utils.traitlets has moved to a top-level traitlets package.") from traitlets import *
21
75
0.809524
24
168
5.458333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.136905
168
7
76
24
0.903448
0
0
0
0
0
0.39881
0.136905
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
370211a081a208a56f69edfdacecf44b58bc1ce6
26,188
py
Python
airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py
arezamoosavi/airflow
c3c81c3144386d1de535c1c5e777270e727bb69e
[ "Apache-2.0" ]
2
2016-08-23T14:22:15.000Z
2017-09-28T19:45:26.000Z
airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py
arezamoosavi/airflow
c3c81c3144386d1de535c1c5e777270e727bb69e
[ "Apache-2.0" ]
4
2019-01-24T11:01:17.000Z
2022-02-28T04:28:07.000Z
airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py
arezamoosavi/airflow
c3c81c3144386d1de535c1c5e777270e727bb69e
[ "Apache-2.0" ]
6
2018-04-09T07:46:05.000Z
2019-07-16T00:13:15.000Z
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
41.967949
107
0.688941
2,883
26,188
5.855706
0.097121
0.035422
0.033764
0.042649
0.778699
0.730364
0.674446
0.652411
0.628835
0.605734
0
0.000754
0.240568
26,188
623
108
42.035313
0.848099
0.055942
0
0.702048
0
0
0.018409
0
0
0
0
0
0
1
0.029795
false
0
0.018622
0
0.098696
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
370239612665db191d987f35efe965057710194c
18
py
Python
ret_benchmark/utils/log_info.py
alibaba-edu/Ranking-based-Instance-Selection
06e7fa2061d42f5e8181f7181fe591fc3d294f8d
[ "MIT" ]
20
2021-04-15T09:15:28.000Z
2022-03-30T02:31:20.000Z
vit_retri/utils/log_info.py
ludics/ViT-Retri
4a17ae8392a0f8145a2f5ee37854e76503c26009
[ "MIT" ]
1
2021-06-03T05:51:52.000Z
2021-06-19T05:52:33.000Z
vit_retri/utils/log_info.py
ludics/ViT-Retri
4a17ae8392a0f8145a2f5ee37854e76503c26009
[ "MIT" ]
5
2021-05-17T09:05:38.000Z
2022-02-28T10:10:50.000Z
log_info = dict()
9
17
0.666667
3
18
3.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
18
1
18
18
0.733333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3702fd553a25de275c7515e72b1efc8cf1822fe0
293
py
Python
Ex008.py
GabrielSilva2y3d/Curso-em-video-python-exercicios
1098ccb3f8c21b411e6b6e6dc1c9bb339e80b785
[ "MIT" ]
null
null
null
Ex008.py
GabrielSilva2y3d/Curso-em-video-python-exercicios
1098ccb3f8c21b411e6b6e6dc1c9bb339e80b785
[ "MIT" ]
null
null
null
Ex008.py
GabrielSilva2y3d/Curso-em-video-python-exercicios
1098ccb3f8c21b411e6b6e6dc1c9bb339e80b785
[ "MIT" ]
null
null
null
print('Unidades de Medida') m = float(input('Digite uma distância em metros: ')) print(f'A distancia de {m}m corresponde a: ') km = m/1000 hm = m/100 dam = m/10 m = m dm = m * 10 cm = m * 100 mm = m * 1000 print(f"({km}km - {hm}hm - {dam}dam - {m}m - {dm:.0f}dm - {cm:.0f}cm - {mm:.0f}mm)")
20.928571
84
0.576792
60
293
2.816667
0.433333
0.035503
0.047337
0
0
0
0
0
0
0
0
0.090129
0.204778
293
13
85
22.538462
0.635193
0
0
0
0
0.090909
0.544521
0
0
0
0
0
0
1
0
false
0
0
0
0
0.272727
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
0
1
0
3707d2a27bdec3d6c78225064cc9a3813466253a
7,472
py
Python
unit_tests/view_official_search/test_enter_search_ref.py
LandRegistry/maintain-frontend
d92446a9972ebbcd9a43a7a7444a528aa2f30bf7
[ "MIT" ]
1
2019-10-03T13:58:29.000Z
2019-10-03T13:58:29.000Z
unit_tests/view_official_search/test_enter_search_ref.py
LandRegistry/maintain-frontend
d92446a9972ebbcd9a43a7a7444a528aa2f30bf7
[ "MIT" ]
null
null
null
unit_tests/view_official_search/test_enter_search_ref.py
LandRegistry/maintain-frontend
d92446a9972ebbcd9a43a7a7444a528aa2f30bf7
[ "MIT" ]
1
2021-04-11T05:24:57.000Z
2021-04-11T05:24:57.000Z
from maintain_frontend import main from flask_testing import TestCase from unit_tests.utilities import Utilities from flask import url_for from unittest.mock import patch, MagicMock from maintain_frontend.dependencies.session_api.session import Session from maintain_frontend.models import SearchDetails class TestEnte...
44.213018
101
0.701017
910
7,472
5.384615
0.131868
0.062857
0.077143
0.044082
0.83551
0.821837
0.820408
0.820408
0.812245
0.812245
0
0.024005
0.202757
7,472
168
102
44.47619
0.798556
0
0
0.603306
0
0
0.25455
0.182147
0
0
0
0
0.173554
1
0.082645
false
0
0.057851
0
0.157025
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
37096124c4cc930bde39de01b5eb32a7bab3bf08
5,285
py
Python
models/quantization.py
aliyun/alibabacloud-quantization-networks
05522aabebf5188df5a92b26f96f5ebded806ca9
[ "Apache-2.0" ]
102
2019-11-08T08:45:56.000Z
2022-03-03T05:22:14.000Z
models/quantization.py
DefTruth/alibabacloud-quantization-networks
05522aabebf5188df5a92b26f96f5ebded806ca9
[ "Apache-2.0" ]
8
2019-12-02T08:44:36.000Z
2021-08-12T13:35:03.000Z
models/quantization.py
DefTruth/alibabacloud-quantization-networks
05522aabebf5188df5a92b26f96f5ebded806ca9
[ "Apache-2.0" ]
30
2019-11-22T05:16:05.000Z
2021-08-04T07:18:56.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # quantization.py is used to quantize the activation of model. from __future__ import print_function, absolute_import import torch import torch.nn.functional as F from torch.nn import init import torch.nn as nn import pickle from torch.nn.parameter import Parameter from to...
36.19863
106
0.60246
735
5,285
4.22585
0.242177
0.016098
0.016742
0.021893
0.226014
0.173213
0.156471
0.156471
0.152608
0.119124
0
0.018724
0.282498
5,285
145
107
36.448276
0.800369
0.255629
0
0.049383
0
0
0.003437
0
0
0
0
0
0.037037
1
0.098765
false
0
0.123457
0
0.296296
0.012346
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
0
1
0
3709f8e7baa86d5eba77825422a9508af95fef1e
2,240
py
Python
bitstream/decoder/lib/annotations.py
mfkiwl/NEM-Relay-CGRA
1ad59b83b9a61ee56da43e5491a95d2f4e6c2ac4
[ "BSD-3-Clause" ]
2
2021-03-28T08:03:01.000Z
2021-09-19T08:10:02.000Z
bitstream/decoder/lib/annotations.py
mfkiwl/NEM-Relay-CGRA
1ad59b83b9a61ee56da43e5491a95d2f4e6c2ac4
[ "BSD-3-Clause" ]
null
null
null
bitstream/decoder/lib/annotations.py
mfkiwl/NEM-Relay-CGRA
1ad59b83b9a61ee56da43e5491a95d2f4e6c2ac4
[ "BSD-3-Clause" ]
2
2021-03-28T08:02:57.000Z
2021-11-06T05:14:17.000Z
#!/usr/bin/python class Annotations: ''' Class to hold the annotation formats To be used at multiple levels in tool flow for comparison purposes ''' #format strings _connect_wire_str = 'connect wire {} ({}) to {}' _latch_wire_str = 'latch wire {} ({}) before connecting to {}...
33.432836
97
0.614286
322
2,240
4.006211
0.28882
0.086822
0.054264
0.069767
0.294574
0.268217
0.254264
0.237209
0.237209
0.206977
0
0
0.265625
2,240
66
98
33.939394
0.784195
0.151339
0
0.272727
0
0
0.099839
0
0
0
0
0
0.022727
1
0.181818
false
0
0
0.022727
0.590909
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
370a07874deea75d3ffba660840d9b1109220320
789
py
Python
comprasnet/pages/__init__.py
oncase/python-comprasnet
5cc974873a8c1025d3f572703bf0af02c3d88b59
[ "Apache-2.0" ]
2
2018-04-27T00:15:03.000Z
2018-05-23T21:32:29.000Z
comprasnet/pages/__init__.py
oncase/python-comprasnet
5cc974873a8c1025d3f572703bf0af02c3d88b59
[ "Apache-2.0" ]
6
2018-04-29T22:03:47.000Z
2018-05-19T00:46:14.000Z
comprasnet/pages/__init__.py
oncase/python-comprasnet
5cc974873a8c1025d3f572703bf0af02c3d88b59
[ "Apache-2.0" ]
3
2019-10-09T13:11:48.000Z
2020-06-19T07:31:41.000Z
import logging from collections import OrderedDict log = logging.getLogger('comprasnet') class BaseDetail: DETAIL_URL = None def __init__(self, uasg_code, auction_code, *args, **kwargs): self.uasg_code = uasg_code self.auction_code = auction_code def get_params(self): raise Not...
21.324324
70
0.666667
92
789
5.467391
0.423913
0.063618
0.222664
0.184891
0.230616
0
0
0
0
0
0
0.001667
0.239544
789
36
71
21.916667
0.836667
0
0
0.25
0
0
0.019011
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.125
0.625
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5