Private Trinity software sample, no weights or raw outputs
Browse files- .gitignore +4 -0
- README.md +32 -0
- Trinity.png +0 -0
- categories.json +1 -0
- requirements.txt +1 -0
- run_sample.py +20 -0
.gitignore
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
private-output.json
|
| 2 |
+
.env
|
| 3 |
+
*.key
|
| 4 |
+
__pycache__/
|
README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
tags:
|
| 5 |
+
- company-analysis
|
| 6 |
+
- decision-support
|
| 7 |
+
- reese
|
| 8 |
+
---
|
| 9 |
+
# Trinity | HYPERneocloud
|
| 10 |
+
|
| 11 |
+
Trinity is a company-analysis software sample. It turns a public evidence snapshot and a defined rubric into structured decisions through a customer-configured inference backend.
|
| 12 |
+
|
| 13 |
+
This repository contains code and a rubric, not trained model weights, adapters, a checkpoint, or a live hosted app. No claim of a new foundation model is made.
|
| 14 |
+
|
| 15 |
+
## Run privately
|
| 16 |
+
|
| 17 |
+
Install `requirements.txt`. Set `INFERENCE_ENDPOINT`, `INFERENCE_MODEL` and `HYPERNEOCLOUD_API_KEY` for your authorized backend. It must support the request and response schema used in `run_sample.py`. Then run `python run_sample.py`.
|
| 18 |
+
|
| 19 |
+
The adapter has no preset provider endpoint or model. It is not runnable until you configure a compatible backend. Keep credentials server-side and outside this repository. Use only a dedicated HYPERneocloud credential; never substitute another business's key.
|
| 20 |
+
|
| 21 |
+
## Evidence and limits
|
| 22 |
+
|
| 23 |
+
The example subject is Cloudflare's public product documentation. Its rubric covers ten company-analysis categories, using an ordered ten-level scale. Thin evidence does not support an overall company score. Missing data is not a negative verdict.
|
| 24 |
+
|
| 25 |
+
Output is saved locally and is not included in this repository. No performance measurements, raw model outputs, rankings or comparative benchmark claims are published.
|
| 26 |
+
|
| 27 |
+
This is not investment advice, suitability screening, a trade recommendation or permission to execute an order. Backend output requires independent review. Review your backend's license and terms before public deployment, training or redistribution.
|
| 28 |
+
|
| 29 |
+
## Sources
|
| 30 |
+
|
| 31 |
+
- https://blog.cloudflare.com/clef-decision-models/
|
| 32 |
+
- https://developers.cloudflare.com/workers-ai/models/clef-flash/
|
Trinity.png
ADDED
|
categories.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":"v1","scale":"Each category is scored 1-10 using the level descriptions; the total is the sum out of 100.","categories":[{"id":"product","name":"Product & Technology","instructions":"Score the strength, differentiation, and reliability of the core product and technology, using public product pages, docs, changelogs, status pages, and independent reviews.","levels":[{"score":1,"description":"No working product in public view"},{"score":2,"description":"Early prototype; core use case unproven"},{"score":3,"description":"Works for narrow cases; frequent gaps or outages"},{"score":4,"description":"Usable but undifferentiated; clear competitor parity gaps"},{"score":5,"description":"Solid product at parity with the category"},{"score":6,"description":"Good product with at least one notable strength"},{"score":7,"description":"Strong product; clear technical edge in one area"},{"score":8,"description":"Best-in-class in its core use case; reliable and fast-shipping"},{"score":9,"description":"Category-defining product; others copy it"},{"score":10,"description":"Dominant, hard-to-replicate technology with proven reliability at scale"}]},{"id":"market","name":"Market Opportunity","instructions":"Score the size, growth, and timing of the market the company serves, using public market data and demand signals. Judge the market, not the company.","levels":[{"score":1,"description":"No identifiable market"},{"score":2,"description":"Tiny niche with no growth"},{"score":3,"description":"Small market, slow growth"},{"score":4,"description":"Modest market or unclear demand"},{"score":5,"description":"Mid-sized market with steady growth"},{"score":6,"description":"Large market or fast growth, not both"},{"score":7,"description":"Large and growing market"},{"score":8,"description":"Very large, fast-growing market with urgent demand"},{"score":9,"description":"Massive market in a clear growth wave"},{"score":10,"description":"Generational market shift with the company at its center"}]},{"id":"traction","name":"Traction & Growth","instructions":"Score public evidence of adoption, revenue, growth, and retention: usage stats, customer logos, traffic, downloads, revenue disclosures, and credible reporting.","levels":[{"score":1,"description":"No evidence of users"},{"score":2,"description":"Handful of users or pilots"},{"score":3,"description":"Small user base, flat"},{"score":4,"description":"Early adoption with weak growth signals"},{"score":5,"description":"Clear adoption, moderate growth"},{"score":6,"description":"Solid adoption with consistent growth"},{"score":7,"description":"Strong growth and recognizable customers"},{"score":8,"description":"Rapid growth with strong retention signals"},{"score":9,"description":"Category-leading adoption and growth"},{"score":10,"description":"Exceptional, compounding growth at large scale"}]},{"id":"model","name":"Business Model","instructions":"Score how the company makes money and whether the unit economics look sustainable, using pricing pages, disclosed margins, and credible reporting.","levels":[{"score":1,"description":"No revenue model"},{"score":2,"description":"Revenue model undefined or unproven"},{"score":3,"description":"Revenue exists but economics look negative"},{"score":4,"description":"Thin margins or heavy dependence on subsidies"},{"score":5,"description":"Viable model with average economics"},{"score":6,"description":"Clear pricing and healthy expected margins"},{"score":7,"description":"Strong model with good expansion revenue"},{"score":8,"description":"Excellent unit economics and pricing power"},{"score":9,"description":"Highly profitable model with durable pricing power"},{"score":10,"description":"Exceptional, self-reinforcing economics at scale"}]},{"id":"moat","name":"Competitive Moat","instructions":"Score what protects the company from competitors: network effects, switching costs, data or supply advantages, and brand.","levels":[{"score":1,"description":"No defensibility; easily copied"},{"score":2,"description":"Minimal barriers"},{"score":3,"description":"Weak barriers; many close substitutes"},{"score":4,"description":"Some brand or feature lead, easily eroded"},{"score":5,"description":"Moderate barriers from one source"},{"score":6,"description":"Meaningful barriers from one strong source"},{"score":7,"description":"Multiple reinforcing barriers"},{"score":8,"description":"Strong network effects or switching costs"},{"score":9,"description":"Deep, compounding moat hard to attack"},{"score":10,"description":"Near-monopoly position with reinforcing moats"}]},{"id":"team","name":"Team & Execution","instructions":"Score leadership quality and execution record, using public leadership bios, hiring activity, shipping cadence, and delivery on stated plans.","levels":[{"score":1,"description":"No identifiable team"},{"score":2,"description":"Team unknown or clearly missing key roles"},{"score":3,"description":"Inexperienced team with poor delivery record"},{"score":4,"description":"Capable team with gaps; uneven execution"},{"score":5,"description":"Competent team with steady execution"},{"score":6,"description":"Experienced team with a good delivery record"},{"score":7,"description":"Strong team; consistently ships on plan"},{"score":8,"description":"Top-tier team attracting top talent"},{"score":9,"description":"Exceptional team with a proven scaling record"},{"score":10,"description":"Legendary team with repeated category-defining execution"}]},{"id":"finance","name":"Financial Strength","instructions":"Score funding, runway, and capital efficiency, using disclosed funding rounds, investors, revenue, and credible reporting.","levels":[{"score":1,"description":"Distressed or insolvent signals"},{"score":2,"description":"Unfunded with no revenue"},{"score":3,"description":"Minimal funding, short runway"},{"score":4,"description":"Some funding; runway or efficiency concerns"},{"score":5,"description":"Adequately funded for the near term"},{"score":6,"description":"Well funded with reasonable efficiency"},{"score":7,"description":"Strong funding and top investors"},{"score":8,"description":"Large reserves and efficient growth"},{"score":9,"description":"Profitable or deeply capitalized with top backers"},{"score":10,"description":"Fortress balance sheet and self-funding growth"}]},{"id":"ecosystem","name":"Ecosystem & Community","instructions":"Score developer, partner, and community pull, using open-source activity, community size and engagement, integrations, and partnerships.","levels":[{"score":1,"description":"No community or partners"},{"score":2,"description":"Negligible community activity"},{"score":3,"description":"Small, inactive community"},{"score":4,"description":"Some community with limited engagement"},{"score":5,"description":"Active community of moderate size"},{"score":6,"description":"Engaged community and useful integrations"},{"score":7,"description":"Large community and strong partner network"},{"score":8,"description":"Thriving ecosystem that drives distribution"},{"score":9,"description":"Ecosystem hub for its category"},{"score":10,"description":"Industry-standard ecosystem others build on"}]},{"id":"risk","name":"Risk & Resilience","instructions":"Score exposure to regulatory, dependency, concentration, and security risk. A higher score means lower risk and stronger resilience.","levels":[{"score":1,"description":"Existential risk evident"},{"score":2,"description":"Severe unmitigated risks"},{"score":3,"description":"Major risks with weak mitigation"},{"score":4,"description":"Notable risks, partly mitigated"},{"score":5,"description":"Typical risks for the category"},{"score":6,"description":"Risks known and reasonably managed"},{"score":7,"description":"Low risk with good mitigation"},{"score":8,"description":"Very low risk; strong security and compliance posture"},{"score":9,"description":"Highly resilient with diversified dependencies"},{"score":10,"description":"Exceptionally resilient; risk is negligible"}]},{"id":"fit","name":"Strategic Fit","instructions":"Score fit with the Trinity Portfolio thesis and the potential to partner, invest, or build on the company. Judge fit, not overall quality.","levels":[{"score":1,"description":"Conflicts with the thesis"},{"score":2,"description":"No relevance to the thesis"},{"score":3,"description":"Marginal relevance"},{"score":4,"description":"Some relevance, low potential"},{"score":5,"description":"Relevant with moderate potential"},{"score":6,"description":"Good fit with clear potential"},{"score":7,"description":"Strong fit and clear action path"},{"score":8,"description":"Very strong fit; high-priority opportunity"},{"score":9,"description":"Core to the thesis; act soon"},{"score":10,"description":"Perfect fit; top priority for action"}]}]}
|
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
requests>=2.32,<3
|
run_sample.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import json,pathlib,time,requests,os
|
| 2 |
+
P=pathlib.Path(__file__).parent
|
| 3 |
+
cats=json.load(open(P/'categories.json'))['categories']
|
| 4 |
+
state={'company':'Cloudflare','lens':'customer','as_of':'2026-10-02','purpose':'Private Trinity application sample, not investment advice or a model benchmark','evidence':[{'url':'https://blog.cloudflare.com/clef-decision-models/','facts':['Cloudflare released Clef and Clef Flash hosted on Workers AI on October 1 2026.','Open weights Apache 2.0; System One API compatible.','Multimodal decision models with 64k context.','Fine tuning initially FDE-assisted, self-service platform planned.']},{'url':'https://developers.cloudflare.com/workers-ai/models/clef-flash/','facts':['Clef Flash 9B decision model.','Price $0.09 per million input tokens.','Up to 64 typed questions; up to 4 embedded images.']}],'missing':['financial statements','customer retention','current revenue and margins','independent reliability evidence','team biographies','customer-specific requirements','market sizing','competitor adoption'],'restrictions':['Do not guess missing facts.','These company claims are not independent validation.','No personal portfolio, order or user private data.']}
|
| 5 |
+
questions={c['id']:{'type':'score','instructions':c['instructions']+' This is a limited public product-doc snapshot. Do not treat product claims as evidence of company finances, traction, team quality or investor suitability. Missing evidence is not a negative company verdict.','criteria':[x['description'] for x in c['levels']]} for c in cats}
|
| 6 |
+
questions['next_step']={'type':'choice','instructions':'Choose the best next action for this customer-lens sample based only on stated evidence and gaps. No purchase or deployment is authorized.','criteria':{'TEST':'Evaluate API compatibility and quality on a labeled private customer workload before adopting','ADOPT_NOW':'Commit to production immediately without evaluation','REJECT':'Reject the product without testing'}}
|
| 7 |
+
request={'model':os.environ['INFERENCE_MODEL'],'state':state,'questions':questions}
|
| 8 |
+
(P/'request.json').write_text(json.dumps(request,indent=2));token=os.environ['HYPERNEOCLOUD_API_KEY']
|
| 9 |
+
# Accept a plain credential from the process environment.
|
| 10 |
+
try:
|
| 11 |
+
x=json.loads(token)
|
| 12 |
+
if isinstance(x,str):token=x
|
| 13 |
+
elif isinstance(x,dict):token=x.get('result',x.get('value',token))
|
| 14 |
+
except:pass
|
| 15 |
+
assert isinstance(token,str) and len(token)>10
|
| 16 |
+
r=requests.post(os.environ['INFERENCE_ENDPOINT'],headers={'Authorization':'Bearer '+token},json=request,timeout=30)
|
| 17 |
+
r.raise_for_status()
|
| 18 |
+
# Results stay on the caller's machine. This repository publishes no vendor performance evaluation.
|
| 19 |
+
(P/'private-output.json').write_text(json.dumps(r.json(),indent=2))
|
| 20 |
+
print('Private decision output saved locally. Do not commit private-output.json.')
|