Skip to content
55areaPublic

About

🀬 Web-based and Android applications with a simple online test to assess the level of affective polarization in people.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

25 Commits

Folders and files

Repository files navigation

Castas Logo

Castas

Affective Polarization Test
Check your level of polarization through an interactive questionnaire.

Website License React 18 TypeScript

Castas is an affective polarization questionnaire available as a web application and a native Android app.

Both apps share the questionnaire's product requirements and the project documentation, while each keeps its own source, dependencies, and build configuration.

www.castas.top Β· GPL-3.0

Choose an app

Project Location Guide Stack
Web web/ web/README.md React, TypeScript, Vite
Android android/ android/README.md Kotlin, Jetpack Compose, Gradle

Each app can be built and developed independently. Install web dependencies from web/ with npm ci; open android/ in Android Studio or use its Gradle wrapper. See the project-specific guides for prerequisites and commands.

Shared project files

  • docs/ contains product and process documentation, design artifacts, and Android verification records.
  • openspec/ is the canonical OpenSpec project for shared questionnaire behavior and platform-specific requirements.
  • .agents/skills/ contains the OpenSpec workflows and focused development skills used across the repository.
  • LICENSE is the repository license for both applications.

Repository layout

castas/
β”œβ”€β”€ .agents/skills/       # Shared agent skills
β”œβ”€β”€ .github/workflows/    # Web deployment and Android CI
β”œβ”€β”€ android/              # Android app, Gradle wrapper, and Android-specific guide
β”œβ”€β”€ docs/                 # Shared documentation and product artifacts
β”œβ”€β”€ openspec/             # Canonical shared and platform-specific specifications
β”œβ”€β”€ web/                  # Web app, npm lockfile, and web-specific guide
β”œβ”€β”€ LICENSE
└── README.md

Product

The questionnaire has 40 statements across five dimensions and is available in Brazilian Portuguese, English, and Spanish. The apps calculate scores locally and provide a result that users may choose to share. Platform details and storage behavior are documented in each app's guide.

For the web app's features, scoring details, and deployment, see the web guide. For Android installation and build instructions, see the Android guide. The developer note is in Portuguese.

Keeping both apps aligned

The root OpenSpec project is the source of product requirements for both apps. For a new or changed user-facing feature, its change should define acceptance scenarios for web and Android and cover both implementations. If a change is intentionally limited to one app, or the apps should behave differently, record that scope or difference explicitly. Keep shared questions, scoring, result formatting, and translations consistent, and verify each app affected by the change.

Data Privacy

  • No personal data is collected
  • No cookies are used for tracking
  • Test results are stored only in your browser's localStorage
  • No server-side storage of individual responses
  • Users can clear all data by clearing browser storage

License

This project is licensed under the GPL v3.0 License.

See LICENSE for more details.


Copyleft Β© 2026 Raul Bras πŸ‡§πŸ‡· Published under the GPL v3.0 license.
Made in Brazil, in the Land of Oz (SP) , with 🌭 πŸ• and AI πŸ€–.

PentaPRO specification

The repository-root PentaPRO structure contains five pillar directories and supporting assets. Its status record identifies the existing accepted documents and migration work. OpenSpec changes remain under openspec.

About

🀬 Web-based and Android applications with a simple online test to assess the level of affective polarization in people.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages