- One arbitrageur's trade, per {stake100(unit)} of Senior
- they buy
+ One restock trade, per {stake100(unit)} of Senior bought
@@ -505,7 +509,7 @@ export default function DayV3RestockCheck({
{bps(check.worstCaseDiscountBps)} below NAV, leaving{" "}
{bps(check.worstCaseMarginBps)} on the same trade. That is
the best it ever gets, so if that is negative no sale
- attracts an arbitrageur at any depth.{" "}
+ clears the restock hurdle at any depth.{" "}
>
) : (
<>
@@ -519,9 +523,9 @@ Both discounts are quotes from{" "}
: policyBasis === "issuer-fee"
? "a pool priced at the swap fee you set"
: "the disclosed illustrative pool"}
- , whose {maximumDiscountPct.toFixed(2)}% maximum discount{" "}
+ , whose {(maximumDiscountPct * 100).toFixed(0)} bps maximum discount{" "}
{maximumDiscountSource === "payout-floor"
- ? "is set by your payout floor"
+ ? "is set by your maximum discount"
: maximumDiscountSource === "your-answer"
? "you set yourself"
: "the live template solved for"}
diff --git a/components/day-v3/DayV3Summary.tsx b/components/day-v3/DayV3Summary.tsx
index 49ef81b..e23ed0f 100644
--- a/components/day-v3/DayV3Summary.tsx
+++ b/components/day-v3/DayV3Summary.tsx
@@ -30,6 +30,10 @@ import DayV3ModelGroup, {
} from "@/components/day-v3/DayV3ModelGroup";
import DayV3NumberField from "@/components/day-v3/DayV3NumberField";
import DayV3PremiumCurveEditor from "@/components/day-v3/DayV3PremiumCurveEditor";
+import DayV3PricingModelExplorer, {
+ DAY_V3_PRICING_MODEL_DEFAULTS,
+ type DayV3PricingModelSelections,
+} from "@/components/day-v3/DayV3PricingModelExplorer";
import DayV3RestockCheck, {
type DayV3RestockView,
} from "@/components/day-v3/DayV3RestockCheck";
@@ -39,6 +43,10 @@ import DayV3YieldModels from "@/components/day-v3/DayV3YieldModels";
import { useDayV3SimulationPoolDesign } from "@/components/day-v3/useDayV3SimulationPoolDesign";
import { dayV3RealizedReturns } from "@/lib/day-v3/historical-returns";
import { dayV3MinimumLiquidityForExitGoal } from "@/lib/day-v3/exit-goal-sizing";
+import {
+ dayV3DepthAtNavBps,
+ dayV3MaximumDiscountBps,
+} from "@/lib/day-v3/exit-units";
import {
dayV3PremiumBpsOf,
dayV3RestingSeniorWeight,
@@ -195,6 +203,13 @@ export default function DayV3Summary({
// Anything the link did not carry falls back to the market's own default, so
// a partial or hand-edited link still describes a real market.
const linked = initialState;
+ const [pricingModelSelections, setPricingModelSelections] =
+ useState(() => ({
+ ...DAY_V3_PRICING_MODEL_DEFAULTS,
+ risk: linked?.jrCurveModel ?? DAY_V3_PRICING_MODEL_DEFAULTS.risk,
+ liquidity:
+ linked?.slpCurveModel ?? DAY_V3_PRICING_MODEL_DEFAULTS.liquidity,
+ }));
const [manualOverrides, setManualOverrides] = useState({
...EMPTY_DAY_V3_OVERRIDES,
...linked?.overrides,
@@ -306,8 +321,9 @@ export default function DayV3Summary({
>(null);
const poolPremiumHydratedVersion = useRef(-1);
const premiumOverridden = poolPremiumBps !== null;
- // An outside desk's terms. These describe who might arbitrage the pool back
- // to NAV; they price nothing in the market itself and never gate a result.
+ // An outside desk's annual restock hurdle rate. It describes the minimum
+ // return required to arbitrage the pool back to NAV; it prices nothing in
+ // the market itself and never gates a result.
const [marketMakerCostOfCapitalPct, setMarketMakerCostOfCapitalPct] =
useState(linked?.marketMakerCostOfCapitalPct ?? 12);
const [redemptionDays, setRedemptionDays] = useState(
@@ -1325,6 +1341,8 @@ export default function DayV3Summary({
const query = buildDayV3Query({
market: customSource ? CUSTOM_SOURCE_ID : marketId,
mode: null,
+ jrCurveModel: pricingModelSelections.risk,
+ slpCurveModel: pricingModelSelections.liquidity,
sourceApyPct,
protectedDrawdownPct,
recoveryDays: recoveryDaysInput,
@@ -1795,7 +1813,7 @@ export default function DayV3Summary({
},
{
complete: advancedExitComplete,
- detail: "Choose the immediate exit amount and minimum payout.",
+ detail: "Choose the depth at NAV and maximum discount.",
id: "day-v3-exit-inputs",
label: "Set the Senior exit",
},
@@ -2281,7 +2299,7 @@ export default function DayV3Summary({
protectionView.status === "missing-goal" &&
exitView.status === "missing-goal"
? "Complete Senior protection and the exit terms above to size Junior and SLP capital."
- : `${protectedDrawdownPct === null ? "Protection pending" : `${protectedDrawdownPct.toFixed(1)}% source drawdown`} + ${immediateExitSharePct === null ? "exit pending" : `$${immediateExitSharePct.toFixed(1)} exit`} → ${!protectionEnabled ? "$0 Junior" : `$${model.balances.jt.toFixed(1)} Junior`} + ${!exitEnabled ? "$0 SLP" : exitView.slpPer100 === null ? "SLP basis unavailable" : `$${exitView.slpPer100.toFixed(1)} SLP`}`
+ : `${protectedDrawdownPct === null ? "Protection pending" : `${protectedDrawdownPct.toFixed(1)}% source drawdown`} + ${immediateExitSharePct === null ? "depth pending" : `${dayV3DepthAtNavBps(immediateExitSharePct).toFixed(0)} bps depth`} → ${!protectionEnabled ? "$0 Junior" : `$${model.balances.jt.toFixed(1)} Junior`} + ${!exitEnabled ? "$0 SLP" : exitView.slpPer100 === null ? "SLP basis unavailable" : `$${exitView.slpPer100.toFixed(1)} SLP`}`
}
title="Capital stack"
>
@@ -2315,7 +2333,7 @@ export default function DayV3Summary({
// 13 markets build at every floor from $100 to $50. The
// guard stays as a backstop, but a backstop that has no
// known trigger cannot name a remedy.
- ? "No protection model exists at these terms. The loss path is drawn at the 100%-utilized boundary, and this stack cannot be built there. Every other result on this page is unaffected; change the coverage or the payout floor to move off it."
+ ? "No protection model exists at these terms. The loss path is drawn at the 100%-utilized boundary, and this stack cannot be built there. Every other result on this page is unaffected; change the coverage or maximum discount to move off it."
: null
}
id="day-v3-risk-models"
@@ -2347,11 +2365,11 @@ export default function DayV3Summary({
exitView.status === "missing-goal"
? "Complete the required input highlighted above to model capacity, proceeds, and pool depth."
: exitView.status === "infeasible"
- ? "No feasible pool at the current exit size, payout floor, timing, and external spread assumption."
+ ? "No feasible pool at the current depth at NAV, maximum discount, timing, and external spread assumption."
: exitView.status === "unresolved" ||
exitView.status === "resolving"
- ? `${immediateExitSharePct === null ? "Exit pending" : `$${immediateExitSharePct.toFixed(2)} selected sale`} → ${exitView.slpPer100 === null ? "illustrative SLP unavailable" : `$${exitView.slpPer100.toFixed(2)} illustrative SLP`}`
- : `${immediateExitSharePct === null ? "Exit pending" : `$${immediateExitSharePct.toFixed(2)} selected sale`} → ${exitView.proceeds === null ? "proceeds unavailable" : `$${exitView.proceeds.toFixed(2)} proceeds`} → ${exitView.slpPer100 === null ? "SLP basis unavailable" : `$${exitView.slpPer100.toFixed(2)} SLP`}`
+ ? `${immediateExitSharePct === null ? "Depth pending" : `${dayV3DepthAtNavBps(immediateExitSharePct).toFixed(0)} bps depth`} → ${exitView.slpPer100 === null ? "illustrative SLP unavailable" : `$${exitView.slpPer100.toFixed(2)} illustrative SLP`}`
+ : `${immediateExitSharePct === null ? "Depth pending" : `${dayV3DepthAtNavBps(immediateExitSharePct).toFixed(0)} bps depth`} + ${minimumProceedsPer100 === null ? "discount pending" : `${dayV3MaximumDiscountBps(minimumProceedsPer100).toFixed(0)} bps maximum discount`} → ${exitView.proceeds === null ? "proceeds unavailable" : `$${exitView.proceeds.toFixed(2)} proceeds`} → ${exitView.slpPer100 === null ? "SLP basis unavailable" : `$${exitView.slpPer100.toFixed(2)} SLP`}`
}
title="Senior exit and pool depth"
>
@@ -2408,7 +2426,7 @@ export default function DayV3Summary({
= 0 ? "Worth doing" : "Not worth doing"} · up to ${(restockView.check.worstCaseDiscountBps ?? 0).toFixed(0)} bps on offer against a ${(restockView.hurdle?.hurdleBps ?? 0).toFixed(0)} bps break-even`
+ ? "Set the arbitrageur's annual restock hurdle rate and redemption wait."
+ : `${(restockView.check.worstCaseMarginBps ?? 0) >= 0 ? "Restock hurdle cleared" : "Restock hurdle not cleared"} · up to ${(restockView.check.worstCaseDiscountBps ?? 0).toFixed(0)} bps discount against a ${(restockView.hurdle?.hurdleBps ?? 0).toFixed(0)} bps trade hurdle`
}
title="Will arbitrage refill the pool?"
>
@@ -2543,8 +2561,30 @@ export default function DayV3Summary({
+
+
+
+ = 3
? `${market.series.length.toLocaleString()} dated observations · ${market.series[0]?.date} to ${market.series[market.series.length - 1]?.date}`
diff --git a/components/day-v3/url-state.test.ts b/components/day-v3/url-state.test.ts
index ee5be11..666d0e7 100644
--- a/components/day-v3/url-state.test.ts
+++ b/components/day-v3/url-state.test.ts
@@ -646,4 +646,26 @@ assert.equal(readDayV3UrlState("m=custom&apy=8").poolPremiumBps, null);
);
}
+// The pricing-model explorer's two contract-shape selections are shareable
+// design state. The presentation-only premium and pressure toggles stay local.
+{
+ const modelState = readDayV3UrlState(
+ "m=custom&jrModel=ADAPTIVE_CURVE_V1&slpModel=FIXED",
+ );
+ assert.equal(modelState.jrCurveModel, "ADAPTIVE_CURVE_V1");
+ assert.equal(modelState.slpCurveModel, "FIXED");
+
+ const modelQuery = buildDayV3Query({
+ ...modelState,
+ jrCurveModel: "ADAPTIVE_CURVE_V2",
+ slpCurveModel: "STATIC_CURVE",
+ });
+ const modelParams = new URLSearchParams(modelQuery);
+ assert.equal(modelParams.get("jrModel"), "ADAPTIVE_CURVE_V2");
+ assert.equal(modelParams.get("slpModel"), "STATIC_CURVE");
+ assert.equal(readDayV3UrlState(modelQuery).jrCurveModel, "ADAPTIVE_CURVE_V2");
+ assert.equal(readDayV3UrlState(modelQuery).slpCurveModel, "STATIC_CURVE");
+ assert.equal(readDayV3UrlState("jrModel=not-a-model").jrCurveModel, undefined);
+}
+
console.log("Day V3 independent goal URL state: PASS");
diff --git a/lib/day-v3/day-v3.test.ts b/lib/day-v3/day-v3.test.ts
index 72a9095..4d8961c 100644
--- a/lib/day-v3/day-v3.test.ts
+++ b/lib/day-v3/day-v3.test.ts
@@ -2,6 +2,12 @@ import assert from "node:assert/strict";
import { DEFAULT_DAY_EXPLORER_MARKET } from "@/lib/day-markets/registry";
import { runDayHistoricalBacktest } from "@/lib/day-simulator-template/backtest";
+import {
+ dayV3DepthAtNavBps,
+ dayV3ExitSharePctFromDepthBps,
+ dayV3MaximumDiscountBps,
+ dayV3MinimumProceedsPer100FromDiscountBps,
+} from "@/lib/day-v3/exit-units";
import {
buildDayV3DeploymentUrl,
buildDayV3HandoffV3,
@@ -40,6 +46,13 @@ const DAY_MS = 86_400_000;
console.log("Day V3 goal-state and recommendations");
+check("exit goal units round-trip between bps and engine values", () => {
+ assert.equal(dayV3DepthAtNavBps(10), 1_000);
+ assert.equal(dayV3ExitSharePctFromDepthBps(1_000), 10);
+ assert.equal(dayV3MaximumDiscountBps(95), 500);
+ assert.equal(dayV3MinimumProceedsPer100FromDiscountBps(500), 95);
+});
+
check("custom source handoffs use the accountant's custom registry key", () => {
assert.equal(
dayV3HandoffMarketId(true, "day-explorer-yield-draft"),
diff --git a/lib/day-v3/exit-units.ts b/lib/day-v3/exit-units.ts
new file mode 100644
index 0000000..7c1cd53
--- /dev/null
+++ b/lib/day-v3/exit-units.ts
@@ -0,0 +1,20 @@
+/**
+ * Presentation adapters for the issuer-facing exit goals.
+ *
+ * The model sizes exits as a share of each 100 Senior and stores the payout as
+ * proceeds per 100. The UI states both price and depth in basis points so the
+ * issuer does not have to translate dollar examples into deployment terms.
+ */
+export const dayV3DepthAtNavBps = (exitSharePct: number): number =>
+ exitSharePct * 100;
+
+export const dayV3ExitSharePctFromDepthBps = (depthBps: number): number =>
+ depthBps / 100;
+
+export const dayV3MaximumDiscountBps = (
+ minimumProceedsPer100: number,
+): number => (100 - minimumProceedsPer100) * 100;
+
+export const dayV3MinimumProceedsPer100FromDiscountBps = (
+ discountBps: number,
+): number => 100 - discountBps / 100;
diff --git a/lib/day-v3/input-readiness.ts b/lib/day-v3/input-readiness.ts
index 2537226..cbe1da3 100644
--- a/lib/day-v3/input-readiness.ts
+++ b/lib/day-v3/input-readiness.ts
@@ -37,12 +37,12 @@ export function dayV3ExitInputReadiness({
return dayV3InputReadiness([
{
id: "exit-amount",
- label: "Immediate exit amount",
+ label: "Depth at NAV",
ready: exitSharePct !== null && exitSharePct > 0,
},
{
id: "payout-floor",
- label: "Minimum payout",
+ label: "Maximum discount",
ready: minimumProceedsPer100 !== null,
},
]);
diff --git a/lib/day-v3/mode-state.test.ts b/lib/day-v3/mode-state.test.ts
index 8acafb4..5cfb2a7 100644
--- a/lib/day-v3/mode-state.test.ts
+++ b/lib/day-v3/mode-state.test.ts
@@ -84,7 +84,7 @@ assert.deepEqual(
}),
{
complete: false,
- missing: ["Immediate exit amount", "Minimum payout"],
+ missing: ["Depth at NAV", "Maximum discount"],
},
);
assert.deepEqual(
diff --git a/lib/day-v3/url-state.ts b/lib/day-v3/url-state.ts
index f9caba7..f777489 100644
--- a/lib/day-v3/url-state.ts
+++ b/lib/day-v3/url-state.ts
@@ -6,12 +6,19 @@ import type {
} from "@/lib/day-v3/types";
import { dayV3MarketDefaults } from "@/lib/day-v3/market-defaults";
import { validateDayV3YieldCurveDesign } from "@/lib/day-v3/yield-curves";
+import {
+ DAY_CURVE_MODELS,
+ type DayCurveModel,
+} from "@/lib/day-simulator-template/deploy-fields";
export type DayV3Mode = "simulate" | "deploy";
export interface DayV3UrlState extends DayV3GoalDraft {
market: string | null;
mode: DayV3Mode | null;
+ /** The registered yield-model shape selected for each independent premium. */
+ jrCurveModel?: DayCurveModel;
+ slpCurveModel?: DayCurveModel;
sourceApyPct: number | null;
/** What Senior is sold for. A label for the reader, not a token address. */
quoteAssetLabel: string | null;
@@ -343,6 +350,11 @@ const label = (raw: string | null): string | null => {
return value ? value.slice(0, 24) : null;
};
+const curveModel = (raw: string | null): DayCurveModel | null =>
+ DAY_CURVE_MODELS.includes(raw as DayCurveModel)
+ ? (raw as DayCurveModel)
+ : null;
+
const expiry = (raw: string | null): DayV3ExpiryPolicy | null => {
if (raw === "none") return "no-expiry";
// UINT32_MAX is reserved for the explicit no-expiry sentinel. Numeric
@@ -368,6 +380,8 @@ function readTarget(raw: string | null): DayV3DeploymentTarget | null {
export function readDayV3UrlState(search: string): DayV3UrlState {
const params = new URLSearchParams(search);
const rawMode = params.get("mode");
+ const jrCurveModel = curveModel(params.get("jrModel"));
+ const slpCurveModel = curveModel(params.get("slpModel"));
const curveOverrides = {
jrYieldShareAtZeroPct: finite(params.get("jr0"), 0, 100),
jrYieldShareAtTargetPct: finite(params.get("jr90"), 0, 100),
@@ -442,6 +456,8 @@ export function readDayV3UrlState(search: string): DayV3UrlState {
return {
market: text(params.get("m")),
mode: rawMode === "simulate" || rawMode === "deploy" ? rawMode : null,
+ ...(jrCurveModel ? { jrCurveModel } : {}),
+ ...(slpCurveModel ? { slpCurveModel } : {}),
sourceApyPct: finite(params.get("apy"), 0, 30),
quoteAssetLabel: label(params.get("quote")),
quoteAssetYieldPct: finite(params.get("quoteApy"), 0, 30),
@@ -514,11 +530,15 @@ export const roundDayV3WholeDays = (value: number): number => Math.round(value);
* Write the smallest shareable model contract. Hidden operational facts,
* deployment policy, historical state, Protected Exit settings, derived pool
* fields, full curve anchors, and starter provenance remain readable from old
- * links but are never added to a new canonical URL.
+ * links but are never added to a new canonical URL. The selected registered
+ * yield-model shapes are visible design choices, so they travel with a link
+ * when present and remain available to a future deployment export.
*/
export function buildDayV3Query(state: DayV3UrlWriteState): string {
const params = new URLSearchParams();
if (state.market) params.set("m", state.market);
+ if (state.jrCurveModel) params.set("jrModel", state.jrCurveModel);
+ if (state.slpCurveModel) params.set("slpModel", state.slpCurveModel);
const setNumber = (key: string, value: number | null) => {
if (value !== null && Number.isFinite(value))
diff --git a/package.json b/package.json
index 433c185..a26b4ce 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"build": "next build --webpack",
"start": "next start",
"lint": "eslint",
- "test": "node scripts/day-simulator/factory.test.mjs && npx tsx lib/day/engine/engine.test.ts && npx tsx lib/day-simulator-template/runtime.test.ts && npx tsx lib/day-simulator-template/explorer-market.test.ts && npx tsx lib/day-simulator-template/erasure.test.ts && npx tsx lib/day-simulator-template/explainer.test.ts && npx tsx lib/day-simulator-template/stress.test.ts && npx tsx lib/day-simulator-template/source-parser.test.ts && npx tsx lib/day-simulator-template/permalink.test.ts && npx tsx lib/day-simulator-template/config-export.test.ts && npx tsx lib/day-simulator-template/backtest.test.ts && npx tsx lib/day-simulator-template/deploy-fields.test.ts && npx tsx lib/day-simulator-template/capital-sizing.test.ts && npx tsx components/day-v2/url-state.test.ts && npx tsx scripts/day-v3/v2-output-regression.test.ts && node scripts/day-v3/model-output-parity.test.mjs && npx tsx components/day-v3/url-state.test.ts && npx tsx components/day-v3/DayV3Hero.test.tsx && npx tsx components/day-v3/DayV3NumberField.test.tsx && npx tsx components/day-v3/DayV3Group.test.ts && npx tsx components/day-v3/DayV3ModelGroup.test.ts && npx tsx components/day-v3/DayV3DeploymentTarget.test.tsx && npx tsx components/day-v3/DayV3DeploymentPolicy.test.tsx && npx tsx components/day-v3/DayV3ExitModel.test.tsx && npx tsx components/day-v3/DayV3Comparison.test.tsx && npx tsx components/day-v3/DayV3ProtectionSensitivity.test.tsx && npx tsx components/day-v3/DayV3ProtectedExitModel.test.tsx && npx tsx components/day-v3/DayV3PremiumCurveEditor.test.tsx && npx tsx components/day-v3/DayV3Backtest.test.ts && npx tsx components/day-v3/DayV3DesignOutcome.test.tsx && npx tsx lib/day-v3/yield-curves.test.ts && npx tsx lib/day-v3/model-state.test.ts && npx tsx lib/day-v3/mode-state.test.ts && npx tsx lib/day-v3/restock-arbitrage.test.ts && npx tsx lib/day-v3/historical-returns.test.ts && npx tsx lib/day-v3/pool-curve.test.ts && npx tsx lib/day-v3/pool-seed.test.ts && npx tsx lib/day-v3/exit-goal-sizing.test.ts && npx tsx lib/day-v3/simulation-pool-design.test.ts && npx tsx lib/day-v3/day-v3.test.ts && npx tsx app/api/day-v3/accountant-validation/v1/route.test.ts && npx tsx app/api/day-v3/pool-design/route.test.ts && npx tsx app/api/day-v3/pool-design/simulation/route.test.ts && node scripts/day-v3/route-boundary.test.mjs && npx tsx lib/hybond/timeframe.test.ts && npx tsx lib/hybond/permalink.test.ts",
+ "test": "node scripts/day-simulator/factory.test.mjs && npx tsx lib/day/engine/engine.test.ts && npx tsx lib/day-simulator-template/runtime.test.ts && npx tsx lib/day-simulator-template/explorer-market.test.ts && npx tsx lib/day-simulator-template/erasure.test.ts && npx tsx lib/day-simulator-template/explainer.test.ts && npx tsx lib/day-simulator-template/stress.test.ts && npx tsx lib/day-simulator-template/source-parser.test.ts && npx tsx lib/day-simulator-template/permalink.test.ts && npx tsx lib/day-simulator-template/config-export.test.ts && npx tsx lib/day-simulator-template/backtest.test.ts && npx tsx lib/day-simulator-template/deploy-fields.test.ts && npx tsx lib/day-simulator-template/capital-sizing.test.ts && npx tsx components/day-v2/url-state.test.ts && npx tsx scripts/day-v3/v2-output-regression.test.ts && node scripts/day-v3/model-output-parity.test.mjs && npx tsx components/day-v3/url-state.test.ts && npx tsx components/day-v3/DayV3Hero.test.tsx && npx tsx components/day-v3/DayV3NumberField.test.tsx && npx tsx components/day-v3/DayV3Group.test.ts && npx tsx components/day-v3/DayV3ModelGroup.test.ts && npx tsx components/day-v3/DayV3DeploymentTarget.test.tsx && npx tsx components/day-v3/DayV3DeploymentPolicy.test.tsx && npx tsx components/day-v3/DayV3ExitModel.test.tsx && npx tsx components/day-v3/DayV3Comparison.test.tsx && npx tsx components/day-v3/DayV3ProtectionSensitivity.test.tsx && npx tsx components/day-v3/DayV3ProtectedExitModel.test.tsx && npx tsx components/day-v3/DayV3PremiumCurveEditor.test.tsx && npx tsx components/day-v3/DayV3PricingModelExplorer.test.tsx && npx tsx components/day-v3/DayV3Backtest.test.ts && npx tsx components/day-v3/DayV3DesignOutcome.test.tsx && npx tsx lib/day-v3/yield-curves.test.ts && npx tsx lib/day-v3/model-state.test.ts && npx tsx lib/day-v3/mode-state.test.ts && npx tsx lib/day-v3/restock-arbitrage.test.ts && npx tsx lib/day-v3/historical-returns.test.ts && npx tsx lib/day-v3/pool-curve.test.ts && npx tsx lib/day-v3/pool-seed.test.ts && npx tsx lib/day-v3/exit-goal-sizing.test.ts && npx tsx lib/day-v3/simulation-pool-design.test.ts && npx tsx lib/day-v3/day-v3.test.ts && npx tsx app/api/day-v3/accountant-validation/v1/route.test.ts && npx tsx app/api/day-v3/pool-design/route.test.ts && npx tsx app/api/day-v3/pool-design/simulation/route.test.ts && node scripts/day-v3/route-boundary.test.mjs && npx tsx lib/hybond/timeframe.test.ts && npx tsx lib/hybond/permalink.test.ts",
"parity": "npx tsx lib/try/parity.ts && npx tsx lib/hybond/parity.ts",
"audit:v2-math": "node scripts/v2-math-invariants.mjs",
"sim:new": "node scripts/simulator/create.mjs",
diff --git a/scripts/day-simulator/template-lock.json b/scripts/day-simulator/template-lock.json
index b66b4ee..33438ce 100644
--- a/scripts/day-simulator/template-lock.json
+++ b/scripts/day-simulator/template-lock.json
@@ -10,7 +10,7 @@
"components/day-simulator/DayLearningExperience.tsx": "65aaf9ebcf96a848fd6da8922cfd246a1e18e0dc90fb3a96fa0a25686dec17a7",
"components/day-simulator/DayMarketSimulator.tsx": "54c8ea585c83d445dcaf921c1858ca01dbe5126d5653a5c849ddf66c30d29b30",
"components/day-simulator/DaySimulatorUI.tsx": "7839147eacd5f285fd4c3d961651ce0d381f057d3659eb7931189a39d2b348d1",
- "components/day-simulator/DayDeploymentInputs.tsx": "19f030bdba7c277ca96f0294bc090343540938a124eb0ae349d010ff64dbbee1",
+ "components/day-simulator/DayDeploymentInputs.tsx": "5158a3a41bd397f8d1e1266170b26091e47ece8576eca44dde65ae04c490d3ad",
"components/day-simulator/DaySimulatorPageShell.tsx": "eb49a4fb13a26951b7d9664aeb4d32c925a5a24bbbdce495a690bb512a225ed8",
"components/day-simulator/DayTimeframeBrush.tsx": "7b59cb83cd3501f727110f7b375b2a4cf0a16b22bf04cd5d796823d513909430",
"lib/day-markets/registry.ts": "928a33ecbb7ba00aa4be9e7bbd500e93edcf8cf08ffb43a2262e9f7d7daf9c2e",
@@ -64,7 +64,7 @@
"scripts/day-simulator/verify-runtime.ts": "2d797bcd7cf976c71889d74c5ece3dc84d5bce94d6ea3766b272f08f5b1610c4",
"scripts/day-simulator/verify.mjs": "d85b10098723c21787af0e8739f1f9d73eaec1fde60932a4a1b615971392117e",
"docs/NEW_DAY_SIMULATOR.md": "3ea014ee0839f715c1a5469ee4a0ce4161f4e2cc20ab622f1cd7605b4b0048d5",
- "package.json": "ab63c782b88a5bd45f7522d23cee8c7f67e1de0657d55f13caeb88a5cbbe2f3d",
+ "package.json": "6b6bb91c0e1669381ecd008f9409140b354edd6b6559ac486dd5a777a6040992",
"lib/day-simulator-template/backtest.test.ts": "d978f6fe8755d22778a51ac3699d5ae1de36dcfa8690ba65ffcc481afc93cb6f",
"lib/day-simulator-template/backtest.ts": "d2495ef2256bb3b529df60bb6e13dfb28fa774476661a3573b2c896e8137c8e6"
}