Skip to content

chore: make the repo safe and clear to fork - #170

Merged
Seungpyo1007 merged 1 commit into
developfrom
chore/fork-friendly-maintenance
Sep 11, 2026
Merged

chore: make the repo safe and clear to fork#170
Seungpyo1007 merged 1 commit into
developfrom
chore/fork-friendly-maintenance

Conversation

@Seungpyo1007

@Seungpyo1007 Seungpyo1007 commented Sep 11, 2026

Copy link
Copy Markdown
Member

The repository picked up its first fork (BJR-developer/TechAPI, an unmodified copy of develop). This makes the repo safe and clear for whoever forks it next.

1. Org-only jobs no longer run in forks

deploy-pages, notify-engine and bump-engine publish the site or talk to TechEngine. In a fork they have no secrets and no Pages, so they can only fail. Their entry jobs now carry

if: github.repository == 'GetTechAPI/TechAPI'

deploy-pages' deploy job has needs: build, so it is skipped along with it. Behaviour in this repository is unchanged.

2. The data license is stated where the data lives

The only LICENSE file is the MIT one for the code, so GitHub — and anyone reusing the data — sees "MIT". The CC BY-SA 4.0 declaration existed only as a README sentence. data/LICENSE.md restates it next to the data, links the canonical CC page, and points to ../LICENSE for the code. No licensing terms change; the README now links to the new file.

3. Contributing docs match what the validator enforces

The README listed five categories as needing source_urls. app/validate.py calls _check_source_urls for all thirteen, so the sentence now says every record. The PR template gains a "targets develop" check; develop is also the default branch, so a fork's PR already targets it.

Reviewed, no change needed

Both secret-bearing triggers were checked for the fork-PR "pwn request" pattern:

  • pr-metadata runs on pull_request_target with PROJECT_TOKEN/ENGINE_TOKEN, but it never checks out the PR. Its only event-derived expression is github.event.pull_request.html_url, passed through env rather than inlined into shell, and generated by GitHub. The fork-controlled branch name appears only inside a JS template string.
  • verify-command runs on issue_comment, and only for OWNER / MEMBER / COLLABORATOR authors.

The fork itself has 0 workflow runs, so none of this is causing noise today — the guards are preventive.

Closes #1

The repository picked up its first fork. Three things a forker would hit:

* deploy-pages, notify-engine and bump-engine publish the site or talk
  to TechEngine. In a fork they have no secrets and no Pages, so they
  can only fail. Their entry jobs now run only in GetTechAPI/TechAPI;
  deploy-pages' `deploy` job needs `build` and is skipped with it.

* The data license lived only in a README sentence, while the repo's
  sole LICENSE file is the MIT one for the code — so GitHub, and anyone
  reusing the data, sees "MIT". data/LICENSE.md restates the existing
  CC BY-SA 4.0 declaration where the data actually sits, and points to
  ../LICENSE for the code. No licensing terms change.

* The contributing section listed five categories as needing
  `source_urls`; the validator enforces it for all thirteen. The PR
  template also gains a "targets develop" check.

The two secret-bearing triggers were reviewed and need no change:
pr-metadata runs on pull_request_target but never checks out the PR,
and its only event-derived expression (html_url) is passed through env;
verify-command only accepts OWNER/MEMBER/COLLABORATOR.

Refs #1
@Seungpyo1007 Seungpyo1007 added the ci CI and workflow changes label Sep 11, 2026
@Seungpyo1007 Seungpyo1007 self-assigned this Sep 11, 2026
@github-actions github-actions Bot added data Dataset changes documentation Improvements or additions to documentation enhancement New feature or request labels Sep 11, 2026
@Seungpyo1007 Seungpyo1007 moved this from Todo to In Progress in TechAPI-Project Sep 11, 2026
@TechEngineBot

Copy link
Copy Markdown
Member

🔎 Data verification — Tier 0 (offline existence/trust)

Scored by app.verify; posted by TechEngineBot. Informational only — the structural gate (app.validate) is separate and authoritative for merge.

Changed records in this PR

98 record(s) scored.

%%{init: {"theme":"base","themeVariables":{"pie1":"#3fb950","pie2":"#d29922","pie3":"#f85149","pieStrokeWidth":"0px","pieOpacity":"1"}}}%%
pie showData
    title Verification bands — all records
    "Green" : 78
    "Yellow" : 20
    "Red" : 0
