Skip to content

getaero-io/gtm-eng-skills / skills/deepline-scoring

deepline-scoring

Verified

Use when discovering niche signals, auditing ICP or won/lost evidence, rescoring accounts, or building account and lead scoring Plays. Triggers on fit scoring, engagement scoring, backtesting, holdout evaluation, predictive lift, external proxies, and scoring leakage. Skip pure outreach copy or contributor skill installation tasks.

FileKindSize
.gitignoreother26 B
SKILL.mdskill md12.4 KB
package.jsonmanifest114 B
references/account-website-features.mdmarkdown10.3 KB
references/backtesting-task.mdmarkdown10.0 KB
references/buyer-language-research.mdmarkdown8.6 KB
references/capacity-evidence.mdmarkdown4.4 KB
references/dedupe.mdmarkdown1.5 KB
references/jev-feature-extraction.mdmarkdown8.2 KB
references/keyword-catalog.mdmarkdown4.9 KB
references/pitfalls.mdmarkdown1.6 KB
references/proven-signals.mdmarkdown1.1 KB
references/quality-gate.mdmarkdown2.8 KB
references/report-template.mdmarkdown6.2 KB
references/scorecard-creation.mdmarkdown3.3 KB
references/scorecard-training.mdmarkdown6.5 KB
references/scoring-delivery.mdmarkdown8.3 KB
references/scoring-diagnostics.mdmarkdown8.9 KB
references/scoring-pitfalls.mdmarkdown2.8 KB
references/signal-interpretation.mdmarkdown2.3 KB
references/step-7-prospects.mdmarkdown1.6 KB
references/technology-evidence.mdmarkdown9.4 KB
references/testing-and-evaluation.mdmarkdown6.8 KB
scripts/analyze_signals.pyscript16.9 KB
scripts/analyze_signals_v2.pyscript28.3 KB
scripts/build_feature_matrix.pyscript4.7 KB
scripts/collect_sources.pyscript16.1 KB
scripts/dedupe_utils.pyscript15.6 KB
scripts/dedupe_utils_v2.pyscript15.7 KB
scripts/find_contacts_v2.pyscript1.9 KB
scripts/hubspot_accounts.pyscript7.1 KB
scripts/jev_features.pyscript7.1 KB
scripts/replay-score.play.tsscript2.3 KB
scripts/requirements-scorecard.txtmarkdown263 B
scripts/scorecard/__init__.pyscript514 B
scripts/scorecard/config.pyscript5.0 KB
scripts/scorecard/explainer_artifacts.pyscript8.4 KB
scripts/scorecard/pipeline.pyscript38.9 KB
scripts/scorecard/report.pyscript30.4 KB
scripts/scorecard/scorer.pyscript17.3 KB
scripts/scorecard/specs.pyscript1.3 KB
scripts/scoring_contract.tsscript7.5 KB
scripts/technology_evidence.pyscript3.8 KB
scripts/tests/contract_check.tsscript1.9 KB
scripts/tests/test_jev_features.pyscript3.4 KB
scripts/tests/test_scorecard.pyscript9.5 KB
scripts/train_scorecard.pyscript20.0 KB
skill-metadata.jsonconfig3.8 KB

scripts/tests/contract_check.ts

View on GitHub
// Replays a trained bundle through the TypeScript scorer and checks it against the Python CLI.
// Usage: tsx scripts/tests/contract_check.ts <out_dir>
import { readFileSync } from 'node:fs';
import { join } from 'node:path';
import { scoreRow } from '../scoring_contract';
import type { Model, Reference, Observation } from '../scoring_contract';

const dir = process.argv[2];
if (!dir) throw new Error('usage: contract_check.ts <out_dir>');
const raw = JSON.parse(readFileSync(join(dir, 'model_contract.json'), 'utf8'));
const model: Model = {
  id: raw.id,
  dimension: raw.dimension,
  intercept: raw.intercept,
  weights: raw.weights,
  max_age_days: raw.max_age_days,
  validation: raw.validation,
};
const reference: Reference = JSON.parse(readFileSync(join(dir, 'reference.json'), 'utf8'));
const sample = JSON.parse(readFileSync(join(dir, 'contract_sample.json'), 'utf8'));
let failures = 0;
for (const row of sample.rows as Array<{ entity_id: string; observations: Observation[]; expected: { logit: number; percentile: number | null; grade: string | null } }>) {
  const r = scoreRow(row.entity_id, sample.scored_at, row.observations, model, reference);
  const okLogit = r.score !== null && Math.abs(r.score - row.expected.logit) < 1e-9;
  const okPct =
    (r.percentile === null && row.expected.percentile === null) ||
    (r.percentile !== null && row.expected.percentile !== null && Math.abs(r.percentile - row.expected.percentile) < 1e-9);
  const okGrade = r.grade === row.expected.grade;
  if (!(okLogit && okPct && okGrade)) {
    failures++;
    console.log('MISMATCH', row.entity_id, { got: { score: r.score, percentile: r.percentile, grade: r.grade, status: r.status, miss: r.miss_reason }, expected: row.expected });
  }
}
console.log(failures ? `contract check FAILED (${failures})` : `contract check passed (${sample.rows.length} rows)`);
process.exit(failures ? 1 : 0);
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall