nextflow-io/nf-co2footprint

Missing chips / CPUs / GPUs

Open

#190 opened on 2025幎4月30日

GitHub で芋る
 (4 comments) (0 reactions) (0 assignees)Groovy (12 forks)auto 404
good first issue💎 enhancement🪲 bug

Repository metrics

Stars
 (27 stars)
PR merge metrics
 (PR metrics pending)

説明

Describe the bug

The chip was not automatically matched to a TDP value.

What happened?

I received an error and the value fell back to default.

What should have happened?

The correct TDP value should have been automatically inferred.

Reproduction of the problem

def 'Should match model' () {
        setup:
        String modelName = 'THE MODEL NAME'
        Matrix model = new TDPDataMatrix(
                [
                        [42, 10**3, 2*10**3],
                ],
                ['tdp (W)', 'cores', 'threads'] as LinkedHashSet,
                [modelName] as LinkedHashSet,
        )

        when:
        DataMatrix modelRes = df.matchModel(modelName)

        then:
        modelRes == model
        modelRes.get(0, "tdp (W)", true) == 42
    }

In what computing environment did the problem occur?

  • Plugin version: 1.0.0 onwards

コントリビュヌタヌガむド