agents.common.models.task_analysis.solvabilityΒΆ
Task solvability and readiness assessment.
This module analyzes whether tasks are currently solvable, what barriers exist, and what would be required to make unsolvable tasks solvable.
ClassesΒΆ
Comprehensive assessment of task solvability and readiness. |
|
Types of barriers that prevent task solvability. |
Module ContentsΒΆ
- class agents.common.models.task_analysis.solvability.SolvabilityAssessment(/, **data)ΒΆ
Bases:
pydantic.BaseModel
Comprehensive assessment of task solvability and readiness.
Analyzes whether a task can be solved with current capabilities, what barriers exist, and what would be required to overcome them.
- Parameters:
data (Any)
- solvability_statusΒΆ
Current solvability classification
- is_currently_solvableΒΆ
Whether task can be solved right now
- confidence_levelΒΆ
Confidence in the solvability assessment
- primary_barriersΒΆ
Main obstacles preventing solution
- secondary_barriersΒΆ
Additional challenges that may arise
- enabling_factorsΒΆ
Factors that make the task more solvable
- breakthrough_requirementsΒΆ
What breakthroughs would be needed
- estimated_time_to_solvableΒΆ
Time until task becomes solvable
- alternative_approachesΒΆ
Possible alternative solution paths
Example
# Simple factual lookup - highly solvable assessment = SolvabilityAssessment( solvability_status=SolvabilityStatus.READY, is_currently_solvable=True, confidence_level=0.95, primary_barriers=[], enabling_factors=["web_search", "public_databases"], estimated_time_to_solvable=timedelta(0) ) # Cancer cure - major breakthrough required assessment = SolvabilityAssessment( solvability_status=SolvabilityStatus.THEORETICAL, is_currently_solvable=False, confidence_level=0.7, primary_barriers=[ SolvabilityBarrier.KNOWLEDGE_GAP, SolvabilityBarrier.TECHNOLOGY_LIMITATION, SolvabilityBarrier.RESOURCE_CONSTRAINT ], breakthrough_requirements=[ "fundamental_understanding_of_cancer_biology", "advanced_genetic_engineering_tools", "personalized_medicine_capabilities" ], estimated_time_to_solvable=timedelta(days=7300) # ~20 years )
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- estimate_breakthrough_timeline()ΒΆ
Estimate timeline for required breakthroughs.
- generate_solvability_report()ΒΆ
Generate a comprehensive solvability report.
- Returns:
Formatted report string
- Return type:
- get_addressable_barriers()ΒΆ
Get barriers that could potentially be addressed.
- Returns:
List of barriers that might be overcome
- Return type:
- get_immediate_actions()ΒΆ
Get recommended immediate actions to improve solvability.
- get_solvability_score()ΒΆ
Get solvability as a normalized score (0.0-1.0).
- Returns:
Normalized solvability score
- Return type:
- has_showstopper_barriers()ΒΆ
Check if task has barriers that are absolute showstoppers.
- Returns:
True if task has insurmountable barriers
- Return type:
- validate_solvability_consistency()ΒΆ
Validate that solvability assessment is internally consistent.
- Returns:
Self if validation passes
- Raises:
ValueError β If assessment has inconsistencies
- Return type:
- model_configΒΆ
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class agents.common.models.task_analysis.solvability.SolvabilityBarrierΒΆ
-
Types of barriers that prevent task solvability.
- KNOWLEDGE_GAPΒΆ
Missing fundamental knowledge or understanding
- TECHNOLOGY_LIMITATIONΒΆ
Current technology is insufficient
- RESOURCE_CONSTRAINTΒΆ
Insufficient computational, financial, or material resources
- THEORETICAL_IMPOSSIBILITYΒΆ
Task violates known physical or logical laws
- REGULATORY_BARRIERΒΆ
Legal, ethical, or regulatory constraints
- COORDINATION_COMPLEXITYΒΆ
Too complex to coordinate effectively
- TIME_CONSTRAINTΒΆ
Not enough time available given current methods
- DATA_UNAVAILABILITYΒΆ
Required data doesnβt exist or isnβt accessible
- EXPERT_UNAVAILABILITYΒΆ
Required human expertise not available
- INFRASTRUCTURE_LIMITATIONΒΆ
Missing necessary infrastructure or systems
- ETHICAL_CONCERNΒΆ
Ethical issues prevent pursuit of solution
- SAFETY_RISKΒΆ
Safety risks are too high to attempt
Initialize self. See help(type(self)) for accurate signature.