Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agenticsorg/sparc-bench
/ functions
Functions
110 in github.com/agenticsorg/sparc-bench
⨍
Functions
110
◇
Types & classes
11
↓ 8 callers
Method
delegate_to_mode
Delegate task to specific roocode mode
swe-bench-workspace/swe_bench_orchestrator.py:174
↓ 3 callers
Method
_calculate_complexity
Calculate task complexity score (1-10)
swe-bench-workspace/dataset_manager.py:127
↓ 3 callers
Function
execute_query
Execute a query and return results.
swe-bench-sqlite/scripts/query_swe_bench_db.py:11
↓ 3 callers
Function
print_results
Print query results in a formatted table.
swe-bench-sqlite/scripts/query_swe_bench_db.py:21
↓ 3 callers
Method
run_benchmark
Run complete SWE-bench benchmark using roocode SPARC with enhanced filtering
swe-bench-workspace/swe_bench_orchestrator.py:557
↓ 3 callers
Method
update_task_status
Update task completion status in the database
swe-bench-workspace/swe_bench_orchestrator.py:259
↓ 3 callers
Method
validate_task_data
Validate dataset completeness
swe-bench-workspace/dataset_manager.py:165
↓ 2 callers
Method
_get_complexity_distribution
Get distribution of complexity scores
swe-bench-workspace/dataset_manager.py:272
↓ 2 callers
Method
_get_model_separability_info
Extract separability information from a model, handling nested cases. Args: model: The model to analyze
swe-bench-workspace/astropy_separability_fix.py:32
↓ 2 callers
Method
_get_repository_distribution
Get distribution of repositories
swe-bench-workspace/dataset_manager.py:280
↓ 2 callers
Method
compute_separability_matrix
Compute the corrected separability matrix for any model. Args: model: The model to analyze
swe-bench-workspace/astropy_separability_fix.py:166
↓ 2 callers
Method
get_completion_statistics
Get completion statistics from the database
swe-bench-workspace/swe_bench_orchestrator.py:501
↓ 2 callers
Method
get_database_stats
Get statistics from the SQLite database
swe-bench-workspace/swe_bench_orchestrator.py:448
↓ 2 callers
Function
get_db_stats
Get statistics from a SWE-bench database.
swe-bench-sqlite/scripts/compare_datasets.py:10
↓ 2 callers
Function
print_completion_report
Print comprehensive completion report
swe-bench-workspace/run_lite_benchmark.py:18
↓ 1 callers
Method
__init__
(self, n_inputs, n_outputs, name="")
swe-bench-workspace/astropy_separability_fix.py:189
↓ 1 callers
Method
_create_delegation_plan
Create task delegation plan for roocode modes
swe-bench-workspace/dataset_manager.py:112
↓ 1 callers
Method
_estimate_completion_time
Estimate completion time in minutes
swe-bench-workspace/dataset_manager.py:159
↓ 1 callers
Method
_extract_submodels
Recursively extract all submodels from a compound model. This flattens nested compound models to handle the core issue.
swe-bench-workspace/astropy_separability_fix.py:148
↓ 1 callers
Method
_handle_compound_model
Handle compound models by combining separability info from submodels. Args: compound_model: A compound model (e.
swe-bench-workspace/astropy_separability_fix.py:69
↓ 1 callers
Method
_handle_parallel_composition
Handle parallel composition (& operator). For parallel composition, inputs and outputs are stacked side by side. The
swe-bench-workspace/astropy_separability_fix.py:88
↓ 1 callers
Method
_handle_series_composition
Handle series composition (| operator). For series composition, models are chained together.
swe-bench-workspace/astropy_separability_fix.py:138
↓ 1 callers
Method
check_datasets
Check dataset availability and status
swe-bench-workspace/environment_validator.py:258
↓ 1 callers
Method
check_dependencies
Check required Python dependencies
swe-bench-workspace/environment_validator.py:79
↓ 1 callers
Method
check_python_environment
Check Python version and environment
swe-bench-workspace/environment_validator.py:53
↓ 1 callers
Method
check_roocode_configuration
Check roocode SPARC configuration
swe-bench-workspace/environment_validator.py:186
↓ 1 callers
Method
check_swe_bench_installation
Check SWE-bench installation and accessibility
swe-bench-workspace/environment_validator.py:132
↓ 1 callers
Method
check_workspace_structure
Check workspace directory structure
swe-bench-workspace/environment_validator.py:314
↓ 1 callers
Method
classify_task
Classify SWE-bench task to determine appropriate roocode mode
swe-bench-workspace/run-native-benchmark.py:93
↓ 1 callers
Method
convert
Main conversion process.
swe-bench-workspace/json_to_sqlite_converter.py:285
↓ 1 callers
Function
create_astropy_patch
Create the actual patch that would be applied to astropy. This would go in astropy/modeling/separable.py
swe-bench-workspace/astropy_separability_fix.py:276
↓ 1 callers
Function
create_database
Create SQLite database from SWE-bench Lite JSON file.
swe-bench-sqlite/scripts/load_swe_bench_to_sqlite.py:58
↓ 1 callers
Function
create_database_schema
Create the database schema with indexes.
swe-bench-sqlite/scripts/load_full_swe_bench_to_sqlite.py:25
↓ 1 callers
Method
create_sample_tasks
Create sample tasks that match SWE-bench format
swe-bench-workspace/run-swe-integration.py:70
↓ 1 callers
Method
create_schema
Create the SQLite database schema for SWE-bench tasks.
swe-bench-workspace/json_to_sqlite_converter.py:26
↓ 1 callers
Method
create_task_prompt
Create a detailed prompt for the auto-coder based on SWE-bench task
swe-bench-workspace/run-swe-integration.py:142
↓ 1 callers
Method
create_task_workspace
Create isolated workspace for individual task execution
swe-bench-workspace/swe_bench_orchestrator.py:160
↓ 1 callers
Function
create_test_cases
Create test cases that verify the fix works correctly. These would be added to astropy's test suite.
swe-bench-workspace/astropy_12907_solution.py:153
↓ 1 callers
Function
create_test_models
Create test models that reproduce the issue. Since we don't have access to astropy here, we'll create mock models that simulate the
swe-bench-workspace/astropy_separability_fix.py:180
↓ 1 callers
Method
delegate_to_autocoder
Use new_task to delegate SWE-bench problem to auto-coder mode
swe-bench-workspace/run-swe-integration.py:189
↓ 1 callers
Function
determine_completion_status
Determine the completion status of a task by checking result files. Returns: tuple: (status, details) where status is one of:
swe-bench-sqlite/scripts/load_full_swe_bench_to_sqlite.py:75
↓ 1 callers
Method
execute_task_workflow
Execute complete SPARC workflow for a single task
swe-bench-workspace/swe_bench_orchestrator.py:308
↓ 1 callers
Function
explain_the_fix
Detailed explanation of the fix and its implications.
swe-bench-workspace/astropy_12907_solution.py:229
↓ 1 callers
Method
generate_benchmark_summary
Generate comprehensive benchmark summary report
swe-bench-workspace/swe_bench_orchestrator.py:611
↓ 1 callers
Method
generate_benchmark_summary
Generate comprehensive benchmark summary
swe-bench-workspace/run-swe-integration.py:342
↓ 1 callers
Method
generate_readiness_summary
Generate human-readable readiness summary
swe-bench-workspace/environment_validator.py:431
↓ 1 callers
Method
generate_summary_report
Generate a summary report of the converted data.
swe-bench-workspace/json_to_sqlite_converter.py:219
↓ 1 callers
Method
generate_summary_report
Generate comprehensive dataset summary
swe-bench-workspace/dataset_manager.py:236
↓ 1 callers
Method
generate_task_list
Generate structured task list for delegation
swe-bench-workspace/dataset_manager.py:212
↓ 1 callers
Method
get_available_task
Get a random available task without revealing the solution. Args: exclude_repos: List of repository names to exc
swe-bench-sqlite/scripts/benchmark_db_helper.py:28
↓ 1 callers
Function
get_completion_status
Determine completion status for a task by checking result files. Returns: tuple: (status, details) where status is 'completed',
swe-bench-sqlite/scripts/load_swe_bench_to_sqlite.py:13
↓ 1 callers
Method
get_completion_summary
Get overall completion statistics.
swe-bench-sqlite/scripts/benchmark_db_helper.py:268
↓ 1 callers
Method
get_repo_statistics
Get completion statistics by repository.
swe-bench-sqlite/scripts/benchmark_db_helper.py:290
↓ 1 callers
Method
get_solution_after_completion
Get solution details ONLY for completed tasks. Args: instance_id: Task identifier Returns:
swe-bench-sqlite/scripts/benchmark_db_helper.py:235
↓ 1 callers
Method
get_step_analytics
Get step-based analytics for completed tasks.
swe-bench-sqlite/scripts/benchmark_db_helper.py:336
↓ 1 callers
Method
get_task_details
Get detailed task information including step log.
swe-bench-sqlite/scripts/benchmark_db_helper.py:379
↓ 1 callers
Method
get_tasks_by_repo
Get available tasks for a specific repository.
swe-bench-sqlite/scripts/benchmark_db_helper.py:76
↓ 1 callers
Method
insert_delegation_plans
Insert delegation plans into the database.
swe-bench-workspace/json_to_sqlite_converter.py:187
↓ 1 callers
Method
insert_metadata
Insert dataset metadata into the database.
swe-bench-workspace/json_to_sqlite_converter.py:137
↓ 1 callers
Function
insert_task_data
Insert task data into the database.
swe-bench-sqlite/scripts/load_full_swe_bench_to_sqlite.py:174
↓ 1 callers
Method
insert_tasks
Insert tasks into the database and return mapping of instance_id to task_id.
swe-bench-workspace/json_to_sqlite_converter.py:151
↓ 1 callers
Method
load_config
Load roocode SPARC configuration
swe-bench-workspace/run-native-benchmark.py:26
↓ 1 callers
Method
load_config
Load roocode SPARC configuration
swe-bench-workspace/run-swe-integration.py:31
↓ 1 callers
Function
load_from_huggingface
Load SWE-bench dataset from Hugging Face.
swe-bench-sqlite/scripts/load_full_swe_bench_to_sqlite.py:142
↓ 1 callers
Function
load_from_local_json
Load dataset from local JSON file.
swe-bench-sqlite/scripts/load_full_swe_bench_to_sqlite.py:165
↓ 1 callers
Method
load_json_data
Load and parse the JSON file.
swe-bench-workspace/json_to_sqlite_converter.py:125
↓ 1 callers
Method
load_lite_dataset
Load SWE-bench lite dataset (300 tasks)
swe-bench-workspace/dataset_manager.py:48
↓ 1 callers
Method
load_swe_bench_tasks
Load actual SWE-bench tasks using the SWE-bench system
swe-bench-workspace/run-swe-integration.py:46
↓ 1 callers
Method
load_task_list
Load task list from SQLite database with optional filtering
swe-bench-workspace/swe_bench_orchestrator.py:65
↓ 1 callers
Method
log_step
Log a step taken during task execution. Args: instance_id: Task identifier step_description: Descrip
swe-bench-sqlite/scripts/benchmark_db_helper.py:140
↓ 1 callers
Function
main
Main function with predefined queries.
swe-bench-sqlite/scripts/query_swe_bench_db.py:35
↓ 1 callers
Function
main
Compare the datasets.
swe-bench-sqlite/scripts/compare_datasets.py:40
↓ 1 callers
Function
main
Main function.
swe-bench-sqlite/scripts/load_full_swe_bench_to_sqlite.py:263
↓ 1 callers
Function
main
Main function to run the script.
swe-bench-sqlite/scripts/load_swe_bench_to_sqlite.py:197
↓ 1 callers
Function
main
Command line interface for benchmark database operations.
swe-bench-sqlite/scripts/benchmark_db_helper.py:424
↓ 1 callers
Function
main
Main execution function
swe-bench-workspace/environment_validator.py:477
↓ 1 callers
Function
main
Main execution function
swe-bench-workspace/run-native-benchmark.py:178
↓ 1 callers
Function
main
Main function
swe-bench-workspace/add_completion_tracking.py:205
↓ 1 callers
Function
main
Main execution function for SWE-bench orchestration
swe-bench-workspace/swe_bench_orchestrator.py:666
↓ 1 callers
Function
main
Main execution function
swe-bench-workspace/run-swe-integration.py:378
↓ 1 callers
Function
main
Main entry point for the converter.
swe-bench-workspace/json_to_sqlite_converter.py:326
↓ 1 callers
Function
main
Main function to run SWE-bench lite benchmark
swe-bench-workspace/run_lite_benchmark.py:51
↓ 1 callers
Function
main
Main execution function
swe-bench-workspace/dataset_manager.py:289
↓ 1 callers
Function
migrate_database
Add completion tracking columns to existing database
swe-bench-workspace/add_completion_tracking.py:15
↓ 1 callers
Method
parse_task_metadata
Parse task metadata for roocode SPARC delegation
swe-bench-workspace/dataset_manager.py:88
↓ 1 callers
Method
process_autocoder_result
Process the result from auto-coder and format for SWE-bench
swe-bench-workspace/run-swe-integration.py:266
↓ 1 callers
Method
run_benchmark_suite
Run a full benchmark suite using roocode SPARC
swe-bench-workspace/run-native-benchmark.py:130
↓ 1 callers
Method
run_comprehensive_validation
Run complete environment validation
swe-bench-workspace/environment_validator.py:389
↓ 1 callers
Method
run_swe_benchmark
Run complete SWE-bench integration with roocode SPARC
swe-bench-workspace/run-swe-integration.py:299
↓ 1 callers
Method
run_task
Execute a single SWE-bench task using roocode SPARC
swe-bench-workspace/run-native-benchmark.py:48
↓ 1 callers
Method
setup_environment
Configure environment for native execution
swe-bench-workspace/run-native-benchmark.py:35
↓ 1 callers
Method
setup_environment
Configure environment for SWE-bench integration
swe-bench-workspace/run-swe-integration.py:39
↓ 1 callers
Method
simulate_new_task_delegation
Simulate new_task delegation to auto-coder mode
swe-bench-workspace/run-swe-integration.py:224
↓ 1 callers
Method
simulate_roocode_execution
Simulate roocode SPARC execution (replace with actual integration)
swe-bench-workspace/run-native-benchmark.py:108
↓ 1 callers
Method
start_task
Mark task as started and record start time. Args: instance_id: Task identifier Returns:
swe-bench-sqlite/scripts/benchmark_db_helper.py:108
↓ 1 callers
Function
test_separability_fix
Test the separability matrix fix.
swe-bench-workspace/astropy_separability_fix.py:230
↓ 1 callers
Function
update_completion_summary
Update the completion summary table.
swe-bench-sqlite/scripts/load_full_swe_bench_to_sqlite.py:229
↓ 1 callers
Method
update_task_status
Update task completion status. Args: instance_id: Task identifier status: 'completed', 'failed', 'pa
swe-bench-sqlite/scripts/benchmark_db_helper.py:192
↓ 1 callers
Function
validate_setup
()
swe-bench-workspace/validate-setup.py:12
Method
__init__
Initialize with database path.
swe-bench-sqlite/scripts/benchmark_db_helper.py:19
next →
1–100 of 110, ranked by callers