Skip to content

getaero-io/gtm-eng-skills / engineering/warm-intro-scoring

warm-intro-scoring

Verified

FileKindSize
.gitignoreother121 B
GUIDE.mdmarkdown4.7 KB
LICENSEother1.1 KB
README.mdmarkdown8.0 KB
SKILL.mdskill md327 B
TESTING.mdmarkdown8.9 KB
UPSTREAM.mdmarkdown1.3 KB
assets/company-research.play.tsscript1021 B
assets/customer-db.sqlother2.7 KB
assets/evaluation-example.jsonconfig4.6 KB
assets/example.jsonconfig6.9 KB
assets/portfolio-focus.weights.jsonconfig32 B
assets/review.htmlother7.4 KB
assets/tuning-example.jsonconfig1.2 KB
assets/tuning.htmlother30.1 KB
check_all.pyscript1.4 KB
package-manifest.jsonconfig9.8 KB
plays/README.mdmarkdown18.2 KB
plays/check-report.pyscript1.8 KB
plays/check_all.pyscript1.6 KB
plays/check_parity.pyscript6.0 KB
plays/collect.play.tsscript4.0 KB
plays/collection.tsscript1.9 KB
plays/core.tsscript44.2 KB
plays/evaluation-contract.mdmarkdown3.4 KB
plays/evaluation.tsscript13.8 KB
plays/features.play.tsscript4.7 KB
plays/features.tsscript22.6 KB
plays/generatedtemplate.tsscript38.1 KB
plays/guardrails.tsscript948 B
plays/legacy.tsscript9.7 KB
plays/merge-payloads.pyscript8.6 KB
plays/parity-driver.tsscript995 B
plays/parity-evaluation.pyscript8.5 KB
plays/parity-reports.pyscript2.3 KB
plays/prepare-inputs.pyscript6.5 KB
plays/quality.tsscript3.8 KB
plays/read-sources.play.tsscript3.4 KB
plays/report-cli.tsscript590 B
plays/report.play.tsscript2.9 KB
plays/report.tsscript3.1 KB
plays/reports.tsscript5.7 KB
plays/research.play.tsscript1.6 KB
plays/review-uncertainty.play.tsscript5.5 KB
plays/score.play.tsscript2.3 KB
plays/snapshots.play.tsscript4.2 KB
plays/strict-json.tsscript1.8 KB
plays/sync-template.pyscript849 B
plays/uncertainty.tsscript4.9 KB
plays/validation.play.tsscript3.6 KB
references/adversarial-review.mdmarkdown7.0 KB
references/batch-collection.mdmarkdown5.1 KB
references/company-network.mdmarkdown5.8 KB
references/competitive-review.mdmarkdown8.8 KB
references/evaluation.mdmarkdown8.5 KB
references/evaluator-validation.mdmarkdown3.4 KB
references/evaluator.mdmarkdown7.9 KB
references/external-data.mdmarkdown4.0 KB
references/factor-test-matrix.mdmarkdown4.6 KB
references/factors.mdmarkdown6.1 KB
references/intro-drafts.mdmarkdown1.6 KB
references/pipeline.mdmarkdown7.6 KB
references/readable-output.mdmarkdown5.4 KB
references/research-brief.mdmarkdown2.4 KB
references/sources.mdmarkdown7.5 KB
references/tuning.mdmarkdown14.6 KB
scripts/audit_history.pyscript5.1 KB
scripts/check.pyscript5.1 KB
scripts/compare_versions.pyscript1.9 KB
scripts/evaluate.pyscript22.5 KB
scripts/package-skill.pyscript1.9 KB
scripts/portfolio.pyscript3.7 KB
scripts/quality.pyscript5.3 KB
scripts/recipe-demo.tsscript2.6 KB
scripts/render.pyscript1.6 KB
scripts/score.pyscript9.6 KB
scripts/temporal.pyscript2.2 KB
scripts/test_ask_handoff.pyscript2.1 KB
scripts/test_audit_history.pyscript2.7 KB
scripts/test_handoff_evaluate.pyscript9.1 KB
scripts/test_portfolio.pyscript3.6 KB
scripts/test_quality.pyscript3.1 KB
scripts/test_temporal.pyscript1.3 KB
scripts/test_tuning.pyscript14.1 KB
scripts/test_tuning_browser.cjsscript7.7 KB
scripts/test_version_parity.pyscript1.0 KB
scripts/tuning.pyscript10.9 KB
tests/adversarial.test.tsscript8.2 KB
tests/browser_e2e.cjsscript1.9 KB
tests/cloud_e2e.pyscript6.9 KB
tests/e2e-fixture.jsonconfig3.6 KB
tests/feature_parity.pyscript2.4 KB
tests/features.test.tsscript8.3 KB
tests/test_prepare_inputs.pyscript8.6 KB
tests/uncertainty.test.tsscript2.5 KB
vendor-manifest.jsonconfig748 B

