Skip to content

ua-gist-open-source/copilot-test

Repository files navigation

🤖 GIST 604B Copilot Test Repository

Purpose: Test GitHub Codespaces + Copilot integration for GIS course assignments

🚀 Testing Instructions

  1. Create GitHub Repository

    • Push this code to a GitHub repository
    • Make sure it's public or you have Codespaces access
  2. Launch Codespaces

    • Click "Code" → "Create codespace on main"
    • Wait for environment to load (~2-3 minutes)
  3. Test Copilot Integration

    • Open src/test_pandas.py
    • Try typing comments and see if Copilot suggests code
    • Use Ctrl+Shift+I (Cmd+Shift+I on Mac) for Copilot Chat

🧪 Test Scenarios

Test 1: Basic Code Completion

Try typing this comment in src/test_pandas.py:

# import pandas and create a dataframe with latitude and longitude columns

Expected: Copilot should suggest pandas import and DataFrame creation

Test 2: GIS-Specific Suggestions

Try typing:

# load a CSV file with spatial coordinates and display basic info about the dataset

Expected: Copilot should suggest reading CSV and showing DataFrame info

Test 3: AI Chat Integration

Press Ctrl+Shift+I and ask:

"How do I filter a pandas DataFrame to show only rows where temperature > 20?"

Expected: Copilot Chat should provide helpful explanation and code examples

✅ Success Criteria

  • Codespaces launches without errors
  • Python environment loads correctly
  • Copilot extension is active and providing suggestions
  • Copilot Chat responds to GIS-related questions
  • Students can focus on learning concepts instead of setup

🐛 Troubleshooting

If Copilot doesn't work:

  1. Check if GitHub Copilot Pro is enabled on your account
  2. Try Ctrl+Shift+P → "GitHub Copilot: Sign In"
  3. Verify the extensions loaded in VS Code sidebar

If environment fails:

  1. Check if the base image aaryno/devcontainer-base-python:fall-2025 exists
  2. Fall back to mcr.microsoft.com/devcontainers/python:3.11 as base image
  3. Check Codespaces logs for specific errors

🎯 Course Integration

This test validates that students will have:

  • Zero setup friction - Codespaces "just works"
  • AI assistance available - Copilot helps with syntax
  • Focus on learning - Time spent on GIS concepts, not debugging
  • Professional tools - Same workflow as industry developers

Next Steps: If this test passes, apply the same devcontainer configuration to Module 3 assignments.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published