Skip to content

[docs] Add development setup guide and contribution guidelines#18

Open
NobleCoder69 wants to merge 1 commit intoga4gh:mainfrom
NobleCoder69:docs/issue-17-setup-guide
Open

[docs] Add development setup guide and contribution guidelines#18
NobleCoder69 wants to merge 1 commit intoga4gh:mainfrom
NobleCoder69:docs/issue-17-setup-guide

Conversation

@NobleCoder69
Copy link
Copy Markdown

  • Created SETUP.md with Python environment and installation instructions
  • Created CONTRIBUTING.md with development workflow and code style guidelines
  • Added .env.example template for environment configuration
  • Updated requirements.txt with version pins and package descriptions
  • Enhanced README.md with quick start guide and project structure

Fixes #17

- Created SETUP.md with Python environment and installation instructions
- Created CONTRIBUTING.md with development workflow and code style guidelines
- Added .env.example template for environment configuration
- Updated requirements.txt with version pins and package descriptions
- Enhanced README.md with quick start guide and project structure

Fixes ga4gh#17
Copilot AI review requested due to automatic review settings March 9, 2026 00:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds onboarding documentation and templates to make local development setup and contributions clearer for new contributors to GA4GH-RegBot (per issue #17).

Changes:

  • Added new documentation files: SETUP.md (dev setup) and CONTRIBUTING.md (contribution guide).
  • Added .env.example for environment variable configuration.
  • Updated requirements.txt with pinned dependencies and inline descriptions; updated README.md with a quick start.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
requirements.txt Adds dependency comments and adjusts pinned packages (notably PDF dependency).
SETUP.md Introduces development setup instructions and a quick-start flow.
README.md Replaces the minimal overview with a formatted README + quick start steps.
CONTRIBUTING.md Adds initial contribution guidance (fork/clone/upstream remote).
.env.example Provides a template for required/optional environment variables.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CONTRIBUTING.md
Comment on lines +9 to +26
\## Getting Started



1\. \*\*Fork the repository\*\* on GitHub

2\. \*\*Clone your fork\*\* locally

3\. \*\*Create a feature branch\*\* for your changes

4\. \*\*Follow the development workflow\*\* below

5\. \*\*Submit a pull request\*\* with a clear description



\## Development Workflow

Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CONTRIBUTING.md currently covers forking/cloning but doesn’t yet include the development workflow details mentioned in the PR description/issue (#17) (branch naming, commit conventions, lint/format tools, code style expectations, PR process, etc.). Either expand this document accordingly or adjust the PR description/scope so expectations match what’s delivered.

Copilot uses AI. Check for mistakes.
Comment thread SETUP.md
Comment on lines +1 to +13
\# GA4GH-RegBot: Development Setup Guide



Welcome! This guide will help you set up GA4GH-RegBot for local development and testing.



\## Prerequisites



\- \*\*Python 3.8+\*\*
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The markdown headings/lists are escaped (e.g., \#, \##, \-) so they will render as literal backslashes instead of proper Markdown formatting. Please remove the backslashes so headings and bullets render correctly.

Copilot uses AI. Check for mistakes.
Comment thread SETUP.md
Comment on lines +35 to +52
\# 2. Create a virtual environment

python -m venv venv

venv\\Scripts\\activate # Windows



\# 3. Install dependencies

pip install -r requirements.txt



\# 4. Set up environment

copy .env.example .env

Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Quick Start only includes Windows-specific environment activation (venv\\Scripts\\activate) and .env creation (copy ...). Since this guide is meant for general onboarding, add the Mac/Linux equivalents (source venv/bin/activate and cp .env.example .env) or clearly label the section as Windows-only.

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +1 to +15
\# GA4GH-RegBot: Compliance Assistant

Overview
RegBot is an LLM-powered tool designed to help researchers map their consent forms against GA4GH regulatory frameworks. It uses RAG (Retrieval-Augmented Generation) to flag compliance gaps automatically.

Architecture (Planned)
Core: Python

LLM Framework: LangChain / LlamaIndex
\*\*Status:\*\* Proposal Stage for GSoC 2026

Vector Store: ChromaDB / FAISS

UI: Streamlit

Roadmap
Phase 1: Ingest GA4GH "Framework for Responsible Sharing" policy documents.
GA4GH-RegBot is an LLM-powered tool designed to help researchers map their consent forms against GA4GH regulatory frameworks. It uses RAG (Retrieval-Augmented Generation) to flag compliance gaps automatically.



\## Quick Start (5 minutes)


Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The README markdown is also escaped (e.g., \#, \*\*Status\*\*, \##), which will prevent proper rendering on GitHub. Remove the backslashes so the README displays correctly.

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +9 to +13
GA4GH-RegBot is an LLM-powered tool designed to help researchers map their consent forms against GA4GH regulatory frameworks. It uses RAG (Retrieval-Augmented Generation) to flag compliance gaps automatically.



\## Quick Start (5 minutes)
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This README update adds a Quick Start but does not include the “project structure”/architecture overview referenced in the PR description and issue #17 acceptance criteria, nor a link to the full setup guide. Consider adding a short “Project Structure” section (even a brief tree) and a link to SETUP.md near the Quick Start so the README matches the stated goals.

Copilot uses AI. Check for mistakes.
Comment thread CONTRIBUTING.md
Comment on lines +1 to +36
\# Contributing to GA4GH-RegBot



Thank you for your interest in contributing to GA4GH-RegBot!



\## Getting Started



1\. \*\*Fork the repository\*\* on GitHub

2\. \*\*Clone your fork\*\* locally

3\. \*\*Create a feature branch\*\* for your changes

4\. \*\*Follow the development workflow\*\* below

5\. \*\*Submit a pull request\*\* with a clear description



\## Development Workflow



\### 1. Fork and Clone



```bash

\# Fork on GitHub, then clone your fork

Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the other docs, headings and comments are escaped (e.g., \#, \##, \###, and \# Fork on GitHub...) which will render incorrectly in Markdown and in the fenced code block. Remove the leading backslashes so both the Markdown and shell comments display as intended.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Add development setup guide and contribution guidelines

2 participants