TCA-002 / README.md
Calvin20001's picture
Dataset-focused card and manifest
350057a verified
|
Raw History Blame Contribute Delete
6.35 kB
metadata
pretty_name: 'TCA-002: Coding Conversations'
license: other
license_name: mixed-source-licenses
task_categories:
  - text-generation
language:
  - en
tags:
  - code
  - coding-agents
  - conversations
  - human-ai-interaction
size_categories:
  - 1K<n<10K
configs:
  - config_name: default
    data_files:
      - split: train
        path: train.jsonl.gz

TCA-002: Coding Conversations

10,000 conversations about code (172,613 messages): people asking AI for programming help, and real sessions with coding agents such as Claude Code, Codex and Cursor. Curated by The Chat Archive · version 1.0.0.

How it was sampled

We found every coding conversation in The Chat Archive (271,887 in total) and sampled this release to match it:

  • Same mix of chats and agent sessions: 56% chats about code and 44% coding-agent sessions (5,586 and 4,414 here).
  • Every redistributable source included, in proportion to its size (at least 150 conversations, or all of a smaller source), and spread evenly across conversation lengths.
  • Agent sessions keep only the visible dialogue: what the developer typed and what the agent replied. Tool calls, tool output and hidden reasoning are removed.

About 217,288 coding conversations in the archive come from datasets whose terms don't allow redistribution (mostly WildChat and CodeChat), so they could not be included. Because those are mostly OpenAI-model chats, OpenAI models are less represented here than in the archive as a whole:

Provider Whole archive TCA-002
openai 73% 33%
anthropic 13% 35%
unknown 4% 14%
openassistant (human-written) 2% 8%
google 2% 1%
Length Whole archive TCA-002
1 turn 56% 48%
2-4 turns 29% 37%
5-19 turns 14% 15%
20+ turns 1% 0%

What's in it

Every conversation has at least one answered turn and is in its original message order. Exact duplicates were removed. Automated privacy screening, including a check for leaked credentials in code (API keys, tokens, private keys, database passwords), excluded 55 conversations.

Using the data

from datasets import load_dataset
ds = load_dataset("TheChatArchive/TCA-002", split="train")

Each line of train.jsonl.gz is one conversation (full schema in schema.json):

  • conversation_id, content_hash (SHA-256 of the dialogue), message_count, turn_count
  • kind: chat or agent_session; language (when known); length: turn bucket
  • messages: the dialogue in order, as {"role": "user" | "assistant", "content": "..."}
  • sources: where the conversation comes from: dataset, source_url (the upstream dataset at a pinned revision), source_record_id, license, model, provider, conversation_date

Limitations

This is a curated sample, not a random sample of how people use AI. Conversations can contain mistakes, unsafe or outdated advice or code, and the opinions of their original authors and models. Privacy screening is automated and cannot guarantee that no personal information remains.

License

Mixed. Every conversation keeps the license of the dataset it came from (see the table above and each record's license), and those terms, including any model-provider terms, still apply. Please credit the original datasets.

Removal requests

If a conversation contains your personal information or content you own, contact thechatarchive.com/contact with its conversation_id; it will be removed from the next version.

Citation

@misc{thechatarchive_tca002,
  title  = {TCA-002: Coding Conversations},
  author = {{The Chat Archive}},
  year   = {2026},
  url    = {https://huggingface.co/datasets/TheChatArchive/TCA-002}
}