# survey-results-rollup

Summarise survey answers: counts per option and average ratings per question, then export

- **Space:** forms-and-surveys-public (https://github.com/Tech-Realm/space-forms-and-surveys-public/tree/main/survey-results-rollup)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3, docker
- **Routes:** stdlib-reference, formbricks; checks: 2
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use forms-and-surveys-public/survey-results-rollup` or MCP `get_pack forms-and-surveys-public/survey-results-rollup`
- **Files:** CHANGELOG.md, code/refflow.py, code/schema.json, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/scenario.json, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Summarise survey answers: counts per option and average ratings per question, then export. Our reference flow (`code/refflow.py`, stdlib sqlite) proves the records, allowed moves, numbers and export; the same rules carry over to the self-hosted app.

## Steps

1. Load answers as one row per response x question (Formbricks CSV export reshaped).
2. Counts per option for choice questions; averages for rating questions.
3. Export for the report.

## Edge cases

- Multi-select answers: one row per selected option.

## Don'ts

- Don't report a percentage without the n.

## Check

`lp pack check forms-and-surveys/survey-results-rollup` runs outcome/checks.yaml.



---

Canonical URL: https://logicpacks.io/packs/forms-and-surveys-public/survey-results-rollup

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
