Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/apache/caldera
/ encode_string
Method
encode_string
app/utility/base_world.py:55–56 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
53
54
@staticmethod
55
def
encode_string(s):
56
return
str(b64encode(s.encode()),
'utf-8'
)
57
58
@staticmethod
59
def
jitter(fraction):
Callers
15
operation_loop
Method · 0.80
_accept_beacon
Method · 0.80
_beacon
Method · 0.80
add_test_variants
Method · 0.80
obfuscate_commands
Method · 0.80
replace_app_props
Method · 0.80
task
Method · 0.80
replace_origin_link_id
Method · 0.80
__init__
Method · 0.80
test
Method · 0.80
read_result_file
Method · 0.80
_save
Method · 0.80
Calls
1
encode
Method · 0.45
Tested by
15
test_encode_and_decode_string
Method · 0.64
test_replace_app_props
Function · 0.64
test_link_fact_coverage
Method · 0.64
test_trim_links
Method · 0.64
test_filter_bs
Method · 0.64
test_trait_with_one_part
Method · 0.64
test_trait_with_two_parts
Method · 0.64
test_trait_with_three_parts
Method · 0.64
test_trait_with_multiple_variations_of_parts
Method · 0.64
test_global_variables_not_replaced_with_facts
Method · 0.64
test_remove_links_missing_facts_keeps_link_without_facts
Method · 0.64
test_remove_links_missing_facts_removes_one_part_fact
Method · 0.64