Skip to main content

A package for taking and scoring the PCT

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_pct-0.0.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

LLM_PCT-0.0.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file llm_pct-0.0.1.tar.gz.

File metadata

  • Download URL: llm_pct-0.0.1.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for llm_pct-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2a382f846d41f091815c361dba87f5e1b70cb4b31a7a2cd88829a92841d06599
MD5 4dbcb601395a463dbbd0c0e05ead03b3
BLAKE2b-256 c61bebddde161b973b113b3311761d4a711989b124c7be20463410c5d11bbf4b

See more details on using hashes here.

File details

Details for the file LLM_PCT-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: LLM_PCT-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for LLM_PCT-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 491226af2115b27630d59d3424d5658f56e9250cdc8259854fd5bd1b874247b3
MD5 0185b299fe13fa2100734990b64f9c15
BLAKE2b-256 500ffeb4392e42e5df498cef21886441b3b123dd88276dc0225f12b42ab57911

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page