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/technology_evidence.py

View on GitHub
"""Offline observation gate. No crawling, signature discovery or use confirmation.

Usage: python3 technology_evidence.py normalized-observations.json
Input is a JSON list conforming to references/technology-evidence.md.
Output deliberately omits raw URLs, snippets and unrecognized fields.
"""
import ipaddress
import json
import re
import sys
from datetime import datetime
from urllib.parse import urlsplit


def host(url):
    if not isinstance(url, str) or re.search(r"[\s\\]", url):
        raise ValueError("Invalid public URL")
    p = urlsplit(url)
    if p.scheme not in ("https", "http") or p.username or p.password:
        raise ValueError("Only public HTTP(S) URLs without userinfo")
    h = (p.hostname or "").rstrip(".").lower()
    # Deliberately conservative. This is not a network/SSRF authorization gate.
    if not re.fullmatch(r"[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?", h) or "." not in h:
        raise ValueError("Invalid hostname")
    if any(not label or label.startswith("-") or label.endswith("-") for label in h.split(".")):
        raise ValueError("Invalid hostname")
    try:
        ipaddress.ip_address(h)
    except ValueError:
        return h
    raise ValueError("IP addresses are not vendor domains")


def identifier(value):
    if not isinstance(value, str) or not re.fullmatch(r"[A-Za-z0-9_.:-]{1,160}", value):
        raise ValueError("Expected an opaque identifier")
    return value


def classify(row):
    if not isinstance(row, dict):
        raise ValueError("Expected observation object")
    account = identifier(row["account_id"])
    component = identifier(row["component_id"])
    stamp = datetime.fromisoformat(row["observed_at"].replace("Z", "+00:00"))
    if stamp.tzinfo is None:
        raise ValueError("Timestamp must have timezone")
    page_host = host(row["page_url"])
    kind = row["kind"]
    if kind not in {"mention", "public_link", "embedded", "snippet", "network"}:
        raise ValueError("Unsupported observation kind")
    signature = identifier(row["signature_id"])
    signature_host = host(row["signature_source"])
    level = {"mention": "mention_only", "snippet": "snippet_candidate"}.get(kind)
    resource_host = None
    if level is None:
        resource_host = host(row["resource_url"])
        vendor_domain = row["vendor_domain"]
        if not isinstance(vendor_domain, str) or host("https://" + vendor_domain) != vendor_domain:
            raise ValueError("Expected canonical lowercase vendor domain")
        matches = resource_host == vendor_domain or resource_host.endswith("." + vendor_domain)
        if not matches:
            level = "unmatched_domain"
        elif kind == "network":
            status = row.get("status")
            if status is not None and (type(status) is not int or not 100 <= status <= 599):
                raise ValueError("Invalid HTTP status")
            level = "requested" if status is None else (
                "response_observed" if 200 <= status < 300 else "failed_request"
            )
            # Redirects/cache responses need their own contextual review.
        else:
            level = "public_link" if kind == "public_link" else "embedded_reference"
    return {
        "account_id": account, "component_id": component,
        "observed_at": stamp.isoformat(), "page_host": page_host,
        "signature_id": signature, "signature_source_host": signature_host,
        "resource_host": resource_host, "level": level,
        "scoring_eligible": False, "contract_verified": False,
    }


def main():
    with open(sys.argv[1], encoding="utf-8") as f:
        rows = json.load(f)
    if not isinstance(rows, list):
        raise ValueError("Input must be a list")
    result = [classify(row) for row in rows]  # Validate everything before printing.
    print(json.dumps(result, indent=2))


if __name__ == "__main__":
    main()
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