Commit 7142233
authored
fix: remove gameable Runs succeeded stat from actor search/details (#1182)
Adresses https://apify.slack.com/archives/C04URRT3934/p1785403187603329
## What
Removes the per-Actor \"Runs succeeded\" success-rate stat from
`search-actors` and `fetch-actor-details` (markdown card, structured
output, and JSON schema), plus the now-stale dev-harness mock fixture
and test assertions.
## Why
Reported in Slack: this metric is gamed by developers and was already
pulled from public Actor pages on apify.com. MCP/API/CLI should mirror
that. This PR covers the MCP surface only, per team decision — API/CLI
and a follow-up \"show verified creators\" feature (blocked on
apify-core exposing that field publicly) are tracked separately.
## Testing
`pnpm run type-check`, `pnpm run lint`, `pnpm run test:unit` (89 files,
1245 passed / 1 skipped), `pnpm run format` (no diff), `pnpm run
check:agents` — all clean. Confirmed via grep that `successRate`/\"Runs
succeeded\" has zero remaining references in `src/` and `tests/`, and
that the widget/apps-mode path never carried this field (nothing to
change there). Independently re-verified by a fresh subagent (PASS).1 parent 75c1627 commit 7142233
5 files changed
Lines changed: 0 additions & 32 deletions
File tree
- src
- tools
- utils
- web/src/utils
- tests/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
645 | 644 | | |
646 | 645 | | |
647 | 646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 147 | | |
160 | 148 | | |
161 | 149 | | |
| |||
230 | 218 | | |
231 | 219 | | |
232 | 220 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | 221 | | |
237 | 222 | | |
238 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | 205 | | |
219 | 206 | | |
220 | 207 | | |
| |||
453 | 440 | | |
454 | 441 | | |
455 | 442 | | |
456 | | - | |
457 | 443 | | |
458 | 444 | | |
459 | 445 | | |
| |||
0 commit comments