mizchi/flaker/contracts does not have a README file

    AffectedDirectSelectionInput

    pub(all) struct AffectedDirectSelectionInput {
    spec : String
    task_id : String
    filter : String?
    matched_paths : Array[String]
    match_reasons : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    AffectedReportCoreOutput

    AffectedReportCoreOutput::equal

    AffectedReportCoreOutput::not_equal

    AffectedReportCoreOutput::output

    AffectedReportCoreOutput::to_string

    fn AffectedReportCoreOutput::to_string(self : AffectedReportCoreOutput) -> String

    AffectedReportInput

    AffectedReportInput::equal

    AffectedReportInput::not_equal

    AffectedReportInput::output

    AffectedReportInput::to_string

    fn AffectedReportInput::to_string(self : AffectedReportInput) -> String

    AffectedReportSummaryOutput

    pub(all) struct AffectedReportSummaryOutput {
    matched_count : Int
    selected_count : Int
    unmatched_count : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    AffectedSelectionOutput

    pub(all) struct AffectedSelectionOutput {
    task_id : String
    spec : String
    filter : String?
    direct : Bool
    included_by : Array[String]
    matched_paths : Array[String]
    match_reasons : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    AffectedSelectionOutput::equal

    AffectedSelectionOutput::not_equal

    AffectedSelectionOutput::output

    AffectedSelectionOutput::to_string

    fn AffectedSelectionOutput::to_string(self : AffectedSelectionOutput) -> String

    AffectedTargetInput

    pub(all) struct AffectedTargetInput {
    spec : String
    task_id : String
    filter : String?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    AffectedTargetInput::equal

    AffectedTargetInput::not_equal

    AffectedTargetInput::output

    AffectedTargetInput::to_string

    fn AffectedTargetInput::to_string(self : AffectedTargetInput) -> String

    AffectedTransitiveTaskInput

    pub(all) struct AffectedTransitiveTaskInput {
    task_id : String
    included_by : Array[String]
    match_reasons : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ConfigCheckIssueOutput

    pub(all) struct ConfigCheckIssueOutput {
    code : String
    spec : String
    detail : String
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ConfigCheckIssueOutput::equal

    ConfigCheckIssueOutput::not_equal

    ConfigCheckIssueOutput::output

    ConfigCheckIssueOutput::to_string

    fn ConfigCheckIssueOutput::to_string(self : ConfigCheckIssueOutput) -> String

    ConfigCheckListedTestInput

    pub(all) struct ConfigCheckListedTestInput {
    suite : String
    task_id : String
    filter : String?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ConfigCheckSummaryOutput

    pub(all) struct ConfigCheckSummaryOutput {
    task_count : Int
    spec_count : Int
    duplicate_ownership_count : Int
    split_ownership_count : Int
    unmanaged_spec_count : Int
    error_count : Int
    warning_count : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ConfigCheckSummaryOutput::equal

    ConfigCheckSummaryOutput::not_equal

    ConfigCheckSummaryOutput::output

    ConfigCheckSummaryOutput::to_string

    fn ConfigCheckSummaryOutput::to_string(self : ConfigCheckSummaryOutput) -> String

    ConfigCheckTaskDefinitionInput

    pub(all) struct ConfigCheckTaskDefinitionInput {
    task_id : String
    node : String?
    needs : Array[String]
    srcs : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ConfigOwnershipClaimOutput

    pub(all) struct ConfigOwnershipClaimOutput {
    task_id : String
    filter : String?
    test_count : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ConfigOwnershipEntryOutput

    pub(all) struct ConfigOwnershipEntryOutput {
    spec : String
    kind : String
    owners : Array[ConfigOwnershipClaimOutput]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ConfigTaskSummaryOutput

    pub(all) struct ConfigTaskSummaryOutput {
    task_id : String
    node : String?
    spec_count : Int
    test_count : Int
    filter_count : Int
    needs_count : Int
    src_count : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ConfigTaskSummaryOutput::equal

    ConfigTaskSummaryOutput::not_equal

    ConfigTaskSummaryOutput::output

    ConfigTaskSummaryOutput::to_string

    fn ConfigTaskSummaryOutput::to_string(self : ConfigTaskSummaryOutput) -> String

    DependencyGraphInput

    DependencyGraphInput::equal

    DependencyGraphInput::not_equal

    DependencyGraphInput::output

    DependencyGraphInput::to_string

    fn DependencyGraphInput::to_string(self : DependencyGraphInput) -> String

    DetectOutput

    DetectOutput::equal

    DetectOutput::not_equal

    fn DetectOutput::not_equal(x : DetectOutput, y : DetectOutput) -> Bool

    DetectOutput::output

    fn DetectOutput::output(DetectOutput, &Logger) -> Unit

    DetectOutput::to_string

    fn DetectOutput::to_string(self : DetectOutput) -> String

    EvalCommitSignalInput

    pub(all) struct EvalCommitSignalInput {
    commit_sha : String
    run_kind : String
    run_count : Int
    distinct_tests : Int
    failure_signals : Int
    duration_ms : Int?
    fallback_used : Bool
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    EvalCommitSignalInput::equal

    EvalCommitSignalInput::not_equal

    EvalCommitSignalInput::output

    EvalCommitSignalInput::to_string

    fn EvalCommitSignalInput::to_string(self : EvalCommitSignalInput) -> String

    FlakyResult

    pub(all) struct FlakyResult {
    suite : String
    test_name : String
    flaky_rate : Double
    total_runs : Int
    fail_count : Int
    flaky_retry_count : Int
    is_quarantined : Bool
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    FlakyResult::equal

    fn FlakyResult::equal(FlakyResult, FlakyResult) -> Bool

    FlakyResult::not_equal

    fn FlakyResult::not_equal(x : FlakyResult, y : FlakyResult) -> Bool

    FlakyResult::output

    fn FlakyResult::output(FlakyResult, &Logger) -> Unit

    FlakyResult::to_string

    fn FlakyResult::to_string(self : FlakyResult) -> String

    GraphNodeInput

    pub(all) struct GraphNodeInput {
    id : String
    path : String
    dependencies : Array[String]
    source_patterns : Array[String]
    test_patterns : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    GraphNodeInput::equal

    GraphNodeInput::not_equal

    fn GraphNodeInput::not_equal(x : GraphNodeInput, y : GraphNodeInput) -> Bool

    GraphNodeInput::output

    fn GraphNodeInput::output(GraphNodeInput, &Logger) -> Unit

    GraphNodeInput::to_string

    fn GraphNodeInput::to_string(self : GraphNodeInput) -> String

    HoldoutCommitInput

    pub(all) struct HoldoutCommitInput {
    commit_sha : String
    holdout_tests : Int
    holdout_failures : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    Holdout tests of one commit's local sampled run: tests the sampler held out on purpose, and how many of them failed in CI on the same commit.

    HoldoutCommitInput::equal

    HoldoutCommitInput::not_equal

    HoldoutCommitInput::output

    HoldoutCommitInput::to_string

    fn HoldoutCommitInput::to_string(self : HoldoutCommitInput) -> String

    HoldoutKpiOutput

    pub(all) struct HoldoutKpiOutput {
    commits : Int
    holdout_tests : Int
    holdout_failures : Int
    false_negative_rate : Double?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    HoldoutKpiOutput::equal

    HoldoutKpiOutput::not_equal

    fn HoldoutKpiOutput::not_equal(x : HoldoutKpiOutput, y : HoldoutKpiOutput) -> Bool

    HoldoutKpiOutput::output

    HoldoutKpiOutput::to_string

    fn HoldoutKpiOutput::to_string(self : HoldoutKpiOutput) -> String

    QuarantineEntryInput

    pub(all) struct QuarantineEntryInput {
    id : String
    task_id : String
    spec : String
    title_pattern : String
    mode : String
    scope : String
    owner : String
    reason : String
    condition : String
    introduced_at : String
    expires_at : String
    tracking_issue : String?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    QuarantineEntryInput::equal

    QuarantineEntryInput::not_equal

    QuarantineEntryInput::output

    QuarantineEntryInput::to_string

    fn QuarantineEntryInput::to_string(self : QuarantineEntryInput) -> String

    QuarantineIssueOutput

    pub(all) struct QuarantineIssueOutput {
    severity : String
    code : String
    message : String
    task_id : String?
    spec : String?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    QuarantineIssueOutput::equal

    QuarantineIssueOutput::not_equal

    QuarantineIssueOutput::output

    QuarantineIssueOutput::to_string

    fn QuarantineIssueOutput::to_string(self : QuarantineIssueOutput) -> String

    QuarantineModeCountsOutput

    pub(all) struct QuarantineModeCountsOutput {
    skip : Int
    allow_flaky : Int
    allow_failure : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    QuarantineRuntimeResultInput

    pub(all) struct QuarantineRuntimeResultInput {
    status : String
    quarantine_mode : String?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    QuarantineScopeCountsOutput

    pub(all) struct QuarantineScopeCountsOutput {
    environment : Int
    flaky : Int
    expected_failure : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    QuarantineSummaryCoreOutput

    QuarantineTaskOwnershipInput

    pub(all) struct QuarantineTaskOwnershipInput {
    id : String
    specs : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReportAggregateOutput

    pub(all) struct ReportAggregateOutput {
    shard_count : Int
    unstable_count : Int
    totals : ReportTotalsInput
    unstable : Array[ReportAggregateUnstableBuckets]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReportAggregateOutput::equal

    ReportAggregateOutput::not_equal

    ReportAggregateOutput::output

    ReportAggregateOutput::to_string

    fn ReportAggregateOutput::to_string(self : ReportAggregateOutput) -> String

    ReportAggregateShardInput

    ReportAggregateShardInput::equal

    ReportAggregateShardInput::not_equal

    ReportAggregateShardInput::output

    ReportAggregateShardInput::to_string

    ReportAggregateUnstableBuckets

    pub(all) struct ReportAggregateUnstableBuckets {
    test_id : String
    shard_ids : Array[String]
    statuses : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReportAggregateUnstableStatusInput

    pub(all) struct ReportAggregateUnstableStatusInput {
    test_id : String
    status : String
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReportDiffBuckets

    pub(all) struct ReportDiffBuckets {
    new_failures : Array[String]
    new_flaky : Array[String]
    resolved_failures : Array[String]
    resolved_flaky : Array[String]
    persistent_flaky : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReportDiffBuckets::equal

    ReportDiffBuckets::not_equal

    fn ReportDiffBuckets::not_equal(x : ReportDiffBuckets, y : ReportDiffBuckets) -> Bool

    ReportDiffBuckets::output

    ReportDiffBuckets::to_string

    fn ReportDiffBuckets::to_string(self : ReportDiffBuckets) -> String

    ReportDiffStatusInput

    pub(all) struct ReportDiffStatusInput {
    test_id : String
    base_status : String
    head_status : String
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReportDiffStatusInput::equal

    ReportDiffStatusInput::not_equal

    ReportDiffStatusInput::output

    ReportDiffStatusInput::to_string

    fn ReportDiffStatusInput::to_string(self : ReportDiffStatusInput) -> String

    ReportFileTotalsOutput

    ReportFileTotalsOutput::equal

    ReportFileTotalsOutput::not_equal

    ReportFileTotalsOutput::output

    ReportFileTotalsOutput::to_string

    fn ReportFileTotalsOutput::to_string(self : ReportFileTotalsOutput) -> String

    ReportSummaryOutput

    pub(all) struct ReportSummaryOutput {
    totals : ReportTotalsInput
    file_totals : Array[ReportFileTotalsOutput]
    unstable_test_ids : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReportSummaryOutput::equal

    ReportSummaryOutput::not_equal

    ReportSummaryOutput::output

    ReportSummaryOutput::to_string

    fn ReportSummaryOutput::to_string(self : ReportSummaryOutput) -> String

    ReportSummaryTestInput

    pub(all) struct ReportSummaryTestInput {
    test_id : String
    suite : String
    status : String
    duration_ms : Int
    retry_count : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReportSummaryTestInput::equal

    ReportSummaryTestInput::not_equal

    ReportSummaryTestInput::output

    ReportSummaryTestInput::to_string

    fn ReportSummaryTestInput::to_string(self : ReportSummaryTestInput) -> String

    ReportTotalsInput

    pub(all) struct ReportTotalsInput {
    total : Int
    passed : Int
    failed : Int
    flaky : Int
    skipped : Int
    retries : Int
    duration_ms : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReportTotalsInput::equal

    ReportTotalsInput::not_equal

    fn ReportTotalsInput::not_equal(x : ReportTotalsInput, y : ReportTotalsInput) -> Bool

    ReportTotalsInput::output

    ReportTotalsInput::to_string

    fn ReportTotalsInput::to_string(self : ReportTotalsInput) -> String

    ResolvedQuarantineEntryOutput

    pub(all) struct ResolvedQuarantineEntryOutput {
    id : String
    task_id : String
    spec : String
    title_pattern : String
    mode : String
    scope : String
    owner : String
    reason : String
    condition : String
    introduced_at : String
    expires_at : String
    tracking_issue : String?
    expiry_status : String
    days_until_expiry : Int?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ResolvedStableTestIdentityOutput

    pub(all) struct ResolvedStableTestIdentityOutput {
    suite : String
    test_name : String
    task_id : String
    filter : String?
    variant : Array[StableVariantEntryInput]?
    test_id : String
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReverseDepEntry

    pub(all) struct ReverseDepEntry {
    id : String
    dependents : Array[String]
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    ReverseDepEntry::equal

    ReverseDepEntry::not_equal

    fn ReverseDepEntry::not_equal(x : ReverseDepEntry, y : ReverseDepEntry) -> Bool

    ReverseDepEntry::output

    fn ReverseDepEntry::output(ReverseDepEntry, &Logger) -> Unit

    ReverseDepEntry::to_string

    fn ReverseDepEntry::to_string(self : ReverseDepEntry) -> String

    SamplingHistoryRowInput

    pub(all) struct SamplingHistoryRowInput {
    suite : String
    test_name : String
    task_id : String?
    filter : String?
    variant : Array[StableVariantEntryInput]?
    test_id : String?
    status : String
    retry_count : Int
    duration_ms : Int
    created_at : String
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    SamplingHistoryRowInput::equal

    SamplingHistoryRowInput::not_equal

    SamplingHistoryRowInput::output

    SamplingHistoryRowInput::to_string

    fn SamplingHistoryRowInput::to_string(self : SamplingHistoryRowInput) -> String

    SamplingKpiConfusionMatrixOutput

    pub(all) struct SamplingKpiConfusionMatrixOutput {
    true_positive : Int
    false_positive : Int
    false_negative : Int
    true_negative : Int
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    SamplingKpiMissesOutput

    pub(all) struct SamplingKpiMissesOutput {
    local_pass_but_ci_fail : Int
    local_fail_but_ci_pass : Int
    false_negative_rate : Double?
    false_positive_rate : Double?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    SamplingKpiMissesOutput::equal

    SamplingKpiMissesOutput::not_equal

    SamplingKpiMissesOutput::output

    SamplingKpiMissesOutput::to_string

    fn SamplingKpiMissesOutput::to_string(self : SamplingKpiMissesOutput) -> String

    SamplingKpiOutput

    pub(all) struct SamplingKpiOutput {
    matched_commits : Int
    local_only_commits : Int
    ci_only_commits : Int
    avg_local_sample_size : Double?
    median_local_sample_size : Double?
    p95_local_sample_size : Double?
    avg_ci_test_count : Double?
    avg_sample_ratio : Double?
    avg_saved_minutes : Double?
    fallback_runs : Int
    fallback_rate : Double?
    pass_signal : SamplingKpiSignalOutput
    fail_signal : SamplingKpiSignalOutput
    misses : SamplingKpiMissesOutput
    confusion_matrix : SamplingKpiConfusionMatrixOutput
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    SamplingKpiOutput::equal

    SamplingKpiOutput::not_equal

    fn SamplingKpiOutput::not_equal(x : SamplingKpiOutput, y : SamplingKpiOutput) -> Bool

    SamplingKpiOutput::output

    SamplingKpiOutput::to_string

    fn SamplingKpiOutput::to_string(self : SamplingKpiOutput) -> String

    SamplingKpiSignalOutput

    pub(all) struct SamplingKpiSignalOutput {
    local_commits : Int
    ci_when_local : Int
    rate : Double?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    SamplingKpiSignalOutput::equal

    SamplingKpiSignalOutput::not_equal

    SamplingKpiSignalOutput::output

    SamplingKpiSignalOutput::to_string

    fn SamplingKpiSignalOutput::to_string(self : SamplingKpiSignalOutput) -> String

    SamplingListedTestInput

    pub(all) struct SamplingListedTestInput {
    suite : String
    test_name : String
    task_id : String?
    filter : String?
    variant : Array[StableVariantEntryInput]?
    test_id : String?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    SamplingListedTestInput::equal

    SamplingListedTestInput::not_equal

    SamplingListedTestInput::output

    SamplingListedTestInput::to_string

    fn SamplingListedTestInput::to_string(self : SamplingListedTestInput) -> String

    StableTestIdentityInput

    pub(all) struct StableTestIdentityInput {
    suite : String
    test_name : String
    task_id : String?
    filter : String?
    variant : Array[StableVariantEntryInput]?
    test_id : String?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    StableTestIdentityInput::equal

    StableTestIdentityInput::not_equal

    StableTestIdentityInput::output

    StableTestIdentityInput::to_string

    fn StableTestIdentityInput::to_string(self : StableTestIdentityInput) -> String

    StableVariantEntryInput

    pub(all) struct StableVariantEntryInput {
    key : String
    value : String
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    StableVariantEntryInput::equal

    StableVariantEntryInput::not_equal

    StableVariantEntryInput::output

    StableVariantEntryInput::to_string

    fn StableVariantEntryInput::to_string(self : StableVariantEntryInput) -> String

    TestMeta

    pub(all) struct TestMeta {
    suite : String
    test_name : String
    flaky_rate : Double
    total_runs : Int
    fail_count : Int
    last_run_at : String
    avg_duration_ms : Int
    previously_failed : Bool
    is_new : Bool
    task_id : String?
    filter : String?
    test_id : String?
    co_failure_boost : Double?
    } derive(Eq, Show,
    Debug
    ,
    FromJson
    ,
    ToJson
    )

    TestMeta::equal

    fn TestMeta::equal(TestMeta, TestMeta) -> Bool

    TestMeta::not_equal

    fn TestMeta::not_equal(x : TestMeta, y : TestMeta) -> Bool

    TestMeta::output

    fn TestMeta::output(TestMeta, &Logger) -> Unit

    TestMeta::to_json

    TestMeta::to_repr

    TestMeta::to_string

    fn TestMeta::to_string(self : TestMeta) -> String

    TestRunEntry

    pub(all) struct TestRunEntry {
    suite : String
    test_name : String
    status : String
    retry_count : Int
    } derive(
    FromJson
    ,
    ToJson
    )