8000 GitHub - morisy/claude-assignments
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

morisy/claude-assignments

Repository files navigation

Assignments

A Django-based crowdsourcing tool for data collection and validation. Upload CSV files, create dynamic questions, and collect responses from contributors.

Features

  • CSV Upload & Parsing: Upload CSV files and automatically parse data
  • Dynamic Questions: Create questions with placeholders that pull from CSV data
  • Multiple Question Types: Support for text, textarea, multiple choice, and true/false
  • UUID-based URLs: Unique, shareable links for each assignment
  • Progress Tracking: Real-time progress monitoring for creators
  • Export Functionality: Download enriched CSV files with all responses
  • User Roles: Different interfaces for creators and contributors
  • Anonymous Contributions: Support for both authenticated and anonymous contributors

Requirements

  • Python 3.9+
  • PostgreSQL (or SQLite for development)
  • Django 4.2.7

Quick Start

  1. Clone the repository

    cd claude-assignments
  2. Install dependencies

    pip install -r requirements.txt
  3. Set up environment variables

    cp .env.example .env
    # Edit .env with your database credentials and secret key
  4. Run migrations

    python manage.py makemigrations
    python manage.py migrate
  5. Create a superuser

    python manage.py createsuperuser
  6. Run the development server

    python manage.py runserver
  7. Access the application

Usage

For Creators

  1. Login with your credentials
  2. Create an Assignment by uploading a CSV file
  3. Add Questions using placeholders like {column_name} from your CSV
  4. Share the URL with contributors
  5. Monitor Progress from your dashboard
  6. Export Results as an enriched CSV file

For Contributors

  1. Access the assignment via the shared URL
  2. Answer questions for each data entry
  3. Submit responses (anonymous or authenticated)
  4. Track your progress as you complete entries

CSV Format

Your CSV file should:

  • Have a header row with column names
  • Use simple, descriptive column names (these become placeholders)
  • Be encoded in UTF-8 (preferred) or common encodings

Example:

city,state,population
Boston,MA,675647
New York,NY,8336817
Los Angeles,CA,3898747

Question Templates