Spaces:
Sleeping
Sleeping
| # STEM-BIO-AI ์ด์ค ๊ฒ์ ๋ณด๊ณ ์ | |
| **๋ ์ง:** 2026-05-11 | **๋ฒ์ :** v1.6.8 โ v1.7.0 ๊ธฐ๋ก ๊ธฐ์ค | **์ํ:** ํจ์น ๋ก๋๋งต ํ์ (2026-05-12) | |
| --- | |
| ## ๊ฒ์ ๊ฒฐ๊ณผ ์์ฝ | |
| | ๊ฒ์ ๋๊ตฌ | ํ์ | ํต์ฌ ์งํ | | |
| |---|---|---| | |
| | AI-SLOP-Detector v3.7.3 | **clean** (exit 0) | ๊ฒฐํจ ํ์ผ 4๊ฐ / 97๊ฐ, weighted deficit 19.38 | | |
| | SIDRCE SaaS 1.1.15 | **REVIEW** (Grade A) | Omega 0.7883 (inspect) / 0.9945 (pipeline-insight) | | |
| --- | |
| ## AI-SLOP-Detector โ ๊ฒฐํจ ํ์ผ 4๊ฐ | |
| | ์์ | ํ์ผ | Score | ๋ฑ๊ธ | ํต์ฌ ํจํด | | |
| |---|---|---|---|---| | |
| | 1 | `stem_ai/detector_bio.py` | 72.12 | `critical_deficit` | 11-ํจ์ ํด๋ก ํด๋ฌ์คํฐ, nested_complexity x4 | | |
| | 2 | `stem_ai/detector_contract.py` | 63.93 | `inflated_signal` | nested_complexity x3 (์ ๊ท ์์ฑ ํ์ผ) | | |
| | 3 | `stem_ai/cli.py` | 43.45 | `suspicious` | `main` cc=14, print ํจ์ 5๊ฐ ํด๋ก | | |
| | 4 | `stem_ai/advisory_contract.py` | 39.52 | `suspicious` | 8-ํจ์ ํด๋ก ํด๋ฌ์คํฐ | | |
| ### CRITICAL ๋ฐ๊ฒฌ ์์ธ | |
| #### detector_bio.py (score 72.12) | |
| - `function_clone_cluster`: `_looks_like_smiles`, `_is_obviously_not_smiles`, `_smiles_context_permits`, `_is_strong_smiles_variable`, `_smiles_issues`, `_stmt_sets_mock_behavior` ๋ฑ 11๊ฐ ํจ์ AST JSD < 0.05 | |
| - `nested_complexity` x4: | |
| - `_collect_silent_mock_findings` (L260, depth=4, cc=14) | |
| - `_smiles_context_permits` (L513, depth=4, cc=13) | |
| - `_stmt_sets_mock_behavior` (L624, depth=5, cc=12) | |
| - `_run_trace_metadata` (L648, depth=5, cc=13) | |
| #### detector_contract.py (score 63.93) โ ์ ๊ท ์์ฑ ํ์ผ | |
| - `_readme_claimed_names` (L137): **depth=8** โ ํ๋ก์ ํธ ์ ์ฒด ์ต์ ์ค์ฒฉ ๊น์ด | |
| - `_detect_clinical_zero_default` (L44): depth=4, cc=16 | |
| - `_extract_package_all` (L115): depth=5, cc=12 | |
| #### advisory_contract.py (score 39.52) | |
| - `function_clone_cluster`: `cited_finding_ids`, `_prohibited_claims`, `_missing_citation_items`, `_validate_item_list`, `_offline_reviewer_notes`, `_offline_inspection_priorities` ๋ฑ 8๊ฐ ํด๋ก | |
| #### cli.py (score 43.45) | |
| - `main` (L717): depth=5, cc=14 | |
| - `function_clone_cluster`: `_print_full_summary`, `_print_policy_simulate` ๋ฑ print ํจ์ 5๊ฐ | |
| ### ๊ณตํต ํจํด | |
| | Pattern ID | Axis | Severity | ๊ฑด์ | | |
| |---|---|---|---| | |
| | `nested_complexity` | quality | CRITICAL | 10 | | |
| | `function_clone_cluster` | structure | CRITICAL | 3 | | |
| | `god_function` | style | high | 22 | | |
| | `deep_nesting` | style | high | 8 | | |
| | `phantom_import` | quality | medium | 2 (rdkit, detector_bio.py L826/L837) | | |
| | `lint_escape` | quality | medium | 3 | | |
| --- | |
| ## SIDRCE SaaS โ ์ฐจ์๋ณ ์ ์ | |
| | ์ฐจ์ | ๊ธฐํธ | ๊ฐ์ค์น | pipeline-insight ์ ์ | | |
| |---|---|---|---| | |
| | Integrity | Sigma | 0.30 | 0.9946 | | |
| | Purity | Pi | 0.25 | 1.0000 | | |
| | Stability | Delta | 0.25 | 1.0000 | | |
| | Coherence | Gamma | 0.20 | 0.9806 | | |
| | **Omega** | **Omega** | โ | **0.9945** | | |
| - inspect ๋ชจ๋ Omega: 0.7883 (10ํ์ผ ์ํ, entropy avg 4.24bit โ Delta ์ต์ ) | |
| - pipeline-insight 97ํ์ผ ๊ธฐ์ค ์ค์ง ํ์ง: 0.9945 (A+ ์์ค) | |
| - ๋ฆฌ์คํฌ ํ์ผ 1๊ฐ: `tmp/backend_build/build_backend.py` (DDC=0.50, tmp ๊ฒฝ๋ก) | |
| - 24/30 ํ์ผ "inconsistent entropy" (๋ชจ๋ ์ฑ๊ฒฉ ๋ค์์ฑ์ผ๋ก ํ๋จ) | |
| - `vulture` ๋ฏธ์ค์น โ dead code ์ค์บ ๋ฏธ์์ฑ | |
| --- | |
| ## ๊ต์ฐจ ํ์ธ โ ๋ ๋๊ตฌ ์ผ์น ํญ๋ชฉ | |
| | ์ด์ | SLOP ํ์ | SIDRCE ์ํฅ | | |
| |---|---|---| | |
| | `detector_contract.py` ๊ตฌ์กฐ ๋ณต์ก๋ | CRITICAL (depth=8) | Gamma ๊ฐ์ฐ ์์ธ | | |
| | `detector_bio.py` ํด๋ก ํด๋ฌ์คํฐ | CRITICAL | ์ํธ๋กํผ ํจํด ์ด์ | | |
| | `tmp/` ๋๋ ํ ๋ฆฌ ์ค์ผ | 97โ35 ํ์ผ ๋ถํ๋ฆผ | DDC ๋ฆฌ์คํฌ ํ์ผ ์์ธ | | |
| --- | |
| ## v1.7.0 ์ดํ ์ํ | |
| `detector_contract.py`๋ v1.7.0์์ ์ ๊ท ์์ฑ๋์ด CC-1/CC-2/CC-3 ํ์ง๊ฐ ๋์ํ์ง๋ง, ๊ฒ์์์ ์ง์ ๋ **๊ตฌ์กฐ์ ๋ณต์ก๋ ๋ฌธ์ ๋ ๋ฏธํด๊ฒฐ** ์ํ๋ก ๋ค์ ํจ์น์ ์ด๊ด. | |
| --- | |
| ## ํจ์น ๋ก๋๋งต | |
| ### v1.7.1 โ ๊ตฌ์กฐ ๋ถ์ฑ 1์ฐจ ํด์ (P0) โ DONE 2026-05-12 | |
| **๋์: `stem_ai/detector_contract.py`** (commit 22af1f8) | |
| | ํจ์ | ํํฉ | ์กฐ์น | ๊ฒฐ๊ณผ | | |
| |---|---|---|---| | |
| | `_readme_claimed_names` | depth=8 | `_flush_code_block()` ํฌํผ ์ถ์ถ | depth 8โ3 | | |
| | `_detect_clinical_zero_default` | cc=16 | `_collect_candidate_pairs()` ์ถ์ถ | cc ~4 | | |
| | `_extract_package_all` | depth=5, cc=12 | `_parse_all_assign()` ์ถ์ถ | depth 5โ2 | | |
| **๋์: ์ค์ ** `.slopconfig.yaml` ์ ๊ท โ `tmp/`, `build/`, `dist/` ์ ์ธ | |
| 137/137 tests pass | |
| ### v1.7.2 โ ํด๋ก ํด๋ฌ์คํฐ ํด์ (P1) | |
| **๋์: `stem_ai/detector_bio.py`** | |
| | ์ด์ | ํํฉ | ์กฐ์น | | |
| |---|---|---| | |
| | SMILES ํจ์ ํด๋ก 11๊ฐ | AST JSD < 0.05 (๊ฑฐ์ ๋์ผ) | `_SMILES_RULES: list[tuple[str, Callable]]` dispatch table๋ก ํตํฉ, `_apply_smiles_rule()` ๋จ์ผ ์คํ๊ธฐ | | |
| | `nested_complexity` x4 | `_collect_silent_mock_findings` cc=14 ๋ฑ | ์กฐ๊ฑด ๋ถ๊ธฐ โ ์ ๋ต ํจ์ ์ถ์ถ | | |
| **๋์: `pyproject.toml`** | |
| ```toml | |
| [project.optional-dependencies] | |
| bio = ["rdkit>=2023.3"] | |
| ``` | |
| `rdkit` phantom import โ optional dep ์ ์ธ + `try/except ImportError` ๊ฐ๋๋ก ๊ต์ฒด | |
| ### v1.7.3 โ ์ฝ๋ ์์ ์์ฑ (P2) | |
| | ํญ๋ชฉ | ์กฐ์น | | |
| |---|---| | |
| | `cli.py` `main` cc=14 | `_handle_scan_cmd()`, `_handle_policy_cmd()` ๋ฑ ์๋ธํธ๋ค๋ฌ ์ถ์ถ | | |
| | print ํจ์ 5๊ฐ ํด๋ก | `_print_section(title, rows)` ๊ณตํต ๋ ๋๋ฌ ํตํฉ | | |
| | `advisory_contract.py` 8-ํจ์ ํด๋ก | ๊ณตํต `_validate_list_field(key, items, rules)` ์ถ์ถ | | |
| | `vulture` ์ค์น | `pip install vulture` + `scripts/dead_code_check.sh` ์ถ๊ฐ | | |
| --- | |
| ## ๊ฒ์ ๋๊ตฌ ์ฌ์คํ ๊ธฐ์ค | |
| | ๋ฒ์ | ๊ธฐ๋ ๋ชฉํ | | |
| |---|---| | |
| | v1.7.1 | `detector_contract.py` slop score โค 30 (ํ 63.93) | | |
| | v1.7.2 | `detector_bio.py` slop score โค 35 (ํ 72.12) | | |
| | v1.7.3 | SIDRCE Omega โฅ 0.85 in inspect ๋ชจ๋ (ํ 0.7883) | | |
| --- | |
| *AI-SLOP-Detector v3.7.3 + SIDRCE SaaS 1.1.15 | Flamehaven Research | 2026-05-11* | |
| *ํจ์น ๋ก๋๋งต ํ์ : 2026-05-12* | |