Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ authors:
affiliation: Independent Researcher

year: 2025
version: 0.1.0
version: 1.1.0
license: MIT

repository-code: "https://github.com/dfeen87/neuro-coherence-framework"
Expand Down
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Contributing to Neuro-Coherence Framework

Thank you for your interest in the Neuro-Coherence Framework!

## Current Development Status

**This project is currently in private development and validation.**
Comment on lines 1 to 5

Copilot AI Apr 5, 2026

Copy link

Choose a reason for hiding this comment

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

PR description indicates CONTRIBUTING.md was rewritten to remove informal language (personal pronouns/emojis), but the file still contains conversational wording and emoji bullets later (e.g., "We're taking time..." at line 7 and the ✅/❌ list at lines 18–23). Either continue the tone-hardening pass for the remainder of the document or adjust the PR description to match what was actually changed.

Copilot uses AI. Check for mistakes.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ At the center of the model is the **Neuro‑Coherence Function (Ψ)** — a math

This repository contains a **research‑grade computational framework** for exploring that hypothesis through simulation, multimodal biomarkers, and falsifiable predictions.

> **This is not a clinical tool.**
> **Note: This is not a clinical tool.**
> It is a theoretical and computational research framework.

---
Expand Down Expand Up @@ -409,9 +409,9 @@ Consult qualified professionals for clinical care.

---

## Acknowledgments
## License

I would like to acknowledge **Microsoft Copilot**, **Anthropic Claude**, for their meaningful assistance in refining concepts, improving clarity, and strengthening the overall quality of this code.
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---

Expand Down
2 changes: 1 addition & 1 deletion analysis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Analysis package for Neuro-Coherence Framework."""

__version__ = "0.1.0"
__version__ = "1.1.0"
4 changes: 2 additions & 2 deletions analysis/eeg/oscillatory_analysis.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""EEG oscillatory analysis."""

from typing import Tuple, Optional
from typing import Tuple
import numpy as np
from scipy.signal import hilbert, butter, filtfilt
from scipy.signal import hilbert


def calculate_instantaneous_frequency(signal: np.ndarray, fs: float) -> np.ndarray:
Expand Down
2 changes: 1 addition & 1 deletion analysis/eeg/phase_locking.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""EEG analysis module - Phase Locking Value (PLV) calculations."""

from typing import Optional, Tuple
from typing import Optional
import numpy as np
from scipy.signal import hilbert, butter, filtfilt

Expand Down
1 change: 0 additions & 1 deletion analysis/fmri/network_metrics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""fMRI network metrics."""

from typing import Optional
import numpy as np


Expand Down
2 changes: 0 additions & 2 deletions analysis/integration/multimodal_fusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ def calculate_from_fmri(
# Network-specific metrics if labels provided
network_metrics = None
if network_labels is not None:
from ..fmri.connectivity import calculate_network_connectivity

# Dummy timeseries for network calculation
# In real use, this would use actual timeseries
within_conn, between_conn = self._calculate_network_stats(
Expand Down
2 changes: 1 addition & 1 deletion data/synthetic/generate_data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Synthetic data generation for Neuro-Coherence Framework."""

from typing import Tuple, Optional
from typing import Tuple
import numpy as np


Expand Down
55 changes: 23 additions & 32 deletions docs/CI_SETUP_COMPLETE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# CI Workflow Setup - Complete! 🎉
# CI Workflow Setup - Complete

## What Was Done

I've successfully created a comprehensive CI (Continuous Integration) workflow for the Neuro-Coherence Framework repository. Here's what was implemented:
A comprehensive CI (Continuous Integration) workflow has been created for the Neuro-Coherence Framework repository. Here's what was implemented:

Copilot AI Apr 5, 2026

Copy link

Choose a reason for hiding this comment

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

PR description says docs were rewritten to remove informal language; however this sentence still uses the conversational contraction "Here's". Consider rephrasing to a neutral form (e.g., "The following was implemented:") to match the hardened tone.

Copilot uses AI. Check for mistakes.

### 1. **GitHub Actions Workflow** (`.github/workflows/ci.yml`)
- **Lint Job**: Checks code quality with flake8 and formatting with black
Expand Down Expand Up @@ -35,50 +35,41 @@ All local checks pass:
- ✅ **CodeQL security**: Clean scan
- ✅ **Code review**: No issues found

## What You Need to Do 👉
## Approval Process

The CI workflow is ready to go, but it requires **one-time approval** for security reasons:
The CI workflow is ready but may require one-time approval for security reasons:

### Steps to Approve the Workflow:

1. Go to your repository on GitHub: https://github.com/dfeen87/Neuro-Coherence-Framework

2. Click on the "Actions" tab

3. You should see pending workflow runs with a yellow "⚠️ action_required" status

4. Click on any of the pending runs

5. You'll see a button that says **"Approve and run"** - click it

6. Once approved, the workflow will run automatically on all future commits!
1. Navigate to the repository on GitHub.
2. Select the "Actions" tab.
3. Locate any pending workflow runs with an "action_required" status.
4. Select a pending run.
5. Click **"Approve and run"**.
6. The workflow will subsequently run automatically on future commits.

### Expected Result After Approval:

Once you approve, you'll see the CI workflow run with:
- **Lint and Format Check** job passing
- **Test** jobs passing (5 jobs, one for each Python version)
- **Type Check** job passing (may show warnings, but won't fail)
The CI workflow will run with:
- **Lint and Format Check** job passing
- **Test** jobs passing (5 jobs, one for each Python version)
- **Type Check** job passing (warnings may appear, but will not fail the job)

The CI badge in your README will turn **green** ✅ showing "passing" status.
The CI badge in the README will display a "passing" status.

## Future Benefits
## CI Benefits

From now on, every push and pull request will automatically:
Every push and pull request will automatically:
1. Check code quality and formatting
2. Run all tests across multiple Python versions
3. Verify type hints
4. Ensure no security issues are introduced

This ensures code quality and prevents bugs from reaching the main branch!

## Need Help?

If you encounter any issues or have questions:
- Check the `docs/CI.md` file for detailed documentation
- Review workflow run logs in the GitHub Actions tab
- All checks can be run locally using the commands in `docs/CI.md`
This maintains code quality and prevents bugs from reaching the main branch.

---
## Documentation

**Thank you for the opportunity to contribute to this project!** 🚀
For additional information:
- Consult the `docs/CI.md` file for detailed documentation.
- Review workflow run logs in the GitHub Actions tab.
- Execute checks locally using the commands outlined in `docs/CI.md`.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="neuro-coherence-framework",
version="0.1.0",
version="1.1.0",
author="Don Michael Feeney Jr.",
description="A Computational Systems Neuroscience Approach to Affective Stability",
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion simulations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
OperatorResult,
)

__version__ = "0.1.0"
__version__ = "1.1.0"

__all__ = [
"NeuroCoherence",
Expand Down
2 changes: 1 addition & 1 deletion simulations/core/neuro_coherence.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Ψ = Φ · ∫∫∫ [ Θ(E) · Γ(t) · (1 − Δ_GR) · Λ(r,t) ] dE dr dt
"""

from typing import Union, Optional, Tuple, Dict, Any
from typing import Union, Optional, Dict, Any
import numpy as np
from dataclasses import dataclass
from scipy import integrate
Expand Down
Loading