Skip to content

Commit 86f46fd

Browse files
committed
Merge branch 'main' into fe-rag
2 parents 6b9e79c + f329d92 commit 86f46fd

File tree

7 files changed

+618
-92
lines changed

7 files changed

+618
-92
lines changed

backend/app/main.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ def generate_graph_with_edges():
321321
"contributor_overlap_threshold": 2,
322322
"shared_organization_enabled": false,
323323
"common_stargazers_enabled": true,
324-
"stargazer_overlap_threshold": 3
324+
"stargazer_overlap_threshold": 3,
325+
"strict_and_logic": true
325326
}
326327
}
327328
"""
@@ -371,7 +372,7 @@ def generate_graph_with_edges():
371372
gexf_content = f.read()
372373

373374
# Get comprehensive statistics
374-
graph_stats = edge_generation_service.get_edge_statistics(G)
375+
graph_stats = edge_generation_service.get_detailed_edge_statistics(G)
375376

376377
return jsonify({
377378
"success": True,
@@ -441,6 +442,12 @@ def get_edge_generation_criteria():
441442
"type": "boolean",
442443
"default": False,
443444
"category": "Logic Control"
445+
},
446+
"strict_and_logic": {
447+
"description": "Use strict AND logic to require ALL enabled criteria to be satisfied simultaneously",
448+
"type": "boolean",
449+
"default": False,
450+
"category": "Logic Control"
444451
}
445452
}
446453

@@ -641,7 +648,7 @@ def create_edges_on_graph():
641648
updated_gexf_content = f.read()
642649

643650
# Get statistics
644-
graph_stats = edge_service.get_edge_statistics(G)
651+
graph_stats = edge_service.get_detailed_edge_statistics(G)
645652

646653
return jsonify({
647654
"success": True,

0 commit comments

Comments
 (0)