CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-web3

A Python library for interacting with Ethereum blockchain

88

1.01x
Quality

Pending

Does it follow best practices?

Impact

88%

1.01x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-2/

{
  "context": "This criteria evaluates the engineer's ability to use web3.py for retrieving and working with Ethereum gas pricing information. The focus is on proper usage of Web3 connection methods, gas price retrieval functions, and unit conversion utilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Web3 initialization",
      "description": "Creates a Web3 instance using an appropriate provider (HTTPProvider, WebsocketProvider, or EthereumTesterProvider)",
      "max_score": 15
    },
    {
      "name": "Gas price retrieval",
      "description": "Uses web3.eth.gas_price or web3.eth.get_gas_price() to retrieve the current gas price in Wei",
      "max_score": 25
    },
    {
      "name": "Wei to Gwei conversion",
      "description": "Uses web3.from_wei() with 'gwei' denomination to convert gas price from Wei to Gwei",
      "max_score": 20
    },
    {
      "name": "Wei to Ether conversion",
      "description": "Uses web3.from_wei() with 'ether' denomination to convert gas price from Wei to Ether",
      "max_score": 20
    },
    {
      "name": "Priority fee retrieval",
      "description": "Uses web3.eth.max_priority_fee to retrieve the recommended priority fee for EIP-1559 transactions",
      "max_score": 20
    }
  ]
}

tile.json