mirror of
https://github.com/theodore-song/polymarket-analyst.git
synced 2026-08-24 21:18:08 +00:00
Prioritize capital-efficient protected trades
This commit is contained in:
@@ -16,13 +16,13 @@ const settlementCalibrationAudit = JSON.parse(fs.readFileSync(new URL("../resear
|
||||
const sportsEvaluator = fs.readFileSync(new URL("./evaluate-sports-favorites.mjs", import.meta.url), "utf8");
|
||||
const build = Number(index.match(/const BUILD_VERSION = (\d+);/)?.[1]);
|
||||
|
||||
assert.equal(build, 124);
|
||||
assert.equal(build, 125);
|
||||
assert.equal(vercelConfig.git?.deploymentEnabled?.["runtime-state"], false);
|
||||
assert.equal(settlementCalibrationAudit.requested_markets, 5000);
|
||||
assert.equal(settlementCalibrationAudit.train_passed, 0);
|
||||
assert.equal(settlementCalibrationAudit.validation_selected, 0);
|
||||
assert.equal(settlementCalibrationAudit.holdout_passed, 0);
|
||||
assert.match(index, /Adaptive strategy 65 · exact bundle conversion · build 124/);
|
||||
assert.match(index, /Adaptive strategy 65 · capital-efficient protected sizing · build 125/);
|
||||
assert.deepEqual([...ALLOWED_RUNTIME_KEYS].sort(), ["pma_agents_v2", "pma_suggestions_v5"]);
|
||||
assert.match(index, /function collectPublicRuntimeItems\(\)/);
|
||||
assert.match(index, /const PUBLIC_RUNTIME_KEYS=Object\.freeze\(\[AGENTS_KEY,SUG_KEY\]\)/);
|
||||
@@ -72,10 +72,10 @@ assert.match(api, /Buffer\.from\(file\.content/);
|
||||
assert.match(api, /searchParams\.set\("runtime", `\$\{Date\.now\(\)\}/);
|
||||
assert.match(workflow, /cron: "2,7,12,17,22,27,32,37,42,47,52,57 \* \* \* \*"/);
|
||||
assert.match(workflow, /contents: write/);
|
||||
assert.match(workflow, /EXPECTED_BUILD: "124"/);
|
||||
assert.match(workflow, /EXPECTED_BUILD: "125"/);
|
||||
assert.equal((workflow.match(/if: always\(\)/g) || []).length, 2);
|
||||
assert.match(routingReleaseWorkflow, /name: Release protected agent routing after Vercel quota reset/);
|
||||
assert.match(routingReleaseWorkflow, /routesExclusiveNoPairToTailAlpha/);
|
||||
assert.match(routingReleaseWorkflow, /name: Release capital-efficient protected sizing after Vercel quota reset/);
|
||||
assert.match(routingReleaseWorkflow, /bundlePositionCapPct/);
|
||||
assert.match(routingReleaseWorkflow, /cron: "25 1-23\/2 23 8 \*"/);
|
||||
assert.match(workflow, /actions: write/);
|
||||
assert.match(workflow, /cancel-in-progress: false/);
|
||||
@@ -108,9 +108,14 @@ assert.match(index, /function bundleFeeSchedulesMatch\(expected,reported\)/);
|
||||
assert.match(index, /rejectsMismatchedClobFeeCurve:/);
|
||||
assert.doesNotMatch(index, /\/fee-rate\?token_id=/);
|
||||
assert.match(index, /function maximizeBundleExecution\(candidate,books,minimumUnits\)/);
|
||||
assert.match(index, /const BUNDLE_MAX_VERIFIED_NOTIONAL=400;/);
|
||||
assert.match(index, /const BUNDLE_MAX_VERIFIED_NOTIONAL=1000;/);
|
||||
assert.match(index, /const BUNDLE_EVENT_CAP_PCT=0\.12;/);
|
||||
assert.match(index, /const BUNDLE_MIN_DAILY_RETURN=0\.00002;/);
|
||||
assert.match(index, /const BUNDLE_MIN_DAILY_RETURN=0\.0005;/);
|
||||
assert.match(index, /const BUNDLE_BASE_POSITION_CAP_PCT=0\.06;/);
|
||||
assert.match(index, /const BUNDLE_HIGH_EFFICIENCY_POSITION_CAP_PCT=0\.08;/);
|
||||
assert.match(index, /const BUNDLE_IMMEDIATE_POSITION_CAP_PCT=0\.10;/);
|
||||
assert.match(index, /const BUNDLE_HIGH_EFFICIENCY_DAILY_RETURN=0\.002;/);
|
||||
assert.match(index, /function bundlePositionCapPct\(item=\{\}\)/);
|
||||
assert.match(index, /fee_check_eligible_structures:executableAudit\.filter\(candidate=>candidate\.fee_check_attempted\)\.length/);
|
||||
assert.match(index, /"profit-below-floor"/);
|
||||
assert.match(index, /"return-below-floor"/);
|
||||
@@ -171,6 +176,8 @@ assert.match(index, /atomicallyRecyclesEightySixPercentProfit:/);
|
||||
assert.match(index, /prioritizesReturnPerLockedDay:/);
|
||||
assert.match(index, /capsUnderlyingEventExposure:/);
|
||||
assert.match(index, /blocksLowReturnPerLockedDay:/);
|
||||
assert.match(index, /durationAwareSizingScalesProtectedCapital:/);
|
||||
assert.match(index, /sameCycleEventBurstStaysWithinCap:/);
|
||||
assert.match(index, /sizesToLargestVerifiedProfitableFill:/);
|
||||
assert.match(index, /stopsSizingAtShallowestBundleLeg:/);
|
||||
assert.match(index, /!s\.depth_verified\|\|!s\.fees_verified\|\|s\.verification_status!=="executable"/);
|
||||
|
||||
Reference in New Issue
Block a user