wip: [01-stabilize] paused at task 1/1 - OCR Hallucination Immune logic via Semantic delta window and fret-isolation

This commit is contained in:
2026-03-29 22:08:40 +09:00
parent aca7bf592a
commit 2507de45d3
4289 changed files with 732689 additions and 28672 deletions

View File

@@ -0,0 +1,4 @@
# .devcontainer
The files in this directory configure a VSCode environment like
GitHub codespaces.

View File

@@ -0,0 +1,13 @@
if [ -z "$(docker images -q sweagent/swe-agent 2> /dev/null)" ]; then
echo "⚠️ Please wait for the postCreateCommand to start and finish (a new window will appear shortly) ⚠️"
fi
echo "Here's an example SWE-agent command to try out:"
echo "sweagent run \\
--agent.model.name=claude-sonnet-4-20250514 \\
--agent.model.per_instance_cost_limit=2.00 \\
--env.repo.github_url=https://github.com/SWE-agent/test-repo \\
--problem_statement.github_url=https://github.com/SWE-agent/test-repo/issues/1 \\
"

View File

@@ -0,0 +1,22 @@
{
"name": "SWE-Agent Codespace",
"image": "mcr.microsoft.com/vscode/devcontainers/miniconda:0-3",
"customizations":{
"vscode":{
"extensions": [
"ms-python.python",
"ms-azuretools.vscode-docker",
"ms-toolsai.jupyter"
]
}
},
"onCreateCommand": "./.devcontainer/oncreate.sh",
"postCreateCommand": "./.devcontainer/postcreate.sh",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
],
"remoteUser": "vscode"
}

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
set -x
# Run from repo root
sudo usermod -aG docker vscode
sudo chmod 666 /var/run/docker.sock
pip install -e '.'
cp .devcontainer/sample_keys.cfg keys.cfg
cat .devcontainer/bashrc_epilog.sh >> ~/.bashrc

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
set -x
pip install -e '.'

View File

@@ -0,0 +1,11 @@
# All keys are commented out by default. Make sure to remove the leading '#' of the relevant lines
# GITHUB_TOKEN: 'GitHub Token to clone private repos'
# OPENAI_API_KEY: 'OpenAI API Key Here if using OpenAI Model'
# ANTHROPIC_API_KEY: 'Anthropic API Key Here if using Anthropic Model'
# TOGETHER_API_KEY: 'Together API Key Here if using Together Model'
# AZURE_OPENAI_API_KEY: 'Azure OpenAI API Key Here if using Azure OpenAI Model'
# AZURE_OPENAI_ENDPOINT: 'Azure OpenAI Endpoint Here if using Azure OpenAI Model'
# AZURE_OPENAI_DEPLOYMENT: 'Azure OpenAI Deployment Here if using Azure OpenAI Model'
# AZURE_OPENAI_API_VERSION: 'Azure OpenAI API Version Here if using Azure OpenAI Model'
# OPENAI_API_BASE_URL: 'LM base URL here if using Local or alternative api Endpoint'
# GROQ_API_KEY: 'Groq Models API Key'