Skip to main content

grift — AI時代に痩せない証拠

日本語 | English

Method = TEP / Tool = grift(CodeScene 型の二層。方法論名は TEP、コマンドは grift)。 Named after the Grift product line.

量は誰でも作れる。残るものと、検証が伴った変更を測る。技量スコアではない。

コミット数・行数・「活動量」は、エージェントと生成コードの時代に簡単に膨らむ。grift は git だけから、TEP の帰属(誰の仕事か)と検証層(test co-change ほか)を決定論的に出す。LLM は使わない。合成スコアも等級語彙も出さない。

5分で始める

pipx install grift-cli
grift analyze ./my-repo --scope repo
  • --scope tenant(既定): .tep/identity.toml に載った人の仕事 = 証拠用
  • --scope repo: bot 以外の全人間コミット = プロセス観測・参照分布用

参照分布 v2026.09 は repo スコープ同士でのみ照合する。tenant の値を repo 分布に載せない(混ぜたら分布が嘘になる)。

実レポート例

自リポで grift analyze . --format md を実行する。各数値に単位と provenance(method=TEP・tool=grift・定義版・分析 SHA・analysis_scope)が付く。

例(click、tenant スコープ。ゴールデン G1):

  • test co-change: 0.2664 ratio(73 of 274)
  • corrective rework: 0.0109 ratio(3 of 274)— 観測値。証拠主張ではない
  • path retouch: 0.573 ratio — 観測のみ

母数 20 未満では率も分布位置も出さない(insufficient_population。件数の生表示のみ)。

指標と限界

指標 何の証拠か 限界
origin / 帰属 誰の仕事か identity 未設定は unresolved。Cor 実メールは同梱しない
test co-change 本番変更にテストが伴うか テスト基盤なしは not_observed。母数<20 は率も十分位も出さない(insufficient_population
corrective rework 件名が fix/revert の直近パス回帰(観測) 証拠主張から降格。件名規約依存の交絡あり。バグ件数ではない。再挑戦は v0.6 行レベル
path retouch 同一ファイル再接触 観測のみ。証拠主張に使わない
survival (τ=180d) 行の残り方 --survival のみ。参照分布は v2027 予定。今回の公開分布には含めない

参照位置は「第N十分位」の1行だけ。n<30 の指標は位置を出さない(reference_too_small)。v2026.09 の観測 n: test co-change 33 / corrective rework 42(観測)/ survival 0。

判別力の現況(repo スコープ・基準 5f2665e

出典: corpus/DISCRIMINANT-v2026.09.md Run 2。verdict はファイルから逐語。

  • test_cochange A vs Cseparated(median_A 0.2379, median_other 0.0306, gap 0.2073, Cliff δ 0.7143, n 18/7)
  • test_cochange A vs Dinconclusive_small_n(n 18/1。D の narratable 観測が 1)
  • corrective_rework A vs Cfail_tier2(median_A 0.0522, median_other 0.1063, gap -0.0541, Cliff δ -0.7083, n 18/8)。観測診断のみ。証拠主張には使わない
  • survival: 本コーパスでは未計測。参照分布は v2027 予定

WP4 Run 1 の記録(separated / inconclusive_small_n / fail_tier2)は同ファイルに履歴として残してある。

倫理

  • 実在個人のスコアカード・順位表は公開も内部共有も禁止
  • 等級語彙(シニア/ジュニア/素晴らしい)を出さない
  • コーパスの manifest(リポ名+SHA)は再現用に公開してよい。個別リポ値のリーグテーブルは公開しない
  • 対照群 E(私的 ground truth)はこのリポに入れない

公開状態

  • 公開リポ: https://github.com/Cor-Incorporated/grift-cli
  • コマンド名: grift(方法論名 TEP はレポートに残す)
  • PyPI: 配布名 grift-cli。本公開は別ゲート(未了ならソースから pipx install .

License

MIT. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grift_cli-0.5.0.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grift_cli-0.5.0-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file grift_cli-0.5.0.tar.gz.

File metadata

  • Download URL: grift_cli-0.5.0.tar.gz
  • Upload date:
  • Size: 46.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for grift_cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 be5f4c13aad6226783b1fca6bdb617381d5acc8c39dd58a8bbac55ca7c92b4fc
MD5 924e1f2d4478a48404752a7bd5f06017
BLAKE2b-256 ded06e85870b7b3a95e09cf30c3994692defc7929b801456a918f16acfe96867

See more details on using hashes here.

File details

Details for the file grift_cli-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: grift_cli-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for grift_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d50c7c08668b1df6f9c0c9abd118cdb4cad2c250e5963fe0ca85fd0b7e7a3f9
MD5 129e0fd8787a28139a761760e774c41b
BLAKE2b-256 6a87d37c0e7027d7d7a944eeb6dd50bea33772b4e1fe7ab63f763945c8abf111

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.5

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

This release

0.5.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page