-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Welcome! This guide will help you set up and run the Deep Learning Protocol in just 5 minutes.
You need:
- .NET 10.0 SDK or higher
- Git (for cloning the repository)
- A terminal (Command Prompt, PowerShell, or Bash)
- VS Code (optional, but recommended for enhanced experience)
dotnet --versionShould output something like: 10.0.x or higher
git clone https://github.com/quickattach0-tech/DeepLearningProtocol.git
cd DeepLearningProtocoldotnet buildExpected output:
...
Build succeeded. 0 Warning(s) ⏱️ 2.14s
dotnet testAll 7 tests should pass ✅
dotnet run --project DeepLearningProtocol/DeepLearningProtocol.csprojOr in VS Code, press Ctrl+Shift+B
When you run the app, you'll see:
╔════════════════════════════════════════════════════════╗
║ Deep Learning Protocol - Interactive Menu ║
╚════════════════════════════════════════════════════════╝
1. Run Interactive Protocol
2. View FAQ
3. Exit
Enter your choice (1-3):
Enter your question: How can I improve my code quality?
Enter your goal: Code excellence
Enter depth level (1-10): 3
[Processing...]
Result:
[Aim Pursuit] [Abstract Core] Deep abstract processing: [Depth 3]...
Deep Learning Protocol - FAQ
1. What is the Deep Learning Protocol?
2. How do I run the program?
3. What is Data Loss Prevention (DLP)?
...
10. What are the future enhancements?
11. Back to Main Menu
Select a question (1-11):
The repository includes VS Code configuration for optimal development experience.
- Ctrl+Shift+B — Run the application
- F5 — Debug with breakpoints
- Terminal → Run Task — Access build/test tasks
- dotnet run (default) — Execute the protocol
- dotnet build — Build the project
- dotnet test — Run unit tests
# Build only (no run)
dotnet build
# Run with specific project
dotnet run --project DeepLearningProtocol/DeepLearningProtocol.csproj
# Run tests with verbose output
dotnet test --verbosity detailed
# Clean build artifacts
dotnet clean# Run all tests
dotnet test
# Run specific test
dotnet test --filter "TestMethodName"
# Generate coverage report
dotnet test /p:CollectCoverage=true# Publish Release build
dotnet publish -c Release
# Output will be in: bin/Release/net10.0/publish/DeepLearningProtocol/
├── DeepLearningProtocol/ # Main executable
│ ├── Program.cs # All protocol logic (573 lines)
│ └── DeepLearningProtocol.csproj
├── DeepLearningProtocol.Tests/ # Unit tests
│ └── DeepLearningProtocolTests.cs
├── docs/ # Documentation
│ ├── Architecture.md
│ ├── Getting-Started.md (this file)
│ ├── Testing.md
│ └── DLP-Guide.md
├── .vscode/
│ ├── tasks.json # VS Code tasks
│ └── launch.json # Debug config
└── .github/workflows/
└── dotnet.yml # CI/CD pipeline
The entire protocol is in Program.cs, organized as:
-
AbstractCore — Base reasoning layer
-
ProcessCoreReasoning(input)— Wraps in[Abstract Core]
-
-
DataLossPrevention — Content protection
-
IsSuspiciousContent(text)— Detects memes/binary data -
BackupState(currentState)— Archives previous states
-
-
DeepLearningProtocol — Main orchestrator
-
SetAim(goal)— Store goal -
ProcessAtDepth(input, depth)— Recursive processing -
PursueAim()— Execute workflow -
ExecuteProtocol(input, goal, depth)— Complete pipeline
-
-
Program — Interactive menu
-
Main()— Menu loop -
RunInteractiveProtocol()— User input -
DisplayFAQ()— FAQ browser
-
Q: What do I do if the build fails? A:
- Ensure .NET 10.0 is installed:
dotnet --version - Clear cache:
dotnet clean && dotnet build - Check Issues
Q: Can I run this on macOS/Linux/Windows? A: Yes! .NET is cross-platform. The app works on all three.
Q: What's the difference between Program.cs classes? A:
- AbstractCore — Does the thinking
- DataLossPrevention — Protects the data
- DeepLearningProtocol — Orchestrates thinking + protection
- Program — Manages user interaction
Q: How do I debug? A:
- Set breakpoint (click line number in VS Code)
- Press F5
- App pauses at breakpoint, inspect variables
Q: Where are state backups stored?
A: In ./.dlp_backups/ directory with timestamp-based filenames
Q: Can I modify the FAQ questions?
A: Yes! Edit the FAQs dictionary in Program.cs
- Explore the Code — Read through Program.cs
- Understand Architecture — See Architecture Guide
- Write a Test — Follow Testing Guide
- Learn DLP — Read DLP Guide
- Contribute — Check Contributing Guide
- 📖 Wiki — Full documentation
- 🐛 Issues — Report bugs
- 💬 Discussions — Ask questions
- 📧 Email — Contact maintainers
Ready to explore? Run the app now:
dotnet run --project DeepLearningProtocol/DeepLearningProtocol.csproj