|
| 1 | +# Field Tests |
| 2 | + |
| 3 | +Batch ego-lint runner for regression testing across 10 real-world GNOME Shell extensions. Used to calibrate rules, catch false positives, and track lint accuracy over time. |
| 4 | + |
| 5 | +## Extension Catalog |
| 6 | + |
| 7 | +| Extension | Description | EGO Approved | |
| 8 | +|---|---|---| |
| 9 | +| [hara-hachi-bu](https://github.com/ZviBaratz/hara-hachi-bu) | Power profile and battery charge limit control from Quick Settings (polkit, clipboard) | No | |
| 10 | +| [tiling-shell](https://github.com/domferr/tilingshell) | Advanced tiling window management with Snap Assistant and custom layouts (compiled TypeScript) | Yes | |
| 11 | +| [v-shell](https://github.com/G-dH/vertical-workspaces) | Customizable horizontal/vertical workspace layout and Shell UX tweaks | Yes | |
| 12 | +| [gsconnect](https://github.com/GSConnect/gnome-shell-extension-gsconnect) | KDE Connect implementation for GNOME — device sharing, SMS, remote control (D-Bus daemon) | Yes | |
| 13 | +| [appindicator](https://github.com/ubuntu/gnome-shell-extension-appindicator) | AppIndicator, KStatusNotifierItem, and legacy tray icon support | Yes | |
| 14 | +| [clipboard-indicator](https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator) | Clipboard manager with history | Yes | |
| 15 | +| [blur-my-shell](https://github.com/aunetx/blur-my-shell) | Blur effects for top panel, dash, and overview | Yes | |
| 16 | +| [dash-to-panel](https://github.com/home-sweet-gnome/dash-to-panel) | Icon taskbar combining dash and system tray into the main panel | Yes | |
| 17 | +| [media-controls](https://github.com/cliffniff/Media-Controls) | Currently playing media controls and info in the panel | Yes | |
| 18 | +| [just-perfection](https://github.com/jrahmatzadeh/just-perfection) | Tweak tool to customize Shell behavior and disable UI elements | Yes | |
| 19 | + |
| 20 | +## Code Metrics |
| 21 | + |
| 22 | +| Extension | JS Files | Total Lines | Largest File | CSS Lines | Schema Keys | |
| 23 | +|---|---|---|---|---|---| |
| 24 | +| hara-hachi-bu | 18 | 8,898 | prefs.js (1,973) | 126 | 26 | |
| 25 | +| tiling-shell | 1 | 14 | monitorDescription.js (14) | 0 | 61 | |
| 26 | +| v-shell | 28 | 19,201 | prefs.js (2,507) | 396 | 152 | |
| 27 | +| gsconnect | 65 | 24,680 | messaging.js (1,325) | 127 | 48 | |
| 28 | +| appindicator | 17 | 5,655 | appIndicator.js (1,604) | 0 | 10 | |
| 29 | +| clipboard-indicator | 6 | 2,486 | extension.js (1,430) | 75 | 31 | |
| 30 | +| blur-my-shell | 49 | 7,743 | extension.js (602) | 572 | 95 | |
| 31 | +| dash-to-panel | 18 | 16,583 | prefs.js (4,052) | 251 | 247 | |
| 32 | +| media-controls | 17 | 5,064 | PanelButton.js (1,236) | 100 | 29 | |
| 33 | +| just-perfection | 7 | 7,490 | API.js (3,663) | 732 | 73 | |
| 34 | + |
| 35 | +> **Note**: tiling-shell metrics reflect the compiled release zip — the TypeScript source is much larger. The high SKIP count (51) is due to checks that don't apply to bundled output. |
| 36 | +
|
| 37 | +## Latest Lint Results (2026-03-07) |
| 38 | + |
| 39 | +ego-lint version: `ae650be` |
| 40 | + |
| 41 | +| Extension | Exit | PASS | FAIL | WARN | SKIP | Verdict | |
| 42 | +|---|---|---|---|---|---|---| |
| 43 | +| hara-hachi-bu | 0 | 207 | 0 | 9 | 23 | Pass | |
| 44 | +| tiling-shell | 1 | 138 | 4 | 4 | 51 | Fail | |
| 45 | +| v-shell | 1 | 188 | 1 | 91 | 17 | Fail | |
| 46 | +| gsconnect | 1 | 171 | 12 | 144 | 17 | Fail | |
| 47 | +| appindicator | 1 | 187 | 11 | 57 | 14 | Fail | |
| 48 | +| clipboard-indicator | 1 | 196 | 3 | 24 | 17 | Fail | |
| 49 | +| blur-my-shell | 1 | 190 | 4 | 43 | 17 | Fail | |
| 50 | +| dash-to-panel | 1 | 171 | 11 | 66 | 17 | Fail | |
| 51 | +| media-controls | 1 | 188 | 6 | 28 | 17 | Fail | |
| 52 | +| just-perfection | 1 | 198 | 4 | 10 | 12 | Fail | |
| 53 | +| **Totals** | — | **1,834** | **56** | **476** | **202** | — | |
| 54 | + |
| 55 | +## Annotation Coverage |
| 56 | + |
| 57 | +Each extension has a classification file in `annotations/` where findings are labeled as true positive (tp), false positive (fp), borderline, or expected. |
| 58 | + |
| 59 | +| Extension | TP | FP | Borderline | Expected | Classified | Unannotated | |
| 60 | +|---|---|---|---|---|---|---| |
| 61 | +| hara-hachi-bu | 7 | 10 | 0 | 1 | 18 | 32 | |
| 62 | +| tiling-shell | 13 | 7 | 4 | 0 | 24 | 59 | |
| 63 | +| v-shell | 8 | 5 | 1 | 0 | 14 | 48 | |
| 64 | +| gsconnect | 12 | 8 | 8 | 0 | 28 | 76 | |
| 65 | +| appindicator | 23 | 12 | 3 | 0 | 38 | 51 | |
| 66 | +| clipboard-indicator | 28 | 8 | 0 | 0 | 36 | 42 | |
| 67 | +| blur-my-shell | 23 | 11 | 4 | 0 | 38 | 50 | |
| 68 | +| dash-to-panel | 18 | 10 | 3 | 0 | 31 | 68 | |
| 69 | +| media-controls | 16 | 3 | 2 | 0 | 21 | 37 | |
| 70 | +| just-perfection | 2 | 0 | 0 | 0 | 2 | 26 | |
| 71 | +| **Totals** | **150** | **74** | **25** | **1** | **250** | **489** | |
| 72 | + |
| 73 | +## Directory Structure |
| 74 | + |
| 75 | +``` |
| 76 | +field-tests/ |
| 77 | + manifest.yaml # Extension source manifest |
| 78 | + baselines/ # Golden JSON snapshots (committed) |
| 79 | + annotations/ # Per-extension finding classifications (committed) |
| 80 | + history.jsonl # Append-only trend data (committed) |
| 81 | + reports/ # Regression/synthesis reports (committed) |
| 82 | + cache/ # Downloaded extensions (gitignored) |
| 83 | + results/ # Timestamped run output (gitignored) |
| 84 | +``` |
| 85 | + |
| 86 | +## Quick Start |
| 87 | + |
| 88 | +```bash |
| 89 | +# Run lint on all extensions |
| 90 | +bash scripts/field-test-runner.sh |
| 91 | + |
| 92 | +# Run lint on a single extension |
| 93 | +bash scripts/field-test-runner.sh --extension blur-my-shell |
| 94 | + |
| 95 | +# Skip git fetches, use cached copies |
| 96 | +bash scripts/field-test-runner.sh --no-fetch |
| 97 | + |
| 98 | +# Update baselines after confirming results |
| 99 | +bash scripts/field-test-runner.sh --update-baselines |
| 100 | + |
| 101 | +# Run lint + ego-review on all extensions |
| 102 | +bash scripts/field-test-runner.sh --review --no-fetch |
| 103 | + |
| 104 | +# Review with exclusions and custom budget |
| 105 | +bash scripts/field-test-runner.sh --review --review-exclude gsconnect --budget 6.00 |
| 106 | +``` |
| 107 | + |
| 108 | +See the [calibration cycle](../CLAUDE.md#calibration-cycle) in CLAUDE.md for the full workflow. |
0 commit comments