code
stringlengths
3
6.57k
raw_integral(x=lower)
raw_integral(x=upper)
exp_icdf(x, params, model)
z.unstack_x(x)
model._shift_x(x)
znp.log(lambd * x)
Exponential.register_inverse_analytic_integral(exp_icdf)
Space(axes=0, limits=(ANY_LOWER, ANY_UPPER)
Exponential.register_analytic_integral(func=_exp_integral_from_any_to_any, limits=limits)
os.path.join(os.getcwd()
os.path.join(os.getcwd()
os.path.join(os.getcwd()
os.path.join(os.getcwd()
os.path.join(os.getcwd()
SmartMeter (1 = 1% i.e.)
len([i for i in os.listdir(grid_data_folder)
os.path.isdir(os.path.join(grid_data_folder, i)
computing (when 64 available use 12 - 24)
print('Choose different simulation length or sample length (sim_length >= sample_length')
math.ceil((number_of_samples * share_of_positive_samples)
math.ceil((number_of_samples * share_of_positive_samples)
math.ceil((number_of_samples * share_of_positive_samples)
grid (location of malfunction/PVs... is varied)
PVs (PV proliferation)
cos(phi)
Q(P)
brokenQ(P)
cos(phi)
Q(P)
Q(P)
Q(P)
simulation (does not apply to setup)
simulation (does not apply to setup)
default(None)
pd.Timestamp('2017-01-01 00:00:00', tz='utc')
pd.Timestamp('2018-01-01 00:00:00', tz='utc')
pd.Timedelta(step_size + 'T')
is ('path': YAML_required)
re.compile(r'/_episodes/(\d\d)
re.compile(r'\s+$')
re.compile(r'<img[^>]+src="([^"]+)
re.compile(r'\[([^\]]+)
links (to resolve internally-defined references)
re.compile(r'^\[([^\]]+)
re.compile(r'^{% include ([^ ]*)
main()
parse_args()
Reporter()
check_config(args.reporter, args.source_dir)
check_source_rmd(args.reporter, args.source_dir, args.parser)
read_references(args.reporter, args.reference_path)
read_all_markdown(args.source_dir, args.parser)
check_fileset(args.source_dir, args.reporter, list(docs.keys()
check_unwanted_files(args.source_dir, args.reporter)
list(docs.keys()
create_checker(args, filename, docs[filename])
checker.check()
args.reporter.report()
exit(1)
parse_args()
ArgumentParser(description="""Check episode files in a lesson.""")
parser.parse_known_args()
format(extras)
check_config(reporter, source_dir)
os.path.join(source_dir, '_config.yml')
load_yaml(config_file)
reporter.check_field(config_file, 'configuration', config, 'title')
reporter.check_field(config_file, 'configuration', config, 'email')
reporter.check(defaults in config.get('defaults', [])
check_source_rmd(reporter, source_dir, parser)
os.path.join(source_dir, d)
os.path.join(d, '*.Rmd')
glob.glob(pat)
read_markdown(parser, f)
read_references(reporter, ref_path)
Warning("No filename has been provided.")
set()
open(ref_path, 'r')
for (num, line)
enumerate(reader, 1)
P_INTERNAL_INCLUDE_LINK.search(line)
P_INTERNAL_LINK_DEF.search(line)
require(m, message.format(ref_path, num, line.rstrip()
m.group(1)
m.group(2)
require(name, message.format(ref_path, num)
urls_seen.add(url)
read_all_markdown(source_dir, parser)
os.path.join(source_dir, d)
os.path.join(d, '*.md')
glob.glob(pat)
read_markdown(parser, filename)
check_fileset(source_dir, reporter, filenames_present)
p.replace('%', source_dir)
set(required)
set(filenames_present)
reporter.add(None, 'Missing required file {0}', m)
P_EPISODE_FILENAME.search(filename)
m.group(1)
seen.append(m.group(1)