Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions research/p104-helper-split-on-retirement-tree/ADAPTERS.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"driver": [
[
"def run(write=False):",
"def run(write=False, extension=None):"
],
[
"result=driver.run(services=services,extension=candidate)",
"result=driver.run(services=services,extension=candidate if extension is None else extension(candidate))"
]
],
"controller": [
[
"def construct():",
"def construct(data=None):"
],
[
" data = json.loads((HERE/'ROOT.json').read_text())",
" if data is None:\n data = json.loads((HERE/'ROOT.json').read_text())"
]
],
"pricing": [
[
"from controller import formula_invoice, need",
"from tree_invoice import formula_invoice, need"
],
[
"KAPPA = Q('0.00329394')",
"KAPPA = Q('0.00329760')"
],
[
"TESTED = Q('0.003293945')",
"TESTED = Q('0.003297605')"
],
[
"PREVIOUS = Q('0.003288299')",
"PREVIOUS = Q('0.00329700')"
],
[
"expected_targets.update({1:104,16:104,17:-104})",
"expected_targets.update({1:104,40:104,41:-104})"
],
[
"Independent tree, retirement delta and emitted-event counts",
"Independent rebalanced tree, retirement delta and emitted-event counts"
],
[
"'kappa_decimal': '0.00329394'",
"'kappa_decimal': '0.00329760'"
],
[
"Independent Gaussian retirement changes the complete productive profile.",
"Cut one public helper register of the native word in two and hand its tail to a new public register, under the rebalanced retirement caller."
],
[
"It includes all nine output contractions and their productive target debits.",
"It includes all nine output contractions and their productive target debits.\nThis adaptation prices the native word with one public helper register cut in two."
],
[
"reserve, decay = Q(1, 10**29), Q(31, 32)",
"reserve, decay = Q(1, 10**27), Q(33, 34)"
],
[
"need(alpha[1] < 1-reserve and gamma[1] < decay and delta[1] < decay, 'All charged tail ratios')",
"need(alpha[1] < 1-reserve and gamma[1] < decay and delta[1] < decay, 'All charged tail ratios')\n need(delta[0] > Q(31, 32), 'The source tail decay does not fund this tree')"
],
[
"'negative_controls': {'old_completion':",
"'negative_controls': {'old_tail_decay': 'The source tail decay 31/32 is below the new completion ratio.',\n 'old_completion':"
],
[
"This adapter keeps the root and changes the native source invoice.",
"This adapter keeps the native word and the retirement identity."
]
]
}
Loading