{
  "id": "PWM-L4-cassi-kaist-gaptv",
  "principle_id": "PWM-L1-em-maxwell-vacuum",
  "spec_id": "PWM-L2-em-cassi-forward",
  "benchmark_id": "PWM-L3-cassi-kaist-10scenes",
  "name": "GAP-TV reference solver on CASSI KAIST 10-scene",
  "algorithm": "GAP-TV",
  "algorithm_class": "optimization",
  "description": "Generalized Alternating Projection with band-by-band Total Variation regularization. Alternates a data-fidelity projection enforcing Phi x = y with a TV denoising step that anneals lambda from 1.0 to 0.05 over 200 iterations.",
  "code_entry": "code/solver.py",
  "code_function": "solve(y, mask, dispersion, sigma) -> x_hat",
  "container_image": "ghcr.io/pwm-protocol/cassi-gaptv:0.1.0",
  "self_reported_metrics": [
    {"metric": "psnr", "value": 32.4, "unit": "dB", "threshold": 28.0, "pass": true},
    {"metric": "ssim", "value": 0.881, "unit": "dimensionless", "threshold": 0.85, "pass": true},
    {"metric": "sam", "value": 0.142, "unit": "rad", "threshold": 0.20, "pass": true}
  ],
  "resources": {
    "gpu": "A100",
    "wall_time_per_scene_seconds": 1.2,
    "wall_time_total_seconds": 12,
    "dollar_cost_estimate_usd": 0.02,
    "dependencies": ["numpy>=1.24", "scipy>=1.10", "scikit-image>=0.21"]
  },
  "limitations": [
    "TV prior over-smooths fine spectral textures",
    "Sensitive to dispersion misalignment greater than 0.5 px",
    "Does not generalize to grayscale masks or doubly-dispersive CASSI"
  ],
  "reports": [
    {"path": "reports/results.md", "kind": "per_scene_metrics", "must_be_regenerated_by_running_solver": true},
    {"path": "reports/reproduce.md", "kind": "reproduction_recipe"},
    {"path": "reports/figures/", "kind": "visualization_directory"}
  ],
  "references": [
    {
      "title": "Generalized Alternating Projection Based Total Variation Minimization for Compressive Sensing",
      "authors": ["X. Yuan"],
      "year": 2016,
      "venue": "IEEE International Conference on Image Processing (ICIP)",
      "doi": "10.1109/ICIP.2016.7532817"
    },
    {
      "title": "An Algorithm for Total Variation Minimization and Applications",
      "authors": ["A. Chambolle"],
      "year": 2004,
      "venue": "Journal of Mathematical Imaging and Vision, vol. 20, 89-97",
      "doi": "10.1023/B:JMIV.0000011321.19549.88"
    }
  ]
}
