old_contents: import pathlib
  
  from ...helpers import article
  from .._helpers import C2Scheme, _read, concat, pm, pm2
  
  source = article(
      authors=["Ann Haegemans", "Robert Piessens"],
      title="Construction of Cubature Formulas of Degree Seven and Nine Symmetric Planar Regions Using Orthogonal Polynomials",
      journal="SIAM Journal on Numerical Analysis",
      volume="14",
      number="3",
      month="jun",
      year="1977",
      pages="492-508",
      url="https://www.jstor.org/stable/2156699",
  )
  
  this_dir = pathlib.Path(__file__).resolve().parent
  
  
  def haegemans_piessens():
      return _read(this_dir / "haegemans_piessens.json", source)
      weights, points = concat(
          pm2(
              [0.213057211620949126, 0.9171178223127705862, 0.547931206828092323],
              [0.17400948894689560610, 0.61126876646532841440, 0.93884325665885830459],
          ),
          pm(
              [0.63585388344327977182, +0.52942280204265532589, 0.0],
              [0.59001271542103076297, 0.0, +0.62704137378039531763],
          ),
      )
      weights /= 4
      return C2Scheme("Haegemans-Piessens", weights, points, 7, source)
  
new_contents: import pathlib
  
  from ...helpers import article
  from .._helpers import _read
  
  source = article(
      authors=["Ann Haegemans", "Robert Piessens"],
      title="Construction of Cubature Formulas of Degree Seven and Nine Symmetric Planar Regions Using Orthogonal Polynomials",
      journal="SIAM Journal on Numerical Analysis",
      volume="14",
      number="3",
      month="jun",
      year="1977",
      pages="492-508",
      url="https://www.jstor.org/stable/2156699",
  )
  
  this_dir = pathlib.Path(__file__).resolve().parent
  
  
  def haegemans_piessens():
      return _read(this_dir / "haegemans_piessens.json", source)
  
subject: remove unused code