Loading
Category Distribution Total 🟢 🟡 🔴 🟢 %
cpu 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟨🟨 98 78 20 0 79.6%
All 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟨🟨 98 78 20 0 79.6%

Full-dataset baseline

105758 record(s) scored.

%%{init: {"theme":"base","themeVariables":{"pie1":"#3fb950","pie2":"#d29922","pie3":"#f85149","pieStrokeWidth":"0px","pieOpacity":"1"}}}%%
pie showData
    title Verification bands — all records
    "Green" : 21388
    "Yellow" : 83169
    "Red" : 1201
Loading
Category Distribution Total 🟢 🟡 🔴 🟢 %
brand 🟩🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 207 24 183 0 11.6%
soc 🟩🟨🟨🟨🟨🟨🟥🟥🟥🟥🟥🟥 2104 146 844 1114 6.9%
smartphone 🟩🟩🟨🟨🟨🟨🟨🟨🟨🟨🟨🟥 93396 17382 75934 80 18.6%
tablet 🟩🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟥 3455 218 3236 1 6.3%
watch 🟩🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟥 433 18 410 5 4.2%
pda 🟩🟩🟩🟩🟩🟩🟨🟨🟨🟨🟨🟨 140 66 74 0 47.1%
gpu 🟩🟩🟩🟩🟩🟨🟨🟨🟨🟨🟨🟨 2030 810 1220 0 39.9%
cpu 🟩🟩🟩🟩🟩🟩🟩🟨🟨🟨🟨🟥 3993 2724 1268 1 68.2%
All 🟩🟩🟨🟨🟨🟨🟨🟨🟨🟨🟨🟥 105758 21388 83169 1201 20.2%

Hard violations (forced red):

Count Check
1 !boost_ge_base

green = authoritative source + complete + consistent · yellow = plausible, needs confirmation · red = sparse/weak source or a hard contradiction. Promotion to verified runs in the scheduled verify-network workflow.

@Seungpyo1007
Seungpyo1007 merged commit 253fdf6 into develop Sep 11, 2026
5 checks passed
@Seungpyo1007
Seungpyo1007 deleted the chore/fork-friendly-maintenance branch September 11, 2026 03:14
@github-project-automation github-project-automation Bot moved this from In Progress to Done in TechAPI-Project Sep 11, 2026
@TechEngineBot

Copy link
Copy Markdown
Member

TechEngine change review: PASS

Check Result
python -m app.validate PASS
python integrity_check.py TechAPI/data --strict PASS

Changed data

Category Added Modified Deleted Added verified Added unverified Added Kaggle-sourced
brand 0 0 0 0 0 0
soc 0 0 0 0 0 0
smartphone 0 0 0 0 0 0
tablet 0 0 0 0 0 0
watch 0 0 0 0 0 0
pda 0 0 0 0 0 0
gpu 0 0 0 0 0 0
cpu 16 82 0 16 0 0

Changed record examples

cpu added

  • cpu/intel/2008/consumer/core-2-duo-e8290-14.json - Intel Core 2 Duo E8290 [ 14 ]
  • cpu/intel/2010/consumer/core-i7-660lm.json - Intel Core i7-660LM
  • cpu/intel/2011/consumer/core-i7-2629m.json - Intel Core i7-2629M
  • cpu/intel/2011/consumer/core-i7-2649m.json - Intel Core i7-2649M
  • cpu/intel/2011/consumer/core-i7-2657m.json - Intel Core i7-2657M
  • cpu/intel/2013/consumer/core-i7-4950hq.json - Intel Core i7-4950HQ
  • cpu/intel/2015/consumer/core-i5-5350h.json - Intel Core i5-5350H
  • cpu/intel/2015/consumer/core-i7-5750hq.json - Intel Core i7-5750HQ
  • cpu/intel/2016/consumer/core-i5-6585r.json - Intel Core i5-6585R
  • cpu/intel/2016/consumer/core-i5-6685r.json - Intel Core i5-6685R
  • cpu/intel/2016/consumer/core-i7-6785r.json - Intel Core i7-6785R
  • cpu/intel/2016/consumer/core-i7-6870hq.json - Intel Core i7-6870HQ
  • cpu/intel/2016/consumer/core-i7-6970hq.json - Intel Core i7-6970HQ
  • cpu/intel/2018/consumer/core-i3-8100h.json - Intel Core i3-8100H
  • cpu/intel/2018/consumer/core-i5-8400b.json - Intel Core i5-8400B
  • ... 1 more