scripts/test_tuning_browser.cjs

View on GitHub
/* eslint-disable @typescript-eslint/no-require-imports -- Standalone CommonJS browser harness supports caller-selected Playwright. */
/* Offline browser checks. Install Playwright, then run node scripts/test_tuning_browser.cjs.
   PLAYWRIGHT_MODULE can point to an existing Playwright install. No browser downloads here. */
const assert = require('node:assert/strict');
const fs = require('node:fs');
const os = require('node:os');
const path = require('node:path');
const {spawnSync} = require('node:child_process');
const {pathToFileURL} = require('node:url');
const {chromium} = require(process.env.PLAYWRIGHT_MODULE || 'playwright');
const temp = fs.mkdtempSync(path.join(os.tmpdir(), 'intro-browser-'));
const output = path.join(temp, 'review.html');
const generated = spawnSync(process.env.PYTHON || 'python3', ['-c', `
import sys
from pathlib import Path
sys.path.insert(0,sys.argv[1])
import tuning
rows=[]
for t in range(311):
 for c in range(294):
  rows.append(dict(id=f'p{t}-{c}',target_id=f't{t}',target_name=f'Target {t:03d}',target_company=f'Account {t%25:02d}',target_title='VP Sales',connector_title='Investor',connector_company='Example Capital',connector_id=f'c{c}',connector_name=f'Connector {c:03d}',target_linkedin_url=f'https://www.linkedin.com/in/target-{t}',connector_linkedin_url=f'https://www.linkedin.com/in/connector-{c}',baseline_score=0,review_status='needs_confirmation',features={'investor_portfolio':dict(value=1 if c==293 else 0,evidence_ids=['e'] if c==293 else [],explanation='Company context only.',timing_status='not_applicable')}))
Path(sys.argv[2]).write_text(tuning.render(dict(as_of='2026-09-23',paths=rows,evidence=[dict(id='e',source='https://example.com',detail='Portfolio fact.',observed_at='2026-09-23')])))
`, __dirname, output], {encoding:'utf8', maxBuffer:1024*1024});
assert.equal(generated.status, 0, generated.stderr);
(async()=>{
 const browser=await chromium.launch({headless:true,...(process.env.CHROME_EXECUTABLE?{executablePath:process.env.CHROME_EXECUTABLE}:{})});
 try {
  const page=await browser.newPage({viewport:{width:1440,height:1000},acceptDownloads:true});
  const errors=[],network=[];page.on('pageerror',e=>errors.push(e.message));page.on('request',r=>{if(/^https?:/.test(r.url()))network.push(r.url());});
  const start=Date.now();await page.goto(pathToFileURL(output).href);await page.waitForSelector('.card');
  const loadMs=Date.now()-start;
  assert.equal(await page.locator('.target').count(),311);assert.equal(await page.locator('.card').count(),3);
  assert.match(await page.locator('#coverage').innerText(),/91,434 candidate paths/);
  assert.equal(await page.locator('.card strong .profile-link').count(),6);
  assert.equal(await page.locator('.card .person-tag[href]').count(),6);
  assert.equal(await page.locator('.comparison-item strong a').count(),3);
  assert.equal(await page.locator('.target-name[href]').count(),311);
  assert.match(await page.locator('.target-meta').first().innerText(),/VP Sales · Account 00/);
  assert.match(await page.locator('.comparison-item .person-job').first().innerText(),/Investor · Example Capital/);
  assert.match(await page.locator('.card .connector .person-job').first().innerText(),/Investor · Example Capital/);
  assert.match(await page.locator('#target-heading').innerText(),/VP Sales · Account 00/);
  assert.equal(await page.locator('button a').count(),0,'Profile links must not nest inside buttons.');
  assert.equal(await page.locator('.card .connector .person-tag').first().getAttribute('href'),await page.locator('.card .connector strong a').first().getAttribute('href'));
  await page.locator('.comparison-item button').first().click();
  assert.equal(await page.locator('.card').first().evaluate(node=>node===document.activeElement),true);
  assert.equal(await page.locator('#target-heading h2 a').getAttribute('href'),'https://www.linkedin.com/in/target-0');
  assert.equal(await page.locator('.card .profile-link').first().getAttribute('rel'),'noopener noreferrer');
  assert.equal(await page.locator('.comparison-item').count(),3,'Compare the top three paths.');
  assert.equal(await page.locator('.relationship-summary').count(),3);
  assert.match(await page.locator('.relationship-summary').first().innerText(),/Investor company link/);
  assert.equal(await page.locator('.contribution-reason:visible').count(),0,'Keep full reasons in evidence details.');
  assert.equal(await page.locator('.detail-content').count(),0,'Evidence should be lazy.');
  await page.locator('.detail summary').first().click();await page.waitForSelector('.detail-content');
  assert.equal(await page.locator('.detail-content').count(),1);
  await page.selectOption('#limit','all');assert.equal(await page.locator('.card').count(),20);
  await page.locator('.load-more').click();assert.equal(await page.locator('.card').count(),40);
  const first=page.locator('.card').first();const pathId=await first.getAttribute('data-path-id');
  await first.locator('.feedback select').selectOption('good');await first.locator('textarea').fill('Useful route <script> remains plain text.');
  const oldCache=await page.evaluate(()=>{window.testRankingCache=rankingCache;return true;});assert(oldCache);
  await page.locator('.target button').nth(1).click();assert.equal(await page.locator('.card').count(),20);
  assert.equal(await page.evaluate(()=>window.testRankingCache===rankingCache),true,'Selection must reuse ranked candidates.');
  await page.locator('#search').fill('no matching contact');assert.equal(await page.locator('.card').count(),0);assert.match(await page.locator('#target-heading').innerText(),/No contacts match/);
  await page.locator('#search').fill('');await page.selectOption('#account','Account 01');assert.equal(await page.locator('.target').count(),13);
  assert.match(await page.locator('#target-heading').innerText(),/Account 01/);
  await page.selectOption('#account','');await page.locator('.target button').first().click();assert.equal(await page.locator('.card').first().getAttribute('data-path-id'),pathId);
  assert.equal(await page.locator('.card').first().locator('.feedback select').inputValue(),'good');
  await page.locator('#toggle-weights').click();await page.getByRole('spinbutton',{name:'Investor company link weight',exact:true}).fill('0');
  assert.equal(await page.evaluate(()=>window.testRankingCache===rankingCache),false,'Weight edits must rerank all candidates.');
  assert.equal(await page.locator('.card').first().getAttribute('data-path-id'),'p0-0','Formerly lower candidate can become top ranked.');
  const download=page.waitForEvent('download');await page.locator('#export-feedback').click();const saved=await download;await saved.saveAs(path.join(temp,'feedback.json'));
  const feedback=JSON.parse(fs.readFileSync(path.join(temp,'feedback.json'),'utf8'));
  assert.equal(feedback.model,'evidence-feature-heuristic-v4');assert.equal(feedback.reviews.length,1);assert.equal(feedback.reviews[0].path_id,pathId);assert.equal(feedback.reviews[0].weights.investor_portfolio,3);assert.equal(feedback.current_weights.investor_portfolio,0);assert.equal(feedback.reviews[0].rating,'good');assert.equal(feedback.reviews[0].review_status,'needs_confirmation');
  await page.setViewportSize({width:390,height:844});assert.equal(await page.evaluate(()=>document.documentElement.scrollWidth<=window.innerWidth),true,'Mobile page must not overflow.');
  await page.reload();await page.waitForSelector('.card');assert.equal(await page.locator('#export-feedback').innerText(),'Download feedback (0)','Feedback must not be retained across reloads.');
  assert.deepEqual(errors,[]);assert.deepEqual(network,[]);
  console.log(JSON.stringify({paths:91434,targets:311,initialLoadMs:loadMs,checks:'passed'}));
 } finally {await browser.close();fs.rmSync(temp,{recursive:true,force:true});}
})().catch(e=>{console.error(e);process.exitCode=1;});
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall