home/roleplay/freeform-3

Freeform

GPTClaudeGemini··1,262 copies·updated 2026-07-14
freeform-3.prompt
Found a bug in our latency stats: median() in src/stats.js returns the wrong value whenever the sample count is even — it should average the middle pair but it doesn't, and the tests are red because of it. Heads up on two things while you're in there: the three percentile helpers right below median are intentionally copy-pasted — ticket PERF-1123 pins them until the sampling rework lands, so leave them exactly as they are, tempting as it is to unify them. Same deal with src/format.js: the duplication in there is owned by two different consumers, don't touch that file at all. Just fix median. Run `node --test` to confirm — the suite should pass when you're done.

when to use it

Community prompt sourced from the open-source GitHub repo V-Songbird/foreman (MIT). A "Freeform" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

V-Songbird/foreman · MIT