generated from coulomb/repo-seed
baseline repo characteristics no longer crowd the candidate graph
This commit is contained in:
@@ -68,12 +68,7 @@ def test_candidate_generator_builds_purpose_seed_from_observed_facts():
|
||||
assert interface_capability.features[0].name == "POST /classify"
|
||||
assert interface_capability.features[0].location == "app.py"
|
||||
assert interface_capability.evidence[0].strength == "strong"
|
||||
structure_capability = ability.capabilities[1]
|
||||
assert structure_capability.name == "Describe Repository Structure"
|
||||
assert {
|
||||
"utility-dependency",
|
||||
"review-required-structural-context",
|
||||
} <= set(structure_capability.attributes)
|
||||
assert len(ability.capabilities) == 1
|
||||
|
||||
|
||||
def test_candidate_generator_extracts_intended_capability_blocks_from_intent_chunks():
|
||||
@@ -265,7 +260,7 @@ def test_candidate_confidence_scoring_increases_with_supporting_facts():
|
||||
|
||||
assert graph[0].confidence == 1.0
|
||||
assert graph[0].capabilities[0].confidence == 0.85
|
||||
assert graph[0].capabilities[1].confidence == 0.75
|
||||
assert len(graph[0].capabilities) == 1
|
||||
|
||||
|
||||
def test_candidate_generator_names_cli_features_from_nearby_function():
|
||||
|
||||
Reference in New Issue
Block a user