andrewr303/creator-intelligence
v0.2.1MIT
Find creators, capture their public business contact, vet them with a transparent score, and research their audience and content, from public data only.
Changelog
0.2.1 (2026-11-10)
- Add
.claude-plugin/plugin.jsonso the plugin has a Claude Code manifest that agrees with the rootplugin.json; set author in both. scripts/creator_score.py: malformed stdin (not JSON, missing keys, non-numeric score,gatesgiven as a string) now prints one error line and exits 2 instead of a traceback. Added CLI tests for this.
0.2.0 (2026-11-10)
Prepares the plugin for re-integration into HypeStake.
Added
- TypeScript ports of the two scripts:
src/contact-rules.tsandsrc/creator-score.ts, exported fromsrc/index.ts. Pure functions, ES2020 library, relative.tsimports, no Node built-ins and no regex lookbehind. - Shared golden vectors in
vectors/, built from the Python reference byscripts/build_vectors.py, and asserted by bothscripts/tests/test_vectors.pyandtest/vectors.test.ts. package.json,tsconfig.json(ES2020 library, kernels only) andtsconfig.test.json.npm run verifyruns the typecheck, the TypeScript tests, the Python tests, a runtime-floor check ofsrc/and a Markdown link check.references/hypestake-platform-map.mdandreferences/hypestake-integration-contract.md.- Candidate record fields
sources[]anddegraded[]for provenance.
Changed
creator_score.outlier_report: a post with noage_hoursis now left out of the baseline and counted asexcluded_unknown_age, instead of counting as settled. A post with no metric value is counted asexcluded_missing_metricinstead ofexcluded_too_young. The report always has all three counts. The command line acceptsmin_age_hours.creator_score: sums are plain left-to-right loops, so results do not depend on the Python version's float summation. Inputs are validated: booleans, strings, NaN and negatives raiseValueError.contact_rules.decode: a pinned entity decoder (numeric entities and eight named entities) replaceshtml.unescape; surrogate and out-of-range escapes stay as written.- Skill and reference text: HypeStake nouns, the creator score is described as not a Match Score, the vetting report's "Recommendation" is now "Next research step", and the ScrapeCreators facts named in the platform map were corrected.
Fixed
contact_rules.extractandextract()in TypeScript ran in quadratic time on a long run of address characters (about 0.7 s for 40,000 characters ofa%). Every quantifier is now bounded (local part 64, labels 63, at most 127 labels) and a domain over 253 characters is dropped, so the scan is linear: a few milliseconds for 200,000 adversarial characters. Tests in both languages pin it.- The characters that block a match before an address depended on each engine's Unicode tables (U+0C5C before an address: Python extracted it, Node did not). Now only ASCII decides: a local-part character or any non-ASCII character just before a candidate blocks it, in both languages. The domain end also refuses
_and any non-ASCII character, matching the STAR Finder kernel'shs-finder-ts-1.0.1lookahead. classifyandis_roster_pageconsumed a generator argument while validating it, soplatform_domains=(d for d in ["youtube.com"])letjane@youtube.comthrough aspersonal. Iterables are now materialised once.creator_scoreraisedOverflowErroron a huge integer such as10**400; it now raises the documentedValueError. Post ids must be a string, null or a whole number of at most 2**53 - 1 (larger numeric ids collapsed in JavaScript), and NaN and infinite ids are refused in Python as in TypeScript.__proto__,constructorandprototypeare refused as metric names in both.roundHalfEven1(TypeScript) is exact only for |x| <= 1e9 and now throwsRangeErroroutside that bound. Scores never leave 0 to 100.contact_rules.extractcut a longer domain short:jane@janedoe.com2and a 26-letter top-level label returned a plausible but wrong address. A match must now end where the domain ends. The trade-off in recall:a@b.com-,a@b.com.xanda@b.com.5now return nothing, whilea@b.com.at the end of a sentence still returnsa@b.com.contact_rules.classifykept addresses no extraction could produce:a@b@janedoe.com,jane@janedoe.com/x,jane@10.0.0.1,.jane@janedoe.comand a trailing-dot domain werepersonal. They are nowreject_junk.contact_rules.registrable_domainreturnedco.ukfor a bare suffix and accepted URLs, ports and non-ASCII labels as hosts. They now returnNone.creator_score.outlier_reportraisedTypeErroron"age_hours": nulland omittedexcluded_too_youngwhen no post was settled.
0.1.0
- First release: 15 skills, contact attribution rules and creator score scripts.