diff --git a/docs/index.md b/docs/index.md index 1ba00d739..9dd51c4fb 100644 --- a/docs/index.md +++ b/docs/index.md @@ -160,6 +160,7 @@ specs/formal lessons/README migration/README +migration/autonomous-execution-v2 migration/raes-rename research/experiment-core/index research/realization-envelope/index diff --git a/implementations/python/packages/raes_contracts/contracts/__init__.py b/implementations/python/packages/raes_contracts/contracts/__init__.py index fd46389ab..9d0105a88 100644 --- a/implementations/python/packages/raes_contracts/contracts/__init__.py +++ b/implementations/python/packages/raes_contracts/contracts/__init__.py @@ -1,5 +1,8 @@ """Schema-first external contract models for RAES artifact boundaries.""" +# This module is an intentional re-export facade governed by PUBLIC_EXPORTS. +# ruff: noqa: F401, F403 + from ..versions import ( ASSOCIATED_ARTIFACT_MANIFEST_SCHEMA_VERSION, ATLAS_TACTICS_SOURCE_SCHEMA_VERSION, @@ -43,6 +46,7 @@ WorkflowFeature, WorkflowStatePredicateFeature, ) +from ._exports import PUBLIC_EXPORTS as __all__ from .associated_artifacts import AssociatedArtifactManifestModel, AssociatedArtifactSetDigestString from .base import ( BehavioralClaimBindingModel, @@ -356,146 +360,3 @@ NistCsfDefensiveCategorySourceModel, NistCsfDefensiveCategorySourceTermModel, ) - -# fmt: off -__all__ = [ - "AcesSemanticInvariantEntryModel", "AcesSemanticInvariantInputModel", "AcesSemanticInvariantProfileModel", - "AcesSemanticInvariantProfileReferenceModel", "ATTACK_ENTERPRISE_TACTICS_SOURCE_SCHEMA_VERSION", - "ATLAS_TACTICS_SOURCE_SCHEMA_VERSION", "AttackEnterpriseTacticSourceTermModel", - "AttackEnterpriseTacticsSourceModel", "AtlasTacticSourceTermModel", "AtlasTacticsSourceModel", - "ASSOCIATED_ARTIFACT_MANIFEST_SCHEMA_VERSION", "AssociatedArtifactManifestModel", - "AssociatedArtifactParentReferenceModel", "AssociatedArtifactSetDigestString", - "BACKEND_MANIFEST_V2_SCHEMA_VERSION", "ApparatusIdentityModel", "BackendCompatibilityModel", - "BackendManifestV2Model", "BackendCapabilitiesV2Model", "BehavioralClaimBindingModel", "BehavioralRelationId", - "BehavioralTaxonomyRevision", "CONCEPT_FAMILIES_SCHEMA_VERSION", "ConceptBindingEntryModel", - "ConceptFamilyCatalogModel", "ConceptFamilyDefinitionModel", "ConceptFamilyId", "ConceptProvenanceCategory", - "CONTROLLED_VOCABULARIES_SCHEMA_VERSION", "ControlledVocabularyCatalogModel", - "ControlledVocabularyDefinitionModel", "ControlledVocabularySourceModel", "ControlledVocabularyTermId", - "ControlledVocabularyTermModel", "ContractModel", "ExperimentAnalysisPlanModel", - "NIST_CSF_DEFENSIVE_CATEGORIES_SOURCE_SCHEMA_VERSION", "NistCsfDefensiveCategorySourceModel", - "NistCsfDefensiveCategorySourceTermModel", - "ApparatusBindingTargetModel", "BindingOwnerModel", "BindingScalarType", - "ConfigurationTargetDeclarationModel", "ConfigurationTargetRegistryModel", - "ExperimentApparatusCompatibilityReferenceModel", "ExperimentApparatusComponentModel", - "ExperimentApparatusConstraintModel", "ExperimentApparatusContextModel", "ExperimentArtifactRefModel", - "ExperimentAugmentationDisclosureModel", "ExperimentBackendReferenceModel", - "ExperimentCaptureRequirementModel", "ExperimentCaptureSpecModel", "ExperimentCaptureSpecReferenceModel", - "ExperimentBindingDescriptorModel", "ExperimentBindingDescriptorSetModel", - "ExperimentCaptureWindowModel", "ExperimentChecksumModel", "ExperimentClockContextModel", - "ExperimentConditionAssignmentParameterModel", "ExperimentConditionAssignmentReferenceModel", - "ExperimentDerivedMeasureMethodModel", "ExperimentDerivedMeasureModel", - "ExperimentDerivedMeasureReferenceModel", "ExperimentEpisodeControlModel", "ExperimentEvidenceRecordModel", - "ExperimentEvidenceRecordReferenceModel", "ExperimentEvidenceReferenceModel", - "ExperimentEvaluationProtocolModel", "ExperimentInvalidationModel", "ExperimentManifestReferenceModel", - "ExperimentMeasurementChannelReferenceModel", "ExperimentMetricDefinitionModel", - "ExperimentMissingDataPolicyModel", "ExperimentMultipleComparisonPolicyModel", "ExperimentParameterModel", - "ExperimentProcessorReferenceModel", "ExperimentRealizedFormDisclosureModel", - "ExperimentRedVariantSelectionModel", "ExperimentReferenceModel", "ExperimentResultSummaryModel", - "ExperimentRunAllocationPlanModel", "ExperimentRunModel", "ExperimentRunPlanModel", - "ExperimentRunTraceabilityModel", "ExperimentScenarioReferenceModel", - "ExperimentScenarioSnapshotReferenceModel", "ExperimentSpecModel", "ExperimentSplitAndLeakageControlsModel", - "ExperimentStatisticalMethodModel", "ExperimentStochasticControlModel", "ExperimentStudyFactorModel", - "ExperimentStudyMembershipModel", "ExperimentStudyModel", "ExperimentTaskReferenceModel", - "ExperimentTaskModel", "ExperimentUncertaintyMethodModel", "ExperimentValidityNoteModel", - "LiteralBindingValueModel", "ParticipantConfigurationModel", "ParticipantConfigurationResultModel", - "ParticipantImplementationBindingTargetModel", - "RealizedBindingProvenanceModel", "ScenarioBindingTargetModel", "SecretReferenceBindingValueModel", - "EXPERIMENT_APPARATUS_CONTEXT_SCHEMA_VERSION", "EXPERIMENT_AUTHORING_INPUT_SCHEMA_VERSION", - "EXPERIMENT_BINDING_DESCRIPTORS_V1_SCHEMA_VERSION", - "EXPERIMENT_CAPTURE_SPEC_SCHEMA_VERSION", "EXPERIMENT_DERIVED_MEASURE_SCHEMA_VERSION", - "EXPERIMENT_EVIDENCE_RECORD_SCHEMA_VERSION", "EXPERIMENT_RUN_SCHEMA_VERSION", - "EXPERIMENT_STUDY_SCHEMA_VERSION", "EXPERIMENT_TASK_SCHEMA_VERSION", "EvaluationHistoryEventModel", - "EvaluationPlanModel", "EvaluationResultStateModel", "PropositionAssertionPolarity", - "PropositionEvaluationBasis", "PropositionIndeterminacyReason", "PropositionLossDisclosureModel", - "PropositionLossKind", "PropositionProbeBindingModel", "PropositionTemporalContextModel", - "PropositionTruthOutcome", "PropositionTruthResultModel", "EVALUATION_STATE_SCHEMA_VERSION", - "EvaluatorCapabilitiesModel", "EventClassificationModel", "InstantiationRequestModel", - "OPERATION_SCHEMA_VERSION", "OperationReceiptModel", "OperationStatusModel", "ObservationCapabilitiesModel", - "OrchestrationPlanModel", "OrchestratorCapabilitiesModel", "PARTICIPANT_EPISODE_STATE_SCHEMA_VERSION", - "PARTICIPANT_IMPLEMENTATION_MANIFEST_V1_SCHEMA_VERSION", - "PARTICIPANT_IMPLEMENTATION_PROVENANCE_V1_SCHEMA_VERSION", - "PARTICIPANT_CONFIGURATION_RESULT_V1_SCHEMA_VERSION", "ParticipantActionEffectResultModel", - "ParticipantActionPreconditionResultModel", "ParticipantActionResultModel", - "ParticipantAttributionCandidateModel", "ParticipantAttributionEdgeModel", - "ParticipantAttributionEvidenceBasisModel", "ParticipantAttributionOrderingBasisModel", - "ParticipantActivityOccurrenceProvenanceModel", "ParticipantAutonomousExecutionStateModel", - "ParticipantBehaviorHistoryEventModel", - "ParticipantContextViewModel", "ParticipantControlDeclarationModel", - "ParticipantControlOccurrenceModel", "ParticipantCrossingOccurrenceModel", - "validate_participant_control_occurrence_context", - "validate_participant_crossing_occurrence_context", - "ParticipantDecisionSurfaceActionEntryModel", - "ParticipantDecisionSurfaceCandidateSetFormModel", - "ParticipantDecisionSurfaceConstrainedFormModel", - "ParticipantDecisionSurfaceExposureBindingModel", - "ParticipantDecisionSurfaceExposureRealizationModel", "ParticipantDecisionSurfaceModel", - "ParticipantDecisionSurfaceAssuranceV2Model", - "ParticipantDecisionSurfaceBehaviorAnchorV2Model", - "ParticipantDecisionSurfaceCausalCutModel", - "ParticipantDecisionSurfaceDeliveryV2Model", - "ParticipantDecisionSurfaceDerivationAnchorV2Model", - "ParticipantDecisionSurfaceEpisodeReadinessAnchorV2Model", - "ParticipantDecisionSurfaceExposureBindingV2Model", - "ParticipantDecisionSurfaceOpenEndedFormModel", - "ParticipantDecisionSurfaceSelectionModel", - "ParticipantDecisionSurfaceSelectionV2Model", - "ParticipantDecisionSurfaceSequenceCutModel", - "ParticipantDecisionSurfaceStateCutModel", - "ParticipantDecisionSurfaceStateCutOrderModel", - "ParticipantDecisionSurfaceV2Model", - "ParticipantDecisionSurfaceViewV2Model", - "validate_participant_decision_surface_context", "ParticipantEpisodeHistoryEventModel", - "ParticipantEpisodeStateModel", "ParticipantExposurePolicyModel", "ParticipantFeatureSupportLevel", - "ParticipantFeatureSupportModel", "ParticipantHistoryViewBehaviorEventModel", - "ParticipantHistoryViewEpisodeEventModel", "ParticipantHistoryViewModel", - "ParticipantImplementationCapabilitiesModel", "ParticipantImplementationCompatibilityModel", - "ParticipantImplementationManifestModel", "ParticipantImplementationProvenanceModel", - "ParticipantImplementationSelectionModel", "ParticipantJointActionAccessSetModel", - "ParticipantJointActionRecordModel", "ParticipantLifecycleEventModel", "ParticipantObservationEnvelopeModel", - "ParticipantObservationLossDescriptorModel", "ParticipantObservationStochasticContextModel", - "ParticipantOutcomeInterpretationRecordModel", "ParticipantOutcomeReportModel", - "ParticipantOutcomeReportSourceModel", "ParticipantOutcomeReportStateRelationshipModel", - "ParticipantOutcomeSourceRecordModel", "ParticipantOutcomeTargetRecordModel", - "ParticipantRuntimeBaseEnvelopeModel", "ParticipantRuntimeCapabilitiesModel", - "ParticipantSharedStateAccessModel", "ParticipantSharedStateRecordModel", - "ParticipantStatusViewEpisodeStateModel", "ParticipantStatusViewModel", - "ParticipantTemporalRuntimeContextModel", "ParticipantTimeManagementContextModel", - "VIEW_SCOPE_PROJECTED_FIELDS", "PlanOperationModel", "ProcessorFeature", - "PROCESSOR_MANIFEST_V2_SCHEMA_VERSION", "ProcessorManifestV2Model", "ProcessorCompatibilityModel", - "ProcessorCapabilitiesV2Model", "ProvisionerCapabilitiesModel", "ProvisioningPlanModel", - "RANDOM_STREAM_DRAW_PURPOSE_SCOPE", "RANDOM_STREAM_PROFILE_SCHEMA_VERSION", - "RANDOM_STREAM_VECTOR_SCHEMA_VERSION", "GovernedEntropyRefModel", "GovernedRandomOutcomeRefModel", - "PublicRandomOutcomeModel", "PublicSeedModel", "RandomDrawOutcomeModel", - "RandomStreamAddressEncodingSpecModel", "RandomStreamBlockEncodingSpecModel", - "RandomStreamBoundedIntegerVectorCaseModel", "RandomStreamControlBindingModel", - "RandomStreamDerivationSpecModel", "RandomStreamDrawRecordModel", "RandomStreamGeneratorModel", - "RandomStreamProfileModel", "RandomStreamProfileReferenceModel", "RandomStreamRootEntropySpecModel", - "RandomStreamTransformSpecModel", "RandomStreamVectorModel", "RootEntropyModel", "StreamAddressModel", - "TrialCoordinateModel", - "RealizationEnvelopeIdentityModel", "RawDataIntegrityModel", "RealizationProvenanceEntryModel", - "RealizationSupportDeclarationModel", "RealizationSupportMode", "ReferenceModelCatalogModel", - "ReferenceModelDefinitionModel", "ReferenceModelSchemaBindingModel", "REFERENCE_MODELS_SCHEMA_VERSION", - "REUSABLE_ASSET_EVIDENCE_CLASSES", "REUSABLE_ASSET_FAMILIES", "REUSABLE_ASSET_TRUST_POLICY_SCHEMA_VERSION", - "RUNTIME_SNAPSHOT_SCHEMA_VERSION", "ReusableAssetAuthenticityPolicyModel", - "ReusableAssetEvidenceRequirementModel", "ReusableAssetFamilyTrustPolicyModel", - "ReusableAssetTrustPolicyModel", "RUNTIME_FACT_BINDING_PLANE_V1_SCHEMA_VERSION", - "RuntimeFactAbsenceDisposition", "RuntimeFactAudience", "RuntimeFactBindingDisposition", - "RuntimeFactBindingEventModel", "RuntimeFactBindingPlaneModel", "RuntimeFactBindingRequestModel", - "RuntimeFactBindingSelectionModel", "RuntimeFactDeclarationModel", "RuntimeFactProjectionModel", - "RuntimeFactScopeKind", "RuntimeFactScopeModel", "RuntimeFactSensitivity", "RuntimeFactSinkModel", - "RuntimeFactSourceKind", "RuntimeFactValueType", "RuntimeFactVersionModel", "RuntimeFactVisibilityModel", - "RuntimeSnapshotEnvelopeModel", - "SCENARIO_INSTANTIATION_REQUEST_SCHEMA_VERSION", "SEMANTIC_PROFILE_SCHEMA_VERSION", "schema_bundle", - "SemanticBehaviorAssumptionModel", "SemanticProfileModel", "SemanticProfilePhaseModel", "SnapshotEntryModel", - "SourcePipelineModel", "SourceStatusModel", "UcoAlignmentCatalogModel", "UcoAlignmentTypeModel", - "UcoFamilyAlignmentModel", "UCO_ALIGNMENT_SCHEMA_VERSION", "WorkflowCancellationRequestModel", - "WORKFLOW_CANCELLATION_REQUEST_SCHEMA_VERSION", "WorkflowExecutionStateModel", "WorkflowFeature", - "WorkflowHistoryEventModel", "WorkflowStatePredicateFeature", "WorkflowStepStateModel", - "WORKFLOW_STATE_SCHEMA_VERSION", "validate_aces_semantic_invariant_annotations", - "validate_experiment_apparatus_context_against_manifests", - "validate_experiment_apparatus_context_archival_datetimes", "validate_experiment_run_against_task", - "validate_experiment_run_archival_datetimes", "validate_experiment_study_against_tasks_and_runs", - "validate_experiment_study_archival_datetimes", "validate_experiment_task_archival_datetimes", - "ValidationBasisDisclosureDocumentModel", "validate_experiment_run_time_model", "TimeCapabilitiesModel", -] -# fmt: on diff --git a/implementations/python/packages/raes_contracts/contracts/_exports.py b/implementations/python/packages/raes_contracts/contracts/_exports.py new file mode 100644 index 000000000..df23c07da --- /dev/null +++ b/implementations/python/packages/raes_contracts/contracts/_exports.py @@ -0,0 +1,315 @@ +"""Canonical public export manifest for the contracts facade.""" + +PUBLIC_EXPORTS = [ + "AcesSemanticInvariantEntryModel", + "AcesSemanticInvariantInputModel", + "AcesSemanticInvariantProfileModel", + "AcesSemanticInvariantProfileReferenceModel", + "ATTACK_ENTERPRISE_TACTICS_SOURCE_SCHEMA_VERSION", + "ATLAS_TACTICS_SOURCE_SCHEMA_VERSION", + "AttackEnterpriseTacticSourceTermModel", + "AttackEnterpriseTacticsSourceModel", + "AtlasTacticSourceTermModel", + "AtlasTacticsSourceModel", + "ASSOCIATED_ARTIFACT_MANIFEST_SCHEMA_VERSION", + "AssociatedArtifactManifestModel", + "AssociatedArtifactParentReferenceModel", + "AssociatedArtifactSetDigestString", + "BACKEND_MANIFEST_V2_SCHEMA_VERSION", + "ApparatusIdentityModel", + "BackendCompatibilityModel", + "BackendManifestV2Model", + "BackendCapabilitiesV2Model", + "BehavioralClaimBindingModel", + "BehavioralRelationId", + "BehavioralTaxonomyRevision", + "CONCEPT_FAMILIES_SCHEMA_VERSION", + "ConceptBindingEntryModel", + "ConceptFamilyCatalogModel", + "ConceptFamilyDefinitionModel", + "ConceptFamilyId", + "ConceptProvenanceCategory", + "CONTROLLED_VOCABULARIES_SCHEMA_VERSION", + "ControlledVocabularyCatalogModel", + "ControlledVocabularyDefinitionModel", + "ControlledVocabularySourceModel", + "ControlledVocabularyTermId", + "ControlledVocabularyTermModel", + "ContractModel", + "ExperimentAnalysisPlanModel", + "NIST_CSF_DEFENSIVE_CATEGORIES_SOURCE_SCHEMA_VERSION", + "NistCsfDefensiveCategorySourceModel", + "NistCsfDefensiveCategorySourceTermModel", + "ApparatusBindingTargetModel", + "BindingOwnerModel", + "BindingScalarType", + "ConfigurationTargetDeclarationModel", + "ConfigurationTargetRegistryModel", + "ExperimentApparatusCompatibilityReferenceModel", + "ExperimentApparatusComponentModel", + "ExperimentApparatusConstraintModel", + "ExperimentApparatusContextModel", + "ExperimentArtifactRefModel", + "ExperimentAugmentationDisclosureModel", + "ExperimentBackendReferenceModel", + "ExperimentCaptureRequirementModel", + "ExperimentCaptureSpecModel", + "ExperimentCaptureSpecReferenceModel", + "ExperimentBindingDescriptorModel", + "ExperimentBindingDescriptorSetModel", + "ExperimentCaptureWindowModel", + "ExperimentChecksumModel", + "ExperimentClockContextModel", + "ExperimentConditionAssignmentParameterModel", + "ExperimentConditionAssignmentReferenceModel", + "ExperimentDerivedMeasureMethodModel", + "ExperimentDerivedMeasureModel", + "ExperimentDerivedMeasureReferenceModel", + "ExperimentEpisodeControlModel", + "ExperimentEvidenceRecordModel", + "ExperimentEvidenceRecordReferenceModel", + "ExperimentEvidenceReferenceModel", + "ExperimentEvaluationProtocolModel", + "ExperimentInvalidationModel", + "ExperimentManifestReferenceModel", + "ExperimentMeasurementChannelReferenceModel", + "ExperimentMetricDefinitionModel", + "ExperimentMissingDataPolicyModel", + "ExperimentMultipleComparisonPolicyModel", + "ExperimentParameterModel", + "ExperimentProcessorReferenceModel", + "ExperimentRealizedFormDisclosureModel", + "ExperimentRedVariantSelectionModel", + "ExperimentReferenceModel", + "ExperimentResultSummaryModel", + "ExperimentRunAllocationPlanModel", + "ExperimentRunModel", + "ExperimentRunPlanModel", + "ExperimentRunTraceabilityModel", + "ExperimentScenarioReferenceModel", + "ExperimentScenarioSnapshotReferenceModel", + "ExperimentSpecModel", + "ExperimentSplitAndLeakageControlsModel", + "ExperimentStatisticalMethodModel", + "ExperimentStochasticControlModel", + "ExperimentStudyFactorModel", + "ExperimentStudyMembershipModel", + "ExperimentStudyModel", + "ExperimentTaskReferenceModel", + "ExperimentTaskModel", + "ExperimentUncertaintyMethodModel", + "ExperimentValidityNoteModel", + "LiteralBindingValueModel", + "ParticipantConfigurationModel", + "ParticipantConfigurationResultModel", + "ParticipantImplementationBindingTargetModel", + "RealizedBindingProvenanceModel", + "ScenarioBindingTargetModel", + "SecretReferenceBindingValueModel", + "EXPERIMENT_APPARATUS_CONTEXT_SCHEMA_VERSION", + "EXPERIMENT_AUTHORING_INPUT_SCHEMA_VERSION", + "EXPERIMENT_BINDING_DESCRIPTORS_V1_SCHEMA_VERSION", + "EXPERIMENT_CAPTURE_SPEC_SCHEMA_VERSION", + "EXPERIMENT_DERIVED_MEASURE_SCHEMA_VERSION", + "EXPERIMENT_EVIDENCE_RECORD_SCHEMA_VERSION", + "EXPERIMENT_RUN_SCHEMA_VERSION", + "EXPERIMENT_STUDY_SCHEMA_VERSION", + "EXPERIMENT_TASK_SCHEMA_VERSION", + "EvaluationHistoryEventModel", + "EvaluationPlanModel", + "EvaluationResultStateModel", + "PropositionAssertionPolarity", + "PropositionEvaluationBasis", + "PropositionIndeterminacyReason", + "PropositionLossDisclosureModel", + "PropositionLossKind", + "PropositionProbeBindingModel", + "PropositionTemporalContextModel", + "PropositionTruthOutcome", + "PropositionTruthResultModel", + "EVALUATION_STATE_SCHEMA_VERSION", + "EvaluatorCapabilitiesModel", + "EventClassificationModel", + "InstantiationRequestModel", + "OPERATION_SCHEMA_VERSION", + "OperationReceiptModel", + "OperationStatusModel", + "ObservationCapabilitiesModel", + "OrchestrationPlanModel", + "OrchestratorCapabilitiesModel", + "PARTICIPANT_EPISODE_STATE_SCHEMA_VERSION", + "PARTICIPANT_IMPLEMENTATION_MANIFEST_V1_SCHEMA_VERSION", + "PARTICIPANT_IMPLEMENTATION_PROVENANCE_V1_SCHEMA_VERSION", + "PARTICIPANT_CONFIGURATION_RESULT_V1_SCHEMA_VERSION", + "ParticipantActionEffectResultModel", + "ParticipantActionPreconditionResultModel", + "ParticipantActionResultModel", + "ParticipantAttributionCandidateModel", + "ParticipantAttributionEdgeModel", + "ParticipantAttributionEvidenceBasisModel", + "ParticipantAttributionOrderingBasisModel", + "ParticipantActivityOccurrenceProvenanceModel", + "ParticipantAutonomousExecutionStateModel", + "ParticipantBehaviorHistoryEventModel", + "ParticipantContextViewModel", + "ParticipantControlDeclarationModel", + "ParticipantControlOccurrenceModel", + "ParticipantCrossingOccurrenceModel", + "validate_participant_control_occurrence_context", + "validate_participant_crossing_occurrence_context", + "ParticipantDecisionSurfaceActionEntryModel", + "ParticipantDecisionSurfaceCandidateSetFormModel", + "ParticipantDecisionSurfaceConstrainedFormModel", + "ParticipantDecisionSurfaceExposureBindingModel", + "ParticipantDecisionSurfaceExposureRealizationModel", + "ParticipantDecisionSurfaceModel", + "ParticipantDecisionSurfaceAssuranceV2Model", + "ParticipantDecisionSurfaceBehaviorAnchorV2Model", + "ParticipantDecisionSurfaceCausalCutModel", + "ParticipantDecisionSurfaceDeliveryV2Model", + "ParticipantDecisionSurfaceDerivationAnchorV2Model", + "ParticipantDecisionSurfaceEpisodeReadinessAnchorV2Model", + "ParticipantDecisionSurfaceExposureBindingV2Model", + "ParticipantDecisionSurfaceOpenEndedFormModel", + "ParticipantDecisionSurfaceSelectionModel", + "ParticipantDecisionSurfaceSelectionV2Model", + "ParticipantDecisionSurfaceSequenceCutModel", + "ParticipantDecisionSurfaceStateCutModel", + "ParticipantDecisionSurfaceStateCutOrderModel", + "ParticipantDecisionSurfaceV2Model", + "ParticipantDecisionSurfaceViewV2Model", + "validate_participant_decision_surface_context", + "ParticipantEpisodeHistoryEventModel", + "ParticipantEpisodeStateModel", + "ParticipantExposurePolicyModel", + "ParticipantFeatureSupportLevel", + "ParticipantFeatureSupportModel", + "ParticipantHistoryViewBehaviorEventModel", + "ParticipantHistoryViewEpisodeEventModel", + "ParticipantHistoryViewModel", + "ParticipantImplementationCapabilitiesModel", + "ParticipantImplementationCompatibilityModel", + "ParticipantImplementationManifestModel", + "ParticipantImplementationProvenanceModel", + "ParticipantImplementationSelectionModel", + "ParticipantJointActionAccessSetModel", + "ParticipantJointActionRecordModel", + "ParticipantLifecycleEventModel", + "ParticipantObservationEnvelopeModel", + "ParticipantObservationLossDescriptorModel", + "ParticipantObservationStochasticContextModel", + "ParticipantOutcomeInterpretationRecordModel", + "ParticipantOutcomeReportModel", + "ParticipantOutcomeReportSourceModel", + "ParticipantOutcomeReportStateRelationshipModel", + "ParticipantOutcomeSourceRecordModel", + "ParticipantOutcomeTargetRecordModel", + "ParticipantRuntimeBaseEnvelopeModel", + "ParticipantRuntimeCapabilitiesModel", + "ParticipantSharedStateAccessModel", + "ParticipantSharedStateRecordModel", + "ParticipantStatusViewEpisodeStateModel", + "ParticipantStatusViewModel", + "ParticipantTemporalRuntimeContextModel", + "ParticipantTimeManagementContextModel", + "VIEW_SCOPE_PROJECTED_FIELDS", + "PlanOperationModel", + "ProcessorFeature", + "PROCESSOR_MANIFEST_V2_SCHEMA_VERSION", + "ProcessorManifestV2Model", + "ProcessorCompatibilityModel", + "ProcessorCapabilitiesV2Model", + "ProvisionerCapabilitiesModel", + "ProvisioningPlanModel", + "RANDOM_STREAM_DRAW_PURPOSE_SCOPE", + "RANDOM_STREAM_PROFILE_SCHEMA_VERSION", + "RANDOM_STREAM_VECTOR_SCHEMA_VERSION", + "GovernedEntropyRefModel", + "GovernedRandomOutcomeRefModel", + "PublicRandomOutcomeModel", + "PublicSeedModel", + "RandomDrawOutcomeModel", + "RandomStreamAddressEncodingSpecModel", + "RandomStreamBlockEncodingSpecModel", + "RandomStreamBoundedIntegerVectorCaseModel", + "RandomStreamControlBindingModel", + "RandomStreamDerivationSpecModel", + "RandomStreamDrawRecordModel", + "RandomStreamGeneratorModel", + "RandomStreamProfileModel", + "RandomStreamProfileReferenceModel", + "RandomStreamRootEntropySpecModel", + "RandomStreamTransformSpecModel", + "RandomStreamVectorModel", + "RootEntropyModel", + "StreamAddressModel", + "TrialCoordinateModel", + "RealizationEnvelopeIdentityModel", + "RawDataIntegrityModel", + "RealizationProvenanceEntryModel", + "RealizationSupportDeclarationModel", + "RealizationSupportMode", + "ReferenceModelCatalogModel", + "ReferenceModelDefinitionModel", + "ReferenceModelSchemaBindingModel", + "REFERENCE_MODELS_SCHEMA_VERSION", + "REUSABLE_ASSET_EVIDENCE_CLASSES", + "REUSABLE_ASSET_FAMILIES", + "REUSABLE_ASSET_TRUST_POLICY_SCHEMA_VERSION", + "RUNTIME_SNAPSHOT_SCHEMA_VERSION", + "ReusableAssetAuthenticityPolicyModel", + "ReusableAssetEvidenceRequirementModel", + "ReusableAssetFamilyTrustPolicyModel", + "ReusableAssetTrustPolicyModel", + "RUNTIME_FACT_BINDING_PLANE_V1_SCHEMA_VERSION", + "RuntimeFactAbsenceDisposition", + "RuntimeFactAudience", + "RuntimeFactBindingDisposition", + "RuntimeFactBindingEventModel", + "RuntimeFactBindingPlaneModel", + "RuntimeFactBindingRequestModel", + "RuntimeFactBindingSelectionModel", + "RuntimeFactDeclarationModel", + "RuntimeFactProjectionModel", + "RuntimeFactScopeKind", + "RuntimeFactScopeModel", + "RuntimeFactSensitivity", + "RuntimeFactSinkModel", + "RuntimeFactSourceKind", + "RuntimeFactValueType", + "RuntimeFactVersionModel", + "RuntimeFactVisibilityModel", + "RuntimeSnapshotEnvelopeModel", + "SCENARIO_INSTANTIATION_REQUEST_SCHEMA_VERSION", + "SEMANTIC_PROFILE_SCHEMA_VERSION", + "schema_bundle", + "SemanticBehaviorAssumptionModel", + "SemanticProfileModel", + "SemanticProfilePhaseModel", + "SnapshotEntryModel", + "SourcePipelineModel", + "SourceStatusModel", + "UcoAlignmentCatalogModel", + "UcoAlignmentTypeModel", + "UcoFamilyAlignmentModel", + "UCO_ALIGNMENT_SCHEMA_VERSION", + "WorkflowCancellationRequestModel", + "WORKFLOW_CANCELLATION_REQUEST_SCHEMA_VERSION", + "WorkflowExecutionStateModel", + "WorkflowFeature", + "WorkflowHistoryEventModel", + "WorkflowStatePredicateFeature", + "WorkflowStepStateModel", + "WORKFLOW_STATE_SCHEMA_VERSION", + "validate_aces_semantic_invariant_annotations", + "validate_experiment_apparatus_context_against_manifests", + "validate_experiment_apparatus_context_archival_datetimes", + "validate_experiment_run_against_task", + "validate_experiment_run_archival_datetimes", + "validate_experiment_study_against_tasks_and_runs", + "validate_experiment_study_archival_datetimes", + "validate_experiment_task_archival_datetimes", + "ValidationBasisDisclosureDocumentModel", + "validate_experiment_run_time_model", + "TimeCapabilitiesModel", +] diff --git a/implementations/python/tests/test_contracts_facade_exports.py b/implementations/python/tests/test_contracts_facade_exports.py new file mode 100644 index 000000000..8df3d369a --- /dev/null +++ b/implementations/python/tests/test_contracts_facade_exports.py @@ -0,0 +1,10 @@ +"""Public-surface checks for the contracts package facade.""" + +import raes_contracts.contracts as contracts_facade +from raes_contracts.contracts._exports import PUBLIC_EXPORTS + + +def test_contracts_facade_matches_export_manifest() -> None: + assert contracts_facade.__all__ == PUBLIC_EXPORTS + assert len(PUBLIC_EXPORTS) == len(set(PUBLIC_EXPORTS)) + assert [name for name in PUBLIC_EXPORTS if not hasattr(contracts_facade, name)] == []