René's URL Explorer Experiment


Title: aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed tests · Issue #1405 · developing-today/code · GitHub

Open Graph Title: aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed tests · Issue #1405 · developing-today/code

X Title: aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed tests · Issue #1405 · developing-today/code

Description: Finding PR #1390 (merged, merge commit 37418e56339c315cf0ddf3e61c9c55c1e9d0c0a2) added roughly a thousand lines of new computation to the Cost Explorer's inline browser script in pm-stack/aggregator/src/render.ts — the recommendations en...

Open Graph Description: Finding PR #1390 (merged, merge commit 37418e56339c315cf0ddf3e61c9c55c1e9d0c0a2) added roughly a thousand lines of new computation to the Cost Explorer's inline browser script in pm-stack/aggregato...

X Description: Finding PR #1390 (merged, merge commit 37418e56339c315cf0ddf3e61c9c55c1e9d0c0a2) added roughly a thousand lines of new computation to the Cost Explorer's inline browser script in pm-stack/aggre...

Opengraph URL: https://github.com/developing-today/code/issues/1405

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed tests","articleBody":"## Finding\n\nPR #1390 (merged, merge commit `37418e56339c315cf0ddf3e61c9c55c1e9d0c0a2`) added roughly a thousand lines of new computation to the Cost Explorer's inline browser script in `pm-stack/aggregator/src/render.ts` — the recommendations engine, the Pareto frontier tables, the Pareto-gap inequality filters, and the task-assumptions projection — with no committed tests for any of that logic. The PR's test changes cover only the data layer (`aaCaiPoints`, `caiFamily`, catalog rate windows) plus HTML `toContain` assertions that the new sections' element ids exist. The PR body says the script was \"runtime-smoke-tested against the fixture data\" — a one-off manual check that is not in the repo and cannot regress.\n\n## Evidence\n\n- PR: https://github.com/developing-today/code/pull/1390 (MERGED 2026-10-27)\n- New untested logic on current main, all inside the `AA_EXPLORER_SCRIPT` template string in `pm-stack/aggregator/src/render.ts`:\n  - `render.ts:2092` `pctRank` — percentile ranks shown in every Pareto table cell\n  - `render.ts:2105` `paretoSet` — non-dominated set behind all four frontier tables\n  - `render.ts:2170` `gapMetrics` — score gap / price premium / speed gap behind the inequality filters\n  - `render.ts:2814` `computeRecs` — banding, near-top floors, relative price/speed ceilings, dominance removal, tradeoff ranking `(relative time)^w × (relative price)^(1−w)`, lab-diversity passes\n  - `render.ts:3191` `project` (+ `pjBand` band/window selection) — projected $/task and time/task; the PR body hand-verifies one fixture case (~$0.106/task, ~5m 53s) that is not encoded as a test\n- `pm-stack/aggregator/test/aa.test.ts` on current main contains zero references to `computeRecs`, `project`/`pjBand`, `gapMetrics`, or `pctRank` (grep-verified); the new render assertions are `expect(html).toContain('id=\"xpl-pf-score\"')`-style presence checks.\n\n## Why it matters\n\nThese functions produce numbers a reader acts on (shortlists, projected costs). Because they live in a template string, neither `tsc` nor the existing test suite exercises them at all — a sign flip in `pctRank`, a band-selection off-by-one in `pjBand`, or a dominance error in `computeRecs` ships silently. The one hand-verified projection example in the PR body is exactly the kind of case that should have become a fixture test.\n\n## Acceptance criteria\n\n- [ ] The explorer script's pure computations (at minimum `project`/`pjBand`, `paretoSet`, `pctRank`, `gapMetrics`, and `computeRecs` banding/ranking) are covered by committed tests that run in the aggregator's normal `bun test` — e.g. by extracting them into an importable module the template string also uses, or by evaluating the script against the fixture data in a test harness.\n- [ ] The PR body's hand-verified projection case (Luna fixture rate: 3 turns × (10k uncached @ $0.75 + 10k cache reads @ $0.075 + 6k output @ $4.50) ≈ $0.106/task; time ≈ 5m 53s) is encoded as a test expectation.\n- [ ] Existing suite stays green (`bun test` in `pm-stack/aggregator`, `bunx tsc --noEmit` clean).\n\nFound by pr-diff-review-b reviewing PR #1390's diff against current main. Remainder items for the same PR are already tracked in #1400; this test-coverage gap is not among them.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-27T11:30:09Z","url":"https://github.com/developing-today/code/issues/1405"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:643530c2-3a1d-1a77-d99d-0bb6a0bfd1ff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE72E:1CD523:88000C:B0E83C:6B062F8E
html-safe-nonce39ff085df6eac8ef36d2929a961120bc01194cad93f4c0c7dd47b4af91bde202
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzJFOjFDRDUyMzo4ODAwMEM6QjBFODNDOjZCMDYyRjhFIiwidmlzaXRvcl9pZCI6IjY4MTI3MTAwNTE5MzAwNTg2MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbac67575289227dd68fa8b4f082e42ca81b88524f047c075c676211bfa5bbaa3
hovercard-subject-tagissue:6058313016
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/1405/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9004a378e70bad318d1275e3843edb34c888502339cb4514841bc09d113356d4/developing-today/code/issues/1405
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9004a378e70bad318d1275e3843edb34c888502339cb4514841bc09d113356d4/developing-today/code/issues/1405
og:image:altFinding PR #1390 (merged, merge commit 37418e56339c315cf0ddf3e61c9c55c1e9d0c0a2) added roughly a thousand lines of new computation to the Cost Explorer's inline browser script in pm-stack/aggregato...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/1405#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F1405
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F1405
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/1405
Reloadhttps://github.com/developing-today/code/issues/1405
Reloadhttps://github.com/developing-today/code/issues/1405
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests151 (151)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/1405
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/1405
aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed testshttps://github.com/developing-today/code/issues/1405#top
https://github.com/dezren39
app/aggregatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Faggregator%22
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
kind/testhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Ftest%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 27, 2026https://github.com/developing-today/code/issues/1405#issue-6058313016
#1390https://github.com/developing-today/code/pull/1390
feat(pm): Cost Explorer — ChatGPT-site parity (CAI perspective, Pareto tables, recommendations, bands, projection) #1390https://github.com/developing-today/code/pull/1390
#1390https://github.com/developing-today/code/pull/1390
#1400https://github.com/developing-today/code/issues/1400
Nexthttps://github.com/developing-today/code/issues/1405?timeline_page=1
dezren39https://github.com/dezren39
kind/testhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Ftest%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
on Oct 27, 2026https://github.com/developing-today/code/issues/1405#event-34360104688
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Oct 27, 2026https://github.com/developing-today/code/issues/1405#issuecomment-6440802004
developing.todayhttps://kaneo.security.cab
CODE-496https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/dlzgvrsanh0peyu992jyd0z9
dezren39https://github.com/dezren39
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
app/aggregatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Faggregator%22
on Oct 27, 2026https://github.com/developing-today/code/issues/1405#event-34360105419
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 27, 2026https://github.com/developing-today/code/issues/1405#event-34360112982
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 27, 2026https://github.com/developing-today/code/issues/1405#issuecomment-6440825408
feat(pm): Cost Explorer — ChatGPT-site parity (CAI perspective, Pareto tables, recommendations, bands, projection) #1390https://github.com/developing-today/code/pull/1390
37418e5https://github.com/developing-today/code/commit/37418e56339c315cf0ddf3e61c9c55c1e9d0c0a2
feat(pm): Cost Explorer — ChatGPT-site parity (CAI perspective, Pareto tables, recommendations, bands, projection) #1390https://github.com/developing-today/code/pull/1390
aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed tests #1405https://github.com/developing-today/code/issues/1405
Cost Explorer ChatGPT-parity follow-ups: lane charts, chart extras, evidence cards, projection routes #1400https://github.com/developing-today/code/issues/1400
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Oct 31, 2026https://github.com/developing-today/code/issues/1405#event-34795195143
dezren39https://github.com/dezren39
user/reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22user%2Freview%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 1, 2026https://github.com/developing-today/code/issues/1405#event-34837216387
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 1, 2026https://github.com/developing-today/code/issues/1405#issuecomment-6559579789
test(aggregator): cover Cost Explorer client computations #3737https://github.com/developing-today/code/pull/3737
test(aggregator): cover Cost Explorer client computations #3737https://github.com/developing-today/code/pull/3737
test(aggregator): cover Cost Explorer client computations #3737https://github.com/developing-today/code/pull/3737
dezren39https://github.com/dezren39
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
on Nov 1, 2026https://github.com/developing-today/code/issues/1405#event-34856693624
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/1405#issuecomment-6604384235
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/1405#issuecomment-6606837747
aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed tests #1405https://github.com/developing-today/code/issues/1405
feat(pm): Cost Explorer — ChatGPT-site parity (CAI perspective, Pareto tables, recommendations, bands, projection) #1390https://github.com/developing-today/code/pull/1390
aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed tests #1405https://github.com/developing-today/code/issues/1405
aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed tests #1405https://github.com/developing-today/code/issues/1405
feat(pm): Cost Explorer — ChatGPT-site parity (CAI perspective, Pareto tables, recommendations, bands, projection) #1390https://github.com/developing-today/code/pull/1390
dezren39https://github.com/dezren39
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
user/reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22user%2Freview%22
on Nov 3, 2026https://github.com/developing-today/code/issues/1405#event-35030650637
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/1405#issuecomment-6606898124
aggregator: Cost Explorer inline-script computations from PR #1390 (recommendations, Pareto, projection) ship with no committed tests #1405https://github.com/developing-today/code/issues/1405
test(aggregator): cover Cost Explorer client computations #3737https://github.com/developing-today/code/pull/3737
feat(pm): Cost Explorer — ChatGPT-site parity (CAI perspective, Pareto tables, recommendations, bands, projection) #1390https://github.com/developing-today/code/pull/1390
fix(ci): restore daily dispatch workflows (startup failure) + push-trigger audit #4595https://github.com/developing-today/code/pull/4595
test(aggregator): cover Cost Explorer client computations #3737https://github.com/developing-today/code/pull/3737
feat(pm): Cost Explorer — ChatGPT-site parity (CAI perspective, Pareto tables, recommendations, bands, projection) #1390https://github.com/developing-today/code/pull/1390
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 3, 2026https://github.com/developing-today/code/issues/1405#event-35030899292
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 3, 2026https://github.com/developing-today/code/issues/1405#event-35030904528
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/1405
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/1405
dezren39https://github.com/dezren39
app/aggregatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Faggregator%22
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
kind/testhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Ftest%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.