cpu modified

  • cpu/amd/2009/consumer/amd-sempron-si-40.json - AMD Sempron SI-40
  • cpu/amd/2009/consumer/amd-sempron-si-42.json - AMD Sempron SI-42
  • cpu/amd/2009/consumer/amd-turion-64-mobile-mk-36.json - AMD Turion 64 Mobile MK-36
  • cpu/amd/2009/consumer/amd-turion-64-mobile-mk-38.json - AMD Turion 64 Mobile MK-38
  • cpu/amd/2009/consumer/amd-turion-64-mobile-ml-28.json - AMD Turion 64 Mobile ML-28
  • cpu/amd/2009/consumer/amd-turion-64-mobile-ml-30.json - AMD Turion 64 Mobile ML-30
  • cpu/amd/2009/consumer/amd-turion-64-mobile-ml-34.json - AMD Turion 64 Mobile ML-34
  • cpu/amd/2009/consumer/amd-turion-64-mobile-ml-37.json - AMD Turion 64 Mobile ML-37
  • cpu/amd/2009/consumer/amd-turion-64-mobile-ml-40.json - AMD Turion 64 Mobile ML-40
  • cpu/amd/2009/consumer/amd-turion-64-mobile-ml-42.json - AMD Turion 64 Mobile ML-42
  • cpu/amd/2009/consumer/amd-turion-64-mobile-ml-44.json - AMD Turion 64 Mobile ML-44
  • cpu/amd/2009/consumer/amd-turion-64-mobile-mt-30.json - AMD Turion 64 Mobile MT-30
  • cpu/amd/2009/consumer/amd-turion-64-mobile-mt-32.json - AMD Turion 64 Mobile MT-32
  • cpu/amd/2009/consumer/amd-turion-64-mobile-mt-34.json - AMD Turion 64 Mobile MT-34
  • cpu/amd/2009/consumer/amd-turion-64-mobile-mt-37.json - AMD Turion 64 Mobile MT-37
  • ... 67 more

Heuristic review

  • Added records by manufacturer/brand: intel: 16
  • Added records by source class: other: 16
  • Heuristic warnings: none found.

@TechEngineBot

Copy link
Copy Markdown
Member

TechEngine validation stats: PASS

Data summary

Category Total Verified Unverified Missing verified Tracked Verified % of tracked
brand 207 24 183 0 207 11.6%
soc 2104 146 1958 0 2104 6.9%
smartphone 93396 17384 76012 0 93396 18.6%
tablet 3455 218 3237 0 3455 6.3%
watch 433 18 415 0 433 4.2%
pda 140 66 74 0 140 47.1%
gpu 2030 809 1221 0 2030 39.9%
cpu 3993 2704 1289 0 3993 67.7%
all 105758 21369 84389 0 105758 20.2%

Warning

Tracked verified coverage is below 50% for watch 4.2% (18/433), tablet 6.3% (218/3455), soc 6.9% (146/2104), brand 11.6% (24/207), smartphone 18.6% (17384/93396), all 20.2% (21369/105758), gpu 39.9% (809/2030), pda 47.1% (66/140).
Tracked coverage excludes records missing the verified field; see the Missing verified column for those records.
This does not fail validation. Keep imported records verified: false until manual audit, but treat this as follow-up verification work before relying on the affected categories as curated data.

Validation notes

  • Full advisory outlier listings are suppressed on successful runs because they are dataset-wide and mostly stable between PRs.
  • Failure runs still include a detailed log excerpt for debugging.

Key output:

## app.validate
## integrity_check.py --strict
loaded CPU=3993 GPU=2030
✅ integrity gate: no hard anomalies.
Integrity section Flagged lines
structural 0
CPU name/tier consistency (desktop mainstream only) 0
CPU single>multi (cinebench/geekbench — should be multi>=single) 0
CPU era-vs-score outliers 8
CPU cross-source ratio outliers (possible wrong-variant) 152
GPU cross-source ratio outliers + sanity 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI and workflow changes data Dataset changes documentation Improvements or additions to documentation enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Massive dataset rebuild: CPU + brand + GPU + smartphone + SoC (1989-2026)

2 participants