Skip to main content

Political Compass Test (PCT)

License

Overview

The Political Compass Test (PCT) is a Python package that allows users to proctor the political compass test algorithmically by allowing LLMs to react to PCT questions with open-ended responses. It classifies responses in agreement levels according to a specified threshold, then directly interacts with the PCT website to determine the generator's political position on the compass.

Features

  • Elicits responses to questions for the political compass test
  • Classifies generated responses to determine their political position
  • Programmatically intearacts with PCT website to take the test and determine results
  • Displays PCT results on interactive plot

Setup

Expects a file path to a pct-assetss directory with crx/adblock.crx extension and subdirectories for generated response, score, results files.

Release files for LLM-PCT 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for LLM-PCT 0.0.1
File Size Uploaded
llm_pct-0.0.1.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for LLM-PCT 0.0.1
File Interpreter ABI Platform
LLM_PCT-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 kB

Release files / llm_pct-0.0.1.tar.gz

Download URL llm_pct-0.0.1.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2a382f846d41f091815c361dba87f5e1b70cb4b31a7a2cd88829a92841d06599
BLAKE2b-256 checksum
How to use checksums
c61bebddde161b973b113b3311761d4a711989b124c7be20463410c5d11bbf4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / LLM_PCT-0.0.1-py3-none-any.whl

Download URL LLM_PCT-0.0.1-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
491226af2115b27630d59d3424d5658f56e9250cdc8259854fd5bd1b874247b3
BLAKE2b-256 checksum
How to use checksums
500ffeb4392e42e5df498cef21886441b3b123dd88276dc0225f12b42ab57911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page