← Back to Pull requests

Split CCS Requirements into WF and generic part #274

Closed
unknown closed this pull request without merging on May 12, 2026 00:03 UTC
View on GitHub
unknown unknown commented on Apr 11, 2026 19:16 UTC
Author

Closes #252
Closes #269

This PR splits "Contest Control System Requirements" into "Contest Control System" (description of a non-WF CLICS compliant CCS) and "World Finals CCS Requirements" (requirements of a WF CCS).

I think this split ended up very well. Both parts are easier to use, and the "basic CCS" document is actually useful.

After this change, there are some structural changes, mainly on the WF document that would make a lot of sense, but I avoided making more changes than needed. We can do that in a follow up.

I tried to avoid making changes to what the resulting WF requirements are, but in moving things around and cleaning it up, these things changed:

0. Introduced RFC 2119 terminology. Because it's consistent with out other standards, and also because it's just good™. This is not really a change, but it kinda drives other changes.
1. System should be usable with 15 problems, strengthened to a MUST. I would argue that this is what we always meant.
2. Added requirement to warn about unrecognized fields in configuration files. This part was very underspecified, and I think adding this is very reasonable.
3. Explicitly require production of the result upload files. This was in the old version, but the wording was very indirect: "The final results are contained in the JSON files returned by...". This is a minimal change.
4. Network security score (arguably) increased. From "the contest network" to "a network". I would argue that this actually changes nothing, and if it does it was needed 😄.
5. Predefined clarification answers "must be provided" instead of "must be supported". It's unclear to me what "must be supported" actually means in this context (basically nothing, I would argue).
6. The configuration import field list made explicit and corrected. Previously specified by reference to the Contest API output requirements, which incorrectly included fields (time_limit, test_data_count, statement, attachments) that are actually read from problem packages rather than JSON files.
7. Remove (broken) link to logos.tar.gz. Fixes #269.

I think I made some very reasonable choices in what goes in the base CCS requirements, and which are WF specific requirements. We can certainly move things around a little bit in follow up PRs if there are small (or reasonably sized) disagreements on this.

Diff: 295 lines (+221 / -74) across 3 files Reviewer: eldering Review duration: 43487m
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 295 lines diff across 3 files
0.40
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.340
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #274"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 40.0% (MEDIUM) · Higher = larger blast radius
40.0%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 15.8% · Safe to merge
15.8%
Repository