Skip to content

Involvement score on form answers (#771) - #899

Merged
mbhewitt merged 1 commit into
mainfrom
feat/involvement-score
Nov 29, 2026
Merged

mbhewitt merged 1 commit into
mainfrom
feat/involvement-score

Conversation

@mbhewitt

Copy link
Copy Markdown
Owner

Refs #771, #846. Mew (2026-11-29): ticket recipients are chosen by score from the people who fill in the VIS. "lets do scores next."

The involvement score now appears on each form's Answers page. That page is FormEditor-only, so the score stays admin-only, never shown to volunteers as an incentive. It is a sortable column and is included in the CSV. It reads the permanent shift record (op_shift_history, #808) as of the form's burn year.

score = 16 × ( Σ shift value × decay + 25 if Core Crew )
value = canceled          : CSP × lead × sampling   (Mew 11/27: counts, never a penalty)
        not checked in    : −1                      (old PHP value, Mew 11/27)
        CSP > 0           : CSP × lead × sampling × review
        off-playa, CSP 0  : 0.25                    (meetings, Mew 11/11)
        on-playa, CSP 0   : hours / 4
lead 2 / critical 1.5 · "… Sampling" categories 1.5 (not Random Sampling Training)
review: exceeds/leadership 1.25, needs coaching 0.25, not a good fit 0.1, else 1
decay by burn year: this/last ×1, 2 ago ×0.5, 3 ago ×0.25, older ×0.1  (old PHP)
Core Crew +25 = 20 × 1.25                                              (old PHP)

Tests: new e2e test with six archive rows covering each branch, decay and the year cutoff. Locally, 39 (6 tests) passes. Footer 2027.G.00899.C.

🤖 Generated with Claude Code

Mew 2026-11-29: ticket people are chosen from VIS respondents by score;
"lets do scores next". Score from op_shift_history (#808) per the formula
decided on #771 (10/02, 11/11, 11/27), with the old postplaya.php no-show
penalty, Core Crew bonus and decay (Mew 11/27), as of the form's burn year.
Admin-only: shown on the FormEditor answers page (sortable) and its CSV.
Footer 2027.G.00899.C.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant