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