Computational Social Science

CSS Lab

Codebook annotation for research teams. CSSLabel is a project of CSS Lab, helping social science teams turn explicit constructs, coding rules, and examples into reviewable LLM-assisted labels.

Domain
Social science · computational social science
Unit
Text-like research records & transcripts
Output
Structured, codebook-ready labels
csslabel · run #042 cached
Record

“Public officials framed the policy as evidence-based, shifting blame toward administrative delays.”

codebook prompt labels
framediagnostic
actor_blameofficials
evidence_typepolicy
confidence

Navigation

Lab Map

One page for each decision surface.

Purpose

What CSSLabel is for

CSSLabel treats annotation as a research protocol, not a prompt trick. A project starts with a domain and unit of analysis, adds codebook attributes, previews the coding prompt, and stores structured outputs for downstream analysis.

Principle

Explicit constructs

Codebooks before prompts. Prompts are generated around the research instrument, not the other way around.

Principle

Reviewable outputs

Uncertainty is a valid label. Attributes include explicit options when the coding protocol permits ambiguity.

Principle

Reproducible pipelines

Examples are evidence. Few-shot shots document how constructs are expected to apply in practice.

Active workstreams

Projects

Reusable paths through the same research problem: applying codebooks with LLMs while keeping constructs inspectable.

Core runtime

Labeling Engines

LLM-powered annotation pipelines with structured prompting, single- and multi-label codes, and output validation.

View task code ->
Prompt practice

Prompt & Example Library

Curated few-shot examples, prompt templates, and codebook-aligned demonstrations with label-aware selection.

Inspect selectors ->
Methods

Reliability & Validation

Inter-rater reliability protocols, agreement metrics, confidence review, and human-in-the-loop systems.

Go to repository ->
Infrastructure

Transforms & Pipelines

Web, PDF, image, and API transforms normalize research materials into text-like records, plus cache and export.

Browse transforms ->

The spine

From construct to coded dataset.

CSSLabel treats annotation as a rigorous research protocol — domain, codebook, preview, then run.

  1. DeclareDeclare the research domain and unit of analysis.
  2. TranslateTurn constructs into explicit codebook attributes with definitions and decision rules.
  3. PreviewInspect prompts, few-shot examples, and coding constraints before a run.
  4. AnnotateRun annotation with caching, structured outputs, and review workflows.

Team

Members & Roles

Maintainer roles and contribution lanes for research, methods, and engineering.

methods

Research Leads

Domain expertise, construct definition, and theoretical grounding.

runtime

Methods Specialists

Codebook design, reliability protocols, and validation frameworks.

engineering

Engineering Contributors

Pipeline development, LLM integration, tooling, and reproducibility.

Next step

Bring a codebook, bug, or collaboration question.

Use public channels when possible so workflows, bugs, and decisions stay visible to future users.

Channels GitHub Issues & Discussions

Issues for bugs and focused requests; Discussions for longer proposals and collaboration.

Visit GitHub