Share
## https://sploitus.com/exploit?id=82157307-0B2F-55D0-AE0F-446FFE31242C
# Astra POC Framework

A general-purpose POC (Proof of Concept) verification framework. It provides an abstract base class `PocBase[T]`, a orchestration executor `PocRunner`, a composite evaluator `CompositeEvaluator`, and other infrastructure, supporting verification tasks of any type. ## Quick Start

```bash
# Initialize in the main project
git submodule update --init poc

# Run the POC for a specified issue
python -m poc run 686

# View the progress of all POCs
python -m poc status

# List all registered POCs
python -m poc list
```

## Create a New POC

Create a directory `issue--/` under the `poc/` directory, which contains the following:

```
issue--/
โ”œโ”€โ”€ poc.py           # PocBase subclass
โ”œโ”€โ”€ config.py        # PocConfig subclass (optional)
โ”œโ”€โ”€ evaluators/      # Evaluators (optional)
โ”œโ”€โ”€ batches/         # Batch definitions (optional)
โ””โ”€โ”€ README.md        # Experience summary
```

In `poc.py`, implement the `PocBase[TConfig]` subclass; the framework will automatically discover and register it. ## Directory Structure

```
src/poc/
โ”œโ”€โ”€ __init__.py
โ”œโ”€โ”€ __main__.py      # CLI entry point: python -m poc
โ”œโ”€โ”€ _discovery.py    # Automatic discovery
โ”œโ”€โ”€ _runner.py       # PocRunner
โ”œโ”€โ”€ _status.py       # Progress viewing
โ”œโ”€โ”€ py.typed         # PEP 561 type hinting
โ”œโ”€โ”€ base/
    โ”œโ”€โ”€ __init__.py
    โ”œโ”€โ”€ config.py    # PocConfig
    โ”œโ”€โ”€ poc_base.py  # PocBase[T]
    โ”œโ”€โ”€ tracker.py   # StatsTracker
    โ”œโ”€โ”€ evaluator.py # CompositeEvaluator
    โ””โ”€โ”€ result.py    # PocResult, BatchResult
```

## License

Apache 2.0