Skip to main content

AI kod şeffaflık aracı — her commit'te AI yazım oranını ve anlama skorunu ölçer

Project description

🧬 CodeDNA — AI Kod Şeffaflık Aracı

Her commit'te hangi kodun AI tarafından yazıldığını tespit eden, geliştiricinin o kodu gerçekten anlayıp anlamadığını ölçen ve takım genelinde "anlama borcu" haritası çıkaran CLI aracı.

Kurulum

# Geliştirme ortamı için
uv pip install -e .

# veya
pip install codedna

Kullanım

# Git hook'u kur ve veritabanını oluştur
codedna init

# Tüm repoyu tara
codedna scan

# Son commit skorunu göster
codedna status

# Geçmiş commit skorlarını listele
codedna history

# Hook'u kaldır
codedna uninstall

Nasıl Çalışır?

codedna scan komutu her desteklenen dosyayı (*.py, *.js, *.ts, *.jsx, *.tsx) analiz eder:

Metrik Açıklama
comment_ratio > 0.3 AI kodu genelde aşırı yorum yazar → +0.20
avg_function_length > 50 AI büyük fonksiyon blokları üretir → +0.15
single_commit_ratio > 0.7 Toplu yapıştırma işareti → +0.30
Yüksek karmaşıklık + tek commit AI imzası → +0.25

Gereksinimler

  • Python 3.10+
  • Git kurulu olmalı

test

test2

test4

test5

Project details


Download files

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

Source Distribution

codedna-0.2.1.tar.gz (5.3 MB view details)

Uploaded Source

Built Distribution

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

codedna-0.2.1-py3-none-any.whl (75.6 kB view details)

Uploaded Python 3

File details

Details for the file codedna-0.2.1.tar.gz.

File metadata

  • Download URL: codedna-0.2.1.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for codedna-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a5e1ffd57701c0e069e6ebbc4a75d3edd7ea3b1519505b36bc3acb558d6e10f0
MD5 eb91b230d75f5f17f8bc6506d4137687
BLAKE2b-256 8c766b85ac2e7c92720b54aecfdbae226b5b36c93d635f9e9b81d99935d26c6b

See more details on using hashes here.

File details

Details for the file codedna-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: codedna-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 75.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for codedna-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf0cd262735a0de3137f4816514a572c36b5b59513903042c23a6e08c5202d2c
MD5 1c74c08da19bfd783509c7657248c4c6
BLAKE2b-256 98890ed070ee0e4342cfded4c632953b801aff4a2d23356cf50fc54e7f876de3

See more details on using hashes here.

Supported by

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