diff --git a/tasks/construct-ae-p32-spherical-design-l4-s0/environment/Dockerfile b/tasks/construct-ae-p32-spherical-design-l4-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-ae-p32-spherical-design-l4-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-ae-p32-spherical-design-l4-s0/environment/instance.json b/tasks/construct-ae-p32-spherical-design-l4-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..d94df81357a6b1efcb639c2bf4362d52d05b841a --- /dev/null +++ b/tasks/construct-ae-p32-spherical-design-l4-s0/environment/instance.json @@ -0,0 +1 @@ +{"t": 15, "N": 120, "family": "ae_p32_spherical_designs", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p32-spherical-design-l4-s0/instruction.md b/tasks/construct-ae-p32-spherical-design-l4-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..c2adf61c375b11fda0027532ed5c9103734045b2 --- /dev/null +++ b/tasks/construct-ae-p32-spherical-design-l4-s0/instruction.md @@ -0,0 +1,18 @@ +Spherical designs on the 2-sphere. + +A finite set X of points on the unit sphere S^2 in R^3 is a spherical t-design if for every polynomial P(x, y, z) +of degree at most t, the average of P over the points of X equals the average of P over the whole sphere +(with respect to the uniform surface measure). Equivalently, the average over X of every spherical harmonic of +degree 1, 2, ..., t is zero. + +Construct a spherical 15-design with exactly N = 120 distinct points. + +Numerical acceptance test: the points are normalised to unit length (each submitted vector must have length +between 0.5 and 2), no two points may be closer than about 1.4e-4 (cosine of the angle between them at most +1 - 1e-8), and for every real spherical harmonic Y of degree 1 <= l <= 15, normalised so that the average of +Y^2 over the sphere is 1, the average of Y over your N points must be at most 1e-10 in absolute value. +Submit coordinates in full double precision. + +Answer format: {"points": [[x_1, y_1, z_1], ..., [x_120, y_120, z_120]]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-ae-p32-spherical-design-l4-s0/solution/solve.sh b/tasks/construct-ae-p32-spherical-design-l4-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..18c931542c41761a547b713e328567a7235f880b --- /dev/null +++ b/tasks/construct-ae-p32-spherical-design-l4-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"points": [[-0.6797362419565781, -0.33277023955514695, 0.6536226809384437], [0.9801860827417008, 0.15541248185198572, -0.12280962374376724], [-0.3823571350063186, 0.8762371708640566, -0.2932770732701655], [0.3500260050652461, 0.4693794053767845, -0.810656998727699], [-0.9252524215421856, 0.31148183475383806, -0.2165341152075223], [-0.8028751795388819, 0.5942166570117791, -0.047937569923326415], [0.9411767716104404, -0.11357414266783164, -0.3182564982812067], [0.5455876838366907, 0.6106872341378278, -0.57392959612378], [-0.6412872169310772, 0.13608281469447756, 0.7551371881622717], [-0.2372974023137689, 0.809467473527512, 0.5370776034765591], [-0.3947825917146027, 0.23995242593194074, 0.8868875568912205], [0.9113699693951687, 0.055300862047331555, 0.4078560941575733], [-0.5397252540054079, 0.36684176490126075, -0.7577095549832575], [0.8016749830843496, -0.1644483972035289, 0.5746946547114373], [0.9247922568423781, -0.3526296817317806, -0.1428691332868096], [0.6298851578000957, 0.7707875110554769, -0.09555783999260146], [0.5753134850032517, -0.812185246924901, -0.0967962739517948], [0.5084525205046247, 0.1572835460061077, -0.84660375651673], [-0.609491345316079, 0.03426651273046633, -0.792051832956713], [-0.29264806552077166, 0.3191283639683885, -0.9013956939423495], [0.8872813344789636, 0.4610629154725389, -0.012362097766637315], [0.3606369080646163, 0.6205957767889955, 0.6962771735259291], [-0.00023848372415500132, -0.5904346259692939, -0.8070854326414356], [0.20979503312414355, 0.9170896508743264, 0.3390171328054762], [0.5263128854633881, -0.6146007032128523, 0.5875889057882815], [-0.2532144149054432, 0.7720523247516029, -0.5829388200572506], [-0.47669612414939083, -0.36334007146921266, -0.8004653632017416], [0.07982820524837961, -0.9646719607545845, 0.25106864754629943], [-0.17213409201077784, -0.6932396751390268, 0.6998489888402795], [-0.9206723260159624, -0.30179443639955467, -0.24755319886164412], [-0.1100621437913961, 0.23310490807175346, 0.9662030978717163], [-0.7237504904149406, -0.2431994149893688, -0.6457857788562411], [0.16917907011643418, 0.3482149666622287, 0.9220221142830369], [-0.6375964411512174, 0.7230487656098056, -0.26584066803527], [-0.3249827612067025, 0.9450225159380641, 0.03631321093705114], [-0.09238461887404388, -0.8027957015019319, -0.5890536001464711], [-0.08513114350537372, 0.05745800633776875, -0.9947116496317696], [0.7308387504036453, 0.48201462653379945, 0.4832562681599897], [0.07542695096381344, 0.8706689309249304, -0.4860518365260451], [0.7496717991090104, -0.5847703664914679, -0.3098964538262642], [-0.4939774403572348, 0.7657996350999625, 0.41174896150309703], [-0.9945653660678366, 0.05388530583914211, -0.08908482717596868], [-0.45222510388103154, -0.8768969013966191, -0.16292415333767507], [-0.555616798196136, 0.5157977196645684, 0.6521063455841429], [-0.8250561456611922, -0.040354678507057644, 0.5636078924476569], [-0.07371848361924495, -0.9969841828065062, -0.024251276389541623], [0.313904108513361, 0.9368371568818964, -0.154273627506055], [-0.2931030552474718, 0.553871996585522, 0.7793050817253568], [-0.05830229280822639, -0.3817517013274294, 0.9224242414349901], [0.24133322848954428, 0.10398578762566588, -0.964855029939049], [0.40905343284884715, 0.8166763966875912, -0.40708101425630994], [-0.744302178262258, -0.594119396653777, 0.3050187042687872], [-0.5078253457390879, -0.7228716164583563, -0.46858301755810444], [-0.7770683738167835, 0.3448147106281137, 0.5265620170010269], [-0.8711077716599404, -0.31760656920362323, 0.3745628349854764], [0.13968437948565993, -0.951755945487426, -0.2732194984935044], [-0.35968253798612154, -0.05225213307288253, -0.9316105336765982], [-0.7323178194584046, -0.6508186783983738, -0.20036381697173197], [0.7749722629403157, -0.45121878076455924, 0.44251508850943233], [0.1542400205626462, -0.5950273254559362, 0.7887664407272852], [0.6797362419565781, 0.33277023955514656, -0.6536226809384438], [-0.9801860827417008, -0.15541248185198597, 0.12280962374376757], [0.38235713500631807, -0.8762371708640567, 0.2932770732701656], [-0.3500260050652461, -0.46937940537678435, 0.810656998727699], [0.9252524215421853, -0.3114818347538383, 0.21653411520752286], [0.8028751795388817, -0.5942166570117793, 0.04793756992332698], [-0.9411767716104403, 0.11357414266783138, 0.3182564982812073], [-0.5455876838366903, -0.6106872341378281, 0.57392959612378], [0.641287216931077, -0.1360828146944773, -0.7551371881622718], [0.2372974023137693, -0.8094674735275118, -0.537077603476559], [0.3947825917146024, -0.23995242593194113, -0.8868875568912206], [-0.9113699693951689, -0.055300862047331534, -0.4078560941575728], [0.5397252540054077, -0.3668417649012604, 0.7577095549832578], [-0.8016749830843497, 0.16444839720352944, -0.5746946547114369], [-0.9247922568423782, 0.35262968173178016, 0.14286913328681017], [-0.6298851578000954, -0.7707875110554772, 0.09555783999260137], [-0.5753134850032513, 0.8121852469249013, 0.09679627395179492], [-0.5084525205046252, -0.15728354600610775, 0.8466037565167298], [0.6094913453160783, -0.03426651273046651, 0.7920518329567136], [0.2926480655207713, -0.3191283639683883, 0.9013956939423498], [-0.8872813344789636, -0.4610629154725391, 0.012362097766637214], [-0.36063690806461574, -0.6205957767889954, -0.6962771735259295], [0.00023848372415520504, 0.5904346259692946, 0.8070854326414351], [-0.20979503312414297, -0.9170896508743263, -0.3390171328054767], [-0.5263128854633887, 0.6146007032128521, -0.5875889057882812], [0.2532144149054428, -0.7720523247516031, 0.5829388200572505], [0.47669612414939, 0.363340071469213, 0.8004653632017419], [-0.07982820524837969, 0.9646719607545844, -0.25106864754629976], [0.17213409201077778, 0.693239675139027, -0.6998489888402794], [0.9206723260159625, 0.30179443639955417, 0.247553198861644], [0.11006214379139577, -0.23310490807175321, -0.9662030978717164], [0.7237504904149397, 0.24319941498936892, 0.6457857788562419], [-0.16917907011643493, -0.3482149666622282, -0.9220221142830369], [0.6375964411512169, -0.7230487656098057, 0.2658406680352708], [0.3249827612067026, -0.945022515938064, -0.03631321093705124], [0.09238461887404477, 0.8027957015019324, 0.5890536001464702], [0.08513114350537372, -0.05745800633776881, 0.9947116496317696], [-0.7308387504036452, -0.48201462653380006, -0.48325626815998934], [-0.07542695096381373, -0.8706689309249305, 0.48605183652604506], [-0.7496717991090102, 0.584770366491468, 0.3098964538262647], [0.4939774403572353, -0.7657996350999622, -0.4117489615030969], [0.9945653660678365, -0.05388530583914246, 0.08908482717596902], [0.45222510388103226, 0.8768969013966189, 0.16292415333767477], [0.5556167981961362, -0.515797719664568, -0.652106345584143], [0.8250561456611925, 0.040354678507057255, -0.5636078924476566], [0.0737184836192453, 0.9969841828065062, 0.024251276389541523], [-0.3139041085133609, -0.9368371568818965, 0.15427362750605467], [0.29310305524747216, -0.5538719965855227, -0.7793050817253562], [0.05830229280822626, 0.3817517013274294, -0.9224242414349901], [-0.2413332284895443, -0.10398578762566636, 0.964855029939049], [-0.4090534328488471, -0.8166763966875913, 0.40708101425630966], [0.7443021782622581, 0.5941193966537769, -0.3050187042687873], [0.5078253457390888, 0.7228716164583561, 0.468583017558104], [0.777068373816784, -0.3448147106281133, -0.5265620170010267], [0.8711077716599406, 0.31760656920362307, -0.37456283498547627], [-0.13968437948565937, 0.9517559454874259, 0.27321949849350474], [0.35968253798612104, 0.05225213307288293, 0.9316105336765983], [0.732317819458405, 0.6508186783983732, 0.20036381697173208], [-0.774972262940316, 0.45121878076455946, -0.44251508850943183], [-0.15424002056264627, 0.5950273254559363, -0.7887664407272851]]} +RLMATH_EOF diff --git a/tasks/construct-ae-p32-spherical-design-l4-s0/task.toml b/tasks/construct-ae-p32-spherical-design-l4-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..2e05c1cf5d7d2912911774f3a7d447a2ed46501f --- /dev/null +++ b/tasks/construct-ae-p32-spherical-design-l4-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-ae-p32-spherical-design-l4-s0" +version = "0.2.0" +description = "construct/ae_p32_spherical_designs" +authors = [] +keywords = ["rlmath", "construct", "ae_p32_spherical_designs"] + +[metadata] +subset = "construct" +family = "ae_p32_spherical_designs" +problem_key = "spherical_t_design_s2" +domain = "discrete_geometry" +tier = "research" +level = "4" +source = "AlphaEvolve-Repository-of-Problems/32-spherical-designs" +source_license = "CC-BY-4.0" +tags = ["float_tolerance", "numerical_design"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-ae-p32-spherical-design-l4-s0/tests/check.py b/tasks/construct-ae-p32-spherical-design-l4-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..5973c15b3df2d6228d713d9b186ced8e47dcbb48 --- /dev/null +++ b/tasks/construct-ae-p32-spherical-design-l4-s0/tests/check.py @@ -0,0 +1,53 @@ +"""Spherical t-design with N points on S^2 (numerical, tolerance 1e-10 on every harmonic average). + +Upstream (AlphaEvolve `spherical_t_designs.ipynb`) scored sum_k dim_k/C_k(1) * sum_{i,j} C_k(), whose +pair sums cancel to ~1e-10 in float64 and can even go negative; its printed acceptance test +`calculate_design_score(...) < 1e-8` compares the NEGATED error and is therefore always true (bug). Here we +evaluate the point averages of an orthonormal real spherical-harmonic basis directly (no cancellation). +""" +import numpy as np + +from run import Invalid, float_matrix + +TOL = 1e-10 + + +def harmonics(X, t): + """Rows: real spherical harmonics Y_lm (1 <= l <= t) normalised so that their mean square on S^2 is 1.""" + ct = np.clip(X[:, 2], -1.0, 1.0) + st = np.sqrt(np.maximum(0.0, 1.0 - ct * ct)) + ph = np.arctan2(X[:, 1], X[:, 0]) + P = {(0, 0): np.ones_like(ct)} + for m in range(1, t + 1): + P[(m, m)] = (np.sqrt(3.0) if m == 1 else np.sqrt((2 * m + 1) / (2 * m))) * st * P[(m - 1, m - 1)] + for m in range(0, t): + P[(m + 1, m)] = np.sqrt(2 * m + 3) * ct * P[(m, m)] + for m in range(0, t + 1): + for l in range(m + 2, t + 1): + a = np.sqrt((4 * l * l - 1) / (l * l - m * m)) + b = np.sqrt(((l - 1) ** 2 - m * m) / (4 * (l - 1) ** 2 - 1)) + P[(l, m)] = a * (ct * P[(l - 1, m)] - b * P[(l - 2, m)]) + rows = [] + for l in range(1, t + 1): + rows.append(P[(l, 0)]) + for m in range(1, l + 1): + rows.append(P[(l, m)] * np.cos(m * ph)) + rows.append(P[(l, m)] * np.sin(m * ph)) + return np.array(rows) + + +def check(inst, ans): + t, n = inst["t"], inst["N"] + X = np.array(float_matrix(ans.get("points"), n, 3, "points")) + nr = np.linalg.norm(X, axis=1) + if nr.min() < 0.5 or nr.max() > 2.0: + raise Invalid("points must be (approximately) unit vectors") + X = X / nr[:, None] + G = X @ X.T + np.fill_diagonal(G, -1.0) + if G.max() > 1.0 - 1e-8: + raise Invalid("two points coincide (or nearly: distance < 1.4e-4)") + dev = np.abs(harmonics(X, t).mean(axis=1)).max() + if not dev <= TOL: + raise Invalid(f"not a {t}-design: some harmonic of degree <= {t} has point average {dev:.3e} > {TOL}") + return None, {"max_harmonic_average": float(dev)} diff --git a/tasks/construct-ae-p32-spherical-design-l4-s0/tests/instance.json b/tasks/construct-ae-p32-spherical-design-l4-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..d94df81357a6b1efcb639c2bf4362d52d05b841a --- /dev/null +++ b/tasks/construct-ae-p32-spherical-design-l4-s0/tests/instance.json @@ -0,0 +1 @@ +{"t": 15, "N": 120, "family": "ae_p32_spherical_designs", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p32-spherical-design-l4-s0/tests/run.py b/tasks/construct-ae-p32-spherical-design-l4-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-ae-p32-spherical-design-l4-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-ae-p32-spherical-design-l4-s0/tests/test.sh b/tasks/construct-ae-p32-spherical-design-l4-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-ae-p32-spherical-design-l4-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s0/environment/Dockerfile b/tasks/construct-ae-p38-factorial-factors-l3-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s0/environment/instance.json b/tasks/construct-ae-p38-factorial-factors-l3-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..dbd884c9e5a17d88847f0c06dd7eb420bf5ca4e7 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s0/environment/instance.json @@ -0,0 +1 @@ +{"N": 180, "t": 54, "family": "ae_p38_factorial_factors", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s0/instruction.md b/tasks/construct-ae-p38-factorial-factors-l3-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..aaeaf241f8f59e4a12ee2bab7d8a4c8f6cd03f39 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s0/instruction.md @@ -0,0 +1,13 @@ +Factoring N! into N large factors (Erdos-Guy-Selfridge). + +Let N = 180. Write N! as a product of exactly N positive integers, + + N! = a_1 * a_2 * ... * a_N, + +such that every factor satisfies a_i >= 54. (The order of the factors does not matter; repeated values are +allowed.) The check is exact: the product of your numbers must equal N! and every number must be an integer +>= 54. + +Answer format: {"factors": [a_1, a_2, ..., a_N]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s0/solution/solve.sh b/tasks/construct-ae-p38-factorial-factors-l3-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..ed931869d426a6d487c1a69254934ab9ced3e583 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"factors": [54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 58, 58, 58, 58, 58, 58, 59, 59, 59, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 61, 61, 62, 62, 62, 62, 62, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 67, 67, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 69, 69, 69, 69, 69, 69, 71, 71, 73, 73, 74, 74, 74, 74, 79, 79, 82, 82, 82, 82, 83, 83, 86, 86, 86, 86, 89, 89, 92, 94, 94, 94, 97, 101, 103, 106, 106, 106, 107, 109, 113, 125, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179]} +RLMATH_EOF diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s0/task.toml b/tasks/construct-ae-p38-factorial-factors-l3-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..e69d206e3b278e9ad7e0ed90b78df01bae3487e6 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-ae-p38-factorial-factors-l3-s0" +version = "0.2.0" +description = "construct/ae_p38_factorial_factors" +authors = [] +keywords = ["rlmath", "construct", "ae_p38_factorial_factors"] + +[metadata] +subset = "construct" +family = "ae_p38_factorial_factors" +problem_key = "factorial_into_n_large_factors_A034258" +domain = "number_theory" +tier = "research" +level = "3" +source = "AlphaEvolve-Repository-of-Problems/38-factoring-N-factorial" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "exact_integer", "ilp_friendly", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/check.py b/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..93ec67a19039afa8b4ce6e39811691b802132562 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/check.py @@ -0,0 +1,12 @@ +"""Factor N! into N factors, each >= t (AlphaEvolve problem 38 / OEIS A034258). Exact big-integer check.""" +import math + +from run import Invalid, int_list + + +def check(inst, ans): + n, t = inst["N"], inst["t"] + f = int_list(ans.get("factors"), n, t, None, "factors") + if math.prod(f) != math.factorial(n): + raise Invalid(f"the product of the factors is not {n}!") + return None, {"min_factor": min(f)} diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/instance.json b/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..dbd884c9e5a17d88847f0c06dd7eb420bf5ca4e7 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/instance.json @@ -0,0 +1 @@ +{"N": 180, "t": 54, "family": "ae_p38_factorial_factors", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/run.py b/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/test.sh b/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s7/environment/Dockerfile b/tasks/construct-ae-p38-factorial-factors-l3-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s7/environment/instance.json b/tasks/construct-ae-p38-factorial-factors-l3-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..dc1bdc9e9a06390290e95fa25d8a6ed18b951a5d --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s7/environment/instance.json @@ -0,0 +1 @@ +{"N": 357, "t": 108, "family": "ae_p38_factorial_factors", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s7/instruction.md b/tasks/construct-ae-p38-factorial-factors-l3-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..90fdd969279cd223fafcd9e529513c793dbb343c --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s7/instruction.md @@ -0,0 +1,13 @@ +Factoring N! into N large factors (Erdos-Guy-Selfridge). + +Let N = 357. Write N! as a product of exactly N positive integers, + + N! = a_1 * a_2 * ... * a_N, + +such that every factor satisfies a_i >= 108. (The order of the factors does not matter; repeated values are +allowed.) The check is exact: the product of your numbers must equal N! and every number must be an integer +>= 108. + +Answer format: {"factors": [a_1, a_2, ..., a_N]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s7/solution/solve.sh b/tasks/construct-ae-p38-factorial-factors-l3-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..c138023163ddf57a6a47f39e6e026b56ad8e8d27 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"factors": [972, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, 109, 109, 109, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 111, 111, 111, 111, 111, 111, 111, 111, 111, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 113, 113, 113, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 118, 118, 118, 118, 118, 118, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 120, 120, 120, 120, 120, 120, 122, 122, 122, 122, 122, 123, 123, 123, 123, 123, 123, 123, 123, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 127, 127, 129, 129, 129, 129, 129, 129, 129, 129, 131, 131, 134, 134, 134, 134, 134, 137, 137, 139, 139, 141, 141, 141, 141, 141, 141, 141, 142, 142, 142, 142, 142, 146, 146, 146, 146, 149, 149, 151, 151, 157, 157, 158, 158, 158, 158, 159, 159, 159, 159, 159, 159, 163, 163, 166, 166, 166, 166, 167, 167, 173, 173, 178, 178, 178, 178, 179, 181, 191, 193, 194, 194, 194, 197, 199, 200, 202, 202, 202, 206, 206, 206, 211, 214, 214, 214, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353]} +RLMATH_EOF diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s7/task.toml b/tasks/construct-ae-p38-factorial-factors-l3-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5b971314e2e04fd7fd25267e9efe2b496010e1b3 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-ae-p38-factorial-factors-l3-s7" +version = "0.2.0" +description = "construct/ae_p38_factorial_factors" +authors = [] +keywords = ["rlmath", "construct", "ae_p38_factorial_factors"] + +[metadata] +subset = "construct" +family = "ae_p38_factorial_factors" +problem_key = "factorial_into_n_large_factors_A034258" +domain = "number_theory" +tier = "research" +level = "3" +source = "AlphaEvolve-Repository-of-Problems/38-factoring-N-factorial" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "exact_integer", "ilp_friendly", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/check.py b/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..93ec67a19039afa8b4ce6e39811691b802132562 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/check.py @@ -0,0 +1,12 @@ +"""Factor N! into N factors, each >= t (AlphaEvolve problem 38 / OEIS A034258). Exact big-integer check.""" +import math + +from run import Invalid, int_list + + +def check(inst, ans): + n, t = inst["N"], inst["t"] + f = int_list(ans.get("factors"), n, t, None, "factors") + if math.prod(f) != math.factorial(n): + raise Invalid(f"the product of the factors is not {n}!") + return None, {"min_factor": min(f)} diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/instance.json b/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..dc1bdc9e9a06390290e95fa25d8a6ed18b951a5d --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/instance.json @@ -0,0 +1 @@ +{"N": 357, "t": 108, "family": "ae_p38_factorial_factors", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/run.py b/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/test.sh b/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s9/environment/Dockerfile b/tasks/construct-ae-p38-factorial-factors-l3-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s9/environment/instance.json b/tasks/construct-ae-p38-factorial-factors-l3-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..069e7e0cb2e9f80f8a9c33acc6927c9cb0147fb2 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s9/environment/instance.json @@ -0,0 +1 @@ +{"N": 395, "t": 120, "family": "ae_p38_factorial_factors", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s9/instruction.md b/tasks/construct-ae-p38-factorial-factors-l3-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..9f87490ac6216cfee91017e85c8c0943087a26a7 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s9/instruction.md @@ -0,0 +1,13 @@ +Factoring N! into N large factors (Erdos-Guy-Selfridge). + +Let N = 395. Write N! as a product of exactly N positive integers, + + N! = a_1 * a_2 * ... * a_N, + +such that every factor satisfies a_i >= 120. (The order of the factors does not matter; repeated values are +allowed.) The check is exact: the product of your numbers must equal N! and every number must be an integer +>= 120. + +Answer format: {"factors": [a_1, a_2, ..., a_N]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s9/solution/solve.sh b/tasks/construct-ae-p38-factorial-factors-l3-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..6bcd3cab0b7d4b80a81a84ad6cecef0b253a5f72 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"factors": [120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 122, 122, 122, 122, 122, 122, 123, 123, 123, 123, 123, 123, 123, 123, 123, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 125, 125, 125, 125, 125, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 127, 127, 127, 129, 129, 129, 129, 129, 129, 129, 129, 129, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 131, 131, 131, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 134, 134, 134, 134, 134, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 137, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 139, 141, 141, 141, 141, 141, 141, 141, 141, 142, 142, 142, 142, 142, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 146, 146, 146, 146, 146, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 149, 149, 151, 151, 157, 157, 158, 158, 158, 158, 158, 159, 159, 159, 159, 159, 159, 159, 163, 163, 166, 166, 166, 166, 167, 167, 169, 169, 169, 169, 171, 173, 173, 177, 177, 177, 177, 177, 177, 178, 178, 178, 178, 179, 179, 181, 181, 191, 191, 193, 193, 194, 194, 194, 194, 197, 197, 199, 202, 202, 202, 206, 206, 206, 211, 214, 214, 214, 218, 218, 218, 223, 226, 226, 226, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389]} +RLMATH_EOF diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s9/task.toml b/tasks/construct-ae-p38-factorial-factors-l3-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..bfdbd0c8fd624e4147c4073fd85ce79bad40b26e --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-ae-p38-factorial-factors-l3-s9" +version = "0.2.0" +description = "construct/ae_p38_factorial_factors" +authors = [] +keywords = ["rlmath", "construct", "ae_p38_factorial_factors"] + +[metadata] +subset = "construct" +family = "ae_p38_factorial_factors" +problem_key = "factorial_into_n_large_factors_A034258" +domain = "number_theory" +tier = "research" +level = "3" +source = "AlphaEvolve-Repository-of-Problems/38-factoring-N-factorial" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "exact_integer", "ilp_friendly", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/check.py b/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..93ec67a19039afa8b4ce6e39811691b802132562 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/check.py @@ -0,0 +1,12 @@ +"""Factor N! into N factors, each >= t (AlphaEvolve problem 38 / OEIS A034258). Exact big-integer check.""" +import math + +from run import Invalid, int_list + + +def check(inst, ans): + n, t = inst["N"], inst["t"] + f = int_list(ans.get("factors"), n, t, None, "factors") + if math.prod(f) != math.factorial(n): + raise Invalid(f"the product of the factors is not {n}!") + return None, {"min_factor": min(f)} diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/instance.json b/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..069e7e0cb2e9f80f8a9c33acc6927c9cb0147fb2 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/instance.json @@ -0,0 +1 @@ +{"N": 395, "t": 120, "family": "ae_p38_factorial_factors", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/run.py b/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/test.sh b/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-ae-p38-factorial-factors-l3-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s2/instruction.md b/tasks/construct-ae-p52-erdos-squarefree-l3-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..8819d1672c63a1ceb17e2d26e4373ab3530ce6a4 --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s2/instruction.md @@ -0,0 +1,8 @@ +Erdos squarefree problem. + +Let N = 1344. Find a set A of distinct integers in {1, 2, ..., N} with 54 <= |A| <= 128 such that for ALL a, b in A +(including a = b) the number a*b + 1 is NOT squarefree, i.e. a*b + 1 is divisible by p^2 for some prime p. + +Answer format: {"A": [a_1, a_2, ..., a_m]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s2/task.toml b/tasks/construct-ae-p52-erdos-squarefree-l3-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..cc985ddb954c54a07f13ad24ca201d7bb73e11bc --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-ae-p52-erdos-squarefree-l3-s2" +version = "0.2.0" +description = "construct/ae_p52_erdos_squarefree" +authors = [] +keywords = ["rlmath", "construct", "ae_p52_erdos_squarefree"] + +[metadata] +subset = "construct" +family = "ae_p52_erdos_squarefree" +problem_key = "erdos_ab_plus_1_never_squarefree" +domain = "number_theory" +tier = "research" +level = "3" +source = "AlphaEvolve-Repository-of-Problems/52-erdos-squarefree" +source_license = "CC-BY-4.0" +tags = ["exact_integer"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s5/environment/Dockerfile b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s5/environment/instance.json b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e35a23e095c01a138d48653720efa9abe1483148 --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/environment/instance.json @@ -0,0 +1 @@ +{"N": 790, "t": 32, "family": "ae_p52_erdos_squarefree", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s5/instruction.md b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b50cb70db421645e33b06ed058deed380d898e7d --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/instruction.md @@ -0,0 +1,8 @@ +Erdos squarefree problem. + +Let N = 790. Find a set A of distinct integers in {1, 2, ..., N} with 32 <= |A| <= 84 such that for ALL a, b in A +(including a = b) the number a*b + 1 is NOT squarefree, i.e. a*b + 1 is divisible by p^2 for some prime p. + +Answer format: {"A": [a_1, a_2, ..., a_m]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s5/solution/solve.sh b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..60c024e4eb907081bf4603d6cab9641097e729c3 --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"A": [7, 32, 57, 82, 107, 132, 157, 182, 207, 232, 257, 282, 307, 332, 357, 382, 407, 432, 457, 482, 507, 532, 557, 582, 607, 632, 657, 682, 707, 732, 757, 782]} +RLMATH_EOF diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s5/task.toml b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5b0783d712188de0a92cb955d7c4ea226406ff7e --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-ae-p52-erdos-squarefree-l3-s5" +version = "0.2.0" +description = "construct/ae_p52_erdos_squarefree" +authors = [] +keywords = ["rlmath", "construct", "ae_p52_erdos_squarefree"] + +[metadata] +subset = "construct" +family = "ae_p52_erdos_squarefree" +problem_key = "erdos_ab_plus_1_never_squarefree" +domain = "number_theory" +tier = "research" +level = "3" +source = "AlphaEvolve-Repository-of-Problems/52-erdos-squarefree" +source_license = "CC-BY-4.0" +tags = ["exact_integer"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/check.py b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..87e15b242f211059193ba122baecdee9add99130 --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/check.py @@ -0,0 +1,38 @@ +"""Erdos squarefree problem (AlphaEvolve problem 52): A in [1, N], |A| >= t, ab+1 NOT squarefree for all a, b in A +(a = b included). The repo's problem page says "square-free"; the notebook and the Erdos problem ask for +"never squarefree", which is what we check. Exact: for every pair we find a prime p with p^2 | ab+1.""" +import numpy as np + +from run import Invalid, int_list + + +def _primes(n): + s = np.ones(n + 1, dtype=bool) + s[:2] = False + for i in range(2, int(n ** .5) + 1): + if s[i]: + s[i * i::i] = False + return np.nonzero(s)[0] + + +def check(inst, ans): + n, t = inst["N"], inst["t"] + a = ans.get("A") + if not isinstance(a, list) or not (t <= len(a) <= 2 * t + 20): + raise Invalid(f"A must be a list of {t}..{2 * t + 20} integers") + int_list(a, None, 1, n, "A") + if len(set(a)) != len(a): + raise Invalid("A must consist of distinct integers") + x = np.array(sorted(a), dtype=np.int64) + iu, ju = np.triu_indices(len(x)) + va, vb = x[iu], x[ju] + left = np.ones(len(iu), dtype=bool) # pairs without a square divisor found yet + for p in _primes(int((n * n + 1) ** .5) + 1): + q = int(p) * int(p) + idx = np.nonzero(left)[0] + hit = ((va[idx] % q) * (vb[idx] % q) + 1) % q == 0 + left[idx[hit]] = False + if not left.any(): + return None, {"size": len(a)} + k = int(np.nonzero(left)[0][0]) + raise Invalid(f"{int(va[k])}*{int(vb[k])}+1 = {int(va[k]) * int(vb[k]) + 1} is squarefree") diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/instance.json b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e35a23e095c01a138d48653720efa9abe1483148 --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/instance.json @@ -0,0 +1 @@ +{"N": 790, "t": 32, "family": "ae_p52_erdos_squarefree", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/run.py b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/test.sh b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-ae-p52-erdos-squarefree-l3-s5/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-ae-p54-touching-cylinders-l2-s0/instruction.md b/tasks/construct-ae-p54-touching-cylinders-l2-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..49b50952eba6cc77cbbe823ba4591a38095ffeb0 --- /dev/null +++ b/tasks/construct-ae-p54-touching-cylinders-l2-s0/instruction.md @@ -0,0 +1,14 @@ +Nine pairwise touching cylinders of arbitrary radii. + +Find 9 infinite circular cylinders in R^3 with radii r_i in [0.1, 10] such that every two of them touch +externally, i.e. for every pair the distance between the axes equals r_i + r_j (checked with absolute tolerance +1e-09). + +Describe cylinder i by a point (x, y, z) on its axis, an axis direction (dx, dy, dz) (any non-zero length; it is +normalized) and its radius r. Distances between skew axes are |(p_j - p_i) . (v_i x v_j)| / |v_i x v_j| +(parallel axes: distance between the lines). Every point must satisfy |x|, |y|, |z| <= 1000, and for every pair +the midpoint of the common perpendicular of the two axes must lie in [-100, 100]^3. + +Answer format: {"cylinders": [[x, y, z, dx, dy, dz, r], ... 9 rows]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-ae-p54-touching-cylinders-l2-s0/task.toml b/tasks/construct-ae-p54-touching-cylinders-l2-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..dff6823b7222f832c55e0d703b89480e1dc6c775 --- /dev/null +++ b/tasks/construct-ae-p54-touching-cylinders-l2-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-ae-p54-touching-cylinders-l2-s0" +version = "0.2.0" +description = "construct/ae_p54_touching_cylinders" +authors = [] +keywords = ["rlmath", "construct", "ae_p54_touching_cylinders"] + +[metadata] +subset = "construct" +family = "ae_p54_touching_cylinders" +problem_key = "mutually_touching_infinite_cylinders" +domain = "discrete_geometry" +tier = "research" +level = "2" +source = "AlphaEvolve-Repository-of-Problems/54-pairwise-touching-cylinders" +source_license = "CC-BY-4.0" +tags = ["float_tolerance", "nonlinear_system"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-ae-p58-happy-ending-l4-s0/instruction.md b/tasks/construct-ae-p58-happy-ending-l4-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..21e61976510d0e557eadc07c2c3690713ca826bb --- /dev/null +++ b/tasks/construct-ae-p58-happy-ending-l4-s0/instruction.md @@ -0,0 +1,12 @@ +Erdos-Szekeres happy ending problem (lower-bound construction). + +Place n = 64 distinct points with integer coordinates (|x|, |y| <= 10^18) in the plane such that +1. no three of the points are collinear, and +2. no 8 of the points are in convex position (i.e. the points contain no convex 8-gon: no 8-point + subset whose points are all vertices of its convex hull). + +Everything is checked with exact integer arithmetic. + +Answer format: {"points": [[x_1, y_1], [x_2, y_2], ..., [x_64, y_64]]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-ae-p58-happy-ending-l4-s0/task.toml b/tasks/construct-ae-p58-happy-ending-l4-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..c51e0c95ad0015e6e97526d214f25c7de187ea40 --- /dev/null +++ b/tasks/construct-ae-p58-happy-ending-l4-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-ae-p58-happy-ending-l4-s0" +version = "0.2.0" +description = "construct/ae_p58_happy_ending" +authors = [] +keywords = ["rlmath", "construct", "ae_p58_happy_ending"] + +[metadata] +subset = "construct" +family = "ae_p58_happy_ending" +problem_key = "erdos_szekeres_no_convex_k_gon_2pow_k_minus_2" +domain = "discrete_geometry" +tier = "research" +level = "4" +source = "AlphaEvolve-Repository-of-Problems/58-erdos-szekeres-happy-ending" +source_license = "CC-BY-4.0" +tags = ["exact_integer", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-all-interval-l3-s0/environment/Dockerfile b/tasks/construct-mc-all-interval-l3-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-all-interval-l3-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-all-interval-l3-s0/environment/instance.json b/tasks/construct-mc-all-interval-l3-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..c945459801c354acf98b51792b30dea25223fab4 --- /dev/null +++ b/tasks/construct-mc-all-interval-l3-s0/environment/instance.json @@ -0,0 +1 @@ +{"n": 14, "fixed": [["x", 6, 3], ["x", 12, 6], ["d", 3, 10], ["d", 11, 2]], "family": "mc_all_interval", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-all-interval-l3-s0/instruction.md b/tasks/construct-mc-all-interval-l3-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..63f217eaea144aadd36766f5e1623bfb28ad9fa4 --- /dev/null +++ b/tasks/construct-mc-all-interval-l3-s0/instruction.md @@ -0,0 +1,10 @@ +An all-interval series of size 14 is a permutation x[0..13] of 0..13 such that the absolute differences d[i] = |x[i+1] - x[i]| (i = 0..12) form a permutation of 1..13. + +Find an all-interval series of size 14. + +Some values are fixed in advance and your answer must agree with them: +x[6] = 3, x[12] = 6, d[3] = 10, d[11] = 2 + +Answer format: {"x": [x_0, x_1, ..., x_13]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-all-interval-l3-s0/solution/solve.sh b/tasks/construct-mc-all-interval-l3-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..885169fdbe5ada4afee8be54e3689bbc1f1d3c86 --- /dev/null +++ b/tasks/construct-mc-all-interval-l3-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": [0, 13, 1, 12, 2, 11, 3, 10, 4, 9, 5, 8, 6, 7]} +RLMATH_EOF diff --git a/tasks/construct-mc-all-interval-l3-s0/task.toml b/tasks/construct-mc-all-interval-l3-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..e1fbbf4fed5666cdf0cb432bc303ccb3396147de --- /dev/null +++ b/tasks/construct-mc-all-interval-l3-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-all-interval-l3-s0" +version = "0.2.0" +description = "construct/mc_all_interval" +authors = [] +keywords = ["rlmath", "construct", "mc_all_interval"] + +[metadata] +subset = "construct" +family = "mc_all_interval" +problem_key = "all_interval_series" +domain = "combinatorics" +tier = "competition" +level = "3" +source = "MathConstraint/all_interval" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-all-interval-l3-s0/tests/check.py b/tasks/construct-mc-all-interval-l3-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..2e39eec264b6422a47e35921b8cdbe1fa1748307 --- /dev/null +++ b/tasks/construct-mc-all-interval-l3-s0/tests/check.py @@ -0,0 +1,17 @@ +"""All-interval series of size n (MathConstraint all_interval, CC-BY-4.0). Accepts any valid series.""" +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + x = int_list(ans.get("x"), n, 0, n - 1, "x") + if sorted(x) != list(range(n)): + raise Invalid("x is not a permutation of 0..n-1") + d = [abs(x[i + 1] - x[i]) for i in range(n - 1)] + if sorted(d) != list(range(1, n)): + raise Invalid("consecutive differences are not a permutation of 1..n-1") + seqs = {"x": x, "d": d} + for name, i, v in inst.get("fixed", []): + if seqs[name][i] != v: + raise Invalid(f"fixed value {name}[{i}] = {v} not respected") + return None, {} diff --git a/tasks/construct-mc-all-interval-l3-s0/tests/instance.json b/tasks/construct-mc-all-interval-l3-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..c945459801c354acf98b51792b30dea25223fab4 --- /dev/null +++ b/tasks/construct-mc-all-interval-l3-s0/tests/instance.json @@ -0,0 +1 @@ +{"n": 14, "fixed": [["x", 6, 3], ["x", 12, 6], ["d", 3, 10], ["d", 11, 2]], "family": "mc_all_interval", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-all-interval-l3-s0/tests/run.py b/tasks/construct-mc-all-interval-l3-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-all-interval-l3-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-all-interval-l3-s0/tests/test.sh b/tasks/construct-mc-all-interval-l3-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-all-interval-l3-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-bibd-l4-s2/instruction.md b/tasks/construct-mc-bibd-l4-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..e40f98b297a007b1df33b5ef142f28e44af4e6bb --- /dev/null +++ b/tasks/construct-mc-bibd-l4-s2/instruction.md @@ -0,0 +1,7 @@ +A balanced incomplete block design BIBD(16, 4, 3) is a collection of b = 60 blocks, each a set of 4 distinct points from {0, 1, ..., 15}, such that every pair of distinct points is contained in exactly 3 of the blocks (consequently every point lies in exactly r = 15 blocks). The same block may appear more than once. + +Construct a BIBD(16, 4, 3). + +Answer format: {"blocks": [[p, p, ...], ...]}: a list of exactly 60 blocks, each a list of 4 distinct integers in 0..15 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-bibd-l4-s2/task.toml b/tasks/construct-mc-bibd-l4-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..3e06a050140f488c0ca4bf8b4b537d82c520b119 --- /dev/null +++ b/tasks/construct-mc-bibd-l4-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-bibd-l4-s2" +version = "0.2.0" +description = "construct/mc_bibd" +authors = [] +keywords = ["rlmath", "construct", "mc_bibd"] + +[metadata] +subset = "construct" +family = "mc_bibd" +problem_key = "bibd" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "MathConstraint/bibd" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-bibd-l4-s5/instruction.md b/tasks/construct-mc-bibd-l4-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..58f8d8257521b22b6df80c1eba2c118f728cf818 --- /dev/null +++ b/tasks/construct-mc-bibd-l4-s5/instruction.md @@ -0,0 +1,7 @@ +A balanced incomplete block design BIBD(19, 9, 4) is a collection of b = 19 blocks, each a set of 9 distinct points from {0, 1, ..., 18}, such that every pair of distinct points is contained in exactly 4 of the blocks (consequently every point lies in exactly r = 9 blocks). The same block may appear more than once. + +Construct a BIBD(19, 9, 4). + +Answer format: {"blocks": [[p, p, ...], ...]}: a list of exactly 19 blocks, each a list of 9 distinct integers in 0..18 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-bibd-l4-s5/task.toml b/tasks/construct-mc-bibd-l4-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..fd9c52424a6fdea0268fbcaf0702f2f35f0fd542 --- /dev/null +++ b/tasks/construct-mc-bibd-l4-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-bibd-l4-s5" +version = "0.2.0" +description = "construct/mc_bibd" +authors = [] +keywords = ["rlmath", "construct", "mc_bibd"] + +[metadata] +subset = "construct" +family = "mc_bibd" +problem_key = "bibd" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "MathConstraint/bibd" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-costas-array-l1-s0/environment/Dockerfile b/tasks/construct-mc-costas-array-l1-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-costas-array-l1-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-costas-array-l1-s0/environment/instance.json b/tasks/construct-mc-costas-array-l1-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..d11a024f5a56d48a4ac3f3c469035c294decc374 --- /dev/null +++ b/tasks/construct-mc-costas-array-l1-s0/environment/instance.json @@ -0,0 +1 @@ +{"n": 8, "fixed": [], "family": "mc_costas_array", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-costas-array-l1-s0/instruction.md b/tasks/construct-mc-costas-array-l1-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b97047fe438ea0e3de18bfc6f3cfe351c10f2f91 --- /dev/null +++ b/tasks/construct-mc-costas-array-l1-s0/instruction.md @@ -0,0 +1,7 @@ +A Costas array of order 8 is a 8x8 grid with exactly one mark in every row and every column such that the displacement vectors between pairs of marks are all distinct. Encode it as a permutation x[0..7] of 0..7, where x[c] is the row of the mark in column c; the condition is that the vectors (j - i, x[j] - x[i]) over all column pairs i < j are pairwise distinct. + +Find a Costas array of order 8. + +Answer format: {"x": [x_0, x_1, ..., x_7]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-costas-array-l1-s0/solution/solve.sh b/tasks/construct-mc-costas-array-l1-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..5c71af1344697aebeae90ab133bb3d111a6e085d --- /dev/null +++ b/tasks/construct-mc-costas-array-l1-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": [4, 7, 3, 2, 0, 5, 6, 1]} +RLMATH_EOF diff --git a/tasks/construct-mc-costas-array-l1-s0/task.toml b/tasks/construct-mc-costas-array-l1-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..611cd1da3ffe32efebce7e89139c76e70f3d6ac1 --- /dev/null +++ b/tasks/construct-mc-costas-array-l1-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-costas-array-l1-s0" +version = "0.2.0" +description = "construct/mc_costas_array" +authors = [] +keywords = ["rlmath", "construct", "mc_costas_array"] + +[metadata] +subset = "construct" +family = "mc_costas_array" +problem_key = "costas_array" +domain = "combinatorics" +tier = "competition" +level = "1" +source = "MathConstraint/costas_array" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-costas-array-l1-s0/tests/check.py b/tasks/construct-mc-costas-array-l1-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..c86323a5b639b23787ecd4d5f358b986bbd91b6c --- /dev/null +++ b/tasks/construct-mc-costas-array-l1-s0/tests/check.py @@ -0,0 +1,22 @@ +"""Costas array of order n (MathConstraint costas_array, CC-BY-4.0). Accepts any valid array. +Adapted from pilot/grader.py check_costas; adds the optional fixed entries (upstream partial assignment).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + x = int_list(ans.get("x"), n, 0, n - 1, "x") + if sorted(x) != list(range(n)): + raise Invalid("x is not a permutation of 0..n-1") + for name, i, v in inst.get("fixed", []): + if x[i] != v: + raise Invalid(f"fixed value {name}[{i}] = {v} not respected") + vecs = set() + for i, j in itertools.combinations(range(n), 2): + d = (j - i, x[j] - x[i]) + if d in vecs: + raise Invalid(f"repeated displacement vector {d}") + vecs.add(d) + return None, {} diff --git a/tasks/construct-mc-costas-array-l1-s0/tests/instance.json b/tasks/construct-mc-costas-array-l1-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..d11a024f5a56d48a4ac3f3c469035c294decc374 --- /dev/null +++ b/tasks/construct-mc-costas-array-l1-s0/tests/instance.json @@ -0,0 +1 @@ +{"n": 8, "fixed": [], "family": "mc_costas_array", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-costas-array-l1-s0/tests/run.py b/tasks/construct-mc-costas-array-l1-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-costas-array-l1-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-costas-array-l1-s0/tests/test.sh b/tasks/construct-mc-costas-array-l1-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-costas-array-l1-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-costas-array-l5-s1/environment/Dockerfile b/tasks/construct-mc-costas-array-l5-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-costas-array-l5-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-costas-array-l5-s1/environment/instance.json b/tasks/construct-mc-costas-array-l5-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b199e9ac93d5ab27c9283557e8a3005378797c7c --- /dev/null +++ b/tasks/construct-mc-costas-array-l5-s1/environment/instance.json @@ -0,0 +1 @@ +{"n": 22, "fixed": [], "family": "mc_costas_array", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-costas-array-l5-s1/instruction.md b/tasks/construct-mc-costas-array-l5-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..6e18925fd1dc8135abd4517272a1013aeee7ea2b --- /dev/null +++ b/tasks/construct-mc-costas-array-l5-s1/instruction.md @@ -0,0 +1,7 @@ +A Costas array of order 22 is a 22x22 grid with exactly one mark in every row and every column such that the displacement vectors between pairs of marks are all distinct. Encode it as a permutation x[0..21] of 0..21, where x[c] is the row of the mark in column c; the condition is that the vectors (j - i, x[j] - x[i]) over all column pairs i < j are pairwise distinct. + +Find a Costas array of order 22. + +Answer format: {"x": [x_0, x_1, ..., x_21]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-costas-array-l5-s1/solution/solve.sh b/tasks/construct-mc-costas-array-l5-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..8a502d9ddba175f9ca5d77d50ff12a00fc23e4bd --- /dev/null +++ b/tasks/construct-mc-costas-array-l5-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": [0, 14, 17, 16, 1, 6, 12, 10, 3, 13, 2, 21, 7, 4, 5, 20, 15, 9, 11, 18, 8, 19]} +RLMATH_EOF diff --git a/tasks/construct-mc-costas-array-l5-s1/task.toml b/tasks/construct-mc-costas-array-l5-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..42a89c0a7386e284a94e340f0d0800ebbbfa6a2a --- /dev/null +++ b/tasks/construct-mc-costas-array-l5-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-costas-array-l5-s1" +version = "0.2.0" +description = "construct/mc_costas_array" +authors = [] +keywords = ["rlmath", "construct", "mc_costas_array"] + +[metadata] +subset = "construct" +family = "mc_costas_array" +problem_key = "costas_array" +domain = "combinatorics" +tier = "competition" +level = "5" +source = "MathConstraint/costas_array" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-costas-array-l5-s1/tests/check.py b/tasks/construct-mc-costas-array-l5-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..c86323a5b639b23787ecd4d5f358b986bbd91b6c --- /dev/null +++ b/tasks/construct-mc-costas-array-l5-s1/tests/check.py @@ -0,0 +1,22 @@ +"""Costas array of order n (MathConstraint costas_array, CC-BY-4.0). Accepts any valid array. +Adapted from pilot/grader.py check_costas; adds the optional fixed entries (upstream partial assignment).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + x = int_list(ans.get("x"), n, 0, n - 1, "x") + if sorted(x) != list(range(n)): + raise Invalid("x is not a permutation of 0..n-1") + for name, i, v in inst.get("fixed", []): + if x[i] != v: + raise Invalid(f"fixed value {name}[{i}] = {v} not respected") + vecs = set() + for i, j in itertools.combinations(range(n), 2): + d = (j - i, x[j] - x[i]) + if d in vecs: + raise Invalid(f"repeated displacement vector {d}") + vecs.add(d) + return None, {} diff --git a/tasks/construct-mc-costas-array-l5-s1/tests/instance.json b/tasks/construct-mc-costas-array-l5-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b199e9ac93d5ab27c9283557e8a3005378797c7c --- /dev/null +++ b/tasks/construct-mc-costas-array-l5-s1/tests/instance.json @@ -0,0 +1 @@ +{"n": 22, "fixed": [], "family": "mc_costas_array", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-costas-array-l5-s1/tests/run.py b/tasks/construct-mc-costas-array-l5-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-costas-array-l5-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-costas-array-l5-s1/tests/test.sh b/tasks/construct-mc-costas-array-l5-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-costas-array-l5-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-debruijn-l4-s3/environment/Dockerfile b/tasks/construct-mc-debruijn-l4-s3/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-debruijn-l4-s3/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-debruijn-l4-s3/environment/instance.json b/tasks/construct-mc-debruijn-l4-s3/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b4633a50ce94fb2fb02bc37793891ba30ae9d10c --- /dev/null +++ b/tasks/construct-mc-debruijn-l4-s3/environment/instance.json @@ -0,0 +1 @@ +{"b": 6, "n": 3, "family": "mc_debruijn", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-debruijn-l4-s3/instruction.md b/tasks/construct-mc-debruijn-l4-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..52fb3207d26b9ea152707cebaf7a763555168863 --- /dev/null +++ b/tasks/construct-mc-debruijn-l4-s3/instruction.md @@ -0,0 +1,7 @@ +A De Bruijn sequence B(6, 3) is a cyclic sequence x[0..215] of length 6^3 = 216 over the alphabet {0, ..., 5} in which every word of length 3 over that alphabet appears exactly once as a window x[i], x[i+1], ..., x[i+2] (indices taken modulo 216). + +Find a De Bruijn sequence B(6, 3). + +Answer format: {"seq": [x_0, x_1, ..., x_215]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-debruijn-l4-s3/solution/solve.sh b/tasks/construct-mc-debruijn-l4-s3/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..9469e5bed018af12e0c1dc62c4cffc0d8e9dfda5 --- /dev/null +++ b/tasks/construct-mc-debruijn-l4-s3/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"seq": [0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 1, 1, 0, 1, 2, 0, 1, 3, 0, 1, 4, 0, 1, 5, 0, 2, 1, 0, 2, 2, 0, 2, 3, 0, 2, 4, 0, 2, 5, 0, 3, 1, 0, 3, 2, 0, 3, 3, 0, 3, 4, 0, 3, 5, 0, 4, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 5, 1, 0, 5, 2, 0, 5, 3, 0, 5, 4, 0, 5, 5, 1, 1, 1, 2, 1, 1, 3, 1, 1, 4, 1, 1, 5, 1, 2, 2, 1, 2, 3, 1, 2, 4, 1, 2, 5, 1, 3, 2, 1, 3, 3, 1, 3, 4, 1, 3, 5, 1, 4, 2, 1, 4, 3, 1, 4, 4, 1, 4, 5, 1, 5, 2, 1, 5, 3, 1, 5, 4, 1, 5, 5, 2, 2, 2, 3, 2, 2, 4, 2, 2, 5, 2, 3, 3, 2, 3, 4, 2, 3, 5, 2, 4, 3, 2, 4, 4, 2, 4, 5, 2, 5, 3, 2, 5, 4, 2, 5, 5, 3, 3, 3, 4, 3, 3, 5, 3, 4, 4, 3, 4, 5, 3, 5, 4, 3, 5, 5, 4, 4, 4, 5, 4, 5, 5, 5]} +RLMATH_EOF diff --git a/tasks/construct-mc-debruijn-l4-s3/task.toml b/tasks/construct-mc-debruijn-l4-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..316cab466d872975249621a37da4d5dcde5b7b28 --- /dev/null +++ b/tasks/construct-mc-debruijn-l4-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-debruijn-l4-s3" +version = "0.2.0" +description = "construct/mc_debruijn" +authors = [] +keywords = ["rlmath", "construct", "mc_debruijn"] + +[metadata] +subset = "construct" +family = "mc_debruijn" +problem_key = "de_bruijn_sequence" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "MathConstraint/debruijn" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-debruijn-l4-s3/tests/check.py b/tasks/construct-mc-debruijn-l4-s3/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..c9d6f0177d2b3bde8306d74939ee9704c1501a23 --- /dev/null +++ b/tasks/construct-mc-debruijn-l4-s3/tests/check.py @@ -0,0 +1,15 @@ +"""De Bruijn sequence B(b, n) (MathConstraint debruijn, CC-BY-4.0). Accepts any valid cyclic sequence.""" +from run import Invalid, int_list + + +def check(inst, ans): + b, n = inst["b"], inst["n"] + m = b ** n + x = int_list(ans.get("seq"), m, 0, b - 1, "seq") + seen = set() + for i in range(m): + w = tuple(x[(i + k) % m] for k in range(n)) + if w in seen: + raise Invalid(f"window {w} occurs twice") + seen.add(w) + return None, {} diff --git a/tasks/construct-mc-debruijn-l4-s3/tests/instance.json b/tasks/construct-mc-debruijn-l4-s3/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b4633a50ce94fb2fb02bc37793891ba30ae9d10c --- /dev/null +++ b/tasks/construct-mc-debruijn-l4-s3/tests/instance.json @@ -0,0 +1 @@ +{"b": 6, "n": 3, "family": "mc_debruijn", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-debruijn-l4-s3/tests/run.py b/tasks/construct-mc-debruijn-l4-s3/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-debruijn-l4-s3/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-debruijn-l4-s3/tests/test.sh b/tasks/construct-mc-debruijn-l4-s3/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-debruijn-l4-s3/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-golomb-l6-s2/instruction.md b/tasks/construct-mc-golomb-l6-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b657be7eb5e69a1b1097219e16b85dbf0f99ceda --- /dev/null +++ b/tasks/construct-mc-golomb-l6-s2/instruction.md @@ -0,0 +1,7 @@ +A Golomb ruler with 18 marks is a list of integers 0 = a_0 < a_1 < ... < a_17 such that all 153 differences a_j - a_i (i < j) are distinct; its length is a_17. + +Find a Golomb ruler with 18 marks and length at most 216. + +Answer format: {"marks": [a_0, a_1, ..., a_17]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-golomb-l6-s2/task.toml b/tasks/construct-mc-golomb-l6-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..97a17921e200a14e8d06c8f4e57bb9ec64c884de --- /dev/null +++ b/tasks/construct-mc-golomb-l6-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-golomb-l6-s2" +version = "0.2.0" +description = "construct/mc_golomb" +authors = [] +keywords = ["rlmath", "construct", "mc_golomb"] + +[metadata] +subset = "construct" +family = "mc_golomb" +problem_key = "golomb_ruler" +domain = "combinatorics" +tier = "competition" +level = "6" +source = "MathConstraint/golomb" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-graceful-graph-l4-s0/environment/Dockerfile b/tasks/construct-mc-graceful-graph-l4-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-graceful-graph-l4-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-graceful-graph-l4-s0/environment/instance.json b/tasks/construct-mc-graceful-graph-l4-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..6fbb17d260f30348b95697517a326b572a6d52f1 --- /dev/null +++ b/tasks/construct-mc-graceful-graph-l4-s0/environment/instance.json @@ -0,0 +1 @@ +{"k": 3, "p": 7, "num_vertices": 21, "edges": [[0, 1], [0, 2], [1, 2], [3, 4], [3, 5], [4, 5], [6, 7], [6, 8], [7, 8], [9, 10], [9, 11], [10, 11], [12, 13], [12, 14], [13, 14], [15, 16], [15, 17], [16, 17], [18, 19], [18, 20], [19, 20], [0, 3], [1, 4], [2, 5], [3, 6], [4, 7], [5, 8], [6, 9], [7, 10], [8, 11], [9, 12], [10, 13], [11, 14], [12, 15], [13, 16], [14, 17], [15, 18], [16, 19], [17, 20]], "fixed": [], "family": "mc_graceful_graph", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-graceful-graph-l4-s0/instruction.md b/tasks/construct-mc-graceful-graph-l4-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..749f1ec16670af15aba8725199bceae5fa6126df --- /dev/null +++ b/tasks/construct-mc-graceful-graph-l4-s0/instruction.md @@ -0,0 +1,10 @@ +Let G be the graph with 21 vertices 0..20 made of 7 disjoint copies of the complete graph K_3 (copy g has vertices g*3, ..., g*3+2), where for each g < 6 and each i < 3 vertex g*3+i is also joined to vertex (g+1)*3+i. G has 39 edges, in this order (index: edge): +0:(0,1), 1:(0,2), 2:(1,2), 3:(3,4), 4:(3,5), 5:(4,5), 6:(6,7), 7:(6,8), 8:(7,8), 9:(9,10), 10:(9,11), 11:(10,11), 12:(12,13), 13:(12,14), 14:(13,14), 15:(15,16), 16:(15,17), 17:(16,17), 18:(18,19), 19:(18,20), 20:(19,20), 21:(0,3), 22:(1,4), 23:(2,5), 24:(3,6), 25:(4,7), 26:(5,8), 27:(6,9), 28:(7,10), 29:(8,11), 30:(9,12), 31:(10,13), 32:(11,14), 33:(12,15), 34:(13,16), 35:(14,17), 36:(15,18), 37:(16,19), 38:(17,20) + +A graceful labelling assigns every vertex a distinct label from {0, 1, ..., 39} such that the 39 edge labels d[t] = |label(u) - label(v)| (for edge t = (u, v)) are all distinct (hence exactly 1..39). + +Find a graceful labelling of G. + +Answer format: {"labels": [l_0, l_1, ..., l_20]} (label of vertex i) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-graceful-graph-l4-s0/solution/solve.sh b/tasks/construct-mc-graceful-graph-l4-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..bf8c72f48ca35efa21625f93b72ed0e15c309c65 --- /dev/null +++ b/tasks/construct-mc-graceful-graph-l4-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"labels": [1, 2, 4, 37, 6, 27, 0, 39, 5, 38, 9, 29, 3, 17, 35, 19, 32, 7, 8, 15, 34]} +RLMATH_EOF diff --git a/tasks/construct-mc-graceful-graph-l4-s0/task.toml b/tasks/construct-mc-graceful-graph-l4-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..86e6de7c66976b2604eda3fdd46fe995a036b697 --- /dev/null +++ b/tasks/construct-mc-graceful-graph-l4-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-graceful-graph-l4-s0" +version = "0.2.0" +description = "construct/mc_graceful_graph" +authors = [] +keywords = ["rlmath", "construct", "mc_graceful_graph"] + +[metadata] +subset = "construct" +family = "mc_graceful_graph" +problem_key = "graceful_labeling" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "MathConstraint/graceful_graph" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-graceful-graph-l4-s0/tests/check.py b/tasks/construct-mc-graceful-graph-l4-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..f4d33af1d63c0495c3b32d34db6ae10f0fb45923 --- /dev/null +++ b/tasks/construct-mc-graceful-graph-l4-s0/tests/check.py @@ -0,0 +1,19 @@ +"""Graceful labelling of K_k x P_p (MathConstraint graceful_graph, CC-BY-4.0): distinct vertex labels in +0..m (m = number of edges) whose edge differences |l(u) - l(v)| are all distinct.""" +from run import Invalid, int_list + + +def check(inst, ans): + nv, edges = inst["num_vertices"], inst["edges"] + m = len(edges) + x = int_list(ans.get("labels"), nv, 0, m, "labels") + if len(set(x)) != nv: + raise Invalid("vertex labels must be distinct") + d = [abs(x[u] - x[v]) for u, v in edges] + if len(set(d)) != m: + raise Invalid("edge labels are not distinct") + seqs = {"labels": x, "d": d} + for name, i, v in inst.get("fixed", []): + if seqs[name][i] != v: + raise Invalid(f"fixed value {name}[{i}] = {v} not respected") + return None, {} diff --git a/tasks/construct-mc-graceful-graph-l4-s0/tests/instance.json b/tasks/construct-mc-graceful-graph-l4-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..6fbb17d260f30348b95697517a326b572a6d52f1 --- /dev/null +++ b/tasks/construct-mc-graceful-graph-l4-s0/tests/instance.json @@ -0,0 +1 @@ +{"k": 3, "p": 7, "num_vertices": 21, "edges": [[0, 1], [0, 2], [1, 2], [3, 4], [3, 5], [4, 5], [6, 7], [6, 8], [7, 8], [9, 10], [9, 11], [10, 11], [12, 13], [12, 14], [13, 14], [15, 16], [15, 17], [16, 17], [18, 19], [18, 20], [19, 20], [0, 3], [1, 4], [2, 5], [3, 6], [4, 7], [5, 8], [6, 9], [7, 10], [8, 11], [9, 12], [10, 13], [11, 14], [12, 15], [13, 16], [14, 17], [15, 18], [16, 19], [17, 20]], "fixed": [], "family": "mc_graceful_graph", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-graceful-graph-l4-s0/tests/run.py b/tasks/construct-mc-graceful-graph-l4-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-graceful-graph-l4-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-graceful-graph-l4-s0/tests/test.sh b/tasks/construct-mc-graceful-graph-l4-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-graceful-graph-l4-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-hadamard-l4-s0/environment/Dockerfile b/tasks/construct-mc-hadamard-l4-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-hadamard-l4-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-hadamard-l4-s0/environment/instance.json b/tasks/construct-mc-hadamard-l4-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..32470738c6f4cfb931dd55b0b7db8645fa000721 --- /dev/null +++ b/tasks/construct-mc-hadamard-l4-s0/environment/instance.json @@ -0,0 +1 @@ +{"n": 29, "family": "mc_hadamard", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-hadamard-l4-s0/instruction.md b/tasks/construct-mc-hadamard-l4-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..710e74375fa594e40d70f05c1424f51c9d4759f0 --- /dev/null +++ b/tasks/construct-mc-hadamard-l4-s0/instruction.md @@ -0,0 +1,7 @@ +Find two sequences x[0..28] and y[0..28] with entries in {-1, +1} (a Legendre pair of length 29) such that + (a) sum(x) = 1 and sum(y) = 1, and + (b) for every k = 1..14: sum_{i=0}^{28} x[i]*x[(i+k) mod 29] + sum_{i=0}^{28} y[i]*y[(i+k) mod 29] = -2. + +Answer format: {"x": [x_0, ..., x_28], "y": [y_0, ..., y_28]} with entries -1 or 1 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-hadamard-l4-s0/solution/solve.sh b/tasks/construct-mc-hadamard-l4-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..bfebdda60d4d491584a4ddb8a46d9ca8d219efca --- /dev/null +++ b/tasks/construct-mc-hadamard-l4-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": [1, 1, -1, -1, 1, 1, 1, 1, -1, 1, -1, -1, -1, 1, -1, -1, 1, -1, -1, -1, 1, -1, 1, 1, 1, 1, -1, -1, 1], "y": [1, -1, 1, 1, -1, -1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, -1, 1, 1, 1, -1, 1, -1, -1, -1, -1, 1, 1, -1]} +RLMATH_EOF diff --git a/tasks/construct-mc-hadamard-l4-s0/task.toml b/tasks/construct-mc-hadamard-l4-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..e03de761f4d09f2dd7d0cc84a2c72ab68a290993 --- /dev/null +++ b/tasks/construct-mc-hadamard-l4-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-hadamard-l4-s0" +version = "0.2.0" +description = "construct/mc_hadamard" +authors = [] +keywords = ["rlmath", "construct", "mc_hadamard"] + +[metadata] +subset = "construct" +family = "mc_hadamard" +problem_key = "legendre_pair" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "MathConstraint/hadamard" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-hadamard-l4-s0/tests/check.py b/tasks/construct-mc-hadamard-l4-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..fc4b93160fd7473dd14935db9d712e52abdd00c2 --- /dev/null +++ b/tasks/construct-mc-hadamard-l4-s0/tests/check.py @@ -0,0 +1,18 @@ +"""Legendre pair of odd length n (MathConstraint hadamard, CC-BY-4.0): x, y in {-1,+1}^n with +sum(x) = sum(y) = 1 and PAF_x(k) + PAF_y(k) = -2 for k = 1..(n-1)/2 (periodic autocorrelation).""" +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + x = int_list(ans.get("x"), n, -1, 1, "x") + y = int_list(ans.get("y"), n, -1, 1, "y") + if 0 in x or 0 in y: + raise Invalid("entries must be -1 or +1") + if sum(x) != 1 or sum(y) != 1: + raise Invalid("sum(x) and sum(y) must both equal 1") + for k in range(1, (n - 1) // 2 + 1): + p = sum(x[i] * x[(i + k) % n] for i in range(n)) + sum(y[i] * y[(i + k) % n] for i in range(n)) + if p != -2: + raise Invalid(f"PAF_x({k}) + PAF_y({k}) = {p}, need -2") + return None, {} diff --git a/tasks/construct-mc-hadamard-l4-s0/tests/instance.json b/tasks/construct-mc-hadamard-l4-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..32470738c6f4cfb931dd55b0b7db8645fa000721 --- /dev/null +++ b/tasks/construct-mc-hadamard-l4-s0/tests/instance.json @@ -0,0 +1 @@ +{"n": 29, "family": "mc_hadamard", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-hadamard-l4-s0/tests/run.py b/tasks/construct-mc-hadamard-l4-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-hadamard-l4-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-hadamard-l4-s0/tests/test.sh b/tasks/construct-mc-hadamard-l4-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-hadamard-l4-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-langford-l4-s1/instruction.md b/tasks/construct-mc-langford-l4-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..c775937cc1184fd8021102636546aa7b167acd1c --- /dev/null +++ b/tasks/construct-mc-langford-l4-s1/instruction.md @@ -0,0 +1,7 @@ +A Langford sequence L(2,28) is a sequence seq[0..55] of length 56 that contains exactly two copies of each integer 1..28, such that the two copies of every value v are exactly v+1 positions apart (their indices differ by v+1). Example: L(2,3) = [2, 3, 1, 2, 1, 3]. + +Find a Langford sequence L(2,28). + +Answer format: {"seq": [s_0, s_1, ..., s_55]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-langford-l4-s1/task.toml b/tasks/construct-mc-langford-l4-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..af893a6be160d79c36d26d37a026e4a89f237605 --- /dev/null +++ b/tasks/construct-mc-langford-l4-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-langford-l4-s1" +version = "0.2.0" +description = "construct/mc_langford" +authors = [] +keywords = ["rlmath", "construct", "mc_langford"] + +[metadata] +subset = "construct" +family = "mc_langford" +problem_key = "langford_pairing" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "MathConstraint/langford" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-low-autocorrelation-l2-s2/instruction.md b/tasks/construct-mc-low-autocorrelation-l2-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..adfef05ec3088fc983ef41480efa3b8c36b5f535 --- /dev/null +++ b/tasks/construct-mc-low-autocorrelation-l2-s2/instruction.md @@ -0,0 +1,11 @@ +For a sequence seq[0..12] with entries in {-1, +1}, define the aperiodic autocorrelations C_k = sum_{i=0}^{13-k-1} seq[i]*seq[i+k] for k = 1..12 and the energy E = sum_k C_k^2. + +Find a sequence of length 13 with E <= 28. + +Some values are fixed in advance and your answer must agree with them: +seq[8] = 1, seq[10] = -1, c[4] = 2, c[5] = -1 +(c[j] denotes C_{j+1}, the autocorrelation at shift j+1.) + +Answer format: {"seq": [s_0, s_1, ..., s_12]} with every s_i equal to -1 or 1 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-low-autocorrelation-l2-s2/task.toml b/tasks/construct-mc-low-autocorrelation-l2-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..dcef9a0471238e604745e657111b76aa40564736 --- /dev/null +++ b/tasks/construct-mc-low-autocorrelation-l2-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-low-autocorrelation-l2-s2" +version = "0.2.0" +description = "construct/mc_low_autocorrelation" +authors = [] +keywords = ["rlmath", "construct", "mc_low_autocorrelation"] + +[metadata] +subset = "construct" +family = "mc_low_autocorrelation" +problem_key = "low_autocorrelation_binary_sequence" +domain = "combinatorics" +tier = "competition" +level = "2" +source = "MathConstraint/low_autocorrelation" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-low-autocorrelation-l6-s3/instruction.md b/tasks/construct-mc-low-autocorrelation-l6-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..26c973ddb8742bca8019276f109f09c64ac68822 --- /dev/null +++ b/tasks/construct-mc-low-autocorrelation-l6-s3/instruction.md @@ -0,0 +1,7 @@ +For a sequence seq[0..55] with entries in {-1, +1}, define the aperiodic autocorrelations C_k = sum_{i=0}^{56-k-1} seq[i]*seq[i+k] for k = 1..55 and the energy E = sum_k C_k^2. + +Find a sequence of length 56 with E <= 240. + +Answer format: {"seq": [s_0, s_1, ..., s_55]} with every s_i equal to -1 or 1 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-low-autocorrelation-l6-s3/task.toml b/tasks/construct-mc-low-autocorrelation-l6-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..b8d4ff9f8abb0d0a3d845b011f3fe14f797eadab --- /dev/null +++ b/tasks/construct-mc-low-autocorrelation-l6-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-low-autocorrelation-l6-s3" +version = "0.2.0" +description = "construct/mc_low_autocorrelation" +authors = [] +keywords = ["rlmath", "construct", "mc_low_autocorrelation"] + +[metadata] +subset = "construct" +family = "mc_low_autocorrelation" +problem_key = "low_autocorrelation_binary_sequence" +domain = "combinatorics" +tier = "competition" +level = "6" +source = "MathConstraint/low_autocorrelation" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-magic-sequence-l5-s3/instruction.md b/tasks/construct-mc-magic-sequence-l5-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..7d15ea656b5eff690c721ea4320faec44101b710 --- /dev/null +++ b/tasks/construct-mc-magic-sequence-l5-s3/instruction.md @@ -0,0 +1,7 @@ +A magic sequence of length 50 is a sequence x[0], x[1], ..., x[49] of non-negative integers such that for every i in 0..49, x[i] equals the number of times the value i occurs in the sequence. + +Find a magic sequence of length 50. + +Answer format: {"x": [x_0, x_1, ..., x_49]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-magic-sequence-l5-s3/task.toml b/tasks/construct-mc-magic-sequence-l5-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..8f7d879f3374b4bb14db43e436a6a5883de31d6a --- /dev/null +++ b/tasks/construct-mc-magic-sequence-l5-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-magic-sequence-l5-s3" +version = "0.2.0" +description = "construct/mc_magic_sequence" +authors = [] +keywords = ["rlmath", "construct", "mc_magic_sequence"] + +[metadata] +subset = "construct" +family = "mc_magic_sequence" +problem_key = "magic_sequence" +domain = "combinatorics" +tier = "competition" +level = "5" +source = "MathConstraint/magic_sequence" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-magic-sequence-l5-s4/instruction.md b/tasks/construct-mc-magic-sequence-l5-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..8e2a946ba584f178abe8eb37a5c75dba05d97f46 --- /dev/null +++ b/tasks/construct-mc-magic-sequence-l5-s4/instruction.md @@ -0,0 +1,7 @@ +A magic sequence of length 200 is a sequence x[0], x[1], ..., x[199] of non-negative integers such that for every i in 0..199, x[i] equals the number of times the value i occurs in the sequence. + +Find a magic sequence of length 200. + +Answer format: {"x": [x_0, x_1, ..., x_199]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-magic-sequence-l5-s4/task.toml b/tasks/construct-mc-magic-sequence-l5-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..40822699b6712081399df8145f04f8e4ec0f9121 --- /dev/null +++ b/tasks/construct-mc-magic-sequence-l5-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-magic-sequence-l5-s4" +version = "0.2.0" +description = "construct/mc_magic_sequence" +authors = [] +keywords = ["rlmath", "construct", "mc_magic_sequence"] + +[metadata] +subset = "construct" +family = "mc_magic_sequence" +problem_key = "magic_sequence" +domain = "combinatorics" +tier = "competition" +level = "5" +source = "MathConstraint/magic_sequence" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-clique-l2-s2/environment/Dockerfile b/tasks/construct-mc-max-clique-l2-s2/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s2/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-max-clique-l2-s2/environment/instance.json b/tasks/construct-mc-max-clique-l2-s2/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..d89bac32e48a76ae6b7e7c63051a5eaea3157724 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s2/environment/instance.json @@ -0,0 +1 @@ +{"n": 40, "k": 8, "edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 9], [0, 11], [0, 12], [0, 16], [0, 18], [0, 20], [0, 21], [0, 23], [0, 24], [0, 25], [0, 28], [0, 30], [0, 31], [0, 32], [0, 35], [0, 37], [0, 38], [1, 6], [1, 7], [1, 9], [1, 11], [1, 13], [1, 15], [1, 16], [1, 17], [1, 21], [1, 22], [1, 25], [1, 28], [1, 29], [1, 30], [1, 31], [1, 33], [1, 35], [1, 37], [1, 38], [1, 39], [2, 3], [2, 4], [2, 6], [2, 7], [2, 11], [2, 15], [2, 17], [2, 19], [2, 21], [2, 23], [2, 25], [2, 26], [2, 27], [2, 29], [2, 31], [2, 32], [2, 33], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 39], [3, 6], [3, 7], [3, 14], [3, 15], [3, 18], [3, 19], [3, 20], [3, 21], [3, 22], [3, 26], [3, 27], [3, 28], [3, 34], [3, 35], [3, 36], [3, 37], [3, 38], [4, 5], [4, 7], [4, 9], [4, 14], [4, 15], [4, 19], [4, 22], [4, 23], [4, 24], [4, 28], [4, 34], [4, 35], [4, 39], [5, 8], [5, 11], [5, 13], [5, 15], [5, 17], [5, 19], [5, 20], [5, 21], [5, 22], [5, 23], [5, 25], [5, 27], [5, 28], [5, 29], [5, 31], [5, 32], [5, 33], [5, 35], [5, 36], [5, 37], [5, 39], [6, 7], [6, 8], [6, 10], [6, 12], [6, 13], [6, 17], [6, 18], [6, 21], [6, 22], [6, 28], [6, 29], [6, 33], [6, 34], [6, 38], [7, 8], [7, 12], [7, 13], [7, 15], [7, 16], [7, 17], [7, 18], [7, 24], [7, 25], [7, 26], [7, 30], [7, 33], [7, 34], [7, 35], [7, 37], [8, 9], [8, 11], [8, 12], [8, 13], [8, 15], [8, 17], [8, 18], [8, 19], [8, 20], [8, 22], [8, 25], [8, 29], [8, 30], [8, 33], [8, 36], [9, 10], [9, 11], [9, 13], [9, 15], [9, 17], [9, 19], [9, 21], [9, 23], [9, 25], [9, 28], [9, 30], [9, 31], [9, 32], [9, 33], [9, 34], [9, 36], [9, 39], [10, 11], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [10, 20], [10, 21], [10, 25], [10, 27], [10, 29], [10, 33], [10, 35], [10, 36], [10, 38], [10, 39], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [11, 22], [11, 23], [11, 24], [11, 25], [11, 27], [11, 28], [11, 29], [11, 31], [11, 33], [11, 36], [11, 37], [11, 39], [12, 13], [12, 16], [12, 17], [12, 18], [12, 20], [12, 22], [12, 23], [12, 29], [12, 30], [12, 31], [12, 34], [12, 37], [12, 38], [13, 15], [13, 16], [13, 18], [13, 22], [13, 25], [13, 28], [13, 29], [13, 30], [13, 31], [13, 33], [13, 36], [13, 37], [14, 15], [14, 17], [14, 18], [14, 19], [14, 21], [14, 22], [14, 24], [14, 29], [14, 32], [14, 36], [14, 37], [14, 38], [14, 39], [15, 17], [15, 24], [15, 26], [15, 29], [15, 30], [15, 34], [15, 36], [15, 38], [15, 39], [16, 17], [16, 18], [16, 19], [16, 22], [16, 25], [16, 26], [16, 27], [16, 30], [16, 33], [16, 35], [16, 38], [17, 19], [17, 21], [17, 22], [17, 23], [17, 24], [17, 26], [17, 28], [17, 29], [17, 32], [17, 34], [17, 36], [17, 37], [17, 39], [18, 19], [18, 21], [18, 22], [18, 23], [18, 24], [18, 25], [18, 27], [18, 29], [18, 30], [18, 31], [18, 35], [18, 36], [18, 37], [18, 38], [19, 20], [19, 23], [19, 24], [19, 26], [19, 28], [19, 29], [19, 30], [19, 31], [19, 35], [19, 38], [20, 22], [20, 25], [20, 26], [20, 29], [20, 31], [20, 32], [20, 35], [20, 37], [20, 38], [20, 39], [21, 25], [21, 26], [21, 27], [21, 28], [21, 30], [21, 32], [21, 33], [21, 37], [21, 38], [22, 24], [22, 25], [22, 26], [22, 27], [22, 28], [22, 29], [22, 32], [22, 33], [22, 34], [22, 37], [22, 38], [22, 39], [23, 24], [23, 25], [23, 27], [23, 28], [23, 29], [23, 34], [23, 35], [23, 36], [23, 37], [23, 38], [24, 29], [24, 30], [24, 31], [24, 35], [24, 36], [24, 37], [25, 28], [25, 29], [25, 30], [25, 31], [25, 33], [25, 34], [25, 36], [25, 38], [26, 30], [26, 33], [26, 34], [26, 37], [26, 39], [27, 28], [27, 29], [27, 30], [27, 37], [27, 39], [28, 29], [28, 31], [28, 32], [28, 33], [28, 39], [29, 30], [29, 34], [29, 37], [30, 35], [30, 38], [31, 33], [31, 34], [31, 37], [31, 38], [32, 35], [32, 37], [32, 39], [33, 35], [33, 37], [34, 38], [35, 36], [35, 38], [35, 39], [36, 37], [36, 39], [37, 38], [37, 39]], "family": "mc_max_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-clique-l2-s2/instruction.md b/tasks/construct-mc-max-clique-l2-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..dc00b0a4a7070da6761bcfd7617db14c8c1f1718 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s2/instruction.md @@ -0,0 +1,8 @@ +Graph G with 40 vertices numbered 0..39 and 400 edges: +(0,1), (0,2), (0,3), (0,4), (0,5), (0,6), (0,7), (0,9), (0,11), (0,12), (0,16), (0,18), (0,20), (0,21), (0,23), (0,24), (0,25), (0,28), (0,30), (0,31), (0,32), (0,35), (0,37), (0,38), (1,6), (1,7), (1,9), (1,11), (1,13), (1,15), (1,16), (1,17), (1,21), (1,22), (1,25), (1,28), (1,29), (1,30), (1,31), (1,33), (1,35), (1,37), (1,38), (1,39), (2,3), (2,4), (2,6), (2,7), (2,11), (2,15), (2,17), (2,19), (2,21), (2,23), (2,25), (2,26), (2,27), (2,29), (2,31), (2,32), (2,33), (2,34), (2,35), (2,36), (2,37), (2,38), (2,39), (3,6), (3,7), (3,14), (3,15), (3,18), (3,19), (3,20), (3,21), (3,22), (3,26), (3,27), (3,28), (3,34), (3,35), (3,36), (3,37), (3,38), (4,5), (4,7), (4,9), (4,14), (4,15), (4,19), (4,22), (4,23), (4,24), (4,28), (4,34), (4,35), (4,39), (5,8), (5,11), (5,13), (5,15), (5,17), (5,19), (5,20), (5,21), (5,22), (5,23), (5,25), (5,27), (5,28), (5,29), (5,31), (5,32), (5,33), (5,35), (5,36), (5,37), (5,39), (6,7), (6,8), (6,10), (6,12), (6,13), (6,17), (6,18), (6,21), (6,22), (6,28), (6,29), (6,33), (6,34), (6,38), (7,8), (7,12), (7,13), (7,15), (7,16), (7,17), (7,18), (7,24), (7,25), (7,26), (7,30), (7,33), (7,34), (7,35), (7,37), (8,9), (8,11), (8,12), (8,13), (8,15), (8,17), (8,18), (8,19), (8,20), (8,22), (8,25), (8,29), (8,30), (8,33), (8,36), (9,10), (9,11), (9,13), (9,15), (9,17), (9,19), (9,21), (9,23), (9,25), (9,28), (9,30), (9,31), (9,32), (9,33), (9,34), (9,36), (9,39), (10,11), (10,15), (10,16), (10,17), (10,18), (10,19), (10,20), (10,21), (10,25), (10,27), (10,29), (10,33), (10,35), (10,36), (10,38), (10,39), (11,13), (11,15), (11,16), (11,17), (11,18), (11,19), (11,22), (11,23), (11,24), (11,25), (11,27), (11,28), (11,29), (11,31), (11,33), (11,36), (11,37), (11,39), (12,13), (12,16), (12,17), (12,18), (12,20), (12,22), (12,23), (12,29), (12,30), (12,31), (12,34), (12,37), (12,38), (13,15), (13,16), (13,18), (13,22), (13,25), (13,28), (13,29), (13,30), (13,31), (13,33), (13,36), (13,37), (14,15), (14,17), (14,18), (14,19), (14,21), (14,22), (14,24), (14,29), (14,32), (14,36), (14,37), (14,38), (14,39), (15,17), (15,24), (15,26), (15,29), (15,30), (15,34), (15,36), (15,38), (15,39), (16,17), (16,18), (16,19), (16,22), (16,25), (16,26), (16,27), (16,30), (16,33), (16,35), (16,38), (17,19), (17,21), (17,22), (17,23), (17,24), (17,26), (17,28), (17,29), (17,32), (17,34), (17,36), (17,37), (17,39), (18,19), (18,21), (18,22), (18,23), (18,24), (18,25), (18,27), (18,29), (18,30), (18,31), (18,35), (18,36), (18,37), (18,38), (19,20), (19,23), (19,24), (19,26), (19,28), (19,29), (19,30), (19,31), (19,35), (19,38), (20,22), (20,25), (20,26), (20,29), (20,31), (20,32), (20,35), (20,37), (20,38), (20,39), (21,25), (21,26), (21,27), (21,28), (21,30), (21,32), (21,33), (21,37), (21,38), (22,24), (22,25), (22,26), (22,27), (22,28), (22,29), (22,32), (22,33), (22,34), (22,37), (22,38), (22,39), (23,24), (23,25), (23,27), (23,28), (23,29), (23,34), (23,35), (23,36), (23,37), (23,38), (24,29), (24,30), (24,31), (24,35), (24,36), (24,37), (25,28), (25,29), (25,30), (25,31), (25,33), (25,34), (25,36), (25,38), (26,30), (26,33), (26,34), (26,37), (26,39), (27,28), (27,29), (27,30), (27,37), (27,39), (28,29), (28,31), (28,32), (28,33), (28,39), (29,30), (29,34), (29,37), (30,35), (30,38), (31,33), (31,34), (31,37), (31,38), (32,35), (32,37), (32,39), (33,35), (33,37), (34,38), (35,36), (35,38), (35,39), (36,37), (36,39), (37,38), (37,39) + +Find a clique of size at least 8 in G: a set of at least 8 vertices that are pairwise adjacent. + +Answer format: {"clique": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-clique-l2-s2/solution/solve.sh b/tasks/construct-mc-max-clique-l2-s2/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..c550ff4f298e71a24e970aa9bfa4fdde0b436f32 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s2/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [1, 9, 11, 13, 25, 28, 31, 33]} +RLMATH_EOF diff --git a/tasks/construct-mc-max-clique-l2-s2/task.toml b/tasks/construct-mc-max-clique-l2-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..26d20e4c89cb509aba0b8708189a6c96b0b9c723 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-clique-l2-s2" +version = "0.2.0" +description = "construct/mc_max_clique" +authors = [] +keywords = ["rlmath", "construct", "mc_max_clique"] + +[metadata] +subset = "construct" +family = "mc_max_clique" +problem_key = "graph_clique" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "MathConstraint/max_clique" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-clique-l2-s2/tests/check.py b/tasks/construct-mc-max-clique-l2-s2/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..e3f70dbd5b155a3514c2102aa4ad460201495210 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s2/tests/check.py @@ -0,0 +1,18 @@ +"""Clique of size >= k in a given graph (MathConstraint max_clique decision version, CC-BY-4.0).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("clique"), None, 0, n - 1, "clique") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) < k: + raise Invalid(f"clique has {len(S)} vertices, need at least {k}") + E = {(u, v) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(S), 2): + if (u, v) not in E: + raise Invalid(f"vertices {u} and {v} are not adjacent") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-max-clique-l2-s2/tests/instance.json b/tasks/construct-mc-max-clique-l2-s2/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..d89bac32e48a76ae6b7e7c63051a5eaea3157724 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s2/tests/instance.json @@ -0,0 +1 @@ +{"n": 40, "k": 8, "edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 9], [0, 11], [0, 12], [0, 16], [0, 18], [0, 20], [0, 21], [0, 23], [0, 24], [0, 25], [0, 28], [0, 30], [0, 31], [0, 32], [0, 35], [0, 37], [0, 38], [1, 6], [1, 7], [1, 9], [1, 11], [1, 13], [1, 15], [1, 16], [1, 17], [1, 21], [1, 22], [1, 25], [1, 28], [1, 29], [1, 30], [1, 31], [1, 33], [1, 35], [1, 37], [1, 38], [1, 39], [2, 3], [2, 4], [2, 6], [2, 7], [2, 11], [2, 15], [2, 17], [2, 19], [2, 21], [2, 23], [2, 25], [2, 26], [2, 27], [2, 29], [2, 31], [2, 32], [2, 33], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 39], [3, 6], [3, 7], [3, 14], [3, 15], [3, 18], [3, 19], [3, 20], [3, 21], [3, 22], [3, 26], [3, 27], [3, 28], [3, 34], [3, 35], [3, 36], [3, 37], [3, 38], [4, 5], [4, 7], [4, 9], [4, 14], [4, 15], [4, 19], [4, 22], [4, 23], [4, 24], [4, 28], [4, 34], [4, 35], [4, 39], [5, 8], [5, 11], [5, 13], [5, 15], [5, 17], [5, 19], [5, 20], [5, 21], [5, 22], [5, 23], [5, 25], [5, 27], [5, 28], [5, 29], [5, 31], [5, 32], [5, 33], [5, 35], [5, 36], [5, 37], [5, 39], [6, 7], [6, 8], [6, 10], [6, 12], [6, 13], [6, 17], [6, 18], [6, 21], [6, 22], [6, 28], [6, 29], [6, 33], [6, 34], [6, 38], [7, 8], [7, 12], [7, 13], [7, 15], [7, 16], [7, 17], [7, 18], [7, 24], [7, 25], [7, 26], [7, 30], [7, 33], [7, 34], [7, 35], [7, 37], [8, 9], [8, 11], [8, 12], [8, 13], [8, 15], [8, 17], [8, 18], [8, 19], [8, 20], [8, 22], [8, 25], [8, 29], [8, 30], [8, 33], [8, 36], [9, 10], [9, 11], [9, 13], [9, 15], [9, 17], [9, 19], [9, 21], [9, 23], [9, 25], [9, 28], [9, 30], [9, 31], [9, 32], [9, 33], [9, 34], [9, 36], [9, 39], [10, 11], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [10, 20], [10, 21], [10, 25], [10, 27], [10, 29], [10, 33], [10, 35], [10, 36], [10, 38], [10, 39], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [11, 22], [11, 23], [11, 24], [11, 25], [11, 27], [11, 28], [11, 29], [11, 31], [11, 33], [11, 36], [11, 37], [11, 39], [12, 13], [12, 16], [12, 17], [12, 18], [12, 20], [12, 22], [12, 23], [12, 29], [12, 30], [12, 31], [12, 34], [12, 37], [12, 38], [13, 15], [13, 16], [13, 18], [13, 22], [13, 25], [13, 28], [13, 29], [13, 30], [13, 31], [13, 33], [13, 36], [13, 37], [14, 15], [14, 17], [14, 18], [14, 19], [14, 21], [14, 22], [14, 24], [14, 29], [14, 32], [14, 36], [14, 37], [14, 38], [14, 39], [15, 17], [15, 24], [15, 26], [15, 29], [15, 30], [15, 34], [15, 36], [15, 38], [15, 39], [16, 17], [16, 18], [16, 19], [16, 22], [16, 25], [16, 26], [16, 27], [16, 30], [16, 33], [16, 35], [16, 38], [17, 19], [17, 21], [17, 22], [17, 23], [17, 24], [17, 26], [17, 28], [17, 29], [17, 32], [17, 34], [17, 36], [17, 37], [17, 39], [18, 19], [18, 21], [18, 22], [18, 23], [18, 24], [18, 25], [18, 27], [18, 29], [18, 30], [18, 31], [18, 35], [18, 36], [18, 37], [18, 38], [19, 20], [19, 23], [19, 24], [19, 26], [19, 28], [19, 29], [19, 30], [19, 31], [19, 35], [19, 38], [20, 22], [20, 25], [20, 26], [20, 29], [20, 31], [20, 32], [20, 35], [20, 37], [20, 38], [20, 39], [21, 25], [21, 26], [21, 27], [21, 28], [21, 30], [21, 32], [21, 33], [21, 37], [21, 38], [22, 24], [22, 25], [22, 26], [22, 27], [22, 28], [22, 29], [22, 32], [22, 33], [22, 34], [22, 37], [22, 38], [22, 39], [23, 24], [23, 25], [23, 27], [23, 28], [23, 29], [23, 34], [23, 35], [23, 36], [23, 37], [23, 38], [24, 29], [24, 30], [24, 31], [24, 35], [24, 36], [24, 37], [25, 28], [25, 29], [25, 30], [25, 31], [25, 33], [25, 34], [25, 36], [25, 38], [26, 30], [26, 33], [26, 34], [26, 37], [26, 39], [27, 28], [27, 29], [27, 30], [27, 37], [27, 39], [28, 29], [28, 31], [28, 32], [28, 33], [28, 39], [29, 30], [29, 34], [29, 37], [30, 35], [30, 38], [31, 33], [31, 34], [31, 37], [31, 38], [32, 35], [32, 37], [32, 39], [33, 35], [33, 37], [34, 38], [35, 36], [35, 38], [35, 39], [36, 37], [36, 39], [37, 38], [37, 39]], "family": "mc_max_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-clique-l2-s2/tests/run.py b/tasks/construct-mc-max-clique-l2-s2/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s2/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-max-clique-l2-s2/tests/test.sh b/tasks/construct-mc-max-clique-l2-s2/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s2/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-max-clique-l2-s5/environment/Dockerfile b/tasks/construct-mc-max-clique-l2-s5/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s5/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-max-clique-l2-s5/environment/instance.json b/tasks/construct-mc-max-clique-l2-s5/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..c7b265e854308de129354dd4d0b34c46a057ee61 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s5/environment/instance.json @@ -0,0 +1 @@ +{"n": 40, "k": 8, "edges": [[0, 4], [0, 5], [0, 6], [0, 8], [0, 9], [0, 11], [0, 12], [0, 15], [0, 16], [0, 18], [0, 20], [0, 24], [0, 26], [0, 27], [0, 29], [0, 30], [0, 33], [0, 34], [0, 37], [0, 39], [1, 2], [1, 6], [1, 7], [1, 10], [1, 13], [1, 14], [1, 15], [1, 17], [1, 18], [1, 22], [1, 24], [1, 25], [1, 26], [1, 28], [1, 29], [1, 30], [1, 34], [1, 38], [2, 5], [2, 7], [2, 8], [2, 10], [2, 11], [2, 13], [2, 14], [2, 16], [2, 17], [2, 19], [2, 20], [2, 21], [2, 22], [2, 24], [2, 25], [2, 26], [2, 27], [2, 29], [2, 30], [2, 31], [2, 33], [2, 34], [2, 35], [2, 38], [3, 5], [3, 7], [3, 9], [3, 12], [3, 13], [3, 14], [3, 15], [3, 17], [3, 18], [3, 19], [3, 21], [3, 23], [3, 24], [3, 27], [3, 31], [3, 32], [3, 35], [3, 39], [4, 6], [4, 10], [4, 13], [4, 15], [4, 17], [4, 18], [4, 19], [4, 20], [4, 23], [4, 24], [4, 29], [4, 30], [4, 34], [4, 35], [4, 39], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 13], [5, 14], [5, 15], [5, 16], [5, 19], [5, 20], [5, 22], [5, 23], [5, 25], [5, 27], [5, 34], [5, 37], [5, 39], [6, 10], [6, 13], [6, 18], [6, 20], [6, 21], [6, 23], [6, 24], [6, 26], [6, 27], [6, 30], [6, 31], [6, 35], [6, 36], [6, 38], [6, 39], [7, 8], [7, 12], [7, 13], [7, 15], [7, 18], [7, 19], [7, 20], [7, 22], [7, 24], [7, 25], [7, 27], [7, 28], [7, 29], [7, 30], [7, 31], [7, 34], [7, 37], [7, 38], [8, 9], [8, 11], [8, 13], [8, 15], [8, 17], [8, 18], [8, 21], [8, 22], [8, 23], [8, 29], [8, 33], [8, 35], [8, 36], [8, 38], [8, 39], [9, 11], [9, 13], [9, 19], [9, 21], [9, 22], [9, 23], [9, 24], [9, 29], [9, 31], [9, 33], [9, 36], [9, 39], [10, 11], [10, 12], [10, 16], [10, 17], [10, 18], [10, 20], [10, 21], [10, 23], [10, 26], [10, 30], [10, 32], [10, 36], [10, 38], [11, 13], [11, 14], [11, 16], [11, 17], [11, 19], [11, 21], [11, 23], [11, 28], [11, 29], [11, 30], [11, 31], [11, 32], [11, 33], [11, 36], [11, 37], [11, 38], [11, 39], [12, 14], [12, 15], [12, 19], [12, 23], [12, 27], [12, 29], [12, 34], [12, 35], [12, 38], [13, 14], [13, 16], [13, 17], [13, 19], [13, 20], [13, 21], [13, 23], [13, 24], [13, 25], [13, 26], [13, 30], [13, 31], [13, 33], [13, 34], [13, 35], [13, 39], [14, 15], [14, 16], [14, 18], [14, 19], [14, 20], [14, 21], [14, 23], [14, 24], [14, 26], [14, 28], [14, 31], [14, 32], [14, 37], [14, 39], [15, 20], [15, 22], [15, 24], [15, 26], [15, 27], [15, 32], [15, 33], [15, 36], [15, 38], [15, 39], [16, 17], [16, 19], [16, 21], [16, 23], [16, 24], [16, 25], [16, 26], [16, 27], [16, 29], [16, 35], [16, 36], [16, 38], [16, 39], [17, 19], [17, 20], [17, 21], [17, 23], [17, 26], [17, 27], [17, 30], [17, 31], [17, 32], [17, 34], [17, 35], [17, 36], [17, 39], [18, 23], [18, 27], [18, 29], [18, 30], [18, 31], [18, 32], [18, 33], [18, 35], [18, 36], [18, 37], [18, 38], [19, 24], [19, 25], [19, 28], [19, 33], [19, 36], [19, 38], [20, 21], [20, 22], [20, 24], [20, 26], [20, 31], [20, 32], [20, 33], [20, 34], [20, 37], [20, 39], [21, 25], [21, 26], [21, 27], [21, 28], [21, 29], [21, 31], [21, 32], [21, 34], [21, 37], [22, 24], [22, 26], [22, 31], [22, 32], [22, 35], [22, 36], [22, 38], [23, 26], [23, 27], [23, 30], [23, 32], [23, 34], [23, 35], [23, 36], [23, 37], [23, 38], [24, 26], [24, 27], [24, 29], [24, 30], [24, 32], [24, 33], [24, 34], [24, 38], [25, 28], [25, 31], [25, 33], [25, 34], [25, 35], [25, 36], [25, 39], [26, 27], [26, 29], [26, 31], [26, 32], [26, 33], [26, 34], [26, 37], [26, 38], [26, 39], [27, 28], [27, 34], [27, 35], [27, 37], [27, 39], [28, 31], [28, 32], [28, 34], [28, 35], [28, 36], [28, 37], [28, 38], [28, 39], [29, 30], [29, 31], [29, 33], [29, 35], [29, 36], [29, 37], [30, 32], [30, 36], [30, 38], [31, 32], [31, 34], [31, 35], [31, 36], [32, 34], [32, 37], [32, 38], [33, 35], [33, 36], [33, 38], [33, 39], [34, 35], [34, 36], [34, 38], [34, 39], [36, 39], [38, 39]], "family": "mc_max_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-clique-l2-s5/instruction.md b/tasks/construct-mc-max-clique-l2-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..505bdcdb432afe3200f8833f1d36d39129bcc03e --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s5/instruction.md @@ -0,0 +1,8 @@ +Graph G with 40 vertices numbered 0..39 and 393 edges: +(0,4), (0,5), (0,6), (0,8), (0,9), (0,11), (0,12), (0,15), (0,16), (0,18), (0,20), (0,24), (0,26), (0,27), (0,29), (0,30), (0,33), (0,34), (0,37), (0,39), (1,2), (1,6), (1,7), (1,10), (1,13), (1,14), (1,15), (1,17), (1,18), (1,22), (1,24), (1,25), (1,26), (1,28), (1,29), (1,30), (1,34), (1,38), (2,5), (2,7), (2,8), (2,10), (2,11), (2,13), (2,14), (2,16), (2,17), (2,19), (2,20), (2,21), (2,22), (2,24), (2,25), (2,26), (2,27), (2,29), (2,30), (2,31), (2,33), (2,34), (2,35), (2,38), (3,5), (3,7), (3,9), (3,12), (3,13), (3,14), (3,15), (3,17), (3,18), (3,19), (3,21), (3,23), (3,24), (3,27), (3,31), (3,32), (3,35), (3,39), (4,6), (4,10), (4,13), (4,15), (4,17), (4,18), (4,19), (4,20), (4,23), (4,24), (4,29), (4,30), (4,34), (4,35), (4,39), (5,6), (5,7), (5,8), (5,9), (5,10), (5,13), (5,14), (5,15), (5,16), (5,19), (5,20), (5,22), (5,23), (5,25), (5,27), (5,34), (5,37), (5,39), (6,10), (6,13), (6,18), (6,20), (6,21), (6,23), (6,24), (6,26), (6,27), (6,30), (6,31), (6,35), (6,36), (6,38), (6,39), (7,8), (7,12), (7,13), (7,15), (7,18), (7,19), (7,20), (7,22), (7,24), (7,25), (7,27), (7,28), (7,29), (7,30), (7,31), (7,34), (7,37), (7,38), (8,9), (8,11), (8,13), (8,15), (8,17), (8,18), (8,21), (8,22), (8,23), (8,29), (8,33), (8,35), (8,36), (8,38), (8,39), (9,11), (9,13), (9,19), (9,21), (9,22), (9,23), (9,24), (9,29), (9,31), (9,33), (9,36), (9,39), (10,11), (10,12), (10,16), (10,17), (10,18), (10,20), (10,21), (10,23), (10,26), (10,30), (10,32), (10,36), (10,38), (11,13), (11,14), (11,16), (11,17), (11,19), (11,21), (11,23), (11,28), (11,29), (11,30), (11,31), (11,32), (11,33), (11,36), (11,37), (11,38), (11,39), (12,14), (12,15), (12,19), (12,23), (12,27), (12,29), (12,34), (12,35), (12,38), (13,14), (13,16), (13,17), (13,19), (13,20), (13,21), (13,23), (13,24), (13,25), (13,26), (13,30), (13,31), (13,33), (13,34), (13,35), (13,39), (14,15), (14,16), (14,18), (14,19), (14,20), (14,21), (14,23), (14,24), (14,26), (14,28), (14,31), (14,32), (14,37), (14,39), (15,20), (15,22), (15,24), (15,26), (15,27), (15,32), (15,33), (15,36), (15,38), (15,39), (16,17), (16,19), (16,21), (16,23), (16,24), (16,25), (16,26), (16,27), (16,29), (16,35), (16,36), (16,38), (16,39), (17,19), (17,20), (17,21), (17,23), (17,26), (17,27), (17,30), (17,31), (17,32), (17,34), (17,35), (17,36), (17,39), (18,23), (18,27), (18,29), (18,30), (18,31), (18,32), (18,33), (18,35), (18,36), (18,37), (18,38), (19,24), (19,25), (19,28), (19,33), (19,36), (19,38), (20,21), (20,22), (20,24), (20,26), (20,31), (20,32), (20,33), (20,34), (20,37), (20,39), (21,25), (21,26), (21,27), (21,28), (21,29), (21,31), (21,32), (21,34), (21,37), (22,24), (22,26), (22,31), (22,32), (22,35), (22,36), (22,38), (23,26), (23,27), (23,30), (23,32), (23,34), (23,35), (23,36), (23,37), (23,38), (24,26), (24,27), (24,29), (24,30), (24,32), (24,33), (24,34), (24,38), (25,28), (25,31), (25,33), (25,34), (25,35), (25,36), (25,39), (26,27), (26,29), (26,31), (26,32), (26,33), (26,34), (26,37), (26,38), (26,39), (27,28), (27,34), (27,35), (27,37), (27,39), (28,31), (28,32), (28,34), (28,35), (28,36), (28,37), (28,38), (28,39), (29,30), (29,31), (29,33), (29,35), (29,36), (29,37), (30,32), (30,36), (30,38), (31,32), (31,34), (31,35), (31,36), (32,34), (32,37), (32,38), (33,35), (33,36), (33,38), (33,39), (34,35), (34,36), (34,38), (34,39), (36,39), (38,39) + +Find a clique of size at least 8 in G: a set of at least 8 vertices that are pairwise adjacent. + +Answer format: {"clique": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-clique-l2-s5/solution/solve.sh b/tasks/construct-mc-max-clique-l2-s5/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..2c1a94a9197b3369a65a9145a9bcda02a42a2aba --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s5/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [2, 13, 17, 20, 21, 26, 31, 34]} +RLMATH_EOF diff --git a/tasks/construct-mc-max-clique-l2-s5/task.toml b/tasks/construct-mc-max-clique-l2-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..ab4738148adda75f3d5a8b0468494651b8d69516 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-clique-l2-s5" +version = "0.2.0" +description = "construct/mc_max_clique" +authors = [] +keywords = ["rlmath", "construct", "mc_max_clique"] + +[metadata] +subset = "construct" +family = "mc_max_clique" +problem_key = "graph_clique" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "MathConstraint/max_clique" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-clique-l2-s5/tests/check.py b/tasks/construct-mc-max-clique-l2-s5/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..e3f70dbd5b155a3514c2102aa4ad460201495210 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s5/tests/check.py @@ -0,0 +1,18 @@ +"""Clique of size >= k in a given graph (MathConstraint max_clique decision version, CC-BY-4.0).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("clique"), None, 0, n - 1, "clique") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) < k: + raise Invalid(f"clique has {len(S)} vertices, need at least {k}") + E = {(u, v) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(S), 2): + if (u, v) not in E: + raise Invalid(f"vertices {u} and {v} are not adjacent") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-max-clique-l2-s5/tests/instance.json b/tasks/construct-mc-max-clique-l2-s5/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..c7b265e854308de129354dd4d0b34c46a057ee61 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s5/tests/instance.json @@ -0,0 +1 @@ +{"n": 40, "k": 8, "edges": [[0, 4], [0, 5], [0, 6], [0, 8], [0, 9], [0, 11], [0, 12], [0, 15], [0, 16], [0, 18], [0, 20], [0, 24], [0, 26], [0, 27], [0, 29], [0, 30], [0, 33], [0, 34], [0, 37], [0, 39], [1, 2], [1, 6], [1, 7], [1, 10], [1, 13], [1, 14], [1, 15], [1, 17], [1, 18], [1, 22], [1, 24], [1, 25], [1, 26], [1, 28], [1, 29], [1, 30], [1, 34], [1, 38], [2, 5], [2, 7], [2, 8], [2, 10], [2, 11], [2, 13], [2, 14], [2, 16], [2, 17], [2, 19], [2, 20], [2, 21], [2, 22], [2, 24], [2, 25], [2, 26], [2, 27], [2, 29], [2, 30], [2, 31], [2, 33], [2, 34], [2, 35], [2, 38], [3, 5], [3, 7], [3, 9], [3, 12], [3, 13], [3, 14], [3, 15], [3, 17], [3, 18], [3, 19], [3, 21], [3, 23], [3, 24], [3, 27], [3, 31], [3, 32], [3, 35], [3, 39], [4, 6], [4, 10], [4, 13], [4, 15], [4, 17], [4, 18], [4, 19], [4, 20], [4, 23], [4, 24], [4, 29], [4, 30], [4, 34], [4, 35], [4, 39], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 13], [5, 14], [5, 15], [5, 16], [5, 19], [5, 20], [5, 22], [5, 23], [5, 25], [5, 27], [5, 34], [5, 37], [5, 39], [6, 10], [6, 13], [6, 18], [6, 20], [6, 21], [6, 23], [6, 24], [6, 26], [6, 27], [6, 30], [6, 31], [6, 35], [6, 36], [6, 38], [6, 39], [7, 8], [7, 12], [7, 13], [7, 15], [7, 18], [7, 19], [7, 20], [7, 22], [7, 24], [7, 25], [7, 27], [7, 28], [7, 29], [7, 30], [7, 31], [7, 34], [7, 37], [7, 38], [8, 9], [8, 11], [8, 13], [8, 15], [8, 17], [8, 18], [8, 21], [8, 22], [8, 23], [8, 29], [8, 33], [8, 35], [8, 36], [8, 38], [8, 39], [9, 11], [9, 13], [9, 19], [9, 21], [9, 22], [9, 23], [9, 24], [9, 29], [9, 31], [9, 33], [9, 36], [9, 39], [10, 11], [10, 12], [10, 16], [10, 17], [10, 18], [10, 20], [10, 21], [10, 23], [10, 26], [10, 30], [10, 32], [10, 36], [10, 38], [11, 13], [11, 14], [11, 16], [11, 17], [11, 19], [11, 21], [11, 23], [11, 28], [11, 29], [11, 30], [11, 31], [11, 32], [11, 33], [11, 36], [11, 37], [11, 38], [11, 39], [12, 14], [12, 15], [12, 19], [12, 23], [12, 27], [12, 29], [12, 34], [12, 35], [12, 38], [13, 14], [13, 16], [13, 17], [13, 19], [13, 20], [13, 21], [13, 23], [13, 24], [13, 25], [13, 26], [13, 30], [13, 31], [13, 33], [13, 34], [13, 35], [13, 39], [14, 15], [14, 16], [14, 18], [14, 19], [14, 20], [14, 21], [14, 23], [14, 24], [14, 26], [14, 28], [14, 31], [14, 32], [14, 37], [14, 39], [15, 20], [15, 22], [15, 24], [15, 26], [15, 27], [15, 32], [15, 33], [15, 36], [15, 38], [15, 39], [16, 17], [16, 19], [16, 21], [16, 23], [16, 24], [16, 25], [16, 26], [16, 27], [16, 29], [16, 35], [16, 36], [16, 38], [16, 39], [17, 19], [17, 20], [17, 21], [17, 23], [17, 26], [17, 27], [17, 30], [17, 31], [17, 32], [17, 34], [17, 35], [17, 36], [17, 39], [18, 23], [18, 27], [18, 29], [18, 30], [18, 31], [18, 32], [18, 33], [18, 35], [18, 36], [18, 37], [18, 38], [19, 24], [19, 25], [19, 28], [19, 33], [19, 36], [19, 38], [20, 21], [20, 22], [20, 24], [20, 26], [20, 31], [20, 32], [20, 33], [20, 34], [20, 37], [20, 39], [21, 25], [21, 26], [21, 27], [21, 28], [21, 29], [21, 31], [21, 32], [21, 34], [21, 37], [22, 24], [22, 26], [22, 31], [22, 32], [22, 35], [22, 36], [22, 38], [23, 26], [23, 27], [23, 30], [23, 32], [23, 34], [23, 35], [23, 36], [23, 37], [23, 38], [24, 26], [24, 27], [24, 29], [24, 30], [24, 32], [24, 33], [24, 34], [24, 38], [25, 28], [25, 31], [25, 33], [25, 34], [25, 35], [25, 36], [25, 39], [26, 27], [26, 29], [26, 31], [26, 32], [26, 33], [26, 34], [26, 37], [26, 38], [26, 39], [27, 28], [27, 34], [27, 35], [27, 37], [27, 39], [28, 31], [28, 32], [28, 34], [28, 35], [28, 36], [28, 37], [28, 38], [28, 39], [29, 30], [29, 31], [29, 33], [29, 35], [29, 36], [29, 37], [30, 32], [30, 36], [30, 38], [31, 32], [31, 34], [31, 35], [31, 36], [32, 34], [32, 37], [32, 38], [33, 35], [33, 36], [33, 38], [33, 39], [34, 35], [34, 36], [34, 38], [34, 39], [36, 39], [38, 39]], "family": "mc_max_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-clique-l2-s5/tests/run.py b/tasks/construct-mc-max-clique-l2-s5/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s5/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-max-clique-l2-s5/tests/test.sh b/tasks/construct-mc-max-clique-l2-s5/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-max-clique-l2-s5/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-max-clique-l6-s3/environment/Dockerfile b/tasks/construct-mc-max-clique-l6-s3/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s3/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-max-clique-l6-s3/environment/instance.json b/tasks/construct-mc-max-clique-l6-s3/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..7843593b32b1c623e3527bfb44a985eb7400433a --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s3/environment/instance.json @@ -0,0 +1 @@ +{"n": 120, "k": 13, "edges": [[0, 1], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 11], [0, 12], [0, 13], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [0, 23], [0, 26], [0, 27], [0, 28], [0, 30], [0, 32], [0, 33], [0, 34], [0, 35], [0, 36], [0, 41], [0, 44], [0, 46], [0, 47], [0, 50], [0, 51], [0, 53], [0, 55], [0, 57], [0, 59], [0, 60], [0, 61], [0, 62], [0, 66], [0, 67], [0, 68], [0, 69], [0, 71], [0, 74], [0, 75], [0, 76], [0, 79], [0, 80], [0, 81], [0, 88], [0, 89], [0, 95], [0, 96], [0, 98], [0, 99], [0, 101], [0, 103], [0, 104], [0, 105], [0, 110], [0, 113], [0, 115], [0, 116], [0, 119], [1, 3], [1, 4], [1, 9], [1, 10], [1, 20], [1, 22], [1, 25], [1, 26], [1, 29], [1, 30], [1, 33], [1, 34], [1, 36], [1, 37], [1, 39], [1, 40], [1, 46], [1, 49], [1, 52], [1, 54], [1, 56], [1, 57], [1, 59], [1, 62], [1, 67], [1, 69], [1, 72], [1, 73], [1, 74], [1, 75], [1, 76], [1, 78], [1, 81], [1, 84], [1, 86], [1, 88], [1, 89], [1, 91], [1, 92], [1, 93], [1, 94], [1, 100], [1, 103], [1, 104], [1, 105], [1, 106], [1, 107], [1, 109], [1, 111], [1, 112], [1, 113], [1, 115], [1, 116], [1, 117], [1, 118], [2, 3], [2, 8], [2, 9], [2, 11], [2, 12], [2, 13], [2, 14], [2, 16], [2, 19], [2, 24], [2, 25], [2, 27], [2, 28], [2, 32], [2, 35], [2, 36], [2, 37], [2, 39], [2, 40], [2, 41], [2, 43], [2, 44], [2, 45], [2, 46], [2, 47], [2, 48], [2, 51], [2, 52], [2, 54], [2, 55], [2, 58], [2, 60], [2, 67], [2, 68], [2, 70], [2, 71], [2, 78], [2, 79], [2, 81], [2, 86], [2, 87], [2, 88], [2, 91], [2, 94], [2, 95], [2, 96], [2, 98], [2, 100], [2, 107], [2, 108], [2, 114], [2, 115], [2, 117], [3, 7], [3, 8], [3, 10], [3, 11], [3, 12], [3, 14], [3, 15], [3, 17], [3, 18], [3, 19], [3, 21], [3, 26], [3, 31], [3, 33], [3, 35], [3, 36], [3, 37], [3, 39], [3, 40], [3, 41], [3, 45], [3, 46], [3, 47], [3, 48], [3, 49], [3, 50], [3, 51], [3, 52], [3, 53], [3, 54], [3, 55], [3, 57], [3, 58], [3, 60], [3, 62], [3, 63], [3, 65], [3, 66], [3, 67], [3, 68], [3, 70], [3, 72], [3, 73], [3, 78], [3, 82], [3, 83], [3, 84], [3, 85], [3, 87], [3, 89], [3, 91], [3, 92], [3, 93], [3, 98], [3, 101], [3, 102], [3, 107], [3, 111], [3, 112], [3, 113], [3, 117], [4, 5], [4, 7], [4, 8], [4, 9], [4, 11], [4, 12], [4, 13], [4, 14], [4, 16], [4, 23], [4, 24], [4, 25], [4, 26], [4, 30], [4, 32], [4, 33], [4, 35], [4, 40], [4, 43], [4, 44], [4, 45], [4, 46], [4, 49], [4, 50], [4, 51], [4, 53], [4, 54], [4, 55], [4, 56], [4, 57], [4, 58], [4, 59], [4, 62], [4, 63], [4, 64], [4, 66], [4, 68], [4, 69], [4, 71], [4, 73], [4, 75], [4, 76], [4, 80], [4, 82], [4, 84], [4, 88], [4, 89], [4, 90], [4, 96], [4, 97], [4, 100], [4, 101], [4, 102], [4, 103], [4, 106], [4, 108], [4, 109], [4, 111], [4, 113], [4, 116], [4, 117], [4, 118], [5, 6], [5, 14], [5, 15], [5, 19], [5, 20], [5, 21], [5, 24], [5, 26], [5, 28], [5, 33], [5, 34], [5, 36], [5, 40], [5, 41], [5, 42], [5, 44], [5, 48], [5, 49], [5, 51], [5, 52], [5, 53], [5, 54], [5, 55], [5, 57], [5, 58], [5, 59], [5, 60], [5, 61], [5, 63], [5, 64], [5, 65], [5, 68], [5, 70], [5, 71], [5, 72], [5, 74], [5, 78], [5, 80], [5, 81], [5, 82], [5, 85], [5, 86], [5, 87], [5, 88], [5, 89], [5, 91], [5, 92], [5, 96], [5, 99], [5, 103], [5, 104], [5, 106], [5, 107], [5, 108], [5, 109], [5, 116], [5, 118], [5, 119], [6, 7], [6, 9], [6, 14], [6, 15], [6, 16], [6, 20], [6, 21], [6, 22], [6, 23], [6, 25], [6, 26], [6, 28], [6, 31], [6, 33], [6, 36], [6, 37], [6, 38], [6, 42], [6, 44], [6, 45], [6, 46], [6, 47], [6, 57], [6, 62], [6, 66], [6, 67], [6, 69], [6, 70], [6, 71], [6, 73], [6, 77], [6, 78], [6, 80], [6, 83], [6, 86], [6, 88], [6, 93], [6, 94], [6, 96], [6, 102], [6, 104], [6, 105], [6, 108], [6, 109], [6, 110], [6, 113], [6, 115], [6, 117], [6, 118], [7, 8], [7, 9], [7, 15], [7, 16], [7, 18], [7, 19], [7, 21], [7, 23], [7, 26], [7, 28], [7, 32], [7, 35], [7, 37], [7, 39], [7, 40], [7, 42], [7, 43], [7, 45], [7, 46], [7, 47], [7, 48], [7, 49], [7, 53], [7, 55], [7, 56], [7, 58], [7, 59], [7, 60], [7, 62], [7, 63], [7, 67], [7, 69], [7, 72], [7, 73], [7, 77], [7, 78], [7, 79], [7, 80], [7, 81], [7, 83], [7, 84], [7, 85], [7, 87], [7, 89], [7, 94], [7, 95], [7, 99], [7, 100], [7, 102], [7, 105], [7, 106], [7, 108], [7, 110], [7, 111], [7, 113], [7, 115], [8, 9], [8, 11], [8, 12], [8, 14], [8, 15], [8, 17], [8, 20], [8, 23], [8, 24], [8, 25], [8, 26], [8, 27], [8, 28], [8, 29], [8, 32], [8, 39], [8, 42], [8, 43], [8, 51], [8, 53], [8, 56], [8, 63], [8, 64], [8, 69], [8, 71], [8, 72], [8, 74], [8, 78], [8, 79], [8, 81], [8, 82], [8, 84], [8, 85], [8, 86], [8, 87], [8, 88], [8, 91], [8, 92], [8, 93], [8, 94], [8, 96], [8, 97], [8, 100], [8, 101], [8, 102], [8, 103], [8, 105], [8, 108], [8, 109], [8, 112], [8, 115], [8, 119], [9, 11], [9, 12], [9, 13], [9, 17], [9, 18], [9, 19], [9, 22], [9, 28], [9, 29], [9, 31], [9, 34], [9, 39], [9, 41], [9, 42], [9, 46], [9, 50], [9, 53], [9, 54], [9, 55], [9, 58], [9, 62], [9, 63], [9, 64], [9, 65], [9, 67], [9, 68], [9, 70], [9, 71], [9, 72], [9, 73], [9, 74], [9, 75], [9, 76], [9, 78], [9, 81], [9, 85], [9, 88], [9, 89], [9, 90], [9, 93], [9, 94], [9, 95], [9, 97], [9, 102], [9, 103], [9, 106], [9, 109], [9, 113], [9, 114], [9, 119], [10, 13], [10, 16], [10, 17], [10, 18], [10, 19], [10, 21], [10, 24], [10, 26], [10, 28], [10, 31], [10, 32], [10, 33], [10, 34], [10, 35], [10, 37], [10, 38], [10, 40], [10, 41], [10, 43], [10, 44], [10, 47], [10, 48], [10, 52], [10, 55], [10, 58], [10, 59], [10, 60], [10, 61], [10, 62], [10, 65], [10, 68], [10, 70], [10, 75], [10, 77], [10, 78], [10, 79], [10, 80], [10, 82], [10, 83], [10, 84], [10, 85], [10, 86], [10, 89], [10, 93], [10, 98], [10, 100], [10, 102], [10, 104], [10, 106], [10, 107], [10, 110], [10, 112], [10, 113], [10, 114], [10, 115], [10, 117], [10, 119], [11, 13], [11, 15], [11, 18], [11, 19], [11, 21], [11, 23], [11, 25], [11, 26], [11, 28], [11, 30], [11, 31], [11, 32], [11, 33], [11, 35], [11, 37], [11, 42], [11, 43], [11, 45], [11, 48], [11, 49], [11, 51], [11, 55], [11, 56], [11, 57], [11, 58], [11, 59], [11, 60], [11, 61], [11, 62], [11, 63], [11, 64], [11, 66], [11, 67], [11, 68], [11, 69], [11, 73], [11, 74], [11, 77], [11, 78], [11, 80], [11, 82], [11, 84], [11, 85], [11, 89], [11, 90], [11, 95], [11, 96], [11, 98], [11, 101], [11, 102], [11, 104], [11, 107], [11, 108], [11, 110], [11, 111], [11, 114], [12, 16], [12, 20], [12, 21], [12, 22], [12, 23], [12, 26], [12, 28], [12, 31], [12, 32], [12, 33], [12, 34], [12, 41], [12, 42], [12, 44], [12, 48], [12, 49], [12, 50], [12, 52], [12, 53], [12, 55], [12, 56], [12, 57], [12, 58], [12, 64], [12, 65], [12, 67], [12, 70], [12, 71], [12, 72], [12, 73], [12, 75], [12, 76], [12, 77], [12, 82], [12, 88], [12, 91], [12, 96], [12, 97], [12, 98], [12, 99], [12, 100], [12, 103], [12, 104], [12, 105], [12, 106], [12, 107], [12, 108], [12, 109], [12, 110], [12, 112], [12, 114], [12, 115], [12, 118], [13, 18], [13, 19], [13, 23], [13, 26], [13, 28], [13, 29], [13, 31], [13, 32], [13, 33], [13, 34], [13, 36], [13, 37], [13, 38], [13, 39], [13, 41], [13, 46], [13, 49], [13, 50], [13, 51], [13, 60], [13, 62], [13, 66], [13, 67], [13, 68], [13, 69], [13, 71], [13, 73], [13, 76], [13, 78], [13, 80], [13, 83], [13, 84], [13, 85], [13, 87], [13, 88], [13, 89], [13, 91], [13, 94], [13, 99], [13, 100], [13, 103], [13, 104], [13, 105], [13, 107], [13, 111], [13, 112], [13, 113], [13, 116], [13, 119], [14, 15], [14, 16], [14, 17], [14, 18], [14, 21], [14, 22], [14, 23], [14, 24], [14, 27], [14, 28], [14, 29], [14, 30], [14, 32], [14, 33], [14, 34], [14, 37], [14, 38], [14, 41], [14, 42], [14, 45], [14, 49], [14, 52], [14, 53], [14, 55], [14, 57], [14, 60], [14, 64], [14, 66], [14, 69], [14, 72], [14, 73], [14, 74], [14, 76], [14, 78], [14, 79], [14, 83], [14, 84], [14, 85], [14, 89], [14, 90], [14, 92], [14, 95], [14, 96], [14, 100], [14, 102], [14, 105], [14, 107], [14, 109], [14, 111], [14, 112], [14, 113], [14, 115], [14, 117], [14, 119], [15, 16], [15, 17], [15, 18], [15, 20], [15, 21], [15, 22], [15, 23], [15, 24], [15, 25], [15, 26], [15, 27], [15, 29], [15, 33], [15, 35], [15, 37], [15, 39], [15, 40], [15, 41], [15, 45], [15, 46], [15, 50], [15, 51], [15, 54], [15, 59], [15, 60], [15, 64], [15, 72], [15, 73], [15, 75], [15, 76], [15, 81], [15, 84], [15, 87], [15, 88], [15, 89], [15, 91], [15, 92], [15, 93], [15, 94], [15, 95], [15, 98], [15, 99], [15, 101], [15, 103], [15, 104], [15, 107], [15, 109], [15, 111], [15, 113], [15, 116], [15, 118], [16, 18], [16, 20], [16, 22], [16, 25], [16, 26], [16, 27], [16, 28], [16, 29], [16, 33], [16, 34], [16, 38], [16, 39], [16, 42], [16, 45], [16, 46], [16, 47], [16, 50], [16, 54], [16, 56], [16, 59], [16, 62], [16, 63], [16, 64], [16, 65], [16, 67], [16, 69], [16, 70], [16, 71], [16, 73], [16, 76], [16, 77], [16, 78], [16, 79], [16, 80], [16, 91], [16, 92], [16, 94], [16, 95], [16, 101], [16, 102], [16, 103], [16, 104], [16, 105], [16, 107], [16, 110], [16, 111], [16, 113], [16, 114], [16, 118], [17, 18], [17, 22], [17, 24], [17, 29], [17, 31], [17, 33], [17, 34], [17, 36], [17, 38], [17, 39], [17, 40], [17, 42], [17, 48], [17, 50], [17, 51], [17, 53], [17, 56], [17, 58], [17, 60], [17, 63], [17, 66], [17, 68], [17, 69], [17, 70], [17, 72], [17, 73], [17, 76], [17, 77], [17, 79], [17, 80], [17, 82], [17, 84], [17, 86], [17, 87], [17, 89], [17, 92], [17, 93], [17, 96], [17, 97], [17, 99], [17, 100], [17, 104], [17, 105], [17, 106], [17, 107], [17, 108], [17, 111], [17, 112], [17, 113], [17, 114], [17, 115], [17, 117], [18, 19], [18, 20], [18, 21], [18, 24], [18, 26], [18, 30], [18, 31], [18, 33], [18, 34], [18, 35], [18, 37], [18, 40], [18, 41], [18, 42], [18, 45], [18, 46], [18, 47], [18, 49], [18, 52], [18, 54], [18, 55], [18, 56], [18, 57], [18, 60], [18, 61], [18, 63], [18, 64], [18, 65], [18, 70], [18, 72], [18, 73], [18, 77], [18, 79], [18, 80], [18, 81], [18, 82], [18, 84], [18, 89], [18, 90], [18, 91], [18, 92], [18, 93], [18, 94], [18, 96], [18, 98], [18, 100], [18, 102], [18, 103], [18, 104], [18, 105], [18, 106], [18, 110], [18, 112], [18, 114], [18, 115], [18, 117], [18, 119], [19, 20], [19, 21], [19, 25], [19, 26], [19, 28], [19, 30], [19, 31], [19, 32], [19, 33], [19, 35], [19, 36], [19, 37], [19, 38], [19, 41], [19, 42], [19, 47], [19, 49], [19, 51], [19, 52], [19, 56], [19, 57], [19, 60], [19, 61], [19, 62], [19, 63], [19, 65], [19, 67], [19, 68], [19, 70], [19, 71], [19, 72], [19, 75], [19, 76], [19, 78], [19, 79], [19, 80], [19, 82], [19, 84], [19, 86], [19, 89], [19, 92], [19, 94], [19, 96], [19, 98], [19, 102], [19, 103], [19, 104], [19, 105], [19, 107], [19, 111], [19, 112], [19, 116], [19, 117], [19, 119], [20, 22], [20, 24], [20, 25], [20, 30], [20, 33], [20, 34], [20, 35], [20, 39], [20, 40], [20, 41], [20, 43], [20, 45], [20, 47], [20, 48], [20, 49], [20, 50], [20, 53], [20, 54], [20, 55], [20, 56], [20, 60], [20, 61], [20, 62], [20, 66], [20, 67], [20, 68], [20, 70], [20, 71], [20, 72], [20, 73], [20, 76], [20, 78], [20, 79], [20, 81], [20, 86], [20, 87], [20, 88], [20, 91], [20, 92], [20, 93], [20, 94], [20, 95], [20, 98], [20, 99], [20, 100], [20, 101], [20, 103], [20, 107], [20, 108], [20, 111], [20, 112], [20, 114], [20, 116], [20, 117], [21, 24], [21, 25], [21, 26], [21, 27], [21, 28], [21, 31], [21, 32], [21, 37], [21, 42], [21, 44], [21, 45], [21, 47], [21, 51], [21, 52], [21, 55], [21, 57], [21, 59], [21, 60], [21, 67], [21, 68], [21, 69], [21, 70], [21, 73], [21, 74], [21, 79], [21, 80], [21, 82], [21, 83], [21, 84], [21, 85], [21, 86], [21, 87], [21, 97], [21, 98], [21, 99], [21, 101], [21, 102], [21, 103], [21, 105], [21, 106], [21, 107], [21, 108], [21, 109], [21, 110], [21, 112], [21, 115], [22, 25], [22, 27], [22, 28], [22, 29], [22, 34], [22, 36], [22, 37], [22, 39], [22, 40], [22, 43], [22, 45], [22, 48], [22, 49], [22, 50], [22, 51], [22, 52], [22, 53], [22, 55], [22, 58], [22, 59], [22, 61], [22, 64], [22, 65], [22, 66], [22, 67], [22, 68], [22, 69], [22, 74], [22, 75], [22, 76], [22, 78], [22, 80], [22, 82], [22, 83], [22, 91], [22, 95], [22, 97], [22, 102], [22, 103], [22, 104], [22, 108], [22, 109], [22, 111], [22, 112], [22, 114], [22, 115], [22, 116], [22, 118], [22, 119], [23, 27], [23, 28], [23, 29], [23, 30], [23, 31], [23, 33], [23, 35], [23, 36], [23, 42], [23, 44], [23, 45], [23, 47], [23, 50], [23, 52], [23, 55], [23, 59], [23, 61], [23, 67], [23, 69], [23, 71], [23, 73], [23, 77], [23, 80], [23, 84], [23, 86], [23, 90], [23, 91], [23, 92], [23, 97], [23, 104], [23, 105], [23, 107], [23, 110], [23, 111], [23, 114], [23, 116], [23, 117], [24, 25], [24, 28], [24, 29], [24, 33], [24, 38], [24, 39], [24, 49], [24, 52], [24, 53], [24, 55], [24, 56], [24, 59], [24, 60], [24, 63], [24, 65], [24, 67], [24, 68], [24, 71], [24, 72], [24, 76], [24, 79], [24, 80], [24, 83], [24, 86], [24, 89], [24, 90], [24, 91], [24, 95], [24, 97], [24, 98], [24, 100], [24, 102], [24, 103], [24, 104], [24, 105], [24, 108], [24, 110], [24, 111], [24, 112], [24, 113], [24, 115], [24, 116], [24, 118], [25, 26], [25, 27], [25, 32], [25, 34], [25, 37], [25, 38], [25, 40], [25, 44], [25, 45], [25, 46], [25, 47], [25, 49], [25, 50], [25, 52], [25, 55], [25, 56], [25, 57], [25, 59], [25, 60], [25, 61], [25, 62], [25, 64], [25, 65], [25, 66], [25, 67], [25, 69], [25, 73], [25, 75], [25, 76], [25, 78], [25, 82], [25, 83], [25, 85], [25, 86], [25, 88], [25, 89], [25, 90], [25, 91], [25, 96], [25, 101], [25, 102], [25, 103], [25, 104], [25, 105], [25, 109], [25, 110], [25, 116], [25, 117], [25, 118], [26, 27], [26, 28], [26, 29], [26, 30], [26, 31], [26, 32], [26, 33], [26, 34], [26, 35], [26, 37], [26, 38], [26, 39], [26, 40], [26, 41], [26, 42], [26, 43], [26, 44], [26, 45], [26, 47], [26, 48], [26, 49], [26, 55], [26, 57], [26, 62], [26, 63], [26, 65], [26, 66], [26, 67], [26, 68], [26, 70], [26, 71], [26, 73], [26, 75], [26, 79], [26, 80], [26, 82], [26, 83], [26, 85], [26, 86], [26, 88], [26, 89], [26, 93], [26, 94], [26, 98], [26, 100], [26, 101], [26, 103], [26, 105], [26, 107], [26, 109], [26, 110], [26, 114], [26, 115], [26, 116], [26, 118], [27, 28], [27, 29], [27, 30], [27, 33], [27, 34], [27, 35], [27, 38], [27, 39], [27, 41], [27, 43], [27, 45], [27, 48], [27, 51], [27, 55], [27, 59], [27, 60], [27, 61], [27, 62], [27, 64], [27, 67], [27, 68], [27, 70], [27, 71], [27, 76], [27, 79], [27, 80], [27, 82], [27, 87], [27, 91], [27, 96], [27, 98], [27, 99], [27, 101], [27, 103], [27, 104], [27, 105], [27, 106], [27, 107], [27, 108], [27, 109], [27, 110], [27, 113], [27, 119], [28, 29], [28, 31], [28, 35], [28, 36], [28, 37], [28, 38], [28, 40], [28, 44], [28, 45], [28, 47], [28, 49], [28, 51], [28, 52], [28, 53], [28, 54], [28, 56], [28, 57], [28, 58], [28, 60], [28, 62], [28, 65], [28, 71], [28, 72], [28, 73], [28, 74], [28, 76], [28, 77], [28, 78], [28, 79], [28, 84], [28, 88], [28, 89], [28, 96], [28, 98], [28, 103], [28, 104], [28, 106], [28, 107], [28, 109], [28, 110], [28, 112], [28, 114], [28, 116], [28, 117], [28, 119], [29, 30], [29, 32], [29, 34], [29, 35], [29, 38], [29, 39], [29, 43], [29, 44], [29, 46], [29, 47], [29, 48], [29, 50], [29, 54], [29, 56], [29, 60], [29, 62], [29, 64], [29, 65], [29, 67], [29, 70], [29, 72], [29, 74], [29, 75], [29, 76], [29, 78], [29, 79], [29, 81], [29, 82], [29, 87], [29, 88], [29, 90], [29, 91], [29, 94], [29, 96], [29, 99], [29, 101], [29, 102], [29, 105], [29, 106], [29, 111], [29, 112], [29, 113], [29, 114], [29, 116], [29, 117], [30, 31], [30, 34], [30, 37], [30, 39], [30, 44], [30, 46], [30, 50], [30, 53], [30, 55], [30, 56], [30, 58], [30, 62], [30, 64], [30, 66], [30, 67], [30, 68], [30, 76], [30, 77], [30, 84], [30, 86], [30, 88], [30, 90], [30, 91], [30, 92], [30, 94], [30, 97], [30, 99], [30, 108], [30, 112], [30, 115], [30, 118], [31, 33], [31, 35], [31, 36], [31, 41], [31, 44], [31, 45], [31, 47], [31, 49], [31, 57], [31, 58], [31, 59], [31, 60], [31, 61], [31, 62], [31, 63], [31, 64], [31, 65], [31, 66], [31, 68], [31, 70], [31, 72], [31, 73], [31, 75], [31, 79], [31, 80], [31, 82], [31, 83], [31, 84], [31, 85], [31, 87], [31, 89], [31, 90], [31, 91], [31, 92], [31, 93], [31, 97], [31, 98], [31, 99], [31, 100], [31, 102], [31, 103], [31, 104], [31, 105], [31, 106], [31, 107], [31, 111], [31, 112], [31, 113], [31, 116], [31, 117], [31, 118], [31, 119], [32, 34], [32, 35], [32, 38], [32, 39], [32, 41], [32, 42], [32, 46], [32, 48], [32, 49], [32, 55], [32, 56], [32, 57], [32, 61], [32, 62], [32, 63], [32, 64], [32, 66], [32, 67], [32, 69], [32, 70], [32, 73], [32, 78], [32, 81], [32, 84], [32, 85], [32, 86], [32, 87], [32, 88], [32, 89], [32, 91], [32, 98], [32, 100], [32, 101], [32, 106], [32, 107], [32, 109], [32, 116], [32, 117], [33, 37], [33, 38], [33, 40], [33, 41], [33, 42], [33, 43], [33, 44], [33, 47], [33, 48], [33, 49], [33, 55], [33, 58], [33, 61], [33, 65], [33, 72], [33, 73], [33, 74], [33, 75], [33, 77], [33, 78], [33, 83], [33, 85], [33, 88], [33, 89], [33, 90], [33, 91], [33, 93], [33, 96], [33, 99], [33, 100], [33, 105], [33, 107], [33, 108], [33, 111], [33, 114], [33, 116], [33, 118], [34, 38], [34, 40], [34, 41], [34, 42], [34, 43], [34, 47], [34, 49], [34, 51], [34, 55], [34, 57], [34, 61], [34, 63], [34, 66], [34, 67], [34, 69], [34, 71], [34, 73], [34, 75], [34, 76], [34, 80], [34, 82], [34, 83], [34, 85], [34, 88], [34, 90], [34, 91], [34, 94], [34, 98], [34, 99], [34, 100], [34, 101], [34, 102], [34, 104], [34, 105], [34, 106], [34, 107], [34, 109], [34, 110], [34, 111], [34, 113], [34, 114], [34, 115], [34, 116], [35, 41], [35, 46], [35, 47], [35, 50], [35, 57], [35, 61], [35, 63], [35, 65], [35, 67], [35, 69], [35, 71], [35, 72], [35, 74], [35, 75], [35, 77], [35, 78], [35, 80], [35, 81], [35, 82], [35, 83], [35, 87], [35, 89], [35, 92], [35, 94], [35, 95], [35, 97], [35, 98], [35, 100], [35, 101], [35, 102], [35, 103], [35, 104], [35, 107], [35, 108], [35, 109], [35, 110], [35, 111], [35, 112], [35, 113], [35, 116], [35, 117], [35, 118], [36, 41], [36, 42], [36, 43], [36, 48], [36, 51], [36, 53], [36, 55], [36, 56], [36, 59], [36, 60], [36, 61], [36, 63], [36, 67], [36, 68], [36, 69], [36, 71], [36, 74], [36, 76], [36, 77], [36, 80], [36, 82], [36, 83], [36, 84], [36, 90], [36, 95], [36, 96], [36, 97], [36, 100], [36, 102], [36, 103], [36, 106], [36, 110], [36, 111], [36, 113], [36, 115], [36, 119], [37, 40], [37, 41], [37, 43], [37, 45], [37, 50], [37, 51], [37, 52], [37, 53], [37, 54], [37, 55], [37, 56], [37, 58], [37, 62], [37, 64], [37, 65], [37, 67], [37, 68], [37, 70], [37, 72], [37, 73], [37, 76], [37, 79], [37, 83], [37, 86], [37, 88], [37, 91], [37, 92], [37, 94], [37, 95], [37, 96], [37, 98], [37, 102], [37, 104], [37, 109], [37, 110], [37, 111], [37, 114], [37, 116], [37, 117], [37, 119], [38, 40], [38, 42], [38, 43], [38, 44], [38, 46], [38, 48], [38, 50], [38, 51], [38, 53], [38, 56], [38, 57], [38, 58], [38, 60], [38, 65], [38, 67], [38, 68], [38, 72], [38, 73], [38, 74], [38, 75], [38, 77], [38, 78], [38, 81], [38, 82], [38, 83], [38, 86], [38, 94], [38, 95], [38, 100], [38, 101], [38, 102], [38, 103], [38, 104], [38, 106], [38, 107], [38, 108], [38, 111], [38, 112], [38, 113], [38, 119], [39, 40], [39, 41], [39, 42], [39, 43], [39, 44], [39, 47], [39, 48], [39, 50], [39, 51], [39, 52], [39, 53], [39, 54], [39, 55], [39, 56], [39, 57], [39, 60], [39, 63], [39, 64], [39, 70], [39, 71], [39, 72], [39, 73], [39, 74], [39, 76], [39, 79], [39, 80], [39, 81], [39, 82], [39, 83], [39, 84], [39, 85], [39, 89], [39, 90], [39, 91], [39, 92], [39, 93], [39, 94], [39, 95], [39, 96], [39, 98], [39, 99], [39, 100], [39, 102], [39, 103], [39, 105], [39, 106], [39, 107], [39, 108], [39, 110], [39, 111], [39, 113], [39, 115], [39, 116], [39, 117], [39, 118], [40, 43], [40, 45], [40, 55], [40, 56], [40, 57], [40, 58], [40, 59], [40, 64], [40, 65], [40, 67], [40, 68], [40, 69], [40, 70], [40, 72], [40, 73], [40, 75], [40, 77], [40, 78], [40, 80], [40, 84], [40, 85], [40, 86], [40, 88], [40, 89], [40, 90], [40, 91], [40, 92], [40, 93], [40, 95], [40, 96], [40, 97], [40, 98], [40, 103], [40, 104], [40, 105], [40, 107], [40, 108], [40, 111], [40, 112], [40, 114], [40, 115], [41, 43], [41, 44], [41, 47], [41, 48], [41, 50], [41, 51], [41, 54], [41, 55], [41, 57], [41, 58], [41, 62], [41, 63], [41, 64], [41, 65], [41, 69], [41, 70], [41, 72], [41, 76], [41, 77], [41, 82], [41, 83], [41, 87], [41, 88], [41, 89], [41, 91], [41, 92], [41, 93], [41, 94], [41, 99], [41, 107], [41, 110], [41, 111], [41, 112], [41, 113], [41, 114], [42, 43], [42, 44], [42, 47], [42, 50], [42, 52], [42, 53], [42, 54], [42, 56], [42, 57], [42, 59], [42, 64], [42, 65], [42, 67], [42, 69], [42, 70], [42, 71], [42, 73], [42, 77], [42, 79], [42, 81], [42, 82], [42, 84], [42, 90], [42, 94], [42, 96], [42, 98], [42, 106], [42, 107], [42, 108], [42, 109], [42, 110], [42, 111], [42, 112], [42, 114], [42, 115], [42, 116], [42, 117], [42, 119], [43, 45], [43, 47], [43, 48], [43, 49], [43, 50], [43, 52], [43, 54], [43, 55], [43, 60], [43, 61], [43, 62], [43, 64], [43, 66], [43, 67], [43, 69], [43, 72], [43, 73], [43, 74], [43, 75], [43, 77], [43, 79], [43, 82], [43, 83], [43, 86], [43, 89], [43, 94], [43, 95], [43, 96], [43, 99], [43, 100], [43, 101], [43, 103], [43, 108], [43, 109], [43, 112], [43, 113], [43, 114], [43, 117], [43, 118], [44, 45], [44, 46], [44, 48], [44, 49], [44, 52], [44, 53], [44, 55], [44, 57], [44, 58], [44, 59], [44, 60], [44, 61], [44, 62], [44, 63], [44, 64], [44, 65], [44, 66], [44, 67], [44, 70], [44, 71], [44, 73], [44, 75], [44, 80], [44, 81], [44, 82], [44, 84], [44, 85], [44, 86], [44, 87], [44, 88], [44, 92], [44, 93], [44, 95], [44, 97], [44, 98], [44, 101], [44, 102], [44, 103], [44, 104], [44, 105], [44, 106], [44, 107], [44, 111], [44, 113], [44, 114], [44, 115], [45, 46], [45, 47], [45, 50], [45, 52], [45, 54], [45, 55], [45, 57], [45, 59], [45, 62], [45, 63], [45, 64], [45, 65], [45, 66], [45, 67], [45, 68], [45, 69], [45, 70], [45, 71], [45, 73], [45, 74], [45, 75], [45, 77], [45, 78], [45, 80], [45, 82], [45, 83], [45, 87], [45, 89], [45, 90], [45, 91], [45, 92], [45, 93], [45, 97], [45, 98], [45, 101], [45, 103], [45, 108], [45, 110], [45, 111], [45, 112], [45, 114], [45, 116], [45, 118], [45, 119], [46, 51], [46, 53], [46, 55], [46, 58], [46, 59], [46, 60], [46, 64], [46, 65], [46, 66], [46, 67], [46, 68], [46, 70], [46, 72], [46, 73], [46, 74], [46, 76], [46, 77], [46, 82], [46, 83], [46, 86], [46, 88], [46, 89], [46, 90], [46, 94], [46, 95], [46, 96], [46, 99], [46, 100], [46, 101], [46, 103], [46, 104], [46, 107], [46, 109], [46, 110], [46, 113], [46, 114], [46, 119], [47, 50], [47, 51], [47, 55], [47, 57], [47, 58], [47, 59], [47, 60], [47, 62], [47, 64], [47, 65], [47, 70], [47, 71], [47, 72], [47, 74], [47, 75], [47, 79], [47, 82], [47, 84], [47, 90], [47, 91], [47, 92], [47, 95], [47, 98], [47, 99], [47, 100], [47, 101], [47, 102], [47, 103], [47, 104], [47, 110], [47, 111], [47, 112], [47, 116], [47, 118], [48, 49], [48, 51], [48, 52], [48, 53], [48, 54], [48, 55], [48, 56], [48, 58], [48, 59], [48, 61], [48, 62], [48, 63], [48, 64], [48, 67], [48, 70], [48, 71], [48, 73], [48, 75], [48, 76], [48, 77], [48, 78], [48, 79], [48, 81], [48, 82], [48, 84], [48, 85], [48, 86], [48, 88], [48, 91], [48, 98], [48, 102], [48, 104], [48, 106], [48, 108], [48, 109], [48, 114], [48, 115], [48, 116], [48, 117], [48, 119], [49, 50], [49, 51], [49, 53], [49, 56], [49, 57], [49, 60], [49, 61], [49, 65], [49, 68], [49, 69], [49, 71], [49, 72], [49, 73], [49, 74], [49, 75], [49, 81], [49, 84], [49, 85], [49, 88], [49, 89], [49, 92], [49, 95], [49, 96], [49, 100], [49, 103], [49, 104], [49, 105], [49, 106], [49, 108], [49, 111], [49, 112], [49, 113], [49, 114], [49, 115], [49, 116], [50, 51], [50, 53], [50, 54], [50, 56], [50, 57], [50, 63], [50, 65], [50, 68], [50, 69], [50, 72], [50, 76], [50, 80], [50, 82], [50, 84], [50, 87], [50, 88], [50, 89], [50, 90], [50, 93], [50, 96], [50, 97], [50, 99], [50, 100], [50, 101], [50, 105], [50, 106], [50, 107], [50, 109], [50, 110], [50, 114], [50, 115], [50, 116], [50, 118], [51, 53], [51, 57], [51, 58], [51, 59], [51, 60], [51, 62], [51, 65], [51, 67], [51, 68], [51, 70], [51, 71], [51, 73], [51, 77], [51, 79], [51, 80], [51, 81], [51, 82], [51, 83], [51, 84], [51, 85], [51, 86], [51, 88], [51, 89], [51, 90], [51, 97], [51, 99], [51, 101], [51, 102], [51, 104], [51, 105], [51, 106], [51, 107], [51, 109], [51, 114], [51, 115], [51, 117], [51, 118], [51, 119], [52, 54], [52, 55], [52, 57], [52, 58], [52, 59], [52, 61], [52, 62], [52, 63], [52, 68], [52, 71], [52, 73], [52, 74], [52, 75], [52, 76], [52, 77], [52, 78], [52, 79], [52, 81], [52, 82], [52, 83], [52, 84], [52, 87], [52, 91], [52, 92], [52, 94], [52, 95], [52, 96], [52, 97], [52, 98], [52, 100], [52, 104], [52, 105], [52, 106], [52, 107], [52, 110], [52, 111], [52, 112], [52, 116], [52, 119], [53, 54], [53, 55], [53, 56], [53, 59], [53, 63], [53, 66], [53, 70], [53, 72], [53, 73], [53, 76], [53, 78], [53, 79], [53, 81], [53, 83], [53, 86], [53, 87], [53, 89], [53, 91], [53, 92], [53, 97], [53, 98], [53, 101], [53, 104], [53, 105], [53, 109], [53, 110], [53, 111], [53, 112], [53, 114], [53, 116], [53, 117], [53, 119], [54, 56], [54, 57], [54, 59], [54, 60], [54, 63], [54, 64], [54, 66], [54, 67], [54, 68], [54, 70], [54, 74], [54, 77], [54, 80], [54, 81], [54, 82], [54, 83], [54, 84], [54, 89], [54, 90], [54, 91], [54, 94], [54, 95], [54, 96], [54, 97], [54, 99], [54, 100], [54, 104], [54, 109], [54, 110], [54, 111], [54, 113], [54, 117], [54, 118], [54, 119], [55, 57], [55, 60], [55, 63], [55, 66], [55, 69], [55, 70], [55, 72], [55, 74], [55, 75], [55, 76], [55, 77], [55, 79], [55, 80], [55, 81], [55, 82], [55, 84], [55, 90], [55, 92], [55, 95], [55, 101], [55, 102], [55, 105], [55, 106], [55, 107], [55, 108], [55, 109], [55, 110], [55, 113], [55, 114], [55, 115], [55, 116], [55, 118], [55, 119], [56, 57], [56, 62], [56, 63], [56, 71], [56, 73], [56, 74], [56, 75], [56, 76], [56, 81], [56, 82], [56, 83], [56, 84], [56, 85], [56, 87], [56, 88], [56, 89], [56, 90], [56, 91], [56, 92], [56, 94], [56, 96], [56, 97], [56, 99], [56, 103], [56, 104], [56, 105], [56, 110], [56, 112], [56, 114], [56, 116], [56, 118], [57, 58], [57, 60], [57, 63], [57, 64], [57, 65], [57, 66], [57, 67], [57, 68], [57, 69], [57, 71], [57, 72], [57, 73], [57, 75], [57, 76], [57, 78], [57, 79], [57, 81], [57, 82], [57, 86], [57, 87], [57, 88], [57, 89], [57, 91], [57, 92], [57, 94], [57, 95], [57, 98], [57, 99], [57, 100], [57, 101], [57, 103], [57, 104], [57, 106], [57, 107], [57, 109], [57, 113], [57, 114], [57, 116], [57, 119], [58, 59], [58, 62], [58, 65], [58, 68], [58, 71], [58, 73], [58, 74], [58, 76], [58, 78], [58, 79], [58, 80], [58, 81], [58, 82], [58, 83], [58, 84], [58, 85], [58, 90], [58, 96], [58, 98], [58, 99], [58, 101], [58, 104], [58, 105], [58, 106], [58, 110], [58, 114], [58, 117], [58, 118], [58, 119], [59, 61], [59, 63], [59, 64], [59, 65], [59, 68], [59, 70], [59, 72], [59, 76], [59, 77], [59, 78], [59, 81], [59, 83], [59, 85], [59, 88], [59, 89], [59, 91], [59, 92], [59, 96], [59, 97], [59, 100], [59, 104], [59, 105], [59, 107], [59, 108], [59, 109], [59, 111], [59, 112], [59, 113], [59, 114], [59, 116], [59, 119], [60, 61], [60, 62], [60, 65], [60, 66], [60, 68], [60, 69], [60, 70], [60, 71], [60, 72], [60, 73], [60, 74], [60, 75], [60, 76], [60, 82], [60, 83], [60, 84], [60, 86], [60, 88], [60, 92], [60, 93], [60, 94], [60, 95], [60, 96], [60, 98], [60, 101], [60, 102], [60, 107], [60, 108], [60, 109], [60, 110], [60, 112], [60, 113], [60, 114], [60, 117], [60, 118], [61, 64], [61, 67], [61, 68], [61, 69], [61, 72], [61, 73], [61, 75], [61, 81], [61, 82], [61, 83], [61, 84], [61, 85], [61, 87], [61, 89], [61, 92], [61, 93], [61, 94], [61, 95], [61, 98], [61, 99], [61, 101], [61, 104], [61, 106], [61, 107], [61, 108], [61, 109], [61, 112], [61, 114], [61, 116], [61, 118], [62, 64], [62, 66], [62, 70], [62, 72], [62, 74], [62, 76], [62, 77], [62, 78], [62, 81], [62, 83], [62, 87], [62, 90], [62, 91], [62, 92], [62, 93], [62, 96], [62, 97], [62, 98], [62, 99], [62, 100], [62, 102], [62, 105], [62, 110], [62, 112], [62, 114], [62, 115], [62, 116], [62, 117], [62, 118], [62, 119], [63, 64], [63, 65], [63, 66], [63, 67], [63, 71], [63, 72], [63, 74], [63, 75], [63, 76], [63, 79], [63, 80], [63, 82], [63, 84], [63, 87], [63, 88], [63, 89], [63, 94], [63, 98], [63, 100], [63, 101], [63, 103], [63, 104], [63, 109], [63, 110], [63, 112], [63, 115], [63, 117], [63, 119], [64, 67], [64, 68], [64, 69], [64, 70], [64, 71], [64, 72], [64, 73], [64, 74], [64, 75], [64, 76], [64, 77], [64, 80], [64, 86], [64, 88], [64, 92], [64, 93], [64, 94], [64, 96], [64, 97], [64, 98], [64, 101], [64, 102], [64, 103], [64, 105], [64, 107], [64, 111], [64, 112], [64, 113], [64, 115], [64, 118], [64, 119], [65, 66], [65, 67], [65, 69], [65, 70], [65, 71], [65, 72], [65, 73], [65, 76], [65, 87], [65, 89], [65, 91], [65, 92], [65, 93], [65, 94], [65, 95], [65, 97], [65, 98], [65, 99], [65, 102], [65, 105], [65, 106], [65, 107], [65, 108], [65, 109], [65, 111], [65, 112], [65, 115], [65, 117], [65, 118], [65, 119], [66, 73], [66, 74], [66, 75], [66, 78], [66, 81], [66, 84], [66, 85], [66, 86], [66, 91], [66, 92], [66, 93], [66, 94], [66, 95], [66, 97], [66, 98], [66, 99], [66, 100], [66, 103], [66, 104], [66, 105], [66, 107], [66, 108], [66, 110], [66, 112], [66, 113], [66, 115], [66, 118], [67, 68], [67, 74], [67, 76], [67, 81], [67, 84], [67, 86], [67, 88], [67, 91], [67, 92], [67, 94], [67, 95], [67, 97], [67, 98], [67, 99], [67, 101], [67, 103], [67, 106], [67, 107], [67, 108], [67, 110], [67, 113], [67, 114], [67, 116], [68, 69], [68, 71], [68, 72], [68, 73], [68, 74], [68, 75], [68, 76], [68, 77], [68, 79], [68, 81], [68, 83], [68, 84], [68, 85], [68, 87], [68, 90], [68, 94], [68, 95], [68, 99], [68, 101], [68, 103], [68, 105], [68, 110], [68, 113], [68, 117], [69, 73], [69, 75], [69, 76], [69, 77], [69, 78], [69, 79], [69, 80], [69, 81], [69, 83], [69, 85], [69, 86], [69, 87], [69, 89], [69, 90], [69, 91], [69, 92], [69, 98], [69, 99], [69, 102], [69, 104], [69, 106], [69, 107], [69, 108], [69, 109], [69, 110], [69, 112], [69, 115], [69, 117], [69, 118], [70, 73], [70, 75], [70, 76], [70, 79], [70, 80], [70, 82], [70, 90], [70, 92], [70, 93], [70, 95], [70, 96], [70, 97], [70, 98], [70, 99], [70, 100], [70, 102], [70, 103], [70, 109], [70, 112], [70, 114], [70, 118], [71, 73], [71, 75], [71, 77], [71, 79], [71, 80], [71, 81], [71, 82], [71, 86], [71, 87], [71, 91], [71, 94], [71, 96], [71, 102], [71, 103], [71, 104], [71, 110], [71, 111], [71, 112], [71, 113], [71, 119], [72, 74], [72, 80], [72, 82], [72, 83], [72, 84], [72, 86], [72, 88], [72, 89], [72, 90], [72, 91], [72, 97], [72, 98], [72, 104], [72, 109], [72, 111], [72, 113], [72, 117], [72, 118], [73, 75], [73, 77], [73, 82], [73, 83], [73, 84], [73, 86], [73, 87], [73, 88], [73, 89], [73, 91], [73, 93], [73, 94], [73, 95], [73, 98], [73, 99], [73, 101], [73, 102], [73, 103], [73, 104], [73, 107], [73, 108], [73, 109], [73, 112], [73, 113], [73, 114], [73, 115], [73, 116], [73, 118], [73, 119], [74, 76], [74, 79], [74, 81], [74, 83], [74, 84], [74, 85], [74, 89], [74, 91], [74, 92], [74, 93], [74, 95], [74, 96], [74, 100], [74, 102], [74, 104], [74, 107], [74, 108], [74, 109], [74, 111], [74, 112], [74, 113], [74, 115], [74, 117], [74, 118], [75, 78], [75, 83], [75, 84], [75, 85], [75, 86], [75, 87], [75, 89], [75, 90], [75, 92], [75, 97], [75, 98], [75, 99], [75, 100], [75, 102], [75, 103], [75, 104], [75, 106], [75, 107], [75, 108], [75, 110], [75, 111], [75, 114], [75, 115], [75, 116], [75, 117], [76, 80], [76, 86], [76, 87], [76, 88], [76, 89], [76, 91], [76, 92], [76, 93], [76, 96], [76, 97], [76, 100], [76, 101], [76, 103], [76, 104], [76, 105], [76, 106], [76, 107], [76, 109], [76, 112], [76, 113], [76, 115], [76, 116], [76, 117], [76, 118], [76, 119], [77, 78], [77, 79], [77, 80], [77, 83], [77, 84], [77, 85], [77, 88], [77, 91], [77, 92], [77, 93], [77, 96], [77, 97], [77, 98], [77, 100], [77, 102], [77, 104], [77, 106], [77, 108], [77, 110], [77, 113], [77, 114], [77, 117], [78, 79], [78, 81], [78, 82], [78, 83], [78, 87], [78, 88], [78, 89], [78, 90], [78, 94], [78, 96], [78, 97], [78, 100], [78, 102], [78, 104], [78, 107], [78, 109], [78, 110], [78, 111], [78, 112], [78, 116], [78, 118], [78, 119], [79, 80], [79, 84], [79, 85], [79, 87], [79, 89], [79, 91], [79, 92], [79, 93], [79, 94], [79, 97], [79, 100], [79, 102], [79, 103], [79, 104], [79, 106], [79, 107], [79, 108], [79, 109], [79, 110], [79, 111], [79, 113], [79, 116], [79, 118], [80, 81], [80, 82], [80, 83], [80, 84], [80, 85], [80, 86], [80, 89], [80, 90], [80, 91], [80, 93], [80, 94], [80, 95], [80, 97], [80, 98], [80, 99], [80, 102], [80, 103], [80, 104], [80, 106], [80, 108], [80, 109], [80, 110], [80, 111], [80, 112], [80, 114], [80, 117], [81, 82], [81, 84], [81, 85], [81, 88], [81, 90], [81, 91], [81, 92], [81, 93], [81, 96], [81, 97], [81, 98], [81, 99], [81, 103], [81, 107], [81, 108], [81, 112], [81, 113], [81, 114], [81, 115], [81, 119], [82, 84], [82, 85], [82, 87], [82, 88], [82, 90], [82, 92], [82, 94], [82, 95], [82, 98], [82, 99], [82, 102], [82, 104], [82, 105], [82, 107], [82, 112], [82, 113], [82, 114], [82, 115], [82, 118], [83, 85], [83, 86], [83, 91], [83, 92], [83, 93], [83, 94], [83, 97], [83, 98], [83, 100], [83, 101], [83, 105], [83, 106], [83, 107], [83, 108], [83, 112], [83, 113], [83, 114], [83, 115], [83, 116], [84, 85], [84, 86], [84, 87], [84, 90], [84, 91], [84, 94], [84, 95], [84, 96], [84, 97], [84, 99], [84, 101], [84, 107], [84, 112], [84, 115], [85, 86], [85, 87], [85, 89], [85, 90], [85, 91], [85, 93], [85, 94], [85, 98], [85, 100], [85, 107], [85, 108], [85, 109], [85, 110], [85, 111], [85, 112], [85, 114], [85, 115], [85, 116], [85, 117], [85, 118], [85, 119], [86, 87], [86, 89], [86, 90], [86, 93], [86, 94], [86, 95], [86, 99], [86, 101], [86, 102], [86, 104], [86, 105], [86, 106], [86, 107], [86, 110], [86, 111], [86, 112], [86, 115], [86, 116], [86, 117], [87, 91], [87, 92], [87, 93], [87, 94], [87, 96], [87, 97], [87, 98], [87, 99], [87, 100], [87, 101], [87, 103], [87, 106], [87, 107], [87, 108], [87, 111], [87, 112], [87, 114], [87, 115], [87, 116], [87, 118], [87, 119], [88, 90], [88, 93], [88, 95], [88, 96], [88, 97], [88, 98], [88, 99], [88, 103], [88, 110], [88, 111], [88, 113], [88, 114], [89, 92], [89, 93], [89, 95], [89, 98], [89, 106], [89, 107], [89, 108], [89, 113], [89, 114], [89, 119], [90, 92], [90, 94], [90, 95], [90, 96], [90, 97], [90, 101], [90, 103], [90, 105], [90, 106], [90, 107], [90, 108], [90, 111], [90, 112], [90, 113], [90, 114], [90, 117], [90, 119], [91, 92], [91, 96], [91, 97], [91, 98], [91, 99], [91, 100], [91, 102], [91, 104], [91, 105], [91, 106], [91, 109], [91, 112], [91, 113], [91, 116], [91, 117], [91, 118], [92, 93], [92, 94], [92, 95], [92, 102], [92, 103], [92, 107], [92, 108], [92, 110], [92, 111], [92, 112], [92, 113], [92, 114], [92, 117], [92, 118], [93, 94], [93, 98], [93, 99], [93, 100], [93, 102], [93, 103], [93, 104], [93, 105], [93, 106], [93, 111], [93, 112], [93, 114], [94, 95], [94, 97], [94, 101], [94, 102], [94, 105], [94, 106], [94, 108], [94, 111], [94, 112], [94, 115], [94, 117], [94, 118], [95, 97], [95, 103], [95, 105], [95, 107], [95, 108], [95, 110], [95, 112], [95, 115], [95, 118], [96, 99], [96, 103], [96, 106], [96, 107], [96, 110], [96, 115], [96, 116], [96, 117], [96, 118], [97, 99], [97, 101], [97, 103], [97, 105], [97, 106], [97, 107], [97, 108], [97, 112], [97, 113], [97, 117], [97, 119], [98, 99], [98, 102], [98, 103], [98, 106], [98, 107], [98, 109], [98, 110], [98, 112], [98, 113], [98, 116], [98, 117], [99, 100], [99, 103], [99, 105], [99, 106], [99, 107], [99, 108], [99, 109], [99, 110], [99, 111], [99, 112], [99, 115], [99, 116], [99, 118], [99, 119], [100, 103], [100, 104], [100, 105], [100, 107], [100, 113], [100, 116], [100, 119], [101, 102], [101, 106], [101, 109], [101, 110], [101, 113], [101, 114], [101, 119], [102, 104], [102, 105], [102, 107], [102, 110], [102, 111], [102, 112], [102, 116], [102, 117], [102, 119], [103, 106], [103, 108], [103, 111], [103, 113], [103, 119], [104, 105], [104, 106], [104, 108], [104, 110], [104, 111], [104, 114], [104, 115], [104, 116], [105, 107], [105, 108], [105, 110], [105, 112], [105, 113], [105, 116], [105, 117], [105, 119], [106, 108], [106, 109], [106, 110], [106, 113], [106, 114], [106, 115], [106, 116], [106, 118], [106, 119], [107, 108], [107, 109], [107, 110], [107, 112], [107, 113], [107, 114], [108, 109], [108, 112], [108, 114], [108, 115], [108, 116], [108, 117], [108, 118], [108, 119], [109, 111], [109, 115], [109, 116], [109, 118], [109, 119], [110, 111], [110, 113], [110, 114], [110, 117], [111, 114], [111, 115], [111, 117], [112, 113], [112, 117], [112, 118], [112, 119], [113, 115], [113, 116], [113, 117], [114, 115], [114, 117], [115, 119], [116, 117], [116, 118], [116, 119], [117, 119], [118, 119]], "family": "mc_max_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-clique-l6-s3/instruction.md b/tasks/construct-mc-max-clique-l6-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..8c6a46f48babf4f2bbca8c0b141d85151e0b45f0 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s3/instruction.md @@ -0,0 +1,8 @@ +Graph G with 120 vertices numbered 0..119 and 3617 edges: +(0,1), (0,3), (0,4), (0,5), (0,6), (0,7), (0,11), (0,12), (0,13), (0,15), (0,16), (0,17), (0,18), (0,19), (0,20), (0,21), (0,23), (0,26), (0,27), (0,28), (0,30), (0,32), (0,33), (0,34), (0,35), (0,36), (0,41), (0,44), (0,46), (0,47), (0,50), (0,51), (0,53), (0,55), (0,57), (0,59), (0,60), (0,61), (0,62), (0,66), (0,67), (0,68), (0,69), (0,71), (0,74), (0,75), (0,76), (0,79), (0,80), (0,81), (0,88), (0,89), (0,95), (0,96), (0,98), (0,99), (0,101), (0,103), (0,104), (0,105), (0,110), (0,113), (0,115), (0,116), (0,119), (1,3), (1,4), (1,9), (1,10), (1,20), (1,22), (1,25), (1,26), (1,29), (1,30), (1,33), (1,34), (1,36), (1,37), (1,39), (1,40), (1,46), (1,49), (1,52), (1,54), (1,56), (1,57), (1,59), (1,62), (1,67), (1,69), (1,72), (1,73), (1,74), (1,75), (1,76), (1,78), (1,81), (1,84), (1,86), (1,88), (1,89), (1,91), (1,92), (1,93), (1,94), (1,100), (1,103), (1,104), (1,105), (1,106), (1,107), (1,109), (1,111), (1,112), (1,113), (1,115), (1,116), (1,117), (1,118), (2,3), (2,8), (2,9), (2,11), (2,12), (2,13), (2,14), (2,16), (2,19), (2,24), (2,25), (2,27), (2,28), (2,32), (2,35), (2,36), (2,37), (2,39), (2,40), (2,41), (2,43), (2,44), (2,45), (2,46), (2,47), (2,48), (2,51), (2,52), (2,54), (2,55), (2,58), (2,60), (2,67), (2,68), (2,70), (2,71), (2,78), (2,79), (2,81), (2,86), (2,87), (2,88), (2,91), (2,94), (2,95), (2,96), (2,98), (2,100), (2,107), (2,108), (2,114), (2,115), (2,117), (3,7), (3,8), (3,10), (3,11), (3,12), (3,14), (3,15), (3,17), (3,18), (3,19), (3,21), (3,26), (3,31), (3,33), (3,35), (3,36), (3,37), (3,39), (3,40), (3,41), (3,45), (3,46), (3,47), (3,48), (3,49), (3,50), (3,51), (3,52), (3,53), (3,54), (3,55), (3,57), (3,58), (3,60), (3,62), (3,63), (3,65), (3,66), (3,67), (3,68), (3,70), (3,72), (3,73), (3,78), (3,82), (3,83), (3,84), (3,85), (3,87), (3,89), (3,91), (3,92), (3,93), (3,98), (3,101), (3,102), (3,107), (3,111), (3,112), (3,113), (3,117), (4,5), (4,7), (4,8), (4,9), (4,11), (4,12), (4,13), (4,14), (4,16), (4,23), (4,24), (4,25), (4,26), (4,30), (4,32), (4,33), (4,35), (4,40), (4,43), (4,44), (4,45), (4,46), (4,49), (4,50), (4,51), (4,53), (4,54), (4,55), (4,56), (4,57), (4,58), (4,59), (4,62), (4,63), (4,64), (4,66), (4,68), (4,69), (4,71), (4,73), (4,75), (4,76), (4,80), (4,82), (4,84), (4,88), (4,89), (4,90), (4,96), (4,97), (4,100), (4,101), (4,102), (4,103), (4,106), (4,108), (4,109), (4,111), (4,113), (4,116), (4,117), (4,118), (5,6), (5,14), (5,15), (5,19), (5,20), (5,21), (5,24), (5,26), (5,28), (5,33), (5,34), (5,36), (5,40), (5,41), (5,42), (5,44), (5,48), (5,49), (5,51), (5,52), (5,53), (5,54), (5,55), (5,57), (5,58), (5,59), (5,60), (5,61), (5,63), (5,64), (5,65), (5,68), (5,70), (5,71), (5,72), (5,74), (5,78), (5,80), (5,81), (5,82), (5,85), (5,86), (5,87), (5,88), (5,89), (5,91), (5,92), (5,96), (5,99), (5,103), (5,104), (5,106), (5,107), (5,108), (5,109), (5,116), (5,118), (5,119), (6,7), (6,9), (6,14), (6,15), (6,16), (6,20), (6,21), (6,22), (6,23), (6,25), (6,26), (6,28), (6,31), (6,33), (6,36), (6,37), (6,38), (6,42), (6,44), (6,45), (6,46), (6,47), (6,57), (6,62), (6,66), (6,67), (6,69), (6,70), (6,71), (6,73), (6,77), (6,78), (6,80), (6,83), (6,86), (6,88), (6,93), (6,94), (6,96), (6,102), (6,104), (6,105), (6,108), (6,109), (6,110), (6,113), (6,115), (6,117), (6,118), (7,8), (7,9), (7,15), (7,16), (7,18), (7,19), (7,21), (7,23), (7,26), (7,28), (7,32), (7,35), (7,37), (7,39), (7,40), (7,42), (7,43), (7,45), (7,46), (7,47), (7,48), (7,49), (7,53), (7,55), (7,56), (7,58), (7,59), (7,60), (7,62), (7,63), (7,67), (7,69), (7,72), (7,73), (7,77), (7,78), (7,79), (7,80), (7,81), (7,83), (7,84), (7,85), (7,87), (7,89), (7,94), (7,95), (7,99), (7,100), (7,102), (7,105), (7,106), (7,108), (7,110), (7,111), (7,113), (7,115), (8,9), (8,11), (8,12), (8,14), (8,15), (8,17), (8,20), (8,23), (8,24), (8,25), (8,26), (8,27), (8,28), (8,29), (8,32), (8,39), (8,42), (8,43), (8,51), (8,53), (8,56), (8,63), (8,64), (8,69), (8,71), (8,72), (8,74), (8,78), (8,79), (8,81), (8,82), (8,84), (8,85), (8,86), (8,87), (8,88), (8,91), (8,92), (8,93), (8,94), (8,96), (8,97), (8,100), (8,101), (8,102), (8,103), (8,105), (8,108), (8,109), (8,112), (8,115), (8,119), (9,11), (9,12), (9,13), (9,17), (9,18), (9,19), (9,22), (9,28), (9,29), (9,31), (9,34), (9,39), (9,41), (9,42), (9,46), (9,50), (9,53), (9,54), (9,55), (9,58), (9,62), (9,63), (9,64), (9,65), (9,67), (9,68), (9,70), (9,71), (9,72), (9,73), (9,74), (9,75), (9,76), (9,78), (9,81), (9,85), (9,88), (9,89), (9,90), (9,93), (9,94), (9,95), (9,97), (9,102), (9,103), (9,106), (9,109), (9,113), (9,114), (9,119), (10,13), (10,16), (10,17), (10,18), (10,19), (10,21), (10,24), (10,26), (10,28), (10,31), (10,32), (10,33), (10,34), (10,35), (10,37), (10,38), (10,40), (10,41), (10,43), (10,44), (10,47), (10,48), (10,52), (10,55), (10,58), (10,59), (10,60), (10,61), (10,62), (10,65), (10,68), (10,70), (10,75), (10,77), (10,78), (10,79), (10,80), (10,82), (10,83), (10,84), (10,85), (10,86), (10,89), (10,93), (10,98), (10,100), (10,102), (10,104), (10,106), (10,107), (10,110), (10,112), (10,113), (10,114), (10,115), (10,117), (10,119), (11,13), (11,15), (11,18), (11,19), (11,21), (11,23), (11,25), (11,26), (11,28), (11,30), (11,31), (11,32), (11,33), (11,35), (11,37), (11,42), (11,43), (11,45), (11,48), (11,49), (11,51), (11,55), (11,56), (11,57), (11,58), (11,59), (11,60), (11,61), (11,62), (11,63), (11,64), (11,66), (11,67), (11,68), (11,69), (11,73), (11,74), (11,77), (11,78), (11,80), (11,82), (11,84), (11,85), (11,89), (11,90), (11,95), (11,96), (11,98), (11,101), (11,102), (11,104), (11,107), (11,108), (11,110), (11,111), (11,114), (12,16), (12,20), (12,21), (12,22), (12,23), (12,26), (12,28), (12,31), (12,32), (12,33), (12,34), (12,41), (12,42), (12,44), (12,48), (12,49), (12,50), (12,52), (12,53), (12,55), (12,56), (12,57), (12,58), (12,64), (12,65), (12,67), (12,70), (12,71), (12,72), (12,73), (12,75), (12,76), (12,77), (12,82), (12,88), (12,91), (12,96), (12,97), (12,98), (12,99), (12,100), (12,103), (12,104), (12,105), (12,106), (12,107), (12,108), (12,109), (12,110), (12,112), (12,114), (12,115), (12,118), (13,18), (13,19), (13,23), (13,26), (13,28), (13,29), (13,31), (13,32), (13,33), (13,34), (13,36), (13,37), (13,38), (13,39), (13,41), (13,46), (13,49), (13,50), (13,51), (13,60), (13,62), (13,66), (13,67), (13,68), (13,69), (13,71), (13,73), (13,76), (13,78), (13,80), (13,83), (13,84), (13,85), (13,87), (13,88), (13,89), (13,91), (13,94), (13,99), (13,100), (13,103), (13,104), (13,105), (13,107), (13,111), (13,112), (13,113), (13,116), (13,119), (14,15), (14,16), (14,17), (14,18), (14,21), (14,22), (14,23), (14,24), (14,27), (14,28), (14,29), (14,30), (14,32), (14,33), (14,34), (14,37), (14,38), (14,41), (14,42), (14,45), (14,49), (14,52), (14,53), (14,55), (14,57), (14,60), (14,64), (14,66), (14,69), (14,72), (14,73), (14,74), (14,76), (14,78), (14,79), (14,83), (14,84), (14,85), (14,89), (14,90), (14,92), (14,95), (14,96), (14,100), (14,102), (14,105), (14,107), (14,109), (14,111), (14,112), (14,113), (14,115), (14,117), (14,119), (15,16), (15,17), (15,18), (15,20), (15,21), (15,22), (15,23), (15,24), (15,25), (15,26), (15,27), (15,29), (15,33), (15,35), (15,37), (15,39), (15,40), (15,41), (15,45), (15,46), (15,50), (15,51), (15,54), (15,59), (15,60), (15,64), (15,72), (15,73), (15,75), (15,76), (15,81), (15,84), (15,87), (15,88), (15,89), (15,91), (15,92), (15,93), (15,94), (15,95), (15,98), (15,99), (15,101), (15,103), (15,104), (15,107), (15,109), (15,111), (15,113), (15,116), (15,118), (16,18), (16,20), (16,22), (16,25), (16,26), (16,27), (16,28), (16,29), (16,33), (16,34), (16,38), (16,39), (16,42), (16,45), (16,46), (16,47), (16,50), (16,54), (16,56), (16,59), (16,62), (16,63), (16,64), (16,65), (16,67), (16,69), (16,70), (16,71), (16,73), (16,76), (16,77), (16,78), (16,79), (16,80), (16,91), (16,92), (16,94), (16,95), (16,101), (16,102), (16,103), (16,104), (16,105), (16,107), (16,110), (16,111), (16,113), (16,114), (16,118), (17,18), (17,22), (17,24), (17,29), (17,31), (17,33), (17,34), (17,36), (17,38), (17,39), (17,40), (17,42), (17,48), (17,50), (17,51), (17,53), (17,56), (17,58), (17,60), (17,63), (17,66), (17,68), (17,69), (17,70), (17,72), (17,73), (17,76), (17,77), (17,79), (17,80), (17,82), (17,84), (17,86), (17,87), (17,89), (17,92), (17,93), (17,96), (17,97), (17,99), (17,100), (17,104), (17,105), (17,106), (17,107), (17,108), (17,111), (17,112), (17,113), (17,114), (17,115), (17,117), (18,19), (18,20), (18,21), (18,24), (18,26), (18,30), (18,31), (18,33), (18,34), (18,35), (18,37), (18,40), (18,41), (18,42), (18,45), (18,46), (18,47), (18,49), (18,52), (18,54), (18,55), (18,56), (18,57), (18,60), (18,61), (18,63), (18,64), (18,65), (18,70), (18,72), (18,73), (18,77), (18,79), (18,80), (18,81), (18,82), (18,84), (18,89), (18,90), (18,91), (18,92), (18,93), (18,94), (18,96), (18,98), (18,100), (18,102), (18,103), (18,104), (18,105), (18,106), (18,110), (18,112), (18,114), (18,115), (18,117), (18,119), (19,20), (19,21), (19,25), (19,26), (19,28), (19,30), (19,31), (19,32), (19,33), (19,35), (19,36), (19,37), (19,38), (19,41), (19,42), (19,47), (19,49), (19,51), (19,52), (19,56), (19,57), (19,60), (19,61), (19,62), (19,63), (19,65), (19,67), (19,68), (19,70), (19,71), (19,72), (19,75), (19,76), (19,78), (19,79), (19,80), (19,82), (19,84), (19,86), (19,89), (19,92), (19,94), (19,96), (19,98), (19,102), (19,103), (19,104), (19,105), (19,107), (19,111), (19,112), (19,116), (19,117), (19,119), (20,22), (20,24), (20,25), (20,30), (20,33), (20,34), (20,35), (20,39), (20,40), (20,41), (20,43), (20,45), (20,47), (20,48), (20,49), (20,50), (20,53), (20,54), (20,55), (20,56), (20,60), (20,61), (20,62), (20,66), (20,67), (20,68), (20,70), (20,71), (20,72), (20,73), (20,76), (20,78), (20,79), (20,81), (20,86), (20,87), (20,88), (20,91), (20,92), (20,93), (20,94), (20,95), (20,98), (20,99), (20,100), (20,101), (20,103), (20,107), (20,108), (20,111), (20,112), (20,114), (20,116), (20,117), (21,24), (21,25), (21,26), (21,27), (21,28), (21,31), (21,32), (21,37), (21,42), (21,44), (21,45), (21,47), (21,51), (21,52), (21,55), (21,57), (21,59), (21,60), (21,67), (21,68), (21,69), (21,70), (21,73), (21,74), (21,79), (21,80), (21,82), (21,83), (21,84), (21,85), (21,86), (21,87), (21,97), (21,98), (21,99), (21,101), (21,102), (21,103), (21,105), (21,106), (21,107), (21,108), (21,109), (21,110), (21,112), (21,115), (22,25), (22,27), (22,28), (22,29), (22,34), (22,36), (22,37), (22,39), (22,40), (22,43), (22,45), (22,48), (22,49), (22,50), (22,51), (22,52), (22,53), (22,55), (22,58), (22,59), (22,61), (22,64), (22,65), (22,66), (22,67), (22,68), (22,69), (22,74), (22,75), (22,76), (22,78), (22,80), (22,82), (22,83), (22,91), (22,95), (22,97), (22,102), (22,103), (22,104), (22,108), (22,109), (22,111), (22,112), (22,114), (22,115), (22,116), (22,118), (22,119), (23,27), (23,28), (23,29), (23,30), (23,31), (23,33), (23,35), (23,36), (23,42), (23,44), (23,45), (23,47), (23,50), (23,52), (23,55), (23,59), (23,61), (23,67), (23,69), (23,71), (23,73), (23,77), (23,80), (23,84), (23,86), (23,90), (23,91), (23,92), (23,97), (23,104), (23,105), (23,107), (23,110), (23,111), (23,114), (23,116), (23,117), (24,25), (24,28), (24,29), (24,33), (24,38), (24,39), (24,49), (24,52), (24,53), (24,55), (24,56), (24,59), (24,60), (24,63), (24,65), (24,67), (24,68), (24,71), (24,72), (24,76), (24,79), (24,80), (24,83), (24,86), (24,89), (24,90), (24,91), (24,95), (24,97), (24,98), (24,100), (24,102), (24,103), (24,104), (24,105), (24,108), (24,110), (24,111), (24,112), (24,113), (24,115), (24,116), (24,118), (25,26), (25,27), (25,32), (25,34), (25,37), (25,38), (25,40), (25,44), (25,45), (25,46), (25,47), (25,49), (25,50), (25,52), (25,55), (25,56), (25,57), (25,59), (25,60), (25,61), (25,62), (25,64), (25,65), (25,66), (25,67), (25,69), (25,73), (25,75), (25,76), (25,78), (25,82), (25,83), (25,85), (25,86), (25,88), (25,89), (25,90), (25,91), (25,96), (25,101), (25,102), (25,103), (25,104), (25,105), (25,109), (25,110), (25,116), (25,117), (25,118), (26,27), (26,28), (26,29), (26,30), (26,31), (26,32), (26,33), (26,34), (26,35), (26,37), (26,38), (26,39), (26,40), (26,41), (26,42), (26,43), (26,44), (26,45), (26,47), (26,48), (26,49), (26,55), (26,57), (26,62), (26,63), (26,65), (26,66), (26,67), (26,68), (26,70), (26,71), (26,73), (26,75), (26,79), (26,80), (26,82), (26,83), (26,85), (26,86), (26,88), (26,89), (26,93), (26,94), (26,98), (26,100), (26,101), (26,103), (26,105), (26,107), (26,109), (26,110), (26,114), (26,115), (26,116), (26,118), (27,28), (27,29), (27,30), (27,33), (27,34), (27,35), (27,38), (27,39), (27,41), (27,43), (27,45), (27,48), (27,51), (27,55), (27,59), (27,60), (27,61), (27,62), (27,64), (27,67), (27,68), (27,70), (27,71), (27,76), (27,79), (27,80), (27,82), (27,87), (27,91), (27,96), (27,98), (27,99), (27,101), (27,103), (27,104), (27,105), (27,106), (27,107), (27,108), (27,109), (27,110), (27,113), (27,119), (28,29), (28,31), (28,35), (28,36), (28,37), (28,38), (28,40), (28,44), (28,45), (28,47), (28,49), (28,51), (28,52), (28,53), (28,54), (28,56), (28,57), (28,58), (28,60), (28,62), (28,65), (28,71), (28,72), (28,73), (28,74), (28,76), (28,77), (28,78), (28,79), (28,84), (28,88), (28,89), (28,96), (28,98), (28,103), (28,104), (28,106), (28,107), (28,109), (28,110), (28,112), (28,114), (28,116), (28,117), (28,119), (29,30), (29,32), (29,34), (29,35), (29,38), (29,39), (29,43), (29,44), (29,46), (29,47), (29,48), (29,50), (29,54), (29,56), (29,60), (29,62), (29,64), (29,65), (29,67), (29,70), (29,72), (29,74), (29,75), (29,76), (29,78), (29,79), (29,81), (29,82), (29,87), (29,88), (29,90), (29,91), (29,94), (29,96), (29,99), (29,101), (29,102), (29,105), (29,106), (29,111), (29,112), (29,113), (29,114), (29,116), (29,117), (30,31), (30,34), (30,37), (30,39), (30,44), (30,46), (30,50), (30,53), (30,55), (30,56), (30,58), (30,62), (30,64), (30,66), (30,67), (30,68), (30,76), (30,77), (30,84), (30,86), (30,88), (30,90), (30,91), (30,92), (30,94), (30,97), (30,99), (30,108), (30,112), (30,115), (30,118), (31,33), (31,35), (31,36), (31,41), (31,44), (31,45), (31,47), (31,49), (31,57), (31,58), (31,59), (31,60), (31,61), (31,62), (31,63), (31,64), (31,65), (31,66), (31,68), (31,70), (31,72), (31,73), (31,75), (31,79), (31,80), (31,82), (31,83), (31,84), (31,85), (31,87), (31,89), (31,90), (31,91), (31,92), (31,93), (31,97), (31,98), (31,99), (31,100), (31,102), (31,103), (31,104), (31,105), (31,106), (31,107), (31,111), (31,112), (31,113), (31,116), (31,117), (31,118), (31,119), (32,34), (32,35), (32,38), (32,39), (32,41), (32,42), (32,46), (32,48), (32,49), (32,55), (32,56), (32,57), (32,61), (32,62), (32,63), (32,64), (32,66), (32,67), (32,69), (32,70), (32,73), (32,78), (32,81), (32,84), (32,85), (32,86), (32,87), (32,88), (32,89), (32,91), (32,98), (32,100), (32,101), (32,106), (32,107), (32,109), (32,116), (32,117), (33,37), (33,38), (33,40), (33,41), (33,42), (33,43), (33,44), (33,47), (33,48), (33,49), (33,55), (33,58), (33,61), (33,65), (33,72), (33,73), (33,74), (33,75), (33,77), (33,78), (33,83), (33,85), (33,88), (33,89), (33,90), (33,91), (33,93), (33,96), (33,99), (33,100), (33,105), (33,107), (33,108), (33,111), (33,114), (33,116), (33,118), (34,38), (34,40), (34,41), (34,42), (34,43), (34,47), (34,49), (34,51), (34,55), (34,57), (34,61), (34,63), (34,66), (34,67), (34,69), (34,71), (34,73), (34,75), (34,76), (34,80), (34,82), (34,83), (34,85), (34,88), (34,90), (34,91), (34,94), (34,98), (34,99), (34,100), (34,101), (34,102), (34,104), (34,105), (34,106), (34,107), (34,109), (34,110), (34,111), (34,113), (34,114), (34,115), (34,116), (35,41), (35,46), (35,47), (35,50), (35,57), (35,61), (35,63), (35,65), (35,67), (35,69), (35,71), (35,72), (35,74), (35,75), (35,77), (35,78), (35,80), (35,81), (35,82), (35,83), (35,87), (35,89), (35,92), (35,94), (35,95), (35,97), (35,98), (35,100), (35,101), (35,102), (35,103), (35,104), (35,107), (35,108), (35,109), (35,110), (35,111), (35,112), (35,113), (35,116), (35,117), (35,118), (36,41), (36,42), (36,43), (36,48), (36,51), (36,53), (36,55), (36,56), (36,59), (36,60), (36,61), (36,63), (36,67), (36,68), (36,69), (36,71), (36,74), (36,76), (36,77), (36,80), (36,82), (36,83), (36,84), (36,90), (36,95), (36,96), (36,97), (36,100), (36,102), (36,103), (36,106), (36,110), (36,111), (36,113), (36,115), (36,119), (37,40), (37,41), (37,43), (37,45), (37,50), (37,51), (37,52), (37,53), (37,54), (37,55), (37,56), (37,58), (37,62), (37,64), (37,65), (37,67), (37,68), (37,70), (37,72), (37,73), (37,76), (37,79), (37,83), (37,86), (37,88), (37,91), (37,92), (37,94), (37,95), (37,96), (37,98), (37,102), (37,104), (37,109), (37,110), (37,111), (37,114), (37,116), (37,117), (37,119), (38,40), (38,42), (38,43), (38,44), (38,46), (38,48), (38,50), (38,51), (38,53), (38,56), (38,57), (38,58), (38,60), (38,65), (38,67), (38,68), (38,72), (38,73), (38,74), (38,75), (38,77), (38,78), (38,81), (38,82), (38,83), (38,86), (38,94), (38,95), (38,100), (38,101), (38,102), (38,103), (38,104), (38,106), (38,107), (38,108), (38,111), (38,112), (38,113), (38,119), (39,40), (39,41), (39,42), (39,43), (39,44), (39,47), (39,48), (39,50), (39,51), (39,52), (39,53), (39,54), (39,55), (39,56), (39,57), (39,60), (39,63), (39,64), (39,70), (39,71), (39,72), (39,73), (39,74), (39,76), (39,79), (39,80), (39,81), (39,82), (39,83), (39,84), (39,85), (39,89), (39,90), (39,91), (39,92), (39,93), (39,94), (39,95), (39,96), (39,98), (39,99), (39,100), (39,102), (39,103), (39,105), (39,106), (39,107), (39,108), (39,110), (39,111), (39,113), (39,115), (39,116), (39,117), (39,118), (40,43), (40,45), (40,55), (40,56), (40,57), (40,58), (40,59), (40,64), (40,65), (40,67), (40,68), (40,69), (40,70), (40,72), (40,73), (40,75), (40,77), (40,78), (40,80), (40,84), (40,85), (40,86), (40,88), (40,89), (40,90), (40,91), (40,92), (40,93), (40,95), (40,96), (40,97), (40,98), (40,103), (40,104), (40,105), (40,107), (40,108), (40,111), (40,112), (40,114), (40,115), (41,43), (41,44), (41,47), (41,48), (41,50), (41,51), (41,54), (41,55), (41,57), (41,58), (41,62), (41,63), (41,64), (41,65), (41,69), (41,70), (41,72), (41,76), (41,77), (41,82), (41,83), (41,87), (41,88), (41,89), (41,91), (41,92), (41,93), (41,94), (41,99), (41,107), (41,110), (41,111), (41,112), (41,113), (41,114), (42,43), (42,44), (42,47), (42,50), (42,52), (42,53), (42,54), (42,56), (42,57), (42,59), (42,64), (42,65), (42,67), (42,69), (42,70), (42,71), (42,73), (42,77), (42,79), (42,81), (42,82), (42,84), (42,90), (42,94), (42,96), (42,98), (42,106), (42,107), (42,108), (42,109), (42,110), (42,111), (42,112), (42,114), (42,115), (42,116), (42,117), (42,119), (43,45), (43,47), (43,48), (43,49), (43,50), (43,52), (43,54), (43,55), (43,60), (43,61), (43,62), (43,64), (43,66), (43,67), (43,69), (43,72), (43,73), (43,74), (43,75), (43,77), (43,79), (43,82), (43,83), (43,86), (43,89), (43,94), (43,95), (43,96), (43,99), (43,100), (43,101), (43,103), (43,108), (43,109), (43,112), (43,113), (43,114), (43,117), (43,118), (44,45), (44,46), (44,48), (44,49), (44,52), (44,53), (44,55), (44,57), (44,58), (44,59), (44,60), (44,61), (44,62), (44,63), (44,64), (44,65), (44,66), (44,67), (44,70), (44,71), (44,73), (44,75), (44,80), (44,81), (44,82), (44,84), (44,85), (44,86), (44,87), (44,88), (44,92), (44,93), (44,95), (44,97), (44,98), (44,101), (44,102), (44,103), (44,104), (44,105), (44,106), (44,107), (44,111), (44,113), (44,114), (44,115), (45,46), (45,47), (45,50), (45,52), (45,54), (45,55), (45,57), (45,59), (45,62), (45,63), (45,64), (45,65), (45,66), (45,67), (45,68), (45,69), (45,70), (45,71), (45,73), (45,74), (45,75), (45,77), (45,78), (45,80), (45,82), (45,83), (45,87), (45,89), (45,90), (45,91), (45,92), (45,93), (45,97), (45,98), (45,101), (45,103), (45,108), (45,110), (45,111), (45,112), (45,114), (45,116), (45,118), (45,119), (46,51), (46,53), (46,55), (46,58), (46,59), (46,60), (46,64), (46,65), (46,66), (46,67), (46,68), (46,70), (46,72), (46,73), (46,74), (46,76), (46,77), (46,82), (46,83), (46,86), (46,88), (46,89), (46,90), (46,94), (46,95), (46,96), (46,99), (46,100), (46,101), (46,103), (46,104), (46,107), (46,109), (46,110), (46,113), (46,114), (46,119), (47,50), (47,51), (47,55), (47,57), (47,58), (47,59), (47,60), (47,62), (47,64), (47,65), (47,70), (47,71), (47,72), (47,74), (47,75), (47,79), (47,82), (47,84), (47,90), (47,91), (47,92), (47,95), (47,98), (47,99), (47,100), (47,101), (47,102), (47,103), (47,104), (47,110), (47,111), (47,112), (47,116), (47,118), (48,49), (48,51), (48,52), (48,53), (48,54), (48,55), (48,56), (48,58), (48,59), (48,61), (48,62), (48,63), (48,64), (48,67), (48,70), (48,71), (48,73), (48,75), (48,76), (48,77), (48,78), (48,79), (48,81), (48,82), (48,84), (48,85), (48,86), (48,88), (48,91), (48,98), (48,102), (48,104), (48,106), (48,108), (48,109), (48,114), (48,115), (48,116), (48,117), (48,119), (49,50), (49,51), (49,53), (49,56), (49,57), (49,60), (49,61), (49,65), (49,68), (49,69), (49,71), (49,72), (49,73), (49,74), (49,75), (49,81), (49,84), (49,85), (49,88), (49,89), (49,92), (49,95), (49,96), (49,100), (49,103), (49,104), (49,105), (49,106), (49,108), (49,111), (49,112), (49,113), (49,114), (49,115), (49,116), (50,51), (50,53), (50,54), (50,56), (50,57), (50,63), (50,65), (50,68), (50,69), (50,72), (50,76), (50,80), (50,82), (50,84), (50,87), (50,88), (50,89), (50,90), (50,93), (50,96), (50,97), (50,99), (50,100), (50,101), (50,105), (50,106), (50,107), (50,109), (50,110), (50,114), (50,115), (50,116), (50,118), (51,53), (51,57), (51,58), (51,59), (51,60), (51,62), (51,65), (51,67), (51,68), (51,70), (51,71), (51,73), (51,77), (51,79), (51,80), (51,81), (51,82), (51,83), (51,84), (51,85), (51,86), (51,88), (51,89), (51,90), (51,97), (51,99), (51,101), (51,102), (51,104), (51,105), (51,106), (51,107), (51,109), (51,114), (51,115), (51,117), (51,118), (51,119), (52,54), (52,55), (52,57), (52,58), (52,59), (52,61), (52,62), (52,63), (52,68), (52,71), (52,73), (52,74), (52,75), (52,76), (52,77), (52,78), (52,79), (52,81), (52,82), (52,83), (52,84), (52,87), (52,91), (52,92), (52,94), (52,95), (52,96), (52,97), (52,98), (52,100), (52,104), (52,105), (52,106), (52,107), (52,110), (52,111), (52,112), (52,116), (52,119), (53,54), (53,55), (53,56), (53,59), (53,63), (53,66), (53,70), (53,72), (53,73), (53,76), (53,78), (53,79), (53,81), (53,83), (53,86), (53,87), (53,89), (53,91), (53,92), (53,97), (53,98), (53,101), (53,104), (53,105), (53,109), (53,110), (53,111), (53,112), (53,114), (53,116), (53,117), (53,119), (54,56), (54,57), (54,59), (54,60), (54,63), (54,64), (54,66), (54,67), (54,68), (54,70), (54,74), (54,77), (54,80), (54,81), (54,82), (54,83), (54,84), (54,89), (54,90), (54,91), (54,94), (54,95), (54,96), (54,97), (54,99), (54,100), (54,104), (54,109), (54,110), (54,111), (54,113), (54,117), (54,118), (54,119), (55,57), (55,60), (55,63), (55,66), (55,69), (55,70), (55,72), (55,74), (55,75), (55,76), (55,77), (55,79), (55,80), (55,81), (55,82), (55,84), (55,90), (55,92), (55,95), (55,101), (55,102), (55,105), (55,106), (55,107), (55,108), (55,109), (55,110), (55,113), (55,114), (55,115), (55,116), (55,118), (55,119), (56,57), (56,62), (56,63), (56,71), (56,73), (56,74), (56,75), (56,76), (56,81), (56,82), (56,83), (56,84), (56,85), (56,87), (56,88), (56,89), (56,90), (56,91), (56,92), (56,94), (56,96), (56,97), (56,99), (56,103), (56,104), (56,105), (56,110), (56,112), (56,114), (56,116), (56,118), (57,58), (57,60), (57,63), (57,64), (57,65), (57,66), (57,67), (57,68), (57,69), (57,71), (57,72), (57,73), (57,75), (57,76), (57,78), (57,79), (57,81), (57,82), (57,86), (57,87), (57,88), (57,89), (57,91), (57,92), (57,94), (57,95), (57,98), (57,99), (57,100), (57,101), (57,103), (57,104), (57,106), (57,107), (57,109), (57,113), (57,114), (57,116), (57,119), (58,59), (58,62), (58,65), (58,68), (58,71), (58,73), (58,74), (58,76), (58,78), (58,79), (58,80), (58,81), (58,82), (58,83), (58,84), (58,85), (58,90), (58,96), (58,98), (58,99), (58,101), (58,104), (58,105), (58,106), (58,110), (58,114), (58,117), (58,118), (58,119), (59,61), (59,63), (59,64), (59,65), (59,68), (59,70), (59,72), (59,76), (59,77), (59,78), (59,81), (59,83), (59,85), (59,88), (59,89), (59,91), (59,92), (59,96), (59,97), (59,100), (59,104), (59,105), (59,107), (59,108), (59,109), (59,111), (59,112), (59,113), (59,114), (59,116), (59,119), (60,61), (60,62), (60,65), (60,66), (60,68), (60,69), (60,70), (60,71), (60,72), (60,73), (60,74), (60,75), (60,76), (60,82), (60,83), (60,84), (60,86), (60,88), (60,92), (60,93), (60,94), (60,95), (60,96), (60,98), (60,101), (60,102), (60,107), (60,108), (60,109), (60,110), (60,112), (60,113), (60,114), (60,117), (60,118), (61,64), (61,67), (61,68), (61,69), (61,72), (61,73), (61,75), (61,81), (61,82), (61,83), (61,84), (61,85), (61,87), (61,89), (61,92), (61,93), (61,94), (61,95), (61,98), (61,99), (61,101), (61,104), (61,106), (61,107), (61,108), (61,109), (61,112), (61,114), (61,116), (61,118), (62,64), (62,66), (62,70), (62,72), (62,74), (62,76), (62,77), (62,78), (62,81), (62,83), (62,87), (62,90), (62,91), (62,92), (62,93), (62,96), (62,97), (62,98), (62,99), (62,100), (62,102), (62,105), (62,110), (62,112), (62,114), (62,115), (62,116), (62,117), (62,118), (62,119), (63,64), (63,65), (63,66), (63,67), (63,71), (63,72), (63,74), (63,75), (63,76), (63,79), (63,80), (63,82), (63,84), (63,87), (63,88), (63,89), (63,94), (63,98), (63,100), (63,101), (63,103), (63,104), (63,109), (63,110), (63,112), (63,115), (63,117), (63,119), (64,67), (64,68), (64,69), (64,70), (64,71), (64,72), (64,73), (64,74), (64,75), (64,76), (64,77), (64,80), (64,86), (64,88), (64,92), (64,93), (64,94), (64,96), (64,97), (64,98), (64,101), (64,102), (64,103), (64,105), (64,107), (64,111), (64,112), (64,113), (64,115), (64,118), (64,119), (65,66), (65,67), (65,69), (65,70), (65,71), (65,72), (65,73), (65,76), (65,87), (65,89), (65,91), (65,92), (65,93), (65,94), (65,95), (65,97), (65,98), (65,99), (65,102), (65,105), (65,106), (65,107), (65,108), (65,109), (65,111), (65,112), (65,115), (65,117), (65,118), (65,119), (66,73), (66,74), (66,75), (66,78), (66,81), (66,84), (66,85), (66,86), (66,91), (66,92), (66,93), (66,94), (66,95), (66,97), (66,98), (66,99), (66,100), (66,103), (66,104), (66,105), (66,107), (66,108), (66,110), (66,112), (66,113), (66,115), (66,118), (67,68), (67,74), (67,76), (67,81), (67,84), (67,86), (67,88), (67,91), (67,92), (67,94), (67,95), (67,97), (67,98), (67,99), (67,101), (67,103), (67,106), (67,107), (67,108), (67,110), (67,113), (67,114), (67,116), (68,69), (68,71), (68,72), (68,73), (68,74), (68,75), (68,76), (68,77), (68,79), (68,81), (68,83), (68,84), (68,85), (68,87), (68,90), (68,94), (68,95), (68,99), (68,101), (68,103), (68,105), (68,110), (68,113), (68,117), (69,73), (69,75), (69,76), (69,77), (69,78), (69,79), (69,80), (69,81), (69,83), (69,85), (69,86), (69,87), (69,89), (69,90), (69,91), (69,92), (69,98), (69,99), (69,102), (69,104), (69,106), (69,107), (69,108), (69,109), (69,110), (69,112), (69,115), (69,117), (69,118), (70,73), (70,75), (70,76), (70,79), (70,80), (70,82), (70,90), (70,92), (70,93), (70,95), (70,96), (70,97), (70,98), (70,99), (70,100), (70,102), (70,103), (70,109), (70,112), (70,114), (70,118), (71,73), (71,75), (71,77), (71,79), (71,80), (71,81), (71,82), (71,86), (71,87), (71,91), (71,94), (71,96), (71,102), (71,103), (71,104), (71,110), (71,111), (71,112), (71,113), (71,119), (72,74), (72,80), (72,82), (72,83), (72,84), (72,86), (72,88), (72,89), (72,90), (72,91), (72,97), (72,98), (72,104), (72,109), (72,111), (72,113), (72,117), (72,118), (73,75), (73,77), (73,82), (73,83), (73,84), (73,86), (73,87), (73,88), (73,89), (73,91), (73,93), (73,94), (73,95), (73,98), (73,99), (73,101), (73,102), (73,103), (73,104), (73,107), (73,108), (73,109), (73,112), (73,113), (73,114), (73,115), (73,116), (73,118), (73,119), (74,76), (74,79), (74,81), (74,83), (74,84), (74,85), (74,89), (74,91), (74,92), (74,93), (74,95), (74,96), (74,100), (74,102), (74,104), (74,107), (74,108), (74,109), (74,111), (74,112), (74,113), (74,115), (74,117), (74,118), (75,78), (75,83), (75,84), (75,85), (75,86), (75,87), (75,89), (75,90), (75,92), (75,97), (75,98), (75,99), (75,100), (75,102), (75,103), (75,104), (75,106), (75,107), (75,108), (75,110), (75,111), (75,114), (75,115), (75,116), (75,117), (76,80), (76,86), (76,87), (76,88), (76,89), (76,91), (76,92), (76,93), (76,96), (76,97), (76,100), (76,101), (76,103), (76,104), (76,105), (76,106), (76,107), (76,109), (76,112), (76,113), (76,115), (76,116), (76,117), (76,118), (76,119), (77,78), (77,79), (77,80), (77,83), (77,84), (77,85), (77,88), (77,91), (77,92), (77,93), (77,96), (77,97), (77,98), (77,100), (77,102), (77,104), (77,106), (77,108), (77,110), (77,113), (77,114), (77,117), (78,79), (78,81), (78,82), (78,83), (78,87), (78,88), (78,89), (78,90), (78,94), (78,96), (78,97), (78,100), (78,102), (78,104), (78,107), (78,109), (78,110), (78,111), (78,112), (78,116), (78,118), (78,119), (79,80), (79,84), (79,85), (79,87), (79,89), (79,91), (79,92), (79,93), (79,94), (79,97), (79,100), (79,102), (79,103), (79,104), (79,106), (79,107), (79,108), (79,109), (79,110), (79,111), (79,113), (79,116), (79,118), (80,81), (80,82), (80,83), (80,84), (80,85), (80,86), (80,89), (80,90), (80,91), (80,93), (80,94), (80,95), (80,97), (80,98), (80,99), (80,102), (80,103), (80,104), (80,106), (80,108), (80,109), (80,110), (80,111), (80,112), (80,114), (80,117), (81,82), (81,84), (81,85), (81,88), (81,90), (81,91), (81,92), (81,93), (81,96), (81,97), (81,98), (81,99), (81,103), (81,107), (81,108), (81,112), (81,113), (81,114), (81,115), (81,119), (82,84), (82,85), (82,87), (82,88), (82,90), (82,92), (82,94), (82,95), (82,98), (82,99), (82,102), (82,104), (82,105), (82,107), (82,112), (82,113), (82,114), (82,115), (82,118), (83,85), (83,86), (83,91), (83,92), (83,93), (83,94), (83,97), (83,98), (83,100), (83,101), (83,105), (83,106), (83,107), (83,108), (83,112), (83,113), (83,114), (83,115), (83,116), (84,85), (84,86), (84,87), (84,90), (84,91), (84,94), (84,95), (84,96), (84,97), (84,99), (84,101), (84,107), (84,112), (84,115), (85,86), (85,87), (85,89), (85,90), (85,91), (85,93), (85,94), (85,98), (85,100), (85,107), (85,108), (85,109), (85,110), (85,111), (85,112), (85,114), (85,115), (85,116), (85,117), (85,118), (85,119), (86,87), (86,89), (86,90), (86,93), (86,94), (86,95), (86,99), (86,101), (86,102), (86,104), (86,105), (86,106), (86,107), (86,110), (86,111), (86,112), (86,115), (86,116), (86,117), (87,91), (87,92), (87,93), (87,94), (87,96), (87,97), (87,98), (87,99), (87,100), (87,101), (87,103), (87,106), (87,107), (87,108), (87,111), (87,112), (87,114), (87,115), (87,116), (87,118), (87,119), (88,90), (88,93), (88,95), (88,96), (88,97), (88,98), (88,99), (88,103), (88,110), (88,111), (88,113), (88,114), (89,92), (89,93), (89,95), (89,98), (89,106), (89,107), (89,108), (89,113), (89,114), (89,119), (90,92), (90,94), (90,95), (90,96), (90,97), (90,101), (90,103), (90,105), (90,106), (90,107), (90,108), (90,111), (90,112), (90,113), (90,114), (90,117), (90,119), (91,92), (91,96), (91,97), (91,98), (91,99), (91,100), (91,102), (91,104), (91,105), (91,106), (91,109), (91,112), (91,113), (91,116), (91,117), (91,118), (92,93), (92,94), (92,95), (92,102), (92,103), (92,107), (92,108), (92,110), (92,111), (92,112), (92,113), (92,114), (92,117), (92,118), (93,94), (93,98), (93,99), (93,100), (93,102), (93,103), (93,104), (93,105), (93,106), (93,111), (93,112), (93,114), (94,95), (94,97), (94,101), (94,102), (94,105), (94,106), (94,108), (94,111), (94,112), (94,115), (94,117), (94,118), (95,97), (95,103), (95,105), (95,107), (95,108), (95,110), (95,112), (95,115), (95,118), (96,99), (96,103), (96,106), (96,107), (96,110), (96,115), (96,116), (96,117), (96,118), (97,99), (97,101), (97,103), (97,105), (97,106), (97,107), (97,108), (97,112), (97,113), (97,117), (97,119), (98,99), (98,102), (98,103), (98,106), (98,107), (98,109), (98,110), (98,112), (98,113), (98,116), (98,117), (99,100), (99,103), (99,105), (99,106), (99,107), (99,108), (99,109), (99,110), (99,111), (99,112), (99,115), (99,116), (99,118), (99,119), (100,103), (100,104), (100,105), (100,107), (100,113), (100,116), (100,119), (101,102), (101,106), (101,109), (101,110), (101,113), (101,114), (101,119), (102,104), (102,105), (102,107), (102,110), (102,111), (102,112), (102,116), (102,117), (102,119), (103,106), (103,108), (103,111), (103,113), (103,119), (104,105), (104,106), (104,108), (104,110), (104,111), (104,114), (104,115), (104,116), (105,107), (105,108), (105,110), (105,112), (105,113), (105,116), (105,117), (105,119), (106,108), (106,109), (106,110), (106,113), (106,114), (106,115), (106,116), (106,118), (106,119), (107,108), (107,109), (107,110), (107,112), (107,113), (107,114), (108,109), (108,112), (108,114), (108,115), (108,116), (108,117), (108,118), (108,119), (109,111), (109,115), (109,116), (109,118), (109,119), (110,111), (110,113), (110,114), (110,117), (111,114), (111,115), (111,117), (112,113), (112,117), (112,118), (112,119), (113,115), (113,116), (113,117), (114,115), (114,117), (115,119), (116,117), (116,118), (116,119), (117,119), (118,119) + +Find a clique of size at least 13 in G: a set of at least 13 vertices that are pairwise adjacent. + +Answer format: {"clique": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-clique-l6-s3/solution/solve.sh b/tasks/construct-mc-max-clique-l6-s3/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..9ee83973e9da0188c888013146df56b02c18f957 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s3/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [3, 10, 18, 19, 21, 31, 47, 60, 70, 82, 98, 102, 112]} +RLMATH_EOF diff --git a/tasks/construct-mc-max-clique-l6-s3/task.toml b/tasks/construct-mc-max-clique-l6-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..f050af715a54992fd71ad21b7c5397ad325f6494 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-clique-l6-s3" +version = "0.2.0" +description = "construct/mc_max_clique" +authors = [] +keywords = ["rlmath", "construct", "mc_max_clique"] + +[metadata] +subset = "construct" +family = "mc_max_clique" +problem_key = "graph_clique" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "MathConstraint/max_clique" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-clique-l6-s3/tests/check.py b/tasks/construct-mc-max-clique-l6-s3/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..e3f70dbd5b155a3514c2102aa4ad460201495210 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s3/tests/check.py @@ -0,0 +1,18 @@ +"""Clique of size >= k in a given graph (MathConstraint max_clique decision version, CC-BY-4.0).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("clique"), None, 0, n - 1, "clique") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) < k: + raise Invalid(f"clique has {len(S)} vertices, need at least {k}") + E = {(u, v) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(S), 2): + if (u, v) not in E: + raise Invalid(f"vertices {u} and {v} are not adjacent") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-max-clique-l6-s3/tests/instance.json b/tasks/construct-mc-max-clique-l6-s3/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..7843593b32b1c623e3527bfb44a985eb7400433a --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s3/tests/instance.json @@ -0,0 +1 @@ +{"n": 120, "k": 13, "edges": [[0, 1], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 11], [0, 12], [0, 13], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [0, 23], [0, 26], [0, 27], [0, 28], [0, 30], [0, 32], [0, 33], [0, 34], [0, 35], [0, 36], [0, 41], [0, 44], [0, 46], [0, 47], [0, 50], [0, 51], [0, 53], [0, 55], [0, 57], [0, 59], [0, 60], [0, 61], [0, 62], [0, 66], [0, 67], [0, 68], [0, 69], [0, 71], [0, 74], [0, 75], [0, 76], [0, 79], [0, 80], [0, 81], [0, 88], [0, 89], [0, 95], [0, 96], [0, 98], [0, 99], [0, 101], [0, 103], [0, 104], [0, 105], [0, 110], [0, 113], [0, 115], [0, 116], [0, 119], [1, 3], [1, 4], [1, 9], [1, 10], [1, 20], [1, 22], [1, 25], [1, 26], [1, 29], [1, 30], [1, 33], [1, 34], [1, 36], [1, 37], [1, 39], [1, 40], [1, 46], [1, 49], [1, 52], [1, 54], [1, 56], [1, 57], [1, 59], [1, 62], [1, 67], [1, 69], [1, 72], [1, 73], [1, 74], [1, 75], [1, 76], [1, 78], [1, 81], [1, 84], [1, 86], [1, 88], [1, 89], [1, 91], [1, 92], [1, 93], [1, 94], [1, 100], [1, 103], [1, 104], [1, 105], [1, 106], [1, 107], [1, 109], [1, 111], [1, 112], [1, 113], [1, 115], [1, 116], [1, 117], [1, 118], [2, 3], [2, 8], [2, 9], [2, 11], [2, 12], [2, 13], [2, 14], [2, 16], [2, 19], [2, 24], [2, 25], [2, 27], [2, 28], [2, 32], [2, 35], [2, 36], [2, 37], [2, 39], [2, 40], [2, 41], [2, 43], [2, 44], [2, 45], [2, 46], [2, 47], [2, 48], [2, 51], [2, 52], [2, 54], [2, 55], [2, 58], [2, 60], [2, 67], [2, 68], [2, 70], [2, 71], [2, 78], [2, 79], [2, 81], [2, 86], [2, 87], [2, 88], [2, 91], [2, 94], [2, 95], [2, 96], [2, 98], [2, 100], [2, 107], [2, 108], [2, 114], [2, 115], [2, 117], [3, 7], [3, 8], [3, 10], [3, 11], [3, 12], [3, 14], [3, 15], [3, 17], [3, 18], [3, 19], [3, 21], [3, 26], [3, 31], [3, 33], [3, 35], [3, 36], [3, 37], [3, 39], [3, 40], [3, 41], [3, 45], [3, 46], [3, 47], [3, 48], [3, 49], [3, 50], [3, 51], [3, 52], [3, 53], [3, 54], [3, 55], [3, 57], [3, 58], [3, 60], [3, 62], [3, 63], [3, 65], [3, 66], [3, 67], [3, 68], [3, 70], [3, 72], [3, 73], [3, 78], [3, 82], [3, 83], [3, 84], [3, 85], [3, 87], [3, 89], [3, 91], [3, 92], [3, 93], [3, 98], [3, 101], [3, 102], [3, 107], [3, 111], [3, 112], [3, 113], [3, 117], [4, 5], [4, 7], [4, 8], [4, 9], [4, 11], [4, 12], [4, 13], [4, 14], [4, 16], [4, 23], [4, 24], [4, 25], [4, 26], [4, 30], [4, 32], [4, 33], [4, 35], [4, 40], [4, 43], [4, 44], [4, 45], [4, 46], [4, 49], [4, 50], [4, 51], [4, 53], [4, 54], [4, 55], [4, 56], [4, 57], [4, 58], [4, 59], [4, 62], [4, 63], [4, 64], [4, 66], [4, 68], [4, 69], [4, 71], [4, 73], [4, 75], [4, 76], [4, 80], [4, 82], [4, 84], [4, 88], [4, 89], [4, 90], [4, 96], [4, 97], [4, 100], [4, 101], [4, 102], [4, 103], [4, 106], [4, 108], [4, 109], [4, 111], [4, 113], [4, 116], [4, 117], [4, 118], [5, 6], [5, 14], [5, 15], [5, 19], [5, 20], [5, 21], [5, 24], [5, 26], [5, 28], [5, 33], [5, 34], [5, 36], [5, 40], [5, 41], [5, 42], [5, 44], [5, 48], [5, 49], [5, 51], [5, 52], [5, 53], [5, 54], [5, 55], [5, 57], [5, 58], [5, 59], [5, 60], [5, 61], [5, 63], [5, 64], [5, 65], [5, 68], [5, 70], [5, 71], [5, 72], [5, 74], [5, 78], [5, 80], [5, 81], [5, 82], [5, 85], [5, 86], [5, 87], [5, 88], [5, 89], [5, 91], [5, 92], [5, 96], [5, 99], [5, 103], [5, 104], [5, 106], [5, 107], [5, 108], [5, 109], [5, 116], [5, 118], [5, 119], [6, 7], [6, 9], [6, 14], [6, 15], [6, 16], [6, 20], [6, 21], [6, 22], [6, 23], [6, 25], [6, 26], [6, 28], [6, 31], [6, 33], [6, 36], [6, 37], [6, 38], [6, 42], [6, 44], [6, 45], [6, 46], [6, 47], [6, 57], [6, 62], [6, 66], [6, 67], [6, 69], [6, 70], [6, 71], [6, 73], [6, 77], [6, 78], [6, 80], [6, 83], [6, 86], [6, 88], [6, 93], [6, 94], [6, 96], [6, 102], [6, 104], [6, 105], [6, 108], [6, 109], [6, 110], [6, 113], [6, 115], [6, 117], [6, 118], [7, 8], [7, 9], [7, 15], [7, 16], [7, 18], [7, 19], [7, 21], [7, 23], [7, 26], [7, 28], [7, 32], [7, 35], [7, 37], [7, 39], [7, 40], [7, 42], [7, 43], [7, 45], [7, 46], [7, 47], [7, 48], [7, 49], [7, 53], [7, 55], [7, 56], [7, 58], [7, 59], [7, 60], [7, 62], [7, 63], [7, 67], [7, 69], [7, 72], [7, 73], [7, 77], [7, 78], [7, 79], [7, 80], [7, 81], [7, 83], [7, 84], [7, 85], [7, 87], [7, 89], [7, 94], [7, 95], [7, 99], [7, 100], [7, 102], [7, 105], [7, 106], [7, 108], [7, 110], [7, 111], [7, 113], [7, 115], [8, 9], [8, 11], [8, 12], [8, 14], [8, 15], [8, 17], [8, 20], [8, 23], [8, 24], [8, 25], [8, 26], [8, 27], [8, 28], [8, 29], [8, 32], [8, 39], [8, 42], [8, 43], [8, 51], [8, 53], [8, 56], [8, 63], [8, 64], [8, 69], [8, 71], [8, 72], [8, 74], [8, 78], [8, 79], [8, 81], [8, 82], [8, 84], [8, 85], [8, 86], [8, 87], [8, 88], [8, 91], [8, 92], [8, 93], [8, 94], [8, 96], [8, 97], [8, 100], [8, 101], [8, 102], [8, 103], [8, 105], [8, 108], [8, 109], [8, 112], [8, 115], [8, 119], [9, 11], [9, 12], [9, 13], [9, 17], [9, 18], [9, 19], [9, 22], [9, 28], [9, 29], [9, 31], [9, 34], [9, 39], [9, 41], [9, 42], [9, 46], [9, 50], [9, 53], [9, 54], [9, 55], [9, 58], [9, 62], [9, 63], [9, 64], [9, 65], [9, 67], [9, 68], [9, 70], [9, 71], [9, 72], [9, 73], [9, 74], [9, 75], [9, 76], [9, 78], [9, 81], [9, 85], [9, 88], [9, 89], [9, 90], [9, 93], [9, 94], [9, 95], [9, 97], [9, 102], [9, 103], [9, 106], [9, 109], [9, 113], [9, 114], [9, 119], [10, 13], [10, 16], [10, 17], [10, 18], [10, 19], [10, 21], [10, 24], [10, 26], [10, 28], [10, 31], [10, 32], [10, 33], [10, 34], [10, 35], [10, 37], [10, 38], [10, 40], [10, 41], [10, 43], [10, 44], [10, 47], [10, 48], [10, 52], [10, 55], [10, 58], [10, 59], [10, 60], [10, 61], [10, 62], [10, 65], [10, 68], [10, 70], [10, 75], [10, 77], [10, 78], [10, 79], [10, 80], [10, 82], [10, 83], [10, 84], [10, 85], [10, 86], [10, 89], [10, 93], [10, 98], [10, 100], [10, 102], [10, 104], [10, 106], [10, 107], [10, 110], [10, 112], [10, 113], [10, 114], [10, 115], [10, 117], [10, 119], [11, 13], [11, 15], [11, 18], [11, 19], [11, 21], [11, 23], [11, 25], [11, 26], [11, 28], [11, 30], [11, 31], [11, 32], [11, 33], [11, 35], [11, 37], [11, 42], [11, 43], [11, 45], [11, 48], [11, 49], [11, 51], [11, 55], [11, 56], [11, 57], [11, 58], [11, 59], [11, 60], [11, 61], [11, 62], [11, 63], [11, 64], [11, 66], [11, 67], [11, 68], [11, 69], [11, 73], [11, 74], [11, 77], [11, 78], [11, 80], [11, 82], [11, 84], [11, 85], [11, 89], [11, 90], [11, 95], [11, 96], [11, 98], [11, 101], [11, 102], [11, 104], [11, 107], [11, 108], [11, 110], [11, 111], [11, 114], [12, 16], [12, 20], [12, 21], [12, 22], [12, 23], [12, 26], [12, 28], [12, 31], [12, 32], [12, 33], [12, 34], [12, 41], [12, 42], [12, 44], [12, 48], [12, 49], [12, 50], [12, 52], [12, 53], [12, 55], [12, 56], [12, 57], [12, 58], [12, 64], [12, 65], [12, 67], [12, 70], [12, 71], [12, 72], [12, 73], [12, 75], [12, 76], [12, 77], [12, 82], [12, 88], [12, 91], [12, 96], [12, 97], [12, 98], [12, 99], [12, 100], [12, 103], [12, 104], [12, 105], [12, 106], [12, 107], [12, 108], [12, 109], [12, 110], [12, 112], [12, 114], [12, 115], [12, 118], [13, 18], [13, 19], [13, 23], [13, 26], [13, 28], [13, 29], [13, 31], [13, 32], [13, 33], [13, 34], [13, 36], [13, 37], [13, 38], [13, 39], [13, 41], [13, 46], [13, 49], [13, 50], [13, 51], [13, 60], [13, 62], [13, 66], [13, 67], [13, 68], [13, 69], [13, 71], [13, 73], [13, 76], [13, 78], [13, 80], [13, 83], [13, 84], [13, 85], [13, 87], [13, 88], [13, 89], [13, 91], [13, 94], [13, 99], [13, 100], [13, 103], [13, 104], [13, 105], [13, 107], [13, 111], [13, 112], [13, 113], [13, 116], [13, 119], [14, 15], [14, 16], [14, 17], [14, 18], [14, 21], [14, 22], [14, 23], [14, 24], [14, 27], [14, 28], [14, 29], [14, 30], [14, 32], [14, 33], [14, 34], [14, 37], [14, 38], [14, 41], [14, 42], [14, 45], [14, 49], [14, 52], [14, 53], [14, 55], [14, 57], [14, 60], [14, 64], [14, 66], [14, 69], [14, 72], [14, 73], [14, 74], [14, 76], [14, 78], [14, 79], [14, 83], [14, 84], [14, 85], [14, 89], [14, 90], [14, 92], [14, 95], [14, 96], [14, 100], [14, 102], [14, 105], [14, 107], [14, 109], [14, 111], [14, 112], [14, 113], [14, 115], [14, 117], [14, 119], [15, 16], [15, 17], [15, 18], [15, 20], [15, 21], [15, 22], [15, 23], [15, 24], [15, 25], [15, 26], [15, 27], [15, 29], [15, 33], [15, 35], [15, 37], [15, 39], [15, 40], [15, 41], [15, 45], [15, 46], [15, 50], [15, 51], [15, 54], [15, 59], [15, 60], [15, 64], [15, 72], [15, 73], [15, 75], [15, 76], [15, 81], [15, 84], [15, 87], [15, 88], [15, 89], [15, 91], [15, 92], [15, 93], [15, 94], [15, 95], [15, 98], [15, 99], [15, 101], [15, 103], [15, 104], [15, 107], [15, 109], [15, 111], [15, 113], [15, 116], [15, 118], [16, 18], [16, 20], [16, 22], [16, 25], [16, 26], [16, 27], [16, 28], [16, 29], [16, 33], [16, 34], [16, 38], [16, 39], [16, 42], [16, 45], [16, 46], [16, 47], [16, 50], [16, 54], [16, 56], [16, 59], [16, 62], [16, 63], [16, 64], [16, 65], [16, 67], [16, 69], [16, 70], [16, 71], [16, 73], [16, 76], [16, 77], [16, 78], [16, 79], [16, 80], [16, 91], [16, 92], [16, 94], [16, 95], [16, 101], [16, 102], [16, 103], [16, 104], [16, 105], [16, 107], [16, 110], [16, 111], [16, 113], [16, 114], [16, 118], [17, 18], [17, 22], [17, 24], [17, 29], [17, 31], [17, 33], [17, 34], [17, 36], [17, 38], [17, 39], [17, 40], [17, 42], [17, 48], [17, 50], [17, 51], [17, 53], [17, 56], [17, 58], [17, 60], [17, 63], [17, 66], [17, 68], [17, 69], [17, 70], [17, 72], [17, 73], [17, 76], [17, 77], [17, 79], [17, 80], [17, 82], [17, 84], [17, 86], [17, 87], [17, 89], [17, 92], [17, 93], [17, 96], [17, 97], [17, 99], [17, 100], [17, 104], [17, 105], [17, 106], [17, 107], [17, 108], [17, 111], [17, 112], [17, 113], [17, 114], [17, 115], [17, 117], [18, 19], [18, 20], [18, 21], [18, 24], [18, 26], [18, 30], [18, 31], [18, 33], [18, 34], [18, 35], [18, 37], [18, 40], [18, 41], [18, 42], [18, 45], [18, 46], [18, 47], [18, 49], [18, 52], [18, 54], [18, 55], [18, 56], [18, 57], [18, 60], [18, 61], [18, 63], [18, 64], [18, 65], [18, 70], [18, 72], [18, 73], [18, 77], [18, 79], [18, 80], [18, 81], [18, 82], [18, 84], [18, 89], [18, 90], [18, 91], [18, 92], [18, 93], [18, 94], [18, 96], [18, 98], [18, 100], [18, 102], [18, 103], [18, 104], [18, 105], [18, 106], [18, 110], [18, 112], [18, 114], [18, 115], [18, 117], [18, 119], [19, 20], [19, 21], [19, 25], [19, 26], [19, 28], [19, 30], [19, 31], [19, 32], [19, 33], [19, 35], [19, 36], [19, 37], [19, 38], [19, 41], [19, 42], [19, 47], [19, 49], [19, 51], [19, 52], [19, 56], [19, 57], [19, 60], [19, 61], [19, 62], [19, 63], [19, 65], [19, 67], [19, 68], [19, 70], [19, 71], [19, 72], [19, 75], [19, 76], [19, 78], [19, 79], [19, 80], [19, 82], [19, 84], [19, 86], [19, 89], [19, 92], [19, 94], [19, 96], [19, 98], [19, 102], [19, 103], [19, 104], [19, 105], [19, 107], [19, 111], [19, 112], [19, 116], [19, 117], [19, 119], [20, 22], [20, 24], [20, 25], [20, 30], [20, 33], [20, 34], [20, 35], [20, 39], [20, 40], [20, 41], [20, 43], [20, 45], [20, 47], [20, 48], [20, 49], [20, 50], [20, 53], [20, 54], [20, 55], [20, 56], [20, 60], [20, 61], [20, 62], [20, 66], [20, 67], [20, 68], [20, 70], [20, 71], [20, 72], [20, 73], [20, 76], [20, 78], [20, 79], [20, 81], [20, 86], [20, 87], [20, 88], [20, 91], [20, 92], [20, 93], [20, 94], [20, 95], [20, 98], [20, 99], [20, 100], [20, 101], [20, 103], [20, 107], [20, 108], [20, 111], [20, 112], [20, 114], [20, 116], [20, 117], [21, 24], [21, 25], [21, 26], [21, 27], [21, 28], [21, 31], [21, 32], [21, 37], [21, 42], [21, 44], [21, 45], [21, 47], [21, 51], [21, 52], [21, 55], [21, 57], [21, 59], [21, 60], [21, 67], [21, 68], [21, 69], [21, 70], [21, 73], [21, 74], [21, 79], [21, 80], [21, 82], [21, 83], [21, 84], [21, 85], [21, 86], [21, 87], [21, 97], [21, 98], [21, 99], [21, 101], [21, 102], [21, 103], [21, 105], [21, 106], [21, 107], [21, 108], [21, 109], [21, 110], [21, 112], [21, 115], [22, 25], [22, 27], [22, 28], [22, 29], [22, 34], [22, 36], [22, 37], [22, 39], [22, 40], [22, 43], [22, 45], [22, 48], [22, 49], [22, 50], [22, 51], [22, 52], [22, 53], [22, 55], [22, 58], [22, 59], [22, 61], [22, 64], [22, 65], [22, 66], [22, 67], [22, 68], [22, 69], [22, 74], [22, 75], [22, 76], [22, 78], [22, 80], [22, 82], [22, 83], [22, 91], [22, 95], [22, 97], [22, 102], [22, 103], [22, 104], [22, 108], [22, 109], [22, 111], [22, 112], [22, 114], [22, 115], [22, 116], [22, 118], [22, 119], [23, 27], [23, 28], [23, 29], [23, 30], [23, 31], [23, 33], [23, 35], [23, 36], [23, 42], [23, 44], [23, 45], [23, 47], [23, 50], [23, 52], [23, 55], [23, 59], [23, 61], [23, 67], [23, 69], [23, 71], [23, 73], [23, 77], [23, 80], [23, 84], [23, 86], [23, 90], [23, 91], [23, 92], [23, 97], [23, 104], [23, 105], [23, 107], [23, 110], [23, 111], [23, 114], [23, 116], [23, 117], [24, 25], [24, 28], [24, 29], [24, 33], [24, 38], [24, 39], [24, 49], [24, 52], [24, 53], [24, 55], [24, 56], [24, 59], [24, 60], [24, 63], [24, 65], [24, 67], [24, 68], [24, 71], [24, 72], [24, 76], [24, 79], [24, 80], [24, 83], [24, 86], [24, 89], [24, 90], [24, 91], [24, 95], [24, 97], [24, 98], [24, 100], [24, 102], [24, 103], [24, 104], [24, 105], [24, 108], [24, 110], [24, 111], [24, 112], [24, 113], [24, 115], [24, 116], [24, 118], [25, 26], [25, 27], [25, 32], [25, 34], [25, 37], [25, 38], [25, 40], [25, 44], [25, 45], [25, 46], [25, 47], [25, 49], [25, 50], [25, 52], [25, 55], [25, 56], [25, 57], [25, 59], [25, 60], [25, 61], [25, 62], [25, 64], [25, 65], [25, 66], [25, 67], [25, 69], [25, 73], [25, 75], [25, 76], [25, 78], [25, 82], [25, 83], [25, 85], [25, 86], [25, 88], [25, 89], [25, 90], [25, 91], [25, 96], [25, 101], [25, 102], [25, 103], [25, 104], [25, 105], [25, 109], [25, 110], [25, 116], [25, 117], [25, 118], [26, 27], [26, 28], [26, 29], [26, 30], [26, 31], [26, 32], [26, 33], [26, 34], [26, 35], [26, 37], [26, 38], [26, 39], [26, 40], [26, 41], [26, 42], [26, 43], [26, 44], [26, 45], [26, 47], [26, 48], [26, 49], [26, 55], [26, 57], [26, 62], [26, 63], [26, 65], [26, 66], [26, 67], [26, 68], [26, 70], [26, 71], [26, 73], [26, 75], [26, 79], [26, 80], [26, 82], [26, 83], [26, 85], [26, 86], [26, 88], [26, 89], [26, 93], [26, 94], [26, 98], [26, 100], [26, 101], [26, 103], [26, 105], [26, 107], [26, 109], [26, 110], [26, 114], [26, 115], [26, 116], [26, 118], [27, 28], [27, 29], [27, 30], [27, 33], [27, 34], [27, 35], [27, 38], [27, 39], [27, 41], [27, 43], [27, 45], [27, 48], [27, 51], [27, 55], [27, 59], [27, 60], [27, 61], [27, 62], [27, 64], [27, 67], [27, 68], [27, 70], [27, 71], [27, 76], [27, 79], [27, 80], [27, 82], [27, 87], [27, 91], [27, 96], [27, 98], [27, 99], [27, 101], [27, 103], [27, 104], [27, 105], [27, 106], [27, 107], [27, 108], [27, 109], [27, 110], [27, 113], [27, 119], [28, 29], [28, 31], [28, 35], [28, 36], [28, 37], [28, 38], [28, 40], [28, 44], [28, 45], [28, 47], [28, 49], [28, 51], [28, 52], [28, 53], [28, 54], [28, 56], [28, 57], [28, 58], [28, 60], [28, 62], [28, 65], [28, 71], [28, 72], [28, 73], [28, 74], [28, 76], [28, 77], [28, 78], [28, 79], [28, 84], [28, 88], [28, 89], [28, 96], [28, 98], [28, 103], [28, 104], [28, 106], [28, 107], [28, 109], [28, 110], [28, 112], [28, 114], [28, 116], [28, 117], [28, 119], [29, 30], [29, 32], [29, 34], [29, 35], [29, 38], [29, 39], [29, 43], [29, 44], [29, 46], [29, 47], [29, 48], [29, 50], [29, 54], [29, 56], [29, 60], [29, 62], [29, 64], [29, 65], [29, 67], [29, 70], [29, 72], [29, 74], [29, 75], [29, 76], [29, 78], [29, 79], [29, 81], [29, 82], [29, 87], [29, 88], [29, 90], [29, 91], [29, 94], [29, 96], [29, 99], [29, 101], [29, 102], [29, 105], [29, 106], [29, 111], [29, 112], [29, 113], [29, 114], [29, 116], [29, 117], [30, 31], [30, 34], [30, 37], [30, 39], [30, 44], [30, 46], [30, 50], [30, 53], [30, 55], [30, 56], [30, 58], [30, 62], [30, 64], [30, 66], [30, 67], [30, 68], [30, 76], [30, 77], [30, 84], [30, 86], [30, 88], [30, 90], [30, 91], [30, 92], [30, 94], [30, 97], [30, 99], [30, 108], [30, 112], [30, 115], [30, 118], [31, 33], [31, 35], [31, 36], [31, 41], [31, 44], [31, 45], [31, 47], [31, 49], [31, 57], [31, 58], [31, 59], [31, 60], [31, 61], [31, 62], [31, 63], [31, 64], [31, 65], [31, 66], [31, 68], [31, 70], [31, 72], [31, 73], [31, 75], [31, 79], [31, 80], [31, 82], [31, 83], [31, 84], [31, 85], [31, 87], [31, 89], [31, 90], [31, 91], [31, 92], [31, 93], [31, 97], [31, 98], [31, 99], [31, 100], [31, 102], [31, 103], [31, 104], [31, 105], [31, 106], [31, 107], [31, 111], [31, 112], [31, 113], [31, 116], [31, 117], [31, 118], [31, 119], [32, 34], [32, 35], [32, 38], [32, 39], [32, 41], [32, 42], [32, 46], [32, 48], [32, 49], [32, 55], [32, 56], [32, 57], [32, 61], [32, 62], [32, 63], [32, 64], [32, 66], [32, 67], [32, 69], [32, 70], [32, 73], [32, 78], [32, 81], [32, 84], [32, 85], [32, 86], [32, 87], [32, 88], [32, 89], [32, 91], [32, 98], [32, 100], [32, 101], [32, 106], [32, 107], [32, 109], [32, 116], [32, 117], [33, 37], [33, 38], [33, 40], [33, 41], [33, 42], [33, 43], [33, 44], [33, 47], [33, 48], [33, 49], [33, 55], [33, 58], [33, 61], [33, 65], [33, 72], [33, 73], [33, 74], [33, 75], [33, 77], [33, 78], [33, 83], [33, 85], [33, 88], [33, 89], [33, 90], [33, 91], [33, 93], [33, 96], [33, 99], [33, 100], [33, 105], [33, 107], [33, 108], [33, 111], [33, 114], [33, 116], [33, 118], [34, 38], [34, 40], [34, 41], [34, 42], [34, 43], [34, 47], [34, 49], [34, 51], [34, 55], [34, 57], [34, 61], [34, 63], [34, 66], [34, 67], [34, 69], [34, 71], [34, 73], [34, 75], [34, 76], [34, 80], [34, 82], [34, 83], [34, 85], [34, 88], [34, 90], [34, 91], [34, 94], [34, 98], [34, 99], [34, 100], [34, 101], [34, 102], [34, 104], [34, 105], [34, 106], [34, 107], [34, 109], [34, 110], [34, 111], [34, 113], [34, 114], [34, 115], [34, 116], [35, 41], [35, 46], [35, 47], [35, 50], [35, 57], [35, 61], [35, 63], [35, 65], [35, 67], [35, 69], [35, 71], [35, 72], [35, 74], [35, 75], [35, 77], [35, 78], [35, 80], [35, 81], [35, 82], [35, 83], [35, 87], [35, 89], [35, 92], [35, 94], [35, 95], [35, 97], [35, 98], [35, 100], [35, 101], [35, 102], [35, 103], [35, 104], [35, 107], [35, 108], [35, 109], [35, 110], [35, 111], [35, 112], [35, 113], [35, 116], [35, 117], [35, 118], [36, 41], [36, 42], [36, 43], [36, 48], [36, 51], [36, 53], [36, 55], [36, 56], [36, 59], [36, 60], [36, 61], [36, 63], [36, 67], [36, 68], [36, 69], [36, 71], [36, 74], [36, 76], [36, 77], [36, 80], [36, 82], [36, 83], [36, 84], [36, 90], [36, 95], [36, 96], [36, 97], [36, 100], [36, 102], [36, 103], [36, 106], [36, 110], [36, 111], [36, 113], [36, 115], [36, 119], [37, 40], [37, 41], [37, 43], [37, 45], [37, 50], [37, 51], [37, 52], [37, 53], [37, 54], [37, 55], [37, 56], [37, 58], [37, 62], [37, 64], [37, 65], [37, 67], [37, 68], [37, 70], [37, 72], [37, 73], [37, 76], [37, 79], [37, 83], [37, 86], [37, 88], [37, 91], [37, 92], [37, 94], [37, 95], [37, 96], [37, 98], [37, 102], [37, 104], [37, 109], [37, 110], [37, 111], [37, 114], [37, 116], [37, 117], [37, 119], [38, 40], [38, 42], [38, 43], [38, 44], [38, 46], [38, 48], [38, 50], [38, 51], [38, 53], [38, 56], [38, 57], [38, 58], [38, 60], [38, 65], [38, 67], [38, 68], [38, 72], [38, 73], [38, 74], [38, 75], [38, 77], [38, 78], [38, 81], [38, 82], [38, 83], [38, 86], [38, 94], [38, 95], [38, 100], [38, 101], [38, 102], [38, 103], [38, 104], [38, 106], [38, 107], [38, 108], [38, 111], [38, 112], [38, 113], [38, 119], [39, 40], [39, 41], [39, 42], [39, 43], [39, 44], [39, 47], [39, 48], [39, 50], [39, 51], [39, 52], [39, 53], [39, 54], [39, 55], [39, 56], [39, 57], [39, 60], [39, 63], [39, 64], [39, 70], [39, 71], [39, 72], [39, 73], [39, 74], [39, 76], [39, 79], [39, 80], [39, 81], [39, 82], [39, 83], [39, 84], [39, 85], [39, 89], [39, 90], [39, 91], [39, 92], [39, 93], [39, 94], [39, 95], [39, 96], [39, 98], [39, 99], [39, 100], [39, 102], [39, 103], [39, 105], [39, 106], [39, 107], [39, 108], [39, 110], [39, 111], [39, 113], [39, 115], [39, 116], [39, 117], [39, 118], [40, 43], [40, 45], [40, 55], [40, 56], [40, 57], [40, 58], [40, 59], [40, 64], [40, 65], [40, 67], [40, 68], [40, 69], [40, 70], [40, 72], [40, 73], [40, 75], [40, 77], [40, 78], [40, 80], [40, 84], [40, 85], [40, 86], [40, 88], [40, 89], [40, 90], [40, 91], [40, 92], [40, 93], [40, 95], [40, 96], [40, 97], [40, 98], [40, 103], [40, 104], [40, 105], [40, 107], [40, 108], [40, 111], [40, 112], [40, 114], [40, 115], [41, 43], [41, 44], [41, 47], [41, 48], [41, 50], [41, 51], [41, 54], [41, 55], [41, 57], [41, 58], [41, 62], [41, 63], [41, 64], [41, 65], [41, 69], [41, 70], [41, 72], [41, 76], [41, 77], [41, 82], [41, 83], [41, 87], [41, 88], [41, 89], [41, 91], [41, 92], [41, 93], [41, 94], [41, 99], [41, 107], [41, 110], [41, 111], [41, 112], [41, 113], [41, 114], [42, 43], [42, 44], [42, 47], [42, 50], [42, 52], [42, 53], [42, 54], [42, 56], [42, 57], [42, 59], [42, 64], [42, 65], [42, 67], [42, 69], [42, 70], [42, 71], [42, 73], [42, 77], [42, 79], [42, 81], [42, 82], [42, 84], [42, 90], [42, 94], [42, 96], [42, 98], [42, 106], [42, 107], [42, 108], [42, 109], [42, 110], [42, 111], [42, 112], [42, 114], [42, 115], [42, 116], [42, 117], [42, 119], [43, 45], [43, 47], [43, 48], [43, 49], [43, 50], [43, 52], [43, 54], [43, 55], [43, 60], [43, 61], [43, 62], [43, 64], [43, 66], [43, 67], [43, 69], [43, 72], [43, 73], [43, 74], [43, 75], [43, 77], [43, 79], [43, 82], [43, 83], [43, 86], [43, 89], [43, 94], [43, 95], [43, 96], [43, 99], [43, 100], [43, 101], [43, 103], [43, 108], [43, 109], [43, 112], [43, 113], [43, 114], [43, 117], [43, 118], [44, 45], [44, 46], [44, 48], [44, 49], [44, 52], [44, 53], [44, 55], [44, 57], [44, 58], [44, 59], [44, 60], [44, 61], [44, 62], [44, 63], [44, 64], [44, 65], [44, 66], [44, 67], [44, 70], [44, 71], [44, 73], [44, 75], [44, 80], [44, 81], [44, 82], [44, 84], [44, 85], [44, 86], [44, 87], [44, 88], [44, 92], [44, 93], [44, 95], [44, 97], [44, 98], [44, 101], [44, 102], [44, 103], [44, 104], [44, 105], [44, 106], [44, 107], [44, 111], [44, 113], [44, 114], [44, 115], [45, 46], [45, 47], [45, 50], [45, 52], [45, 54], [45, 55], [45, 57], [45, 59], [45, 62], [45, 63], [45, 64], [45, 65], [45, 66], [45, 67], [45, 68], [45, 69], [45, 70], [45, 71], [45, 73], [45, 74], [45, 75], [45, 77], [45, 78], [45, 80], [45, 82], [45, 83], [45, 87], [45, 89], [45, 90], [45, 91], [45, 92], [45, 93], [45, 97], [45, 98], [45, 101], [45, 103], [45, 108], [45, 110], [45, 111], [45, 112], [45, 114], [45, 116], [45, 118], [45, 119], [46, 51], [46, 53], [46, 55], [46, 58], [46, 59], [46, 60], [46, 64], [46, 65], [46, 66], [46, 67], [46, 68], [46, 70], [46, 72], [46, 73], [46, 74], [46, 76], [46, 77], [46, 82], [46, 83], [46, 86], [46, 88], [46, 89], [46, 90], [46, 94], [46, 95], [46, 96], [46, 99], [46, 100], [46, 101], [46, 103], [46, 104], [46, 107], [46, 109], [46, 110], [46, 113], [46, 114], [46, 119], [47, 50], [47, 51], [47, 55], [47, 57], [47, 58], [47, 59], [47, 60], [47, 62], [47, 64], [47, 65], [47, 70], [47, 71], [47, 72], [47, 74], [47, 75], [47, 79], [47, 82], [47, 84], [47, 90], [47, 91], [47, 92], [47, 95], [47, 98], [47, 99], [47, 100], [47, 101], [47, 102], [47, 103], [47, 104], [47, 110], [47, 111], [47, 112], [47, 116], [47, 118], [48, 49], [48, 51], [48, 52], [48, 53], [48, 54], [48, 55], [48, 56], [48, 58], [48, 59], [48, 61], [48, 62], [48, 63], [48, 64], [48, 67], [48, 70], [48, 71], [48, 73], [48, 75], [48, 76], [48, 77], [48, 78], [48, 79], [48, 81], [48, 82], [48, 84], [48, 85], [48, 86], [48, 88], [48, 91], [48, 98], [48, 102], [48, 104], [48, 106], [48, 108], [48, 109], [48, 114], [48, 115], [48, 116], [48, 117], [48, 119], [49, 50], [49, 51], [49, 53], [49, 56], [49, 57], [49, 60], [49, 61], [49, 65], [49, 68], [49, 69], [49, 71], [49, 72], [49, 73], [49, 74], [49, 75], [49, 81], [49, 84], [49, 85], [49, 88], [49, 89], [49, 92], [49, 95], [49, 96], [49, 100], [49, 103], [49, 104], [49, 105], [49, 106], [49, 108], [49, 111], [49, 112], [49, 113], [49, 114], [49, 115], [49, 116], [50, 51], [50, 53], [50, 54], [50, 56], [50, 57], [50, 63], [50, 65], [50, 68], [50, 69], [50, 72], [50, 76], [50, 80], [50, 82], [50, 84], [50, 87], [50, 88], [50, 89], [50, 90], [50, 93], [50, 96], [50, 97], [50, 99], [50, 100], [50, 101], [50, 105], [50, 106], [50, 107], [50, 109], [50, 110], [50, 114], [50, 115], [50, 116], [50, 118], [51, 53], [51, 57], [51, 58], [51, 59], [51, 60], [51, 62], [51, 65], [51, 67], [51, 68], [51, 70], [51, 71], [51, 73], [51, 77], [51, 79], [51, 80], [51, 81], [51, 82], [51, 83], [51, 84], [51, 85], [51, 86], [51, 88], [51, 89], [51, 90], [51, 97], [51, 99], [51, 101], [51, 102], [51, 104], [51, 105], [51, 106], [51, 107], [51, 109], [51, 114], [51, 115], [51, 117], [51, 118], [51, 119], [52, 54], [52, 55], [52, 57], [52, 58], [52, 59], [52, 61], [52, 62], [52, 63], [52, 68], [52, 71], [52, 73], [52, 74], [52, 75], [52, 76], [52, 77], [52, 78], [52, 79], [52, 81], [52, 82], [52, 83], [52, 84], [52, 87], [52, 91], [52, 92], [52, 94], [52, 95], [52, 96], [52, 97], [52, 98], [52, 100], [52, 104], [52, 105], [52, 106], [52, 107], [52, 110], [52, 111], [52, 112], [52, 116], [52, 119], [53, 54], [53, 55], [53, 56], [53, 59], [53, 63], [53, 66], [53, 70], [53, 72], [53, 73], [53, 76], [53, 78], [53, 79], [53, 81], [53, 83], [53, 86], [53, 87], [53, 89], [53, 91], [53, 92], [53, 97], [53, 98], [53, 101], [53, 104], [53, 105], [53, 109], [53, 110], [53, 111], [53, 112], [53, 114], [53, 116], [53, 117], [53, 119], [54, 56], [54, 57], [54, 59], [54, 60], [54, 63], [54, 64], [54, 66], [54, 67], [54, 68], [54, 70], [54, 74], [54, 77], [54, 80], [54, 81], [54, 82], [54, 83], [54, 84], [54, 89], [54, 90], [54, 91], [54, 94], [54, 95], [54, 96], [54, 97], [54, 99], [54, 100], [54, 104], [54, 109], [54, 110], [54, 111], [54, 113], [54, 117], [54, 118], [54, 119], [55, 57], [55, 60], [55, 63], [55, 66], [55, 69], [55, 70], [55, 72], [55, 74], [55, 75], [55, 76], [55, 77], [55, 79], [55, 80], [55, 81], [55, 82], [55, 84], [55, 90], [55, 92], [55, 95], [55, 101], [55, 102], [55, 105], [55, 106], [55, 107], [55, 108], [55, 109], [55, 110], [55, 113], [55, 114], [55, 115], [55, 116], [55, 118], [55, 119], [56, 57], [56, 62], [56, 63], [56, 71], [56, 73], [56, 74], [56, 75], [56, 76], [56, 81], [56, 82], [56, 83], [56, 84], [56, 85], [56, 87], [56, 88], [56, 89], [56, 90], [56, 91], [56, 92], [56, 94], [56, 96], [56, 97], [56, 99], [56, 103], [56, 104], [56, 105], [56, 110], [56, 112], [56, 114], [56, 116], [56, 118], [57, 58], [57, 60], [57, 63], [57, 64], [57, 65], [57, 66], [57, 67], [57, 68], [57, 69], [57, 71], [57, 72], [57, 73], [57, 75], [57, 76], [57, 78], [57, 79], [57, 81], [57, 82], [57, 86], [57, 87], [57, 88], [57, 89], [57, 91], [57, 92], [57, 94], [57, 95], [57, 98], [57, 99], [57, 100], [57, 101], [57, 103], [57, 104], [57, 106], [57, 107], [57, 109], [57, 113], [57, 114], [57, 116], [57, 119], [58, 59], [58, 62], [58, 65], [58, 68], [58, 71], [58, 73], [58, 74], [58, 76], [58, 78], [58, 79], [58, 80], [58, 81], [58, 82], [58, 83], [58, 84], [58, 85], [58, 90], [58, 96], [58, 98], [58, 99], [58, 101], [58, 104], [58, 105], [58, 106], [58, 110], [58, 114], [58, 117], [58, 118], [58, 119], [59, 61], [59, 63], [59, 64], [59, 65], [59, 68], [59, 70], [59, 72], [59, 76], [59, 77], [59, 78], [59, 81], [59, 83], [59, 85], [59, 88], [59, 89], [59, 91], [59, 92], [59, 96], [59, 97], [59, 100], [59, 104], [59, 105], [59, 107], [59, 108], [59, 109], [59, 111], [59, 112], [59, 113], [59, 114], [59, 116], [59, 119], [60, 61], [60, 62], [60, 65], [60, 66], [60, 68], [60, 69], [60, 70], [60, 71], [60, 72], [60, 73], [60, 74], [60, 75], [60, 76], [60, 82], [60, 83], [60, 84], [60, 86], [60, 88], [60, 92], [60, 93], [60, 94], [60, 95], [60, 96], [60, 98], [60, 101], [60, 102], [60, 107], [60, 108], [60, 109], [60, 110], [60, 112], [60, 113], [60, 114], [60, 117], [60, 118], [61, 64], [61, 67], [61, 68], [61, 69], [61, 72], [61, 73], [61, 75], [61, 81], [61, 82], [61, 83], [61, 84], [61, 85], [61, 87], [61, 89], [61, 92], [61, 93], [61, 94], [61, 95], [61, 98], [61, 99], [61, 101], [61, 104], [61, 106], [61, 107], [61, 108], [61, 109], [61, 112], [61, 114], [61, 116], [61, 118], [62, 64], [62, 66], [62, 70], [62, 72], [62, 74], [62, 76], [62, 77], [62, 78], [62, 81], [62, 83], [62, 87], [62, 90], [62, 91], [62, 92], [62, 93], [62, 96], [62, 97], [62, 98], [62, 99], [62, 100], [62, 102], [62, 105], [62, 110], [62, 112], [62, 114], [62, 115], [62, 116], [62, 117], [62, 118], [62, 119], [63, 64], [63, 65], [63, 66], [63, 67], [63, 71], [63, 72], [63, 74], [63, 75], [63, 76], [63, 79], [63, 80], [63, 82], [63, 84], [63, 87], [63, 88], [63, 89], [63, 94], [63, 98], [63, 100], [63, 101], [63, 103], [63, 104], [63, 109], [63, 110], [63, 112], [63, 115], [63, 117], [63, 119], [64, 67], [64, 68], [64, 69], [64, 70], [64, 71], [64, 72], [64, 73], [64, 74], [64, 75], [64, 76], [64, 77], [64, 80], [64, 86], [64, 88], [64, 92], [64, 93], [64, 94], [64, 96], [64, 97], [64, 98], [64, 101], [64, 102], [64, 103], [64, 105], [64, 107], [64, 111], [64, 112], [64, 113], [64, 115], [64, 118], [64, 119], [65, 66], [65, 67], [65, 69], [65, 70], [65, 71], [65, 72], [65, 73], [65, 76], [65, 87], [65, 89], [65, 91], [65, 92], [65, 93], [65, 94], [65, 95], [65, 97], [65, 98], [65, 99], [65, 102], [65, 105], [65, 106], [65, 107], [65, 108], [65, 109], [65, 111], [65, 112], [65, 115], [65, 117], [65, 118], [65, 119], [66, 73], [66, 74], [66, 75], [66, 78], [66, 81], [66, 84], [66, 85], [66, 86], [66, 91], [66, 92], [66, 93], [66, 94], [66, 95], [66, 97], [66, 98], [66, 99], [66, 100], [66, 103], [66, 104], [66, 105], [66, 107], [66, 108], [66, 110], [66, 112], [66, 113], [66, 115], [66, 118], [67, 68], [67, 74], [67, 76], [67, 81], [67, 84], [67, 86], [67, 88], [67, 91], [67, 92], [67, 94], [67, 95], [67, 97], [67, 98], [67, 99], [67, 101], [67, 103], [67, 106], [67, 107], [67, 108], [67, 110], [67, 113], [67, 114], [67, 116], [68, 69], [68, 71], [68, 72], [68, 73], [68, 74], [68, 75], [68, 76], [68, 77], [68, 79], [68, 81], [68, 83], [68, 84], [68, 85], [68, 87], [68, 90], [68, 94], [68, 95], [68, 99], [68, 101], [68, 103], [68, 105], [68, 110], [68, 113], [68, 117], [69, 73], [69, 75], [69, 76], [69, 77], [69, 78], [69, 79], [69, 80], [69, 81], [69, 83], [69, 85], [69, 86], [69, 87], [69, 89], [69, 90], [69, 91], [69, 92], [69, 98], [69, 99], [69, 102], [69, 104], [69, 106], [69, 107], [69, 108], [69, 109], [69, 110], [69, 112], [69, 115], [69, 117], [69, 118], [70, 73], [70, 75], [70, 76], [70, 79], [70, 80], [70, 82], [70, 90], [70, 92], [70, 93], [70, 95], [70, 96], [70, 97], [70, 98], [70, 99], [70, 100], [70, 102], [70, 103], [70, 109], [70, 112], [70, 114], [70, 118], [71, 73], [71, 75], [71, 77], [71, 79], [71, 80], [71, 81], [71, 82], [71, 86], [71, 87], [71, 91], [71, 94], [71, 96], [71, 102], [71, 103], [71, 104], [71, 110], [71, 111], [71, 112], [71, 113], [71, 119], [72, 74], [72, 80], [72, 82], [72, 83], [72, 84], [72, 86], [72, 88], [72, 89], [72, 90], [72, 91], [72, 97], [72, 98], [72, 104], [72, 109], [72, 111], [72, 113], [72, 117], [72, 118], [73, 75], [73, 77], [73, 82], [73, 83], [73, 84], [73, 86], [73, 87], [73, 88], [73, 89], [73, 91], [73, 93], [73, 94], [73, 95], [73, 98], [73, 99], [73, 101], [73, 102], [73, 103], [73, 104], [73, 107], [73, 108], [73, 109], [73, 112], [73, 113], [73, 114], [73, 115], [73, 116], [73, 118], [73, 119], [74, 76], [74, 79], [74, 81], [74, 83], [74, 84], [74, 85], [74, 89], [74, 91], [74, 92], [74, 93], [74, 95], [74, 96], [74, 100], [74, 102], [74, 104], [74, 107], [74, 108], [74, 109], [74, 111], [74, 112], [74, 113], [74, 115], [74, 117], [74, 118], [75, 78], [75, 83], [75, 84], [75, 85], [75, 86], [75, 87], [75, 89], [75, 90], [75, 92], [75, 97], [75, 98], [75, 99], [75, 100], [75, 102], [75, 103], [75, 104], [75, 106], [75, 107], [75, 108], [75, 110], [75, 111], [75, 114], [75, 115], [75, 116], [75, 117], [76, 80], [76, 86], [76, 87], [76, 88], [76, 89], [76, 91], [76, 92], [76, 93], [76, 96], [76, 97], [76, 100], [76, 101], [76, 103], [76, 104], [76, 105], [76, 106], [76, 107], [76, 109], [76, 112], [76, 113], [76, 115], [76, 116], [76, 117], [76, 118], [76, 119], [77, 78], [77, 79], [77, 80], [77, 83], [77, 84], [77, 85], [77, 88], [77, 91], [77, 92], [77, 93], [77, 96], [77, 97], [77, 98], [77, 100], [77, 102], [77, 104], [77, 106], [77, 108], [77, 110], [77, 113], [77, 114], [77, 117], [78, 79], [78, 81], [78, 82], [78, 83], [78, 87], [78, 88], [78, 89], [78, 90], [78, 94], [78, 96], [78, 97], [78, 100], [78, 102], [78, 104], [78, 107], [78, 109], [78, 110], [78, 111], [78, 112], [78, 116], [78, 118], [78, 119], [79, 80], [79, 84], [79, 85], [79, 87], [79, 89], [79, 91], [79, 92], [79, 93], [79, 94], [79, 97], [79, 100], [79, 102], [79, 103], [79, 104], [79, 106], [79, 107], [79, 108], [79, 109], [79, 110], [79, 111], [79, 113], [79, 116], [79, 118], [80, 81], [80, 82], [80, 83], [80, 84], [80, 85], [80, 86], [80, 89], [80, 90], [80, 91], [80, 93], [80, 94], [80, 95], [80, 97], [80, 98], [80, 99], [80, 102], [80, 103], [80, 104], [80, 106], [80, 108], [80, 109], [80, 110], [80, 111], [80, 112], [80, 114], [80, 117], [81, 82], [81, 84], [81, 85], [81, 88], [81, 90], [81, 91], [81, 92], [81, 93], [81, 96], [81, 97], [81, 98], [81, 99], [81, 103], [81, 107], [81, 108], [81, 112], [81, 113], [81, 114], [81, 115], [81, 119], [82, 84], [82, 85], [82, 87], [82, 88], [82, 90], [82, 92], [82, 94], [82, 95], [82, 98], [82, 99], [82, 102], [82, 104], [82, 105], [82, 107], [82, 112], [82, 113], [82, 114], [82, 115], [82, 118], [83, 85], [83, 86], [83, 91], [83, 92], [83, 93], [83, 94], [83, 97], [83, 98], [83, 100], [83, 101], [83, 105], [83, 106], [83, 107], [83, 108], [83, 112], [83, 113], [83, 114], [83, 115], [83, 116], [84, 85], [84, 86], [84, 87], [84, 90], [84, 91], [84, 94], [84, 95], [84, 96], [84, 97], [84, 99], [84, 101], [84, 107], [84, 112], [84, 115], [85, 86], [85, 87], [85, 89], [85, 90], [85, 91], [85, 93], [85, 94], [85, 98], [85, 100], [85, 107], [85, 108], [85, 109], [85, 110], [85, 111], [85, 112], [85, 114], [85, 115], [85, 116], [85, 117], [85, 118], [85, 119], [86, 87], [86, 89], [86, 90], [86, 93], [86, 94], [86, 95], [86, 99], [86, 101], [86, 102], [86, 104], [86, 105], [86, 106], [86, 107], [86, 110], [86, 111], [86, 112], [86, 115], [86, 116], [86, 117], [87, 91], [87, 92], [87, 93], [87, 94], [87, 96], [87, 97], [87, 98], [87, 99], [87, 100], [87, 101], [87, 103], [87, 106], [87, 107], [87, 108], [87, 111], [87, 112], [87, 114], [87, 115], [87, 116], [87, 118], [87, 119], [88, 90], [88, 93], [88, 95], [88, 96], [88, 97], [88, 98], [88, 99], [88, 103], [88, 110], [88, 111], [88, 113], [88, 114], [89, 92], [89, 93], [89, 95], [89, 98], [89, 106], [89, 107], [89, 108], [89, 113], [89, 114], [89, 119], [90, 92], [90, 94], [90, 95], [90, 96], [90, 97], [90, 101], [90, 103], [90, 105], [90, 106], [90, 107], [90, 108], [90, 111], [90, 112], [90, 113], [90, 114], [90, 117], [90, 119], [91, 92], [91, 96], [91, 97], [91, 98], [91, 99], [91, 100], [91, 102], [91, 104], [91, 105], [91, 106], [91, 109], [91, 112], [91, 113], [91, 116], [91, 117], [91, 118], [92, 93], [92, 94], [92, 95], [92, 102], [92, 103], [92, 107], [92, 108], [92, 110], [92, 111], [92, 112], [92, 113], [92, 114], [92, 117], [92, 118], [93, 94], [93, 98], [93, 99], [93, 100], [93, 102], [93, 103], [93, 104], [93, 105], [93, 106], [93, 111], [93, 112], [93, 114], [94, 95], [94, 97], [94, 101], [94, 102], [94, 105], [94, 106], [94, 108], [94, 111], [94, 112], [94, 115], [94, 117], [94, 118], [95, 97], [95, 103], [95, 105], [95, 107], [95, 108], [95, 110], [95, 112], [95, 115], [95, 118], [96, 99], [96, 103], [96, 106], [96, 107], [96, 110], [96, 115], [96, 116], [96, 117], [96, 118], [97, 99], [97, 101], [97, 103], [97, 105], [97, 106], [97, 107], [97, 108], [97, 112], [97, 113], [97, 117], [97, 119], [98, 99], [98, 102], [98, 103], [98, 106], [98, 107], [98, 109], [98, 110], [98, 112], [98, 113], [98, 116], [98, 117], [99, 100], [99, 103], [99, 105], [99, 106], [99, 107], [99, 108], [99, 109], [99, 110], [99, 111], [99, 112], [99, 115], [99, 116], [99, 118], [99, 119], [100, 103], [100, 104], [100, 105], [100, 107], [100, 113], [100, 116], [100, 119], [101, 102], [101, 106], [101, 109], [101, 110], [101, 113], [101, 114], [101, 119], [102, 104], [102, 105], [102, 107], [102, 110], [102, 111], [102, 112], [102, 116], [102, 117], [102, 119], [103, 106], [103, 108], [103, 111], [103, 113], [103, 119], [104, 105], [104, 106], [104, 108], [104, 110], [104, 111], [104, 114], [104, 115], [104, 116], [105, 107], [105, 108], [105, 110], [105, 112], [105, 113], [105, 116], [105, 117], [105, 119], [106, 108], [106, 109], [106, 110], [106, 113], [106, 114], [106, 115], [106, 116], [106, 118], [106, 119], [107, 108], [107, 109], [107, 110], [107, 112], [107, 113], [107, 114], [108, 109], [108, 112], [108, 114], [108, 115], [108, 116], [108, 117], [108, 118], [108, 119], [109, 111], [109, 115], [109, 116], [109, 118], [109, 119], [110, 111], [110, 113], [110, 114], [110, 117], [111, 114], [111, 115], [111, 117], [112, 113], [112, 117], [112, 118], [112, 119], [113, 115], [113, 116], [113, 117], [114, 115], [114, 117], [115, 119], [116, 117], [116, 118], [116, 119], [117, 119], [118, 119]], "family": "mc_max_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-clique-l6-s3/tests/run.py b/tasks/construct-mc-max-clique-l6-s3/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s3/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-max-clique-l6-s3/tests/test.sh b/tasks/construct-mc-max-clique-l6-s3/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s3/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-max-clique-l6-s4/environment/Dockerfile b/tasks/construct-mc-max-clique-l6-s4/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s4/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-max-clique-l6-s4/environment/instance.json b/tasks/construct-mc-max-clique-l6-s4/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..13b2dcde91598e584c81d1cbef19ad25c41658f5 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s4/environment/instance.json @@ -0,0 +1 @@ +{"n": 120, "k": 13, "edges": [[0, 1], [0, 2], [0, 4], [0, 5], [0, 6], [0, 8], [0, 13], [0, 19], [0, 21], [0, 23], [0, 25], [0, 26], [0, 27], [0, 29], [0, 30], [0, 34], [0, 36], [0, 38], [0, 40], [0, 41], [0, 44], [0, 49], [0, 50], [0, 51], [0, 53], [0, 54], [0, 58], [0, 60], [0, 61], [0, 62], [0, 63], [0, 65], [0, 67], [0, 68], [0, 69], [0, 71], [0, 72], [0, 73], [0, 76], [0, 77], [0, 78], [0, 80], [0, 81], [0, 85], [0, 86], [0, 87], [0, 89], [0, 90], [0, 96], [0, 99], [0, 103], [0, 105], [0, 108], [0, 112], [0, 114], [0, 115], [0, 119], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 14], [1, 15], [1, 16], [1, 20], [1, 21], [1, 24], [1, 25], [1, 26], [1, 27], [1, 28], [1, 31], [1, 32], [1, 33], [1, 37], [1, 38], [1, 40], [1, 42], [1, 45], [1, 47], [1, 49], [1, 51], [1, 52], [1, 54], [1, 55], [1, 56], [1, 57], [1, 62], [1, 64], [1, 66], [1, 68], [1, 70], [1, 71], [1, 74], [1, 76], [1, 77], [1, 78], [1, 79], [1, 81], [1, 82], [1, 83], [1, 84], [1, 88], [1, 89], [1, 92], [1, 93], [1, 94], [1, 97], [1, 100], [1, 101], [1, 102], [1, 104], [1, 107], [1, 109], [1, 112], [1, 114], [1, 115], [1, 119], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [2, 9], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 16], [2, 20], [2, 21], [2, 22], [2, 24], [2, 25], [2, 26], [2, 27], [2, 29], [2, 31], [2, 35], [2, 36], [2, 38], [2, 39], [2, 40], [2, 43], [2, 44], [2, 46], [2, 47], [2, 48], [2, 49], [2, 51], [2, 52], [2, 54], [2, 56], [2, 58], [2, 59], [2, 63], [2, 64], [2, 65], [2, 69], [2, 71], [2, 73], [2, 76], [2, 78], [2, 81], [2, 82], [2, 83], [2, 84], [2, 85], [2, 86], [2, 88], [2, 90], [2, 92], [2, 99], [2, 101], [2, 103], [2, 105], [2, 106], [2, 107], [2, 108], [2, 109], [2, 112], [2, 113], [2, 114], [2, 116], [2, 119], [3, 4], [3, 9], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 20], [3, 21], [3, 22], [3, 23], [3, 27], [3, 28], [3, 29], [3, 31], [3, 33], [3, 34], [3, 37], [3, 38], [3, 43], [3, 45], [3, 46], [3, 48], [3, 49], [3, 51], [3, 53], [3, 54], [3, 56], [3, 59], [3, 61], [3, 62], [3, 63], [3, 64], [3, 66], [3, 67], [3, 69], [3, 70], [3, 72], [3, 76], [3, 78], [3, 79], [3, 80], [3, 82], [3, 83], [3, 90], [3, 91], [3, 98], [3, 99], [3, 100], [3, 104], [3, 110], [3, 112], [3, 115], [3, 116], [3, 117], [4, 5], [4, 12], [4, 14], [4, 16], [4, 17], [4, 18], [4, 22], [4, 23], [4, 25], [4, 29], [4, 33], [4, 34], [4, 35], [4, 36], [4, 38], [4, 39], [4, 41], [4, 42], [4, 43], [4, 45], [4, 47], [4, 53], [4, 56], [4, 57], [4, 59], [4, 60], [4, 61], [4, 62], [4, 65], [4, 66], [4, 69], [4, 70], [4, 72], [4, 73], [4, 74], [4, 75], [4, 80], [4, 83], [4, 87], [4, 89], [4, 90], [4, 91], [4, 92], [4, 93], [4, 94], [4, 97], [4, 98], [4, 99], [4, 101], [4, 102], [4, 104], [4, 108], [4, 109], [4, 111], [4, 113], [4, 114], [4, 115], [4, 119], [5, 7], [5, 10], [5, 11], [5, 13], [5, 15], [5, 17], [5, 19], [5, 20], [5, 25], [5, 26], [5, 27], [5, 32], [5, 38], [5, 39], [5, 40], [5, 41], [5, 42], [5, 43], [5, 45], [5, 48], [5, 49], [5, 50], [5, 54], [5, 56], [5, 59], [5, 60], [5, 61], [5, 62], [5, 63], [5, 64], [5, 66], [5, 69], [5, 71], [5, 73], [5, 75], [5, 76], [5, 77], [5, 80], [5, 85], [5, 87], [5, 88], [5, 93], [5, 95], [5, 96], [5, 101], [5, 103], [5, 105], [5, 106], [5, 109], [5, 110], [5, 111], [5, 115], [5, 118], [6, 10], [6, 11], [6, 12], [6, 13], [6, 15], [6, 17], [6, 18], [6, 19], [6, 20], [6, 21], [6, 24], [6, 25], [6, 29], [6, 31], [6, 33], [6, 36], [6, 37], [6, 40], [6, 44], [6, 47], [6, 49], [6, 52], [6, 54], [6, 56], [6, 57], [6, 58], [6, 59], [6, 65], [6, 66], [6, 68], [6, 70], [6, 72], [6, 74], [6, 75], [6, 76], [6, 77], [6, 78], [6, 79], [6, 81], [6, 82], [6, 84], [6, 88], [6, 90], [6, 91], [6, 92], [6, 97], [6, 98], [6, 99], [6, 101], [6, 102], [6, 103], [6, 105], [6, 108], [6, 110], [6, 114], [6, 116], [6, 119], [7, 8], [7, 11], [7, 14], [7, 15], [7, 16], [7, 22], [7, 23], [7, 24], [7, 25], [7, 27], [7, 29], [7, 31], [7, 34], [7, 35], [7, 36], [7, 39], [7, 40], [7, 43], [7, 44], [7, 48], [7, 50], [7, 51], [7, 52], [7, 56], [7, 60], [7, 62], [7, 65], [7, 67], [7, 72], [7, 74], [7, 75], [7, 76], [7, 81], [7, 83], [7, 86], [7, 89], [7, 92], [7, 93], [7, 95], [7, 96], [7, 97], [7, 98], [7, 100], [7, 102], [7, 104], [7, 105], [7, 109], [7, 110], [7, 111], [7, 112], [7, 113], [7, 116], [7, 117], [7, 119], [8, 11], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 18], [8, 21], [8, 22], [8, 29], [8, 30], [8, 35], [8, 41], [8, 44], [8, 45], [8, 47], [8, 48], [8, 51], [8, 52], [8, 55], [8, 56], [8, 57], [8, 63], [8, 66], [8, 67], [8, 74], [8, 75], [8, 79], [8, 80], [8, 83], [8, 85], [8, 86], [8, 87], [8, 88], [8, 89], [8, 90], [8, 93], [8, 108], [8, 109], [8, 111], [8, 112], [8, 113], [8, 117], [8, 118], [8, 119], [9, 10], [9, 11], [9, 14], [9, 15], [9, 18], [9, 20], [9, 21], [9, 23], [9, 25], [9, 28], [9, 29], [9, 30], [9, 35], [9, 36], [9, 38], [9, 39], [9, 41], [9, 43], [9, 46], [9, 49], [9, 51], [9, 52], [9, 55], [9, 56], [9, 58], [9, 60], [9, 61], [9, 63], [9, 67], [9, 68], [9, 71], [9, 72], [9, 75], [9, 79], [9, 80], [9, 82], [9, 83], [9, 84], [9, 87], [9, 89], [9, 95], [9, 98], [9, 99], [9, 102], [9, 103], [9, 105], [9, 106], [9, 107], [9, 108], [9, 110], [9, 111], [9, 113], [9, 114], [9, 115], [9, 116], [9, 117], [9, 118], [9, 119], [10, 11], [10, 12], [10, 13], [10, 15], [10, 23], [10, 24], [10, 25], [10, 26], [10, 29], [10, 31], [10, 34], [10, 35], [10, 40], [10, 43], [10, 44], [10, 47], [10, 48], [10, 51], [10, 53], [10, 55], [10, 56], [10, 60], [10, 61], [10, 65], [10, 66], [10, 67], [10, 68], [10, 70], [10, 72], [10, 73], [10, 74], [10, 77], [10, 78], [10, 79], [10, 80], [10, 81], [10, 84], [10, 87], [10, 88], [10, 89], [10, 91], [10, 93], [10, 96], [10, 98], [10, 102], [10, 103], [10, 105], [10, 106], [10, 108], [10, 109], [10, 113], [10, 115], [10, 116], [10, 118], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 20], [11, 24], [11, 27], [11, 29], [11, 30], [11, 31], [11, 33], [11, 36], [11, 37], [11, 38], [11, 43], [11, 49], [11, 51], [11, 53], [11, 54], [11, 59], [11, 60], [11, 62], [11, 67], [11, 68], [11, 69], [11, 70], [11, 71], [11, 72], [11, 73], [11, 75], [11, 76], [11, 77], [11, 78], [11, 82], [11, 83], [11, 84], [11, 87], [11, 89], [11, 90], [11, 91], [11, 92], [11, 95], [11, 97], [11, 98], [11, 99], [11, 101], [11, 102], [11, 104], [11, 105], [11, 107], [11, 108], [11, 109], [11, 114], [12, 14], [12, 18], [12, 21], [12, 22], [12, 24], [12, 25], [12, 28], [12, 30], [12, 32], [12, 33], [12, 40], [12, 42], [12, 43], [12, 45], [12, 49], [12, 51], [12, 53], [12, 55], [12, 56], [12, 57], [12, 61], [12, 65], [12, 68], [12, 72], [12, 73], [12, 75], [12, 77], [12, 78], [12, 79], [12, 80], [12, 81], [12, 83], [12, 84], [12, 91], [12, 92], [12, 94], [12, 95], [12, 100], [12, 101], [12, 102], [12, 103], [12, 106], [12, 109], [12, 111], [12, 112], [12, 114], [12, 116], [13, 15], [13, 18], [13, 21], [13, 22], [13, 26], [13, 27], [13, 30], [13, 31], [13, 36], [13, 38], [13, 39], [13, 40], [13, 41], [13, 44], [13, 46], [13, 49], [13, 50], [13, 56], [13, 59], [13, 60], [13, 61], [13, 62], [13, 63], [13, 65], [13, 68], [13, 70], [13, 71], [13, 73], [13, 76], [13, 77], [13, 78], [13, 79], [13, 88], [13, 89], [13, 90], [13, 93], [13, 95], [13, 97], [13, 99], [13, 100], [13, 103], [13, 105], [13, 106], [13, 107], [13, 108], [13, 112], [13, 113], [13, 114], [13, 115], [13, 117], [13, 119], [14, 17], [14, 19], [14, 20], [14, 21], [14, 24], [14, 26], [14, 27], [14, 29], [14, 33], [14, 35], [14, 36], [14, 39], [14, 40], [14, 47], [14, 49], [14, 50], [14, 51], [14, 56], [14, 57], [14, 62], [14, 63], [14, 65], [14, 66], [14, 67], [14, 68], [14, 72], [14, 78], [14, 79], [14, 80], [14, 81], [14, 82], [14, 85], [14, 87], [14, 88], [14, 89], [14, 92], [14, 94], [14, 95], [14, 96], [14, 97], [14, 98], [14, 103], [14, 104], [14, 105], [14, 107], [14, 109], [14, 113], [14, 114], [14, 115], [14, 116], [15, 16], [15, 17], [15, 18], [15, 21], [15, 23], [15, 25], [15, 26], [15, 30], [15, 31], [15, 34], [15, 36], [15, 37], [15, 40], [15, 41], [15, 45], [15, 48], [15, 49], [15, 50], [15, 51], [15, 52], [15, 55], [15, 59], [15, 63], [15, 64], [15, 65], [15, 67], [15, 68], [15, 75], [15, 78], [15, 79], [15, 81], [15, 82], [15, 87], [15, 88], [15, 90], [15, 92], [15, 93], [15, 96], [15, 97], [15, 98], [15, 103], [15, 105], [15, 106], [15, 107], [15, 109], [15, 113], [15, 114], [15, 117], [15, 119], [16, 17], [16, 19], [16, 20], [16, 23], [16, 24], [16, 25], [16, 27], [16, 30], [16, 32], [16, 39], [16, 40], [16, 41], [16, 42], [16, 43], [16, 44], [16, 45], [16, 47], [16, 52], [16, 53], [16, 56], [16, 61], [16, 65], [16, 68], [16, 69], [16, 70], [16, 72], [16, 73], [16, 74], [16, 76], [16, 77], [16, 79], [16, 84], [16, 85], [16, 86], [16, 89], [16, 90], [16, 91], [16, 92], [16, 94], [16, 95], [16, 97], [16, 98], [16, 99], [16, 100], [16, 101], [16, 102], [16, 103], [16, 104], [16, 109], [16, 110], [16, 111], [16, 112], [16, 114], [16, 118], [16, 119], [17, 19], [17, 22], [17, 23], [17, 24], [17, 25], [17, 26], [17, 28], [17, 29], [17, 30], [17, 31], [17, 32], [17, 34], [17, 35], [17, 38], [17, 39], [17, 42], [17, 44], [17, 45], [17, 47], [17, 48], [17, 49], [17, 53], [17, 55], [17, 56], [17, 60], [17, 63], [17, 64], [17, 74], [17, 76], [17, 77], [17, 78], [17, 79], [17, 80], [17, 82], [17, 84], [17, 85], [17, 88], [17, 91], [17, 93], [17, 94], [17, 95], [17, 97], [17, 98], [17, 101], [17, 102], [17, 108], [17, 109], [17, 110], [17, 111], [17, 113], [17, 115], [17, 116], [17, 117], [18, 19], [18, 22], [18, 23], [18, 25], [18, 27], [18, 31], [18, 33], [18, 34], [18, 35], [18, 36], [18, 38], [18, 39], [18, 40], [18, 41], [18, 42], [18, 43], [18, 47], [18, 48], [18, 49], [18, 51], [18, 54], [18, 55], [18, 58], [18, 61], [18, 63], [18, 68], [18, 72], [18, 73], [18, 77], [18, 80], [18, 82], [18, 83], [18, 85], [18, 86], [18, 87], [18, 88], [18, 90], [18, 91], [18, 93], [18, 94], [18, 98], [18, 99], [18, 100], [18, 106], [18, 109], [18, 110], [18, 111], [18, 112], [18, 113], [18, 117], [18, 118], [19, 21], [19, 23], [19, 24], [19, 25], [19, 26], [19, 28], [19, 29], [19, 31], [19, 33], [19, 37], [19, 40], [19, 41], [19, 42], [19, 43], [19, 44], [19, 49], [19, 52], [19, 53], [19, 56], [19, 57], [19, 59], [19, 63], [19, 64], [19, 65], [19, 66], [19, 68], [19, 69], [19, 70], [19, 71], [19, 72], [19, 73], [19, 76], [19, 80], [19, 81], [19, 83], [19, 84], [19, 85], [19, 90], [19, 93], [19, 95], [19, 97], [19, 98], [19, 99], [19, 102], [19, 103], [19, 105], [19, 106], [19, 107], [19, 109], [19, 110], [19, 111], [19, 112], [19, 113], [19, 114], [19, 115], [19, 116], [19, 119], [20, 21], [20, 22], [20, 24], [20, 26], [20, 27], [20, 29], [20, 32], [20, 35], [20, 38], [20, 45], [20, 47], [20, 48], [20, 49], [20, 51], [20, 53], [20, 56], [20, 57], [20, 58], [20, 61], [20, 64], [20, 68], [20, 69], [20, 70], [20, 72], [20, 73], [20, 76], [20, 78], [20, 79], [20, 80], [20, 88], [20, 89], [20, 91], [20, 93], [20, 97], [20, 101], [20, 102], [20, 105], [20, 108], [20, 109], [20, 112], [20, 113], [20, 119], [21, 23], [21, 24], [21, 28], [21, 30], [21, 31], [21, 32], [21, 34], [21, 35], [21, 36], [21, 37], [21, 39], [21, 43], [21, 45], [21, 46], [21, 47], [21, 48], [21, 56], [21, 58], [21, 65], [21, 67], [21, 68], [21, 69], [21, 70], [21, 71], [21, 74], [21, 76], [21, 77], [21, 79], [21, 83], [21, 84], [21, 88], [21, 96], [21, 97], [21, 99], [21, 100], [21, 101], [21, 103], [21, 104], [21, 105], [21, 106], [21, 110], [21, 111], [21, 112], [21, 113], [21, 116], [21, 118], [22, 24], [22, 25], [22, 27], [22, 30], [22, 33], [22, 34], [22, 35], [22, 36], [22, 40], [22, 42], [22, 45], [22, 48], [22, 50], [22, 51], [22, 59], [22, 61], [22, 62], [22, 63], [22, 64], [22, 69], [22, 71], [22, 72], [22, 73], [22, 74], [22, 76], [22, 77], [22, 78], [22, 79], [22, 80], [22, 81], [22, 84], [22, 86], [22, 87], [22, 89], [22, 92], [22, 96], [22, 97], [22, 98], [22, 104], [22, 106], [22, 108], [22, 110], [22, 111], [22, 112], [22, 113], [22, 114], [22, 115], [22, 118], [23, 24], [23, 26], [23, 27], [23, 28], [23, 29], [23, 32], [23, 35], [23, 37], [23, 38], [23, 40], [23, 42], [23, 46], [23, 47], [23, 48], [23, 49], [23, 50], [23, 52], [23, 54], [23, 55], [23, 56], [23, 57], [23, 58], [23, 60], [23, 62], [23, 67], [23, 71], [23, 73], [23, 75], [23, 77], [23, 78], [23, 79], [23, 83], [23, 87], [23, 89], [23, 91], [23, 93], [23, 99], [23, 100], [23, 101], [23, 105], [23, 107], [23, 108], [23, 110], [23, 115], [23, 117], [23, 118], [23, 119], [24, 25], [24, 26], [24, 27], [24, 29], [24, 32], [24, 33], [24, 34], [24, 38], [24, 39], [24, 41], [24, 46], [24, 51], [24, 52], [24, 56], [24, 57], [24, 58], [24, 60], [24, 62], [24, 65], [24, 69], [24, 71], [24, 72], [24, 74], [24, 75], [24, 76], [24, 78], [24, 82], [24, 83], [24, 85], [24, 87], [24, 88], [24, 96], [24, 97], [24, 98], [24, 99], [24, 100], [24, 101], [24, 104], [24, 108], [24, 110], [24, 111], [24, 114], [24, 116], [24, 117], [24, 118], [25, 26], [25, 27], [25, 30], [25, 31], [25, 32], [25, 33], [25, 37], [25, 38], [25, 41], [25, 43], [25, 45], [25, 46], [25, 48], [25, 49], [25, 50], [25, 51], [25, 53], [25, 56], [25, 58], [25, 60], [25, 61], [25, 62], [25, 63], [25, 64], [25, 66], [25, 69], [25, 70], [25, 71], [25, 75], [25, 77], [25, 79], [25, 82], [25, 83], [25, 84], [25, 85], [25, 88], [25, 89], [25, 92], [25, 96], [25, 99], [25, 105], [25, 107], [25, 110], [25, 111], [25, 113], [25, 114], [25, 116], [25, 117], [25, 118], [25, 119], [26, 27], [26, 29], [26, 32], [26, 36], [26, 38], [26, 41], [26, 45], [26, 46], [26, 50], [26, 51], [26, 52], [26, 53], [26, 56], [26, 63], [26, 65], [26, 67], [26, 68], [26, 71], [26, 73], [26, 74], [26, 75], [26, 76], [26, 80], [26, 82], [26, 84], [26, 86], [26, 87], [26, 88], [26, 89], [26, 90], [26, 93], [26, 95], [26, 96], [26, 98], [26, 99], [26, 100], [26, 107], [26, 108], [26, 109], [26, 110], [26, 111], [26, 113], [26, 114], [26, 115], [26, 117], [27, 28], [27, 29], [27, 30], [27, 31], [27, 33], [27, 35], [27, 36], [27, 37], [27, 38], [27, 42], [27, 44], [27, 48], [27, 50], [27, 52], [27, 55], [27, 56], [27, 62], [27, 63], [27, 67], [27, 68], [27, 73], [27, 76], [27, 78], [27, 80], [27, 82], [27, 85], [27, 89], [27, 92], [27, 94], [27, 97], [27, 98], [27, 100], [27, 101], [27, 107], [27, 108], [27, 109], [27, 110], [27, 111], [27, 112], [27, 113], [27, 117], [27, 118], [28, 29], [28, 33], [28, 34], [28, 35], [28, 36], [28, 38], [28, 40], [28, 42], [28, 44], [28, 45], [28, 48], [28, 50], [28, 54], [28, 55], [28, 56], [28, 57], [28, 58], [28, 59], [28, 60], [28, 61], [28, 64], [28, 66], [28, 67], [28, 68], [28, 73], [28, 74], [28, 78], [28, 79], [28, 80], [28, 81], [28, 82], [28, 87], [28, 90], [28, 91], [28, 92], [28, 93], [28, 94], [28, 95], [28, 96], [28, 100], [28, 101], [28, 102], [28, 106], [28, 108], [28, 109], [28, 110], [28, 111], [28, 112], [28, 113], [28, 114], [28, 115], [28, 116], [28, 118], [28, 119], [29, 31], [29, 34], [29, 35], [29, 37], [29, 38], [29, 40], [29, 41], [29, 43], [29, 44], [29, 48], [29, 49], [29, 50], [29, 51], [29, 52], [29, 53], [29, 55], [29, 56], [29, 57], [29, 59], [29, 60], [29, 61], [29, 63], [29, 65], [29, 66], [29, 67], [29, 70], [29, 71], [29, 72], [29, 76], [29, 78], [29, 79], [29, 80], [29, 82], [29, 86], [29, 87], [29, 89], [29, 90], [29, 91], [29, 92], [29, 94], [29, 95], [29, 97], [29, 98], [29, 99], [29, 101], [29, 103], [29, 104], [29, 105], [29, 106], [29, 108], [29, 110], [29, 112], [29, 113], [29, 115], [29, 116], [29, 117], [29, 118], [29, 119], [30, 31], [30, 33], [30, 40], [30, 41], [30, 42], [30, 43], [30, 46], [30, 48], [30, 49], [30, 50], [30, 53], [30, 54], [30, 56], [30, 58], [30, 59], [30, 60], [30, 61], [30, 65], [30, 66], [30, 67], [30, 68], [30, 69], [30, 70], [30, 71], [30, 73], [30, 74], [30, 79], [30, 81], [30, 82], [30, 84], [30, 86], [30, 87], [30, 88], [30, 89], [30, 90], [30, 91], [30, 92], [30, 94], [30, 96], [30, 97], [30, 98], [30, 100], [30, 103], [30, 106], [30, 109], [30, 110], [30, 112], [30, 114], [30, 115], [30, 118], [30, 119], [31, 32], [31, 35], [31, 36], [31, 40], [31, 41], [31, 44], [31, 45], [31, 48], [31, 49], [31, 50], [31, 51], [31, 54], [31, 56], [31, 58], [31, 59], [31, 61], [31, 63], [31, 64], [31, 65], [31, 67], [31, 68], [31, 69], [31, 73], [31, 74], [31, 77], [31, 80], [31, 81], [31, 83], [31, 84], [31, 86], [31, 88], [31, 89], [31, 93], [31, 94], [31, 95], [31, 97], [31, 99], [31, 100], [31, 101], [31, 102], [31, 108], [31, 109], [31, 110], [31, 112], [31, 113], [31, 115], [31, 117], [31, 118], [32, 35], [32, 36], [32, 44], [32, 46], [32, 47], [32, 48], [32, 50], [32, 53], [32, 54], [32, 55], [32, 57], [32, 58], [32, 59], [32, 61], [32, 62], [32, 65], [32, 66], [32, 67], [32, 72], [32, 73], [32, 75], [32, 76], [32, 77], [32, 78], [32, 79], [32, 80], [32, 88], [32, 90], [32, 91], [32, 92], [32, 94], [32, 95], [32, 99], [32, 100], [32, 103], [32, 104], [32, 108], [32, 109], [32, 110], [32, 112], [32, 114], [32, 117], [32, 118], [32, 119], [33, 34], [33, 39], [33, 40], [33, 43], [33, 45], [33, 47], [33, 48], [33, 52], [33, 53], [33, 54], [33, 55], [33, 59], [33, 61], [33, 62], [33, 63], [33, 64], [33, 67], [33, 68], [33, 69], [33, 70], [33, 71], [33, 72], [33, 75], [33, 77], [33, 78], [33, 80], [33, 82], [33, 85], [33, 86], [33, 87], [33, 88], [33, 90], [33, 92], [33, 93], [33, 94], [33, 95], [33, 96], [33, 97], [33, 100], [33, 102], [33, 103], [33, 104], [33, 110], [33, 114], [33, 116], [33, 117], [33, 118], [34, 39], [34, 43], [34, 44], [34, 45], [34, 48], [34, 49], [34, 50], [34, 51], [34, 53], [34, 55], [34, 56], [34, 57], [34, 58], [34, 59], [34, 60], [34, 61], [34, 64], [34, 65], [34, 66], [34, 68], [34, 75], [34, 76], [34, 78], [34, 79], [34, 81], [34, 83], [34, 84], [34, 87], [34, 91], [34, 92], [34, 99], [34, 102], [34, 103], [34, 105], [34, 108], [34, 109], [34, 114], [34, 117], [34, 118], [34, 119], [35, 37], [35, 38], [35, 40], [35, 41], [35, 42], [35, 44], [35, 45], [35, 47], [35, 48], [35, 49], [35, 50], [35, 51], [35, 52], [35, 53], [35, 54], [35, 57], [35, 59], [35, 60], [35, 62], [35, 65], [35, 66], [35, 68], [35, 69], [35, 70], [35, 72], [35, 73], [35, 75], [35, 76], [35, 80], [35, 82], [35, 84], [35, 87], [35, 88], [35, 89], [35, 90], [35, 91], [35, 93], [35, 94], [35, 95], [35, 96], [35, 97], [35, 98], [35, 100], [35, 102], [35, 103], [35, 105], [35, 108], [35, 112], [35, 114], [35, 117], [35, 118], [35, 119], [36, 39], [36, 41], [36, 44], [36, 45], [36, 46], [36, 48], [36, 50], [36, 53], [36, 56], [36, 57], [36, 58], [36, 60], [36, 61], [36, 63], [36, 64], [36, 67], [36, 69], [36, 70], [36, 72], [36, 75], [36, 76], [36, 78], [36, 81], [36, 86], [36, 87], [36, 90], [36, 91], [36, 92], [36, 93], [36, 95], [36, 100], [36, 105], [36, 106], [36, 107], [36, 108], [36, 109], [36, 111], [36, 112], [36, 114], [36, 117], [36, 119], [37, 38], [37, 39], [37, 40], [37, 43], [37, 44], [37, 45], [37, 46], [37, 47], [37, 48], [37, 51], [37, 52], [37, 53], [37, 54], [37, 55], [37, 56], [37, 57], [37, 58], [37, 60], [37, 65], [37, 68], [37, 69], [37, 71], [37, 72], [37, 73], [37, 76], [37, 78], [37, 79], [37, 80], [37, 81], [37, 86], [37, 88], [37, 89], [37, 91], [37, 93], [37, 94], [37, 95], [37, 96], [37, 97], [37, 98], [37, 99], [37, 100], [37, 101], [37, 102], [37, 103], [37, 112], [37, 114], [37, 115], [37, 116], [37, 117], [37, 118], [37, 119], [38, 39], [38, 41], [38, 44], [38, 46], [38, 47], [38, 49], [38, 51], [38, 52], [38, 54], [38, 55], [38, 58], [38, 62], [38, 64], [38, 65], [38, 66], [38, 71], [38, 72], [38, 74], [38, 77], [38, 80], [38, 81], [38, 84], [38, 88], [38, 92], [38, 93], [38, 97], [38, 98], [38, 100], [38, 101], [38, 102], [38, 105], [38, 109], [38, 111], [38, 112], [38, 113], [38, 114], [38, 115], [39, 42], [39, 44], [39, 46], [39, 47], [39, 51], [39, 53], [39, 54], [39, 55], [39, 61], [39, 62], [39, 66], [39, 67], [39, 68], [39, 69], [39, 71], [39, 73], [39, 74], [39, 75], [39, 76], [39, 77], [39, 80], [39, 81], [39, 82], [39, 83], [39, 84], [39, 88], [39, 90], [39, 91], [39, 92], [39, 93], [39, 94], [39, 96], [39, 98], [39, 99], [39, 102], [39, 103], [39, 106], [39, 108], [39, 112], [39, 114], [39, 116], [39, 117], [39, 118], [39, 119], [40, 41], [40, 42], [40, 43], [40, 46], [40, 48], [40, 49], [40, 51], [40, 52], [40, 53], [40, 54], [40, 55], [40, 56], [40, 59], [40, 63], [40, 67], [40, 68], [40, 69], [40, 72], [40, 74], [40, 76], [40, 77], [40, 78], [40, 79], [40, 80], [40, 81], [40, 82], [40, 84], [40, 85], [40, 86], [40, 89], [40, 93], [40, 96], [40, 99], [40, 101], [40, 104], [40, 105], [40, 106], [40, 108], [40, 109], [40, 110], [40, 111], [40, 112], [40, 113], [40, 114], [40, 117], [41, 42], [41, 43], [41, 47], [41, 48], [41, 53], [41, 57], [41, 58], [41, 59], [41, 63], [41, 67], [41, 69], [41, 72], [41, 75], [41, 76], [41, 77], [41, 79], [41, 80], [41, 81], [41, 84], [41, 87], [41, 89], [41, 91], [41, 92], [41, 95], [41, 97], [41, 98], [41, 99], [41, 100], [41, 102], [41, 104], [41, 109], [41, 111], [41, 115], [41, 118], [41, 119], [42, 44], [42, 46], [42, 48], [42, 50], [42, 53], [42, 54], [42, 56], [42, 58], [42, 61], [42, 62], [42, 63], [42, 66], [42, 68], [42, 69], [42, 70], [42, 74], [42, 75], [42, 76], [42, 77], [42, 79], [42, 80], [42, 81], [42, 82], [42, 85], [42, 87], [42, 90], [42, 91], [42, 96], [42, 98], [42, 101], [42, 102], [42, 103], [42, 105], [42, 106], [42, 107], [42, 108], [42, 109], [42, 111], [42, 112], [42, 113], [42, 114], [42, 115], [42, 117], [42, 118], [43, 44], [43, 45], [43, 47], [43, 49], [43, 51], [43, 52], [43, 53], [43, 54], [43, 56], [43, 57], [43, 58], [43, 60], [43, 61], [43, 63], [43, 66], [43, 68], [43, 71], [43, 74], [43, 75], [43, 76], [43, 78], [43, 80], [43, 82], [43, 84], [43, 85], [43, 88], [43, 89], [43, 93], [43, 94], [43, 95], [43, 96], [43, 97], [43, 98], [43, 100], [43, 102], [43, 104], [43, 106], [43, 108], [43, 111], [43, 114], [43, 117], [43, 118], [43, 119], [44, 45], [44, 46], [44, 49], [44, 50], [44, 51], [44, 52], [44, 53], [44, 57], [44, 58], [44, 63], [44, 64], [44, 66], [44, 71], [44, 73], [44, 76], [44, 80], [44, 84], [44, 85], [44, 86], [44, 87], [44, 88], [44, 91], [44, 92], [44, 94], [44, 95], [44, 97], [44, 98], [44, 99], [44, 101], [44, 103], [44, 104], [44, 105], [44, 108], [44, 109], [44, 111], [44, 114], [44, 115], [44, 116], [44, 118], [44, 119], [45, 46], [45, 47], [45, 48], [45, 50], [45, 51], [45, 53], [45, 54], [45, 58], [45, 59], [45, 60], [45, 61], [45, 64], [45, 66], [45, 70], [45, 71], [45, 72], [45, 73], [45, 79], [45, 81], [45, 82], [45, 84], [45, 86], [45, 87], [45, 89], [45, 91], [45, 92], [45, 93], [45, 95], [45, 96], [45, 103], [45, 107], [45, 110], [45, 113], [45, 117], [45, 118], [46, 47], [46, 49], [46, 50], [46, 51], [46, 52], [46, 55], [46, 57], [46, 59], [46, 60], [46, 61], [46, 62], [46, 63], [46, 65], [46, 66], [46, 67], [46, 68], [46, 69], [46, 71], [46, 72], [46, 74], [46, 76], [46, 78], [46, 80], [46, 82], [46, 84], [46, 85], [46, 88], [46, 90], [46, 91], [46, 93], [46, 95], [46, 100], [46, 102], [46, 103], [46, 105], [46, 106], [46, 107], [46, 112], [46, 114], [46, 116], [46, 117], [46, 118], [46, 119], [47, 48], [47, 54], [47, 59], [47, 62], [47, 65], [47, 68], [47, 69], [47, 70], [47, 75], [47, 78], [47, 79], [47, 80], [47, 81], [47, 82], [47, 83], [47, 84], [47, 86], [47, 88], [47, 89], [47, 92], [47, 93], [47, 97], [47, 98], [47, 100], [47, 105], [47, 108], [47, 110], [47, 111], [47, 112], [47, 116], [47, 117], [47, 119], [48, 51], [48, 52], [48, 54], [48, 55], [48, 57], [48, 58], [48, 59], [48, 60], [48, 62], [48, 68], [48, 69], [48, 70], [48, 72], [48, 78], [48, 80], [48, 81], [48, 83], [48, 85], [48, 92], [48, 93], [48, 98], [48, 99], [48, 102], [48, 103], [48, 107], [48, 108], [48, 110], [48, 111], [48, 116], [48, 117], [48, 118], [49, 55], [49, 57], [49, 58], [49, 59], [49, 61], [49, 68], [49, 69], [49, 70], [49, 72], [49, 77], [49, 79], [49, 81], [49, 82], [49, 83], [49, 86], [49, 90], [49, 92], [49, 94], [49, 98], [49, 100], [49, 102], [49, 103], [49, 104], [49, 106], [49, 108], [49, 110], [49, 111], [49, 112], [49, 113], [49, 116], [49, 117], [49, 119], [50, 52], [50, 53], [50, 55], [50, 57], [50, 60], [50, 62], [50, 63], [50, 64], [50, 65], [50, 69], [50, 70], [50, 73], [50, 77], [50, 81], [50, 83], [50, 84], [50, 88], [50, 91], [50, 92], [50, 94], [50, 95], [50, 97], [50, 99], [50, 101], [50, 103], [50, 105], [50, 107], [50, 108], [50, 109], [50, 111], [50, 112], [50, 115], [50, 117], [50, 118], [50, 119], [51, 52], [51, 53], [51, 54], [51, 55], [51, 56], [51, 57], [51, 58], [51, 62], [51, 63], [51, 65], [51, 66], [51, 68], [51, 69], [51, 70], [51, 78], [51, 81], [51, 82], [51, 83], [51, 87], [51, 88], [51, 96], [51, 97], [51, 98], [51, 101], [51, 103], [51, 104], [51, 106], [51, 107], [51, 108], [51, 109], [51, 111], [51, 113], [51, 114], [51, 115], [51, 117], [51, 119], [52, 53], [52, 55], [52, 56], [52, 57], [52, 59], [52, 60], [52, 63], [52, 64], [52, 65], [52, 68], [52, 69], [52, 70], [52, 71], [52, 72], [52, 74], [52, 75], [52, 76], [52, 78], [52, 79], [52, 80], [52, 82], [52, 84], [52, 85], [52, 87], [52, 90], [52, 92], [52, 93], [52, 94], [52, 95], [52, 96], [52, 98], [52, 102], [52, 103], [52, 105], [52, 107], [52, 108], [52, 112], [52, 114], [52, 115], [52, 116], [52, 119], [53, 56], [53, 57], [53, 61], [53, 62], [53, 63], [53, 64], [53, 66], [53, 68], [53, 72], [53, 74], [53, 75], [53, 76], [53, 78], [53, 80], [53, 81], [53, 82], [53, 84], [53, 85], [53, 86], [53, 87], [53, 91], [53, 92], [53, 93], [53, 94], [53, 95], [53, 98], [53, 99], [53, 104], [53, 105], [53, 107], [53, 112], [53, 115], [53, 116], [53, 119], [54, 55], [54, 56], [54, 58], [54, 61], [54, 65], [54, 66], [54, 69], [54, 71], [54, 73], [54, 76], [54, 78], [54, 81], [54, 82], [54, 83], [54, 84], [54, 85], [54, 89], [54, 90], [54, 91], [54, 96], [54, 98], [54, 100], [54, 101], [54, 102], [54, 103], [54, 105], [54, 106], [54, 109], [54, 111], [54, 114], [54, 115], [54, 116], [54, 117], [55, 56], [55, 57], [55, 59], [55, 60], [55, 61], [55, 63], [55, 66], [55, 67], [55, 68], [55, 69], [55, 70], [55, 72], [55, 74], [55, 82], [55, 83], [55, 84], [55, 85], [55, 86], [55, 87], [55, 88], [55, 89], [55, 90], [55, 91], [55, 92], [55, 95], [55, 96], [55, 98], [55, 103], [55, 104], [55, 105], [55, 106], [55, 108], [55, 111], [55, 114], [55, 116], [55, 118], [56, 58], [56, 60], [56, 62], [56, 65], [56, 66], [56, 67], [56, 70], [56, 71], [56, 73], [56, 74], [56, 76], [56, 77], [56, 80], [56, 81], [56, 82], [56, 83], [56, 84], [56, 85], [56, 86], [56, 90], [56, 93], [56, 95], [56, 97], [56, 98], [56, 99], [56, 100], [56, 103], [56, 104], [56, 106], [56, 108], [56, 111], [56, 112], [56, 113], [56, 114], [56, 116], [56, 118], [56, 119], [57, 59], [57, 61], [57, 62], [57, 66], [57, 67], [57, 68], [57, 72], [57, 75], [57, 76], [57, 80], [57, 81], [57, 83], [57, 85], [57, 86], [57, 91], [57, 94], [57, 95], [57, 96], [57, 98], [57, 99], [57, 101], [57, 102], [57, 103], [57, 104], [57, 107], [57, 108], [57, 109], [57, 111], [57, 113], [57, 116], [57, 117], [57, 119], [58, 59], [58, 60], [58, 63], [58, 66], [58, 68], [58, 71], [58, 72], [58, 73], [58, 76], [58, 78], [58, 79], [58, 80], [58, 82], [58, 84], [58, 85], [58, 87], [58, 94], [58, 97], [58, 99], [58, 100], [58, 101], [58, 102], [58, 104], [58, 105], [58, 107], [58, 110], [58, 111], [58, 114], [58, 116], [58, 118], [59, 61], [59, 66], [59, 68], [59, 69], [59, 70], [59, 71], [59, 73], [59, 75], [59, 77], [59, 78], [59, 79], [59, 84], [59, 89], [59, 90], [59, 91], [59, 93], [59, 95], [59, 96], [59, 97], [59, 98], [59, 99], [59, 100], [59, 101], [59, 105], [59, 110], [59, 112], [59, 113], [59, 114], [59, 116], [60, 62], [60, 63], [60, 64], [60, 65], [60, 67], [60, 68], [60, 69], [60, 71], [60, 72], [60, 73], [60, 76], [60, 78], [60, 79], [60, 81], [60, 82], [60, 83], [60, 85], [60, 86], [60, 87], [60, 88], [60, 92], [60, 93], [60, 94], [60, 95], [60, 96], [60, 97], [60, 100], [60, 101], [60, 102], [60, 103], [60, 104], [60, 108], [60, 110], [60, 112], [60, 113], [60, 117], [61, 64], [61, 65], [61, 66], [61, 68], [61, 69], [61, 70], [61, 71], [61, 73], [61, 74], [61, 75], [61, 77], [61, 81], [61, 90], [61, 94], [61, 95], [61, 96], [61, 98], [61, 103], [61, 105], [61, 106], [61, 107], [61, 109], [61, 110], [61, 111], [61, 112], [61, 114], [61, 115], [61, 119], [62, 70], [62, 72], [62, 73], [62, 74], [62, 76], [62, 77], [62, 78], [62, 79], [62, 81], [62, 83], [62, 84], [62, 85], [62, 86], [62, 87], [62, 88], [62, 90], [62, 91], [62, 92], [62, 93], [62, 98], [62, 99], [62, 101], [62, 103], [62, 105], [62, 107], [62, 108], [62, 110], [62, 111], [62, 112], [62, 117], [62, 119], [63, 66], [63, 68], [63, 69], [63, 73], [63, 74], [63, 76], [63, 77], [63, 78], [63, 79], [63, 83], [63, 84], [63, 86], [63, 88], [63, 89], [63, 91], [63, 97], [63, 99], [63, 112], [63, 115], [63, 116], [63, 118], [64, 68], [64, 71], [64, 74], [64, 75], [64, 76], [64, 77], [64, 78], [64, 79], [64, 81], [64, 84], [64, 86], [64, 90], [64, 92], [64, 94], [64, 96], [64, 97], [64, 99], [64, 100], [64, 106], [64, 111], [64, 113], [64, 115], [65, 66], [65, 67], [65, 68], [65, 69], [65, 70], [65, 71], [65, 72], [65, 74], [65, 75], [65, 76], [65, 80], [65, 81], [65, 89], [65, 91], [65, 93], [65, 94], [65, 95], [65, 96], [65, 97], [65, 98], [65, 99], [65, 100], [65, 101], [65, 102], [65, 103], [65, 105], [65, 106], [65, 109], [65, 110], [65, 113], [65, 114], [65, 115], [65, 117], [65, 118], [65, 119], [66, 67], [66, 69], [66, 70], [66, 71], [66, 76], [66, 78], [66, 82], [66, 83], [66, 84], [66, 86], [66, 87], [66, 88], [66, 91], [66, 93], [66, 94], [66, 95], [66, 97], [66, 100], [66, 101], [66, 106], [66, 107], [66, 109], [66, 113], [66, 118], [67, 68], [67, 69], [67, 70], [67, 71], [67, 73], [67, 75], [67, 78], [67, 81], [67, 83], [67, 84], [67, 88], [67, 89], [67, 94], [67, 95], [67, 96], [67, 97], [67, 99], [67, 100], [67, 107], [67, 108], [67, 109], [67, 110], [67, 111], [67, 112], [67, 113], [67, 114], [67, 115], [67, 116], [67, 118], [67, 119], [68, 70], [68, 73], [68, 75], [68, 78], [68, 80], [68, 82], [68, 85], [68, 86], [68, 87], [68, 88], [68, 89], [68, 90], [68, 91], [68, 93], [68, 94], [68, 95], [68, 96], [68, 97], [68, 99], [68, 100], [68, 102], [68, 103], [68, 107], [68, 108], [68, 111], [68, 112], [68, 115], [68, 118], [69, 70], [69, 73], [69, 75], [69, 78], [69, 80], [69, 82], [69, 83], [69, 84], [69, 88], [69, 90], [69, 91], [69, 92], [69, 94], [69, 95], [69, 99], [69, 101], [69, 104], [69, 106], [69, 108], [69, 109], [69, 110], [69, 111], [69, 112], [69, 113], [69, 115], [69, 117], [69, 119], [70, 72], [70, 74], [70, 75], [70, 76], [70, 77], [70, 78], [70, 81], [70, 82], [70, 89], [70, 90], [70, 91], [70, 92], [70, 93], [70, 97], [70, 101], [70, 102], [70, 103], [70, 109], [70, 110], [70, 111], [70, 114], [70, 116], [70, 118], [70, 119], [71, 73], [71, 74], [71, 81], [71, 85], [71, 87], [71, 88], [71, 89], [71, 91], [71, 93], [71, 94], [71, 96], [71, 100], [71, 102], [71, 106], [71, 108], [71, 109], [71, 110], [71, 112], [71, 114], [71, 116], [71, 117], [71, 118], [72, 73], [72, 74], [72, 75], [72, 77], [72, 79], [72, 80], [72, 81], [72, 82], [72, 84], [72, 88], [72, 91], [72, 93], [72, 94], [72, 95], [72, 97], [72, 98], [72, 101], [72, 103], [72, 105], [72, 109], [72, 111], [72, 112], [72, 114], [72, 115], [72, 116], [72, 117], [72, 119], [73, 75], [73, 77], [73, 81], [73, 85], [73, 87], [73, 88], [73, 91], [73, 92], [73, 93], [73, 94], [73, 97], [73, 98], [73, 99], [73, 101], [73, 102], [73, 105], [73, 107], [73, 109], [73, 110], [73, 114], [73, 115], [73, 116], [73, 118], [73, 119], [74, 75], [74, 77], [74, 79], [74, 81], [74, 83], [74, 85], [74, 87], [74, 88], [74, 93], [74, 95], [74, 100], [74, 101], [74, 104], [74, 107], [74, 109], [74, 113], [74, 115], [74, 116], [74, 117], [75, 76], [75, 77], [75, 79], [75, 80], [75, 83], [75, 84], [75, 94], [75, 97], [75, 98], [75, 104], [75, 107], [75, 109], [75, 110], [75, 111], [75, 115], [75, 117], [75, 118], [75, 119], [76, 77], [76, 79], [76, 80], [76, 81], [76, 83], [76, 85], [76, 91], [76, 93], [76, 95], [76, 96], [76, 98], [76, 101], [76, 102], [76, 103], [76, 106], [76, 111], [76, 113], [76, 115], [76, 116], [76, 118], [76, 119], [77, 79], [77, 81], [77, 83], [77, 84], [77, 85], [77, 87], [77, 88], [77, 89], [77, 90], [77, 92], [77, 93], [77, 95], [77, 99], [77, 104], [77, 105], [77, 106], [77, 107], [77, 108], [77, 109], [77, 110], [77, 111], [77, 112], [77, 113], [77, 115], [77, 117], [77, 118], [78, 79], [78, 82], [78, 84], [78, 86], [78, 88], [78, 89], [78, 91], [78, 95], [78, 97], [78, 98], [78, 99], [78, 101], [78, 106], [78, 107], [78, 110], [78, 111], [78, 112], [78, 113], [78, 115], [78, 118], [78, 119], [79, 80], [79, 81], [79, 83], [79, 84], [79, 86], [79, 88], [79, 98], [79, 101], [79, 102], [79, 103], [79, 105], [79, 108], [79, 111], [79, 112], [79, 113], [79, 115], [79, 116], [80, 81], [80, 83], [80, 85], [80, 87], [80, 88], [80, 89], [80, 92], [80, 93], [80, 94], [80, 95], [80, 97], [80, 98], [80, 99], [80, 100], [80, 101], [80, 103], [80, 107], [80, 108], [80, 109], [80, 111], [80, 115], [80, 119], [81, 82], [81, 83], [81, 84], [81, 87], [81, 88], [81, 92], [81, 94], [81, 95], [81, 96], [81, 99], [81, 100], [81, 101], [81, 103], [81, 106], [81, 108], [81, 109], [81, 112], [81, 113], [81, 115], [81, 118], [82, 83], [82, 84], [82, 86], [82, 87], [82, 88], [82, 89], [82, 91], [82, 92], [82, 93], [82, 98], [82, 99], [82, 100], [82, 102], [82, 104], [82, 106], [82, 107], [82, 111], [82, 112], [82, 113], [82, 116], [82, 117], [83, 85], [83, 86], [83, 89], [83, 90], [83, 91], [83, 96], [83, 97], [83, 99], [83, 105], [83, 106], [83, 107], [83, 108], [83, 109], [83, 110], [83, 111], [83, 115], [83, 117], [83, 118], [84, 85], [84, 86], [84, 87], [84, 91], [84, 92], [84, 94], [84, 97], [84, 99], [84, 100], [84, 101], [84, 104], [84, 105], [84, 106], [84, 108], [84, 109], [84, 110], [84, 114], [84, 116], [84, 117], [84, 118], [84, 119], [85, 87], [85, 88], [85, 90], [85, 91], [85, 93], [85, 103], [85, 107], [85, 112], [85, 113], [85, 116], [85, 117], [85, 118], [86, 87], [86, 89], [86, 91], [86, 92], [86, 93], [86, 94], [86, 95], [86, 98], [86, 99], [86, 100], [86, 101], [86, 102], [86, 103], [86, 104], [86, 107], [86, 109], [86, 110], [86, 112], [86, 113], [86, 114], [86, 116], [86, 118], [86, 119], [87, 88], [87, 90], [87, 91], [87, 92], [87, 94], [87, 96], [87, 97], [87, 99], [87, 101], [87, 102], [87, 103], [87, 104], [87, 107], [87, 113], [87, 114], [87, 116], [87, 119], [88, 89], [88, 91], [88, 93], [88, 95], [88, 96], [88, 97], [88, 98], [88, 102], [88, 103], [88, 104], [88, 106], [88, 107], [88, 109], [88, 110], [88, 111], [88, 117], [88, 118], [89, 90], [89, 91], [89, 93], [89, 97], [89, 98], [89, 100], [89, 101], [89, 102], [89, 106], [89, 108], [89, 110], [89, 112], [89, 113], [89, 114], [89, 115], [89, 116], [90, 91], [90, 93], [90, 94], [90, 95], [90, 96], [90, 97], [90, 101], [90, 102], [90, 104], [90, 105], [90, 106], [90, 110], [90, 112], [90, 113], [90, 114], [90, 115], [90, 116], [90, 119], [91, 94], [91, 95], [91, 96], [91, 97], [91, 99], [91, 103], [91, 104], [91, 106], [91, 107], [91, 108], [91, 109], [91, 110], [91, 111], [91, 113], [91, 116], [91, 119], [92, 93], [92, 95], [92, 96], [92, 101], [92, 102], [92, 103], [92, 107], [92, 109], [92, 111], [92, 113], [92, 116], [93, 96], [93, 100], [93, 101], [93, 107], [93, 109], [93, 112], [93, 115], [93, 116], [94, 96], [94, 97], [94, 101], [94, 103], [94, 104], [94, 105], [94, 107], [94, 108], [94, 109], [94, 110], [94, 111], [94, 112], [94, 116], [94, 117], [95, 96], [95, 98], [95, 99], [95, 101], [95, 102], [95, 104], [95, 106], [95, 108], [95, 109], [95, 110], [95, 114], [95, 116], [95, 117], [95, 119], [96, 97], [96, 101], [96, 103], [96, 104], [96, 108], [96, 109], [96, 116], [97, 99], [97, 106], [97, 107], [97, 108], [97, 109], [97, 110], [97, 111], [97, 113], [97, 115], [97, 116], [97, 118], [98, 100], [98, 101], [98, 102], [98, 103], [98, 105], [98, 107], [98, 109], [98, 111], [98, 112], [98, 115], [98, 119], [99, 100], [99, 101], [99, 102], [99, 103], [99, 104], [99, 105], [99, 107], [99, 108], [99, 109], [99, 112], [99, 113], [99, 114], [99, 115], [99, 117], [99, 118], [99, 119], [100, 102], [100, 104], [100, 105], [100, 106], [100, 108], [100, 109], [100, 111], [100, 113], [100, 117], [100, 118], [100, 119], [101, 103], [101, 109], [101, 111], [101, 112], [101, 115], [101, 119], [102, 104], [102, 105], [102, 107], [102, 108], [102, 109], [102, 112], [102, 114], [102, 116], [102, 118], [102, 119], [103, 104], [103, 105], [103, 106], [103, 107], [103, 108], [103, 109], [103, 110], [103, 116], [103, 117], [104, 109], [104, 112], [104, 114], [104, 117], [104, 119], [105, 106], [105, 107], [105, 108], [105, 109], [105, 110], [105, 111], [105, 114], [105, 115], [105, 116], [106, 107], [106, 109], [106, 110], [106, 111], [106, 113], [106, 114], [106, 117], [106, 118], [106, 119], [107, 108], [107, 109], [107, 110], [107, 112], [107, 113], [107, 114], [107, 115], [107, 118], [108, 112], [108, 114], [108, 116], [108, 117], [108, 118], [108, 119], [109, 110], [109, 111], [109, 112], [109, 113], [109, 115], [109, 116], [109, 117], [109, 118], [110, 111], [110, 112], [110, 113], [110, 114], [110, 115], [110, 116], [110, 117], [110, 118], [110, 119], [111, 112], [111, 113], [111, 114], [111, 116], [111, 117], [111, 119], [112, 113], [112, 114], [112, 115], [112, 116], [112, 117], [112, 119], [113, 117], [113, 118], [114, 116], [114, 118], [115, 116], [115, 117], [115, 118], [116, 117], [117, 118], [118, 119]], "family": "mc_max_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-clique-l6-s4/instruction.md b/tasks/construct-mc-max-clique-l6-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..304eda61ccc6db75eb1dbad5c4e3ffb1405bcea7 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s4/instruction.md @@ -0,0 +1,8 @@ +Graph G with 120 vertices numbered 0..119 and 3674 edges: +(0,1), (0,2), (0,4), (0,5), (0,6), (0,8), (0,13), (0,19), (0,21), (0,23), (0,25), (0,26), (0,27), (0,29), (0,30), (0,34), (0,36), (0,38), (0,40), (0,41), (0,44), (0,49), (0,50), (0,51), (0,53), (0,54), (0,58), (0,60), (0,61), (0,62), (0,63), (0,65), (0,67), (0,68), (0,69), (0,71), (0,72), (0,73), (0,76), (0,77), (0,78), (0,80), (0,81), (0,85), (0,86), (0,87), (0,89), (0,90), (0,96), (0,99), (0,103), (0,105), (0,108), (0,112), (0,114), (0,115), (0,119), (1,4), (1,5), (1,6), (1,7), (1,8), (1,9), (1,10), (1,11), (1,14), (1,15), (1,16), (1,20), (1,21), (1,24), (1,25), (1,26), (1,27), (1,28), (1,31), (1,32), (1,33), (1,37), (1,38), (1,40), (1,42), (1,45), (1,47), (1,49), (1,51), (1,52), (1,54), (1,55), (1,56), (1,57), (1,62), (1,64), (1,66), (1,68), (1,70), (1,71), (1,74), (1,76), (1,77), (1,78), (1,79), (1,81), (1,82), (1,83), (1,84), (1,88), (1,89), (1,92), (1,93), (1,94), (1,97), (1,100), (1,101), (1,102), (1,104), (1,107), (1,109), (1,112), (1,114), (1,115), (1,119), (2,4), (2,5), (2,6), (2,7), (2,8), (2,9), (2,11), (2,12), (2,13), (2,14), (2,15), (2,16), (2,20), (2,21), (2,22), (2,24), (2,25), (2,26), (2,27), (2,29), (2,31), (2,35), (2,36), (2,38), (2,39), (2,40), (2,43), (2,44), (2,46), (2,47), (2,48), (2,49), (2,51), (2,52), (2,54), (2,56), (2,58), (2,59), (2,63), (2,64), (2,65), (2,69), (2,71), (2,73), (2,76), (2,78), (2,81), (2,82), (2,83), (2,84), (2,85), (2,86), (2,88), (2,90), (2,92), (2,99), (2,101), (2,103), (2,105), (2,106), (2,107), (2,108), (2,109), (2,112), (2,113), (2,114), (2,116), (2,119), (3,4), (3,9), (3,12), (3,13), (3,14), (3,15), (3,16), (3,17), (3,20), (3,21), (3,22), (3,23), (3,27), (3,28), (3,29), (3,31), (3,33), (3,34), (3,37), (3,38), (3,43), (3,45), (3,46), (3,48), (3,49), (3,51), (3,53), (3,54), (3,56), (3,59), (3,61), (3,62), (3,63), (3,64), (3,66), (3,67), (3,69), (3,70), (3,72), (3,76), (3,78), (3,79), (3,80), (3,82), (3,83), (3,90), (3,91), (3,98), (3,99), (3,100), (3,104), (3,110), (3,112), (3,115), (3,116), (3,117), (4,5), (4,12), (4,14), (4,16), (4,17), (4,18), (4,22), (4,23), (4,25), (4,29), (4,33), (4,34), (4,35), (4,36), (4,38), (4,39), (4,41), (4,42), (4,43), (4,45), (4,47), (4,53), (4,56), (4,57), (4,59), (4,60), (4,61), (4,62), (4,65), (4,66), (4,69), (4,70), (4,72), (4,73), (4,74), (4,75), (4,80), (4,83), (4,87), (4,89), (4,90), (4,91), (4,92), (4,93), (4,94), (4,97), (4,98), (4,99), (4,101), (4,102), (4,104), (4,108), (4,109), (4,111), (4,113), (4,114), (4,115), (4,119), (5,7), (5,10), (5,11), (5,13), (5,15), (5,17), (5,19), (5,20), (5,25), (5,26), (5,27), (5,32), (5,38), (5,39), (5,40), (5,41), (5,42), (5,43), (5,45), (5,48), (5,49), (5,50), (5,54), (5,56), (5,59), (5,60), (5,61), (5,62), (5,63), (5,64), (5,66), (5,69), (5,71), (5,73), (5,75), (5,76), (5,77), (5,80), (5,85), (5,87), (5,88), (5,93), (5,95), (5,96), (5,101), (5,103), (5,105), (5,106), (5,109), (5,110), (5,111), (5,115), (5,118), (6,10), (6,11), (6,12), (6,13), (6,15), (6,17), (6,18), (6,19), (6,20), (6,21), (6,24), (6,25), (6,29), (6,31), (6,33), (6,36), (6,37), (6,40), (6,44), (6,47), (6,49), (6,52), (6,54), (6,56), (6,57), (6,58), (6,59), (6,65), (6,66), (6,68), (6,70), (6,72), (6,74), (6,75), (6,76), (6,77), (6,78), (6,79), (6,81), (6,82), (6,84), (6,88), (6,90), (6,91), (6,92), (6,97), (6,98), (6,99), (6,101), (6,102), (6,103), (6,105), (6,108), (6,110), (6,114), (6,116), (6,119), (7,8), (7,11), (7,14), (7,15), (7,16), (7,22), (7,23), (7,24), (7,25), (7,27), (7,29), (7,31), (7,34), (7,35), (7,36), (7,39), (7,40), (7,43), (7,44), (7,48), (7,50), (7,51), (7,52), (7,56), (7,60), (7,62), (7,65), (7,67), (7,72), (7,74), (7,75), (7,76), (7,81), (7,83), (7,86), (7,89), (7,92), (7,93), (7,95), (7,96), (7,97), (7,98), (7,100), (7,102), (7,104), (7,105), (7,109), (7,110), (7,111), (7,112), (7,113), (7,116), (7,117), (7,119), (8,11), (8,12), (8,13), (8,14), (8,15), (8,16), (8,18), (8,21), (8,22), (8,29), (8,30), (8,35), (8,41), (8,44), (8,45), (8,47), (8,48), (8,51), (8,52), (8,55), (8,56), (8,57), (8,63), (8,66), (8,67), (8,74), (8,75), (8,79), (8,80), (8,83), (8,85), (8,86), (8,87), (8,88), (8,89), (8,90), (8,93), (8,108), (8,109), (8,111), (8,112), (8,113), (8,117), (8,118), (8,119), (9,10), (9,11), (9,14), (9,15), (9,18), (9,20), (9,21), (9,23), (9,25), (9,28), (9,29), (9,30), (9,35), (9,36), (9,38), (9,39), (9,41), (9,43), (9,46), (9,49), (9,51), (9,52), (9,55), (9,56), (9,58), (9,60), (9,61), (9,63), (9,67), (9,68), (9,71), (9,72), (9,75), (9,79), (9,80), (9,82), (9,83), (9,84), (9,87), (9,89), (9,95), (9,98), (9,99), (9,102), (9,103), (9,105), (9,106), (9,107), (9,108), (9,110), (9,111), (9,113), (9,114), (9,115), (9,116), (9,117), (9,118), (9,119), (10,11), (10,12), (10,13), (10,15), (10,23), (10,24), (10,25), (10,26), (10,29), (10,31), (10,34), (10,35), (10,40), (10,43), (10,44), (10,47), (10,48), (10,51), (10,53), (10,55), (10,56), (10,60), (10,61), (10,65), (10,66), (10,67), (10,68), (10,70), (10,72), (10,73), (10,74), (10,77), (10,78), (10,79), (10,80), (10,81), (10,84), (10,87), (10,88), (10,89), (10,91), (10,93), (10,96), (10,98), (10,102), (10,103), (10,105), (10,106), (10,108), (10,109), (10,113), (10,115), (10,116), (10,118), (11,12), (11,13), (11,15), (11,16), (11,17), (11,18), (11,20), (11,24), (11,27), (11,29), (11,30), (11,31), (11,33), (11,36), (11,37), (11,38), (11,43), (11,49), (11,51), (11,53), (11,54), (11,59), (11,60), (11,62), (11,67), (11,68), (11,69), (11,70), (11,71), (11,72), (11,73), (11,75), (11,76), (11,77), (11,78), (11,82), (11,83), (11,84), (11,87), (11,89), (11,90), (11,91), (11,92), (11,95), (11,97), (11,98), (11,99), (11,101), (11,102), (11,104), (11,105), (11,107), (11,108), (11,109), (11,114), (12,14), (12,18), (12,21), (12,22), (12,24), (12,25), (12,28), (12,30), (12,32), (12,33), (12,40), (12,42), (12,43), (12,45), (12,49), (12,51), (12,53), (12,55), (12,56), (12,57), (12,61), (12,65), (12,68), (12,72), (12,73), (12,75), (12,77), (12,78), (12,79), (12,80), (12,81), (12,83), (12,84), (12,91), (12,92), (12,94), (12,95), (12,100), (12,101), (12,102), (12,103), (12,106), (12,109), (12,111), (12,112), (12,114), (12,116), (13,15), (13,18), (13,21), (13,22), (13,26), (13,27), (13,30), (13,31), (13,36), (13,38), (13,39), (13,40), (13,41), (13,44), (13,46), (13,49), (13,50), (13,56), (13,59), (13,60), (13,61), (13,62), (13,63), (13,65), (13,68), (13,70), (13,71), (13,73), (13,76), (13,77), (13,78), (13,79), (13,88), (13,89), (13,90), (13,93), (13,95), (13,97), (13,99), (13,100), (13,103), (13,105), (13,106), (13,107), (13,108), (13,112), (13,113), (13,114), (13,115), (13,117), (13,119), (14,17), (14,19), (14,20), (14,21), (14,24), (14,26), (14,27), (14,29), (14,33), (14,35), (14,36), (14,39), (14,40), (14,47), (14,49), (14,50), (14,51), (14,56), (14,57), (14,62), (14,63), (14,65), (14,66), (14,67), (14,68), (14,72), (14,78), (14,79), (14,80), (14,81), (14,82), (14,85), (14,87), (14,88), (14,89), (14,92), (14,94), (14,95), (14,96), (14,97), (14,98), (14,103), (14,104), (14,105), (14,107), (14,109), (14,113), (14,114), (14,115), (14,116), (15,16), (15,17), (15,18), (15,21), (15,23), (15,25), (15,26), (15,30), (15,31), (15,34), (15,36), (15,37), (15,40), (15,41), (15,45), (15,48), (15,49), (15,50), (15,51), (15,52), (15,55), (15,59), (15,63), (15,64), (15,65), (15,67), (15,68), (15,75), (15,78), (15,79), (15,81), (15,82), (15,87), (15,88), (15,90), (15,92), (15,93), (15,96), (15,97), (15,98), (15,103), (15,105), (15,106), (15,107), (15,109), (15,113), (15,114), (15,117), (15,119), (16,17), (16,19), (16,20), (16,23), (16,24), (16,25), (16,27), (16,30), (16,32), (16,39), (16,40), (16,41), (16,42), (16,43), (16,44), (16,45), (16,47), (16,52), (16,53), (16,56), (16,61), (16,65), (16,68), (16,69), (16,70), (16,72), (16,73), (16,74), (16,76), (16,77), (16,79), (16,84), (16,85), (16,86), (16,89), (16,90), (16,91), (16,92), (16,94), (16,95), (16,97), (16,98), (16,99), (16,100), (16,101), (16,102), (16,103), (16,104), (16,109), (16,110), (16,111), (16,112), (16,114), (16,118), (16,119), (17,19), (17,22), (17,23), (17,24), (17,25), (17,26), (17,28), (17,29), (17,30), (17,31), (17,32), (17,34), (17,35), (17,38), (17,39), (17,42), (17,44), (17,45), (17,47), (17,48), (17,49), (17,53), (17,55), (17,56), (17,60), (17,63), (17,64), (17,74), (17,76), (17,77), (17,78), (17,79), (17,80), (17,82), (17,84), (17,85), (17,88), (17,91), (17,93), (17,94), (17,95), (17,97), (17,98), (17,101), (17,102), (17,108), (17,109), (17,110), (17,111), (17,113), (17,115), (17,116), (17,117), (18,19), (18,22), (18,23), (18,25), (18,27), (18,31), (18,33), (18,34), (18,35), (18,36), (18,38), (18,39), (18,40), (18,41), (18,42), (18,43), (18,47), (18,48), (18,49), (18,51), (18,54), (18,55), (18,58), (18,61), (18,63), (18,68), (18,72), (18,73), (18,77), (18,80), (18,82), (18,83), (18,85), (18,86), (18,87), (18,88), (18,90), (18,91), (18,93), (18,94), (18,98), (18,99), (18,100), (18,106), (18,109), (18,110), (18,111), (18,112), (18,113), (18,117), (18,118), (19,21), (19,23), (19,24), (19,25), (19,26), (19,28), (19,29), (19,31), (19,33), (19,37), (19,40), (19,41), (19,42), (19,43), (19,44), (19,49), (19,52), (19,53), (19,56), (19,57), (19,59), (19,63), (19,64), (19,65), (19,66), (19,68), (19,69), (19,70), (19,71), (19,72), (19,73), (19,76), (19,80), (19,81), (19,83), (19,84), (19,85), (19,90), (19,93), (19,95), (19,97), (19,98), (19,99), (19,102), (19,103), (19,105), (19,106), (19,107), (19,109), (19,110), (19,111), (19,112), (19,113), (19,114), (19,115), (19,116), (19,119), (20,21), (20,22), (20,24), (20,26), (20,27), (20,29), (20,32), (20,35), (20,38), (20,45), (20,47), (20,48), (20,49), (20,51), (20,53), (20,56), (20,57), (20,58), (20,61), (20,64), (20,68), (20,69), (20,70), (20,72), (20,73), (20,76), (20,78), (20,79), (20,80), (20,88), (20,89), (20,91), (20,93), (20,97), (20,101), (20,102), (20,105), (20,108), (20,109), (20,112), (20,113), (20,119), (21,23), (21,24), (21,28), (21,30), (21,31), (21,32), (21,34), (21,35), (21,36), (21,37), (21,39), (21,43), (21,45), (21,46), (21,47), (21,48), (21,56), (21,58), (21,65), (21,67), (21,68), (21,69), (21,70), (21,71), (21,74), (21,76), (21,77), (21,79), (21,83), (21,84), (21,88), (21,96), (21,97), (21,99), (21,100), (21,101), (21,103), (21,104), (21,105), (21,106), (21,110), (21,111), (21,112), (21,113), (21,116), (21,118), (22,24), (22,25), (22,27), (22,30), (22,33), (22,34), (22,35), (22,36), (22,40), (22,42), (22,45), (22,48), (22,50), (22,51), (22,59), (22,61), (22,62), (22,63), (22,64), (22,69), (22,71), (22,72), (22,73), (22,74), (22,76), (22,77), (22,78), (22,79), (22,80), (22,81), (22,84), (22,86), (22,87), (22,89), (22,92), (22,96), (22,97), (22,98), (22,104), (22,106), (22,108), (22,110), (22,111), (22,112), (22,113), (22,114), (22,115), (22,118), (23,24), (23,26), (23,27), (23,28), (23,29), (23,32), (23,35), (23,37), (23,38), (23,40), (23,42), (23,46), (23,47), (23,48), (23,49), (23,50), (23,52), (23,54), (23,55), (23,56), (23,57), (23,58), (23,60), (23,62), (23,67), (23,71), (23,73), (23,75), (23,77), (23,78), (23,79), (23,83), (23,87), (23,89), (23,91), (23,93), (23,99), (23,100), (23,101), (23,105), (23,107), (23,108), (23,110), (23,115), (23,117), (23,118), (23,119), (24,25), (24,26), (24,27), (24,29), (24,32), (24,33), (24,34), (24,38), (24,39), (24,41), (24,46), (24,51), (24,52), (24,56), (24,57), (24,58), (24,60), (24,62), (24,65), (24,69), (24,71), (24,72), (24,74), (24,75), (24,76), (24,78), (24,82), (24,83), (24,85), (24,87), (24,88), (24,96), (24,97), (24,98), (24,99), (24,100), (24,101), (24,104), (24,108), (24,110), (24,111), (24,114), (24,116), (24,117), (24,118), (25,26), (25,27), (25,30), (25,31), (25,32), (25,33), (25,37), (25,38), (25,41), (25,43), (25,45), (25,46), (25,48), (25,49), (25,50), (25,51), (25,53), (25,56), (25,58), (25,60), (25,61), (25,62), (25,63), (25,64), (25,66), (25,69), (25,70), (25,71), (25,75), (25,77), (25,79), (25,82), (25,83), (25,84), (25,85), (25,88), (25,89), (25,92), (25,96), (25,99), (25,105), (25,107), (25,110), (25,111), (25,113), (25,114), (25,116), (25,117), (25,118), (25,119), (26,27), (26,29), (26,32), (26,36), (26,38), (26,41), (26,45), (26,46), (26,50), (26,51), (26,52), (26,53), (26,56), (26,63), (26,65), (26,67), (26,68), (26,71), (26,73), (26,74), (26,75), (26,76), (26,80), (26,82), (26,84), (26,86), (26,87), (26,88), (26,89), (26,90), (26,93), (26,95), (26,96), (26,98), (26,99), (26,100), (26,107), (26,108), (26,109), (26,110), (26,111), (26,113), (26,114), (26,115), (26,117), (27,28), (27,29), (27,30), (27,31), (27,33), (27,35), (27,36), (27,37), (27,38), (27,42), (27,44), (27,48), (27,50), (27,52), (27,55), (27,56), (27,62), (27,63), (27,67), (27,68), (27,73), (27,76), (27,78), (27,80), (27,82), (27,85), (27,89), (27,92), (27,94), (27,97), (27,98), (27,100), (27,101), (27,107), (27,108), (27,109), (27,110), (27,111), (27,112), (27,113), (27,117), (27,118), (28,29), (28,33), (28,34), (28,35), (28,36), (28,38), (28,40), (28,42), (28,44), (28,45), (28,48), (28,50), (28,54), (28,55), (28,56), (28,57), (28,58), (28,59), (28,60), (28,61), (28,64), (28,66), (28,67), (28,68), (28,73), (28,74), (28,78), (28,79), (28,80), (28,81), (28,82), (28,87), (28,90), (28,91), (28,92), (28,93), (28,94), (28,95), (28,96), (28,100), (28,101), (28,102), (28,106), (28,108), (28,109), (28,110), (28,111), (28,112), (28,113), (28,114), (28,115), (28,116), (28,118), (28,119), (29,31), (29,34), (29,35), (29,37), (29,38), (29,40), (29,41), (29,43), (29,44), (29,48), (29,49), (29,50), (29,51), (29,52), (29,53), (29,55), (29,56), (29,57), (29,59), (29,60), (29,61), (29,63), (29,65), (29,66), (29,67), (29,70), (29,71), (29,72), (29,76), (29,78), (29,79), (29,80), (29,82), (29,86), (29,87), (29,89), (29,90), (29,91), (29,92), (29,94), (29,95), (29,97), (29,98), (29,99), (29,101), (29,103), (29,104), (29,105), (29,106), (29,108), (29,110), (29,112), (29,113), (29,115), (29,116), (29,117), (29,118), (29,119), (30,31), (30,33), (30,40), (30,41), (30,42), (30,43), (30,46), (30,48), (30,49), (30,50), (30,53), (30,54), (30,56), (30,58), (30,59), (30,60), (30,61), (30,65), (30,66), (30,67), (30,68), (30,69), (30,70), (30,71), (30,73), (30,74), (30,79), (30,81), (30,82), (30,84), (30,86), (30,87), (30,88), (30,89), (30,90), (30,91), (30,92), (30,94), (30,96), (30,97), (30,98), (30,100), (30,103), (30,106), (30,109), (30,110), (30,112), (30,114), (30,115), (30,118), (30,119), (31,32), (31,35), (31,36), (31,40), (31,41), (31,44), (31,45), (31,48), (31,49), (31,50), (31,51), (31,54), (31,56), (31,58), (31,59), (31,61), (31,63), (31,64), (31,65), (31,67), (31,68), (31,69), (31,73), (31,74), (31,77), (31,80), (31,81), (31,83), (31,84), (31,86), (31,88), (31,89), (31,93), (31,94), (31,95), (31,97), (31,99), (31,100), (31,101), (31,102), (31,108), (31,109), (31,110), (31,112), (31,113), (31,115), (31,117), (31,118), (32,35), (32,36), (32,44), (32,46), (32,47), (32,48), (32,50), (32,53), (32,54), (32,55), (32,57), (32,58), (32,59), (32,61), (32,62), (32,65), (32,66), (32,67), (32,72), (32,73), (32,75), (32,76), (32,77), (32,78), (32,79), (32,80), (32,88), (32,90), (32,91), (32,92), (32,94), (32,95), (32,99), (32,100), (32,103), (32,104), (32,108), (32,109), (32,110), (32,112), (32,114), (32,117), (32,118), (32,119), (33,34), (33,39), (33,40), (33,43), (33,45), (33,47), (33,48), (33,52), (33,53), (33,54), (33,55), (33,59), (33,61), (33,62), (33,63), (33,64), (33,67), (33,68), (33,69), (33,70), (33,71), (33,72), (33,75), (33,77), (33,78), (33,80), (33,82), (33,85), (33,86), (33,87), (33,88), (33,90), (33,92), (33,93), (33,94), (33,95), (33,96), (33,97), (33,100), (33,102), (33,103), (33,104), (33,110), (33,114), (33,116), (33,117), (33,118), (34,39), (34,43), (34,44), (34,45), (34,48), (34,49), (34,50), (34,51), (34,53), (34,55), (34,56), (34,57), (34,58), (34,59), (34,60), (34,61), (34,64), (34,65), (34,66), (34,68), (34,75), (34,76), (34,78), (34,79), (34,81), (34,83), (34,84), (34,87), (34,91), (34,92), (34,99), (34,102), (34,103), (34,105), (34,108), (34,109), (34,114), (34,117), (34,118), (34,119), (35,37), (35,38), (35,40), (35,41), (35,42), (35,44), (35,45), (35,47), (35,48), (35,49), (35,50), (35,51), (35,52), (35,53), (35,54), (35,57), (35,59), (35,60), (35,62), (35,65), (35,66), (35,68), (35,69), (35,70), (35,72), (35,73), (35,75), (35,76), (35,80), (35,82), (35,84), (35,87), (35,88), (35,89), (35,90), (35,91), (35,93), (35,94), (35,95), (35,96), (35,97), (35,98), (35,100), (35,102), (35,103), (35,105), (35,108), (35,112), (35,114), (35,117), (35,118), (35,119), (36,39), (36,41), (36,44), (36,45), (36,46), (36,48), (36,50), (36,53), (36,56), (36,57), (36,58), (36,60), (36,61), (36,63), (36,64), (36,67), (36,69), (36,70), (36,72), (36,75), (36,76), (36,78), (36,81), (36,86), (36,87), (36,90), (36,91), (36,92), (36,93), (36,95), (36,100), (36,105), (36,106), (36,107), (36,108), (36,109), (36,111), (36,112), (36,114), (36,117), (36,119), (37,38), (37,39), (37,40), (37,43), (37,44), (37,45), (37,46), (37,47), (37,48), (37,51), (37,52), (37,53), (37,54), (37,55), (37,56), (37,57), (37,58), (37,60), (37,65), (37,68), (37,69), (37,71), (37,72), (37,73), (37,76), (37,78), (37,79), (37,80), (37,81), (37,86), (37,88), (37,89), (37,91), (37,93), (37,94), (37,95), (37,96), (37,97), (37,98), (37,99), (37,100), (37,101), (37,102), (37,103), (37,112), (37,114), (37,115), (37,116), (37,117), (37,118), (37,119), (38,39), (38,41), (38,44), (38,46), (38,47), (38,49), (38,51), (38,52), (38,54), (38,55), (38,58), (38,62), (38,64), (38,65), (38,66), (38,71), (38,72), (38,74), (38,77), (38,80), (38,81), (38,84), (38,88), (38,92), (38,93), (38,97), (38,98), (38,100), (38,101), (38,102), (38,105), (38,109), (38,111), (38,112), (38,113), (38,114), (38,115), (39,42), (39,44), (39,46), (39,47), (39,51), (39,53), (39,54), (39,55), (39,61), (39,62), (39,66), (39,67), (39,68), (39,69), (39,71), (39,73), (39,74), (39,75), (39,76), (39,77), (39,80), (39,81), (39,82), (39,83), (39,84), (39,88), (39,90), (39,91), (39,92), (39,93), (39,94), (39,96), (39,98), (39,99), (39,102), (39,103), (39,106), (39,108), (39,112), (39,114), (39,116), (39,117), (39,118), (39,119), (40,41), (40,42), (40,43), (40,46), (40,48), (40,49), (40,51), (40,52), (40,53), (40,54), (40,55), (40,56), (40,59), (40,63), (40,67), (40,68), (40,69), (40,72), (40,74), (40,76), (40,77), (40,78), (40,79), (40,80), (40,81), (40,82), (40,84), (40,85), (40,86), (40,89), (40,93), (40,96), (40,99), (40,101), (40,104), (40,105), (40,106), (40,108), (40,109), (40,110), (40,111), (40,112), (40,113), (40,114), (40,117), (41,42), (41,43), (41,47), (41,48), (41,53), (41,57), (41,58), (41,59), (41,63), (41,67), (41,69), (41,72), (41,75), (41,76), (41,77), (41,79), (41,80), (41,81), (41,84), (41,87), (41,89), (41,91), (41,92), (41,95), (41,97), (41,98), (41,99), (41,100), (41,102), (41,104), (41,109), (41,111), (41,115), (41,118), (41,119), (42,44), (42,46), (42,48), (42,50), (42,53), (42,54), (42,56), (42,58), (42,61), (42,62), (42,63), (42,66), (42,68), (42,69), (42,70), (42,74), (42,75), (42,76), (42,77), (42,79), (42,80), (42,81), (42,82), (42,85), (42,87), (42,90), (42,91), (42,96), (42,98), (42,101), (42,102), (42,103), (42,105), (42,106), (42,107), (42,108), (42,109), (42,111), (42,112), (42,113), (42,114), (42,115), (42,117), (42,118), (43,44), (43,45), (43,47), (43,49), (43,51), (43,52), (43,53), (43,54), (43,56), (43,57), (43,58), (43,60), (43,61), (43,63), (43,66), (43,68), (43,71), (43,74), (43,75), (43,76), (43,78), (43,80), (43,82), (43,84), (43,85), (43,88), (43,89), (43,93), (43,94), (43,95), (43,96), (43,97), (43,98), (43,100), (43,102), (43,104), (43,106), (43,108), (43,111), (43,114), (43,117), (43,118), (43,119), (44,45), (44,46), (44,49), (44,50), (44,51), (44,52), (44,53), (44,57), (44,58), (44,63), (44,64), (44,66), (44,71), (44,73), (44,76), (44,80), (44,84), (44,85), (44,86), (44,87), (44,88), (44,91), (44,92), (44,94), (44,95), (44,97), (44,98), (44,99), (44,101), (44,103), (44,104), (44,105), (44,108), (44,109), (44,111), (44,114), (44,115), (44,116), (44,118), (44,119), (45,46), (45,47), (45,48), (45,50), (45,51), (45,53), (45,54), (45,58), (45,59), (45,60), (45,61), (45,64), (45,66), (45,70), (45,71), (45,72), (45,73), (45,79), (45,81), (45,82), (45,84), (45,86), (45,87), (45,89), (45,91), (45,92), (45,93), (45,95), (45,96), (45,103), (45,107), (45,110), (45,113), (45,117), (45,118), (46,47), (46,49), (46,50), (46,51), (46,52), (46,55), (46,57), (46,59), (46,60), (46,61), (46,62), (46,63), (46,65), (46,66), (46,67), (46,68), (46,69), (46,71), (46,72), (46,74), (46,76), (46,78), (46,80), (46,82), (46,84), (46,85), (46,88), (46,90), (46,91), (46,93), (46,95), (46,100), (46,102), (46,103), (46,105), (46,106), (46,107), (46,112), (46,114), (46,116), (46,117), (46,118), (46,119), (47,48), (47,54), (47,59), (47,62), (47,65), (47,68), (47,69), (47,70), (47,75), (47,78), (47,79), (47,80), (47,81), (47,82), (47,83), (47,84), (47,86), (47,88), (47,89), (47,92), (47,93), (47,97), (47,98), (47,100), (47,105), (47,108), (47,110), (47,111), (47,112), (47,116), (47,117), (47,119), (48,51), (48,52), (48,54), (48,55), (48,57), (48,58), (48,59), (48,60), (48,62), (48,68), (48,69), (48,70), (48,72), (48,78), (48,80), (48,81), (48,83), (48,85), (48,92), (48,93), (48,98), (48,99), (48,102), (48,103), (48,107), (48,108), (48,110), (48,111), (48,116), (48,117), (48,118), (49,55), (49,57), (49,58), (49,59), (49,61), (49,68), (49,69), (49,70), (49,72), (49,77), (49,79), (49,81), (49,82), (49,83), (49,86), (49,90), (49,92), (49,94), (49,98), (49,100), (49,102), (49,103), (49,104), (49,106), (49,108), (49,110), (49,111), (49,112), (49,113), (49,116), (49,117), (49,119), (50,52), (50,53), (50,55), (50,57), (50,60), (50,62), (50,63), (50,64), (50,65), (50,69), (50,70), (50,73), (50,77), (50,81), (50,83), (50,84), (50,88), (50,91), (50,92), (50,94), (50,95), (50,97), (50,99), (50,101), (50,103), (50,105), (50,107), (50,108), (50,109), (50,111), (50,112), (50,115), (50,117), (50,118), (50,119), (51,52), (51,53), (51,54), (51,55), (51,56), (51,57), (51,58), (51,62), (51,63), (51,65), (51,66), (51,68), (51,69), (51,70), (51,78), (51,81), (51,82), (51,83), (51,87), (51,88), (51,96), (51,97), (51,98), (51,101), (51,103), (51,104), (51,106), (51,107), (51,108), (51,109), (51,111), (51,113), (51,114), (51,115), (51,117), (51,119), (52,53), (52,55), (52,56), (52,57), (52,59), (52,60), (52,63), (52,64), (52,65), (52,68), (52,69), (52,70), (52,71), (52,72), (52,74), (52,75), (52,76), (52,78), (52,79), (52,80), (52,82), (52,84), (52,85), (52,87), (52,90), (52,92), (52,93), (52,94), (52,95), (52,96), (52,98), (52,102), (52,103), (52,105), (52,107), (52,108), (52,112), (52,114), (52,115), (52,116), (52,119), (53,56), (53,57), (53,61), (53,62), (53,63), (53,64), (53,66), (53,68), (53,72), (53,74), (53,75), (53,76), (53,78), (53,80), (53,81), (53,82), (53,84), (53,85), (53,86), (53,87), (53,91), (53,92), (53,93), (53,94), (53,95), (53,98), (53,99), (53,104), (53,105), (53,107), (53,112), (53,115), (53,116), (53,119), (54,55), (54,56), (54,58), (54,61), (54,65), (54,66), (54,69), (54,71), (54,73), (54,76), (54,78), (54,81), (54,82), (54,83), (54,84), (54,85), (54,89), (54,90), (54,91), (54,96), (54,98), (54,100), (54,101), (54,102), (54,103), (54,105), (54,106), (54,109), (54,111), (54,114), (54,115), (54,116), (54,117), (55,56), (55,57), (55,59), (55,60), (55,61), (55,63), (55,66), (55,67), (55,68), (55,69), (55,70), (55,72), (55,74), (55,82), (55,83), (55,84), (55,85), (55,86), (55,87), (55,88), (55,89), (55,90), (55,91), (55,92), (55,95), (55,96), (55,98), (55,103), (55,104), (55,105), (55,106), (55,108), (55,111), (55,114), (55,116), (55,118), (56,58), (56,60), (56,62), (56,65), (56,66), (56,67), (56,70), (56,71), (56,73), (56,74), (56,76), (56,77), (56,80), (56,81), (56,82), (56,83), (56,84), (56,85), (56,86), (56,90), (56,93), (56,95), (56,97), (56,98), (56,99), (56,100), (56,103), (56,104), (56,106), (56,108), (56,111), (56,112), (56,113), (56,114), (56,116), (56,118), (56,119), (57,59), (57,61), (57,62), (57,66), (57,67), (57,68), (57,72), (57,75), (57,76), (57,80), (57,81), (57,83), (57,85), (57,86), (57,91), (57,94), (57,95), (57,96), (57,98), (57,99), (57,101), (57,102), (57,103), (57,104), (57,107), (57,108), (57,109), (57,111), (57,113), (57,116), (57,117), (57,119), (58,59), (58,60), (58,63), (58,66), (58,68), (58,71), (58,72), (58,73), (58,76), (58,78), (58,79), (58,80), (58,82), (58,84), (58,85), (58,87), (58,94), (58,97), (58,99), (58,100), (58,101), (58,102), (58,104), (58,105), (58,107), (58,110), (58,111), (58,114), (58,116), (58,118), (59,61), (59,66), (59,68), (59,69), (59,70), (59,71), (59,73), (59,75), (59,77), (59,78), (59,79), (59,84), (59,89), (59,90), (59,91), (59,93), (59,95), (59,96), (59,97), (59,98), (59,99), (59,100), (59,101), (59,105), (59,110), (59,112), (59,113), (59,114), (59,116), (60,62), (60,63), (60,64), (60,65), (60,67), (60,68), (60,69), (60,71), (60,72), (60,73), (60,76), (60,78), (60,79), (60,81), (60,82), (60,83), (60,85), (60,86), (60,87), (60,88), (60,92), (60,93), (60,94), (60,95), (60,96), (60,97), (60,100), (60,101), (60,102), (60,103), (60,104), (60,108), (60,110), (60,112), (60,113), (60,117), (61,64), (61,65), (61,66), (61,68), (61,69), (61,70), (61,71), (61,73), (61,74), (61,75), (61,77), (61,81), (61,90), (61,94), (61,95), (61,96), (61,98), (61,103), (61,105), (61,106), (61,107), (61,109), (61,110), (61,111), (61,112), (61,114), (61,115), (61,119), (62,70), (62,72), (62,73), (62,74), (62,76), (62,77), (62,78), (62,79), (62,81), (62,83), (62,84), (62,85), (62,86), (62,87), (62,88), (62,90), (62,91), (62,92), (62,93), (62,98), (62,99), (62,101), (62,103), (62,105), (62,107), (62,108), (62,110), (62,111), (62,112), (62,117), (62,119), (63,66), (63,68), (63,69), (63,73), (63,74), (63,76), (63,77), (63,78), (63,79), (63,83), (63,84), (63,86), (63,88), (63,89), (63,91), (63,97), (63,99), (63,112), (63,115), (63,116), (63,118), (64,68), (64,71), (64,74), (64,75), (64,76), (64,77), (64,78), (64,79), (64,81), (64,84), (64,86), (64,90), (64,92), (64,94), (64,96), (64,97), (64,99), (64,100), (64,106), (64,111), (64,113), (64,115), (65,66), (65,67), (65,68), (65,69), (65,70), (65,71), (65,72), (65,74), (65,75), (65,76), (65,80), (65,81), (65,89), (65,91), (65,93), (65,94), (65,95), (65,96), (65,97), (65,98), (65,99), (65,100), (65,101), (65,102), (65,103), (65,105), (65,106), (65,109), (65,110), (65,113), (65,114), (65,115), (65,117), (65,118), (65,119), (66,67), (66,69), (66,70), (66,71), (66,76), (66,78), (66,82), (66,83), (66,84), (66,86), (66,87), (66,88), (66,91), (66,93), (66,94), (66,95), (66,97), (66,100), (66,101), (66,106), (66,107), (66,109), (66,113), (66,118), (67,68), (67,69), (67,70), (67,71), (67,73), (67,75), (67,78), (67,81), (67,83), (67,84), (67,88), (67,89), (67,94), (67,95), (67,96), (67,97), (67,99), (67,100), (67,107), (67,108), (67,109), (67,110), (67,111), (67,112), (67,113), (67,114), (67,115), (67,116), (67,118), (67,119), (68,70), (68,73), (68,75), (68,78), (68,80), (68,82), (68,85), (68,86), (68,87), (68,88), (68,89), (68,90), (68,91), (68,93), (68,94), (68,95), (68,96), (68,97), (68,99), (68,100), (68,102), (68,103), (68,107), (68,108), (68,111), (68,112), (68,115), (68,118), (69,70), (69,73), (69,75), (69,78), (69,80), (69,82), (69,83), (69,84), (69,88), (69,90), (69,91), (69,92), (69,94), (69,95), (69,99), (69,101), (69,104), (69,106), (69,108), (69,109), (69,110), (69,111), (69,112), (69,113), (69,115), (69,117), (69,119), (70,72), (70,74), (70,75), (70,76), (70,77), (70,78), (70,81), (70,82), (70,89), (70,90), (70,91), (70,92), (70,93), (70,97), (70,101), (70,102), (70,103), (70,109), (70,110), (70,111), (70,114), (70,116), (70,118), (70,119), (71,73), (71,74), (71,81), (71,85), (71,87), (71,88), (71,89), (71,91), (71,93), (71,94), (71,96), (71,100), (71,102), (71,106), (71,108), (71,109), (71,110), (71,112), (71,114), (71,116), (71,117), (71,118), (72,73), (72,74), (72,75), (72,77), (72,79), (72,80), (72,81), (72,82), (72,84), (72,88), (72,91), (72,93), (72,94), (72,95), (72,97), (72,98), (72,101), (72,103), (72,105), (72,109), (72,111), (72,112), (72,114), (72,115), (72,116), (72,117), (72,119), (73,75), (73,77), (73,81), (73,85), (73,87), (73,88), (73,91), (73,92), (73,93), (73,94), (73,97), (73,98), (73,99), (73,101), (73,102), (73,105), (73,107), (73,109), (73,110), (73,114), (73,115), (73,116), (73,118), (73,119), (74,75), (74,77), (74,79), (74,81), (74,83), (74,85), (74,87), (74,88), (74,93), (74,95), (74,100), (74,101), (74,104), (74,107), (74,109), (74,113), (74,115), (74,116), (74,117), (75,76), (75,77), (75,79), (75,80), (75,83), (75,84), (75,94), (75,97), (75,98), (75,104), (75,107), (75,109), (75,110), (75,111), (75,115), (75,117), (75,118), (75,119), (76,77), (76,79), (76,80), (76,81), (76,83), (76,85), (76,91), (76,93), (76,95), (76,96), (76,98), (76,101), (76,102), (76,103), (76,106), (76,111), (76,113), (76,115), (76,116), (76,118), (76,119), (77,79), (77,81), (77,83), (77,84), (77,85), (77,87), (77,88), (77,89), (77,90), (77,92), (77,93), (77,95), (77,99), (77,104), (77,105), (77,106), (77,107), (77,108), (77,109), (77,110), (77,111), (77,112), (77,113), (77,115), (77,117), (77,118), (78,79), (78,82), (78,84), (78,86), (78,88), (78,89), (78,91), (78,95), (78,97), (78,98), (78,99), (78,101), (78,106), (78,107), (78,110), (78,111), (78,112), (78,113), (78,115), (78,118), (78,119), (79,80), (79,81), (79,83), (79,84), (79,86), (79,88), (79,98), (79,101), (79,102), (79,103), (79,105), (79,108), (79,111), (79,112), (79,113), (79,115), (79,116), (80,81), (80,83), (80,85), (80,87), (80,88), (80,89), (80,92), (80,93), (80,94), (80,95), (80,97), (80,98), (80,99), (80,100), (80,101), (80,103), (80,107), (80,108), (80,109), (80,111), (80,115), (80,119), (81,82), (81,83), (81,84), (81,87), (81,88), (81,92), (81,94), (81,95), (81,96), (81,99), (81,100), (81,101), (81,103), (81,106), (81,108), (81,109), (81,112), (81,113), (81,115), (81,118), (82,83), (82,84), (82,86), (82,87), (82,88), (82,89), (82,91), (82,92), (82,93), (82,98), (82,99), (82,100), (82,102), (82,104), (82,106), (82,107), (82,111), (82,112), (82,113), (82,116), (82,117), (83,85), (83,86), (83,89), (83,90), (83,91), (83,96), (83,97), (83,99), (83,105), (83,106), (83,107), (83,108), (83,109), (83,110), (83,111), (83,115), (83,117), (83,118), (84,85), (84,86), (84,87), (84,91), (84,92), (84,94), (84,97), (84,99), (84,100), (84,101), (84,104), (84,105), (84,106), (84,108), (84,109), (84,110), (84,114), (84,116), (84,117), (84,118), (84,119), (85,87), (85,88), (85,90), (85,91), (85,93), (85,103), (85,107), (85,112), (85,113), (85,116), (85,117), (85,118), (86,87), (86,89), (86,91), (86,92), (86,93), (86,94), (86,95), (86,98), (86,99), (86,100), (86,101), (86,102), (86,103), (86,104), (86,107), (86,109), (86,110), (86,112), (86,113), (86,114), (86,116), (86,118), (86,119), (87,88), (87,90), (87,91), (87,92), (87,94), (87,96), (87,97), (87,99), (87,101), (87,102), (87,103), (87,104), (87,107), (87,113), (87,114), (87,116), (87,119), (88,89), (88,91), (88,93), (88,95), (88,96), (88,97), (88,98), (88,102), (88,103), (88,104), (88,106), (88,107), (88,109), (88,110), (88,111), (88,117), (88,118), (89,90), (89,91), (89,93), (89,97), (89,98), (89,100), (89,101), (89,102), (89,106), (89,108), (89,110), (89,112), (89,113), (89,114), (89,115), (89,116), (90,91), (90,93), (90,94), (90,95), (90,96), (90,97), (90,101), (90,102), (90,104), (90,105), (90,106), (90,110), (90,112), (90,113), (90,114), (90,115), (90,116), (90,119), (91,94), (91,95), (91,96), (91,97), (91,99), (91,103), (91,104), (91,106), (91,107), (91,108), (91,109), (91,110), (91,111), (91,113), (91,116), (91,119), (92,93), (92,95), (92,96), (92,101), (92,102), (92,103), (92,107), (92,109), (92,111), (92,113), (92,116), (93,96), (93,100), (93,101), (93,107), (93,109), (93,112), (93,115), (93,116), (94,96), (94,97), (94,101), (94,103), (94,104), (94,105), (94,107), (94,108), (94,109), (94,110), (94,111), (94,112), (94,116), (94,117), (95,96), (95,98), (95,99), (95,101), (95,102), (95,104), (95,106), (95,108), (95,109), (95,110), (95,114), (95,116), (95,117), (95,119), (96,97), (96,101), (96,103), (96,104), (96,108), (96,109), (96,116), (97,99), (97,106), (97,107), (97,108), (97,109), (97,110), (97,111), (97,113), (97,115), (97,116), (97,118), (98,100), (98,101), (98,102), (98,103), (98,105), (98,107), (98,109), (98,111), (98,112), (98,115), (98,119), (99,100), (99,101), (99,102), (99,103), (99,104), (99,105), (99,107), (99,108), (99,109), (99,112), (99,113), (99,114), (99,115), (99,117), (99,118), (99,119), (100,102), (100,104), (100,105), (100,106), (100,108), (100,109), (100,111), (100,113), (100,117), (100,118), (100,119), (101,103), (101,109), (101,111), (101,112), (101,115), (101,119), (102,104), (102,105), (102,107), (102,108), (102,109), (102,112), (102,114), (102,116), (102,118), (102,119), (103,104), (103,105), (103,106), (103,107), (103,108), (103,109), (103,110), (103,116), (103,117), (104,109), (104,112), (104,114), (104,117), (104,119), (105,106), (105,107), (105,108), (105,109), (105,110), (105,111), (105,114), (105,115), (105,116), (106,107), (106,109), (106,110), (106,111), (106,113), (106,114), (106,117), (106,118), (106,119), (107,108), (107,109), (107,110), (107,112), (107,113), (107,114), (107,115), (107,118), (108,112), (108,114), (108,116), (108,117), (108,118), (108,119), (109,110), (109,111), (109,112), (109,113), (109,115), (109,116), (109,117), (109,118), (110,111), (110,112), (110,113), (110,114), (110,115), (110,116), (110,117), (110,118), (110,119), (111,112), (111,113), (111,114), (111,116), (111,117), (111,119), (112,113), (112,114), (112,115), (112,116), (112,117), (112,119), (113,117), (113,118), (114,116), (114,118), (115,116), (115,117), (115,118), (116,117), (117,118), (118,119) + +Find a clique of size at least 13 in G: a set of at least 13 vertices that are pairwise adjacent. + +Answer format: {"clique": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-clique-l6-s4/solution/solve.sh b/tasks/construct-mc-max-clique-l6-s4/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..cafba0b8d1ae9077034698563b2bc7351f6489df --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s4/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [19, 29, 37, 43, 44, 52, 53, 57, 76, 80, 95, 98, 119]} +RLMATH_EOF diff --git a/tasks/construct-mc-max-clique-l6-s4/task.toml b/tasks/construct-mc-max-clique-l6-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..96022340f7f9af383b9bc8c54b90151a96f47955 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-clique-l6-s4" +version = "0.2.0" +description = "construct/mc_max_clique" +authors = [] +keywords = ["rlmath", "construct", "mc_max_clique"] + +[metadata] +subset = "construct" +family = "mc_max_clique" +problem_key = "graph_clique" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "MathConstraint/max_clique" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-clique-l6-s4/tests/check.py b/tasks/construct-mc-max-clique-l6-s4/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..e3f70dbd5b155a3514c2102aa4ad460201495210 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s4/tests/check.py @@ -0,0 +1,18 @@ +"""Clique of size >= k in a given graph (MathConstraint max_clique decision version, CC-BY-4.0).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("clique"), None, 0, n - 1, "clique") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) < k: + raise Invalid(f"clique has {len(S)} vertices, need at least {k}") + E = {(u, v) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(S), 2): + if (u, v) not in E: + raise Invalid(f"vertices {u} and {v} are not adjacent") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-max-clique-l6-s4/tests/instance.json b/tasks/construct-mc-max-clique-l6-s4/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..13b2dcde91598e584c81d1cbef19ad25c41658f5 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s4/tests/instance.json @@ -0,0 +1 @@ +{"n": 120, "k": 13, "edges": [[0, 1], [0, 2], [0, 4], [0, 5], [0, 6], [0, 8], [0, 13], [0, 19], [0, 21], [0, 23], [0, 25], [0, 26], [0, 27], [0, 29], [0, 30], [0, 34], [0, 36], [0, 38], [0, 40], [0, 41], [0, 44], [0, 49], [0, 50], [0, 51], [0, 53], [0, 54], [0, 58], [0, 60], [0, 61], [0, 62], [0, 63], [0, 65], [0, 67], [0, 68], [0, 69], [0, 71], [0, 72], [0, 73], [0, 76], [0, 77], [0, 78], [0, 80], [0, 81], [0, 85], [0, 86], [0, 87], [0, 89], [0, 90], [0, 96], [0, 99], [0, 103], [0, 105], [0, 108], [0, 112], [0, 114], [0, 115], [0, 119], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 14], [1, 15], [1, 16], [1, 20], [1, 21], [1, 24], [1, 25], [1, 26], [1, 27], [1, 28], [1, 31], [1, 32], [1, 33], [1, 37], [1, 38], [1, 40], [1, 42], [1, 45], [1, 47], [1, 49], [1, 51], [1, 52], [1, 54], [1, 55], [1, 56], [1, 57], [1, 62], [1, 64], [1, 66], [1, 68], [1, 70], [1, 71], [1, 74], [1, 76], [1, 77], [1, 78], [1, 79], [1, 81], [1, 82], [1, 83], [1, 84], [1, 88], [1, 89], [1, 92], [1, 93], [1, 94], [1, 97], [1, 100], [1, 101], [1, 102], [1, 104], [1, 107], [1, 109], [1, 112], [1, 114], [1, 115], [1, 119], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [2, 9], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 16], [2, 20], [2, 21], [2, 22], [2, 24], [2, 25], [2, 26], [2, 27], [2, 29], [2, 31], [2, 35], [2, 36], [2, 38], [2, 39], [2, 40], [2, 43], [2, 44], [2, 46], [2, 47], [2, 48], [2, 49], [2, 51], [2, 52], [2, 54], [2, 56], [2, 58], [2, 59], [2, 63], [2, 64], [2, 65], [2, 69], [2, 71], [2, 73], [2, 76], [2, 78], [2, 81], [2, 82], [2, 83], [2, 84], [2, 85], [2, 86], [2, 88], [2, 90], [2, 92], [2, 99], [2, 101], [2, 103], [2, 105], [2, 106], [2, 107], [2, 108], [2, 109], [2, 112], [2, 113], [2, 114], [2, 116], [2, 119], [3, 4], [3, 9], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 20], [3, 21], [3, 22], [3, 23], [3, 27], [3, 28], [3, 29], [3, 31], [3, 33], [3, 34], [3, 37], [3, 38], [3, 43], [3, 45], [3, 46], [3, 48], [3, 49], [3, 51], [3, 53], [3, 54], [3, 56], [3, 59], [3, 61], [3, 62], [3, 63], [3, 64], [3, 66], [3, 67], [3, 69], [3, 70], [3, 72], [3, 76], [3, 78], [3, 79], [3, 80], [3, 82], [3, 83], [3, 90], [3, 91], [3, 98], [3, 99], [3, 100], [3, 104], [3, 110], [3, 112], [3, 115], [3, 116], [3, 117], [4, 5], [4, 12], [4, 14], [4, 16], [4, 17], [4, 18], [4, 22], [4, 23], [4, 25], [4, 29], [4, 33], [4, 34], [4, 35], [4, 36], [4, 38], [4, 39], [4, 41], [4, 42], [4, 43], [4, 45], [4, 47], [4, 53], [4, 56], [4, 57], [4, 59], [4, 60], [4, 61], [4, 62], [4, 65], [4, 66], [4, 69], [4, 70], [4, 72], [4, 73], [4, 74], [4, 75], [4, 80], [4, 83], [4, 87], [4, 89], [4, 90], [4, 91], [4, 92], [4, 93], [4, 94], [4, 97], [4, 98], [4, 99], [4, 101], [4, 102], [4, 104], [4, 108], [4, 109], [4, 111], [4, 113], [4, 114], [4, 115], [4, 119], [5, 7], [5, 10], [5, 11], [5, 13], [5, 15], [5, 17], [5, 19], [5, 20], [5, 25], [5, 26], [5, 27], [5, 32], [5, 38], [5, 39], [5, 40], [5, 41], [5, 42], [5, 43], [5, 45], [5, 48], [5, 49], [5, 50], [5, 54], [5, 56], [5, 59], [5, 60], [5, 61], [5, 62], [5, 63], [5, 64], [5, 66], [5, 69], [5, 71], [5, 73], [5, 75], [5, 76], [5, 77], [5, 80], [5, 85], [5, 87], [5, 88], [5, 93], [5, 95], [5, 96], [5, 101], [5, 103], [5, 105], [5, 106], [5, 109], [5, 110], [5, 111], [5, 115], [5, 118], [6, 10], [6, 11], [6, 12], [6, 13], [6, 15], [6, 17], [6, 18], [6, 19], [6, 20], [6, 21], [6, 24], [6, 25], [6, 29], [6, 31], [6, 33], [6, 36], [6, 37], [6, 40], [6, 44], [6, 47], [6, 49], [6, 52], [6, 54], [6, 56], [6, 57], [6, 58], [6, 59], [6, 65], [6, 66], [6, 68], [6, 70], [6, 72], [6, 74], [6, 75], [6, 76], [6, 77], [6, 78], [6, 79], [6, 81], [6, 82], [6, 84], [6, 88], [6, 90], [6, 91], [6, 92], [6, 97], [6, 98], [6, 99], [6, 101], [6, 102], [6, 103], [6, 105], [6, 108], [6, 110], [6, 114], [6, 116], [6, 119], [7, 8], [7, 11], [7, 14], [7, 15], [7, 16], [7, 22], [7, 23], [7, 24], [7, 25], [7, 27], [7, 29], [7, 31], [7, 34], [7, 35], [7, 36], [7, 39], [7, 40], [7, 43], [7, 44], [7, 48], [7, 50], [7, 51], [7, 52], [7, 56], [7, 60], [7, 62], [7, 65], [7, 67], [7, 72], [7, 74], [7, 75], [7, 76], [7, 81], [7, 83], [7, 86], [7, 89], [7, 92], [7, 93], [7, 95], [7, 96], [7, 97], [7, 98], [7, 100], [7, 102], [7, 104], [7, 105], [7, 109], [7, 110], [7, 111], [7, 112], [7, 113], [7, 116], [7, 117], [7, 119], [8, 11], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 18], [8, 21], [8, 22], [8, 29], [8, 30], [8, 35], [8, 41], [8, 44], [8, 45], [8, 47], [8, 48], [8, 51], [8, 52], [8, 55], [8, 56], [8, 57], [8, 63], [8, 66], [8, 67], [8, 74], [8, 75], [8, 79], [8, 80], [8, 83], [8, 85], [8, 86], [8, 87], [8, 88], [8, 89], [8, 90], [8, 93], [8, 108], [8, 109], [8, 111], [8, 112], [8, 113], [8, 117], [8, 118], [8, 119], [9, 10], [9, 11], [9, 14], [9, 15], [9, 18], [9, 20], [9, 21], [9, 23], [9, 25], [9, 28], [9, 29], [9, 30], [9, 35], [9, 36], [9, 38], [9, 39], [9, 41], [9, 43], [9, 46], [9, 49], [9, 51], [9, 52], [9, 55], [9, 56], [9, 58], [9, 60], [9, 61], [9, 63], [9, 67], [9, 68], [9, 71], [9, 72], [9, 75], [9, 79], [9, 80], [9, 82], [9, 83], [9, 84], [9, 87], [9, 89], [9, 95], [9, 98], [9, 99], [9, 102], [9, 103], [9, 105], [9, 106], [9, 107], [9, 108], [9, 110], [9, 111], [9, 113], [9, 114], [9, 115], [9, 116], [9, 117], [9, 118], [9, 119], [10, 11], [10, 12], [10, 13], [10, 15], [10, 23], [10, 24], [10, 25], [10, 26], [10, 29], [10, 31], [10, 34], [10, 35], [10, 40], [10, 43], [10, 44], [10, 47], [10, 48], [10, 51], [10, 53], [10, 55], [10, 56], [10, 60], [10, 61], [10, 65], [10, 66], [10, 67], [10, 68], [10, 70], [10, 72], [10, 73], [10, 74], [10, 77], [10, 78], [10, 79], [10, 80], [10, 81], [10, 84], [10, 87], [10, 88], [10, 89], [10, 91], [10, 93], [10, 96], [10, 98], [10, 102], [10, 103], [10, 105], [10, 106], [10, 108], [10, 109], [10, 113], [10, 115], [10, 116], [10, 118], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 20], [11, 24], [11, 27], [11, 29], [11, 30], [11, 31], [11, 33], [11, 36], [11, 37], [11, 38], [11, 43], [11, 49], [11, 51], [11, 53], [11, 54], [11, 59], [11, 60], [11, 62], [11, 67], [11, 68], [11, 69], [11, 70], [11, 71], [11, 72], [11, 73], [11, 75], [11, 76], [11, 77], [11, 78], [11, 82], [11, 83], [11, 84], [11, 87], [11, 89], [11, 90], [11, 91], [11, 92], [11, 95], [11, 97], [11, 98], [11, 99], [11, 101], [11, 102], [11, 104], [11, 105], [11, 107], [11, 108], [11, 109], [11, 114], [12, 14], [12, 18], [12, 21], [12, 22], [12, 24], [12, 25], [12, 28], [12, 30], [12, 32], [12, 33], [12, 40], [12, 42], [12, 43], [12, 45], [12, 49], [12, 51], [12, 53], [12, 55], [12, 56], [12, 57], [12, 61], [12, 65], [12, 68], [12, 72], [12, 73], [12, 75], [12, 77], [12, 78], [12, 79], [12, 80], [12, 81], [12, 83], [12, 84], [12, 91], [12, 92], [12, 94], [12, 95], [12, 100], [12, 101], [12, 102], [12, 103], [12, 106], [12, 109], [12, 111], [12, 112], [12, 114], [12, 116], [13, 15], [13, 18], [13, 21], [13, 22], [13, 26], [13, 27], [13, 30], [13, 31], [13, 36], [13, 38], [13, 39], [13, 40], [13, 41], [13, 44], [13, 46], [13, 49], [13, 50], [13, 56], [13, 59], [13, 60], [13, 61], [13, 62], [13, 63], [13, 65], [13, 68], [13, 70], [13, 71], [13, 73], [13, 76], [13, 77], [13, 78], [13, 79], [13, 88], [13, 89], [13, 90], [13, 93], [13, 95], [13, 97], [13, 99], [13, 100], [13, 103], [13, 105], [13, 106], [13, 107], [13, 108], [13, 112], [13, 113], [13, 114], [13, 115], [13, 117], [13, 119], [14, 17], [14, 19], [14, 20], [14, 21], [14, 24], [14, 26], [14, 27], [14, 29], [14, 33], [14, 35], [14, 36], [14, 39], [14, 40], [14, 47], [14, 49], [14, 50], [14, 51], [14, 56], [14, 57], [14, 62], [14, 63], [14, 65], [14, 66], [14, 67], [14, 68], [14, 72], [14, 78], [14, 79], [14, 80], [14, 81], [14, 82], [14, 85], [14, 87], [14, 88], [14, 89], [14, 92], [14, 94], [14, 95], [14, 96], [14, 97], [14, 98], [14, 103], [14, 104], [14, 105], [14, 107], [14, 109], [14, 113], [14, 114], [14, 115], [14, 116], [15, 16], [15, 17], [15, 18], [15, 21], [15, 23], [15, 25], [15, 26], [15, 30], [15, 31], [15, 34], [15, 36], [15, 37], [15, 40], [15, 41], [15, 45], [15, 48], [15, 49], [15, 50], [15, 51], [15, 52], [15, 55], [15, 59], [15, 63], [15, 64], [15, 65], [15, 67], [15, 68], [15, 75], [15, 78], [15, 79], [15, 81], [15, 82], [15, 87], [15, 88], [15, 90], [15, 92], [15, 93], [15, 96], [15, 97], [15, 98], [15, 103], [15, 105], [15, 106], [15, 107], [15, 109], [15, 113], [15, 114], [15, 117], [15, 119], [16, 17], [16, 19], [16, 20], [16, 23], [16, 24], [16, 25], [16, 27], [16, 30], [16, 32], [16, 39], [16, 40], [16, 41], [16, 42], [16, 43], [16, 44], [16, 45], [16, 47], [16, 52], [16, 53], [16, 56], [16, 61], [16, 65], [16, 68], [16, 69], [16, 70], [16, 72], [16, 73], [16, 74], [16, 76], [16, 77], [16, 79], [16, 84], [16, 85], [16, 86], [16, 89], [16, 90], [16, 91], [16, 92], [16, 94], [16, 95], [16, 97], [16, 98], [16, 99], [16, 100], [16, 101], [16, 102], [16, 103], [16, 104], [16, 109], [16, 110], [16, 111], [16, 112], [16, 114], [16, 118], [16, 119], [17, 19], [17, 22], [17, 23], [17, 24], [17, 25], [17, 26], [17, 28], [17, 29], [17, 30], [17, 31], [17, 32], [17, 34], [17, 35], [17, 38], [17, 39], [17, 42], [17, 44], [17, 45], [17, 47], [17, 48], [17, 49], [17, 53], [17, 55], [17, 56], [17, 60], [17, 63], [17, 64], [17, 74], [17, 76], [17, 77], [17, 78], [17, 79], [17, 80], [17, 82], [17, 84], [17, 85], [17, 88], [17, 91], [17, 93], [17, 94], [17, 95], [17, 97], [17, 98], [17, 101], [17, 102], [17, 108], [17, 109], [17, 110], [17, 111], [17, 113], [17, 115], [17, 116], [17, 117], [18, 19], [18, 22], [18, 23], [18, 25], [18, 27], [18, 31], [18, 33], [18, 34], [18, 35], [18, 36], [18, 38], [18, 39], [18, 40], [18, 41], [18, 42], [18, 43], [18, 47], [18, 48], [18, 49], [18, 51], [18, 54], [18, 55], [18, 58], [18, 61], [18, 63], [18, 68], [18, 72], [18, 73], [18, 77], [18, 80], [18, 82], [18, 83], [18, 85], [18, 86], [18, 87], [18, 88], [18, 90], [18, 91], [18, 93], [18, 94], [18, 98], [18, 99], [18, 100], [18, 106], [18, 109], [18, 110], [18, 111], [18, 112], [18, 113], [18, 117], [18, 118], [19, 21], [19, 23], [19, 24], [19, 25], [19, 26], [19, 28], [19, 29], [19, 31], [19, 33], [19, 37], [19, 40], [19, 41], [19, 42], [19, 43], [19, 44], [19, 49], [19, 52], [19, 53], [19, 56], [19, 57], [19, 59], [19, 63], [19, 64], [19, 65], [19, 66], [19, 68], [19, 69], [19, 70], [19, 71], [19, 72], [19, 73], [19, 76], [19, 80], [19, 81], [19, 83], [19, 84], [19, 85], [19, 90], [19, 93], [19, 95], [19, 97], [19, 98], [19, 99], [19, 102], [19, 103], [19, 105], [19, 106], [19, 107], [19, 109], [19, 110], [19, 111], [19, 112], [19, 113], [19, 114], [19, 115], [19, 116], [19, 119], [20, 21], [20, 22], [20, 24], [20, 26], [20, 27], [20, 29], [20, 32], [20, 35], [20, 38], [20, 45], [20, 47], [20, 48], [20, 49], [20, 51], [20, 53], [20, 56], [20, 57], [20, 58], [20, 61], [20, 64], [20, 68], [20, 69], [20, 70], [20, 72], [20, 73], [20, 76], [20, 78], [20, 79], [20, 80], [20, 88], [20, 89], [20, 91], [20, 93], [20, 97], [20, 101], [20, 102], [20, 105], [20, 108], [20, 109], [20, 112], [20, 113], [20, 119], [21, 23], [21, 24], [21, 28], [21, 30], [21, 31], [21, 32], [21, 34], [21, 35], [21, 36], [21, 37], [21, 39], [21, 43], [21, 45], [21, 46], [21, 47], [21, 48], [21, 56], [21, 58], [21, 65], [21, 67], [21, 68], [21, 69], [21, 70], [21, 71], [21, 74], [21, 76], [21, 77], [21, 79], [21, 83], [21, 84], [21, 88], [21, 96], [21, 97], [21, 99], [21, 100], [21, 101], [21, 103], [21, 104], [21, 105], [21, 106], [21, 110], [21, 111], [21, 112], [21, 113], [21, 116], [21, 118], [22, 24], [22, 25], [22, 27], [22, 30], [22, 33], [22, 34], [22, 35], [22, 36], [22, 40], [22, 42], [22, 45], [22, 48], [22, 50], [22, 51], [22, 59], [22, 61], [22, 62], [22, 63], [22, 64], [22, 69], [22, 71], [22, 72], [22, 73], [22, 74], [22, 76], [22, 77], [22, 78], [22, 79], [22, 80], [22, 81], [22, 84], [22, 86], [22, 87], [22, 89], [22, 92], [22, 96], [22, 97], [22, 98], [22, 104], [22, 106], [22, 108], [22, 110], [22, 111], [22, 112], [22, 113], [22, 114], [22, 115], [22, 118], [23, 24], [23, 26], [23, 27], [23, 28], [23, 29], [23, 32], [23, 35], [23, 37], [23, 38], [23, 40], [23, 42], [23, 46], [23, 47], [23, 48], [23, 49], [23, 50], [23, 52], [23, 54], [23, 55], [23, 56], [23, 57], [23, 58], [23, 60], [23, 62], [23, 67], [23, 71], [23, 73], [23, 75], [23, 77], [23, 78], [23, 79], [23, 83], [23, 87], [23, 89], [23, 91], [23, 93], [23, 99], [23, 100], [23, 101], [23, 105], [23, 107], [23, 108], [23, 110], [23, 115], [23, 117], [23, 118], [23, 119], [24, 25], [24, 26], [24, 27], [24, 29], [24, 32], [24, 33], [24, 34], [24, 38], [24, 39], [24, 41], [24, 46], [24, 51], [24, 52], [24, 56], [24, 57], [24, 58], [24, 60], [24, 62], [24, 65], [24, 69], [24, 71], [24, 72], [24, 74], [24, 75], [24, 76], [24, 78], [24, 82], [24, 83], [24, 85], [24, 87], [24, 88], [24, 96], [24, 97], [24, 98], [24, 99], [24, 100], [24, 101], [24, 104], [24, 108], [24, 110], [24, 111], [24, 114], [24, 116], [24, 117], [24, 118], [25, 26], [25, 27], [25, 30], [25, 31], [25, 32], [25, 33], [25, 37], [25, 38], [25, 41], [25, 43], [25, 45], [25, 46], [25, 48], [25, 49], [25, 50], [25, 51], [25, 53], [25, 56], [25, 58], [25, 60], [25, 61], [25, 62], [25, 63], [25, 64], [25, 66], [25, 69], [25, 70], [25, 71], [25, 75], [25, 77], [25, 79], [25, 82], [25, 83], [25, 84], [25, 85], [25, 88], [25, 89], [25, 92], [25, 96], [25, 99], [25, 105], [25, 107], [25, 110], [25, 111], [25, 113], [25, 114], [25, 116], [25, 117], [25, 118], [25, 119], [26, 27], [26, 29], [26, 32], [26, 36], [26, 38], [26, 41], [26, 45], [26, 46], [26, 50], [26, 51], [26, 52], [26, 53], [26, 56], [26, 63], [26, 65], [26, 67], [26, 68], [26, 71], [26, 73], [26, 74], [26, 75], [26, 76], [26, 80], [26, 82], [26, 84], [26, 86], [26, 87], [26, 88], [26, 89], [26, 90], [26, 93], [26, 95], [26, 96], [26, 98], [26, 99], [26, 100], [26, 107], [26, 108], [26, 109], [26, 110], [26, 111], [26, 113], [26, 114], [26, 115], [26, 117], [27, 28], [27, 29], [27, 30], [27, 31], [27, 33], [27, 35], [27, 36], [27, 37], [27, 38], [27, 42], [27, 44], [27, 48], [27, 50], [27, 52], [27, 55], [27, 56], [27, 62], [27, 63], [27, 67], [27, 68], [27, 73], [27, 76], [27, 78], [27, 80], [27, 82], [27, 85], [27, 89], [27, 92], [27, 94], [27, 97], [27, 98], [27, 100], [27, 101], [27, 107], [27, 108], [27, 109], [27, 110], [27, 111], [27, 112], [27, 113], [27, 117], [27, 118], [28, 29], [28, 33], [28, 34], [28, 35], [28, 36], [28, 38], [28, 40], [28, 42], [28, 44], [28, 45], [28, 48], [28, 50], [28, 54], [28, 55], [28, 56], [28, 57], [28, 58], [28, 59], [28, 60], [28, 61], [28, 64], [28, 66], [28, 67], [28, 68], [28, 73], [28, 74], [28, 78], [28, 79], [28, 80], [28, 81], [28, 82], [28, 87], [28, 90], [28, 91], [28, 92], [28, 93], [28, 94], [28, 95], [28, 96], [28, 100], [28, 101], [28, 102], [28, 106], [28, 108], [28, 109], [28, 110], [28, 111], [28, 112], [28, 113], [28, 114], [28, 115], [28, 116], [28, 118], [28, 119], [29, 31], [29, 34], [29, 35], [29, 37], [29, 38], [29, 40], [29, 41], [29, 43], [29, 44], [29, 48], [29, 49], [29, 50], [29, 51], [29, 52], [29, 53], [29, 55], [29, 56], [29, 57], [29, 59], [29, 60], [29, 61], [29, 63], [29, 65], [29, 66], [29, 67], [29, 70], [29, 71], [29, 72], [29, 76], [29, 78], [29, 79], [29, 80], [29, 82], [29, 86], [29, 87], [29, 89], [29, 90], [29, 91], [29, 92], [29, 94], [29, 95], [29, 97], [29, 98], [29, 99], [29, 101], [29, 103], [29, 104], [29, 105], [29, 106], [29, 108], [29, 110], [29, 112], [29, 113], [29, 115], [29, 116], [29, 117], [29, 118], [29, 119], [30, 31], [30, 33], [30, 40], [30, 41], [30, 42], [30, 43], [30, 46], [30, 48], [30, 49], [30, 50], [30, 53], [30, 54], [30, 56], [30, 58], [30, 59], [30, 60], [30, 61], [30, 65], [30, 66], [30, 67], [30, 68], [30, 69], [30, 70], [30, 71], [30, 73], [30, 74], [30, 79], [30, 81], [30, 82], [30, 84], [30, 86], [30, 87], [30, 88], [30, 89], [30, 90], [30, 91], [30, 92], [30, 94], [30, 96], [30, 97], [30, 98], [30, 100], [30, 103], [30, 106], [30, 109], [30, 110], [30, 112], [30, 114], [30, 115], [30, 118], [30, 119], [31, 32], [31, 35], [31, 36], [31, 40], [31, 41], [31, 44], [31, 45], [31, 48], [31, 49], [31, 50], [31, 51], [31, 54], [31, 56], [31, 58], [31, 59], [31, 61], [31, 63], [31, 64], [31, 65], [31, 67], [31, 68], [31, 69], [31, 73], [31, 74], [31, 77], [31, 80], [31, 81], [31, 83], [31, 84], [31, 86], [31, 88], [31, 89], [31, 93], [31, 94], [31, 95], [31, 97], [31, 99], [31, 100], [31, 101], [31, 102], [31, 108], [31, 109], [31, 110], [31, 112], [31, 113], [31, 115], [31, 117], [31, 118], [32, 35], [32, 36], [32, 44], [32, 46], [32, 47], [32, 48], [32, 50], [32, 53], [32, 54], [32, 55], [32, 57], [32, 58], [32, 59], [32, 61], [32, 62], [32, 65], [32, 66], [32, 67], [32, 72], [32, 73], [32, 75], [32, 76], [32, 77], [32, 78], [32, 79], [32, 80], [32, 88], [32, 90], [32, 91], [32, 92], [32, 94], [32, 95], [32, 99], [32, 100], [32, 103], [32, 104], [32, 108], [32, 109], [32, 110], [32, 112], [32, 114], [32, 117], [32, 118], [32, 119], [33, 34], [33, 39], [33, 40], [33, 43], [33, 45], [33, 47], [33, 48], [33, 52], [33, 53], [33, 54], [33, 55], [33, 59], [33, 61], [33, 62], [33, 63], [33, 64], [33, 67], [33, 68], [33, 69], [33, 70], [33, 71], [33, 72], [33, 75], [33, 77], [33, 78], [33, 80], [33, 82], [33, 85], [33, 86], [33, 87], [33, 88], [33, 90], [33, 92], [33, 93], [33, 94], [33, 95], [33, 96], [33, 97], [33, 100], [33, 102], [33, 103], [33, 104], [33, 110], [33, 114], [33, 116], [33, 117], [33, 118], [34, 39], [34, 43], [34, 44], [34, 45], [34, 48], [34, 49], [34, 50], [34, 51], [34, 53], [34, 55], [34, 56], [34, 57], [34, 58], [34, 59], [34, 60], [34, 61], [34, 64], [34, 65], [34, 66], [34, 68], [34, 75], [34, 76], [34, 78], [34, 79], [34, 81], [34, 83], [34, 84], [34, 87], [34, 91], [34, 92], [34, 99], [34, 102], [34, 103], [34, 105], [34, 108], [34, 109], [34, 114], [34, 117], [34, 118], [34, 119], [35, 37], [35, 38], [35, 40], [35, 41], [35, 42], [35, 44], [35, 45], [35, 47], [35, 48], [35, 49], [35, 50], [35, 51], [35, 52], [35, 53], [35, 54], [35, 57], [35, 59], [35, 60], [35, 62], [35, 65], [35, 66], [35, 68], [35, 69], [35, 70], [35, 72], [35, 73], [35, 75], [35, 76], [35, 80], [35, 82], [35, 84], [35, 87], [35, 88], [35, 89], [35, 90], [35, 91], [35, 93], [35, 94], [35, 95], [35, 96], [35, 97], [35, 98], [35, 100], [35, 102], [35, 103], [35, 105], [35, 108], [35, 112], [35, 114], [35, 117], [35, 118], [35, 119], [36, 39], [36, 41], [36, 44], [36, 45], [36, 46], [36, 48], [36, 50], [36, 53], [36, 56], [36, 57], [36, 58], [36, 60], [36, 61], [36, 63], [36, 64], [36, 67], [36, 69], [36, 70], [36, 72], [36, 75], [36, 76], [36, 78], [36, 81], [36, 86], [36, 87], [36, 90], [36, 91], [36, 92], [36, 93], [36, 95], [36, 100], [36, 105], [36, 106], [36, 107], [36, 108], [36, 109], [36, 111], [36, 112], [36, 114], [36, 117], [36, 119], [37, 38], [37, 39], [37, 40], [37, 43], [37, 44], [37, 45], [37, 46], [37, 47], [37, 48], [37, 51], [37, 52], [37, 53], [37, 54], [37, 55], [37, 56], [37, 57], [37, 58], [37, 60], [37, 65], [37, 68], [37, 69], [37, 71], [37, 72], [37, 73], [37, 76], [37, 78], [37, 79], [37, 80], [37, 81], [37, 86], [37, 88], [37, 89], [37, 91], [37, 93], [37, 94], [37, 95], [37, 96], [37, 97], [37, 98], [37, 99], [37, 100], [37, 101], [37, 102], [37, 103], [37, 112], [37, 114], [37, 115], [37, 116], [37, 117], [37, 118], [37, 119], [38, 39], [38, 41], [38, 44], [38, 46], [38, 47], [38, 49], [38, 51], [38, 52], [38, 54], [38, 55], [38, 58], [38, 62], [38, 64], [38, 65], [38, 66], [38, 71], [38, 72], [38, 74], [38, 77], [38, 80], [38, 81], [38, 84], [38, 88], [38, 92], [38, 93], [38, 97], [38, 98], [38, 100], [38, 101], [38, 102], [38, 105], [38, 109], [38, 111], [38, 112], [38, 113], [38, 114], [38, 115], [39, 42], [39, 44], [39, 46], [39, 47], [39, 51], [39, 53], [39, 54], [39, 55], [39, 61], [39, 62], [39, 66], [39, 67], [39, 68], [39, 69], [39, 71], [39, 73], [39, 74], [39, 75], [39, 76], [39, 77], [39, 80], [39, 81], [39, 82], [39, 83], [39, 84], [39, 88], [39, 90], [39, 91], [39, 92], [39, 93], [39, 94], [39, 96], [39, 98], [39, 99], [39, 102], [39, 103], [39, 106], [39, 108], [39, 112], [39, 114], [39, 116], [39, 117], [39, 118], [39, 119], [40, 41], [40, 42], [40, 43], [40, 46], [40, 48], [40, 49], [40, 51], [40, 52], [40, 53], [40, 54], [40, 55], [40, 56], [40, 59], [40, 63], [40, 67], [40, 68], [40, 69], [40, 72], [40, 74], [40, 76], [40, 77], [40, 78], [40, 79], [40, 80], [40, 81], [40, 82], [40, 84], [40, 85], [40, 86], [40, 89], [40, 93], [40, 96], [40, 99], [40, 101], [40, 104], [40, 105], [40, 106], [40, 108], [40, 109], [40, 110], [40, 111], [40, 112], [40, 113], [40, 114], [40, 117], [41, 42], [41, 43], [41, 47], [41, 48], [41, 53], [41, 57], [41, 58], [41, 59], [41, 63], [41, 67], [41, 69], [41, 72], [41, 75], [41, 76], [41, 77], [41, 79], [41, 80], [41, 81], [41, 84], [41, 87], [41, 89], [41, 91], [41, 92], [41, 95], [41, 97], [41, 98], [41, 99], [41, 100], [41, 102], [41, 104], [41, 109], [41, 111], [41, 115], [41, 118], [41, 119], [42, 44], [42, 46], [42, 48], [42, 50], [42, 53], [42, 54], [42, 56], [42, 58], [42, 61], [42, 62], [42, 63], [42, 66], [42, 68], [42, 69], [42, 70], [42, 74], [42, 75], [42, 76], [42, 77], [42, 79], [42, 80], [42, 81], [42, 82], [42, 85], [42, 87], [42, 90], [42, 91], [42, 96], [42, 98], [42, 101], [42, 102], [42, 103], [42, 105], [42, 106], [42, 107], [42, 108], [42, 109], [42, 111], [42, 112], [42, 113], [42, 114], [42, 115], [42, 117], [42, 118], [43, 44], [43, 45], [43, 47], [43, 49], [43, 51], [43, 52], [43, 53], [43, 54], [43, 56], [43, 57], [43, 58], [43, 60], [43, 61], [43, 63], [43, 66], [43, 68], [43, 71], [43, 74], [43, 75], [43, 76], [43, 78], [43, 80], [43, 82], [43, 84], [43, 85], [43, 88], [43, 89], [43, 93], [43, 94], [43, 95], [43, 96], [43, 97], [43, 98], [43, 100], [43, 102], [43, 104], [43, 106], [43, 108], [43, 111], [43, 114], [43, 117], [43, 118], [43, 119], [44, 45], [44, 46], [44, 49], [44, 50], [44, 51], [44, 52], [44, 53], [44, 57], [44, 58], [44, 63], [44, 64], [44, 66], [44, 71], [44, 73], [44, 76], [44, 80], [44, 84], [44, 85], [44, 86], [44, 87], [44, 88], [44, 91], [44, 92], [44, 94], [44, 95], [44, 97], [44, 98], [44, 99], [44, 101], [44, 103], [44, 104], [44, 105], [44, 108], [44, 109], [44, 111], [44, 114], [44, 115], [44, 116], [44, 118], [44, 119], [45, 46], [45, 47], [45, 48], [45, 50], [45, 51], [45, 53], [45, 54], [45, 58], [45, 59], [45, 60], [45, 61], [45, 64], [45, 66], [45, 70], [45, 71], [45, 72], [45, 73], [45, 79], [45, 81], [45, 82], [45, 84], [45, 86], [45, 87], [45, 89], [45, 91], [45, 92], [45, 93], [45, 95], [45, 96], [45, 103], [45, 107], [45, 110], [45, 113], [45, 117], [45, 118], [46, 47], [46, 49], [46, 50], [46, 51], [46, 52], [46, 55], [46, 57], [46, 59], [46, 60], [46, 61], [46, 62], [46, 63], [46, 65], [46, 66], [46, 67], [46, 68], [46, 69], [46, 71], [46, 72], [46, 74], [46, 76], [46, 78], [46, 80], [46, 82], [46, 84], [46, 85], [46, 88], [46, 90], [46, 91], [46, 93], [46, 95], [46, 100], [46, 102], [46, 103], [46, 105], [46, 106], [46, 107], [46, 112], [46, 114], [46, 116], [46, 117], [46, 118], [46, 119], [47, 48], [47, 54], [47, 59], [47, 62], [47, 65], [47, 68], [47, 69], [47, 70], [47, 75], [47, 78], [47, 79], [47, 80], [47, 81], [47, 82], [47, 83], [47, 84], [47, 86], [47, 88], [47, 89], [47, 92], [47, 93], [47, 97], [47, 98], [47, 100], [47, 105], [47, 108], [47, 110], [47, 111], [47, 112], [47, 116], [47, 117], [47, 119], [48, 51], [48, 52], [48, 54], [48, 55], [48, 57], [48, 58], [48, 59], [48, 60], [48, 62], [48, 68], [48, 69], [48, 70], [48, 72], [48, 78], [48, 80], [48, 81], [48, 83], [48, 85], [48, 92], [48, 93], [48, 98], [48, 99], [48, 102], [48, 103], [48, 107], [48, 108], [48, 110], [48, 111], [48, 116], [48, 117], [48, 118], [49, 55], [49, 57], [49, 58], [49, 59], [49, 61], [49, 68], [49, 69], [49, 70], [49, 72], [49, 77], [49, 79], [49, 81], [49, 82], [49, 83], [49, 86], [49, 90], [49, 92], [49, 94], [49, 98], [49, 100], [49, 102], [49, 103], [49, 104], [49, 106], [49, 108], [49, 110], [49, 111], [49, 112], [49, 113], [49, 116], [49, 117], [49, 119], [50, 52], [50, 53], [50, 55], [50, 57], [50, 60], [50, 62], [50, 63], [50, 64], [50, 65], [50, 69], [50, 70], [50, 73], [50, 77], [50, 81], [50, 83], [50, 84], [50, 88], [50, 91], [50, 92], [50, 94], [50, 95], [50, 97], [50, 99], [50, 101], [50, 103], [50, 105], [50, 107], [50, 108], [50, 109], [50, 111], [50, 112], [50, 115], [50, 117], [50, 118], [50, 119], [51, 52], [51, 53], [51, 54], [51, 55], [51, 56], [51, 57], [51, 58], [51, 62], [51, 63], [51, 65], [51, 66], [51, 68], [51, 69], [51, 70], [51, 78], [51, 81], [51, 82], [51, 83], [51, 87], [51, 88], [51, 96], [51, 97], [51, 98], [51, 101], [51, 103], [51, 104], [51, 106], [51, 107], [51, 108], [51, 109], [51, 111], [51, 113], [51, 114], [51, 115], [51, 117], [51, 119], [52, 53], [52, 55], [52, 56], [52, 57], [52, 59], [52, 60], [52, 63], [52, 64], [52, 65], [52, 68], [52, 69], [52, 70], [52, 71], [52, 72], [52, 74], [52, 75], [52, 76], [52, 78], [52, 79], [52, 80], [52, 82], [52, 84], [52, 85], [52, 87], [52, 90], [52, 92], [52, 93], [52, 94], [52, 95], [52, 96], [52, 98], [52, 102], [52, 103], [52, 105], [52, 107], [52, 108], [52, 112], [52, 114], [52, 115], [52, 116], [52, 119], [53, 56], [53, 57], [53, 61], [53, 62], [53, 63], [53, 64], [53, 66], [53, 68], [53, 72], [53, 74], [53, 75], [53, 76], [53, 78], [53, 80], [53, 81], [53, 82], [53, 84], [53, 85], [53, 86], [53, 87], [53, 91], [53, 92], [53, 93], [53, 94], [53, 95], [53, 98], [53, 99], [53, 104], [53, 105], [53, 107], [53, 112], [53, 115], [53, 116], [53, 119], [54, 55], [54, 56], [54, 58], [54, 61], [54, 65], [54, 66], [54, 69], [54, 71], [54, 73], [54, 76], [54, 78], [54, 81], [54, 82], [54, 83], [54, 84], [54, 85], [54, 89], [54, 90], [54, 91], [54, 96], [54, 98], [54, 100], [54, 101], [54, 102], [54, 103], [54, 105], [54, 106], [54, 109], [54, 111], [54, 114], [54, 115], [54, 116], [54, 117], [55, 56], [55, 57], [55, 59], [55, 60], [55, 61], [55, 63], [55, 66], [55, 67], [55, 68], [55, 69], [55, 70], [55, 72], [55, 74], [55, 82], [55, 83], [55, 84], [55, 85], [55, 86], [55, 87], [55, 88], [55, 89], [55, 90], [55, 91], [55, 92], [55, 95], [55, 96], [55, 98], [55, 103], [55, 104], [55, 105], [55, 106], [55, 108], [55, 111], [55, 114], [55, 116], [55, 118], [56, 58], [56, 60], [56, 62], [56, 65], [56, 66], [56, 67], [56, 70], [56, 71], [56, 73], [56, 74], [56, 76], [56, 77], [56, 80], [56, 81], [56, 82], [56, 83], [56, 84], [56, 85], [56, 86], [56, 90], [56, 93], [56, 95], [56, 97], [56, 98], [56, 99], [56, 100], [56, 103], [56, 104], [56, 106], [56, 108], [56, 111], [56, 112], [56, 113], [56, 114], [56, 116], [56, 118], [56, 119], [57, 59], [57, 61], [57, 62], [57, 66], [57, 67], [57, 68], [57, 72], [57, 75], [57, 76], [57, 80], [57, 81], [57, 83], [57, 85], [57, 86], [57, 91], [57, 94], [57, 95], [57, 96], [57, 98], [57, 99], [57, 101], [57, 102], [57, 103], [57, 104], [57, 107], [57, 108], [57, 109], [57, 111], [57, 113], [57, 116], [57, 117], [57, 119], [58, 59], [58, 60], [58, 63], [58, 66], [58, 68], [58, 71], [58, 72], [58, 73], [58, 76], [58, 78], [58, 79], [58, 80], [58, 82], [58, 84], [58, 85], [58, 87], [58, 94], [58, 97], [58, 99], [58, 100], [58, 101], [58, 102], [58, 104], [58, 105], [58, 107], [58, 110], [58, 111], [58, 114], [58, 116], [58, 118], [59, 61], [59, 66], [59, 68], [59, 69], [59, 70], [59, 71], [59, 73], [59, 75], [59, 77], [59, 78], [59, 79], [59, 84], [59, 89], [59, 90], [59, 91], [59, 93], [59, 95], [59, 96], [59, 97], [59, 98], [59, 99], [59, 100], [59, 101], [59, 105], [59, 110], [59, 112], [59, 113], [59, 114], [59, 116], [60, 62], [60, 63], [60, 64], [60, 65], [60, 67], [60, 68], [60, 69], [60, 71], [60, 72], [60, 73], [60, 76], [60, 78], [60, 79], [60, 81], [60, 82], [60, 83], [60, 85], [60, 86], [60, 87], [60, 88], [60, 92], [60, 93], [60, 94], [60, 95], [60, 96], [60, 97], [60, 100], [60, 101], [60, 102], [60, 103], [60, 104], [60, 108], [60, 110], [60, 112], [60, 113], [60, 117], [61, 64], [61, 65], [61, 66], [61, 68], [61, 69], [61, 70], [61, 71], [61, 73], [61, 74], [61, 75], [61, 77], [61, 81], [61, 90], [61, 94], [61, 95], [61, 96], [61, 98], [61, 103], [61, 105], [61, 106], [61, 107], [61, 109], [61, 110], [61, 111], [61, 112], [61, 114], [61, 115], [61, 119], [62, 70], [62, 72], [62, 73], [62, 74], [62, 76], [62, 77], [62, 78], [62, 79], [62, 81], [62, 83], [62, 84], [62, 85], [62, 86], [62, 87], [62, 88], [62, 90], [62, 91], [62, 92], [62, 93], [62, 98], [62, 99], [62, 101], [62, 103], [62, 105], [62, 107], [62, 108], [62, 110], [62, 111], [62, 112], [62, 117], [62, 119], [63, 66], [63, 68], [63, 69], [63, 73], [63, 74], [63, 76], [63, 77], [63, 78], [63, 79], [63, 83], [63, 84], [63, 86], [63, 88], [63, 89], [63, 91], [63, 97], [63, 99], [63, 112], [63, 115], [63, 116], [63, 118], [64, 68], [64, 71], [64, 74], [64, 75], [64, 76], [64, 77], [64, 78], [64, 79], [64, 81], [64, 84], [64, 86], [64, 90], [64, 92], [64, 94], [64, 96], [64, 97], [64, 99], [64, 100], [64, 106], [64, 111], [64, 113], [64, 115], [65, 66], [65, 67], [65, 68], [65, 69], [65, 70], [65, 71], [65, 72], [65, 74], [65, 75], [65, 76], [65, 80], [65, 81], [65, 89], [65, 91], [65, 93], [65, 94], [65, 95], [65, 96], [65, 97], [65, 98], [65, 99], [65, 100], [65, 101], [65, 102], [65, 103], [65, 105], [65, 106], [65, 109], [65, 110], [65, 113], [65, 114], [65, 115], [65, 117], [65, 118], [65, 119], [66, 67], [66, 69], [66, 70], [66, 71], [66, 76], [66, 78], [66, 82], [66, 83], [66, 84], [66, 86], [66, 87], [66, 88], [66, 91], [66, 93], [66, 94], [66, 95], [66, 97], [66, 100], [66, 101], [66, 106], [66, 107], [66, 109], [66, 113], [66, 118], [67, 68], [67, 69], [67, 70], [67, 71], [67, 73], [67, 75], [67, 78], [67, 81], [67, 83], [67, 84], [67, 88], [67, 89], [67, 94], [67, 95], [67, 96], [67, 97], [67, 99], [67, 100], [67, 107], [67, 108], [67, 109], [67, 110], [67, 111], [67, 112], [67, 113], [67, 114], [67, 115], [67, 116], [67, 118], [67, 119], [68, 70], [68, 73], [68, 75], [68, 78], [68, 80], [68, 82], [68, 85], [68, 86], [68, 87], [68, 88], [68, 89], [68, 90], [68, 91], [68, 93], [68, 94], [68, 95], [68, 96], [68, 97], [68, 99], [68, 100], [68, 102], [68, 103], [68, 107], [68, 108], [68, 111], [68, 112], [68, 115], [68, 118], [69, 70], [69, 73], [69, 75], [69, 78], [69, 80], [69, 82], [69, 83], [69, 84], [69, 88], [69, 90], [69, 91], [69, 92], [69, 94], [69, 95], [69, 99], [69, 101], [69, 104], [69, 106], [69, 108], [69, 109], [69, 110], [69, 111], [69, 112], [69, 113], [69, 115], [69, 117], [69, 119], [70, 72], [70, 74], [70, 75], [70, 76], [70, 77], [70, 78], [70, 81], [70, 82], [70, 89], [70, 90], [70, 91], [70, 92], [70, 93], [70, 97], [70, 101], [70, 102], [70, 103], [70, 109], [70, 110], [70, 111], [70, 114], [70, 116], [70, 118], [70, 119], [71, 73], [71, 74], [71, 81], [71, 85], [71, 87], [71, 88], [71, 89], [71, 91], [71, 93], [71, 94], [71, 96], [71, 100], [71, 102], [71, 106], [71, 108], [71, 109], [71, 110], [71, 112], [71, 114], [71, 116], [71, 117], [71, 118], [72, 73], [72, 74], [72, 75], [72, 77], [72, 79], [72, 80], [72, 81], [72, 82], [72, 84], [72, 88], [72, 91], [72, 93], [72, 94], [72, 95], [72, 97], [72, 98], [72, 101], [72, 103], [72, 105], [72, 109], [72, 111], [72, 112], [72, 114], [72, 115], [72, 116], [72, 117], [72, 119], [73, 75], [73, 77], [73, 81], [73, 85], [73, 87], [73, 88], [73, 91], [73, 92], [73, 93], [73, 94], [73, 97], [73, 98], [73, 99], [73, 101], [73, 102], [73, 105], [73, 107], [73, 109], [73, 110], [73, 114], [73, 115], [73, 116], [73, 118], [73, 119], [74, 75], [74, 77], [74, 79], [74, 81], [74, 83], [74, 85], [74, 87], [74, 88], [74, 93], [74, 95], [74, 100], [74, 101], [74, 104], [74, 107], [74, 109], [74, 113], [74, 115], [74, 116], [74, 117], [75, 76], [75, 77], [75, 79], [75, 80], [75, 83], [75, 84], [75, 94], [75, 97], [75, 98], [75, 104], [75, 107], [75, 109], [75, 110], [75, 111], [75, 115], [75, 117], [75, 118], [75, 119], [76, 77], [76, 79], [76, 80], [76, 81], [76, 83], [76, 85], [76, 91], [76, 93], [76, 95], [76, 96], [76, 98], [76, 101], [76, 102], [76, 103], [76, 106], [76, 111], [76, 113], [76, 115], [76, 116], [76, 118], [76, 119], [77, 79], [77, 81], [77, 83], [77, 84], [77, 85], [77, 87], [77, 88], [77, 89], [77, 90], [77, 92], [77, 93], [77, 95], [77, 99], [77, 104], [77, 105], [77, 106], [77, 107], [77, 108], [77, 109], [77, 110], [77, 111], [77, 112], [77, 113], [77, 115], [77, 117], [77, 118], [78, 79], [78, 82], [78, 84], [78, 86], [78, 88], [78, 89], [78, 91], [78, 95], [78, 97], [78, 98], [78, 99], [78, 101], [78, 106], [78, 107], [78, 110], [78, 111], [78, 112], [78, 113], [78, 115], [78, 118], [78, 119], [79, 80], [79, 81], [79, 83], [79, 84], [79, 86], [79, 88], [79, 98], [79, 101], [79, 102], [79, 103], [79, 105], [79, 108], [79, 111], [79, 112], [79, 113], [79, 115], [79, 116], [80, 81], [80, 83], [80, 85], [80, 87], [80, 88], [80, 89], [80, 92], [80, 93], [80, 94], [80, 95], [80, 97], [80, 98], [80, 99], [80, 100], [80, 101], [80, 103], [80, 107], [80, 108], [80, 109], [80, 111], [80, 115], [80, 119], [81, 82], [81, 83], [81, 84], [81, 87], [81, 88], [81, 92], [81, 94], [81, 95], [81, 96], [81, 99], [81, 100], [81, 101], [81, 103], [81, 106], [81, 108], [81, 109], [81, 112], [81, 113], [81, 115], [81, 118], [82, 83], [82, 84], [82, 86], [82, 87], [82, 88], [82, 89], [82, 91], [82, 92], [82, 93], [82, 98], [82, 99], [82, 100], [82, 102], [82, 104], [82, 106], [82, 107], [82, 111], [82, 112], [82, 113], [82, 116], [82, 117], [83, 85], [83, 86], [83, 89], [83, 90], [83, 91], [83, 96], [83, 97], [83, 99], [83, 105], [83, 106], [83, 107], [83, 108], [83, 109], [83, 110], [83, 111], [83, 115], [83, 117], [83, 118], [84, 85], [84, 86], [84, 87], [84, 91], [84, 92], [84, 94], [84, 97], [84, 99], [84, 100], [84, 101], [84, 104], [84, 105], [84, 106], [84, 108], [84, 109], [84, 110], [84, 114], [84, 116], [84, 117], [84, 118], [84, 119], [85, 87], [85, 88], [85, 90], [85, 91], [85, 93], [85, 103], [85, 107], [85, 112], [85, 113], [85, 116], [85, 117], [85, 118], [86, 87], [86, 89], [86, 91], [86, 92], [86, 93], [86, 94], [86, 95], [86, 98], [86, 99], [86, 100], [86, 101], [86, 102], [86, 103], [86, 104], [86, 107], [86, 109], [86, 110], [86, 112], [86, 113], [86, 114], [86, 116], [86, 118], [86, 119], [87, 88], [87, 90], [87, 91], [87, 92], [87, 94], [87, 96], [87, 97], [87, 99], [87, 101], [87, 102], [87, 103], [87, 104], [87, 107], [87, 113], [87, 114], [87, 116], [87, 119], [88, 89], [88, 91], [88, 93], [88, 95], [88, 96], [88, 97], [88, 98], [88, 102], [88, 103], [88, 104], [88, 106], [88, 107], [88, 109], [88, 110], [88, 111], [88, 117], [88, 118], [89, 90], [89, 91], [89, 93], [89, 97], [89, 98], [89, 100], [89, 101], [89, 102], [89, 106], [89, 108], [89, 110], [89, 112], [89, 113], [89, 114], [89, 115], [89, 116], [90, 91], [90, 93], [90, 94], [90, 95], [90, 96], [90, 97], [90, 101], [90, 102], [90, 104], [90, 105], [90, 106], [90, 110], [90, 112], [90, 113], [90, 114], [90, 115], [90, 116], [90, 119], [91, 94], [91, 95], [91, 96], [91, 97], [91, 99], [91, 103], [91, 104], [91, 106], [91, 107], [91, 108], [91, 109], [91, 110], [91, 111], [91, 113], [91, 116], [91, 119], [92, 93], [92, 95], [92, 96], [92, 101], [92, 102], [92, 103], [92, 107], [92, 109], [92, 111], [92, 113], [92, 116], [93, 96], [93, 100], [93, 101], [93, 107], [93, 109], [93, 112], [93, 115], [93, 116], [94, 96], [94, 97], [94, 101], [94, 103], [94, 104], [94, 105], [94, 107], [94, 108], [94, 109], [94, 110], [94, 111], [94, 112], [94, 116], [94, 117], [95, 96], [95, 98], [95, 99], [95, 101], [95, 102], [95, 104], [95, 106], [95, 108], [95, 109], [95, 110], [95, 114], [95, 116], [95, 117], [95, 119], [96, 97], [96, 101], [96, 103], [96, 104], [96, 108], [96, 109], [96, 116], [97, 99], [97, 106], [97, 107], [97, 108], [97, 109], [97, 110], [97, 111], [97, 113], [97, 115], [97, 116], [97, 118], [98, 100], [98, 101], [98, 102], [98, 103], [98, 105], [98, 107], [98, 109], [98, 111], [98, 112], [98, 115], [98, 119], [99, 100], [99, 101], [99, 102], [99, 103], [99, 104], [99, 105], [99, 107], [99, 108], [99, 109], [99, 112], [99, 113], [99, 114], [99, 115], [99, 117], [99, 118], [99, 119], [100, 102], [100, 104], [100, 105], [100, 106], [100, 108], [100, 109], [100, 111], [100, 113], [100, 117], [100, 118], [100, 119], [101, 103], [101, 109], [101, 111], [101, 112], [101, 115], [101, 119], [102, 104], [102, 105], [102, 107], [102, 108], [102, 109], [102, 112], [102, 114], [102, 116], [102, 118], [102, 119], [103, 104], [103, 105], [103, 106], [103, 107], [103, 108], [103, 109], [103, 110], [103, 116], [103, 117], [104, 109], [104, 112], [104, 114], [104, 117], [104, 119], [105, 106], [105, 107], [105, 108], [105, 109], [105, 110], [105, 111], [105, 114], [105, 115], [105, 116], [106, 107], [106, 109], [106, 110], [106, 111], [106, 113], [106, 114], [106, 117], [106, 118], [106, 119], [107, 108], [107, 109], [107, 110], [107, 112], [107, 113], [107, 114], [107, 115], [107, 118], [108, 112], [108, 114], [108, 116], [108, 117], [108, 118], [108, 119], [109, 110], [109, 111], [109, 112], [109, 113], [109, 115], [109, 116], [109, 117], [109, 118], [110, 111], [110, 112], [110, 113], [110, 114], [110, 115], [110, 116], [110, 117], [110, 118], [110, 119], [111, 112], [111, 113], [111, 114], [111, 116], [111, 117], [111, 119], [112, 113], [112, 114], [112, 115], [112, 116], [112, 117], [112, 119], [113, 117], [113, 118], [114, 116], [114, 118], [115, 116], [115, 117], [115, 118], [116, 117], [117, 118], [118, 119]], "family": "mc_max_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-clique-l6-s4/tests/run.py b/tasks/construct-mc-max-clique-l6-s4/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s4/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-max-clique-l6-s4/tests/test.sh b/tasks/construct-mc-max-clique-l6-s4/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-max-clique-l6-s4/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-max-independent-set-l1-s0/environment/Dockerfile b/tasks/construct-mc-max-independent-set-l1-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-max-independent-set-l1-s0/environment/instance.json b/tasks/construct-mc-max-independent-set-l1-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..adcb59698e10da4a7dede6b34af033c1868b48c0 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s0/environment/instance.json @@ -0,0 +1 @@ +{"n": 20, "k": 7, "edges": [[0, 1], [0, 4], [0, 8], [0, 11], [0, 16], [1, 7], [1, 13], [1, 17], [1, 19], [2, 3], [2, 4], [2, 9], [2, 11], [2, 14], [2, 17], [3, 4], [3, 8], [3, 16], [4, 11], [4, 13], [4, 16], [5, 10], [5, 11], [5, 14], [5, 19], [6, 9], [6, 11], [6, 12], [6, 15], [8, 11], [8, 16], [9, 11], [9, 12], [9, 13], [9, 14], [9, 16], [9, 18], [10, 11], [10, 15], [11, 15], [11, 16], [11, 17], [12, 15], [12, 19], [13, 16], [13, 17], [13, 18], [13, 19], [14, 15], [14, 16], [14, 17], [15, 16], [16, 19], [18, 19]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l1-s0/instruction.md b/tasks/construct-mc-max-independent-set-l1-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..be7e11ab38fd3ead1e8cd0832d939cae55c7ce79 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s0/instruction.md @@ -0,0 +1,8 @@ +Graph G with 20 vertices numbered 0..19 and 54 edges: +(0,1), (0,4), (0,8), (0,11), (0,16), (1,7), (1,13), (1,17), (1,19), (2,3), (2,4), (2,9), (2,11), (2,14), (2,17), (3,4), (3,8), (3,16), (4,11), (4,13), (4,16), (5,10), (5,11), (5,14), (5,19), (6,9), (6,11), (6,12), (6,15), (8,11), (8,16), (9,11), (9,12), (9,13), (9,14), (9,16), (9,18), (10,11), (10,15), (11,15), (11,16), (11,17), (12,15), (12,19), (13,16), (13,17), (13,18), (13,19), (14,15), (14,16), (14,17), (15,16), (16,19), (18,19) + +Find an independent set of size at least 7 in G: a set of at least 7 vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-independent-set-l1-s0/solution/solve.sh b/tasks/construct-mc-max-independent-set-l1-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..5c0edaebfa702a5dc691bca1e998e6975a4f8b2e --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [0, 3, 5, 7, 15, 17, 18]} +RLMATH_EOF diff --git a/tasks/construct-mc-max-independent-set-l1-s0/task.toml b/tasks/construct-mc-max-independent-set-l1-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..a9e085bd4c990c685877e20d82139fa06c6b8be3 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-independent-set-l1-s0" +version = "0.2.0" +description = "construct/mc_max_independent_set" +authors = [] +keywords = ["rlmath", "construct", "mc_max_independent_set"] + +[metadata] +subset = "construct" +family = "mc_max_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "MathConstraint/max_independent_set" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-independent-set-l1-s0/tests/check.py b/tasks/construct-mc-max-independent-set-l1-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..adce413e8578d996549583b990e4ff559f38ed41 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s0/tests/check.py @@ -0,0 +1,18 @@ +"""Independent set of size >= k in a given graph (MathConstraint max_independent_set, CC-BY-4.0).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) < k: + raise Invalid(f"set has {len(S)} vertices, need at least {k}") + E = {(u, v) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(S), 2): + if (u, v) in E: + raise Invalid(f"vertices {u} and {v} are adjacent") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-max-independent-set-l1-s0/tests/instance.json b/tasks/construct-mc-max-independent-set-l1-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..adcb59698e10da4a7dede6b34af033c1868b48c0 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s0/tests/instance.json @@ -0,0 +1 @@ +{"n": 20, "k": 7, "edges": [[0, 1], [0, 4], [0, 8], [0, 11], [0, 16], [1, 7], [1, 13], [1, 17], [1, 19], [2, 3], [2, 4], [2, 9], [2, 11], [2, 14], [2, 17], [3, 4], [3, 8], [3, 16], [4, 11], [4, 13], [4, 16], [5, 10], [5, 11], [5, 14], [5, 19], [6, 9], [6, 11], [6, 12], [6, 15], [8, 11], [8, 16], [9, 11], [9, 12], [9, 13], [9, 14], [9, 16], [9, 18], [10, 11], [10, 15], [11, 15], [11, 16], [11, 17], [12, 15], [12, 19], [13, 16], [13, 17], [13, 18], [13, 19], [14, 15], [14, 16], [14, 17], [15, 16], [16, 19], [18, 19]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l1-s0/tests/run.py b/tasks/construct-mc-max-independent-set-l1-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-max-independent-set-l1-s0/tests/test.sh b/tasks/construct-mc-max-independent-set-l1-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-max-independent-set-l1-s7/instruction.md b/tasks/construct-mc-max-independent-set-l1-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..4ab350b220ef6935b6a8cc9e3e73f84a58311ca1 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s7/instruction.md @@ -0,0 +1,8 @@ +Graph G with 20 vertices numbered 0..19 and 48 edges: +(0,8), (1,6), (1,7), (1,9), (1,11), (1,13), (1,16), (2,4), (2,5), (2,10), (2,18), (3,6), (3,8), (3,16), (3,19), (4,9), (4,10), (4,19), (5,9), (5,10), (5,11), (5,13), (5,16), (5,17), (6,7), (6,12), (6,14), (6,17), (7,19), (8,10), (8,12), (8,16), (8,17), (9,11), (9,16), (9,19), (10,12), (10,14), (10,15), (10,16), (10,17), (11,16), (11,18), (12,16), (12,19), (13,17), (14,16), (15,18) + +Find an independent set of size at least 7 in G: a set of at least 7 vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-independent-set-l1-s7/task.toml b/tasks/construct-mc-max-independent-set-l1-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..8f4b2a11d2bb822d1aa83b8d61efe4dc2be7221d --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-independent-set-l1-s7" +version = "0.2.0" +description = "construct/mc_max_independent_set" +authors = [] +keywords = ["rlmath", "construct", "mc_max_independent_set"] + +[metadata] +subset = "construct" +family = "mc_max_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "MathConstraint/max_independent_set" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-independent-set-l1-s9/environment/Dockerfile b/tasks/construct-mc-max-independent-set-l1-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-max-independent-set-l1-s9/environment/instance.json b/tasks/construct-mc-max-independent-set-l1-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5def2abb4c8a1568d66517e9f8ac68bd37c1b953 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s9/environment/instance.json @@ -0,0 +1 @@ +{"n": 20, "k": 7, "edges": [[0, 5], [0, 6], [0, 9], [0, 18], [1, 5], [1, 16], [1, 17], [1, 19], [2, 7], [2, 9], [2, 10], [2, 13], [2, 15], [2, 17], [3, 9], [3, 10], [4, 9], [4, 11], [4, 12], [4, 14], [4, 15], [4, 16], [4, 17], [5, 6], [6, 9], [6, 12], [6, 15], [7, 13], [7, 14], [7, 17], [8, 9], [8, 11], [8, 17], [9, 18], [9, 19], [10, 11], [10, 16], [10, 17], [11, 17], [11, 19], [12, 14], [12, 17], [12, 18], [13, 15], [14, 18], [15, 17], [15, 18], [15, 19], [18, 19]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l1-s9/instruction.md b/tasks/construct-mc-max-independent-set-l1-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..774c17900674cc91c8e5670ff5d5a7d9f305b2e9 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s9/instruction.md @@ -0,0 +1,8 @@ +Graph G with 20 vertices numbered 0..19 and 49 edges: +(0,5), (0,6), (0,9), (0,18), (1,5), (1,16), (1,17), (1,19), (2,7), (2,9), (2,10), (2,13), (2,15), (2,17), (3,9), (3,10), (4,9), (4,11), (4,12), (4,14), (4,15), (4,16), (4,17), (5,6), (6,9), (6,12), (6,15), (7,13), (7,14), (7,17), (8,9), (8,11), (8,17), (9,18), (9,19), (10,11), (10,16), (10,17), (11,17), (11,19), (12,14), (12,17), (12,18), (13,15), (14,18), (15,17), (15,18), (15,19), (18,19) + +Find an independent set of size at least 7 in G: a set of at least 7 vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-independent-set-l1-s9/solution/solve.sh b/tasks/construct-mc-max-independent-set-l1-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..f81e8b91a3ef8d9f3e31bfae5ba6bad501216f83 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [0, 2, 3, 8, 14, 16, 19]} +RLMATH_EOF diff --git a/tasks/construct-mc-max-independent-set-l1-s9/task.toml b/tasks/construct-mc-max-independent-set-l1-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..d9d342aa16d659edf9d1bd54b284026579a9d7ec --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-independent-set-l1-s9" +version = "0.2.0" +description = "construct/mc_max_independent_set" +authors = [] +keywords = ["rlmath", "construct", "mc_max_independent_set"] + +[metadata] +subset = "construct" +family = "mc_max_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "MathConstraint/max_independent_set" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-independent-set-l1-s9/tests/check.py b/tasks/construct-mc-max-independent-set-l1-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..adce413e8578d996549583b990e4ff559f38ed41 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s9/tests/check.py @@ -0,0 +1,18 @@ +"""Independent set of size >= k in a given graph (MathConstraint max_independent_set, CC-BY-4.0).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) < k: + raise Invalid(f"set has {len(S)} vertices, need at least {k}") + E = {(u, v) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(S), 2): + if (u, v) in E: + raise Invalid(f"vertices {u} and {v} are adjacent") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-max-independent-set-l1-s9/tests/instance.json b/tasks/construct-mc-max-independent-set-l1-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5def2abb4c8a1568d66517e9f8ac68bd37c1b953 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s9/tests/instance.json @@ -0,0 +1 @@ +{"n": 20, "k": 7, "edges": [[0, 5], [0, 6], [0, 9], [0, 18], [1, 5], [1, 16], [1, 17], [1, 19], [2, 7], [2, 9], [2, 10], [2, 13], [2, 15], [2, 17], [3, 9], [3, 10], [4, 9], [4, 11], [4, 12], [4, 14], [4, 15], [4, 16], [4, 17], [5, 6], [6, 9], [6, 12], [6, 15], [7, 13], [7, 14], [7, 17], [8, 9], [8, 11], [8, 17], [9, 18], [9, 19], [10, 11], [10, 16], [10, 17], [11, 17], [11, 19], [12, 14], [12, 17], [12, 18], [13, 15], [14, 18], [15, 17], [15, 18], [15, 19], [18, 19]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l1-s9/tests/run.py b/tasks/construct-mc-max-independent-set-l1-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-max-independent-set-l1-s9/tests/test.sh b/tasks/construct-mc-max-independent-set-l1-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l1-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-max-independent-set-l5-s1/environment/Dockerfile b/tasks/construct-mc-max-independent-set-l5-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-max-independent-set-l5-s1/environment/instance.json b/tasks/construct-mc-max-independent-set-l5-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b5ec0eeb7915c5273cf70826aa870b877e5540a8 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s1/environment/instance.json @@ -0,0 +1 @@ +{"n": 90, "k": 16, "edges": [[0, 4], [0, 5], [0, 6], [0, 10], [0, 15], [0, 17], [0, 23], [0, 24], [0, 28], [0, 31], [0, 32], [0, 42], [0, 44], [0, 51], [0, 54], [0, 56], [0, 57], [0, 59], [0, 60], [0, 61], [0, 62], [0, 63], [0, 64], [0, 67], [0, 68], [0, 71], [0, 74], [0, 77], [0, 81], [0, 84], [0, 85], [1, 2], [1, 3], [1, 6], [1, 7], [1, 8], [1, 9], [1, 13], [1, 14], [1, 15], [1, 16], [1, 20], [1, 21], [1, 22], [1, 23], [1, 24], [1, 25], [1, 27], [1, 36], [1, 37], [1, 39], [1, 40], [1, 44], [1, 45], [1, 48], [1, 54], [1, 55], [1, 56], [1, 64], [1, 66], [1, 67], [1, 68], [1, 79], [1, 81], [1, 86], [1, 87], [2, 10], [2, 11], [2, 13], [2, 15], [2, 17], [2, 22], [2, 29], [2, 32], [2, 33], [2, 34], [2, 35], [2, 37], [2, 41], [2, 47], [2, 48], [2, 51], [2, 52], [2, 53], [2, 57], [2, 60], [2, 64], [2, 66], [2, 69], [2, 71], [2, 79], [2, 81], [2, 82], [2, 83], [2, 86], [2, 88], [3, 5], [3, 17], [3, 18], [3, 19], [3, 28], [3, 29], [3, 32], [3, 42], [3, 44], [3, 45], [3, 51], [3, 52], [3, 63], [3, 69], [3, 75], [3, 76], [3, 83], [3, 84], [3, 87], [4, 5], [4, 6], [4, 9], [4, 12], [4, 15], [4, 17], [4, 26], [4, 30], [4, 31], [4, 34], [4, 36], [4, 42], [4, 46], [4, 47], [4, 49], [4, 56], [4, 64], [4, 68], [4, 74], [4, 77], [4, 79], [5, 12], [5, 15], [5, 16], [5, 17], [5, 18], [5, 23], [5, 26], [5, 27], [5, 28], [5, 30], [5, 31], [5, 36], [5, 37], [5, 40], [5, 45], [5, 46], [5, 48], [5, 51], [5, 58], [5, 61], [5, 63], [5, 66], [5, 67], [5, 68], [5, 69], [5, 70], [5, 72], [5, 81], [5, 84], [6, 10], [6, 11], [6, 13], [6, 14], [6, 16], [6, 18], [6, 20], [6, 23], [6, 29], [6, 31], [6, 33], [6, 37], [6, 45], [6, 48], [6, 53], [6, 56], [6, 59], [6, 64], [6, 68], [6, 70], [6, 73], [6, 76], [6, 82], [6, 86], [7, 8], [7, 10], [7, 12], [7, 15], [7, 16], [7, 19], [7, 21], [7, 25], [7, 27], [7, 34], [7, 35], [7, 36], [7, 39], [7, 46], [7, 53], [7, 55], [7, 61], [7, 62], [7, 66], [7, 72], [7, 74], [7, 75], [7, 80], [7, 81], [7, 82], [7, 86], [7, 88], [7, 89], [8, 9], [8, 12], [8, 13], [8, 17], [8, 20], [8, 22], [8, 25], [8, 33], [8, 36], [8, 40], [8, 50], [8, 51], [8, 52], [8, 55], [8, 57], [8, 62], [8, 66], [8, 79], [8, 81], [8, 82], [8, 85], [9, 15], [9, 17], [9, 19], [9, 21], [9, 29], [9, 31], [9, 33], [9, 34], [9, 35], [9, 36], [9, 42], [9, 43], [9, 47], [9, 49], [9, 53], [9, 55], [9, 56], [9, 59], [9, 60], [9, 62], [9, 64], [9, 66], [9, 70], [9, 78], [9, 79], [9, 82], [9, 84], [9, 88], [10, 11], [10, 15], [10, 19], [10, 21], [10, 23], [10, 26], [10, 30], [10, 33], [10, 35], [10, 38], [10, 40], [10, 41], [10, 42], [10, 44], [10, 48], [10, 49], [10, 53], [10, 54], [10, 57], [10, 59], [10, 67], [10, 69], [10, 70], [10, 76], [10, 78], [10, 79], [10, 83], [10, 84], [10, 88], [10, 89], [11, 17], [11, 19], [11, 20], [11, 21], [11, 22], [11, 25], [11, 27], [11, 39], [11, 40], [11, 43], [11, 44], [11, 45], [11, 50], [11, 51], [11, 52], [11, 53], [11, 54], [11, 55], [11, 63], [11, 67], [11, 72], [11, 74], [11, 75], [11, 77], [11, 78], [11, 84], [11, 85], [11, 87], [11, 88], [12, 13], [12, 14], [12, 16], [12, 26], [12, 29], [12, 36], [12, 39], [12, 40], [12, 44], [12, 45], [12, 48], [12, 57], [12, 58], [12, 62], [12, 63], [12, 68], [12, 73], [12, 75], [12, 78], [12, 79], [12, 81], [13, 17], [13, 18], [13, 21], [13, 22], [13, 23], [13, 25], [13, 28], [13, 29], [13, 37], [13, 39], [13, 40], [13, 43], [13, 49], [13, 51], [13, 52], [13, 53], [13, 58], [13, 60], [13, 62], [13, 66], [13, 67], [13, 68], [13, 69], [13, 73], [13, 74], [13, 76], [13, 78], [13, 80], [13, 82], [13, 84], [13, 87], [13, 88], [13, 89], [14, 16], [14, 19], [14, 20], [14, 22], [14, 26], [14, 29], [14, 30], [14, 37], [14, 40], [14, 45], [14, 49], [14, 50], [14, 51], [14, 53], [14, 55], [14, 58], [14, 61], [14, 62], [14, 65], [14, 67], [14, 73], [14, 74], [14, 76], [14, 83], [14, 85], [15, 24], [15, 29], [15, 30], [15, 31], [15, 32], [15, 36], [15, 37], [15, 44], [15, 48], [15, 51], [15, 54], [15, 55], [15, 59], [15, 60], [15, 61], [15, 63], [15, 64], [15, 67], [15, 74], [15, 75], [15, 76], [15, 85], [15, 86], [15, 87], [15, 88], [16, 18], [16, 21], [16, 26], [16, 36], [16, 42], [16, 50], [16, 56], [16, 58], [16, 65], [16, 69], [16, 74], [16, 81], [16, 82], [16, 83], [17, 24], [17, 27], [17, 28], [17, 31], [17, 32], [17, 33], [17, 46], [17, 59], [17, 61], [17, 66], [17, 68], [17, 71], [17, 75], [17, 77], [17, 78], [17, 81], [17, 83], [17, 84], [17, 88], [18, 24], [18, 28], [18, 34], [18, 40], [18, 41], [18, 43], [18, 44], [18, 45], [18, 47], [18, 49], [18, 50], [18, 53], [18, 54], [18, 56], [18, 57], [18, 58], [18, 62], [18, 64], [18, 67], [18, 71], [18, 76], [18, 78], [18, 79], [18, 82], [18, 86], [19, 20], [19, 21], [19, 26], [19, 27], [19, 28], [19, 32], [19, 33], [19, 35], [19, 37], [19, 40], [19, 43], [19, 44], [19, 55], [19, 62], [19, 67], [19, 68], [19, 74], [19, 76], [19, 77], [19, 78], [19, 84], [19, 86], [19, 87], [20, 22], [20, 36], [20, 42], [20, 44], [20, 48], [20, 51], [20, 56], [20, 61], [20, 66], [20, 67], [20, 68], [20, 70], [20, 72], [20, 74], [20, 75], [20, 86], [21, 22], [21, 24], [21, 25], [21, 35], [21, 40], [21, 59], [21, 61], [21, 64], [21, 69], [21, 74], [21, 79], [21, 80], [21, 82], [21, 84], [21, 85], [22, 31], [22, 33], [22, 34], [22, 37], [22, 39], [22, 47], [22, 52], [22, 54], [22, 58], [22, 60], [22, 61], [22, 63], [22, 67], [22, 72], [22, 73], [22, 75], [22, 84], [22, 88], [22, 89], [23, 25], [23, 29], [23, 31], [23, 32], [23, 33], [23, 36], [23, 38], [23, 41], [23, 42], [23, 45], [23, 46], [23, 49], [23, 50], [23, 52], [23, 67], [23, 69], [23, 70], [23, 71], [23, 75], [23, 76], [23, 79], [23, 80], [23, 81], [23, 86], [23, 88], [24, 26], [24, 28], [24, 35], [24, 38], [24, 39], [24, 46], [24, 53], [24, 58], [24, 61], [24, 63], [24, 66], [24, 69], [24, 74], [24, 77], [24, 81], [24, 83], [25, 30], [25, 34], [25, 39], [25, 41], [25, 43], [25, 52], [25, 54], [25, 56], [25, 61], [25, 64], [25, 70], [25, 71], [25, 77], [25, 86], [25, 87], [26, 27], [26, 39], [26, 42], [26, 45], [26, 46], [26, 53], [26, 54], [26, 56], [26, 58], [26, 59], [26, 61], [26, 62], [26, 65], [26, 66], [26, 71], [26, 72], [26, 76], [26, 79], [26, 80], [26, 87], [27, 32], [27, 36], [27, 39], [27, 40], [27, 41], [27, 46], [27, 47], [27, 48], [27, 50], [27, 51], [27, 53], [27, 58], [27, 59], [27, 61], [27, 68], [27, 69], [27, 70], [27, 73], [27, 77], [27, 80], [27, 85], [27, 86], [27, 89], [28, 31], [28, 32], [28, 38], [28, 42], [28, 47], [28, 48], [28, 50], [28, 52], [28, 54], [28, 63], [28, 64], [28, 65], [28, 69], [28, 70], [28, 75], [28, 76], [28, 77], [28, 79], [28, 81], [28, 82], [28, 83], [28, 85], [29, 30], [29, 33], [29, 37], [29, 39], [29, 43], [29, 47], [29, 50], [29, 51], [29, 53], [29, 54], [29, 57], [29, 58], [29, 64], [29, 65], [29, 68], [29, 72], [29, 77], [29, 82], [29, 84], [29, 85], [29, 88], [30, 31], [30, 36], [30, 45], [30, 47], [30, 53], [30, 56], [30, 59], [30, 67], [30, 68], [30, 74], [30, 77], [30, 78], [30, 85], [30, 86], [30, 88], [30, 89], [31, 33], [31, 39], [31, 40], [31, 46], [31, 58], [31, 62], [31, 67], [31, 68], [31, 69], [31, 72], [31, 73], [31, 74], [31, 76], [31, 82], [31, 85], [32, 34], [32, 36], [32, 37], [32, 38], [32, 42], [32, 43], [32, 46], [32, 51], [32, 52], [32, 58], [32, 59], [32, 60], [32, 62], [32, 65], [32, 67], [32, 68], [32, 72], [32, 77], [32, 82], [32, 83], [32, 86], [33, 35], [33, 38], [33, 40], [33, 45], [33, 47], [33, 52], [33, 54], [33, 56], [33, 59], [33, 61], [33, 66], [33, 69], [33, 71], [33, 73], [33, 74], [33, 76], [33, 81], [33, 82], [33, 84], [33, 85], [33, 87], [34, 37], [34, 38], [34, 43], [34, 44], [34, 48], [34, 49], [34, 51], [34, 54], [34, 55], [34, 65], [34, 72], [34, 76], [34, 83], [34, 89], [35, 37], [35, 40], [35, 56], [35, 62], [35, 77], [35, 87], [35, 88], [36, 41], [36, 45], [36, 49], [36, 50], [36, 52], [36, 57], [36, 58], [36, 63], [36, 64], [36, 65], [36, 70], [36, 77], [36, 78], [36, 80], [36, 81], [36, 82], [36, 88], [36, 89], [37, 41], [37, 42], [37, 47], [37, 48], [37, 49], [37, 50], [37, 52], [37, 54], [37, 67], [37, 75], [37, 76], [37, 79], [37, 80], [37, 82], [37, 83], [37, 84], [37, 86], [37, 88], [38, 47], [38, 48], [38, 49], [38, 50], [38, 51], [38, 52], [38, 55], [38, 56], [38, 61], [38, 62], [38, 67], [38, 69], [38, 76], [38, 79], [38, 80], [38, 82], [38, 83], [38, 85], [38, 86], [38, 88], [39, 43], [39, 44], [39, 45], [39, 48], [39, 49], [39, 50], [39, 52], [39, 53], [39, 55], [39, 59], [39, 63], [39, 64], [39, 69], [39, 72], [39, 73], [39, 80], [39, 83], [39, 84], [40, 44], [40, 45], [40, 47], [40, 51], [40, 53], [40, 62], [40, 63], [40, 66], [40, 69], [40, 70], [40, 71], [40, 75], [40, 76], [40, 80], [40, 84], [40, 88], [40, 89], [41, 46], [41, 48], [41, 50], [41, 54], [41, 63], [41, 72], [41, 73], [41, 77], [41, 84], [42, 43], [42, 50], [42, 51], [42, 53], [42, 54], [42, 55], [42, 58], [42, 59], [42, 62], [42, 64], [42, 65], [42, 66], [42, 68], [42, 72], [42, 81], [42, 84], [42, 86], [42, 87], [43, 48], [43, 56], [43, 57], [43, 59], [43, 60], [43, 67], [43, 68], [43, 69], [43, 71], [43, 75], [43, 79], [43, 81], [43, 84], [43, 85], [43, 86], [43, 87], [43, 88], [44, 46], [44, 47], [44, 51], [44, 62], [44, 64], [44, 67], [44, 75], [44, 83], [44, 86], [45, 48], [45, 52], [45, 56], [45, 57], [45, 59], [45, 61], [45, 62], [45, 63], [45, 67], [45, 68], [45, 70], [45, 83], [46, 51], [46, 53], [46, 54], [46, 59], [46, 62], [46, 68], [46, 69], [46, 78], [46, 81], [46, 82], [46, 84], [46, 87], [46, 89], [47, 49], [47, 56], [47, 60], [47, 62], [47, 65], [47, 67], [47, 69], [47, 72], [47, 78], [47, 79], [47, 80], [47, 81], [47, 84], [47, 86], [47, 89], [48, 50], [48, 60], [48, 61], [48, 65], [48, 66], [48, 70], [48, 75], [48, 77], [48, 82], [48, 83], [49, 52], [49, 56], [49, 57], [49, 59], [49, 61], [49, 63], [49, 64], [49, 73], [49, 77], [50, 51], [50, 53], [50, 54], [50, 68], [50, 70], [50, 76], [50, 79], [50, 88], [51, 52], [51, 55], [51, 58], [51, 64], [51, 69], [51, 79], [51, 83], [51, 86], [51, 89], [52, 61], [52, 70], [52, 73], [52, 75], [52, 77], [52, 80], [52, 81], [52, 84], [52, 85], [52, 88], [53, 55], [53, 59], [53, 65], [53, 68], [53, 75], [53, 79], [53, 81], [53, 86], [54, 55], [54, 56], [54, 60], [54, 64], [54, 65], [54, 70], [54, 77], [55, 56], [55, 57], [55, 59], [55, 60], [55, 61], [55, 62], [55, 64], [55, 65], [55, 66], [55, 67], [55, 68], [55, 69], [55, 72], [55, 75], [55, 77], [55, 83], [55, 86], [56, 58], [56, 60], [56, 63], [56, 65], [56, 68], [56, 71], [56, 74], [56, 77], [56, 79], [56, 84], [56, 86], [56, 89], [57, 59], [57, 60], [57, 61], [57, 63], [57, 79], [57, 83], [57, 85], [57, 86], [57, 87], [58, 61], [58, 63], [58, 65], [58, 84], [59, 67], [59, 70], [59, 72], [59, 82], [59, 84], [60, 65], [60, 69], [60, 73], [60, 74], [60, 78], [60, 81], [60, 82], [60, 83], [60, 84], [61, 63], [61, 68], [61, 69], [61, 70], [61, 74], [61, 77], [61, 78], [61, 80], [61, 83], [62, 63], [62, 64], [62, 65], [62, 77], [62, 78], [62, 79], [62, 81], [62, 82], [62, 84], [62, 88], [63, 68], [63, 71], [63, 75], [63, 81], [63, 86], [64, 74], [64, 77], [64, 80], [64, 87], [65, 70], [65, 73], [65, 77], [65, 85], [65, 86], [65, 87], [66, 73], [66, 74], [66, 81], [66, 83], [66, 85], [66, 86], [66, 87], [66, 89], [67, 70], [67, 75], [67, 77], [67, 81], [67, 83], [67, 84], [67, 86], [68, 75], [68, 83], [69, 75], [69, 76], [69, 77], [69, 78], [69, 79], [69, 81], [69, 83], [70, 73], [70, 76], [70, 78], [70, 81], [70, 89], [71, 73], [71, 77], [71, 81], [71, 82], [71, 84], [71, 85], [72, 73], [72, 81], [72, 82], [72, 83], [72, 86], [72, 89], [73, 77], [73, 78], [73, 80], [73, 82], [74, 76], [74, 77], [75, 78], [75, 85], [76, 78], [76, 84], [76, 87], [77, 78], [77, 82], [77, 85], [77, 86], [78, 84], [78, 86], [79, 82], [79, 83], [79, 84], [79, 85], [80, 86], [81, 86], [81, 88], [82, 86], [83, 86], [84, 85], [85, 86], [85, 88], [85, 89], [86, 88]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l5-s1/instruction.md b/tasks/construct-mc-max-independent-set-l5-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..f96cf4f2a4ff6355c730cebda2a776a4465bfe18 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s1/instruction.md @@ -0,0 +1,8 @@ +Graph G with 90 vertices numbered 0..89 and 1203 edges: +(0,4), (0,5), (0,6), (0,10), (0,15), (0,17), (0,23), (0,24), (0,28), (0,31), (0,32), (0,42), (0,44), (0,51), (0,54), (0,56), (0,57), (0,59), (0,60), (0,61), (0,62), (0,63), (0,64), (0,67), (0,68), (0,71), (0,74), (0,77), (0,81), (0,84), (0,85), (1,2), (1,3), (1,6), (1,7), (1,8), (1,9), (1,13), (1,14), (1,15), (1,16), (1,20), (1,21), (1,22), (1,23), (1,24), (1,25), (1,27), (1,36), (1,37), (1,39), (1,40), (1,44), (1,45), (1,48), (1,54), (1,55), (1,56), (1,64), (1,66), (1,67), (1,68), (1,79), (1,81), (1,86), (1,87), (2,10), (2,11), (2,13), (2,15), (2,17), (2,22), (2,29), (2,32), (2,33), (2,34), (2,35), (2,37), (2,41), (2,47), (2,48), (2,51), (2,52), (2,53), (2,57), (2,60), (2,64), (2,66), (2,69), (2,71), (2,79), (2,81), (2,82), (2,83), (2,86), (2,88), (3,5), (3,17), (3,18), (3,19), (3,28), (3,29), (3,32), (3,42), (3,44), (3,45), (3,51), (3,52), (3,63), (3,69), (3,75), (3,76), (3,83), (3,84), (3,87), (4,5), (4,6), (4,9), (4,12), (4,15), (4,17), (4,26), (4,30), (4,31), (4,34), (4,36), (4,42), (4,46), (4,47), (4,49), (4,56), (4,64), (4,68), (4,74), (4,77), (4,79), (5,12), (5,15), (5,16), (5,17), (5,18), (5,23), (5,26), (5,27), (5,28), (5,30), (5,31), (5,36), (5,37), (5,40), (5,45), (5,46), (5,48), (5,51), (5,58), (5,61), (5,63), (5,66), (5,67), (5,68), (5,69), (5,70), (5,72), (5,81), (5,84), (6,10), (6,11), (6,13), (6,14), (6,16), (6,18), (6,20), (6,23), (6,29), (6,31), (6,33), (6,37), (6,45), (6,48), (6,53), (6,56), (6,59), (6,64), (6,68), (6,70), (6,73), (6,76), (6,82), (6,86), (7,8), (7,10), (7,12), (7,15), (7,16), (7,19), (7,21), (7,25), (7,27), (7,34), (7,35), (7,36), (7,39), (7,46), (7,53), (7,55), (7,61), (7,62), (7,66), (7,72), (7,74), (7,75), (7,80), (7,81), (7,82), (7,86), (7,88), (7,89), (8,9), (8,12), (8,13), (8,17), (8,20), (8,22), (8,25), (8,33), (8,36), (8,40), (8,50), (8,51), (8,52), (8,55), (8,57), (8,62), (8,66), (8,79), (8,81), (8,82), (8,85), (9,15), (9,17), (9,19), (9,21), (9,29), (9,31), (9,33), (9,34), (9,35), (9,36), (9,42), (9,43), (9,47), (9,49), (9,53), (9,55), (9,56), (9,59), (9,60), (9,62), (9,64), (9,66), (9,70), (9,78), (9,79), (9,82), (9,84), (9,88), (10,11), (10,15), (10,19), (10,21), (10,23), (10,26), (10,30), (10,33), (10,35), (10,38), (10,40), (10,41), (10,42), (10,44), (10,48), (10,49), (10,53), (10,54), (10,57), (10,59), (10,67), (10,69), (10,70), (10,76), (10,78), (10,79), (10,83), (10,84), (10,88), (10,89), (11,17), (11,19), (11,20), (11,21), (11,22), (11,25), (11,27), (11,39), (11,40), (11,43), (11,44), (11,45), (11,50), (11,51), (11,52), (11,53), (11,54), (11,55), (11,63), (11,67), (11,72), (11,74), (11,75), (11,77), (11,78), (11,84), (11,85), (11,87), (11,88), (12,13), (12,14), (12,16), (12,26), (12,29), (12,36), (12,39), (12,40), (12,44), (12,45), (12,48), (12,57), (12,58), (12,62), (12,63), (12,68), (12,73), (12,75), (12,78), (12,79), (12,81), (13,17), (13,18), (13,21), (13,22), (13,23), (13,25), (13,28), (13,29), (13,37), (13,39), (13,40), (13,43), (13,49), (13,51), (13,52), (13,53), (13,58), (13,60), (13,62), (13,66), (13,67), (13,68), (13,69), (13,73), (13,74), (13,76), (13,78), (13,80), (13,82), (13,84), (13,87), (13,88), (13,89), (14,16), (14,19), (14,20), (14,22), (14,26), (14,29), (14,30), (14,37), (14,40), (14,45), (14,49), (14,50), (14,51), (14,53), (14,55), (14,58), (14,61), (14,62), (14,65), (14,67), (14,73), (14,74), (14,76), (14,83), (14,85), (15,24), (15,29), (15,30), (15,31), (15,32), (15,36), (15,37), (15,44), (15,48), (15,51), (15,54), (15,55), (15,59), (15,60), (15,61), (15,63), (15,64), (15,67), (15,74), (15,75), (15,76), (15,85), (15,86), (15,87), (15,88), (16,18), (16,21), (16,26), (16,36), (16,42), (16,50), (16,56), (16,58), (16,65), (16,69), (16,74), (16,81), (16,82), (16,83), (17,24), (17,27), (17,28), (17,31), (17,32), (17,33), (17,46), (17,59), (17,61), (17,66), (17,68), (17,71), (17,75), (17,77), (17,78), (17,81), (17,83), (17,84), (17,88), (18,24), (18,28), (18,34), (18,40), (18,41), (18,43), (18,44), (18,45), (18,47), (18,49), (18,50), (18,53), (18,54), (18,56), (18,57), (18,58), (18,62), (18,64), (18,67), (18,71), (18,76), (18,78), (18,79), (18,82), (18,86), (19,20), (19,21), (19,26), (19,27), (19,28), (19,32), (19,33), (19,35), (19,37), (19,40), (19,43), (19,44), (19,55), (19,62), (19,67), (19,68), (19,74), (19,76), (19,77), (19,78), (19,84), (19,86), (19,87), (20,22), (20,36), (20,42), (20,44), (20,48), (20,51), (20,56), (20,61), (20,66), (20,67), (20,68), (20,70), (20,72), (20,74), (20,75), (20,86), (21,22), (21,24), (21,25), (21,35), (21,40), (21,59), (21,61), (21,64), (21,69), (21,74), (21,79), (21,80), (21,82), (21,84), (21,85), (22,31), (22,33), (22,34), (22,37), (22,39), (22,47), (22,52), (22,54), (22,58), (22,60), (22,61), (22,63), (22,67), (22,72), (22,73), (22,75), (22,84), (22,88), (22,89), (23,25), (23,29), (23,31), (23,32), (23,33), (23,36), (23,38), (23,41), (23,42), (23,45), (23,46), (23,49), (23,50), (23,52), (23,67), (23,69), (23,70), (23,71), (23,75), (23,76), (23,79), (23,80), (23,81), (23,86), (23,88), (24,26), (24,28), (24,35), (24,38), (24,39), (24,46), (24,53), (24,58), (24,61), (24,63), (24,66), (24,69), (24,74), (24,77), (24,81), (24,83), (25,30), (25,34), (25,39), (25,41), (25,43), (25,52), (25,54), (25,56), (25,61), (25,64), (25,70), (25,71), (25,77), (25,86), (25,87), (26,27), (26,39), (26,42), (26,45), (26,46), (26,53), (26,54), (26,56), (26,58), (26,59), (26,61), (26,62), (26,65), (26,66), (26,71), (26,72), (26,76), (26,79), (26,80), (26,87), (27,32), (27,36), (27,39), (27,40), (27,41), (27,46), (27,47), (27,48), (27,50), (27,51), (27,53), (27,58), (27,59), (27,61), (27,68), (27,69), (27,70), (27,73), (27,77), (27,80), (27,85), (27,86), (27,89), (28,31), (28,32), (28,38), (28,42), (28,47), (28,48), (28,50), (28,52), (28,54), (28,63), (28,64), (28,65), (28,69), (28,70), (28,75), (28,76), (28,77), (28,79), (28,81), (28,82), (28,83), (28,85), (29,30), (29,33), (29,37), (29,39), (29,43), (29,47), (29,50), (29,51), (29,53), (29,54), (29,57), (29,58), (29,64), (29,65), (29,68), (29,72), (29,77), (29,82), (29,84), (29,85), (29,88), (30,31), (30,36), (30,45), (30,47), (30,53), (30,56), (30,59), (30,67), (30,68), (30,74), (30,77), (30,78), (30,85), (30,86), (30,88), (30,89), (31,33), (31,39), (31,40), (31,46), (31,58), (31,62), (31,67), (31,68), (31,69), (31,72), (31,73), (31,74), (31,76), (31,82), (31,85), (32,34), (32,36), (32,37), (32,38), (32,42), (32,43), (32,46), (32,51), (32,52), (32,58), (32,59), (32,60), (32,62), (32,65), (32,67), (32,68), (32,72), (32,77), (32,82), (32,83), (32,86), (33,35), (33,38), (33,40), (33,45), (33,47), (33,52), (33,54), (33,56), (33,59), (33,61), (33,66), (33,69), (33,71), (33,73), (33,74), (33,76), (33,81), (33,82), (33,84), (33,85), (33,87), (34,37), (34,38), (34,43), (34,44), (34,48), (34,49), (34,51), (34,54), (34,55), (34,65), (34,72), (34,76), (34,83), (34,89), (35,37), (35,40), (35,56), (35,62), (35,77), (35,87), (35,88), (36,41), (36,45), (36,49), (36,50), (36,52), (36,57), (36,58), (36,63), (36,64), (36,65), (36,70), (36,77), (36,78), (36,80), (36,81), (36,82), (36,88), (36,89), (37,41), (37,42), (37,47), (37,48), (37,49), (37,50), (37,52), (37,54), (37,67), (37,75), (37,76), (37,79), (37,80), (37,82), (37,83), (37,84), (37,86), (37,88), (38,47), (38,48), (38,49), (38,50), (38,51), (38,52), (38,55), (38,56), (38,61), (38,62), (38,67), (38,69), (38,76), (38,79), (38,80), (38,82), (38,83), (38,85), (38,86), (38,88), (39,43), (39,44), (39,45), (39,48), (39,49), (39,50), (39,52), (39,53), (39,55), (39,59), (39,63), (39,64), (39,69), (39,72), (39,73), (39,80), (39,83), (39,84), (40,44), (40,45), (40,47), (40,51), (40,53), (40,62), (40,63), (40,66), (40,69), (40,70), (40,71), (40,75), (40,76), (40,80), (40,84), (40,88), (40,89), (41,46), (41,48), (41,50), (41,54), (41,63), (41,72), (41,73), (41,77), (41,84), (42,43), (42,50), (42,51), (42,53), (42,54), (42,55), (42,58), (42,59), (42,62), (42,64), (42,65), (42,66), (42,68), (42,72), (42,81), (42,84), (42,86), (42,87), (43,48), (43,56), (43,57), (43,59), (43,60), (43,67), (43,68), (43,69), (43,71), (43,75), (43,79), (43,81), (43,84), (43,85), (43,86), (43,87), (43,88), (44,46), (44,47), (44,51), (44,62), (44,64), (44,67), (44,75), (44,83), (44,86), (45,48), (45,52), (45,56), (45,57), (45,59), (45,61), (45,62), (45,63), (45,67), (45,68), (45,70), (45,83), (46,51), (46,53), (46,54), (46,59), (46,62), (46,68), (46,69), (46,78), (46,81), (46,82), (46,84), (46,87), (46,89), (47,49), (47,56), (47,60), (47,62), (47,65), (47,67), (47,69), (47,72), (47,78), (47,79), (47,80), (47,81), (47,84), (47,86), (47,89), (48,50), (48,60), (48,61), (48,65), (48,66), (48,70), (48,75), (48,77), (48,82), (48,83), (49,52), (49,56), (49,57), (49,59), (49,61), (49,63), (49,64), (49,73), (49,77), (50,51), (50,53), (50,54), (50,68), (50,70), (50,76), (50,79), (50,88), (51,52), (51,55), (51,58), (51,64), (51,69), (51,79), (51,83), (51,86), (51,89), (52,61), (52,70), (52,73), (52,75), (52,77), (52,80), (52,81), (52,84), (52,85), (52,88), (53,55), (53,59), (53,65), (53,68), (53,75), (53,79), (53,81), (53,86), (54,55), (54,56), (54,60), (54,64), (54,65), (54,70), (54,77), (55,56), (55,57), (55,59), (55,60), (55,61), (55,62), (55,64), (55,65), (55,66), (55,67), (55,68), (55,69), (55,72), (55,75), (55,77), (55,83), (55,86), (56,58), (56,60), (56,63), (56,65), (56,68), (56,71), (56,74), (56,77), (56,79), (56,84), (56,86), (56,89), (57,59), (57,60), (57,61), (57,63), (57,79), (57,83), (57,85), (57,86), (57,87), (58,61), (58,63), (58,65), (58,84), (59,67), (59,70), (59,72), (59,82), (59,84), (60,65), (60,69), (60,73), (60,74), (60,78), (60,81), (60,82), (60,83), (60,84), (61,63), (61,68), (61,69), (61,70), (61,74), (61,77), (61,78), (61,80), (61,83), (62,63), (62,64), (62,65), (62,77), (62,78), (62,79), (62,81), (62,82), (62,84), (62,88), (63,68), (63,71), (63,75), (63,81), (63,86), (64,74), (64,77), (64,80), (64,87), (65,70), (65,73), (65,77), (65,85), (65,86), (65,87), (66,73), (66,74), (66,81), (66,83), (66,85), (66,86), (66,87), (66,89), (67,70), (67,75), (67,77), (67,81), (67,83), (67,84), (67,86), (68,75), (68,83), (69,75), (69,76), (69,77), (69,78), (69,79), (69,81), (69,83), (70,73), (70,76), (70,78), (70,81), (70,89), (71,73), (71,77), (71,81), (71,82), (71,84), (71,85), (72,73), (72,81), (72,82), (72,83), (72,86), (72,89), (73,77), (73,78), (73,80), (73,82), (74,76), (74,77), (75,78), (75,85), (76,78), (76,84), (76,87), (77,78), (77,82), (77,85), (77,86), (78,84), (78,86), (79,82), (79,83), (79,84), (79,85), (80,86), (81,86), (81,88), (82,86), (83,86), (84,85), (85,86), (85,88), (85,89), (86,88) + +Find an independent set of size at least 16 in G: a set of at least 16 vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-independent-set-l5-s1/solution/solve.sh b/tasks/construct-mc-max-independent-set-l5-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..05b7fd25d15416c53e4db138e5e23be485a8dff2 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [16, 24, 29, 31, 32, 41, 44, 45, 49, 55, 71, 78, 79, 80, 87, 89]} +RLMATH_EOF diff --git a/tasks/construct-mc-max-independent-set-l5-s1/task.toml b/tasks/construct-mc-max-independent-set-l5-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..b06f030502b7fc0c8cd96b7b94a96cacad061cda --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-independent-set-l5-s1" +version = "0.2.0" +description = "construct/mc_max_independent_set" +authors = [] +keywords = ["rlmath", "construct", "mc_max_independent_set"] + +[metadata] +subset = "construct" +family = "mc_max_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "MathConstraint/max_independent_set" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-independent-set-l5-s1/tests/check.py b/tasks/construct-mc-max-independent-set-l5-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..adce413e8578d996549583b990e4ff559f38ed41 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s1/tests/check.py @@ -0,0 +1,18 @@ +"""Independent set of size >= k in a given graph (MathConstraint max_independent_set, CC-BY-4.0).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) < k: + raise Invalid(f"set has {len(S)} vertices, need at least {k}") + E = {(u, v) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(S), 2): + if (u, v) in E: + raise Invalid(f"vertices {u} and {v} are adjacent") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-max-independent-set-l5-s1/tests/instance.json b/tasks/construct-mc-max-independent-set-l5-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b5ec0eeb7915c5273cf70826aa870b877e5540a8 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s1/tests/instance.json @@ -0,0 +1 @@ +{"n": 90, "k": 16, "edges": [[0, 4], [0, 5], [0, 6], [0, 10], [0, 15], [0, 17], [0, 23], [0, 24], [0, 28], [0, 31], [0, 32], [0, 42], [0, 44], [0, 51], [0, 54], [0, 56], [0, 57], [0, 59], [0, 60], [0, 61], [0, 62], [0, 63], [0, 64], [0, 67], [0, 68], [0, 71], [0, 74], [0, 77], [0, 81], [0, 84], [0, 85], [1, 2], [1, 3], [1, 6], [1, 7], [1, 8], [1, 9], [1, 13], [1, 14], [1, 15], [1, 16], [1, 20], [1, 21], [1, 22], [1, 23], [1, 24], [1, 25], [1, 27], [1, 36], [1, 37], [1, 39], [1, 40], [1, 44], [1, 45], [1, 48], [1, 54], [1, 55], [1, 56], [1, 64], [1, 66], [1, 67], [1, 68], [1, 79], [1, 81], [1, 86], [1, 87], [2, 10], [2, 11], [2, 13], [2, 15], [2, 17], [2, 22], [2, 29], [2, 32], [2, 33], [2, 34], [2, 35], [2, 37], [2, 41], [2, 47], [2, 48], [2, 51], [2, 52], [2, 53], [2, 57], [2, 60], [2, 64], [2, 66], [2, 69], [2, 71], [2, 79], [2, 81], [2, 82], [2, 83], [2, 86], [2, 88], [3, 5], [3, 17], [3, 18], [3, 19], [3, 28], [3, 29], [3, 32], [3, 42], [3, 44], [3, 45], [3, 51], [3, 52], [3, 63], [3, 69], [3, 75], [3, 76], [3, 83], [3, 84], [3, 87], [4, 5], [4, 6], [4, 9], [4, 12], [4, 15], [4, 17], [4, 26], [4, 30], [4, 31], [4, 34], [4, 36], [4, 42], [4, 46], [4, 47], [4, 49], [4, 56], [4, 64], [4, 68], [4, 74], [4, 77], [4, 79], [5, 12], [5, 15], [5, 16], [5, 17], [5, 18], [5, 23], [5, 26], [5, 27], [5, 28], [5, 30], [5, 31], [5, 36], [5, 37], [5, 40], [5, 45], [5, 46], [5, 48], [5, 51], [5, 58], [5, 61], [5, 63], [5, 66], [5, 67], [5, 68], [5, 69], [5, 70], [5, 72], [5, 81], [5, 84], [6, 10], [6, 11], [6, 13], [6, 14], [6, 16], [6, 18], [6, 20], [6, 23], [6, 29], [6, 31], [6, 33], [6, 37], [6, 45], [6, 48], [6, 53], [6, 56], [6, 59], [6, 64], [6, 68], [6, 70], [6, 73], [6, 76], [6, 82], [6, 86], [7, 8], [7, 10], [7, 12], [7, 15], [7, 16], [7, 19], [7, 21], [7, 25], [7, 27], [7, 34], [7, 35], [7, 36], [7, 39], [7, 46], [7, 53], [7, 55], [7, 61], [7, 62], [7, 66], [7, 72], [7, 74], [7, 75], [7, 80], [7, 81], [7, 82], [7, 86], [7, 88], [7, 89], [8, 9], [8, 12], [8, 13], [8, 17], [8, 20], [8, 22], [8, 25], [8, 33], [8, 36], [8, 40], [8, 50], [8, 51], [8, 52], [8, 55], [8, 57], [8, 62], [8, 66], [8, 79], [8, 81], [8, 82], [8, 85], [9, 15], [9, 17], [9, 19], [9, 21], [9, 29], [9, 31], [9, 33], [9, 34], [9, 35], [9, 36], [9, 42], [9, 43], [9, 47], [9, 49], [9, 53], [9, 55], [9, 56], [9, 59], [9, 60], [9, 62], [9, 64], [9, 66], [9, 70], [9, 78], [9, 79], [9, 82], [9, 84], [9, 88], [10, 11], [10, 15], [10, 19], [10, 21], [10, 23], [10, 26], [10, 30], [10, 33], [10, 35], [10, 38], [10, 40], [10, 41], [10, 42], [10, 44], [10, 48], [10, 49], [10, 53], [10, 54], [10, 57], [10, 59], [10, 67], [10, 69], [10, 70], [10, 76], [10, 78], [10, 79], [10, 83], [10, 84], [10, 88], [10, 89], [11, 17], [11, 19], [11, 20], [11, 21], [11, 22], [11, 25], [11, 27], [11, 39], [11, 40], [11, 43], [11, 44], [11, 45], [11, 50], [11, 51], [11, 52], [11, 53], [11, 54], [11, 55], [11, 63], [11, 67], [11, 72], [11, 74], [11, 75], [11, 77], [11, 78], [11, 84], [11, 85], [11, 87], [11, 88], [12, 13], [12, 14], [12, 16], [12, 26], [12, 29], [12, 36], [12, 39], [12, 40], [12, 44], [12, 45], [12, 48], [12, 57], [12, 58], [12, 62], [12, 63], [12, 68], [12, 73], [12, 75], [12, 78], [12, 79], [12, 81], [13, 17], [13, 18], [13, 21], [13, 22], [13, 23], [13, 25], [13, 28], [13, 29], [13, 37], [13, 39], [13, 40], [13, 43], [13, 49], [13, 51], [13, 52], [13, 53], [13, 58], [13, 60], [13, 62], [13, 66], [13, 67], [13, 68], [13, 69], [13, 73], [13, 74], [13, 76], [13, 78], [13, 80], [13, 82], [13, 84], [13, 87], [13, 88], [13, 89], [14, 16], [14, 19], [14, 20], [14, 22], [14, 26], [14, 29], [14, 30], [14, 37], [14, 40], [14, 45], [14, 49], [14, 50], [14, 51], [14, 53], [14, 55], [14, 58], [14, 61], [14, 62], [14, 65], [14, 67], [14, 73], [14, 74], [14, 76], [14, 83], [14, 85], [15, 24], [15, 29], [15, 30], [15, 31], [15, 32], [15, 36], [15, 37], [15, 44], [15, 48], [15, 51], [15, 54], [15, 55], [15, 59], [15, 60], [15, 61], [15, 63], [15, 64], [15, 67], [15, 74], [15, 75], [15, 76], [15, 85], [15, 86], [15, 87], [15, 88], [16, 18], [16, 21], [16, 26], [16, 36], [16, 42], [16, 50], [16, 56], [16, 58], [16, 65], [16, 69], [16, 74], [16, 81], [16, 82], [16, 83], [17, 24], [17, 27], [17, 28], [17, 31], [17, 32], [17, 33], [17, 46], [17, 59], [17, 61], [17, 66], [17, 68], [17, 71], [17, 75], [17, 77], [17, 78], [17, 81], [17, 83], [17, 84], [17, 88], [18, 24], [18, 28], [18, 34], [18, 40], [18, 41], [18, 43], [18, 44], [18, 45], [18, 47], [18, 49], [18, 50], [18, 53], [18, 54], [18, 56], [18, 57], [18, 58], [18, 62], [18, 64], [18, 67], [18, 71], [18, 76], [18, 78], [18, 79], [18, 82], [18, 86], [19, 20], [19, 21], [19, 26], [19, 27], [19, 28], [19, 32], [19, 33], [19, 35], [19, 37], [19, 40], [19, 43], [19, 44], [19, 55], [19, 62], [19, 67], [19, 68], [19, 74], [19, 76], [19, 77], [19, 78], [19, 84], [19, 86], [19, 87], [20, 22], [20, 36], [20, 42], [20, 44], [20, 48], [20, 51], [20, 56], [20, 61], [20, 66], [20, 67], [20, 68], [20, 70], [20, 72], [20, 74], [20, 75], [20, 86], [21, 22], [21, 24], [21, 25], [21, 35], [21, 40], [21, 59], [21, 61], [21, 64], [21, 69], [21, 74], [21, 79], [21, 80], [21, 82], [21, 84], [21, 85], [22, 31], [22, 33], [22, 34], [22, 37], [22, 39], [22, 47], [22, 52], [22, 54], [22, 58], [22, 60], [22, 61], [22, 63], [22, 67], [22, 72], [22, 73], [22, 75], [22, 84], [22, 88], [22, 89], [23, 25], [23, 29], [23, 31], [23, 32], [23, 33], [23, 36], [23, 38], [23, 41], [23, 42], [23, 45], [23, 46], [23, 49], [23, 50], [23, 52], [23, 67], [23, 69], [23, 70], [23, 71], [23, 75], [23, 76], [23, 79], [23, 80], [23, 81], [23, 86], [23, 88], [24, 26], [24, 28], [24, 35], [24, 38], [24, 39], [24, 46], [24, 53], [24, 58], [24, 61], [24, 63], [24, 66], [24, 69], [24, 74], [24, 77], [24, 81], [24, 83], [25, 30], [25, 34], [25, 39], [25, 41], [25, 43], [25, 52], [25, 54], [25, 56], [25, 61], [25, 64], [25, 70], [25, 71], [25, 77], [25, 86], [25, 87], [26, 27], [26, 39], [26, 42], [26, 45], [26, 46], [26, 53], [26, 54], [26, 56], [26, 58], [26, 59], [26, 61], [26, 62], [26, 65], [26, 66], [26, 71], [26, 72], [26, 76], [26, 79], [26, 80], [26, 87], [27, 32], [27, 36], [27, 39], [27, 40], [27, 41], [27, 46], [27, 47], [27, 48], [27, 50], [27, 51], [27, 53], [27, 58], [27, 59], [27, 61], [27, 68], [27, 69], [27, 70], [27, 73], [27, 77], [27, 80], [27, 85], [27, 86], [27, 89], [28, 31], [28, 32], [28, 38], [28, 42], [28, 47], [28, 48], [28, 50], [28, 52], [28, 54], [28, 63], [28, 64], [28, 65], [28, 69], [28, 70], [28, 75], [28, 76], [28, 77], [28, 79], [28, 81], [28, 82], [28, 83], [28, 85], [29, 30], [29, 33], [29, 37], [29, 39], [29, 43], [29, 47], [29, 50], [29, 51], [29, 53], [29, 54], [29, 57], [29, 58], [29, 64], [29, 65], [29, 68], [29, 72], [29, 77], [29, 82], [29, 84], [29, 85], [29, 88], [30, 31], [30, 36], [30, 45], [30, 47], [30, 53], [30, 56], [30, 59], [30, 67], [30, 68], [30, 74], [30, 77], [30, 78], [30, 85], [30, 86], [30, 88], [30, 89], [31, 33], [31, 39], [31, 40], [31, 46], [31, 58], [31, 62], [31, 67], [31, 68], [31, 69], [31, 72], [31, 73], [31, 74], [31, 76], [31, 82], [31, 85], [32, 34], [32, 36], [32, 37], [32, 38], [32, 42], [32, 43], [32, 46], [32, 51], [32, 52], [32, 58], [32, 59], [32, 60], [32, 62], [32, 65], [32, 67], [32, 68], [32, 72], [32, 77], [32, 82], [32, 83], [32, 86], [33, 35], [33, 38], [33, 40], [33, 45], [33, 47], [33, 52], [33, 54], [33, 56], [33, 59], [33, 61], [33, 66], [33, 69], [33, 71], [33, 73], [33, 74], [33, 76], [33, 81], [33, 82], [33, 84], [33, 85], [33, 87], [34, 37], [34, 38], [34, 43], [34, 44], [34, 48], [34, 49], [34, 51], [34, 54], [34, 55], [34, 65], [34, 72], [34, 76], [34, 83], [34, 89], [35, 37], [35, 40], [35, 56], [35, 62], [35, 77], [35, 87], [35, 88], [36, 41], [36, 45], [36, 49], [36, 50], [36, 52], [36, 57], [36, 58], [36, 63], [36, 64], [36, 65], [36, 70], [36, 77], [36, 78], [36, 80], [36, 81], [36, 82], [36, 88], [36, 89], [37, 41], [37, 42], [37, 47], [37, 48], [37, 49], [37, 50], [37, 52], [37, 54], [37, 67], [37, 75], [37, 76], [37, 79], [37, 80], [37, 82], [37, 83], [37, 84], [37, 86], [37, 88], [38, 47], [38, 48], [38, 49], [38, 50], [38, 51], [38, 52], [38, 55], [38, 56], [38, 61], [38, 62], [38, 67], [38, 69], [38, 76], [38, 79], [38, 80], [38, 82], [38, 83], [38, 85], [38, 86], [38, 88], [39, 43], [39, 44], [39, 45], [39, 48], [39, 49], [39, 50], [39, 52], [39, 53], [39, 55], [39, 59], [39, 63], [39, 64], [39, 69], [39, 72], [39, 73], [39, 80], [39, 83], [39, 84], [40, 44], [40, 45], [40, 47], [40, 51], [40, 53], [40, 62], [40, 63], [40, 66], [40, 69], [40, 70], [40, 71], [40, 75], [40, 76], [40, 80], [40, 84], [40, 88], [40, 89], [41, 46], [41, 48], [41, 50], [41, 54], [41, 63], [41, 72], [41, 73], [41, 77], [41, 84], [42, 43], [42, 50], [42, 51], [42, 53], [42, 54], [42, 55], [42, 58], [42, 59], [42, 62], [42, 64], [42, 65], [42, 66], [42, 68], [42, 72], [42, 81], [42, 84], [42, 86], [42, 87], [43, 48], [43, 56], [43, 57], [43, 59], [43, 60], [43, 67], [43, 68], [43, 69], [43, 71], [43, 75], [43, 79], [43, 81], [43, 84], [43, 85], [43, 86], [43, 87], [43, 88], [44, 46], [44, 47], [44, 51], [44, 62], [44, 64], [44, 67], [44, 75], [44, 83], [44, 86], [45, 48], [45, 52], [45, 56], [45, 57], [45, 59], [45, 61], [45, 62], [45, 63], [45, 67], [45, 68], [45, 70], [45, 83], [46, 51], [46, 53], [46, 54], [46, 59], [46, 62], [46, 68], [46, 69], [46, 78], [46, 81], [46, 82], [46, 84], [46, 87], [46, 89], [47, 49], [47, 56], [47, 60], [47, 62], [47, 65], [47, 67], [47, 69], [47, 72], [47, 78], [47, 79], [47, 80], [47, 81], [47, 84], [47, 86], [47, 89], [48, 50], [48, 60], [48, 61], [48, 65], [48, 66], [48, 70], [48, 75], [48, 77], [48, 82], [48, 83], [49, 52], [49, 56], [49, 57], [49, 59], [49, 61], [49, 63], [49, 64], [49, 73], [49, 77], [50, 51], [50, 53], [50, 54], [50, 68], [50, 70], [50, 76], [50, 79], [50, 88], [51, 52], [51, 55], [51, 58], [51, 64], [51, 69], [51, 79], [51, 83], [51, 86], [51, 89], [52, 61], [52, 70], [52, 73], [52, 75], [52, 77], [52, 80], [52, 81], [52, 84], [52, 85], [52, 88], [53, 55], [53, 59], [53, 65], [53, 68], [53, 75], [53, 79], [53, 81], [53, 86], [54, 55], [54, 56], [54, 60], [54, 64], [54, 65], [54, 70], [54, 77], [55, 56], [55, 57], [55, 59], [55, 60], [55, 61], [55, 62], [55, 64], [55, 65], [55, 66], [55, 67], [55, 68], [55, 69], [55, 72], [55, 75], [55, 77], [55, 83], [55, 86], [56, 58], [56, 60], [56, 63], [56, 65], [56, 68], [56, 71], [56, 74], [56, 77], [56, 79], [56, 84], [56, 86], [56, 89], [57, 59], [57, 60], [57, 61], [57, 63], [57, 79], [57, 83], [57, 85], [57, 86], [57, 87], [58, 61], [58, 63], [58, 65], [58, 84], [59, 67], [59, 70], [59, 72], [59, 82], [59, 84], [60, 65], [60, 69], [60, 73], [60, 74], [60, 78], [60, 81], [60, 82], [60, 83], [60, 84], [61, 63], [61, 68], [61, 69], [61, 70], [61, 74], [61, 77], [61, 78], [61, 80], [61, 83], [62, 63], [62, 64], [62, 65], [62, 77], [62, 78], [62, 79], [62, 81], [62, 82], [62, 84], [62, 88], [63, 68], [63, 71], [63, 75], [63, 81], [63, 86], [64, 74], [64, 77], [64, 80], [64, 87], [65, 70], [65, 73], [65, 77], [65, 85], [65, 86], [65, 87], [66, 73], [66, 74], [66, 81], [66, 83], [66, 85], [66, 86], [66, 87], [66, 89], [67, 70], [67, 75], [67, 77], [67, 81], [67, 83], [67, 84], [67, 86], [68, 75], [68, 83], [69, 75], [69, 76], [69, 77], [69, 78], [69, 79], [69, 81], [69, 83], [70, 73], [70, 76], [70, 78], [70, 81], [70, 89], [71, 73], [71, 77], [71, 81], [71, 82], [71, 84], [71, 85], [72, 73], [72, 81], [72, 82], [72, 83], [72, 86], [72, 89], [73, 77], [73, 78], [73, 80], [73, 82], [74, 76], [74, 77], [75, 78], [75, 85], [76, 78], [76, 84], [76, 87], [77, 78], [77, 82], [77, 85], [77, 86], [78, 84], [78, 86], [79, 82], [79, 83], [79, 84], [79, 85], [80, 86], [81, 86], [81, 88], [82, 86], [83, 86], [84, 85], [85, 86], [85, 88], [85, 89], [86, 88]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l5-s1/tests/run.py b/tasks/construct-mc-max-independent-set-l5-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-max-independent-set-l5-s1/tests/test.sh b/tasks/construct-mc-max-independent-set-l5-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-max-independent-set-l5-s6/environment/Dockerfile b/tasks/construct-mc-max-independent-set-l5-s6/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s6/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-max-independent-set-l5-s6/environment/instance.json b/tasks/construct-mc-max-independent-set-l5-s6/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..713051bb2ab4723acd2dc8991b8e30aeba162e85 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s6/environment/instance.json @@ -0,0 +1 @@ +{"n": 90, "k": 16, "edges": [[0, 1], [0, 5], [0, 6], [0, 9], [0, 11], [0, 14], [0, 15], [0, 22], [0, 24], [0, 25], [0, 26], [0, 28], [0, 36], [0, 39], [0, 46], [0, 51], [0, 52], [0, 57], [0, 62], [0, 68], [0, 70], [0, 71], [0, 74], [0, 79], [0, 81], [0, 82], [0, 83], [0, 86], [1, 4], [1, 7], [1, 8], [1, 12], [1, 21], [1, 26], [1, 31], [1, 32], [1, 39], [1, 42], [1, 47], [1, 48], [1, 52], [1, 53], [1, 59], [1, 60], [1, 62], [1, 68], [1, 70], [1, 72], [1, 74], [1, 75], [1, 77], [1, 79], [1, 81], [1, 82], [1, 83], [2, 6], [2, 12], [2, 15], [2, 19], [2, 23], [2, 24], [2, 29], [2, 34], [2, 38], [2, 39], [2, 43], [2, 45], [2, 47], [2, 50], [2, 52], [2, 58], [2, 59], [2, 63], [2, 75], [2, 81], [2, 85], [3, 5], [3, 6], [3, 20], [3, 25], [3, 26], [3, 29], [3, 33], [3, 35], [3, 40], [3, 43], [3, 45], [3, 50], [3, 51], [3, 53], [3, 55], [3, 61], [3, 65], [3, 69], [3, 70], [3, 71], [3, 76], [3, 78], [3, 81], [3, 84], [4, 19], [4, 24], [4, 26], [4, 32], [4, 33], [4, 35], [4, 42], [4, 43], [4, 45], [4, 46], [4, 51], [4, 62], [4, 67], [4, 72], [4, 73], [4, 74], [4, 75], [4, 77], [4, 78], [4, 79], [4, 80], [4, 83], [4, 84], [4, 86], [5, 8], [5, 9], [5, 12], [5, 17], [5, 22], [5, 29], [5, 31], [5, 32], [5, 40], [5, 44], [5, 46], [5, 48], [5, 49], [5, 53], [5, 59], [5, 60], [5, 65], [5, 66], [5, 69], [5, 73], [5, 74], [5, 77], [5, 78], [5, 80], [5, 81], [5, 82], [5, 86], [5, 88], [6, 8], [6, 14], [6, 16], [6, 19], [6, 22], [6, 25], [6, 27], [6, 30], [6, 33], [6, 36], [6, 41], [6, 43], [6, 44], [6, 47], [6, 54], [6, 55], [6, 56], [6, 59], [6, 66], [6, 73], [6, 75], [6, 77], [6, 80], [6, 81], [6, 86], [7, 9], [7, 10], [7, 11], [7, 14], [7, 16], [7, 17], [7, 20], [7, 21], [7, 23], [7, 25], [7, 26], [7, 31], [7, 33], [7, 35], [7, 36], [7, 38], [7, 41], [7, 47], [7, 48], [7, 50], [7, 52], [7, 54], [7, 58], [7, 65], [7, 74], [7, 77], [7, 79], [7, 80], [7, 85], [7, 86], [7, 88], [7, 89], [8, 11], [8, 16], [8, 17], [8, 18], [8, 21], [8, 22], [8, 25], [8, 33], [8, 42], [8, 44], [8, 45], [8, 51], [8, 57], [8, 62], [8, 63], [8, 65], [8, 67], [8, 69], [8, 70], [8, 73], [8, 76], [8, 81], [8, 82], [9, 10], [9, 14], [9, 15], [9, 16], [9, 17], [9, 18], [9, 21], [9, 27], [9, 30], [9, 31], [9, 32], [9, 34], [9, 48], [9, 50], [9, 62], [9, 66], [9, 74], [9, 75], [9, 83], [9, 87], [10, 27], [10, 29], [10, 30], [10, 32], [10, 38], [10, 43], [10, 50], [10, 57], [10, 58], [10, 63], [10, 66], [10, 67], [10, 71], [10, 75], [10, 81], [11, 16], [11, 19], [11, 24], [11, 30], [11, 32], [11, 39], [11, 50], [11, 56], [11, 57], [11, 64], [11, 66], [11, 71], [11, 72], [11, 75], [11, 82], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 24], [12, 43], [12, 45], [12, 46], [12, 52], [12, 61], [12, 62], [12, 63], [12, 65], [12, 67], [12, 69], [12, 70], [12, 80], [12, 85], [13, 15], [13, 22], [13, 29], [13, 30], [13, 33], [13, 42], [13, 44], [13, 45], [13, 46], [13, 50], [13, 58], [13, 63], [13, 64], [14, 16], [14, 18], [14, 19], [14, 26], [14, 28], [14, 29], [14, 31], [14, 38], [14, 41], [14, 42], [14, 43], [14, 44], [14, 50], [14, 52], [14, 53], [14, 59], [14, 60], [14, 66], [14, 67], [14, 73], [14, 76], [14, 78], [14, 79], [14, 81], [14, 84], [15, 24], [15, 25], [15, 26], [15, 28], [15, 40], [15, 41], [15, 45], [15, 52], [15, 59], [15, 62], [15, 69], [15, 73], [15, 75], [15, 84], [15, 86], [16, 18], [16, 20], [16, 24], [16, 25], [16, 29], [16, 32], [16, 35], [16, 37], [16, 44], [16, 45], [16, 48], [16, 54], [16, 61], [16, 62], [16, 63], [16, 64], [16, 65], [16, 68], [16, 77], [16, 78], [16, 84], [16, 85], [16, 86], [16, 87], [16, 88], [17, 24], [17, 26], [17, 36], [17, 38], [17, 39], [17, 41], [17, 42], [17, 45], [17, 57], [17, 61], [17, 65], [17, 72], [17, 77], [17, 78], [18, 28], [18, 29], [18, 39], [18, 43], [18, 47], [18, 52], [18, 54], [18, 67], [18, 69], [18, 73], [18, 77], [18, 80], [18, 85], [18, 87], [18, 88], [18, 89], [19, 22], [19, 23], [19, 24], [19, 25], [19, 28], [19, 29], [19, 35], [19, 36], [19, 37], [19, 40], [19, 42], [19, 43], [19, 48], [19, 49], [19, 50], [19, 51], [19, 60], [19, 64], [19, 76], [20, 26], [20, 30], [20, 35], [20, 36], [20, 38], [20, 39], [20, 43], [20, 47], [20, 53], [20, 56], [20, 57], [20, 61], [20, 68], [20, 81], [20, 82], [20, 85], [20, 87], [20, 89], [21, 23], [21, 24], [21, 26], [21, 35], [21, 37], [21, 40], [21, 44], [21, 49], [21, 57], [21, 58], [21, 59], [21, 60], [21, 69], [21, 75], [21, 78], [21, 79], [21, 80], [21, 81], [21, 87], [22, 24], [22, 27], [22, 32], [22, 33], [22, 34], [22, 35], [22, 37], [22, 39], [22, 40], [22, 45], [22, 51], [22, 60], [22, 63], [22, 69], [22, 71], [22, 72], [22, 74], [22, 80], [22, 84], [23, 25], [23, 31], [23, 34], [23, 39], [23, 40], [23, 46], [23, 53], [23, 55], [23, 59], [23, 61], [23, 66], [23, 70], [23, 72], [23, 76], [23, 77], [23, 79], [23, 82], [23, 85], [23, 88], [24, 25], [24, 27], [24, 31], [24, 37], [24, 38], [24, 45], [24, 52], [24, 57], [24, 62], [24, 63], [24, 64], [24, 72], [24, 74], [24, 78], [24, 81], [24, 82], [24, 84], [25, 29], [25, 38], [25, 42], [25, 46], [25, 53], [25, 55], [25, 59], [25, 64], [25, 66], [25, 72], [25, 82], [25, 84], [25, 85], [26, 28], [26, 30], [26, 32], [26, 35], [26, 36], [26, 39], [26, 42], [26, 45], [26, 46], [26, 47], [26, 48], [26, 49], [26, 50], [26, 51], [26, 59], [26, 60], [26, 62], [26, 67], [26, 72], [26, 73], [26, 75], [26, 78], [26, 79], [26, 80], [26, 81], [26, 89], [27, 28], [27, 33], [27, 34], [27, 36], [27, 39], [27, 41], [27, 42], [27, 43], [27, 49], [27, 50], [27, 51], [27, 55], [27, 58], [27, 61], [27, 63], [27, 65], [27, 68], [27, 71], [27, 74], [27, 77], [27, 78], [27, 86], [27, 88], [28, 29], [28, 30], [28, 35], [28, 36], [28, 40], [28, 42], [28, 46], [28, 51], [28, 53], [28, 55], [28, 56], [28, 57], [28, 63], [28, 73], [28, 75], [28, 77], [28, 82], [29, 32], [29, 34], [29, 37], [29, 38], [29, 44], [29, 46], [29, 47], [29, 50], [29, 51], [29, 54], [29, 55], [29, 60], [29, 67], [29, 71], [29, 72], [29, 74], [29, 77], [29, 81], [29, 82], [30, 31], [30, 35], [30, 37], [30, 41], [30, 43], [30, 48], [30, 49], [30, 52], [30, 60], [30, 63], [30, 65], [30, 66], [30, 69], [30, 70], [30, 71], [30, 72], [30, 73], [30, 74], [30, 75], [31, 34], [31, 35], [31, 37], [31, 41], [31, 44], [31, 49], [31, 54], [31, 55], [31, 63], [31, 69], [31, 74], [31, 76], [31, 79], [31, 84], [31, 85], [31, 87], [31, 89], [32, 37], [32, 39], [32, 41], [32, 43], [32, 49], [32, 52], [32, 55], [32, 56], [32, 60], [32, 62], [32, 64], [32, 69], [32, 73], [32, 74], [32, 76], [32, 78], [32, 83], [32, 88], [33, 36], [33, 39], [33, 43], [33, 45], [33, 49], [33, 51], [33, 52], [33, 54], [33, 55], [33, 56], [33, 57], [33, 59], [33, 64], [33, 70], [33, 72], [33, 74], [33, 78], [33, 79], [33, 81], [33, 82], [34, 40], [34, 41], [34, 44], [34, 45], [34, 47], [34, 49], [34, 53], [34, 61], [34, 62], [34, 63], [34, 78], [34, 84], [34, 87], [34, 89], [35, 39], [35, 41], [35, 43], [35, 51], [35, 57], [35, 66], [35, 72], [35, 75], [35, 81], [35, 82], [35, 84], [36, 43], [36, 44], [36, 45], [36, 48], [36, 60], [36, 62], [36, 66], [36, 69], [36, 75], [36, 77], [36, 84], [36, 89], [37, 43], [37, 45], [37, 46], [37, 48], [37, 52], [37, 57], [37, 67], [37, 85], [37, 86], [38, 39], [38, 44], [38, 46], [38, 52], [38, 54], [38, 55], [38, 56], [38, 59], [38, 66], [38, 67], [38, 73], [38, 74], [38, 78], [38, 79], [38, 83], [38, 85], [38, 86], [39, 40], [39, 44], [39, 45], [39, 46], [39, 47], [39, 50], [39, 51], [39, 64], [39, 71], [39, 72], [39, 75], [39, 82], [39, 86], [39, 89], [40, 49], [40, 50], [40, 59], [40, 61], [40, 63], [40, 71], [40, 74], [40, 75], [40, 77], [40, 81], [40, 85], [40, 88], [41, 42], [41, 48], [41, 49], [41, 54], [41, 63], [41, 66], [41, 79], [41, 84], [41, 87], [41, 88], [42, 45], [42, 46], [42, 50], [42, 54], [42, 55], [42, 57], [42, 61], [42, 62], [42, 67], [42, 68], [42, 69], [42, 74], [42, 78], [42, 84], [42, 86], [42, 87], [43, 47], [43, 49], [43, 50], [43, 59], [43, 67], [43, 70], [43, 71], [43, 73], [43, 89], [44, 46], [44, 64], [44, 73], [44, 75], [44, 79], [44, 83], [44, 84], [44, 85], [44, 87], [45, 47], [45, 51], [45, 52], [45, 53], [45, 57], [45, 58], [45, 60], [45, 66], [45, 67], [45, 69], [45, 78], [45, 82], [45, 84], [45, 85], [45, 89], [46, 50], [46, 52], [46, 53], [46, 56], [46, 59], [46, 67], [46, 68], [46, 72], [46, 74], [46, 79], [46, 82], [47, 56], [47, 61], [47, 66], [47, 74], [47, 84], [47, 86], [47, 87], [48, 49], [48, 54], [48, 61], [48, 64], [48, 68], [48, 69], [48, 77], [48, 79], [48, 81], [49, 50], [49, 53], [49, 54], [49, 58], [49, 62], [49, 66], [49, 69], [49, 71], [49, 72], [49, 73], [49, 74], [49, 75], [49, 76], [49, 88], [49, 89], [50, 51], [50, 60], [50, 62], [50, 65], [50, 69], [50, 71], [50, 72], [50, 75], [50, 81], [50, 85], [51, 52], [51, 58], [51, 62], [51, 64], [51, 66], [51, 67], [51, 68], [51, 72], [51, 83], [51, 84], [51, 86], [51, 87], [51, 88], [52, 56], [52, 58], [52, 60], [52, 64], [52, 65], [52, 70], [52, 72], [52, 73], [52, 78], [52, 80], [52, 81], [52, 83], [52, 86], [53, 57], [53, 59], [53, 64], [53, 67], [53, 71], [53, 72], [53, 74], [53, 75], [53, 77], [53, 78], [54, 58], [54, 60], [54, 64], [54, 74], [54, 78], [54, 81], [54, 85], [54, 86], [54, 89], [55, 59], [55, 62], [55, 66], [55, 68], [55, 71], [55, 75], [55, 76], [55, 78], [55, 87], [55, 88], [56, 59], [56, 61], [56, 62], [56, 64], [56, 65], [56, 67], [56, 71], [56, 75], [56, 81], [56, 85], [56, 87], [56, 88], [57, 61], [57, 63], [57, 64], [57, 65], [57, 71], [57, 76], [57, 77], [57, 78], [57, 83], [57, 88], [57, 89], [58, 65], [58, 68], [58, 70], [58, 71], [58, 73], [58, 75], [58, 83], [58, 86], [59, 63], [59, 64], [59, 68], [59, 69], [59, 70], [59, 72], [59, 89], [60, 63], [60, 66], [60, 71], [60, 75], [60, 84], [60, 89], [61, 63], [61, 71], [61, 73], [61, 75], [61, 83], [61, 84], [61, 87], [62, 66], [62, 69], [62, 70], [62, 71], [62, 72], [62, 74], [62, 75], [62, 77], [62, 81], [62, 82], [62, 85], [63, 65], [63, 69], [63, 74], [63, 76], [63, 79], [63, 80], [63, 83], [63, 86], [64, 65], [64, 66], [64, 84], [65, 74], [65, 77], [65, 84], [65, 86], [66, 69], [66, 70], [66, 74], [66, 75], [66, 76], [66, 78], [66, 79], [66, 82], [66, 83], [66, 85], [67, 68], [67, 69], [67, 72], [67, 78], [67, 81], [67, 82], [67, 83], [67, 87], [67, 89], [68, 72], [68, 73], [68, 81], [68, 83], [68, 86], [68, 87], [69, 75], [69, 76], [69, 78], [69, 82], [69, 83], [69, 85], [69, 86], [69, 87], [70, 72], [70, 77], [70, 81], [70, 82], [70, 84], [70, 85], [71, 75], [71, 79], [71, 80], [71, 85], [72, 78], [72, 82], [72, 83], [72, 84], [73, 76], [73, 79], [73, 80], [73, 83], [73, 87], [73, 89], [74, 76], [74, 79], [74, 80], [74, 81], [74, 87], [75, 78], [75, 81], [75, 85], [76, 77], [76, 79], [77, 83], [77, 86], [77, 87], [77, 89], [78, 82], [78, 83], [78, 89], [79, 84], [79, 89], [80, 81], [80, 85], [80, 87], [80, 89], [81, 83], [81, 85], [82, 84], [82, 85], [82, 87], [83, 86], [83, 88], [83, 89], [84, 85], [84, 88], [85, 87], [85, 88]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l5-s6/instruction.md b/tasks/construct-mc-max-independent-set-l5-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..3f4f5b8b6a38d0b844a21783060d17ce503500a5 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s6/instruction.md @@ -0,0 +1,8 @@ +Graph G with 90 vertices numbered 0..89 and 1115 edges: +(0,1), (0,5), (0,6), (0,9), (0,11), (0,14), (0,15), (0,22), (0,24), (0,25), (0,26), (0,28), (0,36), (0,39), (0,46), (0,51), (0,52), (0,57), (0,62), (0,68), (0,70), (0,71), (0,74), (0,79), (0,81), (0,82), (0,83), (0,86), (1,4), (1,7), (1,8), (1,12), (1,21), (1,26), (1,31), (1,32), (1,39), (1,42), (1,47), (1,48), (1,52), (1,53), (1,59), (1,60), (1,62), (1,68), (1,70), (1,72), (1,74), (1,75), (1,77), (1,79), (1,81), (1,82), (1,83), (2,6), (2,12), (2,15), (2,19), (2,23), (2,24), (2,29), (2,34), (2,38), (2,39), (2,43), (2,45), (2,47), (2,50), (2,52), (2,58), (2,59), (2,63), (2,75), (2,81), (2,85), (3,5), (3,6), (3,20), (3,25), (3,26), (3,29), (3,33), (3,35), (3,40), (3,43), (3,45), (3,50), (3,51), (3,53), (3,55), (3,61), (3,65), (3,69), (3,70), (3,71), (3,76), (3,78), (3,81), (3,84), (4,19), (4,24), (4,26), (4,32), (4,33), (4,35), (4,42), (4,43), (4,45), (4,46), (4,51), (4,62), (4,67), (4,72), (4,73), (4,74), (4,75), (4,77), (4,78), (4,79), (4,80), (4,83), (4,84), (4,86), (5,8), (5,9), (5,12), (5,17), (5,22), (5,29), (5,31), (5,32), (5,40), (5,44), (5,46), (5,48), (5,49), (5,53), (5,59), (5,60), (5,65), (5,66), (5,69), (5,73), (5,74), (5,77), (5,78), (5,80), (5,81), (5,82), (5,86), (5,88), (6,8), (6,14), (6,16), (6,19), (6,22), (6,25), (6,27), (6,30), (6,33), (6,36), (6,41), (6,43), (6,44), (6,47), (6,54), (6,55), (6,56), (6,59), (6,66), (6,73), (6,75), (6,77), (6,80), (6,81), (6,86), (7,9), (7,10), (7,11), (7,14), (7,16), (7,17), (7,20), (7,21), (7,23), (7,25), (7,26), (7,31), (7,33), (7,35), (7,36), (7,38), (7,41), (7,47), (7,48), (7,50), (7,52), (7,54), (7,58), (7,65), (7,74), (7,77), (7,79), (7,80), (7,85), (7,86), (7,88), (7,89), (8,11), (8,16), (8,17), (8,18), (8,21), (8,22), (8,25), (8,33), (8,42), (8,44), (8,45), (8,51), (8,57), (8,62), (8,63), (8,65), (8,67), (8,69), (8,70), (8,73), (8,76), (8,81), (8,82), (9,10), (9,14), (9,15), (9,16), (9,17), (9,18), (9,21), (9,27), (9,30), (9,31), (9,32), (9,34), (9,48), (9,50), (9,62), (9,66), (9,74), (9,75), (9,83), (9,87), (10,27), (10,29), (10,30), (10,32), (10,38), (10,43), (10,50), (10,57), (10,58), (10,63), (10,66), (10,67), (10,71), (10,75), (10,81), (11,16), (11,19), (11,24), (11,30), (11,32), (11,39), (11,50), (11,56), (11,57), (11,64), (11,66), (11,71), (11,72), (11,75), (11,82), (12,13), (12,14), (12,15), (12,16), (12,17), (12,18), (12,19), (12,20), (12,24), (12,43), (12,45), (12,46), (12,52), (12,61), (12,62), (12,63), (12,65), (12,67), (12,69), (12,70), (12,80), (12,85), (13,15), (13,22), (13,29), (13,30), (13,33), (13,42), (13,44), (13,45), (13,46), (13,50), (13,58), (13,63), (13,64), (14,16), (14,18), (14,19), (14,26), (14,28), (14,29), (14,31), (14,38), (14,41), (14,42), (14,43), (14,44), (14,50), (14,52), (14,53), (14,59), (14,60), (14,66), (14,67), (14,73), (14,76), (14,78), (14,79), (14,81), (14,84), (15,24), (15,25), (15,26), (15,28), (15,40), (15,41), (15,45), (15,52), (15,59), (15,62), (15,69), (15,73), (15,75), (15,84), (15,86), (16,18), (16,20), (16,24), (16,25), (16,29), (16,32), (16,35), (16,37), (16,44), (16,45), (16,48), (16,54), (16,61), (16,62), (16,63), (16,64), (16,65), (16,68), (16,77), (16,78), (16,84), (16,85), (16,86), (16,87), (16,88), (17,24), (17,26), (17,36), (17,38), (17,39), (17,41), (17,42), (17,45), (17,57), (17,61), (17,65), (17,72), (17,77), (17,78), (18,28), (18,29), (18,39), (18,43), (18,47), (18,52), (18,54), (18,67), (18,69), (18,73), (18,77), (18,80), (18,85), (18,87), (18,88), (18,89), (19,22), (19,23), (19,24), (19,25), (19,28), (19,29), (19,35), (19,36), (19,37), (19,40), (19,42), (19,43), (19,48), (19,49), (19,50), (19,51), (19,60), (19,64), (19,76), (20,26), (20,30), (20,35), (20,36), (20,38), (20,39), (20,43), (20,47), (20,53), (20,56), (20,57), (20,61), (20,68), (20,81), (20,82), (20,85), (20,87), (20,89), (21,23), (21,24), (21,26), (21,35), (21,37), (21,40), (21,44), (21,49), (21,57), (21,58), (21,59), (21,60), (21,69), (21,75), (21,78), (21,79), (21,80), (21,81), (21,87), (22,24), (22,27), (22,32), (22,33), (22,34), (22,35), (22,37), (22,39), (22,40), (22,45), (22,51), (22,60), (22,63), (22,69), (22,71), (22,72), (22,74), (22,80), (22,84), (23,25), (23,31), (23,34), (23,39), (23,40), (23,46), (23,53), (23,55), (23,59), (23,61), (23,66), (23,70), (23,72), (23,76), (23,77), (23,79), (23,82), (23,85), (23,88), (24,25), (24,27), (24,31), (24,37), (24,38), (24,45), (24,52), (24,57), (24,62), (24,63), (24,64), (24,72), (24,74), (24,78), (24,81), (24,82), (24,84), (25,29), (25,38), (25,42), (25,46), (25,53), (25,55), (25,59), (25,64), (25,66), (25,72), (25,82), (25,84), (25,85), (26,28), (26,30), (26,32), (26,35), (26,36), (26,39), (26,42), (26,45), (26,46), (26,47), (26,48), (26,49), (26,50), (26,51), (26,59), (26,60), (26,62), (26,67), (26,72), (26,73), (26,75), (26,78), (26,79), (26,80), (26,81), (26,89), (27,28), (27,33), (27,34), (27,36), (27,39), (27,41), (27,42), (27,43), (27,49), (27,50), (27,51), (27,55), (27,58), (27,61), (27,63), (27,65), (27,68), (27,71), (27,74), (27,77), (27,78), (27,86), (27,88), (28,29), (28,30), (28,35), (28,36), (28,40), (28,42), (28,46), (28,51), (28,53), (28,55), (28,56), (28,57), (28,63), (28,73), (28,75), (28,77), (28,82), (29,32), (29,34), (29,37), (29,38), (29,44), (29,46), (29,47), (29,50), (29,51), (29,54), (29,55), (29,60), (29,67), (29,71), (29,72), (29,74), (29,77), (29,81), (29,82), (30,31), (30,35), (30,37), (30,41), (30,43), (30,48), (30,49), (30,52), (30,60), (30,63), (30,65), (30,66), (30,69), (30,70), (30,71), (30,72), (30,73), (30,74), (30,75), (31,34), (31,35), (31,37), (31,41), (31,44), (31,49), (31,54), (31,55), (31,63), (31,69), (31,74), (31,76), (31,79), (31,84), (31,85), (31,87), (31,89), (32,37), (32,39), (32,41), (32,43), (32,49), (32,52), (32,55), (32,56), (32,60), (32,62), (32,64), (32,69), (32,73), (32,74), (32,76), (32,78), (32,83), (32,88), (33,36), (33,39), (33,43), (33,45), (33,49), (33,51), (33,52), (33,54), (33,55), (33,56), (33,57), (33,59), (33,64), (33,70), (33,72), (33,74), (33,78), (33,79), (33,81), (33,82), (34,40), (34,41), (34,44), (34,45), (34,47), (34,49), (34,53), (34,61), (34,62), (34,63), (34,78), (34,84), (34,87), (34,89), (35,39), (35,41), (35,43), (35,51), (35,57), (35,66), (35,72), (35,75), (35,81), (35,82), (35,84), (36,43), (36,44), (36,45), (36,48), (36,60), (36,62), (36,66), (36,69), (36,75), (36,77), (36,84), (36,89), (37,43), (37,45), (37,46), (37,48), (37,52), (37,57), (37,67), (37,85), (37,86), (38,39), (38,44), (38,46), (38,52), (38,54), (38,55), (38,56), (38,59), (38,66), (38,67), (38,73), (38,74), (38,78), (38,79), (38,83), (38,85), (38,86), (39,40), (39,44), (39,45), (39,46), (39,47), (39,50), (39,51), (39,64), (39,71), (39,72), (39,75), (39,82), (39,86), (39,89), (40,49), (40,50), (40,59), (40,61), (40,63), (40,71), (40,74), (40,75), (40,77), (40,81), (40,85), (40,88), (41,42), (41,48), (41,49), (41,54), (41,63), (41,66), (41,79), (41,84), (41,87), (41,88), (42,45), (42,46), (42,50), (42,54), (42,55), (42,57), (42,61), (42,62), (42,67), (42,68), (42,69), (42,74), (42,78), (42,84), (42,86), (42,87), (43,47), (43,49), (43,50), (43,59), (43,67), (43,70), (43,71), (43,73), (43,89), (44,46), (44,64), (44,73), (44,75), (44,79), (44,83), (44,84), (44,85), (44,87), (45,47), (45,51), (45,52), (45,53), (45,57), (45,58), (45,60), (45,66), (45,67), (45,69), (45,78), (45,82), (45,84), (45,85), (45,89), (46,50), (46,52), (46,53), (46,56), (46,59), (46,67), (46,68), (46,72), (46,74), (46,79), (46,82), (47,56), (47,61), (47,66), (47,74), (47,84), (47,86), (47,87), (48,49), (48,54), (48,61), (48,64), (48,68), (48,69), (48,77), (48,79), (48,81), (49,50), (49,53), (49,54), (49,58), (49,62), (49,66), (49,69), (49,71), (49,72), (49,73), (49,74), (49,75), (49,76), (49,88), (49,89), (50,51), (50,60), (50,62), (50,65), (50,69), (50,71), (50,72), (50,75), (50,81), (50,85), (51,52), (51,58), (51,62), (51,64), (51,66), (51,67), (51,68), (51,72), (51,83), (51,84), (51,86), (51,87), (51,88), (52,56), (52,58), (52,60), (52,64), (52,65), (52,70), (52,72), (52,73), (52,78), (52,80), (52,81), (52,83), (52,86), (53,57), (53,59), (53,64), (53,67), (53,71), (53,72), (53,74), (53,75), (53,77), (53,78), (54,58), (54,60), (54,64), (54,74), (54,78), (54,81), (54,85), (54,86), (54,89), (55,59), (55,62), (55,66), (55,68), (55,71), (55,75), (55,76), (55,78), (55,87), (55,88), (56,59), (56,61), (56,62), (56,64), (56,65), (56,67), (56,71), (56,75), (56,81), (56,85), (56,87), (56,88), (57,61), (57,63), (57,64), (57,65), (57,71), (57,76), (57,77), (57,78), (57,83), (57,88), (57,89), (58,65), (58,68), (58,70), (58,71), (58,73), (58,75), (58,83), (58,86), (59,63), (59,64), (59,68), (59,69), (59,70), (59,72), (59,89), (60,63), (60,66), (60,71), (60,75), (60,84), (60,89), (61,63), (61,71), (61,73), (61,75), (61,83), (61,84), (61,87), (62,66), (62,69), (62,70), (62,71), (62,72), (62,74), (62,75), (62,77), (62,81), (62,82), (62,85), (63,65), (63,69), (63,74), (63,76), (63,79), (63,80), (63,83), (63,86), (64,65), (64,66), (64,84), (65,74), (65,77), (65,84), (65,86), (66,69), (66,70), (66,74), (66,75), (66,76), (66,78), (66,79), (66,82), (66,83), (66,85), (67,68), (67,69), (67,72), (67,78), (67,81), (67,82), (67,83), (67,87), (67,89), (68,72), (68,73), (68,81), (68,83), (68,86), (68,87), (69,75), (69,76), (69,78), (69,82), (69,83), (69,85), (69,86), (69,87), (70,72), (70,77), (70,81), (70,82), (70,84), (70,85), (71,75), (71,79), (71,80), (71,85), (72,78), (72,82), (72,83), (72,84), (73,76), (73,79), (73,80), (73,83), (73,87), (73,89), (74,76), (74,79), (74,80), (74,81), (74,87), (75,78), (75,81), (75,85), (76,77), (76,79), (77,83), (77,86), (77,87), (77,89), (78,82), (78,83), (78,89), (79,84), (79,89), (80,81), (80,85), (80,87), (80,89), (81,83), (81,85), (82,84), (82,85), (82,87), (83,86), (83,88), (83,89), (84,85), (84,88), (85,87), (85,88) + +Find an independent set of size at least 16 in G: a set of at least 16 vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-independent-set-l5-s6/solution/solve.sh b/tasks/construct-mc-max-independent-set-l5-s6/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..f6f5135ea0952fdd81de01d15e228e9d60aa4f87 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s6/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [2, 9, 11, 13, 25, 35, 36, 37, 54, 61, 65, 68, 70, 76, 80, 88]} +RLMATH_EOF diff --git a/tasks/construct-mc-max-independent-set-l5-s6/task.toml b/tasks/construct-mc-max-independent-set-l5-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..b2a6b505cbd6ed63b9e6dab5c570216ff932ed40 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-independent-set-l5-s6" +version = "0.2.0" +description = "construct/mc_max_independent_set" +authors = [] +keywords = ["rlmath", "construct", "mc_max_independent_set"] + +[metadata] +subset = "construct" +family = "mc_max_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "MathConstraint/max_independent_set" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-independent-set-l5-s6/tests/check.py b/tasks/construct-mc-max-independent-set-l5-s6/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..adce413e8578d996549583b990e4ff559f38ed41 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s6/tests/check.py @@ -0,0 +1,18 @@ +"""Independent set of size >= k in a given graph (MathConstraint max_independent_set, CC-BY-4.0).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) < k: + raise Invalid(f"set has {len(S)} vertices, need at least {k}") + E = {(u, v) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(S), 2): + if (u, v) in E: + raise Invalid(f"vertices {u} and {v} are adjacent") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-max-independent-set-l5-s6/tests/instance.json b/tasks/construct-mc-max-independent-set-l5-s6/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..713051bb2ab4723acd2dc8991b8e30aeba162e85 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s6/tests/instance.json @@ -0,0 +1 @@ +{"n": 90, "k": 16, "edges": [[0, 1], [0, 5], [0, 6], [0, 9], [0, 11], [0, 14], [0, 15], [0, 22], [0, 24], [0, 25], [0, 26], [0, 28], [0, 36], [0, 39], [0, 46], [0, 51], [0, 52], [0, 57], [0, 62], [0, 68], [0, 70], [0, 71], [0, 74], [0, 79], [0, 81], [0, 82], [0, 83], [0, 86], [1, 4], [1, 7], [1, 8], [1, 12], [1, 21], [1, 26], [1, 31], [1, 32], [1, 39], [1, 42], [1, 47], [1, 48], [1, 52], [1, 53], [1, 59], [1, 60], [1, 62], [1, 68], [1, 70], [1, 72], [1, 74], [1, 75], [1, 77], [1, 79], [1, 81], [1, 82], [1, 83], [2, 6], [2, 12], [2, 15], [2, 19], [2, 23], [2, 24], [2, 29], [2, 34], [2, 38], [2, 39], [2, 43], [2, 45], [2, 47], [2, 50], [2, 52], [2, 58], [2, 59], [2, 63], [2, 75], [2, 81], [2, 85], [3, 5], [3, 6], [3, 20], [3, 25], [3, 26], [3, 29], [3, 33], [3, 35], [3, 40], [3, 43], [3, 45], [3, 50], [3, 51], [3, 53], [3, 55], [3, 61], [3, 65], [3, 69], [3, 70], [3, 71], [3, 76], [3, 78], [3, 81], [3, 84], [4, 19], [4, 24], [4, 26], [4, 32], [4, 33], [4, 35], [4, 42], [4, 43], [4, 45], [4, 46], [4, 51], [4, 62], [4, 67], [4, 72], [4, 73], [4, 74], [4, 75], [4, 77], [4, 78], [4, 79], [4, 80], [4, 83], [4, 84], [4, 86], [5, 8], [5, 9], [5, 12], [5, 17], [5, 22], [5, 29], [5, 31], [5, 32], [5, 40], [5, 44], [5, 46], [5, 48], [5, 49], [5, 53], [5, 59], [5, 60], [5, 65], [5, 66], [5, 69], [5, 73], [5, 74], [5, 77], [5, 78], [5, 80], [5, 81], [5, 82], [5, 86], [5, 88], [6, 8], [6, 14], [6, 16], [6, 19], [6, 22], [6, 25], [6, 27], [6, 30], [6, 33], [6, 36], [6, 41], [6, 43], [6, 44], [6, 47], [6, 54], [6, 55], [6, 56], [6, 59], [6, 66], [6, 73], [6, 75], [6, 77], [6, 80], [6, 81], [6, 86], [7, 9], [7, 10], [7, 11], [7, 14], [7, 16], [7, 17], [7, 20], [7, 21], [7, 23], [7, 25], [7, 26], [7, 31], [7, 33], [7, 35], [7, 36], [7, 38], [7, 41], [7, 47], [7, 48], [7, 50], [7, 52], [7, 54], [7, 58], [7, 65], [7, 74], [7, 77], [7, 79], [7, 80], [7, 85], [7, 86], [7, 88], [7, 89], [8, 11], [8, 16], [8, 17], [8, 18], [8, 21], [8, 22], [8, 25], [8, 33], [8, 42], [8, 44], [8, 45], [8, 51], [8, 57], [8, 62], [8, 63], [8, 65], [8, 67], [8, 69], [8, 70], [8, 73], [8, 76], [8, 81], [8, 82], [9, 10], [9, 14], [9, 15], [9, 16], [9, 17], [9, 18], [9, 21], [9, 27], [9, 30], [9, 31], [9, 32], [9, 34], [9, 48], [9, 50], [9, 62], [9, 66], [9, 74], [9, 75], [9, 83], [9, 87], [10, 27], [10, 29], [10, 30], [10, 32], [10, 38], [10, 43], [10, 50], [10, 57], [10, 58], [10, 63], [10, 66], [10, 67], [10, 71], [10, 75], [10, 81], [11, 16], [11, 19], [11, 24], [11, 30], [11, 32], [11, 39], [11, 50], [11, 56], [11, 57], [11, 64], [11, 66], [11, 71], [11, 72], [11, 75], [11, 82], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 24], [12, 43], [12, 45], [12, 46], [12, 52], [12, 61], [12, 62], [12, 63], [12, 65], [12, 67], [12, 69], [12, 70], [12, 80], [12, 85], [13, 15], [13, 22], [13, 29], [13, 30], [13, 33], [13, 42], [13, 44], [13, 45], [13, 46], [13, 50], [13, 58], [13, 63], [13, 64], [14, 16], [14, 18], [14, 19], [14, 26], [14, 28], [14, 29], [14, 31], [14, 38], [14, 41], [14, 42], [14, 43], [14, 44], [14, 50], [14, 52], [14, 53], [14, 59], [14, 60], [14, 66], [14, 67], [14, 73], [14, 76], [14, 78], [14, 79], [14, 81], [14, 84], [15, 24], [15, 25], [15, 26], [15, 28], [15, 40], [15, 41], [15, 45], [15, 52], [15, 59], [15, 62], [15, 69], [15, 73], [15, 75], [15, 84], [15, 86], [16, 18], [16, 20], [16, 24], [16, 25], [16, 29], [16, 32], [16, 35], [16, 37], [16, 44], [16, 45], [16, 48], [16, 54], [16, 61], [16, 62], [16, 63], [16, 64], [16, 65], [16, 68], [16, 77], [16, 78], [16, 84], [16, 85], [16, 86], [16, 87], [16, 88], [17, 24], [17, 26], [17, 36], [17, 38], [17, 39], [17, 41], [17, 42], [17, 45], [17, 57], [17, 61], [17, 65], [17, 72], [17, 77], [17, 78], [18, 28], [18, 29], [18, 39], [18, 43], [18, 47], [18, 52], [18, 54], [18, 67], [18, 69], [18, 73], [18, 77], [18, 80], [18, 85], [18, 87], [18, 88], [18, 89], [19, 22], [19, 23], [19, 24], [19, 25], [19, 28], [19, 29], [19, 35], [19, 36], [19, 37], [19, 40], [19, 42], [19, 43], [19, 48], [19, 49], [19, 50], [19, 51], [19, 60], [19, 64], [19, 76], [20, 26], [20, 30], [20, 35], [20, 36], [20, 38], [20, 39], [20, 43], [20, 47], [20, 53], [20, 56], [20, 57], [20, 61], [20, 68], [20, 81], [20, 82], [20, 85], [20, 87], [20, 89], [21, 23], [21, 24], [21, 26], [21, 35], [21, 37], [21, 40], [21, 44], [21, 49], [21, 57], [21, 58], [21, 59], [21, 60], [21, 69], [21, 75], [21, 78], [21, 79], [21, 80], [21, 81], [21, 87], [22, 24], [22, 27], [22, 32], [22, 33], [22, 34], [22, 35], [22, 37], [22, 39], [22, 40], [22, 45], [22, 51], [22, 60], [22, 63], [22, 69], [22, 71], [22, 72], [22, 74], [22, 80], [22, 84], [23, 25], [23, 31], [23, 34], [23, 39], [23, 40], [23, 46], [23, 53], [23, 55], [23, 59], [23, 61], [23, 66], [23, 70], [23, 72], [23, 76], [23, 77], [23, 79], [23, 82], [23, 85], [23, 88], [24, 25], [24, 27], [24, 31], [24, 37], [24, 38], [24, 45], [24, 52], [24, 57], [24, 62], [24, 63], [24, 64], [24, 72], [24, 74], [24, 78], [24, 81], [24, 82], [24, 84], [25, 29], [25, 38], [25, 42], [25, 46], [25, 53], [25, 55], [25, 59], [25, 64], [25, 66], [25, 72], [25, 82], [25, 84], [25, 85], [26, 28], [26, 30], [26, 32], [26, 35], [26, 36], [26, 39], [26, 42], [26, 45], [26, 46], [26, 47], [26, 48], [26, 49], [26, 50], [26, 51], [26, 59], [26, 60], [26, 62], [26, 67], [26, 72], [26, 73], [26, 75], [26, 78], [26, 79], [26, 80], [26, 81], [26, 89], [27, 28], [27, 33], [27, 34], [27, 36], [27, 39], [27, 41], [27, 42], [27, 43], [27, 49], [27, 50], [27, 51], [27, 55], [27, 58], [27, 61], [27, 63], [27, 65], [27, 68], [27, 71], [27, 74], [27, 77], [27, 78], [27, 86], [27, 88], [28, 29], [28, 30], [28, 35], [28, 36], [28, 40], [28, 42], [28, 46], [28, 51], [28, 53], [28, 55], [28, 56], [28, 57], [28, 63], [28, 73], [28, 75], [28, 77], [28, 82], [29, 32], [29, 34], [29, 37], [29, 38], [29, 44], [29, 46], [29, 47], [29, 50], [29, 51], [29, 54], [29, 55], [29, 60], [29, 67], [29, 71], [29, 72], [29, 74], [29, 77], [29, 81], [29, 82], [30, 31], [30, 35], [30, 37], [30, 41], [30, 43], [30, 48], [30, 49], [30, 52], [30, 60], [30, 63], [30, 65], [30, 66], [30, 69], [30, 70], [30, 71], [30, 72], [30, 73], [30, 74], [30, 75], [31, 34], [31, 35], [31, 37], [31, 41], [31, 44], [31, 49], [31, 54], [31, 55], [31, 63], [31, 69], [31, 74], [31, 76], [31, 79], [31, 84], [31, 85], [31, 87], [31, 89], [32, 37], [32, 39], [32, 41], [32, 43], [32, 49], [32, 52], [32, 55], [32, 56], [32, 60], [32, 62], [32, 64], [32, 69], [32, 73], [32, 74], [32, 76], [32, 78], [32, 83], [32, 88], [33, 36], [33, 39], [33, 43], [33, 45], [33, 49], [33, 51], [33, 52], [33, 54], [33, 55], [33, 56], [33, 57], [33, 59], [33, 64], [33, 70], [33, 72], [33, 74], [33, 78], [33, 79], [33, 81], [33, 82], [34, 40], [34, 41], [34, 44], [34, 45], [34, 47], [34, 49], [34, 53], [34, 61], [34, 62], [34, 63], [34, 78], [34, 84], [34, 87], [34, 89], [35, 39], [35, 41], [35, 43], [35, 51], [35, 57], [35, 66], [35, 72], [35, 75], [35, 81], [35, 82], [35, 84], [36, 43], [36, 44], [36, 45], [36, 48], [36, 60], [36, 62], [36, 66], [36, 69], [36, 75], [36, 77], [36, 84], [36, 89], [37, 43], [37, 45], [37, 46], [37, 48], [37, 52], [37, 57], [37, 67], [37, 85], [37, 86], [38, 39], [38, 44], [38, 46], [38, 52], [38, 54], [38, 55], [38, 56], [38, 59], [38, 66], [38, 67], [38, 73], [38, 74], [38, 78], [38, 79], [38, 83], [38, 85], [38, 86], [39, 40], [39, 44], [39, 45], [39, 46], [39, 47], [39, 50], [39, 51], [39, 64], [39, 71], [39, 72], [39, 75], [39, 82], [39, 86], [39, 89], [40, 49], [40, 50], [40, 59], [40, 61], [40, 63], [40, 71], [40, 74], [40, 75], [40, 77], [40, 81], [40, 85], [40, 88], [41, 42], [41, 48], [41, 49], [41, 54], [41, 63], [41, 66], [41, 79], [41, 84], [41, 87], [41, 88], [42, 45], [42, 46], [42, 50], [42, 54], [42, 55], [42, 57], [42, 61], [42, 62], [42, 67], [42, 68], [42, 69], [42, 74], [42, 78], [42, 84], [42, 86], [42, 87], [43, 47], [43, 49], [43, 50], [43, 59], [43, 67], [43, 70], [43, 71], [43, 73], [43, 89], [44, 46], [44, 64], [44, 73], [44, 75], [44, 79], [44, 83], [44, 84], [44, 85], [44, 87], [45, 47], [45, 51], [45, 52], [45, 53], [45, 57], [45, 58], [45, 60], [45, 66], [45, 67], [45, 69], [45, 78], [45, 82], [45, 84], [45, 85], [45, 89], [46, 50], [46, 52], [46, 53], [46, 56], [46, 59], [46, 67], [46, 68], [46, 72], [46, 74], [46, 79], [46, 82], [47, 56], [47, 61], [47, 66], [47, 74], [47, 84], [47, 86], [47, 87], [48, 49], [48, 54], [48, 61], [48, 64], [48, 68], [48, 69], [48, 77], [48, 79], [48, 81], [49, 50], [49, 53], [49, 54], [49, 58], [49, 62], [49, 66], [49, 69], [49, 71], [49, 72], [49, 73], [49, 74], [49, 75], [49, 76], [49, 88], [49, 89], [50, 51], [50, 60], [50, 62], [50, 65], [50, 69], [50, 71], [50, 72], [50, 75], [50, 81], [50, 85], [51, 52], [51, 58], [51, 62], [51, 64], [51, 66], [51, 67], [51, 68], [51, 72], [51, 83], [51, 84], [51, 86], [51, 87], [51, 88], [52, 56], [52, 58], [52, 60], [52, 64], [52, 65], [52, 70], [52, 72], [52, 73], [52, 78], [52, 80], [52, 81], [52, 83], [52, 86], [53, 57], [53, 59], [53, 64], [53, 67], [53, 71], [53, 72], [53, 74], [53, 75], [53, 77], [53, 78], [54, 58], [54, 60], [54, 64], [54, 74], [54, 78], [54, 81], [54, 85], [54, 86], [54, 89], [55, 59], [55, 62], [55, 66], [55, 68], [55, 71], [55, 75], [55, 76], [55, 78], [55, 87], [55, 88], [56, 59], [56, 61], [56, 62], [56, 64], [56, 65], [56, 67], [56, 71], [56, 75], [56, 81], [56, 85], [56, 87], [56, 88], [57, 61], [57, 63], [57, 64], [57, 65], [57, 71], [57, 76], [57, 77], [57, 78], [57, 83], [57, 88], [57, 89], [58, 65], [58, 68], [58, 70], [58, 71], [58, 73], [58, 75], [58, 83], [58, 86], [59, 63], [59, 64], [59, 68], [59, 69], [59, 70], [59, 72], [59, 89], [60, 63], [60, 66], [60, 71], [60, 75], [60, 84], [60, 89], [61, 63], [61, 71], [61, 73], [61, 75], [61, 83], [61, 84], [61, 87], [62, 66], [62, 69], [62, 70], [62, 71], [62, 72], [62, 74], [62, 75], [62, 77], [62, 81], [62, 82], [62, 85], [63, 65], [63, 69], [63, 74], [63, 76], [63, 79], [63, 80], [63, 83], [63, 86], [64, 65], [64, 66], [64, 84], [65, 74], [65, 77], [65, 84], [65, 86], [66, 69], [66, 70], [66, 74], [66, 75], [66, 76], [66, 78], [66, 79], [66, 82], [66, 83], [66, 85], [67, 68], [67, 69], [67, 72], [67, 78], [67, 81], [67, 82], [67, 83], [67, 87], [67, 89], [68, 72], [68, 73], [68, 81], [68, 83], [68, 86], [68, 87], [69, 75], [69, 76], [69, 78], [69, 82], [69, 83], [69, 85], [69, 86], [69, 87], [70, 72], [70, 77], [70, 81], [70, 82], [70, 84], [70, 85], [71, 75], [71, 79], [71, 80], [71, 85], [72, 78], [72, 82], [72, 83], [72, 84], [73, 76], [73, 79], [73, 80], [73, 83], [73, 87], [73, 89], [74, 76], [74, 79], [74, 80], [74, 81], [74, 87], [75, 78], [75, 81], [75, 85], [76, 77], [76, 79], [77, 83], [77, 86], [77, 87], [77, 89], [78, 82], [78, 83], [78, 89], [79, 84], [79, 89], [80, 81], [80, 85], [80, 87], [80, 89], [81, 83], [81, 85], [82, 84], [82, 85], [82, 87], [83, 86], [83, 88], [83, 89], [84, 85], [84, 88], [85, 87], [85, 88]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l5-s6/tests/run.py b/tasks/construct-mc-max-independent-set-l5-s6/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s6/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-max-independent-set-l5-s6/tests/test.sh b/tasks/construct-mc-max-independent-set-l5-s6/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s6/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-max-independent-set-l5-s8/environment/Dockerfile b/tasks/construct-mc-max-independent-set-l5-s8/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s8/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-max-independent-set-l5-s8/environment/instance.json b/tasks/construct-mc-max-independent-set-l5-s8/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..fd6a1e42d601e94890bafea1647b73db60efd274 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s8/environment/instance.json @@ -0,0 +1 @@ +{"n": 90, "k": 16, "edges": [[0, 7], [0, 9], [0, 14], [0, 17], [0, 18], [0, 28], [0, 33], [0, 35], [0, 41], [0, 42], [0, 45], [0, 55], [0, 61], [0, 63], [0, 65], [0, 80], [0, 85], [0, 86], [0, 87], [1, 4], [1, 5], [1, 9], [1, 10], [1, 16], [1, 21], [1, 28], [1, 29], [1, 33], [1, 34], [1, 37], [1, 41], [1, 42], [1, 43], [1, 48], [1, 53], [1, 56], [1, 58], [1, 62], [1, 65], [1, 66], [1, 69], [1, 75], [1, 76], [1, 79], [1, 85], [1, 89], [2, 3], [2, 5], [2, 8], [2, 9], [2, 10], [2, 12], [2, 13], [2, 16], [2, 19], [2, 20], [2, 21], [2, 29], [2, 36], [2, 37], [2, 39], [2, 45], [2, 50], [2, 53], [2, 59], [2, 62], [2, 64], [2, 68], [2, 69], [2, 72], [2, 75], [2, 78], [2, 87], [2, 89], [3, 8], [3, 9], [3, 10], [3, 12], [3, 18], [3, 20], [3, 26], [3, 28], [3, 29], [3, 32], [3, 33], [3, 42], [3, 51], [3, 53], [3, 57], [3, 58], [3, 60], [3, 77], [3, 89], [4, 6], [4, 23], [4, 24], [4, 26], [4, 27], [4, 32], [4, 33], [4, 43], [4, 44], [4, 49], [4, 50], [4, 53], [4, 54], [4, 56], [4, 62], [4, 67], [4, 68], [4, 70], [4, 71], [4, 73], [4, 74], [4, 75], [4, 77], [4, 84], [4, 89], [5, 6], [5, 8], [5, 16], [5, 20], [5, 21], [5, 24], [5, 25], [5, 27], [5, 29], [5, 31], [5, 33], [5, 34], [5, 35], [5, 37], [5, 45], [5, 51], [5, 52], [5, 53], [5, 58], [5, 60], [5, 66], [5, 68], [5, 76], [5, 78], [5, 80], [5, 83], [5, 84], [5, 87], [6, 9], [6, 12], [6, 15], [6, 18], [6, 20], [6, 21], [6, 25], [6, 31], [6, 33], [6, 42], [6, 48], [6, 51], [6, 53], [6, 57], [6, 61], [6, 62], [6, 64], [6, 65], [6, 67], [6, 70], [6, 73], [6, 76], [6, 79], [6, 83], [6, 85], [6, 89], [7, 8], [7, 11], [7, 15], [7, 16], [7, 21], [7, 23], [7, 26], [7, 30], [7, 31], [7, 32], [7, 38], [7, 40], [7, 43], [7, 44], [7, 45], [7, 47], [7, 51], [7, 61], [7, 62], [7, 63], [7, 67], [7, 70], [7, 73], [7, 74], [7, 79], [7, 83], [7, 87], [7, 88], [8, 9], [8, 11], [8, 15], [8, 19], [8, 20], [8, 31], [8, 37], [8, 49], [8, 50], [8, 51], [8, 53], [8, 55], [8, 58], [8, 61], [8, 63], [8, 68], [8, 69], [8, 72], [8, 78], [8, 80], [8, 81], [9, 10], [9, 11], [9, 13], [9, 14], [9, 18], [9, 19], [9, 20], [9, 26], [9, 28], [9, 33], [9, 34], [9, 36], [9, 38], [9, 56], [9, 59], [9, 60], [9, 64], [9, 66], [9, 73], [9, 82], [9, 88], [9, 89], [10, 14], [10, 28], [10, 29], [10, 34], [10, 36], [10, 37], [10, 39], [10, 41], [10, 43], [10, 48], [10, 55], [10, 56], [10, 57], [10, 62], [10, 63], [10, 64], [10, 67], [10, 68], [10, 71], [10, 73], [10, 77], [10, 84], [10, 86], [11, 13], [11, 17], [11, 22], [11, 25], [11, 29], [11, 30], [11, 31], [11, 32], [11, 35], [11, 37], [11, 40], [11, 43], [11, 48], [11, 52], [11, 53], [11, 54], [11, 55], [11, 58], [11, 66], [11, 71], [11, 72], [11, 76], [11, 78], [11, 81], [11, 83], [11, 86], [12, 14], [12, 16], [12, 21], [12, 22], [12, 24], [12, 33], [12, 35], [12, 36], [12, 38], [12, 42], [12, 51], [12, 54], [12, 66], [12, 68], [12, 78], [12, 81], [12, 83], [12, 84], [12, 85], [12, 86], [13, 14], [13, 16], [13, 17], [13, 18], [13, 25], [13, 27], [13, 36], [13, 39], [13, 44], [13, 48], [13, 51], [13, 54], [13, 57], [13, 67], [13, 74], [13, 89], [14, 16], [14, 18], [14, 24], [14, 27], [14, 28], [14, 30], [14, 33], [14, 36], [14, 38], [14, 40], [14, 42], [14, 49], [14, 61], [14, 62], [14, 64], [14, 68], [14, 71], [14, 74], [14, 75], [14, 76], [14, 80], [14, 84], [15, 16], [15, 17], [15, 18], [15, 20], [15, 21], [15, 23], [15, 27], [15, 28], [15, 31], [15, 32], [15, 33], [15, 37], [15, 40], [15, 41], [15, 42], [15, 47], [15, 48], [15, 57], [15, 59], [15, 66], [15, 67], [15, 68], [15, 71], [15, 74], [15, 87], [15, 88], [16, 17], [16, 22], [16, 25], [16, 26], [16, 27], [16, 29], [16, 31], [16, 32], [16, 36], [16, 40], [16, 43], [16, 47], [16, 59], [16, 63], [16, 68], [16, 76], [16, 77], [16, 79], [16, 88], [17, 21], [17, 30], [17, 31], [17, 45], [17, 46], [17, 48], [17, 56], [17, 63], [17, 64], [17, 65], [17, 66], [17, 69], [17, 70], [17, 73], [17, 79], [17, 80], [18, 20], [18, 25], [18, 33], [18, 39], [18, 41], [18, 45], [18, 48], [18, 52], [18, 56], [18, 61], [18, 63], [18, 64], [18, 67], [18, 71], [18, 75], [18, 77], [18, 79], [18, 80], [18, 82], [18, 83], [18, 89], [19, 20], [19, 28], [19, 29], [19, 39], [19, 40], [19, 51], [19, 54], [19, 60], [19, 64], [19, 71], [19, 72], [19, 79], [19, 81], [19, 83], [19, 87], [19, 89], [20, 28], [20, 29], [20, 30], [20, 34], [20, 35], [20, 39], [20, 44], [20, 50], [20, 51], [20, 52], [20, 54], [20, 56], [20, 57], [20, 59], [20, 62], [20, 63], [20, 65], [20, 68], [20, 69], [20, 70], [20, 73], [20, 75], [20, 80], [20, 84], [20, 85], [20, 89], [21, 26], [21, 35], [21, 36], [21, 40], [21, 41], [21, 46], [21, 50], [21, 52], [21, 54], [21, 55], [21, 59], [21, 66], [21, 67], [21, 69], [21, 74], [21, 75], [21, 78], [21, 83], [21, 84], [21, 89], [22, 27], [22, 29], [22, 30], [22, 31], [22, 34], [22, 40], [22, 43], [22, 44], [22, 46], [22, 56], [22, 61], [22, 70], [22, 73], [22, 75], [22, 76], [22, 80], [22, 86], [22, 87], [22, 88], [23, 24], [23, 28], [23, 30], [23, 38], [23, 42], [23, 44], [23, 45], [23, 50], [23, 52], [23, 53], [23, 54], [23, 55], [23, 56], [23, 60], [23, 61], [23, 65], [23, 66], [23, 71], [23, 74], [23, 75], [23, 79], [23, 80], [23, 85], [23, 87], [24, 25], [24, 27], [24, 39], [24, 50], [24, 51], [24, 53], [24, 56], [24, 59], [24, 60], [24, 61], [24, 63], [24, 64], [24, 66], [24, 70], [24, 72], [24, 73], [24, 76], [24, 81], [24, 82], [24, 83], [24, 88], [25, 27], [25, 30], [25, 34], [25, 37], [25, 39], [25, 40], [25, 42], [25, 44], [25, 51], [25, 52], [25, 56], [25, 60], [25, 62], [25, 66], [25, 70], [25, 74], [25, 86], [26, 27], [26, 28], [26, 29], [26, 31], [26, 32], [26, 37], [26, 39], [26, 43], [26, 44], [26, 48], [26, 49], [26, 50], [26, 56], [26, 60], [26, 65], [26, 68], [26, 69], [26, 70], [26, 72], [26, 76], [26, 78], [27, 29], [27, 34], [27, 45], [27, 47], [27, 48], [27, 50], [27, 51], [27, 61], [27, 62], [27, 66], [27, 68], [27, 69], [27, 71], [27, 73], [27, 83], [27, 85], [27, 88], [28, 29], [28, 33], [28, 38], [28, 39], [28, 41], [28, 45], [28, 51], [28, 53], [28, 60], [28, 61], [28, 69], [28, 71], [28, 73], [28, 74], [28, 76], [28, 78], [28, 79], [28, 85], [28, 87], [29, 34], [29, 42], [29, 43], [29, 44], [29, 46], [29, 47], [29, 54], [29, 55], [29, 56], [29, 59], [29, 61], [29, 72], [29, 75], [29, 77], [29, 78], [29, 81], [29, 84], [29, 86], [29, 88], [30, 35], [30, 36], [30, 37], [30, 40], [30, 49], [30, 51], [30, 52], [30, 56], [30, 61], [30, 63], [30, 64], [30, 66], [30, 71], [30, 73], [30, 75], [30, 77], [30, 78], [30, 80], [30, 81], [30, 82], [30, 83], [30, 87], [31, 32], [31, 35], [31, 36], [31, 39], [31, 40], [31, 43], [31, 46], [31, 49], [31, 53], [31, 56], [31, 58], [31, 67], [31, 68], [31, 71], [31, 79], [31, 81], [31, 82], [31, 84], [31, 86], [31, 87], [31, 89], [32, 34], [32, 42], [32, 44], [32, 45], [32, 48], [32, 49], [32, 57], [32, 58], [32, 59], [32, 60], [32, 67], [32, 68], [32, 70], [32, 71], [32, 72], [32, 75], [32, 77], [32, 80], [32, 81], [32, 84], [32, 87], [33, 36], [33, 38], [33, 43], [33, 45], [33, 46], [33, 47], [33, 50], [33, 51], [33, 52], [33, 57], [33, 58], [33, 60], [33, 66], [33, 84], [33, 85], [33, 87], [33, 89], [34, 36], [34, 37], [34, 38], [34, 44], [34, 45], [34, 46], [34, 47], [34, 52], [34, 55], [34, 56], [34, 60], [34, 61], [34, 62], [34, 76], [34, 78], [34, 79], [35, 41], [35, 45], [35, 48], [35, 50], [35, 51], [35, 58], [35, 60], [35, 62], [35, 63], [35, 65], [35, 67], [35, 68], [35, 70], [35, 79], [35, 83], [35, 85], [35, 86], [35, 87], [35, 88], [35, 89], [36, 40], [36, 44], [36, 46], [36, 47], [36, 48], [36, 50], [36, 60], [36, 61], [36, 69], [36, 74], [36, 77], [36, 87], [36, 88], [37, 39], [37, 42], [37, 44], [37, 47], [37, 53], [37, 57], [37, 58], [37, 64], [37, 70], [37, 71], [37, 74], [37, 76], [37, 80], [38, 44], [38, 53], [38, 61], [38, 63], [38, 67], [38, 71], [38, 74], [38, 77], [38, 78], [38, 85], [38, 88], [38, 89], [39, 42], [39, 43], [39, 45], [39, 50], [39, 56], [39, 62], [39, 63], [39, 64], [39, 73], [39, 77], [39, 78], [39, 79], [39, 82], [39, 83], [39, 88], [40, 43], [40, 50], [40, 53], [40, 54], [40, 59], [40, 79], [40, 87], [40, 88], [41, 43], [41, 49], [41, 52], [41, 65], [41, 66], [41, 68], [41, 77], [41, 78], [41, 81], [41, 82], [41, 83], [41, 85], [42, 46], [42, 50], [42, 52], [42, 57], [42, 63], [42, 66], [42, 76], [42, 78], [42, 83], [42, 85], [43, 47], [43, 50], [43, 52], [43, 55], [43, 63], [43, 67], [43, 69], [43, 76], [43, 81], [43, 84], [43, 89], [44, 49], [44, 55], [44, 56], [44, 57], [44, 59], [44, 61], [44, 63], [44, 73], [44, 75], [44, 77], [44, 82], [44, 85], [45, 48], [45, 49], [45, 53], [45, 57], [45, 59], [45, 68], [45, 69], [45, 74], [45, 84], [45, 86], [45, 89], [46, 49], [46, 51], [46, 54], [46, 55], [46, 69], [46, 70], [46, 72], [46, 75], [46, 77], [46, 82], [46, 83], [46, 87], [47, 49], [47, 50], [47, 53], [47, 57], [47, 58], [47, 62], [47, 65], [47, 73], [47, 74], [47, 79], [47, 81], [47, 86], [47, 89], [48, 51], [48, 52], [48, 54], [48, 55], [48, 56], [48, 68], [48, 69], [48, 74], [48, 78], [48, 86], [49, 51], [49, 53], [49, 56], [49, 58], [49, 60], [49, 66], [49, 67], [49, 68], [49, 71], [49, 72], [49, 73], [49, 77], [49, 80], [49, 86], [50, 53], [50, 55], [50, 56], [50, 57], [50, 60], [50, 73], [50, 76], [50, 77], [50, 83], [50, 86], [50, 87], [50, 89], [51, 53], [51, 57], [51, 60], [51, 61], [51, 78], [51, 79], [51, 81], [51, 82], [51, 89], [52, 67], [52, 68], [52, 70], [52, 73], [52, 74], [52, 76], [52, 89], [53, 57], [53, 58], [53, 59], [53, 60], [53, 63], [53, 67], [53, 74], [53, 76], [53, 79], [53, 80], [53, 82], [53, 85], [54, 61], [54, 64], [54, 65], [54, 67], [54, 70], [54, 73], [54, 83], [55, 58], [55, 61], [55, 68], [55, 69], [55, 70], [55, 74], [55, 76], [55, 80], [55, 85], [56, 58], [56, 60], [56, 68], [56, 69], [56, 70], [56, 73], [56, 80], [56, 81], [56, 82], [56, 87], [56, 89], [57, 60], [57, 62], [57, 64], [57, 67], [57, 68], [57, 70], [57, 73], [57, 74], [57, 78], [57, 79], [58, 59], [58, 62], [58, 66], [58, 67], [58, 68], [58, 77], [58, 81], [58, 84], [58, 85], [58, 88], [59, 64], [59, 69], [59, 71], [59, 81], [59, 86], [59, 87], [60, 62], [60, 65], [60, 66], [60, 68], [60, 69], [60, 71], [60, 72], [60, 73], [60, 76], [60, 77], [60, 89], [61, 64], [61, 66], [61, 67], [61, 70], [61, 76], [61, 78], [61, 79], [61, 80], [61, 82], [61, 83], [62, 67], [62, 71], [62, 74], [62, 80], [62, 81], [62, 83], [62, 87], [62, 88], [62, 89], [63, 64], [63, 66], [63, 71], [63, 75], [63, 79], [63, 81], [63, 84], [63, 88], [64, 66], [64, 70], [64, 73], [64, 78], [64, 80], [64, 82], [64, 87], [65, 66], [65, 69], [65, 70], [65, 75], [65, 76], [65, 77], [65, 80], [65, 84], [65, 85], [65, 87], [66, 67], [66, 71], [66, 73], [66, 76], [66, 77], [66, 78], [66, 79], [66, 81], [66, 83], [66, 89], [67, 70], [67, 73], [67, 83], [67, 85], [67, 86], [67, 87], [67, 88], [68, 73], [68, 77], [68, 80], [68, 83], [69, 70], [69, 71], [69, 72], [69, 73], [69, 81], [69, 82], [69, 83], [69, 88], [69, 89], [70, 77], [70, 84], [70, 88], [70, 89], [71, 75], [71, 79], [71, 81], [71, 82], [71, 83], [71, 85], [71, 87], [71, 88], [72, 73], [72, 74], [72, 76], [72, 80], [72, 82], [73, 75], [73, 77], [73, 84], [73, 87], [73, 88], [74, 75], [74, 77], [74, 78], [74, 87], [74, 88], [75, 76], [75, 79], [76, 77], [76, 78], [76, 81], [76, 82], [76, 86], [76, 87], [77, 80], [77, 87], [78, 79], [78, 85], [78, 86], [78, 87], [79, 81], [79, 83], [80, 81], [80, 86], [80, 87], [80, 89], [81, 82], [81, 84], [81, 85], [81, 86], [82, 86], [84, 86], [84, 87], [85, 86], [85, 88], [86, 87], [86, 89], [87, 88], [88, 89]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l5-s8/instruction.md b/tasks/construct-mc-max-independent-set-l5-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..6c41bb6c839806a9e9eee44e1c8bd0eb03981a97 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s8/instruction.md @@ -0,0 +1,8 @@ +Graph G with 90 vertices numbered 0..89 and 1172 edges: +(0,7), (0,9), (0,14), (0,17), (0,18), (0,28), (0,33), (0,35), (0,41), (0,42), (0,45), (0,55), (0,61), (0,63), (0,65), (0,80), (0,85), (0,86), (0,87), (1,4), (1,5), (1,9), (1,10), (1,16), (1,21), (1,28), (1,29), (1,33), (1,34), (1,37), (1,41), (1,42), (1,43), (1,48), (1,53), (1,56), (1,58), (1,62), (1,65), (1,66), (1,69), (1,75), (1,76), (1,79), (1,85), (1,89), (2,3), (2,5), (2,8), (2,9), (2,10), (2,12), (2,13), (2,16), (2,19), (2,20), (2,21), (2,29), (2,36), (2,37), (2,39), (2,45), (2,50), (2,53), (2,59), (2,62), (2,64), (2,68), (2,69), (2,72), (2,75), (2,78), (2,87), (2,89), (3,8), (3,9), (3,10), (3,12), (3,18), (3,20), (3,26), (3,28), (3,29), (3,32), (3,33), (3,42), (3,51), (3,53), (3,57), (3,58), (3,60), (3,77), (3,89), (4,6), (4,23), (4,24), (4,26), (4,27), (4,32), (4,33), (4,43), (4,44), (4,49), (4,50), (4,53), (4,54), (4,56), (4,62), (4,67), (4,68), (4,70), (4,71), (4,73), (4,74), (4,75), (4,77), (4,84), (4,89), (5,6), (5,8), (5,16), (5,20), (5,21), (5,24), (5,25), (5,27), (5,29), (5,31), (5,33), (5,34), (5,35), (5,37), (5,45), (5,51), (5,52), (5,53), (5,58), (5,60), (5,66), (5,68), (5,76), (5,78), (5,80), (5,83), (5,84), (5,87), (6,9), (6,12), (6,15), (6,18), (6,20), (6,21), (6,25), (6,31), (6,33), (6,42), (6,48), (6,51), (6,53), (6,57), (6,61), (6,62), (6,64), (6,65), (6,67), (6,70), (6,73), (6,76), (6,79), (6,83), (6,85), (6,89), (7,8), (7,11), (7,15), (7,16), (7,21), (7,23), (7,26), (7,30), (7,31), (7,32), (7,38), (7,40), (7,43), (7,44), (7,45), (7,47), (7,51), (7,61), (7,62), (7,63), (7,67), (7,70), (7,73), (7,74), (7,79), (7,83), (7,87), (7,88), (8,9), (8,11), (8,15), (8,19), (8,20), (8,31), (8,37), (8,49), (8,50), (8,51), (8,53), (8,55), (8,58), (8,61), (8,63), (8,68), (8,69), (8,72), (8,78), (8,80), (8,81), (9,10), (9,11), (9,13), (9,14), (9,18), (9,19), (9,20), (9,26), (9,28), (9,33), (9,34), (9,36), (9,38), (9,56), (9,59), (9,60), (9,64), (9,66), (9,73), (9,82), (9,88), (9,89), (10,14), (10,28), (10,29), (10,34), (10,36), (10,37), (10,39), (10,41), (10,43), (10,48), (10,55), (10,56), (10,57), (10,62), (10,63), (10,64), (10,67), (10,68), (10,71), (10,73), (10,77), (10,84), (10,86), (11,13), (11,17), (11,22), (11,25), (11,29), (11,30), (11,31), (11,32), (11,35), (11,37), (11,40), (11,43), (11,48), (11,52), (11,53), (11,54), (11,55), (11,58), (11,66), (11,71), (11,72), (11,76), (11,78), (11,81), (11,83), (11,86), (12,14), (12,16), (12,21), (12,22), (12,24), (12,33), (12,35), (12,36), (12,38), (12,42), (12,51), (12,54), (12,66), (12,68), (12,78), (12,81), (12,83), (12,84), (12,85), (12,86), (13,14), (13,16), (13,17), (13,18), (13,25), (13,27), (13,36), (13,39), (13,44), (13,48), (13,51), (13,54), (13,57), (13,67), (13,74), (13,89), (14,16), (14,18), (14,24), (14,27), (14,28), (14,30), (14,33), (14,36), (14,38), (14,40), (14,42), (14,49), (14,61), (14,62), (14,64), (14,68), (14,71), (14,74), (14,75), (14,76), (14,80), (14,84), (15,16), (15,17), (15,18), (15,20), (15,21), (15,23), (15,27), (15,28), (15,31), (15,32), (15,33), (15,37), (15,40), (15,41), (15,42), (15,47), (15,48), (15,57), (15,59), (15,66), (15,67), (15,68), (15,71), (15,74), (15,87), (15,88), (16,17), (16,22), (16,25), (16,26), (16,27), (16,29), (16,31), (16,32), (16,36), (16,40), (16,43), (16,47), (16,59), (16,63), (16,68), (16,76), (16,77), (16,79), (16,88), (17,21), (17,30), (17,31), (17,45), (17,46), (17,48), (17,56), (17,63), (17,64), (17,65), (17,66), (17,69), (17,70), (17,73), (17,79), (17,80), (18,20), (18,25), (18,33), (18,39), (18,41), (18,45), (18,48), (18,52), (18,56), (18,61), (18,63), (18,64), (18,67), (18,71), (18,75), (18,77), (18,79), (18,80), (18,82), (18,83), (18,89), (19,20), (19,28), (19,29), (19,39), (19,40), (19,51), (19,54), (19,60), (19,64), (19,71), (19,72), (19,79), (19,81), (19,83), (19,87), (19,89), (20,28), (20,29), (20,30), (20,34), (20,35), (20,39), (20,44), (20,50), (20,51), (20,52), (20,54), (20,56), (20,57), (20,59), (20,62), (20,63), (20,65), (20,68), (20,69), (20,70), (20,73), (20,75), (20,80), (20,84), (20,85), (20,89), (21,26), (21,35), (21,36), (21,40), (21,41), (21,46), (21,50), (21,52), (21,54), (21,55), (21,59), (21,66), (21,67), (21,69), (21,74), (21,75), (21,78), (21,83), (21,84), (21,89), (22,27), (22,29), (22,30), (22,31), (22,34), (22,40), (22,43), (22,44), (22,46), (22,56), (22,61), (22,70), (22,73), (22,75), (22,76), (22,80), (22,86), (22,87), (22,88), (23,24), (23,28), (23,30), (23,38), (23,42), (23,44), (23,45), (23,50), (23,52), (23,53), (23,54), (23,55), (23,56), (23,60), (23,61), (23,65), (23,66), (23,71), (23,74), (23,75), (23,79), (23,80), (23,85), (23,87), (24,25), (24,27), (24,39), (24,50), (24,51), (24,53), (24,56), (24,59), (24,60), (24,61), (24,63), (24,64), (24,66), (24,70), (24,72), (24,73), (24,76), (24,81), (24,82), (24,83), (24,88), (25,27), (25,30), (25,34), (25,37), (25,39), (25,40), (25,42), (25,44), (25,51), (25,52), (25,56), (25,60), (25,62), (25,66), (25,70), (25,74), (25,86), (26,27), (26,28), (26,29), (26,31), (26,32), (26,37), (26,39), (26,43), (26,44), (26,48), (26,49), (26,50), (26,56), (26,60), (26,65), (26,68), (26,69), (26,70), (26,72), (26,76), (26,78), (27,29), (27,34), (27,45), (27,47), (27,48), (27,50), (27,51), (27,61), (27,62), (27,66), (27,68), (27,69), (27,71), (27,73), (27,83), (27,85), (27,88), (28,29), (28,33), (28,38), (28,39), (28,41), (28,45), (28,51), (28,53), (28,60), (28,61), (28,69), (28,71), (28,73), (28,74), (28,76), (28,78), (28,79), (28,85), (28,87), (29,34), (29,42), (29,43), (29,44), (29,46), (29,47), (29,54), (29,55), (29,56), (29,59), (29,61), (29,72), (29,75), (29,77), (29,78), (29,81), (29,84), (29,86), (29,88), (30,35), (30,36), (30,37), (30,40), (30,49), (30,51), (30,52), (30,56), (30,61), (30,63), (30,64), (30,66), (30,71), (30,73), (30,75), (30,77), (30,78), (30,80), (30,81), (30,82), (30,83), (30,87), (31,32), (31,35), (31,36), (31,39), (31,40), (31,43), (31,46), (31,49), (31,53), (31,56), (31,58), (31,67), (31,68), (31,71), (31,79), (31,81), (31,82), (31,84), (31,86), (31,87), (31,89), (32,34), (32,42), (32,44), (32,45), (32,48), (32,49), (32,57), (32,58), (32,59), (32,60), (32,67), (32,68), (32,70), (32,71), (32,72), (32,75), (32,77), (32,80), (32,81), (32,84), (32,87), (33,36), (33,38), (33,43), (33,45), (33,46), (33,47), (33,50), (33,51), (33,52), (33,57), (33,58), (33,60), (33,66), (33,84), (33,85), (33,87), (33,89), (34,36), (34,37), (34,38), (34,44), (34,45), (34,46), (34,47), (34,52), (34,55), (34,56), (34,60), (34,61), (34,62), (34,76), (34,78), (34,79), (35,41), (35,45), (35,48), (35,50), (35,51), (35,58), (35,60), (35,62), (35,63), (35,65), (35,67), (35,68), (35,70), (35,79), (35,83), (35,85), (35,86), (35,87), (35,88), (35,89), (36,40), (36,44), (36,46), (36,47), (36,48), (36,50), (36,60), (36,61), (36,69), (36,74), (36,77), (36,87), (36,88), (37,39), (37,42), (37,44), (37,47), (37,53), (37,57), (37,58), (37,64), (37,70), (37,71), (37,74), (37,76), (37,80), (38,44), (38,53), (38,61), (38,63), (38,67), (38,71), (38,74), (38,77), (38,78), (38,85), (38,88), (38,89), (39,42), (39,43), (39,45), (39,50), (39,56), (39,62), (39,63), (39,64), (39,73), (39,77), (39,78), (39,79), (39,82), (39,83), (39,88), (40,43), (40,50), (40,53), (40,54), (40,59), (40,79), (40,87), (40,88), (41,43), (41,49), (41,52), (41,65), (41,66), (41,68), (41,77), (41,78), (41,81), (41,82), (41,83), (41,85), (42,46), (42,50), (42,52), (42,57), (42,63), (42,66), (42,76), (42,78), (42,83), (42,85), (43,47), (43,50), (43,52), (43,55), (43,63), (43,67), (43,69), (43,76), (43,81), (43,84), (43,89), (44,49), (44,55), (44,56), (44,57), (44,59), (44,61), (44,63), (44,73), (44,75), (44,77), (44,82), (44,85), (45,48), (45,49), (45,53), (45,57), (45,59), (45,68), (45,69), (45,74), (45,84), (45,86), (45,89), (46,49), (46,51), (46,54), (46,55), (46,69), (46,70), (46,72), (46,75), (46,77), (46,82), (46,83), (46,87), (47,49), (47,50), (47,53), (47,57), (47,58), (47,62), (47,65), (47,73), (47,74), (47,79), (47,81), (47,86), (47,89), (48,51), (48,52), (48,54), (48,55), (48,56), (48,68), (48,69), (48,74), (48,78), (48,86), (49,51), (49,53), (49,56), (49,58), (49,60), (49,66), (49,67), (49,68), (49,71), (49,72), (49,73), (49,77), (49,80), (49,86), (50,53), (50,55), (50,56), (50,57), (50,60), (50,73), (50,76), (50,77), (50,83), (50,86), (50,87), (50,89), (51,53), (51,57), (51,60), (51,61), (51,78), (51,79), (51,81), (51,82), (51,89), (52,67), (52,68), (52,70), (52,73), (52,74), (52,76), (52,89), (53,57), (53,58), (53,59), (53,60), (53,63), (53,67), (53,74), (53,76), (53,79), (53,80), (53,82), (53,85), (54,61), (54,64), (54,65), (54,67), (54,70), (54,73), (54,83), (55,58), (55,61), (55,68), (55,69), (55,70), (55,74), (55,76), (55,80), (55,85), (56,58), (56,60), (56,68), (56,69), (56,70), (56,73), (56,80), (56,81), (56,82), (56,87), (56,89), (57,60), (57,62), (57,64), (57,67), (57,68), (57,70), (57,73), (57,74), (57,78), (57,79), (58,59), (58,62), (58,66), (58,67), (58,68), (58,77), (58,81), (58,84), (58,85), (58,88), (59,64), (59,69), (59,71), (59,81), (59,86), (59,87), (60,62), (60,65), (60,66), (60,68), (60,69), (60,71), (60,72), (60,73), (60,76), (60,77), (60,89), (61,64), (61,66), (61,67), (61,70), (61,76), (61,78), (61,79), (61,80), (61,82), (61,83), (62,67), (62,71), (62,74), (62,80), (62,81), (62,83), (62,87), (62,88), (62,89), (63,64), (63,66), (63,71), (63,75), (63,79), (63,81), (63,84), (63,88), (64,66), (64,70), (64,73), (64,78), (64,80), (64,82), (64,87), (65,66), (65,69), (65,70), (65,75), (65,76), (65,77), (65,80), (65,84), (65,85), (65,87), (66,67), (66,71), (66,73), (66,76), (66,77), (66,78), (66,79), (66,81), (66,83), (66,89), (67,70), (67,73), (67,83), (67,85), (67,86), (67,87), (67,88), (68,73), (68,77), (68,80), (68,83), (69,70), (69,71), (69,72), (69,73), (69,81), (69,82), (69,83), (69,88), (69,89), (70,77), (70,84), (70,88), (70,89), (71,75), (71,79), (71,81), (71,82), (71,83), (71,85), (71,87), (71,88), (72,73), (72,74), (72,76), (72,80), (72,82), (73,75), (73,77), (73,84), (73,87), (73,88), (74,75), (74,77), (74,78), (74,87), (74,88), (75,76), (75,79), (76,77), (76,78), (76,81), (76,82), (76,86), (76,87), (77,80), (77,87), (78,79), (78,85), (78,86), (78,87), (79,81), (79,83), (80,81), (80,86), (80,87), (80,89), (81,82), (81,84), (81,85), (81,86), (82,86), (84,86), (84,87), (85,86), (85,88), (86,87), (86,89), (87,88), (88,89) + +Find an independent set of size at least 16 in G: a set of at least 16 vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-max-independent-set-l5-s8/solution/solve.sh b/tasks/construct-mc-max-independent-set-l5-s8/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..f14ab4a440cba313d88f2d00fbe2cf35222df1c7 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s8/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [3, 6, 17, 27, 35, 36, 37, 38, 49, 52, 54, 55, 59, 75, 82, 84]} +RLMATH_EOF diff --git a/tasks/construct-mc-max-independent-set-l5-s8/task.toml b/tasks/construct-mc-max-independent-set-l5-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..00509cad94b5cfa1af610547a87bb9f8711967ee --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-max-independent-set-l5-s8" +version = "0.2.0" +description = "construct/mc_max_independent_set" +authors = [] +keywords = ["rlmath", "construct", "mc_max_independent_set"] + +[metadata] +subset = "construct" +family = "mc_max_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "MathConstraint/max_independent_set" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-max-independent-set-l5-s8/tests/check.py b/tasks/construct-mc-max-independent-set-l5-s8/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..adce413e8578d996549583b990e4ff559f38ed41 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s8/tests/check.py @@ -0,0 +1,18 @@ +"""Independent set of size >= k in a given graph (MathConstraint max_independent_set, CC-BY-4.0).""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) < k: + raise Invalid(f"set has {len(S)} vertices, need at least {k}") + E = {(u, v) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(S), 2): + if (u, v) in E: + raise Invalid(f"vertices {u} and {v} are adjacent") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-max-independent-set-l5-s8/tests/instance.json b/tasks/construct-mc-max-independent-set-l5-s8/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..fd6a1e42d601e94890bafea1647b73db60efd274 --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s8/tests/instance.json @@ -0,0 +1 @@ +{"n": 90, "k": 16, "edges": [[0, 7], [0, 9], [0, 14], [0, 17], [0, 18], [0, 28], [0, 33], [0, 35], [0, 41], [0, 42], [0, 45], [0, 55], [0, 61], [0, 63], [0, 65], [0, 80], [0, 85], [0, 86], [0, 87], [1, 4], [1, 5], [1, 9], [1, 10], [1, 16], [1, 21], [1, 28], [1, 29], [1, 33], [1, 34], [1, 37], [1, 41], [1, 42], [1, 43], [1, 48], [1, 53], [1, 56], [1, 58], [1, 62], [1, 65], [1, 66], [1, 69], [1, 75], [1, 76], [1, 79], [1, 85], [1, 89], [2, 3], [2, 5], [2, 8], [2, 9], [2, 10], [2, 12], [2, 13], [2, 16], [2, 19], [2, 20], [2, 21], [2, 29], [2, 36], [2, 37], [2, 39], [2, 45], [2, 50], [2, 53], [2, 59], [2, 62], [2, 64], [2, 68], [2, 69], [2, 72], [2, 75], [2, 78], [2, 87], [2, 89], [3, 8], [3, 9], [3, 10], [3, 12], [3, 18], [3, 20], [3, 26], [3, 28], [3, 29], [3, 32], [3, 33], [3, 42], [3, 51], [3, 53], [3, 57], [3, 58], [3, 60], [3, 77], [3, 89], [4, 6], [4, 23], [4, 24], [4, 26], [4, 27], [4, 32], [4, 33], [4, 43], [4, 44], [4, 49], [4, 50], [4, 53], [4, 54], [4, 56], [4, 62], [4, 67], [4, 68], [4, 70], [4, 71], [4, 73], [4, 74], [4, 75], [4, 77], [4, 84], [4, 89], [5, 6], [5, 8], [5, 16], [5, 20], [5, 21], [5, 24], [5, 25], [5, 27], [5, 29], [5, 31], [5, 33], [5, 34], [5, 35], [5, 37], [5, 45], [5, 51], [5, 52], [5, 53], [5, 58], [5, 60], [5, 66], [5, 68], [5, 76], [5, 78], [5, 80], [5, 83], [5, 84], [5, 87], [6, 9], [6, 12], [6, 15], [6, 18], [6, 20], [6, 21], [6, 25], [6, 31], [6, 33], [6, 42], [6, 48], [6, 51], [6, 53], [6, 57], [6, 61], [6, 62], [6, 64], [6, 65], [6, 67], [6, 70], [6, 73], [6, 76], [6, 79], [6, 83], [6, 85], [6, 89], [7, 8], [7, 11], [7, 15], [7, 16], [7, 21], [7, 23], [7, 26], [7, 30], [7, 31], [7, 32], [7, 38], [7, 40], [7, 43], [7, 44], [7, 45], [7, 47], [7, 51], [7, 61], [7, 62], [7, 63], [7, 67], [7, 70], [7, 73], [7, 74], [7, 79], [7, 83], [7, 87], [7, 88], [8, 9], [8, 11], [8, 15], [8, 19], [8, 20], [8, 31], [8, 37], [8, 49], [8, 50], [8, 51], [8, 53], [8, 55], [8, 58], [8, 61], [8, 63], [8, 68], [8, 69], [8, 72], [8, 78], [8, 80], [8, 81], [9, 10], [9, 11], [9, 13], [9, 14], [9, 18], [9, 19], [9, 20], [9, 26], [9, 28], [9, 33], [9, 34], [9, 36], [9, 38], [9, 56], [9, 59], [9, 60], [9, 64], [9, 66], [9, 73], [9, 82], [9, 88], [9, 89], [10, 14], [10, 28], [10, 29], [10, 34], [10, 36], [10, 37], [10, 39], [10, 41], [10, 43], [10, 48], [10, 55], [10, 56], [10, 57], [10, 62], [10, 63], [10, 64], [10, 67], [10, 68], [10, 71], [10, 73], [10, 77], [10, 84], [10, 86], [11, 13], [11, 17], [11, 22], [11, 25], [11, 29], [11, 30], [11, 31], [11, 32], [11, 35], [11, 37], [11, 40], [11, 43], [11, 48], [11, 52], [11, 53], [11, 54], [11, 55], [11, 58], [11, 66], [11, 71], [11, 72], [11, 76], [11, 78], [11, 81], [11, 83], [11, 86], [12, 14], [12, 16], [12, 21], [12, 22], [12, 24], [12, 33], [12, 35], [12, 36], [12, 38], [12, 42], [12, 51], [12, 54], [12, 66], [12, 68], [12, 78], [12, 81], [12, 83], [12, 84], [12, 85], [12, 86], [13, 14], [13, 16], [13, 17], [13, 18], [13, 25], [13, 27], [13, 36], [13, 39], [13, 44], [13, 48], [13, 51], [13, 54], [13, 57], [13, 67], [13, 74], [13, 89], [14, 16], [14, 18], [14, 24], [14, 27], [14, 28], [14, 30], [14, 33], [14, 36], [14, 38], [14, 40], [14, 42], [14, 49], [14, 61], [14, 62], [14, 64], [14, 68], [14, 71], [14, 74], [14, 75], [14, 76], [14, 80], [14, 84], [15, 16], [15, 17], [15, 18], [15, 20], [15, 21], [15, 23], [15, 27], [15, 28], [15, 31], [15, 32], [15, 33], [15, 37], [15, 40], [15, 41], [15, 42], [15, 47], [15, 48], [15, 57], [15, 59], [15, 66], [15, 67], [15, 68], [15, 71], [15, 74], [15, 87], [15, 88], [16, 17], [16, 22], [16, 25], [16, 26], [16, 27], [16, 29], [16, 31], [16, 32], [16, 36], [16, 40], [16, 43], [16, 47], [16, 59], [16, 63], [16, 68], [16, 76], [16, 77], [16, 79], [16, 88], [17, 21], [17, 30], [17, 31], [17, 45], [17, 46], [17, 48], [17, 56], [17, 63], [17, 64], [17, 65], [17, 66], [17, 69], [17, 70], [17, 73], [17, 79], [17, 80], [18, 20], [18, 25], [18, 33], [18, 39], [18, 41], [18, 45], [18, 48], [18, 52], [18, 56], [18, 61], [18, 63], [18, 64], [18, 67], [18, 71], [18, 75], [18, 77], [18, 79], [18, 80], [18, 82], [18, 83], [18, 89], [19, 20], [19, 28], [19, 29], [19, 39], [19, 40], [19, 51], [19, 54], [19, 60], [19, 64], [19, 71], [19, 72], [19, 79], [19, 81], [19, 83], [19, 87], [19, 89], [20, 28], [20, 29], [20, 30], [20, 34], [20, 35], [20, 39], [20, 44], [20, 50], [20, 51], [20, 52], [20, 54], [20, 56], [20, 57], [20, 59], [20, 62], [20, 63], [20, 65], [20, 68], [20, 69], [20, 70], [20, 73], [20, 75], [20, 80], [20, 84], [20, 85], [20, 89], [21, 26], [21, 35], [21, 36], [21, 40], [21, 41], [21, 46], [21, 50], [21, 52], [21, 54], [21, 55], [21, 59], [21, 66], [21, 67], [21, 69], [21, 74], [21, 75], [21, 78], [21, 83], [21, 84], [21, 89], [22, 27], [22, 29], [22, 30], [22, 31], [22, 34], [22, 40], [22, 43], [22, 44], [22, 46], [22, 56], [22, 61], [22, 70], [22, 73], [22, 75], [22, 76], [22, 80], [22, 86], [22, 87], [22, 88], [23, 24], [23, 28], [23, 30], [23, 38], [23, 42], [23, 44], [23, 45], [23, 50], [23, 52], [23, 53], [23, 54], [23, 55], [23, 56], [23, 60], [23, 61], [23, 65], [23, 66], [23, 71], [23, 74], [23, 75], [23, 79], [23, 80], [23, 85], [23, 87], [24, 25], [24, 27], [24, 39], [24, 50], [24, 51], [24, 53], [24, 56], [24, 59], [24, 60], [24, 61], [24, 63], [24, 64], [24, 66], [24, 70], [24, 72], [24, 73], [24, 76], [24, 81], [24, 82], [24, 83], [24, 88], [25, 27], [25, 30], [25, 34], [25, 37], [25, 39], [25, 40], [25, 42], [25, 44], [25, 51], [25, 52], [25, 56], [25, 60], [25, 62], [25, 66], [25, 70], [25, 74], [25, 86], [26, 27], [26, 28], [26, 29], [26, 31], [26, 32], [26, 37], [26, 39], [26, 43], [26, 44], [26, 48], [26, 49], [26, 50], [26, 56], [26, 60], [26, 65], [26, 68], [26, 69], [26, 70], [26, 72], [26, 76], [26, 78], [27, 29], [27, 34], [27, 45], [27, 47], [27, 48], [27, 50], [27, 51], [27, 61], [27, 62], [27, 66], [27, 68], [27, 69], [27, 71], [27, 73], [27, 83], [27, 85], [27, 88], [28, 29], [28, 33], [28, 38], [28, 39], [28, 41], [28, 45], [28, 51], [28, 53], [28, 60], [28, 61], [28, 69], [28, 71], [28, 73], [28, 74], [28, 76], [28, 78], [28, 79], [28, 85], [28, 87], [29, 34], [29, 42], [29, 43], [29, 44], [29, 46], [29, 47], [29, 54], [29, 55], [29, 56], [29, 59], [29, 61], [29, 72], [29, 75], [29, 77], [29, 78], [29, 81], [29, 84], [29, 86], [29, 88], [30, 35], [30, 36], [30, 37], [30, 40], [30, 49], [30, 51], [30, 52], [30, 56], [30, 61], [30, 63], [30, 64], [30, 66], [30, 71], [30, 73], [30, 75], [30, 77], [30, 78], [30, 80], [30, 81], [30, 82], [30, 83], [30, 87], [31, 32], [31, 35], [31, 36], [31, 39], [31, 40], [31, 43], [31, 46], [31, 49], [31, 53], [31, 56], [31, 58], [31, 67], [31, 68], [31, 71], [31, 79], [31, 81], [31, 82], [31, 84], [31, 86], [31, 87], [31, 89], [32, 34], [32, 42], [32, 44], [32, 45], [32, 48], [32, 49], [32, 57], [32, 58], [32, 59], [32, 60], [32, 67], [32, 68], [32, 70], [32, 71], [32, 72], [32, 75], [32, 77], [32, 80], [32, 81], [32, 84], [32, 87], [33, 36], [33, 38], [33, 43], [33, 45], [33, 46], [33, 47], [33, 50], [33, 51], [33, 52], [33, 57], [33, 58], [33, 60], [33, 66], [33, 84], [33, 85], [33, 87], [33, 89], [34, 36], [34, 37], [34, 38], [34, 44], [34, 45], [34, 46], [34, 47], [34, 52], [34, 55], [34, 56], [34, 60], [34, 61], [34, 62], [34, 76], [34, 78], [34, 79], [35, 41], [35, 45], [35, 48], [35, 50], [35, 51], [35, 58], [35, 60], [35, 62], [35, 63], [35, 65], [35, 67], [35, 68], [35, 70], [35, 79], [35, 83], [35, 85], [35, 86], [35, 87], [35, 88], [35, 89], [36, 40], [36, 44], [36, 46], [36, 47], [36, 48], [36, 50], [36, 60], [36, 61], [36, 69], [36, 74], [36, 77], [36, 87], [36, 88], [37, 39], [37, 42], [37, 44], [37, 47], [37, 53], [37, 57], [37, 58], [37, 64], [37, 70], [37, 71], [37, 74], [37, 76], [37, 80], [38, 44], [38, 53], [38, 61], [38, 63], [38, 67], [38, 71], [38, 74], [38, 77], [38, 78], [38, 85], [38, 88], [38, 89], [39, 42], [39, 43], [39, 45], [39, 50], [39, 56], [39, 62], [39, 63], [39, 64], [39, 73], [39, 77], [39, 78], [39, 79], [39, 82], [39, 83], [39, 88], [40, 43], [40, 50], [40, 53], [40, 54], [40, 59], [40, 79], [40, 87], [40, 88], [41, 43], [41, 49], [41, 52], [41, 65], [41, 66], [41, 68], [41, 77], [41, 78], [41, 81], [41, 82], [41, 83], [41, 85], [42, 46], [42, 50], [42, 52], [42, 57], [42, 63], [42, 66], [42, 76], [42, 78], [42, 83], [42, 85], [43, 47], [43, 50], [43, 52], [43, 55], [43, 63], [43, 67], [43, 69], [43, 76], [43, 81], [43, 84], [43, 89], [44, 49], [44, 55], [44, 56], [44, 57], [44, 59], [44, 61], [44, 63], [44, 73], [44, 75], [44, 77], [44, 82], [44, 85], [45, 48], [45, 49], [45, 53], [45, 57], [45, 59], [45, 68], [45, 69], [45, 74], [45, 84], [45, 86], [45, 89], [46, 49], [46, 51], [46, 54], [46, 55], [46, 69], [46, 70], [46, 72], [46, 75], [46, 77], [46, 82], [46, 83], [46, 87], [47, 49], [47, 50], [47, 53], [47, 57], [47, 58], [47, 62], [47, 65], [47, 73], [47, 74], [47, 79], [47, 81], [47, 86], [47, 89], [48, 51], [48, 52], [48, 54], [48, 55], [48, 56], [48, 68], [48, 69], [48, 74], [48, 78], [48, 86], [49, 51], [49, 53], [49, 56], [49, 58], [49, 60], [49, 66], [49, 67], [49, 68], [49, 71], [49, 72], [49, 73], [49, 77], [49, 80], [49, 86], [50, 53], [50, 55], [50, 56], [50, 57], [50, 60], [50, 73], [50, 76], [50, 77], [50, 83], [50, 86], [50, 87], [50, 89], [51, 53], [51, 57], [51, 60], [51, 61], [51, 78], [51, 79], [51, 81], [51, 82], [51, 89], [52, 67], [52, 68], [52, 70], [52, 73], [52, 74], [52, 76], [52, 89], [53, 57], [53, 58], [53, 59], [53, 60], [53, 63], [53, 67], [53, 74], [53, 76], [53, 79], [53, 80], [53, 82], [53, 85], [54, 61], [54, 64], [54, 65], [54, 67], [54, 70], [54, 73], [54, 83], [55, 58], [55, 61], [55, 68], [55, 69], [55, 70], [55, 74], [55, 76], [55, 80], [55, 85], [56, 58], [56, 60], [56, 68], [56, 69], [56, 70], [56, 73], [56, 80], [56, 81], [56, 82], [56, 87], [56, 89], [57, 60], [57, 62], [57, 64], [57, 67], [57, 68], [57, 70], [57, 73], [57, 74], [57, 78], [57, 79], [58, 59], [58, 62], [58, 66], [58, 67], [58, 68], [58, 77], [58, 81], [58, 84], [58, 85], [58, 88], [59, 64], [59, 69], [59, 71], [59, 81], [59, 86], [59, 87], [60, 62], [60, 65], [60, 66], [60, 68], [60, 69], [60, 71], [60, 72], [60, 73], [60, 76], [60, 77], [60, 89], [61, 64], [61, 66], [61, 67], [61, 70], [61, 76], [61, 78], [61, 79], [61, 80], [61, 82], [61, 83], [62, 67], [62, 71], [62, 74], [62, 80], [62, 81], [62, 83], [62, 87], [62, 88], [62, 89], [63, 64], [63, 66], [63, 71], [63, 75], [63, 79], [63, 81], [63, 84], [63, 88], [64, 66], [64, 70], [64, 73], [64, 78], [64, 80], [64, 82], [64, 87], [65, 66], [65, 69], [65, 70], [65, 75], [65, 76], [65, 77], [65, 80], [65, 84], [65, 85], [65, 87], [66, 67], [66, 71], [66, 73], [66, 76], [66, 77], [66, 78], [66, 79], [66, 81], [66, 83], [66, 89], [67, 70], [67, 73], [67, 83], [67, 85], [67, 86], [67, 87], [67, 88], [68, 73], [68, 77], [68, 80], [68, 83], [69, 70], [69, 71], [69, 72], [69, 73], [69, 81], [69, 82], [69, 83], [69, 88], [69, 89], [70, 77], [70, 84], [70, 88], [70, 89], [71, 75], [71, 79], [71, 81], [71, 82], [71, 83], [71, 85], [71, 87], [71, 88], [72, 73], [72, 74], [72, 76], [72, 80], [72, 82], [73, 75], [73, 77], [73, 84], [73, 87], [73, 88], [74, 75], [74, 77], [74, 78], [74, 87], [74, 88], [75, 76], [75, 79], [76, 77], [76, 78], [76, 81], [76, 82], [76, 86], [76, 87], [77, 80], [77, 87], [78, 79], [78, 85], [78, 86], [78, 87], [79, 81], [79, 83], [80, 81], [80, 86], [80, 87], [80, 89], [81, 82], [81, 84], [81, 85], [81, 86], [82, 86], [84, 86], [84, 87], [85, 86], [85, 88], [86, 87], [86, 89], [87, 88], [88, 89]], "family": "mc_max_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-max-independent-set-l5-s8/tests/run.py b/tasks/construct-mc-max-independent-set-l5-s8/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-max-independent-set-l5-s8/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-non-transitive-dice-l5-s1/instruction.md b/tasks/construct-mc-non-transitive-dice-l5-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..7c1e0d07106c31dbea48661ac025a6f60a2a055b --- /dev/null +++ b/tasks/construct-mc-non-transitive-dice-l5-s1/instruction.md @@ -0,0 +1,7 @@ +Design 5 dice D_0, ..., D_4, each with 7 faces showing integers from 0..13 (values may repeat). Die D_i beats die D_j if, among the 49 pairs (a, b) of a face a of D_i and a face b of D_j, strictly more than 24 satisfy a > b. The dice must be cyclically intransitive: D_i beats D_(i+1) mod 5 for every i = 0..4. + +Find such dice. + +Answer format: {"dice": [[faces of D_0], ..., [faces of D_4]]}, each a list of 7 integers + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-non-transitive-dice-l5-s1/task.toml b/tasks/construct-mc-non-transitive-dice-l5-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..382f1f91cce60bff53ab3b5949a24fde329e94d7 --- /dev/null +++ b/tasks/construct-mc-non-transitive-dice-l5-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-non-transitive-dice-l5-s1" +version = "0.2.0" +description = "construct/mc_non_transitive_dice" +authors = [] +keywords = ["rlmath", "construct", "mc_non_transitive_dice"] + +[metadata] +subset = "construct" +family = "mc_non_transitive_dice" +problem_key = "intransitive_dice" +domain = "probability" +tier = "competition" +level = "5" +source = "MathConstraint/non_transitive_dice" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-number-partitioning-l5-s2/instruction.md b/tasks/construct-mc-number-partitioning-l5-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..a8253d79a896f297f7263ee8873d3b5eaac1ad86 --- /dev/null +++ b/tasks/construct-mc-number-partitioning-l5-s2/instruction.md @@ -0,0 +1,7 @@ +Partition the integers 1, 2, ..., 53 into 3 disjoint subsets (numbered 0..2) that all have the same sum 477 (the total is 1431). + +Find such a partition. + +Answer format: {"x": [x_1, ..., x_53]}: a list of 53 integers in 0..2, where the i-th entry (0-indexed) is the subset containing the integer i+1 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-number-partitioning-l5-s2/task.toml b/tasks/construct-mc-number-partitioning-l5-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..3669be8272d391879c40ede39a62ff9b82a2db24 --- /dev/null +++ b/tasks/construct-mc-number-partitioning-l5-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-number-partitioning-l5-s2" +version = "0.2.0" +description = "construct/mc_number_partitioning" +authors = [] +keywords = ["rlmath", "construct", "mc_number_partitioning"] + +[metadata] +subset = "construct" +family = "mc_number_partitioning" +problem_key = "equal_sum_partition_1_to_n" +domain = "number_theory" +tier = "competition" +level = "5" +source = "MathConstraint/number_partitioning" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-number-partitioning-l5-s5/instruction.md b/tasks/construct-mc-number-partitioning-l5-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..88b39904bad66058cd7edf2660f8e4c11539c9bd --- /dev/null +++ b/tasks/construct-mc-number-partitioning-l5-s5/instruction.md @@ -0,0 +1,7 @@ +Partition the integers 1, 2, ..., 66 into 3 disjoint subsets (numbered 0..2) that all have the same sum 737 (the total is 2211). + +Find such a partition. + +Answer format: {"x": [x_1, ..., x_66]}: a list of 66 integers in 0..2, where the i-th entry (0-indexed) is the subset containing the integer i+1 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-number-partitioning-l5-s5/task.toml b/tasks/construct-mc-number-partitioning-l5-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..0cc095048a292ea6421c712589174fa9384a6b86 --- /dev/null +++ b/tasks/construct-mc-number-partitioning-l5-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-number-partitioning-l5-s5" +version = "0.2.0" +description = "construct/mc_number_partitioning" +authors = [] +keywords = ["rlmath", "construct", "mc_number_partitioning"] + +[metadata] +subset = "construct" +family = "mc_number_partitioning" +problem_key = "equal_sum_partition_1_to_n" +domain = "number_theory" +tier = "competition" +level = "5" +source = "MathConstraint/number_partitioning" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-ortholatin-l3-s3/instruction.md b/tasks/construct-mc-ortholatin-l3-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..df7daf83cfca0a8ab7f388f86813347e180c3773 --- /dev/null +++ b/tasks/construct-mc-ortholatin-l3-s3/instruction.md @@ -0,0 +1,5 @@ +Construct a pair of orthogonal Latin squares of order 12: two 12x12 arrays X and Y with entries in 0..11 such that every row and every column of X is a permutation of 0..11, the same holds for Y, and the 144 ordered pairs (X[i][j], Y[i][j]) are all distinct. + +Answer format: {"X": [[row 0], ..., [row 11]], "Y": [[row 0], ..., [row 11]]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-ortholatin-l3-s3/task.toml b/tasks/construct-mc-ortholatin-l3-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..f309c29301ab0cde67cbf31239fa1bc1d6abc334 --- /dev/null +++ b/tasks/construct-mc-ortholatin-l3-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-ortholatin-l3-s3" +version = "0.2.0" +description = "construct/mc_ortholatin" +authors = [] +keywords = ["rlmath", "construct", "mc_ortholatin"] + +[metadata] +subset = "construct" +family = "mc_ortholatin" +problem_key = "orthogonal_latin_squares" +domain = "combinatorics" +tier = "competition" +level = "3" +source = "MathConstraint/ortholatin" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-pysms-chromatic-girth-l3-s3/instruction.md b/tasks/construct-mc-pysms-chromatic-girth-l3-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..c20a2d2a0619dbb9f085d89d2f316d1765f3c51d --- /dev/null +++ b/tasks/construct-mc-pysms-chromatic-girth-l3-s3/instruction.md @@ -0,0 +1,8 @@ +Construct a simple undirected graph on the 19 vertices 0..18 such that: + - the graph has at least 25 edges + - the chromatic number is at most 5: the vertices can be coloured with colours 0..4 so that adjacent vertices get different colours (you must also give such a colouring) + - the girth is at least 5: the graph has no cycle of length less than 5 (a graph without cycles qualifies) + +Answer format: {"edges": [[u, v], ...], "coloring": [c_0, ..., c_18]} where each edge is a pair of distinct vertices in 0..18, listed once; coloring[i] is the colour (0..4) of vertex i + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-pysms-chromatic-girth-l3-s3/task.toml b/tasks/construct-mc-pysms-chromatic-girth-l3-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..69e037da392ca6f978b248505c610b7c46156de6 --- /dev/null +++ b/tasks/construct-mc-pysms-chromatic-girth-l3-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-pysms-chromatic-girth-l3-s3" +version = "0.2.0" +description = "construct/mc_pysms_chromatic_girth" +authors = [] +keywords = ["rlmath", "construct", "mc_pysms_chromatic_girth"] + +[metadata] +subset = "construct" +family = "mc_pysms_chromatic_girth" +problem_key = "graph_existence_chromatic_girth" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "MathConstraint/pysms_chromatic_girth" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-pysms-graph-builder-l4-s1/environment/Dockerfile b/tasks/construct-mc-pysms-graph-builder-l4-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-pysms-graph-builder-l4-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-pysms-graph-builder-l4-s1/environment/instance.json b/tasks/construct-mc-pysms-graph-builder-l4-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5570d52a08a8611951c921872f050159cbf49e42 --- /dev/null +++ b/tasks/construct-mc-pysms-graph-builder-l4-s1/environment/instance.json @@ -0,0 +1 @@ +{"vertices": 14, "required_edges": [], "max_degree": 6, "min_degree": 4, "max_chromatic_number": 4, "min_chromatic_number": 3, "min_edges": 21, "max_edges": 37, "family": "mc_pysms_graph_builder", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-graph-builder-l4-s1/instruction.md b/tasks/construct-mc-pysms-graph-builder-l4-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..d47cbf99ac9624adc1556479e88efa6bd75db1e3 --- /dev/null +++ b/tasks/construct-mc-pysms-graph-builder-l4-s1/instruction.md @@ -0,0 +1,9 @@ +Construct a simple undirected graph on the 14 vertices 0..13 such that: + - every vertex has degree between 4 and 6 (inclusive) + - the number of edges is between 21 and 37 (inclusive) + - the chromatic number is at most 4: the vertices can be coloured with colours 0..3 so that adjacent vertices get different colours (you must also give such a colouring) + - the chromatic number is at least 3 (the graph has no proper colouring with 2 colours) + +Answer format: {"edges": [[u, v], ...], "coloring": [c_0, ..., c_13]} where each edge is a pair of distinct vertices in 0..13, listed once; coloring[i] is the colour (0..3) of vertex i + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-pysms-graph-builder-l4-s1/solution/solve.sh b/tasks/construct-mc-pysms-graph-builder-l4-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..93c60d4df265ed7a7b079828701c3e5257e222df --- /dev/null +++ b/tasks/construct-mc-pysms-graph-builder-l4-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"edges": [[0, 10], [0, 11], [0, 12], [0, 13], [1, 6], [1, 7], [1, 8], [1, 9], [1, 13], [2, 4], [2, 5], [2, 7], [2, 8], [2, 9], [3, 4], [3, 5], [3, 7], [3, 8], [3, 9], [3, 13], [4, 5], [4, 8], [4, 9], [5, 6], [5, 9], [5, 12], [6, 7], [6, 8], [6, 12], [7, 12], [7, 13], [8, 11], [10, 11], [10, 12], [10, 13], [11, 12], [11, 13]], "coloring": [1, 0, 0, 0, 2, 1, 3, 1, 1, 3, 3, 0, 2, 2]} +RLMATH_EOF diff --git a/tasks/construct-mc-pysms-graph-builder-l4-s1/task.toml b/tasks/construct-mc-pysms-graph-builder-l4-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..72e5c337147b340efe62416d6e7b8d86ab4418c4 --- /dev/null +++ b/tasks/construct-mc-pysms-graph-builder-l4-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-pysms-graph-builder-l4-s1" +version = "0.2.0" +description = "construct/mc_pysms_graph_builder" +authors = [] +keywords = ["rlmath", "construct", "mc_pysms_graph_builder"] + +[metadata] +subset = "construct" +family = "mc_pysms_graph_builder" +problem_key = "graph_existence_graph_builder" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "MathConstraint/pysms_graph_builder" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/check.py b/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..4ab0b12508cf59b733f007a9d1f50831aec9efdf --- /dev/null +++ b/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/check.py @@ -0,0 +1,151 @@ +"""Graph-existence constraints (MathConstraint pysms_* problem types, CC-BY-4.0). The answer is a graph on +the stated vertex set, plus a proper colouring when a chromatic-number upper bound is asked for. Every +constraint present in the instance is checked exactly (no stored answer is compared). + +Upstream note: upstream verifies by fixing the edge variables in the pysms CNF and calling CaDiCaL; the +min-chromatic-number bound of pysms_graph_builder is only a raw smsg solver parameter, not a clause, so the +upstream verifier ignored it. It is enforced here. Edge endpoints are also type-checked (upstream accepted +floats/bools that compare in range).""" +import itertools + +from run import Invalid, int_list + + +def _has_clique(adj, n, k): + def rec(cand, size): + if size == k: + return True + while cand: + if size + bin(cand).count("1") < k: + return False + v = cand.bit_length() - 1 + cand &= ~(1 << v) + if rec(cand & adj[v], size + 1): + return True + return False + return rec((1 << n) - 1, 0) + + +def _connected(adj, n, removed): + alive = [v for v in range(n) if not removed >> v & 1] + if len(alive) <= 1: + return True + mask = sum(1 << v for v in alive) + seen = 1 << alive[0] + stack = [alive[0]] + while stack: + v = stack.pop() + new = adj[v] & mask & ~seen + seen |= new + while new: + u = new.bit_length() - 1 + new &= ~(1 << u) + stack.append(u) + return seen == mask + + +def _girth(adj, n): + best = None + for r in range(n): + dist, par, q = {r: 0}, {r: -1}, [r] + for v in q: + nb = adj[v] + while nb: + u = nb.bit_length() - 1 + nb &= ~(1 << u) + if u not in dist: + dist[u], par[u] = dist[v] + 1, v + q.append(u) + elif par[v] != u: + c = dist[u] + dist[v] + 1 + best = c if best is None else min(best, c) + return best # None = acyclic + + +def _colourable(adj, n, k): + col = [-1] * n + order = sorted(range(n), key=lambda v: -bin(adj[v]).count("1")) + + def rec(i): + if i == n: + return True + v = order[i] + used = {col[u] for u in range(n) if adj[v] >> u & 1 and col[u] >= 0} + for c in range(k): + if c not in used: + col[v] = c + if rec(i + 1): + return True + col[v] = -1 + return False + return rec(0) + + +def check(inst, ans): + n = inst["vertices"] + E = ans.get("edges") + if not isinstance(E, list): + raise Invalid("edges must be a list of [u, v] pairs") + edges = set() + for e in E: + u, v = int_list(e, 2, 0, n - 1, "edge") + if u == v: + raise Invalid(f"self-loop at {u}") + e2 = (min(u, v), max(u, v)) + if e2 in edges: + raise Invalid(f"duplicate edge {e2}") + edges.add(e2) + adj = [0] * n + for u, v in edges: + adj[u] |= 1 << v + adj[v] |= 1 << u + deg = [bin(a).count("1") for a in adj] + for u, v in inst.get("required_edges", []): + if (min(u, v), max(u, v)) not in edges: + raise Invalid(f"required edge ({u},{v}) is missing") + c = inst.get + if c("min_degree") is not None and min(deg) < c("min_degree"): + raise Invalid(f"minimum degree {min(deg)} < {c('min_degree')}") + if c("max_degree") is not None and max(deg) > c("max_degree"): + raise Invalid(f"maximum degree {max(deg)} > {c('max_degree')}") + if c("min_edges") is not None and len(edges) < c("min_edges"): + raise Invalid(f"{len(edges)} edges < {c('min_edges')}") + if c("max_edges") is not None and len(edges) > c("max_edges"): + raise Invalid(f"{len(edges)} edges > {c('max_edges')}") + if c("max_clique") is not None and _has_clique(adj, n, c("max_clique") + 1): + raise Invalid(f"graph contains a clique of size {c('max_clique') + 1}") + if c("max_independent_set") is not None: + full = (1 << n) - 1 + comp = [full & ~adj[v] & ~(1 << v) for v in range(n)] + if _has_clique(comp, n, c("max_independent_set") + 1): + raise Invalid(f"graph contains an independent set of size {c('max_independent_set') + 1}") + if c("min_girth") is not None: + g = _girth(adj, n) + if g is not None and g < c("min_girth"): + raise Invalid(f"graph has a cycle of length {g} < {c('min_girth')}") + if c("min_connectivity") is not None: + k = c("min_connectivity") + if n <= k: + raise Invalid("too few vertices for this connectivity") + for s in range(k): + for I in itertools.combinations(range(n), s): + if not _connected(adj, n, sum(1 << v for v in I)): + raise Invalid(f"deleting vertices {list(I)} disconnects the graph") + if c("mtf"): + for u, v in itertools.combinations(range(n), 2): + if adj[u] >> v & 1: + if adj[u] & adj[v]: + raise Invalid(f"triangle on edge ({u},{v})") + elif not adj[u] & adj[v]: + raise Invalid(f"non-adjacent {u}, {v} have no common neighbour (edge could be added)") + if c("max_chromatic_number") is not None: + k = c("max_chromatic_number") + col = int_list(ans.get("coloring"), n, 0, k - 1, "coloring") + for u, v in edges: + if col[u] == col[v]: + raise Invalid(f"coloring: edge ({u},{v}) is monochromatic") + if c("min_chromatic_number") is not None and c("min_chromatic_number") >= 2: + m = c("min_chromatic_number") + if not edges or _colourable(adj, n, m - 1): + raise Invalid(f"graph is {m - 1}-colourable, chromatic number must be at least {m}") + return None, {"num_edges": len(edges)} diff --git a/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/instance.json b/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5570d52a08a8611951c921872f050159cbf49e42 --- /dev/null +++ b/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/instance.json @@ -0,0 +1 @@ +{"vertices": 14, "required_edges": [], "max_degree": 6, "min_degree": 4, "max_chromatic_number": 4, "min_chromatic_number": 3, "min_edges": 21, "max_edges": 37, "family": "mc_pysms_graph_builder", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/run.py b/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/test.sh b/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-pysms-graph-builder-l4-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-pysms-independent-connectivity-l1-s1/environment/Dockerfile b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-pysms-independent-connectivity-l1-s1/environment/instance.json b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..417a2bb0d0524df1d72f71050c58f24f0e123cfd --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/environment/instance.json @@ -0,0 +1 @@ +{"vertices": 8, "required_edges": [], "max_independent_set": 2, "min_connectivity": 1, "family": "mc_pysms_independent_connectivity", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-independent-connectivity-l1-s1/instruction.md b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..9c8c90cb65aadbbd54479f1199dcc544bf1372d1 --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/instruction.md @@ -0,0 +1,7 @@ +Construct a simple undirected graph on the 8 vertices 0..7 such that: + - the graph contains no independent set of size 3 (maximum independent set size at most 2) + - the vertex-connectivity is at least 1: deleting any set of fewer than 1 vertices leaves a connected graph + +Answer format: {"edges": [[u, v], ...]} where each edge is a pair of distinct vertices in 0..7, listed once + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-pysms-independent-connectivity-l1-s1/solution/solve.sh b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..a411bb51ad0fd830529a244c60057cdaa691261e --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [3, 4], [3, 5], [3, 6], [3, 7], [4, 5], [4, 6], [4, 7], [5, 6], [5, 7], [6, 7]]} +RLMATH_EOF diff --git a/tasks/construct-mc-pysms-independent-connectivity-l1-s1/task.toml b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..1759f6748c973fcacbbfd2fc9a3188215756cb60 --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-pysms-independent-connectivity-l1-s1" +version = "0.2.0" +description = "construct/mc_pysms_independent_connectivity" +authors = [] +keywords = ["rlmath", "construct", "mc_pysms_independent_connectivity"] + +[metadata] +subset = "construct" +family = "mc_pysms_independent_connectivity" +problem_key = "graph_existence_independent_connectivity" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "MathConstraint/pysms_independent_connectivity" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/check.py b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..4ab0b12508cf59b733f007a9d1f50831aec9efdf --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/check.py @@ -0,0 +1,151 @@ +"""Graph-existence constraints (MathConstraint pysms_* problem types, CC-BY-4.0). The answer is a graph on +the stated vertex set, plus a proper colouring when a chromatic-number upper bound is asked for. Every +constraint present in the instance is checked exactly (no stored answer is compared). + +Upstream note: upstream verifies by fixing the edge variables in the pysms CNF and calling CaDiCaL; the +min-chromatic-number bound of pysms_graph_builder is only a raw smsg solver parameter, not a clause, so the +upstream verifier ignored it. It is enforced here. Edge endpoints are also type-checked (upstream accepted +floats/bools that compare in range).""" +import itertools + +from run import Invalid, int_list + + +def _has_clique(adj, n, k): + def rec(cand, size): + if size == k: + return True + while cand: + if size + bin(cand).count("1") < k: + return False + v = cand.bit_length() - 1 + cand &= ~(1 << v) + if rec(cand & adj[v], size + 1): + return True + return False + return rec((1 << n) - 1, 0) + + +def _connected(adj, n, removed): + alive = [v for v in range(n) if not removed >> v & 1] + if len(alive) <= 1: + return True + mask = sum(1 << v for v in alive) + seen = 1 << alive[0] + stack = [alive[0]] + while stack: + v = stack.pop() + new = adj[v] & mask & ~seen + seen |= new + while new: + u = new.bit_length() - 1 + new &= ~(1 << u) + stack.append(u) + return seen == mask + + +def _girth(adj, n): + best = None + for r in range(n): + dist, par, q = {r: 0}, {r: -1}, [r] + for v in q: + nb = adj[v] + while nb: + u = nb.bit_length() - 1 + nb &= ~(1 << u) + if u not in dist: + dist[u], par[u] = dist[v] + 1, v + q.append(u) + elif par[v] != u: + c = dist[u] + dist[v] + 1 + best = c if best is None else min(best, c) + return best # None = acyclic + + +def _colourable(adj, n, k): + col = [-1] * n + order = sorted(range(n), key=lambda v: -bin(adj[v]).count("1")) + + def rec(i): + if i == n: + return True + v = order[i] + used = {col[u] for u in range(n) if adj[v] >> u & 1 and col[u] >= 0} + for c in range(k): + if c not in used: + col[v] = c + if rec(i + 1): + return True + col[v] = -1 + return False + return rec(0) + + +def check(inst, ans): + n = inst["vertices"] + E = ans.get("edges") + if not isinstance(E, list): + raise Invalid("edges must be a list of [u, v] pairs") + edges = set() + for e in E: + u, v = int_list(e, 2, 0, n - 1, "edge") + if u == v: + raise Invalid(f"self-loop at {u}") + e2 = (min(u, v), max(u, v)) + if e2 in edges: + raise Invalid(f"duplicate edge {e2}") + edges.add(e2) + adj = [0] * n + for u, v in edges: + adj[u] |= 1 << v + adj[v] |= 1 << u + deg = [bin(a).count("1") for a in adj] + for u, v in inst.get("required_edges", []): + if (min(u, v), max(u, v)) not in edges: + raise Invalid(f"required edge ({u},{v}) is missing") + c = inst.get + if c("min_degree") is not None and min(deg) < c("min_degree"): + raise Invalid(f"minimum degree {min(deg)} < {c('min_degree')}") + if c("max_degree") is not None and max(deg) > c("max_degree"): + raise Invalid(f"maximum degree {max(deg)} > {c('max_degree')}") + if c("min_edges") is not None and len(edges) < c("min_edges"): + raise Invalid(f"{len(edges)} edges < {c('min_edges')}") + if c("max_edges") is not None and len(edges) > c("max_edges"): + raise Invalid(f"{len(edges)} edges > {c('max_edges')}") + if c("max_clique") is not None and _has_clique(adj, n, c("max_clique") + 1): + raise Invalid(f"graph contains a clique of size {c('max_clique') + 1}") + if c("max_independent_set") is not None: + full = (1 << n) - 1 + comp = [full & ~adj[v] & ~(1 << v) for v in range(n)] + if _has_clique(comp, n, c("max_independent_set") + 1): + raise Invalid(f"graph contains an independent set of size {c('max_independent_set') + 1}") + if c("min_girth") is not None: + g = _girth(adj, n) + if g is not None and g < c("min_girth"): + raise Invalid(f"graph has a cycle of length {g} < {c('min_girth')}") + if c("min_connectivity") is not None: + k = c("min_connectivity") + if n <= k: + raise Invalid("too few vertices for this connectivity") + for s in range(k): + for I in itertools.combinations(range(n), s): + if not _connected(adj, n, sum(1 << v for v in I)): + raise Invalid(f"deleting vertices {list(I)} disconnects the graph") + if c("mtf"): + for u, v in itertools.combinations(range(n), 2): + if adj[u] >> v & 1: + if adj[u] & adj[v]: + raise Invalid(f"triangle on edge ({u},{v})") + elif not adj[u] & adj[v]: + raise Invalid(f"non-adjacent {u}, {v} have no common neighbour (edge could be added)") + if c("max_chromatic_number") is not None: + k = c("max_chromatic_number") + col = int_list(ans.get("coloring"), n, 0, k - 1, "coloring") + for u, v in edges: + if col[u] == col[v]: + raise Invalid(f"coloring: edge ({u},{v}) is monochromatic") + if c("min_chromatic_number") is not None and c("min_chromatic_number") >= 2: + m = c("min_chromatic_number") + if not edges or _colourable(adj, n, m - 1): + raise Invalid(f"graph is {m - 1}-colourable, chromatic number must be at least {m}") + return None, {"num_edges": len(edges)} diff --git a/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/instance.json b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..417a2bb0d0524df1d72f71050c58f24f0e123cfd --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/instance.json @@ -0,0 +1 @@ +{"vertices": 8, "required_edges": [], "max_independent_set": 2, "min_connectivity": 1, "family": "mc_pysms_independent_connectivity", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/run.py b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/test.sh b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l1-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-pysms-independent-connectivity-l5-s0/environment/Dockerfile b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-pysms-independent-connectivity-l5-s0/environment/instance.json b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..94a255a8015b5577634cd44daaa69211801c4213 --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/environment/instance.json @@ -0,0 +1 @@ +{"vertices": 20, "required_edges": [], "max_independent_set": 3, "min_connectivity": 4, "family": "mc_pysms_independent_connectivity", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-independent-connectivity-l5-s0/instruction.md b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..c125bc1c14d989aca5d5b7cd41f80386d42dcc1e --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/instruction.md @@ -0,0 +1,7 @@ +Construct a simple undirected graph on the 20 vertices 0..19 such that: + - the graph contains no independent set of size 4 (maximum independent set size at most 3) + - the vertex-connectivity is at least 4: deleting any set of fewer than 4 vertices leaves a connected graph + +Answer format: {"edges": [[u, v], ...]} where each edge is a pair of distinct vertices in 0..19, listed once + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-pysms-independent-connectivity-l5-s0/solution/solve.sh b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..b4a4550b0ce568fa2a7f31bf686bba3e6d39e0fe --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 18], [1, 19], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 19], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 19], [6, 7], [6, 8], [6, 9], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 16], [6, 17], [6, 18], [6, 19], [7, 8], [7, 9], [7, 10], [7, 11], [7, 12], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 15], [9, 16], [9, 17], [9, 18], [9, 19], [10, 11], [10, 12], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [11, 12], [11, 13], [11, 14], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [14, 15], [14, 16], [14, 17], [14, 18], [14, 19], [15, 16], [15, 17], [15, 18], [15, 19], [16, 17], [16, 18], [16, 19], [17, 18], [17, 19], [18, 19]]} +RLMATH_EOF diff --git a/tasks/construct-mc-pysms-independent-connectivity-l5-s0/task.toml b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..9220e96d5e01125a8ae06bb073fb8d86ec481d4c --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-pysms-independent-connectivity-l5-s0" +version = "0.2.0" +description = "construct/mc_pysms_independent_connectivity" +authors = [] +keywords = ["rlmath", "construct", "mc_pysms_independent_connectivity"] + +[metadata] +subset = "construct" +family = "mc_pysms_independent_connectivity" +problem_key = "graph_existence_independent_connectivity" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "MathConstraint/pysms_independent_connectivity" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/check.py b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..4ab0b12508cf59b733f007a9d1f50831aec9efdf --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/check.py @@ -0,0 +1,151 @@ +"""Graph-existence constraints (MathConstraint pysms_* problem types, CC-BY-4.0). The answer is a graph on +the stated vertex set, plus a proper colouring when a chromatic-number upper bound is asked for. Every +constraint present in the instance is checked exactly (no stored answer is compared). + +Upstream note: upstream verifies by fixing the edge variables in the pysms CNF and calling CaDiCaL; the +min-chromatic-number bound of pysms_graph_builder is only a raw smsg solver parameter, not a clause, so the +upstream verifier ignored it. It is enforced here. Edge endpoints are also type-checked (upstream accepted +floats/bools that compare in range).""" +import itertools + +from run import Invalid, int_list + + +def _has_clique(adj, n, k): + def rec(cand, size): + if size == k: + return True + while cand: + if size + bin(cand).count("1") < k: + return False + v = cand.bit_length() - 1 + cand &= ~(1 << v) + if rec(cand & adj[v], size + 1): + return True + return False + return rec((1 << n) - 1, 0) + + +def _connected(adj, n, removed): + alive = [v for v in range(n) if not removed >> v & 1] + if len(alive) <= 1: + return True + mask = sum(1 << v for v in alive) + seen = 1 << alive[0] + stack = [alive[0]] + while stack: + v = stack.pop() + new = adj[v] & mask & ~seen + seen |= new + while new: + u = new.bit_length() - 1 + new &= ~(1 << u) + stack.append(u) + return seen == mask + + +def _girth(adj, n): + best = None + for r in range(n): + dist, par, q = {r: 0}, {r: -1}, [r] + for v in q: + nb = adj[v] + while nb: + u = nb.bit_length() - 1 + nb &= ~(1 << u) + if u not in dist: + dist[u], par[u] = dist[v] + 1, v + q.append(u) + elif par[v] != u: + c = dist[u] + dist[v] + 1 + best = c if best is None else min(best, c) + return best # None = acyclic + + +def _colourable(adj, n, k): + col = [-1] * n + order = sorted(range(n), key=lambda v: -bin(adj[v]).count("1")) + + def rec(i): + if i == n: + return True + v = order[i] + used = {col[u] for u in range(n) if adj[v] >> u & 1 and col[u] >= 0} + for c in range(k): + if c not in used: + col[v] = c + if rec(i + 1): + return True + col[v] = -1 + return False + return rec(0) + + +def check(inst, ans): + n = inst["vertices"] + E = ans.get("edges") + if not isinstance(E, list): + raise Invalid("edges must be a list of [u, v] pairs") + edges = set() + for e in E: + u, v = int_list(e, 2, 0, n - 1, "edge") + if u == v: + raise Invalid(f"self-loop at {u}") + e2 = (min(u, v), max(u, v)) + if e2 in edges: + raise Invalid(f"duplicate edge {e2}") + edges.add(e2) + adj = [0] * n + for u, v in edges: + adj[u] |= 1 << v + adj[v] |= 1 << u + deg = [bin(a).count("1") for a in adj] + for u, v in inst.get("required_edges", []): + if (min(u, v), max(u, v)) not in edges: + raise Invalid(f"required edge ({u},{v}) is missing") + c = inst.get + if c("min_degree") is not None and min(deg) < c("min_degree"): + raise Invalid(f"minimum degree {min(deg)} < {c('min_degree')}") + if c("max_degree") is not None and max(deg) > c("max_degree"): + raise Invalid(f"maximum degree {max(deg)} > {c('max_degree')}") + if c("min_edges") is not None and len(edges) < c("min_edges"): + raise Invalid(f"{len(edges)} edges < {c('min_edges')}") + if c("max_edges") is not None and len(edges) > c("max_edges"): + raise Invalid(f"{len(edges)} edges > {c('max_edges')}") + if c("max_clique") is not None and _has_clique(adj, n, c("max_clique") + 1): + raise Invalid(f"graph contains a clique of size {c('max_clique') + 1}") + if c("max_independent_set") is not None: + full = (1 << n) - 1 + comp = [full & ~adj[v] & ~(1 << v) for v in range(n)] + if _has_clique(comp, n, c("max_independent_set") + 1): + raise Invalid(f"graph contains an independent set of size {c('max_independent_set') + 1}") + if c("min_girth") is not None: + g = _girth(adj, n) + if g is not None and g < c("min_girth"): + raise Invalid(f"graph has a cycle of length {g} < {c('min_girth')}") + if c("min_connectivity") is not None: + k = c("min_connectivity") + if n <= k: + raise Invalid("too few vertices for this connectivity") + for s in range(k): + for I in itertools.combinations(range(n), s): + if not _connected(adj, n, sum(1 << v for v in I)): + raise Invalid(f"deleting vertices {list(I)} disconnects the graph") + if c("mtf"): + for u, v in itertools.combinations(range(n), 2): + if adj[u] >> v & 1: + if adj[u] & adj[v]: + raise Invalid(f"triangle on edge ({u},{v})") + elif not adj[u] & adj[v]: + raise Invalid(f"non-adjacent {u}, {v} have no common neighbour (edge could be added)") + if c("max_chromatic_number") is not None: + k = c("max_chromatic_number") + col = int_list(ans.get("coloring"), n, 0, k - 1, "coloring") + for u, v in edges: + if col[u] == col[v]: + raise Invalid(f"coloring: edge ({u},{v}) is monochromatic") + if c("min_chromatic_number") is not None and c("min_chromatic_number") >= 2: + m = c("min_chromatic_number") + if not edges or _colourable(adj, n, m - 1): + raise Invalid(f"graph is {m - 1}-colourable, chromatic number must be at least {m}") + return None, {"num_edges": len(edges)} diff --git a/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/instance.json b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..94a255a8015b5577634cd44daaa69211801c4213 --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/instance.json @@ -0,0 +1 @@ +{"vertices": 20, "required_edges": [], "max_independent_set": 3, "min_connectivity": 4, "family": "mc_pysms_independent_connectivity", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/run.py b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/test.sh b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-pysms-independent-connectivity-l5-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-pysms-min-girth-l1-s0/environment/Dockerfile b/tasks/construct-mc-pysms-min-girth-l1-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l1-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-pysms-min-girth-l1-s0/environment/instance.json b/tasks/construct-mc-pysms-min-girth-l1-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4eb8cc375e1bcce0f5a2cc0887283385252ca244 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l1-s0/environment/instance.json @@ -0,0 +1 @@ +{"vertices": 8, "required_edges": [], "min_girth": 6, "family": "mc_pysms_min_girth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-min-girth-l1-s0/instruction.md b/tasks/construct-mc-pysms-min-girth-l1-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..2e8f620701a238d678831b3fefe68e953906df50 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l1-s0/instruction.md @@ -0,0 +1,6 @@ +Construct a simple undirected graph on the 8 vertices 0..7 such that: + - the girth is at least 6: the graph has no cycle of length less than 6 (a graph without cycles qualifies) + +Answer format: {"edges": [[u, v], ...]} where each edge is a pair of distinct vertices in 0..7, listed once + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-pysms-min-girth-l1-s0/solution/solve.sh b/tasks/construct-mc-pysms-min-girth-l1-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..dbb85483c38085ee05b4c5ad65d28d5ab5157660 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l1-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"edges": [[0, 7], [1, 7], [2, 7], [3, 7], [4, 7], [5, 7], [6, 7]]} +RLMATH_EOF diff --git a/tasks/construct-mc-pysms-min-girth-l1-s0/task.toml b/tasks/construct-mc-pysms-min-girth-l1-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..3366d7c779537c7569239820604f6c4b2f321aa1 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l1-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-pysms-min-girth-l1-s0" +version = "0.2.0" +description = "construct/mc_pysms_min_girth" +authors = [] +keywords = ["rlmath", "construct", "mc_pysms_min_girth"] + +[metadata] +subset = "construct" +family = "mc_pysms_min_girth" +problem_key = "graph_existence_min_girth" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "MathConstraint/pysms_min_girth" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-pysms-min-girth-l1-s0/tests/check.py b/tasks/construct-mc-pysms-min-girth-l1-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..4ab0b12508cf59b733f007a9d1f50831aec9efdf --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l1-s0/tests/check.py @@ -0,0 +1,151 @@ +"""Graph-existence constraints (MathConstraint pysms_* problem types, CC-BY-4.0). The answer is a graph on +the stated vertex set, plus a proper colouring when a chromatic-number upper bound is asked for. Every +constraint present in the instance is checked exactly (no stored answer is compared). + +Upstream note: upstream verifies by fixing the edge variables in the pysms CNF and calling CaDiCaL; the +min-chromatic-number bound of pysms_graph_builder is only a raw smsg solver parameter, not a clause, so the +upstream verifier ignored it. It is enforced here. Edge endpoints are also type-checked (upstream accepted +floats/bools that compare in range).""" +import itertools + +from run import Invalid, int_list + + +def _has_clique(adj, n, k): + def rec(cand, size): + if size == k: + return True + while cand: + if size + bin(cand).count("1") < k: + return False + v = cand.bit_length() - 1 + cand &= ~(1 << v) + if rec(cand & adj[v], size + 1): + return True + return False + return rec((1 << n) - 1, 0) + + +def _connected(adj, n, removed): + alive = [v for v in range(n) if not removed >> v & 1] + if len(alive) <= 1: + return True + mask = sum(1 << v for v in alive) + seen = 1 << alive[0] + stack = [alive[0]] + while stack: + v = stack.pop() + new = adj[v] & mask & ~seen + seen |= new + while new: + u = new.bit_length() - 1 + new &= ~(1 << u) + stack.append(u) + return seen == mask + + +def _girth(adj, n): + best = None + for r in range(n): + dist, par, q = {r: 0}, {r: -1}, [r] + for v in q: + nb = adj[v] + while nb: + u = nb.bit_length() - 1 + nb &= ~(1 << u) + if u not in dist: + dist[u], par[u] = dist[v] + 1, v + q.append(u) + elif par[v] != u: + c = dist[u] + dist[v] + 1 + best = c if best is None else min(best, c) + return best # None = acyclic + + +def _colourable(adj, n, k): + col = [-1] * n + order = sorted(range(n), key=lambda v: -bin(adj[v]).count("1")) + + def rec(i): + if i == n: + return True + v = order[i] + used = {col[u] for u in range(n) if adj[v] >> u & 1 and col[u] >= 0} + for c in range(k): + if c not in used: + col[v] = c + if rec(i + 1): + return True + col[v] = -1 + return False + return rec(0) + + +def check(inst, ans): + n = inst["vertices"] + E = ans.get("edges") + if not isinstance(E, list): + raise Invalid("edges must be a list of [u, v] pairs") + edges = set() + for e in E: + u, v = int_list(e, 2, 0, n - 1, "edge") + if u == v: + raise Invalid(f"self-loop at {u}") + e2 = (min(u, v), max(u, v)) + if e2 in edges: + raise Invalid(f"duplicate edge {e2}") + edges.add(e2) + adj = [0] * n + for u, v in edges: + adj[u] |= 1 << v + adj[v] |= 1 << u + deg = [bin(a).count("1") for a in adj] + for u, v in inst.get("required_edges", []): + if (min(u, v), max(u, v)) not in edges: + raise Invalid(f"required edge ({u},{v}) is missing") + c = inst.get + if c("min_degree") is not None and min(deg) < c("min_degree"): + raise Invalid(f"minimum degree {min(deg)} < {c('min_degree')}") + if c("max_degree") is not None and max(deg) > c("max_degree"): + raise Invalid(f"maximum degree {max(deg)} > {c('max_degree')}") + if c("min_edges") is not None and len(edges) < c("min_edges"): + raise Invalid(f"{len(edges)} edges < {c('min_edges')}") + if c("max_edges") is not None and len(edges) > c("max_edges"): + raise Invalid(f"{len(edges)} edges > {c('max_edges')}") + if c("max_clique") is not None and _has_clique(adj, n, c("max_clique") + 1): + raise Invalid(f"graph contains a clique of size {c('max_clique') + 1}") + if c("max_independent_set") is not None: + full = (1 << n) - 1 + comp = [full & ~adj[v] & ~(1 << v) for v in range(n)] + if _has_clique(comp, n, c("max_independent_set") + 1): + raise Invalid(f"graph contains an independent set of size {c('max_independent_set') + 1}") + if c("min_girth") is not None: + g = _girth(adj, n) + if g is not None and g < c("min_girth"): + raise Invalid(f"graph has a cycle of length {g} < {c('min_girth')}") + if c("min_connectivity") is not None: + k = c("min_connectivity") + if n <= k: + raise Invalid("too few vertices for this connectivity") + for s in range(k): + for I in itertools.combinations(range(n), s): + if not _connected(adj, n, sum(1 << v for v in I)): + raise Invalid(f"deleting vertices {list(I)} disconnects the graph") + if c("mtf"): + for u, v in itertools.combinations(range(n), 2): + if adj[u] >> v & 1: + if adj[u] & adj[v]: + raise Invalid(f"triangle on edge ({u},{v})") + elif not adj[u] & adj[v]: + raise Invalid(f"non-adjacent {u}, {v} have no common neighbour (edge could be added)") + if c("max_chromatic_number") is not None: + k = c("max_chromatic_number") + col = int_list(ans.get("coloring"), n, 0, k - 1, "coloring") + for u, v in edges: + if col[u] == col[v]: + raise Invalid(f"coloring: edge ({u},{v}) is monochromatic") + if c("min_chromatic_number") is not None and c("min_chromatic_number") >= 2: + m = c("min_chromatic_number") + if not edges or _colourable(adj, n, m - 1): + raise Invalid(f"graph is {m - 1}-colourable, chromatic number must be at least {m}") + return None, {"num_edges": len(edges)} diff --git a/tasks/construct-mc-pysms-min-girth-l1-s0/tests/instance.json b/tasks/construct-mc-pysms-min-girth-l1-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4eb8cc375e1bcce0f5a2cc0887283385252ca244 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l1-s0/tests/instance.json @@ -0,0 +1 @@ +{"vertices": 8, "required_edges": [], "min_girth": 6, "family": "mc_pysms_min_girth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-min-girth-l1-s0/tests/run.py b/tasks/construct-mc-pysms-min-girth-l1-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l1-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-pysms-min-girth-l1-s0/tests/test.sh b/tasks/construct-mc-pysms-min-girth-l1-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l1-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-pysms-min-girth-l5-s1/environment/Dockerfile b/tasks/construct-mc-pysms-min-girth-l5-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l5-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-pysms-min-girth-l5-s1/environment/instance.json b/tasks/construct-mc-pysms-min-girth-l5-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..451e2a61cccb67c1028766aadec18df2d9c8522a --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l5-s1/environment/instance.json @@ -0,0 +1 @@ +{"vertices": 16, "required_edges": [[11, 15], [3, 15], [5, 15]], "min_girth": 8, "family": "mc_pysms_min_girth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-min-girth-l5-s1/instruction.md b/tasks/construct-mc-pysms-min-girth-l5-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..3fada50487cf6621dc85393efc670bf22ada6b89 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l5-s1/instruction.md @@ -0,0 +1,7 @@ +Construct a simple undirected graph on the 16 vertices 0..15 such that: + - the girth is at least 8: the graph has no cycle of length less than 8 (a graph without cycles qualifies) + - it contains each of the following edges: (11,15), (3,15), (5,15) + +Answer format: {"edges": [[u, v], ...]} where each edge is a pair of distinct vertices in 0..15, listed once + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-pysms-min-girth-l5-s1/solution/solve.sh b/tasks/construct-mc-pysms-min-girth-l5-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..52434ade2eca518b13864ef731b50c0013a703bd --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l5-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"edges": [[0, 15], [1, 15], [2, 15], [3, 15], [4, 15], [5, 15], [6, 15], [7, 15], [8, 15], [9, 15], [10, 15], [11, 15], [12, 15], [13, 15], [14, 15]]} +RLMATH_EOF diff --git a/tasks/construct-mc-pysms-min-girth-l5-s1/task.toml b/tasks/construct-mc-pysms-min-girth-l5-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..92b5b9320a8723a15a60b682e2d49a85c0a636ea --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l5-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-pysms-min-girth-l5-s1" +version = "0.2.0" +description = "construct/mc_pysms_min_girth" +authors = [] +keywords = ["rlmath", "construct", "mc_pysms_min_girth"] + +[metadata] +subset = "construct" +family = "mc_pysms_min_girth" +problem_key = "graph_existence_min_girth" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "MathConstraint/pysms_min_girth" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-pysms-min-girth-l5-s1/tests/check.py b/tasks/construct-mc-pysms-min-girth-l5-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..4ab0b12508cf59b733f007a9d1f50831aec9efdf --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l5-s1/tests/check.py @@ -0,0 +1,151 @@ +"""Graph-existence constraints (MathConstraint pysms_* problem types, CC-BY-4.0). The answer is a graph on +the stated vertex set, plus a proper colouring when a chromatic-number upper bound is asked for. Every +constraint present in the instance is checked exactly (no stored answer is compared). + +Upstream note: upstream verifies by fixing the edge variables in the pysms CNF and calling CaDiCaL; the +min-chromatic-number bound of pysms_graph_builder is only a raw smsg solver parameter, not a clause, so the +upstream verifier ignored it. It is enforced here. Edge endpoints are also type-checked (upstream accepted +floats/bools that compare in range).""" +import itertools + +from run import Invalid, int_list + + +def _has_clique(adj, n, k): + def rec(cand, size): + if size == k: + return True + while cand: + if size + bin(cand).count("1") < k: + return False + v = cand.bit_length() - 1 + cand &= ~(1 << v) + if rec(cand & adj[v], size + 1): + return True + return False + return rec((1 << n) - 1, 0) + + +def _connected(adj, n, removed): + alive = [v for v in range(n) if not removed >> v & 1] + if len(alive) <= 1: + return True + mask = sum(1 << v for v in alive) + seen = 1 << alive[0] + stack = [alive[0]] + while stack: + v = stack.pop() + new = adj[v] & mask & ~seen + seen |= new + while new: + u = new.bit_length() - 1 + new &= ~(1 << u) + stack.append(u) + return seen == mask + + +def _girth(adj, n): + best = None + for r in range(n): + dist, par, q = {r: 0}, {r: -1}, [r] + for v in q: + nb = adj[v] + while nb: + u = nb.bit_length() - 1 + nb &= ~(1 << u) + if u not in dist: + dist[u], par[u] = dist[v] + 1, v + q.append(u) + elif par[v] != u: + c = dist[u] + dist[v] + 1 + best = c if best is None else min(best, c) + return best # None = acyclic + + +def _colourable(adj, n, k): + col = [-1] * n + order = sorted(range(n), key=lambda v: -bin(adj[v]).count("1")) + + def rec(i): + if i == n: + return True + v = order[i] + used = {col[u] for u in range(n) if adj[v] >> u & 1 and col[u] >= 0} + for c in range(k): + if c not in used: + col[v] = c + if rec(i + 1): + return True + col[v] = -1 + return False + return rec(0) + + +def check(inst, ans): + n = inst["vertices"] + E = ans.get("edges") + if not isinstance(E, list): + raise Invalid("edges must be a list of [u, v] pairs") + edges = set() + for e in E: + u, v = int_list(e, 2, 0, n - 1, "edge") + if u == v: + raise Invalid(f"self-loop at {u}") + e2 = (min(u, v), max(u, v)) + if e2 in edges: + raise Invalid(f"duplicate edge {e2}") + edges.add(e2) + adj = [0] * n + for u, v in edges: + adj[u] |= 1 << v + adj[v] |= 1 << u + deg = [bin(a).count("1") for a in adj] + for u, v in inst.get("required_edges", []): + if (min(u, v), max(u, v)) not in edges: + raise Invalid(f"required edge ({u},{v}) is missing") + c = inst.get + if c("min_degree") is not None and min(deg) < c("min_degree"): + raise Invalid(f"minimum degree {min(deg)} < {c('min_degree')}") + if c("max_degree") is not None and max(deg) > c("max_degree"): + raise Invalid(f"maximum degree {max(deg)} > {c('max_degree')}") + if c("min_edges") is not None and len(edges) < c("min_edges"): + raise Invalid(f"{len(edges)} edges < {c('min_edges')}") + if c("max_edges") is not None and len(edges) > c("max_edges"): + raise Invalid(f"{len(edges)} edges > {c('max_edges')}") + if c("max_clique") is not None and _has_clique(adj, n, c("max_clique") + 1): + raise Invalid(f"graph contains a clique of size {c('max_clique') + 1}") + if c("max_independent_set") is not None: + full = (1 << n) - 1 + comp = [full & ~adj[v] & ~(1 << v) for v in range(n)] + if _has_clique(comp, n, c("max_independent_set") + 1): + raise Invalid(f"graph contains an independent set of size {c('max_independent_set') + 1}") + if c("min_girth") is not None: + g = _girth(adj, n) + if g is not None and g < c("min_girth"): + raise Invalid(f"graph has a cycle of length {g} < {c('min_girth')}") + if c("min_connectivity") is not None: + k = c("min_connectivity") + if n <= k: + raise Invalid("too few vertices for this connectivity") + for s in range(k): + for I in itertools.combinations(range(n), s): + if not _connected(adj, n, sum(1 << v for v in I)): + raise Invalid(f"deleting vertices {list(I)} disconnects the graph") + if c("mtf"): + for u, v in itertools.combinations(range(n), 2): + if adj[u] >> v & 1: + if adj[u] & adj[v]: + raise Invalid(f"triangle on edge ({u},{v})") + elif not adj[u] & adj[v]: + raise Invalid(f"non-adjacent {u}, {v} have no common neighbour (edge could be added)") + if c("max_chromatic_number") is not None: + k = c("max_chromatic_number") + col = int_list(ans.get("coloring"), n, 0, k - 1, "coloring") + for u, v in edges: + if col[u] == col[v]: + raise Invalid(f"coloring: edge ({u},{v}) is monochromatic") + if c("min_chromatic_number") is not None and c("min_chromatic_number") >= 2: + m = c("min_chromatic_number") + if not edges or _colourable(adj, n, m - 1): + raise Invalid(f"graph is {m - 1}-colourable, chromatic number must be at least {m}") + return None, {"num_edges": len(edges)} diff --git a/tasks/construct-mc-pysms-min-girth-l5-s1/tests/instance.json b/tasks/construct-mc-pysms-min-girth-l5-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..451e2a61cccb67c1028766aadec18df2d9c8522a --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l5-s1/tests/instance.json @@ -0,0 +1 @@ +{"vertices": 16, "required_edges": [[11, 15], [3, 15], [5, 15]], "min_girth": 8, "family": "mc_pysms_min_girth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-min-girth-l5-s1/tests/run.py b/tasks/construct-mc-pysms-min-girth-l5-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l5-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-pysms-min-girth-l5-s1/tests/test.sh b/tasks/construct-mc-pysms-min-girth-l5-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-pysms-min-girth-l5-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-pysms-mtf-l3-s2/environment/Dockerfile b/tasks/construct-mc-pysms-mtf-l3-s2/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-pysms-mtf-l3-s2/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-pysms-mtf-l3-s2/environment/instance.json b/tasks/construct-mc-pysms-mtf-l3-s2/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..0d92303db396795dedc6f8812f1c84f99ffddec1 --- /dev/null +++ b/tasks/construct-mc-pysms-mtf-l3-s2/environment/instance.json @@ -0,0 +1 @@ +{"vertices": 10, "required_edges": [], "mtf": true, "family": "mc_pysms_mtf", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-mtf-l3-s2/instruction.md b/tasks/construct-mc-pysms-mtf-l3-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..c448de732a62c6bf3db9c51b31714224e76a1dfa --- /dev/null +++ b/tasks/construct-mc-pysms-mtf-l3-s2/instruction.md @@ -0,0 +1,6 @@ +Construct a simple undirected graph on the 10 vertices 0..9 such that: + - the graph is maximal triangle-free: it contains no triangle, and adding any missing edge would create one (every two non-adjacent vertices have a common neighbour) + +Answer format: {"edges": [[u, v], ...]} where each edge is a pair of distinct vertices in 0..9, listed once + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-pysms-mtf-l3-s2/solution/solve.sh b/tasks/construct-mc-pysms-mtf-l3-s2/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..c85e671a548b9b7e2f9e6a3362fb213ef4e2d2ff --- /dev/null +++ b/tasks/construct-mc-pysms-mtf-l3-s2/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"edges": [[0, 8], [0, 9], [1, 8], [1, 9], [2, 8], [2, 9], [3, 8], [3, 9], [4, 8], [4, 9], [5, 8], [5, 9], [6, 8], [6, 9], [7, 8], [7, 9]]} +RLMATH_EOF diff --git a/tasks/construct-mc-pysms-mtf-l3-s2/task.toml b/tasks/construct-mc-pysms-mtf-l3-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..259c67848016d44fb76a062cfbd951bf010f46df --- /dev/null +++ b/tasks/construct-mc-pysms-mtf-l3-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-pysms-mtf-l3-s2" +version = "0.2.0" +description = "construct/mc_pysms_mtf" +authors = [] +keywords = ["rlmath", "construct", "mc_pysms_mtf"] + +[metadata] +subset = "construct" +family = "mc_pysms_mtf" +problem_key = "maximal_triangle_free_graph" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "MathConstraint/pysms_mtf" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-pysms-mtf-l3-s2/tests/check.py b/tasks/construct-mc-pysms-mtf-l3-s2/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..4ab0b12508cf59b733f007a9d1f50831aec9efdf --- /dev/null +++ b/tasks/construct-mc-pysms-mtf-l3-s2/tests/check.py @@ -0,0 +1,151 @@ +"""Graph-existence constraints (MathConstraint pysms_* problem types, CC-BY-4.0). The answer is a graph on +the stated vertex set, plus a proper colouring when a chromatic-number upper bound is asked for. Every +constraint present in the instance is checked exactly (no stored answer is compared). + +Upstream note: upstream verifies by fixing the edge variables in the pysms CNF and calling CaDiCaL; the +min-chromatic-number bound of pysms_graph_builder is only a raw smsg solver parameter, not a clause, so the +upstream verifier ignored it. It is enforced here. Edge endpoints are also type-checked (upstream accepted +floats/bools that compare in range).""" +import itertools + +from run import Invalid, int_list + + +def _has_clique(adj, n, k): + def rec(cand, size): + if size == k: + return True + while cand: + if size + bin(cand).count("1") < k: + return False + v = cand.bit_length() - 1 + cand &= ~(1 << v) + if rec(cand & adj[v], size + 1): + return True + return False + return rec((1 << n) - 1, 0) + + +def _connected(adj, n, removed): + alive = [v for v in range(n) if not removed >> v & 1] + if len(alive) <= 1: + return True + mask = sum(1 << v for v in alive) + seen = 1 << alive[0] + stack = [alive[0]] + while stack: + v = stack.pop() + new = adj[v] & mask & ~seen + seen |= new + while new: + u = new.bit_length() - 1 + new &= ~(1 << u) + stack.append(u) + return seen == mask + + +def _girth(adj, n): + best = None + for r in range(n): + dist, par, q = {r: 0}, {r: -1}, [r] + for v in q: + nb = adj[v] + while nb: + u = nb.bit_length() - 1 + nb &= ~(1 << u) + if u not in dist: + dist[u], par[u] = dist[v] + 1, v + q.append(u) + elif par[v] != u: + c = dist[u] + dist[v] + 1 + best = c if best is None else min(best, c) + return best # None = acyclic + + +def _colourable(adj, n, k): + col = [-1] * n + order = sorted(range(n), key=lambda v: -bin(adj[v]).count("1")) + + def rec(i): + if i == n: + return True + v = order[i] + used = {col[u] for u in range(n) if adj[v] >> u & 1 and col[u] >= 0} + for c in range(k): + if c not in used: + col[v] = c + if rec(i + 1): + return True + col[v] = -1 + return False + return rec(0) + + +def check(inst, ans): + n = inst["vertices"] + E = ans.get("edges") + if not isinstance(E, list): + raise Invalid("edges must be a list of [u, v] pairs") + edges = set() + for e in E: + u, v = int_list(e, 2, 0, n - 1, "edge") + if u == v: + raise Invalid(f"self-loop at {u}") + e2 = (min(u, v), max(u, v)) + if e2 in edges: + raise Invalid(f"duplicate edge {e2}") + edges.add(e2) + adj = [0] * n + for u, v in edges: + adj[u] |= 1 << v + adj[v] |= 1 << u + deg = [bin(a).count("1") for a in adj] + for u, v in inst.get("required_edges", []): + if (min(u, v), max(u, v)) not in edges: + raise Invalid(f"required edge ({u},{v}) is missing") + c = inst.get + if c("min_degree") is not None and min(deg) < c("min_degree"): + raise Invalid(f"minimum degree {min(deg)} < {c('min_degree')}") + if c("max_degree") is not None and max(deg) > c("max_degree"): + raise Invalid(f"maximum degree {max(deg)} > {c('max_degree')}") + if c("min_edges") is not None and len(edges) < c("min_edges"): + raise Invalid(f"{len(edges)} edges < {c('min_edges')}") + if c("max_edges") is not None and len(edges) > c("max_edges"): + raise Invalid(f"{len(edges)} edges > {c('max_edges')}") + if c("max_clique") is not None and _has_clique(adj, n, c("max_clique") + 1): + raise Invalid(f"graph contains a clique of size {c('max_clique') + 1}") + if c("max_independent_set") is not None: + full = (1 << n) - 1 + comp = [full & ~adj[v] & ~(1 << v) for v in range(n)] + if _has_clique(comp, n, c("max_independent_set") + 1): + raise Invalid(f"graph contains an independent set of size {c('max_independent_set') + 1}") + if c("min_girth") is not None: + g = _girth(adj, n) + if g is not None and g < c("min_girth"): + raise Invalid(f"graph has a cycle of length {g} < {c('min_girth')}") + if c("min_connectivity") is not None: + k = c("min_connectivity") + if n <= k: + raise Invalid("too few vertices for this connectivity") + for s in range(k): + for I in itertools.combinations(range(n), s): + if not _connected(adj, n, sum(1 << v for v in I)): + raise Invalid(f"deleting vertices {list(I)} disconnects the graph") + if c("mtf"): + for u, v in itertools.combinations(range(n), 2): + if adj[u] >> v & 1: + if adj[u] & adj[v]: + raise Invalid(f"triangle on edge ({u},{v})") + elif not adj[u] & adj[v]: + raise Invalid(f"non-adjacent {u}, {v} have no common neighbour (edge could be added)") + if c("max_chromatic_number") is not None: + k = c("max_chromatic_number") + col = int_list(ans.get("coloring"), n, 0, k - 1, "coloring") + for u, v in edges: + if col[u] == col[v]: + raise Invalid(f"coloring: edge ({u},{v}) is monochromatic") + if c("min_chromatic_number") is not None and c("min_chromatic_number") >= 2: + m = c("min_chromatic_number") + if not edges or _colourable(adj, n, m - 1): + raise Invalid(f"graph is {m - 1}-colourable, chromatic number must be at least {m}") + return None, {"num_edges": len(edges)} diff --git a/tasks/construct-mc-pysms-mtf-l3-s2/tests/instance.json b/tasks/construct-mc-pysms-mtf-l3-s2/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..0d92303db396795dedc6f8812f1c84f99ffddec1 --- /dev/null +++ b/tasks/construct-mc-pysms-mtf-l3-s2/tests/instance.json @@ -0,0 +1 @@ +{"vertices": 10, "required_edges": [], "mtf": true, "family": "mc_pysms_mtf", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-pysms-mtf-l3-s2/tests/run.py b/tasks/construct-mc-pysms-mtf-l3-s2/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-pysms-mtf-l3-s2/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-pysms-mtf-l3-s2/tests/test.sh b/tasks/construct-mc-pysms-mtf-l3-s2/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-pysms-mtf-l3-s2/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-pysms-num-edges-bounds-l3-s1/instruction.md b/tasks/construct-mc-pysms-num-edges-bounds-l3-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..935f21eb1657189a9f9de2a24204dd9d1e3ca60f --- /dev/null +++ b/tasks/construct-mc-pysms-num-edges-bounds-l3-s1/instruction.md @@ -0,0 +1,6 @@ +Construct a simple undirected graph on the 14 vertices 0..13 such that: + - the number of edges is between 33 and 33 (inclusive) + +Answer format: {"edges": [[u, v], ...]} where each edge is a pair of distinct vertices in 0..13, listed once + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-pysms-num-edges-bounds-l3-s1/task.toml b/tasks/construct-mc-pysms-num-edges-bounds-l3-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..3ba47552fd928a99de458509da98890e47981f3c --- /dev/null +++ b/tasks/construct-mc-pysms-num-edges-bounds-l3-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-pysms-num-edges-bounds-l3-s1" +version = "0.2.0" +description = "construct/mc_pysms_num_edges_bounds" +authors = [] +keywords = ["rlmath", "construct", "mc_pysms_num_edges_bounds"] + +[metadata] +subset = "construct" +family = "mc_pysms_num_edges_bounds" +problem_key = "graph_existence_num_edges_bounds" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "MathConstraint/pysms_num_edges_bounds" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-ramsey-l1-s0/environment/Dockerfile b/tasks/construct-mc-ramsey-l1-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-ramsey-l1-s0/environment/instance.json b/tasks/construct-mc-ramsey-l1-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..ca554d22f90cbe644a5fd7c4850e0ae5b7cf6f2e --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s0/environment/instance.json @@ -0,0 +1 @@ +{"n": 8, "r": 3, "s": 4, "fixed": [], "family": "mc_ramsey", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-ramsey-l1-s0/instruction.md b/tasks/construct-mc-ramsey-l1-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..741981d38096007192bd47e255152fa24e9ff099 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s0/instruction.md @@ -0,0 +1,5 @@ +Colour each of the 28 edges of the complete graph K_8 (vertices 0..7) with colour 0 or 1 so that there is no set of 3 vertices whose connecting edges all have colour 0, and no set of 4 vertices whose connecting edges all have colour 1. + +Answer format: {"colors": [c_0, ..., c_27]}, one entry (0 or 1) per edge (i, j) with 0 <= i < j < 8, in lexicographic order ((0,1), (0,2), ..., (0,7), (1,2), ..., (6,7)). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-ramsey-l1-s0/solution/solve.sh b/tasks/construct-mc-ramsey-l1-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..7814971933684c55ba6462d376606ceb6c0f38da --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"colors": [0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1]} +RLMATH_EOF diff --git a/tasks/construct-mc-ramsey-l1-s0/task.toml b/tasks/construct-mc-ramsey-l1-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..a7822f00c0b01745654044243a526abb95bc9a7e --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-ramsey-l1-s0" +version = "0.2.0" +description = "construct/mc_ramsey" +authors = [] +keywords = ["rlmath", "construct", "mc_ramsey"] + +[metadata] +subset = "construct" +family = "mc_ramsey" +problem_key = "ramsey_two_colouring" +domain = "combinatorics" +tier = "competition" +level = "1" +source = "MathConstraint/ramsey" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-ramsey-l1-s0/tests/check.py b/tasks/construct-mc-ramsey-l1-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..53526c0bc87af6298219d3e1eac5f95f01b57541 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s0/tests/check.py @@ -0,0 +1,31 @@ +"""Two-colouring of the edges of K_n with no colour-0 K_r and no colour-1 K_s (MathConstraint ramsey, +CC-BY-4.0). Adapted from pilot/grader.py check_ramsey; adds the optional fixed edge colours.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, r, s = inst["n"], inst["r"], inst["s"] + edges = list(itertools.combinations(range(n), 2)) + col = int_list(ans.get("colors"), len(edges), 0, 1, "colors") + for name, i, v in inst.get("fixed", []): + if col[i] != v: + raise Invalid(f"fixed value {name}[{i}] = {v} not respected") + c = {e: col[i] for i, e in enumerate(edges)} + for k, colour in ((r, 0), (s, 1)): + adj = {v: {u for u in range(n) if u != v and c[(min(u, v), max(u, v))] == colour} for v in range(n)} + + def grow(size, cand): + if size == k: + return True + if size + len(cand) < k: + return False + for v in sorted(cand): + if grow(size + 1, {u for u in cand if u > v} & adj[v]): + return True + return False + + if grow(0, set(range(n))): + raise Invalid(f"monochromatic K_{k} in colour {colour}") + return None, {} diff --git a/tasks/construct-mc-ramsey-l1-s0/tests/instance.json b/tasks/construct-mc-ramsey-l1-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..ca554d22f90cbe644a5fd7c4850e0ae5b7cf6f2e --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s0/tests/instance.json @@ -0,0 +1 @@ +{"n": 8, "r": 3, "s": 4, "fixed": [], "family": "mc_ramsey", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-ramsey-l1-s0/tests/run.py b/tasks/construct-mc-ramsey-l1-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-ramsey-l1-s0/tests/test.sh b/tasks/construct-mc-ramsey-l1-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-ramsey-l1-s7/environment/Dockerfile b/tasks/construct-mc-ramsey-l1-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-ramsey-l1-s7/environment/instance.json b/tasks/construct-mc-ramsey-l1-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..1a48b3ef5b73ad7357c620b64385e4c1a94596c1 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s7/environment/instance.json @@ -0,0 +1 @@ +{"n": 8, "r": 4, "s": 3, "fixed": [], "family": "mc_ramsey", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-ramsey-l1-s7/instruction.md b/tasks/construct-mc-ramsey-l1-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..977bb3977ffbbcda95896ac0f33a61399775339a --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s7/instruction.md @@ -0,0 +1,5 @@ +Colour each of the 28 edges of the complete graph K_8 (vertices 0..7) with colour 0 or 1 so that there is no set of 4 vertices whose connecting edges all have colour 0, and no set of 3 vertices whose connecting edges all have colour 1. + +Answer format: {"colors": [c_0, ..., c_27]}, one entry (0 or 1) per edge (i, j) with 0 <= i < j < 8, in lexicographic order ((0,1), (0,2), ..., (0,7), (1,2), ..., (6,7)). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-ramsey-l1-s7/solution/solve.sh b/tasks/construct-mc-ramsey-l1-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..b6b6ab5786cb04c89c7f696e69c6bed107a7037f --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"colors": [0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1]} +RLMATH_EOF diff --git a/tasks/construct-mc-ramsey-l1-s7/task.toml b/tasks/construct-mc-ramsey-l1-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..6c26f581c18a0a9f0d0603ceba33d33c7d2acba3 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-ramsey-l1-s7" +version = "0.2.0" +description = "construct/mc_ramsey" +authors = [] +keywords = ["rlmath", "construct", "mc_ramsey"] + +[metadata] +subset = "construct" +family = "mc_ramsey" +problem_key = "ramsey_two_colouring" +domain = "combinatorics" +tier = "competition" +level = "1" +source = "MathConstraint/ramsey" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-ramsey-l1-s7/tests/check.py b/tasks/construct-mc-ramsey-l1-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..53526c0bc87af6298219d3e1eac5f95f01b57541 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s7/tests/check.py @@ -0,0 +1,31 @@ +"""Two-colouring of the edges of K_n with no colour-0 K_r and no colour-1 K_s (MathConstraint ramsey, +CC-BY-4.0). Adapted from pilot/grader.py check_ramsey; adds the optional fixed edge colours.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, r, s = inst["n"], inst["r"], inst["s"] + edges = list(itertools.combinations(range(n), 2)) + col = int_list(ans.get("colors"), len(edges), 0, 1, "colors") + for name, i, v in inst.get("fixed", []): + if col[i] != v: + raise Invalid(f"fixed value {name}[{i}] = {v} not respected") + c = {e: col[i] for i, e in enumerate(edges)} + for k, colour in ((r, 0), (s, 1)): + adj = {v: {u for u in range(n) if u != v and c[(min(u, v), max(u, v))] == colour} for v in range(n)} + + def grow(size, cand): + if size == k: + return True + if size + len(cand) < k: + return False + for v in sorted(cand): + if grow(size + 1, {u for u in cand if u > v} & adj[v]): + return True + return False + + if grow(0, set(range(n))): + raise Invalid(f"monochromatic K_{k} in colour {colour}") + return None, {} diff --git a/tasks/construct-mc-ramsey-l1-s7/tests/instance.json b/tasks/construct-mc-ramsey-l1-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..1a48b3ef5b73ad7357c620b64385e4c1a94596c1 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s7/tests/instance.json @@ -0,0 +1 @@ +{"n": 8, "r": 4, "s": 3, "fixed": [], "family": "mc_ramsey", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-ramsey-l1-s7/tests/run.py b/tasks/construct-mc-ramsey-l1-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-ramsey-l1-s7/tests/test.sh b/tasks/construct-mc-ramsey-l1-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-ramsey-l1-s9/instruction.md b/tasks/construct-mc-ramsey-l1-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..495bdff329079c1183a439d4bd20332f19dceea9 --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s9/instruction.md @@ -0,0 +1,5 @@ +Colour each of the 10 edges of the complete graph K_5 (vertices 0..4) with colour 0 or 1 so that there is no set of 3 vertices whose connecting edges all have colour 0, and no set of 4 vertices whose connecting edges all have colour 1. + +Answer format: {"colors": [c_0, ..., c_9]}, one entry (0 or 1) per edge (i, j) with 0 <= i < j < 5, in lexicographic order ((0,1), (0,2), ..., (0,4), (1,2), ..., (3,4)). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-ramsey-l1-s9/task.toml b/tasks/construct-mc-ramsey-l1-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..c3da0327116000b910ac9b6a9a5a0471c83d83fe --- /dev/null +++ b/tasks/construct-mc-ramsey-l1-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-ramsey-l1-s9" +version = "0.2.0" +description = "construct/mc_ramsey" +authors = [] +keywords = ["rlmath", "construct", "mc_ramsey"] + +[metadata] +subset = "construct" +family = "mc_ramsey" +problem_key = "ramsey_two_colouring" +domain = "combinatorics" +tier = "competition" +level = "1" +source = "MathConstraint/ramsey" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-ramsey-l5-s1/environment/Dockerfile b/tasks/construct-mc-ramsey-l5-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-ramsey-l5-s1/environment/instance.json b/tasks/construct-mc-ramsey-l5-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..da8cf92a56496c05cd836ff4e70d00d9c03493c0 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s1/environment/instance.json @@ -0,0 +1 @@ +{"n": 24, "r": 4, "s": 5, "fixed": [], "family": "mc_ramsey", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-ramsey-l5-s1/instruction.md b/tasks/construct-mc-ramsey-l5-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..5b9775380e8987d780d6fae45b33288329474cf5 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s1/instruction.md @@ -0,0 +1,5 @@ +Colour each of the 276 edges of the complete graph K_24 (vertices 0..23) with colour 0 or 1 so that there is no set of 4 vertices whose connecting edges all have colour 0, and no set of 5 vertices whose connecting edges all have colour 1. + +Answer format: {"colors": [c_0, ..., c_275]}, one entry (0 or 1) per edge (i, j) with 0 <= i < j < 24, in lexicographic order ((0,1), (0,2), ..., (0,23), (1,2), ..., (22,23)). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-ramsey-l5-s1/solution/solve.sh b/tasks/construct-mc-ramsey-l5-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..7c62f34406fb732e5869482f7ae1b39637736595 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"colors": [0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0]} +RLMATH_EOF diff --git a/tasks/construct-mc-ramsey-l5-s1/task.toml b/tasks/construct-mc-ramsey-l5-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..f033a34a3a88f80ba486d57d1b24670396daddb3 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-ramsey-l5-s1" +version = "0.2.0" +description = "construct/mc_ramsey" +authors = [] +keywords = ["rlmath", "construct", "mc_ramsey"] + +[metadata] +subset = "construct" +family = "mc_ramsey" +problem_key = "ramsey_two_colouring" +domain = "combinatorics" +tier = "competition" +level = "5" +source = "MathConstraint/ramsey" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-ramsey-l5-s1/tests/check.py b/tasks/construct-mc-ramsey-l5-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..53526c0bc87af6298219d3e1eac5f95f01b57541 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s1/tests/check.py @@ -0,0 +1,31 @@ +"""Two-colouring of the edges of K_n with no colour-0 K_r and no colour-1 K_s (MathConstraint ramsey, +CC-BY-4.0). Adapted from pilot/grader.py check_ramsey; adds the optional fixed edge colours.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, r, s = inst["n"], inst["r"], inst["s"] + edges = list(itertools.combinations(range(n), 2)) + col = int_list(ans.get("colors"), len(edges), 0, 1, "colors") + for name, i, v in inst.get("fixed", []): + if col[i] != v: + raise Invalid(f"fixed value {name}[{i}] = {v} not respected") + c = {e: col[i] for i, e in enumerate(edges)} + for k, colour in ((r, 0), (s, 1)): + adj = {v: {u for u in range(n) if u != v and c[(min(u, v), max(u, v))] == colour} for v in range(n)} + + def grow(size, cand): + if size == k: + return True + if size + len(cand) < k: + return False + for v in sorted(cand): + if grow(size + 1, {u for u in cand if u > v} & adj[v]): + return True + return False + + if grow(0, set(range(n))): + raise Invalid(f"monochromatic K_{k} in colour {colour}") + return None, {} diff --git a/tasks/construct-mc-ramsey-l5-s1/tests/instance.json b/tasks/construct-mc-ramsey-l5-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..da8cf92a56496c05cd836ff4e70d00d9c03493c0 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s1/tests/instance.json @@ -0,0 +1 @@ +{"n": 24, "r": 4, "s": 5, "fixed": [], "family": "mc_ramsey", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-ramsey-l5-s1/tests/run.py b/tasks/construct-mc-ramsey-l5-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-ramsey-l5-s1/tests/test.sh b/tasks/construct-mc-ramsey-l5-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-ramsey-l5-s6/instruction.md b/tasks/construct-mc-ramsey-l5-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..937b0cb2d66b29b561d60bf17c84c821d38fe647 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s6/instruction.md @@ -0,0 +1,5 @@ +Colour each of the 253 edges of the complete graph K_23 (vertices 0..22) with colour 0 or 1 so that there is no set of 5 vertices whose connecting edges all have colour 0, and no set of 4 vertices whose connecting edges all have colour 1. + +Answer format: {"colors": [c_0, ..., c_252]}, one entry (0 or 1) per edge (i, j) with 0 <= i < j < 23, in lexicographic order ((0,1), (0,2), ..., (0,22), (1,2), ..., (21,22)). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-ramsey-l5-s6/task.toml b/tasks/construct-mc-ramsey-l5-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5330d126717a623365d20222f76924aaae8e9184 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-ramsey-l5-s6" +version = "0.2.0" +description = "construct/mc_ramsey" +authors = [] +keywords = ["rlmath", "construct", "mc_ramsey"] + +[metadata] +subset = "construct" +family = "mc_ramsey" +problem_key = "ramsey_two_colouring" +domain = "combinatorics" +tier = "competition" +level = "5" +source = "MathConstraint/ramsey" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-ramsey-l5-s8/environment/Dockerfile b/tasks/construct-mc-ramsey-l5-s8/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s8/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-ramsey-l5-s8/environment/instance.json b/tasks/construct-mc-ramsey-l5-s8/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e93701a172550ef82d3cf7d1492ada7b8e01a4aa --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s8/environment/instance.json @@ -0,0 +1 @@ +{"n": 26, "r": 8, "s": 3, "fixed": [], "family": "mc_ramsey", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-ramsey-l5-s8/instruction.md b/tasks/construct-mc-ramsey-l5-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..5f59f813d00f6c1ef8f0e14426c2805d16de839a --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s8/instruction.md @@ -0,0 +1,5 @@ +Colour each of the 325 edges of the complete graph K_26 (vertices 0..25) with colour 0 or 1 so that there is no set of 8 vertices whose connecting edges all have colour 0, and no set of 3 vertices whose connecting edges all have colour 1. + +Answer format: {"colors": [c_0, ..., c_324]}, one entry (0 or 1) per edge (i, j) with 0 <= i < j < 26, in lexicographic order ((0,1), (0,2), ..., (0,25), (1,2), ..., (24,25)). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-ramsey-l5-s8/solution/solve.sh b/tasks/construct-mc-ramsey-l5-s8/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..ed7698d3e256b803c881e166493524537269c291 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s8/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"colors": [0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0]} +RLMATH_EOF diff --git a/tasks/construct-mc-ramsey-l5-s8/task.toml b/tasks/construct-mc-ramsey-l5-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..b01b757f69c7e1cb7ae9de661b09896ac1d96a40 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-ramsey-l5-s8" +version = "0.2.0" +description = "construct/mc_ramsey" +authors = [] +keywords = ["rlmath", "construct", "mc_ramsey"] + +[metadata] +subset = "construct" +family = "mc_ramsey" +problem_key = "ramsey_two_colouring" +domain = "combinatorics" +tier = "competition" +level = "5" +source = "MathConstraint/ramsey" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-ramsey-l5-s8/tests/check.py b/tasks/construct-mc-ramsey-l5-s8/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..53526c0bc87af6298219d3e1eac5f95f01b57541 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s8/tests/check.py @@ -0,0 +1,31 @@ +"""Two-colouring of the edges of K_n with no colour-0 K_r and no colour-1 K_s (MathConstraint ramsey, +CC-BY-4.0). Adapted from pilot/grader.py check_ramsey; adds the optional fixed edge colours.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, r, s = inst["n"], inst["r"], inst["s"] + edges = list(itertools.combinations(range(n), 2)) + col = int_list(ans.get("colors"), len(edges), 0, 1, "colors") + for name, i, v in inst.get("fixed", []): + if col[i] != v: + raise Invalid(f"fixed value {name}[{i}] = {v} not respected") + c = {e: col[i] for i, e in enumerate(edges)} + for k, colour in ((r, 0), (s, 1)): + adj = {v: {u for u in range(n) if u != v and c[(min(u, v), max(u, v))] == colour} for v in range(n)} + + def grow(size, cand): + if size == k: + return True + if size + len(cand) < k: + return False + for v in sorted(cand): + if grow(size + 1, {u for u in cand if u > v} & adj[v]): + return True + return False + + if grow(0, set(range(n))): + raise Invalid(f"monochromatic K_{k} in colour {colour}") + return None, {} diff --git a/tasks/construct-mc-ramsey-l5-s8/tests/instance.json b/tasks/construct-mc-ramsey-l5-s8/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e93701a172550ef82d3cf7d1492ada7b8e01a4aa --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s8/tests/instance.json @@ -0,0 +1 @@ +{"n": 26, "r": 8, "s": 3, "fixed": [], "family": "mc_ramsey", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-ramsey-l5-s8/tests/run.py b/tasks/construct-mc-ramsey-l5-s8/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s8/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-ramsey-l5-s8/tests/test.sh b/tasks/construct-mc-ramsey-l5-s8/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-ramsey-l5-s8/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-social-golfers-l4-s2/environment/Dockerfile b/tasks/construct-mc-social-golfers-l4-s2/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-social-golfers-l4-s2/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-social-golfers-l4-s2/environment/instance.json b/tasks/construct-mc-social-golfers-l4-s2/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4a0730c40f4b37b19433e35bcd04bdd6486e7e92 --- /dev/null +++ b/tasks/construct-mc-social-golfers-l4-s2/environment/instance.json @@ -0,0 +1 @@ +{"n_groups": 6, "group_size": 3, "n_weeks": 7, "family": "mc_social_golfers", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-social-golfers-l4-s2/instruction.md b/tasks/construct-mc-social-golfers-l4-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..4005d852fd101a7a7fa19f6b52e612c7883cbef0 --- /dev/null +++ b/tasks/construct-mc-social-golfers-l4-s2/instruction.md @@ -0,0 +1,7 @@ +Schedule 18 golfers (numbered 0..17) for 7 weeks. Every week the golfers are split into 6 groups (numbered 0..5) of exactly 3 golfers each. No two golfers may play in the same group in more than one week. + +Find such a schedule. + +Answer format: {"schedule": [week_0, ..., week_6]} where week_t is a list of 18 integers and week_t[p] (in 0..5) is the group of golfer p in week t + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-social-golfers-l4-s2/solution/solve.sh b/tasks/construct-mc-social-golfers-l4-s2/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..3f54893604b59320eb1a612ed44c4f9145b64c97 --- /dev/null +++ b/tasks/construct-mc-social-golfers-l4-s2/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"schedule": [[0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5], [2, 1, 0, 1, 5, 3, 0, 4, 2, 2, 4, 1, 5, 0, 3, 3, 4, 5], [5, 2, 4, 5, 3, 2, 2, 0, 4, 3, 5, 1, 4, 0, 1, 3, 1, 0], [0, 5, 1, 1, 0, 2, 4, 3, 2, 4, 5, 3, 5, 0, 4, 3, 2, 1], [1, 0, 5, 3, 5, 2, 1, 3, 4, 2, 4, 5, 2, 0, 3, 1, 0, 4], [5, 0, 4, 1, 2, 3, 2, 5, 1, 0, 4, 3, 5, 3, 4, 1, 2, 0], [3, 0, 1, 2, 0, 1, 5, 1, 0, 2, 4, 5, 5, 4, 3, 4, 2, 3]]} +RLMATH_EOF diff --git a/tasks/construct-mc-social-golfers-l4-s2/task.toml b/tasks/construct-mc-social-golfers-l4-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..16ae93ef82d885ac3ac488645e81fa6cb990c4b0 --- /dev/null +++ b/tasks/construct-mc-social-golfers-l4-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-social-golfers-l4-s2" +version = "0.2.0" +description = "construct/mc_social_golfers" +authors = [] +keywords = ["rlmath", "construct", "mc_social_golfers"] + +[metadata] +subset = "construct" +family = "mc_social_golfers" +problem_key = "social_golfer" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "MathConstraint/social_golfers" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-social-golfers-l4-s2/tests/check.py b/tasks/construct-mc-social-golfers-l4-s2/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..73977815b7b6094a8491075b6dc2ae1293e44930 --- /dev/null +++ b/tasks/construct-mc-social-golfers-l4-s2/tests/check.py @@ -0,0 +1,25 @@ +"""Social golfer problem (MathConstraint social_golfers, CSPLib prob010, CC-BY-4.0): each week partition +the g*s players into g groups of size s; no two players share a group in more than one week.""" +from run import Invalid, int_list + + +def check(inst, ans): + g, s, w = inst["n_groups"], inst["group_size"], inst["n_weeks"] + P = g * s + sched = ans.get("schedule") + if not isinstance(sched, list) or len(sched) != w: + raise Invalid(f"schedule must be a list of {w} weeks") + met = set() + for wk, row in enumerate(sched): + row = int_list(row, P, 0, g - 1, f"week {wk}") + groups = [[p for p in range(P) if row[p] == grp] for grp in range(g)] + for grp, mem in enumerate(groups): + if len(mem) != s: + raise Invalid(f"week {wk}: group {grp} has {len(mem)} players, need {s}") + for i in range(s): + for j in range(i + 1, s): + pr = (mem[i], mem[j]) + if pr in met: + raise Invalid(f"players {pr} play together in more than one week") + met.add(pr) + return None, {} diff --git a/tasks/construct-mc-social-golfers-l4-s2/tests/instance.json b/tasks/construct-mc-social-golfers-l4-s2/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4a0730c40f4b37b19433e35bcd04bdd6486e7e92 --- /dev/null +++ b/tasks/construct-mc-social-golfers-l4-s2/tests/instance.json @@ -0,0 +1 @@ +{"n_groups": 6, "group_size": 3, "n_weeks": 7, "family": "mc_social_golfers", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-social-golfers-l4-s2/tests/run.py b/tasks/construct-mc-social-golfers-l4-s2/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-social-golfers-l4-s2/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-social-golfers-l4-s2/tests/test.sh b/tasks/construct-mc-social-golfers-l4-s2/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-social-golfers-l4-s2/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-van-der-waerden-l5-s3/instruction.md b/tasks/construct-mc-van-der-waerden-l5-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..4a295eac7b8a288d2144d37f45c2a6231aa29949 --- /dev/null +++ b/tasks/construct-mc-van-der-waerden-l5-s3/instruction.md @@ -0,0 +1,7 @@ +Colour the integers 1, 2, ..., 65 with 4 colours (numbered 0..3) so that there is no monochromatic arithmetic progression of length 3: no a >= 1, d >= 1 with a + 2*d <= 65 such that a, a+d, ..., a+2*d all have the same colour. + +Find such a colouring. + +Answer format: {"colors": [c_1, ..., c_65]}: 65 integers in 0..3; the i-th entry (0-indexed) is the colour of the integer i+1 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-van-der-waerden-l5-s3/task.toml b/tasks/construct-mc-van-der-waerden-l5-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..ede6cd69aa37b894faa03c92e323d60f0e0cfe89 --- /dev/null +++ b/tasks/construct-mc-van-der-waerden-l5-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-van-der-waerden-l5-s3" +version = "0.2.0" +description = "construct/mc_van_der_waerden" +authors = [] +keywords = ["rlmath", "construct", "mc_van_der_waerden"] + +[metadata] +subset = "construct" +family = "mc_van_der_waerden" +problem_key = "van_der_waerden_colouring" +domain = "combinatorics" +tier = "competition" +level = "5" +source = "MathConstraint/van_der_waerden" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-van-der-waerden-l5-s4/instruction.md b/tasks/construct-mc-van-der-waerden-l5-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..d6f6b9b0771777db11b46f2feccd155e8ba9f513 --- /dev/null +++ b/tasks/construct-mc-van-der-waerden-l5-s4/instruction.md @@ -0,0 +1,7 @@ +Colour the integers 1, 2, ..., 200 with 3 colours (numbered 0..2) so that there is no monochromatic arithmetic progression of length 4: no a >= 1, d >= 1 with a + 3*d <= 200 such that a, a+d, ..., a+3*d all have the same colour. + +Find such a colouring. + +Answer format: {"colors": [c_1, ..., c_200]}: 200 integers in 0..2; the i-th entry (0-indexed) is the colour of the integer i+1 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-van-der-waerden-l5-s4/task.toml b/tasks/construct-mc-van-der-waerden-l5-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..679b2e5ccead5e99ee03f65962c1683e7fd59032 --- /dev/null +++ b/tasks/construct-mc-van-der-waerden-l5-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-van-der-waerden-l5-s4" +version = "0.2.0" +description = "construct/mc_van_der_waerden" +authors = [] +keywords = ["rlmath", "construct", "mc_van_der_waerden"] + +[metadata] +subset = "construct" +family = "mc_van_der_waerden" +problem_key = "van_der_waerden_colouring" +domain = "combinatorics" +tier = "competition" +level = "5" +source = "MathConstraint/van_der_waerden" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-vertex-cover-l4-s3/environment/Dockerfile b/tasks/construct-mc-vertex-cover-l4-s3/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s3/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-mc-vertex-cover-l4-s3/environment/instance.json b/tasks/construct-mc-vertex-cover-l4-s3/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..95faa4715aaa723dd735a7e3d2858f47d82e84f5 --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s3/environment/instance.json @@ -0,0 +1 @@ +{"n": 60, "k": 41, "edges": [[0, 2], [0, 4], [0, 12], [0, 13], [0, 15], [0, 23], [0, 27], [0, 38], [0, 44], [0, 49], [0, 54], [1, 2], [1, 4], [1, 9], [1, 22], [1, 24], [1, 25], [1, 34], [1, 35], [1, 39], [1, 43], [1, 51], [1, 56], [1, 58], [2, 14], [2, 21], [2, 24], [2, 25], [2, 30], [2, 51], [2, 53], [2, 57], [2, 59], [3, 11], [3, 16], [3, 18], [3, 30], [3, 31], [3, 33], [3, 37], [3, 42], [3, 44], [3, 52], [4, 7], [4, 9], [4, 11], [4, 12], [4, 14], [4, 17], [4, 44], [4, 57], [4, 58], [5, 13], [5, 16], [5, 22], [5, 25], [5, 34], [5, 37], [5, 44], [5, 46], [5, 50], [5, 53], [5, 56], [6, 7], [6, 9], [6, 20], [6, 21], [6, 52], [7, 11], [7, 13], [7, 16], [7, 20], [7, 21], [7, 33], [7, 35], [7, 36], [7, 38], [7, 42], [7, 46], [7, 52], [7, 53], [7, 54], [7, 56], [7, 58], [8, 10], [8, 13], [8, 26], [8, 35], [8, 39], [8, 41], [8, 42], [8, 44], [8, 47], [8, 48], [8, 50], [8, 59], [9, 14], [9, 24], [9, 25], [9, 32], [9, 33], [9, 39], [9, 45], [10, 11], [10, 20], [10, 33], [10, 34], [10, 37], [10, 39], [10, 43], [10, 47], [10, 56], [10, 58], [10, 59], [11, 12], [11, 16], [11, 17], [11, 20], [11, 24], [11, 26], [11, 27], [11, 28], [11, 45], [11, 48], [11, 55], [11, 56], [12, 15], [12, 16], [12, 18], [12, 19], [12, 24], [12, 26], [12, 29], [12, 40], [12, 47], [12, 53], [13, 15], [13, 22], [13, 35], [13, 41], [13, 52], [14, 25], [14, 29], [14, 36], [14, 37], [14, 41], [14, 52], [15, 21], [15, 28], [15, 35], [15, 39], [15, 40], [15, 41], [16, 21], [16, 24], [16, 28], [16, 32], [16, 35], [16, 52], [16, 54], [17, 21], [17, 25], [17, 30], [17, 31], [17, 35], [17, 44], [17, 46], [17, 47], [17, 54], [17, 56], [18, 48], [18, 49], [18, 52], [18, 58], [19, 22], [19, 29], [19, 30], [19, 33], [19, 35], [19, 48], [20, 35], [20, 40], [20, 51], [20, 52], [21, 29], [21, 35], [21, 36], [21, 37], [21, 48], [21, 51], [21, 58], [22, 25], [22, 31], [22, 32], [22, 46], [22, 50], [22, 52], [22, 54], [22, 58], [23, 25], [23, 29], [23, 35], [23, 57], [23, 58], [23, 59], [24, 31], [24, 32], [24, 38], [24, 41], [25, 31], [25, 33], [25, 34], [25, 37], [25, 43], [25, 48], [25, 55], [25, 59], [26, 33], [26, 38], [26, 51], [26, 53], [26, 56], [27, 29], [27, 32], [27, 33], [27, 41], [27, 52], [27, 59], [28, 31], [28, 44], [28, 45], [28, 53], [29, 48], [29, 49], [29, 51], [29, 56], [30, 33], [30, 36], [30, 46], [30, 49], [31, 33], [31, 40], [31, 52], [32, 36], [32, 37], [32, 48], [32, 50], [32, 51], [32, 56], [32, 57], [32, 58], [33, 43], [33, 44], [33, 47], [33, 59], [34, 48], [34, 50], [34, 53], [34, 56], [34, 57], [35, 39], [35, 41], [35, 44], [35, 52], [36, 38], [36, 45], [36, 52], [37, 55], [38, 43], [38, 44], [38, 47], [38, 48], [38, 50], [38, 55], [38, 59], [39, 45], [39, 53], [40, 47], [40, 48], [40, 55], [41, 47], [41, 48], [41, 51], [41, 58], [42, 53], [42, 58], [43, 51], [43, 52], [43, 57], [44, 50], [44, 52], [44, 55], [45, 48], [45, 53], [45, 56], [46, 55], [46, 56], [46, 57], [46, 58], [47, 49], [48, 51], [48, 54], [49, 53], [49, 56], [49, 58], [50, 51], [50, 56], [51, 58], [52, 53], [52, 58], [55, 59]], "family": "mc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-vertex-cover-l4-s3/instruction.md b/tasks/construct-mc-vertex-cover-l4-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..db6e2d40f0cd39f5e389b88c5a5eecfb2097c659 --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s3/instruction.md @@ -0,0 +1,8 @@ +Graph G with 60 vertices numbered 0..59 and 311 edges: +(0,2), (0,4), (0,12), (0,13), (0,15), (0,23), (0,27), (0,38), (0,44), (0,49), (0,54), (1,2), (1,4), (1,9), (1,22), (1,24), (1,25), (1,34), (1,35), (1,39), (1,43), (1,51), (1,56), (1,58), (2,14), (2,21), (2,24), (2,25), (2,30), (2,51), (2,53), (2,57), (2,59), (3,11), (3,16), (3,18), (3,30), (3,31), (3,33), (3,37), (3,42), (3,44), (3,52), (4,7), (4,9), (4,11), (4,12), (4,14), (4,17), (4,44), (4,57), (4,58), (5,13), (5,16), (5,22), (5,25), (5,34), (5,37), (5,44), (5,46), (5,50), (5,53), (5,56), (6,7), (6,9), (6,20), (6,21), (6,52), (7,11), (7,13), (7,16), (7,20), (7,21), (7,33), (7,35), (7,36), (7,38), (7,42), (7,46), (7,52), (7,53), (7,54), (7,56), (7,58), (8,10), (8,13), (8,26), (8,35), (8,39), (8,41), (8,42), (8,44), (8,47), (8,48), (8,50), (8,59), (9,14), (9,24), (9,25), (9,32), (9,33), (9,39), (9,45), (10,11), (10,20), (10,33), (10,34), (10,37), (10,39), (10,43), (10,47), (10,56), (10,58), (10,59), (11,12), (11,16), (11,17), (11,20), (11,24), (11,26), (11,27), (11,28), (11,45), (11,48), (11,55), (11,56), (12,15), (12,16), (12,18), (12,19), (12,24), (12,26), (12,29), (12,40), (12,47), (12,53), (13,15), (13,22), (13,35), (13,41), (13,52), (14,25), (14,29), (14,36), (14,37), (14,41), (14,52), (15,21), (15,28), (15,35), (15,39), (15,40), (15,41), (16,21), (16,24), (16,28), (16,32), (16,35), (16,52), (16,54), (17,21), (17,25), (17,30), (17,31), (17,35), (17,44), (17,46), (17,47), (17,54), (17,56), (18,48), (18,49), (18,52), (18,58), (19,22), (19,29), (19,30), (19,33), (19,35), (19,48), (20,35), (20,40), (20,51), (20,52), (21,29), (21,35), (21,36), (21,37), (21,48), (21,51), (21,58), (22,25), (22,31), (22,32), (22,46), (22,50), (22,52), (22,54), (22,58), (23,25), (23,29), (23,35), (23,57), (23,58), (23,59), (24,31), (24,32), (24,38), (24,41), (25,31), (25,33), (25,34), (25,37), (25,43), (25,48), (25,55), (25,59), (26,33), (26,38), (26,51), (26,53), (26,56), (27,29), (27,32), (27,33), (27,41), (27,52), (27,59), (28,31), (28,44), (28,45), (28,53), (29,48), (29,49), (29,51), (29,56), (30,33), (30,36), (30,46), (30,49), (31,33), (31,40), (31,52), (32,36), (32,37), (32,48), (32,50), (32,51), (32,56), (32,57), (32,58), (33,43), (33,44), (33,47), (33,59), (34,48), (34,50), (34,53), (34,56), (34,57), (35,39), (35,41), (35,44), (35,52), (36,38), (36,45), (36,52), (37,55), (38,43), (38,44), (38,47), (38,48), (38,50), (38,55), (38,59), (39,45), (39,53), (40,47), (40,48), (40,55), (41,47), (41,48), (41,51), (41,58), (42,53), (42,58), (43,51), (43,52), (43,57), (44,50), (44,52), (44,55), (45,48), (45,53), (45,56), (46,55), (46,56), (46,57), (46,58), (47,49), (48,51), (48,54), (49,53), (49,56), (49,58), (50,51), (50,56), (51,58), (52,53), (52,58), (55,59) + +Find a vertex cover of G with at most 41 vertices: a set of vertices that contains at least one endpoint of every edge. + +Answer format: {"cover": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-vertex-cover-l4-s3/solution/solve.sh b/tasks/construct-mc-vertex-cover-l4-s3/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..c8c54b0f733166c790e96391f0ad13355d01c198 --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s3/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"cover": [0, 1, 3, 5, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 20, 21, 22, 24, 25, 28, 29, 30, 32, 33, 34, 35, 38, 40, 41, 44, 45, 48, 49, 51, 52, 53, 55, 56, 57, 58, 59]} +RLMATH_EOF diff --git a/tasks/construct-mc-vertex-cover-l4-s3/task.toml b/tasks/construct-mc-vertex-cover-l4-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..b2c48c971e97849e1d5a666aafe01fd2fc9e63bf --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-vertex-cover-l4-s3" +version = "0.2.0" +description = "construct/mc_vertex_cover" +authors = [] +keywords = ["rlmath", "construct", "mc_vertex_cover"] + +[metadata] +subset = "construct" +family = "mc_vertex_cover" +problem_key = "graph_vertex_cover" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "MathConstraint/vertex_cover" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-mc-vertex-cover-l4-s3/tests/check.py b/tasks/construct-mc-vertex-cover-l4-s3/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..e3accb3da1c773fd2126b8b5b0a97b099e29c83b --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s3/tests/check.py @@ -0,0 +1,16 @@ +"""Vertex cover of size <= k in a given graph (MathConstraint vertex_cover, CC-BY-4.0).""" +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + S = int_list(ans.get("cover"), None, 0, n - 1, "cover") + if len(set(S)) != len(S): + raise Invalid("repeated vertex") + if len(S) > k: + raise Invalid(f"cover has {len(S)} vertices, at most {k} allowed") + C = set(S) + for u, v in inst["edges"]: + if u not in C and v not in C: + raise Invalid(f"edge ({u},{v}) is not covered") + return None, {"size": len(S)} diff --git a/tasks/construct-mc-vertex-cover-l4-s3/tests/instance.json b/tasks/construct-mc-vertex-cover-l4-s3/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..95faa4715aaa723dd735a7e3d2858f47d82e84f5 --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s3/tests/instance.json @@ -0,0 +1 @@ +{"n": 60, "k": 41, "edges": [[0, 2], [0, 4], [0, 12], [0, 13], [0, 15], [0, 23], [0, 27], [0, 38], [0, 44], [0, 49], [0, 54], [1, 2], [1, 4], [1, 9], [1, 22], [1, 24], [1, 25], [1, 34], [1, 35], [1, 39], [1, 43], [1, 51], [1, 56], [1, 58], [2, 14], [2, 21], [2, 24], [2, 25], [2, 30], [2, 51], [2, 53], [2, 57], [2, 59], [3, 11], [3, 16], [3, 18], [3, 30], [3, 31], [3, 33], [3, 37], [3, 42], [3, 44], [3, 52], [4, 7], [4, 9], [4, 11], [4, 12], [4, 14], [4, 17], [4, 44], [4, 57], [4, 58], [5, 13], [5, 16], [5, 22], [5, 25], [5, 34], [5, 37], [5, 44], [5, 46], [5, 50], [5, 53], [5, 56], [6, 7], [6, 9], [6, 20], [6, 21], [6, 52], [7, 11], [7, 13], [7, 16], [7, 20], [7, 21], [7, 33], [7, 35], [7, 36], [7, 38], [7, 42], [7, 46], [7, 52], [7, 53], [7, 54], [7, 56], [7, 58], [8, 10], [8, 13], [8, 26], [8, 35], [8, 39], [8, 41], [8, 42], [8, 44], [8, 47], [8, 48], [8, 50], [8, 59], [9, 14], [9, 24], [9, 25], [9, 32], [9, 33], [9, 39], [9, 45], [10, 11], [10, 20], [10, 33], [10, 34], [10, 37], [10, 39], [10, 43], [10, 47], [10, 56], [10, 58], [10, 59], [11, 12], [11, 16], [11, 17], [11, 20], [11, 24], [11, 26], [11, 27], [11, 28], [11, 45], [11, 48], [11, 55], [11, 56], [12, 15], [12, 16], [12, 18], [12, 19], [12, 24], [12, 26], [12, 29], [12, 40], [12, 47], [12, 53], [13, 15], [13, 22], [13, 35], [13, 41], [13, 52], [14, 25], [14, 29], [14, 36], [14, 37], [14, 41], [14, 52], [15, 21], [15, 28], [15, 35], [15, 39], [15, 40], [15, 41], [16, 21], [16, 24], [16, 28], [16, 32], [16, 35], [16, 52], [16, 54], [17, 21], [17, 25], [17, 30], [17, 31], [17, 35], [17, 44], [17, 46], [17, 47], [17, 54], [17, 56], [18, 48], [18, 49], [18, 52], [18, 58], [19, 22], [19, 29], [19, 30], [19, 33], [19, 35], [19, 48], [20, 35], [20, 40], [20, 51], [20, 52], [21, 29], [21, 35], [21, 36], [21, 37], [21, 48], [21, 51], [21, 58], [22, 25], [22, 31], [22, 32], [22, 46], [22, 50], [22, 52], [22, 54], [22, 58], [23, 25], [23, 29], [23, 35], [23, 57], [23, 58], [23, 59], [24, 31], [24, 32], [24, 38], [24, 41], [25, 31], [25, 33], [25, 34], [25, 37], [25, 43], [25, 48], [25, 55], [25, 59], [26, 33], [26, 38], [26, 51], [26, 53], [26, 56], [27, 29], [27, 32], [27, 33], [27, 41], [27, 52], [27, 59], [28, 31], [28, 44], [28, 45], [28, 53], [29, 48], [29, 49], [29, 51], [29, 56], [30, 33], [30, 36], [30, 46], [30, 49], [31, 33], [31, 40], [31, 52], [32, 36], [32, 37], [32, 48], [32, 50], [32, 51], [32, 56], [32, 57], [32, 58], [33, 43], [33, 44], [33, 47], [33, 59], [34, 48], [34, 50], [34, 53], [34, 56], [34, 57], [35, 39], [35, 41], [35, 44], [35, 52], [36, 38], [36, 45], [36, 52], [37, 55], [38, 43], [38, 44], [38, 47], [38, 48], [38, 50], [38, 55], [38, 59], [39, 45], [39, 53], [40, 47], [40, 48], [40, 55], [41, 47], [41, 48], [41, 51], [41, 58], [42, 53], [42, 58], [43, 51], [43, 52], [43, 57], [44, 50], [44, 52], [44, 55], [45, 48], [45, 53], [45, 56], [46, 55], [46, 56], [46, 57], [46, 58], [47, 49], [48, 51], [48, 54], [49, 53], [49, 56], [49, 58], [50, 51], [50, 56], [51, 58], [52, 53], [52, 58], [55, 59]], "family": "mc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-mc-vertex-cover-l4-s3/tests/run.py b/tasks/construct-mc-vertex-cover-l4-s3/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s3/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-mc-vertex-cover-l4-s3/tests/test.sh b/tasks/construct-mc-vertex-cover-l4-s3/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s3/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-mc-vertex-cover-l4-s4/instruction.md b/tasks/construct-mc-vertex-cover-l4-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..9fa233e03099ef971f98aaa5d7400d2e49a2b7e3 --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s4/instruction.md @@ -0,0 +1,8 @@ +Graph G with 60 vertices numbered 0..59 and 334 edges: +(0,11), (0,18), (0,20), (0,22), (0,24), (0,25), (0,34), (0,38), (0,40), (0,42), (0,43), (0,46), (0,52), (0,55), (1,2), (1,7), (1,8), (1,19), (1,26), (1,27), (1,28), (1,50), (1,51), (1,54), (2,11), (2,15), (2,17), (2,18), (2,20), (2,21), (2,26), (2,36), (2,44), (2,50), (2,54), (2,55), (2,57), (2,59), (3,12), (3,26), (3,32), (3,34), (3,35), (3,42), (3,47), (3,49), (3,51), (3,56), (3,58), (4,5), (4,15), (4,26), (4,49), (5,10), (5,20), (5,26), (5,27), (5,29), (5,34), (5,42), (5,47), (5,48), (6,9), (6,13), (6,15), (6,18), (6,23), (6,30), (6,31), (6,50), (6,56), (7,8), (7,10), (7,15), (7,27), (7,33), (7,34), (7,35), (7,37), (7,39), (7,41), (7,42), (7,46), (7,52), (7,53), (8,10), (8,15), (8,18), (8,19), (8,24), (8,27), (8,32), (8,38), (8,43), (8,46), (8,51), (8,52), (8,59), (9,11), (9,17), (9,22), (9,24), (9,27), (9,37), (9,39), (9,43), (9,47), (9,50), (9,54), (9,55), (9,58), (10,13), (10,16), (10,17), (10,23), (10,25), (10,26), (10,36), (10,56), (11,17), (11,23), (11,24), (11,25), (11,26), (11,29), (11,33), (11,37), (11,45), (11,49), (12,16), (12,17), (12,18), (12,19), (12,27), (12,28), (12,46), (12,51), (12,52), (13,22), (13,27), (13,28), (13,49), (13,53), (13,57), (14,17), (14,24), (14,27), (14,28), (14,29), (14,31), (14,33), (14,43), (14,47), (15,16), (15,18), (15,19), (15,32), (15,34), (15,35), (15,45), (15,50), (15,51), (15,54), (15,56), (16,22), (16,24), (16,26), (16,31), (16,32), (16,44), (16,54), (16,58), (17,18), (17,22), (17,25), (17,31), (17,38), (17,41), (17,45), (17,46), (18,19), (18,20), (18,24), (18,27), (18,37), (18,38), (18,40), (18,47), (18,48), (18,53), (19,36), (19,37), (19,41), (19,48), (20,45), (21,22), (21,23), (21,24), (21,31), (21,36), (21,43), (21,51), (21,56), (21,57), (21,58), (22,29), (22,35), (22,36), (22,38), (22,40), (22,50), (22,51), (22,52), (22,55), (23,26), (23,34), (23,38), (23,39), (23,45), (23,51), (24,25), (24,27), (24,33), (24,43), (24,44), (24,48), (24,55), (24,58), (25,26), (25,40), (25,44), (25,48), (25,49), (25,53), (25,57), (26,32), (26,34), (26,38), (26,44), (26,48), (26,54), (26,56), (26,59), (27,29), (27,30), (27,33), (27,37), (27,42), (27,51), (27,56), (27,57), (28,39), (28,46), (28,51), (28,52), (29,32), (29,42), (29,54), (29,57), (29,58), (29,59), (30,31), (30,36), (30,42), (30,54), (31,47), (31,49), (31,57), (32,33), (32,36), (32,45), (32,53), (32,57), (33,36), (33,58), (33,59), (34,35), (34,47), (35,41), (35,45), (35,46), (35,50), (35,58), (36,43), (36,44), (36,52), (36,54), (37,47), (37,49), (37,52), (37,54), (37,59), (38,45), (38,51), (39,49), (39,54), (39,58), (40,48), (40,55), (40,59), (41,47), (41,49), (42,58), (43,44), (43,47), (43,54), (43,55), (44,50), (45,52), (45,53), (45,56), (45,57), (45,59), (46,47), (46,51), (46,58), (47,48), (47,51), (47,54), (47,57), (47,59), (48,56), (49,52), (49,56), (50,56), (51,54), (51,58), (52,53), (52,58), (53,54), (54,55), (55,57), (56,58), (57,59) + +Find a vertex cover of G with at most 41 vertices: a set of vertices that contains at least one endpoint of every edge. + +Answer format: {"cover": [v_1, v_2, ...]} (distinct vertex numbers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-mc-vertex-cover-l4-s4/task.toml b/tasks/construct-mc-vertex-cover-l4-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..a3b6ca4007fc83c45093759e08205ea76cd12ec3 --- /dev/null +++ b/tasks/construct-mc-vertex-cover-l4-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-mc-vertex-cover-l4-s4" +version = "0.2.0" +description = "construct/mc_vertex_cover" +authors = [] +keywords = ["rlmath", "construct", "mc_vertex_cover"] + +[metadata] +subset = "construct" +family = "mc_vertex_cover" +problem_key = "graph_vertex_cover" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "MathConstraint/vertex_cover" +source_license = "CC-BY-4.0" +tags = ["np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-3col-l4-s3/instruction.md b/tasks/construct-nppc-3col-l4-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..fb9dca6c12a0e4f18077a95ddc3e72101e4fec13 --- /dev/null +++ b/tasks/construct-nppc-3col-l4-s3/instruction.md @@ -0,0 +1,8 @@ +Graph with 30 vertices labelled 0..29 and edge list +[[0, 5], [0, 7], [0, 10], [0, 13], [0, 23], [1, 2], [1, 6], [1, 16], [1, 20], [1, 24], [1, 28], [2, 13], [2, 19], [2, 21], [2, 22], [3, 4], [3, 5], [3, 22], [3, 25], [3, 26], [3, 28], [4, 7], [4, 9], [4, 12], [4, 17], [4, 21], [5, 12], [5, 23], [6, 15], [6, 19], [6, 21], [7, 15], [7, 19], [7, 21], [8, 13], [8, 14], [8, 24], [8, 26], [9, 23], [10, 15], [10, 16], [11, 13], [11, 18], [11, 21], [11, 22], [11, 26], [12, 18], [12, 22], [13, 19], [13, 23], [13, 27], [13, 29], [14, 18], [14, 19], [14, 21], [14, 26], [15, 22], [16, 21], [16, 29], [17, 20], [17, 24], [17, 26], [18, 24], [19, 22], [19, 25], [20, 27], [21, 22], [21, 25], [21, 27], [21, 28], [22, 23], [22, 24], [22, 27], [22, 28], [22, 29], [24, 25], [25, 27], [25, 28], [25, 29], [28, 29]] + +Give a proper colouring with colours 0, 1, 2: adjacent vertices must get different colours. + +Answer format: {"coloring": [c_0, ..., c_29]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-3col-l4-s3/task.toml b/tasks/construct-nppc-3col-l4-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..107ac973536eb36757c757bad39446bcbfba7370 --- /dev/null +++ b/tasks/construct-nppc-3col-l4-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-3col-l4-s3" +version = "0.2.0" +description = "construct/nppc_three_coloring" +authors = [] +keywords = ["rlmath", "construct", "nppc_three_coloring"] + +[metadata] +subset = "construct" +family = "nppc_three_coloring" +problem_key = "graph_3_coloring" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "NPPC/graph_three_colorability" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-3col-l4-s4/instruction.md b/tasks/construct-nppc-3col-l4-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..3f32020bc12c568f6f77f30728bf872ceebaa7c4 --- /dev/null +++ b/tasks/construct-nppc-3col-l4-s4/instruction.md @@ -0,0 +1,8 @@ +Graph with 30 vertices labelled 0..29 and edge list +[[0, 3], [0, 5], [0, 10], [0, 14], [0, 18], [0, 29], [1, 3], [1, 15], [2, 6], [2, 10], [2, 11], [2, 14], [2, 15], [2, 26], [3, 9], [3, 12], [3, 16], [3, 27], [4, 6], [4, 14], [4, 15], [4, 20], [4, 21], [4, 23], [4, 25], [5, 16], [5, 17], [5, 24], [5, 25], [6, 7], [6, 13], [6, 21], [6, 23], [6, 27], [7, 14], [7, 17], [7, 27], [7, 28], [8, 9], [8, 12], [8, 13], [8, 20], [8, 24], [9, 10], [9, 17], [9, 21], [9, 26], [9, 27], [10, 24], [11, 26], [12, 14], [12, 15], [12, 26], [12, 28], [12, 29], [13, 15], [13, 24], [14, 17], [14, 24], [15, 22], [15, 23], [15, 26], [15, 27], [16, 17], [16, 26], [17, 26], [17, 27], [18, 22], [18, 23], [19, 24], [19, 27], [20, 26], [20, 27], [21, 22], [22, 24], [22, 26], [22, 29], [23, 24], [23, 25], [24, 26]] + +Give a proper colouring with colours 0, 1, 2: adjacent vertices must get different colours. + +Answer format: {"coloring": [c_0, ..., c_29]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-3col-l4-s4/task.toml b/tasks/construct-nppc-3col-l4-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..50a5039b4bf39d0d687e3b59dbaec81ca3874f6c --- /dev/null +++ b/tasks/construct-nppc-3col-l4-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-3col-l4-s4" +version = "0.2.0" +description = "construct/nppc_three_coloring" +authors = [] +keywords = ["rlmath", "construct", "nppc_three_coloring"] + +[metadata] +subset = "construct" +family = "nppc_three_coloring" +problem_key = "graph_3_coloring" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "NPPC/graph_three_colorability" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-bandwidth-l2-s1/environment/Dockerfile b/tasks/construct-nppc-bandwidth-l2-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-bandwidth-l2-s1/environment/instance.json b/tasks/construct-nppc-bandwidth-l2-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..723f69888ea10ad91fc0a106b8394c63cbac1c43 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s1/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "bandwidth": 3, "edges": [[0, 2], [1, 3], [2, 3], [3, 4], [3, 7], [4, 6], [5, 6], [6, 7]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l2-s1/instruction.md b/tasks/construct-nppc-bandwidth-l2-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..59a38ca5b8becc07a41280b20912d7624decb476 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s1/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 8 vertices labelled 0..7 and 8 edges: +[[0, 2], [1, 3], [2, 3], [3, 4], [3, 7], [4, 6], [5, 6], [6, 7]] + +Find a linear layout of bandwidth at most 3: assign to each vertex v a distinct position p[v] in 0..7 (a permutation) such that |p[u] - p[v]| <= 3 for every edge (u, v). + +Answer format: {"layout": [p_0, p_1, ..., p_7]} where p_v is the position of vertex v. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-bandwidth-l2-s1/solution/solve.sh b/tasks/construct-nppc-bandwidth-l2-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..73dd9f31e1529ddde1d5f3224e646ad81d160405 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"layout": [0, 6, 1, 4, 3, 7, 5, 2]} +RLMATH_EOF diff --git a/tasks/construct-nppc-bandwidth-l2-s1/task.toml b/tasks/construct-nppc-bandwidth-l2-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..28e825ee81756aa85aa7d976cba4c1c8da29961d --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-bandwidth-l2-s1" +version = "0.2.0" +description = "construct/nppc_bandwidth" +authors = [] +keywords = ["rlmath", "construct", "nppc_bandwidth"] + +[metadata] +subset = "construct" +family = "nppc_bandwidth" +problem_key = "graph_bandwidth" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "NPPC/bandwidth" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-bandwidth-l2-s1/tests/check.py b/tasks/construct-nppc-bandwidth-l2-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..0f847cded257e6c404063dfafde33fa44163afa2 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s1/tests/check.py @@ -0,0 +1,14 @@ +"""Bandwidth <= b: layout must be a permutation of 0..n-1 with |p[u]-p[v]| <= b on every edge.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, b = inst["num_nodes"], inst["bandwidth"] + # upstream NPPC verifier compares sorted(layout) to range(n), which also accepts floats/bools + p = int_list(ans.get("layout"), n, 0, n - 1, "layout") + if len(set(p)) != n: + raise Invalid("layout is not a permutation of 0..n-1") + for u, v in inst["edges"]: + if abs(p[u] - p[v]) > b: + raise Invalid(f"edge ({u},{v}) has stretch {abs(p[u] - p[v])} > {b}") + return None, {} diff --git a/tasks/construct-nppc-bandwidth-l2-s1/tests/instance.json b/tasks/construct-nppc-bandwidth-l2-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..723f69888ea10ad91fc0a106b8394c63cbac1c43 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s1/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "bandwidth": 3, "edges": [[0, 2], [1, 3], [2, 3], [3, 4], [3, 7], [4, 6], [5, 6], [6, 7]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l2-s1/tests/run.py b/tasks/construct-nppc-bandwidth-l2-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-bandwidth-l2-s1/tests/test.sh b/tasks/construct-nppc-bandwidth-l2-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-bandwidth-l2-s6/environment/Dockerfile b/tasks/construct-nppc-bandwidth-l2-s6/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s6/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-bandwidth-l2-s6/environment/instance.json b/tasks/construct-nppc-bandwidth-l2-s6/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..27dd20936d96e7acab021be3deedccd20eb7204c --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s6/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "bandwidth": 3, "edges": [[0, 5], [0, 7], [1, 2], [2, 3], [3, 4], [4, 5], [5, 6], [6, 7]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l2-s6/instruction.md b/tasks/construct-nppc-bandwidth-l2-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b3aa58175592166c81a97424415ba689a8aad8f2 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s6/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 8 vertices labelled 0..7 and 8 edges: +[[0, 5], [0, 7], [1, 2], [2, 3], [3, 4], [4, 5], [5, 6], [6, 7]] + +Find a linear layout of bandwidth at most 3: assign to each vertex v a distinct position p[v] in 0..7 (a permutation) such that |p[u] - p[v]| <= 3 for every edge (u, v). + +Answer format: {"layout": [p_0, p_1, ..., p_7]} where p_v is the position of vertex v. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-bandwidth-l2-s6/solution/solve.sh b/tasks/construct-nppc-bandwidth-l2-s6/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..ca268b156584a2193224dfb41b8ea890593f1667 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s6/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"layout": [0, 4, 6, 7, 5, 2, 1, 3]} +RLMATH_EOF diff --git a/tasks/construct-nppc-bandwidth-l2-s6/task.toml b/tasks/construct-nppc-bandwidth-l2-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..ec05db43371eb4f77815e35850fddc33b87766df --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-bandwidth-l2-s6" +version = "0.2.0" +description = "construct/nppc_bandwidth" +authors = [] +keywords = ["rlmath", "construct", "nppc_bandwidth"] + +[metadata] +subset = "construct" +family = "nppc_bandwidth" +problem_key = "graph_bandwidth" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "NPPC/bandwidth" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-bandwidth-l2-s6/tests/check.py b/tasks/construct-nppc-bandwidth-l2-s6/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..0f847cded257e6c404063dfafde33fa44163afa2 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s6/tests/check.py @@ -0,0 +1,14 @@ +"""Bandwidth <= b: layout must be a permutation of 0..n-1 with |p[u]-p[v]| <= b on every edge.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, b = inst["num_nodes"], inst["bandwidth"] + # upstream NPPC verifier compares sorted(layout) to range(n), which also accepts floats/bools + p = int_list(ans.get("layout"), n, 0, n - 1, "layout") + if len(set(p)) != n: + raise Invalid("layout is not a permutation of 0..n-1") + for u, v in inst["edges"]: + if abs(p[u] - p[v]) > b: + raise Invalid(f"edge ({u},{v}) has stretch {abs(p[u] - p[v])} > {b}") + return None, {} diff --git a/tasks/construct-nppc-bandwidth-l2-s6/tests/instance.json b/tasks/construct-nppc-bandwidth-l2-s6/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..27dd20936d96e7acab021be3deedccd20eb7204c --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s6/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "bandwidth": 3, "edges": [[0, 5], [0, 7], [1, 2], [2, 3], [3, 4], [4, 5], [5, 6], [6, 7]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l2-s6/tests/run.py b/tasks/construct-nppc-bandwidth-l2-s6/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s6/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-bandwidth-l2-s6/tests/test.sh b/tasks/construct-nppc-bandwidth-l2-s6/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s6/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-bandwidth-l2-s8/environment/Dockerfile b/tasks/construct-nppc-bandwidth-l2-s8/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s8/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-bandwidth-l2-s8/environment/instance.json b/tasks/construct-nppc-bandwidth-l2-s8/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..2eb560152fe51c52229844c9bd8ea3d50fce7011 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s8/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "bandwidth": 3, "edges": [[0, 3], [1, 2], [2, 3], [3, 4], [3, 5], [4, 5], [5, 6], [6, 7]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l2-s8/instruction.md b/tasks/construct-nppc-bandwidth-l2-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..0833ad37a0bb0053ed9ff8af96665c331ad81896 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s8/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 8 vertices labelled 0..7 and 8 edges: +[[0, 3], [1, 2], [2, 3], [3, 4], [3, 5], [4, 5], [5, 6], [6, 7]] + +Find a linear layout of bandwidth at most 3: assign to each vertex v a distinct position p[v] in 0..7 (a permutation) such that |p[u] - p[v]| <= 3 for every edge (u, v). + +Answer format: {"layout": [p_0, p_1, ..., p_7]} where p_v is the position of vertex v. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-bandwidth-l2-s8/solution/solve.sh b/tasks/construct-nppc-bandwidth-l2-s8/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..47b382af0dd03ea9a09acc3d95674aa72633b6b5 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s8/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"layout": [1, 7, 5, 4, 6, 3, 0, 2]} +RLMATH_EOF diff --git a/tasks/construct-nppc-bandwidth-l2-s8/task.toml b/tasks/construct-nppc-bandwidth-l2-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5fcea20cc459ade3c250409b840e968cc131e2fc --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-bandwidth-l2-s8" +version = "0.2.0" +description = "construct/nppc_bandwidth" +authors = [] +keywords = ["rlmath", "construct", "nppc_bandwidth"] + +[metadata] +subset = "construct" +family = "nppc_bandwidth" +problem_key = "graph_bandwidth" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "NPPC/bandwidth" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-bandwidth-l2-s8/tests/check.py b/tasks/construct-nppc-bandwidth-l2-s8/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..0f847cded257e6c404063dfafde33fa44163afa2 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s8/tests/check.py @@ -0,0 +1,14 @@ +"""Bandwidth <= b: layout must be a permutation of 0..n-1 with |p[u]-p[v]| <= b on every edge.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, b = inst["num_nodes"], inst["bandwidth"] + # upstream NPPC verifier compares sorted(layout) to range(n), which also accepts floats/bools + p = int_list(ans.get("layout"), n, 0, n - 1, "layout") + if len(set(p)) != n: + raise Invalid("layout is not a permutation of 0..n-1") + for u, v in inst["edges"]: + if abs(p[u] - p[v]) > b: + raise Invalid(f"edge ({u},{v}) has stretch {abs(p[u] - p[v])} > {b}") + return None, {} diff --git a/tasks/construct-nppc-bandwidth-l2-s8/tests/instance.json b/tasks/construct-nppc-bandwidth-l2-s8/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..2eb560152fe51c52229844c9bd8ea3d50fce7011 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s8/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "bandwidth": 3, "edges": [[0, 3], [1, 2], [2, 3], [3, 4], [3, 5], [4, 5], [5, 6], [6, 7]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l2-s8/tests/run.py b/tasks/construct-nppc-bandwidth-l2-s8/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s8/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-bandwidth-l2-s8/tests/test.sh b/tasks/construct-nppc-bandwidth-l2-s8/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l2-s8/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-bandwidth-l6-s0/environment/Dockerfile b/tasks/construct-nppc-bandwidth-l6-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-bandwidth-l6-s0/environment/instance.json b/tasks/construct-nppc-bandwidth-l6-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..c37466faaf15b4f1b6cd3678471f778f1eac9482 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s0/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "bandwidth": 5, "edges": [[0, 9], [0, 17], [0, 24], [0, 26], [0, 28], [0, 40], [1, 8], [1, 11], [1, 36], [1, 46], [1, 61], [1, 70], [1, 71], [2, 4], [2, 14], [2, 15], [2, 25], [2, 35], [2, 42], [2, 52], [2, 62], [3, 12], [3, 69], [3, 71], [3, 76], [4, 14], [4, 35], [4, 55], [5, 20], [5, 49], [5, 76], [6, 7], [6, 22], [6, 39], [6, 47], [6, 65], [6, 75], [7, 22], [7, 47], [7, 50], [7, 58], [7, 77], [8, 11], [8, 69], [8, 70], [8, 71], [9, 17], [9, 28], [9, 34], [9, 37], [9, 78], [10, 13], [10, 19], [10, 22], [10, 47], [10, 58], [11, 12], [11, 38], [11, 46], [12, 16], [12, 38], [12, 69], [13, 19], [13, 39], [13, 58], [14, 31], [14, 32], [14, 42], [14, 52], [14, 55], [14, 62], [14, 67], [15, 18], [15, 25], [15, 30], [15, 31], [15, 35], [15, 52], [16, 38], [16, 49], [16, 69], [16, 71], [16, 76], [17, 21], [17, 28], [17, 34], [17, 37], [17, 53], [17, 60], [18, 30], [18, 36], [18, 46], [18, 61], [19, 27], [20, 23], [20, 45], [20, 68], [20, 72], [21, 28], [21, 57], [21, 62], [22, 39], [22, 44], [22, 47], [23, 66], [23, 68], [23, 72], [24, 26], [24, 29], [24, 41], [24, 63], [24, 73], [24, 79], [25, 30], [25, 33], [25, 35], [26, 29], [26, 40], [26, 51], [27, 39], [28, 29], [28, 34], [28, 37], [28, 53], [29, 37], [29, 51], [29, 78], [30, 33], [30, 46], [31, 33], [32, 42], [32, 57], [32, 60], [32, 67], [33, 36], [33, 52], [33, 64], [34, 37], [34, 48], [34, 57], [34, 60], [34, 67], [35, 42], [36, 46], [37, 48], [37, 78], [38, 49], [38, 69], [38, 76], [39, 44], [39, 77], [40, 41], [40, 63], [40, 78], [40, 79], [41, 51], [41, 59], [41, 78], [41, 79], [42, 55], [42, 60], [42, 62], [42, 67], [43, 45], [43, 49], [43, 68], [43, 72], [44, 47], [45, 49], [45, 68], [45, 72], [46, 61], [47, 50], [47, 58], [47, 77], [48, 53], [48, 57], [49, 72], [49, 74], [49, 76], [50, 54], [50, 56], [50, 65], [50, 75], [51, 54], [51, 63], [52, 64], [53, 57], [54, 56], [54, 73], [54, 75], [54, 79], [55, 57], [55, 60], [55, 67], [56, 59], [56, 65], [56, 75], [57, 60], [57, 67], [59, 63], [59, 65], [59, 73], [59, 77], [60, 62], [60, 67], [61, 64], [61, 70], [62, 67], [63, 65], [65, 73], [65, 77], [66, 68], [66, 72], [68, 72], [69, 70], [69, 71], [69, 74], [71, 74], [72, 76], [73, 75], [74, 76], [75, 77], [75, 79]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l6-s0/instruction.md b/tasks/construct-nppc-bandwidth-l6-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..d768f64f73eac27a24e3aa5a62e8153b0e5545c7 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s0/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 80 vertices labelled 0..79 and 224 edges: +[[0, 9], [0, 17], [0, 24], [0, 26], [0, 28], [0, 40], [1, 8], [1, 11], [1, 36], [1, 46], [1, 61], [1, 70], [1, 71], [2, 4], [2, 14], [2, 15], [2, 25], [2, 35], [2, 42], [2, 52], [2, 62], [3, 12], [3, 69], [3, 71], [3, 76], [4, 14], [4, 35], [4, 55], [5, 20], [5, 49], [5, 76], [6, 7], [6, 22], [6, 39], [6, 47], [6, 65], [6, 75], [7, 22], [7, 47], [7, 50], [7, 58], [7, 77], [8, 11], [8, 69], [8, 70], [8, 71], [9, 17], [9, 28], [9, 34], [9, 37], [9, 78], [10, 13], [10, 19], [10, 22], [10, 47], [10, 58], [11, 12], [11, 38], [11, 46], [12, 16], [12, 38], [12, 69], [13, 19], [13, 39], [13, 58], [14, 31], [14, 32], [14, 42], [14, 52], [14, 55], [14, 62], [14, 67], [15, 18], [15, 25], [15, 30], [15, 31], [15, 35], [15, 52], [16, 38], [16, 49], [16, 69], [16, 71], [16, 76], [17, 21], [17, 28], [17, 34], [17, 37], [17, 53], [17, 60], [18, 30], [18, 36], [18, 46], [18, 61], [19, 27], [20, 23], [20, 45], [20, 68], [20, 72], [21, 28], [21, 57], [21, 62], [22, 39], [22, 44], [22, 47], [23, 66], [23, 68], [23, 72], [24, 26], [24, 29], [24, 41], [24, 63], [24, 73], [24, 79], [25, 30], [25, 33], [25, 35], [26, 29], [26, 40], [26, 51], [27, 39], [28, 29], [28, 34], [28, 37], [28, 53], [29, 37], [29, 51], [29, 78], [30, 33], [30, 46], [31, 33], [32, 42], [32, 57], [32, 60], [32, 67], [33, 36], [33, 52], [33, 64], [34, 37], [34, 48], [34, 57], [34, 60], [34, 67], [35, 42], [36, 46], [37, 48], [37, 78], [38, 49], [38, 69], [38, 76], [39, 44], [39, 77], [40, 41], [40, 63], [40, 78], [40, 79], [41, 51], [41, 59], [41, 78], [41, 79], [42, 55], [42, 60], [42, 62], [42, 67], [43, 45], [43, 49], [43, 68], [43, 72], [44, 47], [45, 49], [45, 68], [45, 72], [46, 61], [47, 50], [47, 58], [47, 77], [48, 53], [48, 57], [49, 72], [49, 74], [49, 76], [50, 54], [50, 56], [50, 65], [50, 75], [51, 54], [51, 63], [52, 64], [53, 57], [54, 56], [54, 73], [54, 75], [54, 79], [55, 57], [55, 60], [55, 67], [56, 59], [56, 65], [56, 75], [57, 60], [57, 67], [59, 63], [59, 65], [59, 73], [59, 77], [60, 62], [60, 67], [61, 64], [61, 70], [62, 67], [63, 65], [65, 73], [65, 77], [66, 68], [66, 72], [68, 72], [69, 70], [69, 71], [69, 74], [71, 74], [72, 76], [73, 75], [74, 76], [75, 77], [75, 79]] + +Find a linear layout of bandwidth at most 5: assign to each vertex v a distinct position p[v] in 0..79 (a permutation) such that |p[u] - p[v]| <= 5 for every edge (u, v). + +Answer format: {"layout": [p_0, p_1, ..., p_79]} where p_v is the position of vertex v. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-bandwidth-l6-s0/solution/solve.sh b/tasks/construct-nppc-bandwidth-l6-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..c4ec6bb9738916ef2407b3a307ea80848c499f23 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"layout": [28, 60, 46, 68, 45, 74, 10, 9, 61, 29, 3, 62, 63, 2, 44, 51, 67, 33, 56, 0, 76, 36, 7, 79, 23, 50, 25, 1, 31, 27, 54, 48, 40, 53, 34, 47, 57, 30, 66, 6, 24, 21, 43, 72, 5, 73, 58, 8, 35, 71, 12, 22, 49, 32, 17, 42, 13, 37, 4, 16, 38, 55, 41, 20, 52, 15, 78, 39, 77, 64, 59, 65, 75, 18, 69, 14, 70, 11, 26, 19]} +RLMATH_EOF diff --git a/tasks/construct-nppc-bandwidth-l6-s0/task.toml b/tasks/construct-nppc-bandwidth-l6-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..124c2b460c2719c52848a26d2e9ddae2ff698528 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-bandwidth-l6-s0" +version = "0.2.0" +description = "construct/nppc_bandwidth" +authors = [] +keywords = ["rlmath", "construct", "nppc_bandwidth"] + +[metadata] +subset = "construct" +family = "nppc_bandwidth" +problem_key = "graph_bandwidth" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "NPPC/bandwidth" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-bandwidth-l6-s0/tests/check.py b/tasks/construct-nppc-bandwidth-l6-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..0f847cded257e6c404063dfafde33fa44163afa2 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s0/tests/check.py @@ -0,0 +1,14 @@ +"""Bandwidth <= b: layout must be a permutation of 0..n-1 with |p[u]-p[v]| <= b on every edge.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, b = inst["num_nodes"], inst["bandwidth"] + # upstream NPPC verifier compares sorted(layout) to range(n), which also accepts floats/bools + p = int_list(ans.get("layout"), n, 0, n - 1, "layout") + if len(set(p)) != n: + raise Invalid("layout is not a permutation of 0..n-1") + for u, v in inst["edges"]: + if abs(p[u] - p[v]) > b: + raise Invalid(f"edge ({u},{v}) has stretch {abs(p[u] - p[v])} > {b}") + return None, {} diff --git a/tasks/construct-nppc-bandwidth-l6-s0/tests/instance.json b/tasks/construct-nppc-bandwidth-l6-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..c37466faaf15b4f1b6cd3678471f778f1eac9482 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s0/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "bandwidth": 5, "edges": [[0, 9], [0, 17], [0, 24], [0, 26], [0, 28], [0, 40], [1, 8], [1, 11], [1, 36], [1, 46], [1, 61], [1, 70], [1, 71], [2, 4], [2, 14], [2, 15], [2, 25], [2, 35], [2, 42], [2, 52], [2, 62], [3, 12], [3, 69], [3, 71], [3, 76], [4, 14], [4, 35], [4, 55], [5, 20], [5, 49], [5, 76], [6, 7], [6, 22], [6, 39], [6, 47], [6, 65], [6, 75], [7, 22], [7, 47], [7, 50], [7, 58], [7, 77], [8, 11], [8, 69], [8, 70], [8, 71], [9, 17], [9, 28], [9, 34], [9, 37], [9, 78], [10, 13], [10, 19], [10, 22], [10, 47], [10, 58], [11, 12], [11, 38], [11, 46], [12, 16], [12, 38], [12, 69], [13, 19], [13, 39], [13, 58], [14, 31], [14, 32], [14, 42], [14, 52], [14, 55], [14, 62], [14, 67], [15, 18], [15, 25], [15, 30], [15, 31], [15, 35], [15, 52], [16, 38], [16, 49], [16, 69], [16, 71], [16, 76], [17, 21], [17, 28], [17, 34], [17, 37], [17, 53], [17, 60], [18, 30], [18, 36], [18, 46], [18, 61], [19, 27], [20, 23], [20, 45], [20, 68], [20, 72], [21, 28], [21, 57], [21, 62], [22, 39], [22, 44], [22, 47], [23, 66], [23, 68], [23, 72], [24, 26], [24, 29], [24, 41], [24, 63], [24, 73], [24, 79], [25, 30], [25, 33], [25, 35], [26, 29], [26, 40], [26, 51], [27, 39], [28, 29], [28, 34], [28, 37], [28, 53], [29, 37], [29, 51], [29, 78], [30, 33], [30, 46], [31, 33], [32, 42], [32, 57], [32, 60], [32, 67], [33, 36], [33, 52], [33, 64], [34, 37], [34, 48], [34, 57], [34, 60], [34, 67], [35, 42], [36, 46], [37, 48], [37, 78], [38, 49], [38, 69], [38, 76], [39, 44], [39, 77], [40, 41], [40, 63], [40, 78], [40, 79], [41, 51], [41, 59], [41, 78], [41, 79], [42, 55], [42, 60], [42, 62], [42, 67], [43, 45], [43, 49], [43, 68], [43, 72], [44, 47], [45, 49], [45, 68], [45, 72], [46, 61], [47, 50], [47, 58], [47, 77], [48, 53], [48, 57], [49, 72], [49, 74], [49, 76], [50, 54], [50, 56], [50, 65], [50, 75], [51, 54], [51, 63], [52, 64], [53, 57], [54, 56], [54, 73], [54, 75], [54, 79], [55, 57], [55, 60], [55, 67], [56, 59], [56, 65], [56, 75], [57, 60], [57, 67], [59, 63], [59, 65], [59, 73], [59, 77], [60, 62], [60, 67], [61, 64], [61, 70], [62, 67], [63, 65], [65, 73], [65, 77], [66, 68], [66, 72], [68, 72], [69, 70], [69, 71], [69, 74], [71, 74], [72, 76], [73, 75], [74, 76], [75, 77], [75, 79]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l6-s0/tests/run.py b/tasks/construct-nppc-bandwidth-l6-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-bandwidth-l6-s0/tests/test.sh b/tasks/construct-nppc-bandwidth-l6-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-bandwidth-l6-s7/environment/Dockerfile b/tasks/construct-nppc-bandwidth-l6-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-bandwidth-l6-s7/environment/instance.json b/tasks/construct-nppc-bandwidth-l6-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4cd889c5df22f33dd167ef066838479c0588954a --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s7/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "bandwidth": 5, "edges": [[0, 10], [0, 46], [0, 53], [0, 74], [0, 75], [1, 11], [1, 20], [1, 28], [1, 37], [1, 51], [1, 76], [1, 78], [2, 3], [2, 12], [2, 16], [2, 54], [2, 60], [2, 64], [2, 77], [3, 12], [3, 24], [3, 25], [3, 54], [3, 58], [3, 60], [4, 15], [4, 18], [4, 19], [4, 48], [4, 55], [4, 56], [5, 7], [5, 8], [5, 9], [5, 57], [5, 61], [5, 65], [6, 18], [6, 68], [7, 9], [7, 30], [7, 46], [7, 57], [7, 61], [7, 65], [7, 67], [8, 9], [8, 21], [8, 31], [8, 61], [8, 65], [8, 73], [9, 21], [9, 31], [9, 57], [9, 61], [9, 73], [10, 23], [10, 30], [10, 36], [10, 46], [10, 67], [10, 75], [11, 17], [11, 20], [11, 37], [11, 44], [11, 47], [11, 50], [11, 76], [12, 17], [12, 35], [12, 47], [12, 60], [13, 14], [13, 22], [13, 29], [13, 33], [13, 41], [13, 63], [14, 22], [14, 29], [14, 33], [14, 41], [14, 66], [14, 71], [15, 19], [15, 29], [15, 38], [15, 48], [15, 55], [16, 24], [16, 34], [16, 49], [16, 60], [16, 64], [17, 35], [17, 37], [17, 47], [17, 58], [17, 76], [18, 19], [18, 40], [18, 52], [18, 55], [18, 56], [18, 68], [19, 52], [19, 55], [19, 69], [19, 79], [20, 28], [20, 51], [20, 76], [20, 78], [21, 31], [21, 73], [22, 26], [22, 39], [22, 71], [23, 30], [23, 46], [23, 67], [23, 70], [23, 74], [24, 25], [24, 71], [25, 45], [25, 54], [25, 60], [25, 64], [25, 72], [26, 29], [26, 48], [26, 63], [27, 32], [27, 40], [27, 59], [27, 68], [27, 69], [28, 36], [28, 53], [28, 74], [28, 76], [29, 38], [29, 48], [29, 63], [30, 46], [30, 57], [30, 65], [30, 67], [30, 75], [31, 43], [31, 57], [31, 65], [31, 73], [32, 40], [32, 42], [32, 59], [33, 34], [33, 41], [33, 49], [33, 66], [33, 72], [34, 41], [34, 64], [35, 37], [35, 54], [35, 77], [36, 51], [36, 53], [36, 78], [37, 44], [37, 47], [37, 76], [37, 77], [38, 39], [38, 52], [38, 63], [38, 79], [39, 48], [39, 63], [40, 42], [40, 59], [41, 49], [41, 63], [42, 62], [43, 73], [44, 50], [44, 51], [44, 76], [44, 78], [45, 47], [45, 60], [46, 53], [46, 57], [46, 70], [47, 50], [47, 77], [48, 52], [49, 64], [49, 66], [49, 71], [49, 72], [50, 51], [51, 70], [51, 78], [52, 55], [53, 70], [53, 74], [53, 78], [54, 58], [54, 60], [54, 77], [55, 56], [55, 59], [55, 79], [56, 59], [57, 61], [57, 65], [58, 77], [59, 68], [60, 64], [60, 72], [61, 65], [61, 73], [62, 68], [63, 66], [64, 71], [64, 72], [65, 67], [66, 71], [67, 75], [68, 69], [70, 74], [70, 78], [71, 72], [74, 78]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l6-s7/instruction.md b/tasks/construct-nppc-bandwidth-l6-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..5c4c16453d2146b46084fabdb89f91599e68a518 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s7/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 80 vertices labelled 0..79 and 238 edges: +[[0, 10], [0, 46], [0, 53], [0, 74], [0, 75], [1, 11], [1, 20], [1, 28], [1, 37], [1, 51], [1, 76], [1, 78], [2, 3], [2, 12], [2, 16], [2, 54], [2, 60], [2, 64], [2, 77], [3, 12], [3, 24], [3, 25], [3, 54], [3, 58], [3, 60], [4, 15], [4, 18], [4, 19], [4, 48], [4, 55], [4, 56], [5, 7], [5, 8], [5, 9], [5, 57], [5, 61], [5, 65], [6, 18], [6, 68], [7, 9], [7, 30], [7, 46], [7, 57], [7, 61], [7, 65], [7, 67], [8, 9], [8, 21], [8, 31], [8, 61], [8, 65], [8, 73], [9, 21], [9, 31], [9, 57], [9, 61], [9, 73], [10, 23], [10, 30], [10, 36], [10, 46], [10, 67], [10, 75], [11, 17], [11, 20], [11, 37], [11, 44], [11, 47], [11, 50], [11, 76], [12, 17], [12, 35], [12, 47], [12, 60], [13, 14], [13, 22], [13, 29], [13, 33], [13, 41], [13, 63], [14, 22], [14, 29], [14, 33], [14, 41], [14, 66], [14, 71], [15, 19], [15, 29], [15, 38], [15, 48], [15, 55], [16, 24], [16, 34], [16, 49], [16, 60], [16, 64], [17, 35], [17, 37], [17, 47], [17, 58], [17, 76], [18, 19], [18, 40], [18, 52], [18, 55], [18, 56], [18, 68], [19, 52], [19, 55], [19, 69], [19, 79], [20, 28], [20, 51], [20, 76], [20, 78], [21, 31], [21, 73], [22, 26], [22, 39], [22, 71], [23, 30], [23, 46], [23, 67], [23, 70], [23, 74], [24, 25], [24, 71], [25, 45], [25, 54], [25, 60], [25, 64], [25, 72], [26, 29], [26, 48], [26, 63], [27, 32], [27, 40], [27, 59], [27, 68], [27, 69], [28, 36], [28, 53], [28, 74], [28, 76], [29, 38], [29, 48], [29, 63], [30, 46], [30, 57], [30, 65], [30, 67], [30, 75], [31, 43], [31, 57], [31, 65], [31, 73], [32, 40], [32, 42], [32, 59], [33, 34], [33, 41], [33, 49], [33, 66], [33, 72], [34, 41], [34, 64], [35, 37], [35, 54], [35, 77], [36, 51], [36, 53], [36, 78], [37, 44], [37, 47], [37, 76], [37, 77], [38, 39], [38, 52], [38, 63], [38, 79], [39, 48], [39, 63], [40, 42], [40, 59], [41, 49], [41, 63], [42, 62], [43, 73], [44, 50], [44, 51], [44, 76], [44, 78], [45, 47], [45, 60], [46, 53], [46, 57], [46, 70], [47, 50], [47, 77], [48, 52], [49, 64], [49, 66], [49, 71], [49, 72], [50, 51], [51, 70], [51, 78], [52, 55], [53, 70], [53, 74], [53, 78], [54, 58], [54, 60], [54, 77], [55, 56], [55, 59], [55, 79], [56, 59], [57, 61], [57, 65], [58, 77], [59, 68], [60, 64], [60, 72], [61, 65], [61, 73], [62, 68], [63, 66], [64, 71], [64, 72], [65, 67], [66, 71], [67, 75], [68, 69], [70, 74], [70, 78], [71, 72], [74, 78]] + +Find a linear layout of bandwidth at most 5: assign to each vertex v a distinct position p[v] in 0..79 (a permutation) such that |p[u] - p[v]| <= 5 for every edge (u, v). + +Answer format: {"layout": [p_0, p_1, ..., p_79]} where p_v is the position of vertex v. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-bandwidth-l6-s7/solution/solve.sh b/tasks/construct-nppc-bandwidth-l6-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..90f9c0c3b58100d194ac250dcb4a0f2298768aa6 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"layout": [63, 53, 38, 39, 14, 72, 6, 69, 76, 74, 64, 49, 42, 23, 25, 16, 35, 47, 9, 11, 54, 78, 24, 62, 34, 36, 21, 3, 56, 20, 66, 75, 2, 28, 30, 46, 59, 48, 17, 19, 4, 26, 0, 79, 52, 40, 65, 45, 18, 31, 50, 55, 13, 61, 41, 12, 10, 70, 44, 7, 37, 73, 1, 22, 33, 71, 27, 67, 5, 8, 60, 29, 32, 77, 58, 68, 51, 43, 57, 15]} +RLMATH_EOF diff --git a/tasks/construct-nppc-bandwidth-l6-s7/task.toml b/tasks/construct-nppc-bandwidth-l6-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..85c4fa73270a556d0440f9612979f74d1377553c --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-bandwidth-l6-s7" +version = "0.2.0" +description = "construct/nppc_bandwidth" +authors = [] +keywords = ["rlmath", "construct", "nppc_bandwidth"] + +[metadata] +subset = "construct" +family = "nppc_bandwidth" +problem_key = "graph_bandwidth" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "NPPC/bandwidth" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-bandwidth-l6-s7/tests/check.py b/tasks/construct-nppc-bandwidth-l6-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..0f847cded257e6c404063dfafde33fa44163afa2 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s7/tests/check.py @@ -0,0 +1,14 @@ +"""Bandwidth <= b: layout must be a permutation of 0..n-1 with |p[u]-p[v]| <= b on every edge.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, b = inst["num_nodes"], inst["bandwidth"] + # upstream NPPC verifier compares sorted(layout) to range(n), which also accepts floats/bools + p = int_list(ans.get("layout"), n, 0, n - 1, "layout") + if len(set(p)) != n: + raise Invalid("layout is not a permutation of 0..n-1") + for u, v in inst["edges"]: + if abs(p[u] - p[v]) > b: + raise Invalid(f"edge ({u},{v}) has stretch {abs(p[u] - p[v])} > {b}") + return None, {} diff --git a/tasks/construct-nppc-bandwidth-l6-s7/tests/instance.json b/tasks/construct-nppc-bandwidth-l6-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4cd889c5df22f33dd167ef066838479c0588954a --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s7/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "bandwidth": 5, "edges": [[0, 10], [0, 46], [0, 53], [0, 74], [0, 75], [1, 11], [1, 20], [1, 28], [1, 37], [1, 51], [1, 76], [1, 78], [2, 3], [2, 12], [2, 16], [2, 54], [2, 60], [2, 64], [2, 77], [3, 12], [3, 24], [3, 25], [3, 54], [3, 58], [3, 60], [4, 15], [4, 18], [4, 19], [4, 48], [4, 55], [4, 56], [5, 7], [5, 8], [5, 9], [5, 57], [5, 61], [5, 65], [6, 18], [6, 68], [7, 9], [7, 30], [7, 46], [7, 57], [7, 61], [7, 65], [7, 67], [8, 9], [8, 21], [8, 31], [8, 61], [8, 65], [8, 73], [9, 21], [9, 31], [9, 57], [9, 61], [9, 73], [10, 23], [10, 30], [10, 36], [10, 46], [10, 67], [10, 75], [11, 17], [11, 20], [11, 37], [11, 44], [11, 47], [11, 50], [11, 76], [12, 17], [12, 35], [12, 47], [12, 60], [13, 14], [13, 22], [13, 29], [13, 33], [13, 41], [13, 63], [14, 22], [14, 29], [14, 33], [14, 41], [14, 66], [14, 71], [15, 19], [15, 29], [15, 38], [15, 48], [15, 55], [16, 24], [16, 34], [16, 49], [16, 60], [16, 64], [17, 35], [17, 37], [17, 47], [17, 58], [17, 76], [18, 19], [18, 40], [18, 52], [18, 55], [18, 56], [18, 68], [19, 52], [19, 55], [19, 69], [19, 79], [20, 28], [20, 51], [20, 76], [20, 78], [21, 31], [21, 73], [22, 26], [22, 39], [22, 71], [23, 30], [23, 46], [23, 67], [23, 70], [23, 74], [24, 25], [24, 71], [25, 45], [25, 54], [25, 60], [25, 64], [25, 72], [26, 29], [26, 48], [26, 63], [27, 32], [27, 40], [27, 59], [27, 68], [27, 69], [28, 36], [28, 53], [28, 74], [28, 76], [29, 38], [29, 48], [29, 63], [30, 46], [30, 57], [30, 65], [30, 67], [30, 75], [31, 43], [31, 57], [31, 65], [31, 73], [32, 40], [32, 42], [32, 59], [33, 34], [33, 41], [33, 49], [33, 66], [33, 72], [34, 41], [34, 64], [35, 37], [35, 54], [35, 77], [36, 51], [36, 53], [36, 78], [37, 44], [37, 47], [37, 76], [37, 77], [38, 39], [38, 52], [38, 63], [38, 79], [39, 48], [39, 63], [40, 42], [40, 59], [41, 49], [41, 63], [42, 62], [43, 73], [44, 50], [44, 51], [44, 76], [44, 78], [45, 47], [45, 60], [46, 53], [46, 57], [46, 70], [47, 50], [47, 77], [48, 52], [49, 64], [49, 66], [49, 71], [49, 72], [50, 51], [51, 70], [51, 78], [52, 55], [53, 70], [53, 74], [53, 78], [54, 58], [54, 60], [54, 77], [55, 56], [55, 59], [55, 79], [56, 59], [57, 61], [57, 65], [58, 77], [59, 68], [60, 64], [60, 72], [61, 65], [61, 73], [62, 68], [63, 66], [64, 71], [64, 72], [65, 67], [66, 71], [67, 75], [68, 69], [70, 74], [70, 78], [71, 72], [74, 78]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l6-s7/tests/run.py b/tasks/construct-nppc-bandwidth-l6-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-bandwidth-l6-s7/tests/test.sh b/tasks/construct-nppc-bandwidth-l6-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-bandwidth-l6-s9/environment/Dockerfile b/tasks/construct-nppc-bandwidth-l6-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-bandwidth-l6-s9/environment/instance.json b/tasks/construct-nppc-bandwidth-l6-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..03037aed544a73c6b7ef85863cce1087fcc5c237 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s9/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "bandwidth": 5, "edges": [[0, 1], [0, 3], [0, 5], [0, 17], [0, 32], [0, 74], [1, 3], [1, 17], [1, 32], [2, 5], [2, 6], [2, 33], [2, 38], [2, 39], [2, 48], [2, 57], [3, 32], [4, 9], [4, 24], [4, 29], [4, 36], [4, 45], [4, 66], [4, 75], [5, 17], [5, 38], [5, 48], [5, 57], [5, 67], [6, 33], [6, 39], [6, 46], [7, 12], [7, 19], [7, 63], [7, 68], [7, 70], [7, 79], [8, 19], [8, 27], [8, 60], [8, 63], [9, 15], [9, 24], [9, 29], [9, 40], [9, 50], [9, 54], [9, 66], [9, 69], [10, 11], [10, 31], [10, 58], [10, 62], [10, 69], [10, 77], [11, 31], [11, 33], [11, 42], [11, 62], [11, 77], [12, 19], [12, 65], [12, 79], [13, 14], [13, 22], [13, 28], [13, 37], [13, 49], [13, 51], [13, 53], [13, 55], [14, 28], [14, 37], [14, 56], [14, 65], [14, 78], [15, 21], [15, 24], [15, 29], [15, 50], [15, 54], [15, 69], [16, 24], [16, 29], [16, 36], [16, 43], [16, 45], [16, 66], [17, 32], [17, 34], [18, 20], [18, 27], [18, 30], [18, 44], [18, 47], [18, 60], [18, 72], [19, 23], [19, 26], [19, 60], [19, 63], [19, 79], [20, 25], [20, 72], [21, 31], [21, 50], [21, 54], [21, 69], [22, 28], [22, 36], [22, 37], [22, 49], [22, 51], [22, 55], [23, 26], [23, 59], [23, 63], [23, 79], [24, 29], [24, 40], [24, 66], [25, 27], [26, 63], [26, 65], [26, 70], [26, 71], [27, 30], [27, 44], [27, 59], [27, 60], [27, 72], [28, 37], [28, 41], [28, 53], [28, 78], [29, 35], [29, 50], [29, 66], [30, 44], [30, 60], [30, 72], [31, 42], [31, 58], [31, 62], [31, 77], [32, 34], [32, 67], [33, 38], [33, 39], [33, 76], [34, 38], [34, 67], [35, 40], [35, 66], [36, 43], [36, 45], [36, 49], [36, 55], [37, 41], [37, 51], [37, 52], [37, 78], [38, 48], [39, 42], [39, 46], [39, 58], [40, 50], [40, 54], [41, 51], [41, 64], [41, 65], [41, 71], [42, 46], [42, 73], [42, 76], [43, 45], [43, 49], [43, 53], [43, 66], [43, 75], [44, 59], [44, 60], [44, 72], [45, 49], [45, 55], [45, 75], [46, 58], [47, 72], [48, 57], [49, 51], [49, 55], [50, 54], [50, 61], [51, 53], [51, 78], [52, 56], [52, 65], [52, 68], [52, 70], [52, 71], [53, 55], [54, 61], [54, 69], [55, 75], [56, 64], [56, 70], [56, 71], [57, 74], [58, 61], [58, 73], [58, 77], [59, 60], [60, 72], [61, 62], [61, 69], [61, 77], [62, 73], [62, 77], [63, 68], [64, 65], [64, 78], [65, 68], [65, 71], [66, 75], [67, 74], [68, 70], [68, 79], [69, 77], [70, 71], [70, 79], [73, 76], [73, 77]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l6-s9/instruction.md b/tasks/construct-nppc-bandwidth-l6-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..f8293fb7265c7cb36616bfd60dd159556f36d3a3 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s9/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 80 vertices labelled 0..79 and 233 edges: +[[0, 1], [0, 3], [0, 5], [0, 17], [0, 32], [0, 74], [1, 3], [1, 17], [1, 32], [2, 5], [2, 6], [2, 33], [2, 38], [2, 39], [2, 48], [2, 57], [3, 32], [4, 9], [4, 24], [4, 29], [4, 36], [4, 45], [4, 66], [4, 75], [5, 17], [5, 38], [5, 48], [5, 57], [5, 67], [6, 33], [6, 39], [6, 46], [7, 12], [7, 19], [7, 63], [7, 68], [7, 70], [7, 79], [8, 19], [8, 27], [8, 60], [8, 63], [9, 15], [9, 24], [9, 29], [9, 40], [9, 50], [9, 54], [9, 66], [9, 69], [10, 11], [10, 31], [10, 58], [10, 62], [10, 69], [10, 77], [11, 31], [11, 33], [11, 42], [11, 62], [11, 77], [12, 19], [12, 65], [12, 79], [13, 14], [13, 22], [13, 28], [13, 37], [13, 49], [13, 51], [13, 53], [13, 55], [14, 28], [14, 37], [14, 56], [14, 65], [14, 78], [15, 21], [15, 24], [15, 29], [15, 50], [15, 54], [15, 69], [16, 24], [16, 29], [16, 36], [16, 43], [16, 45], [16, 66], [17, 32], [17, 34], [18, 20], [18, 27], [18, 30], [18, 44], [18, 47], [18, 60], [18, 72], [19, 23], [19, 26], [19, 60], [19, 63], [19, 79], [20, 25], [20, 72], [21, 31], [21, 50], [21, 54], [21, 69], [22, 28], [22, 36], [22, 37], [22, 49], [22, 51], [22, 55], [23, 26], [23, 59], [23, 63], [23, 79], [24, 29], [24, 40], [24, 66], [25, 27], [26, 63], [26, 65], [26, 70], [26, 71], [27, 30], [27, 44], [27, 59], [27, 60], [27, 72], [28, 37], [28, 41], [28, 53], [28, 78], [29, 35], [29, 50], [29, 66], [30, 44], [30, 60], [30, 72], [31, 42], [31, 58], [31, 62], [31, 77], [32, 34], [32, 67], [33, 38], [33, 39], [33, 76], [34, 38], [34, 67], [35, 40], [35, 66], [36, 43], [36, 45], [36, 49], [36, 55], [37, 41], [37, 51], [37, 52], [37, 78], [38, 48], [39, 42], [39, 46], [39, 58], [40, 50], [40, 54], [41, 51], [41, 64], [41, 65], [41, 71], [42, 46], [42, 73], [42, 76], [43, 45], [43, 49], [43, 53], [43, 66], [43, 75], [44, 59], [44, 60], [44, 72], [45, 49], [45, 55], [45, 75], [46, 58], [47, 72], [48, 57], [49, 51], [49, 55], [50, 54], [50, 61], [51, 53], [51, 78], [52, 56], [52, 65], [52, 68], [52, 70], [52, 71], [53, 55], [54, 61], [54, 69], [55, 75], [56, 64], [56, 70], [56, 71], [57, 74], [58, 61], [58, 73], [58, 77], [59, 60], [60, 72], [61, 62], [61, 69], [61, 77], [62, 73], [62, 77], [63, 68], [64, 65], [64, 78], [65, 68], [65, 71], [66, 75], [67, 74], [68, 70], [68, 79], [69, 77], [70, 71], [70, 79], [73, 76], [73, 77]] + +Find a linear layout of bandwidth at most 5: assign to each vertex v a distinct position p[v] in 0..79 (a permutation) such that |p[u] - p[v]| <= 5 for every edge (u, v). + +Answer format: {"layout": [p_0, p_1, ..., p_79]} where p_v is the position of vertex v. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-bandwidth-l6-s9/solution/solve.sh b/tasks/construct-nppc-bandwidth-l6-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..6f34ef464f951a73ef38cb0bd2405b67c2156899 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"layout": [4, 2, 12, 0, 37, 7, 13, 64, 70, 33, 25, 20, 62, 48, 53, 31, 39, 6, 76, 67, 77, 27, 47, 68, 34, 78, 63, 74, 50, 35, 73, 22, 1, 15, 5, 36, 42, 52, 10, 16, 32, 54, 17, 43, 71, 41, 18, 79, 11, 46, 30, 49, 56, 45, 28, 44, 57, 9, 21, 69, 72, 26, 23, 66, 55, 58, 38, 3, 61, 29, 60, 59, 75, 19, 8, 40, 14, 24, 51, 65]} +RLMATH_EOF diff --git a/tasks/construct-nppc-bandwidth-l6-s9/task.toml b/tasks/construct-nppc-bandwidth-l6-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..260800408116bf6531e68503cadc628a0d14632c --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-bandwidth-l6-s9" +version = "0.2.0" +description = "construct/nppc_bandwidth" +authors = [] +keywords = ["rlmath", "construct", "nppc_bandwidth"] + +[metadata] +subset = "construct" +family = "nppc_bandwidth" +problem_key = "graph_bandwidth" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "NPPC/bandwidth" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-bandwidth-l6-s9/tests/check.py b/tasks/construct-nppc-bandwidth-l6-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..0f847cded257e6c404063dfafde33fa44163afa2 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s9/tests/check.py @@ -0,0 +1,14 @@ +"""Bandwidth <= b: layout must be a permutation of 0..n-1 with |p[u]-p[v]| <= b on every edge.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, b = inst["num_nodes"], inst["bandwidth"] + # upstream NPPC verifier compares sorted(layout) to range(n), which also accepts floats/bools + p = int_list(ans.get("layout"), n, 0, n - 1, "layout") + if len(set(p)) != n: + raise Invalid("layout is not a permutation of 0..n-1") + for u, v in inst["edges"]: + if abs(p[u] - p[v]) > b: + raise Invalid(f"edge ({u},{v}) has stretch {abs(p[u] - p[v])} > {b}") + return None, {} diff --git a/tasks/construct-nppc-bandwidth-l6-s9/tests/instance.json b/tasks/construct-nppc-bandwidth-l6-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..03037aed544a73c6b7ef85863cce1087fcc5c237 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s9/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "bandwidth": 5, "edges": [[0, 1], [0, 3], [0, 5], [0, 17], [0, 32], [0, 74], [1, 3], [1, 17], [1, 32], [2, 5], [2, 6], [2, 33], [2, 38], [2, 39], [2, 48], [2, 57], [3, 32], [4, 9], [4, 24], [4, 29], [4, 36], [4, 45], [4, 66], [4, 75], [5, 17], [5, 38], [5, 48], [5, 57], [5, 67], [6, 33], [6, 39], [6, 46], [7, 12], [7, 19], [7, 63], [7, 68], [7, 70], [7, 79], [8, 19], [8, 27], [8, 60], [8, 63], [9, 15], [9, 24], [9, 29], [9, 40], [9, 50], [9, 54], [9, 66], [9, 69], [10, 11], [10, 31], [10, 58], [10, 62], [10, 69], [10, 77], [11, 31], [11, 33], [11, 42], [11, 62], [11, 77], [12, 19], [12, 65], [12, 79], [13, 14], [13, 22], [13, 28], [13, 37], [13, 49], [13, 51], [13, 53], [13, 55], [14, 28], [14, 37], [14, 56], [14, 65], [14, 78], [15, 21], [15, 24], [15, 29], [15, 50], [15, 54], [15, 69], [16, 24], [16, 29], [16, 36], [16, 43], [16, 45], [16, 66], [17, 32], [17, 34], [18, 20], [18, 27], [18, 30], [18, 44], [18, 47], [18, 60], [18, 72], [19, 23], [19, 26], [19, 60], [19, 63], [19, 79], [20, 25], [20, 72], [21, 31], [21, 50], [21, 54], [21, 69], [22, 28], [22, 36], [22, 37], [22, 49], [22, 51], [22, 55], [23, 26], [23, 59], [23, 63], [23, 79], [24, 29], [24, 40], [24, 66], [25, 27], [26, 63], [26, 65], [26, 70], [26, 71], [27, 30], [27, 44], [27, 59], [27, 60], [27, 72], [28, 37], [28, 41], [28, 53], [28, 78], [29, 35], [29, 50], [29, 66], [30, 44], [30, 60], [30, 72], [31, 42], [31, 58], [31, 62], [31, 77], [32, 34], [32, 67], [33, 38], [33, 39], [33, 76], [34, 38], [34, 67], [35, 40], [35, 66], [36, 43], [36, 45], [36, 49], [36, 55], [37, 41], [37, 51], [37, 52], [37, 78], [38, 48], [39, 42], [39, 46], [39, 58], [40, 50], [40, 54], [41, 51], [41, 64], [41, 65], [41, 71], [42, 46], [42, 73], [42, 76], [43, 45], [43, 49], [43, 53], [43, 66], [43, 75], [44, 59], [44, 60], [44, 72], [45, 49], [45, 55], [45, 75], [46, 58], [47, 72], [48, 57], [49, 51], [49, 55], [50, 54], [50, 61], [51, 53], [51, 78], [52, 56], [52, 65], [52, 68], [52, 70], [52, 71], [53, 55], [54, 61], [54, 69], [55, 75], [56, 64], [56, 70], [56, 71], [57, 74], [58, 61], [58, 73], [58, 77], [59, 60], [60, 72], [61, 62], [61, 69], [61, 77], [62, 73], [62, 77], [63, 68], [64, 65], [64, 78], [65, 68], [65, 71], [66, 75], [67, 74], [68, 70], [68, 79], [69, 77], [70, 71], [70, 79], [73, 76], [73, 77]], "family": "nppc_bandwidth", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-bandwidth-l6-s9/tests/run.py b/tasks/construct-nppc-bandwidth-l6-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-bandwidth-l6-s9/tests/test.sh b/tasks/construct-nppc-bandwidth-l6-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-bandwidth-l6-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-clique-l3-s1/environment/Dockerfile b/tasks/construct-nppc-clique-l3-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-clique-l3-s1/environment/instance.json b/tasks/construct-nppc-clique-l3-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..a66473624d5768199de908903576714e84eda860 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s1/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 20, "k": 10, "edges": [[0, 1], [0, 3], [0, 7], [0, 8], [0, 11], [0, 17], [1, 2], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 18], [1, 19], [2, 4], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 17], [2, 19], [3, 5], [3, 6], [3, 8], [3, 16], [3, 17], [4, 7], [4, 8], [4, 11], [4, 13], [4, 17], [4, 18], [5, 8], [5, 10], [5, 13], [5, 16], [5, 19], [6, 9], [6, 11], [6, 13], [6, 16], [6, 18], [7, 8], [7, 9], [7, 10], [7, 12], [7, 13], [7, 14], [7, 15], [7, 19], [8, 9], [8, 10], [8, 12], [8, 13], [8, 14], [8, 15], [8, 17], [8, 18], [8, 19], [9, 10], [9, 11], [9, 12], [9, 13], [9, 15], [9, 18], [9, 19], [10, 11], [10, 12], [10, 13], [10, 15], [10, 19], [11, 12], [12, 13], [12, 15], [12, 17], [12, 19], [13, 14], [13, 15], [13, 19], [14, 16], [14, 18], [14, 19], [15, 18], [15, 19], [16, 17], [17, 19], [18, 19]], "family": "nppc_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-clique-l3-s1/instruction.md b/tasks/construct-nppc-clique-l3-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..ab60acb037a14b02f5de6b91eaab64db59656e37 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s1/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 20 vertices labelled 0..19 and 97 edges: +[[0, 1], [0, 3], [0, 7], [0, 8], [0, 11], [0, 17], [1, 2], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 18], [1, 19], [2, 4], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 17], [2, 19], [3, 5], [3, 6], [3, 8], [3, 16], [3, 17], [4, 7], [4, 8], [4, 11], [4, 13], [4, 17], [4, 18], [5, 8], [5, 10], [5, 13], [5, 16], [5, 19], [6, 9], [6, 11], [6, 13], [6, 16], [6, 18], [7, 8], [7, 9], [7, 10], [7, 12], [7, 13], [7, 14], [7, 15], [7, 19], [8, 9], [8, 10], [8, 12], [8, 13], [8, 14], [8, 15], [8, 17], [8, 18], [8, 19], [9, 10], [9, 11], [9, 12], [9, 13], [9, 15], [9, 18], [9, 19], [10, 11], [10, 12], [10, 13], [10, 15], [10, 19], [11, 12], [12, 13], [12, 15], [12, 17], [12, 19], [13, 14], [13, 15], [13, 19], [14, 16], [14, 18], [14, 19], [15, 18], [15, 19], [16, 17], [17, 19], [18, 19]] + +Find a clique of size at least 10: a set of distinct vertices every two of which are joined by an edge. + +Answer format: {"clique": [v_1, v_2, ...]} (at least 10 distinct integers in 0..19). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-clique-l3-s1/solution/solve.sh b/tasks/construct-nppc-clique-l3-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..24686638807a4583eff4f736107a8b3121a59a7e --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [1, 2, 7, 8, 9, 10, 12, 13, 15, 19]} +RLMATH_EOF diff --git a/tasks/construct-nppc-clique-l3-s1/task.toml b/tasks/construct-nppc-clique-l3-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..45135a5c462454b2055aff3bddf4ea17f9a6ff1b --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-clique-l3-s1" +version = "0.2.0" +description = "construct/nppc_clique" +authors = [] +keywords = ["rlmath", "construct", "nppc_clique"] + +[metadata] +subset = "construct" +family = "nppc_clique" +problem_key = "graph_clique" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "NPPC/clique" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-clique-l3-s1/tests/check.py b/tasks/construct-nppc-clique-l3-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..98eb4fc9097fcfa31988cf0a8b79280cec2b7980 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s1/tests/check.py @@ -0,0 +1,19 @@ +"""Clique of size >= k. Accepts any valid clique.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + c = int_list(ans.get("clique"), None, 0, n - 1, "clique") + # upstream NPPC verifier checks len(list) >= k but only tests pairs u < v, so [v, v, ..., v] passed + if len(set(c)) != len(c): + raise Invalid("clique contains duplicates") + if len(c) < k: + raise Invalid(f"clique has {len(c)} < {k} vertices") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(c), 2): + if (u, v) not in es: + raise Invalid(f"no edge between {u} and {v}") + return None, {"size": len(c)} diff --git a/tasks/construct-nppc-clique-l3-s1/tests/instance.json b/tasks/construct-nppc-clique-l3-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..a66473624d5768199de908903576714e84eda860 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s1/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 20, "k": 10, "edges": [[0, 1], [0, 3], [0, 7], [0, 8], [0, 11], [0, 17], [1, 2], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 18], [1, 19], [2, 4], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 17], [2, 19], [3, 5], [3, 6], [3, 8], [3, 16], [3, 17], [4, 7], [4, 8], [4, 11], [4, 13], [4, 17], [4, 18], [5, 8], [5, 10], [5, 13], [5, 16], [5, 19], [6, 9], [6, 11], [6, 13], [6, 16], [6, 18], [7, 8], [7, 9], [7, 10], [7, 12], [7, 13], [7, 14], [7, 15], [7, 19], [8, 9], [8, 10], [8, 12], [8, 13], [8, 14], [8, 15], [8, 17], [8, 18], [8, 19], [9, 10], [9, 11], [9, 12], [9, 13], [9, 15], [9, 18], [9, 19], [10, 11], [10, 12], [10, 13], [10, 15], [10, 19], [11, 12], [12, 13], [12, 15], [12, 17], [12, 19], [13, 14], [13, 15], [13, 19], [14, 16], [14, 18], [14, 19], [15, 18], [15, 19], [16, 17], [17, 19], [18, 19]], "family": "nppc_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-clique-l3-s1/tests/run.py b/tasks/construct-nppc-clique-l3-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-clique-l3-s1/tests/test.sh b/tasks/construct-nppc-clique-l3-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-clique-l3-s6/environment/Dockerfile b/tasks/construct-nppc-clique-l3-s6/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s6/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-clique-l3-s6/environment/instance.json b/tasks/construct-nppc-clique-l3-s6/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..958040d3b6791cb741ac6a7c3d774ff4b24767b5 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s6/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 20, "k": 10, "edges": [[0, 1], [0, 3], [0, 4], [0, 5], [0, 7], [0, 9], [0, 11], [0, 12], [0, 13], [0, 14], [0, 19], [1, 3], [1, 5], [1, 7], [1, 8], [1, 11], [1, 18], [2, 3], [2, 9], [2, 10], [2, 11], [2, 13], [2, 15], [2, 16], [2, 17], [2, 18], [3, 4], [3, 5], [3, 7], [3, 8], [3, 9], [3, 11], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 18], [3, 19], [4, 5], [4, 6], [4, 8], [4, 9], [4, 11], [4, 12], [4, 13], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [5, 7], [5, 8], [5, 9], [5, 11], [5, 12], [5, 13], [5, 14], [5, 17], [5, 18], [5, 19], [6, 8], [6, 18], [7, 8], [7, 9], [7, 11], [7, 13], [7, 15], [7, 17], [7, 18], [8, 9], [8, 11], [8, 12], [8, 13], [8, 18], [8, 19], [9, 11], [9, 12], [9, 13], [9, 14], [9, 18], [9, 19], [10, 11], [10, 12], [10, 13], [10, 16], [10, 17], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [12, 13], [12, 14], [12, 18], [12, 19], [13, 16], [13, 17], [13, 18], [13, 19], [14, 16], [15, 16], [16, 18], [18, 19]], "family": "nppc_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-clique-l3-s6/instruction.md b/tasks/construct-nppc-clique-l3-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..463540ba0378369847dfb32ebc49791ca08761ed --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s6/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 20 vertices labelled 0..19 and 107 edges: +[[0, 1], [0, 3], [0, 4], [0, 5], [0, 7], [0, 9], [0, 11], [0, 12], [0, 13], [0, 14], [0, 19], [1, 3], [1, 5], [1, 7], [1, 8], [1, 11], [1, 18], [2, 3], [2, 9], [2, 10], [2, 11], [2, 13], [2, 15], [2, 16], [2, 17], [2, 18], [3, 4], [3, 5], [3, 7], [3, 8], [3, 9], [3, 11], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 18], [3, 19], [4, 5], [4, 6], [4, 8], [4, 9], [4, 11], [4, 12], [4, 13], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [5, 7], [5, 8], [5, 9], [5, 11], [5, 12], [5, 13], [5, 14], [5, 17], [5, 18], [5, 19], [6, 8], [6, 18], [7, 8], [7, 9], [7, 11], [7, 13], [7, 15], [7, 17], [7, 18], [8, 9], [8, 11], [8, 12], [8, 13], [8, 18], [8, 19], [9, 11], [9, 12], [9, 13], [9, 14], [9, 18], [9, 19], [10, 11], [10, 12], [10, 13], [10, 16], [10, 17], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [12, 13], [12, 14], [12, 18], [12, 19], [13, 16], [13, 17], [13, 18], [13, 19], [14, 16], [15, 16], [16, 18], [18, 19]] + +Find a clique of size at least 10: a set of distinct vertices every two of which are joined by an edge. + +Answer format: {"clique": [v_1, v_2, ...]} (at least 10 distinct integers in 0..19). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-clique-l3-s6/solution/solve.sh b/tasks/construct-nppc-clique-l3-s6/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..d89a472741132d9f9e7022a9f8d748fa4e394273 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s6/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [3, 4, 5, 8, 9, 11, 12, 13, 18, 19]} +RLMATH_EOF diff --git a/tasks/construct-nppc-clique-l3-s6/task.toml b/tasks/construct-nppc-clique-l3-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..8d3425f0a134f66aef98dfc6ec7408b963945e78 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-clique-l3-s6" +version = "0.2.0" +description = "construct/nppc_clique" +authors = [] +keywords = ["rlmath", "construct", "nppc_clique"] + +[metadata] +subset = "construct" +family = "nppc_clique" +problem_key = "graph_clique" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "NPPC/clique" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-clique-l3-s6/tests/check.py b/tasks/construct-nppc-clique-l3-s6/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..98eb4fc9097fcfa31988cf0a8b79280cec2b7980 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s6/tests/check.py @@ -0,0 +1,19 @@ +"""Clique of size >= k. Accepts any valid clique.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + c = int_list(ans.get("clique"), None, 0, n - 1, "clique") + # upstream NPPC verifier checks len(list) >= k but only tests pairs u < v, so [v, v, ..., v] passed + if len(set(c)) != len(c): + raise Invalid("clique contains duplicates") + if len(c) < k: + raise Invalid(f"clique has {len(c)} < {k} vertices") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(c), 2): + if (u, v) not in es: + raise Invalid(f"no edge between {u} and {v}") + return None, {"size": len(c)} diff --git a/tasks/construct-nppc-clique-l3-s6/tests/instance.json b/tasks/construct-nppc-clique-l3-s6/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..958040d3b6791cb741ac6a7c3d774ff4b24767b5 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s6/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 20, "k": 10, "edges": [[0, 1], [0, 3], [0, 4], [0, 5], [0, 7], [0, 9], [0, 11], [0, 12], [0, 13], [0, 14], [0, 19], [1, 3], [1, 5], [1, 7], [1, 8], [1, 11], [1, 18], [2, 3], [2, 9], [2, 10], [2, 11], [2, 13], [2, 15], [2, 16], [2, 17], [2, 18], [3, 4], [3, 5], [3, 7], [3, 8], [3, 9], [3, 11], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 18], [3, 19], [4, 5], [4, 6], [4, 8], [4, 9], [4, 11], [4, 12], [4, 13], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [5, 7], [5, 8], [5, 9], [5, 11], [5, 12], [5, 13], [5, 14], [5, 17], [5, 18], [5, 19], [6, 8], [6, 18], [7, 8], [7, 9], [7, 11], [7, 13], [7, 15], [7, 17], [7, 18], [8, 9], [8, 11], [8, 12], [8, 13], [8, 18], [8, 19], [9, 11], [9, 12], [9, 13], [9, 14], [9, 18], [9, 19], [10, 11], [10, 12], [10, 13], [10, 16], [10, 17], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [12, 13], [12, 14], [12, 18], [12, 19], [13, 16], [13, 17], [13, 18], [13, 19], [14, 16], [15, 16], [16, 18], [18, 19]], "family": "nppc_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-clique-l3-s6/tests/run.py b/tasks/construct-nppc-clique-l3-s6/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s6/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-clique-l3-s6/tests/test.sh b/tasks/construct-nppc-clique-l3-s6/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s6/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-clique-l3-s8/environment/Dockerfile b/tasks/construct-nppc-clique-l3-s8/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s8/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-clique-l3-s8/environment/instance.json b/tasks/construct-nppc-clique-l3-s8/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..eb4f881f497c5bc1a680e94d15b497fdbd85e146 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s8/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 20, "k": 10, "edges": [[0, 1], [0, 3], [0, 4], [0, 5], [0, 6], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 16], [0, 17], [0, 18], [0, 19], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 8], [1, 9], [1, 10], [1, 11], [1, 13], [1, 14], [1, 16], [1, 17], [2, 3], [2, 8], [2, 9], [2, 11], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [3, 4], [3, 6], [3, 7], [3, 9], [3, 10], [3, 11], [3, 12], [3, 14], [3, 16], [3, 17], [3, 18], [4, 5], [4, 6], [4, 7], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 14], [4, 16], [4, 17], [4, 19], [5, 8], [5, 9], [5, 11], [5, 15], [5, 16], [5, 17], [6, 7], [6, 9], [6, 10], [6, 11], [6, 15], [6, 16], [6, 17], [6, 19], [7, 8], [7, 13], [7, 14], [7, 16], [7, 17], [7, 19], [8, 9], [8, 11], [8, 13], [8, 15], [8, 16], [9, 10], [9, 11], [9, 13], [9, 14], [9, 16], [9, 17], [9, 18], [9, 19], [10, 11], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [11, 12], [11, 14], [11, 16], [11, 17], [11, 19], [12, 13], [12, 14], [12, 16], [12, 18], [13, 16], [13, 19], [14, 18], [14, 19], [15, 18], [15, 19], [16, 17], [17, 18], [17, 19]], "family": "nppc_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-clique-l3-s8/instruction.md b/tasks/construct-nppc-clique-l3-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..4e69302e74730cc3db3c6011c5bea47a562a3fd6 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s8/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 20 vertices labelled 0..19 and 120 edges: +[[0, 1], [0, 3], [0, 4], [0, 5], [0, 6], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 16], [0, 17], [0, 18], [0, 19], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 8], [1, 9], [1, 10], [1, 11], [1, 13], [1, 14], [1, 16], [1, 17], [2, 3], [2, 8], [2, 9], [2, 11], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [3, 4], [3, 6], [3, 7], [3, 9], [3, 10], [3, 11], [3, 12], [3, 14], [3, 16], [3, 17], [3, 18], [4, 5], [4, 6], [4, 7], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 14], [4, 16], [4, 17], [4, 19], [5, 8], [5, 9], [5, 11], [5, 15], [5, 16], [5, 17], [6, 7], [6, 9], [6, 10], [6, 11], [6, 15], [6, 16], [6, 17], [6, 19], [7, 8], [7, 13], [7, 14], [7, 16], [7, 17], [7, 19], [8, 9], [8, 11], [8, 13], [8, 15], [8, 16], [9, 10], [9, 11], [9, 13], [9, 14], [9, 16], [9, 17], [9, 18], [9, 19], [10, 11], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [11, 12], [11, 14], [11, 16], [11, 17], [11, 19], [12, 13], [12, 14], [12, 16], [12, 18], [13, 16], [13, 19], [14, 18], [14, 19], [15, 18], [15, 19], [16, 17], [17, 18], [17, 19]] + +Find a clique of size at least 10: a set of distinct vertices every two of which are joined by an edge. + +Answer format: {"clique": [v_1, v_2, ...]} (at least 10 distinct integers in 0..19). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-clique-l3-s8/solution/solve.sh b/tasks/construct-nppc-clique-l3-s8/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..f74ceb219e38c6e2ef66bf27becde93ff5a0acef --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s8/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [0, 1, 3, 4, 6, 9, 10, 11, 16, 17]} +RLMATH_EOF diff --git a/tasks/construct-nppc-clique-l3-s8/task.toml b/tasks/construct-nppc-clique-l3-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5db722e33dcef8470e2ddf21e1dd8135375f02f4 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-clique-l3-s8" +version = "0.2.0" +description = "construct/nppc_clique" +authors = [] +keywords = ["rlmath", "construct", "nppc_clique"] + +[metadata] +subset = "construct" +family = "nppc_clique" +problem_key = "graph_clique" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "NPPC/clique" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-clique-l3-s8/tests/check.py b/tasks/construct-nppc-clique-l3-s8/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..98eb4fc9097fcfa31988cf0a8b79280cec2b7980 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s8/tests/check.py @@ -0,0 +1,19 @@ +"""Clique of size >= k. Accepts any valid clique.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + c = int_list(ans.get("clique"), None, 0, n - 1, "clique") + # upstream NPPC verifier checks len(list) >= k but only tests pairs u < v, so [v, v, ..., v] passed + if len(set(c)) != len(c): + raise Invalid("clique contains duplicates") + if len(c) < k: + raise Invalid(f"clique has {len(c)} < {k} vertices") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(c), 2): + if (u, v) not in es: + raise Invalid(f"no edge between {u} and {v}") + return None, {"size": len(c)} diff --git a/tasks/construct-nppc-clique-l3-s8/tests/instance.json b/tasks/construct-nppc-clique-l3-s8/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..eb4f881f497c5bc1a680e94d15b497fdbd85e146 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s8/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 20, "k": 10, "edges": [[0, 1], [0, 3], [0, 4], [0, 5], [0, 6], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 16], [0, 17], [0, 18], [0, 19], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 8], [1, 9], [1, 10], [1, 11], [1, 13], [1, 14], [1, 16], [1, 17], [2, 3], [2, 8], [2, 9], [2, 11], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [3, 4], [3, 6], [3, 7], [3, 9], [3, 10], [3, 11], [3, 12], [3, 14], [3, 16], [3, 17], [3, 18], [4, 5], [4, 6], [4, 7], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 14], [4, 16], [4, 17], [4, 19], [5, 8], [5, 9], [5, 11], [5, 15], [5, 16], [5, 17], [6, 7], [6, 9], [6, 10], [6, 11], [6, 15], [6, 16], [6, 17], [6, 19], [7, 8], [7, 13], [7, 14], [7, 16], [7, 17], [7, 19], [8, 9], [8, 11], [8, 13], [8, 15], [8, 16], [9, 10], [9, 11], [9, 13], [9, 14], [9, 16], [9, 17], [9, 18], [9, 19], [10, 11], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [11, 12], [11, 14], [11, 16], [11, 17], [11, 19], [12, 13], [12, 14], [12, 16], [12, 18], [13, 16], [13, 19], [14, 18], [14, 19], [15, 18], [15, 19], [16, 17], [17, 18], [17, 19]], "family": "nppc_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-clique-l3-s8/tests/run.py b/tasks/construct-nppc-clique-l3-s8/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s8/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-clique-l3-s8/tests/test.sh b/tasks/construct-nppc-clique-l3-s8/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-clique-l3-s8/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-dominating-set-l3-s8/instruction.md b/tasks/construct-nppc-dominating-set-l3-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..999410e49344c64b0692c71b164e9ad2b4cb210c --- /dev/null +++ b/tasks/construct-nppc-dominating-set-l3-s8/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 50 vertices labelled 0..49 and 371 edges: +[[0, 2], [0, 5], [0, 6], [0, 13], [0, 15], [0, 18], [0, 19], [0, 27], [0, 28], [0, 30], [0, 34], [0, 37], [0, 38], [0, 41], [0, 42], [0, 46], [0, 47], [0, 48], [0, 49], [1, 3], [1, 4], [1, 5], [1, 9], [1, 13], [1, 15], [1, 18], [1, 19], [1, 23], [1, 28], [1, 29], [1, 35], [1, 40], [1, 41], [1, 45], [1, 47], [2, 4], [2, 7], [2, 8], [2, 12], [2, 13], [2, 17], [2, 18], [2, 20], [2, 22], [2, 26], [2, 27], [2, 28], [2, 35], [2, 36], [2, 37], [2, 41], [2, 45], [2, 49], [3, 7], [3, 8], [3, 10], [3, 12], [3, 14], [3, 17], [3, 18], [3, 29], [3, 30], [3, 32], [3, 39], [3, 43], [3, 45], [3, 46], [3, 48], [3, 49], [4, 9], [4, 18], [4, 22], [4, 27], [4, 34], [4, 38], [4, 40], [4, 43], [4, 44], [4, 47], [4, 49], [5, 9], [5, 12], [5, 15], [5, 24], [5, 25], [5, 31], [5, 32], [5, 33], [5, 40], [5, 42], [5, 44], [5, 46], [5, 47], [6, 11], [6, 13], [6, 16], [6, 23], [6, 27], [6, 28], [6, 31], [6, 35], [6, 37], [6, 38], [6, 44], [6, 46], [6, 49], [7, 12], [7, 19], [7, 24], [7, 25], [7, 35], [7, 36], [7, 40], [7, 47], [7, 49], [8, 13], [8, 22], [8, 24], [8, 28], [8, 34], [8, 36], [8, 37], [8, 42], [8, 48], [8, 49], [9, 10], [9, 15], [9, 17], [9, 20], [9, 22], [9, 24], [9, 26], [9, 27], [9, 30], [9, 36], [9, 38], [9, 40], [9, 46], [9, 47], [10, 16], [10, 18], [10, 19], [10, 21], [10, 24], [10, 27], [10, 29], [10, 32], [10, 34], [10, 35], [10, 39], [10, 44], [11, 12], [11, 16], [11, 31], [11, 38], [11, 44], [11, 47], [11, 48], [11, 49], [12, 13], [12, 14], [12, 15], [12, 19], [12, 22], [12, 24], [12, 29], [12, 31], [12, 32], [12, 34], [12, 35], [12, 43], [12, 45], [13, 16], [13, 19], [13, 29], [13, 30], [13, 34], [13, 39], [13, 42], [13, 49], [14, 21], [14, 24], [14, 27], [14, 31], [14, 35], [14, 39], [14, 41], [14, 42], [14, 44], [14, 45], [14, 49], [15, 16], [15, 18], [15, 21], [15, 24], [15, 29], [15, 32], [15, 34], [15, 41], [15, 44], [16, 19], [16, 21], [16, 22], [16, 23], [16, 25], [16, 26], [16, 28], [16, 37], [16, 41], [17, 19], [17, 21], [17, 25], [17, 35], [17, 41], [17, 47], [17, 48], [18, 23], [18, 24], [18, 29], [18, 30], [18, 32], [18, 35], [18, 37], [18, 45], [18, 47], [19, 23], [19, 25], [19, 26], [19, 31], [19, 32], [19, 36], [19, 38], [19, 39], [20, 23], [20, 26], [20, 28], [20, 30], [20, 32], [20, 41], [20, 46], [21, 24], [21, 28], [21, 30], [21, 34], [21, 36], [21, 37], [21, 38], [21, 42], [21, 43], [21, 44], [21, 46], [22, 29], [22, 30], [22, 37], [22, 39], [22, 40], [22, 43], [22, 46], [22, 47], [22, 49], [23, 35], [23, 38], [23, 41], [23, 44], [23, 45], [23, 46], [23, 49], [24, 27], [24, 35], [24, 36], [24, 38], [24, 45], [24, 47], [24, 48], [25, 29], [25, 30], [25, 32], [25, 33], [25, 37], [25, 40], [25, 42], [25, 44], [25, 47], [25, 49], [26, 28], [26, 31], [26, 34], [26, 35], [26, 36], [26, 40], [26, 43], [26, 46], [26, 47], [27, 30], [27, 35], [27, 37], [27, 42], [27, 47], [28, 31], [28, 32], [28, 34], [28, 35], [28, 40], [28, 46], [28, 47], [29, 30], [29, 34], [29, 37], [29, 43], [29, 49], [30, 31], [30, 32], [30, 38], [31, 32], [31, 33], [31, 35], [31, 44], [31, 49], [32, 36], [32, 37], [32, 38], [32, 44], [32, 48], [32, 49], [33, 35], [33, 39], [33, 40], [33, 43], [33, 44], [33, 45], [33, 49], [34, 36], [34, 39], [34, 41], [34, 42], [34, 43], [34, 44], [34, 47], [35, 39], [35, 41], [35, 45], [35, 47], [35, 48], [36, 37], [36, 38], [36, 42], [36, 44], [36, 46], [37, 38], [37, 39], [37, 40], [37, 42], [37, 43], [38, 43], [38, 44], [38, 46], [38, 47], [39, 40], [39, 42], [39, 48], [40, 42], [41, 44], [41, 46], [42, 44], [43, 48], [44, 46], [44, 48], [44, 49], [45, 46], [46, 47], [48, 49]] + +Find a dominating set of size at most 20: a set D of distinct vertices such that every vertex is in D or adjacent to a vertex of D. + +Answer format: {"dominating_set": [v_1, v_2, ...]} (distinct integers in 0..49, at most 20 of them). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-dominating-set-l3-s8/task.toml b/tasks/construct-nppc-dominating-set-l3-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..68c5340b73c087c8f97591f1bfd2d31c67f336ee --- /dev/null +++ b/tasks/construct-nppc-dominating-set-l3-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-dominating-set-l3-s8" +version = "0.2.0" +description = "construct/nppc_dominating_set" +authors = [] +keywords = ["rlmath", "construct", "nppc_dominating_set"] + +[metadata] +subset = "construct" +family = "nppc_dominating_set" +problem_key = "graph_dominating_set" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "NPPC/dominating_set" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-independent-set-l2-s1/environment/Dockerfile b/tasks/construct-nppc-independent-set-l2-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-independent-set-l2-s1/environment/instance.json b/tasks/construct-nppc-independent-set-l2-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..765e65881f7a524dca57415dd4d6b4bf39d88961 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s1/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 16, "k": 8, "edges": [[0, 1], [0, 2], [0, 6], [0, 7], [0, 8], [0, 9], [0, 11], [0, 12], [0, 14], [1, 3], [1, 4], [1, 5], [1, 9], [1, 13], [1, 14], [1, 15], [2, 8], [3, 5], [3, 10], [3, 11], [3, 14], [3, 15], [4, 5], [4, 7], [4, 8], [4, 9], [4, 11], [4, 13], [4, 14], [4, 15], [5, 14], [6, 8], [7, 12], [7, 14], [7, 15], [8, 9], [8, 10], [8, 14], [8, 15], [9, 12], [10, 12], [10, 14], [11, 12], [11, 15], [12, 14], [13, 14], [13, 15]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l2-s1/instruction.md b/tasks/construct-nppc-independent-set-l2-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..6a1c9fa099a44bd35773c4cbe19416f75eb87aac --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s1/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 16 vertices labelled 0..15 and 47 edges: +[[0, 1], [0, 2], [0, 6], [0, 7], [0, 8], [0, 9], [0, 11], [0, 12], [0, 14], [1, 3], [1, 4], [1, 5], [1, 9], [1, 13], [1, 14], [1, 15], [2, 8], [3, 5], [3, 10], [3, 11], [3, 14], [3, 15], [4, 5], [4, 7], [4, 8], [4, 9], [4, 11], [4, 13], [4, 14], [4, 15], [5, 14], [6, 8], [7, 12], [7, 14], [7, 15], [8, 9], [8, 10], [8, 14], [8, 15], [9, 12], [10, 12], [10, 14], [11, 12], [11, 15], [12, 14], [13, 14], [13, 15]] + +Find an independent set of size at least 8: a set of distinct vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (at least 8 distinct integers in 0..15). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-independent-set-l2-s1/solution/solve.sh b/tasks/construct-nppc-independent-set-l2-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..4aef9aa38d2fc51d5a18f9026f5cf6beb56e5a6b --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [2, 5, 6, 7, 9, 10, 11, 13]} +RLMATH_EOF diff --git a/tasks/construct-nppc-independent-set-l2-s1/task.toml b/tasks/construct-nppc-independent-set-l2-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..9b4ac061a14c760ac17d5e7284bd78c5a6c1cd3d --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-independent-set-l2-s1" +version = "0.2.0" +description = "construct/nppc_independent_set" +authors = [] +keywords = ["rlmath", "construct", "nppc_independent_set"] + +[metadata] +subset = "construct" +family = "nppc_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "NPPC/independent_set" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-independent-set-l2-s1/tests/check.py b/tasks/construct-nppc-independent-set-l2-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..92279a931488c7f39c08a3b11162b3f54a9c662a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s1/tests/check.py @@ -0,0 +1,19 @@ +"""Independent set of size >= k. Accepts any valid independent set.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + s = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + # upstream NPPC verifier checks len(list) >= size but only tests pairs u < v, so [v]*k passed + if len(set(s)) != len(s): + raise Invalid("independent_set contains duplicates") + if len(s) < k: + raise Invalid(f"independent_set has {len(s)} < {k} vertices") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(s), 2): + if (u, v) in es: + raise Invalid(f"edge between {u} and {v}") + return None, {"size": len(s)} diff --git a/tasks/construct-nppc-independent-set-l2-s1/tests/instance.json b/tasks/construct-nppc-independent-set-l2-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..765e65881f7a524dca57415dd4d6b4bf39d88961 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s1/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 16, "k": 8, "edges": [[0, 1], [0, 2], [0, 6], [0, 7], [0, 8], [0, 9], [0, 11], [0, 12], [0, 14], [1, 3], [1, 4], [1, 5], [1, 9], [1, 13], [1, 14], [1, 15], [2, 8], [3, 5], [3, 10], [3, 11], [3, 14], [3, 15], [4, 5], [4, 7], [4, 8], [4, 9], [4, 11], [4, 13], [4, 14], [4, 15], [5, 14], [6, 8], [7, 12], [7, 14], [7, 15], [8, 9], [8, 10], [8, 14], [8, 15], [9, 12], [10, 12], [10, 14], [11, 12], [11, 15], [12, 14], [13, 14], [13, 15]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l2-s1/tests/run.py b/tasks/construct-nppc-independent-set-l2-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-independent-set-l2-s1/tests/test.sh b/tasks/construct-nppc-independent-set-l2-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-independent-set-l2-s6/environment/Dockerfile b/tasks/construct-nppc-independent-set-l2-s6/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s6/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-independent-set-l2-s6/environment/instance.json b/tasks/construct-nppc-independent-set-l2-s6/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e1da9e1ecf473d1f0362268f9426b597923f6cc0 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s6/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 16, "k": 8, "edges": [[0, 3], [0, 4], [0, 6], [0, 7], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 15], [1, 2], [1, 3], [1, 6], [1, 9], [1, 11], [1, 15], [2, 3], [2, 4], [2, 7], [2, 8], [2, 10], [2, 13], [2, 14], [3, 4], [3, 5], [3, 6], [3, 8], [3, 9], [3, 11], [3, 12], [3, 15], [4, 6], [4, 11], [4, 14], [4, 15], [5, 6], [5, 14], [5, 15], [6, 9], [6, 10], [6, 13], [7, 11], [8, 14], [8, 15], [9, 11], [9, 12], [9, 13], [10, 14], [11, 12], [11, 13], [11, 14], [12, 14], [13, 15], [14, 15]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l2-s6/instruction.md b/tasks/construct-nppc-independent-set-l2-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..6a7cb8b338073e48f006105b9db1318e0e70c90b --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s6/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 16 vertices labelled 0..15 and 54 edges: +[[0, 3], [0, 4], [0, 6], [0, 7], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 15], [1, 2], [1, 3], [1, 6], [1, 9], [1, 11], [1, 15], [2, 3], [2, 4], [2, 7], [2, 8], [2, 10], [2, 13], [2, 14], [3, 4], [3, 5], [3, 6], [3, 8], [3, 9], [3, 11], [3, 12], [3, 15], [4, 6], [4, 11], [4, 14], [4, 15], [5, 6], [5, 14], [5, 15], [6, 9], [6, 10], [6, 13], [7, 11], [8, 14], [8, 15], [9, 11], [9, 12], [9, 13], [10, 14], [11, 12], [11, 13], [11, 14], [12, 14], [13, 15], [14, 15]] + +Find an independent set of size at least 8: a set of distinct vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (at least 8 distinct integers in 0..15). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-independent-set-l2-s6/solution/solve.sh b/tasks/construct-nppc-independent-set-l2-s6/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..d2d2a8595124d5583aa671a9af0ae46f55db75d5 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s6/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [1, 4, 5, 7, 8, 10, 12, 13]} +RLMATH_EOF diff --git a/tasks/construct-nppc-independent-set-l2-s6/task.toml b/tasks/construct-nppc-independent-set-l2-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..ce1119f114ad0ea65cfce364517a836cc1e5f5e2 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-independent-set-l2-s6" +version = "0.2.0" +description = "construct/nppc_independent_set" +authors = [] +keywords = ["rlmath", "construct", "nppc_independent_set"] + +[metadata] +subset = "construct" +family = "nppc_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "NPPC/independent_set" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-independent-set-l2-s6/tests/check.py b/tasks/construct-nppc-independent-set-l2-s6/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..92279a931488c7f39c08a3b11162b3f54a9c662a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s6/tests/check.py @@ -0,0 +1,19 @@ +"""Independent set of size >= k. Accepts any valid independent set.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + s = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + # upstream NPPC verifier checks len(list) >= size but only tests pairs u < v, so [v]*k passed + if len(set(s)) != len(s): + raise Invalid("independent_set contains duplicates") + if len(s) < k: + raise Invalid(f"independent_set has {len(s)} < {k} vertices") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(s), 2): + if (u, v) in es: + raise Invalid(f"edge between {u} and {v}") + return None, {"size": len(s)} diff --git a/tasks/construct-nppc-independent-set-l2-s6/tests/instance.json b/tasks/construct-nppc-independent-set-l2-s6/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e1da9e1ecf473d1f0362268f9426b597923f6cc0 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s6/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 16, "k": 8, "edges": [[0, 3], [0, 4], [0, 6], [0, 7], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 15], [1, 2], [1, 3], [1, 6], [1, 9], [1, 11], [1, 15], [2, 3], [2, 4], [2, 7], [2, 8], [2, 10], [2, 13], [2, 14], [3, 4], [3, 5], [3, 6], [3, 8], [3, 9], [3, 11], [3, 12], [3, 15], [4, 6], [4, 11], [4, 14], [4, 15], [5, 6], [5, 14], [5, 15], [6, 9], [6, 10], [6, 13], [7, 11], [8, 14], [8, 15], [9, 11], [9, 12], [9, 13], [10, 14], [11, 12], [11, 13], [11, 14], [12, 14], [13, 15], [14, 15]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l2-s6/tests/run.py b/tasks/construct-nppc-independent-set-l2-s6/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s6/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-independent-set-l2-s6/tests/test.sh b/tasks/construct-nppc-independent-set-l2-s6/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s6/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-independent-set-l2-s8/environment/Dockerfile b/tasks/construct-nppc-independent-set-l2-s8/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s8/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-independent-set-l2-s8/environment/instance.json b/tasks/construct-nppc-independent-set-l2-s8/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..a7f2783ad66867c5f0c50b1c8d12f813368a9a89 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s8/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 16, "k": 8, "edges": [[0, 1], [0, 8], [0, 9], [0, 10], [0, 13], [1, 5], [1, 8], [1, 9], [1, 10], [1, 12], [1, 14], [2, 4], [2, 5], [2, 6], [2, 7], [2, 9], [2, 10], [2, 12], [2, 13], [3, 9], [3, 10], [3, 12], [3, 13], [4, 12], [4, 15], [5, 8], [5, 9], [5, 15], [6, 8], [6, 10], [6, 12], [7, 8], [7, 12], [7, 15], [8, 10], [8, 11], [8, 13], [8, 14], [9, 11], [9, 12], [9, 13], [10, 12], [10, 14], [11, 13], [12, 13], [12, 14], [12, 15]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l2-s8/instruction.md b/tasks/construct-nppc-independent-set-l2-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..64a279e1e3ff2f20ff05a5c954633ffb08f0230b --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s8/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 16 vertices labelled 0..15 and 47 edges: +[[0, 1], [0, 8], [0, 9], [0, 10], [0, 13], [1, 5], [1, 8], [1, 9], [1, 10], [1, 12], [1, 14], [2, 4], [2, 5], [2, 6], [2, 7], [2, 9], [2, 10], [2, 12], [2, 13], [3, 9], [3, 10], [3, 12], [3, 13], [4, 12], [4, 15], [5, 8], [5, 9], [5, 15], [6, 8], [6, 10], [6, 12], [7, 8], [7, 12], [7, 15], [8, 10], [8, 11], [8, 13], [8, 14], [9, 11], [9, 12], [9, 13], [10, 12], [10, 14], [11, 13], [12, 13], [12, 14], [12, 15]] + +Find an independent set of size at least 8: a set of distinct vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (at least 8 distinct integers in 0..15). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-independent-set-l2-s8/solution/solve.sh b/tasks/construct-nppc-independent-set-l2-s8/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..464b1b00325a87aa00519e34d72223747c39c7f7 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s8/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [0, 3, 4, 5, 6, 7, 11, 14]} +RLMATH_EOF diff --git a/tasks/construct-nppc-independent-set-l2-s8/task.toml b/tasks/construct-nppc-independent-set-l2-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..d70869b2a6a60bbe327bb3753b58ed6a136dd852 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-independent-set-l2-s8" +version = "0.2.0" +description = "construct/nppc_independent_set" +authors = [] +keywords = ["rlmath", "construct", "nppc_independent_set"] + +[metadata] +subset = "construct" +family = "nppc_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "NPPC/independent_set" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-independent-set-l2-s8/tests/check.py b/tasks/construct-nppc-independent-set-l2-s8/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..92279a931488c7f39c08a3b11162b3f54a9c662a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s8/tests/check.py @@ -0,0 +1,19 @@ +"""Independent set of size >= k. Accepts any valid independent set.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + s = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + # upstream NPPC verifier checks len(list) >= size but only tests pairs u < v, so [v]*k passed + if len(set(s)) != len(s): + raise Invalid("independent_set contains duplicates") + if len(s) < k: + raise Invalid(f"independent_set has {len(s)} < {k} vertices") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(s), 2): + if (u, v) in es: + raise Invalid(f"edge between {u} and {v}") + return None, {"size": len(s)} diff --git a/tasks/construct-nppc-independent-set-l2-s8/tests/instance.json b/tasks/construct-nppc-independent-set-l2-s8/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..a7f2783ad66867c5f0c50b1c8d12f813368a9a89 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s8/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 16, "k": 8, "edges": [[0, 1], [0, 8], [0, 9], [0, 10], [0, 13], [1, 5], [1, 8], [1, 9], [1, 10], [1, 12], [1, 14], [2, 4], [2, 5], [2, 6], [2, 7], [2, 9], [2, 10], [2, 12], [2, 13], [3, 9], [3, 10], [3, 12], [3, 13], [4, 12], [4, 15], [5, 8], [5, 9], [5, 15], [6, 8], [6, 10], [6, 12], [7, 8], [7, 12], [7, 15], [8, 10], [8, 11], [8, 13], [8, 14], [9, 11], [9, 12], [9, 13], [10, 12], [10, 14], [11, 13], [12, 13], [12, 14], [12, 15]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l2-s8/tests/run.py b/tasks/construct-nppc-independent-set-l2-s8/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s8/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-independent-set-l2-s8/tests/test.sh b/tasks/construct-nppc-independent-set-l2-s8/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l2-s8/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-independent-set-l6-s0/environment/Dockerfile b/tasks/construct-nppc-independent-set-l6-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-independent-set-l6-s0/environment/instance.json b/tasks/construct-nppc-independent-set-l6-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e32e84d3aab3dcfb8f8c58b707937dd892a72a70 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s0/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 100, "k": 30, "edges": [[0, 1], [0, 4], [0, 7], [0, 10], [0, 12], [0, 13], [0, 22], [0, 26], [0, 36], [0, 37], [0, 38], [0, 40], [0, 41], [0, 50], [0, 52], [0, 53], [0, 54], [0, 56], [0, 64], [0, 70], [0, 80], [0, 85], [0, 92], [0, 99], [1, 6], [1, 13], [1, 15], [1, 19], [1, 26], [1, 39], [1, 41], [1, 47], [1, 48], [1, 50], [1, 53], [1, 57], [1, 68], [1, 70], [1, 71], [1, 73], [1, 74], [1, 81], [1, 91], [2, 3], [2, 5], [2, 8], [2, 13], [2, 15], [2, 20], [2, 23], [2, 24], [2, 25], [2, 33], [2, 47], [2, 48], [2, 56], [2, 58], [2, 60], [2, 63], [2, 66], [2, 71], [2, 78], [2, 85], [2, 93], [2, 97], [2, 98], [3, 7], [3, 10], [3, 12], [3, 15], [3, 27], [3, 29], [3, 30], [3, 31], [3, 35], [3, 41], [3, 44], [3, 45], [3, 52], [3, 57], [3, 62], [3, 63], [3, 67], [3, 68], [3, 69], [3, 70], [3, 75], [3, 76], [3, 81], [3, 90], [3, 91], [3, 93], [3, 95], [3, 96], [3, 99], [4, 8], [4, 14], [4, 17], [4, 18], [4, 26], [4, 37], [4, 40], [4, 48], [4, 51], [4, 56], [4, 57], [4, 58], [4, 63], [4, 66], [4, 68], [4, 71], [4, 81], [4, 85], [4, 91], [4, 97], [5, 8], [5, 9], [5, 13], [5, 14], [5, 15], [5, 16], [5, 22], [5, 23], [5, 25], [5, 26], [5, 27], [5, 29], [5, 30], [5, 32], [5, 35], [5, 36], [5, 37], [5, 39], [5, 40], [5, 41], [5, 51], [5, 54], [5, 58], [5, 60], [5, 64], [5, 68], [5, 69], [5, 70], [5, 71], [5, 73], [5, 77], [5, 78], [5, 79], [5, 80], [5, 84], [5, 85], [5, 91], [5, 94], [6, 8], [6, 9], [6, 14], [6, 16], [6, 19], [6, 20], [6, 24], [6, 27], [6, 28], [6, 29], [6, 35], [6, 36], [6, 40], [6, 45], [6, 50], [6, 61], [6, 63], [6, 64], [6, 73], [6, 80], [6, 84], [6, 88], [6, 89], [6, 94], [6, 95], [6, 97], [6, 99], [7, 9], [7, 15], [7, 16], [7, 17], [7, 18], [7, 20], [7, 21], [7, 25], [7, 31], [7, 33], [7, 35], [7, 47], [7, 54], [7, 57], [7, 61], [7, 66], [7, 67], [7, 70], [7, 77], [7, 81], [7, 82], [7, 85], [7, 87], [7, 88], [7, 89], [7, 93], [7, 95], [7, 99], [8, 9], [8, 18], [8, 22], [8, 24], [8, 29], [8, 30], [8, 35], [8, 45], [8, 50], [8, 53], [8, 60], [8, 61], [8, 65], [8, 68], [8, 70], [8, 71], [8, 74], [8, 75], [8, 78], [8, 79], [8, 82], [8, 83], [8, 93], [8, 97], [9, 10], [9, 11], [9, 15], [9, 16], [9, 18], [9, 22], [9, 33], [9, 36], [9, 38], [9, 39], [9, 41], [9, 43], [9, 49], [9, 58], [9, 60], [9, 62], [9, 63], [9, 65], [9, 66], [9, 67], [9, 69], [9, 71], [9, 75], [9, 76], [9, 78], [9, 81], [9, 87], [9, 94], [10, 11], [10, 12], [10, 13], [10, 14], [10, 21], [10, 23], [10, 29], [10, 30], [10, 38], [10, 46], [10, 56], [10, 59], [10, 60], [10, 65], [10, 67], [10, 73], [10, 75], [10, 79], [10, 81], [10, 84], [10, 85], [10, 89], [10, 92], [10, 97], [10, 99], [11, 12], [11, 16], [11, 17], [11, 19], [11, 22], [11, 24], [11, 25], [11, 34], [11, 41], [11, 45], [11, 46], [11, 50], [11, 55], [11, 60], [11, 62], [11, 63], [11, 64], [11, 65], [11, 66], [11, 67], [11, 68], [11, 70], [11, 73], [11, 76], [11, 82], [11, 83], [11, 90], [11, 98], [12, 18], [12, 20], [12, 32], [12, 34], [12, 36], [12, 38], [12, 44], [12, 54], [12, 61], [12, 71], [12, 75], [12, 76], [12, 77], [12, 80], [12, 81], [12, 82], [12, 84], [12, 87], [12, 88], [12, 91], [12, 93], [12, 94], [13, 19], [13, 22], [13, 24], [13, 30], [13, 40], [13, 41], [13, 50], [13, 51], [13, 53], [13, 54], [13, 56], [13, 57], [13, 59], [13, 60], [13, 68], [13, 72], [13, 85], [13, 86], [13, 90], [13, 93], [13, 98], [14, 18], [14, 19], [14, 21], [14, 24], [14, 28], [14, 33], [14, 34], [14, 39], [14, 43], [14, 44], [14, 50], [14, 52], [14, 58], [14, 69], [14, 71], [14, 73], [14, 75], [14, 76], [14, 78], [14, 81], [14, 84], [14, 91], [14, 92], [15, 16], [15, 18], [15, 20], [15, 21], [15, 24], [15, 33], [15, 34], [15, 35], [15, 36], [15, 43], [15, 44], [15, 45], [15, 46], [15, 48], [15, 49], [15, 55], [15, 56], [15, 57], [15, 59], [15, 60], [15, 62], [15, 64], [15, 65], [15, 67], [15, 68], [15, 69], [15, 71], [15, 72], [15, 74], [15, 78], [15, 79], [15, 80], [15, 84], [15, 87], [15, 89], [15, 92], [15, 95], [15, 96], [15, 98], [15, 99], [16, 17], [16, 19], [16, 26], [16, 29], [16, 33], [16, 39], [16, 47], [16, 48], [16, 50], [16, 61], [16, 66], [16, 74], [16, 84], [16, 87], [16, 95], [16, 97], [17, 18], [17, 20], [17, 23], [17, 26], [17, 31], [17, 32], [17, 34], [17, 36], [17, 37], [17, 38], [17, 48], [17, 49], [17, 50], [17, 55], [17, 58], [17, 63], [17, 67], [17, 69], [17, 71], [17, 77], [17, 79], [17, 80], [17, 81], [17, 83], [17, 91], [17, 92], [17, 98], [17, 99], [18, 19], [18, 21], [18, 25], [18, 28], [18, 29], [18, 30], [18, 32], [18, 36], [18, 37], [18, 38], [18, 40], [18, 41], [18, 42], [18, 45], [18, 46], [18, 55], [18, 57], [18, 58], [18, 59], [18, 60], [18, 64], [18, 67], [18, 71], [18, 73], [18, 75], [18, 78], [18, 79], [18, 81], [18, 85], [18, 91], [18, 96], [18, 97], [19, 22], [19, 29], [19, 30], [19, 32], [19, 34], [19, 35], [19, 41], [19, 45], [19, 57], [19, 60], [19, 62], [19, 72], [19, 73], [19, 74], [19, 75], [19, 79], [19, 80], [19, 85], [19, 90], [19, 97], [20, 27], [20, 35], [20, 39], [20, 41], [20, 46], [20, 50], [20, 51], [20, 53], [20, 54], [20, 58], [20, 60], [20, 63], [20, 75], [20, 78], [20, 79], [20, 87], [20, 92], [20, 94], [20, 95], [20, 96], [20, 98], [20, 99], [21, 23], [21, 26], [21, 38], [21, 39], [21, 40], [21, 47], [21, 50], [21, 54], [21, 57], [21, 61], [21, 68], [21, 74], [21, 75], [21, 76], [21, 77], [21, 85], [21, 89], [21, 93], [21, 99], [22, 23], [22, 26], [22, 30], [22, 47], [22, 50], [22, 58], [22, 62], [22, 72], [22, 75], [22, 76], [22, 78], [22, 81], [22, 87], [22, 89], [22, 91], [22, 92], [22, 95], [22, 98], [23, 24], [23, 25], [23, 30], [23, 31], [23, 33], [23, 37], [23, 41], [23, 42], [23, 48], [23, 50], [23, 51], [23, 52], [23, 55], [23, 56], [23, 58], [23, 61], [23, 62], [23, 73], [23, 76], [23, 82], [23, 85], [23, 88], [23, 92], [23, 94], [23, 95], [24, 25], [24, 29], [24, 37], [24, 40], [24, 47], [24, 52], [24, 53], [24, 57], [24, 61], [24, 63], [24, 69], [24, 70], [24, 74], [24, 82], [24, 85], [24, 86], [24, 88], [24, 92], [24, 95], [24, 99], [25, 27], [25, 30], [25, 31], [25, 32], [25, 36], [25, 46], [25, 49], [25, 55], [25, 56], [25, 57], [25, 60], [25, 62], [25, 65], [25, 67], [25, 69], [25, 76], [25, 78], [25, 80], [25, 82], [25, 86], [25, 87], [25, 92], [25, 94], [25, 97], [26, 27], [26, 29], [26, 31], [26, 35], [26, 44], [26, 47], [26, 50], [26, 54], [26, 60], [26, 62], [26, 63], [26, 64], [26, 66], [26, 67], [26, 69], [26, 73], [26, 79], [26, 88], [26, 92], [26, 96], [27, 28], [27, 29], [27, 40], [27, 41], [27, 45], [27, 50], [27, 51], [27, 60], [27, 64], [27, 73], [27, 75], [27, 76], [27, 81], [27, 84], [27, 85], [27, 91], [27, 97], [28, 29], [28, 31], [28, 33], [28, 35], [28, 38], [28, 45], [28, 51], [28, 59], [28, 60], [28, 61], [28, 62], [28, 64], [28, 65], [28, 67], [28, 68], [28, 71], [28, 73], [28, 75], [28, 78], [28, 81], [28, 84], [28, 88], [28, 89], [28, 90], [28, 92], [28, 95], [28, 96], [28, 99], [29, 30], [29, 31], [29, 32], [29, 36], [29, 39], [29, 41], [29, 53], [29, 55], [29, 60], [29, 67], [29, 71], [29, 80], [29, 81], [29, 86], [29, 89], [29, 97], [29, 98], [30, 32], [30, 35], [30, 36], [30, 38], [30, 39], [30, 47], [30, 50], [30, 52], [30, 56], [30, 58], [30, 61], [30, 67], [30, 74], [30, 81], [30, 90], [30, 91], [30, 92], [30, 93], [30, 94], [30, 96], [31, 45], [31, 47], [31, 54], [31, 60], [31, 62], [31, 63], [31, 64], [31, 70], [31, 71], [31, 75], [31, 93], [31, 95], [31, 99], [32, 33], [32, 37], [32, 38], [32, 40], [32, 41], [32, 54], [32, 57], [32, 59], [32, 68], [32, 78], [32, 81], [32, 92], [32, 93], [32, 98], [33, 35], [33, 39], [33, 41], [33, 46], [33, 48], [33, 51], [33, 55], [33, 57], [33, 59], [33, 61], [33, 67], [33, 68], [33, 69], [33, 71], [33, 72], [33, 73], [33, 74], [33, 75], [33, 76], [33, 78], [33, 79], [33, 80], [33, 84], [33, 87], [33, 88], [33, 89], [33, 90], [33, 93], [33, 96], [34, 37], [34, 47], [34, 58], [34, 59], [34, 60], [34, 76], [34, 78], [34, 84], [34, 89], [34, 92], [34, 97], [35, 43], [35, 44], [35, 53], [35, 55], [35, 63], [35, 65], [35, 67], [35, 69], [35, 70], [35, 76], [35, 81], [35, 84], [35, 85], [35, 87], [35, 92], [35, 93], [35, 94], [35, 96], [36, 39], [36, 40], [36, 47], [36, 54], [36, 60], [36, 63], [36, 66], [36, 70], [36, 72], [36, 73], [36, 74], [36, 75], [36, 87], [36, 89], [36, 91], [36, 92], [36, 98], [37, 39], [37, 43], [37, 47], [37, 48], [37, 50], [37, 52], [37, 55], [37, 61], [37, 63], [37, 65], [37, 72], [37, 73], [37, 75], [37, 76], [37, 83], [37, 92], [37, 94], [37, 96], [37, 97], [37, 98], [38, 39], [38, 41], [38, 46], [38, 48], [38, 57], [38, 59], [38, 64], [38, 65], [38, 66], [38, 73], [38, 74], [38, 80], [38, 81], [38, 83], [38, 85], [38, 94], [38, 99], [39, 44], [39, 45], [39, 49], [39, 51], [39, 56], [39, 58], [39, 66], [39, 79], [39, 80], [39, 87], [39, 98], [40, 46], [40, 52], [40, 53], [40, 55], [40, 66], [40, 70], [40, 71], [40, 76], [40, 77], [40, 82], [40, 88], [40, 92], [40, 93], [41, 45], [41, 46], [41, 48], [41, 56], [41, 59], [41, 63], [41, 70], [41, 76], [41, 78], [41, 82], [41, 83], [41, 88], [41, 93], [41, 97], [42, 47], [42, 48], [42, 61], [42, 62], [42, 66], [42, 71], [42, 72], [42, 74], [42, 78], [42, 89], [42, 92], [42, 99], [43, 56], [43, 58], [43, 62], [43, 64], [43, 66], [43, 74], [43, 75], [43, 76], [43, 84], [43, 91], [43, 92], [43, 97], [43, 98], [43, 99], [44, 47], [44, 48], [44, 54], [44, 56], [44, 63], [44, 77], [44, 87], [44, 89], [44, 98], [45, 50], [45, 53], [45, 56], [45, 59], [45, 60], [45, 62], [45, 63], [45, 64], [45, 65], [45, 69], [45, 75], [45, 76], [45, 78], [45, 83], [45, 84], [45, 91], [45, 95], [45, 96], [45, 99], [46, 51], [46, 54], [46, 58], [46, 60], [46, 62], [46, 71], [46, 72], [46, 81], [46, 84], [46, 92], [46, 95], [46, 99], [47, 51], [47, 52], [47, 53], [47, 57], [47, 59], [47, 61], [47, 65], [47, 70], [47, 80], [47, 88], [47, 94], [47, 96], [47, 98], [47, 99], [48, 56], [48, 68], [48, 76], [48, 78], [48, 83], [48, 84], [48, 85], [48, 91], [48, 94], [48, 95], [49, 50], [49, 51], [49, 54], [49, 57], [49, 58], [49, 61], [49, 66], [49, 70], [49, 71], [49, 72], [49, 73], [49, 75], [49, 77], [49, 85], [49, 87], [49, 89], [49, 95], [49, 97], [49, 98], [50, 51], [50, 55], [50, 59], [50, 62], [50, 66], [50, 70], [50, 73], [50, 82], [50, 90], [50, 91], [50, 97], [50, 99], [51, 55], [51, 56], [51, 57], [51, 58], [51, 62], [51, 68], [51, 71], [51, 72], [51, 74], [51, 79], [51, 80], [51, 82], [51, 84], [51, 91], [51, 98], [52, 59], [52, 62], [52, 87], [52, 92], [52, 95], [52, 97], [52, 98], [52, 99], [53, 55], [53, 58], [53, 59], [53, 63], [53, 64], [53, 68], [53, 70], [53, 74], [53, 79], [53, 81], [53, 83], [53, 86], [53, 90], [53, 92], [53, 95], [53, 98], [54, 55], [54, 56], [54, 57], [54, 58], [54, 60], [54, 61], [54, 62], [54, 63], [54, 71], [54, 73], [54, 74], [54, 77], [54, 80], [54, 84], [54, 93], [55, 59], [55, 60], [55, 61], [55, 63], [55, 68], [55, 70], [55, 72], [55, 73], [55, 76], [55, 78], [55, 84], [55, 89], [55, 91], [55, 92], [55, 97], [55, 98], [56, 57], [56, 58], [56, 71], [56, 72], [56, 74], [56, 76], [56, 77], [56, 82], [56, 84], [56, 90], [56, 94], [56, 95], [56, 96], [56, 99], [57, 59], [57, 62], [57, 63], [57, 64], [57, 66], [57, 73], [57, 77], [57, 78], [57, 81], [57, 83], [57, 87], [57, 95], [57, 96], [57, 98], [58, 64], [58, 69], [58, 71], [58, 75], [58, 78], [58, 81], [58, 83], [58, 84], [58, 85], [58, 89], [58, 90], [58, 91], [58, 94], [58, 99], [59, 60], [59, 64], [59, 66], [59, 68], [59, 71], [59, 72], [59, 73], [59, 74], [59, 75], [59, 79], [59, 83], [59, 92], [59, 94], [59, 98], [60, 63], [60, 67], [60, 70], [60, 71], [60, 80], [60, 82], [60, 83], [60, 84], [60, 87], [60, 90], [60, 92], [60, 97], [61, 63], [61, 69], [61, 71], [61, 74], [61, 88], [61, 92], [62, 69], [62, 71], [62, 72], [62, 73], [62, 80], [62, 83], [62, 85], [62, 91], [62, 93], [62, 94], [62, 97], [62, 98], [63, 65], [63, 67], [63, 68], [63, 69], [63, 70], [63, 73], [63, 76], [63, 81], [63, 82], [63, 83], [63, 85], [63, 90], [63, 91], [63, 94], [63, 97], [64, 65], [64, 66], [64, 67], [64, 68], [64, 70], [64, 73], [64, 80], [64, 82], [64, 83], [64, 86], [64, 92], [64, 98], [64, 99], [65, 66], [65, 71], [65, 75], [65, 78], [65, 85], [65, 95], [65, 97], [65, 99], [66, 73], [66, 74], [66, 81], [66, 83], [66, 88], [66, 89], [66, 91], [66, 93], [66, 96], [66, 97], [66, 98], [66, 99], [67, 68], [67, 70], [67, 78], [67, 85], [67, 89], [67, 93], [68, 72], [68, 75], [68, 77], [68, 78], [68, 81], [68, 90], [68, 92], [68, 95], [69, 73], [69, 81], [69, 89], [69, 95], [69, 97], [70, 72], [70, 73], [70, 77], [70, 78], [70, 81], [70, 82], [70, 84], [70, 85], [70, 87], [70, 91], [70, 94], [70, 98], [71, 72], [71, 74], [71, 76], [71, 82], [71, 85], [71, 90], [71, 91], [71, 95], [71, 99], [72, 73], [72, 74], [72, 78], [72, 81], [72, 82], [72, 84], [72, 89], [72, 91], [72, 92], [72, 93], [72, 97], [73, 76], [73, 77], [73, 86], [73, 87], [73, 89], [73, 93], [73, 98], [74, 82], [74, 90], [74, 94], [74, 95], [74, 97], [75, 77], [75, 86], [75, 90], [75, 91], [75, 92], [75, 96], [75, 98], [76, 78], [76, 81], [76, 87], [76, 97], [76, 98], [76, 99], [77, 79], [77, 80], [77, 84], [77, 86], [77, 87], [77, 90], [77, 94], [77, 95], [77, 99], [78, 83], [78, 87], [78, 90], [78, 92], [79, 84], [79, 87], [79, 98], [80, 84], [80, 92], [80, 95], [81, 82], [81, 88], [81, 90], [81, 91], [81, 92], [81, 93], [81, 94], [81, 95], [81, 96], [82, 84], [82, 87], [82, 98], [83, 85], [83, 87], [84, 85], [84, 93], [84, 94], [84, 95], [84, 98], [85, 88], [85, 97], [85, 98], [86, 89], [86, 91], [86, 92], [86, 93], [86, 95], [86, 98], [87, 89], [87, 95], [87, 96], [88, 91], [88, 93], [88, 97], [89, 91], [89, 94], [89, 99], [91, 92], [92, 96], [93, 94], [93, 97], [93, 99], [94, 99], [95, 97], [95, 99], [96, 99]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l6-s0/instruction.md b/tasks/construct-nppc-independent-set-l6-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..4c21a5a8fa1768baa8d20087c345f552a790b885 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s0/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 100 vertices labelled 0..99 and 1388 edges: +[[0, 1], [0, 4], [0, 7], [0, 10], [0, 12], [0, 13], [0, 22], [0, 26], [0, 36], [0, 37], [0, 38], [0, 40], [0, 41], [0, 50], [0, 52], [0, 53], [0, 54], [0, 56], [0, 64], [0, 70], [0, 80], [0, 85], [0, 92], [0, 99], [1, 6], [1, 13], [1, 15], [1, 19], [1, 26], [1, 39], [1, 41], [1, 47], [1, 48], [1, 50], [1, 53], [1, 57], [1, 68], [1, 70], [1, 71], [1, 73], [1, 74], [1, 81], [1, 91], [2, 3], [2, 5], [2, 8], [2, 13], [2, 15], [2, 20], [2, 23], [2, 24], [2, 25], [2, 33], [2, 47], [2, 48], [2, 56], [2, 58], [2, 60], [2, 63], [2, 66], [2, 71], [2, 78], [2, 85], [2, 93], [2, 97], [2, 98], [3, 7], [3, 10], [3, 12], [3, 15], [3, 27], [3, 29], [3, 30], [3, 31], [3, 35], [3, 41], [3, 44], [3, 45], [3, 52], [3, 57], [3, 62], [3, 63], [3, 67], [3, 68], [3, 69], [3, 70], [3, 75], [3, 76], [3, 81], [3, 90], [3, 91], [3, 93], [3, 95], [3, 96], [3, 99], [4, 8], [4, 14], [4, 17], [4, 18], [4, 26], [4, 37], [4, 40], [4, 48], [4, 51], [4, 56], [4, 57], [4, 58], [4, 63], [4, 66], [4, 68], [4, 71], [4, 81], [4, 85], [4, 91], [4, 97], [5, 8], [5, 9], [5, 13], [5, 14], [5, 15], [5, 16], [5, 22], [5, 23], [5, 25], [5, 26], [5, 27], [5, 29], [5, 30], [5, 32], [5, 35], [5, 36], [5, 37], [5, 39], [5, 40], [5, 41], [5, 51], [5, 54], [5, 58], [5, 60], [5, 64], [5, 68], [5, 69], [5, 70], [5, 71], [5, 73], [5, 77], [5, 78], [5, 79], [5, 80], [5, 84], [5, 85], [5, 91], [5, 94], [6, 8], [6, 9], [6, 14], [6, 16], [6, 19], [6, 20], [6, 24], [6, 27], [6, 28], [6, 29], [6, 35], [6, 36], [6, 40], [6, 45], [6, 50], [6, 61], [6, 63], [6, 64], [6, 73], [6, 80], [6, 84], [6, 88], [6, 89], [6, 94], [6, 95], [6, 97], [6, 99], [7, 9], [7, 15], [7, 16], [7, 17], [7, 18], [7, 20], [7, 21], [7, 25], [7, 31], [7, 33], [7, 35], [7, 47], [7, 54], [7, 57], [7, 61], [7, 66], [7, 67], [7, 70], [7, 77], [7, 81], [7, 82], [7, 85], [7, 87], [7, 88], [7, 89], [7, 93], [7, 95], [7, 99], [8, 9], [8, 18], [8, 22], [8, 24], [8, 29], [8, 30], [8, 35], [8, 45], [8, 50], [8, 53], [8, 60], [8, 61], [8, 65], [8, 68], [8, 70], [8, 71], [8, 74], [8, 75], [8, 78], [8, 79], [8, 82], [8, 83], [8, 93], [8, 97], [9, 10], [9, 11], [9, 15], [9, 16], [9, 18], [9, 22], [9, 33], [9, 36], [9, 38], [9, 39], [9, 41], [9, 43], [9, 49], [9, 58], [9, 60], [9, 62], [9, 63], [9, 65], [9, 66], [9, 67], [9, 69], [9, 71], [9, 75], [9, 76], [9, 78], [9, 81], [9, 87], [9, 94], [10, 11], [10, 12], [10, 13], [10, 14], [10, 21], [10, 23], [10, 29], [10, 30], [10, 38], [10, 46], [10, 56], [10, 59], [10, 60], [10, 65], [10, 67], [10, 73], [10, 75], [10, 79], [10, 81], [10, 84], [10, 85], [10, 89], [10, 92], [10, 97], [10, 99], [11, 12], [11, 16], [11, 17], [11, 19], [11, 22], [11, 24], [11, 25], [11, 34], [11, 41], [11, 45], [11, 46], [11, 50], [11, 55], [11, 60], [11, 62], [11, 63], [11, 64], [11, 65], [11, 66], [11, 67], [11, 68], [11, 70], [11, 73], [11, 76], [11, 82], [11, 83], [11, 90], [11, 98], [12, 18], [12, 20], [12, 32], [12, 34], [12, 36], [12, 38], [12, 44], [12, 54], [12, 61], [12, 71], [12, 75], [12, 76], [12, 77], [12, 80], [12, 81], [12, 82], [12, 84], [12, 87], [12, 88], [12, 91], [12, 93], [12, 94], [13, 19], [13, 22], [13, 24], [13, 30], [13, 40], [13, 41], [13, 50], [13, 51], [13, 53], [13, 54], [13, 56], [13, 57], [13, 59], [13, 60], [13, 68], [13, 72], [13, 85], [13, 86], [13, 90], [13, 93], [13, 98], [14, 18], [14, 19], [14, 21], [14, 24], [14, 28], [14, 33], [14, 34], [14, 39], [14, 43], [14, 44], [14, 50], [14, 52], [14, 58], [14, 69], [14, 71], [14, 73], [14, 75], [14, 76], [14, 78], [14, 81], [14, 84], [14, 91], [14, 92], [15, 16], [15, 18], [15, 20], [15, 21], [15, 24], [15, 33], [15, 34], [15, 35], [15, 36], [15, 43], [15, 44], [15, 45], [15, 46], [15, 48], [15, 49], [15, 55], [15, 56], [15, 57], [15, 59], [15, 60], [15, 62], [15, 64], [15, 65], [15, 67], [15, 68], [15, 69], [15, 71], [15, 72], [15, 74], [15, 78], [15, 79], [15, 80], [15, 84], [15, 87], [15, 89], [15, 92], [15, 95], [15, 96], [15, 98], [15, 99], [16, 17], [16, 19], [16, 26], [16, 29], [16, 33], [16, 39], [16, 47], [16, 48], [16, 50], [16, 61], [16, 66], [16, 74], [16, 84], [16, 87], [16, 95], [16, 97], [17, 18], [17, 20], [17, 23], [17, 26], [17, 31], [17, 32], [17, 34], [17, 36], [17, 37], [17, 38], [17, 48], [17, 49], [17, 50], [17, 55], [17, 58], [17, 63], [17, 67], [17, 69], [17, 71], [17, 77], [17, 79], [17, 80], [17, 81], [17, 83], [17, 91], [17, 92], [17, 98], [17, 99], [18, 19], [18, 21], [18, 25], [18, 28], [18, 29], [18, 30], [18, 32], [18, 36], [18, 37], [18, 38], [18, 40], [18, 41], [18, 42], [18, 45], [18, 46], [18, 55], [18, 57], [18, 58], [18, 59], [18, 60], [18, 64], [18, 67], [18, 71], [18, 73], [18, 75], [18, 78], [18, 79], [18, 81], [18, 85], [18, 91], [18, 96], [18, 97], [19, 22], [19, 29], [19, 30], [19, 32], [19, 34], [19, 35], [19, 41], [19, 45], [19, 57], [19, 60], [19, 62], [19, 72], [19, 73], [19, 74], [19, 75], [19, 79], [19, 80], [19, 85], [19, 90], [19, 97], [20, 27], [20, 35], [20, 39], [20, 41], [20, 46], [20, 50], [20, 51], [20, 53], [20, 54], [20, 58], [20, 60], [20, 63], [20, 75], [20, 78], [20, 79], [20, 87], [20, 92], [20, 94], [20, 95], [20, 96], [20, 98], [20, 99], [21, 23], [21, 26], [21, 38], [21, 39], [21, 40], [21, 47], [21, 50], [21, 54], [21, 57], [21, 61], [21, 68], [21, 74], [21, 75], [21, 76], [21, 77], [21, 85], [21, 89], [21, 93], [21, 99], [22, 23], [22, 26], [22, 30], [22, 47], [22, 50], [22, 58], [22, 62], [22, 72], [22, 75], [22, 76], [22, 78], [22, 81], [22, 87], [22, 89], [22, 91], [22, 92], [22, 95], [22, 98], [23, 24], [23, 25], [23, 30], [23, 31], [23, 33], [23, 37], [23, 41], [23, 42], [23, 48], [23, 50], [23, 51], [23, 52], [23, 55], [23, 56], [23, 58], [23, 61], [23, 62], [23, 73], [23, 76], [23, 82], [23, 85], [23, 88], [23, 92], [23, 94], [23, 95], [24, 25], [24, 29], [24, 37], [24, 40], [24, 47], [24, 52], [24, 53], [24, 57], [24, 61], [24, 63], [24, 69], [24, 70], [24, 74], [24, 82], [24, 85], [24, 86], [24, 88], [24, 92], [24, 95], [24, 99], [25, 27], [25, 30], [25, 31], [25, 32], [25, 36], [25, 46], [25, 49], [25, 55], [25, 56], [25, 57], [25, 60], [25, 62], [25, 65], [25, 67], [25, 69], [25, 76], [25, 78], [25, 80], [25, 82], [25, 86], [25, 87], [25, 92], [25, 94], [25, 97], [26, 27], [26, 29], [26, 31], [26, 35], [26, 44], [26, 47], [26, 50], [26, 54], [26, 60], [26, 62], [26, 63], [26, 64], [26, 66], [26, 67], [26, 69], [26, 73], [26, 79], [26, 88], [26, 92], [26, 96], [27, 28], [27, 29], [27, 40], [27, 41], [27, 45], [27, 50], [27, 51], [27, 60], [27, 64], [27, 73], [27, 75], [27, 76], [27, 81], [27, 84], [27, 85], [27, 91], [27, 97], [28, 29], [28, 31], [28, 33], [28, 35], [28, 38], [28, 45], [28, 51], [28, 59], [28, 60], [28, 61], [28, 62], [28, 64], [28, 65], [28, 67], [28, 68], [28, 71], [28, 73], [28, 75], [28, 78], [28, 81], [28, 84], [28, 88], [28, 89], [28, 90], [28, 92], [28, 95], [28, 96], [28, 99], [29, 30], [29, 31], [29, 32], [29, 36], [29, 39], [29, 41], [29, 53], [29, 55], [29, 60], [29, 67], [29, 71], [29, 80], [29, 81], [29, 86], [29, 89], [29, 97], [29, 98], [30, 32], [30, 35], [30, 36], [30, 38], [30, 39], [30, 47], [30, 50], [30, 52], [30, 56], [30, 58], [30, 61], [30, 67], [30, 74], [30, 81], [30, 90], [30, 91], [30, 92], [30, 93], [30, 94], [30, 96], [31, 45], [31, 47], [31, 54], [31, 60], [31, 62], [31, 63], [31, 64], [31, 70], [31, 71], [31, 75], [31, 93], [31, 95], [31, 99], [32, 33], [32, 37], [32, 38], [32, 40], [32, 41], [32, 54], [32, 57], [32, 59], [32, 68], [32, 78], [32, 81], [32, 92], [32, 93], [32, 98], [33, 35], [33, 39], [33, 41], [33, 46], [33, 48], [33, 51], [33, 55], [33, 57], [33, 59], [33, 61], [33, 67], [33, 68], [33, 69], [33, 71], [33, 72], [33, 73], [33, 74], [33, 75], [33, 76], [33, 78], [33, 79], [33, 80], [33, 84], [33, 87], [33, 88], [33, 89], [33, 90], [33, 93], [33, 96], [34, 37], [34, 47], [34, 58], [34, 59], [34, 60], [34, 76], [34, 78], [34, 84], [34, 89], [34, 92], [34, 97], [35, 43], [35, 44], [35, 53], [35, 55], [35, 63], [35, 65], [35, 67], [35, 69], [35, 70], [35, 76], [35, 81], [35, 84], [35, 85], [35, 87], [35, 92], [35, 93], [35, 94], [35, 96], [36, 39], [36, 40], [36, 47], [36, 54], [36, 60], [36, 63], [36, 66], [36, 70], [36, 72], [36, 73], [36, 74], [36, 75], [36, 87], [36, 89], [36, 91], [36, 92], [36, 98], [37, 39], [37, 43], [37, 47], [37, 48], [37, 50], [37, 52], [37, 55], [37, 61], [37, 63], [37, 65], [37, 72], [37, 73], [37, 75], [37, 76], [37, 83], [37, 92], [37, 94], [37, 96], [37, 97], [37, 98], [38, 39], [38, 41], [38, 46], [38, 48], [38, 57], [38, 59], [38, 64], [38, 65], [38, 66], [38, 73], [38, 74], [38, 80], [38, 81], [38, 83], [38, 85], [38, 94], [38, 99], [39, 44], [39, 45], [39, 49], [39, 51], [39, 56], [39, 58], [39, 66], [39, 79], [39, 80], [39, 87], [39, 98], [40, 46], [40, 52], [40, 53], [40, 55], [40, 66], [40, 70], [40, 71], [40, 76], [40, 77], [40, 82], [40, 88], [40, 92], [40, 93], [41, 45], [41, 46], [41, 48], [41, 56], [41, 59], [41, 63], [41, 70], [41, 76], [41, 78], [41, 82], [41, 83], [41, 88], [41, 93], [41, 97], [42, 47], [42, 48], [42, 61], [42, 62], [42, 66], [42, 71], [42, 72], [42, 74], [42, 78], [42, 89], [42, 92], [42, 99], [43, 56], [43, 58], [43, 62], [43, 64], [43, 66], [43, 74], [43, 75], [43, 76], [43, 84], [43, 91], [43, 92], [43, 97], [43, 98], [43, 99], [44, 47], [44, 48], [44, 54], [44, 56], [44, 63], [44, 77], [44, 87], [44, 89], [44, 98], [45, 50], [45, 53], [45, 56], [45, 59], [45, 60], [45, 62], [45, 63], [45, 64], [45, 65], [45, 69], [45, 75], [45, 76], [45, 78], [45, 83], [45, 84], [45, 91], [45, 95], [45, 96], [45, 99], [46, 51], [46, 54], [46, 58], [46, 60], [46, 62], [46, 71], [46, 72], [46, 81], [46, 84], [46, 92], [46, 95], [46, 99], [47, 51], [47, 52], [47, 53], [47, 57], [47, 59], [47, 61], [47, 65], [47, 70], [47, 80], [47, 88], [47, 94], [47, 96], [47, 98], [47, 99], [48, 56], [48, 68], [48, 76], [48, 78], [48, 83], [48, 84], [48, 85], [48, 91], [48, 94], [48, 95], [49, 50], [49, 51], [49, 54], [49, 57], [49, 58], [49, 61], [49, 66], [49, 70], [49, 71], [49, 72], [49, 73], [49, 75], [49, 77], [49, 85], [49, 87], [49, 89], [49, 95], [49, 97], [49, 98], [50, 51], [50, 55], [50, 59], [50, 62], [50, 66], [50, 70], [50, 73], [50, 82], [50, 90], [50, 91], [50, 97], [50, 99], [51, 55], [51, 56], [51, 57], [51, 58], [51, 62], [51, 68], [51, 71], [51, 72], [51, 74], [51, 79], [51, 80], [51, 82], [51, 84], [51, 91], [51, 98], [52, 59], [52, 62], [52, 87], [52, 92], [52, 95], [52, 97], [52, 98], [52, 99], [53, 55], [53, 58], [53, 59], [53, 63], [53, 64], [53, 68], [53, 70], [53, 74], [53, 79], [53, 81], [53, 83], [53, 86], [53, 90], [53, 92], [53, 95], [53, 98], [54, 55], [54, 56], [54, 57], [54, 58], [54, 60], [54, 61], [54, 62], [54, 63], [54, 71], [54, 73], [54, 74], [54, 77], [54, 80], [54, 84], [54, 93], [55, 59], [55, 60], [55, 61], [55, 63], [55, 68], [55, 70], [55, 72], [55, 73], [55, 76], [55, 78], [55, 84], [55, 89], [55, 91], [55, 92], [55, 97], [55, 98], [56, 57], [56, 58], [56, 71], [56, 72], [56, 74], [56, 76], [56, 77], [56, 82], [56, 84], [56, 90], [56, 94], [56, 95], [56, 96], [56, 99], [57, 59], [57, 62], [57, 63], [57, 64], [57, 66], [57, 73], [57, 77], [57, 78], [57, 81], [57, 83], [57, 87], [57, 95], [57, 96], [57, 98], [58, 64], [58, 69], [58, 71], [58, 75], [58, 78], [58, 81], [58, 83], [58, 84], [58, 85], [58, 89], [58, 90], [58, 91], [58, 94], [58, 99], [59, 60], [59, 64], [59, 66], [59, 68], [59, 71], [59, 72], [59, 73], [59, 74], [59, 75], [59, 79], [59, 83], [59, 92], [59, 94], [59, 98], [60, 63], [60, 67], [60, 70], [60, 71], [60, 80], [60, 82], [60, 83], [60, 84], [60, 87], [60, 90], [60, 92], [60, 97], [61, 63], [61, 69], [61, 71], [61, 74], [61, 88], [61, 92], [62, 69], [62, 71], [62, 72], [62, 73], [62, 80], [62, 83], [62, 85], [62, 91], [62, 93], [62, 94], [62, 97], [62, 98], [63, 65], [63, 67], [63, 68], [63, 69], [63, 70], [63, 73], [63, 76], [63, 81], [63, 82], [63, 83], [63, 85], [63, 90], [63, 91], [63, 94], [63, 97], [64, 65], [64, 66], [64, 67], [64, 68], [64, 70], [64, 73], [64, 80], [64, 82], [64, 83], [64, 86], [64, 92], [64, 98], [64, 99], [65, 66], [65, 71], [65, 75], [65, 78], [65, 85], [65, 95], [65, 97], [65, 99], [66, 73], [66, 74], [66, 81], [66, 83], [66, 88], [66, 89], [66, 91], [66, 93], [66, 96], [66, 97], [66, 98], [66, 99], [67, 68], [67, 70], [67, 78], [67, 85], [67, 89], [67, 93], [68, 72], [68, 75], [68, 77], [68, 78], [68, 81], [68, 90], [68, 92], [68, 95], [69, 73], [69, 81], [69, 89], [69, 95], [69, 97], [70, 72], [70, 73], [70, 77], [70, 78], [70, 81], [70, 82], [70, 84], [70, 85], [70, 87], [70, 91], [70, 94], [70, 98], [71, 72], [71, 74], [71, 76], [71, 82], [71, 85], [71, 90], [71, 91], [71, 95], [71, 99], [72, 73], [72, 74], [72, 78], [72, 81], [72, 82], [72, 84], [72, 89], [72, 91], [72, 92], [72, 93], [72, 97], [73, 76], [73, 77], [73, 86], [73, 87], [73, 89], [73, 93], [73, 98], [74, 82], [74, 90], [74, 94], [74, 95], [74, 97], [75, 77], [75, 86], [75, 90], [75, 91], [75, 92], [75, 96], [75, 98], [76, 78], [76, 81], [76, 87], [76, 97], [76, 98], [76, 99], [77, 79], [77, 80], [77, 84], [77, 86], [77, 87], [77, 90], [77, 94], [77, 95], [77, 99], [78, 83], [78, 87], [78, 90], [78, 92], [79, 84], [79, 87], [79, 98], [80, 84], [80, 92], [80, 95], [81, 82], [81, 88], [81, 90], [81, 91], [81, 92], [81, 93], [81, 94], [81, 95], [81, 96], [82, 84], [82, 87], [82, 98], [83, 85], [83, 87], [84, 85], [84, 93], [84, 94], [84, 95], [84, 98], [85, 88], [85, 97], [85, 98], [86, 89], [86, 91], [86, 92], [86, 93], [86, 95], [86, 98], [87, 89], [87, 95], [87, 96], [88, 91], [88, 93], [88, 97], [89, 91], [89, 94], [89, 99], [91, 92], [92, 96], [93, 94], [93, 97], [93, 99], [94, 99], [95, 97], [95, 99], [96, 99]] + +Find an independent set of size at least 30: a set of distinct vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (at least 30 distinct integers in 0..99). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-independent-set-l6-s0/solution/solve.sh b/tasks/construct-nppc-independent-set-l6-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..127093d95503cf647e1658f60a9b6fb5414308fa --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [1, 2, 4, 16, 21, 22, 27, 31, 32, 34, 36, 42, 43, 44, 46, 49, 52, 55, 65, 67, 69, 79, 80, 82, 83, 86, 88, 90, 94, 96]} +RLMATH_EOF diff --git a/tasks/construct-nppc-independent-set-l6-s0/task.toml b/tasks/construct-nppc-independent-set-l6-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..eaedabd690a7a1683f22f959d48a6d62f06e34d1 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-independent-set-l6-s0" +version = "0.2.0" +description = "construct/nppc_independent_set" +authors = [] +keywords = ["rlmath", "construct", "nppc_independent_set"] + +[metadata] +subset = "construct" +family = "nppc_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "NPPC/independent_set" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-independent-set-l6-s0/tests/check.py b/tasks/construct-nppc-independent-set-l6-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..92279a931488c7f39c08a3b11162b3f54a9c662a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s0/tests/check.py @@ -0,0 +1,19 @@ +"""Independent set of size >= k. Accepts any valid independent set.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + s = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + # upstream NPPC verifier checks len(list) >= size but only tests pairs u < v, so [v]*k passed + if len(set(s)) != len(s): + raise Invalid("independent_set contains duplicates") + if len(s) < k: + raise Invalid(f"independent_set has {len(s)} < {k} vertices") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(s), 2): + if (u, v) in es: + raise Invalid(f"edge between {u} and {v}") + return None, {"size": len(s)} diff --git a/tasks/construct-nppc-independent-set-l6-s0/tests/instance.json b/tasks/construct-nppc-independent-set-l6-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e32e84d3aab3dcfb8f8c58b707937dd892a72a70 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s0/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 100, "k": 30, "edges": [[0, 1], [0, 4], [0, 7], [0, 10], [0, 12], [0, 13], [0, 22], [0, 26], [0, 36], [0, 37], [0, 38], [0, 40], [0, 41], [0, 50], [0, 52], [0, 53], [0, 54], [0, 56], [0, 64], [0, 70], [0, 80], [0, 85], [0, 92], [0, 99], [1, 6], [1, 13], [1, 15], [1, 19], [1, 26], [1, 39], [1, 41], [1, 47], [1, 48], [1, 50], [1, 53], [1, 57], [1, 68], [1, 70], [1, 71], [1, 73], [1, 74], [1, 81], [1, 91], [2, 3], [2, 5], [2, 8], [2, 13], [2, 15], [2, 20], [2, 23], [2, 24], [2, 25], [2, 33], [2, 47], [2, 48], [2, 56], [2, 58], [2, 60], [2, 63], [2, 66], [2, 71], [2, 78], [2, 85], [2, 93], [2, 97], [2, 98], [3, 7], [3, 10], [3, 12], [3, 15], [3, 27], [3, 29], [3, 30], [3, 31], [3, 35], [3, 41], [3, 44], [3, 45], [3, 52], [3, 57], [3, 62], [3, 63], [3, 67], [3, 68], [3, 69], [3, 70], [3, 75], [3, 76], [3, 81], [3, 90], [3, 91], [3, 93], [3, 95], [3, 96], [3, 99], [4, 8], [4, 14], [4, 17], [4, 18], [4, 26], [4, 37], [4, 40], [4, 48], [4, 51], [4, 56], [4, 57], [4, 58], [4, 63], [4, 66], [4, 68], [4, 71], [4, 81], [4, 85], [4, 91], [4, 97], [5, 8], [5, 9], [5, 13], [5, 14], [5, 15], [5, 16], [5, 22], [5, 23], [5, 25], [5, 26], [5, 27], [5, 29], [5, 30], [5, 32], [5, 35], [5, 36], [5, 37], [5, 39], [5, 40], [5, 41], [5, 51], [5, 54], [5, 58], [5, 60], [5, 64], [5, 68], [5, 69], [5, 70], [5, 71], [5, 73], [5, 77], [5, 78], [5, 79], [5, 80], [5, 84], [5, 85], [5, 91], [5, 94], [6, 8], [6, 9], [6, 14], [6, 16], [6, 19], [6, 20], [6, 24], [6, 27], [6, 28], [6, 29], [6, 35], [6, 36], [6, 40], [6, 45], [6, 50], [6, 61], [6, 63], [6, 64], [6, 73], [6, 80], [6, 84], [6, 88], [6, 89], [6, 94], [6, 95], [6, 97], [6, 99], [7, 9], [7, 15], [7, 16], [7, 17], [7, 18], [7, 20], [7, 21], [7, 25], [7, 31], [7, 33], [7, 35], [7, 47], [7, 54], [7, 57], [7, 61], [7, 66], [7, 67], [7, 70], [7, 77], [7, 81], [7, 82], [7, 85], [7, 87], [7, 88], [7, 89], [7, 93], [7, 95], [7, 99], [8, 9], [8, 18], [8, 22], [8, 24], [8, 29], [8, 30], [8, 35], [8, 45], [8, 50], [8, 53], [8, 60], [8, 61], [8, 65], [8, 68], [8, 70], [8, 71], [8, 74], [8, 75], [8, 78], [8, 79], [8, 82], [8, 83], [8, 93], [8, 97], [9, 10], [9, 11], [9, 15], [9, 16], [9, 18], [9, 22], [9, 33], [9, 36], [9, 38], [9, 39], [9, 41], [9, 43], [9, 49], [9, 58], [9, 60], [9, 62], [9, 63], [9, 65], [9, 66], [9, 67], [9, 69], [9, 71], [9, 75], [9, 76], [9, 78], [9, 81], [9, 87], [9, 94], [10, 11], [10, 12], [10, 13], [10, 14], [10, 21], [10, 23], [10, 29], [10, 30], [10, 38], [10, 46], [10, 56], [10, 59], [10, 60], [10, 65], [10, 67], [10, 73], [10, 75], [10, 79], [10, 81], [10, 84], [10, 85], [10, 89], [10, 92], [10, 97], [10, 99], [11, 12], [11, 16], [11, 17], [11, 19], [11, 22], [11, 24], [11, 25], [11, 34], [11, 41], [11, 45], [11, 46], [11, 50], [11, 55], [11, 60], [11, 62], [11, 63], [11, 64], [11, 65], [11, 66], [11, 67], [11, 68], [11, 70], [11, 73], [11, 76], [11, 82], [11, 83], [11, 90], [11, 98], [12, 18], [12, 20], [12, 32], [12, 34], [12, 36], [12, 38], [12, 44], [12, 54], [12, 61], [12, 71], [12, 75], [12, 76], [12, 77], [12, 80], [12, 81], [12, 82], [12, 84], [12, 87], [12, 88], [12, 91], [12, 93], [12, 94], [13, 19], [13, 22], [13, 24], [13, 30], [13, 40], [13, 41], [13, 50], [13, 51], [13, 53], [13, 54], [13, 56], [13, 57], [13, 59], [13, 60], [13, 68], [13, 72], [13, 85], [13, 86], [13, 90], [13, 93], [13, 98], [14, 18], [14, 19], [14, 21], [14, 24], [14, 28], [14, 33], [14, 34], [14, 39], [14, 43], [14, 44], [14, 50], [14, 52], [14, 58], [14, 69], [14, 71], [14, 73], [14, 75], [14, 76], [14, 78], [14, 81], [14, 84], [14, 91], [14, 92], [15, 16], [15, 18], [15, 20], [15, 21], [15, 24], [15, 33], [15, 34], [15, 35], [15, 36], [15, 43], [15, 44], [15, 45], [15, 46], [15, 48], [15, 49], [15, 55], [15, 56], [15, 57], [15, 59], [15, 60], [15, 62], [15, 64], [15, 65], [15, 67], [15, 68], [15, 69], [15, 71], [15, 72], [15, 74], [15, 78], [15, 79], [15, 80], [15, 84], [15, 87], [15, 89], [15, 92], [15, 95], [15, 96], [15, 98], [15, 99], [16, 17], [16, 19], [16, 26], [16, 29], [16, 33], [16, 39], [16, 47], [16, 48], [16, 50], [16, 61], [16, 66], [16, 74], [16, 84], [16, 87], [16, 95], [16, 97], [17, 18], [17, 20], [17, 23], [17, 26], [17, 31], [17, 32], [17, 34], [17, 36], [17, 37], [17, 38], [17, 48], [17, 49], [17, 50], [17, 55], [17, 58], [17, 63], [17, 67], [17, 69], [17, 71], [17, 77], [17, 79], [17, 80], [17, 81], [17, 83], [17, 91], [17, 92], [17, 98], [17, 99], [18, 19], [18, 21], [18, 25], [18, 28], [18, 29], [18, 30], [18, 32], [18, 36], [18, 37], [18, 38], [18, 40], [18, 41], [18, 42], [18, 45], [18, 46], [18, 55], [18, 57], [18, 58], [18, 59], [18, 60], [18, 64], [18, 67], [18, 71], [18, 73], [18, 75], [18, 78], [18, 79], [18, 81], [18, 85], [18, 91], [18, 96], [18, 97], [19, 22], [19, 29], [19, 30], [19, 32], [19, 34], [19, 35], [19, 41], [19, 45], [19, 57], [19, 60], [19, 62], [19, 72], [19, 73], [19, 74], [19, 75], [19, 79], [19, 80], [19, 85], [19, 90], [19, 97], [20, 27], [20, 35], [20, 39], [20, 41], [20, 46], [20, 50], [20, 51], [20, 53], [20, 54], [20, 58], [20, 60], [20, 63], [20, 75], [20, 78], [20, 79], [20, 87], [20, 92], [20, 94], [20, 95], [20, 96], [20, 98], [20, 99], [21, 23], [21, 26], [21, 38], [21, 39], [21, 40], [21, 47], [21, 50], [21, 54], [21, 57], [21, 61], [21, 68], [21, 74], [21, 75], [21, 76], [21, 77], [21, 85], [21, 89], [21, 93], [21, 99], [22, 23], [22, 26], [22, 30], [22, 47], [22, 50], [22, 58], [22, 62], [22, 72], [22, 75], [22, 76], [22, 78], [22, 81], [22, 87], [22, 89], [22, 91], [22, 92], [22, 95], [22, 98], [23, 24], [23, 25], [23, 30], [23, 31], [23, 33], [23, 37], [23, 41], [23, 42], [23, 48], [23, 50], [23, 51], [23, 52], [23, 55], [23, 56], [23, 58], [23, 61], [23, 62], [23, 73], [23, 76], [23, 82], [23, 85], [23, 88], [23, 92], [23, 94], [23, 95], [24, 25], [24, 29], [24, 37], [24, 40], [24, 47], [24, 52], [24, 53], [24, 57], [24, 61], [24, 63], [24, 69], [24, 70], [24, 74], [24, 82], [24, 85], [24, 86], [24, 88], [24, 92], [24, 95], [24, 99], [25, 27], [25, 30], [25, 31], [25, 32], [25, 36], [25, 46], [25, 49], [25, 55], [25, 56], [25, 57], [25, 60], [25, 62], [25, 65], [25, 67], [25, 69], [25, 76], [25, 78], [25, 80], [25, 82], [25, 86], [25, 87], [25, 92], [25, 94], [25, 97], [26, 27], [26, 29], [26, 31], [26, 35], [26, 44], [26, 47], [26, 50], [26, 54], [26, 60], [26, 62], [26, 63], [26, 64], [26, 66], [26, 67], [26, 69], [26, 73], [26, 79], [26, 88], [26, 92], [26, 96], [27, 28], [27, 29], [27, 40], [27, 41], [27, 45], [27, 50], [27, 51], [27, 60], [27, 64], [27, 73], [27, 75], [27, 76], [27, 81], [27, 84], [27, 85], [27, 91], [27, 97], [28, 29], [28, 31], [28, 33], [28, 35], [28, 38], [28, 45], [28, 51], [28, 59], [28, 60], [28, 61], [28, 62], [28, 64], [28, 65], [28, 67], [28, 68], [28, 71], [28, 73], [28, 75], [28, 78], [28, 81], [28, 84], [28, 88], [28, 89], [28, 90], [28, 92], [28, 95], [28, 96], [28, 99], [29, 30], [29, 31], [29, 32], [29, 36], [29, 39], [29, 41], [29, 53], [29, 55], [29, 60], [29, 67], [29, 71], [29, 80], [29, 81], [29, 86], [29, 89], [29, 97], [29, 98], [30, 32], [30, 35], [30, 36], [30, 38], [30, 39], [30, 47], [30, 50], [30, 52], [30, 56], [30, 58], [30, 61], [30, 67], [30, 74], [30, 81], [30, 90], [30, 91], [30, 92], [30, 93], [30, 94], [30, 96], [31, 45], [31, 47], [31, 54], [31, 60], [31, 62], [31, 63], [31, 64], [31, 70], [31, 71], [31, 75], [31, 93], [31, 95], [31, 99], [32, 33], [32, 37], [32, 38], [32, 40], [32, 41], [32, 54], [32, 57], [32, 59], [32, 68], [32, 78], [32, 81], [32, 92], [32, 93], [32, 98], [33, 35], [33, 39], [33, 41], [33, 46], [33, 48], [33, 51], [33, 55], [33, 57], [33, 59], [33, 61], [33, 67], [33, 68], [33, 69], [33, 71], [33, 72], [33, 73], [33, 74], [33, 75], [33, 76], [33, 78], [33, 79], [33, 80], [33, 84], [33, 87], [33, 88], [33, 89], [33, 90], [33, 93], [33, 96], [34, 37], [34, 47], [34, 58], [34, 59], [34, 60], [34, 76], [34, 78], [34, 84], [34, 89], [34, 92], [34, 97], [35, 43], [35, 44], [35, 53], [35, 55], [35, 63], [35, 65], [35, 67], [35, 69], [35, 70], [35, 76], [35, 81], [35, 84], [35, 85], [35, 87], [35, 92], [35, 93], [35, 94], [35, 96], [36, 39], [36, 40], [36, 47], [36, 54], [36, 60], [36, 63], [36, 66], [36, 70], [36, 72], [36, 73], [36, 74], [36, 75], [36, 87], [36, 89], [36, 91], [36, 92], [36, 98], [37, 39], [37, 43], [37, 47], [37, 48], [37, 50], [37, 52], [37, 55], [37, 61], [37, 63], [37, 65], [37, 72], [37, 73], [37, 75], [37, 76], [37, 83], [37, 92], [37, 94], [37, 96], [37, 97], [37, 98], [38, 39], [38, 41], [38, 46], [38, 48], [38, 57], [38, 59], [38, 64], [38, 65], [38, 66], [38, 73], [38, 74], [38, 80], [38, 81], [38, 83], [38, 85], [38, 94], [38, 99], [39, 44], [39, 45], [39, 49], [39, 51], [39, 56], [39, 58], [39, 66], [39, 79], [39, 80], [39, 87], [39, 98], [40, 46], [40, 52], [40, 53], [40, 55], [40, 66], [40, 70], [40, 71], [40, 76], [40, 77], [40, 82], [40, 88], [40, 92], [40, 93], [41, 45], [41, 46], [41, 48], [41, 56], [41, 59], [41, 63], [41, 70], [41, 76], [41, 78], [41, 82], [41, 83], [41, 88], [41, 93], [41, 97], [42, 47], [42, 48], [42, 61], [42, 62], [42, 66], [42, 71], [42, 72], [42, 74], [42, 78], [42, 89], [42, 92], [42, 99], [43, 56], [43, 58], [43, 62], [43, 64], [43, 66], [43, 74], [43, 75], [43, 76], [43, 84], [43, 91], [43, 92], [43, 97], [43, 98], [43, 99], [44, 47], [44, 48], [44, 54], [44, 56], [44, 63], [44, 77], [44, 87], [44, 89], [44, 98], [45, 50], [45, 53], [45, 56], [45, 59], [45, 60], [45, 62], [45, 63], [45, 64], [45, 65], [45, 69], [45, 75], [45, 76], [45, 78], [45, 83], [45, 84], [45, 91], [45, 95], [45, 96], [45, 99], [46, 51], [46, 54], [46, 58], [46, 60], [46, 62], [46, 71], [46, 72], [46, 81], [46, 84], [46, 92], [46, 95], [46, 99], [47, 51], [47, 52], [47, 53], [47, 57], [47, 59], [47, 61], [47, 65], [47, 70], [47, 80], [47, 88], [47, 94], [47, 96], [47, 98], [47, 99], [48, 56], [48, 68], [48, 76], [48, 78], [48, 83], [48, 84], [48, 85], [48, 91], [48, 94], [48, 95], [49, 50], [49, 51], [49, 54], [49, 57], [49, 58], [49, 61], [49, 66], [49, 70], [49, 71], [49, 72], [49, 73], [49, 75], [49, 77], [49, 85], [49, 87], [49, 89], [49, 95], [49, 97], [49, 98], [50, 51], [50, 55], [50, 59], [50, 62], [50, 66], [50, 70], [50, 73], [50, 82], [50, 90], [50, 91], [50, 97], [50, 99], [51, 55], [51, 56], [51, 57], [51, 58], [51, 62], [51, 68], [51, 71], [51, 72], [51, 74], [51, 79], [51, 80], [51, 82], [51, 84], [51, 91], [51, 98], [52, 59], [52, 62], [52, 87], [52, 92], [52, 95], [52, 97], [52, 98], [52, 99], [53, 55], [53, 58], [53, 59], [53, 63], [53, 64], [53, 68], [53, 70], [53, 74], [53, 79], [53, 81], [53, 83], [53, 86], [53, 90], [53, 92], [53, 95], [53, 98], [54, 55], [54, 56], [54, 57], [54, 58], [54, 60], [54, 61], [54, 62], [54, 63], [54, 71], [54, 73], [54, 74], [54, 77], [54, 80], [54, 84], [54, 93], [55, 59], [55, 60], [55, 61], [55, 63], [55, 68], [55, 70], [55, 72], [55, 73], [55, 76], [55, 78], [55, 84], [55, 89], [55, 91], [55, 92], [55, 97], [55, 98], [56, 57], [56, 58], [56, 71], [56, 72], [56, 74], [56, 76], [56, 77], [56, 82], [56, 84], [56, 90], [56, 94], [56, 95], [56, 96], [56, 99], [57, 59], [57, 62], [57, 63], [57, 64], [57, 66], [57, 73], [57, 77], [57, 78], [57, 81], [57, 83], [57, 87], [57, 95], [57, 96], [57, 98], [58, 64], [58, 69], [58, 71], [58, 75], [58, 78], [58, 81], [58, 83], [58, 84], [58, 85], [58, 89], [58, 90], [58, 91], [58, 94], [58, 99], [59, 60], [59, 64], [59, 66], [59, 68], [59, 71], [59, 72], [59, 73], [59, 74], [59, 75], [59, 79], [59, 83], [59, 92], [59, 94], [59, 98], [60, 63], [60, 67], [60, 70], [60, 71], [60, 80], [60, 82], [60, 83], [60, 84], [60, 87], [60, 90], [60, 92], [60, 97], [61, 63], [61, 69], [61, 71], [61, 74], [61, 88], [61, 92], [62, 69], [62, 71], [62, 72], [62, 73], [62, 80], [62, 83], [62, 85], [62, 91], [62, 93], [62, 94], [62, 97], [62, 98], [63, 65], [63, 67], [63, 68], [63, 69], [63, 70], [63, 73], [63, 76], [63, 81], [63, 82], [63, 83], [63, 85], [63, 90], [63, 91], [63, 94], [63, 97], [64, 65], [64, 66], [64, 67], [64, 68], [64, 70], [64, 73], [64, 80], [64, 82], [64, 83], [64, 86], [64, 92], [64, 98], [64, 99], [65, 66], [65, 71], [65, 75], [65, 78], [65, 85], [65, 95], [65, 97], [65, 99], [66, 73], [66, 74], [66, 81], [66, 83], [66, 88], [66, 89], [66, 91], [66, 93], [66, 96], [66, 97], [66, 98], [66, 99], [67, 68], [67, 70], [67, 78], [67, 85], [67, 89], [67, 93], [68, 72], [68, 75], [68, 77], [68, 78], [68, 81], [68, 90], [68, 92], [68, 95], [69, 73], [69, 81], [69, 89], [69, 95], [69, 97], [70, 72], [70, 73], [70, 77], [70, 78], [70, 81], [70, 82], [70, 84], [70, 85], [70, 87], [70, 91], [70, 94], [70, 98], [71, 72], [71, 74], [71, 76], [71, 82], [71, 85], [71, 90], [71, 91], [71, 95], [71, 99], [72, 73], [72, 74], [72, 78], [72, 81], [72, 82], [72, 84], [72, 89], [72, 91], [72, 92], [72, 93], [72, 97], [73, 76], [73, 77], [73, 86], [73, 87], [73, 89], [73, 93], [73, 98], [74, 82], [74, 90], [74, 94], [74, 95], [74, 97], [75, 77], [75, 86], [75, 90], [75, 91], [75, 92], [75, 96], [75, 98], [76, 78], [76, 81], [76, 87], [76, 97], [76, 98], [76, 99], [77, 79], [77, 80], [77, 84], [77, 86], [77, 87], [77, 90], [77, 94], [77, 95], [77, 99], [78, 83], [78, 87], [78, 90], [78, 92], [79, 84], [79, 87], [79, 98], [80, 84], [80, 92], [80, 95], [81, 82], [81, 88], [81, 90], [81, 91], [81, 92], [81, 93], [81, 94], [81, 95], [81, 96], [82, 84], [82, 87], [82, 98], [83, 85], [83, 87], [84, 85], [84, 93], [84, 94], [84, 95], [84, 98], [85, 88], [85, 97], [85, 98], [86, 89], [86, 91], [86, 92], [86, 93], [86, 95], [86, 98], [87, 89], [87, 95], [87, 96], [88, 91], [88, 93], [88, 97], [89, 91], [89, 94], [89, 99], [91, 92], [92, 96], [93, 94], [93, 97], [93, 99], [94, 99], [95, 97], [95, 99], [96, 99]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l6-s0/tests/run.py b/tasks/construct-nppc-independent-set-l6-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-independent-set-l6-s0/tests/test.sh b/tasks/construct-nppc-independent-set-l6-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-independent-set-l6-s7/environment/Dockerfile b/tasks/construct-nppc-independent-set-l6-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-independent-set-l6-s7/environment/instance.json b/tasks/construct-nppc-independent-set-l6-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4e2b19e5710968a2bcac78e588d8fba74b4637a2 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s7/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 100, "k": 30, "edges": [[0, 2], [0, 5], [0, 9], [0, 10], [0, 11], [0, 12], [0, 16], [0, 18], [0, 24], [0, 26], [0, 28], [0, 29], [0, 31], [0, 32], [0, 33], [0, 34], [0, 41], [0, 42], [0, 43], [0, 47], [0, 50], [0, 52], [0, 56], [0, 61], [0, 69], [0, 72], [0, 74], [0, 76], [0, 77], [0, 85], [0, 89], [0, 90], [0, 95], [0, 99], [1, 10], [1, 14], [1, 17], [1, 23], [1, 24], [1, 28], [1, 36], [1, 42], [1, 43], [1, 47], [1, 50], [1, 55], [1, 59], [1, 60], [1, 62], [1, 85], [1, 91], [2, 3], [2, 5], [2, 7], [2, 8], [2, 11], [2, 12], [2, 13], [2, 15], [2, 16], [2, 26], [2, 27], [2, 28], [2, 29], [2, 31], [2, 32], [2, 34], [2, 35], [2, 37], [2, 40], [2, 42], [2, 44], [2, 46], [2, 49], [2, 50], [2, 53], [2, 58], [2, 59], [2, 67], [2, 71], [2, 72], [2, 73], [2, 75], [2, 76], [2, 93], [2, 94], [2, 95], [3, 4], [3, 5], [3, 8], [3, 14], [3, 15], [3, 19], [3, 20], [3, 21], [3, 26], [3, 28], [3, 32], [3, 34], [3, 37], [3, 39], [3, 49], [3, 50], [3, 51], [3, 54], [3, 56], [3, 57], [3, 62], [3, 63], [3, 64], [3, 66], [3, 67], [3, 72], [3, 74], [3, 75], [3, 77], [3, 81], [3, 83], [3, 97], [4, 8], [4, 10], [4, 13], [4, 15], [4, 16], [4, 17], [4, 18], [4, 20], [4, 23], [4, 26], [4, 28], [4, 29], [4, 32], [4, 33], [4, 41], [4, 50], [4, 53], [4, 62], [4, 63], [4, 71], [4, 75], [4, 76], [4, 78], [4, 81], [4, 85], [4, 92], [4, 94], [4, 96], [4, 99], [5, 6], [5, 10], [5, 11], [5, 18], [5, 19], [5, 20], [5, 42], [5, 44], [5, 50], [5, 52], [5, 53], [5, 64], [5, 65], [5, 67], [5, 75], [5, 78], [5, 81], [5, 82], [5, 87], [5, 96], [6, 8], [6, 13], [6, 15], [6, 23], [6, 24], [6, 30], [6, 62], [6, 63], [6, 66], [6, 71], [6, 72], [6, 73], [6, 76], [6, 79], [6, 84], [6, 85], [6, 87], [6, 90], [6, 91], [6, 94], [7, 8], [7, 13], [7, 18], [7, 20], [7, 23], [7, 27], [7, 28], [7, 29], [7, 35], [7, 39], [7, 63], [7, 64], [7, 68], [7, 75], [7, 77], [7, 84], [7, 86], [7, 89], [7, 90], [7, 95], [8, 11], [8, 12], [8, 21], [8, 26], [8, 31], [8, 33], [8, 41], [8, 42], [8, 43], [8, 50], [8, 51], [8, 58], [8, 61], [8, 62], [8, 67], [8, 68], [8, 70], [8, 74], [8, 75], [8, 79], [8, 80], [8, 88], [8, 89], [8, 90], [8, 94], [8, 96], [8, 97], [9, 10], [9, 18], [9, 29], [9, 38], [9, 41], [9, 44], [9, 45], [9, 49], [9, 53], [9, 62], [9, 75], [9, 77], [9, 85], [9, 87], [9, 90], [10, 14], [10, 16], [10, 19], [10, 20], [10, 28], [10, 29], [10, 33], [10, 35], [10, 39], [10, 43], [10, 46], [10, 49], [10, 51], [10, 55], [10, 60], [10, 64], [10, 66], [10, 73], [10, 76], [10, 87], [10, 91], [10, 98], [11, 14], [11, 16], [11, 17], [11, 19], [11, 21], [11, 25], [11, 27], [11, 31], [11, 32], [11, 41], [11, 46], [11, 47], [11, 48], [11, 49], [11, 50], [11, 53], [11, 61], [11, 62], [11, 70], [11, 73], [11, 80], [11, 82], [11, 83], [11, 85], [11, 89], [11, 93], [11, 94], [11, 95], [11, 96], [11, 99], [12, 15], [12, 16], [12, 18], [12, 23], [12, 26], [12, 28], [12, 32], [12, 35], [12, 37], [12, 39], [12, 43], [12, 48], [12, 49], [12, 52], [12, 56], [12, 58], [12, 61], [12, 62], [12, 63], [12, 66], [12, 69], [12, 71], [12, 75], [12, 76], [12, 81], [12, 82], [12, 89], [12, 91], [12, 92], [12, 93], [12, 94], [12, 99], [13, 23], [13, 30], [13, 33], [13, 42], [13, 48], [13, 50], [13, 51], [13, 52], [13, 53], [13, 66], [13, 68], [13, 75], [13, 78], [13, 80], [13, 83], [13, 88], [13, 91], [13, 98], [14, 17], [14, 19], [14, 24], [14, 26], [14, 28], [14, 33], [14, 37], [14, 38], [14, 40], [14, 41], [14, 42], [14, 45], [14, 48], [14, 49], [14, 51], [14, 54], [14, 56], [14, 57], [14, 59], [14, 62], [14, 67], [14, 78], [14, 81], [14, 82], [14, 83], [14, 90], [14, 91], [14, 93], [14, 97], [14, 98], [14, 99], [15, 22], [15, 30], [15, 39], [15, 40], [15, 47], [15, 49], [15, 55], [15, 59], [15, 66], [15, 67], [15, 70], [15, 71], [15, 72], [15, 74], [15, 75], [15, 79], [15, 80], [15, 83], [15, 87], [15, 91], [15, 93], [15, 94], [15, 97], [15, 99], [16, 18], [16, 19], [16, 24], [16, 34], [16, 38], [16, 39], [16, 40], [16, 41], [16, 42], [16, 44], [16, 48], [16, 59], [16, 64], [16, 79], [16, 82], [16, 87], [16, 96], [17, 19], [17, 21], [17, 25], [17, 29], [17, 39], [17, 41], [17, 42], [17, 48], [17, 51], [17, 52], [17, 53], [17, 54], [17, 57], [17, 61], [17, 63], [17, 65], [17, 66], [17, 68], [17, 71], [17, 73], [17, 78], [17, 79], [17, 83], [17, 84], [17, 96], [17, 97], [18, 20], [18, 22], [18, 25], [18, 26], [18, 28], [18, 29], [18, 32], [18, 37], [18, 39], [18, 45], [18, 48], [18, 52], [18, 54], [18, 55], [18, 63], [18, 68], [18, 69], [18, 72], [18, 73], [18, 74], [18, 80], [18, 82], [18, 85], [18, 87], [18, 88], [18, 91], [18, 94], [18, 98], [19, 22], [19, 33], [19, 47], [19, 48], [19, 50], [19, 55], [19, 56], [19, 58], [19, 63], [19, 67], [19, 70], [19, 80], [19, 81], [19, 82], [19, 84], [19, 88], [19, 98], [20, 30], [20, 32], [20, 39], [20, 44], [20, 56], [20, 57], [20, 58], [20, 59], [20, 60], [20, 61], [20, 62], [20, 63], [20, 64], [20, 65], [20, 66], [20, 74], [20, 86], [20, 89], [20, 95], [20, 96], [20, 98], [21, 24], [21, 33], [21, 35], [21, 36], [21, 44], [21, 45], [21, 48], [21, 51], [21, 53], [21, 56], [21, 66], [21, 67], [21, 75], [21, 77], [21, 82], [21, 83], [21, 84], [21, 85], [21, 87], [21, 89], [21, 93], [21, 94], [21, 95], [21, 97], [22, 34], [22, 40], [22, 46], [22, 47], [22, 48], [22, 49], [22, 53], [22, 59], [22, 60], [22, 64], [22, 66], [22, 78], [22, 81], [22, 87], [22, 96], [22, 97], [23, 25], [23, 27], [23, 35], [23, 38], [23, 43], [23, 50], [23, 56], [23, 59], [23, 62], [23, 63], [23, 64], [23, 69], [23, 73], [23, 81], [23, 87], [23, 88], [23, 89], [24, 25], [24, 27], [24, 32], [24, 33], [24, 34], [24, 35], [24, 37], [24, 39], [24, 43], [24, 44], [24, 45], [24, 52], [24, 57], [24, 58], [24, 60], [24, 62], [24, 64], [24, 66], [24, 76], [24, 84], [24, 87], [24, 93], [24, 94], [24, 95], [24, 98], [24, 99], [25, 34], [25, 47], [25, 51], [25, 54], [25, 55], [25, 60], [25, 62], [25, 76], [25, 78], [25, 81], [25, 82], [25, 85], [25, 92], [25, 95], [25, 97], [26, 28], [26, 42], [26, 46], [26, 49], [26, 50], [26, 60], [26, 64], [26, 76], [26, 77], [26, 85], [26, 92], [27, 41], [27, 42], [27, 46], [27, 47], [27, 49], [27, 60], [27, 62], [27, 66], [27, 70], [27, 77], [27, 78], [27, 79], [27, 90], [27, 99], [28, 30], [28, 32], [28, 33], [28, 38], [28, 43], [28, 47], [28, 49], [28, 53], [28, 55], [28, 62], [28, 66], [28, 67], [28, 70], [28, 71], [28, 72], [28, 77], [28, 79], [28, 80], [28, 82], [28, 84], [28, 85], [28, 86], [28, 88], [28, 97], [29, 30], [29, 33], [29, 40], [29, 41], [29, 55], [29, 56], [29, 58], [29, 60], [29, 61], [29, 62], [29, 66], [29, 69], [29, 75], [29, 83], [29, 86], [29, 95], [30, 33], [30, 34], [30, 36], [30, 38], [30, 40], [30, 42], [30, 46], [30, 47], [30, 70], [30, 76], [30, 85], [30, 90], [30, 96], [30, 97], [31, 42], [31, 43], [31, 50], [31, 53], [31, 54], [31, 60], [31, 62], [31, 69], [31, 73], [31, 77], [31, 79], [31, 90], [32, 34], [32, 37], [32, 38], [32, 42], [32, 49], [32, 50], [32, 54], [32, 58], [32, 59], [32, 63], [32, 67], [32, 74], [32, 75], [32, 77], [32, 78], [32, 81], [32, 92], [32, 94], [32, 99], [33, 34], [33, 40], [33, 41], [33, 43], [33, 47], [33, 48], [33, 53], [33, 55], [33, 63], [33, 64], [33, 69], [33, 72], [33, 73], [33, 76], [33, 82], [33, 87], [33, 89], [33, 92], [33, 99], [34, 37], [34, 39], [34, 46], [34, 52], [34, 53], [34, 57], [34, 61], [34, 64], [34, 65], [34, 67], [34, 72], [34, 74], [34, 77], [34, 83], [34, 91], [34, 94], [34, 95], [34, 96], [35, 38], [35, 40], [35, 42], [35, 44], [35, 49], [35, 53], [35, 54], [35, 62], [35, 64], [35, 66], [35, 73], [35, 77], [35, 78], [35, 82], [35, 87], [35, 90], [35, 99], [36, 37], [36, 38], [36, 41], [36, 43], [36, 45], [36, 48], [36, 51], [36, 55], [36, 56], [36, 61], [36, 70], [36, 71], [36, 72], [36, 78], [36, 79], [36, 81], [36, 92], [36, 93], [36, 95], [36, 98], [37, 38], [37, 39], [37, 44], [37, 46], [37, 47], [37, 48], [37, 49], [37, 53], [37, 54], [37, 60], [37, 64], [37, 65], [37, 66], [37, 69], [37, 90], [37, 99], [38, 40], [38, 41], [38, 45], [38, 46], [38, 51], [38, 58], [38, 61], [38, 65], [38, 68], [38, 69], [38, 72], [38, 76], [38, 81], [38, 85], [38, 86], [38, 90], [38, 93], [38, 94], [38, 95], [38, 97], [39, 54], [39, 56], [39, 59], [39, 68], [39, 70], [39, 75], [39, 78], [39, 84], [39, 86], [39, 87], [39, 90], [39, 92], [39, 93], [40, 46], [40, 47], [40, 50], [40, 52], [40, 54], [40, 56], [40, 60], [40, 61], [40, 62], [40, 66], [40, 73], [40, 74], [40, 78], [40, 79], [40, 82], [40, 83], [40, 85], [40, 89], [40, 94], [40, 96], [40, 99], [41, 43], [41, 44], [41, 47], [41, 50], [41, 51], [41, 52], [41, 55], [41, 57], [41, 59], [41, 64], [41, 65], [41, 68], [41, 69], [41, 70], [41, 73], [41, 76], [41, 81], [41, 84], [41, 86], [41, 90], [41, 92], [41, 94], [42, 54], [42, 59], [42, 62], [42, 66], [42, 72], [42, 77], [42, 85], [42, 90], [42, 91], [42, 96], [42, 99], [43, 44], [43, 45], [43, 51], [43, 52], [43, 55], [43, 60], [43, 61], [43, 62], [43, 63], [43, 69], [43, 78], [43, 80], [43, 85], [43, 86], [43, 87], [43, 89], [43, 93], [43, 99], [44, 45], [44, 46], [44, 47], [44, 51], [44, 52], [44, 53], [44, 65], [44, 68], [44, 71], [44, 81], [44, 82], [44, 84], [44, 85], [44, 87], [44, 89], [44, 90], [44, 95], [45, 54], [45, 67], [45, 69], [45, 77], [45, 86], [45, 87], [45, 89], [45, 92], [45, 93], [45, 95], [45, 96], [46, 48], [46, 53], [46, 54], [46, 56], [46, 57], [46, 59], [46, 61], [46, 62], [46, 66], [46, 67], [46, 69], [46, 70], [46, 71], [46, 73], [46, 74], [46, 80], [46, 81], [46, 86], [46, 89], [46, 92], [46, 98], [47, 49], [47, 52], [47, 54], [47, 57], [47, 59], [47, 60], [47, 61], [47, 63], [47, 64], [47, 65], [47, 66], [47, 67], [47, 70], [47, 71], [47, 73], [47, 77], [47, 78], [47, 79], [47, 81], [47, 83], [47, 84], [47, 92], [48, 49], [48, 66], [48, 68], [48, 69], [48, 74], [48, 78], [48, 81], [48, 85], [48, 87], [48, 91], [48, 95], [48, 96], [48, 97], [49, 53], [49, 57], [49, 60], [49, 70], [49, 72], [49, 74], [49, 80], [49, 81], [49, 83], [49, 89], [49, 95], [49, 97], [50, 54], [50, 68], [50, 81], [50, 82], [50, 84], [50, 87], [50, 89], [50, 91], [50, 95], [50, 96], [51, 55], [51, 56], [51, 63], [51, 66], [51, 67], [51, 68], [51, 69], [51, 72], [51, 74], [51, 75], [51, 81], [51, 85], [51, 88], [51, 90], [51, 96], [52, 56], [52, 60], [52, 61], [52, 65], [52, 67], [52, 70], [52, 76], [52, 79], [52, 81], [52, 86], [52, 94], [52, 99], [53, 54], [53, 55], [53, 56], [53, 60], [53, 66], [53, 69], [53, 72], [53, 73], [53, 78], [53, 81], [53, 82], [53, 83], [53, 85], [53, 87], [53, 90], [53, 96], [53, 98], [54, 58], [54, 63], [54, 64], [54, 68], [54, 75], [54, 76], [54, 78], [54, 80], [54, 82], [54, 83], [54, 84], [54, 86], [54, 87], [54, 89], [54, 93], [54, 95], [55, 56], [55, 60], [55, 64], [55, 65], [55, 69], [55, 72], [55, 75], [55, 78], [55, 82], [55, 83], [55, 84], [55, 92], [55, 93], [55, 95], [55, 96], [55, 98], [56, 65], [56, 70], [56, 82], [56, 90], [56, 99], [57, 59], [57, 60], [57, 62], [57, 65], [57, 66], [57, 67], [57, 77], [57, 91], [57, 92], [57, 96], [58, 64], [58, 65], [58, 66], [58, 75], [58, 78], [58, 79], [58, 82], [58, 85], [58, 95], [59, 65], [59, 67], [59, 70], [59, 73], [59, 75], [59, 76], [59, 79], [59, 82], [59, 83], [59, 84], [59, 86], [60, 61], [60, 65], [60, 70], [60, 77], [60, 78], [60, 79], [60, 80], [60, 83], [60, 84], [60, 85], [60, 86], [60, 89], [60, 90], [60, 92], [60, 94], [60, 95], [60, 96], [61, 64], [61, 69], [61, 82], [61, 87], [61, 96], [62, 65], [62, 75], [62, 80], [62, 82], [62, 84], [62, 85], [62, 92], [62, 93], [62, 94], [62, 96], [62, 98], [62, 99], [63, 67], [63, 70], [63, 78], [63, 79], [63, 85], [63, 87], [63, 90], [63, 97], [64, 67], [64, 69], [64, 71], [64, 72], [64, 78], [64, 79], [64, 80], [64, 82], [64, 90], [64, 91], [64, 94], [64, 95], [64, 97], [65, 66], [65, 68], [65, 69], [65, 73], [65, 74], [65, 84], [65, 86], [65, 88], [65, 90], [65, 92], [65, 94], [65, 97], [66, 69], [66, 72], [66, 74], [66, 75], [66, 76], [66, 77], [66, 78], [66, 81], [66, 86], [66, 89], [66, 90], [66, 99], [67, 70], [67, 71], [67, 75], [67, 82], [67, 83], [67, 89], [67, 94], [67, 98], [67, 99], [68, 78], [68, 79], [68, 81], [68, 90], [68, 99], [69, 74], [69, 76], [69, 77], [69, 80], [69, 83], [69, 86], [69, 89], [69, 90], [69, 92], [70, 75], [70, 77], [70, 78], [70, 89], [70, 92], [70, 93], [70, 96], [70, 97], [71, 73], [71, 75], [71, 78], [71, 82], [71, 85], [71, 87], [71, 91], [71, 97], [71, 99], [72, 73], [72, 77], [72, 78], [72, 79], [72, 82], [72, 91], [72, 95], [72, 99], [73, 75], [73, 76], [73, 81], [73, 83], [73, 87], [73, 91], [74, 81], [74, 85], [74, 87], [74, 91], [74, 97], [75, 78], [75, 79], [75, 80], [75, 85], [75, 86], [75, 87], [75, 90], [75, 92], [75, 94], [75, 98], [76, 81], [76, 82], [76, 90], [76, 95], [77, 78], [77, 80], [77, 83], [77, 85], [77, 87], [77, 88], [77, 91], [77, 98], [77, 99], [78, 80], [78, 98], [79, 87], [79, 88], [79, 89], [79, 90], [79, 93], [79, 99], [80, 81], [80, 82], [80, 87], [80, 95], [81, 89], [82, 85], [82, 86], [82, 88], [82, 95], [82, 98], [82, 99], [83, 90], [83, 91], [84, 85], [85, 87], [85, 92], [85, 96], [85, 98], [86, 99], [87, 88], [87, 95], [88, 90], [88, 95], [88, 96], [88, 97], [88, 99], [89, 99], [90, 91], [90, 92], [90, 93], [90, 94], [90, 99], [91, 94], [91, 96], [91, 99], [92, 93], [92, 95], [92, 97], [93, 96], [95, 98], [96, 98], [97, 99]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l6-s7/instruction.md b/tasks/construct-nppc-independent-set-l6-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..50854f34533aaa4f928175d119ab86eca2f60d51 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s7/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 100 vertices labelled 0..99 and 1347 edges: +[[0, 2], [0, 5], [0, 9], [0, 10], [0, 11], [0, 12], [0, 16], [0, 18], [0, 24], [0, 26], [0, 28], [0, 29], [0, 31], [0, 32], [0, 33], [0, 34], [0, 41], [0, 42], [0, 43], [0, 47], [0, 50], [0, 52], [0, 56], [0, 61], [0, 69], [0, 72], [0, 74], [0, 76], [0, 77], [0, 85], [0, 89], [0, 90], [0, 95], [0, 99], [1, 10], [1, 14], [1, 17], [1, 23], [1, 24], [1, 28], [1, 36], [1, 42], [1, 43], [1, 47], [1, 50], [1, 55], [1, 59], [1, 60], [1, 62], [1, 85], [1, 91], [2, 3], [2, 5], [2, 7], [2, 8], [2, 11], [2, 12], [2, 13], [2, 15], [2, 16], [2, 26], [2, 27], [2, 28], [2, 29], [2, 31], [2, 32], [2, 34], [2, 35], [2, 37], [2, 40], [2, 42], [2, 44], [2, 46], [2, 49], [2, 50], [2, 53], [2, 58], [2, 59], [2, 67], [2, 71], [2, 72], [2, 73], [2, 75], [2, 76], [2, 93], [2, 94], [2, 95], [3, 4], [3, 5], [3, 8], [3, 14], [3, 15], [3, 19], [3, 20], [3, 21], [3, 26], [3, 28], [3, 32], [3, 34], [3, 37], [3, 39], [3, 49], [3, 50], [3, 51], [3, 54], [3, 56], [3, 57], [3, 62], [3, 63], [3, 64], [3, 66], [3, 67], [3, 72], [3, 74], [3, 75], [3, 77], [3, 81], [3, 83], [3, 97], [4, 8], [4, 10], [4, 13], [4, 15], [4, 16], [4, 17], [4, 18], [4, 20], [4, 23], [4, 26], [4, 28], [4, 29], [4, 32], [4, 33], [4, 41], [4, 50], [4, 53], [4, 62], [4, 63], [4, 71], [4, 75], [4, 76], [4, 78], [4, 81], [4, 85], [4, 92], [4, 94], [4, 96], [4, 99], [5, 6], [5, 10], [5, 11], [5, 18], [5, 19], [5, 20], [5, 42], [5, 44], [5, 50], [5, 52], [5, 53], [5, 64], [5, 65], [5, 67], [5, 75], [5, 78], [5, 81], [5, 82], [5, 87], [5, 96], [6, 8], [6, 13], [6, 15], [6, 23], [6, 24], [6, 30], [6, 62], [6, 63], [6, 66], [6, 71], [6, 72], [6, 73], [6, 76], [6, 79], [6, 84], [6, 85], [6, 87], [6, 90], [6, 91], [6, 94], [7, 8], [7, 13], [7, 18], [7, 20], [7, 23], [7, 27], [7, 28], [7, 29], [7, 35], [7, 39], [7, 63], [7, 64], [7, 68], [7, 75], [7, 77], [7, 84], [7, 86], [7, 89], [7, 90], [7, 95], [8, 11], [8, 12], [8, 21], [8, 26], [8, 31], [8, 33], [8, 41], [8, 42], [8, 43], [8, 50], [8, 51], [8, 58], [8, 61], [8, 62], [8, 67], [8, 68], [8, 70], [8, 74], [8, 75], [8, 79], [8, 80], [8, 88], [8, 89], [8, 90], [8, 94], [8, 96], [8, 97], [9, 10], [9, 18], [9, 29], [9, 38], [9, 41], [9, 44], [9, 45], [9, 49], [9, 53], [9, 62], [9, 75], [9, 77], [9, 85], [9, 87], [9, 90], [10, 14], [10, 16], [10, 19], [10, 20], [10, 28], [10, 29], [10, 33], [10, 35], [10, 39], [10, 43], [10, 46], [10, 49], [10, 51], [10, 55], [10, 60], [10, 64], [10, 66], [10, 73], [10, 76], [10, 87], [10, 91], [10, 98], [11, 14], [11, 16], [11, 17], [11, 19], [11, 21], [11, 25], [11, 27], [11, 31], [11, 32], [11, 41], [11, 46], [11, 47], [11, 48], [11, 49], [11, 50], [11, 53], [11, 61], [11, 62], [11, 70], [11, 73], [11, 80], [11, 82], [11, 83], [11, 85], [11, 89], [11, 93], [11, 94], [11, 95], [11, 96], [11, 99], [12, 15], [12, 16], [12, 18], [12, 23], [12, 26], [12, 28], [12, 32], [12, 35], [12, 37], [12, 39], [12, 43], [12, 48], [12, 49], [12, 52], [12, 56], [12, 58], [12, 61], [12, 62], [12, 63], [12, 66], [12, 69], [12, 71], [12, 75], [12, 76], [12, 81], [12, 82], [12, 89], [12, 91], [12, 92], [12, 93], [12, 94], [12, 99], [13, 23], [13, 30], [13, 33], [13, 42], [13, 48], [13, 50], [13, 51], [13, 52], [13, 53], [13, 66], [13, 68], [13, 75], [13, 78], [13, 80], [13, 83], [13, 88], [13, 91], [13, 98], [14, 17], [14, 19], [14, 24], [14, 26], [14, 28], [14, 33], [14, 37], [14, 38], [14, 40], [14, 41], [14, 42], [14, 45], [14, 48], [14, 49], [14, 51], [14, 54], [14, 56], [14, 57], [14, 59], [14, 62], [14, 67], [14, 78], [14, 81], [14, 82], [14, 83], [14, 90], [14, 91], [14, 93], [14, 97], [14, 98], [14, 99], [15, 22], [15, 30], [15, 39], [15, 40], [15, 47], [15, 49], [15, 55], [15, 59], [15, 66], [15, 67], [15, 70], [15, 71], [15, 72], [15, 74], [15, 75], [15, 79], [15, 80], [15, 83], [15, 87], [15, 91], [15, 93], [15, 94], [15, 97], [15, 99], [16, 18], [16, 19], [16, 24], [16, 34], [16, 38], [16, 39], [16, 40], [16, 41], [16, 42], [16, 44], [16, 48], [16, 59], [16, 64], [16, 79], [16, 82], [16, 87], [16, 96], [17, 19], [17, 21], [17, 25], [17, 29], [17, 39], [17, 41], [17, 42], [17, 48], [17, 51], [17, 52], [17, 53], [17, 54], [17, 57], [17, 61], [17, 63], [17, 65], [17, 66], [17, 68], [17, 71], [17, 73], [17, 78], [17, 79], [17, 83], [17, 84], [17, 96], [17, 97], [18, 20], [18, 22], [18, 25], [18, 26], [18, 28], [18, 29], [18, 32], [18, 37], [18, 39], [18, 45], [18, 48], [18, 52], [18, 54], [18, 55], [18, 63], [18, 68], [18, 69], [18, 72], [18, 73], [18, 74], [18, 80], [18, 82], [18, 85], [18, 87], [18, 88], [18, 91], [18, 94], [18, 98], [19, 22], [19, 33], [19, 47], [19, 48], [19, 50], [19, 55], [19, 56], [19, 58], [19, 63], [19, 67], [19, 70], [19, 80], [19, 81], [19, 82], [19, 84], [19, 88], [19, 98], [20, 30], [20, 32], [20, 39], [20, 44], [20, 56], [20, 57], [20, 58], [20, 59], [20, 60], [20, 61], [20, 62], [20, 63], [20, 64], [20, 65], [20, 66], [20, 74], [20, 86], [20, 89], [20, 95], [20, 96], [20, 98], [21, 24], [21, 33], [21, 35], [21, 36], [21, 44], [21, 45], [21, 48], [21, 51], [21, 53], [21, 56], [21, 66], [21, 67], [21, 75], [21, 77], [21, 82], [21, 83], [21, 84], [21, 85], [21, 87], [21, 89], [21, 93], [21, 94], [21, 95], [21, 97], [22, 34], [22, 40], [22, 46], [22, 47], [22, 48], [22, 49], [22, 53], [22, 59], [22, 60], [22, 64], [22, 66], [22, 78], [22, 81], [22, 87], [22, 96], [22, 97], [23, 25], [23, 27], [23, 35], [23, 38], [23, 43], [23, 50], [23, 56], [23, 59], [23, 62], [23, 63], [23, 64], [23, 69], [23, 73], [23, 81], [23, 87], [23, 88], [23, 89], [24, 25], [24, 27], [24, 32], [24, 33], [24, 34], [24, 35], [24, 37], [24, 39], [24, 43], [24, 44], [24, 45], [24, 52], [24, 57], [24, 58], [24, 60], [24, 62], [24, 64], [24, 66], [24, 76], [24, 84], [24, 87], [24, 93], [24, 94], [24, 95], [24, 98], [24, 99], [25, 34], [25, 47], [25, 51], [25, 54], [25, 55], [25, 60], [25, 62], [25, 76], [25, 78], [25, 81], [25, 82], [25, 85], [25, 92], [25, 95], [25, 97], [26, 28], [26, 42], [26, 46], [26, 49], [26, 50], [26, 60], [26, 64], [26, 76], [26, 77], [26, 85], [26, 92], [27, 41], [27, 42], [27, 46], [27, 47], [27, 49], [27, 60], [27, 62], [27, 66], [27, 70], [27, 77], [27, 78], [27, 79], [27, 90], [27, 99], [28, 30], [28, 32], [28, 33], [28, 38], [28, 43], [28, 47], [28, 49], [28, 53], [28, 55], [28, 62], [28, 66], [28, 67], [28, 70], [28, 71], [28, 72], [28, 77], [28, 79], [28, 80], [28, 82], [28, 84], [28, 85], [28, 86], [28, 88], [28, 97], [29, 30], [29, 33], [29, 40], [29, 41], [29, 55], [29, 56], [29, 58], [29, 60], [29, 61], [29, 62], [29, 66], [29, 69], [29, 75], [29, 83], [29, 86], [29, 95], [30, 33], [30, 34], [30, 36], [30, 38], [30, 40], [30, 42], [30, 46], [30, 47], [30, 70], [30, 76], [30, 85], [30, 90], [30, 96], [30, 97], [31, 42], [31, 43], [31, 50], [31, 53], [31, 54], [31, 60], [31, 62], [31, 69], [31, 73], [31, 77], [31, 79], [31, 90], [32, 34], [32, 37], [32, 38], [32, 42], [32, 49], [32, 50], [32, 54], [32, 58], [32, 59], [32, 63], [32, 67], [32, 74], [32, 75], [32, 77], [32, 78], [32, 81], [32, 92], [32, 94], [32, 99], [33, 34], [33, 40], [33, 41], [33, 43], [33, 47], [33, 48], [33, 53], [33, 55], [33, 63], [33, 64], [33, 69], [33, 72], [33, 73], [33, 76], [33, 82], [33, 87], [33, 89], [33, 92], [33, 99], [34, 37], [34, 39], [34, 46], [34, 52], [34, 53], [34, 57], [34, 61], [34, 64], [34, 65], [34, 67], [34, 72], [34, 74], [34, 77], [34, 83], [34, 91], [34, 94], [34, 95], [34, 96], [35, 38], [35, 40], [35, 42], [35, 44], [35, 49], [35, 53], [35, 54], [35, 62], [35, 64], [35, 66], [35, 73], [35, 77], [35, 78], [35, 82], [35, 87], [35, 90], [35, 99], [36, 37], [36, 38], [36, 41], [36, 43], [36, 45], [36, 48], [36, 51], [36, 55], [36, 56], [36, 61], [36, 70], [36, 71], [36, 72], [36, 78], [36, 79], [36, 81], [36, 92], [36, 93], [36, 95], [36, 98], [37, 38], [37, 39], [37, 44], [37, 46], [37, 47], [37, 48], [37, 49], [37, 53], [37, 54], [37, 60], [37, 64], [37, 65], [37, 66], [37, 69], [37, 90], [37, 99], [38, 40], [38, 41], [38, 45], [38, 46], [38, 51], [38, 58], [38, 61], [38, 65], [38, 68], [38, 69], [38, 72], [38, 76], [38, 81], [38, 85], [38, 86], [38, 90], [38, 93], [38, 94], [38, 95], [38, 97], [39, 54], [39, 56], [39, 59], [39, 68], [39, 70], [39, 75], [39, 78], [39, 84], [39, 86], [39, 87], [39, 90], [39, 92], [39, 93], [40, 46], [40, 47], [40, 50], [40, 52], [40, 54], [40, 56], [40, 60], [40, 61], [40, 62], [40, 66], [40, 73], [40, 74], [40, 78], [40, 79], [40, 82], [40, 83], [40, 85], [40, 89], [40, 94], [40, 96], [40, 99], [41, 43], [41, 44], [41, 47], [41, 50], [41, 51], [41, 52], [41, 55], [41, 57], [41, 59], [41, 64], [41, 65], [41, 68], [41, 69], [41, 70], [41, 73], [41, 76], [41, 81], [41, 84], [41, 86], [41, 90], [41, 92], [41, 94], [42, 54], [42, 59], [42, 62], [42, 66], [42, 72], [42, 77], [42, 85], [42, 90], [42, 91], [42, 96], [42, 99], [43, 44], [43, 45], [43, 51], [43, 52], [43, 55], [43, 60], [43, 61], [43, 62], [43, 63], [43, 69], [43, 78], [43, 80], [43, 85], [43, 86], [43, 87], [43, 89], [43, 93], [43, 99], [44, 45], [44, 46], [44, 47], [44, 51], [44, 52], [44, 53], [44, 65], [44, 68], [44, 71], [44, 81], [44, 82], [44, 84], [44, 85], [44, 87], [44, 89], [44, 90], [44, 95], [45, 54], [45, 67], [45, 69], [45, 77], [45, 86], [45, 87], [45, 89], [45, 92], [45, 93], [45, 95], [45, 96], [46, 48], [46, 53], [46, 54], [46, 56], [46, 57], [46, 59], [46, 61], [46, 62], [46, 66], [46, 67], [46, 69], [46, 70], [46, 71], [46, 73], [46, 74], [46, 80], [46, 81], [46, 86], [46, 89], [46, 92], [46, 98], [47, 49], [47, 52], [47, 54], [47, 57], [47, 59], [47, 60], [47, 61], [47, 63], [47, 64], [47, 65], [47, 66], [47, 67], [47, 70], [47, 71], [47, 73], [47, 77], [47, 78], [47, 79], [47, 81], [47, 83], [47, 84], [47, 92], [48, 49], [48, 66], [48, 68], [48, 69], [48, 74], [48, 78], [48, 81], [48, 85], [48, 87], [48, 91], [48, 95], [48, 96], [48, 97], [49, 53], [49, 57], [49, 60], [49, 70], [49, 72], [49, 74], [49, 80], [49, 81], [49, 83], [49, 89], [49, 95], [49, 97], [50, 54], [50, 68], [50, 81], [50, 82], [50, 84], [50, 87], [50, 89], [50, 91], [50, 95], [50, 96], [51, 55], [51, 56], [51, 63], [51, 66], [51, 67], [51, 68], [51, 69], [51, 72], [51, 74], [51, 75], [51, 81], [51, 85], [51, 88], [51, 90], [51, 96], [52, 56], [52, 60], [52, 61], [52, 65], [52, 67], [52, 70], [52, 76], [52, 79], [52, 81], [52, 86], [52, 94], [52, 99], [53, 54], [53, 55], [53, 56], [53, 60], [53, 66], [53, 69], [53, 72], [53, 73], [53, 78], [53, 81], [53, 82], [53, 83], [53, 85], [53, 87], [53, 90], [53, 96], [53, 98], [54, 58], [54, 63], [54, 64], [54, 68], [54, 75], [54, 76], [54, 78], [54, 80], [54, 82], [54, 83], [54, 84], [54, 86], [54, 87], [54, 89], [54, 93], [54, 95], [55, 56], [55, 60], [55, 64], [55, 65], [55, 69], [55, 72], [55, 75], [55, 78], [55, 82], [55, 83], [55, 84], [55, 92], [55, 93], [55, 95], [55, 96], [55, 98], [56, 65], [56, 70], [56, 82], [56, 90], [56, 99], [57, 59], [57, 60], [57, 62], [57, 65], [57, 66], [57, 67], [57, 77], [57, 91], [57, 92], [57, 96], [58, 64], [58, 65], [58, 66], [58, 75], [58, 78], [58, 79], [58, 82], [58, 85], [58, 95], [59, 65], [59, 67], [59, 70], [59, 73], [59, 75], [59, 76], [59, 79], [59, 82], [59, 83], [59, 84], [59, 86], [60, 61], [60, 65], [60, 70], [60, 77], [60, 78], [60, 79], [60, 80], [60, 83], [60, 84], [60, 85], [60, 86], [60, 89], [60, 90], [60, 92], [60, 94], [60, 95], [60, 96], [61, 64], [61, 69], [61, 82], [61, 87], [61, 96], [62, 65], [62, 75], [62, 80], [62, 82], [62, 84], [62, 85], [62, 92], [62, 93], [62, 94], [62, 96], [62, 98], [62, 99], [63, 67], [63, 70], [63, 78], [63, 79], [63, 85], [63, 87], [63, 90], [63, 97], [64, 67], [64, 69], [64, 71], [64, 72], [64, 78], [64, 79], [64, 80], [64, 82], [64, 90], [64, 91], [64, 94], [64, 95], [64, 97], [65, 66], [65, 68], [65, 69], [65, 73], [65, 74], [65, 84], [65, 86], [65, 88], [65, 90], [65, 92], [65, 94], [65, 97], [66, 69], [66, 72], [66, 74], [66, 75], [66, 76], [66, 77], [66, 78], [66, 81], [66, 86], [66, 89], [66, 90], [66, 99], [67, 70], [67, 71], [67, 75], [67, 82], [67, 83], [67, 89], [67, 94], [67, 98], [67, 99], [68, 78], [68, 79], [68, 81], [68, 90], [68, 99], [69, 74], [69, 76], [69, 77], [69, 80], [69, 83], [69, 86], [69, 89], [69, 90], [69, 92], [70, 75], [70, 77], [70, 78], [70, 89], [70, 92], [70, 93], [70, 96], [70, 97], [71, 73], [71, 75], [71, 78], [71, 82], [71, 85], [71, 87], [71, 91], [71, 97], [71, 99], [72, 73], [72, 77], [72, 78], [72, 79], [72, 82], [72, 91], [72, 95], [72, 99], [73, 75], [73, 76], [73, 81], [73, 83], [73, 87], [73, 91], [74, 81], [74, 85], [74, 87], [74, 91], [74, 97], [75, 78], [75, 79], [75, 80], [75, 85], [75, 86], [75, 87], [75, 90], [75, 92], [75, 94], [75, 98], [76, 81], [76, 82], [76, 90], [76, 95], [77, 78], [77, 80], [77, 83], [77, 85], [77, 87], [77, 88], [77, 91], [77, 98], [77, 99], [78, 80], [78, 98], [79, 87], [79, 88], [79, 89], [79, 90], [79, 93], [79, 99], [80, 81], [80, 82], [80, 87], [80, 95], [81, 89], [82, 85], [82, 86], [82, 88], [82, 95], [82, 98], [82, 99], [83, 90], [83, 91], [84, 85], [85, 87], [85, 92], [85, 96], [85, 98], [86, 99], [87, 88], [87, 95], [88, 90], [88, 95], [88, 96], [88, 97], [88, 99], [89, 99], [90, 91], [90, 92], [90, 93], [90, 94], [90, 99], [91, 94], [91, 96], [91, 99], [92, 93], [92, 95], [92, 97], [93, 96], [95, 98], [96, 98], [97, 99]] + +Find an independent set of size at least 30: a set of distinct vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (at least 30 distinct integers in 0..99). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-independent-set-l6-s7/solution/solve.sh b/tasks/construct-nppc-independent-set-l6-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..41f4e84658838af3abf6d3c92085830dfc53b728 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"independent_set": [1, 5, 9, 16, 22, 25, 26, 27, 30, 31, 35, 37, 56, 57, 58, 61, 63, 68, 71, 72, 74, 80, 83, 84, 86, 88, 89, 93, 94, 98]} +RLMATH_EOF diff --git a/tasks/construct-nppc-independent-set-l6-s7/task.toml b/tasks/construct-nppc-independent-set-l6-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..ba23a8d8421ff3fe8173f1c13165e0c0542f5b19 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-independent-set-l6-s7" +version = "0.2.0" +description = "construct/nppc_independent_set" +authors = [] +keywords = ["rlmath", "construct", "nppc_independent_set"] + +[metadata] +subset = "construct" +family = "nppc_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "NPPC/independent_set" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-independent-set-l6-s7/tests/check.py b/tasks/construct-nppc-independent-set-l6-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..92279a931488c7f39c08a3b11162b3f54a9c662a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s7/tests/check.py @@ -0,0 +1,19 @@ +"""Independent set of size >= k. Accepts any valid independent set.""" +import itertools + +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + s = int_list(ans.get("independent_set"), None, 0, n - 1, "independent_set") + # upstream NPPC verifier checks len(list) >= size but only tests pairs u < v, so [v]*k passed + if len(set(s)) != len(s): + raise Invalid("independent_set contains duplicates") + if len(s) < k: + raise Invalid(f"independent_set has {len(s)} < {k} vertices") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for u, v in itertools.combinations(sorted(s), 2): + if (u, v) in es: + raise Invalid(f"edge between {u} and {v}") + return None, {"size": len(s)} diff --git a/tasks/construct-nppc-independent-set-l6-s7/tests/instance.json b/tasks/construct-nppc-independent-set-l6-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4e2b19e5710968a2bcac78e588d8fba74b4637a2 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s7/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 100, "k": 30, "edges": [[0, 2], [0, 5], [0, 9], [0, 10], [0, 11], [0, 12], [0, 16], [0, 18], [0, 24], [0, 26], [0, 28], [0, 29], [0, 31], [0, 32], [0, 33], [0, 34], [0, 41], [0, 42], [0, 43], [0, 47], [0, 50], [0, 52], [0, 56], [0, 61], [0, 69], [0, 72], [0, 74], [0, 76], [0, 77], [0, 85], [0, 89], [0, 90], [0, 95], [0, 99], [1, 10], [1, 14], [1, 17], [1, 23], [1, 24], [1, 28], [1, 36], [1, 42], [1, 43], [1, 47], [1, 50], [1, 55], [1, 59], [1, 60], [1, 62], [1, 85], [1, 91], [2, 3], [2, 5], [2, 7], [2, 8], [2, 11], [2, 12], [2, 13], [2, 15], [2, 16], [2, 26], [2, 27], [2, 28], [2, 29], [2, 31], [2, 32], [2, 34], [2, 35], [2, 37], [2, 40], [2, 42], [2, 44], [2, 46], [2, 49], [2, 50], [2, 53], [2, 58], [2, 59], [2, 67], [2, 71], [2, 72], [2, 73], [2, 75], [2, 76], [2, 93], [2, 94], [2, 95], [3, 4], [3, 5], [3, 8], [3, 14], [3, 15], [3, 19], [3, 20], [3, 21], [3, 26], [3, 28], [3, 32], [3, 34], [3, 37], [3, 39], [3, 49], [3, 50], [3, 51], [3, 54], [3, 56], [3, 57], [3, 62], [3, 63], [3, 64], [3, 66], [3, 67], [3, 72], [3, 74], [3, 75], [3, 77], [3, 81], [3, 83], [3, 97], [4, 8], [4, 10], [4, 13], [4, 15], [4, 16], [4, 17], [4, 18], [4, 20], [4, 23], [4, 26], [4, 28], [4, 29], [4, 32], [4, 33], [4, 41], [4, 50], [4, 53], [4, 62], [4, 63], [4, 71], [4, 75], [4, 76], [4, 78], [4, 81], [4, 85], [4, 92], [4, 94], [4, 96], [4, 99], [5, 6], [5, 10], [5, 11], [5, 18], [5, 19], [5, 20], [5, 42], [5, 44], [5, 50], [5, 52], [5, 53], [5, 64], [5, 65], [5, 67], [5, 75], [5, 78], [5, 81], [5, 82], [5, 87], [5, 96], [6, 8], [6, 13], [6, 15], [6, 23], [6, 24], [6, 30], [6, 62], [6, 63], [6, 66], [6, 71], [6, 72], [6, 73], [6, 76], [6, 79], [6, 84], [6, 85], [6, 87], [6, 90], [6, 91], [6, 94], [7, 8], [7, 13], [7, 18], [7, 20], [7, 23], [7, 27], [7, 28], [7, 29], [7, 35], [7, 39], [7, 63], [7, 64], [7, 68], [7, 75], [7, 77], [7, 84], [7, 86], [7, 89], [7, 90], [7, 95], [8, 11], [8, 12], [8, 21], [8, 26], [8, 31], [8, 33], [8, 41], [8, 42], [8, 43], [8, 50], [8, 51], [8, 58], [8, 61], [8, 62], [8, 67], [8, 68], [8, 70], [8, 74], [8, 75], [8, 79], [8, 80], [8, 88], [8, 89], [8, 90], [8, 94], [8, 96], [8, 97], [9, 10], [9, 18], [9, 29], [9, 38], [9, 41], [9, 44], [9, 45], [9, 49], [9, 53], [9, 62], [9, 75], [9, 77], [9, 85], [9, 87], [9, 90], [10, 14], [10, 16], [10, 19], [10, 20], [10, 28], [10, 29], [10, 33], [10, 35], [10, 39], [10, 43], [10, 46], [10, 49], [10, 51], [10, 55], [10, 60], [10, 64], [10, 66], [10, 73], [10, 76], [10, 87], [10, 91], [10, 98], [11, 14], [11, 16], [11, 17], [11, 19], [11, 21], [11, 25], [11, 27], [11, 31], [11, 32], [11, 41], [11, 46], [11, 47], [11, 48], [11, 49], [11, 50], [11, 53], [11, 61], [11, 62], [11, 70], [11, 73], [11, 80], [11, 82], [11, 83], [11, 85], [11, 89], [11, 93], [11, 94], [11, 95], [11, 96], [11, 99], [12, 15], [12, 16], [12, 18], [12, 23], [12, 26], [12, 28], [12, 32], [12, 35], [12, 37], [12, 39], [12, 43], [12, 48], [12, 49], [12, 52], [12, 56], [12, 58], [12, 61], [12, 62], [12, 63], [12, 66], [12, 69], [12, 71], [12, 75], [12, 76], [12, 81], [12, 82], [12, 89], [12, 91], [12, 92], [12, 93], [12, 94], [12, 99], [13, 23], [13, 30], [13, 33], [13, 42], [13, 48], [13, 50], [13, 51], [13, 52], [13, 53], [13, 66], [13, 68], [13, 75], [13, 78], [13, 80], [13, 83], [13, 88], [13, 91], [13, 98], [14, 17], [14, 19], [14, 24], [14, 26], [14, 28], [14, 33], [14, 37], [14, 38], [14, 40], [14, 41], [14, 42], [14, 45], [14, 48], [14, 49], [14, 51], [14, 54], [14, 56], [14, 57], [14, 59], [14, 62], [14, 67], [14, 78], [14, 81], [14, 82], [14, 83], [14, 90], [14, 91], [14, 93], [14, 97], [14, 98], [14, 99], [15, 22], [15, 30], [15, 39], [15, 40], [15, 47], [15, 49], [15, 55], [15, 59], [15, 66], [15, 67], [15, 70], [15, 71], [15, 72], [15, 74], [15, 75], [15, 79], [15, 80], [15, 83], [15, 87], [15, 91], [15, 93], [15, 94], [15, 97], [15, 99], [16, 18], [16, 19], [16, 24], [16, 34], [16, 38], [16, 39], [16, 40], [16, 41], [16, 42], [16, 44], [16, 48], [16, 59], [16, 64], [16, 79], [16, 82], [16, 87], [16, 96], [17, 19], [17, 21], [17, 25], [17, 29], [17, 39], [17, 41], [17, 42], [17, 48], [17, 51], [17, 52], [17, 53], [17, 54], [17, 57], [17, 61], [17, 63], [17, 65], [17, 66], [17, 68], [17, 71], [17, 73], [17, 78], [17, 79], [17, 83], [17, 84], [17, 96], [17, 97], [18, 20], [18, 22], [18, 25], [18, 26], [18, 28], [18, 29], [18, 32], [18, 37], [18, 39], [18, 45], [18, 48], [18, 52], [18, 54], [18, 55], [18, 63], [18, 68], [18, 69], [18, 72], [18, 73], [18, 74], [18, 80], [18, 82], [18, 85], [18, 87], [18, 88], [18, 91], [18, 94], [18, 98], [19, 22], [19, 33], [19, 47], [19, 48], [19, 50], [19, 55], [19, 56], [19, 58], [19, 63], [19, 67], [19, 70], [19, 80], [19, 81], [19, 82], [19, 84], [19, 88], [19, 98], [20, 30], [20, 32], [20, 39], [20, 44], [20, 56], [20, 57], [20, 58], [20, 59], [20, 60], [20, 61], [20, 62], [20, 63], [20, 64], [20, 65], [20, 66], [20, 74], [20, 86], [20, 89], [20, 95], [20, 96], [20, 98], [21, 24], [21, 33], [21, 35], [21, 36], [21, 44], [21, 45], [21, 48], [21, 51], [21, 53], [21, 56], [21, 66], [21, 67], [21, 75], [21, 77], [21, 82], [21, 83], [21, 84], [21, 85], [21, 87], [21, 89], [21, 93], [21, 94], [21, 95], [21, 97], [22, 34], [22, 40], [22, 46], [22, 47], [22, 48], [22, 49], [22, 53], [22, 59], [22, 60], [22, 64], [22, 66], [22, 78], [22, 81], [22, 87], [22, 96], [22, 97], [23, 25], [23, 27], [23, 35], [23, 38], [23, 43], [23, 50], [23, 56], [23, 59], [23, 62], [23, 63], [23, 64], [23, 69], [23, 73], [23, 81], [23, 87], [23, 88], [23, 89], [24, 25], [24, 27], [24, 32], [24, 33], [24, 34], [24, 35], [24, 37], [24, 39], [24, 43], [24, 44], [24, 45], [24, 52], [24, 57], [24, 58], [24, 60], [24, 62], [24, 64], [24, 66], [24, 76], [24, 84], [24, 87], [24, 93], [24, 94], [24, 95], [24, 98], [24, 99], [25, 34], [25, 47], [25, 51], [25, 54], [25, 55], [25, 60], [25, 62], [25, 76], [25, 78], [25, 81], [25, 82], [25, 85], [25, 92], [25, 95], [25, 97], [26, 28], [26, 42], [26, 46], [26, 49], [26, 50], [26, 60], [26, 64], [26, 76], [26, 77], [26, 85], [26, 92], [27, 41], [27, 42], [27, 46], [27, 47], [27, 49], [27, 60], [27, 62], [27, 66], [27, 70], [27, 77], [27, 78], [27, 79], [27, 90], [27, 99], [28, 30], [28, 32], [28, 33], [28, 38], [28, 43], [28, 47], [28, 49], [28, 53], [28, 55], [28, 62], [28, 66], [28, 67], [28, 70], [28, 71], [28, 72], [28, 77], [28, 79], [28, 80], [28, 82], [28, 84], [28, 85], [28, 86], [28, 88], [28, 97], [29, 30], [29, 33], [29, 40], [29, 41], [29, 55], [29, 56], [29, 58], [29, 60], [29, 61], [29, 62], [29, 66], [29, 69], [29, 75], [29, 83], [29, 86], [29, 95], [30, 33], [30, 34], [30, 36], [30, 38], [30, 40], [30, 42], [30, 46], [30, 47], [30, 70], [30, 76], [30, 85], [30, 90], [30, 96], [30, 97], [31, 42], [31, 43], [31, 50], [31, 53], [31, 54], [31, 60], [31, 62], [31, 69], [31, 73], [31, 77], [31, 79], [31, 90], [32, 34], [32, 37], [32, 38], [32, 42], [32, 49], [32, 50], [32, 54], [32, 58], [32, 59], [32, 63], [32, 67], [32, 74], [32, 75], [32, 77], [32, 78], [32, 81], [32, 92], [32, 94], [32, 99], [33, 34], [33, 40], [33, 41], [33, 43], [33, 47], [33, 48], [33, 53], [33, 55], [33, 63], [33, 64], [33, 69], [33, 72], [33, 73], [33, 76], [33, 82], [33, 87], [33, 89], [33, 92], [33, 99], [34, 37], [34, 39], [34, 46], [34, 52], [34, 53], [34, 57], [34, 61], [34, 64], [34, 65], [34, 67], [34, 72], [34, 74], [34, 77], [34, 83], [34, 91], [34, 94], [34, 95], [34, 96], [35, 38], [35, 40], [35, 42], [35, 44], [35, 49], [35, 53], [35, 54], [35, 62], [35, 64], [35, 66], [35, 73], [35, 77], [35, 78], [35, 82], [35, 87], [35, 90], [35, 99], [36, 37], [36, 38], [36, 41], [36, 43], [36, 45], [36, 48], [36, 51], [36, 55], [36, 56], [36, 61], [36, 70], [36, 71], [36, 72], [36, 78], [36, 79], [36, 81], [36, 92], [36, 93], [36, 95], [36, 98], [37, 38], [37, 39], [37, 44], [37, 46], [37, 47], [37, 48], [37, 49], [37, 53], [37, 54], [37, 60], [37, 64], [37, 65], [37, 66], [37, 69], [37, 90], [37, 99], [38, 40], [38, 41], [38, 45], [38, 46], [38, 51], [38, 58], [38, 61], [38, 65], [38, 68], [38, 69], [38, 72], [38, 76], [38, 81], [38, 85], [38, 86], [38, 90], [38, 93], [38, 94], [38, 95], [38, 97], [39, 54], [39, 56], [39, 59], [39, 68], [39, 70], [39, 75], [39, 78], [39, 84], [39, 86], [39, 87], [39, 90], [39, 92], [39, 93], [40, 46], [40, 47], [40, 50], [40, 52], [40, 54], [40, 56], [40, 60], [40, 61], [40, 62], [40, 66], [40, 73], [40, 74], [40, 78], [40, 79], [40, 82], [40, 83], [40, 85], [40, 89], [40, 94], [40, 96], [40, 99], [41, 43], [41, 44], [41, 47], [41, 50], [41, 51], [41, 52], [41, 55], [41, 57], [41, 59], [41, 64], [41, 65], [41, 68], [41, 69], [41, 70], [41, 73], [41, 76], [41, 81], [41, 84], [41, 86], [41, 90], [41, 92], [41, 94], [42, 54], [42, 59], [42, 62], [42, 66], [42, 72], [42, 77], [42, 85], [42, 90], [42, 91], [42, 96], [42, 99], [43, 44], [43, 45], [43, 51], [43, 52], [43, 55], [43, 60], [43, 61], [43, 62], [43, 63], [43, 69], [43, 78], [43, 80], [43, 85], [43, 86], [43, 87], [43, 89], [43, 93], [43, 99], [44, 45], [44, 46], [44, 47], [44, 51], [44, 52], [44, 53], [44, 65], [44, 68], [44, 71], [44, 81], [44, 82], [44, 84], [44, 85], [44, 87], [44, 89], [44, 90], [44, 95], [45, 54], [45, 67], [45, 69], [45, 77], [45, 86], [45, 87], [45, 89], [45, 92], [45, 93], [45, 95], [45, 96], [46, 48], [46, 53], [46, 54], [46, 56], [46, 57], [46, 59], [46, 61], [46, 62], [46, 66], [46, 67], [46, 69], [46, 70], [46, 71], [46, 73], [46, 74], [46, 80], [46, 81], [46, 86], [46, 89], [46, 92], [46, 98], [47, 49], [47, 52], [47, 54], [47, 57], [47, 59], [47, 60], [47, 61], [47, 63], [47, 64], [47, 65], [47, 66], [47, 67], [47, 70], [47, 71], [47, 73], [47, 77], [47, 78], [47, 79], [47, 81], [47, 83], [47, 84], [47, 92], [48, 49], [48, 66], [48, 68], [48, 69], [48, 74], [48, 78], [48, 81], [48, 85], [48, 87], [48, 91], [48, 95], [48, 96], [48, 97], [49, 53], [49, 57], [49, 60], [49, 70], [49, 72], [49, 74], [49, 80], [49, 81], [49, 83], [49, 89], [49, 95], [49, 97], [50, 54], [50, 68], [50, 81], [50, 82], [50, 84], [50, 87], [50, 89], [50, 91], [50, 95], [50, 96], [51, 55], [51, 56], [51, 63], [51, 66], [51, 67], [51, 68], [51, 69], [51, 72], [51, 74], [51, 75], [51, 81], [51, 85], [51, 88], [51, 90], [51, 96], [52, 56], [52, 60], [52, 61], [52, 65], [52, 67], [52, 70], [52, 76], [52, 79], [52, 81], [52, 86], [52, 94], [52, 99], [53, 54], [53, 55], [53, 56], [53, 60], [53, 66], [53, 69], [53, 72], [53, 73], [53, 78], [53, 81], [53, 82], [53, 83], [53, 85], [53, 87], [53, 90], [53, 96], [53, 98], [54, 58], [54, 63], [54, 64], [54, 68], [54, 75], [54, 76], [54, 78], [54, 80], [54, 82], [54, 83], [54, 84], [54, 86], [54, 87], [54, 89], [54, 93], [54, 95], [55, 56], [55, 60], [55, 64], [55, 65], [55, 69], [55, 72], [55, 75], [55, 78], [55, 82], [55, 83], [55, 84], [55, 92], [55, 93], [55, 95], [55, 96], [55, 98], [56, 65], [56, 70], [56, 82], [56, 90], [56, 99], [57, 59], [57, 60], [57, 62], [57, 65], [57, 66], [57, 67], [57, 77], [57, 91], [57, 92], [57, 96], [58, 64], [58, 65], [58, 66], [58, 75], [58, 78], [58, 79], [58, 82], [58, 85], [58, 95], [59, 65], [59, 67], [59, 70], [59, 73], [59, 75], [59, 76], [59, 79], [59, 82], [59, 83], [59, 84], [59, 86], [60, 61], [60, 65], [60, 70], [60, 77], [60, 78], [60, 79], [60, 80], [60, 83], [60, 84], [60, 85], [60, 86], [60, 89], [60, 90], [60, 92], [60, 94], [60, 95], [60, 96], [61, 64], [61, 69], [61, 82], [61, 87], [61, 96], [62, 65], [62, 75], [62, 80], [62, 82], [62, 84], [62, 85], [62, 92], [62, 93], [62, 94], [62, 96], [62, 98], [62, 99], [63, 67], [63, 70], [63, 78], [63, 79], [63, 85], [63, 87], [63, 90], [63, 97], [64, 67], [64, 69], [64, 71], [64, 72], [64, 78], [64, 79], [64, 80], [64, 82], [64, 90], [64, 91], [64, 94], [64, 95], [64, 97], [65, 66], [65, 68], [65, 69], [65, 73], [65, 74], [65, 84], [65, 86], [65, 88], [65, 90], [65, 92], [65, 94], [65, 97], [66, 69], [66, 72], [66, 74], [66, 75], [66, 76], [66, 77], [66, 78], [66, 81], [66, 86], [66, 89], [66, 90], [66, 99], [67, 70], [67, 71], [67, 75], [67, 82], [67, 83], [67, 89], [67, 94], [67, 98], [67, 99], [68, 78], [68, 79], [68, 81], [68, 90], [68, 99], [69, 74], [69, 76], [69, 77], [69, 80], [69, 83], [69, 86], [69, 89], [69, 90], [69, 92], [70, 75], [70, 77], [70, 78], [70, 89], [70, 92], [70, 93], [70, 96], [70, 97], [71, 73], [71, 75], [71, 78], [71, 82], [71, 85], [71, 87], [71, 91], [71, 97], [71, 99], [72, 73], [72, 77], [72, 78], [72, 79], [72, 82], [72, 91], [72, 95], [72, 99], [73, 75], [73, 76], [73, 81], [73, 83], [73, 87], [73, 91], [74, 81], [74, 85], [74, 87], [74, 91], [74, 97], [75, 78], [75, 79], [75, 80], [75, 85], [75, 86], [75, 87], [75, 90], [75, 92], [75, 94], [75, 98], [76, 81], [76, 82], [76, 90], [76, 95], [77, 78], [77, 80], [77, 83], [77, 85], [77, 87], [77, 88], [77, 91], [77, 98], [77, 99], [78, 80], [78, 98], [79, 87], [79, 88], [79, 89], [79, 90], [79, 93], [79, 99], [80, 81], [80, 82], [80, 87], [80, 95], [81, 89], [82, 85], [82, 86], [82, 88], [82, 95], [82, 98], [82, 99], [83, 90], [83, 91], [84, 85], [85, 87], [85, 92], [85, 96], [85, 98], [86, 99], [87, 88], [87, 95], [88, 90], [88, 95], [88, 96], [88, 97], [88, 99], [89, 99], [90, 91], [90, 92], [90, 93], [90, 94], [90, 99], [91, 94], [91, 96], [91, 99], [92, 93], [92, 95], [92, 97], [93, 96], [95, 98], [96, 98], [97, 99]], "family": "nppc_independent_set", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-independent-set-l6-s7/tests/run.py b/tasks/construct-nppc-independent-set-l6-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-independent-set-l6-s7/tests/test.sh b/tasks/construct-nppc-independent-set-l6-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-independent-set-l6-s9/instruction.md b/tasks/construct-nppc-independent-set-l6-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..03ed89856a9e2b1d43bb5809b509a33c502a1d7f --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s9/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 100 vertices labelled 0..99 and 1322 edges: +[[0, 3], [0, 5], [0, 8], [0, 9], [0, 11], [0, 17], [0, 18], [0, 20], [0, 24], [0, 26], [0, 40], [0, 45], [0, 46], [0, 48], [0, 53], [0, 56], [0, 59], [0, 60], [0, 61], [0, 64], [0, 67], [0, 72], [0, 75], [0, 76], [0, 78], [0, 79], [0, 80], [0, 82], [0, 84], [0, 92], [0, 98], [1, 5], [1, 7], [1, 12], [1, 15], [1, 16], [1, 18], [1, 21], [1, 23], [1, 33], [1, 40], [1, 41], [1, 43], [1, 46], [1, 48], [1, 51], [1, 65], [1, 66], [1, 70], [1, 71], [1, 72], [1, 73], [1, 81], [1, 84], [1, 86], [1, 89], [2, 4], [2, 10], [2, 14], [2, 15], [2, 20], [2, 22], [2, 26], [2, 28], [2, 30], [2, 31], [2, 41], [2, 42], [2, 44], [2, 50], [2, 52], [2, 60], [2, 61], [2, 62], [2, 64], [2, 65], [2, 71], [2, 86], [2, 91], [2, 94], [2, 97], [2, 98], [3, 6], [3, 7], [3, 10], [3, 13], [3, 14], [3, 17], [3, 18], [3, 19], [3, 24], [3, 31], [3, 32], [3, 35], [3, 36], [3, 38], [3, 43], [3, 49], [3, 50], [3, 53], [3, 56], [3, 59], [3, 62], [3, 65], [3, 66], [3, 70], [3, 71], [3, 73], [3, 79], [3, 80], [3, 81], [3, 82], [3, 87], [3, 89], [3, 95], [3, 97], [4, 6], [4, 7], [4, 9], [4, 10], [4, 12], [4, 15], [4, 23], [4, 26], [4, 29], [4, 31], [4, 33], [4, 34], [4, 37], [4, 39], [4, 48], [4, 51], [4, 53], [4, 54], [4, 55], [4, 61], [4, 62], [4, 63], [4, 67], [4, 74], [4, 84], [4, 86], [4, 87], [4, 90], [5, 15], [5, 19], [5, 22], [5, 23], [5, 27], [5, 30], [5, 33], [5, 36], [5, 39], [5, 41], [5, 45], [5, 47], [5, 51], [5, 52], [5, 54], [5, 60], [5, 63], [5, 66], [5, 72], [5, 76], [5, 84], [5, 85], [5, 87], [5, 89], [6, 9], [6, 15], [6, 26], [6, 33], [6, 36], [6, 43], [6, 52], [6, 63], [6, 71], [6, 73], [6, 78], [6, 82], [6, 87], [6, 89], [6, 90], [6, 96], [7, 9], [7, 11], [7, 12], [7, 13], [7, 14], [7, 21], [7, 22], [7, 23], [7, 25], [7, 27], [7, 32], [7, 35], [7, 37], [7, 38], [7, 45], [7, 51], [7, 54], [7, 62], [7, 64], [7, 71], [7, 72], [7, 73], [7, 75], [7, 76], [7, 82], [7, 85], [7, 90], [7, 92], [7, 93], [7, 98], [8, 12], [8, 16], [8, 18], [8, 20], [8, 22], [8, 23], [8, 26], [8, 29], [8, 32], [8, 39], [8, 41], [8, 42], [8, 43], [8, 48], [8, 56], [8, 57], [8, 62], [8, 64], [8, 69], [8, 73], [8, 85], [8, 92], [8, 99], [9, 11], [9, 12], [9, 17], [9, 21], [9, 26], [9, 30], [9, 43], [9, 45], [9, 49], [9, 51], [9, 55], [9, 56], [9, 64], [9, 65], [9, 69], [9, 73], [9, 75], [9, 76], [9, 77], [9, 79], [9, 80], [9, 82], [9, 83], [9, 89], [9, 92], [9, 93], [9, 94], [9, 96], [9, 97], [10, 12], [10, 13], [10, 14], [10, 15], [10, 20], [10, 23], [10, 30], [10, 32], [10, 33], [10, 35], [10, 36], [10, 37], [10, 38], [10, 46], [10, 47], [10, 56], [10, 65], [10, 77], [10, 85], [10, 86], [10, 87], [10, 89], [10, 91], [10, 92], [10, 94], [10, 97], [11, 23], [11, 30], [11, 35], [11, 36], [11, 39], [11, 43], [11, 47], [11, 51], [11, 53], [11, 58], [11, 62], [11, 63], [11, 67], [11, 89], [11, 90], [11, 91], [12, 14], [12, 16], [12, 17], [12, 22], [12, 24], [12, 32], [12, 34], [12, 35], [12, 41], [12, 48], [12, 53], [12, 54], [12, 57], [12, 58], [12, 60], [12, 67], [12, 68], [12, 75], [12, 78], [12, 79], [12, 83], [12, 87], [12, 88], [12, 90], [12, 93], [12, 94], [12, 98], [13, 14], [13, 16], [13, 22], [13, 24], [13, 32], [13, 34], [13, 35], [13, 37], [13, 41], [13, 44], [13, 45], [13, 53], [13, 58], [13, 59], [13, 60], [13, 63], [13, 64], [13, 68], [13, 78], [13, 81], [13, 85], [13, 88], [13, 89], [13, 93], [13, 94], [13, 96], [13, 99], [14, 17], [14, 19], [14, 20], [14, 21], [14, 25], [14, 36], [14, 39], [14, 40], [14, 47], [14, 49], [14, 56], [14, 58], [14, 59], [14, 61], [14, 66], [14, 68], [14, 71], [14, 83], [14, 86], [14, 87], [14, 89], [14, 91], [14, 93], [14, 96], [14, 97], [15, 24], [15, 25], [15, 28], [15, 30], [15, 33], [15, 35], [15, 40], [15, 42], [15, 43], [15, 45], [15, 47], [15, 49], [15, 53], [15, 54], [15, 55], [15, 61], [15, 63], [15, 66], [15, 67], [15, 71], [15, 72], [15, 73], [15, 74], [15, 82], [15, 84], [15, 87], [15, 96], [15, 98], [16, 20], [16, 27], [16, 30], [16, 31], [16, 35], [16, 36], [16, 38], [16, 39], [16, 43], [16, 44], [16, 48], [16, 53], [16, 61], [16, 62], [16, 65], [16, 66], [16, 69], [16, 71], [16, 77], [16, 78], [16, 79], [16, 87], [16, 90], [16, 92], [16, 93], [16, 95], [16, 96], [16, 99], [17, 20], [17, 23], [17, 29], [17, 33], [17, 39], [17, 42], [17, 45], [17, 46], [17, 55], [17, 56], [17, 58], [17, 60], [17, 62], [17, 64], [17, 66], [17, 73], [17, 76], [17, 79], [17, 81], [17, 82], [17, 87], [17, 96], [17, 99], [18, 23], [18, 29], [18, 35], [18, 37], [18, 39], [18, 40], [18, 42], [18, 47], [18, 50], [18, 56], [18, 61], [18, 64], [18, 70], [18, 74], [18, 78], [18, 86], [18, 89], [18, 90], [18, 98], [19, 21], [19, 22], [19, 27], [19, 28], [19, 31], [19, 32], [19, 33], [19, 37], [19, 40], [19, 41], [19, 42], [19, 43], [19, 44], [19, 45], [19, 47], [19, 51], [19, 54], [19, 56], [19, 59], [19, 62], [19, 65], [19, 67], [19, 68], [19, 70], [19, 71], [19, 74], [19, 79], [19, 83], [19, 88], [19, 95], [19, 96], [19, 97], [20, 23], [20, 24], [20, 35], [20, 37], [20, 39], [20, 58], [20, 67], [20, 77], [20, 89], [20, 94], [21, 23], [21, 50], [21, 54], [21, 57], [21, 60], [21, 62], [21, 63], [21, 67], [21, 71], [21, 78], [21, 80], [21, 87], [21, 99], [22, 24], [22, 25], [22, 26], [22, 30], [22, 32], [22, 42], [22, 44], [22, 46], [22, 48], [22, 53], [22, 60], [22, 62], [22, 65], [22, 70], [22, 71], [22, 72], [22, 75], [22, 79], [22, 90], [22, 92], [22, 94], [22, 96], [22, 98], [23, 28], [23, 30], [23, 31], [23, 40], [23, 41], [23, 45], [23, 46], [23, 57], [23, 58], [23, 59], [23, 63], [23, 64], [23, 67], [23, 72], [23, 74], [23, 75], [23, 79], [23, 82], [23, 93], [23, 96], [23, 97], [23, 99], [24, 27], [24, 29], [24, 35], [24, 38], [24, 41], [24, 42], [24, 43], [24, 45], [24, 46], [24, 47], [24, 48], [24, 51], [24, 53], [24, 60], [24, 61], [24, 62], [24, 64], [24, 69], [24, 75], [24, 78], [24, 79], [24, 84], [24, 93], [24, 94], [25, 29], [25, 41], [25, 43], [25, 47], [25, 48], [25, 50], [25, 63], [25, 67], [25, 68], [25, 78], [25, 80], [25, 99], [26, 29], [26, 30], [26, 32], [26, 42], [26, 45], [26, 47], [26, 48], [26, 49], [26, 50], [26, 58], [26, 62], [26, 67], [26, 68], [26, 69], [26, 72], [26, 78], [26, 79], [26, 94], [26, 95], [26, 97], [26, 99], [27, 30], [27, 32], [27, 33], [27, 37], [27, 41], [27, 44], [27, 47], [27, 48], [27, 51], [27, 52], [27, 68], [27, 72], [27, 73], [27, 83], [27, 90], [28, 29], [28, 39], [28, 41], [28, 43], [28, 50], [28, 51], [28, 58], [28, 63], [28, 64], [28, 67], [28, 68], [28, 76], [28, 82], [28, 83], [28, 85], [28, 89], [29, 30], [29, 32], [29, 33], [29, 36], [29, 43], [29, 44], [29, 45], [29, 47], [29, 48], [29, 53], [29, 55], [29, 60], [29, 64], [29, 65], [29, 66], [29, 68], [29, 70], [29, 72], [29, 73], [29, 78], [29, 80], [29, 83], [29, 84], [29, 89], [29, 92], [29, 94], [29, 96], [30, 34], [30, 36], [30, 41], [30, 42], [30, 43], [30, 46], [30, 54], [30, 60], [30, 70], [30, 71], [30, 74], [30, 75], [30, 77], [30, 78], [30, 81], [30, 84], [30, 90], [30, 92], [30, 94], [31, 35], [31, 39], [31, 43], [31, 72], [31, 73], [31, 80], [31, 87], [32, 44], [32, 47], [32, 51], [32, 52], [32, 60], [32, 62], [32, 63], [32, 64], [32, 69], [32, 70], [32, 71], [32, 73], [32, 80], [32, 81], [32, 89], [32, 94], [32, 95], [33, 34], [33, 36], [33, 42], [33, 44], [33, 49], [33, 51], [33, 56], [33, 60], [33, 67], [33, 71], [33, 73], [33, 76], [33, 79], [33, 81], [33, 83], [33, 84], [33, 95], [33, 96], [33, 98], [34, 35], [34, 39], [34, 60], [34, 62], [34, 67], [34, 74], [34, 82], [34, 85], [34, 90], [34, 92], [34, 94], [35, 36], [35, 39], [35, 44], [35, 51], [35, 54], [35, 55], [35, 60], [35, 63], [35, 66], [35, 72], [35, 73], [35, 75], [35, 79], [35, 84], [35, 85], [35, 91], [36, 39], [36, 55], [36, 57], [36, 62], [36, 65], [36, 66], [36, 67], [36, 72], [36, 73], [36, 75], [36, 76], [36, 78], [36, 79], [36, 81], [36, 84], [36, 88], [36, 92], [36, 93], [37, 39], [37, 40], [37, 44], [37, 45], [37, 48], [37, 53], [37, 56], [37, 58], [37, 59], [37, 60], [37, 62], [37, 68], [37, 77], [37, 86], [37, 95], [38, 51], [38, 63], [38, 76], [38, 85], [38, 94], [39, 41], [39, 51], [39, 53], [39, 57], [39, 63], [39, 64], [39, 66], [39, 73], [39, 75], [39, 81], [39, 88], [39, 89], [39, 91], [39, 94], [40, 44], [40, 47], [40, 50], [40, 52], [40, 53], [40, 54], [40, 72], [40, 74], [40, 77], [40, 82], [40, 83], [40, 87], [40, 90], [41, 50], [41, 57], [41, 59], [41, 61], [41, 62], [41, 66], [41, 69], [41, 70], [41, 74], [41, 76], [41, 90], [42, 47], [42, 57], [42, 60], [42, 63], [42, 68], [42, 74], [42, 76], [42, 80], [42, 83], [42, 89], [42, 92], [42, 96], [43, 44], [43, 45], [43, 46], [43, 47], [43, 50], [43, 53], [43, 55], [43, 64], [43, 65], [43, 70], [43, 72], [43, 75], [43, 76], [43, 80], [43, 83], [43, 86], [43, 92], [43, 99], [44, 46], [44, 48], [44, 51], [44, 52], [44, 53], [44, 57], [44, 65], [44, 66], [44, 68], [44, 71], [44, 75], [44, 78], [44, 79], [44, 80], [44, 84], [44, 91], [44, 93], [44, 95], [45, 50], [45, 53], [45, 54], [45, 67], [45, 73], [45, 74], [45, 84], [45, 87], [45, 91], [45, 99], [46, 58], [46, 62], [46, 63], [46, 64], [46, 71], [46, 72], [46, 78], [46, 80], [46, 85], [46, 91], [46, 92], [46, 94], [46, 99], [47, 48], [47, 49], [47, 56], [47, 58], [47, 60], [47, 63], [47, 65], [47, 72], [47, 73], [47, 76], [47, 79], [47, 80], [47, 82], [47, 86], [47, 88], [47, 94], [47, 97], [47, 98], [47, 99], [48, 51], [48, 59], [48, 66], [48, 72], [48, 74], [48, 76], [48, 77], [48, 78], [48, 80], [48, 81], [48, 83], [48, 85], [48, 88], [48, 91], [48, 93], [48, 96], [48, 97], [49, 50], [49, 53], [49, 54], [49, 57], [49, 58], [49, 62], [49, 64], [49, 84], [49, 85], [49, 92], [50, 53], [50, 56], [50, 58], [50, 60], [50, 63], [50, 65], [50, 74], [50, 75], [50, 76], [50, 77], [50, 79], [50, 80], [50, 81], [50, 82], [50, 91], [50, 95], [50, 98], [50, 99], [51, 53], [51, 55], [51, 56], [51, 58], [51, 64], [51, 76], [51, 77], [51, 81], [51, 88], [51, 89], [51, 98], [52, 55], [52, 56], [52, 60], [52, 61], [52, 62], [52, 65], [52, 68], [52, 70], [52, 74], [52, 76], [52, 77], [52, 83], [52, 87], [52, 88], [52, 90], [52, 91], [52, 93], [52, 96], [52, 97], [53, 59], [53, 66], [53, 68], [53, 69], [53, 73], [53, 74], [53, 84], [53, 87], [53, 88], [53, 91], [53, 94], [53, 95], [53, 96], [53, 99], [54, 58], [54, 63], [54, 64], [54, 66], [54, 69], [54, 70], [54, 71], [54, 74], [54, 79], [54, 85], [54, 86], [54, 91], [54, 98], [55, 63], [55, 78], [55, 80], [55, 83], [55, 87], [55, 91], [55, 92], [55, 95], [55, 96], [55, 98], [56, 57], [56, 63], [56, 64], [56, 68], [56, 74], [56, 82], [56, 85], [56, 94], [56, 95], [56, 96], [56, 98], [57, 60], [57, 61], [57, 64], [57, 73], [57, 75], [57, 78], [57, 83], [57, 89], [57, 93], [58, 67], [58, 69], [58, 71], [58, 76], [58, 81], [58, 82], [58, 84], [58, 85], [58, 88], [58, 89], [58, 90], [58, 91], [58, 93], [58, 96], [58, 98], [58, 99], [59, 64], [59, 67], [59, 73], [59, 74], [59, 76], [59, 85], [59, 87], [59, 91], [60, 61], [60, 63], [60, 73], [60, 77], [60, 81], [60, 82], [60, 87], [60, 92], [60, 93], [60, 95], [61, 64], [61, 68], [61, 74], [61, 76], [61, 89], [61, 90], [61, 94], [62, 66], [62, 67], [62, 71], [62, 72], [62, 73], [62, 74], [62, 75], [62, 78], [62, 83], [62, 89], [62, 91], [62, 94], [62, 95], [62, 99], [63, 64], [63, 65], [63, 67], [63, 70], [63, 77], [63, 78], [63, 95], [63, 96], [63, 97], [64, 65], [64, 68], [64, 71], [64, 76], [64, 77], [64, 80], [64, 82], [64, 90], [64, 97], [64, 99], [65, 74], [65, 80], [65, 83], [65, 85], [65, 89], [65, 91], [65, 96], [66, 85], [66, 99], [67, 70], [67, 72], [67, 74], [67, 78], [67, 82], [67, 88], [67, 90], [67, 94], [67, 98], [68, 69], [68, 70], [68, 73], [68, 78], [68, 79], [68, 80], [68, 81], [68, 83], [68, 84], [68, 87], [68, 90], [68, 92], [68, 97], [68, 98], [69, 72], [69, 74], [69, 78], [69, 82], [69, 85], [69, 87], [69, 91], [69, 96], [69, 99], [70, 72], [70, 73], [70, 74], [70, 83], [70, 87], [70, 89], [70, 91], [70, 92], [70, 99], [71, 78], [71, 80], [71, 82], [71, 83], [71, 88], [72, 74], [72, 76], [72, 78], [72, 82], [72, 83], [72, 84], [72, 88], [72, 90], [72, 95], [72, 97], [72, 98], [73, 78], [73, 80], [73, 81], [73, 84], [73, 85], [73, 92], [73, 93], [73, 97], [73, 99], [74, 82], [74, 83], [74, 84], [74, 91], [74, 93], [74, 94], [74, 98], [75, 84], [75, 85], [75, 91], [75, 94], [75, 99], [76, 84], [76, 85], [76, 87], [76, 91], [76, 94], [77, 78], [77, 83], [77, 84], [77, 86], [77, 88], [77, 90], [77, 97], [77, 98], [77, 99], [78, 82], [78, 87], [78, 91], [78, 95], [79, 82], [79, 83], [79, 84], [79, 96], [80, 97], [80, 98], [81, 83], [81, 89], [81, 90], [82, 83], [82, 84], [82, 87], [82, 88], [82, 97], [82, 99], [83, 96], [84, 85], [84, 86], [84, 87], [84, 89], [84, 90], [84, 93], [84, 99], [85, 90], [85, 94], [85, 95], [86, 94], [87, 88], [87, 93], [87, 95], [87, 98], [88, 91], [88, 92], [88, 96], [89, 90], [89, 92], [89, 95], [89, 96], [89, 98], [89, 99], [90, 92], [90, 95], [90, 98], [91, 95], [91, 97], [92, 94], [92, 96], [92, 99], [93, 94], [93, 95], [93, 96], [93, 98], [94, 95], [94, 97], [94, 99], [95, 96]] + +Find an independent set of size at least 30: a set of distinct vertices no two of which are joined by an edge. + +Answer format: {"independent_set": [v_1, v_2, ...]} (at least 30 distinct integers in 0..99). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-independent-set-l6-s9/task.toml b/tasks/construct-nppc-independent-set-l6-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..ca9b39a0e01cd68a70011a6c8e52f2ae1e18b8fd --- /dev/null +++ b/tasks/construct-nppc-independent-set-l6-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-independent-set-l6-s9" +version = "0.2.0" +description = "construct/nppc_independent_set" +authors = [] +keywords = ["rlmath", "construct", "nppc_independent_set"] + +[metadata] +subset = "construct" +family = "nppc_independent_set" +problem_key = "graph_independent_set" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "NPPC/independent_set" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-quad-diophantine-l3-s0/environment/Dockerfile b/tasks/construct-nppc-quad-diophantine-l3-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-quad-diophantine-l3-s0/environment/instance.json b/tasks/construct-nppc-quad-diophantine-l3-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..1fad5b95682a0b9753962a56a4838670932e7bbd --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s0/environment/instance.json @@ -0,0 +1 @@ +{"a": 5643, "b": 2326, "c": 363873785268, "family": "nppc_quad_diophantine", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quad-diophantine-l3-s0/instruction.md b/tasks/construct-nppc-quad-diophantine-l3-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..312d2c938eb7688d4901fd89c7188dc8aaa65b4e --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s0/instruction.md @@ -0,0 +1,7 @@ +Find positive integers x and y (x >= 1, y >= 1) such that + + 5643 * x^2 + 2326 * y = 363873785268 + +Answer format: {"x": , "y": } (JSON integers, exact). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-quad-diophantine-l3-s0/solution/solve.sh b/tasks/construct-nppc-quad-diophantine-l3-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..79e9b936dc29a0b844d6f37c0cdb3ec2cf702f0e --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": 8030, "y": 3468} +RLMATH_EOF diff --git a/tasks/construct-nppc-quad-diophantine-l3-s0/task.toml b/tasks/construct-nppc-quad-diophantine-l3-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..f53f376a2eedb914e61790222e239684c49367b6 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-quad-diophantine-l3-s0" +version = "0.2.0" +description = "construct/nppc_quad_diophantine" +authors = [] +keywords = ["rlmath", "construct", "nppc_quad_diophantine"] + +[metadata] +subset = "construct" +family = "nppc_quad_diophantine" +problem_key = "quadratic_diophantine_ax2_by_c" +domain = "number_theory" +tier = "competition" +level = "3" +source = "NPPC/quad_diop_equ" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-quad-diophantine-l3-s0/tests/check.py b/tasks/construct-nppc-quad-diophantine-l3-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..88989d2a8839b089c9b07dd2d3c26c21bfdca58c --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s0/tests/check.py @@ -0,0 +1,11 @@ +"""a*x^2 + b*y = c in positive integers. Accepts any solution (exact integer arithmetic).""" +from run import Invalid, as_int + + +def check(inst, ans): + # upstream NPPC verifier only checks x > 0 and y > 0, so non-integer (float) x, y were accepted + x = as_int(ans.get("x"), "x", lo=1) + y = as_int(ans.get("y"), "y", lo=1) + if inst["a"] * x * x + inst["b"] * y != inst["c"]: + raise Invalid("a*x^2 + b*y != c") + return None, {} diff --git a/tasks/construct-nppc-quad-diophantine-l3-s0/tests/instance.json b/tasks/construct-nppc-quad-diophantine-l3-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..1fad5b95682a0b9753962a56a4838670932e7bbd --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s0/tests/instance.json @@ -0,0 +1 @@ +{"a": 5643, "b": 2326, "c": 363873785268, "family": "nppc_quad_diophantine", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quad-diophantine-l3-s0/tests/run.py b/tasks/construct-nppc-quad-diophantine-l3-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-quad-diophantine-l3-s0/tests/test.sh b/tasks/construct-nppc-quad-diophantine-l3-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-quad-diophantine-l3-s7/environment/Dockerfile b/tasks/construct-nppc-quad-diophantine-l3-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-quad-diophantine-l3-s7/environment/instance.json b/tasks/construct-nppc-quad-diophantine-l3-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..ae5f87d75a63614d7977698b9c877a4c2a25b7f7 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s7/environment/instance.json @@ -0,0 +1 @@ +{"a": 4235, "b": 1017, "c": 380434568, "family": "nppc_quad_diophantine", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quad-diophantine-l3-s7/instruction.md b/tasks/construct-nppc-quad-diophantine-l3-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..98c3d27c9026857a0b3df16dffb4777877cf750e --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s7/instruction.md @@ -0,0 +1,7 @@ +Find positive integers x and y (x >= 1, y >= 1) such that + + 4235 * x^2 + 1017 * y = 380434568 + +Answer format: {"x": , "y": } (JSON integers, exact). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-quad-diophantine-l3-s7/solution/solve.sh b/tasks/construct-nppc-quad-diophantine-l3-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..640dd7606b9265201ccc493c698a8d48fd00bf68 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": 296, "y": 9224} +RLMATH_EOF diff --git a/tasks/construct-nppc-quad-diophantine-l3-s7/task.toml b/tasks/construct-nppc-quad-diophantine-l3-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..6eabcaf39434eb8918070b3be25fcca26267646f --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-quad-diophantine-l3-s7" +version = "0.2.0" +description = "construct/nppc_quad_diophantine" +authors = [] +keywords = ["rlmath", "construct", "nppc_quad_diophantine"] + +[metadata] +subset = "construct" +family = "nppc_quad_diophantine" +problem_key = "quadratic_diophantine_ax2_by_c" +domain = "number_theory" +tier = "competition" +level = "3" +source = "NPPC/quad_diop_equ" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-quad-diophantine-l3-s7/tests/check.py b/tasks/construct-nppc-quad-diophantine-l3-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..88989d2a8839b089c9b07dd2d3c26c21bfdca58c --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s7/tests/check.py @@ -0,0 +1,11 @@ +"""a*x^2 + b*y = c in positive integers. Accepts any solution (exact integer arithmetic).""" +from run import Invalid, as_int + + +def check(inst, ans): + # upstream NPPC verifier only checks x > 0 and y > 0, so non-integer (float) x, y were accepted + x = as_int(ans.get("x"), "x", lo=1) + y = as_int(ans.get("y"), "y", lo=1) + if inst["a"] * x * x + inst["b"] * y != inst["c"]: + raise Invalid("a*x^2 + b*y != c") + return None, {} diff --git a/tasks/construct-nppc-quad-diophantine-l3-s7/tests/instance.json b/tasks/construct-nppc-quad-diophantine-l3-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..ae5f87d75a63614d7977698b9c877a4c2a25b7f7 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s7/tests/instance.json @@ -0,0 +1 @@ +{"a": 4235, "b": 1017, "c": 380434568, "family": "nppc_quad_diophantine", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quad-diophantine-l3-s7/tests/run.py b/tasks/construct-nppc-quad-diophantine-l3-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-quad-diophantine-l3-s7/tests/test.sh b/tasks/construct-nppc-quad-diophantine-l3-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-quad-diophantine-l3-s9/environment/Dockerfile b/tasks/construct-nppc-quad-diophantine-l3-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-quad-diophantine-l3-s9/environment/instance.json b/tasks/construct-nppc-quad-diophantine-l3-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5b3765ab489dc4c76be8561f7571fe287b5556c6 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s9/environment/instance.json @@ -0,0 +1 @@ +{"a": 4277, "b": 8140, "c": 51949978765, "family": "nppc_quad_diophantine", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quad-diophantine-l3-s9/instruction.md b/tasks/construct-nppc-quad-diophantine-l3-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..373d9a5a2ad21bbd78a8e88ddd2eed191b1fe0a8 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s9/instruction.md @@ -0,0 +1,7 @@ +Find positive integers x and y (x >= 1, y >= 1) such that + + 4277 * x^2 + 8140 * y = 51949978765 + +Answer format: {"x": , "y": } (JSON integers, exact). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-quad-diophantine-l3-s9/solution/solve.sh b/tasks/construct-nppc-quad-diophantine-l3-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..e53abc9370c977aa7941c4e24f7dcd2dbe2c5f5c --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": 3485, "y": 596} +RLMATH_EOF diff --git a/tasks/construct-nppc-quad-diophantine-l3-s9/task.toml b/tasks/construct-nppc-quad-diophantine-l3-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..37a71d3969a740966aecd51c259cbd8d0a3c312a --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-quad-diophantine-l3-s9" +version = "0.2.0" +description = "construct/nppc_quad_diophantine" +authors = [] +keywords = ["rlmath", "construct", "nppc_quad_diophantine"] + +[metadata] +subset = "construct" +family = "nppc_quad_diophantine" +problem_key = "quadratic_diophantine_ax2_by_c" +domain = "number_theory" +tier = "competition" +level = "3" +source = "NPPC/quad_diop_equ" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-quad-diophantine-l3-s9/tests/check.py b/tasks/construct-nppc-quad-diophantine-l3-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..88989d2a8839b089c9b07dd2d3c26c21bfdca58c --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s9/tests/check.py @@ -0,0 +1,11 @@ +"""a*x^2 + b*y = c in positive integers. Accepts any solution (exact integer arithmetic).""" +from run import Invalid, as_int + + +def check(inst, ans): + # upstream NPPC verifier only checks x > 0 and y > 0, so non-integer (float) x, y were accepted + x = as_int(ans.get("x"), "x", lo=1) + y = as_int(ans.get("y"), "y", lo=1) + if inst["a"] * x * x + inst["b"] * y != inst["c"]: + raise Invalid("a*x^2 + b*y != c") + return None, {} diff --git a/tasks/construct-nppc-quad-diophantine-l3-s9/tests/instance.json b/tasks/construct-nppc-quad-diophantine-l3-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5b3765ab489dc4c76be8561f7571fe287b5556c6 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s9/tests/instance.json @@ -0,0 +1 @@ +{"a": 4277, "b": 8140, "c": 51949978765, "family": "nppc_quad_diophantine", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quad-diophantine-l3-s9/tests/run.py b/tasks/construct-nppc-quad-diophantine-l3-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-quad-diophantine-l3-s9/tests/test.sh b/tasks/construct-nppc-quad-diophantine-l3-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-quad-diophantine-l3-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s0/environment/Dockerfile b/tasks/construct-nppc-quadratic-congruence-l3-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s0/environment/instance.json b/tasks/construct-nppc-quadratic-congruence-l3-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..2518ede94c69ce54e728ad62622399bbc5a04bad --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s0/environment/instance.json @@ -0,0 +1 @@ +{"a": 33461, "b": 72460, "c": 72117, "family": "nppc_quadratic_congruence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s0/instruction.md b/tasks/construct-nppc-quadratic-congruence-l3-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..57d24b62b303bca3467e50b091af51bd6d238d43 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s0/instruction.md @@ -0,0 +1,7 @@ +Find an integer x with 1 <= x < 72117 such that + + x^2 = 33461 (mod 72460). + +Answer format: {"x": } (a JSON integer, exact). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s0/solution/solve.sh b/tasks/construct-nppc-quadratic-congruence-l3-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..a1bb9e17474f81628cee19fa43017bc99a9939b1 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": 25451} +RLMATH_EOF diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s0/task.toml b/tasks/construct-nppc-quadratic-congruence-l3-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..7855f0e688eeab79d9360acfce5c49cf7d8735ac --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-quadratic-congruence-l3-s0" +version = "0.2.0" +description = "construct/nppc_quadratic_congruence" +authors = [] +keywords = ["rlmath", "construct", "nppc_quadratic_congruence"] + +[metadata] +subset = "construct" +family = "nppc_quadratic_congruence" +problem_key = "quadratic_congruence_bounded" +domain = "number_theory" +tier = "competition" +level = "3" +source = "NPPC/quadratic_congruence" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/check.py b/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..1a751c071a276ca0aae7fb05bfdcd7b6e0c6d3a6 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/check.py @@ -0,0 +1,11 @@ +"""Quadratic congruence: integer x with 1 <= x < c and x^2 = a (mod b). Accepts any such x.""" +from run import Invalid, as_int + + +def check(inst, ans): + # upstream NPPC verifier did int(x) (accepting "12", 12.9 -> 12) and only checked x < c, so negative x + # (e.g. -r for any root r) and x = 0 passed and the bound c was meaningless + x = as_int(ans.get("x"), "x", lo=1, hi=inst["c"] - 1) + if x * x % inst["b"] != inst["a"]: + raise Invalid("x^2 mod b != a") + return None, {} diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/instance.json b/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..2518ede94c69ce54e728ad62622399bbc5a04bad --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/instance.json @@ -0,0 +1 @@ +{"a": 33461, "b": 72460, "c": 72117, "family": "nppc_quadratic_congruence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/run.py b/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/test.sh b/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s7/instruction.md b/tasks/construct-nppc-quadratic-congruence-l3-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..03d3959d8551c00d9509488ae2200c70f70ac706 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s7/instruction.md @@ -0,0 +1,7 @@ +Find an integer x with 1 <= x < 86540 such that + + x^2 = 3028 (mod 36891). + +Answer format: {"x": } (a JSON integer, exact). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s7/task.toml b/tasks/construct-nppc-quadratic-congruence-l3-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..24ebd0b107d0f6b218c171046e0b2aaba9d0ea47 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-quadratic-congruence-l3-s7" +version = "0.2.0" +description = "construct/nppc_quadratic_congruence" +authors = [] +keywords = ["rlmath", "construct", "nppc_quadratic_congruence"] + +[metadata] +subset = "construct" +family = "nppc_quadratic_congruence" +problem_key = "quadratic_congruence_bounded" +domain = "number_theory" +tier = "competition" +level = "3" +source = "NPPC/quadratic_congruence" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s9/environment/Dockerfile b/tasks/construct-nppc-quadratic-congruence-l3-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s9/environment/instance.json b/tasks/construct-nppc-quadratic-congruence-l3-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..62cb161bbc28fe1044b60a05d565c1cd0fd25129 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s9/environment/instance.json @@ -0,0 +1 @@ +{"a": 19175, "b": 63670, "c": 118922, "family": "nppc_quadratic_congruence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s9/instruction.md b/tasks/construct-nppc-quadratic-congruence-l3-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..25a1ebe8aaeed170bde744efab87dde8ad6c76a0 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s9/instruction.md @@ -0,0 +1,7 @@ +Find an integer x with 1 <= x < 118922 such that + + x^2 = 19175 (mod 63670). + +Answer format: {"x": } (a JSON integer, exact). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s9/solution/solve.sh b/tasks/construct-nppc-quadratic-congruence-l3-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..ef93ef9901f19bb81d21dd476a9f0b14079d58b1 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": 76915} +RLMATH_EOF diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s9/task.toml b/tasks/construct-nppc-quadratic-congruence-l3-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..25f7712c30b43bd28f76b346b55ef8bee22cf648 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-quadratic-congruence-l3-s9" +version = "0.2.0" +description = "construct/nppc_quadratic_congruence" +authors = [] +keywords = ["rlmath", "construct", "nppc_quadratic_congruence"] + +[metadata] +subset = "construct" +family = "nppc_quadratic_congruence" +problem_key = "quadratic_congruence_bounded" +domain = "number_theory" +tier = "competition" +level = "3" +source = "NPPC/quadratic_congruence" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/check.py b/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..1a751c071a276ca0aae7fb05bfdcd7b6e0c6d3a6 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/check.py @@ -0,0 +1,11 @@ +"""Quadratic congruence: integer x with 1 <= x < c and x^2 = a (mod b). Accepts any such x.""" +from run import Invalid, as_int + + +def check(inst, ans): + # upstream NPPC verifier did int(x) (accepting "12", 12.9 -> 12) and only checked x < c, so negative x + # (e.g. -r for any root r) and x = 0 passed and the bound c was meaningless + x = as_int(ans.get("x"), "x", lo=1, hi=inst["c"] - 1) + if x * x % inst["b"] != inst["a"]: + raise Invalid("x^2 mod b != a") + return None, {} diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/instance.json b/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..62cb161bbc28fe1044b60a05d565c1cd0fd25129 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/instance.json @@ -0,0 +1 @@ +{"a": 19175, "b": 63670, "c": 118922, "family": "nppc_quadratic_congruence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/run.py b/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/test.sh b/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-quadratic-congruence-l3-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-vertex-cover-l1-s2/environment/Dockerfile b/tasks/construct-nppc-vertex-cover-l1-s2/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s2/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-vertex-cover-l1-s2/environment/instance.json b/tasks/construct-nppc-vertex-cover-l1-s2/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..424bebec92b54418d0ba772ea275f8ab98af5065 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s2/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "k": 3, "edges": [[0, 2], [0, 3], [1, 4], [2, 4], [2, 5], [2, 6], [2, 7], [3, 4], [3, 5], [3, 6], [3, 7]], "family": "nppc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-vertex-cover-l1-s2/instruction.md b/tasks/construct-nppc-vertex-cover-l1-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..8167752fa6a7c99d56ec68d0438b77e8cf5beef9 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s2/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 8 vertices labelled 0..7 and 11 edges: +[[0, 2], [0, 3], [1, 4], [2, 4], [2, 5], [2, 6], [2, 7], [3, 4], [3, 5], [3, 6], [3, 7]] + +Find a vertex cover of size at most 3: a set C of distinct vertices such that every edge has at least one endpoint in C. + +Answer format: {"cover": [v_1, v_2, ...]} (distinct integers in 0..7, at most 3 of them). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-vertex-cover-l1-s2/solution/solve.sh b/tasks/construct-nppc-vertex-cover-l1-s2/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..3cd92f46e6f5e6a61e31950f8b15491e3764ab6d --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s2/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"cover": [2, 3, 4]} +RLMATH_EOF diff --git a/tasks/construct-nppc-vertex-cover-l1-s2/task.toml b/tasks/construct-nppc-vertex-cover-l1-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..aab3cac668d79a209bd1015ca40d2c596313f9fb --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-vertex-cover-l1-s2" +version = "0.2.0" +description = "construct/nppc_vertex_cover" +authors = [] +keywords = ["rlmath", "construct", "nppc_vertex_cover"] + +[metadata] +subset = "construct" +family = "nppc_vertex_cover" +problem_key = "graph_vertex_cover" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "NPPC/vertex_cover" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-vertex-cover-l1-s2/tests/check.py b/tasks/construct-nppc-vertex-cover-l1-s2/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..d8ed740cc660c4837d941a8d70ea394c3bc9f69e --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s2/tests/check.py @@ -0,0 +1,18 @@ +"""Vertex cover of size <= k. Accepts any valid cover.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + # upstream NPPC verifier converts to a set without type checks (floats/bools slip through and + # duplicates are silently merged); here entries must be distinct ints in range + c = int_list(ans.get("cover"), None, 0, n - 1, "cover") + if len(set(c)) != len(c): + raise Invalid("cover contains duplicates") + if len(c) > k: + raise Invalid(f"cover has {len(c)} > {k} vertices") + s = set(c) + for u, v in inst["edges"]: + if u not in s and v not in s: + raise Invalid(f"edge ({u},{v}) not covered") + return None, {"size": len(c)} diff --git a/tasks/construct-nppc-vertex-cover-l1-s2/tests/instance.json b/tasks/construct-nppc-vertex-cover-l1-s2/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..424bebec92b54418d0ba772ea275f8ab98af5065 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s2/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "k": 3, "edges": [[0, 2], [0, 3], [1, 4], [2, 4], [2, 5], [2, 6], [2, 7], [3, 4], [3, 5], [3, 6], [3, 7]], "family": "nppc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-vertex-cover-l1-s2/tests/run.py b/tasks/construct-nppc-vertex-cover-l1-s2/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s2/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-vertex-cover-l1-s2/tests/test.sh b/tasks/construct-nppc-vertex-cover-l1-s2/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s2/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-vertex-cover-l1-s5/environment/Dockerfile b/tasks/construct-nppc-vertex-cover-l1-s5/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s5/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-vertex-cover-l1-s5/environment/instance.json b/tasks/construct-nppc-vertex-cover-l1-s5/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b776d1a084cd6106bc35a1e2aad25feb17194df1 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s5/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "k": 3, "edges": [[0, 2], [0, 4], [1, 2], [2, 3], [2, 5], [3, 4], [3, 7], [4, 5], [4, 6], [4, 7]], "family": "nppc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-vertex-cover-l1-s5/instruction.md b/tasks/construct-nppc-vertex-cover-l1-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..ecb00ea10e6ea7ad7d9bd57180b77fe78d0fa2fa --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s5/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 8 vertices labelled 0..7 and 10 edges: +[[0, 2], [0, 4], [1, 2], [2, 3], [2, 5], [3, 4], [3, 7], [4, 5], [4, 6], [4, 7]] + +Find a vertex cover of size at most 3: a set C of distinct vertices such that every edge has at least one endpoint in C. + +Answer format: {"cover": [v_1, v_2, ...]} (distinct integers in 0..7, at most 3 of them). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-vertex-cover-l1-s5/solution/solve.sh b/tasks/construct-nppc-vertex-cover-l1-s5/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..3cd92f46e6f5e6a61e31950f8b15491e3764ab6d --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s5/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"cover": [2, 3, 4]} +RLMATH_EOF diff --git a/tasks/construct-nppc-vertex-cover-l1-s5/task.toml b/tasks/construct-nppc-vertex-cover-l1-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..74b18c7efddc13dc502c613bbbdc3303db83df22 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-vertex-cover-l1-s5" +version = "0.2.0" +description = "construct/nppc_vertex_cover" +authors = [] +keywords = ["rlmath", "construct", "nppc_vertex_cover"] + +[metadata] +subset = "construct" +family = "nppc_vertex_cover" +problem_key = "graph_vertex_cover" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "NPPC/vertex_cover" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-vertex-cover-l1-s5/tests/check.py b/tasks/construct-nppc-vertex-cover-l1-s5/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..d8ed740cc660c4837d941a8d70ea394c3bc9f69e --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s5/tests/check.py @@ -0,0 +1,18 @@ +"""Vertex cover of size <= k. Accepts any valid cover.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + # upstream NPPC verifier converts to a set without type checks (floats/bools slip through and + # duplicates are silently merged); here entries must be distinct ints in range + c = int_list(ans.get("cover"), None, 0, n - 1, "cover") + if len(set(c)) != len(c): + raise Invalid("cover contains duplicates") + if len(c) > k: + raise Invalid(f"cover has {len(c)} > {k} vertices") + s = set(c) + for u, v in inst["edges"]: + if u not in s and v not in s: + raise Invalid(f"edge ({u},{v}) not covered") + return None, {"size": len(c)} diff --git a/tasks/construct-nppc-vertex-cover-l1-s5/tests/instance.json b/tasks/construct-nppc-vertex-cover-l1-s5/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b776d1a084cd6106bc35a1e2aad25feb17194df1 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s5/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 8, "k": 3, "edges": [[0, 2], [0, 4], [1, 2], [2, 3], [2, 5], [3, 4], [3, 7], [4, 5], [4, 6], [4, 7]], "family": "nppc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-vertex-cover-l1-s5/tests/run.py b/tasks/construct-nppc-vertex-cover-l1-s5/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s5/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-vertex-cover-l1-s5/tests/test.sh b/tasks/construct-nppc-vertex-cover-l1-s5/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l1-s5/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-vertex-cover-l5-s3/environment/Dockerfile b/tasks/construct-nppc-vertex-cover-l5-s3/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s3/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-vertex-cover-l5-s3/environment/instance.json b/tasks/construct-nppc-vertex-cover-l5-s3/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..9d458462e92e5a40c285d24ab921fd90e3c0d750 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s3/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "k": 40, "edges": [[0, 14], [0, 18], [0, 24], [0, 25], [0, 28], [0, 31], [0, 32], [0, 33], [0, 40], [0, 42], [0, 44], [0, 50], [0, 63], [0, 71], [1, 2], [1, 4], [1, 5], [1, 7], [1, 11], [1, 15], [1, 21], [1, 24], [1, 28], [1, 38], [1, 40], [1, 41], [1, 42], [1, 44], [1, 46], [1, 49], [1, 50], [1, 51], [1, 56], [1, 58], [1, 63], [1, 71], [1, 79], [2, 3], [2, 4], [2, 10], [2, 11], [2, 12], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 21], [2, 24], [2, 25], [2, 27], [2, 29], [2, 30], [2, 31], [2, 32], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 39], [2, 40], [2, 41], [2, 43], [2, 45], [2, 46], [2, 48], [2, 50], [2, 51], [2, 52], [2, 58], [2, 60], [2, 62], [2, 63], [2, 64], [2, 66], [2, 67], [2, 69], [2, 70], [2, 71], [2, 72], [2, 73], [2, 75], [2, 76], [2, 79], [3, 4], [3, 5], [3, 12], [3, 21], [3, 24], [3, 25], [3, 30], [3, 31], [3, 33], [3, 34], [3, 38], [3, 40], [3, 42], [3, 44], [3, 46], [3, 48], [3, 49], [3, 50], [3, 51], [3, 54], [3, 55], [3, 58], [3, 63], [3, 64], [3, 66], [3, 79], [4, 5], [4, 7], [4, 10], [4, 12], [4, 14], [4, 16], [4, 18], [4, 20], [4, 21], [4, 24], [4, 25], [4, 28], [4, 29], [4, 30], [4, 31], [4, 32], [4, 33], [4, 34], [4, 35], [4, 36], [4, 38], [4, 41], [4, 42], [4, 43], [4, 44], [4, 46], [4, 48], [4, 49], [4, 50], [4, 52], [4, 53], [4, 55], [4, 56], [4, 57], [4, 58], [4, 61], [4, 62], [4, 63], [4, 64], [4, 66], [4, 67], [4, 68], [4, 72], [4, 73], [4, 76], [4, 77], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 12], [5, 13], [5, 14], [5, 15], [5, 18], [5, 20], [5, 21], [5, 24], [5, 25], [5, 26], [5, 28], [5, 29], [5, 30], [5, 31], [5, 33], [5, 34], [5, 35], [5, 36], [5, 37], [5, 38], [5, 39], [5, 40], [5, 41], [5, 43], [5, 44], [5, 47], [5, 48], [5, 49], [5, 51], [5, 52], [5, 53], [5, 54], [5, 56], [5, 58], [5, 59], [5, 60], [5, 61], [5, 63], [5, 64], [5, 66], [5, 67], [5, 68], [5, 70], [5, 71], [5, 72], [5, 73], [5, 74], [5, 75], [5, 76], [6, 7], [6, 12], [6, 15], [6, 21], [6, 24], [6, 31], [6, 33], [6, 34], [6, 40], [6, 42], [6, 44], [6, 48], [6, 50], [6, 54], [6, 55], [6, 56], [6, 63], [6, 64], [6, 71], [6, 72], [6, 79], [7, 11], [7, 12], [7, 13], [7, 14], [7, 15], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [7, 22], [7, 23], [7, 24], [7, 25], [7, 26], [7, 28], [7, 31], [7, 32], [7, 33], [7, 34], [7, 36], [7, 37], [7, 38], [7, 41], [7, 43], [7, 44], [7, 45], [7, 46], [7, 47], [7, 48], [7, 49], [7, 50], [7, 54], [7, 56], [7, 57], [7, 58], [7, 60], [7, 61], [7, 63], [7, 64], [7, 66], [7, 67], [7, 71], [7, 72], [7, 74], [7, 77], [7, 79], [8, 15], [8, 21], [8, 25], [8, 28], [8, 38], [8, 41], [8, 42], [8, 51], [8, 54], [8, 55], [8, 56], [8, 58], [8, 71], [9, 14], [9, 15], [9, 18], [9, 21], [9, 25], [9, 28], [9, 30], [9, 31], [9, 33], [9, 34], [9, 38], [9, 44], [9, 46], [9, 49], [9, 54], [9, 55], [9, 60], [9, 63], [9, 71], [9, 72], [9, 79], [10, 11], [10, 14], [10, 15], [10, 18], [10, 28], [10, 31], [10, 33], [10, 34], [10, 38], [10, 40], [10, 41], [10, 42], [10, 44], [10, 46], [10, 48], [10, 50], [10, 61], [10, 72], [11, 14], [11, 16], [11, 18], [11, 19], [11, 23], [11, 24], [11, 25], [11, 29], [11, 30], [11, 31], [11, 34], [11, 36], [11, 37], [11, 40], [11, 41], [11, 43], [11, 46], [11, 51], [11, 53], [11, 54], [11, 55], [11, 58], [11, 59], [11, 61], [11, 63], [11, 64], [11, 66], [11, 67], [11, 69], [11, 71], [11, 72], [11, 74], [11, 75], [12, 13], [12, 14], [12, 18], [12, 20], [12, 21], [12, 23], [12, 24], [12, 25], [12, 27], [12, 28], [12, 29], [12, 30], [12, 31], [12, 33], [12, 34], [12, 35], [12, 36], [12, 38], [12, 40], [12, 41], [12, 48], [12, 49], [12, 50], [12, 51], [12, 52], [12, 54], [12, 55], [12, 56], [12, 57], [12, 59], [12, 60], [12, 62], [12, 63], [12, 64], [12, 66], [12, 67], [12, 68], [12, 69], [12, 71], [12, 72], [12, 74], [12, 75], [12, 76], [12, 77], [13, 14], [13, 21], [13, 25], [13, 28], [13, 30], [13, 32], [13, 33], [13, 34], [13, 40], [13, 44], [13, 46], [13, 49], [13, 50], [13, 54], [13, 56], [13, 60], [13, 61], [13, 63], [13, 64], [13, 66], [13, 71], [14, 15], [14, 16], [14, 18], [14, 20], [14, 21], [14, 22], [14, 24], [14, 27], [14, 28], [14, 30], [14, 31], [14, 32], [14, 34], [14, 35], [14, 38], [14, 42], [14, 44], [14, 45], [14, 46], [14, 49], [14, 50], [14, 54], [14, 56], [14, 58], [14, 59], [14, 60], [14, 61], [14, 62], [14, 63], [14, 64], [14, 65], [14, 66], [14, 67], [14, 68], [14, 71], [14, 73], [14, 75], [14, 76], [14, 79], [15, 17], [15, 18], [15, 19], [15, 21], [15, 24], [15, 25], [15, 26], [15, 27], [15, 28], [15, 29], [15, 31], [15, 34], [15, 36], [15, 38], [15, 39], [15, 40], [15, 41], [15, 42], [15, 43], [15, 45], [15, 46], [15, 51], [15, 53], [15, 54], [15, 55], [15, 56], [15, 57], [15, 60], [15, 62], [15, 64], [15, 65], [15, 67], [15, 68], [15, 72], [15, 74], [15, 76], [15, 79], [16, 18], [16, 21], [16, 28], [16, 32], [16, 40], [16, 41], [16, 49], [16, 50], [16, 51], [16, 55], [16, 56], [16, 58], [16, 61], [16, 63], [16, 64], [16, 66], [16, 72], [17, 18], [17, 24], [17, 28], [17, 31], [17, 33], [17, 34], [17, 40], [17, 42], [17, 46], [17, 48], [17, 50], [17, 51], [17, 55], [17, 60], [17, 64], [17, 71], [17, 79], [18, 19], [18, 20], [18, 21], [18, 22], [18, 24], [18, 26], [18, 27], [18, 30], [18, 31], [18, 33], [18, 35], [18, 37], [18, 38], [18, 40], [18, 41], [18, 46], [18, 48], [18, 49], [18, 54], [18, 57], [18, 58], [18, 59], [18, 62], [18, 63], [18, 64], [18, 70], [18, 71], [18, 72], [18, 73], [18, 75], [18, 79], [19, 21], [19, 24], [19, 32], [19, 34], [19, 38], [19, 40], [19, 46], [19, 51], [19, 54], [19, 55], [19, 56], [19, 58], [19, 63], [19, 66], [20, 21], [20, 25], [20, 33], [20, 34], [20, 40], [20, 42], [20, 44], [20, 48], [20, 51], [20, 58], [20, 61], [20, 64], [20, 66], [20, 79], [21, 22], [21, 23], [21, 25], [21, 28], [21, 29], [21, 30], [21, 31], [21, 32], [21, 33], [21, 34], [21, 35], [21, 36], [21, 37], [21, 38], [21, 40], [21, 41], [21, 42], [21, 44], [21, 45], [21, 47], [21, 48], [21, 49], [21, 50], [21, 51], [21, 52], [21, 53], [21, 54], [21, 55], [21, 56], [21, 57], [21, 61], [21, 62], [21, 63], [21, 64], [21, 65], [21, 66], [21, 69], [21, 71], [21, 76], [21, 79], [22, 28], [22, 30], [22, 34], [22, 40], [22, 42], [22, 44], [22, 46], [22, 54], [22, 58], [22, 63], [22, 64], [22, 79], [23, 24], [23, 25], [23, 32], [23, 41], [23, 42], [23, 49], [23, 50], [23, 51], [23, 55], [23, 56], [23, 66], [23, 71], [24, 25], [24, 28], [24, 29], [24, 30], [24, 32], [24, 33], [24, 34], [24, 36], [24, 38], [24, 40], [24, 41], [24, 42], [24, 44], [24, 46], [24, 48], [24, 49], [24, 50], [24, 51], [24, 53], [24, 54], [24, 56], [24, 58], [24, 63], [24, 64], [24, 65], [24, 67], [24, 68], [24, 69], [24, 70], [24, 71], [24, 72], [24, 73], [24, 77], [24, 78], [25, 26], [25, 28], [25, 29], [25, 30], [25, 31], [25, 33], [25, 34], [25, 35], [25, 36], [25, 38], [25, 39], [25, 41], [25, 42], [25, 43], [25, 44], [25, 46], [25, 48], [25, 50], [25, 51], [25, 54], [25, 56], [25, 57], [25, 58], [25, 60], [25, 61], [25, 63], [25, 64], [25, 65], [25, 69], [25, 72], [25, 73], [25, 75], [25, 76], [25, 79], [26, 28], [26, 31], [26, 34], [26, 38], [26, 40], [26, 44], [26, 49], [26, 54], [26, 58], [26, 61], [26, 64], [26, 71], [26, 72], [27, 28], [27, 31], [27, 32], [27, 33], [27, 34], [27, 40], [27, 46], [27, 48], [27, 51], [27, 55], [27, 56], [27, 61], [27, 63], [27, 71], [28, 30], [28, 31], [28, 33], [28, 34], [28, 35], [28, 36], [28, 37], [28, 38], [28, 40], [28, 41], [28, 42], [28, 43], [28, 44], [28, 45], [28, 46], [28, 49], [28, 50], [28, 51], [28, 52], [28, 54], [28, 56], [28, 57], [28, 58], [28, 59], [28, 60], [28, 61], [28, 62], [28, 63], [28, 64], [28, 65], [28, 67], [28, 69], [28, 70], [28, 71], [28, 72], [28, 77], [28, 78], [28, 79], [29, 30], [29, 31], [29, 32], [29, 38], [29, 40], [29, 41], [29, 44], [29, 46], [29, 48], [29, 49], [29, 51], [29, 56], [29, 60], [29, 61], [29, 66], [29, 72], [30, 31], [30, 32], [30, 34], [30, 35], [30, 36], [30, 39], [30, 40], [30, 41], [30, 42], [30, 47], [30, 48], [30, 50], [30, 51], [30, 53], [30, 54], [30, 56], [30, 58], [30, 60], [30, 61], [30, 62], [30, 63], [30, 64], [30, 65], [30, 66], [30, 71], [30, 72], [30, 73], [30, 74], [30, 75], [30, 76], [30, 78], [30, 79], [31, 32], [31, 37], [31, 38], [31, 40], [31, 41], [31, 42], [31, 43], [31, 44], [31, 45], [31, 46], [31, 47], [31, 48], [31, 50], [31, 51], [31, 52], [31, 53], [31, 54], [31, 55], [31, 56], [31, 57], [31, 58], [31, 59], [31, 60], [31, 65], [31, 67], [31, 69], [31, 73], [31, 74], [31, 76], [31, 77], [31, 78], [31, 79], [32, 33], [32, 34], [32, 35], [32, 36], [32, 38], [32, 40], [32, 41], [32, 42], [32, 43], [32, 44], [32, 46], [32, 47], [32, 49], [32, 53], [32, 54], [32, 56], [32, 58], [32, 60], [32, 63], [32, 64], [32, 65], [32, 66], [32, 67], [32, 69], [32, 72], [32, 73], [32, 74], [32, 77], [33, 34], [33, 35], [33, 37], [33, 39], [33, 41], [33, 42], [33, 44], [33, 47], [33, 48], [33, 49], [33, 50], [33, 53], [33, 55], [33, 57], [33, 58], [33, 59], [33, 60], [33, 61], [33, 62], [33, 63], [33, 65], [33, 66], [33, 69], [33, 71], [33, 72], [33, 73], [33, 74], [33, 76], [33, 77], [33, 78], [34, 39], [34, 40], [34, 43], [34, 44], [34, 50], [34, 53], [34, 54], [34, 55], [34, 56], [34, 57], [34, 58], [34, 59], [34, 60], [34, 61], [34, 62], [34, 64], [34, 66], [34, 67], [34, 68], [34, 69], [34, 72], [34, 73], [34, 74], [34, 75], [34, 78], [34, 79], [35, 40], [35, 42], [35, 44], [35, 48], [35, 49], [35, 50], [35, 51], [35, 54], [35, 55], [35, 58], [35, 72], [36, 40], [36, 41], [36, 42], [36, 48], [36, 49], [36, 51], [36, 54], [36, 56], [36, 60], [36, 61], [36, 66], [36, 71], [36, 72], [37, 38], [37, 41], [37, 42], [37, 44], [37, 48], [37, 51], [37, 55], [37, 60], [37, 63], [38, 41], [38, 42], [38, 44], [38, 48], [38, 49], [38, 50], [38, 52], [38, 55], [38, 56], [38, 57], [38, 58], [38, 59], [38, 60], [38, 61], [38, 62], [38, 63], [38, 64], [38, 66], [38, 67], [38, 72], [38, 75], [38, 77], [38, 78], [38, 79], [39, 40], [39, 41], [39, 48], [39, 50], [39, 51], [39, 55], [39, 58], [39, 60], [39, 61], [39, 64], [39, 66], [40, 41], [40, 42], [40, 45], [40, 46], [40, 48], [40, 49], [40, 50], [40, 51], [40, 52], [40, 54], [40, 55], [40, 56], [40, 58], [40, 59], [40, 60], [40, 64], [40, 66], [40, 67], [40, 70], [40, 71], [40, 72], [40, 73], [40, 76], [40, 79], [41, 43], [41, 45], [41, 47], [41, 48], [41, 49], [41, 50], [41, 51], [41, 54], [41, 55], [41, 56], [41, 57], [41, 58], [41, 59], [41, 60], [41, 61], [41, 63], [41, 64], [41, 65], [41, 66], [41, 69], [41, 70], [41, 71], [41, 72], [41, 75], [41, 76], [41, 79], [42, 46], [42, 47], [42, 48], [42, 49], [42, 50], [42, 51], [42, 55], [42, 56], [42, 58], [42, 61], [42, 62], [42, 63], [42, 64], [42, 66], [42, 67], [42, 68], [42, 69], [42, 71], [42, 72], [42, 73], [42, 74], [42, 75], [42, 78], [42, 79], [43, 46], [43, 48], [43, 49], [43, 50], [43, 60], [43, 61], [43, 64], [43, 66], [43, 71], [44, 46], [44, 48], [44, 49], [44, 50], [44, 51], [44, 54], [44, 60], [44, 63], [44, 64], [44, 65], [44, 68], [44, 69], [44, 70], [44, 71], [44, 72], [44, 73], [44, 78], [44, 79], [45, 49], [45, 55], [45, 63], [45, 64], [45, 66], [45, 72], [46, 48], [46, 49], [46, 50], [46, 51], [46, 52], [46, 53], [46, 54], [46, 56], [46, 59], [46, 60], [46, 61], [46, 63], [46, 64], [46, 65], [46, 66], [46, 67], [46, 68], [46, 71], [46, 72], [46, 73], [46, 74], [46, 75], [46, 76], [46, 77], [46, 78], [46, 79], [47, 54], [47, 56], [47, 58], [47, 71], [47, 72], [47, 79], [48, 49], [48, 51], [48, 54], [48, 55], [48, 56], [48, 58], [48, 59], [48, 60], [48, 61], [48, 63], [48, 64], [48, 65], [48, 66], [48, 68], [48, 69], [48, 76], [48, 77], [48, 79], [49, 50], [49, 51], [49, 53], [49, 54], [49, 55], [49, 56], [49, 57], [49, 58], [49, 59], [49, 60], [49, 61], [49, 63], [49, 64], [49, 65], [49, 66], [49, 67], [49, 71], [49, 73], [49, 74], [50, 51], [50, 52], [50, 54], [50, 56], [50, 58], [50, 60], [50, 63], [50, 67], [50, 69], [50, 70], [50, 71], [50, 73], [50, 74], [50, 75], [50, 76], [50, 79], [51, 52], [51, 53], [51, 54], [51, 55], [51, 56], [51, 57], [51, 58], [51, 60], [51, 61], [51, 63], [51, 64], [51, 65], [51, 66], [51, 68], [51, 70], [51, 72], [51, 78], [53, 55], [53, 58], [53, 60], [53, 63], [53, 66], [53, 79], [54, 55], [54, 56], [54, 57], [54, 58], [54, 60], [54, 61], [54, 62], [54, 63], [54, 64], [54, 66], [54, 67], [54, 69], [54, 70], [54, 72], [54, 73], [54, 74], [54, 76], [54, 77], [54, 79], [55, 56], [55, 57], [55, 59], [55, 61], [55, 63], [55, 64], [55, 65], [55, 66], [55, 71], [55, 72], [55, 75], [55, 76], [55, 77], [55, 79], [56, 60], [56, 61], [56, 64], [56, 66], [56, 68], [56, 69], [56, 71], [56, 73], [56, 76], [56, 79], [57, 63], [57, 64], [58, 61], [58, 62], [58, 63], [58, 64], [58, 65], [58, 66], [58, 69], [58, 70], [58, 71], [58, 72], [58, 75], [58, 78], [58, 79], [59, 60], [59, 61], [59, 64], [59, 66], [59, 72], [60, 62], [60, 63], [60, 64], [60, 65], [60, 66], [60, 67], [60, 69], [60, 70], [60, 72], [60, 74], [60, 75], [60, 76], [60, 79], [61, 62], [61, 64], [61, 65], [61, 66], [61, 70], [61, 71], [61, 72], [61, 74], [61, 79], [62, 63], [62, 64], [62, 71], [63, 64], [63, 65], [63, 66], [63, 70], [63, 71], [63, 72], [63, 73], [63, 75], [63, 78], [64, 65], [64, 66], [64, 69], [64, 71], [64, 72], [64, 73], [64, 75], [64, 77], [64, 78], [65, 71], [66, 68], [66, 69], [66, 70], [66, 74], [66, 75], [66, 76], [66, 79], [67, 71], [67, 79], [70, 71], [70, 72], [70, 79], [71, 72], [71, 76], [71, 77], [72, 73], [72, 74], [72, 77], [72, 78], [72, 79], [73, 79], [76, 79], [78, 79]], "family": "nppc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-vertex-cover-l5-s3/instruction.md b/tasks/construct-nppc-vertex-cover-l5-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..c8f6d2a99d052be4856d95c425bebbee3b3cb9f9 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s3/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 80 vertices labelled 0..79 and 1373 edges: +[[0, 14], [0, 18], [0, 24], [0, 25], [0, 28], [0, 31], [0, 32], [0, 33], [0, 40], [0, 42], [0, 44], [0, 50], [0, 63], [0, 71], [1, 2], [1, 4], [1, 5], [1, 7], [1, 11], [1, 15], [1, 21], [1, 24], [1, 28], [1, 38], [1, 40], [1, 41], [1, 42], [1, 44], [1, 46], [1, 49], [1, 50], [1, 51], [1, 56], [1, 58], [1, 63], [1, 71], [1, 79], [2, 3], [2, 4], [2, 10], [2, 11], [2, 12], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 21], [2, 24], [2, 25], [2, 27], [2, 29], [2, 30], [2, 31], [2, 32], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 39], [2, 40], [2, 41], [2, 43], [2, 45], [2, 46], [2, 48], [2, 50], [2, 51], [2, 52], [2, 58], [2, 60], [2, 62], [2, 63], [2, 64], [2, 66], [2, 67], [2, 69], [2, 70], [2, 71], [2, 72], [2, 73], [2, 75], [2, 76], [2, 79], [3, 4], [3, 5], [3, 12], [3, 21], [3, 24], [3, 25], [3, 30], [3, 31], [3, 33], [3, 34], [3, 38], [3, 40], [3, 42], [3, 44], [3, 46], [3, 48], [3, 49], [3, 50], [3, 51], [3, 54], [3, 55], [3, 58], [3, 63], [3, 64], [3, 66], [3, 79], [4, 5], [4, 7], [4, 10], [4, 12], [4, 14], [4, 16], [4, 18], [4, 20], [4, 21], [4, 24], [4, 25], [4, 28], [4, 29], [4, 30], [4, 31], [4, 32], [4, 33], [4, 34], [4, 35], [4, 36], [4, 38], [4, 41], [4, 42], [4, 43], [4, 44], [4, 46], [4, 48], [4, 49], [4, 50], [4, 52], [4, 53], [4, 55], [4, 56], [4, 57], [4, 58], [4, 61], [4, 62], [4, 63], [4, 64], [4, 66], [4, 67], [4, 68], [4, 72], [4, 73], [4, 76], [4, 77], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 12], [5, 13], [5, 14], [5, 15], [5, 18], [5, 20], [5, 21], [5, 24], [5, 25], [5, 26], [5, 28], [5, 29], [5, 30], [5, 31], [5, 33], [5, 34], [5, 35], [5, 36], [5, 37], [5, 38], [5, 39], [5, 40], [5, 41], [5, 43], [5, 44], [5, 47], [5, 48], [5, 49], [5, 51], [5, 52], [5, 53], [5, 54], [5, 56], [5, 58], [5, 59], [5, 60], [5, 61], [5, 63], [5, 64], [5, 66], [5, 67], [5, 68], [5, 70], [5, 71], [5, 72], [5, 73], [5, 74], [5, 75], [5, 76], [6, 7], [6, 12], [6, 15], [6, 21], [6, 24], [6, 31], [6, 33], [6, 34], [6, 40], [6, 42], [6, 44], [6, 48], [6, 50], [6, 54], [6, 55], [6, 56], [6, 63], [6, 64], [6, 71], [6, 72], [6, 79], [7, 11], [7, 12], [7, 13], [7, 14], [7, 15], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [7, 22], [7, 23], [7, 24], [7, 25], [7, 26], [7, 28], [7, 31], [7, 32], [7, 33], [7, 34], [7, 36], [7, 37], [7, 38], [7, 41], [7, 43], [7, 44], [7, 45], [7, 46], [7, 47], [7, 48], [7, 49], [7, 50], [7, 54], [7, 56], [7, 57], [7, 58], [7, 60], [7, 61], [7, 63], [7, 64], [7, 66], [7, 67], [7, 71], [7, 72], [7, 74], [7, 77], [7, 79], [8, 15], [8, 21], [8, 25], [8, 28], [8, 38], [8, 41], [8, 42], [8, 51], [8, 54], [8, 55], [8, 56], [8, 58], [8, 71], [9, 14], [9, 15], [9, 18], [9, 21], [9, 25], [9, 28], [9, 30], [9, 31], [9, 33], [9, 34], [9, 38], [9, 44], [9, 46], [9, 49], [9, 54], [9, 55], [9, 60], [9, 63], [9, 71], [9, 72], [9, 79], [10, 11], [10, 14], [10, 15], [10, 18], [10, 28], [10, 31], [10, 33], [10, 34], [10, 38], [10, 40], [10, 41], [10, 42], [10, 44], [10, 46], [10, 48], [10, 50], [10, 61], [10, 72], [11, 14], [11, 16], [11, 18], [11, 19], [11, 23], [11, 24], [11, 25], [11, 29], [11, 30], [11, 31], [11, 34], [11, 36], [11, 37], [11, 40], [11, 41], [11, 43], [11, 46], [11, 51], [11, 53], [11, 54], [11, 55], [11, 58], [11, 59], [11, 61], [11, 63], [11, 64], [11, 66], [11, 67], [11, 69], [11, 71], [11, 72], [11, 74], [11, 75], [12, 13], [12, 14], [12, 18], [12, 20], [12, 21], [12, 23], [12, 24], [12, 25], [12, 27], [12, 28], [12, 29], [12, 30], [12, 31], [12, 33], [12, 34], [12, 35], [12, 36], [12, 38], [12, 40], [12, 41], [12, 48], [12, 49], [12, 50], [12, 51], [12, 52], [12, 54], [12, 55], [12, 56], [12, 57], [12, 59], [12, 60], [12, 62], [12, 63], [12, 64], [12, 66], [12, 67], [12, 68], [12, 69], [12, 71], [12, 72], [12, 74], [12, 75], [12, 76], [12, 77], [13, 14], [13, 21], [13, 25], [13, 28], [13, 30], [13, 32], [13, 33], [13, 34], [13, 40], [13, 44], [13, 46], [13, 49], [13, 50], [13, 54], [13, 56], [13, 60], [13, 61], [13, 63], [13, 64], [13, 66], [13, 71], [14, 15], [14, 16], [14, 18], [14, 20], [14, 21], [14, 22], [14, 24], [14, 27], [14, 28], [14, 30], [14, 31], [14, 32], [14, 34], [14, 35], [14, 38], [14, 42], [14, 44], [14, 45], [14, 46], [14, 49], [14, 50], [14, 54], [14, 56], [14, 58], [14, 59], [14, 60], [14, 61], [14, 62], [14, 63], [14, 64], [14, 65], [14, 66], [14, 67], [14, 68], [14, 71], [14, 73], [14, 75], [14, 76], [14, 79], [15, 17], [15, 18], [15, 19], [15, 21], [15, 24], [15, 25], [15, 26], [15, 27], [15, 28], [15, 29], [15, 31], [15, 34], [15, 36], [15, 38], [15, 39], [15, 40], [15, 41], [15, 42], [15, 43], [15, 45], [15, 46], [15, 51], [15, 53], [15, 54], [15, 55], [15, 56], [15, 57], [15, 60], [15, 62], [15, 64], [15, 65], [15, 67], [15, 68], [15, 72], [15, 74], [15, 76], [15, 79], [16, 18], [16, 21], [16, 28], [16, 32], [16, 40], [16, 41], [16, 49], [16, 50], [16, 51], [16, 55], [16, 56], [16, 58], [16, 61], [16, 63], [16, 64], [16, 66], [16, 72], [17, 18], [17, 24], [17, 28], [17, 31], [17, 33], [17, 34], [17, 40], [17, 42], [17, 46], [17, 48], [17, 50], [17, 51], [17, 55], [17, 60], [17, 64], [17, 71], [17, 79], [18, 19], [18, 20], [18, 21], [18, 22], [18, 24], [18, 26], [18, 27], [18, 30], [18, 31], [18, 33], [18, 35], [18, 37], [18, 38], [18, 40], [18, 41], [18, 46], [18, 48], [18, 49], [18, 54], [18, 57], [18, 58], [18, 59], [18, 62], [18, 63], [18, 64], [18, 70], [18, 71], [18, 72], [18, 73], [18, 75], [18, 79], [19, 21], [19, 24], [19, 32], [19, 34], [19, 38], [19, 40], [19, 46], [19, 51], [19, 54], [19, 55], [19, 56], [19, 58], [19, 63], [19, 66], [20, 21], [20, 25], [20, 33], [20, 34], [20, 40], [20, 42], [20, 44], [20, 48], [20, 51], [20, 58], [20, 61], [20, 64], [20, 66], [20, 79], [21, 22], [21, 23], [21, 25], [21, 28], [21, 29], [21, 30], [21, 31], [21, 32], [21, 33], [21, 34], [21, 35], [21, 36], [21, 37], [21, 38], [21, 40], [21, 41], [21, 42], [21, 44], [21, 45], [21, 47], [21, 48], [21, 49], [21, 50], [21, 51], [21, 52], [21, 53], [21, 54], [21, 55], [21, 56], [21, 57], [21, 61], [21, 62], [21, 63], [21, 64], [21, 65], [21, 66], [21, 69], [21, 71], [21, 76], [21, 79], [22, 28], [22, 30], [22, 34], [22, 40], [22, 42], [22, 44], [22, 46], [22, 54], [22, 58], [22, 63], [22, 64], [22, 79], [23, 24], [23, 25], [23, 32], [23, 41], [23, 42], [23, 49], [23, 50], [23, 51], [23, 55], [23, 56], [23, 66], [23, 71], [24, 25], [24, 28], [24, 29], [24, 30], [24, 32], [24, 33], [24, 34], [24, 36], [24, 38], [24, 40], [24, 41], [24, 42], [24, 44], [24, 46], [24, 48], [24, 49], [24, 50], [24, 51], [24, 53], [24, 54], [24, 56], [24, 58], [24, 63], [24, 64], [24, 65], [24, 67], [24, 68], [24, 69], [24, 70], [24, 71], [24, 72], [24, 73], [24, 77], [24, 78], [25, 26], [25, 28], [25, 29], [25, 30], [25, 31], [25, 33], [25, 34], [25, 35], [25, 36], [25, 38], [25, 39], [25, 41], [25, 42], [25, 43], [25, 44], [25, 46], [25, 48], [25, 50], [25, 51], [25, 54], [25, 56], [25, 57], [25, 58], [25, 60], [25, 61], [25, 63], [25, 64], [25, 65], [25, 69], [25, 72], [25, 73], [25, 75], [25, 76], [25, 79], [26, 28], [26, 31], [26, 34], [26, 38], [26, 40], [26, 44], [26, 49], [26, 54], [26, 58], [26, 61], [26, 64], [26, 71], [26, 72], [27, 28], [27, 31], [27, 32], [27, 33], [27, 34], [27, 40], [27, 46], [27, 48], [27, 51], [27, 55], [27, 56], [27, 61], [27, 63], [27, 71], [28, 30], [28, 31], [28, 33], [28, 34], [28, 35], [28, 36], [28, 37], [28, 38], [28, 40], [28, 41], [28, 42], [28, 43], [28, 44], [28, 45], [28, 46], [28, 49], [28, 50], [28, 51], [28, 52], [28, 54], [28, 56], [28, 57], [28, 58], [28, 59], [28, 60], [28, 61], [28, 62], [28, 63], [28, 64], [28, 65], [28, 67], [28, 69], [28, 70], [28, 71], [28, 72], [28, 77], [28, 78], [28, 79], [29, 30], [29, 31], [29, 32], [29, 38], [29, 40], [29, 41], [29, 44], [29, 46], [29, 48], [29, 49], [29, 51], [29, 56], [29, 60], [29, 61], [29, 66], [29, 72], [30, 31], [30, 32], [30, 34], [30, 35], [30, 36], [30, 39], [30, 40], [30, 41], [30, 42], [30, 47], [30, 48], [30, 50], [30, 51], [30, 53], [30, 54], [30, 56], [30, 58], [30, 60], [30, 61], [30, 62], [30, 63], [30, 64], [30, 65], [30, 66], [30, 71], [30, 72], [30, 73], [30, 74], [30, 75], [30, 76], [30, 78], [30, 79], [31, 32], [31, 37], [31, 38], [31, 40], [31, 41], [31, 42], [31, 43], [31, 44], [31, 45], [31, 46], [31, 47], [31, 48], [31, 50], [31, 51], [31, 52], [31, 53], [31, 54], [31, 55], [31, 56], [31, 57], [31, 58], [31, 59], [31, 60], [31, 65], [31, 67], [31, 69], [31, 73], [31, 74], [31, 76], [31, 77], [31, 78], [31, 79], [32, 33], [32, 34], [32, 35], [32, 36], [32, 38], [32, 40], [32, 41], [32, 42], [32, 43], [32, 44], [32, 46], [32, 47], [32, 49], [32, 53], [32, 54], [32, 56], [32, 58], [32, 60], [32, 63], [32, 64], [32, 65], [32, 66], [32, 67], [32, 69], [32, 72], [32, 73], [32, 74], [32, 77], [33, 34], [33, 35], [33, 37], [33, 39], [33, 41], [33, 42], [33, 44], [33, 47], [33, 48], [33, 49], [33, 50], [33, 53], [33, 55], [33, 57], [33, 58], [33, 59], [33, 60], [33, 61], [33, 62], [33, 63], [33, 65], [33, 66], [33, 69], [33, 71], [33, 72], [33, 73], [33, 74], [33, 76], [33, 77], [33, 78], [34, 39], [34, 40], [34, 43], [34, 44], [34, 50], [34, 53], [34, 54], [34, 55], [34, 56], [34, 57], [34, 58], [34, 59], [34, 60], [34, 61], [34, 62], [34, 64], [34, 66], [34, 67], [34, 68], [34, 69], [34, 72], [34, 73], [34, 74], [34, 75], [34, 78], [34, 79], [35, 40], [35, 42], [35, 44], [35, 48], [35, 49], [35, 50], [35, 51], [35, 54], [35, 55], [35, 58], [35, 72], [36, 40], [36, 41], [36, 42], [36, 48], [36, 49], [36, 51], [36, 54], [36, 56], [36, 60], [36, 61], [36, 66], [36, 71], [36, 72], [37, 38], [37, 41], [37, 42], [37, 44], [37, 48], [37, 51], [37, 55], [37, 60], [37, 63], [38, 41], [38, 42], [38, 44], [38, 48], [38, 49], [38, 50], [38, 52], [38, 55], [38, 56], [38, 57], [38, 58], [38, 59], [38, 60], [38, 61], [38, 62], [38, 63], [38, 64], [38, 66], [38, 67], [38, 72], [38, 75], [38, 77], [38, 78], [38, 79], [39, 40], [39, 41], [39, 48], [39, 50], [39, 51], [39, 55], [39, 58], [39, 60], [39, 61], [39, 64], [39, 66], [40, 41], [40, 42], [40, 45], [40, 46], [40, 48], [40, 49], [40, 50], [40, 51], [40, 52], [40, 54], [40, 55], [40, 56], [40, 58], [40, 59], [40, 60], [40, 64], [40, 66], [40, 67], [40, 70], [40, 71], [40, 72], [40, 73], [40, 76], [40, 79], [41, 43], [41, 45], [41, 47], [41, 48], [41, 49], [41, 50], [41, 51], [41, 54], [41, 55], [41, 56], [41, 57], [41, 58], [41, 59], [41, 60], [41, 61], [41, 63], [41, 64], [41, 65], [41, 66], [41, 69], [41, 70], [41, 71], [41, 72], [41, 75], [41, 76], [41, 79], [42, 46], [42, 47], [42, 48], [42, 49], [42, 50], [42, 51], [42, 55], [42, 56], [42, 58], [42, 61], [42, 62], [42, 63], [42, 64], [42, 66], [42, 67], [42, 68], [42, 69], [42, 71], [42, 72], [42, 73], [42, 74], [42, 75], [42, 78], [42, 79], [43, 46], [43, 48], [43, 49], [43, 50], [43, 60], [43, 61], [43, 64], [43, 66], [43, 71], [44, 46], [44, 48], [44, 49], [44, 50], [44, 51], [44, 54], [44, 60], [44, 63], [44, 64], [44, 65], [44, 68], [44, 69], [44, 70], [44, 71], [44, 72], [44, 73], [44, 78], [44, 79], [45, 49], [45, 55], [45, 63], [45, 64], [45, 66], [45, 72], [46, 48], [46, 49], [46, 50], [46, 51], [46, 52], [46, 53], [46, 54], [46, 56], [46, 59], [46, 60], [46, 61], [46, 63], [46, 64], [46, 65], [46, 66], [46, 67], [46, 68], [46, 71], [46, 72], [46, 73], [46, 74], [46, 75], [46, 76], [46, 77], [46, 78], [46, 79], [47, 54], [47, 56], [47, 58], [47, 71], [47, 72], [47, 79], [48, 49], [48, 51], [48, 54], [48, 55], [48, 56], [48, 58], [48, 59], [48, 60], [48, 61], [48, 63], [48, 64], [48, 65], [48, 66], [48, 68], [48, 69], [48, 76], [48, 77], [48, 79], [49, 50], [49, 51], [49, 53], [49, 54], [49, 55], [49, 56], [49, 57], [49, 58], [49, 59], [49, 60], [49, 61], [49, 63], [49, 64], [49, 65], [49, 66], [49, 67], [49, 71], [49, 73], [49, 74], [50, 51], [50, 52], [50, 54], [50, 56], [50, 58], [50, 60], [50, 63], [50, 67], [50, 69], [50, 70], [50, 71], [50, 73], [50, 74], [50, 75], [50, 76], [50, 79], [51, 52], [51, 53], [51, 54], [51, 55], [51, 56], [51, 57], [51, 58], [51, 60], [51, 61], [51, 63], [51, 64], [51, 65], [51, 66], [51, 68], [51, 70], [51, 72], [51, 78], [53, 55], [53, 58], [53, 60], [53, 63], [53, 66], [53, 79], [54, 55], [54, 56], [54, 57], [54, 58], [54, 60], [54, 61], [54, 62], [54, 63], [54, 64], [54, 66], [54, 67], [54, 69], [54, 70], [54, 72], [54, 73], [54, 74], [54, 76], [54, 77], [54, 79], [55, 56], [55, 57], [55, 59], [55, 61], [55, 63], [55, 64], [55, 65], [55, 66], [55, 71], [55, 72], [55, 75], [55, 76], [55, 77], [55, 79], [56, 60], [56, 61], [56, 64], [56, 66], [56, 68], [56, 69], [56, 71], [56, 73], [56, 76], [56, 79], [57, 63], [57, 64], [58, 61], [58, 62], [58, 63], [58, 64], [58, 65], [58, 66], [58, 69], [58, 70], [58, 71], [58, 72], [58, 75], [58, 78], [58, 79], [59, 60], [59, 61], [59, 64], [59, 66], [59, 72], [60, 62], [60, 63], [60, 64], [60, 65], [60, 66], [60, 67], [60, 69], [60, 70], [60, 72], [60, 74], [60, 75], [60, 76], [60, 79], [61, 62], [61, 64], [61, 65], [61, 66], [61, 70], [61, 71], [61, 72], [61, 74], [61, 79], [62, 63], [62, 64], [62, 71], [63, 64], [63, 65], [63, 66], [63, 70], [63, 71], [63, 72], [63, 73], [63, 75], [63, 78], [64, 65], [64, 66], [64, 69], [64, 71], [64, 72], [64, 73], [64, 75], [64, 77], [64, 78], [65, 71], [66, 68], [66, 69], [66, 70], [66, 74], [66, 75], [66, 76], [66, 79], [67, 71], [67, 79], [70, 71], [70, 72], [70, 79], [71, 72], [71, 76], [71, 77], [72, 73], [72, 74], [72, 77], [72, 78], [72, 79], [73, 79], [76, 79], [78, 79]] + +Find a vertex cover of size at most 40: a set C of distinct vertices such that every edge has at least one endpoint in C. + +Answer format: {"cover": [v_1, v_2, ...]} (distinct integers in 0..79, at most 40 of them). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-vertex-cover-l5-s3/solution/solve.sh b/tasks/construct-nppc-vertex-cover-l5-s3/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..43f58fcb3559a9f4c43a260557cc2e965c618d07 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s3/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"cover": [2, 4, 5, 7, 11, 12, 14, 15, 18, 21, 24, 25, 28, 30, 31, 32, 33, 34, 38, 40, 41, 42, 44, 46, 48, 49, 50, 51, 54, 55, 56, 58, 60, 61, 63, 64, 66, 71, 72, 79]} +RLMATH_EOF diff --git a/tasks/construct-nppc-vertex-cover-l5-s3/task.toml b/tasks/construct-nppc-vertex-cover-l5-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5c25b431250e8094af70c399a63a0238335f70b7 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-vertex-cover-l5-s3" +version = "0.2.0" +description = "construct/nppc_vertex_cover" +authors = [] +keywords = ["rlmath", "construct", "nppc_vertex_cover"] + +[metadata] +subset = "construct" +family = "nppc_vertex_cover" +problem_key = "graph_vertex_cover" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "NPPC/vertex_cover" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-vertex-cover-l5-s3/tests/check.py b/tasks/construct-nppc-vertex-cover-l5-s3/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..d8ed740cc660c4837d941a8d70ea394c3bc9f69e --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s3/tests/check.py @@ -0,0 +1,18 @@ +"""Vertex cover of size <= k. Accepts any valid cover.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + # upstream NPPC verifier converts to a set without type checks (floats/bools slip through and + # duplicates are silently merged); here entries must be distinct ints in range + c = int_list(ans.get("cover"), None, 0, n - 1, "cover") + if len(set(c)) != len(c): + raise Invalid("cover contains duplicates") + if len(c) > k: + raise Invalid(f"cover has {len(c)} > {k} vertices") + s = set(c) + for u, v in inst["edges"]: + if u not in s and v not in s: + raise Invalid(f"edge ({u},{v}) not covered") + return None, {"size": len(c)} diff --git a/tasks/construct-nppc-vertex-cover-l5-s3/tests/instance.json b/tasks/construct-nppc-vertex-cover-l5-s3/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..9d458462e92e5a40c285d24ab921fd90e3c0d750 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s3/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "k": 40, "edges": [[0, 14], [0, 18], [0, 24], [0, 25], [0, 28], [0, 31], [0, 32], [0, 33], [0, 40], [0, 42], [0, 44], [0, 50], [0, 63], [0, 71], [1, 2], [1, 4], [1, 5], [1, 7], [1, 11], [1, 15], [1, 21], [1, 24], [1, 28], [1, 38], [1, 40], [1, 41], [1, 42], [1, 44], [1, 46], [1, 49], [1, 50], [1, 51], [1, 56], [1, 58], [1, 63], [1, 71], [1, 79], [2, 3], [2, 4], [2, 10], [2, 11], [2, 12], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 21], [2, 24], [2, 25], [2, 27], [2, 29], [2, 30], [2, 31], [2, 32], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 39], [2, 40], [2, 41], [2, 43], [2, 45], [2, 46], [2, 48], [2, 50], [2, 51], [2, 52], [2, 58], [2, 60], [2, 62], [2, 63], [2, 64], [2, 66], [2, 67], [2, 69], [2, 70], [2, 71], [2, 72], [2, 73], [2, 75], [2, 76], [2, 79], [3, 4], [3, 5], [3, 12], [3, 21], [3, 24], [3, 25], [3, 30], [3, 31], [3, 33], [3, 34], [3, 38], [3, 40], [3, 42], [3, 44], [3, 46], [3, 48], [3, 49], [3, 50], [3, 51], [3, 54], [3, 55], [3, 58], [3, 63], [3, 64], [3, 66], [3, 79], [4, 5], [4, 7], [4, 10], [4, 12], [4, 14], [4, 16], [4, 18], [4, 20], [4, 21], [4, 24], [4, 25], [4, 28], [4, 29], [4, 30], [4, 31], [4, 32], [4, 33], [4, 34], [4, 35], [4, 36], [4, 38], [4, 41], [4, 42], [4, 43], [4, 44], [4, 46], [4, 48], [4, 49], [4, 50], [4, 52], [4, 53], [4, 55], [4, 56], [4, 57], [4, 58], [4, 61], [4, 62], [4, 63], [4, 64], [4, 66], [4, 67], [4, 68], [4, 72], [4, 73], [4, 76], [4, 77], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 12], [5, 13], [5, 14], [5, 15], [5, 18], [5, 20], [5, 21], [5, 24], [5, 25], [5, 26], [5, 28], [5, 29], [5, 30], [5, 31], [5, 33], [5, 34], [5, 35], [5, 36], [5, 37], [5, 38], [5, 39], [5, 40], [5, 41], [5, 43], [5, 44], [5, 47], [5, 48], [5, 49], [5, 51], [5, 52], [5, 53], [5, 54], [5, 56], [5, 58], [5, 59], [5, 60], [5, 61], [5, 63], [5, 64], [5, 66], [5, 67], [5, 68], [5, 70], [5, 71], [5, 72], [5, 73], [5, 74], [5, 75], [5, 76], [6, 7], [6, 12], [6, 15], [6, 21], [6, 24], [6, 31], [6, 33], [6, 34], [6, 40], [6, 42], [6, 44], [6, 48], [6, 50], [6, 54], [6, 55], [6, 56], [6, 63], [6, 64], [6, 71], [6, 72], [6, 79], [7, 11], [7, 12], [7, 13], [7, 14], [7, 15], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [7, 22], [7, 23], [7, 24], [7, 25], [7, 26], [7, 28], [7, 31], [7, 32], [7, 33], [7, 34], [7, 36], [7, 37], [7, 38], [7, 41], [7, 43], [7, 44], [7, 45], [7, 46], [7, 47], [7, 48], [7, 49], [7, 50], [7, 54], [7, 56], [7, 57], [7, 58], [7, 60], [7, 61], [7, 63], [7, 64], [7, 66], [7, 67], [7, 71], [7, 72], [7, 74], [7, 77], [7, 79], [8, 15], [8, 21], [8, 25], [8, 28], [8, 38], [8, 41], [8, 42], [8, 51], [8, 54], [8, 55], [8, 56], [8, 58], [8, 71], [9, 14], [9, 15], [9, 18], [9, 21], [9, 25], [9, 28], [9, 30], [9, 31], [9, 33], [9, 34], [9, 38], [9, 44], [9, 46], [9, 49], [9, 54], [9, 55], [9, 60], [9, 63], [9, 71], [9, 72], [9, 79], [10, 11], [10, 14], [10, 15], [10, 18], [10, 28], [10, 31], [10, 33], [10, 34], [10, 38], [10, 40], [10, 41], [10, 42], [10, 44], [10, 46], [10, 48], [10, 50], [10, 61], [10, 72], [11, 14], [11, 16], [11, 18], [11, 19], [11, 23], [11, 24], [11, 25], [11, 29], [11, 30], [11, 31], [11, 34], [11, 36], [11, 37], [11, 40], [11, 41], [11, 43], [11, 46], [11, 51], [11, 53], [11, 54], [11, 55], [11, 58], [11, 59], [11, 61], [11, 63], [11, 64], [11, 66], [11, 67], [11, 69], [11, 71], [11, 72], [11, 74], [11, 75], [12, 13], [12, 14], [12, 18], [12, 20], [12, 21], [12, 23], [12, 24], [12, 25], [12, 27], [12, 28], [12, 29], [12, 30], [12, 31], [12, 33], [12, 34], [12, 35], [12, 36], [12, 38], [12, 40], [12, 41], [12, 48], [12, 49], [12, 50], [12, 51], [12, 52], [12, 54], [12, 55], [12, 56], [12, 57], [12, 59], [12, 60], [12, 62], [12, 63], [12, 64], [12, 66], [12, 67], [12, 68], [12, 69], [12, 71], [12, 72], [12, 74], [12, 75], [12, 76], [12, 77], [13, 14], [13, 21], [13, 25], [13, 28], [13, 30], [13, 32], [13, 33], [13, 34], [13, 40], [13, 44], [13, 46], [13, 49], [13, 50], [13, 54], [13, 56], [13, 60], [13, 61], [13, 63], [13, 64], [13, 66], [13, 71], [14, 15], [14, 16], [14, 18], [14, 20], [14, 21], [14, 22], [14, 24], [14, 27], [14, 28], [14, 30], [14, 31], [14, 32], [14, 34], [14, 35], [14, 38], [14, 42], [14, 44], [14, 45], [14, 46], [14, 49], [14, 50], [14, 54], [14, 56], [14, 58], [14, 59], [14, 60], [14, 61], [14, 62], [14, 63], [14, 64], [14, 65], [14, 66], [14, 67], [14, 68], [14, 71], [14, 73], [14, 75], [14, 76], [14, 79], [15, 17], [15, 18], [15, 19], [15, 21], [15, 24], [15, 25], [15, 26], [15, 27], [15, 28], [15, 29], [15, 31], [15, 34], [15, 36], [15, 38], [15, 39], [15, 40], [15, 41], [15, 42], [15, 43], [15, 45], [15, 46], [15, 51], [15, 53], [15, 54], [15, 55], [15, 56], [15, 57], [15, 60], [15, 62], [15, 64], [15, 65], [15, 67], [15, 68], [15, 72], [15, 74], [15, 76], [15, 79], [16, 18], [16, 21], [16, 28], [16, 32], [16, 40], [16, 41], [16, 49], [16, 50], [16, 51], [16, 55], [16, 56], [16, 58], [16, 61], [16, 63], [16, 64], [16, 66], [16, 72], [17, 18], [17, 24], [17, 28], [17, 31], [17, 33], [17, 34], [17, 40], [17, 42], [17, 46], [17, 48], [17, 50], [17, 51], [17, 55], [17, 60], [17, 64], [17, 71], [17, 79], [18, 19], [18, 20], [18, 21], [18, 22], [18, 24], [18, 26], [18, 27], [18, 30], [18, 31], [18, 33], [18, 35], [18, 37], [18, 38], [18, 40], [18, 41], [18, 46], [18, 48], [18, 49], [18, 54], [18, 57], [18, 58], [18, 59], [18, 62], [18, 63], [18, 64], [18, 70], [18, 71], [18, 72], [18, 73], [18, 75], [18, 79], [19, 21], [19, 24], [19, 32], [19, 34], [19, 38], [19, 40], [19, 46], [19, 51], [19, 54], [19, 55], [19, 56], [19, 58], [19, 63], [19, 66], [20, 21], [20, 25], [20, 33], [20, 34], [20, 40], [20, 42], [20, 44], [20, 48], [20, 51], [20, 58], [20, 61], [20, 64], [20, 66], [20, 79], [21, 22], [21, 23], [21, 25], [21, 28], [21, 29], [21, 30], [21, 31], [21, 32], [21, 33], [21, 34], [21, 35], [21, 36], [21, 37], [21, 38], [21, 40], [21, 41], [21, 42], [21, 44], [21, 45], [21, 47], [21, 48], [21, 49], [21, 50], [21, 51], [21, 52], [21, 53], [21, 54], [21, 55], [21, 56], [21, 57], [21, 61], [21, 62], [21, 63], [21, 64], [21, 65], [21, 66], [21, 69], [21, 71], [21, 76], [21, 79], [22, 28], [22, 30], [22, 34], [22, 40], [22, 42], [22, 44], [22, 46], [22, 54], [22, 58], [22, 63], [22, 64], [22, 79], [23, 24], [23, 25], [23, 32], [23, 41], [23, 42], [23, 49], [23, 50], [23, 51], [23, 55], [23, 56], [23, 66], [23, 71], [24, 25], [24, 28], [24, 29], [24, 30], [24, 32], [24, 33], [24, 34], [24, 36], [24, 38], [24, 40], [24, 41], [24, 42], [24, 44], [24, 46], [24, 48], [24, 49], [24, 50], [24, 51], [24, 53], [24, 54], [24, 56], [24, 58], [24, 63], [24, 64], [24, 65], [24, 67], [24, 68], [24, 69], [24, 70], [24, 71], [24, 72], [24, 73], [24, 77], [24, 78], [25, 26], [25, 28], [25, 29], [25, 30], [25, 31], [25, 33], [25, 34], [25, 35], [25, 36], [25, 38], [25, 39], [25, 41], [25, 42], [25, 43], [25, 44], [25, 46], [25, 48], [25, 50], [25, 51], [25, 54], [25, 56], [25, 57], [25, 58], [25, 60], [25, 61], [25, 63], [25, 64], [25, 65], [25, 69], [25, 72], [25, 73], [25, 75], [25, 76], [25, 79], [26, 28], [26, 31], [26, 34], [26, 38], [26, 40], [26, 44], [26, 49], [26, 54], [26, 58], [26, 61], [26, 64], [26, 71], [26, 72], [27, 28], [27, 31], [27, 32], [27, 33], [27, 34], [27, 40], [27, 46], [27, 48], [27, 51], [27, 55], [27, 56], [27, 61], [27, 63], [27, 71], [28, 30], [28, 31], [28, 33], [28, 34], [28, 35], [28, 36], [28, 37], [28, 38], [28, 40], [28, 41], [28, 42], [28, 43], [28, 44], [28, 45], [28, 46], [28, 49], [28, 50], [28, 51], [28, 52], [28, 54], [28, 56], [28, 57], [28, 58], [28, 59], [28, 60], [28, 61], [28, 62], [28, 63], [28, 64], [28, 65], [28, 67], [28, 69], [28, 70], [28, 71], [28, 72], [28, 77], [28, 78], [28, 79], [29, 30], [29, 31], [29, 32], [29, 38], [29, 40], [29, 41], [29, 44], [29, 46], [29, 48], [29, 49], [29, 51], [29, 56], [29, 60], [29, 61], [29, 66], [29, 72], [30, 31], [30, 32], [30, 34], [30, 35], [30, 36], [30, 39], [30, 40], [30, 41], [30, 42], [30, 47], [30, 48], [30, 50], [30, 51], [30, 53], [30, 54], [30, 56], [30, 58], [30, 60], [30, 61], [30, 62], [30, 63], [30, 64], [30, 65], [30, 66], [30, 71], [30, 72], [30, 73], [30, 74], [30, 75], [30, 76], [30, 78], [30, 79], [31, 32], [31, 37], [31, 38], [31, 40], [31, 41], [31, 42], [31, 43], [31, 44], [31, 45], [31, 46], [31, 47], [31, 48], [31, 50], [31, 51], [31, 52], [31, 53], [31, 54], [31, 55], [31, 56], [31, 57], [31, 58], [31, 59], [31, 60], [31, 65], [31, 67], [31, 69], [31, 73], [31, 74], [31, 76], [31, 77], [31, 78], [31, 79], [32, 33], [32, 34], [32, 35], [32, 36], [32, 38], [32, 40], [32, 41], [32, 42], [32, 43], [32, 44], [32, 46], [32, 47], [32, 49], [32, 53], [32, 54], [32, 56], [32, 58], [32, 60], [32, 63], [32, 64], [32, 65], [32, 66], [32, 67], [32, 69], [32, 72], [32, 73], [32, 74], [32, 77], [33, 34], [33, 35], [33, 37], [33, 39], [33, 41], [33, 42], [33, 44], [33, 47], [33, 48], [33, 49], [33, 50], [33, 53], [33, 55], [33, 57], [33, 58], [33, 59], [33, 60], [33, 61], [33, 62], [33, 63], [33, 65], [33, 66], [33, 69], [33, 71], [33, 72], [33, 73], [33, 74], [33, 76], [33, 77], [33, 78], [34, 39], [34, 40], [34, 43], [34, 44], [34, 50], [34, 53], [34, 54], [34, 55], [34, 56], [34, 57], [34, 58], [34, 59], [34, 60], [34, 61], [34, 62], [34, 64], [34, 66], [34, 67], [34, 68], [34, 69], [34, 72], [34, 73], [34, 74], [34, 75], [34, 78], [34, 79], [35, 40], [35, 42], [35, 44], [35, 48], [35, 49], [35, 50], [35, 51], [35, 54], [35, 55], [35, 58], [35, 72], [36, 40], [36, 41], [36, 42], [36, 48], [36, 49], [36, 51], [36, 54], [36, 56], [36, 60], [36, 61], [36, 66], [36, 71], [36, 72], [37, 38], [37, 41], [37, 42], [37, 44], [37, 48], [37, 51], [37, 55], [37, 60], [37, 63], [38, 41], [38, 42], [38, 44], [38, 48], [38, 49], [38, 50], [38, 52], [38, 55], [38, 56], [38, 57], [38, 58], [38, 59], [38, 60], [38, 61], [38, 62], [38, 63], [38, 64], [38, 66], [38, 67], [38, 72], [38, 75], [38, 77], [38, 78], [38, 79], [39, 40], [39, 41], [39, 48], [39, 50], [39, 51], [39, 55], [39, 58], [39, 60], [39, 61], [39, 64], [39, 66], [40, 41], [40, 42], [40, 45], [40, 46], [40, 48], [40, 49], [40, 50], [40, 51], [40, 52], [40, 54], [40, 55], [40, 56], [40, 58], [40, 59], [40, 60], [40, 64], [40, 66], [40, 67], [40, 70], [40, 71], [40, 72], [40, 73], [40, 76], [40, 79], [41, 43], [41, 45], [41, 47], [41, 48], [41, 49], [41, 50], [41, 51], [41, 54], [41, 55], [41, 56], [41, 57], [41, 58], [41, 59], [41, 60], [41, 61], [41, 63], [41, 64], [41, 65], [41, 66], [41, 69], [41, 70], [41, 71], [41, 72], [41, 75], [41, 76], [41, 79], [42, 46], [42, 47], [42, 48], [42, 49], [42, 50], [42, 51], [42, 55], [42, 56], [42, 58], [42, 61], [42, 62], [42, 63], [42, 64], [42, 66], [42, 67], [42, 68], [42, 69], [42, 71], [42, 72], [42, 73], [42, 74], [42, 75], [42, 78], [42, 79], [43, 46], [43, 48], [43, 49], [43, 50], [43, 60], [43, 61], [43, 64], [43, 66], [43, 71], [44, 46], [44, 48], [44, 49], [44, 50], [44, 51], [44, 54], [44, 60], [44, 63], [44, 64], [44, 65], [44, 68], [44, 69], [44, 70], [44, 71], [44, 72], [44, 73], [44, 78], [44, 79], [45, 49], [45, 55], [45, 63], [45, 64], [45, 66], [45, 72], [46, 48], [46, 49], [46, 50], [46, 51], [46, 52], [46, 53], [46, 54], [46, 56], [46, 59], [46, 60], [46, 61], [46, 63], [46, 64], [46, 65], [46, 66], [46, 67], [46, 68], [46, 71], [46, 72], [46, 73], [46, 74], [46, 75], [46, 76], [46, 77], [46, 78], [46, 79], [47, 54], [47, 56], [47, 58], [47, 71], [47, 72], [47, 79], [48, 49], [48, 51], [48, 54], [48, 55], [48, 56], [48, 58], [48, 59], [48, 60], [48, 61], [48, 63], [48, 64], [48, 65], [48, 66], [48, 68], [48, 69], [48, 76], [48, 77], [48, 79], [49, 50], [49, 51], [49, 53], [49, 54], [49, 55], [49, 56], [49, 57], [49, 58], [49, 59], [49, 60], [49, 61], [49, 63], [49, 64], [49, 65], [49, 66], [49, 67], [49, 71], [49, 73], [49, 74], [50, 51], [50, 52], [50, 54], [50, 56], [50, 58], [50, 60], [50, 63], [50, 67], [50, 69], [50, 70], [50, 71], [50, 73], [50, 74], [50, 75], [50, 76], [50, 79], [51, 52], [51, 53], [51, 54], [51, 55], [51, 56], [51, 57], [51, 58], [51, 60], [51, 61], [51, 63], [51, 64], [51, 65], [51, 66], [51, 68], [51, 70], [51, 72], [51, 78], [53, 55], [53, 58], [53, 60], [53, 63], [53, 66], [53, 79], [54, 55], [54, 56], [54, 57], [54, 58], [54, 60], [54, 61], [54, 62], [54, 63], [54, 64], [54, 66], [54, 67], [54, 69], [54, 70], [54, 72], [54, 73], [54, 74], [54, 76], [54, 77], [54, 79], [55, 56], [55, 57], [55, 59], [55, 61], [55, 63], [55, 64], [55, 65], [55, 66], [55, 71], [55, 72], [55, 75], [55, 76], [55, 77], [55, 79], [56, 60], [56, 61], [56, 64], [56, 66], [56, 68], [56, 69], [56, 71], [56, 73], [56, 76], [56, 79], [57, 63], [57, 64], [58, 61], [58, 62], [58, 63], [58, 64], [58, 65], [58, 66], [58, 69], [58, 70], [58, 71], [58, 72], [58, 75], [58, 78], [58, 79], [59, 60], [59, 61], [59, 64], [59, 66], [59, 72], [60, 62], [60, 63], [60, 64], [60, 65], [60, 66], [60, 67], [60, 69], [60, 70], [60, 72], [60, 74], [60, 75], [60, 76], [60, 79], [61, 62], [61, 64], [61, 65], [61, 66], [61, 70], [61, 71], [61, 72], [61, 74], [61, 79], [62, 63], [62, 64], [62, 71], [63, 64], [63, 65], [63, 66], [63, 70], [63, 71], [63, 72], [63, 73], [63, 75], [63, 78], [64, 65], [64, 66], [64, 69], [64, 71], [64, 72], [64, 73], [64, 75], [64, 77], [64, 78], [65, 71], [66, 68], [66, 69], [66, 70], [66, 74], [66, 75], [66, 76], [66, 79], [67, 71], [67, 79], [70, 71], [70, 72], [70, 79], [71, 72], [71, 76], [71, 77], [72, 73], [72, 74], [72, 77], [72, 78], [72, 79], [73, 79], [76, 79], [78, 79]], "family": "nppc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-vertex-cover-l5-s3/tests/run.py b/tasks/construct-nppc-vertex-cover-l5-s3/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s3/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-vertex-cover-l5-s3/tests/test.sh b/tasks/construct-nppc-vertex-cover-l5-s3/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s3/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-nppc-vertex-cover-l5-s4/environment/Dockerfile b/tasks/construct-nppc-vertex-cover-l5-s4/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s4/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-nppc-vertex-cover-l5-s4/environment/instance.json b/tasks/construct-nppc-vertex-cover-l5-s4/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e57d671f66f71897ec667b5e33dc9ee17eaaec36 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s4/environment/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "k": 40, "edges": [[0, 1], [0, 5], [0, 6], [0, 7], [0, 8], [0, 9], [0, 11], [0, 12], [0, 13], [0, 14], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [0, 22], [0, 24], [0, 26], [0, 28], [0, 30], [0, 33], [0, 35], [0, 37], [0, 40], [0, 42], [0, 46], [0, 48], [0, 50], [0, 51], [0, 52], [0, 53], [0, 54], [0, 56], [0, 57], [0, 58], [0, 59], [0, 60], [0, 61], [0, 62], [0, 63], [0, 64], [0, 65], [0, 68], [0, 69], [0, 70], [0, 71], [0, 72], [0, 73], [0, 74], [0, 76], [0, 77], [0, 78], [0, 79], [1, 4], [1, 5], [1, 9], [1, 12], [1, 13], [1, 14], [1, 15], [1, 18], [1, 21], [1, 22], [1, 23], [1, 24], [1, 26], [1, 30], [1, 31], [1, 32], [1, 35], [1, 37], [1, 38], [1, 39], [1, 41], [1, 43], [1, 44], [1, 45], [1, 47], [1, 51], [1, 52], [1, 53], [1, 54], [1, 57], [1, 58], [1, 59], [1, 60], [1, 62], [1, 63], [1, 64], [1, 66], [1, 67], [1, 68], [1, 72], [1, 73], [1, 74], [1, 75], [1, 76], [1, 77], [1, 79], [2, 4], [2, 13], [2, 14], [2, 17], [2, 18], [2, 19], [2, 20], [2, 27], [2, 28], [2, 30], [2, 40], [2, 43], [2, 46], [2, 47], [2, 51], [2, 52], [2, 54], [2, 60], [2, 61], [2, 74], [2, 76], [2, 78], [3, 4], [3, 5], [3, 13], [3, 14], [3, 18], [3, 22], [3, 25], [3, 26], [3, 27], [3, 35], [3, 36], [3, 37], [3, 39], [3, 43], [3, 46], [3, 51], [3, 52], [3, 53], [3, 54], [3, 60], [3, 61], [3, 68], [3, 72], [3, 78], [4, 6], [4, 13], [4, 14], [4, 17], [4, 18], [4, 19], [4, 20], [4, 21], [4, 23], [4, 24], [4, 26], [4, 28], [4, 30], [4, 36], [4, 37], [4, 39], [4, 40], [4, 41], [4, 42], [4, 44], [4, 46], [4, 47], [4, 48], [4, 49], [4, 51], [4, 52], [4, 54], [4, 55], [4, 56], [4, 57], [4, 58], [4, 59], [4, 60], [4, 61], [4, 63], [4, 65], [4, 66], [4, 67], [4, 69], [4, 70], [4, 72], [4, 74], [4, 75], [4, 76], [4, 77], [4, 78], [4, 79], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 12], [5, 13], [5, 14], [5, 15], [5, 17], [5, 18], [5, 19], [5, 21], [5, 22], [5, 23], [5, 24], [5, 25], [5, 26], [5, 27], [5, 30], [5, 31], [5, 32], [5, 33], [5, 34], [5, 35], [5, 36], [5, 37], [5, 40], [5, 42], [5, 46], [5, 47], [5, 48], [5, 49], [5, 50], [5, 51], [5, 52], [5, 54], [5, 56], [5, 57], [5, 59], [5, 62], [5, 64], [5, 67], [5, 68], [5, 69], [5, 72], [5, 73], [5, 74], [5, 75], [5, 76], [5, 77], [5, 78], [6, 13], [6, 17], [6, 18], [6, 20], [6, 21], [6, 22], [6, 25], [6, 30], [6, 35], [6, 37], [6, 39], [6, 43], [6, 54], [6, 61], [6, 72], [6, 74], [7, 13], [7, 17], [7, 19], [7, 22], [7, 25], [7, 26], [7, 27], [7, 30], [7, 35], [7, 43], [7, 46], [7, 51], [7, 54], [7, 62], [7, 72], [7, 77], [8, 17], [8, 21], [8, 22], [8, 25], [8, 26], [8, 28], [8, 30], [8, 35], [8, 36], [8, 51], [8, 52], [8, 53], [8, 60], [8, 61], [8, 65], [8, 76], [8, 78], [9, 13], [9, 17], [9, 28], [9, 30], [9, 35], [9, 37], [9, 39], [9, 43], [9, 46], [9, 47], [9, 60], [9, 63], [9, 65], [9, 72], [9, 77], [9, 78], [10, 21], [10, 25], [10, 26], [10, 28], [10, 35], [10, 36], [10, 37], [10, 40], [10, 43], [10, 51], [10, 52], [10, 54], [10, 60], [10, 62], [10, 65], [10, 68], [10, 74], [10, 76], [10, 78], [11, 13], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [11, 22], [11, 30], [11, 35], [11, 37], [11, 39], [11, 40], [11, 43], [11, 47], [11, 52], [11, 53], [11, 61], [11, 62], [11, 63], [11, 65], [11, 74], [11, 76], [12, 13], [12, 17], [12, 18], [12, 22], [12, 26], [12, 27], [12, 30], [12, 35], [12, 47], [12, 53], [12, 72], [12, 76], [12, 77], [12, 78], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 21], [13, 22], [13, 23], [13, 25], [13, 26], [13, 27], [13, 29], [13, 30], [13, 32], [13, 35], [13, 38], [13, 39], [13, 40], [13, 42], [13, 43], [13, 46], [13, 49], [13, 53], [13, 54], [13, 55], [13, 57], [13, 60], [13, 61], [13, 63], [13, 65], [13, 68], [13, 69], [13, 70], [13, 74], [13, 76], [13, 77], [13, 78], [13, 79], [14, 15], [14, 17], [14, 18], [14, 19], [14, 20], [14, 21], [14, 22], [14, 23], [14, 25], [14, 27], [14, 28], [14, 30], [14, 31], [14, 33], [14, 34], [14, 35], [14, 36], [14, 38], [14, 39], [14, 40], [14, 42], [14, 43], [14, 44], [14, 46], [14, 47], [14, 48], [14, 50], [14, 51], [14, 52], [14, 53], [14, 54], [14, 55], [14, 57], [14, 58], [14, 59], [14, 60], [14, 61], [14, 62], [14, 63], [14, 67], [14, 68], [14, 73], [14, 76], [14, 78], [15, 18], [15, 21], [15, 25], [15, 26], [15, 28], [15, 35], [15, 36], [15, 46], [15, 47], [15, 52], [15, 53], [15, 62], [15, 65], [16, 18], [16, 19], [16, 20], [16, 21], [16, 22], [16, 27], [16, 30], [16, 35], [16, 36], [16, 37], [16, 39], [16, 51], [16, 52], [16, 60], [16, 61], [16, 63], [16, 68], [16, 77], [16, 78], [17, 18], [17, 20], [17, 21], [17, 23], [17, 26], [17, 27], [17, 28], [17, 29], [17, 32], [17, 34], [17, 35], [17, 36], [17, 37], [17, 38], [17, 39], [17, 42], [17, 43], [17, 47], [17, 49], [17, 52], [17, 54], [17, 55], [17, 56], [17, 57], [17, 58], [17, 60], [17, 61], [17, 62], [17, 65], [17, 68], [17, 70], [17, 71], [17, 74], [17, 75], [17, 76], [17, 77], [17, 78], [18, 19], [18, 20], [18, 21], [18, 22], [18, 23], [18, 25], [18, 26], [18, 27], [18, 28], [18, 30], [18, 32], [18, 33], [18, 34], [18, 36], [18, 37], [18, 38], [18, 39], [18, 41], [18, 43], [18, 47], [18, 48], [18, 49], [18, 50], [18, 51], [18, 52], [18, 53], [18, 54], [18, 55], [18, 56], [18, 59], [18, 60], [18, 61], [18, 62], [18, 64], [18, 67], [18, 68], [18, 72], [18, 73], [18, 76], [18, 77], [18, 78], [18, 79], [19, 20], [19, 21], [19, 22], [19, 23], [19, 25], [19, 26], [19, 27], [19, 28], [19, 29], [19, 30], [19, 31], [19, 32], [19, 35], [19, 36], [19, 37], [19, 39], [19, 40], [19, 41], [19, 42], [19, 43], [19, 45], [19, 47], [19, 49], [19, 51], [19, 52], [19, 54], [19, 55], [19, 56], [19, 57], [19, 58], [19, 61], [19, 63], [19, 64], [19, 65], [19, 66], [19, 68], [19, 72], [19, 73], [19, 75], [19, 76], [19, 77], [20, 21], [20, 22], [20, 23], [20, 24], [20, 26], [20, 27], [20, 28], [20, 33], [20, 34], [20, 35], [20, 36], [20, 38], [20, 39], [20, 40], [20, 41], [20, 42], [20, 43], [20, 47], [20, 48], [20, 49], [20, 50], [20, 51], [20, 52], [20, 54], [20, 55], [20, 56], [20, 57], [20, 58], [20, 60], [20, 61], [20, 62], [20, 63], [20, 67], [20, 68], [20, 69], [20, 72], [20, 73], [20, 74], [20, 78], [20, 79], [21, 22], [21, 23], [21, 24], [21, 25], [21, 27], [21, 28], [21, 29], [21, 33], [21, 35], [21, 36], [21, 37], [21, 40], [21, 41], [21, 44], [21, 46], [21, 47], [21, 48], [21, 52], [21, 54], [21, 55], [21, 56], [21, 58], [21, 59], [21, 60], [21, 62], [21, 63], [21, 65], [21, 69], [21, 70], [21, 71], [21, 73], [21, 76], [21, 78], [22, 23], [22, 25], [22, 26], [22, 28], [22, 29], [22, 30], [22, 31], [22, 32], [22, 35], [22, 36], [22, 37], [22, 38], [22, 39], [22, 40], [22, 42], [22, 43], [22, 44], [22, 45], [22, 47], [22, 49], [22, 52], [22, 53], [22, 55], [22, 57], [22, 60], [22, 61], [22, 62], [22, 64], [22, 65], [22, 68], [22, 70], [22, 73], [22, 74], [22, 76], [22, 77], [22, 78], [22, 79], [23, 25], [23, 26], [23, 28], [23, 30], [23, 37], [23, 39], [23, 51], [23, 52], [23, 53], [23, 54], [23, 60], [23, 61], [23, 62], [23, 63], [23, 65], [23, 68], [23, 72], [23, 76], [24, 25], [24, 26], [24, 27], [24, 28], [24, 35], [24, 36], [24, 39], [24, 43], [24, 46], [24, 54], [24, 61], [24, 65], [24, 74], [24, 77], [24, 78], [25, 27], [25, 28], [25, 30], [25, 32], [25, 34], [25, 35], [25, 36], [25, 37], [25, 39], [25, 46], [25, 47], [25, 48], [25, 49], [25, 51], [25, 52], [25, 54], [25, 55], [25, 57], [25, 60], [25, 61], [25, 62], [25, 63], [25, 66], [25, 67], [25, 68], [25, 69], [25, 70], [25, 72], [25, 73], [25, 74], [25, 76], [26, 28], [26, 30], [26, 32], [26, 34], [26, 35], [26, 36], [26, 37], [26, 38], [26, 42], [26, 43], [26, 45], [26, 47], [26, 48], [26, 50], [26, 51], [26, 52], [26, 53], [26, 54], [26, 57], [26, 60], [26, 61], [26, 64], [26, 65], [26, 67], [26, 70], [26, 71], [26, 74], [26, 75], [26, 76], [26, 78], [27, 28], [27, 29], [27, 30], [27, 32], [27, 33], [27, 34], [27, 35], [27, 36], [27, 37], [27, 39], [27, 40], [27, 41], [27, 42], [27, 46], [27, 47], [27, 48], [27, 49], [27, 50], [27, 51], [27, 54], [27, 55], [27, 56], [27, 57], [27, 58], [27, 59], [27, 60], [27, 62], [27, 63], [27, 64], [27, 65], [27, 66], [27, 67], [27, 68], [27, 71], [27, 72], [27, 75], [27, 76], [27, 77], [27, 78], [28, 30], [28, 32], [28, 33], [28, 35], [28, 36], [28, 37], [28, 39], [28, 40], [28, 41], [28, 45], [28, 47], [28, 50], [28, 51], [28, 52], [28, 54], [28, 56], [28, 59], [28, 60], [28, 62], [28, 63], [28, 66], [28, 67], [28, 68], [28, 69], [28, 74], [28, 76], [28, 78], [29, 30], [29, 35], [29, 43], [29, 46], [29, 51], [29, 52], [29, 60], [29, 61], [29, 63], [29, 65], [30, 31], [30, 34], [30, 36], [30, 37], [30, 39], [30, 40], [30, 43], [30, 44], [30, 45], [30, 47], [30, 48], [30, 49], [30, 51], [30, 53], [30, 58], [30, 60], [30, 61], [30, 62], [30, 63], [30, 64], [30, 65], [30, 67], [30, 68], [30, 69], [30, 71], [30, 72], [30, 74], [30, 79], [31, 36], [31, 37], [31, 43], [31, 47], [31, 51], [31, 52], [31, 53], [31, 61], [31, 74], [31, 78], [32, 35], [32, 36], [32, 37], [32, 46], [32, 47], [32, 52], [32, 60], [32, 62], [32, 65], [32, 68], [32, 72], [32, 77], [32, 78], [33, 35], [33, 37], [33, 39], [33, 51], [33, 54], [33, 60], [33, 63], [33, 74], [33, 76], [33, 77], [34, 35], [34, 39], [34, 40], [34, 43], [34, 47], [34, 52], [34, 53], [34, 62], [34, 72], [34, 77], [35, 36], [35, 40], [35, 42], [35, 43], [35, 45], [35, 46], [35, 47], [35, 48], [35, 49], [35, 50], [35, 51], [35, 54], [35, 58], [35, 59], [35, 60], [35, 62], [35, 65], [35, 66], [35, 67], [35, 69], [35, 70], [35, 72], [35, 73], [35, 74], [35, 76], [35, 77], [35, 78], [35, 79], [36, 37], [36, 38], [36, 40], [36, 41], [36, 42], [36, 43], [36, 46], [36, 47], [36, 50], [36, 52], [36, 55], [36, 58], [36, 60], [36, 61], [36, 62], [36, 65], [36, 66], [36, 68], [36, 73], [36, 74], [36, 76], [36, 77], [36, 79], [37, 38], [37, 39], [37, 42], [37, 43], [37, 44], [37, 45], [37, 48], [37, 50], [37, 51], [37, 52], [37, 53], [37, 54], [37, 55], [37, 56], [37, 57], [37, 58], [37, 59], [37, 60], [37, 61], [37, 63], [37, 66], [37, 70], [37, 71], [37, 72], [37, 74], [37, 75], [37, 76], [37, 78], [38, 40], [38, 46], [38, 60], [38, 61], [38, 62], [38, 65], [38, 72], [39, 40], [39, 41], [39, 42], [39, 43], [39, 44], [39, 47], [39, 49], [39, 50], [39, 53], [39, 54], [39, 55], [39, 56], [39, 58], [39, 59], [39, 60], [39, 61], [39, 62], [39, 65], [39, 66], [39, 68], [39, 70], [39, 71], [39, 72], [39, 73], [39, 74], [39, 76], [39, 77], [39, 78], [40, 42], [40, 43], [40, 45], [40, 50], [40, 51], [40, 53], [40, 54], [40, 55], [40, 58], [40, 59], [40, 60], [40, 61], [40, 62], [40, 63], [40, 64], [40, 67], [40, 68], [40, 69], [40, 70], [40, 76], [40, 77], [40, 78], [41, 43], [41, 46], [41, 47], [41, 52], [41, 54], [41, 63], [41, 65], [41, 76], [41, 78], [42, 43], [42, 46], [42, 51], [42, 52], [42, 53], [42, 72], [42, 74], [42, 76], [43, 44], [43, 45], [43, 46], [43, 47], [43, 48], [43, 51], [43, 52], [43, 53], [43, 54], [43, 55], [43, 56], [43, 58], [43, 59], [43, 61], [43, 62], [43, 63], [43, 65], [43, 66], [43, 70], [43, 72], [43, 76], [43, 78], [43, 79], [44, 46], [44, 47], [44, 51], [44, 52], [44, 53], [44, 60], [44, 62], [44, 63], [44, 72], [44, 77], [44, 78], [45, 46], [45, 47], [45, 52], [45, 53], [45, 54], [45, 60], [45, 62], [45, 68], [45, 74], [45, 76], [45, 77], [46, 47], [46, 49], [46, 50], [46, 52], [46, 53], [46, 55], [46, 56], [46, 58], [46, 59], [46, 60], [46, 61], [46, 62], [46, 63], [46, 65], [46, 72], [46, 73], [46, 74], [46, 77], [46, 78], [46, 79], [47, 49], [47, 50], [47, 51], [47, 53], [47, 54], [47, 57], [47, 59], [47, 60], [47, 61], [47, 62], [47, 63], [47, 64], [47, 65], [47, 66], [47, 67], [47, 68], [47, 70], [47, 72], [47, 73], [47, 76], [47, 77], [47, 78], [48, 51], [48, 52], [48, 53], [48, 54], [48, 60], [48, 62], [48, 63], [48, 65], [48, 68], [48, 74], [48, 76], [49, 52], [49, 53], [49, 60], [49, 62], [49, 63], [49, 78], [50, 53], [50, 54], [50, 60], [50, 63], [50, 68], [50, 72], [50, 74], [50, 76], [50, 78], [51, 53], [51, 54], [51, 56], [51, 60], [51, 61], [51, 62], [51, 63], [51, 64], [51, 65], [51, 66], [51, 68], [51, 69], [51, 71], [51, 72], [51, 73], [51, 74], [51, 77], [51, 79], [52, 55], [52, 56], [52, 57], [52, 60], [52, 61], [52, 62], [52, 64], [52, 67], [52, 68], [52, 69], [52, 72], [52, 73], [52, 74], [52, 76], [52, 79], [53, 55], [53, 57], [53, 60], [53, 61], [53, 62], [53, 63], [53, 64], [53, 66], [53, 68], [53, 72], [53, 74], [53, 75], [53, 76], [53, 77], [53, 78], [53, 79], [54, 55], [54, 58], [54, 59], [54, 60], [54, 61], [54, 62], [54, 64], [54, 65], [54, 67], [54, 68], [54, 70], [54, 72], [54, 74], [54, 76], [54, 77], [54, 78], [55, 62], [55, 63], [55, 65], [55, 68], [55, 74], [55, 76], [56, 62], [56, 65], [56, 74], [56, 76], [56, 77], [57, 60], [57, 65], [57, 68], [57, 72], [57, 76], [57, 78], [58, 60], [58, 62], [58, 65], [58, 68], [58, 76], [58, 78], [59, 60], [59, 62], [59, 63], [59, 65], [59, 68], [59, 74], [59, 77], [59, 78], [60, 61], [60, 62], [60, 63], [60, 65], [60, 67], [60, 68], [60, 69], [60, 72], [60, 73], [60, 74], [60, 75], [60, 76], [60, 77], [60, 78], [61, 66], [61, 68], [61, 69], [61, 70], [61, 71], [61, 72], [61, 74], [61, 76], [61, 77], [61, 78], [61, 79], [62, 65], [62, 66], [62, 67], [62, 68], [62, 69], [62, 73], [62, 74], [62, 76], [62, 78], [63, 65], [63, 68], [63, 71], [63, 72], [63, 74], [63, 75], [63, 76], [63, 77], [63, 78], [64, 68], [64, 72], [64, 74], [64, 76], [64, 77], [64, 78], [65, 66], [65, 68], [65, 69], [65, 70], [65, 71], [65, 72], [65, 74], [65, 75], [65, 77], [65, 78], [65, 79], [66, 68], [66, 72], [66, 77], [66, 78], [67, 68], [67, 72], [67, 78], [68, 71], [68, 72], [68, 74], [68, 75], [68, 77], [68, 78], [69, 74], [69, 77], [69, 78], [70, 76], [70, 78], [71, 72], [71, 74], [71, 77], [72, 73], [72, 74], [72, 76], [72, 78], [72, 79], [73, 77], [73, 78], [74, 75], [74, 76], [74, 77], [74, 78], [74, 79], [75, 76], [76, 77], [78, 79]], "family": "nppc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-vertex-cover-l5-s4/instruction.md b/tasks/construct-nppc-vertex-cover-l5-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..746f113702fd77c8e940e90695797141cd63654e --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s4/instruction.md @@ -0,0 +1,8 @@ +Undirected graph with 80 vertices labelled 0..79 and 1409 edges: +[[0, 1], [0, 5], [0, 6], [0, 7], [0, 8], [0, 9], [0, 11], [0, 12], [0, 13], [0, 14], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [0, 22], [0, 24], [0, 26], [0, 28], [0, 30], [0, 33], [0, 35], [0, 37], [0, 40], [0, 42], [0, 46], [0, 48], [0, 50], [0, 51], [0, 52], [0, 53], [0, 54], [0, 56], [0, 57], [0, 58], [0, 59], [0, 60], [0, 61], [0, 62], [0, 63], [0, 64], [0, 65], [0, 68], [0, 69], [0, 70], [0, 71], [0, 72], [0, 73], [0, 74], [0, 76], [0, 77], [0, 78], [0, 79], [1, 4], [1, 5], [1, 9], [1, 12], [1, 13], [1, 14], [1, 15], [1, 18], [1, 21], [1, 22], [1, 23], [1, 24], [1, 26], [1, 30], [1, 31], [1, 32], [1, 35], [1, 37], [1, 38], [1, 39], [1, 41], [1, 43], [1, 44], [1, 45], [1, 47], [1, 51], [1, 52], [1, 53], [1, 54], [1, 57], [1, 58], [1, 59], [1, 60], [1, 62], [1, 63], [1, 64], [1, 66], [1, 67], [1, 68], [1, 72], [1, 73], [1, 74], [1, 75], [1, 76], [1, 77], [1, 79], [2, 4], [2, 13], [2, 14], [2, 17], [2, 18], [2, 19], [2, 20], [2, 27], [2, 28], [2, 30], [2, 40], [2, 43], [2, 46], [2, 47], [2, 51], [2, 52], [2, 54], [2, 60], [2, 61], [2, 74], [2, 76], [2, 78], [3, 4], [3, 5], [3, 13], [3, 14], [3, 18], [3, 22], [3, 25], [3, 26], [3, 27], [3, 35], [3, 36], [3, 37], [3, 39], [3, 43], [3, 46], [3, 51], [3, 52], [3, 53], [3, 54], [3, 60], [3, 61], [3, 68], [3, 72], [3, 78], [4, 6], [4, 13], [4, 14], [4, 17], [4, 18], [4, 19], [4, 20], [4, 21], [4, 23], [4, 24], [4, 26], [4, 28], [4, 30], [4, 36], [4, 37], [4, 39], [4, 40], [4, 41], [4, 42], [4, 44], [4, 46], [4, 47], [4, 48], [4, 49], [4, 51], [4, 52], [4, 54], [4, 55], [4, 56], [4, 57], [4, 58], [4, 59], [4, 60], [4, 61], [4, 63], [4, 65], [4, 66], [4, 67], [4, 69], [4, 70], [4, 72], [4, 74], [4, 75], [4, 76], [4, 77], [4, 78], [4, 79], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 12], [5, 13], [5, 14], [5, 15], [5, 17], [5, 18], [5, 19], [5, 21], [5, 22], [5, 23], [5, 24], [5, 25], [5, 26], [5, 27], [5, 30], [5, 31], [5, 32], [5, 33], [5, 34], [5, 35], [5, 36], [5, 37], [5, 40], [5, 42], [5, 46], [5, 47], [5, 48], [5, 49], [5, 50], [5, 51], [5, 52], [5, 54], [5, 56], [5, 57], [5, 59], [5, 62], [5, 64], [5, 67], [5, 68], [5, 69], [5, 72], [5, 73], [5, 74], [5, 75], [5, 76], [5, 77], [5, 78], [6, 13], [6, 17], [6, 18], [6, 20], [6, 21], [6, 22], [6, 25], [6, 30], [6, 35], [6, 37], [6, 39], [6, 43], [6, 54], [6, 61], [6, 72], [6, 74], [7, 13], [7, 17], [7, 19], [7, 22], [7, 25], [7, 26], [7, 27], [7, 30], [7, 35], [7, 43], [7, 46], [7, 51], [7, 54], [7, 62], [7, 72], [7, 77], [8, 17], [8, 21], [8, 22], [8, 25], [8, 26], [8, 28], [8, 30], [8, 35], [8, 36], [8, 51], [8, 52], [8, 53], [8, 60], [8, 61], [8, 65], [8, 76], [8, 78], [9, 13], [9, 17], [9, 28], [9, 30], [9, 35], [9, 37], [9, 39], [9, 43], [9, 46], [9, 47], [9, 60], [9, 63], [9, 65], [9, 72], [9, 77], [9, 78], [10, 21], [10, 25], [10, 26], [10, 28], [10, 35], [10, 36], [10, 37], [10, 40], [10, 43], [10, 51], [10, 52], [10, 54], [10, 60], [10, 62], [10, 65], [10, 68], [10, 74], [10, 76], [10, 78], [11, 13], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [11, 22], [11, 30], [11, 35], [11, 37], [11, 39], [11, 40], [11, 43], [11, 47], [11, 52], [11, 53], [11, 61], [11, 62], [11, 63], [11, 65], [11, 74], [11, 76], [12, 13], [12, 17], [12, 18], [12, 22], [12, 26], [12, 27], [12, 30], [12, 35], [12, 47], [12, 53], [12, 72], [12, 76], [12, 77], [12, 78], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 21], [13, 22], [13, 23], [13, 25], [13, 26], [13, 27], [13, 29], [13, 30], [13, 32], [13, 35], [13, 38], [13, 39], [13, 40], [13, 42], [13, 43], [13, 46], [13, 49], [13, 53], [13, 54], [13, 55], [13, 57], [13, 60], [13, 61], [13, 63], [13, 65], [13, 68], [13, 69], [13, 70], [13, 74], [13, 76], [13, 77], [13, 78], [13, 79], [14, 15], [14, 17], [14, 18], [14, 19], [14, 20], [14, 21], [14, 22], [14, 23], [14, 25], [14, 27], [14, 28], [14, 30], [14, 31], [14, 33], [14, 34], [14, 35], [14, 36], [14, 38], [14, 39], [14, 40], [14, 42], [14, 43], [14, 44], [14, 46], [14, 47], [14, 48], [14, 50], [14, 51], [14, 52], [14, 53], [14, 54], [14, 55], [14, 57], [14, 58], [14, 59], [14, 60], [14, 61], [14, 62], [14, 63], [14, 67], [14, 68], [14, 73], [14, 76], [14, 78], [15, 18], [15, 21], [15, 25], [15, 26], [15, 28], [15, 35], [15, 36], [15, 46], [15, 47], [15, 52], [15, 53], [15, 62], [15, 65], [16, 18], [16, 19], [16, 20], [16, 21], [16, 22], [16, 27], [16, 30], [16, 35], [16, 36], [16, 37], [16, 39], [16, 51], [16, 52], [16, 60], [16, 61], [16, 63], [16, 68], [16, 77], [16, 78], [17, 18], [17, 20], [17, 21], [17, 23], [17, 26], [17, 27], [17, 28], [17, 29], [17, 32], [17, 34], [17, 35], [17, 36], [17, 37], [17, 38], [17, 39], [17, 42], [17, 43], [17, 47], [17, 49], [17, 52], [17, 54], [17, 55], [17, 56], [17, 57], [17, 58], [17, 60], [17, 61], [17, 62], [17, 65], [17, 68], [17, 70], [17, 71], [17, 74], [17, 75], [17, 76], [17, 77], [17, 78], [18, 19], [18, 20], [18, 21], [18, 22], [18, 23], [18, 25], [18, 26], [18, 27], [18, 28], [18, 30], [18, 32], [18, 33], [18, 34], [18, 36], [18, 37], [18, 38], [18, 39], [18, 41], [18, 43], [18, 47], [18, 48], [18, 49], [18, 50], [18, 51], [18, 52], [18, 53], [18, 54], [18, 55], [18, 56], [18, 59], [18, 60], [18, 61], [18, 62], [18, 64], [18, 67], [18, 68], [18, 72], [18, 73], [18, 76], [18, 77], [18, 78], [18, 79], [19, 20], [19, 21], [19, 22], [19, 23], [19, 25], [19, 26], [19, 27], [19, 28], [19, 29], [19, 30], [19, 31], [19, 32], [19, 35], [19, 36], [19, 37], [19, 39], [19, 40], [19, 41], [19, 42], [19, 43], [19, 45], [19, 47], [19, 49], [19, 51], [19, 52], [19, 54], [19, 55], [19, 56], [19, 57], [19, 58], [19, 61], [19, 63], [19, 64], [19, 65], [19, 66], [19, 68], [19, 72], [19, 73], [19, 75], [19, 76], [19, 77], [20, 21], [20, 22], [20, 23], [20, 24], [20, 26], [20, 27], [20, 28], [20, 33], [20, 34], [20, 35], [20, 36], [20, 38], [20, 39], [20, 40], [20, 41], [20, 42], [20, 43], [20, 47], [20, 48], [20, 49], [20, 50], [20, 51], [20, 52], [20, 54], [20, 55], [20, 56], [20, 57], [20, 58], [20, 60], [20, 61], [20, 62], [20, 63], [20, 67], [20, 68], [20, 69], [20, 72], [20, 73], [20, 74], [20, 78], [20, 79], [21, 22], [21, 23], [21, 24], [21, 25], [21, 27], [21, 28], [21, 29], [21, 33], [21, 35], [21, 36], [21, 37], [21, 40], [21, 41], [21, 44], [21, 46], [21, 47], [21, 48], [21, 52], [21, 54], [21, 55], [21, 56], [21, 58], [21, 59], [21, 60], [21, 62], [21, 63], [21, 65], [21, 69], [21, 70], [21, 71], [21, 73], [21, 76], [21, 78], [22, 23], [22, 25], [22, 26], [22, 28], [22, 29], [22, 30], [22, 31], [22, 32], [22, 35], [22, 36], [22, 37], [22, 38], [22, 39], [22, 40], [22, 42], [22, 43], [22, 44], [22, 45], [22, 47], [22, 49], [22, 52], [22, 53], [22, 55], [22, 57], [22, 60], [22, 61], [22, 62], [22, 64], [22, 65], [22, 68], [22, 70], [22, 73], [22, 74], [22, 76], [22, 77], [22, 78], [22, 79], [23, 25], [23, 26], [23, 28], [23, 30], [23, 37], [23, 39], [23, 51], [23, 52], [23, 53], [23, 54], [23, 60], [23, 61], [23, 62], [23, 63], [23, 65], [23, 68], [23, 72], [23, 76], [24, 25], [24, 26], [24, 27], [24, 28], [24, 35], [24, 36], [24, 39], [24, 43], [24, 46], [24, 54], [24, 61], [24, 65], [24, 74], [24, 77], [24, 78], [25, 27], [25, 28], [25, 30], [25, 32], [25, 34], [25, 35], [25, 36], [25, 37], [25, 39], [25, 46], [25, 47], [25, 48], [25, 49], [25, 51], [25, 52], [25, 54], [25, 55], [25, 57], [25, 60], [25, 61], [25, 62], [25, 63], [25, 66], [25, 67], [25, 68], [25, 69], [25, 70], [25, 72], [25, 73], [25, 74], [25, 76], [26, 28], [26, 30], [26, 32], [26, 34], [26, 35], [26, 36], [26, 37], [26, 38], [26, 42], [26, 43], [26, 45], [26, 47], [26, 48], [26, 50], [26, 51], [26, 52], [26, 53], [26, 54], [26, 57], [26, 60], [26, 61], [26, 64], [26, 65], [26, 67], [26, 70], [26, 71], [26, 74], [26, 75], [26, 76], [26, 78], [27, 28], [27, 29], [27, 30], [27, 32], [27, 33], [27, 34], [27, 35], [27, 36], [27, 37], [27, 39], [27, 40], [27, 41], [27, 42], [27, 46], [27, 47], [27, 48], [27, 49], [27, 50], [27, 51], [27, 54], [27, 55], [27, 56], [27, 57], [27, 58], [27, 59], [27, 60], [27, 62], [27, 63], [27, 64], [27, 65], [27, 66], [27, 67], [27, 68], [27, 71], [27, 72], [27, 75], [27, 76], [27, 77], [27, 78], [28, 30], [28, 32], [28, 33], [28, 35], [28, 36], [28, 37], [28, 39], [28, 40], [28, 41], [28, 45], [28, 47], [28, 50], [28, 51], [28, 52], [28, 54], [28, 56], [28, 59], [28, 60], [28, 62], [28, 63], [28, 66], [28, 67], [28, 68], [28, 69], [28, 74], [28, 76], [28, 78], [29, 30], [29, 35], [29, 43], [29, 46], [29, 51], [29, 52], [29, 60], [29, 61], [29, 63], [29, 65], [30, 31], [30, 34], [30, 36], [30, 37], [30, 39], [30, 40], [30, 43], [30, 44], [30, 45], [30, 47], [30, 48], [30, 49], [30, 51], [30, 53], [30, 58], [30, 60], [30, 61], [30, 62], [30, 63], [30, 64], [30, 65], [30, 67], [30, 68], [30, 69], [30, 71], [30, 72], [30, 74], [30, 79], [31, 36], [31, 37], [31, 43], [31, 47], [31, 51], [31, 52], [31, 53], [31, 61], [31, 74], [31, 78], [32, 35], [32, 36], [32, 37], [32, 46], [32, 47], [32, 52], [32, 60], [32, 62], [32, 65], [32, 68], [32, 72], [32, 77], [32, 78], [33, 35], [33, 37], [33, 39], [33, 51], [33, 54], [33, 60], [33, 63], [33, 74], [33, 76], [33, 77], [34, 35], [34, 39], [34, 40], [34, 43], [34, 47], [34, 52], [34, 53], [34, 62], [34, 72], [34, 77], [35, 36], [35, 40], [35, 42], [35, 43], [35, 45], [35, 46], [35, 47], [35, 48], [35, 49], [35, 50], [35, 51], [35, 54], [35, 58], [35, 59], [35, 60], [35, 62], [35, 65], [35, 66], [35, 67], [35, 69], [35, 70], [35, 72], [35, 73], [35, 74], [35, 76], [35, 77], [35, 78], [35, 79], [36, 37], [36, 38], [36, 40], [36, 41], [36, 42], [36, 43], [36, 46], [36, 47], [36, 50], [36, 52], [36, 55], [36, 58], [36, 60], [36, 61], [36, 62], [36, 65], [36, 66], [36, 68], [36, 73], [36, 74], [36, 76], [36, 77], [36, 79], [37, 38], [37, 39], [37, 42], [37, 43], [37, 44], [37, 45], [37, 48], [37, 50], [37, 51], [37, 52], [37, 53], [37, 54], [37, 55], [37, 56], [37, 57], [37, 58], [37, 59], [37, 60], [37, 61], [37, 63], [37, 66], [37, 70], [37, 71], [37, 72], [37, 74], [37, 75], [37, 76], [37, 78], [38, 40], [38, 46], [38, 60], [38, 61], [38, 62], [38, 65], [38, 72], [39, 40], [39, 41], [39, 42], [39, 43], [39, 44], [39, 47], [39, 49], [39, 50], [39, 53], [39, 54], [39, 55], [39, 56], [39, 58], [39, 59], [39, 60], [39, 61], [39, 62], [39, 65], [39, 66], [39, 68], [39, 70], [39, 71], [39, 72], [39, 73], [39, 74], [39, 76], [39, 77], [39, 78], [40, 42], [40, 43], [40, 45], [40, 50], [40, 51], [40, 53], [40, 54], [40, 55], [40, 58], [40, 59], [40, 60], [40, 61], [40, 62], [40, 63], [40, 64], [40, 67], [40, 68], [40, 69], [40, 70], [40, 76], [40, 77], [40, 78], [41, 43], [41, 46], [41, 47], [41, 52], [41, 54], [41, 63], [41, 65], [41, 76], [41, 78], [42, 43], [42, 46], [42, 51], [42, 52], [42, 53], [42, 72], [42, 74], [42, 76], [43, 44], [43, 45], [43, 46], [43, 47], [43, 48], [43, 51], [43, 52], [43, 53], [43, 54], [43, 55], [43, 56], [43, 58], [43, 59], [43, 61], [43, 62], [43, 63], [43, 65], [43, 66], [43, 70], [43, 72], [43, 76], [43, 78], [43, 79], [44, 46], [44, 47], [44, 51], [44, 52], [44, 53], [44, 60], [44, 62], [44, 63], [44, 72], [44, 77], [44, 78], [45, 46], [45, 47], [45, 52], [45, 53], [45, 54], [45, 60], [45, 62], [45, 68], [45, 74], [45, 76], [45, 77], [46, 47], [46, 49], [46, 50], [46, 52], [46, 53], [46, 55], [46, 56], [46, 58], [46, 59], [46, 60], [46, 61], [46, 62], [46, 63], [46, 65], [46, 72], [46, 73], [46, 74], [46, 77], [46, 78], [46, 79], [47, 49], [47, 50], [47, 51], [47, 53], [47, 54], [47, 57], [47, 59], [47, 60], [47, 61], [47, 62], [47, 63], [47, 64], [47, 65], [47, 66], [47, 67], [47, 68], [47, 70], [47, 72], [47, 73], [47, 76], [47, 77], [47, 78], [48, 51], [48, 52], [48, 53], [48, 54], [48, 60], [48, 62], [48, 63], [48, 65], [48, 68], [48, 74], [48, 76], [49, 52], [49, 53], [49, 60], [49, 62], [49, 63], [49, 78], [50, 53], [50, 54], [50, 60], [50, 63], [50, 68], [50, 72], [50, 74], [50, 76], [50, 78], [51, 53], [51, 54], [51, 56], [51, 60], [51, 61], [51, 62], [51, 63], [51, 64], [51, 65], [51, 66], [51, 68], [51, 69], [51, 71], [51, 72], [51, 73], [51, 74], [51, 77], [51, 79], [52, 55], [52, 56], [52, 57], [52, 60], [52, 61], [52, 62], [52, 64], [52, 67], [52, 68], [52, 69], [52, 72], [52, 73], [52, 74], [52, 76], [52, 79], [53, 55], [53, 57], [53, 60], [53, 61], [53, 62], [53, 63], [53, 64], [53, 66], [53, 68], [53, 72], [53, 74], [53, 75], [53, 76], [53, 77], [53, 78], [53, 79], [54, 55], [54, 58], [54, 59], [54, 60], [54, 61], [54, 62], [54, 64], [54, 65], [54, 67], [54, 68], [54, 70], [54, 72], [54, 74], [54, 76], [54, 77], [54, 78], [55, 62], [55, 63], [55, 65], [55, 68], [55, 74], [55, 76], [56, 62], [56, 65], [56, 74], [56, 76], [56, 77], [57, 60], [57, 65], [57, 68], [57, 72], [57, 76], [57, 78], [58, 60], [58, 62], [58, 65], [58, 68], [58, 76], [58, 78], [59, 60], [59, 62], [59, 63], [59, 65], [59, 68], [59, 74], [59, 77], [59, 78], [60, 61], [60, 62], [60, 63], [60, 65], [60, 67], [60, 68], [60, 69], [60, 72], [60, 73], [60, 74], [60, 75], [60, 76], [60, 77], [60, 78], [61, 66], [61, 68], [61, 69], [61, 70], [61, 71], [61, 72], [61, 74], [61, 76], [61, 77], [61, 78], [61, 79], [62, 65], [62, 66], [62, 67], [62, 68], [62, 69], [62, 73], [62, 74], [62, 76], [62, 78], [63, 65], [63, 68], [63, 71], [63, 72], [63, 74], [63, 75], [63, 76], [63, 77], [63, 78], [64, 68], [64, 72], [64, 74], [64, 76], [64, 77], [64, 78], [65, 66], [65, 68], [65, 69], [65, 70], [65, 71], [65, 72], [65, 74], [65, 75], [65, 77], [65, 78], [65, 79], [66, 68], [66, 72], [66, 77], [66, 78], [67, 68], [67, 72], [67, 78], [68, 71], [68, 72], [68, 74], [68, 75], [68, 77], [68, 78], [69, 74], [69, 77], [69, 78], [70, 76], [70, 78], [71, 72], [71, 74], [71, 77], [72, 73], [72, 74], [72, 76], [72, 78], [72, 79], [73, 77], [73, 78], [74, 75], [74, 76], [74, 77], [74, 78], [74, 79], [75, 76], [76, 77], [78, 79]] + +Find a vertex cover of size at most 40: a set C of distinct vertices such that every edge has at least one endpoint in C. + +Answer format: {"cover": [v_1, v_2, ...]} (distinct integers in 0..79, at most 40 of them). + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-nppc-vertex-cover-l5-s4/solution/solve.sh b/tasks/construct-nppc-vertex-cover-l5-s4/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..c8f8b8f930ed4940f9a6ab96fb44ede7120fe641 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s4/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"cover": [0, 1, 4, 5, 13, 14, 17, 18, 19, 20, 21, 22, 25, 26, 27, 28, 30, 35, 36, 37, 39, 40, 43, 46, 47, 51, 52, 53, 54, 60, 61, 62, 63, 65, 68, 72, 74, 76, 77, 78]} +RLMATH_EOF diff --git a/tasks/construct-nppc-vertex-cover-l5-s4/task.toml b/tasks/construct-nppc-vertex-cover-l5-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..bb9d2a744971e1c37620611be84843c91a843ba2 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-nppc-vertex-cover-l5-s4" +version = "0.2.0" +description = "construct/nppc_vertex_cover" +authors = [] +keywords = ["rlmath", "construct", "nppc_vertex_cover"] + +[metadata] +subset = "construct" +family = "nppc_vertex_cover" +problem_key = "graph_vertex_cover" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "NPPC/vertex_cover" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-nppc-vertex-cover-l5-s4/tests/check.py b/tasks/construct-nppc-vertex-cover-l5-s4/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..d8ed740cc660c4837d941a8d70ea394c3bc9f69e --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s4/tests/check.py @@ -0,0 +1,18 @@ +"""Vertex cover of size <= k. Accepts any valid cover.""" +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["num_nodes"], inst["k"] + # upstream NPPC verifier converts to a set without type checks (floats/bools slip through and + # duplicates are silently merged); here entries must be distinct ints in range + c = int_list(ans.get("cover"), None, 0, n - 1, "cover") + if len(set(c)) != len(c): + raise Invalid("cover contains duplicates") + if len(c) > k: + raise Invalid(f"cover has {len(c)} > {k} vertices") + s = set(c) + for u, v in inst["edges"]: + if u not in s and v not in s: + raise Invalid(f"edge ({u},{v}) not covered") + return None, {"size": len(c)} diff --git a/tasks/construct-nppc-vertex-cover-l5-s4/tests/instance.json b/tasks/construct-nppc-vertex-cover-l5-s4/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e57d671f66f71897ec667b5e33dc9ee17eaaec36 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s4/tests/instance.json @@ -0,0 +1 @@ +{"num_nodes": 80, "k": 40, "edges": [[0, 1], [0, 5], [0, 6], [0, 7], [0, 8], [0, 9], [0, 11], [0, 12], [0, 13], [0, 14], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [0, 22], [0, 24], [0, 26], [0, 28], [0, 30], [0, 33], [0, 35], [0, 37], [0, 40], [0, 42], [0, 46], [0, 48], [0, 50], [0, 51], [0, 52], [0, 53], [0, 54], [0, 56], [0, 57], [0, 58], [0, 59], [0, 60], [0, 61], [0, 62], [0, 63], [0, 64], [0, 65], [0, 68], [0, 69], [0, 70], [0, 71], [0, 72], [0, 73], [0, 74], [0, 76], [0, 77], [0, 78], [0, 79], [1, 4], [1, 5], [1, 9], [1, 12], [1, 13], [1, 14], [1, 15], [1, 18], [1, 21], [1, 22], [1, 23], [1, 24], [1, 26], [1, 30], [1, 31], [1, 32], [1, 35], [1, 37], [1, 38], [1, 39], [1, 41], [1, 43], [1, 44], [1, 45], [1, 47], [1, 51], [1, 52], [1, 53], [1, 54], [1, 57], [1, 58], [1, 59], [1, 60], [1, 62], [1, 63], [1, 64], [1, 66], [1, 67], [1, 68], [1, 72], [1, 73], [1, 74], [1, 75], [1, 76], [1, 77], [1, 79], [2, 4], [2, 13], [2, 14], [2, 17], [2, 18], [2, 19], [2, 20], [2, 27], [2, 28], [2, 30], [2, 40], [2, 43], [2, 46], [2, 47], [2, 51], [2, 52], [2, 54], [2, 60], [2, 61], [2, 74], [2, 76], [2, 78], [3, 4], [3, 5], [3, 13], [3, 14], [3, 18], [3, 22], [3, 25], [3, 26], [3, 27], [3, 35], [3, 36], [3, 37], [3, 39], [3, 43], [3, 46], [3, 51], [3, 52], [3, 53], [3, 54], [3, 60], [3, 61], [3, 68], [3, 72], [3, 78], [4, 6], [4, 13], [4, 14], [4, 17], [4, 18], [4, 19], [4, 20], [4, 21], [4, 23], [4, 24], [4, 26], [4, 28], [4, 30], [4, 36], [4, 37], [4, 39], [4, 40], [4, 41], [4, 42], [4, 44], [4, 46], [4, 47], [4, 48], [4, 49], [4, 51], [4, 52], [4, 54], [4, 55], [4, 56], [4, 57], [4, 58], [4, 59], [4, 60], [4, 61], [4, 63], [4, 65], [4, 66], [4, 67], [4, 69], [4, 70], [4, 72], [4, 74], [4, 75], [4, 76], [4, 77], [4, 78], [4, 79], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 12], [5, 13], [5, 14], [5, 15], [5, 17], [5, 18], [5, 19], [5, 21], [5, 22], [5, 23], [5, 24], [5, 25], [5, 26], [5, 27], [5, 30], [5, 31], [5, 32], [5, 33], [5, 34], [5, 35], [5, 36], [5, 37], [5, 40], [5, 42], [5, 46], [5, 47], [5, 48], [5, 49], [5, 50], [5, 51], [5, 52], [5, 54], [5, 56], [5, 57], [5, 59], [5, 62], [5, 64], [5, 67], [5, 68], [5, 69], [5, 72], [5, 73], [5, 74], [5, 75], [5, 76], [5, 77], [5, 78], [6, 13], [6, 17], [6, 18], [6, 20], [6, 21], [6, 22], [6, 25], [6, 30], [6, 35], [6, 37], [6, 39], [6, 43], [6, 54], [6, 61], [6, 72], [6, 74], [7, 13], [7, 17], [7, 19], [7, 22], [7, 25], [7, 26], [7, 27], [7, 30], [7, 35], [7, 43], [7, 46], [7, 51], [7, 54], [7, 62], [7, 72], [7, 77], [8, 17], [8, 21], [8, 22], [8, 25], [8, 26], [8, 28], [8, 30], [8, 35], [8, 36], [8, 51], [8, 52], [8, 53], [8, 60], [8, 61], [8, 65], [8, 76], [8, 78], [9, 13], [9, 17], [9, 28], [9, 30], [9, 35], [9, 37], [9, 39], [9, 43], [9, 46], [9, 47], [9, 60], [9, 63], [9, 65], [9, 72], [9, 77], [9, 78], [10, 21], [10, 25], [10, 26], [10, 28], [10, 35], [10, 36], [10, 37], [10, 40], [10, 43], [10, 51], [10, 52], [10, 54], [10, 60], [10, 62], [10, 65], [10, 68], [10, 74], [10, 76], [10, 78], [11, 13], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [11, 22], [11, 30], [11, 35], [11, 37], [11, 39], [11, 40], [11, 43], [11, 47], [11, 52], [11, 53], [11, 61], [11, 62], [11, 63], [11, 65], [11, 74], [11, 76], [12, 13], [12, 17], [12, 18], [12, 22], [12, 26], [12, 27], [12, 30], [12, 35], [12, 47], [12, 53], [12, 72], [12, 76], [12, 77], [12, 78], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 21], [13, 22], [13, 23], [13, 25], [13, 26], [13, 27], [13, 29], [13, 30], [13, 32], [13, 35], [13, 38], [13, 39], [13, 40], [13, 42], [13, 43], [13, 46], [13, 49], [13, 53], [13, 54], [13, 55], [13, 57], [13, 60], [13, 61], [13, 63], [13, 65], [13, 68], [13, 69], [13, 70], [13, 74], [13, 76], [13, 77], [13, 78], [13, 79], [14, 15], [14, 17], [14, 18], [14, 19], [14, 20], [14, 21], [14, 22], [14, 23], [14, 25], [14, 27], [14, 28], [14, 30], [14, 31], [14, 33], [14, 34], [14, 35], [14, 36], [14, 38], [14, 39], [14, 40], [14, 42], [14, 43], [14, 44], [14, 46], [14, 47], [14, 48], [14, 50], [14, 51], [14, 52], [14, 53], [14, 54], [14, 55], [14, 57], [14, 58], [14, 59], [14, 60], [14, 61], [14, 62], [14, 63], [14, 67], [14, 68], [14, 73], [14, 76], [14, 78], [15, 18], [15, 21], [15, 25], [15, 26], [15, 28], [15, 35], [15, 36], [15, 46], [15, 47], [15, 52], [15, 53], [15, 62], [15, 65], [16, 18], [16, 19], [16, 20], [16, 21], [16, 22], [16, 27], [16, 30], [16, 35], [16, 36], [16, 37], [16, 39], [16, 51], [16, 52], [16, 60], [16, 61], [16, 63], [16, 68], [16, 77], [16, 78], [17, 18], [17, 20], [17, 21], [17, 23], [17, 26], [17, 27], [17, 28], [17, 29], [17, 32], [17, 34], [17, 35], [17, 36], [17, 37], [17, 38], [17, 39], [17, 42], [17, 43], [17, 47], [17, 49], [17, 52], [17, 54], [17, 55], [17, 56], [17, 57], [17, 58], [17, 60], [17, 61], [17, 62], [17, 65], [17, 68], [17, 70], [17, 71], [17, 74], [17, 75], [17, 76], [17, 77], [17, 78], [18, 19], [18, 20], [18, 21], [18, 22], [18, 23], [18, 25], [18, 26], [18, 27], [18, 28], [18, 30], [18, 32], [18, 33], [18, 34], [18, 36], [18, 37], [18, 38], [18, 39], [18, 41], [18, 43], [18, 47], [18, 48], [18, 49], [18, 50], [18, 51], [18, 52], [18, 53], [18, 54], [18, 55], [18, 56], [18, 59], [18, 60], [18, 61], [18, 62], [18, 64], [18, 67], [18, 68], [18, 72], [18, 73], [18, 76], [18, 77], [18, 78], [18, 79], [19, 20], [19, 21], [19, 22], [19, 23], [19, 25], [19, 26], [19, 27], [19, 28], [19, 29], [19, 30], [19, 31], [19, 32], [19, 35], [19, 36], [19, 37], [19, 39], [19, 40], [19, 41], [19, 42], [19, 43], [19, 45], [19, 47], [19, 49], [19, 51], [19, 52], [19, 54], [19, 55], [19, 56], [19, 57], [19, 58], [19, 61], [19, 63], [19, 64], [19, 65], [19, 66], [19, 68], [19, 72], [19, 73], [19, 75], [19, 76], [19, 77], [20, 21], [20, 22], [20, 23], [20, 24], [20, 26], [20, 27], [20, 28], [20, 33], [20, 34], [20, 35], [20, 36], [20, 38], [20, 39], [20, 40], [20, 41], [20, 42], [20, 43], [20, 47], [20, 48], [20, 49], [20, 50], [20, 51], [20, 52], [20, 54], [20, 55], [20, 56], [20, 57], [20, 58], [20, 60], [20, 61], [20, 62], [20, 63], [20, 67], [20, 68], [20, 69], [20, 72], [20, 73], [20, 74], [20, 78], [20, 79], [21, 22], [21, 23], [21, 24], [21, 25], [21, 27], [21, 28], [21, 29], [21, 33], [21, 35], [21, 36], [21, 37], [21, 40], [21, 41], [21, 44], [21, 46], [21, 47], [21, 48], [21, 52], [21, 54], [21, 55], [21, 56], [21, 58], [21, 59], [21, 60], [21, 62], [21, 63], [21, 65], [21, 69], [21, 70], [21, 71], [21, 73], [21, 76], [21, 78], [22, 23], [22, 25], [22, 26], [22, 28], [22, 29], [22, 30], [22, 31], [22, 32], [22, 35], [22, 36], [22, 37], [22, 38], [22, 39], [22, 40], [22, 42], [22, 43], [22, 44], [22, 45], [22, 47], [22, 49], [22, 52], [22, 53], [22, 55], [22, 57], [22, 60], [22, 61], [22, 62], [22, 64], [22, 65], [22, 68], [22, 70], [22, 73], [22, 74], [22, 76], [22, 77], [22, 78], [22, 79], [23, 25], [23, 26], [23, 28], [23, 30], [23, 37], [23, 39], [23, 51], [23, 52], [23, 53], [23, 54], [23, 60], [23, 61], [23, 62], [23, 63], [23, 65], [23, 68], [23, 72], [23, 76], [24, 25], [24, 26], [24, 27], [24, 28], [24, 35], [24, 36], [24, 39], [24, 43], [24, 46], [24, 54], [24, 61], [24, 65], [24, 74], [24, 77], [24, 78], [25, 27], [25, 28], [25, 30], [25, 32], [25, 34], [25, 35], [25, 36], [25, 37], [25, 39], [25, 46], [25, 47], [25, 48], [25, 49], [25, 51], [25, 52], [25, 54], [25, 55], [25, 57], [25, 60], [25, 61], [25, 62], [25, 63], [25, 66], [25, 67], [25, 68], [25, 69], [25, 70], [25, 72], [25, 73], [25, 74], [25, 76], [26, 28], [26, 30], [26, 32], [26, 34], [26, 35], [26, 36], [26, 37], [26, 38], [26, 42], [26, 43], [26, 45], [26, 47], [26, 48], [26, 50], [26, 51], [26, 52], [26, 53], [26, 54], [26, 57], [26, 60], [26, 61], [26, 64], [26, 65], [26, 67], [26, 70], [26, 71], [26, 74], [26, 75], [26, 76], [26, 78], [27, 28], [27, 29], [27, 30], [27, 32], [27, 33], [27, 34], [27, 35], [27, 36], [27, 37], [27, 39], [27, 40], [27, 41], [27, 42], [27, 46], [27, 47], [27, 48], [27, 49], [27, 50], [27, 51], [27, 54], [27, 55], [27, 56], [27, 57], [27, 58], [27, 59], [27, 60], [27, 62], [27, 63], [27, 64], [27, 65], [27, 66], [27, 67], [27, 68], [27, 71], [27, 72], [27, 75], [27, 76], [27, 77], [27, 78], [28, 30], [28, 32], [28, 33], [28, 35], [28, 36], [28, 37], [28, 39], [28, 40], [28, 41], [28, 45], [28, 47], [28, 50], [28, 51], [28, 52], [28, 54], [28, 56], [28, 59], [28, 60], [28, 62], [28, 63], [28, 66], [28, 67], [28, 68], [28, 69], [28, 74], [28, 76], [28, 78], [29, 30], [29, 35], [29, 43], [29, 46], [29, 51], [29, 52], [29, 60], [29, 61], [29, 63], [29, 65], [30, 31], [30, 34], [30, 36], [30, 37], [30, 39], [30, 40], [30, 43], [30, 44], [30, 45], [30, 47], [30, 48], [30, 49], [30, 51], [30, 53], [30, 58], [30, 60], [30, 61], [30, 62], [30, 63], [30, 64], [30, 65], [30, 67], [30, 68], [30, 69], [30, 71], [30, 72], [30, 74], [30, 79], [31, 36], [31, 37], [31, 43], [31, 47], [31, 51], [31, 52], [31, 53], [31, 61], [31, 74], [31, 78], [32, 35], [32, 36], [32, 37], [32, 46], [32, 47], [32, 52], [32, 60], [32, 62], [32, 65], [32, 68], [32, 72], [32, 77], [32, 78], [33, 35], [33, 37], [33, 39], [33, 51], [33, 54], [33, 60], [33, 63], [33, 74], [33, 76], [33, 77], [34, 35], [34, 39], [34, 40], [34, 43], [34, 47], [34, 52], [34, 53], [34, 62], [34, 72], [34, 77], [35, 36], [35, 40], [35, 42], [35, 43], [35, 45], [35, 46], [35, 47], [35, 48], [35, 49], [35, 50], [35, 51], [35, 54], [35, 58], [35, 59], [35, 60], [35, 62], [35, 65], [35, 66], [35, 67], [35, 69], [35, 70], [35, 72], [35, 73], [35, 74], [35, 76], [35, 77], [35, 78], [35, 79], [36, 37], [36, 38], [36, 40], [36, 41], [36, 42], [36, 43], [36, 46], [36, 47], [36, 50], [36, 52], [36, 55], [36, 58], [36, 60], [36, 61], [36, 62], [36, 65], [36, 66], [36, 68], [36, 73], [36, 74], [36, 76], [36, 77], [36, 79], [37, 38], [37, 39], [37, 42], [37, 43], [37, 44], [37, 45], [37, 48], [37, 50], [37, 51], [37, 52], [37, 53], [37, 54], [37, 55], [37, 56], [37, 57], [37, 58], [37, 59], [37, 60], [37, 61], [37, 63], [37, 66], [37, 70], [37, 71], [37, 72], [37, 74], [37, 75], [37, 76], [37, 78], [38, 40], [38, 46], [38, 60], [38, 61], [38, 62], [38, 65], [38, 72], [39, 40], [39, 41], [39, 42], [39, 43], [39, 44], [39, 47], [39, 49], [39, 50], [39, 53], [39, 54], [39, 55], [39, 56], [39, 58], [39, 59], [39, 60], [39, 61], [39, 62], [39, 65], [39, 66], [39, 68], [39, 70], [39, 71], [39, 72], [39, 73], [39, 74], [39, 76], [39, 77], [39, 78], [40, 42], [40, 43], [40, 45], [40, 50], [40, 51], [40, 53], [40, 54], [40, 55], [40, 58], [40, 59], [40, 60], [40, 61], [40, 62], [40, 63], [40, 64], [40, 67], [40, 68], [40, 69], [40, 70], [40, 76], [40, 77], [40, 78], [41, 43], [41, 46], [41, 47], [41, 52], [41, 54], [41, 63], [41, 65], [41, 76], [41, 78], [42, 43], [42, 46], [42, 51], [42, 52], [42, 53], [42, 72], [42, 74], [42, 76], [43, 44], [43, 45], [43, 46], [43, 47], [43, 48], [43, 51], [43, 52], [43, 53], [43, 54], [43, 55], [43, 56], [43, 58], [43, 59], [43, 61], [43, 62], [43, 63], [43, 65], [43, 66], [43, 70], [43, 72], [43, 76], [43, 78], [43, 79], [44, 46], [44, 47], [44, 51], [44, 52], [44, 53], [44, 60], [44, 62], [44, 63], [44, 72], [44, 77], [44, 78], [45, 46], [45, 47], [45, 52], [45, 53], [45, 54], [45, 60], [45, 62], [45, 68], [45, 74], [45, 76], [45, 77], [46, 47], [46, 49], [46, 50], [46, 52], [46, 53], [46, 55], [46, 56], [46, 58], [46, 59], [46, 60], [46, 61], [46, 62], [46, 63], [46, 65], [46, 72], [46, 73], [46, 74], [46, 77], [46, 78], [46, 79], [47, 49], [47, 50], [47, 51], [47, 53], [47, 54], [47, 57], [47, 59], [47, 60], [47, 61], [47, 62], [47, 63], [47, 64], [47, 65], [47, 66], [47, 67], [47, 68], [47, 70], [47, 72], [47, 73], [47, 76], [47, 77], [47, 78], [48, 51], [48, 52], [48, 53], [48, 54], [48, 60], [48, 62], [48, 63], [48, 65], [48, 68], [48, 74], [48, 76], [49, 52], [49, 53], [49, 60], [49, 62], [49, 63], [49, 78], [50, 53], [50, 54], [50, 60], [50, 63], [50, 68], [50, 72], [50, 74], [50, 76], [50, 78], [51, 53], [51, 54], [51, 56], [51, 60], [51, 61], [51, 62], [51, 63], [51, 64], [51, 65], [51, 66], [51, 68], [51, 69], [51, 71], [51, 72], [51, 73], [51, 74], [51, 77], [51, 79], [52, 55], [52, 56], [52, 57], [52, 60], [52, 61], [52, 62], [52, 64], [52, 67], [52, 68], [52, 69], [52, 72], [52, 73], [52, 74], [52, 76], [52, 79], [53, 55], [53, 57], [53, 60], [53, 61], [53, 62], [53, 63], [53, 64], [53, 66], [53, 68], [53, 72], [53, 74], [53, 75], [53, 76], [53, 77], [53, 78], [53, 79], [54, 55], [54, 58], [54, 59], [54, 60], [54, 61], [54, 62], [54, 64], [54, 65], [54, 67], [54, 68], [54, 70], [54, 72], [54, 74], [54, 76], [54, 77], [54, 78], [55, 62], [55, 63], [55, 65], [55, 68], [55, 74], [55, 76], [56, 62], [56, 65], [56, 74], [56, 76], [56, 77], [57, 60], [57, 65], [57, 68], [57, 72], [57, 76], [57, 78], [58, 60], [58, 62], [58, 65], [58, 68], [58, 76], [58, 78], [59, 60], [59, 62], [59, 63], [59, 65], [59, 68], [59, 74], [59, 77], [59, 78], [60, 61], [60, 62], [60, 63], [60, 65], [60, 67], [60, 68], [60, 69], [60, 72], [60, 73], [60, 74], [60, 75], [60, 76], [60, 77], [60, 78], [61, 66], [61, 68], [61, 69], [61, 70], [61, 71], [61, 72], [61, 74], [61, 76], [61, 77], [61, 78], [61, 79], [62, 65], [62, 66], [62, 67], [62, 68], [62, 69], [62, 73], [62, 74], [62, 76], [62, 78], [63, 65], [63, 68], [63, 71], [63, 72], [63, 74], [63, 75], [63, 76], [63, 77], [63, 78], [64, 68], [64, 72], [64, 74], [64, 76], [64, 77], [64, 78], [65, 66], [65, 68], [65, 69], [65, 70], [65, 71], [65, 72], [65, 74], [65, 75], [65, 77], [65, 78], [65, 79], [66, 68], [66, 72], [66, 77], [66, 78], [67, 68], [67, 72], [67, 78], [68, 71], [68, 72], [68, 74], [68, 75], [68, 77], [68, 78], [69, 74], [69, 77], [69, 78], [70, 76], [70, 78], [71, 72], [71, 74], [71, 77], [72, 73], [72, 74], [72, 76], [72, 78], [72, 79], [73, 77], [73, 78], [74, 75], [74, 76], [74, 77], [74, 78], [74, 79], [75, 76], [76, 77], [78, 79]], "family": "nppc_vertex_cover", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-nppc-vertex-cover-l5-s4/tests/run.py b/tasks/construct-nppc-vertex-cover-l5-s4/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s4/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-nppc-vertex-cover-l5-s4/tests/test.sh b/tasks/construct-nppc-vertex-cover-l5-s4/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-nppc-vertex-cover-l5-s4/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rg-graph-color-l2-s0/instruction.md b/tasks/construct-rg-graph-color-l2-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..cea704c34821dabff7d6fac21e2754a7a5794746 --- /dev/null +++ b/tasks/construct-rg-graph-color-l2-s0/instruction.md @@ -0,0 +1,9 @@ +Colour the vertices of this graph so that no two adjacent vertices have the same colour. + +Vertices: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] +Edges: [[0, 2], [0, 4], [0, 9], [1, 4], [1, 6], [1, 7], [1, 8], [1, 9], [2, 4], [2, 5], [2, 6], [4, 5], [5, 9]] +Possible colours: [1, 2, 3, 4] + +Answer format: {"coloring": [c_0, c_1, ..., c_9]} where c_i in 1..4 is the colour of vertex i + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-graph-color-l2-s0/task.toml b/tasks/construct-rg-graph-color-l2-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..c3b6fe254336e05e35a8016ec8d9c37fd0f48b5a --- /dev/null +++ b/tasks/construct-rg-graph-color-l2-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-graph-color-l2-s0" +version = "0.2.0" +description = "construct/rg_graph_color" +authors = [] +keywords = ["rlmath", "construct", "rg_graph_color"] + +[metadata] +subset = "construct" +family = "rg_graph_color" +problem_key = "graph_k_coloring" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "ReasoningGym/graph_color" +source_license = "Apache-2.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-graph-color-l2-s9/instruction.md b/tasks/construct-rg-graph-color-l2-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..154ae288d7e12981eca1eeabf9ea6b559c2a22b9 --- /dev/null +++ b/tasks/construct-rg-graph-color-l2-s9/instruction.md @@ -0,0 +1,9 @@ +Colour the vertices of this graph so that no two adjacent vertices have the same colour. + +Vertices: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] +Edges: [[0, 9], [1, 3], [1, 4], [1, 5], [1, 6], [2, 4], [2, 7], [2, 8], [2, 9], [3, 4], [4, 9], [5, 8], [6, 9]] +Possible colours: [1, 2, 3, 4] + +Answer format: {"coloring": [c_0, c_1, ..., c_9]} where c_i in 1..4 is the colour of vertex i + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-graph-color-l2-s9/task.toml b/tasks/construct-rg-graph-color-l2-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..7b3ca996e3426855476e310cbd7ad322b1c8e2ef --- /dev/null +++ b/tasks/construct-rg-graph-color-l2-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-graph-color-l2-s9" +version = "0.2.0" +description = "construct/rg_graph_color" +authors = [] +keywords = ["rlmath", "construct", "rg_graph_color"] + +[metadata] +subset = "construct" +family = "rg_graph_color" +problem_key = "graph_k_coloring" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "ReasoningGym/graph_color" +source_license = "Apache-2.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-graph-color-l6-s1/instruction.md b/tasks/construct-rg-graph-color-l6-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..81c4589e77f0d87573a01a32d55849fcabd25a36 --- /dev/null +++ b/tasks/construct-rg-graph-color-l6-s1/instruction.md @@ -0,0 +1,9 @@ +Colour the vertices of this graph so that no two adjacent vertices have the same colour. + +Vertices: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39] +Edges: [[0, 3], [0, 4], [0, 11], [0, 31], [1, 18], [1, 26], [2, 16], [2, 25], [3, 7], [3, 13], [3, 14], [3, 19], [3, 37], [4, 16], [4, 31], [4, 33], [4, 38], [5, 6], [5, 9], [5, 13], [5, 29], [5, 32], [5, 35], [6, 12], [6, 13], [6, 33], [6, 36], [7, 13], [7, 31], [7, 32], [7, 35], [8, 22], [8, 23], [8, 29], [8, 30], [8, 32], [9, 17], [9, 28], [9, 31], [9, 33], [9, 35], [10, 28], [11, 14], [11, 25], [11, 28], [13, 19], [14, 18], [14, 23], [15, 20], [15, 28], [16, 27], [17, 18], [17, 22], [18, 21], [18, 31], [18, 32], [18, 37], [19, 32], [21, 25], [22, 23], [22, 25], [22, 27], [22, 36], [26, 35], [27, 28], [28, 29], [29, 31], [29, 34], [29, 35], [31, 36], [35, 37], [36, 38], [36, 39], [38, 39]] +Possible colours: [1, 2, 3] + +Answer format: {"coloring": [c_0, c_1, ..., c_39]} where c_i in 1..3 is the colour of vertex i + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-graph-color-l6-s1/task.toml b/tasks/construct-rg-graph-color-l6-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..814ed416f969912e665824631c810060e15e94f0 --- /dev/null +++ b/tasks/construct-rg-graph-color-l6-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-graph-color-l6-s1" +version = "0.2.0" +description = "construct/rg_graph_color" +authors = [] +keywords = ["rlmath", "construct", "rg_graph_color"] + +[metadata] +subset = "construct" +family = "rg_graph_color" +problem_key = "graph_k_coloring" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "ReasoningGym/graph_color" +source_license = "Apache-2.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-graph-color-l6-s6/instruction.md b/tasks/construct-rg-graph-color-l6-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..5faf20c422e2be2c018ec7b75a8745389cd3d003 --- /dev/null +++ b/tasks/construct-rg-graph-color-l6-s6/instruction.md @@ -0,0 +1,9 @@ +Colour the vertices of this graph so that no two adjacent vertices have the same colour. + +Vertices: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39] +Edges: [[0, 6], [0, 7], [0, 10], [0, 15], [0, 33], [0, 34], [0, 38], [1, 11], [1, 17], [1, 31], [2, 18], [2, 27], [2, 36], [3, 15], [3, 28], [4, 9], [4, 10], [4, 14], [4, 16], [4, 21], [4, 38], [5, 6], [5, 11], [5, 13], [5, 15], [5, 16], [5, 27], [5, 28], [5, 38], [6, 29], [6, 30], [6, 32], [7, 9], [7, 22], [7, 24], [7, 27], [8, 13], [8, 15], [8, 36], [9, 12], [9, 14], [9, 18], [9, 19], [9, 20], [9, 33], [9, 35], [9, 37], [9, 39], [10, 26], [10, 30], [11, 23], [11, 25], [12, 15], [12, 22], [12, 29], [12, 33], [14, 31], [15, 37], [15, 38], [16, 25], [17, 28], [18, 25], [18, 30], [18, 34], [18, 35], [18, 38], [19, 30], [19, 36], [20, 27], [20, 28], [21, 22], [22, 23], [22, 32], [22, 35], [22, 36], [22, 37], [23, 31], [24, 27], [24, 29], [24, 38], [25, 27], [26, 27], [26, 29], [26, 31], [28, 36], [31, 36], [35, 38]] +Possible colours: [1, 2, 3] + +Answer format: {"coloring": [c_0, c_1, ..., c_39]} where c_i in 1..3 is the colour of vertex i + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-graph-color-l6-s6/task.toml b/tasks/construct-rg-graph-color-l6-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..12d6ec19824f3dc8455789a8fc868621eec8f81a --- /dev/null +++ b/tasks/construct-rg-graph-color-l6-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-graph-color-l6-s6" +version = "0.2.0" +description = "construct/rg_graph_color" +authors = [] +keywords = ["rlmath", "construct", "rg_graph_color"] + +[metadata] +subset = "construct" +family = "rg_graph_color" +problem_key = "graph_k_coloring" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "ReasoningGym/graph_color" +source_license = "Apache-2.0" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-intermediate-integration-l4-s3/environment/Dockerfile b/tasks/construct-rg-intermediate-integration-l4-s3/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s3/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rg-intermediate-integration-l4-s3/environment/instance.json b/tasks/construct-rg-intermediate-integration-l4-s3/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..835240f24aece93cc8d19591d958c5df577a18c0 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s3/environment/instance.json @@ -0,0 +1 @@ +{"variable": "x", "integrand": "2*atan(3*x)", "problem_type": "log_inverse_trig", "family": "rg_intermediate_integration", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rg-intermediate-integration-l4-s3/instruction.md b/tasks/construct-rg-intermediate-integration-l4-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..17b6dbdb2b5d5a87182631b756014c831d8db875 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s3/instruction.md @@ -0,0 +1,11 @@ +Find an antiderivative F(x) of + + f(x) = 2*atan(3*x) + +i.e. any F with dF/dx = f(x). + +Write the antiderivative as a single expression in the variable x using Python/SymPy syntax: + - * / and ** for powers (always write * for multiplication), parentheses, the constants E and pi, and the functions sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, exp, log (natural logarithm), sqrt, Abs. An additive constant such as + C is optional. + +Answer format: {"antiderivative": ""} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-intermediate-integration-l4-s3/solution/solve.sh b/tasks/construct-rg-intermediate-integration-l4-s3/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..210b662350a6398d6c1fee09ee822be04431fe08 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s3/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"antiderivative": "2*x*atan(3*x) - log(9*x**2 + 1)/3 + C"} +RLMATH_EOF diff --git a/tasks/construct-rg-intermediate-integration-l4-s3/task.toml b/tasks/construct-rg-intermediate-integration-l4-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..df1f370b2be8afe69b2d7007729447ae3013987a --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-intermediate-integration-l4-s3" +version = "0.2.0" +description = "construct/rg_intermediate_integration" +authors = [] +keywords = ["rlmath", "construct", "rg_intermediate_integration"] + +[metadata] +subset = "construct" +family = "rg_intermediate_integration" +problem_key = "symbolic_antiderivative" +domain = "analysis" +tier = "competition" +level = "4" +source = "ReasoningGym/intermediate_integration" +source_license = "Apache-2.0" +tags = ["symbolic"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-intermediate-integration-l4-s3/tests/check.py b/tasks/construct-rg-intermediate-integration-l4-s3/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..a9e364a8ede6c8215a16a04ee6b0d3529adc647d --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s3/tests/check.py @@ -0,0 +1,158 @@ +"""Antiderivative check (Reasoning Gym simple_integration / intermediate_integration, Apache-2.0). + +The answer string is parsed with a whitelist AST walker (no eval), differentiated with SymPy and compared +with the integrand numerically (30-digit evaluation) at fixed points inside the integrand's real domain. +Any additive constant (e.g. "+ C") is allowed. + +Upstream notes: upstream scores with sympy.parse_expr, which calls eval() on the model's string (arbitrary +code execution), and it accepts an unevaluated "Integral(f, x)" since its derivative is f. Both are +rejected here: only arithmetic, whitelisted elementary functions, the variable, C, E and pi are allowed.""" +import ast +import math +import signal + +import sympy + +from run import Invalid + +MAX_LEN = 3000 +MAX_NODES = 600 +MAX_POW_NEST = 4 # nested powers with a variable exponent (x**x**x**...) blow up differentiation +TIME_LIMIT = 40 # seconds; a slower answer is rejected +FUNCS = {"sin": sympy.sin, "cos": sympy.cos, "tan": sympy.tan, "cot": sympy.cot, "sec": sympy.sec, + "csc": sympy.csc, "asin": sympy.asin, "acos": sympy.acos, "atan": sympy.atan, "acot": sympy.acot, + "arcsin": sympy.asin, "arccos": sympy.acos, "arctan": sympy.atan, "sinh": sympy.sinh, + "cosh": sympy.cosh, "tanh": sympy.tanh, "asinh": sympy.asinh, "acosh": sympy.acosh, + "atanh": sympy.atanh, "exp": sympy.exp, "log": sympy.log, "ln": sympy.log, "sqrt": sympy.sqrt, + "Abs": sympy.Abs, "abs": sympy.Abs} +POINTS = [0.3137, 0.5521, 0.8093, 1.1171, 1.4519, 1.9033, 2.3471, 2.8123, 3.3319, 3.9107, 4.6231, + -0.3547, -0.6529, -0.9511, -1.3027, -1.7519, -2.2013, -2.7131, -3.1397, -3.8203, -4.4111, + 0.1231, -0.1523, 0.2129, -0.2617, 0.0517, -0.0719, 5.4127, -5.3311, 6.3019, -6.2203, 7.2213, + -7.1117, 8.9021, -9.3107, 10.7129, -10.6337, 12.9011, -12.8231, 15.3113, -15.2719] +MIN_POINTS = 5 + + +def parse(s, var): + if not isinstance(s, str) or not s.strip(): + raise Invalid("antiderivative must be a non-empty string") + if len(s) > MAX_LEN: + raise Invalid("expression too long") + s = s.strip() + try: + tree = ast.parse(s, mode="eval") + except SyntaxError: + raise Invalid("expression does not parse (use ** for powers and * for products)") + if sum(1 for _ in ast.walk(tree)) > MAX_NODES: + raise Invalid("expression too large") + + def pow_nest(nd): + kids = [pow_nest(c) for c in ast.iter_child_nodes(nd)] + own = isinstance(nd, ast.BinOp) and isinstance(nd.op, ast.Pow) and any( + isinstance(c, ast.Name) and c.id == var for c in ast.walk(nd.right)) + return max(kids, default=0) + (1 if own else 0) + if pow_nest(tree) > MAX_POW_NEST: + raise Invalid("too many nested powers with a variable exponent") + x = sympy.Symbol(var, real=True) + names = {var: x, "C": sympy.Symbol("C"), "E": sympy.E, "pi": sympy.pi} + + def conv(nd): + if isinstance(nd, ast.Expression): + return conv(nd.body) + if isinstance(nd, ast.Constant): + v = nd.value + if isinstance(v, bool) or not isinstance(v, (int, float)): + raise Invalid(f"constant {v!r} not allowed") + if isinstance(v, int): + if abs(v) > 10 ** 18: + raise Invalid("integer constant too large") + return sympy.Integer(v) + if not math.isfinite(v): + raise Invalid("non-finite constant") + return sympy.Float(v, 30) + if isinstance(nd, ast.Name): + if nd.id not in names: + raise Invalid(f"unknown name {nd.id!r} (the variable is {var})") + return names[nd.id] + if isinstance(nd, ast.UnaryOp) and isinstance(nd.op, (ast.USub, ast.UAdd)): + a = conv(nd.operand) + return -a if isinstance(nd.op, ast.USub) else a + if isinstance(nd, ast.BinOp): + a, b = conv(nd.left), conv(nd.right) + if isinstance(nd.op, ast.Add): + return a + b + if isinstance(nd.op, ast.Sub): + return a - b + if isinstance(nd.op, ast.Mult): + return a * b + if isinstance(nd.op, ast.Div): + if b == 0: + raise Invalid("division by zero") + return a / b + if isinstance(nd.op, ast.Pow): + if not b.free_symbols: + bv = complex(b.evalf(20)) + if bv.imag != 0 or abs(bv.real) > 100: + raise Invalid("exponent too large") + if not a.free_symbols and abs(complex(a.evalf(20))) > 1e6: + raise Invalid("numeric power too large") + return a ** b + raise Invalid("only + - * / ** are allowed (use ** for powers)") + if isinstance(nd, ast.Call): + if not isinstance(nd.func, ast.Name) or nd.func.id not in FUNCS: + raise Invalid(f"function {ast.unparse(nd.func)!r} not allowed") + if nd.keywords or len(nd.args) != 1: + raise Invalid(f"{nd.func.id} takes exactly one argument") + return FUNCS[nd.func.id](conv(nd.args[0])) + raise Invalid(f"syntax element {type(nd).__name__} not allowed") + + return conv(tree), x + + +def value(expr, x, p): + v = expr.evalf(30, subs={x: sympy.Float(p, 30)}) + try: + z = complex(v) + except (TypeError, ValueError): + return None + if not (math.isfinite(z.real) and math.isfinite(z.imag)): + return None + return z + + +def _timeout(signum, frame): + raise Invalid(f"answer took more than {TIME_LIMIT} s to check") + + +def check(inst, ans): + if hasattr(signal, "SIGALRM"): + old = signal.signal(signal.SIGALRM, _timeout) + signal.alarm(TIME_LIMIT) + try: + return _check(inst, ans) + finally: + signal.alarm(0) + signal.signal(signal.SIGALRM, old) + return _check(inst, ans) + + +def _check(inst, ans): + var = inst["variable"] + F, x = parse(ans.get("antiderivative"), var) + f, x2 = parse(inst["integrand"], var) + if not F.has(x): + raise Invalid("antiderivative does not depend on the variable") + dF = sympy.diff(F, x) + used = 0 + for p in POINTS: + fv = value(f, x2, p) + if fv is None or abs(fv.imag) > 1e-20 * (1 + abs(fv.real)): + continue # outside the integrand's real domain + gv = value(dF, x, p) + if gv is None: + raise Invalid(f"derivative of the answer cannot be evaluated at {var} = {p}") + if abs(gv - fv) > 1e-9 * max(1.0, abs(fv)): + raise Invalid(f"derivative of the answer differs from the integrand at {var} = {p}") + used += 1 + if used < MIN_POINTS: + raise Invalid("too few evaluation points in the integrand's domain") + return None, {"points": used} diff --git a/tasks/construct-rg-intermediate-integration-l4-s3/tests/instance.json b/tasks/construct-rg-intermediate-integration-l4-s3/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..835240f24aece93cc8d19591d958c5df577a18c0 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s3/tests/instance.json @@ -0,0 +1 @@ +{"variable": "x", "integrand": "2*atan(3*x)", "problem_type": "log_inverse_trig", "family": "rg_intermediate_integration", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rg-intermediate-integration-l4-s3/tests/run.py b/tasks/construct-rg-intermediate-integration-l4-s3/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s3/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rg-intermediate-integration-l4-s3/tests/test.sh b/tasks/construct-rg-intermediate-integration-l4-s3/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s3/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rg-intermediate-integration-l4-s4/environment/Dockerfile b/tasks/construct-rg-intermediate-integration-l4-s4/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s4/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rg-intermediate-integration-l4-s4/environment/instance.json b/tasks/construct-rg-intermediate-integration-l4-s4/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..fc9a877c647a303bf5abaf66265402096e7ab3cd --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s4/environment/instance.json @@ -0,0 +1 @@ +{"variable": "x", "integrand": "-2*atan(2*x)", "problem_type": "log_inverse_trig", "family": "rg_intermediate_integration", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rg-intermediate-integration-l4-s4/instruction.md b/tasks/construct-rg-intermediate-integration-l4-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b76b7e320c57757833214ac7f080344e77fc0a85 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s4/instruction.md @@ -0,0 +1,11 @@ +Find an antiderivative F(x) of + + f(x) = -2*atan(2*x) + +i.e. any F with dF/dx = f(x). + +Write the antiderivative as a single expression in the variable x using Python/SymPy syntax: + - * / and ** for powers (always write * for multiplication), parentheses, the constants E and pi, and the functions sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, exp, log (natural logarithm), sqrt, Abs. An additive constant such as + C is optional. + +Answer format: {"antiderivative": ""} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-intermediate-integration-l4-s4/solution/solve.sh b/tasks/construct-rg-intermediate-integration-l4-s4/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..72db3bcb17e891799fd7f3579ba3b3e164e0de2e --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s4/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"antiderivative": "-2*x*atan(2*x) + log(4*x**2 + 1)/2 + C"} +RLMATH_EOF diff --git a/tasks/construct-rg-intermediate-integration-l4-s4/task.toml b/tasks/construct-rg-intermediate-integration-l4-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..df37d4fa22b1113f109091216981641c453cdd07 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-intermediate-integration-l4-s4" +version = "0.2.0" +description = "construct/rg_intermediate_integration" +authors = [] +keywords = ["rlmath", "construct", "rg_intermediate_integration"] + +[metadata] +subset = "construct" +family = "rg_intermediate_integration" +problem_key = "symbolic_antiderivative" +domain = "analysis" +tier = "competition" +level = "4" +source = "ReasoningGym/intermediate_integration" +source_license = "Apache-2.0" +tags = ["symbolic"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-intermediate-integration-l4-s4/tests/check.py b/tasks/construct-rg-intermediate-integration-l4-s4/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..a9e364a8ede6c8215a16a04ee6b0d3529adc647d --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s4/tests/check.py @@ -0,0 +1,158 @@ +"""Antiderivative check (Reasoning Gym simple_integration / intermediate_integration, Apache-2.0). + +The answer string is parsed with a whitelist AST walker (no eval), differentiated with SymPy and compared +with the integrand numerically (30-digit evaluation) at fixed points inside the integrand's real domain. +Any additive constant (e.g. "+ C") is allowed. + +Upstream notes: upstream scores with sympy.parse_expr, which calls eval() on the model's string (arbitrary +code execution), and it accepts an unevaluated "Integral(f, x)" since its derivative is f. Both are +rejected here: only arithmetic, whitelisted elementary functions, the variable, C, E and pi are allowed.""" +import ast +import math +import signal + +import sympy + +from run import Invalid + +MAX_LEN = 3000 +MAX_NODES = 600 +MAX_POW_NEST = 4 # nested powers with a variable exponent (x**x**x**...) blow up differentiation +TIME_LIMIT = 40 # seconds; a slower answer is rejected +FUNCS = {"sin": sympy.sin, "cos": sympy.cos, "tan": sympy.tan, "cot": sympy.cot, "sec": sympy.sec, + "csc": sympy.csc, "asin": sympy.asin, "acos": sympy.acos, "atan": sympy.atan, "acot": sympy.acot, + "arcsin": sympy.asin, "arccos": sympy.acos, "arctan": sympy.atan, "sinh": sympy.sinh, + "cosh": sympy.cosh, "tanh": sympy.tanh, "asinh": sympy.asinh, "acosh": sympy.acosh, + "atanh": sympy.atanh, "exp": sympy.exp, "log": sympy.log, "ln": sympy.log, "sqrt": sympy.sqrt, + "Abs": sympy.Abs, "abs": sympy.Abs} +POINTS = [0.3137, 0.5521, 0.8093, 1.1171, 1.4519, 1.9033, 2.3471, 2.8123, 3.3319, 3.9107, 4.6231, + -0.3547, -0.6529, -0.9511, -1.3027, -1.7519, -2.2013, -2.7131, -3.1397, -3.8203, -4.4111, + 0.1231, -0.1523, 0.2129, -0.2617, 0.0517, -0.0719, 5.4127, -5.3311, 6.3019, -6.2203, 7.2213, + -7.1117, 8.9021, -9.3107, 10.7129, -10.6337, 12.9011, -12.8231, 15.3113, -15.2719] +MIN_POINTS = 5 + + +def parse(s, var): + if not isinstance(s, str) or not s.strip(): + raise Invalid("antiderivative must be a non-empty string") + if len(s) > MAX_LEN: + raise Invalid("expression too long") + s = s.strip() + try: + tree = ast.parse(s, mode="eval") + except SyntaxError: + raise Invalid("expression does not parse (use ** for powers and * for products)") + if sum(1 for _ in ast.walk(tree)) > MAX_NODES: + raise Invalid("expression too large") + + def pow_nest(nd): + kids = [pow_nest(c) for c in ast.iter_child_nodes(nd)] + own = isinstance(nd, ast.BinOp) and isinstance(nd.op, ast.Pow) and any( + isinstance(c, ast.Name) and c.id == var for c in ast.walk(nd.right)) + return max(kids, default=0) + (1 if own else 0) + if pow_nest(tree) > MAX_POW_NEST: + raise Invalid("too many nested powers with a variable exponent") + x = sympy.Symbol(var, real=True) + names = {var: x, "C": sympy.Symbol("C"), "E": sympy.E, "pi": sympy.pi} + + def conv(nd): + if isinstance(nd, ast.Expression): + return conv(nd.body) + if isinstance(nd, ast.Constant): + v = nd.value + if isinstance(v, bool) or not isinstance(v, (int, float)): + raise Invalid(f"constant {v!r} not allowed") + if isinstance(v, int): + if abs(v) > 10 ** 18: + raise Invalid("integer constant too large") + return sympy.Integer(v) + if not math.isfinite(v): + raise Invalid("non-finite constant") + return sympy.Float(v, 30) + if isinstance(nd, ast.Name): + if nd.id not in names: + raise Invalid(f"unknown name {nd.id!r} (the variable is {var})") + return names[nd.id] + if isinstance(nd, ast.UnaryOp) and isinstance(nd.op, (ast.USub, ast.UAdd)): + a = conv(nd.operand) + return -a if isinstance(nd.op, ast.USub) else a + if isinstance(nd, ast.BinOp): + a, b = conv(nd.left), conv(nd.right) + if isinstance(nd.op, ast.Add): + return a + b + if isinstance(nd.op, ast.Sub): + return a - b + if isinstance(nd.op, ast.Mult): + return a * b + if isinstance(nd.op, ast.Div): + if b == 0: + raise Invalid("division by zero") + return a / b + if isinstance(nd.op, ast.Pow): + if not b.free_symbols: + bv = complex(b.evalf(20)) + if bv.imag != 0 or abs(bv.real) > 100: + raise Invalid("exponent too large") + if not a.free_symbols and abs(complex(a.evalf(20))) > 1e6: + raise Invalid("numeric power too large") + return a ** b + raise Invalid("only + - * / ** are allowed (use ** for powers)") + if isinstance(nd, ast.Call): + if not isinstance(nd.func, ast.Name) or nd.func.id not in FUNCS: + raise Invalid(f"function {ast.unparse(nd.func)!r} not allowed") + if nd.keywords or len(nd.args) != 1: + raise Invalid(f"{nd.func.id} takes exactly one argument") + return FUNCS[nd.func.id](conv(nd.args[0])) + raise Invalid(f"syntax element {type(nd).__name__} not allowed") + + return conv(tree), x + + +def value(expr, x, p): + v = expr.evalf(30, subs={x: sympy.Float(p, 30)}) + try: + z = complex(v) + except (TypeError, ValueError): + return None + if not (math.isfinite(z.real) and math.isfinite(z.imag)): + return None + return z + + +def _timeout(signum, frame): + raise Invalid(f"answer took more than {TIME_LIMIT} s to check") + + +def check(inst, ans): + if hasattr(signal, "SIGALRM"): + old = signal.signal(signal.SIGALRM, _timeout) + signal.alarm(TIME_LIMIT) + try: + return _check(inst, ans) + finally: + signal.alarm(0) + signal.signal(signal.SIGALRM, old) + return _check(inst, ans) + + +def _check(inst, ans): + var = inst["variable"] + F, x = parse(ans.get("antiderivative"), var) + f, x2 = parse(inst["integrand"], var) + if not F.has(x): + raise Invalid("antiderivative does not depend on the variable") + dF = sympy.diff(F, x) + used = 0 + for p in POINTS: + fv = value(f, x2, p) + if fv is None or abs(fv.imag) > 1e-20 * (1 + abs(fv.real)): + continue # outside the integrand's real domain + gv = value(dF, x, p) + if gv is None: + raise Invalid(f"derivative of the answer cannot be evaluated at {var} = {p}") + if abs(gv - fv) > 1e-9 * max(1.0, abs(fv)): + raise Invalid(f"derivative of the answer differs from the integrand at {var} = {p}") + used += 1 + if used < MIN_POINTS: + raise Invalid("too few evaluation points in the integrand's domain") + return None, {"points": used} diff --git a/tasks/construct-rg-intermediate-integration-l4-s4/tests/instance.json b/tasks/construct-rg-intermediate-integration-l4-s4/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..fc9a877c647a303bf5abaf66265402096e7ab3cd --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s4/tests/instance.json @@ -0,0 +1 @@ +{"variable": "x", "integrand": "-2*atan(2*x)", "problem_type": "log_inverse_trig", "family": "rg_intermediate_integration", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rg-intermediate-integration-l4-s4/tests/run.py b/tasks/construct-rg-intermediate-integration-l4-s4/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s4/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rg-intermediate-integration-l4-s4/tests/test.sh b/tasks/construct-rg-intermediate-integration-l4-s4/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rg-intermediate-integration-l4-s4/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rg-simple-integration-l2-s6/instruction.md b/tasks/construct-rg-simple-integration-l2-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..fb43c84ef367d9979bbc24db32aa486de87057d4 --- /dev/null +++ b/tasks/construct-rg-simple-integration-l2-s6/instruction.md @@ -0,0 +1,11 @@ +Find an antiderivative F(x) of + + f(x) = 20*x**3/7 + 21*x**2 - 14*x + +i.e. any F with dF/dx = f(x). + +Write the antiderivative as a single expression in the variable x using Python/SymPy syntax: + - * / and ** for powers (always write * for multiplication), parentheses, the constants E and pi, and the functions sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, exp, log (natural logarithm), sqrt, Abs. An additive constant such as + C is optional. + +Answer format: {"antiderivative": ""} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-simple-integration-l2-s6/task.toml b/tasks/construct-rg-simple-integration-l2-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..175515a082ee9008167e65d0b2a24eebb53b2c21 --- /dev/null +++ b/tasks/construct-rg-simple-integration-l2-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-simple-integration-l2-s6" +version = "0.2.0" +description = "construct/rg_simple_integration" +authors = [] +keywords = ["rlmath", "construct", "rg_simple_integration"] + +[metadata] +subset = "construct" +family = "rg_simple_integration" +problem_key = "symbolic_antiderivative_polynomial" +domain = "analysis" +tier = "competition" +level = "2" +source = "ReasoningGym/simple_integration" +source_license = "Apache-2.0" +tags = ["symbolic"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-simple-integration-l2-s8/instruction.md b/tasks/construct-rg-simple-integration-l2-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..7a8b480f7a36c54fc14a4654d5212d3ab0d8a402 --- /dev/null +++ b/tasks/construct-rg-simple-integration-l2-s8/instruction.md @@ -0,0 +1,11 @@ +Find an antiderivative F(X) of + + f(X) = -81*X**4/2 + 4*X + +i.e. any F with dF/dX = f(X). + +Write the antiderivative as a single expression in the variable X using Python/SymPy syntax: + - * / and ** for powers (always write * for multiplication), parentheses, the constants E and pi, and the functions sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, exp, log (natural logarithm), sqrt, Abs. An additive constant such as + C is optional. + +Answer format: {"antiderivative": ""} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-simple-integration-l2-s8/task.toml b/tasks/construct-rg-simple-integration-l2-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..fc40b562c033c3dfbeaab5b1fbbd0509a4ccf197 --- /dev/null +++ b/tasks/construct-rg-simple-integration-l2-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-simple-integration-l2-s8" +version = "0.2.0" +description = "construct/rg_simple_integration" +authors = [] +keywords = ["rlmath", "construct", "rg_simple_integration"] + +[metadata] +subset = "construct" +family = "rg_simple_integration" +problem_key = "symbolic_antiderivative_polynomial" +domain = "analysis" +tier = "competition" +level = "2" +source = "ReasoningGym/simple_integration" +source_license = "Apache-2.0" +tags = ["symbolic"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-simple-integration-l6-s0/instruction.md b/tasks/construct-rg-simple-integration-l6-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..cf8d3f6638078aa18c1f2038cddf6be3fe672a40 --- /dev/null +++ b/tasks/construct-rg-simple-integration-l6-s0/instruction.md @@ -0,0 +1,11 @@ +Find an antiderivative F(x) of + + f(x) = -45*x**8/7 - 12*x**3/7 + 7/x**2 + 4/x**3 + 20/(3*x**6) + +i.e. any F with dF/dx = f(x). + +Write the antiderivative as a single expression in the variable x using Python/SymPy syntax: + - * / and ** for powers (always write * for multiplication), parentheses, the constants E and pi, and the functions sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, exp, log (natural logarithm), sqrt, Abs. An additive constant such as + C is optional. + +Answer format: {"antiderivative": ""} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-simple-integration-l6-s0/task.toml b/tasks/construct-rg-simple-integration-l6-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..1620f9cc2c2f7c64ef9fd7a08454ae4afa7ade08 --- /dev/null +++ b/tasks/construct-rg-simple-integration-l6-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-simple-integration-l6-s0" +version = "0.2.0" +description = "construct/rg_simple_integration" +authors = [] +keywords = ["rlmath", "construct", "rg_simple_integration"] + +[metadata] +subset = "construct" +family = "rg_simple_integration" +problem_key = "symbolic_antiderivative_polynomial" +domain = "analysis" +tier = "competition" +level = "6" +source = "ReasoningGym/simple_integration" +source_license = "Apache-2.0" +tags = ["symbolic"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-simple-integration-l6-s7/instruction.md b/tasks/construct-rg-simple-integration-l6-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..628a043a3cb1218031092759927d6e3f470aed1b --- /dev/null +++ b/tasks/construct-rg-simple-integration-l6-s7/instruction.md @@ -0,0 +1,11 @@ +Find an antiderivative F(X) of + + f(X) = 18*X**5 + 5*X**2 - 2 - 10/X**2 + 4/X**9 - 27/X**10 + 25/(4*X**11) + +i.e. any F with dF/dX = f(X). + +Write the antiderivative as a single expression in the variable X using Python/SymPy syntax: + - * / and ** for powers (always write * for multiplication), parentheses, the constants E and pi, and the functions sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, exp, log (natural logarithm), sqrt, Abs. An additive constant such as + C is optional. + +Answer format: {"antiderivative": ""} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-simple-integration-l6-s7/task.toml b/tasks/construct-rg-simple-integration-l6-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..e3f4f34170b33528bd37ec56becb6879bc42cc70 --- /dev/null +++ b/tasks/construct-rg-simple-integration-l6-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-simple-integration-l6-s7" +version = "0.2.0" +description = "construct/rg_simple_integration" +authors = [] +keywords = ["rlmath", "construct", "rg_simple_integration"] + +[metadata] +subset = "construct" +family = "rg_simple_integration" +problem_key = "symbolic_antiderivative_polynomial" +domain = "analysis" +tier = "competition" +level = "6" +source = "ReasoningGym/simple_integration" +source_license = "Apache-2.0" +tags = ["symbolic"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rg-simple-integration-l6-s9/instruction.md b/tasks/construct-rg-simple-integration-l6-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..a734ae8598a06e6b414676a24019556ff728508b --- /dev/null +++ b/tasks/construct-rg-simple-integration-l6-s9/instruction.md @@ -0,0 +1,11 @@ +Find an antiderivative F(x) of + + f(x) = 108*x**11 + 60*x**9 - 27*x**8/10 + 8*x**7 + 28*x**6/5 + 30/x**6 + 81/(7*x**10) + +i.e. any F with dF/dx = f(x). + +Write the antiderivative as a single expression in the variable x using Python/SymPy syntax: + - * / and ** for powers (always write * for multiplication), parentheses, the constants E and pi, and the functions sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, exp, log (natural logarithm), sqrt, Abs. An additive constant such as + C is optional. + +Answer format: {"antiderivative": ""} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rg-simple-integration-l6-s9/task.toml b/tasks/construct-rg-simple-integration-l6-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..ca9fb95366eaae3ce4b55572809d1bed3f186417 --- /dev/null +++ b/tasks/construct-rg-simple-integration-l6-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rg-simple-integration-l6-s9" +version = "0.2.0" +description = "construct/rg_simple_integration" +authors = [] +keywords = ["rlmath", "construct", "rg_simple_integration"] + +[metadata] +subset = "construct" +family = "rg_simple_integration" +problem_key = "symbolic_antiderivative_polynomial" +domain = "analysis" +tier = "competition" +level = "6" +source = "ReasoningGym/simple_integration" +source_license = "Apache-2.0" +tags = ["symbolic"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-antiderivative-l3-s6/instruction.md b/tasks/construct-rlve-antiderivative-l3-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..a64178778de32f447c3e67116f1830735b8b779b --- /dev/null +++ b/tasks/construct-rlve-antiderivative-l3-s6/instruction.md @@ -0,0 +1,11 @@ +Find an antiderivative F(x) of + +f(x) = -sin(x - 3) + +(sympy syntax; log is the natural logarithm), i.e. any expression with F'(x) = f(x). Any constant of integration and any equivalent form is accepted. + +Write F as a string in sympy syntax using only: the variable x, integer literals, + - * / ** and parentheses, and the functions sin cos tan asin acos atan sinh cosh tanh exp log sqrt and constants E, pi (no decimals, no other names; always write * explicitly). + +Answer format: {"F": ""} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-antiderivative-l3-s6/task.toml b/tasks/construct-rlve-antiderivative-l3-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5447271467fcc0b06d2f7a53b319753e079d4c68 --- /dev/null +++ b/tasks/construct-rlve-antiderivative-l3-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-antiderivative-l3-s6" +version = "0.2.0" +description = "construct/rlve_antiderivative" +authors = [] +keywords = ["rlmath", "construct", "rlve_antiderivative"] + +[metadata] +subset = "construct" +family = "rlve_antiderivative" +problem_key = "symbolic_antiderivative" +domain = "analysis" +tier = "competition" +level = "3" +source = "RLVE-Gym/integral" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-bezout-identity-l2-s5/instruction.md b/tasks/construct-rlve-bezout-identity-l2-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..a40e00d27e1cf23b97146de6d454ad24f7cd2d05 --- /dev/null +++ b/tasks/construct-rlve-bezout-identity-l2-s5/instruction.md @@ -0,0 +1,10 @@ +You are given 4 nonzero integers A = [-25, -120, -65, -100] (A[0], ..., A[3]). + +Find integers X[0], ..., X[3] (any sign, any size) such that +S = A[0]*X[0] + ... + A[3]*X[3] = 5. + +(5 is the smallest positive value S can take.) + +Answer format: {"X": [X_0, ..., X_3]} (a JSON list of 4 integers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-bezout-identity-l2-s5/task.toml b/tasks/construct-rlve-bezout-identity-l2-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..9eacac38effe4674310690546a8dd97079cce07a --- /dev/null +++ b/tasks/construct-rlve-bezout-identity-l2-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-bezout-identity-l2-s5" +version = "0.2.0" +description = "construct/rlve_bezout_identity" +authors = [] +keywords = ["rlmath", "construct", "rlve_bezout_identity"] + +[metadata] +subset = "construct" +family = "rlve_bezout_identity" +problem_key = "bezout_coefficients" +domain = "number_theory" +tier = "competition" +level = "2" +source = "RLVE-Gym/bezout_identity" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-bezout-identity-l6-s3/instruction.md b/tasks/construct-rlve-bezout-identity-l6-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..8d55097afd7c5021af7289d2912a79ef63f1b4d3 --- /dev/null +++ b/tasks/construct-rlve-bezout-identity-l6-s3/instruction.md @@ -0,0 +1,10 @@ +You are given 12 nonzero integers A = [25112, 18022, -25110, 21082, 11580, -25860, -13642, -924, 10358, 11718, 17014, 21086] (A[0], ..., A[11]). + +Find integers X[0], ..., X[11] (any sign, any size) such that +S = A[0]*X[0] + ... + A[11]*X[11] = 2. + +(2 is the smallest positive value S can take.) + +Answer format: {"X": [X_0, ..., X_11]} (a JSON list of 12 integers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-bezout-identity-l6-s3/task.toml b/tasks/construct-rlve-bezout-identity-l6-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..dc039a61b5b9fb16bc2821617313e48fd79ac364 --- /dev/null +++ b/tasks/construct-rlve-bezout-identity-l6-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-bezout-identity-l6-s3" +version = "0.2.0" +description = "construct/rlve_bezout_identity" +authors = [] +keywords = ["rlmath", "construct", "rlve_bezout_identity"] + +[metadata] +subset = "construct" +family = "rlve_bezout_identity" +problem_key = "bezout_coefficients" +domain = "number_theory" +tier = "competition" +level = "6" +source = "RLVE-Gym/bezout_identity" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s0/environment/Dockerfile b/tasks/construct-rlve-construct-hack-interval-l4-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s0/environment/instance.json b/tasks/construct-rlve-construct-hack-interval-l4-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e0046d16e224a1cd6b7b51f9dc90d89e3047f681 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s0/environment/instance.json @@ -0,0 +1 @@ +{"mod": 248959893, "family": "rlve_construct_hack_interval", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s0/instruction.md b/tasks/construct-rlve-construct-hack-interval-l4-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..215fdde708699f3aee94b0944ae3158923bdb89c --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s0/instruction.md @@ -0,0 +1,6 @@ +Let f(x) be the sum of the decimal digits of x (e.g. f(1234) = 10). Construct integers L and R with 1 <= L <= R <= 2489598930 (that is, 10 * 248959893) such that +f(L) + f(L+1) + ... + f(R) is divisible by 248959893. + +Answer format: {"L": , "R": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s0/solution/solve.sh b/tasks/construct-rlve-construct-hack-interval-l4-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..c9e7887c0550bce284db3d7e3be7a5a7ceb8f164 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"L": 134398395, "R": 234398394} +RLMATH_EOF diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s0/task.toml b/tasks/construct-rlve-construct-hack-interval-l4-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..bed1bc5932c9cf3958ca1af50249a5b42de31d59 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-construct-hack-interval-l4-s0" +version = "0.2.0" +description = "construct/rlve_construct_hack_interval" +authors = [] +keywords = ["rlmath", "construct", "rlve_construct_hack_interval"] + +[metadata] +subset = "construct" +family = "rlve_construct_hack_interval" +problem_key = "cf468c_hack_interval" +domain = "number_theory" +tier = "competition" +level = "4" +source = "RLVE-Gym/construct_hack_interval" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/check.py b/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..34b46e9758e3a50ed16c9c2a29cfc0abe663926b --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/check.py @@ -0,0 +1,30 @@ +from run import Invalid, as_int + + +def digit_sum_prefix(n): + """sum of digit sums of all integers in [0, n] (exact, digit DP).""" + if n <= 0: + return 0 + s = str(n) + total, prefix_sum = 0, 0 + k = len(s) + for i, ch in enumerate(s): + d = int(ch) + rest = k - i - 1 + p = 10 ** rest + # numbers with this digit < d, free suffix of `rest` digits + total += d * prefix_sum * p + (d * (d - 1) // 2) * p + d * (45 * rest * p // 10 if rest else 0) + prefix_sum += d + return total + prefix_sum # include n itself + + +def check(inst, ans): + mod = inst["mod"] + L = as_int(ans.get("L"), "L", lo=1) + R = as_int(ans.get("R"), "R", lo=1, hi=10 * mod) + if L > R: + raise Invalid("need L <= R") + total = digit_sum_prefix(R) - digit_sum_prefix(L - 1) + if total % mod: + raise Invalid(f"sum of digit sums over [L, R] is {total}, not divisible by {mod}") + return None, {} diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/instance.json b/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e0046d16e224a1cd6b7b51f9dc90d89e3047f681 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/instance.json @@ -0,0 +1 @@ +{"mod": 248959893, "family": "rlve_construct_hack_interval", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/run.py b/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/test.sh b/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s7/environment/Dockerfile b/tasks/construct-rlve-construct-hack-interval-l4-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s7/environment/instance.json b/tasks/construct-rlve-construct-hack-interval-l4-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4743e9d30da414db008aa62409eacd93e8b65130 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s7/environment/instance.json @@ -0,0 +1 @@ +{"mod": 6110377305, "family": "rlve_construct_hack_interval", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s7/instruction.md b/tasks/construct-rlve-construct-hack-interval-l4-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..f4414c477622baa4d45c9cd2f3156d9884bcbead --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s7/instruction.md @@ -0,0 +1,6 @@ +Let f(x) be the sum of the decimal digits of x (e.g. f(1234) = 10). Construct integers L and R with 1 <= L <= R <= 61103773050 (that is, 10 * 6110377305) such that +f(L) + f(L+1) + ... + f(R) is divisible by 6110377305. + +Answer format: {"L": , "R": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s7/solution/solve.sh b/tasks/construct-rlve-construct-hack-interval-l4-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..c2fac9231015e20c7631892fa971c7c119c9ec96 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"L": 2272641135, "R": 3272641134} +RLMATH_EOF diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s7/task.toml b/tasks/construct-rlve-construct-hack-interval-l4-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..cb9c67d51d266f04cf5708cd15a10e6f465e0f8e --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-construct-hack-interval-l4-s7" +version = "0.2.0" +description = "construct/rlve_construct_hack_interval" +authors = [] +keywords = ["rlmath", "construct", "rlve_construct_hack_interval"] + +[metadata] +subset = "construct" +family = "rlve_construct_hack_interval" +problem_key = "cf468c_hack_interval" +domain = "number_theory" +tier = "competition" +level = "4" +source = "RLVE-Gym/construct_hack_interval" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/check.py b/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..34b46e9758e3a50ed16c9c2a29cfc0abe663926b --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/check.py @@ -0,0 +1,30 @@ +from run import Invalid, as_int + + +def digit_sum_prefix(n): + """sum of digit sums of all integers in [0, n] (exact, digit DP).""" + if n <= 0: + return 0 + s = str(n) + total, prefix_sum = 0, 0 + k = len(s) + for i, ch in enumerate(s): + d = int(ch) + rest = k - i - 1 + p = 10 ** rest + # numbers with this digit < d, free suffix of `rest` digits + total += d * prefix_sum * p + (d * (d - 1) // 2) * p + d * (45 * rest * p // 10 if rest else 0) + prefix_sum += d + return total + prefix_sum # include n itself + + +def check(inst, ans): + mod = inst["mod"] + L = as_int(ans.get("L"), "L", lo=1) + R = as_int(ans.get("R"), "R", lo=1, hi=10 * mod) + if L > R: + raise Invalid("need L <= R") + total = digit_sum_prefix(R) - digit_sum_prefix(L - 1) + if total % mod: + raise Invalid(f"sum of digit sums over [L, R] is {total}, not divisible by {mod}") + return None, {} diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/instance.json b/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4743e9d30da414db008aa62409eacd93e8b65130 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/instance.json @@ -0,0 +1 @@ +{"mod": 6110377305, "family": "rlve_construct_hack_interval", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/run.py b/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/test.sh b/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s9/environment/Dockerfile b/tasks/construct-rlve-construct-hack-interval-l4-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s9/environment/instance.json b/tasks/construct-rlve-construct-hack-interval-l4-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..aea4a400d7c9160e912e7c2301699370524be33b --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s9/environment/instance.json @@ -0,0 +1 @@ +{"mod": 5085864627, "family": "rlve_construct_hack_interval", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s9/instruction.md b/tasks/construct-rlve-construct-hack-interval-l4-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..31761bed5f5da210be4691d250903851edbb0d49 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s9/instruction.md @@ -0,0 +1,6 @@ +Let f(x) be the sum of the decimal digits of x (e.g. f(1234) = 10). Construct integers L and R with 1 <= L <= R <= 50858646270 (that is, 10 * 5085864627) such that +f(L) + f(L+1) + ... + f(R) is divisible by 5085864627. + +Answer format: {"L": , "R": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s9/solution/solve.sh b/tasks/construct-rlve-construct-hack-interval-l4-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..bc09e1a5ddaa408ce459d911b43d95e32d9d5538 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"L": 186917016, "R": 1186917015} +RLMATH_EOF diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s9/task.toml b/tasks/construct-rlve-construct-hack-interval-l4-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..a8a47b36b506ba7f4b7f1de0b35a5dc3ad571c0c --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-construct-hack-interval-l4-s9" +version = "0.2.0" +description = "construct/rlve_construct_hack_interval" +authors = [] +keywords = ["rlmath", "construct", "rlve_construct_hack_interval"] + +[metadata] +subset = "construct" +family = "rlve_construct_hack_interval" +problem_key = "cf468c_hack_interval" +domain = "number_theory" +tier = "competition" +level = "4" +source = "RLVE-Gym/construct_hack_interval" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/check.py b/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..34b46e9758e3a50ed16c9c2a29cfc0abe663926b --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/check.py @@ -0,0 +1,30 @@ +from run import Invalid, as_int + + +def digit_sum_prefix(n): + """sum of digit sums of all integers in [0, n] (exact, digit DP).""" + if n <= 0: + return 0 + s = str(n) + total, prefix_sum = 0, 0 + k = len(s) + for i, ch in enumerate(s): + d = int(ch) + rest = k - i - 1 + p = 10 ** rest + # numbers with this digit < d, free suffix of `rest` digits + total += d * prefix_sum * p + (d * (d - 1) // 2) * p + d * (45 * rest * p // 10 if rest else 0) + prefix_sum += d + return total + prefix_sum # include n itself + + +def check(inst, ans): + mod = inst["mod"] + L = as_int(ans.get("L"), "L", lo=1) + R = as_int(ans.get("R"), "R", lo=1, hi=10 * mod) + if L > R: + raise Invalid("need L <= R") + total = digit_sum_prefix(R) - digit_sum_prefix(L - 1) + if total % mod: + raise Invalid(f"sum of digit sums over [L, R] is {total}, not divisible by {mod}") + return None, {} diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/instance.json b/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..aea4a400d7c9160e912e7c2301699370524be33b --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/instance.json @@ -0,0 +1 @@ +{"mod": 5085864627, "family": "rlve_construct_hack_interval", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/run.py b/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/test.sh b/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-construct-hack-interval-l4-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-crt-l1-s0/instruction.md b/tasks/construct-rlve-crt-l1-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..6c013a32d57a4142a3a3670be039c6b85c0347e6 --- /dev/null +++ b/tasks/construct-rlve-crt-l1-s0/instruction.md @@ -0,0 +1,7 @@ +Find any non-negative integer x satisfying all of the following 2 congruences (the moduli need not be pairwise coprime; the system is consistent): +x ≡ 3 (mod 6) +x ≡ 0 (mod 5) + +Answer format: {"x": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-crt-l1-s0/task.toml b/tasks/construct-rlve-crt-l1-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..17ee50277a24b1ef681ddc6814e00ae83286653c --- /dev/null +++ b/tasks/construct-rlve-crt-l1-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-crt-l1-s0" +version = "0.2.0" +description = "construct/rlve_crt" +authors = [] +keywords = ["rlmath", "construct", "rlve_crt"] + +[metadata] +subset = "construct" +family = "rlve_crt" +problem_key = "generalized_crt" +domain = "number_theory" +tier = "competition" +level = "1" +source = "RLVE-Gym/crt" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-crt-l1-s7/instruction.md b/tasks/construct-rlve-crt-l1-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..e4068f6684cb7c5fdca2e23cd3d853c998196134 --- /dev/null +++ b/tasks/construct-rlve-crt-l1-s7/instruction.md @@ -0,0 +1,7 @@ +Find any non-negative integer x satisfying all of the following 2 congruences (the moduli need not be pairwise coprime; the system is consistent): +x ≡ 2 (mod 4) +x ≡ 2 (mod 3) + +Answer format: {"x": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-crt-l1-s7/task.toml b/tasks/construct-rlve-crt-l1-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..79ac66ef0bca348820a722ac1ab6a7c7fe20e8e3 --- /dev/null +++ b/tasks/construct-rlve-crt-l1-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-crt-l1-s7" +version = "0.2.0" +description = "construct/rlve_crt" +authors = [] +keywords = ["rlmath", "construct", "rlve_crt"] + +[metadata] +subset = "construct" +family = "rlve_crt" +problem_key = "generalized_crt" +domain = "number_theory" +tier = "competition" +level = "1" +source = "RLVE-Gym/crt" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-crt-l5-s1/instruction.md b/tasks/construct-rlve-crt-l5-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..368c4a2bb123a8d37bc3d5855a2bf70e6f84c978 --- /dev/null +++ b/tasks/construct-rlve-crt-l5-s1/instruction.md @@ -0,0 +1,11 @@ +Find any non-negative integer x satisfying all of the following 6 congruences (the moduli need not be pairwise coprime; the system is consistent): +x ≡ 1015714744 (mod 1689557742) +x ≡ 274208535 (mod 5810179435) +x ≡ 2925635784 (mod 3158752186) +x ≡ 67495816 (mod 231418929) +x ≡ 518152197 (mod 795176539) +x ≡ 329203893 (mod 5755184077) + +Answer format: {"x": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-crt-l5-s1/task.toml b/tasks/construct-rlve-crt-l5-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..9ee27670c4a602bb2bf47d841b86fd5c6b73e06f --- /dev/null +++ b/tasks/construct-rlve-crt-l5-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-crt-l5-s1" +version = "0.2.0" +description = "construct/rlve_crt" +authors = [] +keywords = ["rlmath", "construct", "rlve_crt"] + +[metadata] +subset = "construct" +family = "rlve_crt" +problem_key = "generalized_crt" +domain = "number_theory" +tier = "competition" +level = "5" +source = "RLVE-Gym/crt" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-crt-l5-s8/instruction.md b/tasks/construct-rlve-crt-l5-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..475e0ed84d6da66dba79b6c918a545f8b4e5329a --- /dev/null +++ b/tasks/construct-rlve-crt-l5-s8/instruction.md @@ -0,0 +1,11 @@ +Find any non-negative integer x satisfying all of the following 6 congruences (the moduli need not be pairwise coprime; the system is consistent): +x ≡ 232122125 (mod 1560168774) +x ≡ 142292393 (mod 1605083640) +x ≡ 451836503 (mod 580124634) +x ≡ 1081095101 (mod 2271364572) +x ≡ 190662348 (mod 632359465) +x ≡ 718556341 (mod 1316951666) + +Answer format: {"x": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-crt-l5-s8/task.toml b/tasks/construct-rlve-crt-l5-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5467454fcf6f625871e48603a9c4eb82deb4f32c --- /dev/null +++ b/tasks/construct-rlve-crt-l5-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-crt-l5-s8" +version = "0.2.0" +description = "construct/rlve_crt" +authors = [] +keywords = ["rlmath", "construct", "rlve_crt"] + +[metadata] +subset = "construct" +family = "rlve_crt" +problem_key = "generalized_crt" +domain = "number_theory" +tier = "competition" +level = "5" +source = "RLVE-Gym/crt" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s6/instruction.md b/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..3a119a31037482d840750a75530523213757f751 --- /dev/null +++ b/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s6/instruction.md @@ -0,0 +1,7 @@ +You are given an array A of 14 distinct integers: A = [15, 11, 25, 4, 0, 10, 17, 16, 19, 3, 24, 9, 21, 22] (positions 1..14). + +Output an array B that is a permutation of A such that for every non-empty proper subset S of positions (S a subset of {1, ..., 14}, 0 < |S| < 14) the sums of A and of B over the positions in S are different. + +Answer format: {"B": [B_1, ..., B_14]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s6/task.toml b/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5995d7b232ca488743367e3873df86f384f75a3c --- /dev/null +++ b/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-distinct-subset-sum-permutation-l4-s6" +version = "0.2.0" +description = "construct/rlve_distinct_subset_sum_permutation" +authors = [] +keywords = ["rlmath", "construct", "rlve_distinct_subset_sum_permutation"] + +[metadata] +subset = "construct" +family = "rlve_distinct_subset_sum_permutation" +problem_key = "cf892d_gluttony" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "RLVE-Gym/distinct_array_permutation" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s8/instruction.md b/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..88d032d578e22989dc0704778e541683abe0c663 --- /dev/null +++ b/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s8/instruction.md @@ -0,0 +1,7 @@ +You are given an array A of 14 distinct integers: A = [0, 24, 6, 26, 21, 7, 2, 16, 27, 18, 4, 22, 13, 25] (positions 1..14). + +Output an array B that is a permutation of A such that for every non-empty proper subset S of positions (S a subset of {1, ..., 14}, 0 < |S| < 14) the sums of A and of B over the positions in S are different. + +Answer format: {"B": [B_1, ..., B_14]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s8/task.toml b/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..11cdee237b5ff47826803051ffdb9fa6be3bbeee --- /dev/null +++ b/tasks/construct-rlve-distinct-subset-sum-permutation-l4-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-distinct-subset-sum-permutation-l4-s8" +version = "0.2.0" +description = "construct/rlve_distinct_subset_sum_permutation" +authors = [] +keywords = ["rlmath", "construct", "rlve_distinct_subset_sum_permutation"] + +[metadata] +subset = "construct" +family = "rlve_distinct_subset_sum_permutation" +problem_key = "cf892d_gluttony" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "RLVE-Gym/distinct_array_permutation" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-even-degree-partition-l1-s7/instruction.md b/tasks/construct-rlve-even-degree-partition-l1-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..ed3c18bf0e085683bdcda21e5235df8a46f7d8d1 --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l1-s7/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 5 vertices labelled 0..4 and edge list +[[0, 2], [0, 3], [0, 4], [2, 3]] + +Assign every vertex to group 1 or group 2 so that, for every vertex v, the number of neighbours of v lying in the same group as v is even (zero counts as even). One of the groups may be empty. + +Answer format: {"groups": [g_0, ..., g_4]} with each g_i in {1, 2} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-even-degree-partition-l1-s7/task.toml b/tasks/construct-rlve-even-degree-partition-l1-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..bd4d77e7f33b30cbfad928e1e547d44d2666c8e4 --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l1-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-even-degree-partition-l1-s7" +version = "0.2.0" +description = "construct/rlve_even_degree_partition" +authors = [] +keywords = ["rlmath", "construct", "rlve_even_degree_partition"] + +[metadata] +subset = "construct" +family = "rlve_even_degree_partition" +problem_key = "gallai_even_partition" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "RLVE-Gym/even_degree_graph_partitioning" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-even-degree-partition-l1-s9/instruction.md b/tasks/construct-rlve-even-degree-partition-l1-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..11eb5c0d80ed94b29ee05e0735f4e27400dac96d --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l1-s9/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 5 vertices labelled 0..4 and edge list +[[0, 2], [0, 4], [1, 3], [1, 4], [2, 3]] + +Assign every vertex to group 1 or group 2 so that, for every vertex v, the number of neighbours of v lying in the same group as v is even (zero counts as even). One of the groups may be empty. + +Answer format: {"groups": [g_0, ..., g_4]} with each g_i in {1, 2} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-even-degree-partition-l1-s9/task.toml b/tasks/construct-rlve-even-degree-partition-l1-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..b737120856ba0dbd52bb4abcd17e05e88c87151d --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l1-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-even-degree-partition-l1-s9" +version = "0.2.0" +description = "construct/rlve_even_degree_partition" +authors = [] +keywords = ["rlmath", "construct", "rlve_even_degree_partition"] + +[metadata] +subset = "construct" +family = "rlve_even_degree_partition" +problem_key = "gallai_even_partition" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "RLVE-Gym/even_degree_graph_partitioning" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-even-degree-partition-l5-s1/instruction.md b/tasks/construct-rlve-even-degree-partition-l5-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..4cae29ba1dbd07ab065a4424d3c613c6049a0750 --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l5-s1/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 28 vertices labelled 0..27 and edge list +[[0, 2], [0, 5], [0, 23], [1, 3], [1, 4], [1, 12], [1, 18], [1, 19], [1, 20], [1, 21], [1, 22], [1, 24], [1, 27], [2, 11], [2, 20], [3, 11], [3, 17], [3, 19], [3, 21], [3, 22], [3, 27], [4, 21], [4, 22], [4, 27], [5, 6], [5, 7], [5, 9], [5, 10], [5, 13], [5, 14], [5, 15], [5, 17], [5, 23], [5, 25], [5, 26], [6, 9], [6, 15], [6, 17], [6, 25], [6, 26], [7, 9], [7, 13], [7, 15], [7, 17], [7, 23], [8, 11], [8, 14], [8, 19], [9, 10], [9, 13], [9, 14], [9, 15], [9, 17], [9, 23], [9, 25], [9, 27], [10, 15], [10, 23], [10, 25], [10, 26], [11, 12], [11, 18], [11, 19], [11, 20], [11, 21], [11, 22], [11, 23], [11, 27], [12, 18], [12, 19], [12, 21], [12, 22], [12, 24], [12, 25], [12, 27], [13, 15], [13, 17], [13, 23], [14, 15], [14, 17], [14, 21], [15, 17], [15, 23], [15, 25], [17, 25], [18, 20], [18, 21], [18, 22], [18, 24], [18, 27], [19, 20], [19, 21], [19, 22], [19, 24], [19, 27], [20, 21], [21, 22], [21, 27], [22, 24], [22, 27], [23, 26], [24, 25], [24, 27]] + +Assign every vertex to group 1 or group 2 so that, for every vertex v, the number of neighbours of v lying in the same group as v is even (zero counts as even). One of the groups may be empty. + +Answer format: {"groups": [g_0, ..., g_27]} with each g_i in {1, 2} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-even-degree-partition-l5-s1/task.toml b/tasks/construct-rlve-even-degree-partition-l5-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..22c528b8819e5740d792ffc5009720f42914c290 --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l5-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-even-degree-partition-l5-s1" +version = "0.2.0" +description = "construct/rlve_even_degree_partition" +authors = [] +keywords = ["rlmath", "construct", "rlve_even_degree_partition"] + +[metadata] +subset = "construct" +family = "rlve_even_degree_partition" +problem_key = "gallai_even_partition" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "RLVE-Gym/even_degree_graph_partitioning" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-even-degree-partition-l5-s6/instruction.md b/tasks/construct-rlve-even-degree-partition-l5-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..75c378213a789489387c2353e449dc892dcfb178 --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l5-s6/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 28 vertices labelled 0..27 and edge list +[[0, 5], [0, 8], [0, 11], [0, 14], [0, 15], [0, 16], [0, 18], [0, 20], [0, 21], [0, 22], [0, 25], [1, 2], [1, 3], [1, 5], [1, 6], [1, 7], [1, 9], [1, 10], [1, 11], [1, 14], [1, 16], [1, 18], [1, 19], [1, 21], [1, 22], [1, 25], [2, 5], [2, 7], [2, 8], [2, 11], [2, 12], [2, 14], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [2, 22], [2, 24], [2, 25], [3, 5], [3, 6], [3, 7], [3, 8], [3, 9], [3, 11], [3, 14], [3, 16], [3, 19], [3, 20], [3, 22], [3, 25], [4, 5], [4, 7], [4, 9], [4, 11], [4, 13], [4, 14], [4, 16], [4, 19], [4, 20], [4, 21], [4, 25], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 15], [5, 16], [5, 18], [5, 20], [5, 21], [5, 22], [5, 23], [5, 24], [5, 26], [5, 27], [6, 8], [6, 9], [6, 10], [6, 11], [6, 12], [6, 15], [6, 17], [6, 18], [6, 19], [6, 20], [6, 21], [6, 24], [6, 25], [6, 26], [6, 27], [7, 9], [7, 10], [7, 11], [7, 13], [7, 14], [7, 16], [7, 17], [7, 19], [7, 20], [7, 24], [7, 25], [8, 11], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 22], [8, 24], [8, 26], [8, 27], [9, 10], [9, 14], [9, 15], [9, 20], [9, 23], [9, 24], [9, 25], [9, 26], [10, 11], [10, 14], [10, 17], [10, 19], [10, 20], [10, 21], [10, 25], [10, 27], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 19], [11, 20], [11, 22], [11, 23], [11, 24], [11, 26], [11, 27], [12, 21], [12, 22], [13, 14], [13, 15], [13, 16], [13, 17], [13, 19], [13, 20], [13, 21], [13, 22], [13, 24], [13, 27], [14, 15], [14, 23], [14, 24], [14, 27], [15, 16], [15, 19], [15, 20], [15, 21], [15, 22], [15, 25], [16, 18], [16, 19], [16, 20], [16, 21], [16, 23], [16, 24], [16, 25], [16, 26], [16, 27], [17, 18], [17, 19], [17, 20], [17, 21], [17, 25], [17, 26], [18, 19], [18, 20], [18, 21], [18, 24], [18, 25], [18, 26], [18, 27], [19, 20], [19, 22], [19, 23], [19, 24], [19, 25], [19, 26], [19, 27], [20, 21], [20, 23], [20, 24], [20, 26], [21, 22], [21, 23], [21, 24], [21, 25], [21, 27], [22, 23], [22, 26], [22, 27], [24, 25], [25, 26], [25, 27]] + +Assign every vertex to group 1 or group 2 so that, for every vertex v, the number of neighbours of v lying in the same group as v is even (zero counts as even). One of the groups may be empty. + +Answer format: {"groups": [g_0, ..., g_27]} with each g_i in {1, 2} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-even-degree-partition-l5-s6/task.toml b/tasks/construct-rlve-even-degree-partition-l5-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..50e798a0a70363d29cb9c4564bb763a98200c29b --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l5-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-even-degree-partition-l5-s6" +version = "0.2.0" +description = "construct/rlve_even_degree_partition" +authors = [] +keywords = ["rlmath", "construct", "rlve_even_degree_partition"] + +[metadata] +subset = "construct" +family = "rlve_even_degree_partition" +problem_key = "gallai_even_partition" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "RLVE-Gym/even_degree_graph_partitioning" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-even-degree-partition-l5-s8/instruction.md b/tasks/construct-rlve-even-degree-partition-l5-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..dad7b0950ddb2f40369f2fe63ae4f4ae934d4f48 --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l5-s8/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 28 vertices labelled 0..27 and edge list +[[0, 1], [0, 2], [0, 3], [0, 4], [0, 6], [0, 7], [0, 12], [0, 14], [0, 15], [0, 16], [0, 17], [0, 20], [0, 21], [0, 22], [0, 23], [0, 27], [1, 2], [1, 5], [1, 6], [1, 7], [1, 9], [1, 10], [1, 11], [1, 13], [1, 14], [1, 15], [1, 17], [1, 18], [1, 19], [1, 20], [1, 23], [1, 26], [1, 27], [2, 4], [2, 6], [2, 7], [2, 8], [2, 11], [2, 14], [2, 18], [2, 19], [2, 23], [2, 24], [2, 25], [2, 26], [3, 5], [3, 6], [3, 8], [3, 9], [3, 11], [3, 12], [3, 13], [3, 14], [3, 15], [3, 17], [3, 18], [3, 19], [3, 23], [3, 25], [4, 5], [4, 6], [4, 7], [4, 11], [4, 12], [4, 13], [4, 14], [4, 17], [4, 20], [4, 21], [4, 24], [5, 8], [5, 11], [5, 12], [5, 14], [5, 15], [5, 17], [5, 18], [5, 19], [5, 20], [5, 22], [5, 24], [5, 25], [5, 26], [6, 7], [6, 9], [6, 12], [6, 13], [6, 14], [6, 18], [6, 20], [6, 23], [6, 27], [7, 9], [7, 10], [7, 11], [7, 12], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [7, 22], [7, 23], [7, 24], [7, 25], [7, 26], [8, 13], [8, 15], [8, 16], [8, 17], [8, 18], [8, 21], [8, 22], [8, 24], [9, 10], [9, 13], [9, 14], [9, 16], [9, 18], [9, 20], [9, 21], [9, 23], [9, 24], [9, 26], [10, 11], [10, 13], [10, 15], [10, 17], [10, 19], [10, 20], [10, 21], [10, 22], [10, 25], [10, 26], [10, 27], [11, 12], [11, 15], [11, 20], [11, 22], [11, 23], [11, 24], [11, 25], [11, 27], [12, 16], [12, 17], [12, 19], [12, 21], [12, 23], [12, 24], [12, 26], [12, 27], [13, 14], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 22], [13, 23], [13, 25], [13, 26], [13, 27], [14, 17], [14, 18], [14, 19], [14, 20], [14, 23], [14, 26], [14, 27], [15, 16], [15, 18], [15, 19], [15, 20], [15, 22], [15, 24], [16, 19], [16, 22], [16, 23], [16, 26], [17, 18], [17, 20], [17, 22], [17, 23], [17, 26], [18, 19], [18, 20], [18, 23], [18, 24], [18, 25], [19, 22], [19, 23], [19, 25], [20, 21], [20, 22], [20, 23], [20, 25], [20, 26], [20, 27], [21, 22], [21, 23], [21, 24], [21, 25], [22, 26], [22, 27], [23, 24], [23, 25], [23, 26], [24, 25], [25, 27], [26, 27]] + +Assign every vertex to group 1 or group 2 so that, for every vertex v, the number of neighbours of v lying in the same group as v is even (zero counts as even). One of the groups may be empty. + +Answer format: {"groups": [g_0, ..., g_27]} with each g_i in {1, 2} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-even-degree-partition-l5-s8/task.toml b/tasks/construct-rlve-even-degree-partition-l5-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..79770a4e85509c8f7975fb52d38bbb5b8aa5df78 --- /dev/null +++ b/tasks/construct-rlve-even-degree-partition-l5-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-even-degree-partition-l5-s8" +version = "0.2.0" +description = "construct/rlve_even_degree_partition" +authors = [] +keywords = ["rlmath", "construct", "rlve_even_degree_partition"] + +[metadata] +subset = "construct" +family = "rlve_even_degree_partition" +problem_key = "gallai_even_partition" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "RLVE-Gym/even_degree_graph_partitioning" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-graph-isomorphism-l3-s5/instruction.md b/tasks/construct-rlve-graph-isomorphism-l3-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..faf46681ea1d1f2abd8fd8ffdec732d1d90e829f --- /dev/null +++ b/tasks/construct-rlve-graph-isomorphism-l3-s5/instruction.md @@ -0,0 +1,9 @@ +Two undirected simple graphs G1 and G2 each have 12 vertices labelled 0..11 and 29 edges. +G1 edges: [[1, 5], [1, 8], [0, 2], [4, 11], [7, 8], [5, 8], [0, 8], [6, 10], [6, 9], [8, 9], [1, 11], [2, 5], [0, 6], [0, 3], [3, 8], [8, 10], [0, 11], [0, 9], [1, 10], [6, 7], [0, 5], [7, 10], [1, 2], [3, 7], [2, 8], [4, 7], [1, 9], [9, 11], [0, 4]] +G2 edges: [[0, 5], [0, 10], [4, 6], [1, 6], [6, 10], [5, 10], [7, 8], [6, 8], [0, 2], [3, 5], [7, 11], [4, 5], [1, 3], [6, 9], [1, 10], [8, 10], [0, 6], [0, 3], [2, 4], [5, 8], [0, 4], [2, 5], [0, 11], [0, 9], [6, 7], [9, 11], [2, 6], [1, 11], [3, 11]] + +Find a bijection p from the vertices of G1 to the vertices of G2 such that (u, v) is an edge of G1 if and only if (p(u), p(v)) is an edge of G2. + +Answer format: {"p": [p(0), ..., p(11)]} (a permutation of 0..11) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-graph-isomorphism-l3-s5/task.toml b/tasks/construct-rlve-graph-isomorphism-l3-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..87926fd64c6d06eb4d1f19c7efe4664173ea77e3 --- /dev/null +++ b/tasks/construct-rlve-graph-isomorphism-l3-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-graph-isomorphism-l3-s5" +version = "0.2.0" +description = "construct/rlve_graph_isomorphism" +authors = [] +keywords = ["rlmath", "construct", "rlve_graph_isomorphism"] + +[metadata] +subset = "construct" +family = "rlve_graph_isomorphism" +problem_key = "graph_isomorphism" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "RLVE-Gym/graph_isomorphism" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-grid-parity-construction-l3-s2/instruction.md b/tasks/construct-rlve-grid-parity-construction-l3-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..a239c726642c775d16d08be980d0b74852129a26 --- /dev/null +++ b/tasks/construct-rlve-grid-parity-construction-l3-s2/instruction.md @@ -0,0 +1,15 @@ +Construct an 8 x 4 binary matrix G (entries 0/1) whose parity matrix equals P below. The parity of cell (i, j) is the XOR of G[i][j] and its up/down/left/right neighbours inside the grid (cells outside the grid count as 0). + +P (one row per line): +0110 +0010 +1011 +0110 +0010 +1000 +0100 +0100 + +Answer format: {"grid": [row_0, ..., row_7]} where each row is a string of 4 characters '0'/'1' + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-grid-parity-construction-l3-s2/task.toml b/tasks/construct-rlve-grid-parity-construction-l3-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..44ecc1b817b7c51200447a602844d1c9c60a94f3 --- /dev/null +++ b/tasks/construct-rlve-grid-parity-construction-l3-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-grid-parity-construction-l3-s2" +version = "0.2.0" +description = "construct/rlve_grid_parity_construction" +authors = [] +keywords = ["rlmath", "construct", "rlve_grid_parity_construction"] + +[metadata] +subset = "construct" +family = "rlve_grid_parity_construction" +problem_key = "lights_out_gf2" +domain = "algebra" +tier = "competition" +level = "3" +source = "RLVE-Gym/grid_parity_construction" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-imp-party-l1-s3/instruction.md b/tasks/construct-rlve-imp-party-l1-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..bbca7029d49638bff20c29b8f674c78ec68de455 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s3/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 9 vertices labelled 0..8 and edge list +[[0, 5], [0, 7], [1, 2], [1, 3], [1, 5], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8], [5, 6], [5, 7], [5, 8], [6, 7], [6, 8], [7, 8]] + +It is guaranteed that the graph contains a clique of size 6. Find any clique of size 3: 3 distinct vertices every two of which are adjacent. + +Answer format: {"clique": [v_1, ..., v_3]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-imp-party-l1-s3/task.toml b/tasks/construct-rlve-imp-party-l1-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..96c7bd60359b8edf027136dc8fe2a2b6f2318997 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-imp-party-l1-s3" +version = "0.2.0" +description = "construct/rlve_imp_party" +authors = [] +keywords = ["rlmath", "construct", "rlve_imp_party"] + +[metadata] +subset = "construct" +family = "rlve_imp_party" +problem_key = "poi_party_clique_3n" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "RLVE-Gym/imp_party" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-imp-party-l1-s4/environment/Dockerfile b/tasks/construct-rlve-imp-party-l1-s4/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s4/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-imp-party-l1-s4/environment/instance.json b/tasks/construct-rlve-imp-party-l1-s4/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..fe712c0a9bae910a47054e127c6977ca25760221 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s4/environment/instance.json @@ -0,0 +1 @@ +{"n": 3, "edges": [[0, 2], [0, 3], [0, 5], [0, 6], [0, 7], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8], [4, 5], [4, 6], [4, 7], [5, 6], [5, 7], [5, 8], [6, 7], [6, 8], [7, 8]], "family": "rlve_imp_party", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-imp-party-l1-s4/instruction.md b/tasks/construct-rlve-imp-party-l1-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..790ccaa06334d176e673399cc0a0150002e5149e --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s4/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 9 vertices labelled 0..8 and edge list +[[0, 2], [0, 3], [0, 5], [0, 6], [0, 7], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8], [4, 5], [4, 6], [4, 7], [5, 6], [5, 7], [5, 8], [6, 7], [6, 8], [7, 8]] + +It is guaranteed that the graph contains a clique of size 6. Find any clique of size 3: 3 distinct vertices every two of which are adjacent. + +Answer format: {"clique": [v_1, ..., v_3]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-imp-party-l1-s4/solution/solve.sh b/tasks/construct-rlve-imp-party-l1-s4/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..da2a43c1fe05b22807800c696916113bf111109c --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s4/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [5, 6, 7]} +RLMATH_EOF diff --git a/tasks/construct-rlve-imp-party-l1-s4/task.toml b/tasks/construct-rlve-imp-party-l1-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..39d2124ace55927a9e658f30b7ecdb66a4a7bd64 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-imp-party-l1-s4" +version = "0.2.0" +description = "construct/rlve_imp_party" +authors = [] +keywords = ["rlmath", "construct", "rlve_imp_party"] + +[metadata] +subset = "construct" +family = "rlve_imp_party" +problem_key = "poi_party_clique_3n" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "RLVE-Gym/imp_party" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-imp-party-l1-s4/tests/check.py b/tasks/construct-rlve-imp-party-l1-s4/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..97b5a037a2ba8bf4495cf87cc074d1c60b11311c --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s4/tests/check.py @@ -0,0 +1,14 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + c = int_list(ans.get("clique"), n, 0, 3 * n - 1, "clique") + if len(set(c)) != n: + raise Invalid("vertices must be distinct") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for i in range(n): + for j in range(i + 1, n): + if (min(c[i], c[j]), max(c[i], c[j])) not in es: + raise Invalid(f"{c[i]} and {c[j]} are not adjacent") + return None, {} diff --git a/tasks/construct-rlve-imp-party-l1-s4/tests/instance.json b/tasks/construct-rlve-imp-party-l1-s4/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..fe712c0a9bae910a47054e127c6977ca25760221 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s4/tests/instance.json @@ -0,0 +1 @@ +{"n": 3, "edges": [[0, 2], [0, 3], [0, 5], [0, 6], [0, 7], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8], [4, 5], [4, 6], [4, 7], [5, 6], [5, 7], [5, 8], [6, 7], [6, 8], [7, 8]], "family": "rlve_imp_party", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-imp-party-l1-s4/tests/run.py b/tasks/construct-rlve-imp-party-l1-s4/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s4/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-imp-party-l1-s4/tests/test.sh b/tasks/construct-rlve-imp-party-l1-s4/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l1-s4/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-imp-party-l5-s2/environment/Dockerfile b/tasks/construct-rlve-imp-party-l5-s2/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s2/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-imp-party-l5-s2/environment/instance.json b/tasks/construct-rlve-imp-party-l5-s2/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..489a64ed1f7ff0afc1c22efdd32d21feb8cfa688 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s2/environment/instance.json @@ -0,0 +1 @@ +{"n": 18, "edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 15], [0, 16], [0, 17], [0, 19], [0, 21], [0, 22], [0, 23], [0, 24], [0, 25], [0, 26], [0, 27], [0, 29], [0, 30], [0, 31], [0, 32], [0, 34], [0, 35], [0, 36], [0, 37], [0, 38], [0, 39], [0, 40], [0, 43], [0, 44], [0, 45], [0, 46], [0, 47], [0, 48], [0, 49], [0, 50], [0, 51], [0, 52], [0, 53], [1, 2], [1, 8], [1, 9], [1, 10], [1, 11], [1, 13], [1, 15], [1, 17], [1, 24], [1, 25], [1, 30], [1, 32], [1, 38], [1, 39], [1, 43], [1, 45], [1, 46], [1, 48], [1, 50], [1, 52], [2, 3], [2, 4], [2, 5], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 15], [2, 16], [2, 17], [2, 20], [2, 21], [2, 22], [2, 23], [2, 24], [2, 25], [2, 29], [2, 30], [2, 31], [2, 32], [2, 33], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 39], [2, 40], [2, 41], [2, 43], [2, 44], [2, 45], [2, 46], [2, 47], [2, 48], [2, 50], [2, 51], [2, 52], [2, 53], [3, 4], [3, 5], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 13], [3, 15], [3, 16], [3, 17], [3, 19], [3, 21], [3, 23], [3, 24], [3, 25], [3, 26], [3, 30], [3, 31], [3, 32], [3, 33], [3, 34], [3, 35], [3, 36], [3, 37], [3, 38], [3, 39], [3, 40], [3, 41], [3, 42], [3, 43], [3, 44], [3, 45], [3, 46], [3, 47], [3, 48], [3, 49], [3, 50], [3, 51], [3, 52], [3, 53], [4, 5], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 15], [4, 16], [4, 17], [4, 18], [4, 21], [4, 23], [4, 24], [4, 25], [4, 27], [4, 28], [4, 30], [4, 31], [4, 32], [4, 33], [4, 34], [4, 35], [4, 36], [4, 37], [4, 38], [4, 39], [4, 40], [4, 43], [4, 44], [4, 45], [4, 46], [4, 47], [4, 48], [4, 50], [4, 51], [4, 52], [4, 53], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 15], [5, 16], [5, 17], [5, 18], [5, 21], [5, 23], [5, 24], [5, 25], [5, 28], [5, 29], [5, 30], [5, 31], [5, 32], [5, 33], [5, 34], [5, 35], [5, 37], [5, 38], [5, 39], [5, 40], [5, 43], [5, 44], [5, 45], [5, 46], [5, 47], [5, 48], [5, 50], [5, 51], [5, 52], [5, 53], [6, 9], [6, 11], [6, 13], [6, 16], [6, 23], [6, 25], [6, 38], [6, 40], [6, 44], [6, 46], [6, 48], [6, 51], [7, 9], [7, 12], [7, 15], [7, 23], [7, 30], [7, 32], [7, 34], [7, 37], [7, 38], [7, 39], [7, 40], [7, 45], [7, 46], [7, 47], [7, 48], [7, 50], [7, 53], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 15], [8, 16], [8, 17], [8, 20], [8, 21], [8, 23], [8, 24], [8, 25], [8, 27], [8, 28], [8, 30], [8, 31], [8, 32], [8, 34], [8, 35], [8, 36], [8, 37], [8, 38], [8, 39], [8, 40], [8, 42], [8, 43], [8, 44], [8, 45], [8, 46], [8, 47], [8, 48], [8, 49], [8, 50], [8, 51], [8, 52], [8, 53], [9, 10], [9, 11], [9, 12], [9, 13], [9, 15], [9, 16], [9, 17], [9, 18], [9, 21], [9, 23], [9, 24], [9, 25], [9, 26], [9, 27], [9, 30], [9, 32], [9, 34], [9, 35], [9, 37], [9, 38], [9, 39], [9, 40], [9, 43], [9, 44], [9, 45], [9, 46], [9, 47], [9, 48], [9, 50], [9, 51], [9, 52], [9, 53], [10, 11], [10, 12], [10, 13], [10, 15], [10, 16], [10, 17], [10, 19], [10, 20], [10, 21], [10, 23], [10, 24], [10, 25], [10, 30], [10, 31], [10, 32], [10, 33], [10, 34], [10, 35], [10, 36], [10, 37], [10, 38], [10, 39], [10, 40], [10, 42], [10, 43], [10, 44], [10, 45], [10, 46], [10, 47], [10, 48], [10, 50], [10, 51], [10, 52], [10, 53], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 20], [11, 21], [11, 23], [11, 24], [11, 25], [11, 26], [11, 28], [11, 29], [11, 30], [11, 32], [11, 33], [11, 34], [11, 35], [11, 37], [11, 38], [11, 39], [11, 40], [11, 43], [11, 44], [11, 45], [11, 46], [11, 47], [11, 48], [11, 50], [11, 51], [11, 52], [11, 53], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 19], [12, 20], [12, 21], [12, 23], [12, 24], [12, 25], [12, 27], [12, 28], [12, 29], [12, 30], [12, 32], [12, 33], [12, 34], [12, 35], [12, 36], [12, 37], [12, 38], [12, 39], [12, 40], [12, 43], [12, 44], [12, 45], [12, 46], [12, 47], [12, 48], [12, 50], [12, 51], [12, 52], [12, 53], [13, 14], [13, 15], [13, 16], [13, 17], [13, 19], [13, 20], [13, 21], [13, 22], [13, 23], [13, 24], [13, 25], [13, 26], [13, 27], [13, 30], [13, 31], [13, 32], [13, 34], [13, 35], [13, 37], [13, 38], [13, 39], [13, 40], [13, 41], [13, 43], [13, 44], [13, 45], [13, 46], [13, 47], [13, 48], [13, 49], [13, 50], [13, 51], [13, 52], [13, 53], [14, 16], [14, 17], [14, 21], [14, 24], [14, 25], [14, 30], [14, 32], [14, 34], [14, 37], [14, 38], [14, 39], [14, 40], [14, 43], [14, 45], [14, 46], [14, 48], [14, 52], [14, 53], [15, 16], [15, 17], [15, 19], [15, 20], [15, 21], [15, 22], [15, 23], [15, 24], [15, 25], [15, 26], [15, 27], [15, 28], [15, 30], [15, 31], [15, 32], [15, 33], [15, 34], [15, 35], [15, 36], [15, 37], [15, 38], [15, 39], [15, 40], [15, 43], [15, 44], [15, 45], [15, 46], [15, 47], [15, 48], [15, 50], [15, 51], [15, 52], [15, 53], [16, 17], [16, 18], [16, 20], [16, 21], [16, 23], [16, 24], [16, 25], [16, 26], [16, 29], [16, 30], [16, 32], [16, 33], [16, 34], [16, 35], [16, 36], [16, 37], [16, 38], [16, 39], [16, 40], [16, 42], [16, 43], [16, 44], [16, 45], [16, 46], [16, 47], [16, 48], [16, 49], [16, 50], [16, 51], [16, 52], [16, 53], [17, 18], [17, 20], [17, 21], [17, 23], [17, 24], [17, 25], [17, 27], [17, 30], [17, 31], [17, 32], [17, 34], [17, 35], [17, 36], [17, 37], [17, 38], [17, 39], [17, 40], [17, 41], [17, 42], [17, 43], [17, 44], [17, 45], [17, 46], [17, 47], [17, 48], [17, 50], [17, 51], [17, 52], [17, 53], [18, 24], [18, 25], [18, 30], [18, 34], [18, 37], [18, 38], [18, 40], [18, 43], [18, 44], [18, 48], [18, 50], [18, 52], [18, 53], [19, 37], [19, 39], [19, 40], [19, 43], [19, 44], [19, 45], [19, 48], [19, 51], [19, 53], [20, 21], [20, 23], [20, 30], [20, 35], [20, 37], [20, 38], [20, 39], [20, 40], [20, 43], [20, 44], [20, 45], [20, 46], [20, 47], [20, 51], [20, 53], [21, 23], [21, 24], [21, 25], [21, 26], [21, 28], [21, 29], [21, 30], [21, 31], [21, 32], [21, 33], [21, 34], [21, 35], [21, 36], [21, 37], [21, 38], [21, 39], [21, 40], [21, 42], [21, 43], [21, 44], [21, 45], [21, 46], [21, 47], [21, 48], [21, 50], [21, 51], [21, 52], [21, 53], [22, 24], [22, 25], [22, 30], [22, 32], [22, 34], [22, 37], [22, 38], [22, 39], [22, 43], [22, 44], [22, 47], [22, 48], [22, 51], [23, 24], [23, 25], [23, 28], [23, 29], [23, 30], [23, 32], [23, 34], [23, 35], [23, 37], [23, 38], [23, 39], [23, 40], [23, 43], [23, 44], [23, 45], [23, 46], [23, 47], [23, 48], [23, 49], [23, 50], [23, 51], [23, 52], [23, 53], [24, 25], [24, 28], [24, 30], [24, 31], [24, 32], [24, 34], [24, 35], [24, 36], [24, 37], [24, 38], [24, 39], [24, 40], [24, 41], [24, 43], [24, 44], [24, 45], [24, 46], [24, 47], [24, 48], [24, 50], [24, 51], [24, 52], [24, 53], [25, 27], [25, 28], [25, 30], [25, 31], [25, 32], [25, 34], [25, 35], [25, 37], [25, 38], [25, 39], [25, 40], [25, 43], [25, 44], [25, 45], [25, 46], [25, 47], [25, 48], [25, 49], [25, 50], [25, 51], [25, 52], [25, 53], [26, 30], [26, 32], [26, 34], [26, 37], [26, 40], [26, 45], [26, 48], [26, 50], [26, 52], [26, 53], [27, 32], [27, 35], [27, 37], [27, 38], [27, 43], [27, 45], [27, 53], [28, 30], [28, 34], [28, 44], [28, 53], [29, 30], [29, 32], [29, 34], [29, 37], [29, 38], [29, 45], [29, 46], [29, 47], [29, 48], [29, 50], [29, 51], [29, 53], [30, 31], [30, 32], [30, 34], [30, 35], [30, 37], [30, 38], [30, 39], [30, 40], [30, 41], [30, 43], [30, 44], [30, 45], [30, 46], [30, 47], [30, 48], [30, 49], [30, 50], [30, 51], [30, 52], [30, 53], [31, 34], [31, 35], [31, 37], [31, 39], [31, 40], [31, 44], [31, 47], [31, 48], [31, 52], [31, 53], [32, 34], [32, 35], [32, 37], [32, 38], [32, 39], [32, 40], [32, 41], [32, 43], [32, 44], [32, 45], [32, 46], [32, 47], [32, 48], [32, 49], [32, 50], [32, 51], [32, 52], [32, 53], [33, 34], [33, 37], [33, 38], [33, 39], [33, 45], [33, 46], [33, 47], [34, 35], [34, 37], [34, 38], [34, 39], [34, 40], [34, 43], [34, 44], [34, 45], [34, 46], [34, 47], [34, 48], [34, 49], [34, 50], [34, 51], [34, 52], [34, 53], [35, 36], [35, 37], [35, 38], [35, 39], [35, 40], [35, 41], [35, 43], [35, 44], [35, 45], [35, 46], [35, 47], [35, 48], [35, 50], [35, 51], [35, 52], [35, 53], [36, 39], [36, 40], [36, 43], [36, 45], [36, 46], [36, 48], [36, 50], [36, 51], [36, 53], [37, 38], [37, 39], [37, 40], [37, 41], [37, 42], [37, 43], [37, 44], [37, 45], [37, 46], [37, 47], [37, 48], [37, 50], [37, 51], [37, 52], [37, 53], [38, 39], [38, 40], [38, 43], [38, 44], [38, 45], [38, 46], [38, 47], [38, 48], [38, 50], [38, 51], [38, 52], [38, 53], [39, 40], [39, 41], [39, 43], [39, 44], [39, 45], [39, 46], [39, 47], [39, 48], [39, 49], [39, 50], [39, 51], [39, 52], [39, 53], [40, 43], [40, 44], [40, 45], [40, 46], [40, 47], [40, 48], [40, 49], [40, 50], [40, 51], [40, 52], [40, 53], [41, 43], [41, 44], [41, 46], [41, 47], [41, 52], [41, 53], [42, 44], [42, 45], [42, 46], [42, 47], [42, 50], [42, 51], [42, 52], [42, 53], [43, 44], [43, 45], [43, 46], [43, 47], [43, 48], [43, 50], [43, 51], [43, 52], [43, 53], [44, 45], [44, 46], [44, 47], [44, 48], [44, 49], [44, 50], [44, 51], [44, 52], [44, 53], [45, 46], [45, 47], [45, 48], [45, 49], [45, 50], [45, 51], [45, 52], [45, 53], [46, 47], [46, 48], [46, 50], [46, 51], [46, 52], [46, 53], [47, 48], [47, 49], [47, 50], [47, 51], [47, 52], [47, 53], [48, 49], [48, 50], [48, 51], [48, 52], [48, 53], [49, 50], [49, 53], [50, 51], [50, 52], [50, 53], [51, 52], [51, 53], [52, 53]], "family": "rlve_imp_party", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-imp-party-l5-s2/instruction.md b/tasks/construct-rlve-imp-party-l5-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..40c9f70cb54f742577d880331f6441948fc49549 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s2/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 54 vertices labelled 0..53 and edge list +[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 15], [0, 16], [0, 17], [0, 19], [0, 21], [0, 22], [0, 23], [0, 24], [0, 25], [0, 26], [0, 27], [0, 29], [0, 30], [0, 31], [0, 32], [0, 34], [0, 35], [0, 36], [0, 37], [0, 38], [0, 39], [0, 40], [0, 43], [0, 44], [0, 45], [0, 46], [0, 47], [0, 48], [0, 49], [0, 50], [0, 51], [0, 52], [0, 53], [1, 2], [1, 8], [1, 9], [1, 10], [1, 11], [1, 13], [1, 15], [1, 17], [1, 24], [1, 25], [1, 30], [1, 32], [1, 38], [1, 39], [1, 43], [1, 45], [1, 46], [1, 48], [1, 50], [1, 52], [2, 3], [2, 4], [2, 5], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 15], [2, 16], [2, 17], [2, 20], [2, 21], [2, 22], [2, 23], [2, 24], [2, 25], [2, 29], [2, 30], [2, 31], [2, 32], [2, 33], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 39], [2, 40], [2, 41], [2, 43], [2, 44], [2, 45], [2, 46], [2, 47], [2, 48], [2, 50], [2, 51], [2, 52], [2, 53], [3, 4], [3, 5], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 13], [3, 15], [3, 16], [3, 17], [3, 19], [3, 21], [3, 23], [3, 24], [3, 25], [3, 26], [3, 30], [3, 31], [3, 32], [3, 33], [3, 34], [3, 35], [3, 36], [3, 37], [3, 38], [3, 39], [3, 40], [3, 41], [3, 42], [3, 43], [3, 44], [3, 45], [3, 46], [3, 47], [3, 48], [3, 49], [3, 50], [3, 51], [3, 52], [3, 53], [4, 5], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 15], [4, 16], [4, 17], [4, 18], [4, 21], [4, 23], [4, 24], [4, 25], [4, 27], [4, 28], [4, 30], [4, 31], [4, 32], [4, 33], [4, 34], [4, 35], [4, 36], [4, 37], [4, 38], [4, 39], [4, 40], [4, 43], [4, 44], [4, 45], [4, 46], [4, 47], [4, 48], [4, 50], [4, 51], [4, 52], [4, 53], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 15], [5, 16], [5, 17], [5, 18], [5, 21], [5, 23], [5, 24], [5, 25], [5, 28], [5, 29], [5, 30], [5, 31], [5, 32], [5, 33], [5, 34], [5, 35], [5, 37], [5, 38], [5, 39], [5, 40], [5, 43], [5, 44], [5, 45], [5, 46], [5, 47], [5, 48], [5, 50], [5, 51], [5, 52], [5, 53], [6, 9], [6, 11], [6, 13], [6, 16], [6, 23], [6, 25], [6, 38], [6, 40], [6, 44], [6, 46], [6, 48], [6, 51], [7, 9], [7, 12], [7, 15], [7, 23], [7, 30], [7, 32], [7, 34], [7, 37], [7, 38], [7, 39], [7, 40], [7, 45], [7, 46], [7, 47], [7, 48], [7, 50], [7, 53], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 15], [8, 16], [8, 17], [8, 20], [8, 21], [8, 23], [8, 24], [8, 25], [8, 27], [8, 28], [8, 30], [8, 31], [8, 32], [8, 34], [8, 35], [8, 36], [8, 37], [8, 38], [8, 39], [8, 40], [8, 42], [8, 43], [8, 44], [8, 45], [8, 46], [8, 47], [8, 48], [8, 49], [8, 50], [8, 51], [8, 52], [8, 53], [9, 10], [9, 11], [9, 12], [9, 13], [9, 15], [9, 16], [9, 17], [9, 18], [9, 21], [9, 23], [9, 24], [9, 25], [9, 26], [9, 27], [9, 30], [9, 32], [9, 34], [9, 35], [9, 37], [9, 38], [9, 39], [9, 40], [9, 43], [9, 44], [9, 45], [9, 46], [9, 47], [9, 48], [9, 50], [9, 51], [9, 52], [9, 53], [10, 11], [10, 12], [10, 13], [10, 15], [10, 16], [10, 17], [10, 19], [10, 20], [10, 21], [10, 23], [10, 24], [10, 25], [10, 30], [10, 31], [10, 32], [10, 33], [10, 34], [10, 35], [10, 36], [10, 37], [10, 38], [10, 39], [10, 40], [10, 42], [10, 43], [10, 44], [10, 45], [10, 46], [10, 47], [10, 48], [10, 50], [10, 51], [10, 52], [10, 53], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 20], [11, 21], [11, 23], [11, 24], [11, 25], [11, 26], [11, 28], [11, 29], [11, 30], [11, 32], [11, 33], [11, 34], [11, 35], [11, 37], [11, 38], [11, 39], [11, 40], [11, 43], [11, 44], [11, 45], [11, 46], [11, 47], [11, 48], [11, 50], [11, 51], [11, 52], [11, 53], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 19], [12, 20], [12, 21], [12, 23], [12, 24], [12, 25], [12, 27], [12, 28], [12, 29], [12, 30], [12, 32], [12, 33], [12, 34], [12, 35], [12, 36], [12, 37], [12, 38], [12, 39], [12, 40], [12, 43], [12, 44], [12, 45], [12, 46], [12, 47], [12, 48], [12, 50], [12, 51], [12, 52], [12, 53], [13, 14], [13, 15], [13, 16], [13, 17], [13, 19], [13, 20], [13, 21], [13, 22], [13, 23], [13, 24], [13, 25], [13, 26], [13, 27], [13, 30], [13, 31], [13, 32], [13, 34], [13, 35], [13, 37], [13, 38], [13, 39], [13, 40], [13, 41], [13, 43], [13, 44], [13, 45], [13, 46], [13, 47], [13, 48], [13, 49], [13, 50], [13, 51], [13, 52], [13, 53], [14, 16], [14, 17], [14, 21], [14, 24], [14, 25], [14, 30], [14, 32], [14, 34], [14, 37], [14, 38], [14, 39], [14, 40], [14, 43], [14, 45], [14, 46], [14, 48], [14, 52], [14, 53], [15, 16], [15, 17], [15, 19], [15, 20], [15, 21], [15, 22], [15, 23], [15, 24], [15, 25], [15, 26], [15, 27], [15, 28], [15, 30], [15, 31], [15, 32], [15, 33], [15, 34], [15, 35], [15, 36], [15, 37], [15, 38], [15, 39], [15, 40], [15, 43], [15, 44], [15, 45], [15, 46], [15, 47], [15, 48], [15, 50], [15, 51], [15, 52], [15, 53], [16, 17], [16, 18], [16, 20], [16, 21], [16, 23], [16, 24], [16, 25], [16, 26], [16, 29], [16, 30], [16, 32], [16, 33], [16, 34], [16, 35], [16, 36], [16, 37], [16, 38], [16, 39], [16, 40], [16, 42], [16, 43], [16, 44], [16, 45], [16, 46], [16, 47], [16, 48], [16, 49], [16, 50], [16, 51], [16, 52], [16, 53], [17, 18], [17, 20], [17, 21], [17, 23], [17, 24], [17, 25], [17, 27], [17, 30], [17, 31], [17, 32], [17, 34], [17, 35], [17, 36], [17, 37], [17, 38], [17, 39], [17, 40], [17, 41], [17, 42], [17, 43], [17, 44], [17, 45], [17, 46], [17, 47], [17, 48], [17, 50], [17, 51], [17, 52], [17, 53], [18, 24], [18, 25], [18, 30], [18, 34], [18, 37], [18, 38], [18, 40], [18, 43], [18, 44], [18, 48], [18, 50], [18, 52], [18, 53], [19, 37], [19, 39], [19, 40], [19, 43], [19, 44], [19, 45], [19, 48], [19, 51], [19, 53], [20, 21], [20, 23], [20, 30], [20, 35], [20, 37], [20, 38], [20, 39], [20, 40], [20, 43], [20, 44], [20, 45], [20, 46], [20, 47], [20, 51], [20, 53], [21, 23], [21, 24], [21, 25], [21, 26], [21, 28], [21, 29], [21, 30], [21, 31], [21, 32], [21, 33], [21, 34], [21, 35], [21, 36], [21, 37], [21, 38], [21, 39], [21, 40], [21, 42], [21, 43], [21, 44], [21, 45], [21, 46], [21, 47], [21, 48], [21, 50], [21, 51], [21, 52], [21, 53], [22, 24], [22, 25], [22, 30], [22, 32], [22, 34], [22, 37], [22, 38], [22, 39], [22, 43], [22, 44], [22, 47], [22, 48], [22, 51], [23, 24], [23, 25], [23, 28], [23, 29], [23, 30], [23, 32], [23, 34], [23, 35], [23, 37], [23, 38], [23, 39], [23, 40], [23, 43], [23, 44], [23, 45], [23, 46], [23, 47], [23, 48], [23, 49], [23, 50], [23, 51], [23, 52], [23, 53], [24, 25], [24, 28], [24, 30], [24, 31], [24, 32], [24, 34], [24, 35], [24, 36], [24, 37], [24, 38], [24, 39], [24, 40], [24, 41], [24, 43], [24, 44], [24, 45], [24, 46], [24, 47], [24, 48], [24, 50], [24, 51], [24, 52], [24, 53], [25, 27], [25, 28], [25, 30], [25, 31], [25, 32], [25, 34], [25, 35], [25, 37], [25, 38], [25, 39], [25, 40], [25, 43], [25, 44], [25, 45], [25, 46], [25, 47], [25, 48], [25, 49], [25, 50], [25, 51], [25, 52], [25, 53], [26, 30], [26, 32], [26, 34], [26, 37], [26, 40], [26, 45], [26, 48], [26, 50], [26, 52], [26, 53], [27, 32], [27, 35], [27, 37], [27, 38], [27, 43], [27, 45], [27, 53], [28, 30], [28, 34], [28, 44], [28, 53], [29, 30], [29, 32], [29, 34], [29, 37], [29, 38], [29, 45], [29, 46], [29, 47], [29, 48], [29, 50], [29, 51], [29, 53], [30, 31], [30, 32], [30, 34], [30, 35], [30, 37], [30, 38], [30, 39], [30, 40], [30, 41], [30, 43], [30, 44], [30, 45], [30, 46], [30, 47], [30, 48], [30, 49], [30, 50], [30, 51], [30, 52], [30, 53], [31, 34], [31, 35], [31, 37], [31, 39], [31, 40], [31, 44], [31, 47], [31, 48], [31, 52], [31, 53], [32, 34], [32, 35], [32, 37], [32, 38], [32, 39], [32, 40], [32, 41], [32, 43], [32, 44], [32, 45], [32, 46], [32, 47], [32, 48], [32, 49], [32, 50], [32, 51], [32, 52], [32, 53], [33, 34], [33, 37], [33, 38], [33, 39], [33, 45], [33, 46], [33, 47], [34, 35], [34, 37], [34, 38], [34, 39], [34, 40], [34, 43], [34, 44], [34, 45], [34, 46], [34, 47], [34, 48], [34, 49], [34, 50], [34, 51], [34, 52], [34, 53], [35, 36], [35, 37], [35, 38], [35, 39], [35, 40], [35, 41], [35, 43], [35, 44], [35, 45], [35, 46], [35, 47], [35, 48], [35, 50], [35, 51], [35, 52], [35, 53], [36, 39], [36, 40], [36, 43], [36, 45], [36, 46], [36, 48], [36, 50], [36, 51], [36, 53], [37, 38], [37, 39], [37, 40], [37, 41], [37, 42], [37, 43], [37, 44], [37, 45], [37, 46], [37, 47], [37, 48], [37, 50], [37, 51], [37, 52], [37, 53], [38, 39], [38, 40], [38, 43], [38, 44], [38, 45], [38, 46], [38, 47], [38, 48], [38, 50], [38, 51], [38, 52], [38, 53], [39, 40], [39, 41], [39, 43], [39, 44], [39, 45], [39, 46], [39, 47], [39, 48], [39, 49], [39, 50], [39, 51], [39, 52], [39, 53], [40, 43], [40, 44], [40, 45], [40, 46], [40, 47], [40, 48], [40, 49], [40, 50], [40, 51], [40, 52], [40, 53], [41, 43], [41, 44], [41, 46], [41, 47], [41, 52], [41, 53], [42, 44], [42, 45], [42, 46], [42, 47], [42, 50], [42, 51], [42, 52], [42, 53], [43, 44], [43, 45], [43, 46], [43, 47], [43, 48], [43, 50], [43, 51], [43, 52], [43, 53], [44, 45], [44, 46], [44, 47], [44, 48], [44, 49], [44, 50], [44, 51], [44, 52], [44, 53], [45, 46], [45, 47], [45, 48], [45, 49], [45, 50], [45, 51], [45, 52], [45, 53], [46, 47], [46, 48], [46, 50], [46, 51], [46, 52], [46, 53], [47, 48], [47, 49], [47, 50], [47, 51], [47, 52], [47, 53], [48, 49], [48, 50], [48, 51], [48, 52], [48, 53], [49, 50], [49, 53], [50, 51], [50, 52], [50, 53], [51, 52], [51, 53], [52, 53]] + +It is guaranteed that the graph contains a clique of size 36. Find any clique of size 18: 18 distinct vertices every two of which are adjacent. + +Answer format: {"clique": [v_1, ..., v_18]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-imp-party-l5-s2/solution/solve.sh b/tasks/construct-rlve-imp-party-l5-s2/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..9f464ce4aab954059c97bc2e387c1d376d9543c1 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s2/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [4, 9, 12, 16, 17, 23, 25, 35, 37, 38, 39, 40, 43, 46, 47, 48, 50, 51]} +RLMATH_EOF diff --git a/tasks/construct-rlve-imp-party-l5-s2/task.toml b/tasks/construct-rlve-imp-party-l5-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..9943cd06b9b7dfaa40cbf56d9f68e24549a03bac --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-imp-party-l5-s2" +version = "0.2.0" +description = "construct/rlve_imp_party" +authors = [] +keywords = ["rlmath", "construct", "rlve_imp_party"] + +[metadata] +subset = "construct" +family = "rlve_imp_party" +problem_key = "poi_party_clique_3n" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "RLVE-Gym/imp_party" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-imp-party-l5-s2/tests/check.py b/tasks/construct-rlve-imp-party-l5-s2/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..97b5a037a2ba8bf4495cf87cc074d1c60b11311c --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s2/tests/check.py @@ -0,0 +1,14 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + c = int_list(ans.get("clique"), n, 0, 3 * n - 1, "clique") + if len(set(c)) != n: + raise Invalid("vertices must be distinct") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for i in range(n): + for j in range(i + 1, n): + if (min(c[i], c[j]), max(c[i], c[j])) not in es: + raise Invalid(f"{c[i]} and {c[j]} are not adjacent") + return None, {} diff --git a/tasks/construct-rlve-imp-party-l5-s2/tests/instance.json b/tasks/construct-rlve-imp-party-l5-s2/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..489a64ed1f7ff0afc1c22efdd32d21feb8cfa688 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s2/tests/instance.json @@ -0,0 +1 @@ +{"n": 18, "edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 15], [0, 16], [0, 17], [0, 19], [0, 21], [0, 22], [0, 23], [0, 24], [0, 25], [0, 26], [0, 27], [0, 29], [0, 30], [0, 31], [0, 32], [0, 34], [0, 35], [0, 36], [0, 37], [0, 38], [0, 39], [0, 40], [0, 43], [0, 44], [0, 45], [0, 46], [0, 47], [0, 48], [0, 49], [0, 50], [0, 51], [0, 52], [0, 53], [1, 2], [1, 8], [1, 9], [1, 10], [1, 11], [1, 13], [1, 15], [1, 17], [1, 24], [1, 25], [1, 30], [1, 32], [1, 38], [1, 39], [1, 43], [1, 45], [1, 46], [1, 48], [1, 50], [1, 52], [2, 3], [2, 4], [2, 5], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 15], [2, 16], [2, 17], [2, 20], [2, 21], [2, 22], [2, 23], [2, 24], [2, 25], [2, 29], [2, 30], [2, 31], [2, 32], [2, 33], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 39], [2, 40], [2, 41], [2, 43], [2, 44], [2, 45], [2, 46], [2, 47], [2, 48], [2, 50], [2, 51], [2, 52], [2, 53], [3, 4], [3, 5], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 13], [3, 15], [3, 16], [3, 17], [3, 19], [3, 21], [3, 23], [3, 24], [3, 25], [3, 26], [3, 30], [3, 31], [3, 32], [3, 33], [3, 34], [3, 35], [3, 36], [3, 37], [3, 38], [3, 39], [3, 40], [3, 41], [3, 42], [3, 43], [3, 44], [3, 45], [3, 46], [3, 47], [3, 48], [3, 49], [3, 50], [3, 51], [3, 52], [3, 53], [4, 5], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 15], [4, 16], [4, 17], [4, 18], [4, 21], [4, 23], [4, 24], [4, 25], [4, 27], [4, 28], [4, 30], [4, 31], [4, 32], [4, 33], [4, 34], [4, 35], [4, 36], [4, 37], [4, 38], [4, 39], [4, 40], [4, 43], [4, 44], [4, 45], [4, 46], [4, 47], [4, 48], [4, 50], [4, 51], [4, 52], [4, 53], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 15], [5, 16], [5, 17], [5, 18], [5, 21], [5, 23], [5, 24], [5, 25], [5, 28], [5, 29], [5, 30], [5, 31], [5, 32], [5, 33], [5, 34], [5, 35], [5, 37], [5, 38], [5, 39], [5, 40], [5, 43], [5, 44], [5, 45], [5, 46], [5, 47], [5, 48], [5, 50], [5, 51], [5, 52], [5, 53], [6, 9], [6, 11], [6, 13], [6, 16], [6, 23], [6, 25], [6, 38], [6, 40], [6, 44], [6, 46], [6, 48], [6, 51], [7, 9], [7, 12], [7, 15], [7, 23], [7, 30], [7, 32], [7, 34], [7, 37], [7, 38], [7, 39], [7, 40], [7, 45], [7, 46], [7, 47], [7, 48], [7, 50], [7, 53], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 15], [8, 16], [8, 17], [8, 20], [8, 21], [8, 23], [8, 24], [8, 25], [8, 27], [8, 28], [8, 30], [8, 31], [8, 32], [8, 34], [8, 35], [8, 36], [8, 37], [8, 38], [8, 39], [8, 40], [8, 42], [8, 43], [8, 44], [8, 45], [8, 46], [8, 47], [8, 48], [8, 49], [8, 50], [8, 51], [8, 52], [8, 53], [9, 10], [9, 11], [9, 12], [9, 13], [9, 15], [9, 16], [9, 17], [9, 18], [9, 21], [9, 23], [9, 24], [9, 25], [9, 26], [9, 27], [9, 30], [9, 32], [9, 34], [9, 35], [9, 37], [9, 38], [9, 39], [9, 40], [9, 43], [9, 44], [9, 45], [9, 46], [9, 47], [9, 48], [9, 50], [9, 51], [9, 52], [9, 53], [10, 11], [10, 12], [10, 13], [10, 15], [10, 16], [10, 17], [10, 19], [10, 20], [10, 21], [10, 23], [10, 24], [10, 25], [10, 30], [10, 31], [10, 32], [10, 33], [10, 34], [10, 35], [10, 36], [10, 37], [10, 38], [10, 39], [10, 40], [10, 42], [10, 43], [10, 44], [10, 45], [10, 46], [10, 47], [10, 48], [10, 50], [10, 51], [10, 52], [10, 53], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 20], [11, 21], [11, 23], [11, 24], [11, 25], [11, 26], [11, 28], [11, 29], [11, 30], [11, 32], [11, 33], [11, 34], [11, 35], [11, 37], [11, 38], [11, 39], [11, 40], [11, 43], [11, 44], [11, 45], [11, 46], [11, 47], [11, 48], [11, 50], [11, 51], [11, 52], [11, 53], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 19], [12, 20], [12, 21], [12, 23], [12, 24], [12, 25], [12, 27], [12, 28], [12, 29], [12, 30], [12, 32], [12, 33], [12, 34], [12, 35], [12, 36], [12, 37], [12, 38], [12, 39], [12, 40], [12, 43], [12, 44], [12, 45], [12, 46], [12, 47], [12, 48], [12, 50], [12, 51], [12, 52], [12, 53], [13, 14], [13, 15], [13, 16], [13, 17], [13, 19], [13, 20], [13, 21], [13, 22], [13, 23], [13, 24], [13, 25], [13, 26], [13, 27], [13, 30], [13, 31], [13, 32], [13, 34], [13, 35], [13, 37], [13, 38], [13, 39], [13, 40], [13, 41], [13, 43], [13, 44], [13, 45], [13, 46], [13, 47], [13, 48], [13, 49], [13, 50], [13, 51], [13, 52], [13, 53], [14, 16], [14, 17], [14, 21], [14, 24], [14, 25], [14, 30], [14, 32], [14, 34], [14, 37], [14, 38], [14, 39], [14, 40], [14, 43], [14, 45], [14, 46], [14, 48], [14, 52], [14, 53], [15, 16], [15, 17], [15, 19], [15, 20], [15, 21], [15, 22], [15, 23], [15, 24], [15, 25], [15, 26], [15, 27], [15, 28], [15, 30], [15, 31], [15, 32], [15, 33], [15, 34], [15, 35], [15, 36], [15, 37], [15, 38], [15, 39], [15, 40], [15, 43], [15, 44], [15, 45], [15, 46], [15, 47], [15, 48], [15, 50], [15, 51], [15, 52], [15, 53], [16, 17], [16, 18], [16, 20], [16, 21], [16, 23], [16, 24], [16, 25], [16, 26], [16, 29], [16, 30], [16, 32], [16, 33], [16, 34], [16, 35], [16, 36], [16, 37], [16, 38], [16, 39], [16, 40], [16, 42], [16, 43], [16, 44], [16, 45], [16, 46], [16, 47], [16, 48], [16, 49], [16, 50], [16, 51], [16, 52], [16, 53], [17, 18], [17, 20], [17, 21], [17, 23], [17, 24], [17, 25], [17, 27], [17, 30], [17, 31], [17, 32], [17, 34], [17, 35], [17, 36], [17, 37], [17, 38], [17, 39], [17, 40], [17, 41], [17, 42], [17, 43], [17, 44], [17, 45], [17, 46], [17, 47], [17, 48], [17, 50], [17, 51], [17, 52], [17, 53], [18, 24], [18, 25], [18, 30], [18, 34], [18, 37], [18, 38], [18, 40], [18, 43], [18, 44], [18, 48], [18, 50], [18, 52], [18, 53], [19, 37], [19, 39], [19, 40], [19, 43], [19, 44], [19, 45], [19, 48], [19, 51], [19, 53], [20, 21], [20, 23], [20, 30], [20, 35], [20, 37], [20, 38], [20, 39], [20, 40], [20, 43], [20, 44], [20, 45], [20, 46], [20, 47], [20, 51], [20, 53], [21, 23], [21, 24], [21, 25], [21, 26], [21, 28], [21, 29], [21, 30], [21, 31], [21, 32], [21, 33], [21, 34], [21, 35], [21, 36], [21, 37], [21, 38], [21, 39], [21, 40], [21, 42], [21, 43], [21, 44], [21, 45], [21, 46], [21, 47], [21, 48], [21, 50], [21, 51], [21, 52], [21, 53], [22, 24], [22, 25], [22, 30], [22, 32], [22, 34], [22, 37], [22, 38], [22, 39], [22, 43], [22, 44], [22, 47], [22, 48], [22, 51], [23, 24], [23, 25], [23, 28], [23, 29], [23, 30], [23, 32], [23, 34], [23, 35], [23, 37], [23, 38], [23, 39], [23, 40], [23, 43], [23, 44], [23, 45], [23, 46], [23, 47], [23, 48], [23, 49], [23, 50], [23, 51], [23, 52], [23, 53], [24, 25], [24, 28], [24, 30], [24, 31], [24, 32], [24, 34], [24, 35], [24, 36], [24, 37], [24, 38], [24, 39], [24, 40], [24, 41], [24, 43], [24, 44], [24, 45], [24, 46], [24, 47], [24, 48], [24, 50], [24, 51], [24, 52], [24, 53], [25, 27], [25, 28], [25, 30], [25, 31], [25, 32], [25, 34], [25, 35], [25, 37], [25, 38], [25, 39], [25, 40], [25, 43], [25, 44], [25, 45], [25, 46], [25, 47], [25, 48], [25, 49], [25, 50], [25, 51], [25, 52], [25, 53], [26, 30], [26, 32], [26, 34], [26, 37], [26, 40], [26, 45], [26, 48], [26, 50], [26, 52], [26, 53], [27, 32], [27, 35], [27, 37], [27, 38], [27, 43], [27, 45], [27, 53], [28, 30], [28, 34], [28, 44], [28, 53], [29, 30], [29, 32], [29, 34], [29, 37], [29, 38], [29, 45], [29, 46], [29, 47], [29, 48], [29, 50], [29, 51], [29, 53], [30, 31], [30, 32], [30, 34], [30, 35], [30, 37], [30, 38], [30, 39], [30, 40], [30, 41], [30, 43], [30, 44], [30, 45], [30, 46], [30, 47], [30, 48], [30, 49], [30, 50], [30, 51], [30, 52], [30, 53], [31, 34], [31, 35], [31, 37], [31, 39], [31, 40], [31, 44], [31, 47], [31, 48], [31, 52], [31, 53], [32, 34], [32, 35], [32, 37], [32, 38], [32, 39], [32, 40], [32, 41], [32, 43], [32, 44], [32, 45], [32, 46], [32, 47], [32, 48], [32, 49], [32, 50], [32, 51], [32, 52], [32, 53], [33, 34], [33, 37], [33, 38], [33, 39], [33, 45], [33, 46], [33, 47], [34, 35], [34, 37], [34, 38], [34, 39], [34, 40], [34, 43], [34, 44], [34, 45], [34, 46], [34, 47], [34, 48], [34, 49], [34, 50], [34, 51], [34, 52], [34, 53], [35, 36], [35, 37], [35, 38], [35, 39], [35, 40], [35, 41], [35, 43], [35, 44], [35, 45], [35, 46], [35, 47], [35, 48], [35, 50], [35, 51], [35, 52], [35, 53], [36, 39], [36, 40], [36, 43], [36, 45], [36, 46], [36, 48], [36, 50], [36, 51], [36, 53], [37, 38], [37, 39], [37, 40], [37, 41], [37, 42], [37, 43], [37, 44], [37, 45], [37, 46], [37, 47], [37, 48], [37, 50], [37, 51], [37, 52], [37, 53], [38, 39], [38, 40], [38, 43], [38, 44], [38, 45], [38, 46], [38, 47], [38, 48], [38, 50], [38, 51], [38, 52], [38, 53], [39, 40], [39, 41], [39, 43], [39, 44], [39, 45], [39, 46], [39, 47], [39, 48], [39, 49], [39, 50], [39, 51], [39, 52], [39, 53], [40, 43], [40, 44], [40, 45], [40, 46], [40, 47], [40, 48], [40, 49], [40, 50], [40, 51], [40, 52], [40, 53], [41, 43], [41, 44], [41, 46], [41, 47], [41, 52], [41, 53], [42, 44], [42, 45], [42, 46], [42, 47], [42, 50], [42, 51], [42, 52], [42, 53], [43, 44], [43, 45], [43, 46], [43, 47], [43, 48], [43, 50], [43, 51], [43, 52], [43, 53], [44, 45], [44, 46], [44, 47], [44, 48], [44, 49], [44, 50], [44, 51], [44, 52], [44, 53], [45, 46], [45, 47], [45, 48], [45, 49], [45, 50], [45, 51], [45, 52], [45, 53], [46, 47], [46, 48], [46, 50], [46, 51], [46, 52], [46, 53], [47, 48], [47, 49], [47, 50], [47, 51], [47, 52], [47, 53], [48, 49], [48, 50], [48, 51], [48, 52], [48, 53], [49, 50], [49, 53], [50, 51], [50, 52], [50, 53], [51, 52], [51, 53], [52, 53]], "family": "rlve_imp_party", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-imp-party-l5-s2/tests/run.py b/tasks/construct-rlve-imp-party-l5-s2/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s2/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-imp-party-l5-s2/tests/test.sh b/tasks/construct-rlve-imp-party-l5-s2/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s2/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-imp-party-l5-s5/environment/Dockerfile b/tasks/construct-rlve-imp-party-l5-s5/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s5/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-imp-party-l5-s5/environment/instance.json b/tasks/construct-rlve-imp-party-l5-s5/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..8a965066a1ae3ab46e0ca7084cd1c73478c7a558 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s5/environment/instance.json @@ -0,0 +1 @@ +{"n": 18, "edges": [[0, 1], [0, 3], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 12], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [0, 24], [0, 25], [0, 26], [0, 27], [0, 28], [0, 33], [0, 34], [0, 35], [0, 36], [0, 37], [0, 38], [0, 40], [0, 41], [0, 42], [0, 45], [0, 50], [0, 51], [0, 53], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 18], [1, 19], [1, 20], [1, 21], [1, 22], [1, 23], [1, 24], [1, 25], [1, 26], [1, 27], [1, 28], [1, 29], [1, 30], [1, 31], [1, 32], [1, 33], [1, 34], [1, 35], [1, 36], [1, 37], [1, 38], [1, 39], [1, 40], [1, 41], [1, 42], [1, 43], [1, 44], [1, 45], [1, 46], [1, 47], [1, 48], [1, 49], [1, 50], [1, 51], [1, 52], [1, 53], [2, 3], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 12], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [2, 24], [2, 25], [2, 26], [2, 27], [2, 28], [2, 31], [2, 33], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 40], [2, 41], [2, 42], [2, 45], [2, 47], [2, 50], [2, 51], [2, 53], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8], [3, 9], [3, 10], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 19], [3, 20], [3, 21], [3, 22], [3, 23], [3, 24], [3, 25], [3, 26], [3, 27], [3, 28], [3, 29], [3, 30], [3, 31], [3, 32], [3, 33], [3, 34], [3, 35], [3, 36], [3, 37], [3, 38], [3, 40], [3, 41], [3, 42], [3, 43], [3, 45], [3, 46], [3, 47], [3, 48], [3, 49], [3, 50], [3, 51], [3, 52], [3, 53], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 12], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [4, 20], [4, 21], [4, 24], [4, 25], [4, 26], [4, 27], [4, 28], [4, 31], [4, 33], [4, 34], [4, 35], [4, 36], [4, 37], [4, 38], [4, 40], [4, 41], [4, 42], [4, 45], [4, 47], [4, 50], [4, 51], [4, 53], [5, 6], [5, 7], [5, 8], [5, 9], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 20], [5, 21], [5, 24], [5, 25], [5, 26], [5, 27], [5, 28], [5, 31], [5, 33], [5, 34], [5, 35], [5, 36], [5, 37], [5, 38], [5, 40], [5, 41], [5, 42], [5, 45], [5, 47], [5, 50], [5, 51], [5, 53], [6, 7], [6, 8], [6, 9], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 16], [6, 17], [6, 18], [6, 19], [6, 20], [6, 21], [6, 22], [6, 23], [6, 24], [6, 25], [6, 26], [6, 27], [6, 28], [6, 29], [6, 30], [6, 31], [6, 32], [6, 33], [6, 34], [6, 35], [6, 36], [6, 37], [6, 38], [6, 39], [6, 40], [6, 41], [6, 42], [6, 43], [6, 44], [6, 45], [6, 46], [6, 47], [6, 48], [6, 49], [6, 50], [6, 51], [6, 52], [6, 53], [7, 8], [7, 9], [7, 10], [7, 11], [7, 12], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [7, 22], [7, 23], [7, 24], [7, 25], [7, 26], [7, 27], [7, 28], [7, 29], [7, 31], [7, 32], [7, 33], [7, 34], [7, 35], [7, 36], [7, 37], [7, 38], [7, 39], [7, 40], [7, 41], [7, 42], [7, 43], [7, 44], [7, 45], [7, 46], [7, 47], [7, 48], [7, 49], [7, 50], [7, 51], [7, 52], [7, 53], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 21], [8, 22], [8, 23], [8, 24], [8, 25], [8, 26], [8, 27], [8, 28], [8, 29], [8, 30], [8, 31], [8, 32], [8, 33], [8, 34], [8, 35], [8, 36], [8, 37], [8, 38], [8, 39], [8, 40], [8, 41], [8, 42], [8, 43], [8, 44], [8, 45], [8, 47], [8, 48], [8, 49], [8, 50], [8, 51], [8, 52], [8, 53], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 15], [9, 16], [9, 17], [9, 18], [9, 19], [9, 20], [9, 21], [9, 22], [9, 23], [9, 24], [9, 25], [9, 26], [9, 27], [9, 28], [9, 29], [9, 30], [9, 31], [9, 33], [9, 34], [9, 35], [9, 36], [9, 37], [9, 38], [9, 39], [9, 40], [9, 41], [9, 42], [9, 43], [9, 44], [9, 45], [9, 46], [9, 47], [9, 48], [9, 49], [9, 50], [9, 51], [9, 52], [9, 53], [10, 11], [10, 12], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [10, 20], [10, 21], [10, 22], [10, 23], [10, 24], [10, 25], [10, 26], [10, 27], [10, 28], [10, 29], [10, 30], [10, 31], [10, 32], [10, 33], [10, 34], [10, 35], [10, 36], [10, 37], [10, 38], [10, 39], [10, 40], [10, 41], [10, 42], [10, 43], [10, 44], [10, 45], [10, 46], [10, 47], [10, 48], [10, 49], [10, 50], [10, 51], [10, 52], [10, 53], [11, 12], [11, 14], [11, 16], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [11, 24], [11, 25], [11, 26], [11, 27], [11, 28], [11, 31], [11, 33], [11, 34], [11, 35], [11, 36], [11, 37], [11, 40], [11, 41], [11, 42], [11, 45], [11, 47], [11, 50], [11, 53], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [12, 22], [12, 23], [12, 24], [12, 25], [12, 26], [12, 27], [12, 28], [12, 29], [12, 30], [12, 31], [12, 32], [12, 33], [12, 34], [12, 35], [12, 36], [12, 37], [12, 38], [12, 39], [12, 40], [12, 41], [12, 42], [12, 43], [12, 44], [12, 45], [12, 46], [12, 47], [12, 48], [12, 49], [12, 50], [12, 51], [12, 52], [12, 53], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 21], [13, 24], [13, 25], [13, 26], [13, 27], [13, 31], [13, 33], [13, 34], [13, 35], [13, 36], [13, 37], [13, 38], [13, 40], [13, 41], [13, 42], [13, 45], [13, 47], [13, 50], [13, 51], [13, 53], [14, 15], [14, 16], [14, 17], [14, 18], [14, 19], [14, 20], [14, 21], [14, 22], [14, 23], [14, 24], [14, 25], [14, 26], [14, 27], [14, 28], [14, 30], [14, 31], [14, 32], [14, 33], [14, 34], [14, 35], [14, 36], [14, 37], [14, 38], [14, 39], [14, 40], [14, 41], [14, 42], [14, 43], [14, 44], [14, 45], [14, 46], [14, 47], [14, 48], [14, 49], [14, 50], [14, 51], [14, 52], [14, 53], [15, 16], [15, 17], [15, 18], [15, 19], [15, 20], [15, 21], [15, 22], [15, 23], [15, 24], [15, 25], [15, 26], [15, 27], [15, 28], [15, 29], [15, 30], [15, 31], [15, 32], [15, 33], [15, 34], [15, 35], [15, 36], [15, 37], [15, 38], [15, 39], [15, 40], [15, 41], [15, 42], [15, 43], [15, 44], [15, 45], [15, 46], [15, 47], [15, 49], [15, 50], [15, 51], [15, 52], [15, 53], [16, 17], [16, 18], [16, 19], [16, 20], [16, 21], [16, 22], [16, 23], [16, 24], [16, 25], [16, 26], [16, 27], [16, 28], [16, 30], [16, 31], [16, 32], [16, 33], [16, 34], [16, 35], [16, 36], [16, 37], [16, 38], [16, 39], [16, 40], [16, 41], [16, 42], [16, 43], [16, 44], [16, 45], [16, 46], [16, 47], [16, 48], [16, 49], [16, 50], [16, 51], [16, 52], [16, 53], [17, 18], [17, 19], [17, 20], [17, 21], [17, 22], [17, 23], [17, 24], [17, 25], [17, 26], [17, 27], [17, 28], [17, 29], [17, 30], [17, 31], [17, 32], [17, 33], [17, 34], [17, 35], [17, 36], [17, 37], [17, 38], [17, 39], [17, 40], [17, 41], [17, 42], [17, 43], [17, 44], [17, 45], [17, 46], [17, 47], [17, 48], [17, 49], [17, 50], [17, 51], [17, 52], [17, 53], [18, 19], [18, 20], [18, 21], [18, 22], [18, 23], [18, 24], [18, 25], [18, 26], [18, 27], [18, 28], [18, 29], [18, 30], [18, 31], [18, 32], [18, 33], [18, 34], [18, 35], [18, 36], [18, 37], [18, 38], [18, 39], [18, 40], [18, 41], [18, 42], [18, 44], [18, 45], [18, 46], [18, 47], [18, 48], [18, 49], [18, 50], [18, 51], [18, 52], [18, 53], [19, 20], [19, 21], [19, 22], [19, 23], [19, 24], [19, 25], [19, 26], [19, 27], [19, 28], [19, 29], [19, 30], [19, 31], [19, 32], [19, 33], [19, 34], [19, 35], [19, 36], [19, 37], [19, 38], [19, 40], [19, 41], [19, 42], [19, 43], [19, 44], [19, 45], [19, 46], [19, 47], [19, 48], [19, 49], [19, 50], [19, 51], [19, 52], [19, 53], [20, 21], [20, 22], [20, 24], [20, 25], [20, 26], [20, 27], [20, 28], [20, 29], [20, 30], [20, 31], [20, 32], [20, 33], [20, 34], [20, 35], [20, 36], [20, 37], [20, 38], [20, 39], [20, 40], [20, 41], [20, 42], [20, 43], [20, 44], [20, 45], [20, 46], [20, 47], [20, 48], [20, 49], [20, 50], [20, 51], [20, 52], [20, 53], [21, 22], [21, 23], [21, 24], [21, 25], [21, 26], [21, 27], [21, 28], [21, 29], [21, 30], [21, 31], [21, 32], [21, 33], [21, 34], [21, 35], [21, 36], [21, 37], [21, 38], [21, 39], [21, 40], [21, 41], [21, 42], [21, 45], [21, 46], [21, 47], [21, 48], [21, 49], [21, 50], [21, 51], [21, 52], [21, 53], [22, 24], [22, 25], [22, 26], [22, 27], [22, 28], [22, 31], [22, 33], [22, 34], [22, 35], [22, 36], [22, 37], [22, 38], [22, 42], [22, 45], [22, 47], [22, 50], [22, 51], [22, 53], [23, 24], [23, 25], [23, 26], [23, 27], [23, 28], [23, 31], [23, 33], [23, 34], [23, 35], [23, 36], [23, 37], [23, 38], [23, 40], [23, 41], [23, 45], [23, 47], [23, 50], [23, 53], [24, 25], [24, 26], [24, 27], [24, 28], [24, 29], [24, 30], [24, 31], [24, 32], [24, 33], [24, 34], [24, 35], [24, 36], [24, 37], [24, 38], [24, 39], [24, 40], [24, 41], [24, 42], [24, 43], [24, 44], [24, 45], [24, 47], [24, 49], [24, 50], [24, 51], [24, 52], [24, 53], [25, 26], [25, 27], [25, 28], [25, 29], [25, 30], [25, 31], [25, 32], [25, 33], [25, 34], [25, 35], [25, 36], [25, 37], [25, 38], [25, 39], [25, 40], [25, 41], [25, 42], [25, 43], [25, 44], [25, 45], [25, 46], [25, 47], [25, 48], [25, 49], [25, 50], [25, 51], [25, 52], [25, 53], [26, 27], [26, 28], [26, 29], [26, 30], [26, 31], [26, 32], [26, 33], [26, 34], [26, 35], [26, 36], [26, 37], [26, 38], [26, 39], [26, 40], [26, 41], [26, 42], [26, 43], [26, 44], [26, 45], [26, 46], [26, 47], [26, 48], [26, 49], [26, 50], [26, 51], [26, 52], [26, 53], [27, 28], [27, 29], [27, 30], [27, 31], [27, 32], [27, 33], [27, 34], [27, 35], [27, 36], [27, 37], [27, 38], [27, 40], [27, 41], [27, 42], [27, 43], [27, 44], [27, 45], [27, 46], [27, 47], [27, 48], [27, 50], [27, 51], [27, 52], [27, 53], [28, 30], [28, 31], [28, 32], [28, 33], [28, 34], [28, 35], [28, 36], [28, 37], [28, 38], [28, 39], [28, 40], [28, 41], [28, 42], [28, 43], [28, 44], [28, 45], [28, 46], [28, 47], [28, 48], [28, 49], [28, 50], [28, 51], [28, 52], [28, 53], [29, 31], [29, 33], [29, 34], [29, 35], [29, 36], [29, 37], [29, 40], [29, 41], [29, 42], [29, 45], [29, 47], [29, 50], [29, 51], [29, 53], [30, 31], [30, 33], [30, 34], [30, 35], [30, 36], [30, 37], [30, 40], [30, 41], [30, 42], [30, 45], [30, 47], [30, 50], [30, 51], [30, 53], [31, 32], [31, 33], [31, 34], [31, 35], [31, 36], [31, 37], [31, 38], [31, 39], [31, 40], [31, 41], [31, 42], [31, 43], [31, 44], [31, 45], [31, 46], [31, 47], [31, 48], [31, 49], [31, 50], [31, 51], [31, 52], [31, 53], [32, 33], [32, 34], [32, 35], [32, 36], [32, 37], [32, 38], [32, 40], [32, 41], [32, 42], [32, 45], [32, 47], [32, 50], [32, 51], [32, 53], [33, 34], [33, 35], [33, 36], [33, 37], [33, 38], [33, 39], [33, 40], [33, 41], [33, 42], [33, 43], [33, 44], [33, 45], [33, 46], [33, 47], [33, 48], [33, 49], [33, 50], [33, 51], [33, 53], [34, 35], [34, 36], [34, 37], [34, 38], [34, 39], [34, 40], [34, 41], [34, 42], [34, 43], [34, 44], [34, 45], [34, 46], [34, 47], [34, 48], [34, 49], [34, 50], [34, 51], [34, 52], [34, 53], [35, 36], [35, 37], [35, 38], [35, 39], [35, 40], [35, 41], [35, 42], [35, 43], [35, 44], [35, 45], [35, 46], [35, 47], [35, 48], [35, 49], [35, 50], [35, 51], [35, 52], [35, 53], [36, 37], [36, 38], [36, 39], [36, 40], [36, 41], [36, 42], [36, 43], [36, 44], [36, 45], [36, 46], [36, 47], [36, 48], [36, 49], [36, 50], [36, 51], [36, 52], [36, 53], [37, 38], [37, 39], [37, 40], [37, 41], [37, 42], [37, 43], [37, 44], [37, 45], [37, 46], [37, 47], [37, 48], [37, 49], [37, 50], [37, 51], [37, 53], [38, 39], [38, 40], [38, 41], [38, 42], [38, 43], [38, 44], [38, 45], [38, 46], [38, 47], [38, 48], [38, 49], [38, 50], [38, 51], [38, 52], [38, 53], [39, 40], [39, 41], [39, 42], [39, 45], [39, 47], [39, 50], [39, 51], [39, 53], [40, 41], [40, 42], [40, 43], [40, 44], [40, 45], [40, 46], [40, 47], [40, 48], [40, 50], [40, 51], [40, 52], [40, 53], [41, 42], [41, 43], [41, 44], [41, 45], [41, 47], [41, 48], [41, 49], [41, 50], [41, 51], [41, 52], [41, 53], [42, 43], [42, 45], [42, 47], [42, 48], [42, 49], [42, 50], [42, 51], [42, 52], [42, 53], [43, 45], [43, 47], [43, 50], [43, 51], [43, 53], [44, 45], [44, 47], [44, 50], [44, 51], [44, 53], [45, 46], [45, 47], [45, 48], [45, 49], [45, 50], [45, 51], [45, 52], [45, 53], [46, 50], [46, 51], [46, 53], [47, 48], [47, 49], [47, 50], [47, 51], [47, 52], [47, 53], [48, 50], [48, 51], [48, 53], [49, 50], [49, 51], [49, 53], [50, 51], [50, 52], [50, 53], [51, 52], [51, 53], [52, 53]], "family": "rlve_imp_party", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-imp-party-l5-s5/instruction.md b/tasks/construct-rlve-imp-party-l5-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..1fd6f8d5cd2def76a6dd45a67b430c3ad10859cd --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s5/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 54 vertices labelled 0..53 and edge list +[[0, 1], [0, 3], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 12], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [0, 24], [0, 25], [0, 26], [0, 27], [0, 28], [0, 33], [0, 34], [0, 35], [0, 36], [0, 37], [0, 38], [0, 40], [0, 41], [0, 42], [0, 45], [0, 50], [0, 51], [0, 53], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 18], [1, 19], [1, 20], [1, 21], [1, 22], [1, 23], [1, 24], [1, 25], [1, 26], [1, 27], [1, 28], [1, 29], [1, 30], [1, 31], [1, 32], [1, 33], [1, 34], [1, 35], [1, 36], [1, 37], [1, 38], [1, 39], [1, 40], [1, 41], [1, 42], [1, 43], [1, 44], [1, 45], [1, 46], [1, 47], [1, 48], [1, 49], [1, 50], [1, 51], [1, 52], [1, 53], [2, 3], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 12], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [2, 24], [2, 25], [2, 26], [2, 27], [2, 28], [2, 31], [2, 33], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 40], [2, 41], [2, 42], [2, 45], [2, 47], [2, 50], [2, 51], [2, 53], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8], [3, 9], [3, 10], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 19], [3, 20], [3, 21], [3, 22], [3, 23], [3, 24], [3, 25], [3, 26], [3, 27], [3, 28], [3, 29], [3, 30], [3, 31], [3, 32], [3, 33], [3, 34], [3, 35], [3, 36], [3, 37], [3, 38], [3, 40], [3, 41], [3, 42], [3, 43], [3, 45], [3, 46], [3, 47], [3, 48], [3, 49], [3, 50], [3, 51], [3, 52], [3, 53], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 12], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [4, 20], [4, 21], [4, 24], [4, 25], [4, 26], [4, 27], [4, 28], [4, 31], [4, 33], [4, 34], [4, 35], [4, 36], [4, 37], [4, 38], [4, 40], [4, 41], [4, 42], [4, 45], [4, 47], [4, 50], [4, 51], [4, 53], [5, 6], [5, 7], [5, 8], [5, 9], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 20], [5, 21], [5, 24], [5, 25], [5, 26], [5, 27], [5, 28], [5, 31], [5, 33], [5, 34], [5, 35], [5, 36], [5, 37], [5, 38], [5, 40], [5, 41], [5, 42], [5, 45], [5, 47], [5, 50], [5, 51], [5, 53], [6, 7], [6, 8], [6, 9], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 16], [6, 17], [6, 18], [6, 19], [6, 20], [6, 21], [6, 22], [6, 23], [6, 24], [6, 25], [6, 26], [6, 27], [6, 28], [6, 29], [6, 30], [6, 31], [6, 32], [6, 33], [6, 34], [6, 35], [6, 36], [6, 37], [6, 38], [6, 39], [6, 40], [6, 41], [6, 42], [6, 43], [6, 44], [6, 45], [6, 46], [6, 47], [6, 48], [6, 49], [6, 50], [6, 51], [6, 52], [6, 53], [7, 8], [7, 9], [7, 10], [7, 11], [7, 12], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [7, 22], [7, 23], [7, 24], [7, 25], [7, 26], [7, 27], [7, 28], [7, 29], [7, 31], [7, 32], [7, 33], [7, 34], [7, 35], [7, 36], [7, 37], [7, 38], [7, 39], [7, 40], [7, 41], [7, 42], [7, 43], [7, 44], [7, 45], [7, 46], [7, 47], [7, 48], [7, 49], [7, 50], [7, 51], [7, 52], [7, 53], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 21], [8, 22], [8, 23], [8, 24], [8, 25], [8, 26], [8, 27], [8, 28], [8, 29], [8, 30], [8, 31], [8, 32], [8, 33], [8, 34], [8, 35], [8, 36], [8, 37], [8, 38], [8, 39], [8, 40], [8, 41], [8, 42], [8, 43], [8, 44], [8, 45], [8, 47], [8, 48], [8, 49], [8, 50], [8, 51], [8, 52], [8, 53], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 15], [9, 16], [9, 17], [9, 18], [9, 19], [9, 20], [9, 21], [9, 22], [9, 23], [9, 24], [9, 25], [9, 26], [9, 27], [9, 28], [9, 29], [9, 30], [9, 31], [9, 33], [9, 34], [9, 35], [9, 36], [9, 37], [9, 38], [9, 39], [9, 40], [9, 41], [9, 42], [9, 43], [9, 44], [9, 45], [9, 46], [9, 47], [9, 48], [9, 49], [9, 50], [9, 51], [9, 52], [9, 53], [10, 11], [10, 12], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [10, 20], [10, 21], [10, 22], [10, 23], [10, 24], [10, 25], [10, 26], [10, 27], [10, 28], [10, 29], [10, 30], [10, 31], [10, 32], [10, 33], [10, 34], [10, 35], [10, 36], [10, 37], [10, 38], [10, 39], [10, 40], [10, 41], [10, 42], [10, 43], [10, 44], [10, 45], [10, 46], [10, 47], [10, 48], [10, 49], [10, 50], [10, 51], [10, 52], [10, 53], [11, 12], [11, 14], [11, 16], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [11, 24], [11, 25], [11, 26], [11, 27], [11, 28], [11, 31], [11, 33], [11, 34], [11, 35], [11, 36], [11, 37], [11, 40], [11, 41], [11, 42], [11, 45], [11, 47], [11, 50], [11, 53], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [12, 22], [12, 23], [12, 24], [12, 25], [12, 26], [12, 27], [12, 28], [12, 29], [12, 30], [12, 31], [12, 32], [12, 33], [12, 34], [12, 35], [12, 36], [12, 37], [12, 38], [12, 39], [12, 40], [12, 41], [12, 42], [12, 43], [12, 44], [12, 45], [12, 46], [12, 47], [12, 48], [12, 49], [12, 50], [12, 51], [12, 52], [12, 53], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 21], [13, 24], [13, 25], [13, 26], [13, 27], [13, 31], [13, 33], [13, 34], [13, 35], [13, 36], [13, 37], [13, 38], [13, 40], [13, 41], [13, 42], [13, 45], [13, 47], [13, 50], [13, 51], [13, 53], [14, 15], [14, 16], [14, 17], [14, 18], [14, 19], [14, 20], [14, 21], [14, 22], [14, 23], [14, 24], [14, 25], [14, 26], [14, 27], [14, 28], [14, 30], [14, 31], [14, 32], [14, 33], [14, 34], [14, 35], [14, 36], [14, 37], [14, 38], [14, 39], [14, 40], [14, 41], [14, 42], [14, 43], [14, 44], [14, 45], [14, 46], [14, 47], [14, 48], [14, 49], [14, 50], [14, 51], [14, 52], [14, 53], [15, 16], [15, 17], [15, 18], [15, 19], [15, 20], [15, 21], [15, 22], [15, 23], [15, 24], [15, 25], [15, 26], [15, 27], [15, 28], [15, 29], [15, 30], [15, 31], [15, 32], [15, 33], [15, 34], [15, 35], [15, 36], [15, 37], [15, 38], [15, 39], [15, 40], [15, 41], [15, 42], [15, 43], [15, 44], [15, 45], [15, 46], [15, 47], [15, 49], [15, 50], [15, 51], [15, 52], [15, 53], [16, 17], [16, 18], [16, 19], [16, 20], [16, 21], [16, 22], [16, 23], [16, 24], [16, 25], [16, 26], [16, 27], [16, 28], [16, 30], [16, 31], [16, 32], [16, 33], [16, 34], [16, 35], [16, 36], [16, 37], [16, 38], [16, 39], [16, 40], [16, 41], [16, 42], [16, 43], [16, 44], [16, 45], [16, 46], [16, 47], [16, 48], [16, 49], [16, 50], [16, 51], [16, 52], [16, 53], [17, 18], [17, 19], [17, 20], [17, 21], [17, 22], [17, 23], [17, 24], [17, 25], [17, 26], [17, 27], [17, 28], [17, 29], [17, 30], [17, 31], [17, 32], [17, 33], [17, 34], [17, 35], [17, 36], [17, 37], [17, 38], [17, 39], [17, 40], [17, 41], [17, 42], [17, 43], [17, 44], [17, 45], [17, 46], [17, 47], [17, 48], [17, 49], [17, 50], [17, 51], [17, 52], [17, 53], [18, 19], [18, 20], [18, 21], [18, 22], [18, 23], [18, 24], [18, 25], [18, 26], [18, 27], [18, 28], [18, 29], [18, 30], [18, 31], [18, 32], [18, 33], [18, 34], [18, 35], [18, 36], [18, 37], [18, 38], [18, 39], [18, 40], [18, 41], [18, 42], [18, 44], [18, 45], [18, 46], [18, 47], [18, 48], [18, 49], [18, 50], [18, 51], [18, 52], [18, 53], [19, 20], [19, 21], [19, 22], [19, 23], [19, 24], [19, 25], [19, 26], [19, 27], [19, 28], [19, 29], [19, 30], [19, 31], [19, 32], [19, 33], [19, 34], [19, 35], [19, 36], [19, 37], [19, 38], [19, 40], [19, 41], [19, 42], [19, 43], [19, 44], [19, 45], [19, 46], [19, 47], [19, 48], [19, 49], [19, 50], [19, 51], [19, 52], [19, 53], [20, 21], [20, 22], [20, 24], [20, 25], [20, 26], [20, 27], [20, 28], [20, 29], [20, 30], [20, 31], [20, 32], [20, 33], [20, 34], [20, 35], [20, 36], [20, 37], [20, 38], [20, 39], [20, 40], [20, 41], [20, 42], [20, 43], [20, 44], [20, 45], [20, 46], [20, 47], [20, 48], [20, 49], [20, 50], [20, 51], [20, 52], [20, 53], [21, 22], [21, 23], [21, 24], [21, 25], [21, 26], [21, 27], [21, 28], [21, 29], [21, 30], [21, 31], [21, 32], [21, 33], [21, 34], [21, 35], [21, 36], [21, 37], [21, 38], [21, 39], [21, 40], [21, 41], [21, 42], [21, 45], [21, 46], [21, 47], [21, 48], [21, 49], [21, 50], [21, 51], [21, 52], [21, 53], [22, 24], [22, 25], [22, 26], [22, 27], [22, 28], [22, 31], [22, 33], [22, 34], [22, 35], [22, 36], [22, 37], [22, 38], [22, 42], [22, 45], [22, 47], [22, 50], [22, 51], [22, 53], [23, 24], [23, 25], [23, 26], [23, 27], [23, 28], [23, 31], [23, 33], [23, 34], [23, 35], [23, 36], [23, 37], [23, 38], [23, 40], [23, 41], [23, 45], [23, 47], [23, 50], [23, 53], [24, 25], [24, 26], [24, 27], [24, 28], [24, 29], [24, 30], [24, 31], [24, 32], [24, 33], [24, 34], [24, 35], [24, 36], [24, 37], [24, 38], [24, 39], [24, 40], [24, 41], [24, 42], [24, 43], [24, 44], [24, 45], [24, 47], [24, 49], [24, 50], [24, 51], [24, 52], [24, 53], [25, 26], [25, 27], [25, 28], [25, 29], [25, 30], [25, 31], [25, 32], [25, 33], [25, 34], [25, 35], [25, 36], [25, 37], [25, 38], [25, 39], [25, 40], [25, 41], [25, 42], [25, 43], [25, 44], [25, 45], [25, 46], [25, 47], [25, 48], [25, 49], [25, 50], [25, 51], [25, 52], [25, 53], [26, 27], [26, 28], [26, 29], [26, 30], [26, 31], [26, 32], [26, 33], [26, 34], [26, 35], [26, 36], [26, 37], [26, 38], [26, 39], [26, 40], [26, 41], [26, 42], [26, 43], [26, 44], [26, 45], [26, 46], [26, 47], [26, 48], [26, 49], [26, 50], [26, 51], [26, 52], [26, 53], [27, 28], [27, 29], [27, 30], [27, 31], [27, 32], [27, 33], [27, 34], [27, 35], [27, 36], [27, 37], [27, 38], [27, 40], [27, 41], [27, 42], [27, 43], [27, 44], [27, 45], [27, 46], [27, 47], [27, 48], [27, 50], [27, 51], [27, 52], [27, 53], [28, 30], [28, 31], [28, 32], [28, 33], [28, 34], [28, 35], [28, 36], [28, 37], [28, 38], [28, 39], [28, 40], [28, 41], [28, 42], [28, 43], [28, 44], [28, 45], [28, 46], [28, 47], [28, 48], [28, 49], [28, 50], [28, 51], [28, 52], [28, 53], [29, 31], [29, 33], [29, 34], [29, 35], [29, 36], [29, 37], [29, 40], [29, 41], [29, 42], [29, 45], [29, 47], [29, 50], [29, 51], [29, 53], [30, 31], [30, 33], [30, 34], [30, 35], [30, 36], [30, 37], [30, 40], [30, 41], [30, 42], [30, 45], [30, 47], [30, 50], [30, 51], [30, 53], [31, 32], [31, 33], [31, 34], [31, 35], [31, 36], [31, 37], [31, 38], [31, 39], [31, 40], [31, 41], [31, 42], [31, 43], [31, 44], [31, 45], [31, 46], [31, 47], [31, 48], [31, 49], [31, 50], [31, 51], [31, 52], [31, 53], [32, 33], [32, 34], [32, 35], [32, 36], [32, 37], [32, 38], [32, 40], [32, 41], [32, 42], [32, 45], [32, 47], [32, 50], [32, 51], [32, 53], [33, 34], [33, 35], [33, 36], [33, 37], [33, 38], [33, 39], [33, 40], [33, 41], [33, 42], [33, 43], [33, 44], [33, 45], [33, 46], [33, 47], [33, 48], [33, 49], [33, 50], [33, 51], [33, 53], [34, 35], [34, 36], [34, 37], [34, 38], [34, 39], [34, 40], [34, 41], [34, 42], [34, 43], [34, 44], [34, 45], [34, 46], [34, 47], [34, 48], [34, 49], [34, 50], [34, 51], [34, 52], [34, 53], [35, 36], [35, 37], [35, 38], [35, 39], [35, 40], [35, 41], [35, 42], [35, 43], [35, 44], [35, 45], [35, 46], [35, 47], [35, 48], [35, 49], [35, 50], [35, 51], [35, 52], [35, 53], [36, 37], [36, 38], [36, 39], [36, 40], [36, 41], [36, 42], [36, 43], [36, 44], [36, 45], [36, 46], [36, 47], [36, 48], [36, 49], [36, 50], [36, 51], [36, 52], [36, 53], [37, 38], [37, 39], [37, 40], [37, 41], [37, 42], [37, 43], [37, 44], [37, 45], [37, 46], [37, 47], [37, 48], [37, 49], [37, 50], [37, 51], [37, 53], [38, 39], [38, 40], [38, 41], [38, 42], [38, 43], [38, 44], [38, 45], [38, 46], [38, 47], [38, 48], [38, 49], [38, 50], [38, 51], [38, 52], [38, 53], [39, 40], [39, 41], [39, 42], [39, 45], [39, 47], [39, 50], [39, 51], [39, 53], [40, 41], [40, 42], [40, 43], [40, 44], [40, 45], [40, 46], [40, 47], [40, 48], [40, 50], [40, 51], [40, 52], [40, 53], [41, 42], [41, 43], [41, 44], [41, 45], [41, 47], [41, 48], [41, 49], [41, 50], [41, 51], [41, 52], [41, 53], [42, 43], [42, 45], [42, 47], [42, 48], [42, 49], [42, 50], [42, 51], [42, 52], [42, 53], [43, 45], [43, 47], [43, 50], [43, 51], [43, 53], [44, 45], [44, 47], [44, 50], [44, 51], [44, 53], [45, 46], [45, 47], [45, 48], [45, 49], [45, 50], [45, 51], [45, 52], [45, 53], [46, 50], [46, 51], [46, 53], [47, 48], [47, 49], [47, 50], [47, 51], [47, 52], [47, 53], [48, 50], [48, 51], [48, 53], [49, 50], [49, 51], [49, 53], [50, 51], [50, 52], [50, 53], [51, 52], [51, 53], [52, 53]] + +It is guaranteed that the graph contains a clique of size 36. Find any clique of size 18: 18 distinct vertices every two of which are adjacent. + +Answer format: {"clique": [v_1, ..., v_18]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-imp-party-l5-s5/solution/solve.sh b/tasks/construct-rlve-imp-party-l5-s5/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..32f46e62d506cfed6ecc064c6aa1d2b06fe72b5a --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s5/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [3, 6, 8, 10, 14, 16, 18, 21, 24, 25, 26, 28, 31, 35, 38, 40, 47, 53]} +RLMATH_EOF diff --git a/tasks/construct-rlve-imp-party-l5-s5/task.toml b/tasks/construct-rlve-imp-party-l5-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..0afc4a3d9000dce34173d6160e78c296ff20b428 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-imp-party-l5-s5" +version = "0.2.0" +description = "construct/rlve_imp_party" +authors = [] +keywords = ["rlmath", "construct", "rlve_imp_party"] + +[metadata] +subset = "construct" +family = "rlve_imp_party" +problem_key = "poi_party_clique_3n" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "RLVE-Gym/imp_party" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-imp-party-l5-s5/tests/check.py b/tasks/construct-rlve-imp-party-l5-s5/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..97b5a037a2ba8bf4495cf87cc074d1c60b11311c --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s5/tests/check.py @@ -0,0 +1,14 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + c = int_list(ans.get("clique"), n, 0, 3 * n - 1, "clique") + if len(set(c)) != n: + raise Invalid("vertices must be distinct") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for i in range(n): + for j in range(i + 1, n): + if (min(c[i], c[j]), max(c[i], c[j])) not in es: + raise Invalid(f"{c[i]} and {c[j]} are not adjacent") + return None, {} diff --git a/tasks/construct-rlve-imp-party-l5-s5/tests/instance.json b/tasks/construct-rlve-imp-party-l5-s5/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..8a965066a1ae3ab46e0ca7084cd1c73478c7a558 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s5/tests/instance.json @@ -0,0 +1 @@ +{"n": 18, "edges": [[0, 1], [0, 3], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 12], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [0, 24], [0, 25], [0, 26], [0, 27], [0, 28], [0, 33], [0, 34], [0, 35], [0, 36], [0, 37], [0, 38], [0, 40], [0, 41], [0, 42], [0, 45], [0, 50], [0, 51], [0, 53], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 18], [1, 19], [1, 20], [1, 21], [1, 22], [1, 23], [1, 24], [1, 25], [1, 26], [1, 27], [1, 28], [1, 29], [1, 30], [1, 31], [1, 32], [1, 33], [1, 34], [1, 35], [1, 36], [1, 37], [1, 38], [1, 39], [1, 40], [1, 41], [1, 42], [1, 43], [1, 44], [1, 45], [1, 46], [1, 47], [1, 48], [1, 49], [1, 50], [1, 51], [1, 52], [1, 53], [2, 3], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 12], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [2, 24], [2, 25], [2, 26], [2, 27], [2, 28], [2, 31], [2, 33], [2, 34], [2, 35], [2, 36], [2, 37], [2, 38], [2, 40], [2, 41], [2, 42], [2, 45], [2, 47], [2, 50], [2, 51], [2, 53], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8], [3, 9], [3, 10], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 19], [3, 20], [3, 21], [3, 22], [3, 23], [3, 24], [3, 25], [3, 26], [3, 27], [3, 28], [3, 29], [3, 30], [3, 31], [3, 32], [3, 33], [3, 34], [3, 35], [3, 36], [3, 37], [3, 38], [3, 40], [3, 41], [3, 42], [3, 43], [3, 45], [3, 46], [3, 47], [3, 48], [3, 49], [3, 50], [3, 51], [3, 52], [3, 53], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 12], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [4, 20], [4, 21], [4, 24], [4, 25], [4, 26], [4, 27], [4, 28], [4, 31], [4, 33], [4, 34], [4, 35], [4, 36], [4, 37], [4, 38], [4, 40], [4, 41], [4, 42], [4, 45], [4, 47], [4, 50], [4, 51], [4, 53], [5, 6], [5, 7], [5, 8], [5, 9], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 20], [5, 21], [5, 24], [5, 25], [5, 26], [5, 27], [5, 28], [5, 31], [5, 33], [5, 34], [5, 35], [5, 36], [5, 37], [5, 38], [5, 40], [5, 41], [5, 42], [5, 45], [5, 47], [5, 50], [5, 51], [5, 53], [6, 7], [6, 8], [6, 9], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 16], [6, 17], [6, 18], [6, 19], [6, 20], [6, 21], [6, 22], [6, 23], [6, 24], [6, 25], [6, 26], [6, 27], [6, 28], [6, 29], [6, 30], [6, 31], [6, 32], [6, 33], [6, 34], [6, 35], [6, 36], [6, 37], [6, 38], [6, 39], [6, 40], [6, 41], [6, 42], [6, 43], [6, 44], [6, 45], [6, 46], [6, 47], [6, 48], [6, 49], [6, 50], [6, 51], [6, 52], [6, 53], [7, 8], [7, 9], [7, 10], [7, 11], [7, 12], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [7, 22], [7, 23], [7, 24], [7, 25], [7, 26], [7, 27], [7, 28], [7, 29], [7, 31], [7, 32], [7, 33], [7, 34], [7, 35], [7, 36], [7, 37], [7, 38], [7, 39], [7, 40], [7, 41], [7, 42], [7, 43], [7, 44], [7, 45], [7, 46], [7, 47], [7, 48], [7, 49], [7, 50], [7, 51], [7, 52], [7, 53], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 21], [8, 22], [8, 23], [8, 24], [8, 25], [8, 26], [8, 27], [8, 28], [8, 29], [8, 30], [8, 31], [8, 32], [8, 33], [8, 34], [8, 35], [8, 36], [8, 37], [8, 38], [8, 39], [8, 40], [8, 41], [8, 42], [8, 43], [8, 44], [8, 45], [8, 47], [8, 48], [8, 49], [8, 50], [8, 51], [8, 52], [8, 53], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 15], [9, 16], [9, 17], [9, 18], [9, 19], [9, 20], [9, 21], [9, 22], [9, 23], [9, 24], [9, 25], [9, 26], [9, 27], [9, 28], [9, 29], [9, 30], [9, 31], [9, 33], [9, 34], [9, 35], [9, 36], [9, 37], [9, 38], [9, 39], [9, 40], [9, 41], [9, 42], [9, 43], [9, 44], [9, 45], [9, 46], [9, 47], [9, 48], [9, 49], [9, 50], [9, 51], [9, 52], [9, 53], [10, 11], [10, 12], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [10, 20], [10, 21], [10, 22], [10, 23], [10, 24], [10, 25], [10, 26], [10, 27], [10, 28], [10, 29], [10, 30], [10, 31], [10, 32], [10, 33], [10, 34], [10, 35], [10, 36], [10, 37], [10, 38], [10, 39], [10, 40], [10, 41], [10, 42], [10, 43], [10, 44], [10, 45], [10, 46], [10, 47], [10, 48], [10, 49], [10, 50], [10, 51], [10, 52], [10, 53], [11, 12], [11, 14], [11, 16], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [11, 24], [11, 25], [11, 26], [11, 27], [11, 28], [11, 31], [11, 33], [11, 34], [11, 35], [11, 36], [11, 37], [11, 40], [11, 41], [11, 42], [11, 45], [11, 47], [11, 50], [11, 53], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [12, 22], [12, 23], [12, 24], [12, 25], [12, 26], [12, 27], [12, 28], [12, 29], [12, 30], [12, 31], [12, 32], [12, 33], [12, 34], [12, 35], [12, 36], [12, 37], [12, 38], [12, 39], [12, 40], [12, 41], [12, 42], [12, 43], [12, 44], [12, 45], [12, 46], [12, 47], [12, 48], [12, 49], [12, 50], [12, 51], [12, 52], [12, 53], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 21], [13, 24], [13, 25], [13, 26], [13, 27], [13, 31], [13, 33], [13, 34], [13, 35], [13, 36], [13, 37], [13, 38], [13, 40], [13, 41], [13, 42], [13, 45], [13, 47], [13, 50], [13, 51], [13, 53], [14, 15], [14, 16], [14, 17], [14, 18], [14, 19], [14, 20], [14, 21], [14, 22], [14, 23], [14, 24], [14, 25], [14, 26], [14, 27], [14, 28], [14, 30], [14, 31], [14, 32], [14, 33], [14, 34], [14, 35], [14, 36], [14, 37], [14, 38], [14, 39], [14, 40], [14, 41], [14, 42], [14, 43], [14, 44], [14, 45], [14, 46], [14, 47], [14, 48], [14, 49], [14, 50], [14, 51], [14, 52], [14, 53], [15, 16], [15, 17], [15, 18], [15, 19], [15, 20], [15, 21], [15, 22], [15, 23], [15, 24], [15, 25], [15, 26], [15, 27], [15, 28], [15, 29], [15, 30], [15, 31], [15, 32], [15, 33], [15, 34], [15, 35], [15, 36], [15, 37], [15, 38], [15, 39], [15, 40], [15, 41], [15, 42], [15, 43], [15, 44], [15, 45], [15, 46], [15, 47], [15, 49], [15, 50], [15, 51], [15, 52], [15, 53], [16, 17], [16, 18], [16, 19], [16, 20], [16, 21], [16, 22], [16, 23], [16, 24], [16, 25], [16, 26], [16, 27], [16, 28], [16, 30], [16, 31], [16, 32], [16, 33], [16, 34], [16, 35], [16, 36], [16, 37], [16, 38], [16, 39], [16, 40], [16, 41], [16, 42], [16, 43], [16, 44], [16, 45], [16, 46], [16, 47], [16, 48], [16, 49], [16, 50], [16, 51], [16, 52], [16, 53], [17, 18], [17, 19], [17, 20], [17, 21], [17, 22], [17, 23], [17, 24], [17, 25], [17, 26], [17, 27], [17, 28], [17, 29], [17, 30], [17, 31], [17, 32], [17, 33], [17, 34], [17, 35], [17, 36], [17, 37], [17, 38], [17, 39], [17, 40], [17, 41], [17, 42], [17, 43], [17, 44], [17, 45], [17, 46], [17, 47], [17, 48], [17, 49], [17, 50], [17, 51], [17, 52], [17, 53], [18, 19], [18, 20], [18, 21], [18, 22], [18, 23], [18, 24], [18, 25], [18, 26], [18, 27], [18, 28], [18, 29], [18, 30], [18, 31], [18, 32], [18, 33], [18, 34], [18, 35], [18, 36], [18, 37], [18, 38], [18, 39], [18, 40], [18, 41], [18, 42], [18, 44], [18, 45], [18, 46], [18, 47], [18, 48], [18, 49], [18, 50], [18, 51], [18, 52], [18, 53], [19, 20], [19, 21], [19, 22], [19, 23], [19, 24], [19, 25], [19, 26], [19, 27], [19, 28], [19, 29], [19, 30], [19, 31], [19, 32], [19, 33], [19, 34], [19, 35], [19, 36], [19, 37], [19, 38], [19, 40], [19, 41], [19, 42], [19, 43], [19, 44], [19, 45], [19, 46], [19, 47], [19, 48], [19, 49], [19, 50], [19, 51], [19, 52], [19, 53], [20, 21], [20, 22], [20, 24], [20, 25], [20, 26], [20, 27], [20, 28], [20, 29], [20, 30], [20, 31], [20, 32], [20, 33], [20, 34], [20, 35], [20, 36], [20, 37], [20, 38], [20, 39], [20, 40], [20, 41], [20, 42], [20, 43], [20, 44], [20, 45], [20, 46], [20, 47], [20, 48], [20, 49], [20, 50], [20, 51], [20, 52], [20, 53], [21, 22], [21, 23], [21, 24], [21, 25], [21, 26], [21, 27], [21, 28], [21, 29], [21, 30], [21, 31], [21, 32], [21, 33], [21, 34], [21, 35], [21, 36], [21, 37], [21, 38], [21, 39], [21, 40], [21, 41], [21, 42], [21, 45], [21, 46], [21, 47], [21, 48], [21, 49], [21, 50], [21, 51], [21, 52], [21, 53], [22, 24], [22, 25], [22, 26], [22, 27], [22, 28], [22, 31], [22, 33], [22, 34], [22, 35], [22, 36], [22, 37], [22, 38], [22, 42], [22, 45], [22, 47], [22, 50], [22, 51], [22, 53], [23, 24], [23, 25], [23, 26], [23, 27], [23, 28], [23, 31], [23, 33], [23, 34], [23, 35], [23, 36], [23, 37], [23, 38], [23, 40], [23, 41], [23, 45], [23, 47], [23, 50], [23, 53], [24, 25], [24, 26], [24, 27], [24, 28], [24, 29], [24, 30], [24, 31], [24, 32], [24, 33], [24, 34], [24, 35], [24, 36], [24, 37], [24, 38], [24, 39], [24, 40], [24, 41], [24, 42], [24, 43], [24, 44], [24, 45], [24, 47], [24, 49], [24, 50], [24, 51], [24, 52], [24, 53], [25, 26], [25, 27], [25, 28], [25, 29], [25, 30], [25, 31], [25, 32], [25, 33], [25, 34], [25, 35], [25, 36], [25, 37], [25, 38], [25, 39], [25, 40], [25, 41], [25, 42], [25, 43], [25, 44], [25, 45], [25, 46], [25, 47], [25, 48], [25, 49], [25, 50], [25, 51], [25, 52], [25, 53], [26, 27], [26, 28], [26, 29], [26, 30], [26, 31], [26, 32], [26, 33], [26, 34], [26, 35], [26, 36], [26, 37], [26, 38], [26, 39], [26, 40], [26, 41], [26, 42], [26, 43], [26, 44], [26, 45], [26, 46], [26, 47], [26, 48], [26, 49], [26, 50], [26, 51], [26, 52], [26, 53], [27, 28], [27, 29], [27, 30], [27, 31], [27, 32], [27, 33], [27, 34], [27, 35], [27, 36], [27, 37], [27, 38], [27, 40], [27, 41], [27, 42], [27, 43], [27, 44], [27, 45], [27, 46], [27, 47], [27, 48], [27, 50], [27, 51], [27, 52], [27, 53], [28, 30], [28, 31], [28, 32], [28, 33], [28, 34], [28, 35], [28, 36], [28, 37], [28, 38], [28, 39], [28, 40], [28, 41], [28, 42], [28, 43], [28, 44], [28, 45], [28, 46], [28, 47], [28, 48], [28, 49], [28, 50], [28, 51], [28, 52], [28, 53], [29, 31], [29, 33], [29, 34], [29, 35], [29, 36], [29, 37], [29, 40], [29, 41], [29, 42], [29, 45], [29, 47], [29, 50], [29, 51], [29, 53], [30, 31], [30, 33], [30, 34], [30, 35], [30, 36], [30, 37], [30, 40], [30, 41], [30, 42], [30, 45], [30, 47], [30, 50], [30, 51], [30, 53], [31, 32], [31, 33], [31, 34], [31, 35], [31, 36], [31, 37], [31, 38], [31, 39], [31, 40], [31, 41], [31, 42], [31, 43], [31, 44], [31, 45], [31, 46], [31, 47], [31, 48], [31, 49], [31, 50], [31, 51], [31, 52], [31, 53], [32, 33], [32, 34], [32, 35], [32, 36], [32, 37], [32, 38], [32, 40], [32, 41], [32, 42], [32, 45], [32, 47], [32, 50], [32, 51], [32, 53], [33, 34], [33, 35], [33, 36], [33, 37], [33, 38], [33, 39], [33, 40], [33, 41], [33, 42], [33, 43], [33, 44], [33, 45], [33, 46], [33, 47], [33, 48], [33, 49], [33, 50], [33, 51], [33, 53], [34, 35], [34, 36], [34, 37], [34, 38], [34, 39], [34, 40], [34, 41], [34, 42], [34, 43], [34, 44], [34, 45], [34, 46], [34, 47], [34, 48], [34, 49], [34, 50], [34, 51], [34, 52], [34, 53], [35, 36], [35, 37], [35, 38], [35, 39], [35, 40], [35, 41], [35, 42], [35, 43], [35, 44], [35, 45], [35, 46], [35, 47], [35, 48], [35, 49], [35, 50], [35, 51], [35, 52], [35, 53], [36, 37], [36, 38], [36, 39], [36, 40], [36, 41], [36, 42], [36, 43], [36, 44], [36, 45], [36, 46], [36, 47], [36, 48], [36, 49], [36, 50], [36, 51], [36, 52], [36, 53], [37, 38], [37, 39], [37, 40], [37, 41], [37, 42], [37, 43], [37, 44], [37, 45], [37, 46], [37, 47], [37, 48], [37, 49], [37, 50], [37, 51], [37, 53], [38, 39], [38, 40], [38, 41], [38, 42], [38, 43], [38, 44], [38, 45], [38, 46], [38, 47], [38, 48], [38, 49], [38, 50], [38, 51], [38, 52], [38, 53], [39, 40], [39, 41], [39, 42], [39, 45], [39, 47], [39, 50], [39, 51], [39, 53], [40, 41], [40, 42], [40, 43], [40, 44], [40, 45], [40, 46], [40, 47], [40, 48], [40, 50], [40, 51], [40, 52], [40, 53], [41, 42], [41, 43], [41, 44], [41, 45], [41, 47], [41, 48], [41, 49], [41, 50], [41, 51], [41, 52], [41, 53], [42, 43], [42, 45], [42, 47], [42, 48], [42, 49], [42, 50], [42, 51], [42, 52], [42, 53], [43, 45], [43, 47], [43, 50], [43, 51], [43, 53], [44, 45], [44, 47], [44, 50], [44, 51], [44, 53], [45, 46], [45, 47], [45, 48], [45, 49], [45, 50], [45, 51], [45, 52], [45, 53], [46, 50], [46, 51], [46, 53], [47, 48], [47, 49], [47, 50], [47, 51], [47, 52], [47, 53], [48, 50], [48, 51], [48, 53], [49, 50], [49, 51], [49, 53], [50, 51], [50, 52], [50, 53], [51, 52], [51, 53], [52, 53]], "family": "rlve_imp_party", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-imp-party-l5-s5/tests/run.py b/tasks/construct-rlve-imp-party-l5-s5/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s5/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-imp-party-l5-s5/tests/test.sh b/tasks/construct-rlve-imp-party-l5-s5/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-imp-party-l5-s5/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-integer-linear-system-l2-s2/environment/Dockerfile b/tasks/construct-rlve-integer-linear-system-l2-s2/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s2/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-integer-linear-system-l2-s2/environment/instance.json b/tasks/construct-rlve-integer-linear-system-l2-s2/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..dfe35b5a8f3110f15d8769f6697b7de0f8fac982 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s2/environment/instance.json @@ -0,0 +1 @@ +{"coeffs": [[0, 0, 1, 1, 1], [1, 1, 1, 1, 0], [1, 1, 0, 1, 0], [0, 1, 1, 1, 0], [1, 1, 1, 0, 1], [1, 1, 0, 1, 1], [0, 0, 1, 0, 1], [1, 0, 0, 0, 0], [0, 0, 1, 1, 0], [0, 1, 0, 0, 0], [1, 1, 1, 0, 1]], "rhs": [10, 13, 12, 10, 12, 16, 5, 3, 6, 4, 12], "family": "rlve_integer_linear_system", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-integer-linear-system-l2-s2/instruction.md b/tasks/construct-rlve-integer-linear-system-l2-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..89f960077750eb23360fba84e1af42c010d845ca --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s2/instruction.md @@ -0,0 +1,16 @@ +Find integers x[0], ..., x[4] satisfying all of the following 11 equations: +1*x[2] + 1*x[3] + 1*x[4] = 10 +1*x[0] + 1*x[1] + 1*x[2] + 1*x[3] = 13 +1*x[0] + 1*x[1] + 1*x[3] = 12 +1*x[1] + 1*x[2] + 1*x[3] = 10 +1*x[0] + 1*x[1] + 1*x[2] + 1*x[4] = 12 +1*x[0] + 1*x[1] + 1*x[3] + 1*x[4] = 16 +1*x[2] + 1*x[4] = 5 +1*x[0] = 3 +1*x[2] + 1*x[3] = 6 +1*x[1] = 4 +1*x[0] + 1*x[1] + 1*x[2] + 1*x[4] = 12 + +Answer format: {"x": [x_0, ..., x_4]} (integers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-integer-linear-system-l2-s2/solution/solve.sh b/tasks/construct-rlve-integer-linear-system-l2-s2/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..f188d94dc66f48bd3e49a2a1f546c89c5810bdd0 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s2/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": [3, 4, 1, 5, 4]} +RLMATH_EOF diff --git a/tasks/construct-rlve-integer-linear-system-l2-s2/task.toml b/tasks/construct-rlve-integer-linear-system-l2-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..8cc2d5d62ab2ff2cc5a96233e4b48e16a2e6c390 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-integer-linear-system-l2-s2" +version = "0.2.0" +description = "construct/rlve_integer_linear_system" +authors = [] +keywords = ["rlmath", "construct", "rlve_integer_linear_system"] + +[metadata] +subset = "construct" +family = "rlve_integer_linear_system" +problem_key = "integer_linear_system" +domain = "algebra" +tier = "competition" +level = "2" +source = "RLVE-Gym/gaussian_elimination" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-integer-linear-system-l2-s2/tests/check.py b/tasks/construct-rlve-integer-linear-system-l2-s2/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..ff19002b3fddc9597f84ee31ef5ffbee5d3fac32 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s2/tests/check.py @@ -0,0 +1,10 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n = len(inst["coeffs"][0]) + x = int_list(ans.get("x"), n, name="x") + for k, (e, r) in enumerate(zip(inst["coeffs"], inst["rhs"])): + if sum(c * v for c, v in zip(e, x)) != r: + raise Invalid(f"equation {k} is violated") + return None, {} diff --git a/tasks/construct-rlve-integer-linear-system-l2-s2/tests/instance.json b/tasks/construct-rlve-integer-linear-system-l2-s2/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..dfe35b5a8f3110f15d8769f6697b7de0f8fac982 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s2/tests/instance.json @@ -0,0 +1 @@ +{"coeffs": [[0, 0, 1, 1, 1], [1, 1, 1, 1, 0], [1, 1, 0, 1, 0], [0, 1, 1, 1, 0], [1, 1, 1, 0, 1], [1, 1, 0, 1, 1], [0, 0, 1, 0, 1], [1, 0, 0, 0, 0], [0, 0, 1, 1, 0], [0, 1, 0, 0, 0], [1, 1, 1, 0, 1]], "rhs": [10, 13, 12, 10, 12, 16, 5, 3, 6, 4, 12], "family": "rlve_integer_linear_system", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-integer-linear-system-l2-s2/tests/run.py b/tasks/construct-rlve-integer-linear-system-l2-s2/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s2/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-integer-linear-system-l2-s2/tests/test.sh b/tasks/construct-rlve-integer-linear-system-l2-s2/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s2/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-integer-linear-system-l2-s5/environment/Dockerfile b/tasks/construct-rlve-integer-linear-system-l2-s5/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s5/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-integer-linear-system-l2-s5/environment/instance.json b/tasks/construct-rlve-integer-linear-system-l2-s5/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..c3b07c3d594b4c5f4a3b580b5c3b34d95e178998 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s5/environment/instance.json @@ -0,0 +1 @@ +{"coeffs": [[0, 1, 1, 1, 1], [0, 0, 0, 1, 0], [0, 1, 0, 1, 1], [1, 1, 1, 1, 1], [0, 0, 0, 1, 1], [0, 1, 1, 0, 1], [1, 1, 0, 1, 0], [1, 1, 1, 0, 0], [1, 0, 0, 0, 1], [1, 0, 0, 1, 0], [0, 1, 1, 0, 1], [0, 0, 1, 0, 1], [1, 0, 1, 0, 0]], "rhs": [12, 4, 9, 15, 6, 8, 10, 9, 5, 7, 8, 5, 6], "family": "rlve_integer_linear_system", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-integer-linear-system-l2-s5/instruction.md b/tasks/construct-rlve-integer-linear-system-l2-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..a4a48554a6e1109953fa6aa8a76242c4ee40fd43 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s5/instruction.md @@ -0,0 +1,18 @@ +Find integers x[0], ..., x[4] satisfying all of the following 13 equations: +1*x[1] + 1*x[2] + 1*x[3] + 1*x[4] = 12 +1*x[3] = 4 +1*x[1] + 1*x[3] + 1*x[4] = 9 +1*x[0] + 1*x[1] + 1*x[2] + 1*x[3] + 1*x[4] = 15 +1*x[3] + 1*x[4] = 6 +1*x[1] + 1*x[2] + 1*x[4] = 8 +1*x[0] + 1*x[1] + 1*x[3] = 10 +1*x[0] + 1*x[1] + 1*x[2] = 9 +1*x[0] + 1*x[4] = 5 +1*x[0] + 1*x[3] = 7 +1*x[1] + 1*x[2] + 1*x[4] = 8 +1*x[2] + 1*x[4] = 5 +1*x[0] + 1*x[2] = 6 + +Answer format: {"x": [x_0, ..., x_4]} (integers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-integer-linear-system-l2-s5/solution/solve.sh b/tasks/construct-rlve-integer-linear-system-l2-s5/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..192ce73b571a85e188af0ecc235a7daa4fba30de --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s5/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": [3, 3, 3, 4, 2]} +RLMATH_EOF diff --git a/tasks/construct-rlve-integer-linear-system-l2-s5/task.toml b/tasks/construct-rlve-integer-linear-system-l2-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..efff1a50ca96baa65c67e61630c48552385cbe38 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-integer-linear-system-l2-s5" +version = "0.2.0" +description = "construct/rlve_integer_linear_system" +authors = [] +keywords = ["rlmath", "construct", "rlve_integer_linear_system"] + +[metadata] +subset = "construct" +family = "rlve_integer_linear_system" +problem_key = "integer_linear_system" +domain = "algebra" +tier = "competition" +level = "2" +source = "RLVE-Gym/gaussian_elimination" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-integer-linear-system-l2-s5/tests/check.py b/tasks/construct-rlve-integer-linear-system-l2-s5/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..ff19002b3fddc9597f84ee31ef5ffbee5d3fac32 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s5/tests/check.py @@ -0,0 +1,10 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n = len(inst["coeffs"][0]) + x = int_list(ans.get("x"), n, name="x") + for k, (e, r) in enumerate(zip(inst["coeffs"], inst["rhs"])): + if sum(c * v for c, v in zip(e, x)) != r: + raise Invalid(f"equation {k} is violated") + return None, {} diff --git a/tasks/construct-rlve-integer-linear-system-l2-s5/tests/instance.json b/tasks/construct-rlve-integer-linear-system-l2-s5/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..c3b07c3d594b4c5f4a3b580b5c3b34d95e178998 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s5/tests/instance.json @@ -0,0 +1 @@ +{"coeffs": [[0, 1, 1, 1, 1], [0, 0, 0, 1, 0], [0, 1, 0, 1, 1], [1, 1, 1, 1, 1], [0, 0, 0, 1, 1], [0, 1, 1, 0, 1], [1, 1, 0, 1, 0], [1, 1, 1, 0, 0], [1, 0, 0, 0, 1], [1, 0, 0, 1, 0], [0, 1, 1, 0, 1], [0, 0, 1, 0, 1], [1, 0, 1, 0, 0]], "rhs": [12, 4, 9, 15, 6, 8, 10, 9, 5, 7, 8, 5, 6], "family": "rlve_integer_linear_system", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-integer-linear-system-l2-s5/tests/run.py b/tasks/construct-rlve-integer-linear-system-l2-s5/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s5/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-integer-linear-system-l2-s5/tests/test.sh b/tasks/construct-rlve-integer-linear-system-l2-s5/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l2-s5/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-integer-linear-system-l6-s3/instruction.md b/tasks/construct-rlve-integer-linear-system-l6-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..12444600673aa0ad1fe3e492951ad5068668d9b5 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s3/instruction.md @@ -0,0 +1,62 @@ +Find integers x[0], ..., x[25] satisfying all of the following 57 equations: +3*x[0] + 5*x[1] + 3*x[2] + 5*x[3] + 1*x[4] + 4*x[8] + 3*x[10] + 4*x[11] + 1*x[12] + 3*x[13] + 2*x[15] + 3*x[17] + 2*x[18] + 4*x[19] + 4*x[20] + 2*x[21] + 2*x[25] = 685 +2*x[2] + 2*x[3] + 4*x[5] + 4*x[8] + 1*x[9] + 2*x[13] + 5*x[15] + 1*x[23] + 2*x[24] + 1*x[25] = 275 +2*x[0] + 3*x[2] + 1*x[3] + 5*x[6] + 4*x[10] + 1*x[14] + 5*x[18] + 3*x[21] + 1*x[22] + 1*x[23] + 3*x[24] + 1*x[25] = 431 +3*x[1] + 1*x[2] + 5*x[6] + 1*x[7] + 1*x[9] + 4*x[20] + 2*x[21] + 4*x[22] + 1*x[25] = 296 +1*x[0] + 5*x[1] + 4*x[2] + 2*x[3] + 1*x[5] + 4*x[8] + 1*x[10] + 4*x[14] + 3*x[15] + 3*x[22] + 5*x[23] + 1*x[24] + 5*x[25] = 552 +1*x[0] + 5*x[2] + 1*x[3] + 4*x[4] + 1*x[7] + 5*x[9] + 4*x[10] + 5*x[11] + 1*x[12] + 1*x[16] + 3*x[17] + 2*x[20] + 3*x[21] + 5*x[23] + 5*x[25] = 611 +5*x[0] + 4*x[1] + 3*x[3] + 1*x[4] + 5*x[6] + 2*x[8] + 2*x[13] + 5*x[14] + 2*x[15] + 4*x[16] + 1*x[17] + 3*x[19] + 4*x[21] + 5*x[24] + 4*x[25] = 712 +5*x[1] + 2*x[3] + 3*x[4] + 2*x[5] + 5*x[6] + 5*x[10] + 5*x[11] + 3*x[12] + 5*x[14] + 1*x[16] + 3*x[17] + 4*x[18] + 5*x[21] + 2*x[23] + 4*x[24] + 4*x[25] = 877 +2*x[2] + 5*x[3] + 2*x[8] + 4*x[9] + 4*x[10] + 2*x[13] + 2*x[15] + 4*x[16] + 5*x[17] + 4*x[18] + 2*x[19] + 1*x[23] + 3*x[24] + 5*x[25] = 542 +4*x[0] + 3*x[2] + 1*x[3] + 2*x[5] + 4*x[11] + 3*x[14] + 4*x[16] + 2*x[17] + 1*x[19] + 2*x[22] + 4*x[23] = 414 +3*x[2] + 4*x[6] + 2*x[8] + 5*x[13] + 2*x[14] + 3*x[15] + 3*x[18] + 2*x[22] + 3*x[23] + 3*x[24] = 467 +1*x[0] + 2*x[2] + 4*x[6] + 1*x[7] + 5*x[9] + 4*x[10] + 4*x[13] + 3*x[16] + 4*x[17] + 2*x[18] + 4*x[19] + 1*x[21] + 3*x[24] = 497 +3*x[1] + 2*x[7] + 4*x[11] + 1*x[12] + 3*x[14] + 3*x[19] + 5*x[22] + 2*x[23] + 4*x[24] + 3*x[25] = 579 +2*x[0] + 4*x[2] + 5*x[3] + 1*x[4] + 5*x[8] + 2*x[13] + 1*x[14] + 2*x[16] + 5*x[17] + 5*x[20] + 4*x[23] + 1*x[24] + 2*x[25] = 473 +2*x[0] + 1*x[1] + 4*x[5] + 5*x[6] + 1*x[9] + 1*x[10] + 1*x[13] + 5*x[14] + 4*x[16] + 5*x[18] + 4*x[19] + 3*x[20] + 4*x[21] + 1*x[22] + 3*x[23] + 1*x[25] = 539 +4*x[0] + 5*x[1] + 5*x[7] + 1*x[9] + 5*x[12] + 5*x[13] + 2*x[14] + 3*x[15] + 1*x[17] + 3*x[18] + 4*x[21] + 1*x[24] = 578 +1*x[1] + 1*x[2] + 2*x[6] + 5*x[7] + 5*x[8] + 3*x[9] + 4*x[11] + 1*x[15] + 3*x[21] + 4*x[22] = 417 +4*x[3] + 2*x[5] + 5*x[7] + 1*x[8] + 4*x[9] + 5*x[14] + 5*x[15] + 5*x[19] + 5*x[22] + 5*x[23] + 1*x[24] + 2*x[25] = 549 +2*x[0] + 1*x[2] + 2*x[3] + 5*x[5] + 4*x[7] + 2*x[12] + 3*x[13] + 1*x[15] + 5*x[16] + 3*x[17] + 2*x[18] + 3*x[21] + 5*x[23] + 1*x[24] = 488 +5*x[0] + 3*x[3] + 5*x[5] + 5*x[6] + 3*x[7] + 4*x[9] + 1*x[13] + 3*x[14] + 2*x[15] + 4*x[16] + 2*x[17] + 2*x[19] + 2*x[23] + 3*x[24] = 498 +2*x[0] + 5*x[1] + 2*x[7] + 3*x[8] + 3*x[9] + 2*x[10] + 3*x[11] + 1*x[12] + 2*x[16] + 1*x[17] + 1*x[19] + 1*x[20] + 1*x[21] + 3*x[25] = 387 +4*x[2] + 1*x[4] + 1*x[6] + 2*x[7] + 1*x[8] + 1*x[12] + 3*x[14] + 3*x[15] + 2*x[16] + 1*x[17] + 2*x[18] + 3*x[19] + 2*x[21] = 333 +1*x[0] + 2*x[2] + 2*x[6] + 5*x[7] + 4*x[11] + 1*x[13] + 3*x[15] + 3*x[16] + 1*x[18] + 3*x[20] + 2*x[22] + 1*x[25] = 339 +5*x[0] + 4*x[1] + 1*x[2] + 1*x[3] + 2*x[7] + 4*x[8] + 3*x[10] + 1*x[11] + 5*x[14] + 3*x[15] + 5*x[18] + 1*x[20] + 3*x[21] + 5*x[23] + 5*x[24] + 2*x[25] = 688 +1*x[0] + 1*x[1] + 4*x[3] + 1*x[5] + 3*x[6] + 4*x[7] + 5*x[8] + 2*x[10] + 3*x[12] + 5*x[15] + 3*x[16] + 3*x[18] + 5*x[19] + 3*x[22] + 4*x[23] + 3*x[24] = 675 +2*x[0] + 3*x[1] + 5*x[2] + 3*x[4] + 3*x[5] + 3*x[6] + 5*x[8] + 4*x[9] + 5*x[11] + 1*x[15] + 2*x[17] + 2*x[18] + 3*x[19] + 1*x[20] + 5*x[23] + 2*x[25] = 702 +3*x[2] + 4*x[3] + 1*x[6] + 4*x[7] + 5*x[8] + 1*x[9] + 2*x[10] + 2*x[13] + 3*x[14] + 4*x[17] + 3*x[20] + 2*x[21] + 3*x[24] + 3*x[25] = 511 +2*x[3] + 5*x[4] + 4*x[5] + 2*x[7] + 3*x[9] + 4*x[10] + 4*x[12] + 4*x[15] + 5*x[16] + 3*x[18] + 4*x[19] + 2*x[24] = 498 +2*x[0] + 4*x[2] + 3*x[4] + 5*x[7] + 2*x[9] + 5*x[10] + 3*x[13] + 4*x[14] + 5*x[15] + 1*x[16] + 5*x[17] + 5*x[22] + 2*x[24] = 640 +5*x[4] + 2*x[7] + 4*x[8] + 3*x[9] + 5*x[10] + 3*x[12] + 1*x[13] + 3*x[15] + 5*x[16] + 3*x[18] + 2*x[24] + 3*x[25] = 485 +5*x[1] + 1*x[2] + 5*x[7] + 1*x[11] + 5*x[13] + 4*x[14] + 3*x[18] + 1*x[19] + 5*x[23] + 3*x[24] = 514 +2*x[0] + 3*x[1] + 1*x[5] + 1*x[9] + 2*x[14] + 2*x[15] + 5*x[16] + 4*x[18] + 4*x[19] + 2*x[21] + 2*x[22] + 1*x[24] = 369 +2*x[0] + 5*x[1] + 3*x[2] + 2*x[3] + 2*x[4] + 2*x[7] + 3*x[8] + 4*x[9] + 5*x[13] + 1*x[15] + 5*x[16] + 3*x[17] + 1*x[18] + 4*x[19] + 1*x[24] + 5*x[25] = 657 +2*x[0] + 3*x[1] + 2*x[3] + 2*x[4] + 4*x[7] + 1*x[8] + 3*x[13] + 3*x[14] + 4*x[16] + 1*x[19] + 3*x[20] + 3*x[21] + 1*x[23] + 2*x[24] + 1*x[25] = 432 +1*x[0] + 1*x[5] + 2*x[7] + 4*x[9] + 2*x[10] + 2*x[18] + 5*x[20] + 4*x[24] = 201 +4*x[0] + 4*x[1] + 5*x[8] + 5*x[12] + 1*x[16] + 3*x[20] + 4*x[24] + 1*x[25] = 429 +3*x[1] + 1*x[3] + 3*x[4] + 3*x[5] + 2*x[6] + 2*x[7] + 4*x[8] + 4*x[9] + 1*x[12] + 2*x[18] + 2*x[19] + 4*x[21] + 5*x[22] + 3*x[23] + 4*x[24] + 5*x[25] = 773 +3*x[2] + 2*x[4] + 4*x[6] + 5*x[8] + 1*x[9] + 5*x[11] + 3*x[14] + 5*x[17] + 5*x[18] + 2*x[19] + 4*x[21] + 1*x[23] + 4*x[24] = 719 +4*x[2] + 4*x[3] + 2*x[4] + 1*x[6] + 1*x[7] + 4*x[9] + 5*x[11] + 5*x[12] + 5*x[13] + 3*x[14] + 3*x[20] + 3*x[22] + 1*x[23] + 1*x[24] + 1*x[25] = 621 +5*x[2] + 2*x[6] + 4*x[8] + 2*x[9] + 1*x[10] + 3*x[12] + 5*x[13] + 3*x[14] + 5*x[16] + 2*x[19] + 1*x[20] + 2*x[21] + 5*x[22] + 2*x[23] + 2*x[24] = 638 +2*x[0] + 1*x[3] + 4*x[5] + 2*x[6] + 4*x[7] + 2*x[8] + 2*x[11] + 5*x[15] + 3*x[17] + 1*x[18] + 3*x[20] + 2*x[21] + 2*x[23] + 4*x[24] + 2*x[25] = 509 +3*x[0] + 3*x[1] + 5*x[3] + 3*x[6] + 2*x[7] + 1*x[10] + 2*x[12] + 2*x[13] + 4*x[14] + 3*x[16] + 2*x[17] + 2*x[22] + 4*x[23] + 4*x[24] = 559 +4*x[1] + 3*x[2] + 2*x[4] + 3*x[5] + 4*x[8] + 4*x[10] + 2*x[11] + 3*x[12] + 5*x[13] + 4*x[14] + 3*x[20] + 4*x[25] = 580 +2*x[0] + 2*x[2] + 3*x[10] + 1*x[12] + 2*x[15] + 5*x[16] + 1*x[21] + 5*x[22] + 5*x[23] + 4*x[25] = 411 +4*x[1] + 2*x[2] + 4*x[3] + 4*x[5] + 2*x[7] + 5*x[11] + 5*x[13] + 3*x[15] + 3*x[17] + 4*x[19] + 2*x[21] + 4*x[24] = 638 +3*x[4] + 2*x[6] + 1*x[7] + 1*x[8] + 1*x[9] + 1*x[10] + 4*x[14] + 4*x[16] + 2*x[20] + 3*x[21] + 2*x[25] = 256 +4*x[1] + 1*x[3] + 3*x[5] + 3*x[6] + 1*x[7] + 5*x[8] + 5*x[10] + 4*x[12] + 2*x[13] + 4*x[16] + 4*x[17] + 4*x[23] + 2*x[24] = 564 +3*x[0] + 1*x[1] + 4*x[4] + 1*x[5] + 5*x[6] + 5*x[8] + 1*x[9] + 5*x[11] + 1*x[14] + 5*x[16] + 2*x[18] + 1*x[19] + 5*x[20] + 5*x[21] + 4*x[22] + 1*x[23] + 1*x[24] = 685 +4*x[1] + 5*x[3] + 5*x[5] + 1*x[8] + 5*x[12] + 2*x[16] + 5*x[17] + 3*x[19] + 1*x[22] + 1*x[24] = 464 +1*x[2] + 2*x[4] + 1*x[5] + 5*x[6] + 4*x[7] + 2*x[8] + 2*x[9] + 4*x[18] + 2*x[19] + 2*x[20] + 2*x[21] + 2*x[22] + 3*x[23] + 3*x[25] = 498 +1*x[1] + 3*x[2] + 5*x[3] + 3*x[4] + 5*x[11] + 5*x[12] + 5*x[15] + 2*x[17] + 1*x[20] + 4*x[23] = 468 +4*x[1] + 4*x[3] + 4*x[4] + 2*x[6] + 1*x[8] + 5*x[10] + 3*x[11] + 5*x[13] + 2*x[14] + 4*x[16] + 4*x[17] + 5*x[18] + 1*x[23] + 2*x[25] = 624 +4*x[1] + 5*x[3] + 1*x[4] + 2*x[8] + 2*x[12] + 5*x[14] + 4*x[15] + 2*x[18] + 5*x[20] + 5*x[22] + 4*x[23] = 461 +4*x[0] + 5*x[4] + 1*x[5] + 4*x[6] + 4*x[9] + 3*x[11] + 2*x[12] + 2*x[13] + 1*x[15] + 3*x[17] + 3*x[18] + 4*x[22] + 4*x[24] = 696 +4*x[3] + 5*x[4] + 1*x[5] + 1*x[6] + 4*x[7] + 5*x[8] + 5*x[10] + 5*x[11] + 1*x[12] + 3*x[16] + 5*x[17] + 1*x[18] + 3*x[19] + 5*x[21] + 1*x[22] + 4*x[23] = 743 +1*x[0] + 3*x[3] + 4*x[4] + 4*x[9] + 1*x[11] + 1*x[13] + 4*x[14] + 3*x[15] + 1*x[18] + 1*x[19] + 1*x[24] = 271 +3*x[2] + 5*x[4] + 3*x[5] + 5*x[7] + 1*x[10] + 1*x[12] + 4*x[14] + 1*x[16] + 5*x[22] + 3*x[23] + 3*x[25] = 544 + +Answer format: {"x": [x_0, ..., x_25]} (integers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-integer-linear-system-l6-s3/task.toml b/tasks/construct-rlve-integer-linear-system-l6-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..a00dc7351314aa167465405dc623f5e8396aaad7 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-integer-linear-system-l6-s3" +version = "0.2.0" +description = "construct/rlve_integer_linear_system" +authors = [] +keywords = ["rlmath", "construct", "rlve_integer_linear_system"] + +[metadata] +subset = "construct" +family = "rlve_integer_linear_system" +problem_key = "integer_linear_system" +domain = "algebra" +tier = "competition" +level = "6" +source = "RLVE-Gym/gaussian_elimination" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-integer-linear-system-l6-s4/environment/Dockerfile b/tasks/construct-rlve-integer-linear-system-l6-s4/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s4/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-integer-linear-system-l6-s4/environment/instance.json b/tasks/construct-rlve-integer-linear-system-l6-s4/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e38dcdf9fb8786376c836100ff5bde93560514ed --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s4/environment/instance.json @@ -0,0 +1 @@ +{"coeffs": [[2, 5, 1, 3, 4, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 1, 0, 3, 0, 0, 0, 2, 3, 5, 0, 0], [2, 5, 0, 4, 3, 0, 0, 3, 0, 3, 4, 0, 2, 0, 2, 5, 4, 0, 0, 0, 0, 3, 3, 0, 0, 0], [4, 5, 5, 0, 3, 0, 0, 0, 0, 0, 3, 4, 3, 3, 3, 0, 5, 0, 0, 4, 1, 0, 0, 0, 3, 3], [0, 0, 2, 2, 5, 0, 0, 2, 0, 4, 0, 0, 0, 2, 2, 1, 2, 0, 2, 3, 0, 0, 0, 0, 1, 0], [2, 5, 0, 1, 5, 0, 0, 0, 2, 0, 1, 4, 0, 2, 5, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], [0, 0, 5, 1, 3, 3, 4, 5, 5, 0, 0, 2, 1, 0, 4, 0, 4, 5, 0, 0, 1, 0, 4, 0, 4, 4], [3, 0, 4, 5, 0, 0, 0, 0, 2, 3, 0, 1, 0, 0, 0, 3, 2, 0, 0, 0, 5, 0, 5, 0, 0, 3], [1, 1, 0, 0, 0, 1, 0, 3, 0, 0, 2, 3, 0, 0, 2, 0, 3, 0, 5, 0, 0, 0, 0, 0, 0, 2], [0, 3, 2, 0, 2, 5, 0, 0, 1, 0, 0, 1, 0, 0, 2, 0, 0, 2, 0, 0, 2, 0, 1, 0, 3, 0], [5, 2, 0, 2, 4, 0, 4, 3, 1, 0, 0, 1, 0, 2, 0, 0, 0, 0, 2, 0, 3, 2, 0, 0, 1, 3], [0, 4, 0, 2, 1, 4, 0, 2, 0, 1, 0, 3, 0, 0, 2, 4, 0, 5, 5, 0, 4, 2, 0, 0, 5, 0], [3, 0, 0, 5, 0, 1, 1, 2, 2, 4, 4, 0, 5, 0, 0, 0, 0, 5, 4, 4, 4, 0, 0, 0, 3, 0], [0, 1, 0, 0, 0, 0, 0, 0, 5, 0, 3, 0, 0, 5, 0, 4, 4, 0, 5, 4, 1, 3, 0, 0, 5, 0], [4, 0, 2, 0, 0, 1, 0, 0, 0, 1, 0, 4, 2, 3, 2, 0, 5, 0, 1, 0, 0, 0, 0, 1, 2, 5], [2, 1, 0, 3, 0, 0, 3, 3, 2, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 5, 1, 0, 0, 0, 0, 1], [0, 0, 0, 4, 4, 0, 1, 5, 0, 5, 5, 1, 0, 4, 0, 0, 0, 0, 0, 0, 3, 3, 2, 0, 4, 0], [5, 0, 4, 0, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 5, 3, 5, 0, 3, 0, 0, 0, 0], [4, 0, 0, 0, 4, 0, 4, 2, 2, 0, 0, 0, 2, 2, 1, 5, 0, 1, 0, 1, 0, 5, 4, 3, 0, 0], [0, 1, 3, 0, 0, 0, 3, 4, 1, 0, 0, 2, 0, 5, 0, 0, 0, 5, 0, 4, 0, 0, 0, 0, 3, 5], [1, 5, 2, 0, 1, 0, 0, 2, 0, 2, 2, 1, 0, 4, 4, 0, 0, 0, 0, 4, 3, 4, 4, 0, 4, 3], [4, 0, 4, 5, 0, 1, 4, 0, 0, 0, 0, 0, 0, 1, 0, 1, 5, 0, 0, 5, 0, 3, 5, 0, 0, 3], [2, 4, 0, 0, 0, 3, 0, 5, 1, 5, 3, 0, 5, 4, 0, 0, 0, 5, 0, 0, 5, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 5, 0], [0, 4, 2, 0, 3, 5, 0, 0, 2, 0, 1, 0, 4, 3, 4, 4, 0, 0, 0, 0, 2, 2, 1, 0, 2, 1], [2, 5, 0, 0, 0, 0, 0, 4, 0, 3, 0, 0, 2, 1, 3, 0, 5, 0, 2, 3, 1, 0, 0, 0, 3, 5], [2, 0, 0, 0, 0, 0, 5, 2, 0, 3, 0, 0, 3, 3, 5, 0, 3, 5, 5, 4, 1, 5, 4, 5, 0, 5], [4, 0, 5, 0, 1, 5, 2, 0, 0, 2, 5, 3, 0, 0, 3, 0, 3, 2, 0, 0, 1, 0, 5, 3, 0, 0], [0, 2, 3, 1, 0, 3, 0, 1, 1, 0, 5, 5, 0, 0, 0, 0, 0, 5, 0, 3, 4, 0, 0, 5, 4, 0], [5, 2, 0, 4, 0, 5, 0, 0, 0, 0, 2, 5, 0, 0, 2, 1, 5, 0, 0, 0, 0, 1, 0, 1, 0, 5], [0, 2, 2, 1, 0, 0, 0, 2, 3, 0, 1, 1, 3, 1, 0, 0, 0, 0, 0, 0, 1, 0, 5, 0, 2, 0], [0, 4, 0, 0, 4, 0, 5, 4, 2, 0, 5, 0, 3, 3, 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 5], [5, 3, 0, 0, 1, 0, 5, 2, 0, 1, 2, 0, 0, 2, 1, 1, 0, 0, 4, 0, 5, 0, 2, 0, 0, 3], [0, 2, 0, 5, 4, 2, 2, 0, 4, 0, 0, 0, 5, 0, 0, 0, 0, 0, 5, 1, 5, 0, 2, 2, 3, 0], [0, 0, 0, 0, 0, 0, 4, 2, 0, 0, 1, 0, 0, 5, 3, 0, 0, 1, 5, 0, 0, 0, 0, 0, 3, 0], [0, 3, 1, 0, 0, 0, 1, 0, 0, 0, 4, 2, 0, 1, 3, 3, 5, 1, 3, 4, 2, 2, 0, 5, 0, 5], [0, 0, 5, 0, 1, 4, 0, 4, 0, 3, 5, 0, 0, 1, 4, 3, 1, 5, 0, 3, 5, 3, 0, 5, 4, 3], [0, 1, 3, 3, 0, 5, 5, 5, 1, 1, 4, 0, 0, 5, 5, 4, 4, 0, 0, 0, 0, 4, 4, 5, 1, 2], [5, 0, 2, 2, 4, 4, 0, 0, 4, 3, 5, 5, 5, 1, 0, 4, 1, 0, 5, 0, 0, 5, 4, 4, 0, 0], [2, 0, 0, 4, 1, 0, 3, 0, 4, 0, 2, 0, 5, 0, 3, 4, 4, 5, 0, 5, 2, 3, 0, 0, 0, 0], [3, 5, 1, 5, 0, 2, 0, 0, 0, 0, 0, 4, 5, 0, 0, 2, 0, 5, 0, 3, 1, 2, 4, 0, 0, 0], [3, 3, 5, 1, 0, 3, 0, 0, 1, 0, 0, 3, 3, 2, 5, 4, 5, 3, 1, 5, 3, 0, 1, 0, 0, 0], [0, 4, 4, 0, 1, 3, 0, 4, 0, 0, 4, 0, 2, 0, 0, 1, 2, 4, 4, 0, 3, 0, 0, 0, 0, 2], [0, 3, 3, 5, 2, 0, 5, 1, 4, 3, 0, 2, 1, 0, 1, 1, 1, 2, 5, 3, 0, 4, 0, 0, 3, 0], [4, 4, 0, 0, 1, 0, 0, 3, 0, 0, 0, 5, 5, 1, 0, 5, 1, 0, 1, 0, 0, 0, 5, 1, 5, 3], [0, 0, 0, 4, 3, 3, 0, 0, 0, 3, 3, 4, 1, 0, 2, 1, 0, 0, 1, 4, 3, 4, 0, 0, 0, 2], [0, 2, 0, 0, 4, 5, 0, 1, 2, 5, 4, 3, 0, 0, 0, 0, 4, 2, 0, 4, 2, 4, 1, 3, 0, 2], [5, 0, 5, 3, 0, 4, 0, 0, 5, 3, 5, 3, 3, 0, 0, 0, 0, 2, 5, 2, 0, 5, 1, 1, 0, 3], [4, 2, 3, 0, 5, 0, 1, 4, 3, 2, 2, 0, 3, 0, 0, 1, 2, 3, 0, 2, 0, 5, 3, 0, 0, 0], [1, 0, 2, 4, 2, 4, 0, 0, 1, 0, 0, 3, 0, 0, 0, 0, 2, 5, 2, 0, 0, 0, 0, 5, 5, 0], [0, 0, 0, 5, 4, 5, 0, 2, 4, 3, 0, 4, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 5, 0], [0, 0, 0, 0, 2, 5, 0, 1, 0, 0, 4, 0, 0, 0, 5, 0, 1, 0, 0, 0, 0, 5, 2, 0, 0, 2], [3, 0, 0, 0, 0, 0, 5, 3, 0, 0, 0, 2, 0, 0, 4, 0, 3, 0, 4, 4, 2, 4, 1, 0, 3, 0], [4, 0, 5, 4, 0, 0, 4, 4, 1, 3, 2, 5, 0, 2, 5, 5, 0, 3, 4, 5, 0, 0, 5, 3, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 1, 0, 1, 1, 0, 0, 0, 5, 0, 5, 0, 0, 0, 0, 0], [3, 4, 0, 4, 2, 0, 3, 3, 5, 1, 0, 1, 0, 0, 4, 0, 1, 0, 5, 0, 0, 0, 2, 4, 0, 2], [5, 0, 0, 0, 0, 0, 0, 3, 3, 3, 1, 1, 0, 0, 3, 5, 0, 0, 0, 0, 5, 0, 0, 0, 0, 4], [4, 3, 0, 1, 2, 0, 0, 0, 0, 0, 5, 2, 5, 0, 0, 3, 0, 2, 5, 5, 0, 4, 4, 0, 4, 0]], "rhs": [358, 556, 571, 406, 251, 691, 468, 203, 242, 380, 422, 605, 418, 346, 343, 620, 456, 493, 429, 574, 699, 419, 155, 385, 421, 740, 565, 474, 420, 300, 446, 335, 477, 253, 456, 698, 813, 728, 628, 537, 573, 348, 725, 444, 559, 622, 680, 601, 430, 497, 356, 554, 837, 74, 433, 249, 605], "family": "rlve_integer_linear_system", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-integer-linear-system-l6-s4/instruction.md b/tasks/construct-rlve-integer-linear-system-l6-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..d8d3a9bc27154169036d6f03fcd45efaabc907d5 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s4/instruction.md @@ -0,0 +1,62 @@ +Find integers x[0], ..., x[25] satisfying all of the following 57 equations: +2*x[0] + 5*x[1] + 1*x[2] + 3*x[3] + 4*x[4] + 4*x[10] + 1*x[15] + 3*x[17] + 2*x[21] + 3*x[22] + 5*x[23] = 358 +2*x[0] + 5*x[1] + 4*x[3] + 3*x[4] + 3*x[7] + 3*x[9] + 4*x[10] + 2*x[12] + 2*x[14] + 5*x[15] + 4*x[16] + 3*x[21] + 3*x[22] = 556 +4*x[0] + 5*x[1] + 5*x[2] + 3*x[4] + 3*x[10] + 4*x[11] + 3*x[12] + 3*x[13] + 3*x[14] + 5*x[16] + 4*x[19] + 1*x[20] + 3*x[24] + 3*x[25] = 571 +2*x[2] + 2*x[3] + 5*x[4] + 2*x[7] + 4*x[9] + 2*x[13] + 2*x[14] + 1*x[15] + 2*x[16] + 2*x[18] + 3*x[19] + 1*x[24] = 406 +2*x[0] + 5*x[1] + 1*x[3] + 5*x[4] + 2*x[8] + 1*x[10] + 4*x[11] + 2*x[13] + 5*x[14] + 1*x[19] + 1*x[25] = 251 +5*x[2] + 1*x[3] + 3*x[4] + 3*x[5] + 4*x[6] + 5*x[7] + 5*x[8] + 2*x[11] + 1*x[12] + 4*x[14] + 4*x[16] + 5*x[17] + 1*x[20] + 4*x[22] + 4*x[24] + 4*x[25] = 691 +3*x[0] + 4*x[2] + 5*x[3] + 2*x[8] + 3*x[9] + 1*x[11] + 3*x[15] + 2*x[16] + 5*x[20] + 5*x[22] + 3*x[25] = 468 +1*x[0] + 1*x[1] + 1*x[5] + 3*x[7] + 2*x[10] + 3*x[11] + 2*x[14] + 3*x[16] + 5*x[18] + 2*x[25] = 203 +3*x[1] + 2*x[2] + 2*x[4] + 5*x[5] + 1*x[8] + 1*x[11] + 2*x[14] + 2*x[17] + 2*x[20] + 1*x[22] + 3*x[24] = 242 +5*x[0] + 2*x[1] + 2*x[3] + 4*x[4] + 4*x[6] + 3*x[7] + 1*x[8] + 1*x[11] + 2*x[13] + 2*x[18] + 3*x[20] + 2*x[21] + 1*x[24] + 3*x[25] = 380 +4*x[1] + 2*x[3] + 1*x[4] + 4*x[5] + 2*x[7] + 1*x[9] + 3*x[11] + 2*x[14] + 4*x[15] + 5*x[17] + 5*x[18] + 4*x[20] + 2*x[21] + 5*x[24] = 422 +3*x[0] + 5*x[3] + 1*x[5] + 1*x[6] + 2*x[7] + 2*x[8] + 4*x[9] + 4*x[10] + 5*x[12] + 5*x[17] + 4*x[18] + 4*x[19] + 4*x[20] + 3*x[24] = 605 +1*x[1] + 5*x[8] + 3*x[10] + 5*x[13] + 4*x[15] + 4*x[16] + 5*x[18] + 4*x[19] + 1*x[20] + 3*x[21] + 5*x[24] = 418 +4*x[0] + 2*x[2] + 1*x[5] + 1*x[9] + 4*x[11] + 2*x[12] + 3*x[13] + 2*x[14] + 5*x[16] + 1*x[18] + 1*x[23] + 2*x[24] + 5*x[25] = 346 +2*x[0] + 1*x[1] + 3*x[3] + 3*x[6] + 3*x[7] + 2*x[8] + 5*x[15] + 5*x[19] + 1*x[20] + 1*x[25] = 343 +4*x[3] + 4*x[4] + 1*x[6] + 5*x[7] + 5*x[9] + 5*x[10] + 1*x[11] + 4*x[13] + 3*x[20] + 3*x[21] + 2*x[22] + 4*x[24] = 620 +5*x[0] + 4*x[2] + 3*x[4] + 2*x[5] + 4*x[15] + 4*x[16] + 5*x[17] + 3*x[18] + 5*x[19] + 3*x[21] = 456 +4*x[0] + 4*x[4] + 4*x[6] + 2*x[7] + 2*x[8] + 2*x[12] + 2*x[13] + 1*x[14] + 5*x[15] + 1*x[17] + 1*x[19] + 5*x[21] + 4*x[22] + 3*x[23] = 493 +1*x[1] + 3*x[2] + 3*x[6] + 4*x[7] + 1*x[8] + 2*x[11] + 5*x[13] + 5*x[17] + 4*x[19] + 3*x[24] + 5*x[25] = 429 +1*x[0] + 5*x[1] + 2*x[2] + 1*x[4] + 2*x[7] + 2*x[9] + 2*x[10] + 1*x[11] + 4*x[13] + 4*x[14] + 4*x[19] + 3*x[20] + 4*x[21] + 4*x[22] + 4*x[24] + 3*x[25] = 574 +4*x[0] + 4*x[2] + 5*x[3] + 1*x[5] + 4*x[6] + 1*x[13] + 1*x[15] + 5*x[16] + 5*x[19] + 3*x[21] + 5*x[22] + 3*x[25] = 699 +2*x[0] + 4*x[1] + 3*x[5] + 5*x[7] + 1*x[8] + 5*x[9] + 3*x[10] + 5*x[12] + 4*x[13] + 5*x[17] + 5*x[20] + 1*x[22] = 419 +1*x[6] + 1*x[9] + 5*x[20] + 5*x[24] = 155 +4*x[1] + 2*x[2] + 3*x[4] + 5*x[5] + 2*x[8] + 1*x[10] + 4*x[12] + 3*x[13] + 4*x[14] + 4*x[15] + 2*x[20] + 2*x[21] + 1*x[22] + 2*x[24] + 1*x[25] = 385 +2*x[0] + 5*x[1] + 4*x[7] + 3*x[9] + 2*x[12] + 1*x[13] + 3*x[14] + 5*x[16] + 2*x[18] + 3*x[19] + 1*x[20] + 3*x[24] + 5*x[25] = 421 +2*x[0] + 5*x[6] + 2*x[7] + 3*x[9] + 3*x[12] + 3*x[13] + 5*x[14] + 3*x[16] + 5*x[17] + 5*x[18] + 4*x[19] + 1*x[20] + 5*x[21] + 4*x[22] + 5*x[23] + 5*x[25] = 740 +4*x[0] + 5*x[2] + 1*x[4] + 5*x[5] + 2*x[6] + 2*x[9] + 5*x[10] + 3*x[11] + 3*x[14] + 3*x[16] + 2*x[17] + 1*x[20] + 5*x[22] + 3*x[23] = 565 +2*x[1] + 3*x[2] + 1*x[3] + 3*x[5] + 1*x[7] + 1*x[8] + 5*x[10] + 5*x[11] + 5*x[17] + 3*x[19] + 4*x[20] + 5*x[23] + 4*x[24] = 474 +5*x[0] + 2*x[1] + 4*x[3] + 5*x[5] + 2*x[10] + 5*x[11] + 2*x[14] + 1*x[15] + 5*x[16] + 1*x[21] + 1*x[23] + 5*x[25] = 420 +2*x[1] + 2*x[2] + 1*x[3] + 2*x[7] + 3*x[8] + 1*x[10] + 1*x[11] + 3*x[12] + 1*x[13] + 1*x[20] + 5*x[22] + 2*x[24] = 300 +4*x[1] + 4*x[4] + 5*x[6] + 4*x[7] + 2*x[8] + 5*x[10] + 3*x[12] + 3*x[13] + 5*x[14] + 1*x[22] + 1*x[24] + 5*x[25] = 446 +5*x[0] + 3*x[1] + 1*x[4] + 5*x[6] + 2*x[7] + 1*x[9] + 2*x[10] + 2*x[13] + 1*x[14] + 1*x[15] + 4*x[18] + 5*x[20] + 2*x[22] + 3*x[25] = 335 +2*x[1] + 5*x[3] + 4*x[4] + 2*x[5] + 2*x[6] + 4*x[8] + 5*x[12] + 5*x[18] + 1*x[19] + 5*x[20] + 2*x[22] + 2*x[23] + 3*x[24] = 477 +4*x[6] + 2*x[7] + 1*x[10] + 5*x[13] + 3*x[14] + 1*x[17] + 5*x[18] + 3*x[24] = 253 +3*x[1] + 1*x[2] + 1*x[6] + 4*x[10] + 2*x[11] + 1*x[13] + 3*x[14] + 3*x[15] + 5*x[16] + 1*x[17] + 3*x[18] + 4*x[19] + 2*x[20] + 2*x[21] + 5*x[23] + 5*x[25] = 456 +5*x[2] + 1*x[4] + 4*x[5] + 4*x[7] + 3*x[9] + 5*x[10] + 1*x[13] + 4*x[14] + 3*x[15] + 1*x[16] + 5*x[17] + 3*x[19] + 5*x[20] + 3*x[21] + 5*x[23] + 4*x[24] + 3*x[25] = 698 +1*x[1] + 3*x[2] + 3*x[3] + 5*x[5] + 5*x[6] + 5*x[7] + 1*x[8] + 1*x[9] + 4*x[10] + 5*x[13] + 5*x[14] + 4*x[15] + 4*x[16] + 4*x[21] + 4*x[22] + 5*x[23] + 1*x[24] + 2*x[25] = 813 +5*x[0] + 2*x[2] + 2*x[3] + 4*x[4] + 4*x[5] + 4*x[8] + 3*x[9] + 5*x[10] + 5*x[11] + 5*x[12] + 1*x[13] + 4*x[15] + 1*x[16] + 5*x[18] + 5*x[21] + 4*x[22] + 4*x[23] = 728 +2*x[0] + 4*x[3] + 1*x[4] + 3*x[6] + 4*x[8] + 2*x[10] + 5*x[12] + 3*x[14] + 4*x[15] + 4*x[16] + 5*x[17] + 5*x[19] + 2*x[20] + 3*x[21] = 628 +3*x[0] + 5*x[1] + 1*x[2] + 5*x[3] + 2*x[5] + 4*x[11] + 5*x[12] + 2*x[15] + 5*x[17] + 3*x[19] + 1*x[20] + 2*x[21] + 4*x[22] = 537 +3*x[0] + 3*x[1] + 5*x[2] + 1*x[3] + 3*x[5] + 1*x[8] + 3*x[11] + 3*x[12] + 2*x[13] + 5*x[14] + 4*x[15] + 5*x[16] + 3*x[17] + 1*x[18] + 5*x[19] + 3*x[20] + 1*x[22] = 573 +4*x[1] + 4*x[2] + 1*x[4] + 3*x[5] + 4*x[7] + 4*x[10] + 2*x[12] + 1*x[15] + 2*x[16] + 4*x[17] + 4*x[18] + 3*x[20] + 2*x[25] = 348 +3*x[1] + 3*x[2] + 5*x[3] + 2*x[4] + 5*x[6] + 1*x[7] + 4*x[8] + 3*x[9] + 2*x[11] + 1*x[12] + 1*x[14] + 1*x[15] + 1*x[16] + 2*x[17] + 5*x[18] + 3*x[19] + 4*x[21] + 3*x[24] = 725 +4*x[0] + 4*x[1] + 1*x[4] + 3*x[7] + 5*x[11] + 5*x[12] + 1*x[13] + 5*x[15] + 1*x[16] + 1*x[18] + 5*x[22] + 1*x[23] + 5*x[24] + 3*x[25] = 444 +4*x[3] + 3*x[4] + 3*x[5] + 3*x[9] + 3*x[10] + 4*x[11] + 1*x[12] + 2*x[14] + 1*x[15] + 1*x[18] + 4*x[19] + 3*x[20] + 4*x[21] + 2*x[25] = 559 +2*x[1] + 4*x[4] + 5*x[5] + 1*x[7] + 2*x[8] + 5*x[9] + 4*x[10] + 3*x[11] + 4*x[16] + 2*x[17] + 4*x[19] + 2*x[20] + 4*x[21] + 1*x[22] + 3*x[23] + 2*x[25] = 622 +5*x[0] + 5*x[2] + 3*x[3] + 4*x[5] + 5*x[8] + 3*x[9] + 5*x[10] + 3*x[11] + 3*x[12] + 2*x[17] + 5*x[18] + 2*x[19] + 5*x[21] + 1*x[22] + 1*x[23] + 3*x[25] = 680 +4*x[0] + 2*x[1] + 3*x[2] + 5*x[4] + 1*x[6] + 4*x[7] + 3*x[8] + 2*x[9] + 2*x[10] + 3*x[12] + 1*x[15] + 2*x[16] + 3*x[17] + 2*x[19] + 5*x[21] + 3*x[22] = 601 +1*x[0] + 2*x[2] + 4*x[3] + 2*x[4] + 4*x[5] + 1*x[8] + 3*x[11] + 2*x[16] + 5*x[17] + 2*x[18] + 5*x[23] + 5*x[24] = 430 +5*x[3] + 4*x[4] + 5*x[5] + 2*x[7] + 4*x[8] + 3*x[9] + 4*x[11] + 5*x[17] + 5*x[18] + 5*x[24] = 497 +2*x[4] + 5*x[5] + 1*x[7] + 4*x[10] + 5*x[14] + 1*x[16] + 5*x[21] + 2*x[22] + 2*x[25] = 356 +3*x[0] + 5*x[6] + 3*x[7] + 2*x[11] + 4*x[14] + 3*x[16] + 4*x[18] + 4*x[19] + 2*x[20] + 4*x[21] + 1*x[22] + 3*x[24] = 554 +4*x[0] + 5*x[2] + 4*x[3] + 4*x[6] + 4*x[7] + 1*x[8] + 3*x[9] + 2*x[10] + 5*x[11] + 2*x[13] + 5*x[14] + 5*x[15] + 3*x[17] + 4*x[18] + 5*x[19] + 5*x[22] + 3*x[23] = 837 +4*x[8] + 1*x[11] + 1*x[13] + 1*x[14] + 5*x[18] + 5*x[20] = 74 +3*x[0] + 4*x[1] + 4*x[3] + 2*x[4] + 3*x[6] + 3*x[7] + 5*x[8] + 1*x[9] + 1*x[11] + 4*x[14] + 1*x[16] + 5*x[18] + 2*x[22] + 4*x[23] + 2*x[25] = 433 +5*x[0] + 3*x[7] + 3*x[8] + 3*x[9] + 1*x[10] + 1*x[11] + 3*x[14] + 5*x[15] + 5*x[20] + 4*x[25] = 249 +4*x[0] + 3*x[1] + 1*x[3] + 2*x[4] + 5*x[10] + 2*x[11] + 5*x[12] + 3*x[15] + 2*x[17] + 5*x[18] + 5*x[19] + 4*x[21] + 4*x[22] + 4*x[24] = 605 + +Answer format: {"x": [x_0, ..., x_25]} (integers) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-integer-linear-system-l6-s4/solution/solve.sh b/tasks/construct-rlve-integer-linear-system-l6-s4/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..db7a3aa6455a7c1e2f1fa5a26fc3a1154ee54ca5 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s4/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": [5, 2, 20, 25, 11, 10, 24, 13, 3, 21, 12, 13, 14, 5, 9, 4, 16, 6, 2, 22, 5, 24, 17, 6, 17, 4]} +RLMATH_EOF diff --git a/tasks/construct-rlve-integer-linear-system-l6-s4/task.toml b/tasks/construct-rlve-integer-linear-system-l6-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..43543726693d30d7ab6add52e17aa16257134345 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-integer-linear-system-l6-s4" +version = "0.2.0" +description = "construct/rlve_integer_linear_system" +authors = [] +keywords = ["rlmath", "construct", "rlve_integer_linear_system"] + +[metadata] +subset = "construct" +family = "rlve_integer_linear_system" +problem_key = "integer_linear_system" +domain = "algebra" +tier = "competition" +level = "6" +source = "RLVE-Gym/gaussian_elimination" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-integer-linear-system-l6-s4/tests/check.py b/tasks/construct-rlve-integer-linear-system-l6-s4/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..ff19002b3fddc9597f84ee31ef5ffbee5d3fac32 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s4/tests/check.py @@ -0,0 +1,10 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n = len(inst["coeffs"][0]) + x = int_list(ans.get("x"), n, name="x") + for k, (e, r) in enumerate(zip(inst["coeffs"], inst["rhs"])): + if sum(c * v for c, v in zip(e, x)) != r: + raise Invalid(f"equation {k} is violated") + return None, {} diff --git a/tasks/construct-rlve-integer-linear-system-l6-s4/tests/instance.json b/tasks/construct-rlve-integer-linear-system-l6-s4/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e38dcdf9fb8786376c836100ff5bde93560514ed --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s4/tests/instance.json @@ -0,0 +1 @@ +{"coeffs": [[2, 5, 1, 3, 4, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 1, 0, 3, 0, 0, 0, 2, 3, 5, 0, 0], [2, 5, 0, 4, 3, 0, 0, 3, 0, 3, 4, 0, 2, 0, 2, 5, 4, 0, 0, 0, 0, 3, 3, 0, 0, 0], [4, 5, 5, 0, 3, 0, 0, 0, 0, 0, 3, 4, 3, 3, 3, 0, 5, 0, 0, 4, 1, 0, 0, 0, 3, 3], [0, 0, 2, 2, 5, 0, 0, 2, 0, 4, 0, 0, 0, 2, 2, 1, 2, 0, 2, 3, 0, 0, 0, 0, 1, 0], [2, 5, 0, 1, 5, 0, 0, 0, 2, 0, 1, 4, 0, 2, 5, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], [0, 0, 5, 1, 3, 3, 4, 5, 5, 0, 0, 2, 1, 0, 4, 0, 4, 5, 0, 0, 1, 0, 4, 0, 4, 4], [3, 0, 4, 5, 0, 0, 0, 0, 2, 3, 0, 1, 0, 0, 0, 3, 2, 0, 0, 0, 5, 0, 5, 0, 0, 3], [1, 1, 0, 0, 0, 1, 0, 3, 0, 0, 2, 3, 0, 0, 2, 0, 3, 0, 5, 0, 0, 0, 0, 0, 0, 2], [0, 3, 2, 0, 2, 5, 0, 0, 1, 0, 0, 1, 0, 0, 2, 0, 0, 2, 0, 0, 2, 0, 1, 0, 3, 0], [5, 2, 0, 2, 4, 0, 4, 3, 1, 0, 0, 1, 0, 2, 0, 0, 0, 0, 2, 0, 3, 2, 0, 0, 1, 3], [0, 4, 0, 2, 1, 4, 0, 2, 0, 1, 0, 3, 0, 0, 2, 4, 0, 5, 5, 0, 4, 2, 0, 0, 5, 0], [3, 0, 0, 5, 0, 1, 1, 2, 2, 4, 4, 0, 5, 0, 0, 0, 0, 5, 4, 4, 4, 0, 0, 0, 3, 0], [0, 1, 0, 0, 0, 0, 0, 0, 5, 0, 3, 0, 0, 5, 0, 4, 4, 0, 5, 4, 1, 3, 0, 0, 5, 0], [4, 0, 2, 0, 0, 1, 0, 0, 0, 1, 0, 4, 2, 3, 2, 0, 5, 0, 1, 0, 0, 0, 0, 1, 2, 5], [2, 1, 0, 3, 0, 0, 3, 3, 2, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 5, 1, 0, 0, 0, 0, 1], [0, 0, 0, 4, 4, 0, 1, 5, 0, 5, 5, 1, 0, 4, 0, 0, 0, 0, 0, 0, 3, 3, 2, 0, 4, 0], [5, 0, 4, 0, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 5, 3, 5, 0, 3, 0, 0, 0, 0], [4, 0, 0, 0, 4, 0, 4, 2, 2, 0, 0, 0, 2, 2, 1, 5, 0, 1, 0, 1, 0, 5, 4, 3, 0, 0], [0, 1, 3, 0, 0, 0, 3, 4, 1, 0, 0, 2, 0, 5, 0, 0, 0, 5, 0, 4, 0, 0, 0, 0, 3, 5], [1, 5, 2, 0, 1, 0, 0, 2, 0, 2, 2, 1, 0, 4, 4, 0, 0, 0, 0, 4, 3, 4, 4, 0, 4, 3], [4, 0, 4, 5, 0, 1, 4, 0, 0, 0, 0, 0, 0, 1, 0, 1, 5, 0, 0, 5, 0, 3, 5, 0, 0, 3], [2, 4, 0, 0, 0, 3, 0, 5, 1, 5, 3, 0, 5, 4, 0, 0, 0, 5, 0, 0, 5, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 5, 0], [0, 4, 2, 0, 3, 5, 0, 0, 2, 0, 1, 0, 4, 3, 4, 4, 0, 0, 0, 0, 2, 2, 1, 0, 2, 1], [2, 5, 0, 0, 0, 0, 0, 4, 0, 3, 0, 0, 2, 1, 3, 0, 5, 0, 2, 3, 1, 0, 0, 0, 3, 5], [2, 0, 0, 0, 0, 0, 5, 2, 0, 3, 0, 0, 3, 3, 5, 0, 3, 5, 5, 4, 1, 5, 4, 5, 0, 5], [4, 0, 5, 0, 1, 5, 2, 0, 0, 2, 5, 3, 0, 0, 3, 0, 3, 2, 0, 0, 1, 0, 5, 3, 0, 0], [0, 2, 3, 1, 0, 3, 0, 1, 1, 0, 5, 5, 0, 0, 0, 0, 0, 5, 0, 3, 4, 0, 0, 5, 4, 0], [5, 2, 0, 4, 0, 5, 0, 0, 0, 0, 2, 5, 0, 0, 2, 1, 5, 0, 0, 0, 0, 1, 0, 1, 0, 5], [0, 2, 2, 1, 0, 0, 0, 2, 3, 0, 1, 1, 3, 1, 0, 0, 0, 0, 0, 0, 1, 0, 5, 0, 2, 0], [0, 4, 0, 0, 4, 0, 5, 4, 2, 0, 5, 0, 3, 3, 5, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 5], [5, 3, 0, 0, 1, 0, 5, 2, 0, 1, 2, 0, 0, 2, 1, 1, 0, 0, 4, 0, 5, 0, 2, 0, 0, 3], [0, 2, 0, 5, 4, 2, 2, 0, 4, 0, 0, 0, 5, 0, 0, 0, 0, 0, 5, 1, 5, 0, 2, 2, 3, 0], [0, 0, 0, 0, 0, 0, 4, 2, 0, 0, 1, 0, 0, 5, 3, 0, 0, 1, 5, 0, 0, 0, 0, 0, 3, 0], [0, 3, 1, 0, 0, 0, 1, 0, 0, 0, 4, 2, 0, 1, 3, 3, 5, 1, 3, 4, 2, 2, 0, 5, 0, 5], [0, 0, 5, 0, 1, 4, 0, 4, 0, 3, 5, 0, 0, 1, 4, 3, 1, 5, 0, 3, 5, 3, 0, 5, 4, 3], [0, 1, 3, 3, 0, 5, 5, 5, 1, 1, 4, 0, 0, 5, 5, 4, 4, 0, 0, 0, 0, 4, 4, 5, 1, 2], [5, 0, 2, 2, 4, 4, 0, 0, 4, 3, 5, 5, 5, 1, 0, 4, 1, 0, 5, 0, 0, 5, 4, 4, 0, 0], [2, 0, 0, 4, 1, 0, 3, 0, 4, 0, 2, 0, 5, 0, 3, 4, 4, 5, 0, 5, 2, 3, 0, 0, 0, 0], [3, 5, 1, 5, 0, 2, 0, 0, 0, 0, 0, 4, 5, 0, 0, 2, 0, 5, 0, 3, 1, 2, 4, 0, 0, 0], [3, 3, 5, 1, 0, 3, 0, 0, 1, 0, 0, 3, 3, 2, 5, 4, 5, 3, 1, 5, 3, 0, 1, 0, 0, 0], [0, 4, 4, 0, 1, 3, 0, 4, 0, 0, 4, 0, 2, 0, 0, 1, 2, 4, 4, 0, 3, 0, 0, 0, 0, 2], [0, 3, 3, 5, 2, 0, 5, 1, 4, 3, 0, 2, 1, 0, 1, 1, 1, 2, 5, 3, 0, 4, 0, 0, 3, 0], [4, 4, 0, 0, 1, 0, 0, 3, 0, 0, 0, 5, 5, 1, 0, 5, 1, 0, 1, 0, 0, 0, 5, 1, 5, 3], [0, 0, 0, 4, 3, 3, 0, 0, 0, 3, 3, 4, 1, 0, 2, 1, 0, 0, 1, 4, 3, 4, 0, 0, 0, 2], [0, 2, 0, 0, 4, 5, 0, 1, 2, 5, 4, 3, 0, 0, 0, 0, 4, 2, 0, 4, 2, 4, 1, 3, 0, 2], [5, 0, 5, 3, 0, 4, 0, 0, 5, 3, 5, 3, 3, 0, 0, 0, 0, 2, 5, 2, 0, 5, 1, 1, 0, 3], [4, 2, 3, 0, 5, 0, 1, 4, 3, 2, 2, 0, 3, 0, 0, 1, 2, 3, 0, 2, 0, 5, 3, 0, 0, 0], [1, 0, 2, 4, 2, 4, 0, 0, 1, 0, 0, 3, 0, 0, 0, 0, 2, 5, 2, 0, 0, 0, 0, 5, 5, 0], [0, 0, 0, 5, 4, 5, 0, 2, 4, 3, 0, 4, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 5, 0], [0, 0, 0, 0, 2, 5, 0, 1, 0, 0, 4, 0, 0, 0, 5, 0, 1, 0, 0, 0, 0, 5, 2, 0, 0, 2], [3, 0, 0, 0, 0, 0, 5, 3, 0, 0, 0, 2, 0, 0, 4, 0, 3, 0, 4, 4, 2, 4, 1, 0, 3, 0], [4, 0, 5, 4, 0, 0, 4, 4, 1, 3, 2, 5, 0, 2, 5, 5, 0, 3, 4, 5, 0, 0, 5, 3, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 1, 0, 1, 1, 0, 0, 0, 5, 0, 5, 0, 0, 0, 0, 0], [3, 4, 0, 4, 2, 0, 3, 3, 5, 1, 0, 1, 0, 0, 4, 0, 1, 0, 5, 0, 0, 0, 2, 4, 0, 2], [5, 0, 0, 0, 0, 0, 0, 3, 3, 3, 1, 1, 0, 0, 3, 5, 0, 0, 0, 0, 5, 0, 0, 0, 0, 4], [4, 3, 0, 1, 2, 0, 0, 0, 0, 0, 5, 2, 5, 0, 0, 3, 0, 2, 5, 5, 0, 4, 4, 0, 4, 0]], "rhs": [358, 556, 571, 406, 251, 691, 468, 203, 242, 380, 422, 605, 418, 346, 343, 620, 456, 493, 429, 574, 699, 419, 155, 385, 421, 740, 565, 474, 420, 300, 446, 335, 477, 253, 456, 698, 813, 728, 628, 537, 573, 348, 725, 444, 559, 622, 680, 601, 430, 497, 356, 554, 837, 74, 433, 249, 605], "family": "rlve_integer_linear_system", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-integer-linear-system-l6-s4/tests/run.py b/tasks/construct-rlve-integer-linear-system-l6-s4/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s4/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-integer-linear-system-l6-s4/tests/test.sh b/tasks/construct-rlve-integer-linear-system-l6-s4/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-integer-linear-system-l6-s4/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-largest-convex-polygon-l5-s3/instruction.md b/tasks/construct-rlve-largest-convex-polygon-l5-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..17f71720a346bab6afe78a0a6bd9637a0136ec26 --- /dev/null +++ b/tasks/construct-rlve-largest-convex-polygon-l5-s3/instruction.md @@ -0,0 +1,32 @@ +You are given 25 points in the plane, indexed 0..24 (distinct, no three collinear): +0: (20, 17) +1: (8, 0) +2: (9, 5) +3: (16, 4) +4: (1, 9) +5: (25, 19) +6: (7, 16) +7: (21, 21) +8: (20, 19) +9: (21, 18) +10: (5, 3) +11: (14, 18) +12: (25, 0) +13: (10, 8) +14: (2, 10) +15: (16, 9) +16: (9, 25) +17: (11, 22) +18: (6, 16) +19: (23, 11) +20: (19, 1) +21: (0, 3) +22: (8, 25) +23: (2, 21) +24: (13, 24) + +The largest subset of these points in convex position has exactly 11 points. Find 11 distinct points that are the vertices of a convex polygon (every chosen point is a vertex of the convex hull of the chosen points). + +Answer format: {"indices": [i_1, ..., i_11]} (any order) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-largest-convex-polygon-l5-s3/task.toml b/tasks/construct-rlve-largest-convex-polygon-l5-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5d99ebee00fc73ea9669b26ce7afe2911c3ee3d9 --- /dev/null +++ b/tasks/construct-rlve-largest-convex-polygon-l5-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-largest-convex-polygon-l5-s3" +version = "0.2.0" +description = "construct/rlve_largest_convex_polygon" +authors = [] +keywords = ["rlmath", "construct", "rlve_largest_convex_polygon"] + +[metadata] +subset = "construct" +family = "rlve_largest_convex_polygon" +problem_key = "largest_convex_subset" +domain = "discrete_geometry" +tier = "competition" +level = "5" +source = "RLVE-Gym/largest_convex_polygon" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-largest-convex-polygon-l5-s4/instruction.md b/tasks/construct-rlve-largest-convex-polygon-l5-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b2c1c316ab0bf869e468f1a96f7c3cedb9f8529f --- /dev/null +++ b/tasks/construct-rlve-largest-convex-polygon-l5-s4/instruction.md @@ -0,0 +1,32 @@ +You are given 25 points in the plane, indexed 0..24 (distinct, no three collinear): +0: (22, 14) +1: (22, 23) +2: (14, 19) +3: (12, 25) +4: (25, 1) +5: (17, 18) +6: (16, 4) +7: (25, 16) +8: (0, 23) +9: (2, 20) +10: (15, 17) +11: (23, 3) +12: (14, 0) +13: (20, 16) +14: (17, 20) +15: (5, 24) +16: (6, 1) +17: (16, 9) +18: (18, 12) +19: (3, 2) +20: (11, 6) +21: (1, 13) +22: (13, 12) +23: (1, 19) +24: (18, 14) + +The largest subset of these points in convex position has exactly 11 points. Find 11 distinct points that are the vertices of a convex polygon (every chosen point is a vertex of the convex hull of the chosen points). + +Answer format: {"indices": [i_1, ..., i_11]} (any order) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-largest-convex-polygon-l5-s4/task.toml b/tasks/construct-rlve-largest-convex-polygon-l5-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..47ed0803e2408222cd240631fca76e57dea2c8e5 --- /dev/null +++ b/tasks/construct-rlve-largest-convex-polygon-l5-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-largest-convex-polygon-l5-s4" +version = "0.2.0" +description = "construct/rlve_largest_convex_polygon" +authors = [] +keywords = ["rlmath", "construct", "rlve_largest_convex_polygon"] + +[metadata] +subset = "construct" +family = "rlve_largest_convex_polygon" +problem_key = "largest_convex_subset" +domain = "discrete_geometry" +tier = "competition" +level = "5" +source = "RLVE-Gym/largest_convex_polygon" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/environment/Dockerfile b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/environment/instance.json b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..1e3ef6d4b6913ab03cac29c1a50c059e58b8b9bf --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/environment/instance.json @@ -0,0 +1 @@ +{"A": ["00110101000", "01100000000", "00000000000", "00001110000", "00000010000", "00101000011"], "B": ["00100100011", "00011000110", "00000000000", "10000000010", "00010101000", "00000001000"], "family": "rlve_matrix_permutation_equivalence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/instruction.md b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..7cf3a0cebeee63b077a7a1b6c61e40afd3f55e74 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/instruction.md @@ -0,0 +1,21 @@ +A and B are 6 x 11 binary matrices (0-indexed, one row per line). +A: +00110101000 +01100000000 +00000000000 +00001110000 +00000010000 +00101000011 +B: +00100100011 +00011000110 +00000000000 +10000000010 +00010101000 +00000001000 + +Find a permutation a of 0..5 and a permutation b of 0..10 such that A[a[i]][b[j]] = B[i][j] for all 0 <= i < 6, 0 <= j < 11. + +Answer format: {"a": [a_0, ...], "b": [b_0, ...]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/solution/solve.sh b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..23cd27daa2a4ef394c06f82504954c8b1704ce3a --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"a": [5, 0, 2, 1, 3, 4], "b": [1, 8, 9, 5, 3, 4, 0, 6, 7, 2, 10]} +RLMATH_EOF diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/task.toml b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..72ce9b3819968be50078ac6bd2146ab27464614d --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-matrix-permutation-equivalence-l4-s0" +version = "0.2.0" +description = "construct/rlve_matrix_permutation_equivalence" +authors = [] +keywords = ["rlmath", "construct", "rlve_matrix_permutation_equivalence"] + +[metadata] +subset = "construct" +family = "rlve_matrix_permutation_equivalence" +problem_key = "binary_matrix_permutation_equivalence" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "RLVE-Gym/matrix_permutation_equivalence" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/check.py b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..310a1d2c8b6afd7a82a35ba2a4c802c1ce289d03 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/check.py @@ -0,0 +1,15 @@ +from run import Invalid, int_list + + +def check(inst, ans): + A, B = inst["A"], inst["B"] + N, M = len(A), len(A[0]) + a = int_list(ans.get("a"), N, 0, N - 1, "a") + b = int_list(ans.get("b"), M, 0, M - 1, "b") + if len(set(a)) != N or len(set(b)) != M: + raise Invalid("a and b must be permutations") + for i in range(N): + for j in range(M): + if A[a[i]][b[j]] != B[i][j]: + raise Invalid(f"mismatch at ({i}, {j})") + return None, {} diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/instance.json b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..1e3ef6d4b6913ab03cac29c1a50c059e58b8b9bf --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/instance.json @@ -0,0 +1 @@ +{"A": ["00110101000", "01100000000", "00000000000", "00001110000", "00000010000", "00101000011"], "B": ["00100100011", "00011000110", "00000000000", "10000000010", "00010101000", "00000001000"], "family": "rlve_matrix_permutation_equivalence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/run.py b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/test.sh b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/environment/Dockerfile b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/environment/instance.json b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..9776b41ce154cd761b35526997388097b4de9ce6 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/environment/instance.json @@ -0,0 +1 @@ +{"A": ["0111010", "1100001"], "B": ["1100110", "1011000"], "family": "rlve_matrix_permutation_equivalence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/instruction.md b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..3bc8ab2b36cca7c9c9a590a251e7d868fd2d77da --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/instruction.md @@ -0,0 +1,13 @@ +A and B are 2 x 7 binary matrices (0-indexed, one row per line). +A: +0111010 +1100001 +B: +1100110 +1011000 + +Find a permutation a of 0..1 and a permutation b of 0..6 such that A[a[i]][b[j]] = B[i][j] for all 0 <= i < 2, 0 <= j < 7. + +Answer format: {"a": [a_0, ...], "b": [b_0, ...]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/solution/solve.sh b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..67efb2257bc5c38ea7150d45115efe725cb3bebc --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"a": [0, 1], "b": [1, 3, 0, 6, 5, 2, 4]} +RLMATH_EOF diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/task.toml b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..363b8ee4f46e1309370da026a7c9a2bab3746b2b --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-matrix-permutation-equivalence-l4-s7" +version = "0.2.0" +description = "construct/rlve_matrix_permutation_equivalence" +authors = [] +keywords = ["rlmath", "construct", "rlve_matrix_permutation_equivalence"] + +[metadata] +subset = "construct" +family = "rlve_matrix_permutation_equivalence" +problem_key = "binary_matrix_permutation_equivalence" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "RLVE-Gym/matrix_permutation_equivalence" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/check.py b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..310a1d2c8b6afd7a82a35ba2a4c802c1ce289d03 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/check.py @@ -0,0 +1,15 @@ +from run import Invalid, int_list + + +def check(inst, ans): + A, B = inst["A"], inst["B"] + N, M = len(A), len(A[0]) + a = int_list(ans.get("a"), N, 0, N - 1, "a") + b = int_list(ans.get("b"), M, 0, M - 1, "b") + if len(set(a)) != N or len(set(b)) != M: + raise Invalid("a and b must be permutations") + for i in range(N): + for j in range(M): + if A[a[i]][b[j]] != B[i][j]: + raise Invalid(f"mismatch at ({i}, {j})") + return None, {} diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/instance.json b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..9776b41ce154cd761b35526997388097b4de9ce6 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/instance.json @@ -0,0 +1 @@ +{"A": ["0111010", "1100001"], "B": ["1100110", "1011000"], "family": "rlve_matrix_permutation_equivalence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/run.py b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/test.sh b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/environment/Dockerfile b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/environment/instance.json b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..9979072e5f2cc629063aff8f55cbd0ac40cb4296 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/environment/instance.json @@ -0,0 +1 @@ +{"A": ["100000000000", "000000000000", "000000000000", "000001000000", "000000000000", "001000000000", "000000000000", "100000000000"], "B": ["000001000000", "000000000000", "000000000000", "000001000000", "000000100000", "000000000000", "000000000100", "000000000000"], "family": "rlve_matrix_permutation_equivalence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/instruction.md b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b06f0a6bcfb1f938b5feadc46cc46eea7b7bdebd --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/instruction.md @@ -0,0 +1,25 @@ +A and B are 8 x 12 binary matrices (0-indexed, one row per line). +A: +100000000000 +000000000000 +000000000000 +000001000000 +000000000000 +001000000000 +000000000000 +100000000000 +B: +000001000000 +000000000000 +000000000000 +000001000000 +000000100000 +000000000000 +000000000100 +000000000000 + +Find a permutation a of 0..7 and a permutation b of 0..11 such that A[a[i]][b[j]] = B[i][j] for all 0 <= i < 8, 0 <= j < 12. + +Answer format: {"a": [a_0, ...], "b": [b_0, ...]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/solution/solve.sh b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..a57b4470c23ef6c527a94b62760e275f8cec16de --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"a": [7, 1, 4, 0, 3, 2, 5, 6], "b": [7, 11, 6, 3, 4, 0, 5, 8, 1, 2, 9, 10]} +RLMATH_EOF diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/task.toml b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5d7d38f4c2cef4b644874528c4a2645b32f638e9 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-matrix-permutation-equivalence-l4-s9" +version = "0.2.0" +description = "construct/rlve_matrix_permutation_equivalence" +authors = [] +keywords = ["rlmath", "construct", "rlve_matrix_permutation_equivalence"] + +[metadata] +subset = "construct" +family = "rlve_matrix_permutation_equivalence" +problem_key = "binary_matrix_permutation_equivalence" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "RLVE-Gym/matrix_permutation_equivalence" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/check.py b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..310a1d2c8b6afd7a82a35ba2a4c802c1ce289d03 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/check.py @@ -0,0 +1,15 @@ +from run import Invalid, int_list + + +def check(inst, ans): + A, B = inst["A"], inst["B"] + N, M = len(A), len(A[0]) + a = int_list(ans.get("a"), N, 0, N - 1, "a") + b = int_list(ans.get("b"), M, 0, M - 1, "b") + if len(set(a)) != N or len(set(b)) != M: + raise Invalid("a and b must be permutations") + for i in range(N): + for j in range(M): + if A[a[i]][b[j]] != B[i][j]: + raise Invalid(f"mismatch at ({i}, {j})") + return None, {} diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/instance.json b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..9979072e5f2cc629063aff8f55cbd0ac40cb4296 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/instance.json @@ -0,0 +1 @@ +{"A": ["100000000000", "000000000000", "000000000000", "000001000000", "000000000000", "001000000000", "000000000000", "100000000000"], "B": ["000001000000", "000000000000", "000000000000", "000001000000", "000000100000", "000000000000", "000000000100", "000000000000"], "family": "rlve_matrix_permutation_equivalence", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/run.py b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/test.sh b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-matrix-permutation-equivalence-l4-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-max-achromatic-coloring-l1-s3/task.toml b/tasks/construct-rlve-max-achromatic-coloring-l1-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..0a06007a27b0707ad49280d2b2c23c629e7341e4 --- /dev/null +++ b/tasks/construct-rlve-max-achromatic-coloring-l1-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-max-achromatic-coloring-l1-s3" +version = "0.2.0" +description = "construct/rlve_max_achromatic_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_max_achromatic_coloring"] + +[metadata] +subset = "construct" +family = "rlve_max_achromatic_coloring" +problem_key = "achromatic_number" +domain = "graph_theory" +tier = "competition" +level = "1" +source = "RLVE-Gym/maximum_achromatic_number" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-max-achromatic-coloring-l5-s2/instruction.md b/tasks/construct-rlve-max-achromatic-coloring-l5-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..a110965c43d74276bc3dcc9d2960570f28669012 --- /dev/null +++ b/tasks/construct-rlve-max-achromatic-coloring-l5-s2/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 13 vertices labelled 0..12 and edge list +[[0, 1], [0, 2], [0, 4], [0, 5], [0, 9], [0, 10], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 9], [1, 10], [1, 11], [2, 3], [2, 4], [2, 7], [2, 9], [2, 10], [2, 11], [2, 12], [3, 4], [3, 6], [3, 7], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [4, 6], [4, 8], [4, 12], [5, 6], [5, 7], [5, 8], [5, 9], [5, 11], [6, 7], [6, 9], [6, 10], [6, 11], [6, 12], [7, 8], [7, 9], [7, 10], [7, 11], [8, 9], [8, 11], [9, 10], [9, 11], [10, 11], [10, 12], [11, 12]] + +A complete colouring assigns colours so that (1) adjacent vertices get different colours and (2) for every pair of distinct colours x, y that are used, some edge has one endpoint coloured x and the other coloured y. The largest number of colours in a complete colouring of this graph (its achromatic number) is 9. Give a complete colouring that uses all 9 colours 0..8. + +Answer format: {"colors": [c_0, ..., c_12]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-max-achromatic-coloring-l5-s2/task.toml b/tasks/construct-rlve-max-achromatic-coloring-l5-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..4a50cb59d130934f4157d906cde9b9807c8ac4c8 --- /dev/null +++ b/tasks/construct-rlve-max-achromatic-coloring-l5-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-max-achromatic-coloring-l5-s2" +version = "0.2.0" +description = "construct/rlve_max_achromatic_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_max_achromatic_coloring"] + +[metadata] +subset = "construct" +family = "rlve_max_achromatic_coloring" +problem_key = "achromatic_number" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "RLVE-Gym/maximum_achromatic_number" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-max-achromatic-coloring-l5-s5/instruction.md b/tasks/construct-rlve-max-achromatic-coloring-l5-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..0af6f3fb7f360474ce0d6b095110d962be2ed6e8 --- /dev/null +++ b/tasks/construct-rlve-max-achromatic-coloring-l5-s5/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 13 vertices labelled 0..12 and edge list +[[0, 1], [0, 2], [0, 3], [0, 4], [0, 7], [0, 8], [0, 9], [1, 2], [1, 3], [1, 4], [1, 5], [1, 8], [1, 10], [1, 11], [1, 12], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [2, 10], [2, 11], [3, 4], [3, 6], [3, 8], [3, 10], [3, 11], [4, 9], [4, 10], [4, 11], [4, 12], [5, 6], [5, 7], [5, 8], [5, 10], [5, 12], [6, 8], [6, 9], [6, 10], [6, 11], [6, 12], [7, 8], [7, 9], [7, 10], [7, 11], [8, 11], [8, 12], [9, 10], [9, 11], [9, 12], [10, 11], [10, 12], [11, 12]] + +A complete colouring assigns colours so that (1) adjacent vertices get different colours and (2) for every pair of distinct colours x, y that are used, some edge has one endpoint coloured x and the other coloured y. The largest number of colours in a complete colouring of this graph (its achromatic number) is 9. Give a complete colouring that uses all 9 colours 0..8. + +Answer format: {"colors": [c_0, ..., c_12]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-max-achromatic-coloring-l5-s5/task.toml b/tasks/construct-rlve-max-achromatic-coloring-l5-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..17a662fecbb024f41434b0087f6c3226a2870df5 --- /dev/null +++ b/tasks/construct-rlve-max-achromatic-coloring-l5-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-max-achromatic-coloring-l5-s5" +version = "0.2.0" +description = "construct/rlve_max_achromatic_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_max_achromatic_coloring"] + +[metadata] +subset = "construct" +family = "rlve_max_achromatic_coloring" +problem_key = "achromatic_number" +domain = "graph_theory" +tier = "competition" +level = "5" +source = "RLVE-Gym/maximum_achromatic_number" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-maximum-clique-l3-s0/environment/Dockerfile b/tasks/construct-rlve-maximum-clique-l3-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-maximum-clique-l3-s0/environment/instance.json b/tasks/construct-rlve-maximum-clique-l3-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..8799bc37bebe5042e49f1af3d4d4e313f654bc1e --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s0/environment/instance.json @@ -0,0 +1 @@ +{"n": 22, "k": 11, "edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 13], [0, 14], [0, 16], [0, 17], [0, 20], [0, 21], [1, 2], [1, 3], [1, 4], [1, 6], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 18], [1, 19], [2, 3], [2, 4], [2, 6], [2, 8], [2, 9], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [3, 4], [3, 5], [3, 7], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 19], [3, 21], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 11], [4, 12], [4, 13], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [5, 6], [5, 7], [5, 8], [5, 9], [5, 11], [5, 12], [5, 13], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 19], [5, 20], [5, 21], [6, 7], [6, 8], [6, 9], [6, 10], [6, 12], [6, 13], [6, 14], [6, 16], [6, 18], [6, 19], [6, 20], [6, 21], [7, 8], [7, 9], [7, 10], [7, 11], [7, 12], [7, 14], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [8, 9], [8, 11], [8, 12], [8, 13], [8, 15], [8, 16], [8, 17], [8, 19], [8, 20], [8, 21], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 16], [9, 17], [9, 18], [9, 19], [9, 20], [9, 21], [10, 12], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 19], [10, 20], [11, 12], [11, 13], [11, 14], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 21], [14, 15], [14, 16], [14, 17], [14, 18], [14, 19], [14, 21], [15, 16], [15, 18], [15, 19], [15, 20], [15, 21], [16, 17], [16, 18], [16, 19], [16, 20], [16, 21], [17, 18], [17, 19], [17, 20], [17, 21], [18, 19], [18, 20], [19, 20], [19, 21], [20, 21]], "family": "rlve_maximum_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-maximum-clique-l3-s0/instruction.md b/tasks/construct-rlve-maximum-clique-l3-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..3b424262070833fbf9562f5137320e73944a7758 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s0/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 22 vertices labelled 0..21 and edge list +[[0, 1], [0, 2], [0, 3], [0, 4], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 13], [0, 14], [0, 16], [0, 17], [0, 20], [0, 21], [1, 2], [1, 3], [1, 4], [1, 6], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 18], [1, 19], [2, 3], [2, 4], [2, 6], [2, 8], [2, 9], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [3, 4], [3, 5], [3, 7], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 19], [3, 21], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 11], [4, 12], [4, 13], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [5, 6], [5, 7], [5, 8], [5, 9], [5, 11], [5, 12], [5, 13], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 19], [5, 20], [5, 21], [6, 7], [6, 8], [6, 9], [6, 10], [6, 12], [6, 13], [6, 14], [6, 16], [6, 18], [6, 19], [6, 20], [6, 21], [7, 8], [7, 9], [7, 10], [7, 11], [7, 12], [7, 14], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [8, 9], [8, 11], [8, 12], [8, 13], [8, 15], [8, 16], [8, 17], [8, 19], [8, 20], [8, 21], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 16], [9, 17], [9, 18], [9, 19], [9, 20], [9, 21], [10, 12], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 19], [10, 20], [11, 12], [11, 13], [11, 14], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 21], [14, 15], [14, 16], [14, 17], [14, 18], [14, 19], [14, 21], [15, 16], [15, 18], [15, 19], [15, 20], [15, 21], [16, 17], [16, 18], [16, 19], [16, 20], [16, 21], [17, 18], [17, 19], [17, 20], [17, 21], [18, 19], [18, 20], [19, 20], [19, 21], [20, 21]] + +The largest clique in this graph has exactly 11 vertices. Find a clique of size 11: 11 distinct vertices every two of which are adjacent. + +Answer format: {"clique": [v_1, ..., v_11]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-maximum-clique-l3-s0/solution/solve.sh b/tasks/construct-rlve-maximum-clique-l3-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..1a312a4fe7520406625ad25ec4f463096fbde71a --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [0, 1, 2, 3, 4, 8, 9, 11, 13, 16, 17]} +RLMATH_EOF diff --git a/tasks/construct-rlve-maximum-clique-l3-s0/task.toml b/tasks/construct-rlve-maximum-clique-l3-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..dccbcdfd5c43b62d36da09d78bbf59eab74916f2 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-maximum-clique-l3-s0" +version = "0.2.0" +description = "construct/rlve_maximum_clique" +authors = [] +keywords = ["rlmath", "construct", "rlve_maximum_clique"] + +[metadata] +subset = "construct" +family = "rlve_maximum_clique" +problem_key = "maximum_clique" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "RLVE-Gym/maximum_clique" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-maximum-clique-l3-s0/tests/check.py b/tasks/construct-rlve-maximum-clique-l3-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..95e00c78f7c986ba3aecbdc8af3cf8ed221abd05 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s0/tests/check.py @@ -0,0 +1,16 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + c = int_list(ans.get("clique"), None, 0, n - 1, "clique") + if len(set(c)) != len(c): + raise Invalid("vertices must be distinct") + if len(c) < k: + raise Invalid(f"clique has {len(c)} vertices, need {k}") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for i in range(len(c)): + for j in range(i + 1, len(c)): + if (min(c[i], c[j]), max(c[i], c[j])) not in es: + raise Invalid(f"{c[i]} and {c[j]} are not adjacent") + return None, {} diff --git a/tasks/construct-rlve-maximum-clique-l3-s0/tests/instance.json b/tasks/construct-rlve-maximum-clique-l3-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..8799bc37bebe5042e49f1af3d4d4e313f654bc1e --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s0/tests/instance.json @@ -0,0 +1 @@ +{"n": 22, "k": 11, "edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 13], [0, 14], [0, 16], [0, 17], [0, 20], [0, 21], [1, 2], [1, 3], [1, 4], [1, 6], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 18], [1, 19], [2, 3], [2, 4], [2, 6], [2, 8], [2, 9], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [3, 4], [3, 5], [3, 7], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 19], [3, 21], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 11], [4, 12], [4, 13], [4, 14], [4, 15], [4, 16], [4, 17], [4, 18], [4, 19], [5, 6], [5, 7], [5, 8], [5, 9], [5, 11], [5, 12], [5, 13], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 19], [5, 20], [5, 21], [6, 7], [6, 8], [6, 9], [6, 10], [6, 12], [6, 13], [6, 14], [6, 16], [6, 18], [6, 19], [6, 20], [6, 21], [7, 8], [7, 9], [7, 10], [7, 11], [7, 12], [7, 14], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [8, 9], [8, 11], [8, 12], [8, 13], [8, 15], [8, 16], [8, 17], [8, 19], [8, 20], [8, 21], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 16], [9, 17], [9, 18], [9, 19], [9, 20], [9, 21], [10, 12], [10, 13], [10, 14], [10, 15], [10, 16], [10, 17], [10, 19], [10, 20], [11, 12], [11, 13], [11, 14], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [13, 21], [14, 15], [14, 16], [14, 17], [14, 18], [14, 19], [14, 21], [15, 16], [15, 18], [15, 19], [15, 20], [15, 21], [16, 17], [16, 18], [16, 19], [16, 20], [16, 21], [17, 18], [17, 19], [17, 20], [17, 21], [18, 19], [18, 20], [19, 20], [19, 21], [20, 21]], "family": "rlve_maximum_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-maximum-clique-l3-s0/tests/run.py b/tasks/construct-rlve-maximum-clique-l3-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-maximum-clique-l3-s0/tests/test.sh b/tasks/construct-rlve-maximum-clique-l3-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-maximum-clique-l3-s7/environment/Dockerfile b/tasks/construct-rlve-maximum-clique-l3-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-maximum-clique-l3-s7/environment/instance.json b/tasks/construct-rlve-maximum-clique-l3-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..44b154fefb0960ab1aa08f25c75dfbb7c0a10f29 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s7/environment/instance.json @@ -0,0 +1 @@ +{"n": 22, "k": 11, "edges": [[0, 1], [0, 2], [0, 3], [0, 5], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 13], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 10], [1, 11], [1, 12], [1, 15], [1, 16], [1, 17], [1, 19], [1, 21], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [3, 4], [3, 6], [3, 7], [3, 8], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 19], [3, 20], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 14], [4, 16], [4, 18], [4, 19], [4, 20], [4, 21], [5, 6], [5, 7], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 19], [5, 21], [6, 7], [6, 8], [6, 9], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 18], [6, 19], [6, 20], [6, 21], [7, 8], [7, 12], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 21], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 16], [9, 17], [9, 18], [9, 19], [9, 21], [10, 11], [10, 12], [10, 13], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [10, 20], [10, 21], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [11, 20], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [14, 15], [14, 16], [14, 17], [14, 18], [14, 20], [14, 21], [15, 16], [15, 17], [15, 18], [15, 19], [15, 20], [16, 17], [16, 19], [16, 21], [17, 18], [17, 20], [17, 21], [18, 19], [18, 20], [18, 21], [19, 20], [19, 21], [20, 21]], "family": "rlve_maximum_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-maximum-clique-l3-s7/instruction.md b/tasks/construct-rlve-maximum-clique-l3-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..193b284ac0f24783ed732d9e66d54355aaf047a2 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s7/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 22 vertices labelled 0..21 and edge list +[[0, 1], [0, 2], [0, 3], [0, 5], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 13], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 10], [1, 11], [1, 12], [1, 15], [1, 16], [1, 17], [1, 19], [1, 21], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [3, 4], [3, 6], [3, 7], [3, 8], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 19], [3, 20], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 14], [4, 16], [4, 18], [4, 19], [4, 20], [4, 21], [5, 6], [5, 7], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 19], [5, 21], [6, 7], [6, 8], [6, 9], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 18], [6, 19], [6, 20], [6, 21], [7, 8], [7, 12], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 21], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 16], [9, 17], [9, 18], [9, 19], [9, 21], [10, 11], [10, 12], [10, 13], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [10, 20], [10, 21], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [11, 20], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [14, 15], [14, 16], [14, 17], [14, 18], [14, 20], [14, 21], [15, 16], [15, 17], [15, 18], [15, 19], [15, 20], [16, 17], [16, 19], [16, 21], [17, 18], [17, 20], [17, 21], [18, 19], [18, 20], [18, 21], [19, 20], [19, 21], [20, 21]] + +The largest clique in this graph has exactly 11 vertices. Find a clique of size 11: 11 distinct vertices every two of which are adjacent. + +Answer format: {"clique": [v_1, ..., v_11]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-maximum-clique-l3-s7/solution/solve.sh b/tasks/construct-rlve-maximum-clique-l3-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..47c7b7b08dfa27c65c819725df6b318cf0c4bbb7 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [0, 2, 3, 6, 7, 8, 13, 15, 18, 19, 20]} +RLMATH_EOF diff --git a/tasks/construct-rlve-maximum-clique-l3-s7/task.toml b/tasks/construct-rlve-maximum-clique-l3-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..bf5c292ebfdec09cf59b7498abe0a94cb72feba5 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-maximum-clique-l3-s7" +version = "0.2.0" +description = "construct/rlve_maximum_clique" +authors = [] +keywords = ["rlmath", "construct", "rlve_maximum_clique"] + +[metadata] +subset = "construct" +family = "rlve_maximum_clique" +problem_key = "maximum_clique" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "RLVE-Gym/maximum_clique" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-maximum-clique-l3-s7/tests/check.py b/tasks/construct-rlve-maximum-clique-l3-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..95e00c78f7c986ba3aecbdc8af3cf8ed221abd05 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s7/tests/check.py @@ -0,0 +1,16 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + c = int_list(ans.get("clique"), None, 0, n - 1, "clique") + if len(set(c)) != len(c): + raise Invalid("vertices must be distinct") + if len(c) < k: + raise Invalid(f"clique has {len(c)} vertices, need {k}") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for i in range(len(c)): + for j in range(i + 1, len(c)): + if (min(c[i], c[j]), max(c[i], c[j])) not in es: + raise Invalid(f"{c[i]} and {c[j]} are not adjacent") + return None, {} diff --git a/tasks/construct-rlve-maximum-clique-l3-s7/tests/instance.json b/tasks/construct-rlve-maximum-clique-l3-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..44b154fefb0960ab1aa08f25c75dfbb7c0a10f29 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s7/tests/instance.json @@ -0,0 +1 @@ +{"n": 22, "k": 11, "edges": [[0, 1], [0, 2], [0, 3], [0, 5], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 13], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 10], [1, 11], [1, 12], [1, 15], [1, 16], [1, 17], [1, 19], [1, 21], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 15], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [3, 4], [3, 6], [3, 7], [3, 8], [3, 12], [3, 13], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 19], [3, 20], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 13], [4, 14], [4, 16], [4, 18], [4, 19], [4, 20], [4, 21], [5, 6], [5, 7], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 14], [5, 15], [5, 16], [5, 17], [5, 18], [5, 19], [5, 21], [6, 7], [6, 8], [6, 9], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 18], [6, 19], [6, 20], [6, 21], [7, 8], [7, 12], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [8, 9], [8, 10], [8, 11], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 21], [9, 10], [9, 11], [9, 12], [9, 13], [9, 14], [9, 16], [9, 17], [9, 18], [9, 19], [9, 21], [10, 11], [10, 12], [10, 13], [10, 15], [10, 16], [10, 17], [10, 18], [10, 19], [10, 20], [10, 21], [11, 12], [11, 13], [11, 15], [11, 16], [11, 17], [11, 18], [11, 19], [11, 20], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 20], [14, 15], [14, 16], [14, 17], [14, 18], [14, 20], [14, 21], [15, 16], [15, 17], [15, 18], [15, 19], [15, 20], [16, 17], [16, 19], [16, 21], [17, 18], [17, 20], [17, 21], [18, 19], [18, 20], [18, 21], [19, 20], [19, 21], [20, 21]], "family": "rlve_maximum_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-maximum-clique-l3-s7/tests/run.py b/tasks/construct-rlve-maximum-clique-l3-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-maximum-clique-l3-s7/tests/test.sh b/tasks/construct-rlve-maximum-clique-l3-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-maximum-clique-l3-s9/environment/Dockerfile b/tasks/construct-rlve-maximum-clique-l3-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-maximum-clique-l3-s9/environment/instance.json b/tasks/construct-rlve-maximum-clique-l3-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..3382765cb53aa72edb7fb22dd97d2af54fefca59 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s9/environment/instance.json @@ -0,0 +1 @@ +{"n": 22, "k": 10, "edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 19], [1, 20], [1, 21], [2, 3], [2, 4], [2, 5], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [3, 4], [3, 6], [3, 7], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 20], [3, 21], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 14], [4, 15], [4, 17], [4, 18], [4, 19], [4, 21], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 14], [5, 16], [5, 17], [5, 18], [5, 19], [5, 20], [6, 7], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 16], [6, 19], [6, 20], [6, 21], [7, 9], [7, 10], [7, 11], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [8, 9], [8, 10], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 21], [9, 10], [9, 11], [9, 12], [9, 15], [9, 16], [9, 17], [9, 18], [9, 19], [9, 20], [10, 11], [10, 13], [10, 15], [10, 16], [10, 17], [10, 19], [10, 20], [10, 21], [11, 12], [11, 14], [11, 15], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 21], [14, 15], [14, 18], [14, 19], [14, 21], [15, 16], [15, 17], [15, 18], [15, 19], [15, 20], [15, 21], [16, 18], [16, 19], [16, 20], [16, 21], [17, 18], [17, 19], [17, 20], [18, 19], [18, 20], [18, 21], [19, 21], [20, 21]], "family": "rlve_maximum_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-maximum-clique-l3-s9/instruction.md b/tasks/construct-rlve-maximum-clique-l3-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..c5e93f07d944060b660a238e3dab8a666b3ec728 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s9/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 22 vertices labelled 0..21 and edge list +[[0, 1], [0, 2], [0, 3], [0, 4], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 19], [1, 20], [1, 21], [2, 3], [2, 4], [2, 5], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [3, 4], [3, 6], [3, 7], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 20], [3, 21], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 14], [4, 15], [4, 17], [4, 18], [4, 19], [4, 21], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 14], [5, 16], [5, 17], [5, 18], [5, 19], [5, 20], [6, 7], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 16], [6, 19], [6, 20], [6, 21], [7, 9], [7, 10], [7, 11], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [8, 9], [8, 10], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 21], [9, 10], [9, 11], [9, 12], [9, 15], [9, 16], [9, 17], [9, 18], [9, 19], [9, 20], [10, 11], [10, 13], [10, 15], [10, 16], [10, 17], [10, 19], [10, 20], [10, 21], [11, 12], [11, 14], [11, 15], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 21], [14, 15], [14, 18], [14, 19], [14, 21], [15, 16], [15, 17], [15, 18], [15, 19], [15, 20], [15, 21], [16, 18], [16, 19], [16, 20], [16, 21], [17, 18], [17, 19], [17, 20], [18, 19], [18, 20], [18, 21], [19, 21], [20, 21]] + +The largest clique in this graph has exactly 10 vertices. Find a clique of size 10: 10 distinct vertices every two of which are adjacent. + +Answer format: {"clique": [v_1, ..., v_10]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-maximum-clique-l3-s9/solution/solve.sh b/tasks/construct-rlve-maximum-clique-l3-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..f013d097f213b2cd21755983cf2eca1fe221753d --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"clique": [0, 1, 2, 3, 4, 7, 9, 10, 11, 17]} +RLMATH_EOF diff --git a/tasks/construct-rlve-maximum-clique-l3-s9/task.toml b/tasks/construct-rlve-maximum-clique-l3-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..9f798e418da2f1cfc4c8a32f93f4d851c989befb --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-maximum-clique-l3-s9" +version = "0.2.0" +description = "construct/rlve_maximum_clique" +authors = [] +keywords = ["rlmath", "construct", "rlve_maximum_clique"] + +[metadata] +subset = "construct" +family = "rlve_maximum_clique" +problem_key = "maximum_clique" +domain = "graph_theory" +tier = "competition" +level = "3" +source = "RLVE-Gym/maximum_clique" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-maximum-clique-l3-s9/tests/check.py b/tasks/construct-rlve-maximum-clique-l3-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..95e00c78f7c986ba3aecbdc8af3cf8ed221abd05 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s9/tests/check.py @@ -0,0 +1,16 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + c = int_list(ans.get("clique"), None, 0, n - 1, "clique") + if len(set(c)) != len(c): + raise Invalid("vertices must be distinct") + if len(c) < k: + raise Invalid(f"clique has {len(c)} vertices, need {k}") + es = {(min(u, v), max(u, v)) for u, v in inst["edges"]} + for i in range(len(c)): + for j in range(i + 1, len(c)): + if (min(c[i], c[j]), max(c[i], c[j])) not in es: + raise Invalid(f"{c[i]} and {c[j]} are not adjacent") + return None, {} diff --git a/tasks/construct-rlve-maximum-clique-l3-s9/tests/instance.json b/tasks/construct-rlve-maximum-clique-l3-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..3382765cb53aa72edb7fb22dd97d2af54fefca59 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s9/tests/instance.json @@ -0,0 +1 @@ +{"n": 22, "k": 10, "edges": [[0, 1], [0, 2], [0, 3], [0, 4], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13], [0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [1, 16], [1, 17], [1, 19], [1, 20], [1, 21], [2, 3], [2, 4], [2, 5], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12], [2, 13], [2, 14], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [3, 4], [3, 6], [3, 7], [3, 8], [3, 9], [3, 10], [3, 11], [3, 12], [3, 14], [3, 15], [3, 16], [3, 17], [3, 18], [3, 20], [3, 21], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [4, 12], [4, 14], [4, 15], [4, 17], [4, 18], [4, 19], [4, 21], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [5, 14], [5, 16], [5, 17], [5, 18], [5, 19], [5, 20], [6, 7], [6, 10], [6, 11], [6, 12], [6, 13], [6, 14], [6, 15], [6, 16], [6, 19], [6, 20], [6, 21], [7, 9], [7, 10], [7, 11], [7, 13], [7, 14], [7, 15], [7, 16], [7, 17], [7, 18], [7, 19], [7, 20], [7, 21], [8, 9], [8, 10], [8, 12], [8, 13], [8, 14], [8, 15], [8, 16], [8, 17], [8, 18], [8, 19], [8, 20], [8, 21], [9, 10], [9, 11], [9, 12], [9, 15], [9, 16], [9, 17], [9, 18], [9, 19], [9, 20], [10, 11], [10, 13], [10, 15], [10, 16], [10, 17], [10, 19], [10, 20], [10, 21], [11, 12], [11, 14], [11, 15], [11, 17], [11, 18], [11, 19], [11, 20], [11, 21], [12, 13], [12, 14], [12, 15], [12, 16], [12, 17], [12, 18], [12, 19], [12, 20], [12, 21], [13, 14], [13, 15], [13, 16], [13, 17], [13, 18], [13, 19], [13, 21], [14, 15], [14, 18], [14, 19], [14, 21], [15, 16], [15, 17], [15, 18], [15, 19], [15, 20], [15, 21], [16, 18], [16, 19], [16, 20], [16, 21], [17, 18], [17, 19], [17, 20], [18, 19], [18, 20], [18, 21], [19, 21], [20, 21]], "family": "rlve_maximum_clique", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-maximum-clique-l3-s9/tests/run.py b/tasks/construct-rlve-maximum-clique-l3-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-maximum-clique-l3-s9/tests/test.sh b/tasks/construct-rlve-maximum-clique-l3-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-maximum-clique-l3-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-min-harmonious-coloring-l4-s1/instruction.md b/tasks/construct-rlve-min-harmonious-coloring-l4-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..575ce8a5b9b82999e6d8047fd74bd5729b97efad --- /dev/null +++ b/tasks/construct-rlve-min-harmonious-coloring-l4-s1/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 12 vertices labelled 0..11 and edge list +[[0, 2], [0, 4], [0, 6], [0, 11], [1, 4], [1, 10], [2, 4], [2, 5], [2, 11], [3, 7], [3, 9], [4, 8], [4, 11], [5, 8], [5, 10], [6, 7]] + +A harmonious colouring assigns colours so that (1) adjacent vertices get different colours and (2) for every unordered pair of distinct colours {x, y} there is at most one edge whose endpoints are coloured x and y. The minimum number of colours in a harmonious colouring of this graph is 7. Give a harmonious colouring using only colours 0..6. + +Answer format: {"colors": [c_0, ..., c_11]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-min-harmonious-coloring-l4-s1/task.toml b/tasks/construct-rlve-min-harmonious-coloring-l4-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..05b6c695305105b98907de60da606c06cab9f1f9 --- /dev/null +++ b/tasks/construct-rlve-min-harmonious-coloring-l4-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-min-harmonious-coloring-l4-s1" +version = "0.2.0" +description = "construct/rlve_min_harmonious_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_min_harmonious_coloring"] + +[metadata] +subset = "construct" +family = "rlve_min_harmonious_coloring" +problem_key = "harmonious_chromatic_number" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "RLVE-Gym/minimum_harmonious_chromatic_number" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-min-harmonious-coloring-l4-s6/instruction.md b/tasks/construct-rlve-min-harmonious-coloring-l4-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..bde41f8f880f79b847cb3c03ca360ba9498e789c --- /dev/null +++ b/tasks/construct-rlve-min-harmonious-coloring-l4-s6/instruction.md @@ -0,0 +1,8 @@ +An undirected simple graph has 12 vertices labelled 0..11 and edge list +[[0, 1], [1, 4], [1, 8], [2, 10], [3, 4], [3, 8], [6, 8], [7, 11], [9, 11]] + +A harmonious colouring assigns colours so that (1) adjacent vertices get different colours and (2) for every unordered pair of distinct colours {x, y} there is at most one edge whose endpoints are coloured x and y. The minimum number of colours in a harmonious colouring of this graph is 5. Give a harmonious colouring using only colours 0..4. + +Answer format: {"colors": [c_0, ..., c_11]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-min-harmonious-coloring-l4-s6/task.toml b/tasks/construct-rlve-min-harmonious-coloring-l4-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..e341b1f6cc02c40c702cf2a6ffb23ee7bc6d7a43 --- /dev/null +++ b/tasks/construct-rlve-min-harmonious-coloring-l4-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-min-harmonious-coloring-l4-s6" +version = "0.2.0" +description = "construct/rlve_min_harmonious_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_min_harmonious_coloring"] + +[metadata] +subset = "construct" +family = "rlve_min_harmonious_coloring" +problem_key = "harmonious_chromatic_number" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "RLVE-Gym/minimum_harmonious_chromatic_number" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-pairwise-sums-recovery-l2-s7/instruction.md b/tasks/construct-rlve-pairwise-sums-recovery-l2-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b0ad7e681577e50e63183fb5cb94b8aa6536fb35 --- /dev/null +++ b/tasks/construct-rlve-pairwise-sums-recovery-l2-s7/instruction.md @@ -0,0 +1,6 @@ +Find 5 distinct positive integers whose 10 pairwise sums (over all unordered pairs), taken as a multiset, are exactly: +15, 15, 19, 18, 14, 17, 13, 11, 16, 14 + +Answer format: {"numbers": [x_1, ..., x_5]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-pairwise-sums-recovery-l2-s7/task.toml b/tasks/construct-rlve-pairwise-sums-recovery-l2-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..a4e4ccad087bbb622bde12f48c4855d4415a6e43 --- /dev/null +++ b/tasks/construct-rlve-pairwise-sums-recovery-l2-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-pairwise-sums-recovery-l2-s7" +version = "0.2.0" +description = "construct/rlve_pairwise_sums_recovery" +authors = [] +keywords = ["rlmath", "construct", "rlve_pairwise_sums_recovery"] + +[metadata] +subset = "construct" +family = "rlve_pairwise_sums_recovery" +problem_key = "poi_squarks_pairwise_sums" +domain = "combinatorics" +tier = "competition" +level = "2" +source = "RLVE-Gym/squ_squarks" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-pairwise-sums-recovery-l2-s9/instruction.md b/tasks/construct-rlve-pairwise-sums-recovery-l2-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..f65373b28b48222243519a564469378c242c7ecd --- /dev/null +++ b/tasks/construct-rlve-pairwise-sums-recovery-l2-s9/instruction.md @@ -0,0 +1,6 @@ +Find 5 distinct positive integers whose 10 pairwise sums (over all unordered pairs), taken as a multiset, are exactly: +10, 13, 11, 11, 8, 9, 12, 10, 9, 7 + +Answer format: {"numbers": [x_1, ..., x_5]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-pairwise-sums-recovery-l2-s9/task.toml b/tasks/construct-rlve-pairwise-sums-recovery-l2-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..e62b312fb20dfdac88c21f556836c361d4a2d82e --- /dev/null +++ b/tasks/construct-rlve-pairwise-sums-recovery-l2-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-pairwise-sums-recovery-l2-s9" +version = "0.2.0" +description = "construct/rlve_pairwise_sums_recovery" +authors = [] +keywords = ["rlmath", "construct", "rlve_pairwise_sums_recovery"] + +[metadata] +subset = "construct" +family = "rlve_pairwise_sums_recovery" +problem_key = "poi_squarks_pairwise_sums" +domain = "combinatorics" +tier = "competition" +level = "2" +source = "RLVE-Gym/squ_squarks" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-pairwise-sums-recovery-l6-s1/instruction.md b/tasks/construct-rlve-pairwise-sums-recovery-l6-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..58b2db8100bfe13cc62436d5767076f540d2ecf8 --- /dev/null +++ b/tasks/construct-rlve-pairwise-sums-recovery-l6-s1/instruction.md @@ -0,0 +1,6 @@ +Find 26 distinct positive integers whose 325 pairwise sums (over all unordered pairs), taken as a multiset, are exactly: +77, 94, 70, 54, 73, 7, 62, 45, 24, 43, 70, 22, 31, 66, 90, 23, 88, 75, 103, 27, 49, 78, 7, 74, 41, 50, 25, 76, 63, 55, 56, 63, 62, 9, 67, 78, 26, 48, 45, 46, 69, 51, 40, 96, 81, 92, 46, 52, 41, 28, 11, 25, 17, 71, 100, 37, 72, 49, 15, 46, 71, 41, 30, 68, 38, 88, 64, 73, 60, 44, 47, 57, 34, 80, 34, 51, 15, 70, 62, 29, 77, 18, 48, 72, 49, 71, 57, 60, 17, 97, 83, 90, 62, 91, 33, 48, 35, 53, 30, 79, 74, 87, 25, 45, 58, 32, 14, 80, 66, 61, 76, 57, 30, 50, 51, 38, 87, 95, 32, 69, 61, 54, 66, 52, 101, 101, 31, 55, 57, 44, 54, 5, 96, 23, 26, 91, 64, 50, 32, 43, 63, 71, 66, 53, 53, 70, 74, 8, 49, 46, 62, 57, 34, 78, 42, 47, 24, 99, 79, 51, 58, 92, 23, 16, 91, 49, 50, 33, 33, 52, 48, 39, 31, 42, 47, 23, 44, 68, 54, 25, 81, 65, 22, 97, 30, 43, 36, 24, 62, 82, 78, 45, 86, 52, 24, 39, 35, 80, 55, 76, 30, 32, 60, 57, 68, 56, 79, 78, 69, 48, 46, 77, 73, 65, 86, 69, 61, 31, 40, 90, 69, 13, 27, 67, 26, 44, 74, 28, 43, 75, 45, 79, 9, 8, 61, 85, 29, 93, 40, 68, 14, 10, 93, 53, 70, 47, 71, 16, 52, 33, 68, 50, 92, 31, 56, 26, 67, 58, 66, 42, 67, 48, 41, 94, 89, 60, 40, 53, 65, 44, 64, 72, 83, 73, 72, 54, 33, 50, 43, 56, 89, 55, 59, 49, 70, 32, 52, 84, 65, 72, 32, 73, 59, 55, 67, 53, 28, 53, 48, 51, 46, 95, 64, 98, 55, 27, 75, 87, 6, 102, 47, 51, 54, 56, 71, 91, 64, 21, 29, 39, 63, 47, 69, 61, 31 + +Answer format: {"numbers": [x_1, ..., x_26]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-pairwise-sums-recovery-l6-s1/task.toml b/tasks/construct-rlve-pairwise-sums-recovery-l6-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5c66a9b64fda35ab51ac861398558ce2e2eb78ce --- /dev/null +++ b/tasks/construct-rlve-pairwise-sums-recovery-l6-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-pairwise-sums-recovery-l6-s1" +version = "0.2.0" +description = "construct/rlve_pairwise_sums_recovery" +authors = [] +keywords = ["rlmath", "construct", "rlve_pairwise_sums_recovery"] + +[metadata] +subset = "construct" +family = "rlve_pairwise_sums_recovery" +problem_key = "poi_squarks_pairwise_sums" +domain = "combinatorics" +tier = "competition" +level = "6" +source = "RLVE-Gym/squ_squarks" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-polynomial-global-minimum-l2-s1/instruction.md b/tasks/construct-rlve-polynomial-global-minimum-l2-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..4d08d613ca4a6f8ac95330215d71378fc287cdf7 --- /dev/null +++ b/tasks/construct-rlve-polynomial-global-minimum-l2-s1/instruction.md @@ -0,0 +1,7 @@ +Let f(x) = (2)*x^0 + (-2)*x^1 + (7)*x^2 + (-4)*x^3 + (1)*x^4. + +Find a real number x0 at which f attains its global minimum over the reals. Your answer is accepted if f(x0) <= min f + 1e-9 * max(1, |min f|) (f(x0) is evaluated exactly from the decimal/binary value you submit). + +Answer format: {"x0": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-polynomial-global-minimum-l2-s1/task.toml b/tasks/construct-rlve-polynomial-global-minimum-l2-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..de98018fde90fd12e3b66ba16f629080ee50daf1 --- /dev/null +++ b/tasks/construct-rlve-polynomial-global-minimum-l2-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-polynomial-global-minimum-l2-s1" +version = "0.2.0" +description = "construct/rlve_polynomial_global_minimum" +authors = [] +keywords = ["rlmath", "construct", "rlve_polynomial_global_minimum"] + +[metadata] +subset = "construct" +family = "rlve_polynomial_global_minimum" +problem_key = "polynomial_global_minimum" +domain = "analysis" +tier = "competition" +level = "2" +source = "RLVE-Gym/polynomial_minimum" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-polynomial-global-minimum-l2-s6/instruction.md b/tasks/construct-rlve-polynomial-global-minimum-l2-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..ae4f7b54b83c29024d37ace1df6c408dc0dc791b --- /dev/null +++ b/tasks/construct-rlve-polynomial-global-minimum-l2-s6/instruction.md @@ -0,0 +1,7 @@ +Let f(x) = (4)*x^0 + (4)*x^1 + (14)*x^2 + (8)*x^3 + (2)*x^4. + +Find a real number x0 at which f attains its global minimum over the reals. Your answer is accepted if f(x0) <= min f + 1e-9 * max(1, |min f|) (f(x0) is evaluated exactly from the decimal/binary value you submit). + +Answer format: {"x0": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-polynomial-global-minimum-l2-s6/task.toml b/tasks/construct-rlve-polynomial-global-minimum-l2-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..2d00c017aa8edd03fc868efc161fb1d8a05196ca --- /dev/null +++ b/tasks/construct-rlve-polynomial-global-minimum-l2-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-polynomial-global-minimum-l2-s6" +version = "0.2.0" +description = "construct/rlve_polynomial_global_minimum" +authors = [] +keywords = ["rlmath", "construct", "rlve_polynomial_global_minimum"] + +[metadata] +subset = "construct" +family = "rlve_polynomial_global_minimum" +problem_key = "polynomial_global_minimum" +domain = "analysis" +tier = "competition" +level = "2" +source = "RLVE-Gym/polynomial_minimum" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-polynomial-global-minimum-l6-s0/instruction.md b/tasks/construct-rlve-polynomial-global-minimum-l6-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..4a28d668cc1b29c46886ef934a532f452a70a906 --- /dev/null +++ b/tasks/construct-rlve-polynomial-global-minimum-l6-s0/instruction.md @@ -0,0 +1,7 @@ +Let f(x) = (8203)*x^0 + (-49144)*x^1 + (135397)*x^2 + (-224960)*x^3 + (254822)*x^4 + (-200902)*x^5 + (121543)*x^6 + (-47360)*x^7 + (18890)*x^8 + (-1528)*x^9 + (1530)*x^10 + (316)*x^11 + (93)*x^12 + (14)*x^13 + (1)*x^14. + +Find a real number x0 at which f attains its global minimum over the reals. Your answer is accepted if f(x0) <= min f + 1e-9 * max(1, |min f|) (f(x0) is evaluated exactly from the decimal/binary value you submit). + +Answer format: {"x0": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-polynomial-global-minimum-l6-s0/task.toml b/tasks/construct-rlve-polynomial-global-minimum-l6-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..44f5c9ceb7d745f234db20fab3b0b697af437a18 --- /dev/null +++ b/tasks/construct-rlve-polynomial-global-minimum-l6-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-polynomial-global-minimum-l6-s0" +version = "0.2.0" +description = "construct/rlve_polynomial_global_minimum" +authors = [] +keywords = ["rlmath", "construct", "rlve_polynomial_global_minimum"] + +[metadata] +subset = "construct" +family = "rlve_polynomial_global_minimum" +problem_key = "polynomial_global_minimum" +domain = "analysis" +tier = "competition" +level = "6" +source = "RLVE-Gym/polynomial_minimum" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-polynomial-global-minimum-l6-s9/instruction.md b/tasks/construct-rlve-polynomial-global-minimum-l6-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..2e786ccd32e8bde4545be88ca213a497452aaa8c --- /dev/null +++ b/tasks/construct-rlve-polynomial-global-minimum-l6-s9/instruction.md @@ -0,0 +1,7 @@ +Let f(x) = (10252)*x^0 + (-38914)*x^1 + (158359)*x^2 + (-194940)*x^3 + (281423)*x^4 + (-188670)*x^5 + (128025)*x^6 + (-52208)*x^7 + (19204)*x^8 + (-5482)*x^9 + (1531)*x^10 + (-412)*x^11 + (93)*x^12 + (-14)*x^13 + (1)*x^14. + +Find a real number x0 at which f attains its global minimum over the reals. Your answer is accepted if f(x0) <= min f + 1e-9 * max(1, |min f|) (f(x0) is evaluated exactly from the decimal/binary value you submit). + +Answer format: {"x0": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-polynomial-global-minimum-l6-s9/task.toml b/tasks/construct-rlve-polynomial-global-minimum-l6-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..56bbb784a95de3ca3f68c94140508dcaad9a82b4 --- /dev/null +++ b/tasks/construct-rlve-polynomial-global-minimum-l6-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-polynomial-global-minimum-l6-s9" +version = "0.2.0" +description = "construct/rlve_polynomial_global_minimum" +authors = [] +keywords = ["rlmath", "construct", "rlve_polynomial_global_minimum"] + +[metadata] +subset = "construct" +family = "rlve_polynomial_global_minimum" +problem_key = "polynomial_global_minimum" +domain = "analysis" +tier = "competition" +level = "6" +source = "RLVE-Gym/polynomial_minimum" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-polynomial-integer-roots-l5-s3/instruction.md b/tasks/construct-rlve-polynomial-integer-roots-l5-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..4e4c95ffde705eceeea1c3586aab7db084a1810c --- /dev/null +++ b/tasks/construct-rlve-polynomial-integer-roots-l5-s3/instruction.md @@ -0,0 +1,7 @@ +The degree-16 polynomial +P(x) = (-187342848000)*x^1 + (172339200)*x^2 + (172308088320)*x^3 + (45623493632)*x^4 + (-25618001376)*x^5 + (-7069926288)*x^6 + (1603594256)*x^7 + (378817032)*x^8 + (-47236038)*x^9 + (-9043269)*x^10 + (622218)*x^11 + (104235)*x^12 + (-3386)*x^13 + (-543)*x^14 + (6)*x^15 + (1)*x^16 +can be written as (x - a_1)(x - a_2)...(x - a_16) with integers a_1, ..., a_16 (not necessarily distinct). Find such integers. + +Answer format: {"roots": [a_1, ..., a_16]} (any order, with multiplicity) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-polynomial-integer-roots-l5-s3/task.toml b/tasks/construct-rlve-polynomial-integer-roots-l5-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..84c17f9e3ac2db318792c022be7731c02768f836 --- /dev/null +++ b/tasks/construct-rlve-polynomial-integer-roots-l5-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-polynomial-integer-roots-l5-s3" +version = "0.2.0" +description = "construct/rlve_polynomial_integer_roots" +authors = [] +keywords = ["rlmath", "construct", "rlve_polynomial_integer_roots"] + +[metadata] +subset = "construct" +family = "rlve_polynomial_integer_roots" +problem_key = "integer_root_factorization" +domain = "algebra" +tier = "competition" +level = "5" +source = "RLVE-Gym/polynomial_factorization" +source_license = "MIT" +tags = ["agentic_trivial", "unique_answer"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-polynomial-integer-roots-l5-s4/instruction.md b/tasks/construct-rlve-polynomial-integer-roots-l5-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..8505795defa673d19ee0afaf3eb43331db1037e0 --- /dev/null +++ b/tasks/construct-rlve-polynomial-integer-roots-l5-s4/instruction.md @@ -0,0 +1,7 @@ +The degree-16 polynomial +P(x) = (-2421619200000)*x^0 + (2376034080000)*x^1 + (2740686472000)*x^2 + (-2651876902400)*x^3 + (-327815915600)*x^4 + (287240744016)*x^5 + (8672913228)*x^6 + (-11618643384)*x^7 + (81489589)*x^8 + (222898876)*x^9 + (-5840936)*x^10 + (-2187684)*x^11 + (82194)*x^12 + (10596)*x^13 + (-476)*x^14 + (-20)*x^15 + (1)*x^16 +can be written as (x - a_1)(x - a_2)...(x - a_16) with integers a_1, ..., a_16 (not necessarily distinct). Find such integers. + +Answer format: {"roots": [a_1, ..., a_16]} (any order, with multiplicity) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-polynomial-integer-roots-l5-s4/task.toml b/tasks/construct-rlve-polynomial-integer-roots-l5-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..7d25cbf52d6e2937d9d2157ceed604f318868c81 --- /dev/null +++ b/tasks/construct-rlve-polynomial-integer-roots-l5-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-polynomial-integer-roots-l5-s4" +version = "0.2.0" +description = "construct/rlve_polynomial_integer_roots" +authors = [] +keywords = ["rlmath", "construct", "rlve_polynomial_integer_roots"] + +[metadata] +subset = "construct" +family = "rlve_polynomial_integer_roots" +problem_key = "integer_root_factorization" +domain = "algebra" +tier = "competition" +level = "5" +source = "RLVE-Gym/polynomial_factorization" +source_license = "MIT" +tags = ["agentic_trivial", "unique_answer"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-polynomial-interpolation-l2-s4/instruction.md b/tasks/construct-rlve-polynomial-interpolation-l2-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..2900db4a89f82fc186feed1ba121f47ff15fa140 --- /dev/null +++ b/tasks/construct-rlve-polynomial-interpolation-l2-s4/instruction.md @@ -0,0 +1,12 @@ +A polynomial f(x) = a_0 + a_1 x + ... + a_4 x^4 of degree 4 with integer coefficients satisfies +f(-1) = 6 +f(-3) = 108 +f(0) = 3 +f(4) = 731 +f(-2) = 23 + +Find a_0, ..., a_4. + +Answer format: {"coeffs": [a_0, a_1, ..., a_4]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-polynomial-interpolation-l2-s4/task.toml b/tasks/construct-rlve-polynomial-interpolation-l2-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..95bae21e47e4169ff3fe562787f6bad3ef5224db --- /dev/null +++ b/tasks/construct-rlve-polynomial-interpolation-l2-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-polynomial-interpolation-l2-s4" +version = "0.2.0" +description = "construct/rlve_polynomial_interpolation" +authors = [] +keywords = ["rlmath", "construct", "rlve_polynomial_interpolation"] + +[metadata] +subset = "construct" +family = "rlve_polynomial_interpolation" +problem_key = "lagrange_interpolation_integer" +domain = "algebra" +tier = "competition" +level = "2" +source = "RLVE-Gym/polynomial_interpolation" +source_license = "MIT" +tags = ["agentic_trivial", "unique_answer"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-polynomial-interpolation-l6-s2/instruction.md b/tasks/construct-rlve-polynomial-interpolation-l6-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..e6dbb0132424a991f70efe43d8b89db9f9afffab --- /dev/null +++ b/tasks/construct-rlve-polynomial-interpolation-l6-s2/instruction.md @@ -0,0 +1,26 @@ +A polynomial f(x) = a_0 + a_1 x + ... + a_18 x^18 of degree 18 with integer coefficients satisfies +f(16) = 22984652334144338783230 +f(-15) = 7573371106088914393723 +f(2) = 929990 +f(5) = 17244921778523 +f(-9) = 780116823665180755 +f(8) = 85006576829218046 +f(12) = 128309895603341528830 +f(6) = 468331090999990 +f(-12) = 137183918001259586686 +f(1) = -5 +f(11) = 26696864093202199235 +f(-17) = 71872561310905048577971 +f(-11) = 28718516398686658267 +f(14) = 2069057298843034121942 +f(-13) = 578246458095618448355 +f(3) = 1595741731 +f(13) = 543645991581742010011 +f(7) = 7610540807807635 +f(17) = 68563639607499959582075 + +Find a_0, ..., a_18. + +Answer format: {"coeffs": [a_0, a_1, ..., a_18]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-polynomial-interpolation-l6-s2/task.toml b/tasks/construct-rlve-polynomial-interpolation-l6-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..c2258009fd2c648c1d0d3b40147232e12c51e094 --- /dev/null +++ b/tasks/construct-rlve-polynomial-interpolation-l6-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-polynomial-interpolation-l6-s2" +version = "0.2.0" +description = "construct/rlve_polynomial_interpolation" +authors = [] +keywords = ["rlmath", "construct", "rlve_polynomial_interpolation"] + +[metadata] +subset = "construct" +family = "rlve_polynomial_interpolation" +problem_key = "lagrange_interpolation_integer" +domain = "algebra" +tier = "competition" +level = "6" +source = "RLVE-Gym/polynomial_interpolation" +source_license = "MIT" +tags = ["agentic_trivial", "unique_answer"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-polynomial-interpolation-l6-s5/instruction.md b/tasks/construct-rlve-polynomial-interpolation-l6-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..3159cad4a2b2aacadd2fb502efeb8dd36a3e4a33 --- /dev/null +++ b/tasks/construct-rlve-polynomial-interpolation-l6-s5/instruction.md @@ -0,0 +1,26 @@ +A polynomial f(x) = a_0 + a_1 x + ... + a_18 x^18 of degree 18 with integer coefficients satisfies +f(-11) = 29019317985182945227 +f(-13) = 582648787508798617703 +f(-8) = 95806704210852493 +f(18) = 193001172415606291797347 +f(-14) = 2205488267735449709059 +f(5) = 18465102485675 +f(-10) = 5244993023345535215 +f(2) = 1561523 +f(-3) = 2339082683 +f(13) = 548559588447494638747 +f(-12) = 138401194700368896497 +f(-16) = 24288593680796977680917 +f(-4) = 394049644649 +f(8) = 87152447366211197 +f(-5) = 21209255486935 +f(9) = 727416764768526467 +f(6) = 490422624769439 +f(-7) = 8749701204957347 +f(16) = 23119540281910414717429 + +Find a_0, ..., a_18. + +Answer format: {"coeffs": [a_0, a_1, ..., a_18]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-polynomial-interpolation-l6-s5/task.toml b/tasks/construct-rlve-polynomial-interpolation-l6-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..0bbbba8fe6d021f3b034c58a9cd694f18a5c80dd --- /dev/null +++ b/tasks/construct-rlve-polynomial-interpolation-l6-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-polynomial-interpolation-l6-s5" +version = "0.2.0" +description = "construct/rlve_polynomial_interpolation" +authors = [] +keywords = ["rlmath", "construct", "rlve_polynomial_interpolation"] + +[metadata] +subset = "construct" +family = "rlve_polynomial_interpolation" +problem_key = "lagrange_interpolation_integer" +domain = "algebra" +tier = "competition" +level = "6" +source = "RLVE-Gym/polynomial_interpolation" +source_license = "MIT" +tags = ["agentic_trivial", "unique_answer"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prefix-product-permutation-l2-s8/instruction.md b/tasks/construct-rlve-prefix-product-permutation-l2-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b16e8c9905f801fac80a4b692bfe306bcc906990 --- /dev/null +++ b/tasks/construct-rlve-prefix-product-permutation-l2-s8/instruction.md @@ -0,0 +1,5 @@ +Find a permutation p_1, ..., p_79 of the integers 1, 2, ..., 79 such that the 79 prefix products p_1, p_1*p_2, ..., p_1*p_2*...*p_79 are pairwise distinct modulo 79. + +Answer format: {"perm": [p_1, ..., p_79]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prefix-product-permutation-l2-s8/task.toml b/tasks/construct-rlve-prefix-product-permutation-l2-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..97f65f82050762eb91dcbe0f822c70b23998f757 --- /dev/null +++ b/tasks/construct-rlve-prefix-product-permutation-l2-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prefix-product-permutation-l2-s8" +version = "0.2.0" +description = "construct/rlve_prefix_product_permutation" +authors = [] +keywords = ["rlmath", "construct", "rlve_prefix_product_permutation"] + +[metadata] +subset = "construct" +family = "rlve_prefix_product_permutation" +problem_key = "cf487c_prefix_product_sequence" +domain = "number_theory" +tier = "competition" +level = "2" +source = "RLVE-Gym/prefix_product_mod_distinct_permutation" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prefix-product-permutation-l6-s0/instruction.md b/tasks/construct-rlve-prefix-product-permutation-l6-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..5f671f3595eb184d8a04a1309f87ee33e080ebe0 --- /dev/null +++ b/tasks/construct-rlve-prefix-product-permutation-l6-s0/instruction.md @@ -0,0 +1,5 @@ +Find a permutation p_1, ..., p_26497 of the integers 1, 2, ..., 26497 such that the 26497 prefix products p_1, p_1*p_2, ..., p_1*p_2*...*p_26497 are pairwise distinct modulo 26497. + +Answer format: {"perm": [p_1, ..., p_26497]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prefix-product-permutation-l6-s0/task.toml b/tasks/construct-rlve-prefix-product-permutation-l6-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..64b6275b332dd6d111ca35a92c1194d7ad78adb6 --- /dev/null +++ b/tasks/construct-rlve-prefix-product-permutation-l6-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prefix-product-permutation-l6-s0" +version = "0.2.0" +description = "construct/rlve_prefix_product_permutation" +authors = [] +keywords = ["rlmath", "construct", "rlve_prefix_product_permutation"] + +[metadata] +subset = "construct" +family = "rlve_prefix_product_permutation" +problem_key = "cf487c_prefix_product_sequence" +domain = "number_theory" +tier = "competition" +level = "6" +source = "RLVE-Gym/prefix_product_mod_distinct_permutation" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prefix-product-permutation-l6-s7/instruction.md b/tasks/construct-rlve-prefix-product-permutation-l6-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..999af0e8d1ee204b9f41b5265302b48c5560017c --- /dev/null +++ b/tasks/construct-rlve-prefix-product-permutation-l6-s7/instruction.md @@ -0,0 +1,5 @@ +Find a permutation p_1, ..., p_19531 of the integers 1, 2, ..., 19531 such that the 19531 prefix products p_1, p_1*p_2, ..., p_1*p_2*...*p_19531 are pairwise distinct modulo 19531. + +Answer format: {"perm": [p_1, ..., p_19531]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prefix-product-permutation-l6-s7/task.toml b/tasks/construct-rlve-prefix-product-permutation-l6-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..932ad9ee32cbe43a08318ea4d0f0ca30cb8df5a7 --- /dev/null +++ b/tasks/construct-rlve-prefix-product-permutation-l6-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prefix-product-permutation-l6-s7" +version = "0.2.0" +description = "construct/rlve_prefix_product_permutation" +authors = [] +keywords = ["rlmath", "construct", "rlve_prefix_product_permutation"] + +[metadata] +subset = "construct" +family = "rlve_prefix_product_permutation" +problem_key = "cf487c_prefix_product_sequence" +domain = "number_theory" +tier = "competition" +level = "6" +source = "RLVE-Gym/prefix_product_mod_distinct_permutation" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s0/environment/Dockerfile b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s0/environment/instance.json b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..743531810faf0c103c05ac69f0a002e7583f6020 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/environment/instance.json @@ -0,0 +1 @@ +{"n": 78, "family": "rlve_prefix_sum_permutation", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s0/instruction.md b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..0e68bbfbfe937a2087bd0cd68b12a6e2184836a8 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/instruction.md @@ -0,0 +1,5 @@ +Find a permutation p_1, ..., p_78 of the integers 1, 2, ..., 78 such that the 78 prefix sums p_1, p_1+p_2, ..., p_1+p_2+...+p_78 are pairwise distinct modulo 78. + +Answer format: {"perm": [p_1, ..., p_78]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s0/solution/solve.sh b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..0023d58a9f0b592cce31b65759270555932f24b2 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"perm": [78, 1, 76, 3, 74, 5, 72, 7, 70, 9, 68, 11, 66, 13, 64, 15, 62, 17, 60, 19, 58, 21, 56, 23, 54, 25, 52, 27, 50, 29, 48, 31, 46, 33, 44, 35, 42, 37, 40, 39, 38, 41, 36, 43, 34, 45, 32, 47, 30, 49, 28, 51, 26, 53, 24, 55, 22, 57, 20, 59, 18, 61, 16, 63, 14, 65, 12, 67, 10, 69, 8, 71, 6, 73, 4, 75, 2, 77]} +RLMATH_EOF diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s0/task.toml b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..f2f0cb120b6f229f67856717faed6eb7711a4c9d --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prefix-sum-permutation-l3-s0" +version = "0.2.0" +description = "construct/rlve_prefix_sum_permutation" +authors = [] +keywords = ["rlmath", "construct", "rlve_prefix_sum_permutation"] + +[metadata] +subset = "construct" +family = "rlve_prefix_sum_permutation" +problem_key = "prefix_sum_mod_distinct_permutation" +domain = "number_theory" +tier = "competition" +level = "3" +source = "RLVE-Gym/prefix_sum_mod_distinct_permutation" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/check.py b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..60c3e0996cdfa8673fd7f34ad70cccb789b17654 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/check.py @@ -0,0 +1,15 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + p = int_list(ans.get("perm"), n, 1, n, "perm") + if len(set(p)) != n: + raise Invalid("not a permutation") + seen, acc = set(), 0 + for v in p: + acc = (acc + v) % n + if acc in seen: + raise Invalid(f"prefix sum residue {acc} repeats") + seen.add(acc) + return None, {} diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/instance.json b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..743531810faf0c103c05ac69f0a002e7583f6020 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/instance.json @@ -0,0 +1 @@ +{"n": 78, "family": "rlve_prefix_sum_permutation", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/run.py b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/test.sh b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s7/environment/Dockerfile b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s7/environment/instance.json b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4d3c32961df65744c98c2c30b5473e55d6eb860d --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/environment/instance.json @@ -0,0 +1 @@ +{"n": 214, "family": "rlve_prefix_sum_permutation", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s7/instruction.md b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..ac6c35d913350618046b3ff4c167ab99487043c6 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/instruction.md @@ -0,0 +1,5 @@ +Find a permutation p_1, ..., p_214 of the integers 1, 2, ..., 214 such that the 214 prefix sums p_1, p_1+p_2, ..., p_1+p_2+...+p_214 are pairwise distinct modulo 214. + +Answer format: {"perm": [p_1, ..., p_214]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s7/solution/solve.sh b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..c7e6c14374106aa77fb8a79916a0eb9d74c4a818 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"perm": [214, 1, 212, 3, 210, 5, 208, 7, 206, 9, 204, 11, 202, 13, 200, 15, 198, 17, 196, 19, 194, 21, 192, 23, 190, 25, 188, 27, 186, 29, 184, 31, 182, 33, 180, 35, 178, 37, 176, 39, 174, 41, 172, 43, 170, 45, 168, 47, 166, 49, 164, 51, 162, 53, 160, 55, 158, 57, 156, 59, 154, 61, 152, 63, 150, 65, 148, 67, 146, 69, 144, 71, 142, 73, 140, 75, 138, 77, 136, 79, 134, 81, 132, 83, 130, 85, 128, 87, 126, 89, 124, 91, 122, 93, 120, 95, 118, 97, 116, 99, 114, 101, 112, 103, 110, 105, 108, 107, 106, 109, 104, 111, 102, 113, 100, 115, 98, 117, 96, 119, 94, 121, 92, 123, 90, 125, 88, 127, 86, 129, 84, 131, 82, 133, 80, 135, 78, 137, 76, 139, 74, 141, 72, 143, 70, 145, 68, 147, 66, 149, 64, 151, 62, 153, 60, 155, 58, 157, 56, 159, 54, 161, 52, 163, 50, 165, 48, 167, 46, 169, 44, 171, 42, 173, 40, 175, 38, 177, 36, 179, 34, 181, 32, 183, 30, 185, 28, 187, 26, 189, 24, 191, 22, 193, 20, 195, 18, 197, 16, 199, 14, 201, 12, 203, 10, 205, 8, 207, 6, 209, 4, 211, 2, 213]} +RLMATH_EOF diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s7/task.toml b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..95087110507eb6dcd35907da7a453bb9c0674b7c --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prefix-sum-permutation-l3-s7" +version = "0.2.0" +description = "construct/rlve_prefix_sum_permutation" +authors = [] +keywords = ["rlmath", "construct", "rlve_prefix_sum_permutation"] + +[metadata] +subset = "construct" +family = "rlve_prefix_sum_permutation" +problem_key = "prefix_sum_mod_distinct_permutation" +domain = "number_theory" +tier = "competition" +level = "3" +source = "RLVE-Gym/prefix_sum_mod_distinct_permutation" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/check.py b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..60c3e0996cdfa8673fd7f34ad70cccb789b17654 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/check.py @@ -0,0 +1,15 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + p = int_list(ans.get("perm"), n, 1, n, "perm") + if len(set(p)) != n: + raise Invalid("not a permutation") + seen, acc = set(), 0 + for v in p: + acc = (acc + v) % n + if acc in seen: + raise Invalid(f"prefix sum residue {acc} repeats") + seen.add(acc) + return None, {} diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/instance.json b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4d3c32961df65744c98c2c30b5473e55d6eb860d --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/instance.json @@ -0,0 +1 @@ +{"n": 214, "family": "rlve_prefix_sum_permutation", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/run.py b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/test.sh b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s9/environment/Dockerfile b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s9/environment/instance.json b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5978e6cb72dffa8192c5d2655d581bec962ac420 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/environment/instance.json @@ -0,0 +1 @@ +{"n": 204, "family": "rlve_prefix_sum_permutation", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s9/instruction.md b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..001106ba646e49104d2fbe7d7c12d87d47b6abbc --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/instruction.md @@ -0,0 +1,5 @@ +Find a permutation p_1, ..., p_204 of the integers 1, 2, ..., 204 such that the 204 prefix sums p_1, p_1+p_2, ..., p_1+p_2+...+p_204 are pairwise distinct modulo 204. + +Answer format: {"perm": [p_1, ..., p_204]} + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s9/solution/solve.sh b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..fb9b3fafc72f2bec02b2493259f597d34ba17785 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"perm": [204, 1, 202, 3, 200, 5, 198, 7, 196, 9, 194, 11, 192, 13, 190, 15, 188, 17, 186, 19, 184, 21, 182, 23, 180, 25, 178, 27, 176, 29, 174, 31, 172, 33, 170, 35, 168, 37, 166, 39, 164, 41, 162, 43, 160, 45, 158, 47, 156, 49, 154, 51, 152, 53, 150, 55, 148, 57, 146, 59, 144, 61, 142, 63, 140, 65, 138, 67, 136, 69, 134, 71, 132, 73, 130, 75, 128, 77, 126, 79, 124, 81, 122, 83, 120, 85, 118, 87, 116, 89, 114, 91, 112, 93, 110, 95, 108, 97, 106, 99, 104, 101, 102, 103, 100, 105, 98, 107, 96, 109, 94, 111, 92, 113, 90, 115, 88, 117, 86, 119, 84, 121, 82, 123, 80, 125, 78, 127, 76, 129, 74, 131, 72, 133, 70, 135, 68, 137, 66, 139, 64, 141, 62, 143, 60, 145, 58, 147, 56, 149, 54, 151, 52, 153, 50, 155, 48, 157, 46, 159, 44, 161, 42, 163, 40, 165, 38, 167, 36, 169, 34, 171, 32, 173, 30, 175, 28, 177, 26, 179, 24, 181, 22, 183, 20, 185, 18, 187, 16, 189, 14, 191, 12, 193, 10, 195, 8, 197, 6, 199, 4, 201, 2, 203]} +RLMATH_EOF diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s9/task.toml b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..40fb370c497fee7e5788de51fce3603f943d26c6 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prefix-sum-permutation-l3-s9" +version = "0.2.0" +description = "construct/rlve_prefix_sum_permutation" +authors = [] +keywords = ["rlmath", "construct", "rlve_prefix_sum_permutation"] + +[metadata] +subset = "construct" +family = "rlve_prefix_sum_permutation" +problem_key = "prefix_sum_mod_distinct_permutation" +domain = "number_theory" +tier = "competition" +level = "3" +source = "RLVE-Gym/prefix_sum_mod_distinct_permutation" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/check.py b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..60c3e0996cdfa8673fd7f34ad70cccb789b17654 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/check.py @@ -0,0 +1,15 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n = inst["n"] + p = int_list(ans.get("perm"), n, 1, n, "perm") + if len(set(p)) != n: + raise Invalid("not a permutation") + seen, acc = set(), 0 + for v in p: + acc = (acc + v) % n + if acc in seen: + raise Invalid(f"prefix sum residue {acc} repeats") + seen.add(acc) + return None, {} diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/instance.json b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5978e6cb72dffa8192c5d2655d581bec962ac420 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/instance.json @@ -0,0 +1 @@ +{"n": 204, "family": "rlve_prefix_sum_permutation", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/run.py b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/test.sh b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-prefix-sum-permutation-l3-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s1/environment/Dockerfile b/tasks/construct-rlve-prime-graph-coloring-l2-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s1/environment/instance.json b/tasks/construct-rlve-prime-graph-coloring-l2-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..1bea5bc48b0a56b4887492a380033d5bf2042643 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s1/environment/instance.json @@ -0,0 +1 @@ +{"n": 30, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s1/instruction.md b/tasks/construct-rlve-prime-graph-coloring-l2-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..c17ab0a21c952672629ab901406502ae39a6730e --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s1/instruction.md @@ -0,0 +1,5 @@ +Consider the graph on vertices 1, 2, ..., 30 in which u and v are adjacent if and only if |u - v| is a prime number. Its chromatic number is 4. Give a proper colouring using only colours 0..3 (adjacent vertices must receive different colours). + +Answer format: {"colors": [c_1, c_2, ..., c_30]} (the i-th entry is the colour of vertex i) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s1/solution/solve.sh b/tasks/construct-rlve-prime-graph-coloring-l2-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..a45f6ca7251a80f6b37ac0d03a094dc091a0fd59 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"colors": [1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2]} +RLMATH_EOF diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s1/task.toml b/tasks/construct-rlve-prime-graph-coloring-l2-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..aae1a267b412508d472c5a3da782a2fcff6ed25f --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prime-graph-coloring-l2-s1" +version = "0.2.0" +description = "construct/rlve_prime_graph_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_prime_graph_coloring"] + +[metadata] +subset = "construct" +family = "rlve_prime_graph_coloring" +problem_key = "prime_distance_graph_coloring" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "RLVE-Gym/prime_graph_minimum_chromatic_number" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/check.py b/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..b3736f1375f1862241999142c975ced361b8fcb5 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/check.py @@ -0,0 +1,20 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + c = int_list(ans.get("colors"), n, 0, k - 1, "colors") + sieve = [True] * (n + 1) + sieve[0] = False + if n >= 1: + sieve[1] = False + for i in range(2, int(n ** 0.5) + 1): + if sieve[i]: + for j in range(i * i, n + 1, i): + sieve[j] = False + for p in range(2, n): + if sieve[p]: + for u in range(n - p): + if c[u] == c[u + p]: + raise Invalid(f"vertices {u + 1} and {u + p + 1} (difference {p}) share a colour") + return None, {} diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/instance.json b/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..1bea5bc48b0a56b4887492a380033d5bf2042643 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/instance.json @@ -0,0 +1 @@ +{"n": 30, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/run.py b/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/test.sh b/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s6/environment/Dockerfile b/tasks/construct-rlve-prime-graph-coloring-l2-s6/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s6/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s6/environment/instance.json b/tasks/construct-rlve-prime-graph-coloring-l2-s6/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..18b7eb80791cb7d797f103ba477e088a8b727ad3 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s6/environment/instance.json @@ -0,0 +1 @@ +{"n": 21, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s6/instruction.md b/tasks/construct-rlve-prime-graph-coloring-l2-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..07b581b844068f8123501785e1673e2a79675c90 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s6/instruction.md @@ -0,0 +1,5 @@ +Consider the graph on vertices 1, 2, ..., 21 in which u and v are adjacent if and only if |u - v| is a prime number. Its chromatic number is 4. Give a proper colouring using only colours 0..3 (adjacent vertices must receive different colours). + +Answer format: {"colors": [c_1, c_2, ..., c_21]} (the i-th entry is the colour of vertex i) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s6/solution/solve.sh b/tasks/construct-rlve-prime-graph-coloring-l2-s6/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..f73dd23cc5b6f068448088d772071e32709bcb03 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s6/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"colors": [1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1]} +RLMATH_EOF diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s6/task.toml b/tasks/construct-rlve-prime-graph-coloring-l2-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..ae8041ecfb04f37f945faee038110e37711caf15 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prime-graph-coloring-l2-s6" +version = "0.2.0" +description = "construct/rlve_prime_graph_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_prime_graph_coloring"] + +[metadata] +subset = "construct" +family = "rlve_prime_graph_coloring" +problem_key = "prime_distance_graph_coloring" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "RLVE-Gym/prime_graph_minimum_chromatic_number" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/check.py b/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..b3736f1375f1862241999142c975ced361b8fcb5 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/check.py @@ -0,0 +1,20 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + c = int_list(ans.get("colors"), n, 0, k - 1, "colors") + sieve = [True] * (n + 1) + sieve[0] = False + if n >= 1: + sieve[1] = False + for i in range(2, int(n ** 0.5) + 1): + if sieve[i]: + for j in range(i * i, n + 1, i): + sieve[j] = False + for p in range(2, n): + if sieve[p]: + for u in range(n - p): + if c[u] == c[u + p]: + raise Invalid(f"vertices {u + 1} and {u + p + 1} (difference {p}) share a colour") + return None, {} diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/instance.json b/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..18b7eb80791cb7d797f103ba477e088a8b727ad3 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/instance.json @@ -0,0 +1 @@ +{"n": 21, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/run.py b/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/test.sh b/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s6/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s8/instruction.md b/tasks/construct-rlve-prime-graph-coloring-l2-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..1f36c685cfd40c48d7b815963fb99cc5845a18ce --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s8/instruction.md @@ -0,0 +1,5 @@ +Consider the graph on vertices 1, 2, ..., 28 in which u and v are adjacent if and only if |u - v| is a prime number. Its chromatic number is 4. Give a proper colouring using only colours 0..3 (adjacent vertices must receive different colours). + +Answer format: {"colors": [c_1, c_2, ..., c_28]} (the i-th entry is the colour of vertex i) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prime-graph-coloring-l2-s8/task.toml b/tasks/construct-rlve-prime-graph-coloring-l2-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..d7b805039e367b31431db63d8fd6c774081143c2 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l2-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prime-graph-coloring-l2-s8" +version = "0.2.0" +description = "construct/rlve_prime_graph_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_prime_graph_coloring"] + +[metadata] +subset = "construct" +family = "rlve_prime_graph_coloring" +problem_key = "prime_distance_graph_coloring" +domain = "graph_theory" +tier = "competition" +level = "2" +source = "RLVE-Gym/prime_graph_minimum_chromatic_number" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s0/environment/Dockerfile b/tasks/construct-rlve-prime-graph-coloring-l6-s0/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s0/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s0/environment/instance.json b/tasks/construct-rlve-prime-graph-coloring-l6-s0/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4bb0d2c589f5859e3cf59aa0eed9d5f53cec8404 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s0/environment/instance.json @@ -0,0 +1 @@ +{"n": 866, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s0/instruction.md b/tasks/construct-rlve-prime-graph-coloring-l6-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..c4b49ab6d83deda4c9c185353f18c01f3c131d51 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s0/instruction.md @@ -0,0 +1,5 @@ +Consider the graph on vertices 1, 2, ..., 866 in which u and v are adjacent if and only if |u - v| is a prime number. Its chromatic number is 4. Give a proper colouring using only colours 0..3 (adjacent vertices must receive different colours). + +Answer format: {"colors": [c_1, c_2, ..., c_866]} (the i-th entry is the colour of vertex i) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s0/solution/solve.sh b/tasks/construct-rlve-prime-graph-coloring-l6-s0/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..79f48577eb0c34e88df1ef2c367c09c70fbe50a5 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s0/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"colors": [1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2]} +RLMATH_EOF diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s0/task.toml b/tasks/construct-rlve-prime-graph-coloring-l6-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..0d1159482095b2cbb6ee0af1ac455292c0c9d1c3 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prime-graph-coloring-l6-s0" +version = "0.2.0" +description = "construct/rlve_prime_graph_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_prime_graph_coloring"] + +[metadata] +subset = "construct" +family = "rlve_prime_graph_coloring" +problem_key = "prime_distance_graph_coloring" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "RLVE-Gym/prime_graph_minimum_chromatic_number" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/check.py b/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..b3736f1375f1862241999142c975ced361b8fcb5 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/check.py @@ -0,0 +1,20 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + c = int_list(ans.get("colors"), n, 0, k - 1, "colors") + sieve = [True] * (n + 1) + sieve[0] = False + if n >= 1: + sieve[1] = False + for i in range(2, int(n ** 0.5) + 1): + if sieve[i]: + for j in range(i * i, n + 1, i): + sieve[j] = False + for p in range(2, n): + if sieve[p]: + for u in range(n - p): + if c[u] == c[u + p]: + raise Invalid(f"vertices {u + 1} and {u + p + 1} (difference {p}) share a colour") + return None, {} diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/instance.json b/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..4bb0d2c589f5859e3cf59aa0eed9d5f53cec8404 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/instance.json @@ -0,0 +1 @@ +{"n": 866, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/run.py b/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/test.sh b/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s0/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s7/environment/Dockerfile b/tasks/construct-rlve-prime-graph-coloring-l6-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s7/environment/instance.json b/tasks/construct-rlve-prime-graph-coloring-l6-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..a9c2d73850268bfa7a47d61718b880f617d76db1 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s7/environment/instance.json @@ -0,0 +1 @@ +{"n": 1053, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s7/instruction.md b/tasks/construct-rlve-prime-graph-coloring-l6-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..1ceb27250aeb0ab0ed1add52ff1afc57276a14fb --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s7/instruction.md @@ -0,0 +1,5 @@ +Consider the graph on vertices 1, 2, ..., 1053 in which u and v are adjacent if and only if |u - v| is a prime number. Its chromatic number is 4. Give a proper colouring using only colours 0..3 (adjacent vertices must receive different colours). + +Answer format: {"colors": [c_1, c_2, ..., c_1053]} (the i-th entry is the colour of vertex i) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s7/solution/solve.sh b/tasks/construct-rlve-prime-graph-coloring-l6-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..da092714c58dc74559ce918f27d305b9237d9cc9 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"colors": [1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1]} +RLMATH_EOF diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s7/task.toml b/tasks/construct-rlve-prime-graph-coloring-l6-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..2cfad14fd70a86885a76fab1655bb32234d23c79 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prime-graph-coloring-l6-s7" +version = "0.2.0" +description = "construct/rlve_prime_graph_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_prime_graph_coloring"] + +[metadata] +subset = "construct" +family = "rlve_prime_graph_coloring" +problem_key = "prime_distance_graph_coloring" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "RLVE-Gym/prime_graph_minimum_chromatic_number" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/check.py b/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..b3736f1375f1862241999142c975ced361b8fcb5 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/check.py @@ -0,0 +1,20 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + c = int_list(ans.get("colors"), n, 0, k - 1, "colors") + sieve = [True] * (n + 1) + sieve[0] = False + if n >= 1: + sieve[1] = False + for i in range(2, int(n ** 0.5) + 1): + if sieve[i]: + for j in range(i * i, n + 1, i): + sieve[j] = False + for p in range(2, n): + if sieve[p]: + for u in range(n - p): + if c[u] == c[u + p]: + raise Invalid(f"vertices {u + 1} and {u + p + 1} (difference {p}) share a colour") + return None, {} diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/instance.json b/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..a9c2d73850268bfa7a47d61718b880f617d76db1 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/instance.json @@ -0,0 +1 @@ +{"n": 1053, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/run.py b/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/test.sh b/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s9/environment/Dockerfile b/tasks/construct-rlve-prime-graph-coloring-l6-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s9/environment/instance.json b/tasks/construct-rlve-prime-graph-coloring-l6-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..282e1c930d5e1918ca7e8b766d61446e52d3be5d --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s9/environment/instance.json @@ -0,0 +1 @@ +{"n": 1884, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s9/instruction.md b/tasks/construct-rlve-prime-graph-coloring-l6-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..390f9c873839933555e902b08202e953e98f063e --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s9/instruction.md @@ -0,0 +1,5 @@ +Consider the graph on vertices 1, 2, ..., 1884 in which u and v are adjacent if and only if |u - v| is a prime number. Its chromatic number is 4. Give a proper colouring using only colours 0..3 (adjacent vertices must receive different colours). + +Answer format: {"colors": [c_1, c_2, ..., c_1884]} (the i-th entry is the colour of vertex i) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s9/solution/solve.sh b/tasks/construct-rlve-prime-graph-coloring-l6-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..a70f41ba45299c2f01da2a7c6aa58ac0afe07cad --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"colors": [1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0]} +RLMATH_EOF diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s9/task.toml b/tasks/construct-rlve-prime-graph-coloring-l6-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..3f112c1b21952723899fd2138677489ff02d4c72 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-prime-graph-coloring-l6-s9" +version = "0.2.0" +description = "construct/rlve_prime_graph_coloring" +authors = [] +keywords = ["rlmath", "construct", "rlve_prime_graph_coloring"] + +[metadata] +subset = "construct" +family = "rlve_prime_graph_coloring" +problem_key = "prime_distance_graph_coloring" +domain = "graph_theory" +tier = "competition" +level = "6" +source = "RLVE-Gym/prime_graph_minimum_chromatic_number" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/check.py b/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..b3736f1375f1862241999142c975ced361b8fcb5 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/check.py @@ -0,0 +1,20 @@ +from run import Invalid, int_list + + +def check(inst, ans): + n, k = inst["n"], inst["k"] + c = int_list(ans.get("colors"), n, 0, k - 1, "colors") + sieve = [True] * (n + 1) + sieve[0] = False + if n >= 1: + sieve[1] = False + for i in range(2, int(n ** 0.5) + 1): + if sieve[i]: + for j in range(i * i, n + 1, i): + sieve[j] = False + for p in range(2, n): + if sieve[p]: + for u in range(n - p): + if c[u] == c[u + p]: + raise Invalid(f"vertices {u + 1} and {u + p + 1} (difference {p}) share a colour") + return None, {} diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/instance.json b/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..282e1c930d5e1918ca7e8b766d61446e52d3be5d --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/instance.json @@ -0,0 +1 @@ +{"n": 1884, "k": 4, "family": "rlve_prime_graph_coloring", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/run.py b/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/test.sh b/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-prime-graph-coloring-l6-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-round-robin-scores-l4-s0/instruction.md b/tasks/construct-rlve-round-robin-scores-l4-s0/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..e154688f32f18679befff29ec75397501c587869 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s0/instruction.md @@ -0,0 +1,10 @@ +Construct an 13 x 13 matrix A (0-indexed) with entries in {0, 1, 2} such that +1. A[i][i] = 0 for all i; +2. A[i][j] + A[j][i] = 2 for all i != j; +3. W[i] = 3 * #{j : A[i][j] = 2} + 1 * #{j : A[i][j] = 1} equals the target below for every i. + +Target W = [22, 20, 11, 20, 22, 13, 13, 12, 10, 15, 11, 13, 14] (W[0], ..., W[12]) + +Answer format: {"A": [row_0, ..., row_12]} where each row is a string of 13 digits from 0/1/2 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-round-robin-scores-l4-s0/task.toml b/tasks/construct-rlve-round-robin-scores-l4-s0/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..7acf4f7e98c01d9f34dff305bef3b4b93fd64d65 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s0/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-round-robin-scores-l4-s0" +version = "0.2.0" +description = "construct/rlve_round_robin_scores" +authors = [] +keywords = ["rlmath", "construct", "rlve_round_robin_scores"] + +[metadata] +subset = "construct" +family = "rlve_round_robin_scores" +problem_key = "tournament_score_realisation_3_1_0" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "RLVE-Gym/round_robin" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-round-robin-scores-l4-s7/environment/Dockerfile b/tasks/construct-rlve-round-robin-scores-l4-s7/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s7/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-round-robin-scores-l4-s7/environment/instance.json b/tasks/construct-rlve-round-robin-scores-l4-s7/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b7808a57b2a5daeaaa953bc2ab465c104e55e97a --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s7/environment/instance.json @@ -0,0 +1 @@ +{"W": [14, 17, 12, 26, 12, 20, 11, 13, 11, 18, 13, 19, 12], "family": "rlve_round_robin_scores", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-round-robin-scores-l4-s7/instruction.md b/tasks/construct-rlve-round-robin-scores-l4-s7/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..a713564f6cefa425e7517abc4466a7ac30651fa0 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s7/instruction.md @@ -0,0 +1,10 @@ +Construct an 13 x 13 matrix A (0-indexed) with entries in {0, 1, 2} such that +1. A[i][i] = 0 for all i; +2. A[i][j] + A[j][i] = 2 for all i != j; +3. W[i] = 3 * #{j : A[i][j] = 2} + 1 * #{j : A[i][j] = 1} equals the target below for every i. + +Target W = [14, 17, 12, 26, 12, 20, 11, 13, 11, 18, 13, 19, 12] (W[0], ..., W[12]) + +Answer format: {"A": [row_0, ..., row_12]} where each row is a string of 13 digits from 0/1/2 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-round-robin-scores-l4-s7/solution/solve.sh b/tasks/construct-rlve-round-robin-scores-l4-s7/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..0b4b0747b56fccdbfcbf4b76002e5272672911af --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s7/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"A": ["0121001120012", "1021212121000", "0000212100210", "1120111222222", "2001001112011", "2111201211112", "1001110110112", "1110101021201", "0020111001102", "2120012110112", "2200211011000", "1210111221201", "0220100100210"]} +RLMATH_EOF diff --git a/tasks/construct-rlve-round-robin-scores-l4-s7/task.toml b/tasks/construct-rlve-round-robin-scores-l4-s7/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..0d8bc6e06327fc0bc30e4063d7766067a90e9c5d --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s7/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-round-robin-scores-l4-s7" +version = "0.2.0" +description = "construct/rlve_round_robin_scores" +authors = [] +keywords = ["rlmath", "construct", "rlve_round_robin_scores"] + +[metadata] +subset = "construct" +family = "rlve_round_robin_scores" +problem_key = "tournament_score_realisation_3_1_0" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "RLVE-Gym/round_robin" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-round-robin-scores-l4-s7/tests/check.py b/tasks/construct-rlve-round-robin-scores-l4-s7/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..214446acaa90ce170daad3989b42317353060f9d --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s7/tests/check.py @@ -0,0 +1,24 @@ +from run import Invalid + + +def check(inst, ans): + W = inst["W"] + n = len(W) + A = ans.get("A") + if not isinstance(A, list) or len(A) != n: + raise Invalid(f"A must be a list of {n} strings") + for r in A: + if not isinstance(r, str) or len(r) != n or set(r) - {"0", "1", "2"}: + raise Invalid(f"each row must be a string of {n} digits 0/1/2") + for i in range(n): + if A[i][i] != "0": + raise Invalid("diagonal must be 0") + w = 0 + for j in range(n): + if i != j: + if int(A[i][j]) + int(A[j][i]) != 2: + raise Invalid(f"A[{i}][{j}] + A[{j}][{i}] != 2") + w += 3 * (A[i][j] == "2") + (A[i][j] == "1") + if w != W[i]: + raise Invalid(f"W[{i}] = {w}, need {W[i]}") + return None, {} diff --git a/tasks/construct-rlve-round-robin-scores-l4-s7/tests/instance.json b/tasks/construct-rlve-round-robin-scores-l4-s7/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b7808a57b2a5daeaaa953bc2ab465c104e55e97a --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s7/tests/instance.json @@ -0,0 +1 @@ +{"W": [14, 17, 12, 26, 12, 20, 11, 13, 11, 18, 13, 19, 12], "family": "rlve_round_robin_scores", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-round-robin-scores-l4-s7/tests/run.py b/tasks/construct-rlve-round-robin-scores-l4-s7/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s7/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-round-robin-scores-l4-s7/tests/test.sh b/tasks/construct-rlve-round-robin-scores-l4-s7/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s7/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-round-robin-scores-l4-s9/environment/Dockerfile b/tasks/construct-rlve-round-robin-scores-l4-s9/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s9/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-round-robin-scores-l4-s9/environment/instance.json b/tasks/construct-rlve-round-robin-scores-l4-s9/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..13ebbe9483a7579d5289df9f9dc7a7b518a60a20 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s9/environment/instance.json @@ -0,0 +1 @@ +{"W": [10, 12, 12, 12, 12, 12, 12, 14, 12, 12, 16, 12, 11], "family": "rlve_round_robin_scores", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-round-robin-scores-l4-s9/instruction.md b/tasks/construct-rlve-round-robin-scores-l4-s9/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..f85bf9d4b956c77ff0e7672e82ea49af0e5cccfe --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s9/instruction.md @@ -0,0 +1,10 @@ +Construct an 13 x 13 matrix A (0-indexed) with entries in {0, 1, 2} such that +1. A[i][i] = 0 for all i; +2. A[i][j] + A[j][i] = 2 for all i != j; +3. W[i] = 3 * #{j : A[i][j] = 2} + 1 * #{j : A[i][j] = 1} equals the target below for every i. + +Target W = [10, 12, 12, 12, 12, 12, 12, 14, 12, 12, 16, 12, 11] (W[0], ..., W[12]) + +Answer format: {"A": [row_0, ..., row_12]} where each row is a string of 13 digits from 0/1/2 + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-round-robin-scores-l4-s9/solution/solve.sh b/tasks/construct-rlve-round-robin-scores-l4-s9/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..7fe7955862a9078e255bb072aa7a8ce8c23ba786 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s9/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"A": ["0111111011011", "1011111111111", "1101111111111", "1110111111111", "1111011111111", "1111101111111", "1111110111111", "2111111011111", "1111111101111", "1111111110111", "2111111111012", "1111111111101", "1111111111010"]} +RLMATH_EOF diff --git a/tasks/construct-rlve-round-robin-scores-l4-s9/task.toml b/tasks/construct-rlve-round-robin-scores-l4-s9/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5ab9f752749f3c0d94dd0a86968958559a5a1f73 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s9/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-round-robin-scores-l4-s9" +version = "0.2.0" +description = "construct/rlve_round_robin_scores" +authors = [] +keywords = ["rlmath", "construct", "rlve_round_robin_scores"] + +[metadata] +subset = "construct" +family = "rlve_round_robin_scores" +problem_key = "tournament_score_realisation_3_1_0" +domain = "combinatorics" +tier = "competition" +level = "4" +source = "RLVE-Gym/round_robin" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-round-robin-scores-l4-s9/tests/check.py b/tasks/construct-rlve-round-robin-scores-l4-s9/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..214446acaa90ce170daad3989b42317353060f9d --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s9/tests/check.py @@ -0,0 +1,24 @@ +from run import Invalid + + +def check(inst, ans): + W = inst["W"] + n = len(W) + A = ans.get("A") + if not isinstance(A, list) or len(A) != n: + raise Invalid(f"A must be a list of {n} strings") + for r in A: + if not isinstance(r, str) or len(r) != n or set(r) - {"0", "1", "2"}: + raise Invalid(f"each row must be a string of {n} digits 0/1/2") + for i in range(n): + if A[i][i] != "0": + raise Invalid("diagonal must be 0") + w = 0 + for j in range(n): + if i != j: + if int(A[i][j]) + int(A[j][i]) != 2: + raise Invalid(f"A[{i}][{j}] + A[{j}][{i}] != 2") + w += 3 * (A[i][j] == "2") + (A[i][j] == "1") + if w != W[i]: + raise Invalid(f"W[{i}] = {w}, need {W[i]}") + return None, {} diff --git a/tasks/construct-rlve-round-robin-scores-l4-s9/tests/instance.json b/tasks/construct-rlve-round-robin-scores-l4-s9/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..13ebbe9483a7579d5289df9f9dc7a7b518a60a20 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s9/tests/instance.json @@ -0,0 +1 @@ +{"W": [10, 12, 12, 12, 12, 12, 12, 14, 12, 12, 16, 12, 11], "family": "rlve_round_robin_scores", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-round-robin-scores-l4-s9/tests/run.py b/tasks/construct-rlve-round-robin-scores-l4-s9/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s9/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-round-robin-scores-l4-s9/tests/test.sh b/tasks/construct-rlve-round-robin-scores-l4-s9/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-round-robin-scores-l4-s9/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-shortest-path-count-l3-s2/environment/Dockerfile b/tasks/construct-rlve-shortest-path-count-l3-s2/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s2/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-shortest-path-count-l3-s2/environment/instance.json b/tasks/construct-rlve-shortest-path-count-l3-s2/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5cdcbbf9bf6f331f48bf7c5b8c03dc84a1257a49 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s2/environment/instance.json @@ -0,0 +1 @@ +{"K": 91760, "n_max": 105, "family": "rlve_shortest_path_count", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-shortest-path-count-l3-s2/instruction.md b/tasks/construct-rlve-shortest-path-count-l3-s2/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..a32f1df03af3bb6f50c0e010b396a276a2309e2f --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s2/instruction.md @@ -0,0 +1,5 @@ +Construct a simple undirected graph on N vertices, numbered 1..N, with N < 106, such that the number of shortest paths between vertex 1 and vertex 2 is exactly 91760. (Vertex 2 must be reachable from vertex 1.) + +Answer format: {"n": N, "adj": [row_1, ..., row_N]} where row_i is a string of length N over {'Y','N'}; the j-th character of row_i is 'Y' iff vertices i and j are adjacent. The matrix must be symmetric with 'N' on the diagonal. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-shortest-path-count-l3-s2/solution/solve.sh b/tasks/construct-rlve-shortest-path-count-l3-s2/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..48b1e83f9a080d6e04c9c96c252ef71bb3867e90 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s2/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"n": 51, "adj": ["NNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNY", "YNNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "YNNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNNN", "NNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNNN", "NNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNN", "NNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNN", "NNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNN", "NNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNN", "NNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNYNNNNNNN", "NNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNYNNNNNNN", "NNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNYNNNNNN", "NNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNYNNNNNN", "NNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNYNNN", "NNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNYNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNYNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNYNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNY", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNY", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNNNN", "NNNNNNNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNNN", "NNNNNNNNNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNN", "NNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNN", "NNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNN", "NNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNNNNYNYNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNYNYNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNYNYN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNY", "NYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNYN"]} +RLMATH_EOF diff --git a/tasks/construct-rlve-shortest-path-count-l3-s2/task.toml b/tasks/construct-rlve-shortest-path-count-l3-s2/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..5e62d2b6710a7ca0871ed6fee1070a85077395b4 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s2/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-shortest-path-count-l3-s2" +version = "0.2.0" +description = "construct/rlve_shortest_path_count" +authors = [] +keywords = ["rlmath", "construct", "rlve_shortest_path_count"] + +[metadata] +subset = "construct" +family = "rlve_shortest_path_count" +problem_key = "cf388b_shortest_path_count" +domain = "combinatorics" +tier = "competition" +level = "3" +source = "RLVE-Gym/shortest_path_count_construction" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-shortest-path-count-l3-s2/tests/check.py b/tasks/construct-rlve-shortest-path-count-l3-s2/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..c59d4c4f4bb4e824a2019380643a5b3ade0ca974 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s2/tests/check.py @@ -0,0 +1,34 @@ +from run import Invalid, as_int + + +def check(inst, ans): + n = as_int(ans.get("n"), "n", lo=2, hi=inst["n_max"]) + adj = ans.get("adj") + if not isinstance(adj, list) or len(adj) != n: + raise Invalid(f"adj must be a list of {n} strings") + for r in adj: + if not isinstance(r, str) or len(r) != n or set(r) - {"Y", "N"}: + raise Invalid("each row must be a string of length n over {'Y','N'}") + for i in range(n): + if adj[i][i] != "N": + raise Invalid("self-loop") + for j in range(i + 1, n): + if adj[i][j] != adj[j][i]: + raise Invalid("matrix not symmetric") + nb = [[j for j in range(n) if adj[i][j] == "Y"] for i in range(n)] + dist = [-1] * n + cnt = [0] * n + dist[0], cnt[0] = 0, 1 + q = [0] + for u in q: # BFS with exact (Python int) path counts + for v in nb[u]: + if dist[v] < 0: + dist[v] = dist[u] + 1 + q.append(v) + if dist[v] == dist[u] + 1: + cnt[v] += cnt[u] + if dist[1] < 0: + raise Invalid("vertex 2 is unreachable from vertex 1") + if cnt[1] != inst["K"]: + raise Invalid(f"{cnt[1]} shortest paths, need {inst['K']}") + return None, {} diff --git a/tasks/construct-rlve-shortest-path-count-l3-s2/tests/instance.json b/tasks/construct-rlve-shortest-path-count-l3-s2/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5cdcbbf9bf6f331f48bf7c5b8c03dc84a1257a49 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s2/tests/instance.json @@ -0,0 +1 @@ +{"K": 91760, "n_max": 105, "family": "rlve_shortest_path_count", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-shortest-path-count-l3-s2/tests/run.py b/tasks/construct-rlve-shortest-path-count-l3-s2/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s2/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-shortest-path-count-l3-s2/tests/test.sh b/tasks/construct-rlve-shortest-path-count-l3-s2/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s2/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-shortest-path-count-l3-s5/environment/Dockerfile b/tasks/construct-rlve-shortest-path-count-l3-s5/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s5/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-shortest-path-count-l3-s5/environment/instance.json b/tasks/construct-rlve-shortest-path-count-l3-s5/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..ffa31d6e8adcd76ac4058601ae01fb7e4742f0db --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s5/environment/instance.json @@ -0,0 +1 @@ +{"K": 79878, "n_max": 105, "family": "rlve_shortest_path_count", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-shortest-path-count-l3-s5/instruction.md b/tasks/construct-rlve-shortest-path-count-l3-s5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..499425c7ad22bf83af4c66b470bf721f40efad80 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s5/instruction.md @@ -0,0 +1,5 @@ +Construct a simple undirected graph on N vertices, numbered 1..N, with N < 106, such that the number of shortest paths between vertex 1 and vertex 2 is exactly 79878. (Vertex 2 must be reachable from vertex 1.) + +Answer format: {"n": N, "adj": [row_1, ..., row_N]} where row_i is a string of length N over {'Y','N'}; the j-th character of row_i is 'Y' iff vertices i and j are adjacent. The matrix must be symmetric with 'N' on the diagonal. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-shortest-path-count-l3-s5/solution/solve.sh b/tasks/construct-rlve-shortest-path-count-l3-s5/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..e0531d8ae9650b9d94355fb0039f4aa02f4ca717 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s5/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"n": 51, "adj": ["NNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNY", "YNNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNNNNNN", "YNNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNNNNNN", "NNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNNNNN", "NNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNNNNN", "NNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNYNNNNN", "NNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNNYNNNNN", "NNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNYNNNN", "NNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNYNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNYNNN", "NNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNYNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNYYNNNNNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNY", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNY", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNNNNNN", "NNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNNNNNN", "NNNNYYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYNNNNN", "NNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNNNYNYNNNN", "NNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNNYNYNNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNNNNYNYNN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNYN", "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYNY", "NYNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNYYNNNNNNNNNNNNNNNYN"]} +RLMATH_EOF diff --git a/tasks/construct-rlve-shortest-path-count-l3-s5/task.toml b/tasks/construct-rlve-shortest-path-count-l3-s5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..c2c323f0b590e977860f330942ac499ac72a9737 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s5/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-shortest-path-count-l3-s5" +version = "0.2.0" +description = "construct/rlve_shortest_path_count" +authors = [] +keywords = ["rlmath", "construct", "rlve_shortest_path_count"] + +[metadata] +subset = "construct" +family = "rlve_shortest_path_count" +problem_key = "cf388b_shortest_path_count" +domain = "combinatorics" +tier = "competition" +level = "3" +source = "RLVE-Gym/shortest_path_count_construction" +source_license = "MIT" +tags = [] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-shortest-path-count-l3-s5/tests/check.py b/tasks/construct-rlve-shortest-path-count-l3-s5/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..c59d4c4f4bb4e824a2019380643a5b3ade0ca974 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s5/tests/check.py @@ -0,0 +1,34 @@ +from run import Invalid, as_int + + +def check(inst, ans): + n = as_int(ans.get("n"), "n", lo=2, hi=inst["n_max"]) + adj = ans.get("adj") + if not isinstance(adj, list) or len(adj) != n: + raise Invalid(f"adj must be a list of {n} strings") + for r in adj: + if not isinstance(r, str) or len(r) != n or set(r) - {"Y", "N"}: + raise Invalid("each row must be a string of length n over {'Y','N'}") + for i in range(n): + if adj[i][i] != "N": + raise Invalid("self-loop") + for j in range(i + 1, n): + if adj[i][j] != adj[j][i]: + raise Invalid("matrix not symmetric") + nb = [[j for j in range(n) if adj[i][j] == "Y"] for i in range(n)] + dist = [-1] * n + cnt = [0] * n + dist[0], cnt[0] = 0, 1 + q = [0] + for u in q: # BFS with exact (Python int) path counts + for v in nb[u]: + if dist[v] < 0: + dist[v] = dist[u] + 1 + q.append(v) + if dist[v] == dist[u] + 1: + cnt[v] += cnt[u] + if dist[1] < 0: + raise Invalid("vertex 2 is unreachable from vertex 1") + if cnt[1] != inst["K"]: + raise Invalid(f"{cnt[1]} shortest paths, need {inst['K']}") + return None, {} diff --git a/tasks/construct-rlve-shortest-path-count-l3-s5/tests/instance.json b/tasks/construct-rlve-shortest-path-count-l3-s5/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..ffa31d6e8adcd76ac4058601ae01fb7e4742f0db --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s5/tests/instance.json @@ -0,0 +1 @@ +{"K": 79878, "n_max": 105, "family": "rlve_shortest_path_count", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-shortest-path-count-l3-s5/tests/run.py b/tasks/construct-rlve-shortest-path-count-l3-s5/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s5/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-shortest-path-count-l3-s5/tests/test.sh b/tasks/construct-rlve-shortest-path-count-l3-s5/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-shortest-path-count-l3-s5/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/environment/Dockerfile b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/environment/instance.json b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b2b16e4b87fbfd3f4b7263be93dcde2a837cb0bd --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/environment/instance.json @@ -0,0 +1 @@ +{"points": [[4, 37], [6, 0], [7, 49], [10, 53], [12, 32], [15, 49], [16, 44], [23, 13], [23, 28], [24, 37], [25, 42], [31, 16], [33, 55], [36, 50], [37, 16], [37, 21], [39, 33], [40, 5], [40, 60], [42, 15], [42, 47], [43, 15], [44, 55], [46, 46], [48, 18], [51, 22], [51, 51], [55, 51], [56, 41], [57, 46]], "r_opt": 35.37334879685318, "r2_num": 50552713, "r2_den": 40401, "family": "rlve_smallest_enclosing_circle", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/instruction.md b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..3e887a588e13843502da2c2365db6b85f6937c2e --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/instruction.md @@ -0,0 +1,37 @@ +You are given 30 lattice points in the plane: +(4, 37) +(6, 0) +(7, 49) +(10, 53) +(12, 32) +(15, 49) +(16, 44) +(23, 13) +(23, 28) +(24, 37) +(25, 42) +(31, 16) +(33, 55) +(36, 50) +(37, 16) +(37, 21) +(39, 33) +(40, 5) +(40, 60) +(42, 15) +(42, 47) +(43, 15) +(44, 55) +(46, 46) +(48, 18) +(51, 22) +(51, 51) +(55, 51) +(56, 41) +(57, 46) + +Find a circle (centre (x, y), radius r) that contains all of these points and whose radius is minimum possible. Your answer is accepted if every point is within distance r + 1e-6 of the centre and r exceeds the minimum possible radius by at most 1e-6. + +Answer format: {"x": , "y": , "r": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/solution/solve.sh b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..351195511a8faea5bfc1fb5afa328f6f6bd86571 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": 29.865671641791046, "y": 26.109452736318406, "r": 35.373348797853176} +RLMATH_EOF diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/task.toml b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..1e01ab4e44b5830233ad80bb5c25e9798e6619fc --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-smallest-enclosing-circle-l4-s1" +version = "0.2.0" +description = "construct/rlve_smallest_enclosing_circle" +authors = [] +keywords = ["rlmath", "construct", "rlve_smallest_enclosing_circle"] + +[metadata] +subset = "construct" +family = "rlve_smallest_enclosing_circle" +problem_key = "minimum_enclosing_circle" +domain = "geometry" +tier = "competition" +level = "4" +source = "RLVE-Gym/smallest_circle" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/check.py b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..0eabf3219588f98db42bf5fd305dc24ce21ca495 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/check.py @@ -0,0 +1,17 @@ +import math + +from run import Invalid, num + +TOL = 1e-6 + + +def check(inst, ans): + x, y, r = num(ans.get("x"), "x"), num(ans.get("y"), "y"), num(ans.get("r"), "r") + if r <= 0: + raise Invalid("r must be positive") + if r > inst["r_opt"] + TOL: + raise Invalid(f"r = {r} exceeds the minimum radius {inst['r_opt']} by more than {TOL}") + for px, py in inst["points"]: + if math.hypot(px - x, py - y) > r + TOL: + raise Invalid(f"point ({px}, {py}) is outside the circle") + return None, {"r": r} diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/instance.json b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b2b16e4b87fbfd3f4b7263be93dcde2a837cb0bd --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/instance.json @@ -0,0 +1 @@ +{"points": [[4, 37], [6, 0], [7, 49], [10, 53], [12, 32], [15, 49], [16, 44], [23, 13], [23, 28], [24, 37], [25, 42], [31, 16], [33, 55], [36, 50], [37, 16], [37, 21], [39, 33], [40, 5], [40, 60], [42, 15], [42, 47], [43, 15], [44, 55], [46, 46], [48, 18], [51, 22], [51, 51], [55, 51], [56, 41], [57, 46]], "r_opt": 35.37334879685318, "r2_num": 50552713, "r2_den": 40401, "family": "rlve_smallest_enclosing_circle", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/run.py b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/test.sh b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s1/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s6/instruction.md b/tasks/construct-rlve-smallest-enclosing-circle-l4-s6/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..7f934a283e070b5a03b185e4de462f2872e17d33 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s6/instruction.md @@ -0,0 +1,37 @@ +You are given 30 lattice points in the plane: +(1, 5) +(3, 15) +(3, 27) +(7, 31) +(8, 20) +(10, 9) +(10, 51) +(11, 22) +(14, 45) +(22, 15) +(24, 59) +(26, 30) +(26, 34) +(27, 6) +(30, 18) +(31, 31) +(31, 52) +(45, 24) +(45, 60) +(46, 4) +(47, 8) +(48, 43) +(48, 46) +(49, 32) +(53, 53) +(54, 13) +(54, 47) +(56, 28) +(57, 42) +(59, 4) + +Find a circle (centre (x, y), radius r) that contains all of these points and whose radius is minimum possible. Your answer is accepted if every point is within distance r + 1e-6 of the centre and r exceeds the minimum possible radius by at most 1e-6. + +Answer format: {"x": , "y": , "r": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s6/task.toml b/tasks/construct-rlve-smallest-enclosing-circle-l4-s6/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..6c0f66b337f8610a94f3eb5260c99e6e782cb121 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s6/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-smallest-enclosing-circle-l4-s6" +version = "0.2.0" +description = "construct/rlve_smallest_enclosing_circle" +authors = [] +keywords = ["rlmath", "construct", "rlve_smallest_enclosing_circle"] + +[metadata] +subset = "construct" +family = "rlve_smallest_enclosing_circle" +problem_key = "minimum_enclosing_circle" +domain = "geometry" +tier = "competition" +level = "4" +source = "RLVE-Gym/smallest_circle" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/environment/Dockerfile b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/environment/instance.json b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e2bd3c9c8f8859f32a1f3540ddca07c15d913538 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/environment/instance.json @@ -0,0 +1 @@ +{"points": [[0, 56], [3, 5], [3, 8], [4, 43], [5, 18], [8, 23], [11, 37], [15, 21], [17, 4], [19, 37], [20, 18], [20, 35], [22, 52], [26, 20], [30, 1], [30, 22], [34, 16], [40, 59], [41, 45], [42, 53], [48, 27], [49, 27], [49, 38], [50, 26], [50, 54], [51, 4], [53, 22], [53, 31], [55, 28], [60, 26]], "r_opt": 36.41771546926029, "r2_num": 5305, "r2_den": 4, "family": "rlve_smallest_enclosing_circle", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/instruction.md b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..b17bcf40db311db5ac3b1247c5b33476e68c6437 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/instruction.md @@ -0,0 +1,37 @@ +You are given 30 lattice points in the plane: +(0, 56) +(3, 5) +(3, 8) +(4, 43) +(5, 18) +(8, 23) +(11, 37) +(15, 21) +(17, 4) +(19, 37) +(20, 18) +(20, 35) +(22, 52) +(26, 20) +(30, 1) +(30, 22) +(34, 16) +(40, 59) +(41, 45) +(42, 53) +(48, 27) +(49, 27) +(49, 38) +(50, 26) +(50, 54) +(51, 4) +(53, 22) +(53, 31) +(55, 28) +(60, 26) + +Find a circle (centre (x, y), radius r) that contains all of these points and whose radius is minimum possible. Your answer is accepted if every point is within distance r + 1e-6 of the centre and r exceeds the minimum possible radius by at most 1e-6. + +Answer format: {"x": , "y": , "r": } + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/solution/solve.sh b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..b3699d9da8115f635be1fec8e519d548ae728654 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": 25.5, "y": 30.0, "r": 36.41771547026028} +RLMATH_EOF diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/task.toml b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..46836964672b734cade7b773588356383d75afa8 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-smallest-enclosing-circle-l4-s8" +version = "0.2.0" +description = "construct/rlve_smallest_enclosing_circle" +authors = [] +keywords = ["rlmath", "construct", "rlve_smallest_enclosing_circle"] + +[metadata] +subset = "construct" +family = "rlve_smallest_enclosing_circle" +problem_key = "minimum_enclosing_circle" +domain = "geometry" +tier = "competition" +level = "4" +source = "RLVE-Gym/smallest_circle" +source_license = "MIT" +tags = ["agentic_trivial"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/check.py b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..0eabf3219588f98db42bf5fd305dc24ce21ca495 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/check.py @@ -0,0 +1,17 @@ +import math + +from run import Invalid, num + +TOL = 1e-6 + + +def check(inst, ans): + x, y, r = num(ans.get("x"), "x"), num(ans.get("y"), "y"), num(ans.get("r"), "r") + if r <= 0: + raise Invalid("r must be positive") + if r > inst["r_opt"] + TOL: + raise Invalid(f"r = {r} exceeds the minimum radius {inst['r_opt']} by more than {TOL}") + for px, py in inst["points"]: + if math.hypot(px - x, py - y) > r + TOL: + raise Invalid(f"point ({px}, {py}) is outside the circle") + return None, {"r": r} diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/instance.json b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e2bd3c9c8f8859f32a1f3540ddca07c15d913538 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/instance.json @@ -0,0 +1 @@ +{"points": [[0, 56], [3, 5], [3, 8], [4, 43], [5, 18], [8, 23], [11, 37], [15, 21], [17, 4], [19, 37], [20, 18], [20, 35], [22, 52], [26, 20], [30, 1], [30, 22], [34, 16], [40, 59], [41, 45], [42, 53], [48, 27], [49, 27], [49, 38], [50, 26], [50, 54], [51, 4], [53, 22], [53, 31], [55, 28], [60, 26]], "r_opt": 36.41771546926029, "r2_num": 5305, "r2_den": 4, "family": "rlve_smallest_enclosing_circle", "subset": "construct"} \ No newline at end of file diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/run.py b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/test.sh b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/construct-rlve-smallest-enclosing-circle-l4-s8/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/construct-rlve-subgraph-isomorphism-l4-s3/instruction.md b/tasks/construct-rlve-subgraph-isomorphism-l4-s3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..869b9af10cf6ac62fa1ab031302457396d7e7488 --- /dev/null +++ b/tasks/construct-rlve-subgraph-isomorphism-l4-s3/instruction.md @@ -0,0 +1,10 @@ +G1 is an undirected simple graph on vertices 0..17 with edges +[[10, 11], [14, 17], [3, 17], [1, 16], [9, 17], [5, 6], [0, 7], [7, 11], [6, 10], [5, 11], [2, 17], [10, 14], [2, 16], [13, 14], [5, 16], [1, 5], [8, 17], [4, 15], [8, 11], [5, 14], [4, 14], [5, 13], [3, 11], [12, 14], [16, 17], [1, 13], [1, 3], [10, 16], [0, 17], [5, 8], [1, 2], [7, 15], [4, 7], [2, 13], [2, 11], [3, 15], [4, 8], [7, 10], [4, 10], [1, 14], [0, 1], [0, 15], [6, 9], [0, 16], [0, 6], [12, 16], [2, 6], [1, 15], [2, 5], [6, 12], [5, 12], [7, 8], [8, 12], [13, 15], [5, 9], [6, 17], [8, 16], [9, 10], [3, 5], [8, 15], [6, 15], [7, 17], [1, 8], [3, 16], [0, 4], [3, 9], [0, 11], [14, 16]] +G2 is an undirected simple graph on vertices 0..17 with edges +[[0, 13], [5, 13], [6, 10], [3, 16], [5, 16], [10, 12], [0, 11], [2, 12], [5, 15], [6, 14], [5, 9], [12, 15], [8, 15], [0, 15], [11, 16], [0, 10], [9, 10], [9, 17], [0, 16], [4, 12], [0, 1], [1, 16], [5, 12], [0, 2], [6, 8], [2, 6], [9, 13], [13, 14], [0, 9], [1, 8], [7, 13], [4, 14], [14, 17], [4, 10], [6, 15], [10, 17], [5, 8], [1, 17], [4, 11], [4, 17], [1, 12], [4, 9], [11, 14], [2, 7], [2, 17], [11, 12], [4, 7], [11, 17], [1, 6], [7, 9], [2, 8], [2, 15], [3, 5], [7, 16], [1, 9], [2, 4], [6, 17], [4, 16], [1, 15], [9, 11], [3, 4], [6, 16], [13, 17], [2, 9], [4, 13], [0, 3], [8, 13], [3, 10]] + +Find an injective map p from the vertices of G1 to the vertices of G2 such that for every pair u != v of G1 vertices, (u, v) is an edge of G1 if and only if (p(u), p(v)) is an edge of G2 (i.e. G1 is isomorphic to the subgraph of G2 induced by the image of p). + +Answer format: {"p": [p(0), ..., p(17)]} (distinct integers in 0..17) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-subgraph-isomorphism-l4-s3/task.toml b/tasks/construct-rlve-subgraph-isomorphism-l4-s3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..bb62639fa851e1c008391e591886bd44b457f632 --- /dev/null +++ b/tasks/construct-rlve-subgraph-isomorphism-l4-s3/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-subgraph-isomorphism-l4-s3" +version = "0.2.0" +description = "construct/rlve_subgraph_isomorphism" +authors = [] +keywords = ["rlmath", "construct", "rlve_subgraph_isomorphism"] + +[metadata] +subset = "construct" +family = "rlve_subgraph_isomorphism" +problem_key = "induced_subgraph_isomorphism" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "RLVE-Gym/subgraph_isomorphism" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/construct-rlve-subgraph-isomorphism-l4-s4/instruction.md b/tasks/construct-rlve-subgraph-isomorphism-l4-s4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..db8bd0648861156fdc25d132afb0f711d21f332e --- /dev/null +++ b/tasks/construct-rlve-subgraph-isomorphism-l4-s4/instruction.md @@ -0,0 +1,10 @@ +G1 is an undirected simple graph on vertices 0..17 with edges +[[6, 16], [8, 15], [0, 12], [7, 13], [8, 13], [13, 16], [0, 1], [1, 6], [3, 13], [11, 14], [6, 7], [8, 16], [8, 12], [2, 7], [6, 8], [4, 17], [10, 12], [0, 10], [12, 16], [7, 10], [2, 6], [15, 16], [8, 11], [12, 13], [11, 12], [2, 3], [1, 5], [3, 7], [14, 15], [4, 7], [2, 4], [1, 9], [3, 16], [2, 14], [11, 16], [4, 11], [12, 15], [2, 9], [6, 10], [4, 5], [7, 15], [0, 6], [12, 14], [4, 9], [6, 14], [0, 8], [0, 4], [2, 12], [6, 13], [9, 15], [5, 15], [5, 6], [2, 15], [9, 12], [5, 8], [11, 15], [9, 17], [7, 16], [1, 14], [0, 14], [2, 11], [5, 12], [0, 11], [5, 7], [13, 14], [0, 15], [2, 10], [6, 9], [4, 12], [5, 16], [1, 17], [3, 11], [4, 6], [5, 14], [5, 11], [1, 7], [1, 16], [2, 16], [7, 17], [4, 15], [1, 11], [7, 12], [0, 16], [5, 17], [1, 4], [8, 9], [6, 12], [9, 16], [2, 8], [7, 9], [7, 11], [0, 13], [3, 5], [9, 11], [14, 17], [1, 13], [0, 2], [0, 7], [3, 8], [4, 13], [2, 5], [7, 14], [6, 15], [1, 8], [5, 13], [0, 5], [1, 2], [12, 17], [9, 13], [8, 14], [0, 17], [10, 16], [10, 17], [3, 6]] +G2 is an undirected simple graph on vertices 0..17 with edges +[[0, 2], [0, 7], [6, 9], [3, 16], [6, 17], [11, 13], [1, 14], [2, 16], [7, 11], [6, 15], [0, 16], [10, 14], [6, 16], [14, 17], [7, 12], [7, 14], [8, 11], [2, 13], [7, 10], [2, 4], [8, 13], [10, 13], [13, 15], [1, 4], [2, 6], [10, 11], [8, 16], [1, 3], [2, 8], [3, 14], [2, 3], [3, 15], [16, 17], [2, 5], [12, 15], [6, 14], [1, 16], [2, 15], [11, 15], [1, 17], [9, 15], [14, 16], [0, 11], [1, 11], [14, 15], [7, 15], [11, 17], [5, 12], [3, 6], [10, 12], [6, 7], [4, 16], [0, 14], [5, 9], [0, 17], [10, 17], [2, 10], [5, 17], [4, 13], [11, 14], [11, 12], [9, 11], [9, 12], [1, 2], [12, 14], [3, 9], [3, 12], [7, 8], [8, 9], [2, 11], [3, 17], [0, 8], [8, 17], [5, 16], [1, 13], [0, 3], [5, 11], [6, 13], [1, 6], [15, 17], [2, 7], [1, 15], [1, 9], [0, 10], [12, 17], [1, 12], [6, 12], [2, 17], [6, 11], [4, 12], [12, 13], [5, 6], [12, 16], [3, 8], [3, 10], [6, 10], [4, 14], [2, 12], [4, 17], [7, 16], [0, 6], [0, 1], [0, 4], [1, 10], [8, 12], [11, 16], [1, 7], [3, 13], [9, 10], [13, 16], [8, 14], [7, 17], [0, 13], [8, 15]] + +Find an injective map p from the vertices of G1 to the vertices of G2 such that for every pair u != v of G1 vertices, (u, v) is an edge of G1 if and only if (p(u), p(v)) is an edge of G2 (i.e. G1 is isomorphic to the subgraph of G2 induced by the image of p). + +Answer format: {"p": [p(0), ..., p(17)]} (distinct integers in 0..17) + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/construct-rlve-subgraph-isomorphism-l4-s4/task.toml b/tasks/construct-rlve-subgraph-isomorphism-l4-s4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..83df451d8c71158a4ef97dc0660973df15e43caa --- /dev/null +++ b/tasks/construct-rlve-subgraph-isomorphism-l4-s4/task.toml @@ -0,0 +1,40 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/construct-rlve-subgraph-isomorphism-l4-s4" +version = "0.2.0" +description = "construct/rlve_subgraph_isomorphism" +authors = [] +keywords = ["rlmath", "construct", "rlve_subgraph_isomorphism"] + +[metadata] +subset = "construct" +family = "rlve_subgraph_isomorphism" +problem_key = "induced_subgraph_isomorphism" +domain = "graph_theory" +tier = "competition" +level = "4" +source = "RLVE-Gym/subgraph_isomorphism" +source_license = "MIT" +tags = ["agentic_trivial", "np_search"] + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ae-p1-ff-kakeya-d4-p3/instruction.md b/tasks/optimize-ae-p1-ff-kakeya-d4-p3/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..38494f1f8aae4cd47bc4868fe2c3f51152159fba --- /dev/null +++ b/tasks/optimize-ae-p1-ff-kakeya-d4-p3/instruction.md @@ -0,0 +1,16 @@ +Kakeya sets over a finite field. + +Let p = 3 (a prime) and F_p = {0, 1, ..., p-1} with arithmetic mod p. A set K of points of F_p^4 is a +Kakeya set if it contains a full line in every direction: for every non-zero direction v in F_p^4 there is a +point x in K such that x + t*v (coordinates mod p) lies in K for all t in F_p. + +Find a Kakeya set in F_p^4 with as few points as possible. (The whole space trivially works; the classical +Dvir / Saraf-Sudan construction has p^4/2^3 + O(p^3) points; can you do better?) + +Answer format: {"points": [[x_1, ..., x_4], ...]} -- each point is a list of 4 integers in [0, 2], +no point may appear twice. +Score (minimize): the number of points |K|. An answer that misses some direction is invalid. + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-ae-p1-ff-kakeya-d4-p3/task.toml b/tasks/optimize-ae-p1-ff-kakeya-d4-p3/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..6f3c82f7792b1ae4a1d99d035b4561ac1d268c9a --- /dev/null +++ b/tasks/optimize-ae-p1-ff-kakeya-d4-p3/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-ae-p1-ff-kakeya-d4-p3" +version = "0.2.0" +description = "optimize/ae_p1_ff_kakeya" +authors = [] +keywords = ["rlmath", "optimize", "ae_p1_ff_kakeya"] + +[metadata] +subset = "optimize" +family = "ae_p1_ff_kakeya" +problem_key = "finite_field_kakeya_min_size" +domain = "combinatorics" +tier = "research" +level = "research" +source = "AlphaEvolve-Repository-of-Problems/1-finite-field-kakeya" +source_license = "CC-BY-4.0" +tags = ["exact_integer", "finite_fields"] +direction = "minimize" +baseline = 81 +best_known = 31 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ae-p16-gagliardo-nirenberg-p4/instruction.md b/tasks/optimize-ae-p16-gagliardo-nirenberg-p4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..aebfce6c3b169712afeeeabe007b6418bc42ddb1 --- /dev/null +++ b/tasks/optimize-ae-p16-gagliardo-nirenberg-p4/instruction.md @@ -0,0 +1,19 @@ +Sharp constant in a Gagliardo-Nirenberg (Nagy) inequality, p = 4. + +For a non-zero function f on the real line consider + Q(f) = ||f||_p^{4p} / ( ||f||_2^{2(p+2)} * ||f'||_2^{2(p-2)} ), p = 4, +where ||.||_s is the L^s norm on R. The supremum C(p) of Q is the sharp constant of the inequality. Make Q(f) +as large as possible. + +Your f must be a non-negative, continuous, piecewise-linear function with unit knot spacing: f(0) = 0, +f(k) = values[k-1] for k = 1, ..., m, f(m+1) = 0, linear in between and zero outside [0, m+1]. (Q is unchanged +by scaling f or dilating x, so unit spacing costs nothing if you use many knots.) The three norms are +integrated exactly for this f. + +Constraints: 1 <= m <= 200000; every value in [0, 1e6], not all zero. +Answer format: {"values": [f(1), f(2), ..., f(m)]} +Score (maximize): Q(f). + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-ae-p16-gagliardo-nirenberg-p4/task.toml b/tasks/optimize-ae-p16-gagliardo-nirenberg-p4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..a3b0838d2933faff373cb6cfe54225639751bb64 --- /dev/null +++ b/tasks/optimize-ae-p16-gagliardo-nirenberg-p4/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-ae-p16-gagliardo-nirenberg-p4" +version = "0.2.0" +description = "optimize/ae_p16_gagliardo_nirenberg" +authors = [] +keywords = ["rlmath", "optimize", "ae_p16_gagliardo_nirenberg"] + +[metadata] +subset = "optimize" +family = "ae_p16_gagliardo_nirenberg" +problem_key = "nagy_gagliardo_nirenberg_sharp_constant" +domain = "analysis" +tier = "research" +level = "research" +source = "AlphaEvolve-Repository-of-Problems/16-gagliardo-nirenberg-special-case" +source_license = "CC-BY-4.0" +tags = ["float_objective", "known_optimum"] +direction = "maximize" +baseline = 0.07290000000000005 +best_known = 0.11111111111111113 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ae-p29-block-stacking-n100/environment/Dockerfile b/tasks/optimize-ae-p29-block-stacking-n100/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/optimize-ae-p29-block-stacking-n100/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/optimize-ae-p29-block-stacking-n100/environment/instance.json b/tasks/optimize-ae-p29-block-stacking-n100/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..9103149553b1e38db08947fc3461ac9947655717 --- /dev/null +++ b/tasks/optimize-ae-p29-block-stacking-n100/environment/instance.json @@ -0,0 +1 @@ +{"n": 100, "direction": "maximize", "family": "ae_p29_block_stacking", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-ae-p29-block-stacking-n100/instruction.md b/tasks/optimize-ae-p29-block-stacking-n100/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..d14a5cbc487838bfc0e908c262a874d2e67ff6d3 --- /dev/null +++ b/tasks/optimize-ae-p29-block-stacking-n100/instruction.md @@ -0,0 +1,18 @@ +Block stacking (maximum overhang with one block per level). + +Let n = 100. Find real numbers 0 = x_0 <= x_1 <= x_2 <= ... <= x_n satisfying, for every 0 <= i < n, + + (x_{i+1} + x_{i+2} + ... + x_n) / (n - i) <= x_i + 1/2, + +and make x_n as large as possible. (This is the stability condition for a stack of n unit-width blocks over a +table edge: the centre of mass of the blocks above each block must lie over its support.) + +The constraints are checked exactly: every submitted number is converted to the exact rational value of its +binary floating-point representation, so leave yourself a tiny safety margin if you round. + +Answer format: {"x": [x_1, x_2, ..., x_100]} (n numbers; x_0 = 0 is implicit) +Score (maximize): x_n. + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-ae-p29-block-stacking-n100/solution/solve.sh b/tasks/optimize-ae-p29-block-stacking-n100/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..48ff696665d17f5701034e0995047e96a295e426 --- /dev/null +++ b/tasks/optimize-ae-p29-block-stacking-n100/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"x": [0.004999999995, 0.010050505040454545, 0.015152545851679034, 0.020307185021782127, 0.02551551834990713, 0.03077867623938081, 0.03609782517023188, 0.04147416925087704, 0.046908951854137904, 0.0524034573431489, 0.0579590128931489, 0.0635769904156208, 0.06925880859175718, 0.07500593502279165, 0.0808198885053498, 0.08670224144064391, 0.09265462238707248, 0.09867871876659055, 0.10477627973610275, 0.11094911923610275, 0.11719911922985275, 0.12352823314757427, 0.12993848955142043, 0.1364319960384334, 0.1430109434002755, 0.14967761006027552, 0.1564343668102755, 0.16328368187191936, 0.17022812630941936, 0.17727037982350385, 0.18441323695921813, 0.19165961376356597, 0.1990125549326836, 0.2064752414923851, 0.21405099906056693, 0.2217433067451823, 0.2295558067373698, 0.23749231466594123, 0.245556830786909, 0.2537535520901877, 0.26208688541518765, 0.2705614616778995, 0.27918215132445123, 0.28795408114024074, 0.2968826525598836, 0.30597356164170175, 0.3152328208917018, 0.3246667831464187, 0.334282167752188, 0.34408608931101153, 0.3540860893010115, 0.3642901709234605, 0.3747068375797105, 0.38534513544141263, 0.39621470064793435, 0.40732581174793436, 0.4186894481002071, 0.43031735506532337, 0.44222211695818053, 0.4544172388972049, 0.4669172388847049, 0.4797377516923972, 0.4928956464160814, 0.5064091599160814, 0.5202980487910814, 0.53458376306251, 0.5492896454007453, 0.5644411605371089, 0.580066160521484, 0.5961951927634194, 0.6128618594134194, 0.6301032387065229, 0.6479603815458086, 0.6664789000458086, 0.685709669257347, 0.705709669237347, 0.726543002549847, 0.7482821329628905, 0.7710094056674359, 0.7948189294531502, 0.8198189294281503, 0.8461347188755187, 0.8739124966255186, 0.9033242613019893, 0.9345742612707393, 0.9679075945707393, 1.0036218802493106, 1.0420834186723875, 1.0837500852973876, 1.1292046307064785, 1.1792046306564785, 1.2347601861564785, 1.2972601860939785, 1.3686887574511213, 1.4520220907011214, 1.5520220906011213, 1.6770220904761213, 1.8436887569761213, 2.0936887567261215, 2.5936887562261215]} +RLMATH_EOF diff --git a/tasks/optimize-ae-p29-block-stacking-n100/task.toml b/tasks/optimize-ae-p29-block-stacking-n100/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..d96a4cf3f96bde3f3c1fa9bb1e3068b9e3c0cdd8 --- /dev/null +++ b/tasks/optimize-ae-p29-block-stacking-n100/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-ae-p29-block-stacking-n100" +version = "0.2.0" +description = "optimize/ae_p29_block_stacking" +authors = [] +keywords = ["rlmath", "optimize", "ae_p29_block_stacking"] + +[metadata] +subset = "optimize" +family = "ae_p29_block_stacking" +problem_key = "block_stacking_overhang_one_per_level" +domain = "analysis" +tier = "competition" +level = "competition" +source = "AlphaEvolve-Repository-of-Problems/29-block-stacking" +source_license = "CC-BY-4.0" +tags = ["agentic_trivial", "exact_rational", "known_optimum"] +direction = "maximize" +baseline = 0.0 +best_known = 2.5936887588198103 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ae-p29-block-stacking-n100/tests/check.py b/tasks/optimize-ae-p29-block-stacking-n100/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..0936f9a12cbe14efd9acc0331b8d8feef14c7ad6 --- /dev/null +++ b/tasks/optimize-ae-p29-block-stacking-n100/tests/check.py @@ -0,0 +1,23 @@ +"""Block stacking (overhang) problem, closed form of the constraints; checked in exact rational arithmetic. + +Upstream (block_stacking_problem.ipynb) used a float tolerance of 100*eps on every constraint, which lets a +submission exceed the true optimum H_n/2 by accumulated slack; here all constraints are exact (non-strict). +""" +from fractions import Fraction + +from run import Invalid, float_list + + +def check(inst, ans): + n = inst["n"] + x = [Fraction(v) for v in float_list(ans.get("x"), n, "x")] + xs = [Fraction(0)] + x # x_0 = 0 + for i in range(n): + if xs[i + 1] < xs[i]: + raise Invalid(f"need x_{i} <= x_{i + 1}") + tail = Fraction(0) + for i in range(n - 1, -1, -1): # tail = x_{i+1} + ... + x_n + tail += xs[i + 1] + if tail > (n - i) * (xs[i] + Fraction(1, 2)): + raise Invalid(f"stability constraint violated at i = {i}") + return float(xs[n]), {} diff --git a/tasks/optimize-ae-p29-block-stacking-n100/tests/instance.json b/tasks/optimize-ae-p29-block-stacking-n100/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..5916d45c61e735eeace1e5c76b9cd3f1f7e72996 --- /dev/null +++ b/tasks/optimize-ae-p29-block-stacking-n100/tests/instance.json @@ -0,0 +1 @@ +{"n": 100, "direction": "maximize", "best_known": 2.5936887588198103, "baseline": 0.0, "family": "ae_p29_block_stacking", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-ae-p29-block-stacking-n100/tests/run.py b/tasks/optimize-ae-p29-block-stacking-n100/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/optimize-ae-p29-block-stacking-n100/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/optimize-ae-p29-block-stacking-n100/tests/test.sh b/tasks/optimize-ae-p29-block-stacking-n100/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/optimize-ae-p29-block-stacking-n100/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/optimize-ae-p30-arithmetic-kakeya-3slopes/instruction.md b/tasks/optimize-ae-p30-arithmetic-kakeya-3slopes/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..2ea3ae800193a08ae60d08a38f974a4e94de5559 --- /dev/null +++ b/tasks/optimize-ae-p30-arithmetic-kakeya-3slopes/instruction.md @@ -0,0 +1,18 @@ +Arithmetic Kakeya conjecture: entropic sum-difference ratio with 3 slopes. + +For a real r let pi_r(a, b) = a + r*b, and pi_inf(a, b) = b. Let (X, Y) be a pair of integer-valued random +variables with finitely many values (X and Y need not be independent) and let H denote Shannon entropy. +The constant C({0, 1, infinity}; -1) is the least C with + H(X - Y) <= C * max( H(X), H(X+Y), H(Y) ) +for all such (X, Y); every distribution gives the lower bound C >= H(X - Y) / max( H(X), H(X+Y), H(Y) ). +Find a joint distribution making this ratio as large as possible. + +Constraints: 2 <= number of support points <= 20000; support points are distinct integer pairs (x, y) +with |x|, |y| <= 1000000; weights are non-negative floats with positive sum (they are normalised to +probabilities). Entropies use the natural logarithm (the ratio does not depend on the base). +Answer format: {"support": [[x_1, y_1], [x_2, y_2], ...], "weights": [w_1, w_2, ...]} +Score (maximize): H(X - Y) / max( H(X), H(X+Y), H(Y) ). + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-ae-p30-arithmetic-kakeya-3slopes/task.toml b/tasks/optimize-ae-p30-arithmetic-kakeya-3slopes/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..40fdee4f4994bfefa73219557d810e07ab6e84e1 --- /dev/null +++ b/tasks/optimize-ae-p30-arithmetic-kakeya-3slopes/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-ae-p30-arithmetic-kakeya-3slopes" +version = "0.2.0" +description = "optimize/ae_p30_arithmetic_kakeya" +authors = [] +keywords = ["rlmath", "optimize", "ae_p30_arithmetic_kakeya"] + +[metadata] +subset = "optimize" +family = "ae_p30_arithmetic_kakeya" +problem_key = "arithmetic_kakeya_entropy_sum_difference" +domain = "combinatorics" +tier = "research" +level = "research" +source = "AlphaEvolve-Repository-of-Problems/30-arithmetic-kakeya" +source_license = "CC-BY-4.0" +tags = ["additive_combinatorics", "entropy", "float_objective"] +direction = "maximize" +baseline = 1.0 +best_known = 1.77898 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ea-circle-packing-n26/environment/Dockerfile b/tasks/optimize-ea-circle-packing-n26/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/optimize-ea-circle-packing-n26/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/optimize-ea-circle-packing-n26/environment/instance.json b/tasks/optimize-ea-circle-packing-n26/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e00a54f423886213ab0105261c8aef49f6bf20c1 --- /dev/null +++ b/tasks/optimize-ea-circle-packing-n26/environment/instance.json @@ -0,0 +1 @@ +{"n": 26, "direction": "maximize", "family": "ea_circle_packing_26", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-ea-circle-packing-n26/instruction.md b/tasks/optimize-ea-circle-packing-n26/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..17a56a5f5e5470f2218714ae8b719ed79c794964 --- /dev/null +++ b/tasks/optimize-ea-circle-packing-n26/instruction.md @@ -0,0 +1,22 @@ +## Problem + +Pack $n = 26$ non-overlapping circles inside the unit square $[0, 1]^2$ to **maximize** the sum of their +radii $S = \sum_{i=1}^{26} r_i$. Each circle has center $(x_i, y_i)$ and radius $r_i > 0$, subject to + +- **Containment:** $r_i \le x_i \le 1 - r_i$ and $r_i \le y_i \le 1 - r_i$; +- **Non-overlap:** $\|c_i - c_j\| \ge r_i + r_j$ for all $i \ne j$ (touching is allowed). + +## Verification + +Both constraints are checked **exactly** on the rational values of the submitted floating-point numbers +(no tolerance): a pair overlapping by 1e-16 is rejected. Leave a tiny safety margin if you optimise +numerically. + +## Answer format + +`{"circles": [[x_1, y_1, r_1], ..., [x_26, y_26, r_26]]}`: exactly 26 triples of finite numbers. The score +is the sum of the radii. + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-ea-circle-packing-n26/solution/solve.sh b/tasks/optimize-ea-circle-packing-n26/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..f923c39a3bfa08b9ef6bbe69b85d6ae112605dae --- /dev/null +++ b/tasks/optimize-ea-circle-packing-n26/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"circles": [[0.7026096036990247, 0.3816658444526457, 0.11514888015902278], [0.31311580997040145, 0.9076084484290411, 0.0923915515699589], [0.726905714311596, 0.5960427019081348, 0.1006003678177114], [0.894817439731251, 0.27395283962395217, 0.10518256026774886], [0.9038486659542352, 0.6820800429325902, 0.09615133404476481], [0.10306052014158237, 0.48460080265191496, 0.10306052014058237], [0.2716298514860014, 0.5976347963876618, 0.09989835059175478], [0.23971052792753603, 0.7636735693833854, 0.0691806763562347], [0.759352401560932, 0.7629588636539982, 0.06944019371025845], [0.915073737545101, 0.084926262454899, 0.08492626245389895], [0.4955317606743583, 0.2753426167714399, 0.11762968804554108], [0.896532766642048, 0.48259558221054216, 0.10346723335695204], [0.49728444620411005, 0.07886037291596384, 0.07886037291496378], [0.11077901279071568, 0.8892209872092842, 0.11077901278971568], [0.8888438205895552, 0.8888438205895551, 0.11115617940944475], [0.49942836913903915, 0.9060726627225563, 0.09392733727644359], [0.4986680755034023, 0.5299634197531913, 0.13701043012274758], [0.08463950069577313, 0.08463950069577317, 0.0846395006947731], [0.2946094887818273, 0.1302211010652256, 0.1302211010642249], [0.4033587836026808, 0.742417049501635, 0.09584232574450488], [0.6859430219867827, 0.9074079050485644, 0.09259209495043558], [0.7023095250891603, 0.13325857277081155, 0.1332585727698113], [0.5952197329397327, 0.742049443460592, 0.09601897575725388], [0.09573232930702141, 0.6832585349730799, 0.09573232930602141], [0.29474605904894957, 0.38692355340959994, 0.11207708894925691], [0.10679014462858022, 0.2747832833508202, 0.10679014462758021]]} +RLMATH_EOF diff --git a/tasks/optimize-ea-circle-packing-n26/task.toml b/tasks/optimize-ea-circle-packing-n26/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..f7c9f6192d5f71a3cbddeae564d6cfd5eaf5a725 --- /dev/null +++ b/tasks/optimize-ea-circle-packing-n26/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-ea-circle-packing-n26" +version = "0.2.0" +description = "optimize/ea_circle_packing_26" +authors = [] +keywords = ["rlmath", "optimize", "ea_circle_packing_26"] + +[metadata] +subset = "optimize" +family = "ea_circle_packing_26" +problem_key = "circle_packing_square_sum_radii_n26" +domain = "discrete_geometry" +tier = "research" +level = "research" +source = "EinsteinArena/circle-packing" +source_license = "MIT" +tags = ["exact_check", "float_objective"] +direction = "maximize" +baseline = 2.38375 +best_known = 2.6359830849176076 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ea-circle-packing-n26/tests/check.py b/tasks/optimize-ea-circle-packing-n26/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..018159b91112bc76f2410da3995e5cea7fd7b438 --- /dev/null +++ b/tasks/optimize-ea-circle-packing-n26/tests/check.py @@ -0,0 +1,26 @@ +"""Circle packing in the unit square, n = 26, maximize the sum of radii (EinsteinArena circle-packing, MIT). + +Upstream bug fixed: containment and non-overlap were tested in float64 (sqrt of a float distance), so +configurations with overlaps of ~1e-16 were accepted (the AlphaEvolve seed itself overlaps by that much in +exact arithmetic). Here both constraints are checked exactly on the rational values of the floats.""" +from fractions import Fraction + +from run import Invalid, float_matrix + + +def check(inst, ans): + n = inst["n"] + c = float_matrix(ans.get("circles"), n, 3, "circles") + F = [tuple(Fraction(v) for v in row) for row in c] + for x, y, r in F: + if r <= 0: + raise Invalid("radii must be positive") + if not (r <= x <= 1 - r and r <= y <= 1 - r): + raise Invalid("a circle is not contained in the unit square") + for i in range(n): + xi, yi, ri = F[i] + for j in range(i + 1, n): + xj, yj, rj = F[j] + if (xi - xj) ** 2 + (yi - yj) ** 2 < (ri + rj) ** 2: + raise Invalid(f"circles {i} and {j} overlap") + return sum(r for _, _, r in c), {} diff --git a/tasks/optimize-ea-circle-packing-n26/tests/instance.json b/tasks/optimize-ea-circle-packing-n26/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..ba1444cf3413ac74264b2efc7cb15bfb0e7257f2 --- /dev/null +++ b/tasks/optimize-ea-circle-packing-n26/tests/instance.json @@ -0,0 +1 @@ +{"n": 26, "direction": "maximize", "best_known": 2.6359830849176076, "baseline": 2.38375, "family": "ea_circle_packing_26", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-ea-circle-packing-n26/tests/run.py b/tasks/optimize-ea-circle-packing-n26/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/optimize-ea-circle-packing-n26/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/optimize-ea-circle-packing-n26/tests/test.sh b/tasks/optimize-ea-circle-packing-n26/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/optimize-ea-circle-packing-n26/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/optimize-ea-erdos-min-overlap/instruction.md b/tasks/optimize-ea-erdos-min-overlap/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..f32e5808da2947ec71845533fc9d02e55deff69f --- /dev/null +++ b/tasks/optimize-ea-erdos-min-overlap/instruction.md @@ -0,0 +1,21 @@ +## Problem + +Find a step function $h: [0, 2] \to [0, 1]$ with $\int_0^2 h = 1$ that **minimizes** the overlap +$$C = \max_k \int h(x)\,(1 - h(x+k))\, dx .$$ +This gives an upper bound for Erdős' minimum overlap constant. + +## Scoring + +Represent $h$ by $n$ equally spaced samples on $[0, 2]$ (you choose $n$, at most 20000), $dx = 2/n$. All +values must lie in $[0, 1]$. The grader rescales the samples so that their sum is $n/2$ (the rescaled +values must still lie in $[0,1]$) and computes +$$C = \max\bigl(\texttt{numpy.correlate}(h,\; 1-h,\; \texttt{mode="full"})\bigr) \cdot dx .$$ +Lower is better. (The best known value is about 0.38087.) + +## Answer format + +`{"values": [h_0, ..., h_{n-1}]}`: 1 to 20000 finite numbers in [0, 1]. + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-ea-erdos-min-overlap/task.toml b/tasks/optimize-ea-erdos-min-overlap/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..1b1687c112f684d11b8984b7be8d973af798a530 --- /dev/null +++ b/tasks/optimize-ea-erdos-min-overlap/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-ea-erdos-min-overlap" +version = "0.2.0" +description = "optimize/ea_erdos_min_overlap" +authors = [] +keywords = ["rlmath", "optimize", "ea_erdos_min_overlap"] + +[metadata] +subset = "optimize" +family = "ea_erdos_min_overlap" +problem_key = "erdos_minimum_overlap_upper" +domain = "analysis" +tier = "research" +level = "research" +source = "EinsteinArena/erdos-min-overlap" +source_license = "MIT" +tags = ["float_objective"] +direction = "minimize" +baseline = 0.5 +best_known = 0.3808703105862199 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ea-first-autocorrelation/environment/Dockerfile b/tasks/optimize-ea-first-autocorrelation/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/optimize-ea-first-autocorrelation/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/optimize-ea-first-autocorrelation/environment/instance.json b/tasks/optimize-ea-first-autocorrelation/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..898d826a7dab21773b621ce2adc8efd910c016bd --- /dev/null +++ b/tasks/optimize-ea-first-autocorrelation/environment/instance.json @@ -0,0 +1 @@ +{"max_len": 30000, "direction": "minimize", "family": "ea_first_autocorrelation", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-ea-first-autocorrelation/instruction.md b/tasks/optimize-ea-first-autocorrelation/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..7752f5964ad292b720eade32c43f04ae0f737a34 --- /dev/null +++ b/tasks/optimize-ea-first-autocorrelation/instruction.md @@ -0,0 +1,20 @@ +## Problem + +Find a non-negative function $f: \mathbb{R} \to \mathbb{R}$ that **minimizes** the constant $C$ in the +autocorrelation inequality +$$\max_{t}\; (f * f)(t) \;\ge\; C \left(\int f\right)^2 ,\qquad (f*f)(t) = \int f(t-x)\,f(x)\,dx .$$ + +## Scoring + +Discretize $f$ on $[-1/4, 1/4]$ into $n$ equally spaced values (you choose $n$, at most 30000). All values +must be non-negative with positive sum. The grader computes +$$dx = \frac{0.5}{n}, \qquad C = \frac{\max\bigl(\texttt{numpy.convolve}(f, f) \cdot dx\bigr)}{\bigl(\sum f \cdot dx\bigr)^2}.$$ +Lower is better. (The best known value is about 1.5029.) + +## Answer format + +`{"values": [f_0, f_1, ..., f_{n-1}]}`: 1 to 30000 finite non-negative numbers. + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-ea-first-autocorrelation/solution/solve.sh b/tasks/optimize-ea-first-autocorrelation/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..d8cdec24798f292852b2dd329ae2fd1a82164daf --- /dev/null +++ b/tasks/optimize-ea-first-autocorrelation/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"values": [0.00046823520640991233, 0.0004997266321609107, 0.0005068554357726596, 0.0005098150459737163, 0.000513159605650718, 0.0005181627696931539, 0.0005250803892046767, 0.0005296664909247913, 0.0005320519229336151, 0.0005327476658663981, 0.0005332838785931339, 0.0005324102072049723, 0.0005297110551020049, 0.0005268697353022721, 0.0005243376960275314, 0.0005232792092153603, 0.0005235296669783454, 0.0005243263781747899, 0.0005243584178015957, 0.0005242830085656002, 0.0005246327516992215, 0.0005250188469123379, 0.0005206392429057127, 0.0005059822301346624, 0.0004902475346456187, 0.0004813419788150537, 0.0004801807500430878, 0.000483958327960289, 0.0004988395932952718, 0.0005154171293410447, 0.0005243110238569309, 0.000529398669874208, 0.0005330704535271074, 0.0005371286471732931, 0.0005354745794998277, 0.0005018657258855667, 0.0004495943985846874, 0.00044498170976055616, 0.0004708057125982386, 0.0004930820772277026, 0.0005023374609755128, 0.0005104969014454413, 0.0005166913803666308, 0.0005166094539447708, 0.0005121549147705164, 0.0004923096587665936, 0.0004999681765952735, 0.0005028748222312704, 0.0005043582861001582, 0.0005166511531892378, 0.0005118797076909724, 0.0004989847215042363, 0.0004912799652647474, 0.00048793847861710677, 0.0004850146733087113, 0.0004902694503999967, 0.0004990187258354423, 0.0004887375789472924, 0.00048551282205740816, 0.0004860919578008146, 0.0004883509530028154, 0.0004915007677479014, 0.0004937802678441638, 0.0004960878577351591, 0.0004983000967753561, 0.0004987795992897033, 0.0004972687809251705, 0.0004946693439580432, 0.0004914248834549501, 0.0004871751864411113, 0.0004836813724754751, 0.00048036202378137446, 0.00047812410959417734, 0.0004791025578437194, 0.00048131348222799905, 0.00048149170293041853, 0.00047966290766966204, 0.0004764242574787247, 0.0004720353888135095, 0.0004676802419138645, 0.00046439956331833967, 0.00046191488649216175, 0.00046074480733246956, 0.0004606713683128964, 0.0004628518773385476, 0.0004657169196558225, 0.00046710006741816314, 0.0004651220474248415, 0.00046456803072201933, 0.0004674755405513536, 0.0004738088032270523, 0.0004786179986320034, 0.0004805172544703165, 0.0004812090045896603, 0.0004819829671132178, 0.00048205864005076727, 0.0004784929461068502, 0.00047640148742405413, 0.000477651004954414, 0.00047816175499237537, 0.00047991601931321015, 0.0005070890124777704, 1.5467394363280336e-11, 2.010205186385574e-11, 1.720418920649495e-12, 7.401314336582802e-13, 5.371688847868184e-12, 4.066360056344697e-15, 6.238224768863693e-12, 4.066120759872003e-15, 1.714356791293513e-12, 8.729531259519884e-12, 5.631740716923679e-13, 4.09506093998417e-12, 9.582515881159292e-12, 3.921248571131906e-12, 4.068545954820349e-15, 4.072494176883259e-15, 1.3921093249817332e-11, 1.6555450369638088e-13, 1.3858215060563634e-11, 4.072216217774333e-15, 1.0092028326373728e-11, 9.07492814127154e-12, 5.540651627415828e-06, 2.554489170447029e-05, 4.850650100996895e-05, 6.296189215537122e-05, 6.910464483786877e-05, 6.978420146610119e-05, 5.3862593641463176e-05, 3.4759928024035985e-05, 2.54417696467699e-05, 2.0769214596727677e-05, 1.6817081635020424e-05, 1.1776543619976978e-05, 1.0863454952611323e-05, 4.070165550311133e-05, 8.219702671623441e-05, 8.450031336574359e-05, 6.050054122373988e-05, 3.82395440844448e-05, 2.257234200699501e-05, 8.984920223496603e-06, 7.595524129425397e-08, 1.5591955512216987e-08, 2.8575084402714612e-06, 1.1796989105786692e-05, 3.463341058694425e-06, 2.200909976523644e-08, 2.0212892664444638e-08, 2.735562496126767e-09, 6.739957547650371e-06, 2.2500679512155038e-05, 3.36050306786808e-05, 4.138962871001753e-05, 4.6494803633375116e-05, 3.907974326155378e-05, 2.660180385885794e-05, 4.204764898021493e-05, 4.45455499381318e-05, 4.247489320823645e-05, 3.992005714419979e-05, 3.680894983002033e-05, 3.342919711939416e-05, 2.9818987757121774e-05, 2.6526590959040827e-05, 2.548403160257353e-05, 2.7099016622595714e-05, 2.899696564912648e-05, 2.988475354475491e-05, 3.012631173813578e-05, 3.0260132058681022e-05, 3.047938116118693e-05, 2.9938318807693014e-05, 2.7428809683137837e-05, 2.4553869339994665e-05, 2.3087556470203143e-05, 2.3357175029170753e-05, 2.4875393823283434e-05, 2.692621228816746e-05, 2.9223293134349183e-05, 3.211099391155126e-05, 3.395415839612163e-05, 3.368208018579851e-05, 3.171497038191695e-05, 2.917748610488832e-05, 2.6589348161023133e-05, 2.5725816003308982e-05, 2.7040861873938665e-05, 2.6806636558642542e-05, 2.4459837944475482e-05, 2.3671880642313268e-05, 2.3168153522139523e-05, 2.2248390384449923e-05, 1.9660531476477535e-05, 1.5593905825452032e-05, 1.1396343390518966e-05, 8.461341110574527e-06, 5.899930538201212e-06, 1.7997608234468992e-06, 2.4454649631194754e-13, 1.5260570169758907e-11, 1.2636542968275046e-11, 1.1180628051752818e-11, 5.43417214274716e-11, 7.44466359062827e-11, 4.334284128485743e-11, 4.287480788631322e-12, 1.3373194338526269e-11, 4.250251594637655e-12, 6.647924637292243e-12, 4.07010038090474e-15, 4.080477650689342e-15, 3.82616871880365e-12, 1.4909863156873225e-11, 1.28004166343561e-11, 2.210170744086095e-12, 4.073910955749621e-15, 3.404536704460424e-14, 4.068800782040155e-15, 4.083604477529354e-15, 3.558711700774471e-11, 1.0084223521983843e-11, 9.576956020103822e-12, 4.049876005425899e-15, 2.766260479501606e-07, 1.2603997132653207e-06, 1.7278074147333478e-06, 9.13475914747689e-07, 4.062355743390715e-15, 1.0193785583264075e-11, 4.506227655116012e-12, 1.9430613183184473e-12, 2.5477934711991394e-12, 2.6839500983365816e-13, 6.429831308195772e-11, 6.3085065473815284e-12, 3.777182004012213e-12, 1.0298091209085614e-11, 2.5996665996011663e-11, 1.9399417999094057e-12, 7.909643931014447e-12, 4.0771066382594095e-15, 7.988064267878021e-12, 2.493381571606508e-13, 1.1586110395071399e-11, 4.081677747116201e-15, 3.194998244269358e-12, 3.2060357047343172e-12, 8.116839074855466e-10, 3.861365612750472e-07, 7.931897818106147e-07, 2.4660447321950316e-07, 9.901215928378203e-12, 4.8426666430999284e-12, 6.0343590502534775e-12, 1.8094957904724977e-11, 2.905742805741688e-11, 2.0857925318306142e-07, 2.763518062049114e-08, 4.066469572567223e-15, 1.524200420092093e-07, 5.498204747698449e-07, 4.5927401830140325e-07, 4.2489602832526014e-10, 7.1104298441468404e-12, 5.213877000467933e-12, 1.4777026040027543e-11, 3.280748217553862e-07, 2.006219699887343e-06, 2.423991894179927e-06, 2.782711124681314e-06, 3.908468095094114e-06, 4.0485935296299666e-06, 3.695059624031975e-06, 3.2489965810319047e-06, 2.1484047586800274e-06, 8.234299472293609e-07, 4.084202854348721e-15, 1.0431735404221881e-10, 4.0753417550667725e-15, 4.0707759026369484e-15, 2.273975226737979e-12, 4.081770884760978e-15, 2.2314969616427627e-10, 2.970131934745566e-12, 4.415848627494874e-11, 4.069616990857029e-15, 7.510741694112772e-12, 1.650556908865784e-12, 1.8764868711992582e-11, 1.300851006460787e-11, 4.069520978380589e-15, 4.084162958477767e-15, 2.9660993547337394e-11, 3.0445886797057854e-11, 3.110663340403227e-12, 1.3506278714637052e-12, 8.323602147587437e-12, 6.460003385841675e-12, 4.0757434693433494e-15, 4.079594931652224e-15, 4.561863413292605e-12, 3.6779760792262905e-12, 1.165692190323724e-11, 4.08675028545735e-15, 2.9805210169958124e-10, 7.71229383443614e-12, 2.0218730478764415e-12, 6.917579669626276e-12, 4.238848628243509e-12, 4.072831638814708e-15, 4.241352699568901e-12, 1.2909905257633763e-11, 2.5052906503451872e-12, 4.084923397433502e-15, 4.055862137354416e-15, 4.08041077451702e-15, 4.638536329274484e-12, 4.079759875827127e-15, 4.082361797269796e-15, 2.4521976967177958e-11, 4.08315853934941e-15, 3.731877174371423e-12, 1.0688071887975677e-12, 4.071666844487398e-15, 4.0664012056013745e-15, 1.640980315619266e-12, 2.1953278002491573e-11, 4.31168836454996e-12, 1.583133483297471e-11, 4.569996845374057e-13, 1.884680006032595e-12, 4.076454472916827e-15, 3.5912208724145208e-12, 6.1905904862379094e-12, 6.648451274155588e-12, 2.1975172117977494e-11, 4.0727047064502214e-15, 4.0667667906927676e-15, 6.648463919290143e-12, 8.678292065087197e-12, 1.5094197809403434e-13, 4.0709699934539036e-15, 1.9175720660606723e-12, 4.567049028526989e-12, 1.1661594954198475e-12, 4.069020162583604e-15, 1.1147730426337578e-11, 2.7598033728177206e-12, 3.871870010803581e-12, 4.087328967997254e-15, 2.195698911534035e-12, 4.0806768048987715e-15, 8.855886055224412e-12, 4.07309269295218e-15, 1.4513012230896085e-11, 4.062173071961075e-15, 4.0771554919500044e-15, 4.069476991666129e-15, 1.126220449340812e-11, 4.066079306290496e-15, 5.841685320694196e-12, 4.072829723189909e-15, 4.597400049689105e-13, 1.418126588495899e-11, 1.8159950881087803e-08, 7.721111326025719e-07, 2.1728925046191725e-06, 3.309446080254253e-06, 4.330535013998948e-06, 5.20192920136891e-06, 6.922318301840972e-06, 8.60231404167181e-06, 9.228405751397034e-06, 1.1027776414566726e-05, 1.3996739667305859e-05, 1.7851509633999677e-05, 2.2295300546903143e-05, 2.6057142480785703e-05, 2.6835570722161594e-05, 2.592809241864765e-05, 2.521942080213183e-05, 2.4949995569152865e-05, 2.4966901188407892e-05, 2.6471416923245186e-05, 2.8570093315002517e-05, 2.917967786363513e-05, 2.861156009301935e-05, 2.751748487667432e-05, 2.4730168440208452e-05, 2.1943024408958344e-05, 2.0381727754040777e-05, 1.879671922460812e-05, 1.7846982910439104e-05, 1.765716072898695e-05, 1.7607852616036407e-05, 1.812511971603293e-05, 2.0029606893690102e-05, 2.278554468059915e-05, 2.6563166212317492e-05, 3.028610196932579e-05, 3.346883358081042e-05, 3.392631004478039e-05, 3.444556459368918e-05, 3.4357151018667884e-05, 4.427383507190963e-05, 5.6712327533994015e-05, 6.458538051010822e-05, 6.891319019873523e-05, 7.14768130204741e-05, 7.139824305046659e-05, 7.041511907690868e-05, 6.962414957301711e-05, 6.955072114107441e-05, 7.203081393393956e-05, 7.567222934576124e-05, 7.700783731799718e-05, 7.592135822881884e-05, 6.961025063277725e-05, 6.520272958946316e-05, 6.206528195026387e-05, 6.0272270884767195e-05, 5.9668081149796605e-05, 5.96225381349084e-05, 6.056385444404751e-05, 6.291961784724607e-05, 6.51846958207716e-05, 6.62149676461354e-05, 6.664359987191936e-05, 6.58537729182286e-05, 6.551270842726384e-05, 6.714698022863048e-05, 7.003741395304337e-05, 7.356806576061088e-05, 7.75720388753201e-05, 8.10084574620378e-05, 8.372225351335047e-05, 8.664761960691745e-05, 8.949175950443149e-05, 9.288864071746728e-05, 9.692027588665228e-05, 9.891206841999044e-05, 9.955651938740053e-05, 0.00010192520137364761, 0.00010505917194901827, 0.00010729083325332028, 0.00010973933336934615, 0.00011137828577145858, 0.00011256540115424484, 0.00011360553844822281, 0.00011345847954255677, 0.00011137274993438127, 0.00011036521507704743, 0.00011200773964779698, 0.00011311265659764386, 0.00011335893045439693, 0.00011236958223880291, 0.00011117913353190149, 0.0001103606056080441, 0.00011101103801915663, 0.00011282420023658, 0.00011466239331241703, 0.00011774227310262058, 0.00012155014103202452, 0.0001254816756923917, 0.00012942373274452574, 0.00013336049768885002, 0.00013685681832851943, 0.00013822114968544744, 0.00013783196697186894, 0.00013612675990619432, 0.00013430837607667358, 0.00013150046256594052, 0.0001282805642652199, 0.00012657575417282301, 0.0001266561593727783, 0.0001255398515394289, 0.000123235476952901, 0.00012107180088811163, 0.00011943951110737065, 0.00011931802321200029, 0.00012220331872942613, 0.00012645738530639455, 0.00012931746492601148, 0.00013070761169834753, 0.0001328396300133117, 0.00013460485927105394, 0.00013598195567713294, 0.0001383217726609115, 0.00014039172421111959, 0.00014086501505752142, 0.00014283909832247472, 0.00014376669441382365, 0.00014246368724596175, 0.0001433423198211254, 0.00014384113223539095, 0.00014127280892415112, 0.00013784317193753088, 0.00013497291860703974, 0.00013325023974540619, 0.00013240818071402373, 0.00013051003954982313, 0.00012755347494140045, 0.00012451155659579124, 0.0001231179248980178, 0.00012183117686052263, 0.00012164809632004047, 0.00012076003446470869, 0.000117649339840636, 0.00011682715159883148, 0.00011573848224336748, 0.00011305001080072275, 0.00011228895489783052, 0.00011103102323026293, 0.00010999069197817923, 0.00010965882643971324, 0.00010809125362517732, 0.00010558611013437215, 0.00010447434791635071, 0.00010773438054365056, 0.00013088550291622526, 0.00014200343992298978, 0.00014775963142115898, 0.00015115434080945376, 0.00015386443838194538, 0.00015671341928014606, 0.000159151869420147, 0.00016071893654606822, 0.00016173125080500423, 0.00016263792584535658, 0.0001632242809527037, 0.00016391237729045417, 0.00016425239761923242, 0.00016430646385090232, 0.00016415392256409028, 0.00016354892101469684, 0.00016308799157273136, 0.00016410266440063104, 0.0001661885495941762, 0.00016817626137482234, 0.00016952362127384558, 0.00016957778038429686, 0.00016982621477203646, 0.00017206672906725743, 0.00017606207359211116, 0.00017846217923459323, 0.0001799809025798613, 0.00018270837015392461, 0.0001851338923292211, 0.00018735252450994766, 0.0001894001522332446, 0.00019132759469490533, 0.00019455203186096516, 0.00019942668734245522, 0.0002035090000420873, 0.00020289633559347295, 0.0002033798740045845, 0.00020259033795914767, 0.0002021451173417821, 0.00020192209123124036, 0.00020310247138556473, 0.00020330420041204575, 0.00020248859972500318, 0.0002015355187149801, 0.00020018418615524563, 0.0001985244039787951, 0.00019762894522449304, 0.00019637895996424455, 0.00019472674244856318, 0.00019187100781362275, 0.00019071414165590842, 0.00019127518140066768, 0.00019274168889139138, 0.00019376161110374178, 0.0001960037285632747, 0.00019907973628418782, 0.00020195607469381113, 0.00020421611052063194, 0.00020612792894631087, 0.00020818266193514857, 0.0002109821600003304, 0.00021463492114070641, 0.00021726916904348198, 0.00021785261222034963, 0.00021727997885202772, 0.00021756585562929067, 0.0002186548892010705, 0.0002190745927124156, 0.00021871723437493477, 0.00021829399941216698, 0.00021767756896058746, 0.0002173978262234889, 0.00021852688598617006, 0.00021965053611624843, 0.00022262684063965136, 0.00022684565529963204, 0.00022955275162781858, 0.00023202674750736406, 0.00023647404253664573, 0.0002410758916164324, 0.0002450172189128089, 0.0002490114900287213, 0.00025260372676627743, 0.00025685177023146454, 0.0002612340620371144, 0.0002673730133879889, 0.0002740412965398439, 0.0002796686146118593, 0.0002853162595904672, 0.00029188645077456073, 0.0002992634831690435, 0.00030304483469951175, 0.0003047667114650733, 0.0003066216449046121, 0.000307147796008667, 0.00031251833547975917, 0.00031444555136069327, 0.00031181113614354506, 0.0003080387633578464, 0.0003077437192397024, 0.0003152486541764165, 0.00032401023405253274, 0.0002967269958544057, 0.0002928968155202818, 0.0002907036438888437, 0.0002888847035143586, 0.000287438683330219, 0.000285422023584412, 0.00028214949112512943, 0.00027832749638963586, 0.0002752957126263584, 0.00027328612578035746, 0.00027217664731159355, 0.00027151299528207205, 0.00026958982854361077, 0.00026664181691190566, 0.00026385748050342784, 0.0002615018236191631, 0.0002583584570330798, 0.00025325963754239364, 0.0002474568689888286, 0.0002425781057410182, 0.00023847705164656318, 0.00023493098844867274, 0.00023119206626268608, 0.00022892667489225524, 0.00022746962165563195, 0.00022560720439540342, 0.00022382973697577976, 0.00022138201070060436, 0.00021964870127657882, 0.00021829040554884944, 0.00021707173223685163, 0.00021562335131213893, 0.00021400570585246455, 0.00021193273977208188, 0.00020952219509030564, 0.00020824757071518523, 0.0002012839341185209, 0.00019895320248532918, 0.000201613667585868, 0.00020680212246515606, 0.00020778166715487476, 0.00020701625789516854, 0.00020611789744887942, 0.00020579894485843643, 0.00020473995219871788, 0.00020144562291859317, 0.0001987445099408732, 0.00019670916463214192, 0.00019521169343480555, 0.00019884158663387673, 0.00019982691314860597, 0.00019765627765346212, 0.00019564784960295517, 0.00019524060048321432, 0.00019546377599075678, 0.00019489153611278596, 0.00019370351215595156, 0.00019277674169954377, 0.0001913380805868934, 0.00018863377641383186, 0.00018445418321145582, 0.00017935125492574602, 0.00017551233219928835, 0.00017289095686691112, 0.00017036318986964568, 0.00016741784325766996, 0.00016436177504693567, 0.00016095650158492138, 0.00015781571403322621, 0.00015472760790773734, 0.0001524329399130169, 0.0001512618539732563, 0.00015025516573127532, 0.00014883349549609946, 0.00014618457689448996, 0.00014337335336036156, 0.00014091800097187627, 0.00013869436165740105, 0.00013564463614031057, 0.0001318042837666325, 0.00012679430708792066, 0.0001204563014835901, 0.00011390623370389547, 0.00010758725187552946, 0.00010319195493246479, 9.798051595364711e-05, 9.27694442537154e-05, 8.841807560246497e-05, 8.306495464641143e-05, 7.680255815181493e-05, 7.009317560562452e-05, 6.52581485427463e-05, 6.196051872521987e-05, 6.002488014734543e-05, 6.0964196873421314e-05, 5.6098103797150464e-05, 5.430734252167852e-05, 5.594520185686105e-05, 5.6640404627092716e-05, 5.19347689232127e-05, 3.933858556180542e-05, 2.656592007853268e-05, 4.065548900384478e-05, 3.7445829559350545e-05, 3.703111027122175e-05, 3.7172908460840126e-05, 3.705709905533452e-05, 3.739269702091746e-05, 3.856987789939287e-05, 3.9679245827535314e-05, 3.9785646389546603e-05, 3.8644483849961404e-05, 3.613214658236796e-05, 3.3092670232411015e-05, 3.101725194290083e-05, 2.9319485514662042e-05, 2.8128789609028433e-05, 2.6673164658659673e-05, 2.4242554924740717e-05, 2.2155637375938382e-05, 1.927868135370355e-05, 1.6754299320890437e-05, 1.5621370788091008e-05, 1.5636614324752798e-05, 1.4908936557150865e-05, 1.073449990224035e-05, 4.603330459324364e-06, 1.189446357202648e-06, 1.2443531853997814e-10, 4.073806455402512e-15, 4.0710491445193975e-15, 8.2219323413254e-12, 1.6490169993364491e-12, 7.639679197723403e-12, 4.080741497742629e-15, 4.0687520532288386e-15, 9.084379613514251e-12, 4.066915739576449e-15, 3.916327324715572e-06, 6.7129185375206825e-06, 5.7913454965308624e-06, 2.183345241686576e-06, 6.969078372456838e-07, 3.1165883027754583e-12, 4.424744375111477e-12, 4.070525717907979e-15, 1.7885360631650062e-11, 1.5372046853132125e-06, 1.0202395839060865e-06, 1.7218160148906836e-07, 1.245385119321232e-06, 2.0112065007565793e-12, 5.630655300090244e-12, 1.4296396913556328e-06, 3.0648108617071423e-06, 3.5268738417079886e-06, 3.557759253250835e-06, 3.1250004325430273e-06, 2.074506459604916e-06, 3.930600929249083e-07, 4.0659835259654356e-15, 6.603298459048356e-13, 4.068837901358501e-15, 4.582979231237448e-12, 4.079077600173604e-15, 3.163807383911882e-12, 5.84299357649793e-10, 1.3020566656956186e-11, 3.2014601726833666e-10, 9.245048026659764e-12, 4.073691669445275e-15, 4.0843518278092424e-15, 1.6468648294043948e-11, 4.0777275138592485e-15, 1.0406739056879686e-12, 3.0434716660936053e-12, 7.822116582945071e-12, 4.0649625762649195e-15, 4.065623084222586e-15, 6.3624467307178875e-12, 4.063135883324211e-15, 1.3730329772615252e-11, 1.876918004316391e-11, 4.711019415006526e-13, 3.156333985062103e-12, 1.5338724086813893e-11, 8.200794096494705e-12, 3.638828504627869e-12, 4.0780555130424904e-15, 1.2518132704947083e-11, 1.0647952674943341e-11, 4.0685195863276215e-15, 4.084580597435597e-15, 7.866158866779419e-13, 4.070751852623008e-15, 4.082183589068678e-15, 1.430966162940233e-10, 1.4781051352307807e-06, 4.591443954794939e-06, 8.291095804123236e-06, 1.279183090436202e-05, 1.7788941630017916e-05, 2.0899546860102972e-05, 1.802004074170591e-05, 1.0582050075894045e-05, 7.935995749210452e-06, 8.205036430503525e-06, 9.634747500273413e-06, 1.0192783678717818e-05, 8.98404866873406e-06, 8.551162539191485e-06, 9.791637938065129e-06, 1.1511722365182303e-05, 1.2824109417105728e-05, 1.3421339295713935e-05, 1.456657581009183e-05, 1.7014358070303744e-05, 1.8841438550245728e-05, 1.9462648269167545e-05, 1.9950557834828416e-05, 2.288960365336668e-05, 2.6396428371303615e-05, 3.057301665520669e-05, 3.481340790078991e-05, 3.932700900512593e-05, 4.407268618165481e-05, 4.904878972910742e-05, 5.554689240705581e-05, 6.181998932067429e-05, 6.481570092633445e-05, 6.490370693625121e-05, 6.439575602453296e-05, 6.472828821661955e-05, 6.482308745405398e-05, 6.459411930159768e-05, 6.473427094070707e-05, 6.338383764048963e-05, 6.02009216600685e-05, 5.7869094353993325e-05, 5.902177562739005e-05, 6.356069347042837e-05, 6.280391934594932e-05, 5.911309162321608e-05, 5.524816983157322e-05, 5.427951983596007e-05, 5.52706459234716e-05, 5.656272929210998e-05, 5.75496552735521e-05, 5.8626400847388726e-05, 6.237112700094023e-05, 6.19109578135026e-05, 6.0913286463864014e-05, 5.845786602910567e-05, 5.345086372837335e-05, 5.2213771240332126e-05, 5.1955895200948255e-05, 5.153718629015462e-05, 5.2622216343905246e-05, 5.46680337713531e-05, 5.6887480893838225e-05, 5.683713744603632e-05, 5.433693584696036e-05, 5.17752212896723e-05, 5.059806471765035e-05, 5.0476552029555994e-05, 4.987598810451473e-05, 4.850562003829593e-05, 4.74625661965832e-05, 4.829750952212376e-05, 4.9086793513391596e-05, 4.90596943255808e-05, 5.073270475074127e-05, 5.336944062409e-05, 5.610216972944323e-05, 5.779157501308605e-05, 5.860664844820307e-05, 5.850433365596519e-05, 5.6862744072047925e-05, 5.52824658736647e-05, 5.548490935135128e-05, 5.719925051888822e-05, 5.86629311562026e-05, 5.983137875824027e-05, 6.115198000736441e-05, 6.316542170840308e-05, 6.709139433436915e-05, 7.121459187753604e-05, 7.513471184658788e-05, 7.756662762766087e-05, 7.939359743878523e-05, 8.045459867273927e-05, 8.133615986676962e-05, 8.194479905405788e-05, 8.174628573405442e-05, 8.241327619376363e-05, 8.531213516208218e-05, 8.896285692802034e-05, 9.165375461172441e-05, 9.354879322136453e-05, 9.457500121121405e-05, 9.453344836998719e-05, 9.205199010151536e-05, 8.936792524674798e-05, 8.889675584123218e-05, 8.784987849797562e-05, 8.147889046724284e-05, 8.235044663231288e-05, 7.770299128047635e-05, 7.53377658705064e-05, 7.305088119948485e-05, 7.165440866320334e-05, 7.175293042788003e-05, 7.144802388327852e-05, 7.149256545864211e-05, 7.321413918702534e-05, 7.540827459723756e-05, 7.753929470004173e-05, 7.943250670147675e-05, 8.088863704976762e-05, 8.396209549060615e-05, 8.81170910614617e-05, 9.264029575832413e-05, 9.617899343965465e-05, 9.921567345698544e-05, 0.000100804247285454, 0.00010009624526139454, 9.78565796739617e-05, 9.585382887501933e-05, 9.502348331755472e-05, 9.401929305585966e-05, 9.37708065918648e-05, 9.46302221757413e-05, 9.670045278018812e-05, 9.949334280897061e-05, 0.00010057547717214726, 9.986890539026139e-05, 9.92239673044141e-05, 9.936355941138599e-05, 0.00010193681238984618, 0.00010652179170249232, 0.00011102186047336371, 0.00011618226266400659, 0.00012417899122469303, 0.00012759507181095, 0.000127400934846716, 0.0001277050617002041, 0.00013007161280313728, 0.00013223854347587324, 0.00013387020514882907, 0.0001345664639032469, 0.00013747433581020975, 0.00014337976984215325, 0.00014820034505079742, 0.00015163576087205116, 0.00015370970330628395, 0.00015371050088596984, 0.00015313732110997205, 0.00015185601586299307, 0.00014989609165375837, 0.00014603048512510964, 0.00014383755929113582, 0.00014354220613309795, 0.00014637956814938922, 0.00015254714843928674, 0.00015696485015233218, 0.00015990208478394323, 0.00016219224384740103, 0.00016414715053453025, 0.0001660527865700422, 0.00016703449909182246, 0.0001662302898950883, 0.00016648454201227003, 0.00016773973694393754, 0.00016757503904917006, 0.00016612752947465614, 0.00016555645354962087, 0.0001654259991281252, 0.0001646247226520657, 0.0001643230557954282, 0.00016661297718244036, 0.00017064722463372068, 0.00017390798979526382, 0.00017449618149632714, 0.00017493248521609946, 0.00017656282031693535, 0.00017875625409483238, 0.00018096173250067203, 0.0001829071694391363, 0.00018526297422928161, 0.0001874200265542304, 0.00019057615881254374, 0.0001925360245298162, 0.00019175325282068438, 0.00019009897062129396, 0.000192754148359712, 0.0001989400299406929, 0.0002031931364458326, 0.0002048264936370984, 0.00020578473458928118, 0.00020771868881330885, 0.00020688076791957428, 0.00020407177867331282, 0.00020294034145592834, 0.0002057694580680925, 0.0002103997822501985, 0.00021464479132401966, 0.00021731282993676186, 0.00022672138926092876, 0.0002125342670676854, 0.00021148547651761814, 0.0002109188923620317, 0.00021194792576008313, 0.00021199113667087698, 0.000209957062866579, 0.00020792899484046214, 0.0002066667463166932, 0.00020465832487190648, 0.00020436113930696607, 0.00020307399577422982, 0.00020164662316233563, 0.00020010014644547154, 0.0001983286758511262, 0.00019684509138043424, 0.0001948481335007662, 0.00019261861556733498, 0.00019056827225548507, 0.00018984320127691997, 0.0001905895267502104, 0.0001907059827920334, 0.00018762210232290197, 0.00018284834578772278, 0.00017780084481471933, 0.00017186063453797457, 0.0001671833137566455, 0.0001618976341395818, 0.00015690015074628424, 0.00015640130379526913, 0.00015878640269114896, 0.00015860234000465636, 0.00015603900245005732, 0.00015070520310720356, 0.00014278870300239583, 0.00013832782168123273, 0.0001439489359801458, 0.00014146226463503998, 0.00014210171031796658, 0.00014092021218518086, 0.0001389484007400142, 0.00013282349923874942, 0.00012838017686327683, 0.00012415056949271637, 0.00012230079201198976, 0.00011935508558730505, 0.00010962362621103992, 0.00010763687381175719, 0.00010514448306218298, 0.0001030029886065098, 0.00010540918825087441, 0.00010547620899001155, 0.00010954997112460223, 0.00010776278059809421, 0.00010719356187631792, 0.0001040990898051236, 0.00010002814784203785, 9.635587709642217e-05, 9.297056029482368e-05, 9.233966171038391e-05, 9.438635753851564e-05, 9.726182291160078e-05, 9.99862424681513e-05, 0.00010322169900661848, 0.00010681034195188599, 0.0001098521954852492, 0.00011174047597111148, 0.00011310179266010597, 0.00011379539954812575, 0.00011583208308152628, 0.00011818818606199539, 0.00011995467791306966, 0.00012342296837403836, 0.00012552917362744417, 0.00012505082479052828, 0.00012361240787588223, 0.00012140081990809726, 0.00011878991138299973, 0.00011554306794798445, 0.00011217835978093067, 0.00010913161285579333, 0.00010699177785022778, 0.00010218780279704877, 9.735583889358312e-05, 9.193741047455308e-05, 8.45785967160502e-05, 7.974605407956693e-05, 7.816233652081348e-05, 7.810429237553106e-05, 7.510585041974742e-05, 7.021404864594182e-05, 6.467915497131885e-05, 5.966135539192772e-05, 5.178657364608646e-05, 3.872408353206113e-05, 3.0674671954685224e-05, 2.5798122466155295e-05, 2.2032168959420258e-05, 1.8525922191171736e-05, 1.4159423193960465e-05, 6.304928230022153e-06, 1.4436828007432484e-11, 5.026757621416359e-09, 0.00019267960109593468, 0.0002154679972950867, 0.00022069585187797417, 0.00022096607922490397, 0.00022355526432179282, 0.00022885264440912647, 0.00023378023198541883, 0.0002363040044679854, 0.00023868690225421215, 0.00023894977935463944, 0.0002410147100256366, 0.00024215761099702777, 0.0002415599781805466, 0.0002411007534438343, 0.00024031029813917416, 0.0002400620980667918, 0.00023919661867662735, 0.0002382676380407545, 0.00023783639691003213, 0.00023700698128162006, 0.0002363872019285841, 0.00023736932900428323, 0.00023973481494169124, 0.00024405984854138896, 0.00025128688635310146, 0.0002559718892964446, 0.00026003382032048895, 0.00026209980771381674, 0.00026041285606681055, 0.00025819075068219505, 0.0002592858168538128, 0.00026062522918224545, 0.0002640387727608058, 0.00027117947577108537, 0.0002690481384276452, 0.0002131843693616911, 0.00017493973155386684, 0.00014349137782813424, 0.00013521570555524303, 0.00012847743014754825, 0.00012916669257330036, 0.0001249059418125143, 0.00012147391802394707, 0.00011642366043391869, 0.00011280378603377768, 0.0001270504271449477, 0.0001268609572403949, 0.00012669474538802355, 0.00012671773787315362, 0.0001132318584034674, 0.00010884829012355791, 0.00010331126286912454, 0.0001075700526724373, 0.00011013783509196533, 0.00011303241947444972, 0.00011603096667399095, 0.00011805228124949494, 0.0001171985371754925, 0.00011446585910843757, 0.00010904338272891607, 0.00010287879710592455, 9.879548049753021e-05, 9.630913460793694e-05, 9.492591092312868e-05, 9.373978565096192e-05, 9.234855543553423e-05, 9.186915876677825e-05, 9.338536067319327e-05, 9.296056499022585e-05, 9.070747312807641e-05, 8.939980127742363e-05, 8.557140891071801e-05, 8.2073804886557e-05, 7.916167589796044e-05, 7.547215235875407e-05, 7.216323100695001e-05, 7.124223467578433e-05, 7.241266449969984e-05, 7.485830119242505e-05, 7.715410049906213e-05, 7.731407733236653e-05, 7.898759943748472e-05, 7.953077560782847e-05, 8.086428193167824e-05, 8.420699217491043e-05, 8.666634576834237e-05, 8.933143231943627e-05, 9.103123689640428e-05, 9.219229319646576e-05, 9.373576164459988e-05, 9.802239013580191e-05, 9.979942930308501e-05, 0.00010221039794348791, 0.0001105684981385691, 0.0001148532751080516, 0.00011527948863538177, 0.00011056804937351217, 0.00010680849232492223, 0.00010542944183209352, 0.00010624456193998475, 0.0001047012437061865, 0.00010464704257559988, 4.072855348875821e-15, 7.086321592039557e-11, 3.5017881582252533e-12, 1.822134794171828e-12, 1.394112672417237e-11, 4.073611829591019e-15, 3.110233320435887e-12, 4.0725335167324254e-15, 7.876868438538445e-12, 4.069297450846134e-15, 2.836547612656174e-13, 4.070290953624322e-15, 4.072794007212512e-15, 1.2482748968024e-11, 8.738172702208305e-12, 4.0753346801430195e-15, 4.993080460011025e-12, 4.074414352275572e-15, 1.8569125247810418e-12, 1.202357591964783e-12, 1.0920769609234613e-11, 3.3685475722134406e-12, 3.063147359144166e-12, 8.52099188293402e-12, 3.068305079616993e-12, 4.0706017648205736e-15, 4.070068211735951e-15, 1.0089824260261535e-11, 1.3814843915818952e-11, 5.7655183404419984e-12, 3.436036866416023e-12, 9.896365371156629e-12, 4.0737291807921546e-15, 4.076296036524753e-15, 4.97462381872174e-06, 5.535938775143487e-05, 2.4186658178128364e-05, 6.309667548222801e-05, 0.00011662294225159912, 0.0001661836349470842, 0.0001695630169990679, 0.00017386050710985247, 0.0001768244061461338, 0.0001809188440517091, 0.00017724490695225823, 8.597974857558911e-05, 8.103130136518003e-05, 7.897385076991507e-05, 8.789690834768072e-05, 0.00017025215034168598, 0.0001902638107174279, 0.00019272296308639475, 0.00019481021415684396, 0.00019827424039731853, 0.00020114529868962836, 0.00020271541885706642, 0.0002028381059813183, 0.00020366577434614776, 0.00020391243269818693, 0.0002047820513085229, 0.0002053746552625783, 0.0002046982744450501, 0.0002032788538340575, 0.00020196733489339817, 0.00020011972821873115, 0.0001987424524791658, 0.00019629655108023246, 0.00019331312519307083, 0.00019124129297521528, 0.00018910055210588595, 0.00018679195456963632, 0.00018761796118350858, 0.00019098448666955337, 0.00019495195392353065, 0.0001985528818347323, 0.00020095685032828925, 0.0002020308450601816, 0.00020132013712718282, 0.00019988525560066137, 0.00019707721601359396, 0.00019645111367248933, 0.0001955897365955037, 0.00019695439116361688, 0.00019865241587959759, 0.00020018960340561947, 0.00020065908702260747, 0.00020093074376096128, 0.00020156698226843746, 0.00020157242500984062, 0.00020013866890832133, 0.00020170836640759254, 0.00020578954566189797, 0.00020838801222057592, 0.00020136149845226915, 0.00020200879175580588, 0.0002077100540907053, 0.00021000823477051133, 0.00021215819427784866, 0.00021753296674347527, 0.00021695823477708393, 0.00022518446249855106, 0.0002469245797671259, 1.1485169809250336e-11, 1.6780079948096724e-12, 1.351664673484888e-12, 2.4407506563801495e-12, 6.125668568867513e-12, 4.2505350060689774e-12, 2.8452483916713883e-12, 4.077463464361295e-15, 8.84569665514468e-12, 4.071638009614464e-15, 4.070144566917065e-15, 4.0731042549852206e-15, 3.0862652888973763e-12, 4.078946334835008e-15, 4.077513936676485e-15, 4.076564434884934e-15, 1.0367270062406428e-11, 9.865416258245003e-12, 6.843176970102063e-12, 4.077478499781725e-15, 3.4350211170278064e-12, 7.232765824404381e-12, 4.070654585897542e-15, 5.2686392774312897e-14, 4.072984314814125e-15, 4.071301855589845e-15, 1.7127045568050327e-11, 4.0736994952527266e-15, 1.9850093334065068e-12, 4.075174177358849e-15, 4.077638785066954e-15, 4.07633332941028e-15, 5.861557621845613e-12, 7.616169277845291e-12, 1.0832983104421914e-10, 1.6259015161750224e-05, 0.00012520108787796282, 0.00011941447478136325, 5.658418278914939e-05, 5.719340061006703e-07, 8.323797270984481e-12, 5.941516038911332e-12, 3.2329551436296083e-12, 1.0614087363789217e-11, 6.497631308405684e-06, 0.00012245027201464442, 0.00012209100902828884, 0.00012557390839560453, 0.00011858451086376485, 1.8377335116076165e-05, 1.397258437634367e-11, 1.9066802819721546e-12, 3.227551728335473e-12, 1.5578918136281992e-11, 2.8089350709601136e-12, 4.076116518847913e-15, 2.4506670102682057e-12, 1.730247307368682e-11, 4.077084298385334e-15, 3.3669663735143663e-12, 1.037037158176524e-11, 1.858211673099725e-12, 1.0254755392917355e-11, 1.0000302960924317e-11, 4.048458235924691e-10, 3.3968704496676607e-10, 1.3870554346941469e-11, 6.40238802847271e-12, 1.0627057237280368e-11, 1.845946510143222e-12, 9.26200129324174e-12, 4.07884262282459e-15, 5.750995606256048e-12, 8.354265627390066e-09, 2.8805409134686792e-08, 1.2613745621152483e-09, 6.567727495731998e-12, 4.077590253839153e-15, 2.0050180903636595e-11, 4.07985845025331e-15, 1.4146400514677799e-11, 3.287723644619681e-10, 6.831218965125886e-09, 6.0473045559024405e-09, 6.808610841535734e-10, 5.737129726550216e-09, 5.103203848024317e-08, 9.824942008046793e-08, 1.6606384185660607e-06, 5.133803578297305e-06, 6.545033289783399e-06, 6.898940384733594e-06, 9.545270805134692e-06, 2.456189235678687e-05, 2.824665804376531e-05, 2.5591417547821954e-05, 2.6354040823939165e-05, 2.6252764015392305e-05, 2.1206783870628414e-05, 2.7656160375068268e-05, 3.039634771603824e-05, 3.473990474575711e-05, 4.0701367513194536e-15, 6.062452234697375e-12, 4.0662885205103144e-15, 7.785681433683823e-12, 2.692986594379952e-12, 4.076597103941414e-15, 3.5129234352289545e-12, 1.2217232319063474e-11, 4.074145592983086e-15, 6.7308465684266305e-12, 5.843796903224361e-12, 4.074531263054265e-15, 5.267245430202678e-12, 4.0807987426778205e-15, 2.1121081360213153e-11, 3.282435299517233e-12, 5.248680004706379e-12, 1.5071568796436655e-11, 4.0771735026065945e-15, 7.432024649419128e-12, 3.610894625686772e-12, 1.4100634818408132e-11, 6.559141200050397e-12, 3.120948154754717e-11, 9.70939790219915e-12, 2.3053972818592e-12, 2.0863928740850155e-12, 5.076209471287883e-12, 2.0086382424359565e-11, 4.078112587310964e-15, 1.672608271512597e-11, 8.501299842443636e-12, 5.840215927577723e-12, 5.121746044612236e-12, 6.064840243023936e-11, 3.851245788147705e-07, 6.9345117252866295e-06, 6.934072860412652e-06, 7.886201061609621e-06, 7.39945743338025e-06, 6.255845006210746e-06, 4.705571063742961e-06, 4.576068270024098e-06, 4.536564350009035e-06, 4.022367755586462e-06, 3.2469793771169495e-06, 2.241527811954134e-06, 8.915519891990555e-07, 3.9470643191348696e-07, 8.616213371599489e-07, 8.072987908864412e-07, 7.910724615032056e-07, 2.1672536879768965e-06, 4.117294518914174e-06, 5.5083711010186954e-06, 5.355415525718764e-06, 5.308566692122984e-06, 6.600413016019956e-06, 7.52072013195993e-06, 8.120482364363679e-06, 8.509558351437342e-06, 8.878596647519895e-06, 9.57279773587994e-06, 9.829105779936509e-06, 1.038747609256947e-05, 1.0935552108733658e-05, 1.1065037883694466e-05, 1.0646713302864096e-05, 1.0313152430095762e-05, 1.065161015027384e-05, 1.0033725314886184e-05, 9.6362296161647e-06, 9.779185018717143e-06, 9.350992769294585e-06, 8.802763517452484e-06, 8.18647457709227e-06, 7.321603294755847e-06, 6.895410062303323e-06, 4.313629072827342e-06, 5.809445645719226e-06, 5.8062500469578825e-06, 7.395800918657418e-06, 9.916290571803951e-06, 1.2200930807901588e-05, 1.3369395499437215e-05, 1.430595121951915e-05, 1.4580023186110529e-05, 1.3953531775144107e-05, 1.3429659014293556e-05, 1.3410208093219041e-05, 1.3455081711672221e-05, 1.325918718889588e-05, 1.3337522456621736e-05, 1.3669416687587693e-05, 1.4217974554562752e-05, 1.4737765192961906e-05, 1.5113691566285672e-05, 1.5393432008305814e-05, 1.4865472355862953e-05, 1.4027491225362217e-05, 1.257577268403044e-05, 1.0888077905923584e-05, 1.2055432270308258e-11, 5.309631188702898e-12, 4.069511594370411e-15, 9.278383576540146e-12, 4.0742248870519574e-15, 2.11594604565506e-12, 4.07492464031307e-15, 4.0753205599964714e-15, 7.956715417844027e-12, 1.1147087156414867e-11, 5.12356514976035e-12, 1.100182825113529e-11, 4.053943736780539e-15, 2.0437265301224022e-12, 3.459198382339612e-12, 4.070680711059769e-15, 3.291069105630174e-12, 4.728397268258637e-12, 4.310507058215934e-12, 4.0732483527339765e-15, 6.45797892384485e-12, 4.0626041486931236e-15, 4.063149832641157e-15, 1.6818587227959297e-12, 4.065715013465752e-15, 1.4568281886540576e-12, 4.049974190821797e-15, 4.041667168215071e-15, 1.109862634890361e-12, 9.11901748285639e-12, 6.941583016707245e-12, 4.040844192584818e-15, 1.4174669066670796e-12, 4.0662707102952765e-15, 1.024495090354324e-11, 1.151515026444071e-11, 2.1097992405367704e-12, 1.5902682183752624e-12, 4.066508452328834e-15, 6.768159301299657e-12, 3.3713975672452546e-12, 8.255911963630489e-12, 4.0731924431889905e-15, 9.190141469191782e-13, 4.071451232855046e-15, 5.692503034453692e-12, 1.6640923356262967e-11, 1.3030695713949254e-11, 6.691819997152902e-12, 4.072521628271119e-15, 4.0769915843216314e-15, 4.077982252694516e-15, 2.8309506456880365e-12, 4.763310734065526e-13, 1.296772547824162e-11, 8.841746182570484e-12, 4.0748812203834616e-15, 4.072058915872764e-15, 4.0735026966827515e-15, 6.28578421838249e-12, 4.0724326436530635e-15, 6.251965689865481e-12, 4.068651549157028e-15, 6.849624890557067e-12, 8.285673060194104e-12, 1.0506722996800122e-11, 1.1918959360510806e-11, 9.783446055002447e-12, 4.0218889279251126e-15, 4.061005037594721e-15, 4.063471832038216e-15, 4.066184596857698e-15, 9.46740191520751e-13, 4.768380572582797e-13, 4.057973667535527e-15, 5.9608961163164275e-12, 5.645518026627632e-12, 2.3402400051966787e-12, 4.040028827802361e-15, 2.3363530896819316e-12, 4.062677970423422e-15, 8.140879373985411e-12, 4.061789765621391e-15, 4.0621951021888316e-15, 4.061198543824387e-15, 4.063884342903427e-15, 1.213902410040777e-11, 4.0640809380624395e-15, 4.062741248061103e-15, 5.29425798548639e-12, 6.295320674368777e-12, 4.0659705320442975e-15, 4.066385716848196e-15, 6.162254090627478e-12, 1.0121116979253858e-12, 4.831374966947674e-13, 4.0490429940126336e-15, 4.0594559472796335e-15, 4.0620350692390586e-15, 6.388619162656579e-12, 4.061392809283595e-15, 4.062109901322081e-15, 4.056234966884754e-15, 4.0516352495498955e-15, 6.960903078541411e-12, 4.053064230837432e-15, 1.3545296406977955e-11, 4.0301902735216045e-15, 4.051384818369407e-15, 4.534228988902906e-12, 4.05203062372371e-15, 9.093757349912064e-12, 2.5404972817069217e-12, 4.0443123609347134e-15, 1.6389904908499023e-13, 1.415882687966827e-11, 2.773972662256954e-12, 8.989754788070156e-13, 4.051103512584932e-15, 6.407732470569259e-12, 4.053480617405456e-15, 4.037161724814917e-15, 4.048913701794834e-15, 4.04155316951903e-15, 4.5730968239385756e-12, 1.091553017975494e-11, 5.3955778072207684e-12, 4.400452656739157e-12, 4.036380021720282e-15, 4.0301875505270795e-15, 9.277098548118944e-12, 4.049364685754102e-15, 4.043138736133213e-11, 4.030642270764349e-15, 4.0520622349811985e-15, 4.049952557599038e-15, 4.0168585595630995e-15, 5.268820834670967e-12, 1.2282233605746633e-12, 8.64116049019061e-12, 4.048482842494206e-15, 9.791139090608115e-12, 2.565429227066488e-12, 1.4435919657003136e-11, 1.5537923225097262e-12, 4.0579616730172374e-15, 1.1688374429246734e-11, 2.686467287050181e-12, 4.064381616087781e-15, 4.614780583214696e-12, 8.745062733152167e-12, 9.950657549764625e-12, 4.068192669235355e-15, 1.3255979342859238e-11, 1.9443404903472733e-12, 1.0108231312556149e-11, 4.0564127975730105e-15, 3.3585671979624828e-12, 2.551850695143166e-12, 4.060441047693543e-15, 4.0614629667298645e-15, 4.052124040712485e-15, 4.062529334391311e-15, 4.061517733514876e-15, 5.922782545557602e-12, 4.060091244785873e-15, 6.410680659886804e-12, 4.0651530814587044e-15, 3.462307909723734e-12, 4.056833387987677e-15, 3.004211480354806e-13, 1.0876480891480836e-11, 1.7828790464044786e-12, 4.0566882122573235e-15, 5.035842845161158e-13, 6.679639746089782e-12, 4.050328102447761e-15, 4.04697593474945e-15, 4.051696845912464e-15, 1.2635408907992591e-11, 3.0208160404006855e-10, 4.051444671241973e-15, 4.0551707707253425e-15, 4.05358615452786e-15, 8.343561657782564e-12, 9.194144318980915e-13, 2.5242523311847155e-12, 4.058755001988067e-15, 1.316538405391057e-12, 4.056895083168106e-15, 4.054216715019821e-15, 4.052695931769797e-15, 3.7616004248251914e-13, 5.364356081245414e-12, 4.0500956018403195e-15, 4.036360771245759e-15, 1.7561890027163705e-12, 3.9396164018854165e-12, 7.0314731679886874e-12, 4.047016984859021e-15, 4.050166477721193e-15, 1.1012354445583023e-12, 4.050681875755636e-15, 4.0512386306494765e-15, 9.389840484421172e-12, 4.292672119673368e-12, 4.037785706242552e-15, 3.836798632015118e-13, 4.0293811431605616e-15, 3.5411264750338315e-12, 4.038128667222156e-15, 4.034366688122472e-15, 4.020500600093041e-15, 4.036171528159044e-15, 3.250979782472119e-13, 4.0314184689440046e-15, 1.7213945110611054e-12, 4.020633022569226e-15, 4.039813684511094e-15, 4.040386320267688e-15, 2.389249297769546e-12, 3.0262998964736484e-12, 3.979232103167253e-12, 5.980010843892527e-12, 4.6551270997279445e-12, 2.6900123072294203e-12, 4.002348839825182e-15, 4.026701331823175e-15, 4.011831499959913e-15, 6.7899365154274924e-12, 4.02580615433626e-15, 6.187689621995312e-12, 4.032252001474883e-15, 7.4726295693009e-13, 1.8147890655755115e-12, 4.009747140522011e-15, 2.0752645833408854e-12, 7.422950629550755e-12, 3.998146532760963e-15, 4.0193830978417685e-15, 9.4779426700551e-12, 3.999389974231154e-15, 5.657412078012507e-12, 3.408339313193505e-12, 1.3313477187525961e-12, 4.601713353690849e-12, 4.040712979231974e-15, 5.026456628529029e-13, 6.636009218943797e-12, 4.0432570812259544e-15, 1.1575395377024059e-12, 2.5590785044182115e-12, 7.42193224748021e-12, 5.599685368687021e-13, 4.0521289536906345e-15, 6.063328495309503e-13, 7.983098365754779e-12, 4.028980515405307e-15, 4.039662313759112e-15, 4.046941523920939e-15, 1.8933165950102615e-12, 1.2031392535706473e-12, 6.031264264027103e-12, 4.021455647108689e-15, 4.2428964514497306e-12, 4.032666642933853e-15, 3.1567829221024633e-12, 8.195777399801663e-12, 7.459919121600118e-12, 2.5367101523256442e-12, 8.112817221140577e-12, 4.041201529545931e-15, 4.018069787895693e-15, 7.7787608756264e-12, 4.0546733958938196e-13, 5.901675521224722e-12, 4.046069858852245e-15, 4.033102727175689e-15, 2.2106231855484018e-12, 4.040533644385112e-15, 2.821223331893295e-12, 4.036652766051396e-15, 4.033286940808446e-15, 3.6801689925304624e-12, 4.465683610759741e-12, 8.970615153472747e-12, 4.045879494419325e-15, 4.045288406000194e-15, 1.4923124712126684e-11, 6.133320098789634e-12, 4.0573442672756545e-15, 2.439863683998841e-12, 4.049754476650851e-15, 1.1963705733564601e-11, 9.287328047545367e-12, 4.0436077090676e-15, 5.4911156059919045e-12, 3.284101887298308e-12, 9.81689994857454e-14, 4.046806315740991e-15, 8.289566893289066e-12, 6.971759465327829e-12, 4.0470995317197246e-15, 8.30826052724258e-12, 4.045283137993706e-15, 4.046225171310157e-15, 4.040955726627921e-15, 6.845405889876319e-12, 3.0163387237424606e-12, 4.035375407617148e-15, 4.027381474393348e-15, 4.024869403494353e-15, 4.035700246910758e-15, 3.553577220966795e-12, 1.954371086031099e-12, 4.034636431211945e-15, 4.030139027585811e-15, 4.029217338683374e-15, 5.342836453270394e-12, 4.022400876297247e-15, 6.261806025962603e-13, 4.037790782707886e-15, 2.108654819963847e-12, 1.132429394887482e-11, 4.019977393416312e-15, 3.642102537740516e-12, 2.8859040471302544e-12, 5.926836788100319e-12, 6.462362831325584e-13, 1.4142745499575838e-12, 2.2592298175022578e-12, 2.8740935118184516e-12, 4.0230353432589675e-15, 9.68390908702799e-13, 4.337774402217845e-12, 8.535132188160635e-12, 3.450332838314713e-12, 4.00350631300804e-15, 4.026405241718563e-15, 3.3741096458297983e-12, 3.985180652021706e-15, 4.036513520533837e-12, 4.016189144628788e-15, 6.717690783508827e-12, 1.3046950802162341e-11, 4.027914378827377e-15, 3.3356018935921625e-12, 5.147245808840126e-12, 7.433880617627356e-12, 8.714889555383366e-12, 5.769717232674778e-12, 4.03489884395249e-15, 1.0681775645031303e-12, 4.036781091515012e-15, 1.309529183234772e-12, 4.036954330215168e-15, 7.520661215078093e-12, 7.120941967755338e-12, 7.574602749381358e-13, 2.0779644192336423e-12, 2.7163035252116267e-13, 9.932368744143155e-12, 7.64442277493105e-12, 8.279206793278557e-13, 4.0407092919984145e-15, 4.021593491147273e-15, 1.5667884265916045e-12, 4.031459668464428e-15, 2.5313574996623257e-12, 4.038476876293909e-15, 4.190098807022356e-12, 2.5578581183378e-12, 6.294836222324322e-12, 4.033379042336351e-15, 4.019801806625989e-15, 1.2888658915061852e-11, 4.029387487756733e-15, 5.4480239796856675e-12, 3.80400061688849e-12, 7.504934120425096e-12, 2.254846693282548e-12, 8.62923971261098e-12, 8.659235715932095e-12, 1.591709542717523e-12, 4.028958353516095e-15, 8.49472142362392e-12, 4.04291624085439e-15, 4.310286147963557e-11, 6.088695711390698e-12, 6.259189607954404e-12, 1.6592949771575858e-13, 5.30141060665698e-12, 4.050612371147622e-15, 4.0463620537081134e-15, 8.977034293171378e-12, 7.516374723364004e-12, 3.323616060401728e-12, 4.032824952351121e-15, 6.162041641928161e-12, 4.027218087628148e-15, 9.62390976472513e-13, 4.311130705910794e-12, 4.0245369415329534e-15, 3.8153258151807135e-12, 4.0377242677674184e-15, 5.83283785753327e-12, 4.034367522059754e-15, 4.033566649504866e-15, 4.0281989465942016e-15, 4.01373396525078e-15, 3.2431587768343144e-12, 3.9494058599048015e-12, 7.148972581060308e-12, 4.019172172460609e-15, 6.889831460661319e-12, 1.5158610943673368e-12, 2.3272644211590814e-14, 4.025605202383077e-15, 4.0256175920678424e-15, 4.0198672272839086e-15, 1.3688608588565046e-12, 3.9403420711482974e-12, 4.02589862517312e-15, 4.015285027969251e-15, 4.0242907209901e-15, 5.1149697773407194e-12, 2.3876429692099815e-12, 7.456971440303056e-12, 4.0167589742480716e-15, 4.868448479738505e-12, 8.124707088348696e-13, 3.981972162868792e-15, 2.393353655662162e-12, 9.987040230191112e-12, 8.109405587464332e-12, 3.7505743911394606e-12, 4.0019629996564435e-15, 1.6616675333906442e-12, 1.7564201642875022e-12, 7.953183739285903e-12, 4.0144114144478765e-15, 9.481122022784889e-14, 3.983106685048448e-15, 5.302922018420967e-12, 4.296883755963023e-13, 9.004761787490599e-13, 3.2246619309742666e-13, 2.2665165228087512e-12, 3.997028768702551e-15, 1.6647451647941913e-12, 4.00951328697228e-15, 3.535038652546052e-12, 1.0676882322523334e-11, 4.3355778098034695e-12, 4.0312378542319106e-15, 4.030904659367593e-15, 4.029670381318729e-15, 9.448794310758131e-14, 4.037599737418123e-15, 4.038733561322012e-15, 5.563041014384828e-12, 6.0958359875790896e-12, 4.028997242835085e-15, 1.313841979217303e-12, 3.217514059966506e-12, 3.28394304842727e-12, 4.037375543166303e-15, 2.034939036245095e-12, 4.034134969041313e-15, 7.589297722711606e-12, 4.036519287404778e-15, 5.2395058597121556e-12, 1.2441320178611611e-12, 3.6146470735417384e-12, 4.038729424198111e-15, 3.4797050879483237e-12, 6.057180869845699e-12, 1.1871513051339308e-11, 8.97808832334076e-12, 4.031948346094324e-15, 3.0492644445856304e-12, 4.500502041752191e-12, 3.085988441452435e-12, 6.3133707066957e-12, 2.2214445281981287e-12, 4.027393370638732e-15, 1.6281252914344355e-12, 4.466185484056537e-12, 6.436531400131879e-12, 4.0384164214397584e-15, 4.0360350352815635e-15, 3.5625611733396334e-13, 4.030005299021665e-15, 1.3889479682755852e-12, 4.043421680569661e-15, 6.48204523645248e-12, 4.033328292928959e-15, 2.6948933529895712e-12, 3.3223296568380625e-12, 3.3267593158825405e-12, 4.030004174640957e-15, 4.026064106123858e-15, 2.0632246436799286e-12, 9.095363028405298e-13, 1.922228349935444e-12, 4.032343456852351e-15, 6.7257502801427546e-12, 3.71568913778767e-12, 4.032052009425071e-15, 4.0302354275088915e-15, 1.7562538310356587e-12, 7.483600469991062e-12, 3.3065965238943658e-12, 3.1071159894998233e-12, 2.7868741229434434e-12, 6.501505569189338e-13, 4.025380035415415e-15, 4.027031957456437e-15, 1.043870615882544e-11, 3.2691783909763e-12, 1.1041322461668206e-11, 2.935562628091865e-12, 1.7794084754134755e-12, 4.021088070073248e-15, 4.02777638016786e-15, 4.01906972355549e-15, 1.0465672591805529e-11, 4.0048914513004696e-15, 3.825852791432769e-12, 4.5336076221479745e-12, 6.63642717273989e-12, 1.4551291527862424e-11, 2.8410042370344348e-12, 3.995758452598187e-15, 2.1983201545501424e-12, 5.1103405537731805e-12, 1.2602800363264135e-12, 4.000836891491275e-15, 4.011992781572533e-15, 4.006859952924914e-15, 1.6402122299981756e-10, 4.009914872278645e-15, 4.020099016149957e-15, 1.136216497712464e-12, 5.256160189326208e-12, 3.5441778580981644e-12, 1.1384364145548555e-12, 1.0425311283277212e-10, 4.021453180607612e-15, 4.0117803408793454e-15, 8.664867500229628e-12, 5.550947070000076e-12, 4.013917710362913e-15, 8.432459489735422e-12, 4.02871493464959e-15, 4.030862321256262e-15, 7.985651584693443e-12, 8.697035262679308e-12, 6.046688039570002e-13, 1.6379744226763746e-12, 4.036760623818927e-15, 4.507969541329051e-12, 9.665191257040503e-12, 4.3521115765701575e-12, 4.029184531429718e-15, 4.0343274501917515e-15, 4.129732885742108e-12, 4.037765420823196e-15, 4.039241186604316e-15, 5.004064335797471e-12, 4.3519575003201865e-12, 5.299216482779507e-12, 3.95195956466431e-12, 2.7586422195271006e-12, 1.6515548504879024e-12, 7.087610312634057e-13, 4.557731308903739e-12, 3.7530935136212556e-12, 7.344104876971051e-13, 3.1728127846252647e-12, 4.026581752374369e-15, 4.022609951741186e-15, 2.9368141497283595e-12, 1.1444249554839734e-11, 3.2050004637142495e-12, 4.030248807118234e-15, 4.032248316167826e-15, 1.446065000843228e-11, 1.6409377203049858e-12, 5.934921231195179e-12, 2.5571129538472573e-12, 4.027552098223819e-15, 2.5250091944004226e-12, 2.9516112735068523e-12, 4.164596172508077e-12, 4.033297995251592e-15, 6.924509649697806e-12, 1.6087095421860774e-12, 1.0763126959237519e-11, 8.869152187261444e-12, 4.012550874114964e-15, 4.023777539725986e-15, 3.527316498623304e-12, 4.026017122819202e-15, 5.8014035105679855e-12, 3.831934827931944e-12, 4.022110798999406e-15, 4.0955590827561925e-12, 7.642319969281253e-13, 2.2265003479534446e-12, 9.702536805903822e-12, 8.096977327578682e-13, 3.815999021297616e-12, 4.0132360243294876e-15, 4.020836188991297e-15, 4.009563793781839e-15, 4.0251398342164984e-15, 4.422302947932399e-12, 4.029757214508616e-15, 4.285721019716622e-12, 4.026362663057035e-15, 3.2529016999074424e-12, 4.034778361190515e-15, 3.5542961068882396e-12, 5.391495892544417e-12, 7.773156291257555e-13, 8.050086377872097e-12, 1.2902813966862234e-12, 3.0492138017752058e-12, 4.010395264958616e-15, 2.5055954679852737e-12, 3.99521686160425e-15, 4.0217443622544806e-15, 7.703541161987083e-12, 4.015934899625686e-15, 2.907259791732986e-13, 3.5976477088247093e-12, 1.3678381571861076e-12, 4.0279015527637595e-15, 3.060692405228253e-12, 4.019337993883186e-15, 4.018004470422655e-15, 4.5276983408019917e-13, 4.019408204612113e-15, 1.9634922052044607e-12, 5.492118288933967e-12, 3.994825710145319e-15, 2.8564324007660908e-12, 1.2507355875956785e-11, 6.937040955821235e-12, 3.446399133715042e-13, 1.2742717546752643e-11, 3.996520654612433e-15, 2.337912496147337e-12, 4.012647081401937e-15, 1.9655337070325976e-12, 1.6682890713764828e-12, 7.109862013022194e-13, 1.7939078668399668e-12, 2.0099476577185586e-12, 4.017725132016247e-15, 1.3251303652027745e-12, 4.79397850538815e-14, 4.033673530100658e-15, 4.0778643095947816e-12, 1.0107178633191445e-11, 2.227850155206124e-12, 4.0250668545155916e-15, 4.022852829487168e-15, 4.023162958843618e-15, 3.7730722523887375e-12, 6.620894528652407e-12, 2.0370291563391044e-12, 4.032624002095824e-15, 4.0216547942484555e-15, 4.032782847600502e-15, 4.0359598168510994e-15, 4.0369259115006926e-15, 6.479447130168808e-12, 4.031210637248889e-15, 4.027755852999775e-15, 4.031095828105539e-15, 4.011531545341581e-15, 2.9430058473286073e-12, 6.278484605010451e-12, 2.745897121357573e-12, 4.035082642165066e-15, 5.384244807001978e-13, 4.032936616963656e-15, 4.030481223224554e-15, 1.4094523743281924e-12, 3.6167517641234103e-12, 2.4249583106401886e-12, 5.5807775062773555e-12, 6.585643554866038e-13, 8.963770220039542e-12, 4.698343058563014e-12, 1.0451309130103967e-11, 4.043409602790377e-12, 4.0306834211087886e-15, 6.352011657776979e-12, 5.900393989715728e-12, 4.0148207657134354e-15, 4.023658446954806e-15, 8.028742674401658e-12, 5.3870068469908255e-12, 4.0271771969322586e-15, 4.4784321810043465e-12, 9.362790858528212e-12, 4.945519830179737e-12, 4.029708157697804e-15, 4.023595604165056e-15, 2.0696974316188348e-12, 4.024065977825238e-15, 6.326006612444709e-12, 3.4459474435008306e-12, 1.1883026407267245e-11, 5.001162999870462e-12, 5.406188025940374e-12, 1.902485443549498e-12, 7.2068863917556566e-12, 4.3521214939182506e-14, 4.022159271705634e-15, 1.4170873351397464e-12, 4.030775871210284e-15, 4.016110836984602e-15, 5.144403527665259e-12, 2.622920902090768e-13, 3.0677819600194154e-12, 4.000755967234825e-15, 1.2074333760479203e-12, 4.963291914500112e-12, 4.017173413596769e-15, 4.004880787612576e-15, 1.1158217363196012e-11, 5.658593322815978e-12, 5.04675615737544e-12, 4.731266926784055e-12, 9.803695577732641e-11, 2.7654705888843092e-12, 4.004752389832077e-15, 7.082645440427918e-12, 6.493436210028108e-12, 9.911353212871916e-13, 3.1012763960509556e-12, 4.020693194019287e-15, 7.227291763399071e-12, 2.7756952209548364e-13, 4.0200468643628425e-12, 3.998853354898617e-15, 3.124934401006427e-12, 4.022254128343891e-15, 1.7968931622509272e-12, 4.013924838138916e-15, 3.7801131309314645e-12, 3.975806949524105e-15, 4.013223604462111e-15, 4.708048765057592e-12, 4.022520373638598e-15, 9.197467837533498e-12, 3.998200859626952e-15, 4.6263747230954196e-12, 2.0994893088342453e-12, 4.0247100328003646e-15, 2.9386961947210567e-11, 4.0234292779594165e-15, 1.673848361842973e-12, 2.044857062142442e-12, 7.823879001227848e-12, 1.5354977566494503e-12, 2.7358981193364997e-12, 7.59784567189279e-12, 4.0290377924422e-15, 3.5991010745883757e-13, 2.5035477293522145e-13, 4.028887559313999e-15, 4.2626977803674303e-13, 4.015053911160749e-15, 3.645000931709127e-12, 4.031212261867991e-15, 3.989112363395734e-15, 7.861857213661226e-12, 4.027438051442566e-15, 1.1065836906740932e-11, 6.13741278726126e-13, 4.024524582456839e-15, 6.738862415553797e-12, 1.4020311796251934e-12, 2.466467028664577e-12, 1.0743695743219998e-12, 4.028914981787048e-15, 3.929881452467068e-12, 6.538512232804699e-12, 4.023386516619844e-15, 4.019518899423006e-15, 4.023325005649565e-15, 1.4570798401611919e-12, 1.8500468917377097e-12, 1.1242457540620814e-11, 3.800275182765815e-12, 4.028798679188555e-15, 4.026547000994453e-15, 4.957470411105015e-12, 4.019756306836763e-15, 1.7060395682132547e-12, 8.284668759078795e-13, 4.389824854676875e-12, 3.426892745980181e-12, 1.934279299935377e-12, 3.208045197250394e-14, 5.195752160934735e-13, 1.969336796867972e-12, 4.027279362859848e-15, 2.6280337468899316e-12, 6.0157209689227306e-12, 4.022384559664962e-15, 4.0202070114665725e-15, 4.005395105496354e-15, 5.312523135095757e-13, 4.02068003949956e-15, 7.360499799869148e-13, 4.9618934494033975e-12, 9.748890037703917e-12, 4.032509481820916e-15, 2.6218336808467465e-12, 2.3419952851342505e-12, 4.0296293433599646e-15, 1.2081789622188754e-11, 1.6646557943562647e-12, 4.027823360710999e-15, 4.028505671904979e-15, 1.266035983230099e-12, 6.651918521951985e-13, 6.648476633047272e-12, 8.913125647971803e-12, 4.0204554454164735e-15, 4.0309773092260694e-15, 4.031892773584687e-15, 3.491468011203556e-12, 4.439699825607831e-12, 4.035550610309094e-15, 4.03711300248665e-15, 1.9152934186278933e-12, 6.304310591031225e-12, 6.265292918426407e-12, 4.030467907482841e-15, 4.034043372015841e-12, 4.028563585718029e-15, 4.030351542771411e-15, 4.149227229755804e-12, 8.37928834725257e-12, 1.494174810278668e-12, 4.02409449699236e-15, 4.031777645423953e-15, 1.2616161096565394e-12, 3.600167268379972e-12, 6.136456980312448e-12, 1.6377493039834486e-12, 4.021322229449435e-15, 4.206617168616435e-12, 8.622628557812445e-12, 4.0065120558125695e-15, 4.008654141764087e-15, 4.012071242663127e-15, 4.0240162096092056e-15, 4.027173910581938e-15, 3.5323346806512083e-12, 2.2226044746361985e-12, 8.935505374883517e-13, 3.2084278303331816e-13, 4.022540273276665e-15, 1.6613104722278686e-12, 4.02466444229082e-15, 2.7127106521937067e-13, 4.028349563608199e-15, 4.628329660185655e-12, 4.024941659778342e-15, 3.188062930536182e-12, 1.0949657845470792e-11, 4.0217692384802256e-15, 6.397297222417928e-13, 5.619972425060558e-12, 4.0022769552865e-15, 1.376247823809685e-13, 4.032434902675394e-15, 4.034595106036177e-15, 3.653036313591856e-12, 4.029083108417397e-15, 4.029298211422712e-15, 4.029613415452523e-15, 3.1538721329227963e-12, 4.702865067837398e-12, 8.436117499859835e-12, 4.031601963753926e-15, 4.030011010092283e-15, 5.093362269118393e-12, 8.069883563299273e-12, 4.026740575741368e-15, 6.774412670611188e-11, 4.035015358429486e-15, 1.0612861233022431e-11, 4.0307800295059826e-15, 7.88956396676503e-12, 4.03091553549795e-15, 6.278888651303751e-12, 4.792605638096718e-13, 4.024312708622369e-15, 4.028134887303602e-15, 4.030371420277745e-15, 4.9512931305016225e-12, 2.43963150783473e-12, 4.0361362826545004e-15, 4.699981514789083e-13, 4.011850900898872e-15, 2.247065920392818e-12, 5.752504399082387e-12, 4.027370332434721e-15, 4.2124075567399545e-12, 4.022735773845383e-15, 4.015720936874047e-15, 8.048992505910083e-12, 4.027937918506198e-15, 4.033666069843422e-15, 6.801027195458405e-12, 4.032612576273815e-15, 5.1841655360370555e-12, 4.032220029587229e-15, 3.246185307187468e-13, 9.690144742881641e-12, 5.957336294786263e-12, 1.0403633447090149e-12, 4.0325247675778975e-15, 1.3938314910180282e-12, 8.214860016980625e-12, 1.2215187409189539e-11, 4.0292322050699276e-15, 1.233750714105263e-11, 4.0235647354142626e-15, 3.0265211394859138e-12, 2.5651147274376016e-12, 7.318700015127958e-12, 4.0247163831075735e-15, 3.0269605707674143e-12, 4.035727130768216e-15, 4.0248048082587735e-15, 8.360062361497913e-13, 1.04054261185797e-12, 1.4632944177000203e-11, 4.032665782169834e-15, 5.039684060391288e-13, 4.032192724396015e-15, 4.026321092165005e-15, 8.651333518340886e-12, 5.8793320488268056e-12, 4.029898652631387e-15, 4.035480867482056e-15, 4.03824674036007e-15, 9.171295075615456e-12, 4.0215312615354754e-15, 3.3327739676150014e-12, 7.17447360086585e-13, 4.034663946046207e-15, 4.033817014356468e-15, 1.64614237752665e-12, 4.019504055378337e-15, 4.02390972769485e-15, 6.863253064960218e-13, 5.854617621721149e-12, 1.1521044857663886e-12, 1.9307868333571926e-12, 8.848657079178996e-12, 2.610180389814491e-13, 7.356927325046356e-12, 1.6146939404547502e-10, 5.818995898230872e-12, 5.423884635515861e-14, 2.092723214299614e-11, 4.033849705317742e-15, 4.035011100699484e-15, 4.037025476659665e-15, 2.528269146840477e-12, 4.03261154549334e-15, 6.6337005335378854e-12, 1.391307124557664e-11, 4.0216442820130835e-15, 4.0399031826954796e-15, 4.043545274162116e-15, 4.172373580528912e-12, 4.039619662180863e-15, 5.142616709565472e-12, 6.8747875402933544e-12, 8.322817325240761e-13, 7.707143644047116e-12, 4.041499573835727e-15, 5.672388787646487e-12, 7.016853496562267e-12, 1.9195088965318695e-12, 5.804924566622986e-12, 9.863974017769536e-12, 1.0383607817675036e-11, 1.083802780634405e-11, 1.615155002234145e-12, 4.304691413708585e-13, 3.222478657436969e-12, 4.039332674540523e-15, 5.6563493435943035e-12, 1.2659673723243155e-11, 3.0632553695371415e-12, 4.037637128553542e-15, 4.039545149119933e-15, 4.0417285794329295e-15, 1.1215832850265743e-11, 2.7832379156335865e-12, 4.585760705726268e-12, 1.9506273402790993e-12, 4.024552667565847e-15, 4.036770243644207e-15, 6.290843009156549e-12, 5.026548824287151e-13, 4.027445155997675e-15, 4.104671036517136e-12, 7.2736301201776465e-12, 1.0355683962041212e-12, 4.041521368379667e-15, 9.153192395350117e-12, 1.3486330344432146e-12, 4.0428006120417456e-15, 4.043118255902336e-15, 4.0430693439820576e-15, 1.3992083643447134e-11, 6.297286552443684e-12, 1.6784382399090146e-12, 7.489888562404595e-13, 6.1466028991178706e-12, 1.972240064893746e-12, 4.038579114086538e-15, 9.40703356743016e-13, 1.724364553142685e-12, 2.9175223968581193e-12, 1.416737639256146e-12, 4.0420918310336064e-15, 9.236683323810672e-13, 4.048330356947238e-15, 2.4534809284271028e-14, 4.317777947608127e-13, 5.6176673255927936e-12, 3.053627426968228e-12, 2.4806906163009058e-12, 8.529633853870826e-12, 1.3826557005162796e-11, 4.0445149285659446e-15, 4.043536478339101e-15, 3.5726750986772135e-12, 1.364499865489441e-12, 3.5028185806010776e-12, 3.2172972761945247e-11, 4.046747143444778e-15, 4.2583450217241744e-12, 7.091846121522745e-13, 6.942018152146923e-12, 4.70830216885863e-13, 7.892554084925567e-13, 2.2663219247147046e-12, 6.399998171720841e-12, 4.049038887878995e-15, 4.039540236119903e-15, 4.0379000192846006e-15, 5.66386563968874e-12, 5.8223514797513175e-12, 1.0827547350517288e-11, 9.940095520960772e-13, 4.498347721237889e-12, 1.0803900842359548e-12, 4.035102273144103e-15, 4.047747964710975e-15, 2.5405824903599167e-12, 8.32701386988173e-12, 4.810369607460225e-12, 4.0470107510292774e-15, 2.66029084014719e-12, 4.308328609323489e-12, 4.04801946781886e-15, 4.996331294020571e-12, 4.047727866795249e-15, 7.794567375643327e-12, 1.7764455065541577e-11, 4.039140491146144e-15, 6.096802494626895e-13, 5.304653309546222e-12, 4.057593957233537e-15, 4.052678567066511e-15, 4.052592744725569e-15, 9.097677235065302e-12, 3.9443403125191075e-12, 3.876100645963631e-12, 3.148984491552438e-12, 4.0472203654939045e-15, 6.780500552132635e-13, 2.632212932407049e-12, 6.209629683230289e-12, 4.04748331823069e-15, 4.047555499562646e-15, 4.049578793664293e-15, 7.29407525588418e-12, 1.4743100018457433e-12, 4.047939169800281e-15, 4.043975386189686e-15, 5.227721719726028e-12, 3.5169240032065574e-12, 7.028324263723403e-13, 4.046906696643883e-15, 4.0479489012870566e-15, 4.048999758489861e-15, 4.04754749964351e-15, 3.3687853946101816e-12, 4.052958480003148e-15, 4.0488710389635e-15, 7.02769697410112e-13, 1.348960168871388e-12, 7.087481643376205e-12, 4.030178796610222e-15, 4.038706129236138e-15, 4.043311942509422e-15, 1.4005614828665077e-11, 5.54451732156592e-12, 4.052566369450529e-15, 4.054246118639609e-15, 4.053282985026183e-15, 4.050802812015104e-15, 4.0515831174047365e-15, 2.25809002724889e-12, 4.054421687338681e-15, 4.053182326484109e-15, 4.377836839989326e-12, 4.055600458987063e-15, 4.0557521679580644e-15, 5.733143235082977e-12, 1.0601495355728041e-11, 1.0750508004168393e-12, 6.016314765760446e-12, 5.1697037745625194e-12, 1.4230390070677067e-11, 4.054408748670124e-15, 4.049783012450636e-15, 4.0567391921636095e-15, 2.3561594760599625e-12, 4.056795648828549e-15, 4.056755768871117e-15, 2.5436941748436996e-12, 1.2875247324088352e-11, 1.68329073358593e-12, 4.924437963309096e-12, 3.932667743472676e-12, 3.3289280190837273e-12, 4.055199370694875e-15, 4.801499134137653e-12, 4.056863348846161e-15, 8.995114300930239e-12, 6.244680189022026e-12, 2.308616700614233e-12, 4.791211767770284e-13, 5.200660736535575e-12, 5.34644639758064e-12, 2.6636778257409206e-12, 8.978242209162335e-12, 1.001699517664795e-11, 6.9936556448616375e-12, 4.0513237601836396e-15, 4.051338668366694e-15, 8.852017634735314e-12, 1.7044215801370998e-11, 4.0595683271512625e-15, 3.6059423384033826e-12, 7.439837608556087e-12, 6.704024254344648e-13, 4.045009276209818e-15, 1.1150072976252905e-11, 4.0525635393488804e-15, 4.050069209236652e-15, 6.6808540741699906e-12, 2.5720630027780816e-12, 4.0464084382354125e-15, 1.376611313889296e-11, 3.953645542102326e-12, 1.0068001835738888e-11, 4.048580387047567e-15, 1.0157424087197744e-12, 7.642256192615705e-12, 4.0465524129276015e-15, 1.2004753025034448e-12, 4.778666801250353e-12, 5.675226885867868e-12, 9.694902866776251e-12, 4.058077764699123e-15, 4.057248481796001e-15, 4.056444573531315e-15, 8.854741123670305e-12, 5.67706824872468e-12, 4.18297045659541e-12, 3.1737932976341542e-12, 4.057532985601632e-15, 1.97883761057177e-12, 4.0581426951036425e-15, 4.958190403761413e-12, 2.010914072174328e-12, 1.542053599370685e-12, 4.0611029996855765e-15, 2.4333576862923703e-12, 4.051108888996866e-15, 5.06463622141497e-13, 2.2653782955212687e-11, 1.2668722018576084e-12, 5.2991328946783666e-12, 2.918851323930274e-12, 4.233488347489198e-12, 4.055249205969637e-15, 4.055998793170834e-15, 4.058217793032377e-15, 4.08929511292038e-11, 8.124272301337576e-12, 7.399012374206484e-12, 4.044203073688845e-15, 4.0387426404146885e-15, 4.046076538063624e-15, 4.047986737654376e-15, 4.124159277932727e-12, 4.053295777123496e-15, 9.620849846214641e-12, 2.2655175402367747e-12, 6.326845058103319e-12, 4.0531867862954355e-15, 4.997836173749499e-12, 4.054909370800836e-15, 7.596007340515719e-12, 1.0240710799197336e-11, 8.142581006180631e-12, 4.055181724681246e-15, 4.05552034805659e-15, 4.053550170064959e-15, 9.10846041419431e-12, 4.0544869509290595e-15, 4.055027034949597e-15, 4.055935167285209e-15, 6.143250766529336e-13, 4.0550901713066875e-15, 9.440897853891694e-12, 9.878474419785051e-12, 4.056348687396097e-15, 1.5484462606071553e-11, 1.4693426826667599e-12, 4.057574410154121e-15, 4.061536420619359e-15, 8.831573184799563e-12, 7.621625206960106e-12, 4.058783006957166e-15, 4.0574323821336925e-15, 4.060732652877468e-15, 2.329447728729197e-13, 4.064469619063269e-15, 4.062081547854137e-15, 4.062764456635801e-15, 4.062608569114452e-15, 1.3305952329802805e-11, 2.1095842849077095e-11, 1.7488820743064338e-11, 1.0355067024771538e-11, 1.0634826557428935e-13, 3.3125354605986597e-12, 4.062125582509529e-15, 9.653080674130297e-13, 4.059705401907953e-15, 4.061481909740454e-15, 4.0677987059529635e-15, 1.1667619264223764e-11, 6.908174653884477e-13, 5.418714773318084e-12, 3.139234174937081e-13, 4.0600756153458424e-15, 3.3394676227536654e-12, 3.6124391815407217e-12, 8.067115103985241e-12, 8.567434707830882e-12, 4.05508978768323e-15, 6.738569629083106e-12, 4.055276666221633e-15, 4.054341654401372e-15, 4.056203588221043e-15, 3.0385017423790483e-12, 4.059400256120284e-15, 8.821064526361249e-11, 1.1182464586471126e-11, 2.1560677662496057e-12, 7.027548124700477e-12, 1.6964929286258554e-12, 1.4799538701368745e-12, 8.140410067012623e-12, 4.0576337908040005e-15, 4.0574728028602285e-15, 4.058724038616991e-15, 4.057401018447711e-15, 6.2618200666517775e-12, 7.076799680034983e-12, 4.1699518929198e-12, 1.709281132844423e-13, 4.9210999726655445e-12, 4.039309139955418e-15, 3.0690838260357374e-12, 2.1860851369795843e-12, 4.0487746894788616e-15, 2.4275959431129976e-12, 1.2226707992149703e-11, 2.166113561810722e-12, 2.3259963935660308e-12, 5.0236569410931626e-12, 4.061430307577479e-15, 4.060852415556878e-15, 4.049962543872958e-15, 5.5610315112582915e-12, 4.05756864325752e-15, 3.987535138456941e-12, 4.049076795857809e-15, 3.03111847409457e-12, 4.0450540194884456e-15, 1.0719563506816995e-11, 5.823855552645296e-13, 4.041828451975698e-15, 1.004070995642945e-11, 4.054041566928655e-15, 4.032099331986064e-15, 4.058993466429452e-15, 4.0527188863217936e-15, 5.837005267943142e-12, 4.039099411035152e-12, 1.533077992855798e-11, 4.0648920162003884e-15, 2.885638402041282e-12, 4.059941980475834e-15, 4.041823837843576e-15, 7.330195842746872e-12, 1.2585265055095056e-12, 2.7015154425388303e-12, 1.623334778341998e-12, 4.0450540569348295e-15, 4.057222016152493e-15, 4.052815833854453e-15, 3.2579392916453244e-13, 3.1569866386243436e-12, 4.417624791555853e-11, 7.158385122099523e-12, 4.064412433640797e-15, 3.8389406288338147e-13, 4.052250226826529e-15, 3.919692681168194e-12, 4.046326053596767e-15, 5.133817517924198e-12, 3.806997435593054e-12, 2.43469841239477e-12, 1.6247875725242708e-12, 1.967952604587705e-12, 2.1502559410472124e-12, 5.301038388904948e-12, 9.83542944808639e-11, 4.059440979750219e-15, 3.47995455119528e-12, 4.326883160288345e-12, 5.455814012903202e-12, 1.2879719703367777e-11, 4.049558991824018e-15, 4.029431601651339e-15, 4.0496867224319015e-15, 4.048550227459343e-15, 4.0587558804184896e-15, 4.0524864136415125e-15, 4.057384632134043e-15, 4.048568061458442e-15, 4.061114531270594e-15, 4.059926454317543e-15, 5.67206922519957e-12, 3.680703589363052e-12, 4.0533674672904374e-15, 2.201878673717787e-12, 3.2597127659379343e-12, 1.3581937577894963e-10, 9.662308222985087e-12, 4.039312280867994e-15, 4.048346704103259e-15, 4.172764972048074e-12, 2.194971925348095e-12, 4.051420142428773e-15, 9.207547069280535e-12, 4.056709535150095e-15, 3.0578685431934257e-12, 1.7429932609363906e-12, 4.061175057455672e-15, 2.6091448345174543e-11, 8.73772698779883e-12, 2.906668567252848e-10, 1.8049252254539646e-11, 1.2779349050626396e-12, 4.0537693229084865e-15, 4.054983893955501e-15, 5.690443290685981e-12, 1.155652876058622e-12, 1.4687184848366365e-12, 1.8150888050169346e-12, 2.700940129996674e-12, 4.039508012308143e-15, 3.5496361314166912e-12, 1.0920334520508065e-11, 8.69720085580518e-12, 4.105628280777629e-12, 4.033605571828185e-15, 4.4346647142932773e-13, 4.021815994429753e-15, 1.536110170045138e-12, 1.991508947527321e-12, 4.021480956008314e-15, 4.039184584005091e-15, 5.205468586202278e-12, 4.552841682881024e-12, 4.0383808536960885e-15, 7.713007271308267e-12, 4.035866021483857e-15, 7.642479150897185e-13, 5.881057602836245e-13, 4.018987395554405e-15, 5.716973557540718e-12, 3.991011909991691e-15, 4.330660485966756e-12, 4.039707289377969e-15, 7.482237875084017e-12, 1.1661278401450808e-12, 3.1007607981710058e-12, 4.0296950055147034e-15, 4.0114830372846545e-15, 4.037697652817407e-15, 1.7360560559327778e-12, 2.309749000638834e-12, 4.030326045857792e-15, 8.411534438275948e-12, 7.316166429734517e-13, 4.011036479457447e-15, 2.205319761026736e-12, 4.0192951424820575e-15, 6.497804534856914e-12, 1.2054542885501384e-12, 7.647093996265052e-13, 4.037712888390648e-15, 5.295895909494693e-12, 4.035173817657622e-15, 2.7036021997481396e-12, 2.1945808512830644e-12, 4.0368057299512226e-15, 3.4649670025822823e-13, 4.022870261158876e-15, 1.2113432791620114e-11, 6.57314511991518e-12, 4.040899061663914e-15, 1.7781710295434083e-12, 3.831566208203545e-12, 6.707984017362756e-12, 4.874123924445191e-12, 1.5719223770176038e-11, 3.632127327201677e-11, 6.980099841239652e-12, 4.033768794979666e-15, 5.630882222607036e-12, 1.9462826642868793e-12, 1.914464941131521e-13, 7.35214332193921e-12, 8.29952915746234e-12, 2.638411928447711e-13, 1.4097422533353667e-11, 8.01234441697703e-12, 4.043871859374746e-15, 4.048869229315272e-15, 2.3717267280332795e-12, 4.053513350302661e-15, 4.05464246808494e-15, 4.0538767949634096e-15, 8.429839823744563e-13, 7.616978757866542e-12, 4.048853638660676e-15, 4.049984112388405e-15, 4.0510824275540365e-15, 4.049352440099631e-15, 3.0334889808690323e-12, 9.674251961155732e-12, 5.331139997148217e-12, 8.243537129074889e-13, 5.568298848176229e-13, 3.37348138579271e-12, 4.049904922425417e-15, 1.1426376653847273e-12, 7.424939482642087e-13, 5.131658126880277e-12, 7.194393542441481e-12, 6.673865892001707e-12, 2.1346123045009176e-12, 4.046173453713203e-15, 4.045608562989159e-15, 2.254742854895963e-12, 4.048965845866911e-15, 2.677424219652635e-12, 4.038244446687736e-15, 2.3519548649835135e-12, 4.04371359262073e-15, 3.222269243936833e-13, 4.03036147681559e-15, 4.870905329524828e-12, 5.621331853840428e-12, 1.3117863924802854e-11, 5.094850235072398e-12, 4.02731931983091e-15, 4.011558415279665e-15, 3.718397173820993e-12, 6.427053995886863e-12, 1.336215981420943e-11, 4.016791715121703e-15, 5.632680956196814e-13, 4.017662122576398e-15, 1.973112759452574e-12, 4.034203987493645e-15, 1.1872001508851003e-11, 4.030382249179631e-15, 3.4404866950157955e-12, 1.4331119185133571e-12, 2.768589599279803e-13, 4.018023974664008e-15, 3.9969844297359546e-15, 4.0260712230038736e-15, 4.033859867111619e-15, 2.8205321325667355e-12, 1.3009487780129237e-11, 9.438251098196083e-12, 2.6058449133536202e-12, 2.6334175942856947e-12, 4.030522678843348e-15, 4.033128223640443e-15, 4.601755688851169e-12, 4.026683795262333e-15, 9.500228671966785e-12, 1.2146662702827908e-11, 1.1273955829505068e-11, 4.012798519957697e-15, 4.011976590584313e-15, 4.016522996934311e-15, 3.971948669322485e-12, 4.006964602941418e-15, 4.025231187918391e-15, 4.002597853283559e-15, 4.02392829113946e-15, 9.888878115173308e-12, 4.031197037769116e-15, 7.934573888320031e-12, 4.003528788078539e-15, 1.269762221440071e-11, 4.883532328457991e-12, 4.005201828638823e-15, 4.026909474090917e-15, 4.0178921575016285e-15, 7.446875537113996e-12, 9.464436270999076e-12, 1.0589478272898256e-12, 4.028767175527937e-15, 8.382302697187477e-12, 1.7434532245880704e-12, 2.2934897155595827e-12, 2.72042811109428e-12, 3.992976824603978e-15, 6.772815128795888e-12, 4.01755375539625e-15, 1.0646046509002548e-11, 6.3100503970030394e-12, 2.4329528130698285e-12, 4.02594958531806e-15, 9.753033495184946e-12, 1.5929538360464276e-12, 4.3214477669894326e-12, 7.247603554762166e-12, 4.0175796811420696e-15, 1.848955889834633e-12, 2.767822624266093e-13, 1.6048470210737734e-12, 2.8602957307848454e-12, 4.026822635553949e-15, 4.004628931841506e-15, 1.0663088402803403e-12, 4.018946447752277e-15, 4.025528901220115e-15, 1.1478338821688512e-12, 4.824823916881323e-12, 7.418384848183133e-13, 4.024768668330313e-15, 4.0260933403473734e-15, 4.026061056373279e-15, 4.030674115854646e-15, 3.1024470355565673e-12, 2.4361356104794777e-12, 4.023757424449561e-15, 4.415421769618833e-12, 1.1448136462400883e-11, 4.7170095868059434e-12, 2.8506442337383874e-12, 5.538823064310255e-12, 7.263683521391911e-12, 4.019726423090544e-15, 4.01438420464075e-15, 2.0633868609881994e-13, 4.021523348469088e-15, 1.1028539824183307e-11, 2.507824607123566e-12, 5.5377366473335355e-12, 1.4618438349082436e-12, 1.3130673992433946e-11, 4.005430162853616e-15, 3.998054572285418e-15, 4.004627793547224e-15, 4.015391762890253e-15, 5.6286058450085925e-12, 4.654646958684215e-13, 5.160967969331191e-12, 5.219933589390997e-12, 1.1092688243514105e-12, 5.553390647580189e-12, 4.018416956982718e-15, 4.012432804527402e-15, 3.994697778647893e-15, 4.3572201571157324e-13, 4.004703977605891e-15, 4.006499948234372e-15, 3.674046703036033e-12, 4.01147210232106e-15, 2.8991533184829583e-12, 4.005626343960794e-15, 4.0026011917897075e-15, 4.357444417493616e-12, 5.512677651090197e-12, 1.0393151542622443e-12, 7.65379623270463e-12, 4.0199795232241735e-15, 5.589890261090448e-12, 4.015802641889908e-15, 4.009347768696591e-15, 1.7562471390965942e-12, 4.0016613790199975e-15, 1.5150472902083005e-12, 1.833829285045784e-11, 4.002433504742372e-15, 1.0461688869627527e-11, 4.000043969978417e-15, 4.006839551863841e-15, 2.56294404507423e-12, 4.011351064998707e-15, 1.5393625912811313e-13, 2.571042395624397e-12, 1.7453199243579877e-12, 3.814951345858308e-12, 7.074564767784673e-12, 3.996330255216411e-15, 2.6234502375954443e-12, 4.015460625067196e-15, 5.74610945181298e-13, 4.001680538762382e-15, 8.197070511684794e-13, 4.6593577215684816e-12, 2.2904941333479983e-12, 4.0817294376325055e-12, 4.375761296822032e-12, 5.77321185078729e-12, 3.99460163188575e-15, 7.712828300330886e-12, 4.003367451208822e-15, 3.990788080083457e-15, 4.1611266055930696e-11, 8.508881622744347e-13, 3.9689405227608215e-15, 8.507844893998664e-13, 6.260180469844615e-12, 1.9961460581037765e-12, 4.067992173274523e-12, 3.921599758581603e-12, 1.0101101499342818e-11, 7.5547932248969e-12, 3.5002311209089838e-12, 5.33379920579347e-12, 7.919860231729796e-13, 3.9998938057931654e-15, 3.570950378241262e-13, 1.428999907005579e-13, 4.002929477783558e-15, 4.000336286639046e-15, 1.8774196555043923e-12, 3.992306367963903e-15, 3.977242910630192e-15, 5.187562220967701e-13, 5.548557558772242e-12, 4.178059122297142e-12, 5.672554573629344e-12, 6.062708274396294e-12, 4.0080974585964305e-15, 3.4140865919412633e-12, 2.843631375949555e-12, 2.666353479084554e-12, 3.861607920091025e-12, 6.252082985460026e-12, 4.0011774690485585e-15, 3.4424155570476802e-12, 4.001758250417102e-15, 2.9615048566835602e-12, 3.987468756614352e-15, 5.848678275262289e-12, 8.697462419684776e-12, 3.2639915969051658e-12, 3.9970144582890836e-15, 3.9984661833165065e-15, 3.62714794784975e-12, 1.5211823074067169e-12, 3.994016076032161e-15, 6.5221402957203195e-12, 2.148389962726498e-12, 4.003009876608775e-15, 2.6872121490403197e-12, 1.017287047747587e-11, 3.99283874723442e-15, 3.991108828036364e-15, 3.999815235460566e-15, 3.0425895785408844e-12, 1.2203270988334036e-12, 3.69556583545754e-12, 3.998084692801758e-15, 3.8771019557204285e-12, 4.003324705524095e-15, 4.391457547926242e-12, 3.9989107193782885e-15, 4.681938292480675e-13, 3.994833210257441e-15, 1.1455313515750319e-12, 1.8925042137658887e-12, 3.9977294155833765e-15, 8.167486590072567e-12, 2.9272398410588e-12, 3.996650844759348e-15, 4.0039161854140964e-15, 3.3485159166814368e-12, 3.997794401043696e-15, 1.686635896640158e-13, 3.987284688390453e-15, 8.105037425645882e-12, 3.980836754098365e-15, 5.273088710399012e-12, 3.983037750865557e-15, 1.3044483990231525e-11, 3.917336234017827e-12, 6.395807609017019e-12, 6.636980314643227e-12, 4.0595651265217586e-13, 1.865850879304676e-12, 3.958951942634377e-15, 1.6296248309133103e-12, 1.934477942452155e-12, 1.6087827417187767e-12, 3.346732291038339e-13, 3.97702294951353e-15, 2.8784986768070277e-12, 1.1398060561821274e-13, 2.1668959051940347e-12, 3.05408894227604e-12, 5.625826061491451e-12, 2.885599451557516e-12, 6.031806529988105e-13, 3.953233438171668e-15, 5.0858539355225755e-12, 3.932460891853557e-15, 1.4012690627380941e-12, 7.075096196375506e-12, 3.9699230494632715e-15, 3.968345385959701e-15, 5.317455665540331e-13, 3.956207489162542e-15, 3.956705248735218e-15, 5.4193095237529885e-12, 3.2418841398531478e-12, 3.5660196960334525e-12, 1.148315512056093e-12, 3.968891399080394e-15, 3.974055554817738e-15, 3.979429596411065e-15, 2.791423731273152e-12, 1.1630127707279822e-11, 3.959154663962874e-15, 6.2794963971454676e-12, 4.7696439808337395e-12, 1.388215239139456e-12, 3.967858876107669e-15, 3.9654677506118205e-15, 3.930076158920033e-15, 1.13058994016058e-12, 2.5200514142862403e-12, 3.668170561335252e-12, 2.0430524717620234e-12, 3.986248054897824e-15, 3.96170439704403e-15, 3.978705685805397e-15, 2.6753257777193357e-12, 5.967367032009139e-12, 9.408580386132714e-12, 4.0219641393032957e-14, 3.971655441699317e-15, 6.355747888772876e-12, 1.3515081257028256e-11, 3.971551053120709e-15, 3.962286162204537e-15, 3.97095628517023e-15, 1.2266447628296987e-13, 3.958805913148709e-15, 3.965703724837019e-15, 3.177310091433073e-12, 3.938792581361145e-15, 7.654748207956348e-12, 2.9501265134760825e-12, 4.422520638350732e-12, 3.104767657897545e-13, 3.193243399642374e-12, 3.96800763477701e-15, 2.389950843598184e-12, 4.385562707252446e-12, 7.236080656160561e-12, 3.956596238367049e-15, 2.6531048478621816e-12, 5.657635393178686e-12, 3.9673407984064625e-15, 3.965238389576001e-15, 2.620369983069887e-12, 3.9761400968951886e-15, 3.95045207215357e-15, 2.494335591784328e-12, 3.960796694538703e-15, 3.8973368303384927e-13, 3.9674587039705935e-15, 3.973060515820554e-15, 1.4964087689980548e-12, 3.957214976752095e-15, 3.273459357214364e-13, 1.4833968719916145e-12, 5.2411620449095635e-12, 3.9676960756624405e-15, 1.4479377392968803e-12, 4.0731889414362704e-13, 3.967493483721017e-15, 3.963267145614067e-15, 3.6910244580631295e-12, 3.925356837528831e-15, 2.6106773483878585e-12, 3.948124784175368e-15, 9.486616552046833e-13, 2.2892179181245287e-12, 2.2900220087418797e-12, 3.958470452936217e-15, 1.0648411149984369e-13, 3.937169763594391e-15, 3.9319571504976835e-15, 3.9435273241897256e-15, 5.1905494848843794e-12, 3.850764369256764e-12, 3.940064408153908e-15, 3.941242112618784e-15, 3.905325433209018e-15, 3.938083220066691e-15, 3.933184048843993e-15, 6.192063010758728e-12, 3.928646672740793e-15, 3.9104648589300174e-15, 3.931931576002669e-15, 3.3365542458639303e-13, 8.182957642392033e-12, 3.9115575016449474e-15, 6.284817381682427e-12, 2.2792538626461854e-12, 8.99767030937827e-12, 1.1902937413854102e-12, 3.928206403277567e-15, 3.9095623105756665e-15, 2.6102679572978102e-12, 3.930203039192667e-15, 1.1871058562818747e-11, 3.936745369650452e-15, 3.94596935398951e-15, 2.9800082523654192e-12, 1.1789438619258036e-13, 3.9140941264308774e-15, 6.082703201571031e-12, 7.264779246197111e-13, 4.68651921555135e-12, 3.929680130748609e-15, 4.431235286006052e-12, 4.1077576675837184e-11, 3.9402656998036506e-15, 3.9058814746150264e-15, 4.847189036538839e-12, 1.3155546889349926e-12, 4.798435409787135e-12, 3.2431881667731546e-12, 3.965361691057673e-15, 3.932478727549547e-15, 4.0409778842603995e-14, 7.399567736857429e-13, 3.912744530123381e-15, 3.869537828695453e-12, 3.923278340435152e-15, 3.944414403528545e-15, 1.9028249856744797e-12, 3.957909022660326e-15, 3.954961963938229e-15, 1.0256320064838136e-11, 3.952323681538195e-15, 3.9507506879466444e-15, 6.720511450850643e-12, 1.6757678336330643e-12, 3.9359618889907635e-15, 8.488251266192392e-12, 3.910311705097077e-15, 1.0915892882747685e-12, 1.4730669925177492e-13, 2.802689764724836e-12, 3.011669756400134e-12, 7.884078238966999e-12, 3.941266510179552e-15, 3.938598204728765e-15, 3.941345214312573e-15, 3.943092144733704e-15, 7.029357956646639e-13, 1.4426473606893737e-12, 1.3665166013981973e-12, 6.290578022669387e-12, 1.2025964729936154e-12, 3.959174881570688e-15, 3.939100421182257e-15, 3.946289599420189e-15, 3.944752476795514e-15, 3.953480906962543e-15, 3.303720187429198e-12, 3.761334235324955e-12, 3.957204892992968e-15, 2.7850121068995737e-12, 7.666192564372007e-13, 3.955531684779715e-15, 3.965398801141754e-15, 3.957020666894722e-15, 3.96254943802293e-15, 5.714454495374297e-12, 4.657342705054021e-12, 4.398032791064359e-12, 3.937146658296649e-15, 5.2626955626393586e-12, 1.5560623758865412e-12, 3.714769198589292e-12, 1.7522382346249835e-12, 8.109901339713831e-13, 5.897895558498412e-12, 4.69208924169681e-12, 3.947243230002747e-15, 3.937198891337038e-15, 3.3594273465704167e-12, 8.707469414212793e-13, 3.929475856552522e-15, 2.044531081145044e-12, 3.939799191618712e-15, 4.3322260220662e-12, 1.120327497349459e-11, 3.938249063962115e-15, 1.9750075302255668e-12, 2.115505286430279e-12, 3.928402633033375e-15, 3.903781554905213e-15, 3.931679891278293e-15, 3.909169503760778e-15, 3.905287124840363e-15, 3.908820430993124e-15, 3.9358000454617855e-15, 4.620627692640576e-12, 3.9442171797649705e-15, 3.9183261280117075e-15, 5.012812734118025e-12, 3.478527765202908e-12, 3.8339220339852044e-12, 4.674383361627149e-12, 1.1226211569752954e-11, 1.0682453990622163e-12, 3.1849662580736662e-12, 3.9533467203136275e-15, 7.609814218002998e-13, 3.923697134384646e-15, 8.098401478005437e-12, 8.505883847673527e-13, 6.486597720315044e-12, 2.3145519766475984e-12, 3.936766116925019e-15, 9.73342155332195e-14, 3.605327327350124e-12, 9.277326538194086e-13, 3.934951607444943e-15, 1.788805417601975e-12, 3.914051242673336e-15, 3.9567662243929105e-15, 3.963633158491868e-15, 9.453047233355774e-12, 4.2817755339085334e-12, 3.9375572818958194e-15, 5.882700961863956e-13, 5.496102239414873e-12, 3.9359810271674e-15, 8.221903575693356e-12, 2.8776618480413833e-12, 2.095923431837859e-12, 3.959040636214287e-15, 3.345787157565444e-12, 1.0605875350212068e-11, 2.703182725669106e-12, 3.944946385650045e-15, 3.9414760970187505e-15, 5.203593142401379e-12, 1.3071725759703827e-12, 1.1759111819223648e-12, 3.935479785625207e-15, 6.0655879772084404e-12, 5.971319152060049e-13, 3.960175351576507e-15, 3.949559013724044e-15, 3.947416821618924e-15, 1.7649031691788304e-12, 3.933378599911371e-15, 3.9445055849512514e-15, 3.930201537898584e-15, 9.716995263662561e-13, 2.584614655839138e-12, 3.9568399869134324e-15, 1.7747983145884124e-12, 4.0145945540488814e-12, 3.950201519612246e-15, 3.949273193789776e-15, 8.890508295397115e-13, 3.9545025863201045e-15, 3.9563155584415465e-15, 3.959160966456962e-15, 1.3978219990409276e-12, 3.0735507492350684e-12, 7.781742731105461e-13, 2.1780700420199708e-14, 1.8300946437698955e-12, 3.9631382365049055e-15, 3.964816224640835e-15, 3.956013912886028e-15, 3.954718001622822e-15, 3.9530605754763105e-15, 3.942468247566927e-15, 6.864980296945164e-12, 3.945659116161818e-15, 3.953879413462949e-15, 3.2315193586872345e-12, 4.4519829406890126e-12, 3.946982662549033e-15, 3.959387146338201e-15, 3.952018749867659e-15, 3.944656230425197e-15, 3.9418120574848334e-15, 3.9474448547549475e-15, 1.8578821798245065e-12, 3.941354527636535e-15, 1.533052413324912e-13, 1.264558831224392e-12, 1.3710539845978142e-12, 1.0355019547378764e-11, 3.937626489195711e-15, 1.5653343015390364e-12, 3.932590854005849e-15, 9.389334744611222e-12, 6.8698232180729716e-12, 1.0512603075091242e-11, 3.915202366746731e-15, 1.5567321204965208e-12, 2.441516563939759e-13, 3.944764106665921e-15, 2.1734977993220882e-12, 3.932746324867617e-15, 4.47066642916529e-12, 3.926433145660611e-15, 3.9338878979900685e-15, 3.9364387703463265e-15, 5.151801285802639e-13, 9.091824235782671e-12, 4.622020938743968e-12, 1.3517124898171675e-12, 5.6727992916093176e-12, 7.515967725612734e-13, 3.9287680993008946e-15, 1.790098473495727e-12, 5.99246215756405e-12, 1.2947337535733958e-11, 2.538102937478739e-12, 3.944432644248862e-15, 4.007262889710189e-12, 4.010547347791729e-12, 7.513721679734314e-12, 3.2020360974199745e-12, 3.918413708833778e-15, 8.637590549078862e-13, 5.603484170907834e-12, 7.466003277825198e-12, 3.958018688989082e-15, 3.944157364268391e-15, 3.5187285672067028e-12, 3.941713356339442e-15, 7.331969424913977e-13, 4.688141923003259e-12, 5.194152860252286e-12, 8.414242306937116e-12, 2.8502185016105876e-12, 3.922788260052345e-15, 3.952922526760707e-15, 3.955077570689188e-15, 3.950439395488898e-15, 2.6894140170570566e-12, 8.796907542439668e-13, 1.1238335203355028e-11, 1.1413010177767683e-12, 3.2842629276591555e-12, 1.8935137611665584e-12, 5.565778754943152e-12, 7.868070229259202e-12, 1.4304319166398195e-12, 1.0344350643832915e-11, 1.1319691114247136e-12, 5.120696625840874e-12, 7.353494218583622e-13, 3.9420049404700645e-15, 3.951076043234584e-15, 3.96467958682375e-15, 7.322153933511573e-14, 3.3341644116086734e-12, 3.96660739613536e-15, 3.957588842941934e-15, 3.955682940083375e-15, 3.2646768159590984e-12, 3.958374482141539e-15, 3.641364165589302e-12, 3.304736159124242e-12, 6.521143359746245e-12, 1.0708096239198364e-11, 3.9640710074954175e-15, 1.4995873431118743e-12, 7.916623827309594e-12, 1.4266875953878837e-12, 3.967706113097531e-15, 3.9607167495934455e-15, 3.153015991047964e-12, 3.9573056306995e-15, 8.667220429280285e-12, 5.604293281798985e-12, 3.958259581142342e-15, 3.963995939296341e-15, 8.822770492333648e-13, 3.954911143957272e-15, 3.958183177673226e-15, 3.5391319494235016e-12, 3.962844216440992e-15, 6.591409550624386e-12, 5.030722751962018e-12, 4.443165128007956e-12, 3.949789843226098e-15, 3.9550629185958145e-15, 3.9530875491433856e-15, 7.717112378929799e-12, 5.32986764230978e-12, 3.941507919771225e-12, 5.406794490610181e-12, 3.954666854113288e-15, 3.948709414614401e-15, 5.5571261846028665e-12, 3.9530983365474286e-15, 3.937653028588901e-15, 2.596505334124065e-12, 2.377431763214023e-13, 3.959343321086747e-15, 1.7479048281287978e-12, 7.951433859245113e-13, 3.9572833137504196e-15, 3.955633395967307e-15, 4.029427090641079e-12, 9.356602575347061e-14, 5.740732545977953e-12, 3.951043219966569e-15, 3.960976102021471e-15, 4.767806813476108e-13, 3.965517448138562e-15, 2.993972219476898e-12, 1.1476871863352656e-12, 3.9550899871774306e-15, 2.4748873103842924e-12, 3.960732208411219e-15, 3.958602822229957e-15, 3.957890322819214e-15, 4.028836162412556e-11, 2.9562024336331795e-13, 3.953066690036211e-15, 3.963190135831647e-15, 9.455592148218769e-12, 3.944817277658323e-15, 1.684954601046122e-12, 3.868943726402205e-12, 3.973442622511271e-15, 4.701358877588057e-12, 3.9715935921469185e-15, 2.2395662328869385e-13, 3.96819643574935e-15, 5.6980839963527355e-12, 4.910876307865098e-13, 2.488312366175334e-14, 3.986168725547843e-15, 2.3709033486812607e-12, 4.3167224777344055e-12, 7.499380933403625e-13, 5.067375696560983e-12, 3.9774969003807116e-15, 3.973554390617021e-15, 3.973856078870861e-15, 9.007703291013546e-13, 3.968808811436693e-15, 3.978110489656628e-15, 2.1046035920907738e-13, 3.993372497643501e-15, 3.397829611313628e-12, 3.98696280344137e-15, 3.98560389429909e-15, 3.984260243251138e-15, 1.0727761333172652e-11, 3.98308237413798e-15, 3.976780331448447e-15, 3.982722804894927e-15, 9.62528837918058e-13, 3.998760328924013e-15, 3.9996047662742625e-15, 3.9970843340583256e-15, 2.2574518821877085e-12, 3.0290727996067347e-12, 9.86276254118875e-13, 8.245264402147463e-12, 1.5425106325825377e-12, 7.993919837384697e-12, 3.5817895442196372e-12, 4.854042602826319e-12, 2.573275586028708e-12, 5.730147338200027e-12, 1.3431694958340231e-11, 3.999872200404095e-15, 3.699442249973815e-12, 8.596707001978246e-12, 4.163827692452493e-12, 3.986810323174913e-15, 3.983443965820556e-15, 3.983935264861706e-15, 6.417062068037442e-13, 3.993135075036045e-15, 1.1733891100998992e-11, 9.803102077462332e-12, 3.985988430121458e-15, 3.9913007467771915e-15, 6.930390136161359e-12, 3.983597743937689e-15, 3.981701617049813e-15, 3.983512672419326e-15, 6.306747883896933e-12, 1.9635960278721795e-12, 6.501840948007081e-12, 3.983503502226934e-15, 3.559605166111484e-12, 3.988241368855875e-15, 9.03906294586286e-13, 3.984322478179418e-15, 3.978752860136927e-15, 4.879460611391672e-12, 1.4323363939319045e-12, 3.748575156747277e-12, 3.973378771865742e-15, 3.976972257746081e-15, 7.934561034811744e-12, 1.0476834427148417e-11, 4.434439417625898e-12, 5.929672869677456e-12, 3.98587096810154e-15, 4.7096680659113956e-12, 2.24569382108888e-12, 8.214784362438814e-13, 3.982655143905216e-15, 3.9896142158921605e-15, 6.053410260360576e-12, 6.302001031567313e-12, 3.988077809611365e-15, 1.6428654810294314e-12, 3.992075405719328e-15, 4.324045222465098e-12, 3.719253270388277e-12, 8.5683196785191e-12, 6.389425791641118e-13, 1.3156976162177715e-12, 5.146258023510475e-13, 1.472913321648549e-11, 3.2165186569628446e-12, 7.671516205881963e-13, 4.095442420944114e-12, 4.007701624950245e-15, 1.7680452653682944e-12, 5.700153079591382e-12, 4.018886196658484e-15, 4.015858116607047e-15, 4.009674483709837e-15, 4.012332177065639e-15, 4.016290225273806e-15, 2.2732974195574458e-12, 4.642021472674319e-12, 7.78281771931205e-12, 9.156326531099886e-13, 4.001221084580648e-15, 4.014289868802378e-15, 4.018594681108759e-15, 1.7702636527840917e-12, 4.013571788637171e-15, 5.552474711950762e-12, 2.596949952399802e-12, 4.9136555894980715e-12, 8.429806247822542e-12, 4.025366620962554e-15, 2.6260198555435444e-12, 6.418506486471194e-13, 3.338221770948168e-12, 5.832453533040455e-12, 2.1584214097788218e-12, 2.5017762309128406e-12, 4.02212077210427e-15, 4.780469315303528e-12, 9.933521190863873e-13, 9.983637040918943e-12, 1.6783544508808568e-12, 9.819380267012188e-12, 4.031519377055899e-15, 2.450753043305272e-12, 1.2707563113412842e-12, 4.023540770787003e-15, 4.024711733301065e-15, 4.626956030547015e-12, 9.078081986906327e-13, 4.788893100741826e-12, 1.089245259762762e-11, 3.475933874449396e-12, 7.219384326923138e-12, 4.036439295969576e-15, 7.388534611155644e-12, 9.425089568440671e-12, 6.946998567753154e-12, 4.026002589201963e-15, 1.6891116606583844e-12, 8.338448069833935e-13, 2.419955533502703e-12, 1.1671545807905637e-12, 4.036508710695393e-15, 4.035668459569842e-15, 4.6412479570224656e-14, 6.333155047679819e-12, 4.0363864928470266e-15, 4.033607559066968e-15, 4.032558050411078e-15, 1.2157878968039906e-12, 3.756031656845586e-12, 7.344219027116853e-12, 1.256067971051246e-11, 2.1332172932051512e-12, 8.694921307148033e-12, 4.030195678386201e-15, 5.806344340587483e-12, 1.5623627525144313e-12, 2.905134991400639e-13, 1.890011068493179e-12, 2.7421456962599504e-12, 2.6853394165630688e-12, 4.028547669708172e-15, 7.493694358147323e-12, 8.480745983450934e-12, 3.696727403270799e-12, 4.044218596386337e-15, 4.0480697872936955e-15, 7.81507520887687e-12, 9.008114400271829e-12, 5.856653392510366e-12, 4.029735283626183e-15, 9.783791846620676e-13, 6.850152130967436e-12, 4.0393083116900454e-15, 4.042203378415774e-15, 5.664614343721655e-12, 2.1480669423404857e-12, 4.042237035907014e-15, 4.043589644664631e-15, 4.045530420038925e-15, 2.8057259850368117e-12, 1.6138907127219953e-12, 2.4449078594328243e-12, 1.1033352177500212e-11, 1.1646761660971545e-12, 4.045106180792877e-15, 4.955645086076752e-13, 4.0432076964627936e-15, 4.546448737512783e-14, 8.951466907685504e-12, 4.8701449509840676e-12, 4.0582591875603135e-15, 1.1706702463222647e-11, 4.059845436877911e-15, 4.0567885218002094e-15, 4.058646551267642e-15, 1.3884948619172048e-11, 4.52422094313185e-12, 3.8376997566926375e-12, 5.595984674282248e-13, 1.2376116676923825e-12, 1.2683220779345922e-11, 6.804071286216529e-12, 2.147241574458758e-12, 2.5662134402218247e-12, 7.007782209322431e-12, 7.813444311999069e-12, 4.060843300308718e-15, 6.241463482332588e-12, 4.637928505554488e-12, 1.0065405289504412e-11, 4.059359196647434e-15, 1.6688201140535483e-11, 4.057190258454754e-15, 1.659478749684092e-13, 3.057060953699619e-13, 5.246059214055602e-12, 4.06208807199582e-15, 1.0912478949758535e-11, 6.829133098533725e-13, 6.206217254978399e-12, 4.069774646073583e-15, 4.068744420179988e-15, 4.065871734852077e-15, 4.0630280454763896e-15, 9.347792219137307e-13, 4.0585217031182615e-15, 2.338071978045855e-12, 6.2974898798404715e-12, 8.148349715977696e-12, 4.058992618740481e-15, 4.061546256630883e-15, 4.062869667527272e-15, 1.71031836058547e-11, 4.064323202001354e-15, 4.061727851092886e-15, 7.078667573881863e-12, 5.752024728199794e-12, 4.054698065151463e-15, 4.058094083587666e-15, 4.094011416561282e-12, 2.02039357376927e-12, 2.6315293038349343e-12, 1.1481353924123223e-12, 4.0627241129988736e-15, 5.647406952328135e-12, 4.061227345706624e-15, 2.4039276113190164e-12, 8.810689028237091e-12, 5.067913542688347e-12, 1.0955713205627885e-11, 4.059514814147e-15, 4.056535049634803e-15, 9.424515846875253e-12, 4.252870180227223e-12, 1.2528929349350448e-11, 4.057821874701897e-15, 7.228751067288295e-12, 4.403461653677174e-12, 7.29901583437599e-12, 4.751224615225455e-12, 5.952175983514157e-12, 1.4668341679742794e-12, 5.767683074757342e-12, 4.053731537981768e-15, 5.807587246721811e-12, 1.3250952009361537e-11, 4.06194198222902e-15, 4.46006017841377e-12, 6.167925391006325e-12, 4.0513557367852305e-15, 7.085935999704328e-13, 9.356203271764635e-12, 4.4404114382931685e-12, 4.0537371415740315e-15, 1.7609674650058315e-12, 2.9597095355921833e-12, 5.480194945605817e-12, 2.569446113867202e-12, 4.058202097055406e-15, 6.841064377572178e-12, 4.058786136994444e-15, 4.053207209451145e-15, 4.475891398222892e-12, 2.20108211976497e-12, 2.035928275378178e-12, 4.056637099187059e-15, 5.562553471622245e-12, 4.796559862900461e-12, 1.2408854290427149e-11, 5.465937303579766e-12, 4.056706230003231e-15, 1.8347976696478863e-12, 1.266367685636764e-12, 1.9811949190318022e-13, 4.066408380150868e-15, 3.5661987340582856e-12, 2.1635958685158288e-12, 4.068062854693345e-15, 3.6391735438935146e-12, 7.129547001678366e-12, 1.0957765632218617e-11, 1.9620568729889644e-12, 4.053610765084738e-15, 5.3167243579548046e-12, 4.062247964704897e-15, 1.6958679119680015e-11, 6.452518472707793e-12, 4.3986386468614815e-10, 4.068728651496169e-15, 7.778435255611772e-13, 4.067662646596237e-15, 4.068557749308488e-15, 1.3164210750280328e-11, 4.0693294647962265e-15, 4.060763245064268e-15, 4.063141369728162e-15, 2.464093744675553e-12, 4.36925419509325e-12, 4.0634358338341034e-15, 2.2404708704598784e-11, 4.06686117705321e-15, 5.826345568027012e-12, 3.538247153551997e-12, 7.496263522089978e-12, 1.1725267818035595e-11, 5.474183613334519e-12, 4.060652170770517e-15, 3.803164290627291e-12, 2.2081743689004512e-11, 6.7210560721879585e-12, 1.537194232741973e-11, 4.0640995070208976e-15, 3.765331127095537e-12, 4.043487792536457e-15, 4.05872993295425e-15, 3.3433848970652903e-12, 1.0987786065453954e-11, 1.078450054168754e-11, 1.3355223440174391e-12, 4.0564331434116875e-15, 4.037803017058169e-15, 3.0983842504838098e-12, 4.05922595150782e-15, 4.066265676598821e-15, 4.067149851383489e-15, 4.06747660428618e-15, 4.061689371071915e-15, 8.506495646501388e-12, 4.058840976823851e-15, 4.03944058449399e-15, 8.180643429440096e-12, 1.0100696288268609e-11, 5.054978786787818e-12, 6.523916950150907e-13, 4.052576608293607e-15, 5.385368192153045e-12, 4.064495013406074e-15, 4.0657696742408396e-15, 1.0668728722142257e-13, 1.1433021360280166e-11, 7.62871646014468e-12, 4.2275088116057206e-12, 4.0596063400274575e-15, 4.0648239363885835e-15, 6.9027370384567705e-12, 4.061833042996775e-15, 4.060377482518621e-15, 2.0391402550230974e-12, 3.546453220196203e-14, 7.758250487135426e-13, 4.810283682526648e-12, 7.783761404117953e-12, 6.526871479469598e-12, 7.644166106772485e-12, 4.0591048542214416e-15, 1.1210773106359448e-11, 4.06417262733859e-15, 3.797418684977775e-12, 1.3194021832064775e-11, 1.048243381680878e-11, 1.0731177434815614e-11, 4.071108086138995e-15, 4.068595272557544e-15, 4.060171308251878e-15, 1.6325945860874645e-12, 5.620906140432096e-13, 4.061421789010274e-15, 7.121605939884635e-13, 4.0694589914355516e-15, 4.071519138541146e-15, 6.783210960625389e-13, 4.059876733268741e-15, 4.866169587486296e-12, 6.127101288381777e-12, 1.3021567814564247e-12, 8.219865340387203e-14, 1.1059794204706838e-11, 1.0192488052160878e-11, 1.2473340494228616e-11, 1.2543780368434937e-11, 3.854528587009575e-10, 4.472212681142921e-12, 7.746894623021263e-12, 9.035702074714407e-13, 6.252256368523821e-13, 3.903840176944666e-12, 4.7646596512683125e-12, 4.073072036396328e-15, 4.0730142707476314e-15, 4.0768805333285615e-15, 8.544976470754062e-12, 3.454523105014116e-06, 2.5747691118399384e-06, 2.551947822625624e-06, 1.8995104085459399e-06, 4.1834783166327874e-08, 5.426948656603128e-12, 5.822840502806746e-12, 4.530781428712787e-12, 1.1344508597270485e-11, 7.519540073043877e-12, 4.073836557870153e-15, 4.075602726936603e-15, 2.608889565716801e-11, 2.6205131274668936e-12, 4.075831397041346e-15, 4.072644971806254e-15, 4.0706210651988494e-15, 4.0718426139442736e-15, 4.072204995206522e-15, 7.567241195563334e-12, 4.070597232887481e-15, 1.1190096957750122e-11, 1.1436122567746994e-11, 4.072216863107223e-15, 2.507488036391937e-12, 4.0654489450124695e-15, 9.975255981182535e-12, 1.242478384161887e-11, 2.6355712303123544e-12, 1.5065870270238316e-11, 4.066764562963882e-15, 4.662779949852858e-12, 8.171227155038792e-12, 5.07683909417618e-12, 1.9163141976233267e-12, 4.075758786252245e-15, 1.3635826860369186e-11, 4.073161106146608e-15, 1.7419037590048904e-11, 1.2394616292274662e-11, 9.135545658480652e-12, 4.073657737341967e-15, 4.070584681526398e-15, 4.075637402878458e-15, 4.71309643116286e-12, 1.6561784429488612e-11, 4.249180058718931e-12, 1.743442545793817e-11, 6.5529384102304414e-12, 1.1556979981165162e-11, 4.075207581709901e-15, 5.902601437946973e-12, 2.1560026519898096e-12, 7.161596745871704e-12, 3.0647728530640033e-10, 7.0594624404141586e-12, 8.713897040195245e-12, 9.39967653782357e-12, 2.1293857252170432e-11, 1.3816572042309394e-11, 8.434783063575024e-12, 5.740829099958458e-12, 2.7675516081185357e-12, 4.071444219622561e-15, 4.070140803648213e-15, 2.189923345470228e-11, 1.360035420314132e-12, 4.39146802365427e-12, 9.120429993192739e-12, 4.074091679820954e-15, 4.075214048503204e-15, 1.3013092019728253e-10, 3.2805366234170966e-08, 4.658007399910517e-10, 4.072480713179925e-15, 1.0321126513672498e-11, 5.398286209260198e-12, 5.353997538125731e-12, 6.814413244944801e-12, 4.076891699120835e-15, 5.200185474519367e-13, 4.073136112367382e-15, 4.069734437645533e-15, 6.68754585262486e-12, 4.069933497462044e-15, 2.4045688685446707e-10, 3.43924021534669e-07, 7.826167144011982e-07, 7.930334965405572e-07, 3.887068664129719e-07, 7.519607128721119e-07, 1.6599303418056057e-06, 2.177266101005816e-06, 4.106785164352081e-06, 1.5302912341720872e-09, 3.6364219983539145e-12, 4.0742671059333214e-15, 4.076517606252537e-15, 2.615395259527395e-11, 9.52760776461106e-12, 3.8447375058238666e-09, 4.5002631511955784e-07, 2.4376456465931026e-06, 7.782352404517891e-07, 2.548287629115005e-08, 1.9137162328493863e-11, 4.072512761754173e-15, 6.038322129002417e-13, 1.2915495494214492e-09, 8.793547920439965e-12, 2.2995055306096445e-12, 4.067634029457811e-15, 2.455595662996348e-12, 6.296270987386333e-13, 4.0799487577391765e-15, 8.632299200127274e-12, 1.767670112107062e-11, 4.0720839993645676e-15, 3.699929086382708e-11, 5.455634959950213e-12, 7.021508317984711e-13, 5.588282052418901e-12, 4.0664171585660876e-15, 1.874018973854481e-11, 8.502885260349315e-12, 8.460659067314481e-12, 4.050985373310094e-15, 4.062172145062261e-15, 5.9323658260778774e-12, 1.522923989186624e-11, 4.061105561232394e-15, 1.5144603250400748e-13, 4.065801459413444e-15, 4.051068779323695e-15, 1.9099720666436698e-12, 1.355155483158523e-12, 7.586444891718572e-12, 7.163829638809966e-12, 4.074773631833624e-15, 3.390422659045465e-13, 4.072241657824678e-15, 4.069733357850571e-15, 1.4878153163899833e-11, 4.07352209538377e-15, 4.069136121495513e-15, 4.0729193140860195e-15, 4.067150056775304e-15, 4.066600071152119e-15, 5.594540678932784e-12, 7.2181670456396075e-12, 2.1815439390500993e-11, 5.958361033671532e-12, 4.140666663907312e-12, 4.073931994746265e-15, 9.91578085951878e-13, 7.669623657560691e-12, 4.072241984499864e-15, 5.1906661042143595e-12, 2.3302391905839586e-12, 1.1317112418259603e-11, 8.655174778903468e-12, 4.078247949737543e-15, 7.906197053691557e-12, 1.6557401814656724e-11, 4.0727839953878395e-15, 1.1323824216659954e-11, 4.57837926527865e-12, 1.0377804406250228e-11, 5.524599428830172e-12, 4.074180803590402e-15, 1.8049000876829788e-13, 3.4697374700217975e-12, 5.2348501074999076e-11, 4.0754121209290795e-15, 3.5197991903314745e-11, 4.07629693272375e-15, 4.0606694304907305e-15, 3.1313895236914877e-12, 1.3587377231789084e-11, 4.246240814766756e-12, 1.3666467333298244e-11, 5.93543575786841e-12, 5.175155954646852e-13, 2.618577497809951e-12, 1.0284472914157113e-11, 4.0685730673677944e-15, 4.0685028047299485e-15, 9.774068225606528e-12, 8.522680338811212e-12, 4.058425931384506e-15, 4.0573678795358385e-15, 2.900823756831623e-12, 6.548790798730502e-12, 8.234670317572012e-12, 1.2509125428316744e-11, 4.0466120495783074e-15, 7.79763424421295e-12, 4.0425866822959985e-15, 5.758564957869045e-12, 6.832632967556651e-13, 4.595802187969493e-12, 8.971833226591025e-12, 6.387556730987472e-12, 4.330761935903663e-12, 2.699883926036477e-12, 4.042283185532951e-15, 2.57883633563532e-12, 4.044394676584457e-15, 4.02922916992549e-15, 2.3232352517641555e-12, 8.650500264338257e-12, 5.713711407679582e-12, 4.049689403675522e-15, 4.036559276399069e-15, 4.034754105882028e-15, 1.0456212629493894e-12, 4.040488715339148e-15, 5.074991664492223e-14, 4.049762314769575e-15, 4.0526882604544426e-15, 4.040994634244823e-15, 4.04796165752399e-15, 9.640674965459313e-12, 3.0231727154494404e-12, 4.047471173616578e-15, 4.051749417324093e-15, 1.8861113405681445e-12, 4.051067517829648e-15, 1.3810970471657936e-11, 2.2427583543765564e-12, 1.4332937863837648e-12, 6.938327289823068e-12, 3.0324248036243586e-12, 9.28748988094467e-12, 1.1770304909465662e-11, 4.033482230514329e-15, 4.046058714480532e-15, 4.055075184640232e-15, 1.6098634188863287e-11, 4.053990530949526e-15, 1.0533619298489583e-11, 4.052448570066191e-15, 9.262323086235457e-12, 8.748403018976206e-12, 1.67674733908987e-12, 4.057321036896524e-15, 6.76923536212521e-12, 4.05675164939198e-15, 9.185286096832739e-12, 4.054557202220682e-15, 9.086179950027621e-12, 4.051708772610907e-15, 4.053772065140519e-15, 6.813483853239221e-12, 1.1702462824789277e-12, 3.684015664891478e-12, 1.9120775792940023e-11, 4.051639350024431e-15, 4.021924286524317e-15, 1.1982756436055866e-12, 4.053288881192445e-15, 4.053534001656051e-15, 4.061075525916035e-15, 4.216961649218724e-12, 4.041070386681548e-15, 4.0506517380187405e-15, 3.986869551912386e-12, 4.055939336120661e-15, 5.50396147128804e-12, 1.1019755075428141e-11, 1.6923801383110819e-12, 2.5864416575917366e-12, 4.047213700041952e-15, 2.1419227796741636e-12, 2.8187752776060207e-12, 4.051838002512623e-15, 4.054947141422595e-15, 4.036056096396135e-15, 1.1246749510622531e-12, 4.0441515326918646e-15, 2.474260546930449e-12, 4.0405423934284474e-15, 7.335930130760312e-12, 3.263078911086503e-12, 4.050899137375528e-15, 8.054498712750906e-12, 1.0936123727593776e-11, 4.8044434215856e-12, 3.3860411295127386e-12, 1.3408376987610556e-12, 2.3158094857986726e-12, 4.033614054877469e-15, 4.0329577369859585e-15, 2.8290544272386432e-12, 4.0379315138374536e-15, 9.668226575631792e-12, 4.034807021568738e-15, 2.7623945139843074e-12, 4.031511714090204e-15, 1.4900507776958128e-13, 2.105903231058243e-12, 4.025947452797492e-15, 4.028994576676192e-15, 4.035200162927691e-15, 8.486222916192605e-12, 5.082919078202381e-12, 7.7497240063769e-12, 4.992233505073383e-12, 7.524586784350707e-12, 5.207421345439056e-12, 4.003820765132905e-15, 4.2059159150110004e-12, 2.4144080021130063e-12, 2.2136993934069952e-13, 3.996907858508729e-15, 4.0081557088646746e-15, 4.0057676972754086e-15, 4.047615520020204e-12, 4.756892323887491e-12, 4.016457416248676e-15, 2.8454742245970843e-12, 4.007603052401876e-15, 4.007139028245489e-15, 1.4653598359198973e-12, 5.0159883384716534e-12, 4.0150341237085275e-15, 2.9227341734721138e-12, 2.6607317945475036e-12, 3.2151801914258745e-12, 5.730994402460506e-12, 3.991956515192461e-15, 4.415341200637388e-12, 8.926418006582666e-12, 3.983584128816451e-15, 3.9944900634869695e-15, 3.137430023670596e-12, 1.364507935387758e-13, 3.1879640381247903e-12, 4.011067477002559e-15, 4.009054154514711e-15, 2.7390513039018143e-12, 4.010473564001975e-15, 3.9889350876152386e-15, 4.000945343967776e-15, 8.117978245272409e-13, 5.229528275910868e-12, 4.2681931293957606e-12, 4.000628951964325e-15, 1.0692737980426113e-12, 4.007067488858609e-15, 2.648111769105236e-12, 8.086980880013967e-12, 5.316673410223341e-12, 4.000654905707753e-15, 4.789525150865699e-13, 1.848075102092358e-12, 3.6241295936044996e-12, 4.0067988078405806e-15, 3.092157342623846e-12, 2.2981487337359626e-12, 3.989629091135428e-15, 4.2923777195145774e-12, 4.008906500922629e-15, 4.006786739900657e-15, 4.014984830059076e-15, 4.005729465502767e-15, 3.984873507321352e-15, 6.594385655345125e-12, 4.005263501636618e-15, 3.64859352218898e-12, 2.1878281295238606e-12, 2.6999737091310494e-11, 8.903243844492956e-12, 4.000437696765436e-15, 1.4812952885647853e-12, 1.2226374900664192e-12, 4.000730743038354e-15, 3.983661569109335e-15, 1.2854043099399742e-11, 2.565471252036667e-12, 3.995777739728516e-15, 3.529956729948873e-12, 5.744337680665188e-12, 4.706793309660171e-12, 3.995437719672038e-15, 1.2608588071706648e-12, 3.986545234962763e-15, 3.985476234272259e-15, 3.9924337872668496e-15, 3.976420037263414e-15, 2.505204130413995e-12, 5.695215003394678e-12, 7.281980406346891e-13, 3.0149665412032263e-12, 9.117931728623464e-12, 3.982842216332526e-15, 4.302205727942936e-12, 7.824646969013235e-12, 1.895527217664337e-12, 2.335806348856037e-12, 3.064265908730911e-12, 3.977747253394282e-15, 5.689434643503604e-12, 3.97337387427978e-15, 3.976817566898865e-15, 6.452160429407573e-13, 4.1441007922887616e-12, 3.9832008151635715e-15, 4.0335763928872114e-12, 7.153452108692274e-13, 5.799708452542457e-12, 1.268094422702434e-11, 4.138716233398588e-12, 1.4793205536715895e-12, 2.4023642489656804e-12, 2.881747380819659e-12, 3.882108106665275e-12, 3.953503958181082e-15, 1.0867562065462356e-12, 3.529271043340626e-12, 3.960525019324673e-15, 3.9557833506584235e-15, 3.955599475013632e-15, 3.954912027375283e-15, 3.968514602941694e-15, 3.972030937787639e-15, 6.803318668463151e-12, 3.959232885688168e-15, 2.7377305042530608e-12, 2.537376640939948e-12, 6.042441423684325e-12, 3.950096051946875e-15, 3.2093145305679942e-12, 3.954158570797808e-15, 3.5309279475963907e-12, 1.6445563609711825e-12, 3.95482880344215e-15, 5.031652694006369e-12, 6.209985675367749e-13, 3.2759098689446916e-12, 6.9226250005246986e-12, 5.841887859115714e-12, 5.785621571175845e-12, 3.977086860302178e-15, 1.5318394345750863e-12, 2.4566513300783675e-12, 3.770806532440224e-12, 3.621973565302479e-12, 3.5803724681077716e-13, 3.974077336969883e-15, 1.4751267120927697e-13, 3.9817783078977765e-15, 4.510878798550486e-12, 3.969122789910687e-15, 3.9607924951127264e-15, 3.960148466751741e-15, 6.742029897856872e-12, 3.965170497933171e-15, 3.5502463961450517e-12, 1.2072746109330257e-12, 3.988267998434918e-15, 9.70604220977808e-12, 4.011704820452158e-12, 3.972083350776527e-15, 5.325654774929994e-12, 6.796238564715292e-13, 3.99099005481718e-15, 3.986914646459147e-15, 2.871835873865542e-12, 1.8364298659377513e-12, 3.990469791504367e-15, 3.986685268075972e-15, 3.984344503462563e-15, 3.9753935934881436e-15, 2.034314530879609e-12, 1.423722465650953e-12, 3.724120623897023e-13, 3.983231989602468e-15, 3.973544065311293e-15, 6.961748276712828e-12, 3.990248019495562e-15, 5.43556026593891e-12, 5.5478654254231296e-12, 3.979749920711395e-15, 3.80211626099555e-12, 3.979580073471173e-15, 3.9841564939819406e-15, 3.6140342130170243e-12, 3.978309631208294e-15, 3.979370054426868e-15, 3.980369547356967e-15, 3.963578562673151e-15, 2.9314533277103044e-12, 3.967130306072786e-15, 1.782268065642032e-13, 7.842822808521534e-12, 3.978579909412257e-15, 3.9773300296723785e-15, 7.641550816781718e-13, 3.971081762577708e-15, 4.157789271999003e-12, 1.4753691240067307e-12, 3.973947519866198e-15, 6.432874637933127e-12, 1.3191163294310125e-12, 6.938738009959816e-13, 8.083449557553187e-13, 3.976395551583574e-15, 5.243691739460719e-12, 9.550614162893972e-13, 1.3008233743231848e-13, 3.963570341779867e-15, 4.46982114955482e-12, 7.74096624616834e-12, 5.3903788176359455e-12, 3.949166889878371e-15, 4.245914555719741e-12, 2.5749825772269574e-13, 3.961332729695714e-15, 2.2800432347232293e-12, 4.209800960493223e-12, 1.92377503180944e-12, 2.9082642572510212e-12, 1.0219881493072697e-12, 7.069133344352181e-12, 3.955948046778744e-15, 3.0361083848029388e-12, 3.9672256998393946e-15, 1.879164685637276e-12, 1.1267575948098528e-12, 1.0225817791445885e-12, 2.9577186757613807e-12, 3.956062039461816e-15, 3.948069442022922e-15, 3.951244567089851e-15, 3.9507327202147434e-15, 3.954117326428467e-15, 3.956199508383841e-15, 3.950876103739985e-15, 3.799223898129479e-12, 3.960064539003895e-15, 1.6353830034924155e-12, 4.750795654154091e-13, 9.292885385591079e-12, 3.953140632479598e-15, 3.9510873555713e-15, 3.94922885412232e-15, 3.1453183463088734e-12, 9.006138900348073e-13, 1.8590073615932887e-12, 3.963801843586103e-15, 1.6494124639538864e-12, 1.6869867535962722e-13, 3.950709909378424e-15, 1.3146137176005496e-11, 1.596223579147728e-12, 3.943407451731271e-15, 1.0087845081829e-11, 1.5738775567298978e-12, 3.943668170396991e-15, 3.954039092132999e-15, 4.991947455210955e-12, 4.712917113599e-12, 2.6884977206341973e-12, 3.9440373146008425e-15, 3.798481981427834e-12, 1.296600245259499e-12, 7.842059641915848e-13, 3.869215625570793e-13, 3.953605224894159e-15, 1.1541869413427314e-12, 3.9440570813982624e-15, 3.4916150435266574e-12, 2.1408876316425467e-12, 8.35357647790418e-12, 3.950356057586582e-15, 6.830309887039631e-12, 3.957375210562845e-15, 3.951738652761535e-15, 1.4278533950381985e-12, 6.685184963521954e-12, 3.948490732164424e-15, 4.528986405181994e-12, 4.830602194994497e-12, 5.528909599259668e-12, 3.955243971688012e-15, 3.6370751951985337e-12, 4.789272646742858e-13, 2.3910757765429777e-12, 3.960139458817681e-15, 3.955209156001692e-15, 2.9726354107278882e-12, 6.327602990097742e-12, 4.249848958589852e-12, 1.5939926844199826e-12, 3.944194284792223e-15, 3.940432826950901e-15, 3.4979422449345346e-12, 6.55925892858571e-12, 1.0945938001496856e-12, 1.7714428955605065e-12, 1.7482444198737278e-12, 3.947922613519749e-15, 5.867010794534222e-12, 7.046006326563797e-12, 3.945468412396179e-15, 3.543629364581193e-12, 2.9996640340326985e-12, 3.946317130417048e-15, 3.946881680882782e-15, 7.362005818893494e-12, 3.943670366460782e-15, 7.310868343953102e-12, 4.3903396490174745e-12, 2.9556881951463785e-13, 3.947536343019514e-15, 2.145792375724518e-12, 4.2429613178520495e-12, 2.117963496254222e-12, 1.5048163007409054e-12, 5.7840112991469915e-12, 7.553986904830258e-12, 9.429188139890831e-13, 2.326539187451706e-12, 3.162396764138278e-12, 3.933637495212179e-15, 3.933088096583921e-15, 9.632254262899743e-13, 6.64106485682441e-12, 3.948470629668475e-15, 3.9402724567059046e-15, 3.273967620479482e-12, 3.9322150575205675e-15, 3.937530510583897e-15, 3.9386393510887706e-15, 1.4088350605746639e-12, 5.495737525965812e-12, 3.936577165389434e-15, 1.6589374824862153e-12, 2.593082075465042e-12, 1.3485533044722235e-12, 2.800545276642577e-12, 5.833479889559786e-13, 3.949298028009444e-15, 3.1053127333390996e-12, 4.890335062934162e-12, 3.945176182167539e-15, 3.940125244063953e-15, 3.419883340605027e-12, 3.948367557530226e-15, 3.952253892174399e-15, 4.5894964445450005e-12, 5.136233276434919e-12, 1.0692999083933086e-11, 2.2424141817349752e-13, 5.128261543479359e-12, 3.951557225613604e-15, 9.465847955727479e-12, 7.82116270913416e-12, 4.188660593360701e-12, 3.939881822328938e-15, 2.3381041745669438e-12, 3.944005187915141e-15, 3.180836779308522e-12, 2.051054363320147e-12, 3.946922992406577e-15, 8.592007950618268e-12, 3.9415628942788056e-15, 3.93556397313945e-15, 4.818851583201276e-12, 3.945342462850774e-15, 3.941178763985917e-15, 4.4422128389668396e-12, 3.920287222177438e-12, 8.919445757887447e-12, 3.979364025744367e-12, 5.1331512301999975e-12, 9.60389086919224e-13, 1.7860020937218182e-12, 8.462643613928892e-13, 3.9355663400269996e-15, 4.924805303976216e-12, 3.939214488331851e-15, 4.345522084443023e-12, 8.841205152231903e-12, 2.6816786452096444e-13, 7.593143881488288e-12, 2.883096233939815e-12, 2.206527390012664e-12, 3.669468482828499e-12, 4.880955161830439e-12, 2.725218036093551e-12, 2.1341967983137443e-13, 3.9520341362788765e-15, 7.2133050059124164e-12, 1.7011616083539643e-12, 4.219239297542922e-12, 9.097135268199274e-12, 4.4320543510474065e-12, 3.942350461294972e-15, 3.950717533774587e-15, 1.0346690951745082e-11, 3.9544477485715786e-15, 3.943879562083949e-15, 3.804258469018251e-12, 2.5110723984950886e-12, 3.9491826288706994e-15, 5.725206713916472e-13, 8.670795377077595e-12, 3.950802263301848e-15, 3.95802801206998e-15, 3.957103012169611e-15, 2.2628701699308087e-12, 3.9547121975370614e-15, 5.3725452844568585e-12, 6.108521969639475e-12, 5.994728959645432e-12, 4.187424686162017e-12, 9.287988225782191e-13, 3.944946729233612e-15, 2.922844064778044e-13, 4.5314824576885725e-12, 3.96045107976391e-15, 3.863281405582168e-12, 6.986875565433628e-12, 6.473971352978019e-12, 3.4201700546175144e-12, 3.9482898113862386e-15, 1.4724105193343299e-12, 9.132077358981565e-13, 3.963873952314513e-15, 3.962789417116108e-15, 8.000951640837422e-12, 3.9539932126651425e-15, 3.947434927983461e-15, 3.0348283939607505e-12, 6.172098199759657e-12, 3.949739422469856e-15, 3.952522638443549e-15, 3.9506523858862955e-15, 3.954244273943486e-15, 3.958645916549244e-15, 1.0709276053877555e-12, 7.036992618898689e-13, 6.474929713676881e-12, 3.962196184598018e-15, 6.5867299132557625e-12, 1.033409026444687e-12, 5.039175883884492e-13, 3.9548139570727385e-15, 3.216393037698201e-12, 7.396718930076959e-12, 3.967179724553525e-15, 4.9217572462972785e-12, 3.967048532642206e-15, 3.963257532387643e-15, 1.1858856804529731e-12, 3.965397262022236e-15, 1.7532369804120344e-13, 3.9576535894203995e-15, 1.0978325292086177e-11, 7.165826650964822e-13, 3.960006784911392e-15, 3.9579672938679495e-15, 7.190519892479183e-13, 8.508874701271525e-12, 1.2603476198096448e-11, 6.388940669983201e-12, 3.958966224141777e-15, 3.962369526116785e-15, 3.957574186451373e-15, 3.960508224143286e-15, 3.963626068505595e-15, 2.483169923930929e-12, 3.946858551835172e-15, 8.005444238588244e-12, 2.348360185306308e-12, 3.184469465768998e-12, 3.9649287778857665e-15, 3.9539943885484085e-15, 3.958107032110485e-15, 3.959597859129631e-15, 2.522724694119301e-12, 3.0708418081058093e-13, 3.962917368272857e-15, 5.689858355860262e-12, 2.898971828260344e-12, 3.963149129232467e-15, 4.3239493885869606e-12, 2.2394867792486e-12, 3.975120946228351e-15, 3.973755490080256e-15, 3.807400930701912e-12, 1.4516008082682923e-12, 3.976988586818138e-15, 1.1223999107996286e-11, 3.9736193319834355e-15, 3.959650246924009e-15, 3.651763992769787e-12, 3.963440394334129e-15, 3.889588238773011e-12, 8.915860177786147e-12, 3.97401068395124e-15, 2.756738719232625e-12, 4.051812731057372e-12, 5.416553021649121e-12, 6.218976363543219e-13, 3.971559421148796e-15, 3.966864804553205e-15, 3.5446276942315105e-12, 5.8470528055392055e-12, 4.692481793854461e-12, 2.9369586580876224e-12, 3.971319735332875e-15, 3.0744900098483555e-11, 3.9710650225708545e-15, 4.503005467948686e-12, 3.974747777260947e-15, 3.981792589468245e-15, 3.981031442699222e-15, 3.9742664307705195e-15, 4.814664897053721e-12, 3.975054915147488e-15, 1.4421148978121523e-12, 6.719281108804609e-12, 3.975976883331926e-15, 3.7901364302909834e-12, 3.966360761257416e-15, 3.9683375428054195e-15, 3.970579717028353e-15, 3.972316821346954e-15, 4.425797081849508e-12, 2.103748581266626e-12, 3.982397075731538e-15, 3.979285516544154e-15, 7.208539599032479e-12, 3.9726956058690155e-15, 7.628517570603881e-12, 3.97398451330233e-15, 2.529271476442544e-13, 1.0140260587264118e-12, 1.4364624380704506e-12, 4.409407067564571e-12, 3.986393317726569e-15, 3.984393572209058e-15, 3.986574101097305e-15, 3.984051703161954e-15, 7.740470014037897e-12, 1.0446387846921819e-13, 3.98994252196462e-15, 3.9892420567375045e-15, 3.985986540209142e-15, 3.9868756259016836e-15, 3.9921062473207735e-15, 2.389878179390387e-12, 3.6964809268971785e-12, 2.4561509114203357e-12, 9.684153088385147e-12, 3.454388728463639e-12, 3.993753453915359e-15, 2.5540165936384186e-12, 3.755821336083127e-12, 9.926681312327796e-13, 1.2712698716579139e-12, 1.9175347452982338e-13, 7.447268180100972e-12, 6.270051514930022e-12, 3.9926788426530815e-15, 3.9951729096703335e-15, 2.1585476637695354e-12, 3.99046150800841e-15, 5.371679285186236e-12, 4.267042310003723e-12, 3.984055318224863e-15, 5.7855897261298314e-12, 3.98517463871778e-15, 8.353036421624974e-12, 1.0484095892784083e-11, 1.8106464422450238e-13, 3.990610843806161e-15, 5.828809145646124e-12, 7.922831876476714e-12, 6.721219863241127e-12, 2.391829258904614e-13, 5.019801796221884e-12, 3.9831889378506815e-15, 4.987366916270308e-12, 3.993863319263399e-15, 3.9973382537676185e-15, 8.955204045264588e-12, 8.203840025978496e-12, 3.9984974061108e-15, 4.002714964771508e-15, 6.876056238321598e-13, 4.001064555269297e-15, 7.306904121423721e-12, 4.0108545853374045e-15, 4.012086293197096e-15, 4.4521134502982496e-12, 3.3430654077844743e-12, 3.997202730723878e-15, 4.003891999526919e-15, 4.0027159185569995e-15, 4.00400891355522e-15, 1.996506042554685e-12, 2.1935371936712698e-12, 4.007940698950403e-15, 3.999409322225819e-15, 8.361762283338188e-12, 4.0029069642873896e-15, 4.00148616326492e-15, 4.0142752731773916e-15, 4.016847839685701e-15, 4.011536199938362e-15, 4.01577947888803e-15, 4.011437186558575e-15, 3.908838121344834e-12, 3.681957014948249e-12, 3.6682011693504525e-12, 1.2395938103123784e-12, 4.0227761431165395e-15, 4.022784875639425e-15, 4.018663148644906e-15, 1.7015936326844165e-12, 2.3129491330047274e-12, 4.0236038074452655e-15, 8.129195024559898e-12, 1.1152341335674145e-11, 4.016056540779635e-15, 4.748984433632952e-13, 5.0465744916833716e-12, 7.330704301071189e-12, 2.7188491933600987e-12, 4.023315026540997e-15, 2.903864857395869e-12, 3.544692224300935e-12, 8.425938488212146e-12, 4.812389536171135e-12, 1.2567251767803518e-10, 1.7820227584473186e-12, 2.6171107860621157e-12, 4.020686475643802e-15, 2.016608095670496e-12, 3.261875938921725e-12, 4.028623427588891e-15, 4.033617521891599e-15, 4.0296813173218174e-15, 3.4879593879997472e-12, 4.1934358885753675e-12, 4.030012554788667e-15, 4.033318821907932e-15, 4.034719857688966e-15, 4.059614190554401e-12, 4.032770226565178e-15, 4.033349958330751e-15, 3.4155808221249197e-12, 1.2051049487821342e-11, 4.0383682637722284e-15, 4.037391038195163e-15, 4.03563856227994e-15, 3.9415432493784615e-12, 3.0470416111917856e-12, 4.034066484958251e-15, 4.028716661556635e-15, 4.028669479901215e-15, 4.031377077834659e-15, 5.040833031830642e-12, 4.028201844404737e-15, 4.440845318594695e-12, 4.0304729274481096e-15, 1.0259950304504464e-12, 5.5837884517504195e-12, 7.486953457850599e-12, 4.743741626039021e-12, 4.022936500762615e-15, 4.02241540954874e-15, 4.0207777867710356e-15, 5.362435931049515e-12, 8.446466353074018e-12, 4.018187055424671e-15, 4.39395321310209e-12, 3.854372822611057e-12, 4.029270188571712e-15, 3.1999335754439982e-12, 4.023999821326751e-15, 1.0554043431678613e-11, 4.017566048951006e-15, 4.293857801815426e-12, 2.992726156399722e-13, 4.031689343900235e-15, 1.0390623274700327e-11, 6.871460605956813e-12, 4.0920146565494815e-12, 4.0308022513989315e-15, 4.033970891704695e-15, 4.0370031435029575e-15, 4.031813362633776e-15, 4.038261019808405e-15, 4.041277199031383e-15, 1.171109651315026e-12, 4.037008452615999e-15, 1.3398532750930435e-12, 4.027751503624853e-15, 4.064020413225318e-12, 8.348446854982048e-13, 2.97424530296001e-12, 4.038212876242575e-15, 1.0813458451214609e-12, 4.037042002250947e-15, 2.2576331047550135e-12, 4.0314289077912434e-15, 1.3402484997434312e-12, 4.391863883880432e-12, 2.4481036627449857e-12, 1.0783810699863652e-11, 2.313447824284771e-12, 4.0989622006628633e-13, 7.050440339985769e-12, 9.581702425280625e-13, 5.827818303056223e-12, 1.540092328376821e-12, 5.654785501848206e-12, 4.038753989088307e-15, 8.738510146401857e-13, 3.6774444804999525e-12, 5.842473117070098e-12, 2.2931528255031385e-12, 6.814816041665225e-12, 4.0513400002626545e-15, 4.049236356643299e-15, 2.2784958732840906e-12, 4.109229446646533e-12, 4.0396640543841204e-15, 4.044500556982051e-15, 8.470247985982816e-13, 4.0516705499840584e-15, 4.0529072395785656e-15, 1.1843817780659247e-11, 4.635652250048241e-12, 7.299265428996638e-12, 4.046418346108672e-15, 4.046267850230188e-15, 4.043712414505338e-15, 3.5654499551965737e-13, 8.465386255530085e-12, 4.048477443731158e-15, 1.598943126151657e-12, 5.968619040674426e-12, 1.0695082374098467e-11, 8.570139262925394e-12, 4.051553993936351e-15, 4.054717909297752e-15, 4.056165353217899e-15, 1.2342842303356402e-12, 2.3552412130863744e-12, 1.235625264272072e-12, 6.739713611611652e-12, 3.484693029629676e-12, 9.600273521407772e-14, 4.0596764073352235e-15, 9.243130088501185e-12, 3.3389072394276146e-13, 4.0613714343827216e-15, 7.428155447266233e-12, 1.1147980542720747e-11, 4.053468525483593e-15, 4.055356861467946e-15, 6.841309952021417e-12, 1.3965773636850938e-11, 5.750594866093199e-12, 4.047487588003427e-15, 4.052302521507651e-15, 4.052903246934914e-15, 5.189792977195587e-12, 1.0103840027399984e-11, 2.627645847070105e-12, 2.9709795566922002e-12, 4.033845784168449e-15, 4.0412175451421514e-15, 1.1945507744985596e-12, 7.438892998982997e-12, 4.040265102660916e-15, 4.039899475063667e-15, 4.046163031707761e-15, 4.047951407371878e-15, 5.138493792857271e-12, 4.043910208656445e-15, 4.757594017248322e-12, 4.039728357966354e-15, 4.042693511362907e-15, 1.1076548323944623e-11, 4.054998903046948e-15, 4.056756987783648e-15, 4.053727399525158e-15, 7.944455369841039e-13, 1.8574421319388993e-12, 4.057944077493911e-15, 2.5828850906366888e-12, 6.373135697915504e-14, 4.057239028755466e-15, 2.918913205211923e-12, 4.061760285942072e-15, 1.2180670558058539e-12, 4.054519513223974e-15, 3.1715619984704455e-12, 4.789656021900388e-12, 4.061179926670386e-15, 8.065134632764219e-12, 4.4333912519956426e-12, 3.5747337385920862e-12, 4.065649166552947e-15, 4.060516278806865e-15, 1.3071846910223264e-11, 4.0620131755818616e-15, 1.877201452127406e-12, 4.070642014487573e-15, 1.0513972812897095e-11, 4.070665856551552e-15, 4.071728863827322e-15, 8.792766000740154e-12, 5.191110081445187e-13, 7.025870275626406e-12, 4.067603154150223e-15, 1.42260694228518e-11, 4.065720742448371e-15, 7.402006467810738e-12, 4.071272626596708e-15, 1.0267012218664195e-12, 1.6223159226021114e-12, 4.074914741722365e-15, 5.120655013902541e-12, 4.075140050699744e-15, 2.7821656110393416e-12, 6.913807957725905e-12, 4.052553710450725e-15, 1.461781265356954e-11, 7.28557321266911e-12, 4.074825071688421e-15, 2.0758013289457675e-12, 1.6820669677034292e-11, 9.767970774640587e-13, 2.015741603740432e-11, 1.0348031474813586e-11, 4.07572852960233e-15, 1.2132911280175636e-11, 4.4462063003942366e-10, 6.897149350749455e-08, 8.554815791337782e-07, 1.119233463664734e-10, 3.302525698224039e-11, 2.556501796261783e-07, 5.640338541075375e-07, 1.380676578939707e-06, 2.616412842436414e-06, 3.6140676938207053e-06, 3.7138940491833204e-06, 2.689466211991935e-06, 1.741394961966835e-06, 1.357084691353989e-06, 1.2039014338186364e-06, 1.028496513162243e-06, 4.2634072890630163e-07, 1.4895586617657871e-12, 5.457880069828353e-12, 1.2606119489766771e-12, 3.730298639809758e-07, 1.2081960384192912e-06, 8.595618003722615e-07, 6.516735414468227e-08, 4.071576110208261e-15, 7.93329040666963e-12, 3.8202051389327224e-12, 4.071276527128829e-15, 2.7846315994471996e-11, 4.511307084202676e-12, 5.253973245033802e-12, 4.063047683896953e-15, 4.621604326913885e-12, 1.2227625541968035e-11, 7.081408361605394e-12, 4.068162668238503e-15, 6.124195600323498e-12, 2.655039714580596e-12, 7.36463653078063e-12, 9.324839075710736e-12, 3.418506607574741e-12, 4.0745652593289455e-15, 3.0603966021615254e-12, 4.071682615221486e-15, 4.583870621876206e-12, 4.0679597732951264e-15, 5.8914812187127784e-12, 1.0137413305406966e-11, 4.076180847742488e-15, 1.3902173074832265e-11, 3.466561686693487e-12, 6.3686236091526945e-12, 1.3606225971184821e-07, 1.2247007056490219e-06, 1.4945683170179973e-06, 1.8414542355793512e-06, 2.8311027312695506e-06, 3.8024421476942764e-06, 4.28362625192128e-06, 4.558747401765624e-06, 4.733738348449844e-06, 4.721449825001005e-06, 5.304573257722356e-06, 6.661763605935863e-06, 8.102930090582397e-06, 8.516734224931221e-06, 8.015070914482017e-06, 7.715154635526357e-06, 6.8186752593753234e-06, 5.610859372720313e-06, 4.947392886103104e-06, 4.93547690894647e-06, 4.712572118492973e-06, 3.148755617431925e-06, 1.4575590689054716e-06, 8.484182285630637e-08, 5.718854653221619e-13, 4.065067129911552e-15, 4.076133243168411e-15, 8.578150791594619e-12, 2.8103502484324178e-12, 6.747700470220493e-13, 4.0580163354145814e-15, 5.6014577793032e-12, 4.638588542411141e-12, 4.0702226554015606e-15, 4.062877293041722e-15, 7.589205366964925e-12, 4.051377656345318e-15, 4.440556523489112e-12, 2.0726829945233334e-12, 7.817101217274214e-12, 4.070388264146458e-15, 2.395746800032232e-11, 4.0641261570367094e-15, 1.0116035692314722e-11, 9.956484471776242e-12, 1.607439293400154e-11, 9.138945246967726e-12, 4.051007601520947e-15, 4.061722399421679e-15, 4.062866442285821e-15, 7.576957686001139e-12, 1.4355316023889751e-12, 4.063266746838514e-15, 1.820935157281207e-11, 4.081358697570849e-15, 4.0699367655895195e-15, 1.816159687798827e-12, 2.0367679050344853e-11, 3.546242528462648e-12, 4.079588247079307e-15, 3.6006106388236445e-08, 5.731119925309508e-07, 1.192212607590002e-06, 1.3621032897782026e-06, 1.232234776681769e-06, 7.661768255708143e-07, 4.081525721258513e-15, 3.929616793927895e-12, 3.3817718875563896e-12, 4.0676846671067964e-15, 3.871751698389463e-12, 4.071732811752635e-15, 4.028991406228977e-07, 1.6669998561241433e-06, 2.5624156909660692e-06, 2.4693022022993808e-06, 1.3230569599368467e-06, 2.034998403225408e-07, 1.0304334064707841e-07, 4.5495906870352035e-11, 7.422208841485572e-12, 2.491392690117853e-12, 4.072998314494325e-15, 2.528737552443274e-12, 8.957632729845661e-12, 6.297145059270779e-09, 2.713242669388343e-06, 5.192337241267823e-06, 6.338742809941133e-06, 4.766368308917926e-06, 2.646030278391418e-06, 2.3780618527478795e-06, 3.349385627611337e-06, 6.165899231489624e-07, 4.0615899222717054e-15, 4.071532199345789e-15, 1.3490117862800853e-11, 3.4917532084836776e-12, 1.184431858616756e-06, 1.2157180149225226e-06, 1.0497799027733788e-06, 5.889248295126007e-07, 5.69098405894549e-07, 1.9667530562387626e-09, 4.080117480884462e-15, 4.0777169709573625e-15, 9.032510478285087e-12, 4.464190261543259e-11, 4.0736599373008564e-15, 4.077828081963348e-15, 4.078210451402715e-15, 4.0773490819048435e-15, 1.025715661971477e-11, 8.622955405780875e-12, 4.7779449699359225e-12, 4.074759374488921e-15, 4.0744963041587786e-15, 4.0739800487927414e-15, 2.739707847203958e-12, 2.4132473391513604e-12, 2.517054983130831e-12, 1.984678342656782e-12, 5.9502363796631275e-12, 3.7788645738988224e-12, 4.070024034608042e-15, 4.0656485247695575e-15, 1.1955919728693716e-11, 4.070175968407092e-15, 1.854292063811853e-12, 4.0827208442516345e-15, 1.2961895645261868e-11, 1.1072181046445105e-11, 1.5130945318214915e-12, 4.071166482954002e-15, 3.207671365675595e-12, 2.2987142027032044e-11, 2.6093870117148945e-12, 4.0747289920161794e-15, 1.0871168419695976e-12, 3.778303540049413e-12, 4.055453181059084e-15, 5.132231273835875e-12, 1.2812016843645915e-11, 3.906441821055045e-11, 1.3169808077175462e-11, 4.062795586778302e-15, 4.2760393957380085e-12, 4.058350813010253e-15, 6.6331081660808434e-12, 1.0547293314702754e-11, 4.062499211665988e-15, 5.0628342376164484e-11, 4.0538664964605e-15, 2.247800092655378e-12, 1.5545889968254704e-12, 1.757110905210149e-11, 3.662781243944187e-12, 1.2465116736856252e-11, 5.833138215506043e-12, 4.0648103077341625e-15, 2.366398655412798e-12, 6.63987966160573e-12, 9.849748601822724e-12, 1.1050702907089292e-11, 4.054693657561544e-15, 7.158386976505318e-12, 1.4302615301820606e-12, 5.133957175403341e-12, 1.7042998609753337e-12, 1.0056579316005998e-12, 4.0656899954633674e-15, 8.071377041973714e-12, 4.0364066511186235e-12, 4.063257028858881e-15, 4.234819275603844e-13, 4.07154663911169e-15, 1.4370025295656255e-11, 1.8007940685257704e-12, 1.6709710169828093e-11, 1.1577728820966495e-12, 4.0643246800723895e-15, 9.232371348102608e-12, 4.066833225307676e-15, 2.9148997746979146e-12, 1.5284937357043184e-11, 9.695239784741999e-12, 8.117926059008834e-12, 8.518050143144452e-12, 1.0378314289171642e-11, 4.056982628430782e-15, 4.8979090665888006e-12, 2.219987775986113e-12, 1.1307245933848025e-11, 9.09766092853593e-12, 4.049782255098093e-15, 4.057039368698572e-15, 2.7110298985516913e-13, 1.0319731643551418e-11, 4.052034408516602e-15, 4.051435504443544e-15, 4.0456500891262196e-15, 4.0492004825569415e-15, 3.117806766012665e-12, 4.047323569417819e-15, 4.055504439447661e-15, 1.1425539145962738e-11, 4.0464849087029795e-15, 4.059346157370634e-15, 1.2350447869277756e-11, 6.837668721302993e-12, 1.8370006160836545e-12, 4.053020109213181e-15, 4.0381470254620525e-15, 4.063169668358778e-12, 3.90298795368574e-12, 4.040475685412035e-15, 4.037981278696813e-15, 3.482110263358885e-12, 4.022282770271315e-15, 5.987863484626011e-12, 4.037677020947333e-15, 9.117317642491765e-12, 5.906776586474988e-13, 3.745340989683359e-12, 3.327096863356426e-12, 1.2329355312387203e-11, 4.036396673170405e-15, 1.462866866067982e-11, 9.15994175748504e-12, 4.04935071954999e-15, 4.0544121245483495e-15, 2.3279842073959292e-12, 7.559430609983649e-12, 4.052703740166465e-15, 4.047878866028647e-15, 7.185015560572665e-11, 8.486355549373908e-12, 2.2935893239365133e-12, 4.05490946616173e-15, 5.89063049293869e-13, 6.6418095836616385e-12, 3.2881337886428807e-12, 1.14836720242459e-11, 1.9714147566740853e-12, 3.551046369779943e-12, 3.026590993282849e-12, 1.065215282290813e-11, 4.563381297860397e-12, 4.0515297216294875e-15, 4.046713258380456e-15, 4.0486758063581764e-15, 4.047354031378171e-15, 2.416798366534989e-12, 3.1636571595841587e-12, 4.0442025921495916e-15, 4.037787384910751e-15, 6.495007694605648e-12, 2.8753320258999647e-13, 4.176081576859053e-12, 4.0529211144311905e-15, 4.044647008452226e-15, 4.048795310316212e-15, 4.0538026256700285e-15, 4.054352793004895e-15, 5.0662231879789735e-12, 4.0535415715856425e-15, 9.55546261433208e-12, 7.218306717131651e-12, 7.088509639920238e-12, 7.998289524768715e-12, 4.057602647981341e-15, 4.043340686469653e-15, 4.0504936308554875e-15, 1.2014740293885842e-12, 1.4146843961335374e-11, 2.7121445436633696e-12, 1.1989808051512186e-11, 4.057318447638903e-15, 4.059478878045728e-15, 4.930432269440759e-12, 4.0583761309507046e-15, 4.04577528304854e-15, 3.926561495947853e-12, 4.048215303325665e-15, 6.454014812825504e-12, 4.048761383834875e-15, 4.0495861572125035e-15, 3.123595548616237e-12, 5.580062528251182e-12, 4.037561879902841e-15, 1.2786327178853105e-11, 4.03996785424488e-15, 4.041795548104796e-15, 6.607393383516269e-12, 1.2483978334402506e-12, 4.028223265851292e-15, 4.349609945260294e-12, 4.035545061576395e-15, 5.218527534744657e-12, 6.252321415690628e-12, 6.9493809887830494e-12, 3.536581562913611e-12, 4.028529745090749e-15, 4.032042935364306e-15, 3.915808255170182e-12, 3.900555382944912e-12, 4.032960915075898e-15, 1.1523732922390134e-12, 1.2298482287973568e-11, 4.038405223628776e-15, 3.920905088137338e-12, 2.5196862720561963e-12, 3.6235890319535587e-12, 1.0985585653547726e-11, 6.772920672412447e-12, 4.0210003875986644e-15, 3.6738587896376286e-11, 4.020184488560819e-15, 4.019809513017139e-15, 4.025780869492806e-15, 4.0076576271972424e-15, 2.8865098669534252e-12, 1.1180259526719034e-11, 2.6629021379703103e-12, 9.873971523222324e-12, 4.029040904050021e-15, 4.022013224174529e-15, 4.011008113591514e-15, 4.018090535303792e-15, 4.875624123870607e-12, 4.028905332435283e-15, 4.029178421513481e-15, 4.026436019479412e-15, 4.034605348731365e-15, 4.031747382535539e-15, 3.877629076886181e-12, 2.561980929361246e-12, 3.471122691026604e-13, 2.8815888200579664e-12, 4.026340193081258e-15, 4.014215968182204e-15, 4.018393785672425e-15, 5.642688325679647e-13, 4.012038625167263e-15, 4.019649859872323e-15, 2.70792751756656e-12, 4.031296307794232e-15, 4.024409313732053e-15, 4.022952308687145e-15, 4.025878193325106e-15, 4.024283832849172e-15, 2.7132058236359847e-12, 8.220828190251116e-12, 4.02196481723295e-15, 4.027760961597694e-15, 9.29188582125102e-13, 3.31994343963192e-12, 4.020173465734463e-15, 1.1446069249986691e-12, 3.7345177026001154e-12, 4.009735675563908e-12, 4.0336015554136365e-15, 4.024032731110231e-12, 4.0307099811518935e-15, 1.449608197680006e-12, 9.102026138074829e-12, 3.980170931191989e-12, 4.023251127293168e-15, 2.3635479411874205e-12, 9.693499995085631e-13, 4.029018781284387e-15, 1.5011894097933922e-11, 6.300777011126568e-12, 5.78412446978637e-12, 4.03495362670368e-15, 4.034377183029274e-15, 4.0307840648940714e-15, 5.443943270537313e-13, 4.036299937235532e-15, 4.041076227888452e-15, 5.9607173615687996e-12, 4.04388726573155e-15, 7.49976894623401e-12, 4.031501367322521e-15, 3.121479721680382e-13, 2.7849608402302368e-12, 3.1262545090987784e-12, 3.895394893975723e-12, 4.036038317317541e-15, 1.0260440259890436e-11, 3.89634971280099e-12, 7.297081713752636e-12, 4.032485202247371e-15, 2.4704783768938357e-12, 5.203482834018429e-12, 8.132520977633164e-12, 4.023343392557799e-15, 4.024024313703923e-15, 4.026010136662807e-15, 3.475119109089776e-12, 4.021953272278235e-15, 9.467828396967865e-12, 4.034477398943887e-15, 4.032622990600581e-15, 2.553737142998726e-12, 4.031056724565595e-15, 3.623743579075249e-13, 4.033244380650783e-15, 7.247097491722118e-12, 3.489876359930605e-12, 8.339381317342472e-13, 4.045500039158165e-15, 4.045906224657574e-15, 4.0434293932542355e-15, 4.036361621333743e-15, 4.089592667876191e-12, 4.03265718009226e-15, 4.034295743803918e-15, 4.0323482305334006e-15, 4.031393068964632e-15, 4.034125915355232e-15, 4.03608422933485e-15, 5.472789419627941e-13, 4.034806088003943e-15, 1.976343550355861e-12, 3.029869188787609e-12, 4.041701414458384e-15, 1.8592264035791817e-12, 9.129490593572966e-13, 9.170291164218775e-12, 4.031915911159041e-15, 4.0387535143443814e-15, 1.2233156558138729e-12, 4.044239716799568e-15, 6.844078983980859e-12, 4.5661234400279265e-12, 5.514253469816833e-12, 3.030770147870518e-12, 4.066268650771931e-12, 4.0430606879891854e-15, 2.6747059199404396e-12, 4.038234245495712e-15, 4.031797039203262e-15, 2.1049957902958584e-12, 4.04057039436103e-15, 1.3572081385351523e-12, 4.041221075694216e-15, 4.036032466083411e-15, 4.038848201988384e-15, 1.0778451559632318e-12, 2.188563849504785e-12, 4.373247106897581e-12, 4.030101129386446e-15, 4.028980556257193e-15, 2.210425285975358e-12, 6.414776259599269e-12, 3.641650516437876e-12, 4.534672060078666e-12, 1.3572379006732793e-10, 2.9172692047182633e-12, 3.3458329869267148e-12, 5.497052210632586e-13, 4.041835036248064e-15, 2.2258475303754854e-12, 7.012333784348047e-12, 4.036843888286166e-15, 1.1791782722165206e-11, 1.3265533865608394e-12, 3.938108807801637e-12, 4.034600697353023e-15, 4.0372030395391195e-15, 5.5134560309252025e-12, 3.6005973486042183e-12, 4.04605979309986e-15, 4.040886180921736e-15, 4.037773865309775e-15, 4.8444551104343585e-12, 7.996822630479797e-12, 4.0417145409285105e-15, 5.2322211232115284e-12, 4.046535109580107e-15, 4.640165824227855e-12, 3.3264916844113315e-12, 5.412232139668961e-12, 4.052065362334322e-15, 4.0465923997536905e-15, 4.046845464964396e-15, 4.240435547449498e-12, 1.258046846101706e-11, 4.051834776233226e-15, 4.050972365207321e-15, 4.099747541595232e-12, 6.479143193207193e-12, 2.962240788891929e-12, 1.9707023539715783e-12, 4.049723487514858e-15, 4.050640704777417e-15, 1.0098746316992211e-12, 9.818840563027123e-12, 4.047368021885925e-15, 6.285279320389207e-13, 4.047624435009276e-15, 4.047224816178644e-15, 1.4737900882483002e-11, 4.047718726474051e-15, 4.0439220563175855e-15, 1.9155232511234637e-12, 4.046295181410756e-15, 2.658605843916329e-12, 7.664662554180766e-12, 4.0452047273500934e-15, 4.046163389803172e-15, 4.051400284918507e-15, 1.7052927006310183e-12, 9.991980327635996e-12, 4.0462047397316485e-15, 2.6553836338514794e-13, 4.04040359488557e-15, 3.4047414675003176e-12, 4.045065822738196e-15, 1.3944057758208096e-12, 3.8100457479666114e-12, 1.9036648815157605e-13, 4.805951489395249e-12, 6.932861686631209e-13, 5.063635947774274e-12, 4.0356564225573415e-15, 4.041149828658351e-15, 1.0049871101158874e-11, 1.691951761591802e-12, 1.0808831137573981e-11, 9.882344888298406e-12, 3.6429958853027306e-12, 4.045972817185196e-15, 8.11866504834107e-12, 4.051909038017545e-15, 4.050412131177851e-15, 4.05727387546991e-15, 4.05757075286854e-15, 4.056854997679969e-15, 4.050810778823424e-15, 4.054444804699871e-15, 4.052812366427643e-15, 4.048939228423349e-15, 3.32069077304564e-12, 4.049294606143246e-15, 4.054666485373055e-15, 4.0487305545258525e-15, 3.936016580054299e-12, 5.308583589115738e-12, 4.376893690007438e-12, 4.0548554815618805e-15, 5.470344456199173e-12, 6.4107587804552284e-12, 7.313109602918765e-12, 5.477517176214759e-12, 2.6047306553657113e-12, 7.776809955808099e-12, 1.1119517869193586e-11, 3.0787636742412066e-12, 4.04928444907258e-15, 4.049285663929092e-15, 4.0524430031656786e-15, 1.2498114531646351e-11, 2.4676837768432444e-12, 1.0822781320724777e-11, 8.823958437714292e-12, 4.0556302073295984e-12, 9.961141031304775e-12, 3.685886760644118e-13, 4.055508021398482e-15, 4.0528631083119185e-15, 4.054213208927959e-15, 4.055589475793674e-15, 3.653620059077745e-12, 8.412137233660819e-12, 4.058025867470537e-15, 4.059102501324611e-15, 4.066519515778667e-15, 4.068924921407847e-15, 4.066509443547932e-15, 4.0666423926023524e-15, 1.4061367653475925e-11, 1.1078104148510451e-11, 3.016545624818784e-12, 4.074400427091265e-15, 4.075437922767199e-15, 4.073852924270317e-15, 4.93040353346089e-07, 3.4493979095648273e-06, 5.287987092116877e-06, 3.7289421741647736e-06, 3.1089769816923957e-06, 4.7318796751400175e-06, 8.388332589423214e-06, 1.0550908465356302e-05, 7.549400525183939e-06, 5.725035905189297e-06, 5.210391034029909e-06, 5.774021621585681e-06, 5.72920626458816e-06, 6.38157425916241e-06, 7.836590957244993e-06, 8.504939253670625e-06, 9.03354569064822e-06, 9.678287931318227e-06, 1.0919387257525575e-05, 1.1985408181095802e-05, 1.1967852860981359e-05, 1.086346560979628e-05, 8.167734162345565e-06, 4.666686375524655e-06, 2.35359861232913e-06, 7.653744333165662e-07, 1.2035004820704506e-07, 4.142527734943635e-12, 8.337828194837621e-12, 6.321886984865236e-12, 9.11102015127327e-12, 1.0377321536703358e-11, 6.637610827468067e-12, 4.834926656124188e-12, 1.6024542720946244e-11, 8.65290430085055e-12, 4.0688329112168224e-15, 3.6643638877975456e-10, 3.1855237160855445e-12, 4.0682572307573854e-15, 4.071221811306299e-15, 2.648565018569958e-12, 1.1881449898852917e-11, 2.691413531723345e-11, 1.2850026001026605e-11, 4.0650835922929776e-15, 3.632315050355247e-12, 1.3200377393272585e-11, 1.664498341861591e-11, 5.202125406867334e-10, 4.078406911560816e-15, 7.661052244178869e-12, 4.071470562550748e-15, 7.647191752818386e-13, 1.2062211808925816e-11, 7.168483965138417e-09, 1.435351141676222e-06, 3.2933492777183727e-06, 5.064362251709815e-06, 8.01250922544978e-06, 1.094954188581124e-05, 1.3723274591142946e-05, 1.5481609279921616e-05, 1.7121436167167987e-05, 1.903923041481093e-05, 2.0049620239061124e-05, 2.098573791319347e-05, 2.3244110742310385e-05, 2.591864606948725e-05, 2.6081560488596236e-05, 2.5042098668008424e-05, 2.6474375897548546e-05, 2.7964098800777684e-05, 2.755417808300327e-05, 2.5747836950747134e-05, 2.3418777900169632e-05, 2.1012723559485674e-05, 1.803117374803907e-05, 1.3522198739693548e-05, 9.737589548699688e-06, 7.85094032109007e-06, 7.046235569000532e-06, 5.910652290981072e-06, 3.2850757737443033e-06, 2.645778835409988e-06, 1.940062002663003e-06, 2.213988282793308e-06, 2.561592382556452e-06, 2.2255915255185857e-06, 2.2060820106347158e-06, 1.5219635253903671e-06, 2.712779187296106e-07, 4.439692355721388e-11, 6.261058819918792e-08, 6.320791446582731e-09, 4.0729335732550324e-15, 2.397521122771325e-07, 2.4437859127124895e-07, 1.1068385908084836e-06, 2.1981200629329614e-06, 3.684661173829044e-06, 3.390722455577236e-06, 3.0491959239881716e-06, 2.057065019575311e-06, 9.684354710515137e-07, 2.285030358560569e-06, 4.589716368850829e-06, 6.624432796591049e-06, 6.376828848946666e-06, 4.585370362354355e-06, 4.3353411347382385e-06, 3.856424357426716e-06, 2.935047050458196e-06, 1.9513639380171333e-06, 2.024748799272875e-06, 3.3367724041039064e-07, 1.5261005659681035e-09, 1.8496551270081498e-11, 6.20039750183865e-12, 1.3562267215166896e-11, 7.423961298226912e-12, 7.617735927386976e-12, 6.582796145552597e-11, 1.0613578887742976e-06, 2.884266665840992e-06, 4.898492179660424e-06, 5.7888147619675675e-06, 6.2098722688863575e-06, 7.68892325103779e-06, 1.0051104770435077e-05, 1.3666416855287958e-05, 1.753753741525938e-05, 1.977884458928583e-05, 2.0117038620418516e-05, 1.9873964939391768e-05, 1.948633929860268e-05, 1.9015813101408547e-05, 1.8304218084037746e-05, 1.6439400493799338e-05, 1.4980873256754113e-05, 1.4176074163953087e-05, 1.3456206641111382e-05, 1.290939632820559e-05, 1.45721788198685e-05, 1.6604572569182593e-05, 1.7171274302531165e-05, 1.686382579738664e-05, 1.5315225048428096e-05, 1.3558570579006494e-05, 1.2553306178218919e-05, 1.1905689445575665e-05, 1.0824646766598323e-05, 9.188790708306256e-06, 7.734147994441403e-06, 7.053242111303729e-06, 7.318258643654342e-06, 6.332811307689948e-06, 5.5058589308253455e-06, 3.456217595762919e-06, 6.577625342000886e-07, 4.078216179530388e-15, 1.0945795334149127e-12, 1.1814947321545377e-11, 9.804856594457355e-12, 1.5018083597447433e-11, 4.0735526013116355e-15, 4.075301002429787e-15, 3.618016394476069e-12, 4.074243327511389e-15, 4.076118975177814e-15, 1.5931646013161494e-11, 1.1209762795430216e-11, 4.072810711003902e-15, 3.83306906038976e-12, 1.256170184309761e-11, 4.078558504264264e-15, 1.2772770928986695e-11, 4.0761675024142194e-15, 1.1338125401538726e-11, 4.728259180592313e-12, 4.073328225626009e-15, 8.689940812461076e-12, 5.547724821898838e-12, 1.3218257659636613e-11, 4.075193746444302e-15, 4.0761919557984055e-15, 2.0857360481402897e-12, 5.382628239792171e-11, 1.8219441506930357e-07, 2.407842272509688e-06, 5.427689349247997e-06, 3.7186951736865404e-06, 3.7570466731895867e-06, 4.929968728217919e-06, 3.024142258160994e-06, 1.4707662492824747e-06, 2.2748389867194817e-09, 5.894347815953294e-10, 2.6611278568341983e-06, 8.1509247426633e-06, 1.367754197058722e-05, 1.9323040467184953e-05, 1.6621120758936154e-05, 1.9450856536727736e-05, 2.7238762604030427e-05, 3.750071333184651e-05, 4.895828464162773e-05, 4.232562035862466e-05, 2.4265234771950702e-05, 5.433909082951633e-06, 6.138035241098587e-06, 1.6914341180935213e-05, 2.0492343758127222e-05, 2.3982912019095267e-05, 2.7212023373971984e-05, 2.63256916405272e-05, 1.694843619808139e-05, 1.7408198903941603e-05, 1.782743024043037e-05, 1.916627500480926e-05, 2.1015327579508554e-05, 2.21971227740469e-05, 2.198188485954704e-05, 2.0860790189876423e-05, 1.9219403572243085e-05, 1.7367487393191136e-05, 1.5326835839479652e-05, 1.3134000361089552e-05, 1.222520464090388e-05, 1.1948971189287938e-05, 1.1748607051197782e-05, 1.0899228417956845e-05, 8.966037662806822e-06, 6.821841578994281e-06, 5.942767668874537e-06, 6.7407581587322904e-06, 8.528171238340795e-06, 1.0874286810473318e-05, 1.2822953781019738e-05, 1.3888742707346553e-05, 1.5113408658666908e-05, 1.633133398189113e-05, 1.5689374869980582e-05, 1.5411685229258526e-05, 1.565680034560803e-05, 1.6451219214715586e-05, 1.9699169690790457e-05, 1.8197353150863454e-05, 2.1419894168807075e-05, 2.367274871914841e-05, 2.4474841288298323e-05, 2.3232301797384928e-05, 2.3488090367231262e-05, 2.4428694301195384e-05, 2.4677523593439138e-05, 2.4166174454015136e-05, 2.2950381805707054e-05, 2.2077809289758782e-05, 2.227510796999158e-05, 2.2765899470976186e-05, 2.2861854649439855e-05, 2.3858111867674843e-05, 2.133475898920112e-05, 2.0156092394877395e-05, 1.849526097553453e-05, 1.7899797311843764e-05, 1.9455039242418457e-05, 1.3934854623674618e-05, 9.220186335597354e-06, 7.989589018586575e-06, 6.574570308043473e-06, 4.243766896835747e-06, 3.8662822063309025e-06, 5.795687398109845e-06, 3.2585770137983226e-06, 2.8788484321491305e-06, 6.482561959860943e-06, 1.1840877706061815e-05, 1.642127785776447e-05, 1.83351977432429e-05, 2.0734020261536076e-05, 2.29263261816785e-05, 2.7076614377408045e-05, 3.365651419868229e-05, 3.520348978191483e-05, 3.4908696291613145e-05, 4.293645856008293e-05, 5.136505520068453e-05, 5.5150160397705994e-05, 5.269079285449442e-05, 4.452485185996472e-05, 3.780107803524492e-05, 3.752694125242889e-05, 4.315750732715087e-05, 4.1783569925856315e-05, 3.5064993379633274e-05, 3.6476142540657264e-05, 4.4079862217103395e-05, 4.983281282830501e-05, 5.137905190107111e-05, 4.837670446679735e-05, 3.993077612916963e-05, 3.211682995525445e-05, 2.254093036926418e-05, 2.9459098034059793e-05, 3.602787275213324e-05, 3.558051150139539e-05, 2.8586606115647944e-05, 1.6468430687861005e-05, 2.075467698125015e-05, 3.6234864758952115e-05, 6.253261724358318e-05, 6.82362052615838e-05, 6.0881794833838614e-05, 6.340978796858256e-05, 5.7635397048590654e-05, 4.8220304748242885e-05, 4.704666712715487e-05, 6.162294288306394e-05, 6.82255372781273e-05, 7.297631779124396e-05, 7.372693100070762e-05, 7.326580634320081e-05, 7.058650310015136e-05, 6.704471997025977e-05, 6.34339179933696e-05, 6.418752221583358e-05, 6.698730792201815e-05, 6.8613869547452e-05, 7.21922780488203e-05, 7.454955575227927e-05, 7.549612182194103e-05, 7.518294567903753e-05, 7.742025699897778e-05, 7.752820290659651e-05, 7.675321360839068e-05, 7.591737725354698e-05, 7.123386775863674e-05, 6.720791767641135e-05, 6.611522844892006e-05, 6.6238571890258e-05, 6.607003798821564e-05, 6.466100517096923e-05, 6.50226185735806e-05, 6.684558203743698e-05, 6.75743789980348e-05, 6.691594807398391e-05, 6.524101391341683e-05, 6.030826383851235e-05, 6.382687357135769e-05, 6.27188540894383e-05, 6.385716921686373e-05, 6.655396789096833e-05, 6.929837253440324e-05, 7.00010261353735e-05, 7.002972351290013e-05, 6.972935748450417e-05, 6.985580313789449e-05, 7.056205593842847e-05, 7.092854604506827e-05, 7.090796592031065e-05, 6.989577534627515e-05, 6.861368582303755e-05, 6.752267079000124e-05, 7.063093987278362e-05, 6.646137251684762e-05, 6.0153068050130186e-05, 5.696624912821178e-05, 4.6156926912065457e-05, 5.697177027001649e-05, 7.041853277198423e-05, 7.553669757109869e-05, 7.620859318244237e-05, 7.607294936747907e-05, 7.498693458617919e-05, 7.256396232556872e-05, 7.834151126781406e-05, 7.889247245114548e-05, 7.252925774415516e-05, 6.526890279631804e-05, 6.21112052869185e-05, 6.246264441423143e-05, 5.895904887267797e-05, 5.442308977220108e-05, 5.172191209248827e-05, 4.7208058675737235e-05, 4.81161841480289e-05, 5.1152500123223096e-05, 4.3158305951210055e-05, 3.438387648498196e-05, 2.8080300228506744e-05, 2.958276664119584e-05, 3.8495716548638604e-05, 4.4327410945175564e-05, 4.252099586100913e-05, 4.147381957441346e-05, 4.509764456607176e-05, 5.473300426112416e-05, 5.588344852415166e-05, 4.712191047717712e-05, 4.124918179266226e-05, 3.689034061047885e-05, 3.4574856418726936e-05, 3.783493687806521e-05, 4.002672011308114e-05, 4.432779860401791e-05, 4.101470079138907e-05, 2.9498755402930713e-05, 2.0570417735214463e-05, 1.8212978086089908e-05, 1.6995396529659208e-05, 2.2501365575309598e-05, 2.866986185557922e-05, 1.9869812115313385e-05, 9.963376093923985e-06, 3.2912120528222086e-06, 1.061560940738052e-06, 1.663999714301889e-06, 4.016566444133043e-06, 2.512433878107423e-06, 4.750748164375012e-06, 2.3533673205774734e-06, 5.381105277150681e-09, 1.0935786820720586e-11, 2.4256141052583484e-11, 5.878911604966858e-12, 4.0725596892289714e-15, 3.114605903147778e-12, 3.837051380787063e-12, 6.4856244005876546e-12, 4.068399374894969e-15, 8.517449033148606e-12, 1.2190542168199943e-11, 5.529498382194303e-12, 2.607677952539867e-12, 3.265278144515104e-12, 1.1739662271658206e-11, 9.771536775982091e-12, 6.6962189572496025e-12, 4.06967695509118e-15, 5.143216898892835e-12, 4.0697874641974286e-15, 2.1794039439348553e-12, 6.281133460177159e-12, 2.7018496984388366e-13, 4.074651197049544e-15, 5.341266265487144e-12, 1.2262065946833676e-12, 4.073915404765637e-15, 8.274341099957778e-12, 1.4014169310093137e-11, 9.766976965267278e-12, 7.694928464437083e-12, 2.088873497528321e-12, 8.512551422682938e-12, 4.077730165722154e-15, 3.4164006660377693e-12, 4.07781971583074e-15, 6.311556107913715e-12, 4.668692034871244e-12, 9.89646514020145e-12, 4.076069498000968e-15, 1.7154425060205794e-12, 4.076972547884845e-15, 8.171451988676775e-12, 5.1079668368574945e-11, 8.355946761578987e-08, 5.906179733732238e-06, 1.2982302549982211e-05, 1.175312295120285e-05, 2.0080149535063928e-05, 1.539867447138319e-05, 4.6060367421341456e-06, 5.243964589963066e-08, 1.4222754786015914e-10, 4.077181508439181e-15, 1.3419033654225536e-11, 3.4317555220970995e-11, 4.076767952453663e-15, 1.7621080589981767e-11, 2.202376912773799e-12, 4.0779919535321344e-15, 4.0754801352255634e-15, 1.1178058800703153e-11, 9.794126276772222e-12, 1.0084244482883176e-11, 4.708488618909601e-12, 1.7690261035283636e-11, 4.075427908599097e-15, 4.0729151948792814e-15, 6.453718336719272e-12, 4.074312011028665e-15, 7.889408748184218e-13, 1.4010171574032459e-11, 3.4836434503946797e-12, 3.3699347228279157e-12, 4.0772501911276645e-15, 4.0772041438201095e-15, 1.483755742024072e-11, 4.076956394756732e-15, 1.9915511481081876e-11, 3.3772812279313993e-10, 2.264304063987195e-11, 9.72414224187196e-12, 1.431647880004753e-11, 4.363053199198315e-12, 1.0091554345375724e-11, 1.788284628710494e-11, 1.6818963958924763e-09, 1.7584712243078417e-08, 4.740593483599388e-08, 9.508728330976793e-07, 3.156502496914053e-06, 4.078387654581121e-06, 6.139844413861365e-06, 1.130246150097546e-05, 1.6708142630466584e-05, 2.7265959152415553e-05, 2.4742671706862368e-05, 2.8329775941021562e-05, 3.266504957193923e-05, 3.815799995945627e-05, 3.0479853490488063e-05, 2.3384493904072583e-05, 2.052300691513883e-05, 2.0266475737509678e-05, 1.861675171471721e-05, 1.978617561684261e-05, 2.3567899163416592e-05, 2.8030198643764e-05, 2.6120795457750996e-05, 2.32340442558575e-05, 2.6575868819015e-05, 2.6339073111788836e-05, 2.4128826052128803e-05, 2.2887998843860056e-05, 2.342219362126339e-05, 1.965469105092049e-05, 2.031020400341846e-05, 2.0462831049307023e-05, 1.7552370239667115e-05, 2.2295423124930268e-05, 2.7459647776961614e-05, 2.700508223639937e-05, 2.6782796197413476e-05, 2.770076801781982e-05, 3.0086797239587823e-05, 3.264433688631716e-05, 3.333566187879113e-05, 3.317515629450278e-05, 3.292347652568877e-05, 3.328264733222793e-05, 3.203035689352374e-05, 2.9505403223989442e-05, 2.6716986712361963e-05, 2.3083037371290537e-05, 1.956430611374922e-05, 1.8449311181255716e-05, 1.8709573654961668e-05, 2.071576978897781e-05, 2.2856726739945416e-05, 2.3668176249199433e-05, 2.3184745892412827e-05, 2.201908948929265e-05, 2.0197414265554047e-05, 1.8335880272301682e-05, 1.697643421625083e-05, 1.4983720705908837e-05, 1.1106981379927842e-05, 6.566067919859877e-06, 4.013500867094374e-06, 3.5778334523537786e-06, 3.7849374921071734e-06, 3.7129203921197225e-06, 2.143983733209839e-06, 3.201046049601389e-07, 2.0116608444378733e-13, 2.422321742323804e-12, 1.4147705181797853e-08, 3.4393116494291864e-07, 1.4651636293422037e-06, 4.275839734874028e-06, 5.686967725199442e-06, 5.662683390445341e-06, 5.483506022557787e-06, 5.158120434410086e-06, 5.908846225918531e-06, 7.469856773728797e-06, 6.686851261041918e-06, 4.556236369257107e-06, 2.173919054441295e-06, 3.020269463919072e-07, 1.8224834017918836e-13, 4.252559289467727e-12, 4.068862182084422e-15, 4.0715895553859435e-15, 4.067291625101278e-15, 4.0688494685028334e-15, 3.0139556441802336e-12, 4.075052217014586e-15, 4.114506129119972e-11, 4.077874120927404e-15, 6.70634564189677e-12, 4.077222656057113e-15, 4.703275377940377e-12, 1.5476808813085385e-09, 6.85703872445496e-13, 4.0834814365963464e-15, 1.5289302971309468e-11, 4.075550534435418e-15, 1.161161362450193e-06, 2.5400320837214114e-06, 3.5345340004202447e-06, 4.661909112951692e-06, 2.89164559485367e-06, 1.3147113248874064e-06, 3.401086593919096e-08, 4.07363263612273e-15, 3.617172538833295e-11, 2.3812207678438475e-11, 4.077799088261169e-15, 4.081387607398224e-15, 4.081190849561788e-15, 1.7114062816656754e-11, 6.427441452611203e-07, 9.064543132662691e-07, 1.5540479283416716e-06, 3.4566040629964925e-06, 6.446698648666267e-06, 9.018872981803253e-06, 1.0708205522854928e-05, 1.1363076319044291e-05, 1.3036080207178208e-05, 1.4663333140214545e-05, 1.568269212632724e-05, 1.4872842254161891e-05, 1.3234234377570082e-05, 1.2185674989958525e-05, 1.0797514973182309e-05, 1.5069291791151314e-05, 1.7137681678877597e-05, 1.6587723330860807e-05, 1.4899432878603426e-05, 1.3700821574682563e-05, 1.3807961458149436e-05, 1.4426246141451976e-05, 1.567864483584246e-05, 1.609990505086584e-05, 1.4478698830781065e-05, 1.2698999649275515e-05, 1.1941353475238037e-05, 1.1935377055152571e-05, 1.2067146911710244e-05, 1.2090677758744458e-05, 1.1619236076938934e-05, 1.073171925866661e-05, 1.0054999581937005e-05, 1.1084258115848808e-05, 1.2528006007168867e-05, 1.2279984153522681e-05, 1.126154411364484e-05, 8.98595752974291e-06, 7.193576381822298e-06, 7.113217070344149e-06, 7.2783956107846215e-06, 6.709155687614335e-06, 7.059510636778118e-06, 8.160242273340898e-06, 8.83435989801226e-06, 1.047854746441282e-05, 1.2694345578823381e-05, 1.4726004920438024e-05, 1.4090291195944208e-05, 1.2594549521754352e-05, 1.0993167343790644e-05, 1.0160115726663591e-05, 1.0387447550817647e-05, 1.074262038060336e-05, 1.0549115684677436e-05, 1.1305562482127022e-05, 1.2779523264806699e-05, 1.4095831471518615e-05, 1.477149972216204e-05, 1.3504203412078678e-05, 1.2662600820809498e-05, 1.2250304950645581e-05, 1.3580227158992954e-05, 1.528625127836273e-05, 1.7050035731713792e-05, 1.8102988775585488e-05, 2.0333615478941382e-05, 2.1507823941530332e-05, 2.2509488058211217e-05, 2.5704292822484176e-05, 2.9276299846924415e-05, 3.161975991275002e-05, 3.3600919741508143e-05, 3.5076147464427504e-05, 3.660635414202536e-05, 3.802521262862775e-05, 3.80381626289532e-05, 3.616060253469114e-05, 3.361739330686533e-05, 3.161465813816321e-05, 2.9455987302103477e-05, 2.8362667965662963e-05, 2.6336758900998707e-05, 2.484369141088877e-05, 2.4492817028035663e-05, 2.5319420409044074e-05, 2.4820483105546818e-05, 2.600449432037641e-05, 2.8626076879460483e-05, 3.067423826030898e-05, 3.294834713107972e-05, 3.457289199181372e-05, 3.3789949379611755e-05, 3.359106104212234e-05, 3.4550588828413125e-05, 3.383732586230777e-05, 3.258660828196755e-05, 3.061516662095674e-05, 2.7942324682209285e-05, 2.6133262818757207e-05, 2.5305022378964908e-05, 2.4536468608269454e-05, 2.445170015112561e-05, 2.501056741869471e-05, 2.46449653461466e-05, 2.325981638367072e-05, 2.1517770747002e-05, 2.0101071456321277e-05, 1.974935376352986e-05, 1.77520093022317e-05, 2.0047506180287836e-05, 2.1565123821724203e-05, 2.2969220482112256e-05, 2.4384874213879234e-05, 2.500054826960063e-05, 2.425044753003425e-05, 2.3973908046278397e-05, 2.647429227384206e-05, 2.698698541251853e-05, 2.7763595535093318e-05, 2.7950954951143425e-05, 2.8595876093782837e-05, 2.766830980269539e-05, 2.502749744658806e-05, 2.209265820030622e-05, 2.16181361451538e-05, 1.998762768121912e-05, 2.0179611619097532e-05, 2.0724105183705607e-05, 2.2039012216219742e-05, 2.238045369215866e-05, 2.205975048577246e-05, 2.1198717545034355e-05, 1.973819958570787e-05, 1.7557200093390155e-05, 1.5718209094148843e-05, 1.4740152932518755e-05, 1.549052653184838e-05, 1.6573645204560954e-05, 1.9342490680010274e-05, 2.185518549941901e-05, 2.3326277764860954e-05, 2.4988741118894565e-05, 2.7310659593959358e-05, 2.8541522786403435e-05, 2.951475737082922e-05, 2.864672950975335e-05, 2.7779027708016192e-05, 2.530840737950403e-05, 2.438311779822373e-05, 2.698289475366257e-05, 2.7605649386354854e-05, 2.8780057011186078e-05, 2.889779035866232e-05, 2.864621957456423e-05, 2.8849239568941536e-05, 3.218689478046106e-05, 3.1717928918666036e-05, 3.1418773546696177e-05, 3.0808587895293774e-05, 3.154865050097292e-05, 3.3728775373925134e-05, 3.499521362803352e-05, 3.508897889130507e-05, 3.4233957621515724e-05, 3.3244636123879465e-05, 3.270262352296082e-05, 3.261897437657718e-05, 3.248139325559364e-05, 3.4249353948541046e-05, 3.386626232371367e-05, 3.2135631130334114e-05, 2.8181791000006916e-05, 2.554994573576567e-05, 2.4662903517472108e-05, 2.5048796135725797e-05, 2.4904824138174077e-05, 2.513834594769965e-05, 2.5706203062212797e-05, 2.643333272353901e-05, 2.632367725813754e-05, 2.5101492311832725e-05, 2.4136928170273408e-05, 2.5758085431228487e-05, 2.803132175416653e-05, 2.8442586172001637e-05, 2.7659846466877105e-05, 2.7220904498282056e-05, 2.6045218226002517e-05, 2.39400144766274e-05, 2.240039895931442e-05, 2.1873005099924574e-05, 2.16575183256178e-05, 2.1770560391244117e-05, 2.2229621856178252e-05, 2.19697411494229e-05, 2.0177432463940225e-05, 1.8925671680696935e-05, 1.875522455595136e-05, 1.9276314081358204e-05, 2.0074453483738477e-05, 2.0956256404542923e-05, 2.158003408279426e-05, 2.1119857920200043e-05, 1.9420121769868444e-05, 1.8217201822262866e-05, 1.8707541872536817e-05, 1.9191790289976496e-05, 1.856968327357754e-05, 1.7488340586045717e-05, 1.4817244589413595e-05, 1.3269141407648835e-05, 1.3356483874882645e-05, 1.3856424702048946e-05, 1.4492980669107448e-05, 1.611881256757052e-05, 1.731872683603383e-05, 1.8341955171934615e-05, 1.8176489410075875e-05, 1.719994345702134e-05, 1.652259389290246e-05, 1.5925763710153434e-05, 1.5691446055133777e-05, 1.5126096638819679e-05, 1.5685732940701542e-05, 1.7184086069211108e-05, 1.8913236067913823e-05, 1.957564058666994e-05, 1.9342461771142065e-05, 1.913337391135242e-05, 1.9393731786026272e-05, 1.9013916524873163e-05, 1.684899502142205e-05, 1.4987032050876097e-05, 1.5907975543367257e-05, 1.885358077638796e-05, 2.183010112830193e-05, 2.4031521791588206e-05, 2.485351366165537e-05, 2.336438615012517e-05, 2.1960806639172056e-05, 2.0262010450585784e-05, 1.908167831374649e-05, 1.704618817575749e-05, 1.5059505319296131e-05, 1.4124719127682123e-05, 1.4834601848194276e-05, 1.476088588274897e-05, 1.4248754534783727e-05, 1.4369854648120599e-05, 1.563029244803919e-05, 1.6602968216501102e-05, 1.525459344930999e-05, 1.6754942376576567e-05, 1.5956079178604128e-05, 1.5045400563726925e-05, 1.3123908785602825e-05, 1.2491800795938183e-05, 9.339222104174885e-06, 1.0542481624024703e-05, 1.1278661184333174e-05, 1.2760224802863117e-05, 1.1932844456636777e-05, 9.058350803812642e-06, 7.0172602127829395e-06, 5.985303842867174e-06, 6.4632457417611955e-06, 7.2823412165457545e-06, 7.253564058191683e-06, 6.2277553447786805e-06, 5.287712594288452e-06, 5.354011961583134e-06, 8.793836255979078e-06, 1.0596618073379413e-05, 1.1416101492641103e-05, 1.1482543181917391e-05, 1.1260179489571161e-05, 1.0051726181090737e-05, 9.395486630376792e-06, 9.60453595764917e-06, 1.2129546301305258e-05, 1.55191617633607e-05, 1.8774189489388573e-05, 2.1822313348210242e-05, 2.4230873687121558e-05, 2.571926125991936e-05, 2.632127845754165e-05, 2.741402874656992e-05, 2.9120368130064168e-05, 3.0163136397801598e-05, 3.0348366768549117e-05, 3.0276587996229424e-05, 2.9831142351567497e-05, 2.9707693035178052e-05, 2.95340572902373e-05, 2.931691399912127e-05, 2.8984306995765613e-05, 2.8259426942902027e-05, 2.8028862790664237e-05, 2.8642185297309507e-05, 2.980940002353264e-05, 3.071316291841243e-05, 3.22885097072931e-05, 3.262996196564735e-05, 3.175603750239355e-05, 3.1382294819466975e-05, 3.303863068247373e-05, 3.4334413780428826e-05, 3.436559614756017e-05, 3.475903834064019e-05, 3.676891400793494e-05, 3.8950013712370986e-05, 4.297871531732195e-05, 4.5435964704915745e-05, 4.33455482639399e-05, 3.956496563567901e-05, 3.680139280065264e-05, 3.5624294343289085e-05, 3.6840043910079226e-05, 3.8373364807626585e-05, 3.85245564841455e-05, 3.8490473937717467e-05, 3.865153991654536e-05, 3.862256836403568e-05, 3.910659903656749e-05, 4.499854355251553e-05, 4.9695686946701465e-05, 5.032787981752689e-05, 4.3611949500631826e-05, 4.1168167888006065e-05, 4.001418898152616e-05, 3.94754543828724e-05, 3.971188299143514e-05, 3.986203918161003e-05, 4.1461742883285325e-05, 4.368391411254453e-05, 4.4613649506067454e-05, 4.370945397173557e-05, 4.1004734215232085e-05, 3.871711556327116e-05, 3.8952822647939884e-05, 4.019359106043308e-05, 3.9177039517811896e-05, 4.1052318185137234e-05, 3.962469855591358e-05, 4.0288714382746336e-05, 4.101071086000023e-05, 4.1932336515988555e-05, 4.196618096423006e-05, 4.1193188019833945e-05, 4.0855472961575185e-05, 4.159110648504662e-05, 4.228821630212791e-05, 4.2043978051414066e-05, 4.292281737122056e-05, 4.503720228649571e-05, 4.642578206787103e-05, 4.670668737908489e-05, 4.7626285651765535e-05, 4.941408581748358e-05, 5.1360660906991016e-05, 5.2594909131996334e-05, 5.185778043358811e-05, 4.940176565209309e-05, 4.825863672379592e-05, 4.7577357235164066e-05, 4.4962383200646196e-05, 4.2228211036340756e-05, 3.9378387255313694e-05, 3.7316203327006456e-05, 3.6127713784431736e-05, 3.6372315623389434e-05, 3.7402897211141426e-05, 3.6139281266755865e-05, 3.3343965400830074e-05, 3.185449612609882e-05, 3.184503781514252e-05, 3.2433414902236285e-05, 3.447059153730744e-05, 3.659809359060854e-05, 3.6641776190119614e-05, 3.402729755685244e-05, 3.0362848642899082e-05, 2.7115598480712302e-05, 2.5402230871566922e-05, 2.461609385301991e-05, 2.4810211264216192e-05, 2.527147812984686e-05, 2.5757630760261023e-05, 2.6848626400109213e-05, 2.7341896944175198e-05, 2.6430459889797806e-05, 2.3837314738790608e-05, 2.1644084089342943e-05, 2.1724184500795854e-05, 2.295927913806479e-05, 2.4410497832528265e-05, 2.6202019753465534e-05, 2.6936567105994313e-05, 2.5952722718486736e-05, 2.5146250498977033e-05, 2.5040019524087575e-05, 2.5569402385243617e-05, 2.6573853539794868e-05, 2.7229837923061248e-05, 2.8442591871936136e-05, 2.950139387729981e-05, 2.9893388252538948e-05, 2.9008359381701665e-05, 2.775846737217625e-05, 2.6784674382527286e-05, 2.6615002502768705e-05, 2.5245004998190822e-05, 2.3582494166926965e-05, 2.223437603310965e-05, 2.3388965932229605e-05, 2.661987504054544e-05, 3.083860711689488e-05, 3.431526357726427e-05, 3.7000843821268486e-05, 3.703231769010449e-05, 3.535571336530577e-05, 3.509734586651754e-05, 3.567446525569983e-05, 3.548882567689119e-05, 3.569364725611246e-05, 3.591540202939789e-05, 2.8505224073767823e-05, 2.1473636462341095e-05, 1.909852458855384e-05, 2.5737520736712754e-05, 2.7225020634899477e-05, 2.988852214875919e-05, 3.34993446464521e-05, 3.60657708704493e-05, 3.78846567586157e-05, 3.746465582319953e-05, 3.5308437120730015e-05, 3.270380340724769e-05, 3.0961085173998866e-05, 3.231539433619767e-05, 3.4306433979531985e-05, 3.419691701740108e-05, 3.512128419153939e-05, 3.8753083573714734e-05, 3.8518131624818e-05, 4.228290518925382e-05, 4.3085690748400025e-05, 4.34978310692556e-05, 4.350257903560032e-05, 4.290746386232702e-05, 4.334588131235299e-05, 4.441775920005924e-05, 4.4833363399747715e-05, 4.5352524142320585e-05, 4.714837321101802e-05, 4.727770494448003e-05, 4.674035764336976e-05, 4.671995528771486e-05, 4.69867712908324e-05, 4.758868641059076e-05, 4.85745209063126e-05, 4.8754321238480594e-05, 4.770370925494851e-05, 4.568056885413428e-05, 4.419831895963393e-05, 4.3131026585479875e-05, 4.295488339180101e-05, 4.561924787269559e-05, 5.018338242070565e-05, 5.510816610957182e-05, 5.869210445829055e-05, 6.05966758441269e-05, 6.147399567580447e-05, 6.358220835458134e-05, 6.828103070355936e-05, 7.34379158677077e-05, 7.750433127972313e-05, 8.064346609613241e-05, 8.246883532725052e-05, 8.317421669429e-05, 8.544101844309015e-05, 8.945119391360325e-05, 9.350566920177615e-05, 9.687032187312249e-05, 9.933003800139383e-05, 0.00010111763507446616, 0.00010241505622448034, 0.00010270155218571095, 0.00010233894263670094, 0.00010221389296983789, 0.00010250659868601535, 0.00010251238154094964, 0.00010382136903673305, 0.00010627843025932479, 0.00010765203760820674, 0.00010698798509999382, 0.00010459246452480789, 0.00010091688780893877, 9.691216265139976e-05, 9.470551252099722e-05, 9.574405359043488e-05, 9.764635194920596e-05, 9.913511179103784e-05, 9.979332712441958e-05, 9.923368073624139e-05, 9.841279728659556e-05, 9.788571131086001e-05, 9.668054544447437e-05, 9.456484823712633e-05, 9.226985713714496e-05, 8.989863645964395e-05, 8.823861134143671e-05, 8.551406829123929e-05, 8.322575833908081e-05, 8.204283830487071e-05, 8.214492697293947e-05, 8.153314572928195e-05, 8.0136013837219e-05, 7.923425264494914e-05, 7.940898257159858e-05, 7.885699541297715e-05, 7.903392314801578e-05, 8.005727797686098e-05, 7.997729231612863e-05, 8.012959037726891e-05, 8.053299142773272e-05, 7.945320600718942e-05, 7.858683072943862e-05, 7.969271871848548e-05, 8.207583785560959e-05, 8.446712892970842e-05, 8.625815325748549e-05, 8.633550485526188e-05, 8.498398364975531e-05, 8.366784081711027e-05, 8.320085947762285e-05, 8.325527301866489e-05, 8.285105873407598e-05, 8.26673274065443e-05, 8.25266154436545e-05, 8.131326705921308e-05, 7.902821578558663e-05, 7.655341762667478e-05, 7.467488211894252e-05, 7.25639818162753e-05, 7.193901082373356e-05, 7.188527098545099e-05, 7.257400301441699e-05, 7.223320536577144e-05, 7.11272305518158e-05, 7.032605166463297e-05, 6.898542503861595e-05, 6.647283282358494e-05, 6.388336026946973e-05, 6.251196380346069e-05, 6.150832666940716e-05, 6.0246960543425695e-05, 5.958970376736511e-05, 5.936001205133785e-05, 5.914877286381878e-05, 5.892018732678531e-05, 5.8465315787998415e-05, 5.668383091332612e-05, 5.470344217935517e-05, 5.4975573250270015e-05, 5.498742772035024e-05, 5.606789067359125e-05, 5.697558991940334e-05, 5.536998300843472e-05, 5.200515393988976e-05, 4.7683622224473996e-05, 4.3547189949672306e-05, 3.8876621994914035e-05, 3.648123760414415e-05, 3.49929473819687e-05, 3.3334293064069414e-05, 3.064523858839026e-05, 2.8227731754988214e-05, 2.5654711135720272e-05, 2.3293698802001828e-05, 2.0745925822700604e-05, 1.6817226457114862e-05, 1.2248111266425644e-05, 7.992398987286881e-06, 4.697983104869468e-06, 2.386452694349707e-06, 7.411702156309766e-07, 3.196986262958131e-10, 4.071805141520638e-15, 5.501409786065324e-12, 6.60417955486515e-12, 2.198435911616711e-11, 1.2972715977236691e-12, 4.079828233777036e-15, 4.068314638232622e-15, 4.0062604154218275e-12, 5.187037250938337e-12, 4.4007730848876e-12, 4.685254255305535e-12, 1.150697296748143e-12, 2.5039920349671713e-13, 4.0961291501671544e-11, 6.010048100162741e-13, 4.063634973817801e-15, 3.442490223464886e-12, 3.0991642088540543e-12, 1.3125851072464499e-12, 7.224289581665796e-12, 5.041682533583527e-12, 5.23404018468632e-12, 4.064229496205022e-15, 5.4297845120579395e-12, 4.0615073051297295e-15, 4.062015744984091e-15, 6.1956861679852415e-12, 4.060744116241405e-15, 4.062364926260609e-15, 4.3160647935464836e-13, 1.5927877874294167e-11, 4.07821036686278e-12, 5.780764316706531e-12, 2.0015092644420605e-12, 4.066527324557909e-15, 5.423185706253416e-12, 4.066703900966587e-15, 3.8841954191109164e-12, 4.065769290975267e-15, 4.063150483582574e-15, 1.1196447158044874e-11, 1.1518717580888094e-11, 4.058168998207379e-15, 1.3261643713100977e-11, 7.44666555467897e-12, 6.445350413090137e-12, 4.068512411559699e-15, 4.052928406084795e-15, 1.345530951752976e-11, 4.05500708618213e-15, 5.8563292163062206e-12, 7.57622664237393e-12, 4.056294779594225e-15, 2.2661135466958024e-12, 8.082635251086093e-12, 4.068408514377884e-15, 4.0701679703915164e-15, 4.067017484296646e-12, 1.2251647717392795e-11, 1.1027146107688868e-11, 4.070485658945692e-15, 9.475231770492343e-12, 4.064085626179233e-15, 4.06856081368768e-15, 4.070396699319561e-15, 2.113044712977338e-11, 3.817970018900197e-12, 4.0652413982193125e-15, 4.071673339520857e-15, 4.442826305876693e-12, 4.072631488288544e-15, 4.061383698880732e-15, 5.362514618441002e-12, 4.074515171723837e-15, 1.3786482247249295e-11, 1.1754783486330346e-11, 9.680950831247008e-12, 3.852783407331864e-11, 4.48615114865492e-08, 2.3795327002271982e-06, 1.8645918379379956e-06, 1.767906173564653e-09, 4.0762962989348306e-15, 1.2905075320680638e-12, 4.4803844758854356e-11, 3.87115257013723e-11, 2.1582592941076423e-06, 1.4685221705556354e-06, 5.947668880787369e-07, 6.742400826802652e-07, 5.675948308558198e-07, 5.856856839357347e-07, 1.9137890246938138e-06, 3.0136455765111865e-06, 1.7934522659271432e-06, 1.3053314125400172e-06, 1.3410638214790358e-06, 1.243414481316685e-06, 9.750070175920804e-07, 1.0760667900570434e-06, 9.588997440906983e-07, 5.992438809443151e-07, 5.6657489027429074e-08, 5.905008302460059e-12, 2.277503541930041e-12, 2.4927879656777737e-11, 4.255301505951909e-12, 1.3524487394157732e-12, 9.618204369388112e-12, 4.068658205789245e-15, 1.194516194861596e-11, 4.066401127048596e-15, 8.003562058408127e-12, 1.690990115592545e-11, 1.3135541797008764e-11, 8.007896289431086e-12, 4.066268823083986e-15, 1.523470014661233e-11, 2.924081846232564e-12, 4.068076615298501e-15, 3.5436855379335243e-12, 2.9875620286527886e-12, 1.7210919207240316e-12, 6.388474000821267e-12, 5.0520549133113306e-12, 9.462461241418713e-12, 8.17849320874969e-12, 4.066752979577519e-15, 8.430555321842125e-12, 7.036992280125827e-12, 8.083635262537065e-12, 4.067063725892585e-15, 4.06506035003932e-15, 4.1475987316579354e-12, 4.065689434527255e-15, 1.5917417763752465e-11, 1.3179031677415989e-11, 4.063158303158831e-15, 1.2368299883614543e-11, 7.700298164695863e-12, 9.714145131139423e-13, 9.111582655383182e-12, 6.872735278392037e-12, 4.060165909056952e-15, 3.365957297998636e-12, 2.2040807082926733e-10, 1.4586072068131813e-11, 3.5691162250674337e-12, 2.650735423729727e-12, 5.5472583209017815e-12, 4.0719110228863105e-15, 4.3639586827341056e-12, 4.066213018128189e-15, 1.6856956255915843e-11, 3.018425389963201e-12, 4.0622324183415155e-15, 1.2016017235130268e-11, 4.070363586395338e-15, 4.070951496063067e-15, 1.0475183386945865e-12, 9.272621930793862e-13, 1.7663600313478864e-11, 4.069844851034602e-15, 8.023103502031544e-12, 4.067326159767236e-15, 4.072955561076247e-15, 4.0751505607376645e-15, 7.0158981254096016e-12, 4.069219129030847e-15, 1.5974461639944678e-12, 2.711396713455317e-12, 8.137058793712732e-12, 3.178647167737377e-12, 4.1245102737420145e-12, 1.1855652397159046e-11, 5.622326268997234e-12, 4.068541929526357e-15, 4.070258365958283e-15, 1.0865390774030673e-06, 4.329780026045573e-06, 6.3463105961060574e-06, 8.112615007815441e-06, 1.1182259272416598e-05, 1.407541450755833e-05, 1.567552993017797e-05, 1.6950477193020564e-05, 1.766442818925196e-05, 1.7887110931467578e-05, 1.8769054281705906e-05, 2.112114235663329e-05, 2.2648941235646102e-05, 2.2190046187304662e-05, 2.1776430904150658e-05, 2.178998198973862e-05, 2.228940868234648e-05, 2.429199981856532e-05, 2.9099590186287113e-05, 3.229653089945197e-05, 3.2975532277256026e-05, 3.2767349591936495e-05, 3.409670085368304e-05, 3.6669805747793286e-05, 3.973229143646262e-05, 4.1338064053601354e-05, 4.1566913523507106e-05, 4.188066977294898e-05, 4.2507948396730146e-05, 4.386198716210626e-05, 4.6114414991092786e-05, 4.684682995109739e-05, 4.619787404017331e-05, 4.6204936455916975e-05, 4.638665607072528e-05, 4.651647388050176e-05, 4.721960430978413e-05, 4.87439898977098e-05, 4.971935603711068e-05, 4.9949116506708516e-05, 4.805028807474811e-05, 4.8242160141358185e-05, 4.9455952001549885e-05, 4.53959921406669e-05, 4.018240210494235e-05, 3.554866760072725e-05, 3.2715085945570974e-05, 3.3489925098643656e-05, 3.512828691327603e-05, 3.144966905786924e-05, 2.768855735130148e-05, 2.3945402701572726e-05, 2.432244196628022e-05, 2.810084803000171e-05, 3.0100526259940597e-05, 2.8125558457079726e-05, 2.4077303735131484e-05, 2.3175788624966905e-05, 2.5549228438231915e-05, 2.7969199827096923e-05, 2.963816444044851e-05, 2.9588635196506537e-05, 2.7858181473407543e-05, 2.5865314175806827e-05, 2.5236736695991964e-05, 2.5454609423816516e-05, 2.5352188341544543e-05, 2.504009636861606e-05, 2.6357413418616386e-05, 2.6749739574870923e-05, 2.673893484405808e-05, 2.5347057986252677e-05, 2.3309977012001795e-05, 2.1050744729518586e-05, 1.874877479823609e-05, 1.6708995314114442e-05, 1.3370118827119066e-05, 9.101947596270622e-06, 4.560013469458997e-06, 2.393243467633069e-06, 2.2503012174176494e-06, 2.3547952094721846e-06, 2.218473179990004e-06, 2.4727741400879598e-06, 3.5624723065496624e-06, 4.789830866841879e-06, 4.898442213716215e-06, 3.998124853646077e-06, 4.019162598520418e-06, 5.0320657624901565e-06, 5.751568488487739e-06, 5.970246568177349e-06, 6.37126642463051e-06, 6.2987163429236536e-06, 5.890355050382468e-06, 5.961679455147773e-06, 7.024711624554376e-06, 8.126643406108182e-06, 8.95167373883039e-06, 9.960383196438969e-06, 1.1025508454205614e-05, 1.2567108331365173e-05, 1.2757313726064175e-05, 1.292159193999033e-05, 1.3608827653347801e-05, 1.4946789510961305e-05, 1.5055547271968961e-05, 1.4261902426439507e-05, 1.2917817636833763e-05, 1.2308664779645011e-05, 1.3862550225709337e-05, 1.5139857163545516e-05, 1.4980525541017138e-05, 1.3129389357477343e-05, 1.1342333858046046e-05, 1.0809680085329038e-05, 1.1666749722435971e-05, 1.2130147096513566e-05, 1.1534338134583999e-05, 8.86656600923507e-06, 5.257075614805779e-06, 2.9749876033234983e-06, 2.457117054115535e-06, 2.8460815161913003e-06, 2.915424234717996e-06, 2.266006237130043e-06, 2.791846038376735e-06, 4.108160544453466e-06, 4.60277069200154e-06, 3.7518174659846423e-06, 3.219595928316165e-06, 3.34074986969577e-06, 3.549592841343673e-06, 3.4753502148588523e-06, 3.357496394190644e-06, 3.32038595262309e-06, 2.8466591451104604e-06, 1.4205505331458148e-06, 6.502656132744247e-09, 3.4192800386839783e-13, 1.1570267276741324e-11, 4.072378193759473e-15, 1.5798074430401152e-11, 3.993857366187723e-12, 2.0599581910866374e-11, 1.7723357727282928e-06, 2.1996355702628493e-06, 1.6538303262554931e-06, 1.045415043855908e-06, 1.1599970560427091e-06, 2.3962570769240574e-08, 6.41038400917519e-12, 2.596867604869072e-11, 5.6584401765919785e-12, 4.079862327577763e-15, 4.079908194039369e-15, 1.6703377863712134e-12, 4.068688493325496e-15, 9.129985263213344e-12, 7.800365304922997e-12, 4.066138578186977e-15, 4.076581928260541e-15, 7.35940708468656e-12, 8.884139035525587e-12, 9.728572013752006e-12, 2.4172031674853724e-12, 8.210255573056159e-12, 4.0689037062191865e-15, 4.069834640251608e-15, 1.3260340673768763e-10, 1.4209503269549006e-11, 3.1801636208140292e-12, 4.0680928936903786e-15, 4.067952908566744e-15, 5.725718716849959e-12, 5.684995772329316e-12, 4.068034486465234e-15, 4.069714032334373e-15, 7.034552703638576e-12, 1.0312123723286474e-11, 4.070371930376802e-15, 9.076651134414392e-12, 3.141668843428759e-10, 1.4165545962540892e-07, 6.690078852548215e-10, 4.071079759597254e-15, 2.1066175363279604e-08, 3.170762837481277e-07, 8.861735771843092e-09, 1.1873682042843225e-09, 4.070834137508082e-15, 7.498409960503095e-12, 4.069227966186668e-15, 5.888952634278582e-12, 1.0681269064297351e-11, 5.0159823107583255e-12, 3.870242708065238e-11, 4.073514508263303e-15, 4.075212242252618e-15, 2.517406320332624e-11, 6.643176012322705e-12, 1.4530398311565679e-11, 4.068673356022515e-15, 4.0773326306600816e-15, 4.073612645606773e-15, 1.5382249740102022e-10, 1.2674478273737457e-11, 1.4752009054569545e-11, 1.2892265793907065e-11, 1.0720669972437139e-11, 5.0513138531813055e-12, 4.0681998761680886e-15, 9.07883049485124e-12, 4.072459913172077e-12, 1.2399772247159565e-11, 4.075261366878062e-15, 4.070789781704221e-15, 5.0375399088428826e-12, 4.854672636672191e-13, 4.0755861533365735e-15, 1.0660286974421894e-12, 1.2251764738637454e-11, 2.75773465082607e-12, 5.282503812523797e-11, 1.3501448257619094e-11, 2.7200196392901696e-11, 1.0870434658312685e-12, 4.075864795045908e-15, 1.0014810629320883e-11, 1.124736849943434e-12, 4.9726512764341645e-12, 6.3381161897605e-12, 4.568470948287411e-12, 9.315146472799414e-12, 4.068208299665643e-15, 1.111897835053772e-11, 4.0743379953189706e-15, 7.964613407904164e-11, 1.8580148136006532e-07, 2.2425575946649939e-10, 4.112518352361784e-13, 8.717418630569968e-12, 4.1037311709271783e-07, 2.294438027572218e-06, 3.871321149923372e-06, 4.377635464125952e-06, 4.253972928138918e-06, 5.942838087758621e-06, 9.59398378302516e-06, 1.1364032749425144e-05, 1.1700922408565888e-05, 1.097268854727893e-05, 9.526990074345235e-06, 9.099529477718853e-06, 8.830345928337308e-06, 8.531495918544721e-06, 9.626194022503993e-06, 1.1226351715320463e-05, 1.2896260784738915e-05, 1.3559682222354786e-05, 1.2410035091370805e-05, 9.445427966340294e-06, 7.0943104321123315e-06, 7.453670476727767e-06, 1.0488437043418945e-05, 1.431554478164021e-05, 1.7562104035921143e-05, 2.162765103507927e-05, 2.4330898790123428e-05, 2.4712999483010512e-05, 2.373141615620846e-05, 2.4102940131992997e-05, 2.4886451991292523e-05, 2.501429208578127e-05, 2.3986201958847703e-05, 2.358557972464776e-05, 2.3860312174934715e-05, 2.5916346420157683e-05, 2.9248631775652706e-05, 3.190865933692861e-05, 3.389435357663597e-05, 3.396393003772393e-05, 3.512960783372986e-05, 3.744009214258664e-05, 4.010349268341682e-05, 4.2761310135685734e-05, 4.594407883534286e-05, 4.879858879332568e-05, 5.128385333260198e-05, 5.334511605661233e-05, 5.459005125078834e-05, 5.510635289122105e-05, 5.55628196986827e-05, 5.618267281923397e-05, 5.849313548988668e-05, 6.19707199844714e-05, 6.393298404487277e-05, 6.539037169466267e-05, 6.622045102931179e-05, 6.555131073067442e-05, 6.51908650829729e-05, 6.549227070496481e-05, 6.420298887272046e-05, 6.234814271639402e-05, 6.112822676805259e-05, 6.033838234151133e-05, 5.986274839867188e-05, 5.921012562700963e-05, 5.867817945170515e-05, 5.806711467748767e-05, 5.699181038656724e-05, 5.490524058152632e-05, 5.263307493484903e-05, 5.0902384539902574e-05, 4.877157302676814e-05, 4.6801268852905014e-05, 4.60056849362727e-05, 4.699241785800601e-05, 4.841124646924329e-05, 4.902993018429754e-05, 4.883225287885215e-05, 4.79495319614257e-05, 4.685725169379631e-05, 4.7269930630213636e-05, 4.874689844912005e-05, 5.094823785831278e-05, 5.351634931361161e-05, 5.6065993625057795e-05, 5.762020244674564e-05, 5.9569919481629174e-05, 6.212021149528509e-05, 6.409634031510612e-05, 6.573471836726851e-05, 6.587143485631396e-05, 6.56158159016312e-05, 6.413129275548297e-05, 6.22442858426173e-05, 6.328547896598765e-05, 6.475234775974028e-05, 6.501033280543312e-05, 6.365590229848807e-05, 5.984526916809182e-05, 5.525771925082031e-05, 5.0343972144210884e-05, 4.537260851802631e-05, 4.0370296018350546e-05, 3.867340216427489e-05, 3.967505204126013e-05, 4.0565891705028896e-05, 3.95005634024067e-05, 3.74387780443187e-05, 3.788021547564845e-05, 3.9816642898112696e-05, 4.1323794293348254e-05, 4.3106696363476665e-05, 4.42043799709942e-05, 4.2846717668132e-05, 4.4832893250000016e-05, 4.482967357985371e-05, 4.407493658228857e-05, 4.297464367789998e-05, 4.2061255238531485e-05, 4.0903055673966296e-05, 4.111445355224324e-05, 4.258029760254313e-05, 4.16298648039244e-05, 3.823663058744934e-05, 3.431179750695326e-05, 3.129869372038336e-05, 2.7747582848249354e-05, 2.5396596189906348e-05, 2.5352238577597078e-05, 2.7835255989667005e-05, 3.035130900819323e-05, 3.110292696002504e-05, 3.0421455352174416e-05, 3.0321551917542315e-05, 2.90127271385823e-05, 2.795577388027592e-05, 2.719869124636078e-05, 2.6359275349610618e-05, 2.7949642201234848e-05, 2.567537231243812e-05, 2.5485038988485343e-05, 2.5482598248530563e-05, 2.4591627380160934e-05, 2.3491990360690157e-05, 2.1688990043225932e-05, 1.933102746265656e-05, 1.6982161013904345e-05, 1.3597413596079625e-05, 1.2007642854595986e-05, 1.2373808830004814e-05, 1.2586686184820415e-05, 1.051950793102045e-05, 7.536602545786148e-06, 3.054623249192719e-06, 2.0453072372650942e-07, 4.0754148009510645e-15, 1.1279298523201986e-11, 1.637800307254628e-11, 4.073095251179322e-15, 4.080669219322386e-15, 4.073192854451387e-15, 1.9983842923938278e-12, 1.5106051182691564e-12, 1.1729153795627773e-08, 1.2761335290719934e-07, 2.474823627321766e-07, 7.301140385487687e-07, 1.4660763921717973e-06, 3.4056581497021933e-06, 3.2202837658761287e-06, 3.839517809736307e-06, 5.884050215803634e-06, 7.888739364760212e-06, 8.860471837348796e-06, 9.489957200550932e-06, 9.789391954394894e-06, 1.0277499358582057e-05, 1.253518698349237e-05, 1.2636704941510268e-05, 1.027377535373633e-05, 9.237878443180103e-06, 1.0428821207655123e-05, 1.1179759178342522e-05, 1.113561006204926e-05, 1.06338346070749e-05, 8.625170598487119e-06, 4.89913595724454e-06, 3.158637078279294e-06, 2.741853094162517e-06, 3.206482044192243e-06, 4.427180548841243e-06, 7.492202149707634e-06, 1.2125051554047372e-05, 1.3653884969225652e-05, 1.4914467718587738e-05, 1.875517567617609e-05, 2.2073340043951893e-05, 2.4673006041456624e-05, 2.7036325325213447e-05, 2.9635704590351097e-05, 3.280430309565745e-05, 3.5614121165311916e-05, 3.9242343113936075e-05, 4.1865166776937705e-05, 4.55176868556869e-05, 4.538979319262769e-05, 4.324877891639979e-05, 3.984205701501414e-05, 3.734691400039488e-05, 3.518681637959756e-05, 3.482699488099772e-05, 3.7077634431119054e-05, 4.269300698674268e-05, 4.039884085953169e-05, 3.459712760032648e-05, 3.7267072701904597e-05, 2.8293146294458222e-05, 2.92173997588009e-05, 3.052057034323423e-05, 2.72242091393577e-05, 2.0324915481647227e-05, 1.9875995541701043e-05, 1.9805748998593617e-05, 1.617010701690307e-05, 1.590187925610629e-05, 1.6921044783736997e-05, 1.9875537681905857e-05, 1.9451067752741718e-05, 2.1851218011004928e-05, 2.4517570113414227e-05, 2.982851439044639e-05, 3.534537361559545e-05, 4.384195939551822e-05, 4.847240115781368e-05, 5.590903786330438e-05, 5.815691110363773e-05, 5.855116921379742e-05, 5.673107216675785e-05, 5.3320784449759075e-05, 4.985530731371238e-05, 3.4707008184878975e-05, 4.45463172011505e-05, 5.2613291854569706e-05, 5.939232966602798e-05, 6.337138240705099e-05, 6.685803424898211e-05, 6.879653763362554e-05, 6.690065661995361e-05, 5.920590442020965e-05, 5.624141751999839e-05, 4.802435857743387e-05, 4.388666522572965e-05, 4.4887802982089375e-05, 5.139181914538062e-05, 5.3352667279855435e-05, 5.2405539425930414e-05, 5.151034749603519e-05, 5.205910594681604e-05, 5.384130698291684e-05, 5.7618600261509426e-05, 6.254406092344137e-05, 6.413683868803917e-05, 6.415695772554388e-05, 6.245967471750663e-05, 6.118537094966902e-05, 5.856226092315068e-05, 5.62993801261069e-05, 5.687588550460094e-05, 5.837266860149461e-05, 5.7056029912205393e-05, 4.835586825461327e-05, 4.6577827432726385e-05, 4.7748092225276655e-05, 4.8783691643079916e-05, 4.9693325943962115e-05, 5.133925655272784e-05, 5.3551694850096524e-05, 5.390253125468409e-05, 5.242756151167438e-05, 4.9657773783889464e-05, 4.762499445723593e-05, 4.9373731224840074e-05, 5.1461699115031546e-05, 5.19334573203015e-05, 5.435118121638609e-05, 5.48501947735379e-05, 5.280434762028611e-05, 5.206716337667926e-05, 5.468129351129633e-05, 5.317428383607976e-05, 5.338631281310379e-05, 4.799803873216927e-05, 4.322694357803581e-05, 4.1577727039047095e-05, 3.92924519226955e-05, 4.239595348000268e-05, 4.3100913783099485e-05, 3.973024796904108e-05, 3.6308187835201764e-05, 3.4422961350705195e-05, 3.327444455508828e-05, 3.139109895458014e-05, 2.6697267100571406e-05, 2.1760250422163754e-05, 1.7360075276881736e-05, 1.3755434486186542e-05, 1.0014849794080015e-05, 2.2031161299934868e-05, 2.8315944049127394e-05, 2.592646170308305e-05, 2.0193240251058185e-05, 1.648579022241359e-05, 8.40053984984411e-06, 5.699102864183555e-06, 8.538330249495538e-06, 1.605634580119035e-05, 2.4197737722082118e-05, 2.0233703661574925e-05, 2.958131661474413e-05, 2.8748588368548574e-05, 2.901134438807456e-05, 3.0115913387368048e-05, 3.8208322891889534e-05, 3.954294445971564e-05, 4.042769503597569e-05, 4.6254636568707985e-05, 4.944769283260795e-05, 5.21085378241688e-05, 4.9884787509811396e-05, 5.003251298267164e-05, 4.4794279279169545e-05, 3.840905748440975e-05, 2.9756751122788595e-05, 2.3347363179920215e-05, 1.1938099287377267e-05, 1.6559219390284427e-06, 7.004128491340401e-07, 9.042092050921643e-07, 1.6134682766575296e-08, 5.289391063912704e-09, 1.1057433788962192e-06, 3.031762065493019e-06, 1.7498130606035363e-05, 7.184498528503029e-06, 4.609013378806566e-08, 9.545805096070049e-11, 4.073851020160371e-15, 1.0789551294979005e-12, 5.1185535758581186e-12, 9.035479340362861e-11, 1.9386389836724063e-09, 7.078242707386214e-09, 4.577297143503634e-09, 1.1324427578952414e-09, 3.919449899582283e-10, 4.0400369660216703e-07, 1.7150811229746986e-06, 3.353752589096787e-06, 7.074750143267241e-06, 9.052978273510856e-06, 8.40298230491993e-06, 4.757740267608278e-06, 2.2877405105408362e-07, 7.719014413181008e-10, 2.414910302328773e-10, 7.89705048439386e-12, 1.1052895819061281e-11, 6.236742179536034e-12, 1.4648212361695506e-11, 7.871251997418403e-12, 1.1806519424241098e-11, 6.379643721232593e-12, 2.3990711637430798e-11, 7.636628248338268e-12, 2.8366184577773997e-12, 1.6718392211901634e-11, 3.94160929390646e-12, 1.326534381676461e-10, 7.109139579468187e-07, 3.5789879441579685e-06, 5.462113851201885e-06, 7.012189489424061e-06, 8.230234676553781e-06, 9.01564989554164e-06, 9.806115771409844e-06, 1.1130990113962272e-05, 7.1984681395518804e-06, 4.088015465504823e-06, 4.982430712519365e-06, 5.858598168586216e-06, 3.320767946071265e-06, 6.370186861947683e-06, 7.811616444433322e-06, 1.4928104735078717e-05, 1.7352852351899546e-05, 1.2787320867251527e-05, 9.478250158331588e-06, 2.724277035813163e-06, 4.6821960226571375e-08, 1.6000720166614154e-09, 1.8621887666643636e-10, 4.075500155525505e-15, 4.074406441150625e-15, 9.09330729512371e-12, 1.267487012910506e-08, 6.838261704777636e-07, 4.104548978905667e-06, 9.378801640725064e-06, 1.831929335732435e-05, 8.779604253335507e-06, 2.8936292933969844e-06, 3.5239829593240606e-06, 8.143040756204636e-06, 1.0116826952275738e-05, 2.208851817457193e-05, 2.551654600063953e-05, 1.3924064032871474e-05, 5.477902763991413e-06, 2.110619305191077e-06, 1.108722187577946e-06, 6.7153595537773436e-06, 8.928655305805735e-06, 7.751745132391516e-06, 1.0546592673177683e-05, 5.745363959035037e-06, 1.0994853677853334e-06, 1.6235055175873308e-07, 4.642326429444285e-09, 1.2566422093200589e-08, 2.432136560369192e-08, 1.912987856868006e-08, 8.716261406434185e-09, 1.4637732948059276e-09, 4.5385172942149515e-10, 2.2097589126868095e-09, 3.672744874438817e-08, 4.1509510360750314e-06, 2.0406026462309646e-05, 9.029038559013017e-06, 2.397065306087429e-06, 2.4253178222688e-07, 3.8646556297095475e-08, 3.415758718826487e-06, 8.28813547146838e-06, 1.791874357770001e-05, 1.2052505245230676e-05, 1.0944788474841164e-05, 1.5829661958702889e-06, 2.0500605286842956e-07, 7.418053235009553e-08, 1.9240376978505556e-07, 5.289403539182073e-06, 1.6212306540905517e-05, 1.6178929116560388e-05, 2.875332793184128e-05, 2.8930491346612088e-05, 2.233635837054382e-05, 6.611783686649569e-06, 1.1393824123818564e-07, 3.2630682523330537e-10, 3.9923232952138675e-12, 5.513973191366911e-12, 1.5734972321514416e-11, 5.086338120305212e-12, 4.073686625477495e-15, 6.761296941981622e-12, 4.0745140564518875e-15, 6.866662001873146e-12, 1.9691826675322444e-12, 4.075609809731542e-15, 1.3142733576693382e-11, 4.076799990267115e-15, 1.820981068405804e-09, 4.079921153145077e-07, 1.3457716443026865e-05, 1.6426329329707773e-05, 1.887003698129963e-05, 1.8546637280054884e-05, 1.6157233779784154e-05, 1.2739604413024937e-05, 9.099006076811401e-06, 5.042344030646583e-06, 2.5226790556843988e-06, 9.449427735694727e-07, 2.0106830950090592e-07, 6.249394857094051e-07, 4.0108706142040647e-07, 2.7112074455087905e-07, 1.8294572886317698e-06, 4.362647989456826e-06, 6.34538090886973e-06, 8.63122335149514e-06, 1.038455980724767e-05, 1.0192800995576968e-05, 8.761523119325377e-06, 7.669907986370367e-06, 8.4404358258806e-06, 9.820805357086012e-06, 1.1566199342215744e-05, 1.2149169459637791e-05, 1.1444159760724274e-05, 9.837264422996155e-06, 7.719010717215181e-06, 7.040192066164356e-06, 7.1673582937702e-06, 6.101683665059838e-06, 5.392607662188416e-06, 5.252343423880051e-06, 6.522963394382711e-06, 8.64918161721676e-06, 1.1097340220227302e-05, 1.193500794345843e-05, 1.3601507463614183e-05, 1.627293004521312e-05, 1.5928343534238166e-05, 1.3172124401100314e-05, 1.157943278684452e-05, 1.2375183391214943e-05, 1.2761832924966681e-05, 1.180573576144016e-05, 1.0253739219677949e-05, 8.087435394746146e-06, 6.290414057844904e-06, 6.1517679581729075e-06, 6.2458450421872876e-06, 5.3999023384914845e-06, 3.868108095174886e-06, 2.44366544310795e-06, 2.0976095760059378e-06, 1.8831168553116857e-06, 2.258460249787802e-06, 3.7229229793686944e-06, 5.337342093167621e-06, 6.731400951682771e-06, 7.693577331639156e-06, 9.568475073442656e-06, 1.1883474894483738e-05, 9.347003057464828e-06, 6.996024884641401e-06, 8.613809871139752e-06, 6.527358786750263e-06, 4.717734448569926e-06, 3.660017481040426e-06, 3.949276511240844e-06, 5.786003274691785e-06, 8.09349664535206e-06, 9.029246345259026e-06, 8.854293129744143e-06, 7.990391615265615e-06, 7.33637136737121e-06, 6.8739990056305324e-06, 6.33800212669676e-06, 5.570458364933229e-06, 4.710566657952463e-06, 4.905659797408617e-06, 6.258739605869916e-06, 8.49993451391273e-06, 1.0870322412111004e-05, 1.3275143905911023e-05, 1.643717550345672e-05, 2.0176430858759184e-05, 2.3368117723160664e-05, 2.4819626348080397e-05, 2.51151037230582e-05, 2.6855467196022062e-05, 2.892819441504193e-05, 3.0453019683561213e-05, 3.163525087741227e-05, 3.34526487697658e-05, 3.4158875422171305e-05, 3.4135280162518115e-05, 3.4641290138867415e-05, 3.5363872229952646e-05, 3.466478473415222e-05, 3.29697280009302e-05, 3.150851184121031e-05, 3.0129846409068416e-05, 2.8916534660955177e-05, 2.841983941834342e-05, 2.8852505687821303e-05, 2.8380202981367296e-05, 2.657898723082033e-05, 2.5837110400798414e-05, 2.714500231397501e-05, 2.843472262978534e-05, 2.8291037929476126e-05, 2.7405995659373324e-05, 2.6466510353845922e-05, 2.645679855643571e-05, 2.7487760869201848e-05, 2.873209566305148e-05, 3.051745475757267e-05, 3.3814876100988264e-05, 3.672958985950103e-05, 3.714057212049951e-05, 3.691580391439369e-05, 3.714165674030038e-05, 3.65731224714701e-05, 3.4801138649451906e-05, 3.1686189014167675e-05, 2.84016016253215e-05, 2.6047721428764346e-05, 2.5807826733038276e-05, 2.7438252665951967e-05, 2.78468397969347e-05, 2.554810537304751e-05, 2.314790254489592e-05, 2.26860848457637e-05, 2.282981236446209e-05, 2.2903982645502952e-05, 2.1922638850405974e-05, 1.986036064695267e-05, 1.842431887185097e-05, 1.77891569951899e-05, 1.5602756317476604e-05, 1.1015949379437716e-05, 7.094693791727817e-06, 5.944281292940369e-06, 6.735523036714219e-06, 6.347594716789604e-06, 4.043471064752274e-06, 1.4926466763577465e-06, 4.81404807713543e-11, 4.07974624119992e-15, 9.276885595686985e-12, 1.3592364245768935e-11, 1.8217104142615132e-11, 9.689759923000553e-13, 5.270373380364702e-10, 2.0531133325067893e-11, 2.6553969435014434e-11, 3.074366516113393e-10, 4.076754186385771e-15, 2.6449845540625284e-11, 2.143703422487618e-07, 2.505991169121802e-10, 1.0317485929613362e-09, 1.011231077589476e-09, 2.67113300919643e-07, 5.3506365795915076e-06, 6.46977491407831e-06, 3.7354247552831735e-07, 2.390063487919297e-10, 4.8998074861302774e-12, 9.091515417391539e-13, 9.541681269620422e-12, 4.074281280545192e-15, 4.073524220739771e-15, 1.0874558884159833e-12, 3.157551767490177e-11, 4.137029295457325e-09, 1.2932746662033033e-08, 1.6655948407713154e-09, 3.5583424869889305e-11, 4.627053807550231e-12, 2.082134592252521e-12, 2.247370658433606e-11, 7.506954840705375e-12, 4.072618940279588e-15, 8.828427234233733e-12, 4.070934098280107e-15, 1.1116312401803441e-11, 8.066021063810413e-12, 4.060199599998239e-15, 4.06459617205611e-15, 4.066096360798696e-15, 1.3755309407618454e-12, 4.0715250771215004e-15, 4.072312306054165e-15, 4.062979873254938e-15, 4.0696431749176104e-15, 4.059760215572786e-15, 4.0579681952361024e-15, 1.2150240401403857e-12, 1.4307716252608756e-12, 4.067874539354888e-15, 4.06450190264409e-15, 5.812687133129609e-11, 9.197191804960769e-12, 4.0721704511704645e-15, 1.437113917555045e-12, 4.063594652399594e-15, 3.788358654236722e-12, 4.062087509159943e-15, 1.345100237783013e-10, 4.066304464499204e-15, 7.544143212352743e-12, 1.3638176843058199e-11, 1.4457059338977605e-11, 4.0707478103143024e-15, 5.789445239130507e-12, 7.251254753945522e-10, 4.074538459591453e-15, 4.071447200449618e-15, 2.8210521293059557e-12, 1.0297222057237746e-10, 6.454201593719198e-12, 2.8732788279136074e-12, 4.068546277405225e-15, 4.070360936741371e-15, 4.0693375319735766e-15, 4.070867889021372e-15, 1.2520786100183591e-11, 5.539012752035901e-12, 9.414392598572265e-15, 4.065794706871412e-15, 1.7134712634216306e-12, 1.0114199695145302e-11, 1.8081575804602316e-11, 1.19053645950481e-10, 1.785747445437569e-11, 1.471707574124439e-11, 4.071678997277191e-15, 4.073058724025837e-15, 4.188403663644955e-12, 9.069164159872644e-09, 4.6267703350128807e-07, 1.1994541473846084e-06, 1.4297264029383009e-06, 3.7265970096950594e-07, 1.8850380215975317e-07, 5.900776117461246e-07, 4.633612128055685e-07, 1.113902271116041e-07, 3.4874127994846223e-09, 3.8103442479187657e-07, 2.2519310560934315e-06, 3.510185976735221e-06, 4.314089646626673e-06, 6.0120466688564135e-06, 7.590476928644647e-06, 1.0050297790542959e-05, 1.1622457027191626e-05, 1.2962867139259762e-05, 1.4220834123666301e-05, 1.4806538364655943e-05, 1.572325214857197e-05, 1.736476739054455e-05, 1.9416537649713624e-05, 2.0354534927125827e-05, 1.993412674054846e-05, 1.9373589409348116e-05, 1.791935106258484e-05, 1.6648678313068766e-05, 1.6320760662401803e-05, 1.4795074583751337e-05, 1.1603388832492533e-05, 9.004791039476415e-06, 8.224453925041262e-06, 8.272082970690976e-06, 7.895484548452755e-06, 6.704451104339823e-06, 5.952729568669433e-06, 7.041393073547721e-06, 8.809130383932639e-06, 8.78882914528839e-06, 6.115440071164756e-06, 3.2778395076453227e-06, 1.1011681165487697e-06, 4.5890005178181696e-07, 9.072405906018005e-11, 2.3112104423668618e-11, 1.2205294316146295e-07, 2.2534660307077152e-10, 6.1995393752481446e-12, 4.069228305003405e-15, 2.372927684101939e-09, 1.1042275630648741e-06, 5.873252314557574e-07, 2.441107289796481e-08, 1.0722883527460771e-10, 1.6042869079658455e-11, 8.555905701121356e-12, 8.612773349570168e-12, 1.3861840838615356e-12, 4.0707042237210605e-15, 8.250792410999842e-12, 1.6743431683872307e-11, 5.045579131220798e-13, 4.073925951285932e-15, 2.243000868455824e-12, 3.1060383547714716e-12, 1.2744044405613307e-11, 4.07582751978485e-15, 6.214439614070015e-08, 9.675047965293629e-07, 2.7405008858999234e-06, 4.596722407637429e-06, 5.738838769918532e-06, 5.316875264150723e-06, 4.145116629552629e-06, 2.9751011411163793e-06, 2.223225464301195e-06, 2.9579616721098163e-06, 3.418474346116993e-06, 3.3022159320276824e-06, 3.0260187436049444e-06, 1.8123503513554466e-06, 1.1407736388807288e-06, 8.084429907932719e-07, 5.03758473694532e-07, 1.5272651775251403e-06, 1.33463702511997e-06, 3.673064360176268e-07, 1.556325287733476e-11, 3.1135279368901574e-12, 7.771673409564402e-09, 2.8115644614775646e-07, 1.9797912856268126e-06, 5.264215472425695e-06, 6.919828822328102e-06, 7.173691897485017e-06, 6.556696038871931e-06, 5.3469707087739466e-06, 4.5087771154267784e-06, 4.245609228722722e-06, 3.834210092300525e-06, 3.326758761209167e-06, 4.659482357930257e-06, 5.976705077117222e-06, 8.514103234461863e-06, 1.321866032589126e-05, 1.2921510295632682e-05, 1.3304451646162823e-05, 1.441690681382359e-05, 1.6232718887564636e-05, 1.8473396936978316e-05, 1.954163200825501e-05, 2.103522861290137e-05, 2.3265079610608116e-05, 2.4545659373672754e-05, 2.430565478285989e-05, 2.3217758345661452e-05, 2.230577594295862e-05, 2.216380064258539e-05, 2.1566942133589642e-05, 2.1345173623176484e-05, 2.2474239435998784e-05, 2.515695972017691e-05, 2.7600383035178004e-05, 2.768266303512619e-05, 2.6396344792697654e-05, 2.475222395903657e-05, 2.2819024784317627e-05, 2.2168912314888394e-05, 2.2589526260463074e-05, 2.2356144392182012e-05, 2.1609618227526904e-05, 2.1000177257592616e-05, 2.025268100950958e-05, 1.9374621123584557e-05, 1.8364331148883795e-05, 1.949575903232735e-05, 2.2260282719338334e-05, 2.590744395566347e-05, 2.916693447818905e-05, 3.154680820605034e-05, 3.3346876230893794e-05, 3.405915841735236e-05, 3.291611600744401e-05, 3.071805578895026e-05, 2.8994237881135482e-05, 2.7815064582800608e-05, 2.6516404929564866e-05, 2.4568628989968467e-05, 2.0638525742860747e-05, 1.7730184734697803e-05, 1.8057016206310077e-05, 1.941360353335403e-05, 2.0125435871892593e-05, 2.0864015955013002e-05, 2.1507616953369773e-05, 2.119900490286543e-05, 1.968229519587576e-05, 1.764573912854475e-05, 1.4821738095031389e-05, 1.0391821474551332e-05, 6.923735286779459e-06, 4.843281897434596e-06, 3.4917274090380963e-06, 4.878328255078126e-06, 8.224717088161326e-06, 1.149143086363935e-05, 1.4213934206059939e-05, 1.7655778194146563e-05, 2.0411345596927725e-05, 2.4487892880329702e-05, 2.8085098052412926e-05, 3.123785508861381e-05, 3.3710776906698155e-05, 3.4884351701844534e-05, 3.53719357836385e-05, 3.405216778788825e-05, 3.2224797614960396e-05, 3.2543016543384064e-05, 3.4450743096501525e-05, 3.6937632790861155e-05, 3.977073391898293e-05, 4.112670839872154e-05, 4.196545014962999e-05, 4.243009609152249e-05, 4.268995277936471e-05, 4.317678067707465e-05, 4.384568128084751e-05, 4.375102905572893e-05, 4.345913997571361e-05, 4.2675955560936734e-05, 4.146226978773702e-05, 4.0660290186177225e-05, 4.085978320567388e-05, 3.976005339974195e-05, 3.827094999645594e-05, 3.8390140537527454e-05, 3.84088371515174e-05, 3.791636760862115e-05, 3.753346966806762e-05, 3.644458816209838e-05, 3.505907726017203e-05, 3.516021317826854e-05, 3.5001527429938434e-05, 3.282645431083747e-05, 2.9715349107294233e-05, 2.770340522207782e-05, 2.409990294661619e-05, 2.5803272366281232e-05, 2.6904439143382186e-05, 2.750989888066413e-05, 2.7372443908927888e-05, 2.753232128430921e-05, 3.0451460092291736e-05, 3.212635673096383e-05, 3.1225612384604926e-05, 2.8874212170911325e-05, 2.5923873513452254e-05, 2.5884558396305043e-05, 2.938885693401113e-05, 3.482903235591199e-05, 3.870059694285036e-05, 4.226683755036958e-05, 4.633757617006758e-05, 4.8697370318137224e-05, 4.9663041050358244e-05, 5.1601995214926104e-05, 5.4260199046175395e-05, 5.623481588810501e-05, 5.704208182750178e-05, 5.676608117720639e-05, 5.578692395215102e-05, 5.401314943572076e-05, 5.078693339157517e-05, 4.6371343235364596e-05, 4.35373800593233e-05, 4.2022701449875186e-05, 4.174935344256272e-05, 4.031596951026754e-05, 3.713617964384214e-05, 3.314005793097835e-05, 3.0926433528533813e-05, 3.026879707926009e-05, 2.951021932639873e-05, 3.0276459261831123e-05, 3.207898737263584e-05, 3.350456984061349e-05, 3.462136586814532e-05, 3.558186876240691e-05, 3.600549928121848e-05, 3.6726564263560715e-05, 3.8749224891700556e-05, 4.144886452464781e-05, 4.399406710362192e-05, 4.609899832556914e-05, 4.8104812963126016e-05, 5.007716385403582e-05, 5.1138278988110436e-05, 5.1838988071524394e-05, 5.3842206365866836e-05, 5.522498974974221e-05, 5.5782060948184124e-05, 5.739397374047202e-05, 6.0384781109526964e-05, 6.265982496299299e-05, 6.195353425878781e-05, 6.048086840061924e-05, 5.959181314700338e-05, 5.8849053215381536e-05, 5.881038727242498e-05, 5.921496911315067e-05, 5.842022286839449e-05, 5.477163190157949e-05, 4.96163559764207e-05, 4.4679701617244165e-05, 4.078702924739896e-05, 3.795124234174616e-05, 3.784788049377162e-05, 3.966887716484736e-05, 4.031795797191263e-05, 3.924358563934847e-05, 3.791028918346581e-05, 3.757525630697988e-05, 3.776628651470445e-05, 3.7092726783229854e-05, 3.3311565608252386e-05, 2.9011454189071034e-05, 2.672291897294708e-05, 2.6009429276519728e-05, 2.4028306395155535e-05, 2.015710972488482e-05, 1.421390161338286e-05, 8.671435230181797e-06, 4.152484493930015e-06, 1.5118246979932514e-06, 2.3971081209201806e-09, 4.07119400038011e-15, 2.919784566064968e-11, 1.0565329246383755e-06, 2.905827072412638e-06, 3.3259737231196833e-06, 3.2474743063762736e-06, 3.750070622560233e-06, 4.232534476823852e-06, 3.005279064603342e-06, 2.6320570503321767e-06, 2.0519437502722867e-06, 1.876767848691451e-07, 2.5531157726830363e-11, 1.2962954737631226e-11, 4.073035427668369e-15, 2.935548050991403e-13, 4.0739156164525065e-15, 8.653991547327426e-12, 3.4311161405811616e-12, 2.305360282541441e-11, 4.549227695010746e-09, 2.404199052934533e-11, 4.0704713753495354e-15, 1.3666931416053072e-11, 4.069434626090606e-15, 3.3886966392850985e-12, 7.1116175032889e-08, 8.450583456407607e-07, 2.03059768027967e-06, 3.4645516396466434e-06, 7.343519062266282e-06, 9.302445532027402e-06, 1.04570859111826e-05, 1.1813252424679624e-05, 1.1361874650144322e-05, 1.0993850927111508e-05, 1.0654291013332205e-05, 1.0155942245843754e-05, 8.874667861209275e-06, 8.32916380382681e-06, 9.64257373743345e-06, 1.2311424829168473e-05, 1.3455858878760873e-05, 1.3853028327832126e-05, 1.3592300785714122e-05, 1.467593935619419e-05, 1.677402550578625e-05, 1.7455619538116967e-05, 1.684649000232289e-05, 1.6624262884373174e-05, 1.473883495131167e-05, 1.2210067566358965e-05, 1.0271055346760668e-05, 1.0613171923276374e-05, 1.0652503741586827e-05, 9.487175379579217e-06, 9.022521798072511e-06, 7.838419700828126e-06, 5.596141296981194e-06, 2.969226004554438e-06, 1.3894285522269949e-06, 1.2351274618470783e-06, 1.494256350072434e-06, 2.2083732724503745e-06, 3.86127675254562e-06, 4.1061310657390565e-06, 3.4330457789716538e-06, 4.172621373826715e-06, 5.7111570943914775e-06, 6.4166840432457375e-06, 7.431504299868944e-06, 1.1068071408817849e-05, 1.4075150275444288e-05, 1.5032106091466725e-05, 1.5895556592336283e-05, 1.683821331232275e-05, 1.7793530249668745e-05, 1.7073542367566546e-05, 1.6267919422405433e-05, 1.566843754153965e-05, 1.498770343056131e-05, 1.485998189725103e-05, 1.533922133299085e-05, 1.4801533546625192e-05, 1.2631146292392227e-05, 1.1269611201337161e-05, 1.0345812201243933e-05, 8.449626385140976e-06, 6.259526804322515e-06, 5.529328303380099e-06, 7.79399739346339e-06, 1.2067647150910708e-05, 1.5341669314919034e-05, 1.573748499918084e-05, 1.4478362080129174e-05, 1.4319817334573936e-05, 1.700478451424441e-05, 2.140713321037854e-05, 2.4509605979224077e-05, 2.583141729355039e-05, 2.589379718190705e-05, 2.573810950956019e-05, 2.6093141865512114e-05, 2.5398883298508307e-05, 2.3813075327941368e-05, 2.227600290593541e-05, 2.1567457184887284e-05, 2.059904379113294e-05, 1.874481715517567e-05, 1.6865408053578325e-05, 1.8454882917051563e-05, 2.066760474555869e-05, 2.0028341695169476e-05, 1.796327842199614e-05, 1.582483068997062e-05, 1.5558531289488927e-05, 1.5534467921139177e-05, 1.652107625975582e-05, 1.540698377518048e-05, 1.4372210723473605e-05, 1.5159740999164943e-05, 1.663961966758192e-05, 1.694435607106462e-05, 1.5407797628386093e-05, 1.1353617290511853e-05, 1.0181504329347191e-05, 1.2421835072738291e-05, 1.4726812690991132e-05, 1.5032461098183396e-05, 1.3621217946619333e-05, 1.0898779169087177e-05, 8.431067704186598e-06, 8.344359509498035e-06, 8.978462342199762e-06, 7.510152873931752e-06, 4.565674932084969e-06, 2.4573903886312346e-06, 2.0287298183513163e-06, 2.3565436589628503e-06, 3.7925031494194062e-06, 5.896436996859376e-06, 7.078325095478275e-06, 7.164679600152797e-06, 7.387176238639273e-06, 9.365659530348311e-06, 1.2572246836526619e-05, 1.3349924075252175e-05, 1.2921422162173106e-05, 1.241940727617959e-05, 1.2439012567684693e-05, 1.046321349859228e-05, 8.662887283010434e-06, 1.0206324106946402e-05, 1.1991164475364037e-05, 1.3105327208645752e-05, 1.4825574732848577e-05, 1.7231566633206517e-05, 1.7076939912341314e-05, 1.6664817796791252e-05, 1.4584198147560534e-05, 1.3312138244812879e-05, 1.2881666120578861e-05, 1.1951365527486137e-05, 1.1083708265852616e-05, 1.0713178841408228e-05, 9.521063487488322e-06, 7.124067426536453e-06, 4.747777478045312e-06, 2.5738211503116722e-06, 3.9237249492364163e-07, 1.0837903882565658e-09, 4.074929313259531e-15, 4.065867440989909e-15, 2.4626130762759858e-12, 6.4020434376656066e-12, 1.264421535465689e-11, 4.054993194737907e-15, 2.4414062015625133e-13, 4.0544570688851255e-15, 3.3508693203653186e-12, 4.061975935250198e-15, 3.409155179579258e-12, 2.600218939927915e-12, 4.06941653396169e-15, 3.115000468484738e-12, 8.08266204143639e-12, 1.2743984006251153e-11, 1.009404340933312e-12, 4.04094446436274e-15, 1.961212347634118e-12, 1.7827457911337104e-12, 2.902116309364536e-13, 1.60994795824712e-11, 7.665202925206994e-12, 1.471326269950374e-11, 1.1115042036250478e-12, 1.0133127310385172e-12, 4.923707855668929e-13, 4.046153297292307e-15, 1.1778634373701235e-12, 1.6640680222292928e-14, 1.5655035328519515e-12, 7.776318280960558e-12, 9.357979727561127e-12, 1.4187390778939708e-11, 4.695055608441253e-12, 4.051115710311695e-15, 4.054903094521561e-15, 4.062986282873284e-15, 8.874370527091855e-12, 1.195766476898055e-11, 4.068059478047785e-15, 2.7058912231048086e-12, 9.390972897897146e-12, 4.072508599711796e-15, 7.0222435357901056e-12, 5.847258558675393e-13, 4.071828347273211e-15, 1.0939069043199918e-11, 1.167170584430248e-10, 1.274099064579141e-06, 2.4614460619176064e-06, 2.745133573765729e-06, 1.656905993719397e-06, 4.579733570785361e-07, 3.586848911930578e-11, 1.0230216832050495e-11, 4.074246707813944e-15, 3.8573410836351964e-11, 2.2789831454683365e-11, 4.0773659800929745e-15, 7.653247432795936e-07, 2.058117669627712e-07, 3.574267091575095e-11, 4.074987089887467e-15, 1.5383284005471409e-12, 2.4101421069873716e-11, 7.280688414975502e-12, 2.260210111377672e-12, 4.3321579821168774e-12, 2.1978316335977277e-12, 1.0236622535769904e-11, 7.678732112899266e-12, 3.992207316153586e-12, 1.611566037339228e-11, 4.650296336224936e-12, 1.3975332201052686e-12, 4.879108063151942e-12, 2.8662234182508858e-12, 5.0752546348917126e-12, 1.123540561839021e-09, 3.157363469905772e-07, 1.4959318214907305e-06, 2.1947962865316267e-06, 1.1910929904503607e-06, 6.048577276044612e-07, 1.2195437568370785e-06, 1.6583214211246402e-06, 1.4776132271387788e-06, 2.9686230435197484e-06, 3.130160250276221e-06, 5.702029346997564e-06, 8.198808985013873e-06, 9.20081806654972e-06, 1.0091157246568013e-05, 8.905957457422545e-06, 5.8634969463151915e-06, 3.5306933096695013e-06, 2.653891869117863e-06, 3.2093881241901265e-06, 3.5533962096101892e-06, 4.005908818027192e-06, 1.1422561625276143e-06, 4.077738692854557e-15, 1.1278025481802855e-11, 1.822584108644609e-12, 1.1865112479519434e-11, 9.338617185537863e-12, 4.059563908554915e-15, 4.0613002411680915e-15, 4.040168158769743e-12, 8.866160128829145e-12, 4.0675679554676055e-15, 5.1168734153512166e-12, 7.2747382219713504e-12, 5.913594304016323e-12, 1.3622633667274162e-11, 4.059402543487428e-15, 4.055602394287485e-15, 6.737903946868957e-12, 3.287049079759969e-12, 1.5570999953293248e-12, 4.0495008834152114e-15, 4.0653859191102796e-15, 4.056560764028615e-15, 4.055307095563651e-15, 6.50419054248528e-12, 3.99828407629016e-12, 4.045961255749104e-15, 4.053479638191938e-15, 3.0391895588778543e-12, 1.9914184995343375e-11, 2.0845156076573805e-12, 2.1328497578096032e-12, 4.051033714117483e-15, 4.054049772184715e-15, 9.817246068225695e-12, 4.063935364658403e-15, 4.837296434129646e-12, 3.3988084162572398e-12, 4.05431163536814e-15, 2.045824906450941e-11, 4.862287613921691e-12, 4.058089629082422e-15, 7.1222257283553346e-12, 6.422867851696232e-13, 4.061719723773994e-15, 4.0511573793438245e-15, 4.05045101869563e-15, 4.054400315088302e-15, 4.047461805652916e-15, 3.738053244965122e-12, 1.2097488094981946e-11, 1.569444422437608e-12, 4.11684097211551e-12, 1.9976252794423435e-12, 3.805846436278495e-12, 1.8591423258698836e-12, 1.075406516864649e-11, 2.2171846124102984e-12, 6.157338220370776e-12, 1.908590991561021e-12, 1.6385485576154588e-12, 4.059780914233153e-15, 4.054987299494218e-15, 6.408275102811532e-12, 4.765601258040086e-12, 6.70434087415527e-12, 3.0817963298632674e-12, 4.0499034615783355e-15, 6.938554817501542e-12, 4.042328207854532e-15, 4.039426223665338e-15, 4.2501751948082405e-12, 3.318143559246365e-12, 4.039632264771588e-15, 4.038559496233023e-15, 4.0439947657643656e-15, 1.6870787720282812e-11, 2.4846928313637945e-12, 8.637699056592437e-12, 1.825870819846058e-12, 4.7961637929606835e-12, 4.055143347998029e-15, 6.392069152563128e-12, 1.3083913430506536e-11, 5.984961331345465e-12, 7.748760769732133e-13, 4.055337063442395e-15, 8.045155794637628e-12, 4.058061226663274e-15, 4.049108697924313e-15, 5.3968553407184546e-12, 6.8580843804253245e-12, 4.053849070771008e-15, 4.034627159866713e-15, 2.035074335681768e-12, 8.874552713105102e-12, 4.047722241049279e-15, 4.04231046769133e-15, 1.4489718176354535e-11, 3.970272057575789e-10, 4.057673511599635e-15, 4.946249073229603e-12, 8.727722579449651e-12, 4.056402854265207e-15, 3.4740758497829456e-12, 4.040066324375998e-15, 4.040611961642142e-15, 6.992620069450857e-13, 6.562800259687639e-13, 4.04216375153527e-15, 4.038656770520017e-15, 4.0435684865910045e-15, 2.159399765135769e-12, 4.0433958715362444e-15, 4.039479904672952e-15, 2.801965375734859e-12, 6.669026524447596e-12, 4.042530342936354e-15, 1.0830280608787744e-13, 4.0329210191432315e-15, 7.311666465561322e-12, 4.032069963842568e-15, 4.008018101024258e-12, 4.041915650884395e-15, 4.040867061751293e-15, 1.3791913753681916e-12, 4.035581574087678e-15, 4.0615541472993706e-12, 4.224957475089786e-13, 4.029622298778114e-15, 2.7461729726070194e-13, 4.042225545317542e-15, 4.042563054358869e-15, 3.9721133676627837e-13, 1.324444260166515e-11, 4.0310341437298886e-15, 6.340110822256008e-12, 4.050702140152225e-15, 2.1502684885112576e-12, 4.043299095076366e-15, 6.194071098547613e-12, 4.050256941669388e-15, 1.0856199030318834e-11, 4.566628221239621e-12, 4.051984124307494e-15, 4.0468144675266015e-15, 4.053584561502562e-15, 4.0468135196797266e-15, 6.240446887595361e-12, 1.0202593223976386e-11, 1.0021138719911554e-11, 1.3713409622291622e-11, 4.0534368815329946e-15, 4.054302868831979e-15, 4.05341589176725e-15, 5.923506342218065e-12, 4.638009050984741e-12, 1.1265571108414911e-12, 1.2263341630562832e-11, 1.860923535329901e-12, 1.4442981388422041e-11, 8.23006879833031e-12, 1.0599875522503012e-12, 4.0584071874803634e-15, 4.055261979759846e-15, 6.698700750623969e-12, 3.3249685798137274e-11, 7.010841472570537e-12, 5.036110406308389e-12, 4.933681532516584e-12, 9.704413224383665e-12, 1.4817307647376786e-11, 4.045407206559771e-15, 1.368231998887721e-12, 7.945394588216826e-13, 4.636636841917704e-12, 1.4084666226535886e-11, 2.6768090849689365e-13, 3.5154130023733116e-12, 4.037817330423109e-15, 2.653030129275748e-12, 2.248331138067124e-12, 5.737094708746317e-12, 4.033112276744369e-15, 8.888793501344386e-12, 8.462830296480008e-13, 4.031650455663664e-15, 4.030427703502305e-15, 3.5709647973568477e-12, 6.250585896793734e-12, 4.036215117338118e-15, 6.929650619229863e-13, 4.0368479770365806e-15, 4.03718456803589e-15, 2.529234166633205e-12, 4.03419611284314e-15, 4.041915941171676e-15, 4.0445858916129654e-15, 4.04265284498512e-15, 4.042417104133854e-15, 1.7679929131140146e-11, 4.0433226646843025e-15, 4.0438403598360256e-15, 4.043262609909914e-15, 5.809346489296149e-12, 6.482232240396373e-12, 1.0322747121715498e-11, 4.038810954967465e-15, 4.0410149716203965e-15, 4.0422702558228585e-15, 4.043460147561426e-15, 1.0772004377751833e-11, 4.039076114700817e-15, 1.1263809654975976e-12, 2.876912666275861e-12, 3.0698400929008733e-12, 4.043319392534521e-15, 7.52179655388293e-12, 6.9246275271184454e-12, 4.0398861900915885e-15, 1.2016600152987944e-11, 5.6974870794883544e-12, 4.0316931779784936e-12, 4.039094192256645e-15, 7.184361919849985e-12, 5.801196121153167e-12, 4.662097027269416e-12, 2.2858270803363066e-12, 2.5137792705566974e-13, 1.5873683394498565e-12, 2.591441992627295e-12, 3.745412900052628e-12, 4.044399829067757e-15, 1.1111914488316044e-11, 4.051776955276343e-15, 3.7779076373285166e-12, 4.049277835800585e-15, 1.6381458279833188e-12, 1.935184081577253e-12, 3.2484549739799898e-12, 1.2729379786504022e-11, 4.0534620366104625e-15, 2.5299993776332325e-12, 1.1678970132062147e-13, 8.477425781234059e-12, 4.345490260141784e-12, 2.558018501433212e-12, 4.058624594030242e-15, 4.062587807498686e-15, 2.1384188935754407e-12, 3.321857560644756e-12, 4.060432020942407e-15, 1.546359984198159e-12, 2.5638178722270336e-12, 9.871704859865085e-13, 4.064771241473715e-15, 1.8554181448878945e-12, 4.063610154981945e-15, 4.948904804686682e-11, 4.505310194165527e-12, 1.4315797802338221e-11, 5.599193263558483e-12, 4.062357759036411e-15, 1.0707214309615891e-11, 5.063657777358637e-12, 1.093774595825236e-11, 1.6090598667225588e-11, 1.0825917017426949e-11, 7.49755788666928e-12, 2.4024581236812887e-12, 6.506216772424862e-12, 4.067923974415236e-15, 7.512979749341026e-12, 6.409724625368017e-12, 1.1774422670738185e-10, 4.0646205264695375e-15, 9.570100177934819e-12, 4.065159034793534e-15, 4.0645137462571764e-15, 3.9372418947362335e-12, 1.5136534165755303e-11, 6.817555559863157e-12, 4.740508185117309e-12, 4.05754938187313e-15, 9.94721962375127e-12, 1.143335268670655e-12, 3.78073868952541e-12, 4.061509238965892e-15, 4.059561443881497e-15, 4.058811081861087e-15, 4.061665733887618e-15, 5.6717259865539604e-14, 3.2587436554222723e-12, 4.064733383200152e-15, 4.064216268215889e-15, 4.0636173096713014e-15, 4.063377874242924e-15, 4.588088097153024e-13, 1.824453720963541e-12, 8.384852357464044e-12, 8.012991329616937e-12, 2.4001798835647483e-12, 4.0690626495035645e-15, 4.669513924714949e-12, 9.876642697088198e-12, 4.068911221418014e-15, 4.067736381178059e-15, 4.0682829305589854e-15, 8.10268909832741e-12, 4.0659838002346064e-15, 1.3470702872741174e-11, 1.062787925840956e-11, 3.8840861310895935e-12, 4.74852854681416e-12, 4.06689976822694e-15, 4.069549290313692e-15, 4.470607276114471e-12, 4.070481782477974e-15, 4.069206280600069e-15, 4.065550937680535e-15, 4.068894436646516e-15, 2.377755967756866e-12, 8.282283542606577e-12, 1.8592057650174278e-12, 4.061798723482959e-15, 3.3306934895918075e-12, 4.062392523524855e-15, 4.06581505484223e-15, 1.6263790497780475e-11, 4.065352705943588e-15, 3.096350718206564e-12, 4.0634131907196176e-15, 4.064018078127852e-15, 2.0456511905535232e-12, 4.065592750014329e-15, 4.071932903440221e-15, 5.650088736054862e-12, 9.349533001788599e-13, 4.0712123165238234e-15, 4.068979026080458e-15, 4.070426143363624e-15, 4.0773797883931346e-15, 4.072165777279139e-15, 2.1703763226834202e-11, 2.5924202106702043e-12, 4.0772083736415414e-15, 1.095739181059473e-12, 4.074868433823991e-15, 1.0527840931138368e-11, 4.0757473201314334e-15, 1.596792021616267e-11, 1.5319120982547922e-12, 1.0648442507416465e-11, 8.999890826772169e-13, 5.187558731420605e-12, 9.469805724981295e-08, 9.384790243515662e-06, 2.1912933003506803e-05, 2.6057094506491383e-05, 2.9449856546177426e-05, 2.579425871806666e-05, 1.651947308056798e-05, 1.0116147220124798e-05, 1.356430568003567e-05, 2.0330518876159846e-05, 2.9324886060164414e-05, 3.1931635675818674e-05, 2.663224044540935e-05, 1.7783168179971474e-05, 1.8881241520843914e-05, 1.81173946873426e-05, 2.0634816577517392e-05, 1.9442701676575317e-05, 1.8729628243093175e-05, 1.7059718394620278e-05, 1.6445941620267123e-05, 2.117418916051547e-05, 2.6286309978010716e-05, 2.9774138591256787e-05, 3.141395200117051e-05, 3.074337122683782e-05, 2.7029686745598236e-05, 2.339033443549745e-05, 2.331929338376757e-05, 2.6560351808549035e-05, 3.231228537942746e-05, 3.8074946329181184e-05, 3.980848022006426e-05, 3.5282782902062826e-05, 3.02448931619938e-05, 3.296224311071197e-05, 3.67618968333515e-05, 3.941041623742409e-05, 4.343899009606473e-05, 4.248172392962607e-05, 3.626454879431352e-05, 3.1427853311916836e-05, 2.9752585014820904e-05, 2.572466935755546e-05, 2.1079878373219055e-05, 1.7752683545653492e-05, 1.0991866067678088e-05, 4.7206962594609e-06, 2.5598747165595055e-06, 8.443929003626922e-06, 1.43356277764691e-05, 1.7333240502249485e-05, 1.90624536633466e-05, 2.1914325518027288e-05, 2.380339123007382e-05, 2.580697982849096e-05, 2.7456959027126673e-05, 2.3110111737690587e-05, 1.8060698238113714e-05, 1.72338368923285e-05, 1.9716149920352546e-05, 1.9363559424172423e-05, 1.5628524462685378e-05, 1.2307233530073964e-05, 1.6420589906556355e-05, 1.9015112502546345e-05, 2.2537392454096803e-05, 2.6456949430643522e-05, 2.6461843424681333e-05, 2.5415696705503574e-05, 2.5652638533157258e-05, 2.6622525061022743e-05, 2.6964250875652712e-05, 2.3307922343065414e-05, 2.1572300989820822e-05, 2.000557249186238e-05, 1.9157044127967234e-05, 1.9123744205513522e-05, 1.8372488552227702e-05, 1.919508197899191e-05, 1.773608587652378e-05, 2.1421193349620406e-05, 2.108257943906042e-05, 1.851225226860422e-05, 1.422522601510905e-05, 1.1427801209214848e-05, 9.187413917931533e-06, 7.1182705203648034e-06, 6.067413384126639e-06, 6.7600747793995895e-06, 9.259148660788785e-06, 9.92666931784752e-06, 9.879229721541719e-06, 1.0856153165408144e-05, 9.997757707679695e-06, 1.4490404922000717e-05, 1.5458836930887044e-05, 1.5098421059506599e-05, 1.552179919443416e-05, 1.455911476197675e-05, 1.5005885368506331e-05, 1.5306374987430453e-05, 1.4178734418435745e-05, 1.3251007633977144e-05, 1.2157317673308193e-05, 1.172194516809858e-05, 1.1400660509979731e-05, 9.331605201102948e-06, 6.231928662303512e-06, 4.874175091404765e-06, 5.454001909775882e-06, 5.635434897888396e-06, 5.746857789203425e-06, 3.692617054116478e-06, 7.978025878094176e-07, 2.429740851128811e-07, 1.429752074557392e-06, 2.678113656370583e-06, 2.6438131089573943e-06, 1.5811193947911549e-06, 8.119083353438114e-09, 9.406556369362823e-11, 2.065480808714568e-06, 3.868944563758183e-06, 5.4079787302760475e-06, 5.40265821830619e-06, 5.760802087710422e-06, 5.7527786481235515e-06, 5.769076181896899e-06, 6.216368378455908e-06, 5.144423875336849e-06, 1.854635422337192e-06, 5.086906978935496e-12, 9.583862624761825e-09, 1.8418915912800988e-09, 1.7044047959071801e-09, 4.6842589783160484e-07, 3.4346262258460896e-06, 7.500836638405624e-06, 1.0478231560876538e-05, 1.0323896565787646e-05, 8.77792126451797e-06, 7.4846966321987725e-06, 7.328073261679319e-06, 7.652868834989779e-06, 7.210880299223781e-06, 6.3030119752841655e-06, 4.601710107124172e-06, 4.867602473426467e-06, 6.200350904333514e-06, 5.412453215391636e-06, 3.095716903787114e-06, 7.000473596505728e-07, 1.3088673913634182e-09, 5.842451829637907e-12, 1.72095207410688e-08, 1.823074935376698e-06, 5.074201844820824e-06, 7.142650565798826e-06, 6.841521197821746e-06, 5.616884351941301e-06, 5.9613606576184985e-06, 7.067124685231191e-06, 7.822571457293765e-06, 8.81813390012885e-06, 8.157006618906705e-06, 7.2917606386596506e-06, 8.242124930053194e-06, 9.91442301488499e-06, 1.1486761079774395e-05, 1.1859818332928265e-05, 1.256766847463881e-05, 1.4961389842726627e-05, 1.7495166321005865e-05, 1.9445677958984187e-05, 1.9879776953793786e-05, 1.9782032820679617e-05, 2.1845590740698832e-05, 2.6012998123295506e-05, 2.923268225747366e-05, 2.942702255328915e-05, 2.9498783202397848e-05, 3.163486058680979e-05, 3.248577073694023e-05, 3.1972496838627665e-05, 3.0658316089386914e-05, 2.7791468263519877e-05, 2.383906478516562e-05, 2.085748680790478e-05, 1.8260686880178435e-05, 1.4629676275931558e-05, 1.1637774129332595e-05, 9.764114443413e-06, 8.054930559718845e-06, 5.666766537197346e-06, 3.2373733320508973e-06, 5.562479066831019e-06, 1.7268376669319232e-06, 2.0252347467422983e-06, 2.9153493337185406e-06, 6.095094621569446e-07, 2.0857108535465275e-08, 8.006122201994915e-11, 2.2741380959045858e-11, 1.3547153141977367e-11, 7.01351004789641e-12, 4.076527263441283e-15, 4.0769653269149525e-15, 1.9573297127065663e-11, 4.0741604307591136e-15, 5.4974937174656565e-12, 2.229905067331392e-12, 4.0726686262487915e-15, 5.649333557614089e-12, 4.52630335148443e-12, 8.66296222031174e-12, 2.7572040876863946e-11, 9.051883787919839e-12, 1.0227083886014783e-11, 4.077851344321486e-15, 4.078331523864498e-15, 1.8009552195765366e-11, 3.837629623187022e-12, 4.076259188848375e-15, 4.075367973241909e-15, 1.0370060216102474e-11, 3.2094927531109837e-12, 7.308731454232933e-12, 2.825660389475177e-12, 4.072345482505675e-15, 8.2437235021463e-12, 4.071652121379859e-15, 4.4356311210745366e-14, 5.631506548144444e-12, 4.06983938713339e-15, 4.0751005847049875e-15, 4.070149794029331e-15, 4.0734390803017215e-15, 1.7044189588504285e-11, 6.030210657000461e-12, 3.5355096595178123e-12, 4.7989188821589155e-12, 4.076959836584395e-15, 4.090981610384624e-11, 3.203497190262013e-08, 2.6355563240241116e-07, 9.829349880596362e-07, 1.6248274594904508e-06, 2.4331296031397773e-06, 3.996749981268182e-06, 3.5392252892345545e-06, 1.7112838408479175e-06, 2.2485183368267806e-06, 3.653135851523108e-06, 4.8998562783760795e-06, 3.6854610028036207e-06, 1.5964142092619744e-06, 1.316146065374092e-07, 4.0712030914821945e-15, 4.071671895782348e-15, 2.0707045970261963e-12, 2.7106200089434776e-12, 1.2689970513309305e-11, 1.6865739876199385e-13, 4.069924263904245e-15, 1.2384388862278918e-11, 4.070497321202531e-15, 4.070583345186042e-15, 4.071817817393784e-15, 4.071755759205897e-15, 3.1617601469820648e-12, 8.577881425276183e-13, 4.068489427157658e-15, 4.071097791852297e-15, 1.5459517569118104e-12, 1.3516794510124177e-06, 7.719740180042183e-07, 7.0687459405318324e-12, 1.03871464815669e-11, 4.066811550281242e-15, 2.842533075746016e-12, 1.0417265792158308e-11, 1.1221266384247304e-11, 2.715331385873779e-13, 1.0858471318481213e-12, 1.8559699512060826e-11, 4.070934394125388e-15, 4.080002812576497e-15, 1.6645468332250027e-10, 5.429058108568229e-08, 4.969170789217925e-07, 1.488209253363571e-07, 4.4852522954588395e-07, 1.2432616504024593e-06, 9.745098923935864e-07, 9.890758208588121e-07, 1.8110904707886373e-06, 2.8088845012639015e-06, 5.77406822552077e-06, 1.0245218015981888e-05, 1.466575293772545e-05, 1.58473576687961e-05, 1.6149484499964377e-05, 1.613920426803016e-05, 1.5111583547931729e-05, 1.5446029017761515e-05, 1.7801778267088858e-05, 2.0770889799802595e-05, 2.3352445754018165e-05, 2.455900596268706e-05, 2.315411221715572e-05, 2.0109788911331417e-05, 1.804700281909521e-05, 1.8158176607531504e-05, 2.1280018774772996e-05, 2.4562193073710146e-05, 2.7385665944300917e-05, 2.934422097672504e-05, 2.9242461252702878e-05, 2.849331595260376e-05, 3.0182530605798482e-05, 3.135889038795692e-05, 2.9876535221508772e-05, 2.66008479518751e-05, 2.3979455944320953e-05, 2.2685971967372558e-05, 2.1858041523113076e-05, 2.0425882862766053e-05, 1.8514276149240257e-05, 1.773203841430779e-05, 1.5794857899247384e-05, 1.2698849244036462e-05, 8.906382853357084e-06, 6.159014892431577e-06, 5.1218712980301145e-06, 5.905197709038075e-06, 5.931819157165143e-06, 4.483819571089139e-06, 2.8386145865274347e-06, 3.0560658103963383e-06, 5.798909546296329e-06, 9.107463100621831e-06, 1.0383966429483405e-05, 1.1977472838811044e-05, 1.4111732322808717e-05, 1.6908187993973468e-05, 1.7695021136574217e-05, 1.5096283699622706e-05, 1.1173714349828594e-05, 7.390489888521739e-06, 5.84467825529631e-06, 2.6010177691066213e-06, 1.7619643003071006e-06, 3.0386063277469803e-06, 5.163439107485071e-06, 6.0002173309960105e-06, 6.584609277277197e-06, 7.2649434940251e-06, 8.987152527091037e-06, 9.974626204121625e-06, 9.119764166083119e-06, 7.219083700158347e-06, 6.319433773882429e-06, 8.956322075525192e-06, 1.2189225695226837e-05, 1.5648554637552262e-05, 1.7069347796872244e-05, 1.588654732055569e-05, 1.544218688646684e-05, 1.4129330331747665e-05, 1.2741584834938053e-05, 1.2629311569642059e-05, 1.4783260186698574e-05, 1.3293195041806881e-05, 1.1862007022910354e-05, 1.230053527808429e-05, 1.307181918986967e-05, 1.3501451045517025e-05, 1.3186809530944431e-05, 1.1327754664888716e-05, 9.14804818101973e-06, 7.817990676251166e-06, 6.957929467148828e-06, 5.782697802983041e-06, 4.116185438875547e-06, 3.5575149965713013e-06, 3.8112310121737556e-06, 3.824148747098237e-06, 3.5273505557132862e-06, 3.0175471540688922e-06, 1.7606016338690493e-06, 5.397508737121237e-07, 1.8621108202573342e-10, 4.076576753904174e-15, 8.982307250084634e-12, 4.069293848767452e-15, 1.1147415277064332e-11, 4.078368573893612e-15, 4.57625224004399e-12, 8.120146592038494e-12, 4.073811771963146e-15, 4.349913416929085e-12, 2.7604572103517834e-12, 4.071041222812764e-15, 1.4410161053418318e-11, 1.049856815938591e-11, 4.06417288026958e-15, 4.0565442765567415e-15, 4.0701321651120066e-15, 4.581354044941983e-12, 1.0320285331832305e-12, 4.415568435774562e-12, 3.1568388653093003e-12, 4.055784230553913e-15, 2.7993133113396195e-12, 7.616659927461445e-13, 8.293415039916662e-12, 2.8659143857957753e-12, 4.0591752834206664e-15, 4.0545020995719265e-15, 4.062424644028807e-15, 3.2853533462275914e-13, 2.1938019494511287e-13, 1.244679226299436e-11, 1.2003305908399821e-11, 2.949611605149095e-12, 1.0695911714826862e-12, 6.205897889008417e-12, 5.281286889796286e-12, 1.1397310045133206e-12, 3.172697629969932e-12, 1.9227156433763513e-12, 4.0707969859938e-15, 4.1840987002435784e-12, 4.062664771175412e-15, 9.30777654611527e-12, 4.060015718957654e-15, 4.063341251578775e-15, 4.239196253149147e-13, 4.061814102584435e-15, 2.0579384152374007e-12, 8.355994605200995e-12, 4.078975301531561e-15, 1.5338612460060034e-09, 3.0879386435747633e-06, 6.593860330825834e-06, 7.120253394424446e-06, 3.5647161012136507e-06, 7.94564937369019e-08, 3.8276124254726204e-08, 7.704341009606238e-07, 3.1481589796508438e-06, 3.3624417257838284e-06, 4.766354444376014e-06, 3.004668957954319e-06, 1.7178044489322605e-06, 1.989028621235378e-07, 3.8026034537717714e-08, 6.975389215392895e-08, 3.7182793281125355e-11, 1.555352634278079e-11, 1.1662064399533744e-11, 2.3008086586330692e-11, 6.490776755242022e-12, 1.4935521062446973e-12, 6.17693421811463e-12, 4.072162236895498e-15, 4.070426725574058e-15, 4.07023434517363e-15, 4.068163824777221e-15, 5.134589009071572e-12, 7.0118496312393e-13, 3.765790099735971e-12, 8.268610052419225e-12, 4.066108092860531e-15, 2.5401900805373626e-12, 4.057997133285793e-15, 4.057045123141138e-15, 4.057213094011842e-15, 1.2713470552543554e-11, 1.3935867769652922e-12, 3.3859511491666406e-12, 1.6376576143447735e-12, 4.056413622979952e-15, 9.11336833092234e-12, 5.4727108149225855e-12, 4.062640941689945e-15, 9.22888316777784e-12, 4.064847605848869e-15, 3.97797909277202e-12, 4.313402493222872e-12, 4.0587408954038416e-15, 4.94077093508147e-12, 7.345006890285698e-12, 2.7522472514872644e-12, 2.999123662563454e-12, 9.584676443921362e-12, 4.060378553001329e-15, 4.062810744465707e-15, 6.285285067125514e-12, 4.0679363828176576e-15, 1.109109251830296e-12, 1.690626529690944e-11, 5.731053437120635e-12, 1.0917030727676104e-11, 4.069308862672932e-15, 6.814043704102537e-12, 4.076225130308955e-15, 4.074085823610376e-15, 8.074709498061842e-12, 4.876565966164273e-12, 1.5329083661284843e-11, 4.0663239692619175e-15, 4.066636507811024e-15, 3.695439578559689e-12, 4.065747150684383e-15, 4.067191763943479e-15, 4.0666343492678964e-15, 9.08503033993866e-12, 2.9163529067851225e-12, 1.0884321084293222e-11, 4.069884381172566e-15, 4.074275084914639e-15, 4.074669253501918e-15, 2.2865008443925674e-12, 4.073996908385054e-15, 4.074555421143581e-15, 1.7144706394734137e-11, 5.947340745519664e-11, 3.289936079209345e-11, 3.627769999969491e-09, 8.812353024498223e-06, 3.148454126646836e-05, 5.4125034024993077e-05, 7.471909970824988e-05, 9.693640311664812e-05, 0.0001220372959230619, 0.00014057560800808996, 0.00014801875721578335, 0.0001514461969144757, 0.0001529590067262481, 0.00015358659643386358, 0.00015504963106412705, 0.00015563848424658266, 0.0001567500109308416, 0.0001557946882936387, 0.0001507623628375921, 0.00014553277755291206, 0.00015029699219241098, 0.0001586037595075133, 0.00016862929490251452, 0.00016927744467595747, 0.0001684833203953386, 0.00016850078560890064, 0.00017020277744106348, 0.00017168967243792044, 0.00017421525901354222, 0.00017783015704161563, 0.00017992152225194318, 0.000178409949544406, 0.00017977645030521557, 0.00018199228462825346, 0.0001793393636781468, 0.00018183639434381728, 0.00018730021086173682, 0.00019078174642591755, 0.0001904474791261102, 0.0001875879779353405, 0.00018523352914067844, 0.00018329940449360823, 0.00018217301197801167, 0.00018220524286358312, 0.00018230966223728028, 0.0001798517939107382, 0.00017907904046620134, 0.0001824108375660294, 0.00018581469263014065, 0.0001887299823777971, 0.0001901036307476436, 0.00019049080558986755, 0.00019213148655111185, 0.00019264902961490735, 0.00018918020764800114, 0.00018485870504878052, 0.00018354470203336195, 0.00018405836100375195, 0.00018648963625918143, 0.00019063461387677511, 0.00019327163489766793, 0.00019510722204961099, 0.00019605501102001494, 0.00019887841411180175, 0.00020140337269419976, 0.00020267109971557016, 0.00020161361768964282, 0.00019919432783565788, 0.00019540272320008062, 0.0001906199194761301, 0.00018684012929738323, 0.00018865677653006282, 0.00019236864789682465, 0.000196918640246324, 0.0001987451828152957, 0.0001996507994247284, 0.00019882255111293947, 0.00019554396156233755, 0.00018703132967535537, 0.00017789001065822188, 0.00017645667215381253, 0.00018869330342504865, 0.00019333307690344985, 0.000193405355520834, 0.00019563867834509333, 0.0001955899563241546, 0.00019703144611267031, 0.00019812820993023113, 0.00019444645133820807, 0.00018711813848246858, 0.00019164416864340695, 0.00019376079012707492, 0.00018340070737653147, 0.00018744967457135148, 0.00019786218058715974, 0.0002106081193853144, 0.00021645597068497245, 0.00020993587033149978, 0.00019680243921505229, 0.000190425911815779, 0.0001919546802711997, 0.00019191432658737298, 0.00017978317992447854, 0.0001655278414690198, 0.00016428992235475345, 0.00016012998703797375, 0.0001351402032228258, 0.0001160744466925204, 9.517982250462271e-05, 6.518674884390378e-05, 2.7312341883919946e-05, 1.1463159488576044e-05, 4.49534162802412e-06, 2.1922230763585514e-07, 6.493319006315141e-09, 4.079761433972272e-15, 4.077240033956485e-15, 4.077336413292911e-15, 3.706627387220477e-13, 1.1664023854307885e-11, 1.4935279271473156e-11, 7.904548283682824e-12, 5.113666644037942e-13, 4.077697700391405e-15, 1.31519531635952e-11, 9.549939118555843e-12, 4.071818578106832e-15, 2.9670175570605873e-12, 4.071242418848964e-15, 4.0718050853548504e-15, 4.073947816194433e-15, 5.140518940042278e-12, 1.1909301011847884e-11, 4.072308995045145e-15, 4.0718503610693104e-15, 3.3291384095903197e-13, 4.068828793754114e-15, 4.069557420469422e-15, 4.071057883591696e-15, 4.072257471380781e-15, 8.223591853842243e-12, 5.718960647507428e-12, 1.0844191756105919e-11, 4.526138091305915e-12, 3.5663327187422617e-12, 4.0705308412081035e-15, 4.072422436910855e-15, 2.9795835191799464e-12, 4.070551382301598e-15, 1.5512599112866262e-11, 1.1487300658943915e-12, 4.073456469117172e-15, 1.1946873635888024e-11, 5.5391230560090225e-12, 2.9070569797110075e-10, 6.707380720756561e-12, 1.1098241884690202e-11, 9.567424390251068e-12, 3.9614172763430294e-12, 1.0715357158920973e-11, 4.076283533043881e-15, 3.8894747247135785e-12, 3.4009517499997095e-11, 1.2627856771807781e-11, 5.683059049500206e-12, 3.1842555627194007e-13, 1.903180016237794e-11, 6.544563831601444e-08, 5.6577968210248565e-09, 2.084817687026058e-11, 1.7236826140086059e-12, 1.7815613858042506e-07, 2.153399664524704e-06, 1.5223146201144167e-06, 1.956301744154708e-06, 2.4176112694589024e-07, 7.079879107817303e-09, 3.638524257593297e-08, 2.004594230514911e-06, 7.984363755621741e-06, 2.1136130614353936e-05, 3.383503777023526e-05, 3.447586862493654e-05, 1.900128434760866e-05, 1.704435348855528e-05, 1.8339368303021045e-05, 1.379175074250486e-05, 1.3687652183778326e-05, 1.1576830839830404e-05, 1.0397809610143458e-05, 1.7717751485995912e-05, 2.5530822762874166e-05, 1.714513322328664e-05, 1.8223784030854513e-05, 4.027932191242916e-05, 4.03797712005824e-05, 3.092491887774336e-05, 1.6454738743570476e-05, 5.422085538416406e-06, 1.465287786032342e-05, 3.368379104001184e-05, 3.8189350517915755e-05, 2.8116231492393397e-05, 2.0055410348251127e-05, 2.8729723570355967e-05, 4.622376900935749e-05, 5.034270828235601e-05, 4.2760272173330115e-05, 3.7275654337816404e-05, 2.065097376215259e-05, 1.5789046011930964e-05, 2.2570242837596727e-05, 3.3515171132087966e-05, 1.9195741814194715e-05, 1.3493672810373159e-05, 1.1653923247513046e-05, 6.915537611958804e-06, 8.12558377154561e-06, 1.1340919073151004e-05, 1.7918950886097838e-05, 2.117222329038597e-05, 2.724813411504204e-05, 3.606085399816361e-05, 4.4315311194788104e-05, 3.585974721838739e-05, 2.1568506460832485e-05, 3.0353922077163116e-06, 1.6868787076955007e-07, 1.48803759657002e-09, 1.3649508696139608e-11, 2.271273765978158e-11, 6.328850203653985e-12, 1.8163263840528042e-09, 5.124139735277733e-08, 2.5918133220006964e-06, 1.0449251583440349e-05, 1.0300995889397834e-05, 6.868471280197115e-06, 9.133951834188567e-06, 3.566250683166123e-06, 2.8920976062884124e-07, 4.69362431789484e-09, 3.520311902685145e-08, 8.105972889871459e-08, 4.078150823508641e-15, 4.3063966117270226e-14, 3.553532688519255e-11, 1.7573776971589278e-08, 5.548219093315359e-07, 4.039010224640001e-06, 5.120262667492019e-06, 4.799715089578864e-06, 3.408340325153212e-06, 2.0110971448401236e-06, 1.514810184019511e-06, 1.0996206179779533e-06, 8.295182616697322e-07, 5.577312990171693e-07, 7.132372770629591e-08, 4.079924342352662e-15, 2.113700419758482e-12, 1.1284570694457354e-11, 4.066382628415633e-15, 2.526388895987564e-13, 1.4527022217594862e-11, 5.525528132451775e-12, 7.794772625027054e-07, 1.7054291820222367e-06, 2.048641445731983e-06, 4.4417920932807194e-07, 7.518397484163072e-12, 1.3487650198014892e-10, 4.071111595587303e-12, 4.0584353090695865e-15, 4.069038862949304e-15, 7.311919923375863e-12, 3.4181187401256882e-12, 4.056684502235009e-15, 7.550487164667855e-12, 1.1361062866851956e-11, 1.0470638677295458e-11, 3.585651837320506e-12, 2.388843537593866e-11, 1.1705392040246584e-11, 4.071390056179046e-15, 1.027914649056353e-11, 4.0716219180274195e-15, 4.0725432226365995e-15, 2.7750661310628286e-09, 5.182404767551127e-07, 2.272366807762682e-06, 4.530567449555676e-06, 6.8108691908909174e-06, 8.82812260819342e-06, 8.122665746403785e-06, 6.490642112191034e-06, 4.652747007951163e-06, 4.5797175185332155e-06, 4.713579657167799e-06, 5.5268007024414545e-06, 5.459529733198473e-06, 4.071282368080948e-06, 1.179846487963869e-06, 8.650598053196408e-11, 1.0377374027839909e-11, 4.073539758488643e-15, 4.0672023934408494e-15, 1.0494104845586331e-11, 8.78145115006002e-13, 4.0655669566575436e-15, 1.2310756518325582e-11, 1.344046011295643e-12, 5.6705749783422255e-12, 4.071835427152386e-15, 9.196430820737078e-12, 3.4722849914499456e-12, 4.064413819497911e-15, 4.063687260538819e-15, 1.4576986946497677e-12, 1.3256749584732048e-11, 8.578284986379356e-12, 1.4845062393854946e-10, 3.575083939016881e-12, 5.779389761694601e-13, 3.3606790982498337e-12, 6.956392650741493e-12, 2.0464093997964942e-10, 1.616874804758577e-12, 4.053289145133122e-15, 9.874528942478576e-13, 4.0507488262103706e-15, 2.143186368165794e-12, 2.3065257970602597e-12, 8.349034991091702e-12, 1.0910840879347313e-11, 7.350201129129481e-12, 4.056463678298728e-15, 4.0561188109156714e-15, 4.494307453140695e-12, 4.660099454828615e-12, 6.387905833624915e-12, 4.055726369822526e-15, 4.0536811680290474e-15, 4.060597134974511e-15, 4.058362968254779e-15, 5.962963218415575e-12, 1.7820131358460758e-12, 4.094640152027381e-12, 4.1038011715614775e-12, 1.5314949939125131e-12, 8.237702798796968e-12, 7.523319693359932e-11, 4.0622942068290734e-15, 2.8290521528248993e-12, 2.4794821958844532e-12, 4.0515625843483546e-15, 4.056466753093386e-15, 9.981192299780652e-12, 4.0620428458025495e-15, 3.670806023174432e-12, 4.060498534846143e-15, 4.060277258020068e-15, 3.4589653070366985e-12, 4.051825656286831e-15, 2.7177822739687605e-12, 6.300652589385223e-12, 1.1984558846138706e-11, 4.055915858164133e-15, 4.0695396873753836e-15, 6.52034887508477e-12, 2.3727384664287195e-12, 1.0382584443519326e-11, 4.0648524059287584e-15, 4.063631660324919e-15, 4.060582211467308e-15, 4.041920799952785e-15, 4.048641971025218e-15, 1.4037075494575017e-12, 4.042888517594118e-15, 4.0347037032845975e-15, 1.986937916085263e-12, 4.035533037883622e-15, 2.169633585667488e-12, 2.9193016440349405e-12, 1.6487685722048875e-12, 6.40134930215889e-12, 5.385335790392129e-12, 5.349833381265584e-12, 2.6958087725031772e-12, 8.375293493641695e-13, 3.0889689394443693e-12, 5.8365025488045955e-12, 1.3992504206640586e-11, 1.9223641388585806e-12, 2.9670271537094785e-13, 4.051769873441133e-15, 4.054448739489646e-15, 1.0291863073094314e-11, 1.0101141014529127e-11, 8.426648851235985e-12, 2.224501283665234e-12, 7.989306448054995e-11, 4.357189442073965e-12, 4.051634511453e-15, 4.052749022612786e-15, 4.053494225980767e-15, 1.3105827642598864e-12, 4.051542302269685e-15, 6.455908285720775e-12, 6.075794475373445e-13, 4.052051922133256e-15, 5.920017843264484e-12, 2.0357134103017954e-12, 8.796091739067841e-12, 4.063715728240193e-15, 4.057436566186673e-15, 4.0536711861884024e-15, 2.1903699593876276e-12, 1.6444369543715537e-12, 4.051340916885605e-15, 2.341278751612233e-12, 4.05471254380346e-15, 4.0587204769595066e-15, 4.058385881718565e-15, 1.4582979733897164e-11, 3.92460285148894e-12, 4.062594020327621e-15, 4.067509946627956e-15, 4.068602072945133e-15, 3.5864775736584363e-12, 3.0938234059337868e-12, 3.745402644709966e-12, 5.930555558009876e-12, 4.054043073656231e-15, 4.056744615391129e-15, 7.744962138191653e-12, 4.069142731456579e-15, 4.0523421969486855e-15, 5.075349722004138e-12, 2.0977083483900596e-12, 2.1147498009704674e-12, 4.056963438615212e-15, 8.683149058599504e-13, 4.051338808645679e-15, 4.053355139003377e-15, 4.0593628957368024e-15, 9.204625625905861e-12, 8.330341844536857e-13, 4.053103077530725e-15, 4.046982160902659e-15, 4.695026432812294e-12, 1.0033326892496082e-12, 1.6578253321551898e-12, 4.0580900788044005e-15, 1.3228480860108101e-11, 1.2184873974547427e-12, 4.050496494459821e-12, 7.13066477538956e-12, 4.068276447900163e-15, 8.167337035456864e-11, 9.828153621272355e-12, 4.071212726187835e-15, 4.0712111780456846e-15, 4.069611197827223e-15, 4.065181561518777e-15, 1.1741819137995089e-12, 7.001783362819022e-12, 8.898549155985152e-13, 3.702216386904338e-12, 3.898020821500601e-12, 1.2837820199232751e-11, 5.673447572299109e-12, 1.1044573669413427e-11, 9.62252400450431e-12, 5.281483120368072e-12, 1.1202366180138388e-11, 4.0703199066361435e-15, 9.623001461320798e-13, 4.979020992845419e-12, 4.065213745378384e-15, 2.4587722722710368e-12, 2.839294463951076e-13, 1.470342729127581e-11, 4.0581698773223326e-15, 4.064504813272136e-15, 9.362197376274857e-12, 9.505681459268849e-12, 1.8136034629149476e-12, 4.0676136119965036e-15, 4.0704858814140335e-15, 7.187001285435804e-12, 1.8670659683911552e-11, 6.279823777163746e-12, 4.0753769581243855e-15, 3.994663093759714e-12, 7.699560202556563e-07, 3.014622050484176e-06, 1.9178662430250954e-06, 2.06495444373468e-06, 6.265686600763334e-06, 6.56621723436555e-06, 8.581341552369288e-06, 8.764537251233164e-06, 1.1258240685881998e-05, 1.3184014292702123e-05, 1.2612836954204346e-05, 9.686929163577547e-06, 8.620976762352692e-06, 8.356496067909533e-06, 1.021257702196121e-05, 1.5263952588589013e-05, 1.9613685359244725e-05, 1.9851163789788105e-05, 1.9738399798972936e-05, 1.8889816419665042e-05, 1.7948812667017354e-05, 1.5783730182548446e-05, 1.8733020035899272e-05, 2.1613624855282453e-05, 2.423586972544262e-05, 2.3599899445637835e-05, 2.2867679381403243e-05, 2.4377824321990154e-05, 2.6630159120427684e-05, 2.567909290196158e-05, 2.4236938717259157e-05, 2.5543543934274987e-05, 2.6687706474879954e-05, 2.649317081022943e-05, 2.6942982701070143e-05, 2.7705112227029515e-05, 2.471580773196625e-05, 2.242491413172594e-05, 2.3653394355501662e-05, 2.491899806707226e-05, 2.3649649321554356e-05, 2.195272520849211e-05, 2.3276655867397693e-05, 2.4215557579228907e-05, 2.1830415007004598e-05, 2.0354747917586647e-05, 2.0291264724578507e-05, 2.009146747903722e-05, 1.9154946228280297e-05, 1.9108686291698185e-05, 1.763537368062284e-05, 1.607249620188741e-05, 1.5275442302366335e-05, 1.4351996342401058e-05, 1.1936723860329958e-05, 1.2182355194334838e-05, 1.4710425561886055e-05, 1.6337830384983624e-05, 1.5052986687094602e-05, 1.3701301622868785e-05, 1.321450955568807e-05, 1.241649549215356e-05, 1.1060301057562666e-05, 9.706675989928039e-06, 8.895889424384581e-06, 9.483260102009653e-06, 1.1508393111393668e-05, 1.3247468658824646e-05, 1.1965047611021135e-05, 8.257030586305777e-06, 3.7273291722284366e-06, 1.6277805106141534e-07, 1.862306231696364e-12, 3.2799158281404476e-07, 4.505287208575886e-06, 5.909809326020369e-06, 4.291784964129123e-06, 3.971270556716581e-06, 2.2091971895009914e-06, 5.730579129750828e-07, 5.394423358602694e-10, 4.351861146266054e-12, 3.454957557996785e-12, 2.6713699426060536e-12, 2.0055718692651696e-11, 7.062744906030902e-12, 1.1926161151989922e-11, 4.075603146540881e-15, 2.4714879884141084e-13, 4.076300663811179e-15, 3.7347370096564976e-10, 2.672875309794951e-06, 6.1280496644313085e-06, 7.406824245542455e-06, 5.457893520674753e-06, 4.184235499182949e-06, 2.8977596040838262e-06, 1.1613431154956937e-06, 2.809696449834783e-06, 4.5250075589895644e-06, 4.294240795817394e-06, 3.4066744148386207e-06, 1.54237732847984e-06, 5.679024438006419e-07, 4.590499875568855e-11, 6.653556375808909e-12, 7.0970017538739675e-12, 3.378823907529803e-12, 4.07570675738042e-15, 1.4401440138228109e-12, 1.9024918281261747e-11, 1.934344164996414e-09, 2.3502905087711384e-06, 2.584850574824762e-05, 3.538145632177152e-05, 3.5228052950159525e-05, 2.906163330737776e-05, 1.9186357099349757e-05, 1.45892742558064e-05, 2.2966225839235435e-05, 2.5118378435849378e-05, 2.464452864551178e-05, 2.4126111607820115e-05, 2.111744918620292e-05, 1.0017489005192658e-05, 9.82389868896652e-06, 7.74523166786245e-06, 6.486630022632049e-06, 6.64641291167597e-06, 8.304364908106641e-06, 1.1778258478167843e-05, 1.3546189039883135e-05, 1.3367646095434919e-05, 1.2189798652699434e-05, 1.224858229871822e-05, 1.486624239275959e-05, 1.4996447931586064e-05, 1.5422534503147843e-05, 2.04754707631022e-05, 2.2707803783771676e-05, 2.4255761761153994e-05, 1.9984971390939956e-05, 1.4302881865142474e-05, 1.3230153361463074e-05, 1.7883706981888517e-05, 2.2920361399369402e-05, 2.1888882012776527e-05, 2.584307064482216e-05, 2.9369125638994688e-05, 3.109903604226959e-05, 3.219823885047603e-05, 3.255473887380909e-05, 3.470419546700747e-05, 3.5485863276591986e-05, 3.407076395424201e-05, 3.289714424458871e-05, 3.4552319183257025e-05, 3.6847641772806706e-05, 3.914116610306439e-05, 3.864654433934809e-05, 3.557318465790987e-05, 3.180989484007566e-05, 3.086677173054714e-05, 3.2584418381571716e-05, 3.545439208491126e-05, 3.646590852540177e-05, 3.536986137169019e-05, 3.4727903073754227e-05, 3.775607302824176e-05, 4.335686484598523e-05, 4.819455492337426e-05, 5.052114989701719e-05, 5.202357561117944e-05, 5.2615937397139956e-05, 5.079806827532684e-05, 4.7471451026342515e-05, 4.7583369578117575e-05, 5.481080862135197e-05, 6.268120376752854e-05, 6.134407370780149e-05, 6.137299770306893e-05, 6.219948318166612e-05, 6.46766337957524e-05, 6.457572098082491e-05, 6.354022749967756e-05, 6.218984629396214e-05, 6.0574796179347216e-05, 5.75924343805432e-05, 5.4426761010240187e-05, 5.279140857746278e-05, 5.238351519925835e-05, 5.147297805229326e-05, 4.8749669313602436e-05, 4.63083569483347e-05, 4.5841812030570244e-05, 4.842140981744247e-05, 5.1444796332756265e-05, 5.4036107825966094e-05, 5.561711185693361e-05, 5.865894763406516e-05, 6.346064342325103e-05, 6.313634599800027e-05, 6.239805432451114e-05, 6.461765251400959e-05, 6.6939265294677e-05, 6.723102198634786e-05, 6.598223584947987e-05, 6.564915984950734e-05, 6.66673910456059e-05, 7.05025399512941e-05, 7.329130023018885e-05, 7.220725697051802e-05, 6.728607066924389e-05, 4.963439198433857e-05, 4.0682679867938464e-05, 8.264448013338692e-06, 6.422475268733084e-08, 9.897783901975767e-12, 3.146483378028428e-11, 1.6683350436885078e-11, 1.711578410152754e-11, 4.079452100927357e-15, 7.435531110234962e-12, 4.075306123490035e-15, 1.1080208504787736e-11, 4.075139438152121e-15, 4.07465777711091e-15, 4.072246693727369e-15, 4.0707829091264325e-15, 1.5004721794171597e-11, 1.1871338640487818e-11, 9.826112059712176e-12, 1.0136007908138007e-11, 4.070212320704803e-15, 9.118640359684028e-12, 4.067784850828566e-15, 4.067268357607826e-15, 4.065893438694734e-15, 1.3139169859506666e-10, 4.069299263827424e-15, 4.0699585837974334e-15, 4.06884932863304e-15, 9.519254442870294e-12, 8.193946852190534e-13, 5.1302919901610145e-12, 9.602369694826254e-13, 4.2307739204950124e-12, 3.765425152975443e-12, 3.3515505658681536e-12, 8.969664413190163e-12, 2.9819455051587213e-13, 1.84748973384422e-12, 3.0098458021658587e-12, 4.48348677926629e-12, 4.063528940782356e-15, 4.678915254438286e-12, 5.7600373330010315e-12, 1.734250211967981e-12, 4.06523943112366e-15, 6.992955112968517e-12, 8.769344016308667e-12, 4.0712222491749015e-15, 4.071102746082586e-15, 1.6072450695416498e-12, 3.025051413714217e-12, 4.074522139495706e-15, 1.0353248755880482e-11, 1.1792795567411152e-12, 4.071327314660937e-15, 5.2356320979221845e-12, 4.069801844601707e-15, 8.215247169174006e-12, 4.0683329066449744e-15, 2.1982497504718444e-12, 9.240069587297278e-12, 8.2384277099781e-12, 4.070985245162167e-15, 4.616084661777861e-12, 1.4924453052250799e-12, 9.834470393085439e-13, 7.752040228579592e-12, 1.2873495011849108e-11, 4.064657799777734e-15, 4.064251078333382e-15, 1.2459130487282397e-12, 6.950756198308638e-12, 1.0621208061227666e-11, 9.971597152990906e-12, 4.832377294104748e-13, 7.50725104625796e-12, 3.0934352489467344e-12, 4.0676574802205134e-15, 1.8346637656161852e-11, 4.0695743156915095e-15, 1.6690571864170365e-11, 1.1090389465818668e-11, 4.0158016796599665e-12, 1.7067089255968866e-12, 4.069116694038451e-15, 1.4278136384783979e-11, 1.881624875240062e-12, 9.314676925450465e-12, 4.070936135881142e-15, 4.070944057578047e-15, 1.179475761682483e-12, 4.070450100204603e-15, 4.069258252819242e-15, 4.071479063371047e-15, 4.5798932327237425e-12, 7.535223864767064e-12, 4.076287417249008e-15, 3.942876138509142e-12, 4.076773852504553e-15, 4.968321438832988e-09, 3.79598267965434e-08, 1.9585603571085475e-05, 2.0381470492419256e-05, 1.8894240897418745e-05, 1.006400210312838e-05, 3.385450475045215e-06, 5.438857807146872e-06, 1.5361389435693106e-05, 1.92365330845113e-05, 1.6390809377035419e-06, 4.18992027473284e-09, 2.83110539492783e-11, 1.820128231099255e-10, 1.6999316896691682e-06, 2.0614171923260384e-05, 1.4184889262226229e-05, 1.5389841837217833e-05, 1.8794393909748898e-05, 2.422971697899706e-05, 2.564280356704431e-05, 2.612946278839733e-05, 2.623574720072337e-05, 2.4645963275244308e-05, 2.2575559606908765e-05, 2.214193431922323e-05, 2.2551737736671914e-05, 2.2027672156528188e-05, 2.1332938025033555e-05, 2.0190803375538872e-05, 1.8460389114076724e-05, 1.964521167710026e-05, 2.3715106224147384e-05, 2.5195257839284667e-05, 2.4186910629602945e-05, 2.4343401173688254e-05, 2.4703669110300783e-05, 2.5239444343114187e-05, 2.0333843567607623e-05, 1.9177220353086417e-05, 1.7029932456869082e-05, 1.815003254920765e-05, 2.4170737640131587e-05, 2.4821941272515103e-05, 2.3987273175785153e-05, 2.7051836867054796e-05, 3.22750720825436e-05, 3.39530075724238e-05, 3.814241820477657e-05, 4.2707415823803555e-05, 4.285314412393122e-05, 4.203478097986726e-05, 4.119652784499946e-05, 4.2443336879489114e-05, 4.466993992990675e-05, 4.652228260005765e-05, 4.676827016836745e-05, 4.708925431739883e-05, 4.67158204125191e-05, 4.645909547201377e-05, 4.738413103782935e-05, 4.5961324388922485e-05, 4.4897199786411455e-05, 4.5676152251498736e-05, 4.513704206020939e-05, 4.6509561121699145e-05, 4.881588864642357e-05, 5.116175090571776e-05, 4.407997711551409e-05, 4.167735189221255e-05, 5.3390117504865174e-05, 5.3227157251873324e-05, 5.1567575460191234e-05, 4.799064352908669e-05, 4.961612004104578e-05, 5.3260443834571195e-05, 5.681987854991773e-05, 5.6856253351978806e-05, 5.466644069476252e-05, 5.386586252142355e-05, 5.562808969263081e-05, 5.438612787414009e-05, 5.09885832357576e-05, 4.948411499746389e-05, 5.0737741651460805e-05, 5.355575122200244e-05, 5.4816906654239226e-05, 5.554593883189067e-05, 5.5880604462549784e-05, 5.658520012326375e-05, 5.7170042698419226e-05, 5.4515701385339445e-05, 5.333796397320373e-05, 5.3672131711124467e-05, 5.424253439573793e-05, 5.437164938014168e-05, 5.11874100387313e-05, 4.799837689598995e-05, 4.459654515868893e-05, 4.2857895170054544e-05, 4.132858912181294e-05, 4.245695250498482e-05, 4.203461315428576e-05, 4.138431978550601e-05, 4.067004699630002e-05, 3.9666983070918164e-05, 3.756729551637908e-05, 3.8333025634159245e-05, 4.316328315007999e-05, 4.864853288571752e-05, 5.338370211633006e-05, 5.707401930695461e-05, 5.732259576494171e-05, 5.5148231510236716e-05, 5.4220703852373384e-05, 5.447454629897282e-05, 5.4959063349340104e-05, 5.693934872318801e-05, 5.9711925452463284e-05, 6.066393810810267e-05, 6.213163309683488e-05, 6.540631310245473e-05, 6.961358040847092e-05, 7.262981609866265e-05, 7.02486617201472e-05, 6.933846119401345e-05, 6.850038531645112e-05, 6.708791766201948e-05, 6.432386424570274e-05, 6.10061141703652e-05, 5.8361860049963334e-05, 5.658873565810473e-05, 5.6505852535904037e-05, 5.5589754674235754e-05, 5.2531113993284426e-05, 4.989117284712472e-05, 4.8645421524076385e-05, 4.9863947641987634e-05, 5.127928331839842e-05, 4.731503283886782e-05, 4.585562202955705e-05, 4.612473197600145e-05, 4.734790488357797e-05, 4.9510982249629905e-05, 5.5026208379595424e-05, 5.878127122242983e-05, 6.092212830138282e-05, 6.032911299355445e-05, 6.422384432431786e-05, 6.798644764700239e-05, 6.835757437701254e-05, 6.93476941678894e-05, 6.907199978651098e-05, 6.35437509937109e-05, 6.120052309867502e-05, 6.074373357028801e-05, 6.305047720503913e-05, 6.65511785705543e-05, 6.467355962115868e-05, 6.187455696091582e-05, 5.981920766451648e-05, 5.737707049736508e-05, 4.918770668330695e-05, 5.066793183952647e-05, 4.984012616115081e-05, 4.6765353083721105e-05, 5.144482670962198e-05, 4.905597962859053e-05, 4.07775497243212e-05, 3.070677606959681e-05, 3.433181985040121e-05, 3.295877001643049e-05, 2.8433563016245384e-05, 2.6182192239565142e-05, 2.4223398315425258e-05, 3.0771975162980185e-05, 3.0019389400919243e-05, 2.8249393430079002e-05, 2.7504323035033692e-05, 2.7856821915222896e-05, 3.2745918868017494e-05, 3.739919576782492e-05, 3.692830554197774e-05, 3.60809080068237e-05, 3.630485599988144e-05, 3.6792360117866465e-05, 3.59447936043212e-05, 3.4303112220446816e-05, 3.4690946136827564e-05, 3.011101563228169e-05, 2.5878997060463112e-05, 2.5943907500718302e-05, 2.6650855465607387e-05, 3.29473259732376e-05, 3.580881492979342e-05, 3.618696727114518e-05, 3.5088953569290356e-05, 2.648999250618313e-05, 2.7354155874466413e-05, 2.9581078416206485e-05, 3.0972914428571825e-05, 2.6412178423544372e-05, 2.491713638928118e-05, 2.3846076339267415e-05, 2.238130447894764e-05, 2.150397318210565e-05, 2.111881753151912e-05, 2.0939853846568716e-05, 2.136472279314906e-05, 2.1218248252613595e-05, 2.0543457526561345e-05, 1.9671452222977556e-05, 1.981295868285507e-05, 1.9995784953246754e-05, 1.9638819021241375e-05, 1.8669643197645373e-05, 1.5284785414845003e-05, 1.405710831898394e-05, 1.3365674048927012e-05, 1.1844306759092143e-05, 1.0802345014422108e-05, 1.0796734040033126e-05, 1.1324058750770667e-05, 1.0711998627529698e-05, 1.0794166677097815e-05, 1.2539632120761645e-05, 1.3424174228959882e-05, 1.3576562502741523e-05, 1.220656060437803e-05, 1.1333940196503701e-05, 1.317353638670402e-05, 1.6860525404645688e-05, 2.2613309587219025e-05, 2.1583726388949804e-05, 1.99324352937731e-05, 1.9260619856583866e-05, 1.5361851472879675e-05, 1.460755702270522e-05, 1.7697053774096667e-05, 1.8511389354438508e-05, 1.64734754556103e-05, 1.0979120816753524e-05, 9.326100499132779e-06, 1.2082644549671921e-05, 1.5142944272837963e-05, 1.6100524601957576e-05, 1.1391281594017635e-05, 7.6081864750498416e-06, 5.118277582714036e-06, 6.5738815334213935e-06, 3.932965906874436e-06, 1.2085986722665672e-06, 2.6595744016071643e-06, 4.575768129100685e-06, 6.0850618568317255e-06, 1.1855367464545843e-05, 1.288101584130445e-05, 1.2107568421254589e-05, 8.996254467465191e-06, 1.8768833425174883e-06, 1.1268730949655737e-08, 8.117059583833067e-11, 3.802773233490326e-09, 1.674638527979105e-06, 1.0220580301313223e-05, 6.2166577793368535e-06, 5.523003946430166e-06, 9.50401710725671e-06, 4.16748144028932e-06, 5.996870233961615e-06, 1.4184470177839154e-05, 2.5232559822244715e-05, 1.940212506179336e-05, 2.015091738916333e-05, 2.462173879349897e-05, 2.3827990242814207e-05, 2.1034313069982846e-05, 9.131316812210632e-06, 8.644025968166045e-06, 1.1783357316827206e-05, 1.4209885982024083e-05, 1.4167876697168953e-05, 7.555700895125053e-06, 4.216855648313015e-07, 9.825398747556719e-11, 8.475339924236558e-12, 1.0957558679029776e-11, 4.076636083549713e-15, 2.2056049261358238e-11, 3.31320621659588e-11, 5.579318342395091e-07, 7.486529589780635e-06, 1.2222600074194471e-05, 1.1961744688950617e-05, 1.14127244032485e-05, 3.3097703191290057e-06, 5.637660389887302e-08, 1.0982862100385328e-08, 7.598324131544223e-07, 1.3113532904061936e-05, 1.4199392918713642e-05, 1.1383003238972513e-05, 6.5446649795530375e-06, 1.0764220358037234e-05, 1.2980549763031238e-05, 1.2003461769512557e-05, 1.1249218728112074e-05, 1.08534258155936e-05, 1.1265743418354694e-05, 1.2404731863815626e-05, 1.376502995292285e-05, 1.5843854623637704e-05, 1.6720743942647177e-05, 2.0687827949222413e-05, 2.2621665738252163e-05, 2.6189580679569298e-05, 2.6957046361865677e-05, 2.619356861869119e-05, 2.9729331930159824e-05, 2.9244334277782968e-05, 3.141433642035972e-05, 3.3727604110819424e-05, 3.471785426775531e-05, 3.364596576655136e-05, 3.18430651153066e-05, 3.362676268248424e-05, 3.738774558524058e-05, 3.859408988639043e-05, 3.8430687709034504e-05, 3.632018358207459e-05, 3.4979825788352505e-05, 3.367671450752382e-05, 3.279125838188818e-05, 3.5257275138897076e-05, 3.9660419188286516e-05, 4.156956480072729e-05, 4.233205325449377e-05, 4.457801955838091e-05, 4.7216976278190475e-05, 4.833445085650971e-05, 4.696249387296225e-05, 4.625747677923334e-05, 4.752869847959255e-05, 4.89871078821234e-05, 4.786087470259855e-05, 4.347142907701048e-05, 3.871421287179558e-05, 3.688953960584925e-05, 3.5164112920399076e-05, 3.525021852879281e-05, 3.5633791249542655e-05, 3.522672477558463e-05, 3.371615454044269e-05, 3.464012172238273e-05, 3.540790933368282e-05, 3.752773040232992e-05, 4.0218104720936946e-05, 4.3677666806914604e-05, 4.330657915072158e-05, 4.2196487579872304e-05, 4.145861428918042e-05, 4.203470561877367e-05, 3.907737431840861e-05, 3.662245086367508e-05, 3.730808713090346e-05, 3.814934409489993e-05, 3.9813335546522676e-05, 4.0382433633561636e-05, 3.936891686796192e-05, 3.862381879988515e-05, 3.493390318974192e-05, 3.606112311306215e-05, 3.92941399014098e-05, 3.833826780582874e-05, 3.8700105441202724e-05, 3.956489585010972e-05, 3.906287020319878e-05, 3.9551036442806666e-05, 4.122579205252468e-05, 4.086959441330985e-05, 4.1777012799341255e-05, 4.1415907614932195e-05, 3.9619092796967255e-05, 3.8611706354532746e-05, 4.057525849794504e-05, 5.240477520881709e-05, 5.732974512800666e-05, 5.211702931267986e-05, 4.2178408968958025e-05, 3.7424095739246886e-05, 3.867513107115723e-05, 4.437390047562849e-05, 4.1208133840087656e-05, 3.7443465671336385e-05, 3.7812321867414235e-05, 3.705275142868625e-05, 3.5520916715333796e-05, 3.351607248070489e-05, 3.07205020276564e-05, 2.6786573675491016e-05, 2.4145388886262666e-05, 2.245445854282507e-05, 2.309785040448478e-05, 2.5677368899402516e-05, 3.256710899882053e-05, 3.4958830225446665e-05, 3.255673309855044e-05, 3.6714327838830344e-05, 3.64405531236565e-05, 3.6759681257024126e-05, 3.718813160382233e-05, 3.7245636764537806e-05, 3.601356943768614e-05, 3.42173569167591e-05, 4.081626916103739e-05, 3.46614516782125e-05, 3.521696769738783e-05, 2.8948110989070773e-05, 2.9287528673903794e-05, 4.58515355503489e-05, 5.647046961051148e-05, 7.083020270222104e-05, 7.1603870819284e-05, 6.84983898068165e-05, 6.225689589216018e-05, 6.240414206130995e-05, 6.953010276154934e-05, 7.271865550810779e-05, 6.042930301771976e-05, 5.047160668530613e-05, 4.4955484327816024e-05, 4.545178260564386e-05, 4.75149699398854e-05, 5.038507990262935e-05, 5.076566010969603e-05, 4.681784786876742e-05, 4.145779181695541e-05, 4.130656274602323e-05, 4.4857639746431626e-05, 4.5475063806961065e-05, 4.5618895699395414e-05, 4.694706088210166e-05, 5.0598401076642674e-05, 4.9515806383678835e-05, 4.691824638968252e-05, 4.397832060033265e-05, 4.226814878727081e-05, 4.561662076819818e-05, 5.2618231399060087e-05, 5.3030712889531504e-05, 5.45907093244119e-05, 5.3735754749965034e-05, 5.404902169569345e-05, 5.3481351467142226e-05, 5.8060540134434564e-05, 5.7633984641308906e-05, 5.648710239174695e-05, 5.148997480305607e-05, 4.8143270312328026e-05, 4.767336066893655e-05, 5.278151259768449e-05, 6.62759884486031e-05, 6.875139201801746e-05, 6.748967082857185e-05, 7.810373666316654e-05, 8.586741788993233e-05, 8.070073876910005e-05, 7.562883663998425e-05, 7.633334491188183e-05, 7.7820431730599e-05, 7.802714757366912e-05, 7.713598920313078e-05, 8.724481730070771e-05, 8.4247200897702e-05, 6.678655671959301e-05, 6.0976197510023514e-05, 6.053804878138924e-05, 6.101283325070032e-05, 6.148768377879478e-05, 6.021912256779108e-05, 5.871661515590222e-05, 5.820495388924432e-05, 4.924058688171244e-05, 4.530279928463668e-05, 4.5814393415176906e-05, 4.607555856993982e-05, 4.336070289628359e-05, 3.06921035199981e-05, 2.5963444293645194e-05, 2.9525350617283653e-05, 3.8388226037760814e-05, 4.274977663530336e-05, 4.242728076951681e-05, 3.7953483490027224e-05, 4.4838641381829774e-05, 5.2076421257792444e-05, 5.3073807824386084e-05, 5.45117026748236e-05, 5.680669724671555e-05, 5.8749599465634856e-05, 5.979008526432876e-05, 6.013509987826807e-05, 5.9714747559095055e-05, 6.065312432672018e-05, 6.068485899904054e-05, 5.936687207101418e-05, 5.145839086935437e-05, 5.014878346426635e-05, 5.5942180953080984e-05, 5.211713110272391e-05, 5.333083412655906e-05, 5.2766513792531763e-05, 5.1372940776848014e-05, 5.0911415087292786e-05, 5.2129673589309285e-05, 5.307183617457746e-05, 4.3631586231886585e-05, 5.264929923955168e-05, 5.47078556291942e-05, 5.7426722509052636e-05, 5.7078560345739486e-05, 3.544187346425756e-05, 1.8704082106311512e-05, 2.403751734512747e-06, 2.7696689276329627e-06, 5.401011819125661e-06, 1.1481277736541089e-05, 1.3650399295934051e-05, 9.53568447614324e-06, 7.681606749622821e-06, 2.299158778641527e-05, 3.491910321717031e-05, 3.8636686983989e-05, 3.7073667347731176e-05, 3.599956936749469e-05, 3.55132599427772e-05, 3.441928109005803e-05, 3.334566338596537e-05, 3.381809749405771e-05, 3.3672419797142434e-05, 3.315394659974955e-05, 3.464365362956986e-05, 3.6743901403868374e-05, 3.904514423203817e-05, 3.856138730167742e-05, 4.2258854116938215e-05, 4.4086915340925477e-05, 4.449999758568872e-05, 4.483164716590993e-05, 4.0917434608835595e-05, 3.395030300345603e-05, 3.47353782095854e-05, 3.469190780625352e-05, 3.8310789449258106e-05, 4.01552606177328e-05, 4.166687687954824e-05, 3.596994652458095e-05, 3.769286202908383e-05, 3.878662769395906e-05, 4.170793998066069e-05, 4.263642384502223e-05, 4.240716500439385e-05, 3.652103790744366e-05, 2.405953881830836e-05, 2.7931001280321336e-05, 3.270859126123608e-05, 1.9539587741661747e-05, 7.406016493178166e-06, 9.449300896868213e-06, 1.333456220942118e-05, 1.149206441323587e-05, 9.441177049793871e-06, 9.645336140912863e-06, 1.3417917231961611e-05, 6.23560718434234e-06, 1.398023320674512e-05, 3.5797119957713464e-05, 4.127571137446074e-05, 3.966777120114862e-05, 3.730971225082452e-05, 3.6379625625270765e-05, 3.688584990530529e-05, 3.5699244952575596e-05, 3.196067212241149e-05, 4.0824075622120214e-05, 4.657189946133453e-05, 4.744744120496193e-05, 4.829521596582948e-05, 4.8505129747314676e-05, 4.764756605890101e-05, 4.63216491822558e-05, 4.4979385696781924e-05, 4.266278513090822e-05, 3.9268589729941615e-05, 3.75775599301574e-05, 3.887829651464166e-05, 4.0106190781527144e-05, 4.094529705784635e-05, 4.218012594626649e-05, 4.453329280226463e-05, 4.560199304177471e-05, 4.4626706200551795e-05, 4.275354847723343e-05, 4.162176579016788e-05, 4.138106912294133e-05, 3.984815443102308e-05, 3.865137664142456e-05, 3.971214305832632e-05, 4.045695228595539e-05, 3.995963685686048e-05, 3.933271043988885e-05, 3.9027867095262376e-05, 3.8369770877961005e-05, 3.917225055959142e-05, 4.136527700290708e-05, 4.112684631565727e-05, 3.875123058224235e-05, 3.68257527513806e-05, 3.525568893836901e-05, 3.3844361259345616e-05, 3.243992185935103e-05, 2.962987928028733e-05, 2.5642779888976918e-05, 2.4869839953504874e-05, 2.4240385461917903e-05, 2.2391185212595718e-05, 2.3279018201515926e-05, 2.4269197601617595e-05, 2.4832507339337905e-05, 2.3646743648352543e-05, 2.3440804317913564e-05, 2.4653900375789448e-05, 2.536055590061246e-05, 2.4353105927541636e-05, 2.2753855967357273e-05, 2.0308519267957415e-05, 1.7673030152774898e-05, 1.7064930138212584e-05, 1.7030002101221596e-05, 1.622456235698255e-05, 1.5195889005863412e-05, 1.463646711992536e-05, 1.5535858975998115e-05, 1.6486998683045056e-05, 1.7261345702680224e-05, 1.6392728544294688e-05, 1.3374360135761754e-05, 9.6821180798758e-06, 6.020111686527231e-06, 2.387066734483086e-06, 3.218447774878799e-11, 1.8321427917252078e-11, 2.6726893567719257e-12, 8.068710473353682e-12, 1.1487575637581728e-11, 4.064798255308797e-15, 5.3096496684546534e-12, 2.442580280928219e-12, 4.066880801170635e-15, 2.7626887407507155e-12, 2.220938498247605e-12, 4.06333211533192e-15, 8.68145571218539e-12, 2.8909968142810563e-12, 5.241362268592074e-12, 3.6043944228279686e-12, 4.053912802114555e-15, 9.371439955071963e-12, 2.007779016389027e-12, 4.42349617644589e-12, 4.048211330147858e-15, 6.15599876520131e-12, 4.042600726737889e-15, 3.4040540175355876e-13, 2.8276931216502403e-12, 1.1142371721364452e-11, 4.044435981456856e-15, 3.1180958075684774e-12, 4.0462253475560296e-15, 1.3478180539661205e-11, 2.093553531890708e-12, 9.14316370757546e-12, 1.176936468695354e-11, 4.054275112288601e-15, 6.564937680158653e-12, 5.919639185809968e-13, 4.059849315652083e-15, 4.0549329157208075e-15, 4.0536101367416676e-15, 6.6393681342040156e-12, 4.683191125268504e-12, 2.119715424007362e-12, 4.050530015721349e-15, 4.0489845921821886e-15, 4.047061332052477e-15, 3.7247952729989556e-14, 1.9007579233413046e-12, 3.2133483028877562e-12, 1.1452121062943242e-11, 3.4489377001144667e-12, 4.048585856442471e-15, 3.0710749525622943e-12, 5.277873839234886e-12, 6.5718936383131245e-12, 4.046477625505102e-15, 4.035399337981878e-15, 3.263929997854422e-12, 4.038141857473628e-15, 4.035152637534191e-15, 4.034943888066146e-15, 1.223381551439944e-12, 1.4913275662825975e-12, 4.026985276450765e-15, 4.027558696387404e-15, 2.001921063046966e-12, 6.794173847896607e-12, 4.030977136227974e-15, 4.03334570499435e-15, 4.03503711923491e-15, 4.039260342430217e-15, 1.713633291053251e-11, 4.0418481226290915e-15, 4.035132424408907e-15, 4.0151010867402976e-12, 4.030172506076627e-15, 2.828419209524647e-12, 4.213901406102209e-12, 9.925572617380847e-12, 6.095838196197343e-12, 4.0290449552602345e-15, 3.5200397680570336e-12, 8.122653898334114e-12, 4.031869196813686e-15, 5.224679098204026e-12, 2.9826776530343225e-12, 3.9714634240921605e-12, 1.0620024808770683e-11, 1.601651072112573e-12, 8.037110465873114e-12, 2.5151541297995788e-12, 1.856756606771051e-12, 4.037319762103217e-15, 4.038894609253644e-15, 1.0331243926809055e-11, 7.554894749872583e-12, 4.0534392487492e-15, 4.053689430481166e-15, 4.050646295401055e-15, 1.5840227875134935e-12, 4.0430807166311664e-15, 6.698366296347196e-12, 7.505692764164086e-13, 4.498254816224947e-12, 6.489500742990788e-12, 3.5308135217296704e-12, 2.220550284210883e-12, 7.565076796761411e-13, 1.790976582938392e-12, 6.604094847116894e-12, 4.057188923122813e-15, 4.0493942183136735e-15, 4.0566934349884134e-15, 4.05025913553829e-15, 6.275605572400295e-12, 4.051945355788337e-15, 4.0509068315259425e-15, 4.050804634671176e-15, 4.0485935336657884e-15, 1.528645481111787e-12, 2.031348655864433e-11, 9.262577278608352e-12, 8.47306865192922e-12, 2.1526759724314064e-13, 8.155918125920003e-12, 8.680187807481149e-12, 2.1985619187448527e-12, 4.045872710140377e-15, 4.046937020472296e-15, 4.0464078660724436e-15, 4.045811181106011e-15, 4.047883789852333e-15, 4.357483171354278e-12, 1.8490201682261782e-12, 4.049063035606795e-15, 4.049615501652257e-15, 7.537637680061179e-12, 4.900494660877752e-12, 2.697379675524045e-12, 8.351091413264669e-12, 1.61362858515551e-12, 3.751980523887281e-12, 6.256644798547701e-14, 4.8085825882480455e-12, 4.0475404961291725e-15, 2.8763441693687356e-12, 5.509538894851064e-12, 4.0461878075145746e-15, 1.0189411938141725e-12, 4.052010709323707e-15, 4.051464976868464e-15, 8.235575763027029e-12, 4.056027234199028e-15, 4.0577666573572555e-15, 2.735653841820623e-12, 2.255119180607416e-12, 4.058120877427387e-15, 5.049421947458254e-13, 2.517900425559873e-12, 4.047672879522191e-15, 6.721621315494472e-12, 4.044099500723307e-15, 1.1198611424007913e-11, 2.0821783027059406e-12, 4.796509408225865e-12, 4.042227700626885e-15, 2.41182982104805e-12, 9.173408290722684e-12, 3.5861365184480873e-12, 4.051190448922768e-15, 1.5513191690695539e-12, 2.335189639212857e-13, 1.804905725561369e-12, 1.179204652364496e-13, 4.061569241241209e-15, 7.293196306455392e-12, 1.85432438293848e-12, 1.0112531526508892e-11, 4.315327676583704e-12, 8.586952760496885e-12, 2.931073877618732e-12, 2.3071651180194517e-12, 6.157084816427061e-12, 4.3218537667373025e-12, 5.332868496902382e-12, 6.324599529202054e-12, 7.696740991470029e-12, 4.053828955201958e-15, 4.054177015597626e-15, 4.053919537278691e-15, 4.524528178219264e-12, 4.045306535081463e-12, 4.05917620773088e-15, 1.0026069758695811e-11, 7.10786404761797e-12, 2.106011151318619e-12, 4.058999320729146e-15, 4.065698832820195e-15, 4.070489995447634e-15, 4.071382462286017e-15, 7.551835243664383e-12, 7.841092470695231e-12, 5.977286712184791e-12, 3.498727480578409e-12, 1.568598565388994e-11, 4.071079620221446e-15, 4.070382015400337e-15, 4.070792437511206e-15, 5.0046099167427244e-12, 2.358106905077148e-12, 2.4691907656752664e-12, 4.0688572286514795e-15, 4.073122384089496e-15, 1.548650252120941e-12, 1.067388277445137e-12, 8.584651015173571e-12, 2.523198713639849e-12, 4.071021948372478e-15, 4.071186329865733e-15, 5.003342926115248e-12, 1.667569607051542e-12, 1.2690738154104874e-11, 4.0712857783038235e-15, 4.072654227057508e-15, 4.07468967432022e-15, 6.144655265253628e-12, 8.698988212323484e-12, 9.021954893100746e-12, 4.527663830875714e-12, 4.070224697085589e-15, 6.144448312018758e-13, 4.068163837052228e-15, 1.102836635387633e-11, 6.2965671338110076e-12, 7.501902262416441e-13, 4.075754070787228e-15, 4.074682092792585e-15, 5.602854559646205e-12, 4.0243127282892896e-12, 6.802504773140785e-12, 4.068975669969643e-15, 7.770714216832251e-12, 2.164501184208538e-12, 4.067401728428515e-15, 4.627728145702045e-13, 4.0658859929125125e-15, 9.923784932989327e-12, 7.696986997252207e-12, 5.206113918221023e-12, 4.0598189447796325e-15, 9.096132098738987e-13, 1.0023461277625699e-11, 1.6466039054679204e-12, 4.5333806749762095e-13, 1.4752135636371738e-11, 1.2462056240837842e-11, 4.067532554929047e-15, 2.986047448200867e-10, 4.07143296816754e-15, 4.21289939100887e-12, 4.065148704459462e-15, 1.8855128088140575e-11, 7.763953306331908e-12, 4.0666212418570476e-15, 2.2864908116417124e-13, 3.4425010346766223e-12, 1.2378890274777724e-13, 8.00668873366823e-12, 1.0116854428856704e-11, 1.0520581736909732e-11, 8.530521834203574e-12, 2.934501564358536e-12, 4.076668709131835e-15, 3.848560218830979e-12, 5.555126789800436e-10, 1.0949649779387715e-07, 2.574044469478752e-08, 4.078189354138206e-15, 1.2121546718411156e-10, 2.0853072218510002e-07, 8.914258059810784e-06, 8.018537052369473e-06, 1.2104787723199692e-05, 2.4656701128086852e-05, 2.9898396311702508e-05, 3.7499363902687356e-05, 3.6306353920254067e-05, 3.668506114371545e-05, 3.467769157715312e-05, 4.7572035468201514e-05, 6.412966671545347e-05, 6.960612315871432e-05, 6.408202757855552e-05, 6.0641307755152747e-05, 6.084642773235651e-05, 5.220128828487902e-05, 4.479899081160349e-05, 4.985442617740862e-05, 5.099228750196115e-05, 4.961435026211152e-05, 5.577824231792116e-05, 5.9217372407205557e-05, 6.948965567815992e-05, 7.264051979502053e-05, 7.380642516406707e-05, 7.625271280426669e-05, 7.113105975278771e-05, 6.798933662073622e-05, 6.856308376595947e-05, 7.204882707940983e-05, 7.626142876006214e-05, 7.119819559940365e-05, 7.1539271065513e-05, 7.763041965312335e-05, 8.409338229049583e-05, 8.764502104626314e-05, 8.368285247414365e-05, 7.774714779811514e-05, 8.22081032621992e-05, 8.386119868858725e-05, 7.309924293796532e-05, 7.337806720840867e-05, 7.615122931305624e-05, 7.722778994329659e-05, 7.785051908174567e-05, 7.728018231749863e-05, 7.748721446514962e-05, 7.950201123638847e-05, 8.31381664204048e-05, 8.470127618288593e-05, 8.264616097791282e-05, 8.074274864084207e-05, 8.264303069592782e-05, 8.668033710456811e-05, 8.680280645183003e-05, 8.368443931023104e-05, 8.44930456957284e-05, 8.828624158530706e-05, 9.233632002107177e-05, 9.106886165395845e-05, 8.779972433135628e-05, 8.112211448058427e-05, 7.397113708817488e-05, 7.219080381942968e-05, 7.311959220661011e-05, 7.505473659751985e-05, 8.001653368566698e-05, 8.706029597563075e-05, 8.825632735443698e-05, 8.564629565042839e-05, 8.036067756716462e-05, 7.457983856579728e-05, 7.257530792446743e-05, 7.125002106840407e-05, 7.274015708767152e-05, 7.3364611274259e-05, 7.335399972285618e-05, 7.398477321713816e-05, 7.561037234421914e-05, 7.805462532279491e-05, 7.765793182491561e-05, 7.689483168635874e-05, 7.753187715882209e-05, 8.134410318756191e-05, 8.44324830633071e-05, 8.471588005003133e-05, 8.281346963644401e-05, 7.764435804437237e-05, 7.711245194296397e-05, 7.780323991657364e-05, 8.049004232223777e-05, 8.1758664099438e-05, 7.731607200095993e-05, 7.602362999245271e-05, 7.572993185596226e-05, 7.608234551821836e-05, 7.648877272589383e-05, 7.320894930742817e-05, 7.025358744468862e-05, 7.034463528136686e-05, 5.5386942975009744e-05, 5.922865412668705e-05, 4.7862846886185464e-05, 5.5773883891953644e-05, 5.511074918825907e-05, 4.910423982495598e-05, 4.9297411999743084e-05, 4.2196325829789514e-05, 4.6149852641200755e-05, 5.212715681068264e-05, 6.48373605162355e-05, 6.509930887948882e-05, 5.588956497943682e-05, 4.902209096348483e-05, 5.2663368296085246e-05, 5.551698627099032e-05, 5.455088587156818e-05, 7.248108760169945e-05, 8.254577493790596e-05, 7.467055855501611e-05, 6.86471410616737e-05, 6.908827919940784e-05, 6.286655527932737e-05, 5.7822337523233676e-05, 4.5525028801134446e-05, 4.316512155385349e-05, 4.226273555309244e-05, 3.764379272259839e-05, 4.0011130524309284e-05, 4.077504056774822e-05, 4.167987013845039e-05, 4.2210373507639196e-05, 4.173905899512938e-05, 5.201445832381059e-05, 5.030781074822859e-05, 4.387351109171334e-05, 4.1856305305898544e-05, 4.240169782576836e-05, 4.2019772891244486e-05, 4.1821995018183446e-05, 4.337539388969749e-05, 4.0661460635175846e-05, 4.81238929504733e-05, 4.4047315282385696e-05, 3.8776172110647534e-05, 3.448805844488005e-05, 3.46460708579382e-05, 3.9421243616478194e-05, 4.4341353314464844e-05, 4.369146415540039e-05, 4.294747948931306e-05, 4.2431040127657064e-05, 4.139753345377281e-05, 3.997778444119835e-05, 3.931449766531156e-05, 4.04598971038484e-05, 4.323638748873733e-05, 4.51964584597558e-05, 4.725546949181614e-05, 5.008970818442716e-05, 5.23183472842844e-05, 5.315131462131277e-05, 5.004647837325681e-05, 4.4320097406666374e-05, 4.005745310392907e-05, 3.888773658541076e-05, 3.919785313272022e-05, 4.3785323989969485e-05, 4.5885497964288557e-05, 5.1174628712141723e-05, 4.8889558629055976e-05, 4.435383980526645e-05, 4.213575790025758e-05, 4.237468577514734e-05, 4.767174760252241e-05, 5.144073934672409e-05, 4.908927717631263e-05, 4.668227616699375e-05, 4.8145519556301865e-05, 4.808290579626861e-05, 4.737546930464444e-05, 4.7608519648639496e-05, 5.1121931847894855e-05, 5.344421201693025e-05, 5.453801415628279e-05, 5.5460942797018014e-05, 5.5969665999837215e-05, 5.567965852776051e-05, 5.288918247133572e-05, 4.873892012028413e-05, 4.909220419483724e-05, 4.95708430033107e-05, 5.424748537267816e-05, 6.187033518649555e-05, 5.8343544621845276e-05, 5.6325137148201426e-05, 5.651818579066215e-05, 5.344548894100421e-05, 5.0778583464224086e-05, 5.226227614437855e-05, 5.520118757779352e-05, 5.6045695351394326e-05, 5.515057471807031e-05, 5.157968724203069e-05, 5.11901918497349e-05, 5.208063932177159e-05, 5.2074994230146986e-05, 5.3358699815537754e-05, 5.944610612553351e-05, 6.522372915357153e-05, 6.548699955695694e-05, 6.538481819468806e-05, 6.750295365386572e-05, 6.988260405391707e-05, 6.953115426422726e-05, 6.600174878308617e-05, 6.412308318475254e-05, 6.59551444779852e-05, 7.080504709759646e-05, 7.44372337503953e-05, 7.327659605351502e-05, 7.098280402686861e-05, 6.924632432054004e-05, 6.967578973811205e-05, 7.068748407047733e-05, 7.06854948833611e-05, 6.894765995569162e-05, 6.727516496696309e-05, 6.573014013341527e-05, 6.41199323883515e-05, 6.531468683754735e-05, 6.277128018134077e-05, 6.266720285559182e-05, 6.57835520091305e-05, 6.776908593703958e-05, 7.00965575112445e-05, 6.4993646145497e-05, 6.431465874036122e-05, 6.607232053216076e-05, 6.977173238929623e-05, 6.433443031583193e-05, 5.82961441357177e-05, 6.119994141175296e-05, 5.95753203591822e-05, 5.569360273059749e-05, 5.607756175640635e-05, 5.4971733652040147e-05, 5.2891435175858855e-05, 5.426653359171802e-05, 5.521676042108548e-05, 5.7338654730800106e-05, 5.936674396785256e-05, 6.0919221207218555e-05, 5.98724102538381e-05, 5.8776070290422104e-05, 6.163219480180779e-05, 6.390081808850046e-05, 6.280013291480204e-05, 6.203933839335447e-05, 6.142965936610353e-05, 5.834131381807674e-05, 5.664726636562555e-05, 5.715009772398825e-05, 5.6628374752190184e-05, 5.285392632138103e-05, 4.74602888688237e-05, 4.3274454354039695e-05, 4.456069195633772e-05, 4.742479248311269e-05, 5.177236225786561e-05, 5.345186280185064e-05, 5.485465608488798e-05, 4.9641813685142425e-05, 4.18755286516469e-05, 3.3395191445399235e-05, 3.100933886847191e-05, 3.369844399659641e-05, 3.7775555546853505e-05, 3.972346116476851e-05, 4.029029081993738e-05, 4.242600010344843e-05, 4.188735877191459e-05, 4.177950298817121e-05, 4.417496803263369e-05, 5.013379099380378e-05, 4.927672824415258e-05, 4.787627785864531e-05, 4.879063158025877e-05, 4.7905884593087226e-05, 4.459038489461756e-05, 4.140498083713809e-05, 4.387759011116617e-05, 4.8175491054007595e-05, 4.7498712758890684e-05, 4.8339960493539595e-05, 4.7012829939323134e-05, 4.17611290370518e-05, 4.181452789978371e-05, 4.45408340434318e-05, 4.385031774942336e-05, 4.41392545700281e-05, 4.237122170110753e-05, 4.213988382472558e-05, 4.469014983430953e-05, 4.811436119841865e-05, 5.084096089164014e-05, 4.910230349382073e-05, 4.859856646390924e-05, 4.931093387376993e-05, 5.5972594915937584e-05, 6.310095200344246e-05, 6.994709462737234e-05, 7.317479538357975e-05, 7.578349845925517e-05, 7.897384986797331e-05, 8.009838764942596e-05, 7.94359480653603e-05, 7.648759123526742e-05, 7.53518732496722e-05, 7.679349584013248e-05, 7.81990949273907e-05, 7.791659328457707e-05, 7.648352528294516e-05, 7.478253064451453e-05, 7.375012643240785e-05, 7.249848259904225e-05, 7.08926508196145e-05, 6.95710074811919e-05, 6.517623461805957e-05, 6.552143132978473e-05, 6.548879105122835e-05, 6.497990667409292e-05, 6.0082453650735566e-05, 5.399000875842635e-05, 5.25370161749369e-05, 5.299037211528404e-05, 5.604858089886566e-05, 5.83882440687945e-05, 5.75067008147842e-05, 5.987943917143775e-05, 6.497221254039844e-05, 6.915989195769415e-05, 6.230178546810152e-05, 5.418645376392778e-05, 5.8986848466443386e-05, 5.769264382705018e-05, 5.161006621455136e-05, 4.688984978207889e-05, 5.133713466498881e-05, 4.979760688052418e-05, 4.165314634189469e-05, 4.5693682334554063e-05, 5.1090487308938096e-05, 5.1175075357445175e-05, 4.902427790046723e-05, 4.591996262071753e-05, 4.2918702285248616e-05, 4.055218478033181e-05, 4.7894425246810644e-05, 5.85152355233091e-05, 6.114014743926989e-05, 5.79839128965686e-05, 5.23776751279076e-05, 4.87738915621699e-05, 4.705544861161353e-05, 4.594312758018724e-05, 4.439973039280961e-05, 4.2764906794088324e-05, 4.4682136329703125e-05, 4.9428791392792046e-05, 5.490166614653434e-05, 5.8965712990294845e-05, 6.158690232367387e-05, 6.320490350469226e-05, 6.294474006772517e-05, 6.34214304183617e-05, 6.862147265010516e-05, 9.057515659971274e-05, 0.00010239951154170272, 9.80603006326595e-05, 7.952033921549982e-05, 7.404312428514772e-05, 7.426556595515162e-05, 8.521014035669292e-05, 8.88597546412092e-05, 9.121253643002661e-05, 9.056169186685073e-05, 9.005646058552825e-05, 7.836490983486524e-05, 6.991981760947123e-05, 7.089854253561037e-05, 7.083316356047597e-05, 6.896632064839135e-05, 6.936635802870583e-05, 7.411031789500011e-05, 7.792295002182385e-05, 8.087971833484675e-05, 8.157196542074973e-05, 7.195192754233737e-05, 7.552761132226333e-05, 7.973615505176267e-05, 8.044616890731539e-05, 8.396245757977528e-05, 8.488393523943098e-05, 8.892728341351278e-05, 9.204409151253922e-05, 9.734850457073474e-05, 9.224912976860571e-05, 9.665248433440114e-05, 9.518841930182054e-05, 9.477394543952267e-05, 9.0113302481147e-05, 9.165924897862117e-05, 9.050114771144622e-05, 8.85435700553058e-05, 8.958849233647093e-05, 9.20095026665929e-05, 9.748115435316695e-05, 0.00010035275459443906, 0.00010016350378731868, 0.00010044154677574233, 9.998074909826838e-05, 9.567935877259089e-05, 9.075651660639515e-05, 8.902319794551235e-05, 9.121933349688117e-05, 8.696360382259547e-05, 8.533495559102668e-05, 8.278429042143721e-05, 8.915520460567046e-05, 0.00010639566466469657, 0.00010198307164372886, 0.00010231956875247278, 0.00010121704856112889, 0.00010658471191670101, 0.00011321319092374647, 0.0001117413938809828, 0.00011360631080253721, 0.000108574480498847, 0.00010703771107731427, 0.00010992690847230577, 0.0001079289991388143, 0.0001056697646398228, 0.00010303673630117352, 0.0001075814380752003, 0.00012077429789341318, 0.0001071142852379146, 0.00010170575554267884, 0.00010391140672782524, 0.00010997454931884841, 0.00010267357579544795, 9.482881324502362e-05, 0.00010148617861545886, 0.00010232859843941937, 0.00010018369343395992, 9.912499399108524e-05, 0.00010540601137540016, 0.00010281333704811425, 9.309474436684784e-05, 9.801593934702717e-05, 0.00010398423324797198, 0.00011124208867753525, 0.00011489225880072041, 0.00011939199922067748, 0.00011578559790037446, 0.00011437955026362873, 0.00011682560151530377, 0.00011819900397089428, 0.00011644921978882659, 0.00011420965893143312, 0.00011147795942065137, 0.00011018477511535368, 0.00010783771389937797, 0.00010836266993230111, 0.00011228974052903083, 0.00011809966315347768, 0.0001158520063499289, 0.00011430071083430597, 9.843594078309055e-05, 6.904893342420709e-05, 6.187483907856631e-05, 7.230275751473186e-05, 9.54034839508638e-05, 0.00010657948891121025, 0.00010804432479375202, 9.388610727491504e-05, 9.146664678986134e-05, 9.3170453887681e-05, 9.329789203672766e-05, 9.128502563543016e-05, 0.00010349532215538211, 0.00011331235640747102, 0.00011383652702538691, 0.00011403110110510986, 0.00011434173530272364, 0.00011349592886614056, 0.0001117200350384788, 0.00011199052256407704, 0.00011251282326594407, 0.00011092197305395304, 0.000116521284439688, 0.00011574273213900581, 0.00011695835071193675, 0.0001200860801532972, 0.00011827738876149054, 0.00011813698130615062, 0.00011452235863134794, 0.00011046876711310244, 0.00010465383725629945, 0.00010931356431714224, 0.00010258780284626367, 0.00010612687952550945, 0.00011146188699587548, 0.00011814136103218515, 0.00011639491031754647, 0.00011438445400212782, 0.0001113603104262153, 0.00010891975130891511, 0.00010706750061703831, 0.00010488021533731708, 0.00010343981432139353, 0.0001041784827455295, 0.00010489753473623958, 0.00010579615371775604, 0.00010722914057187197, 0.00010789586926516149, 0.00010838563525690817, 0.00010574470059005737, 0.00010971101548205326, 0.00010886061969245703, 0.00010796260881093322, 9.866723282833662e-05, 7.724246574643747e-05, 8.80280105960131e-05, 9.347725830027822e-05, 9.83378177993484e-05, 8.982037747829606e-05, 8.052274973560872e-05, 8.589802139008818e-05, 0.00010142349527988287, 0.00010197276782199573, 0.00010129867802431983, 0.00010723279047015496, 0.00010377890946495777, 0.00010213121763121393, 0.00010900878895835153, 0.00010493945494317717, 9.304801756611753e-05, 0.00010896932685427534, 0.00011228519425912453, 0.00010984454142608416, 0.00010290921576697223, 9.759072380073652e-05, 9.928162858923192e-05, 0.00010040468833635158, 0.00010367725972916301, 0.00011370849432565574, 0.00012193721977180027, 0.00011679373311413341, 0.00010950051894377614, 0.00010873729549379514, 0.00010254826413520134, 0.00010316055513201774, 0.00010543182884552132, 0.00010328465787736119, 9.614700471142014e-05, 9.428364193725119e-05, 9.5252808546415e-05, 9.596101675521028e-05, 9.517678674255653e-05, 9.617541396002825e-05, 9.438531298906294e-05, 9.201176874832612e-05, 9.198918170279866e-05, 9.245215702608574e-05, 9.563595561589497e-05, 9.583123381310962e-05, 9.43422620275619e-05, 9.59403130972309e-05, 9.001145555481294e-05, 9.152627405595616e-05, 9.096877878482958e-05, 9.013214611640559e-05, 8.878545431287162e-05, 8.768633372667246e-05, 8.594262622773495e-05, 8.508083012061373e-05, 8.459191551156944e-05, 8.503111716473888e-05, 8.700823601345902e-05, 8.77084323431853e-05, 9.047029046961367e-05, 9.576890193507904e-05, 9.670217996857636e-05, 9.826537275789308e-05, 0.0001006840654933256, 9.841843900200458e-05, 9.928109010709736e-05, 9.982222877670686e-05, 9.880402265764658e-05, 9.732283585501594e-05, 9.710351866572335e-05, 9.815979423098075e-05, 9.890289129426288e-05, 9.780892134389076e-05, 9.806149129069997e-05, 9.838515443339683e-05, 9.8034671252417e-05, 9.712691174848211e-05, 9.584581973255938e-05, 9.480334252639807e-05, 9.292072151640547e-05, 9.216081843484501e-05, 9.275030889042754e-05, 9.31773386663895e-05, 9.420643488456576e-05, 9.545974315816254e-05, 9.62348247170518e-05, 9.583721321843791e-05, 9.369576430045321e-05, 9.298124621858214e-05, 9.461287489075736e-05, 9.630185236984915e-05, 9.603516537290218e-05, 9.690451954873488e-05, 0.00010018396974425916, 0.00010226512954668277, 0.00010107485313882627, 9.91390184122571e-05, 9.702342293253934e-05, 9.700799096514661e-05, 9.407255986807989e-05, 9.643803725908622e-05, 9.389041634160027e-05, 9.412916476979719e-05, 9.541597417575385e-05, 9.740010817142797e-05, 9.941211361205785e-05, 0.00010176960094694819, 0.00010749534859358155, 0.00011107741790425399, 8.983379391645511e-05, 0.00010499209701679365, 0.00010955214680036956, 9.190615446668133e-05, 0.00010016090684828145, 0.00010793502158038553, 0.00010446228237112635, 0.00010027047579931421, 9.129824071975581e-05, 0.00010300462631273521, 0.0001048196307674079, 9.570849659869934e-05, 9.082644025678795e-05, 9.048827702580997e-05, 9.293866497145791e-05, 9.645900424207744e-05, 9.763296375520275e-05, 9.55101564281417e-05, 8.633438452797714e-05, 8.48535756297756e-05, 9.092337507716014e-05, 8.653994122593044e-05, 8.899491267032585e-05, 9.948185086543354e-05, 8.798955918161048e-05, 8.74039091475692e-05, 8.266056460792012e-05, 8.202026278842563e-05, 8.187743122819046e-05, 8.700634305510265e-05, 9.360289277109311e-05, 8.717566148971288e-05, 8.257989130743176e-05, 8.184623803679465e-05, 8.224807554095925e-05, 8.77810294425384e-05, 8.011020247215677e-05, 8.298670175447022e-05, 8.661067828010294e-05, 8.059069289450468e-05, 7.825615915230992e-05, 7.724604978294353e-05, 7.832626205052045e-05, 8.055376386139727e-05, 8.336096000310444e-05, 8.421099118689621e-05, 8.662028366401758e-05, 8.790993956473362e-05, 8.930986541129198e-05, 9.120347076859345e-05, 9.128372094028935e-05, 8.949409698392493e-05, 8.68425307734171e-05, 8.463666564427584e-05, 8.755849793200982e-05, 8.700538277389232e-05, 8.392984237392772e-05, 8.6902363057879e-05, 8.696650091690311e-05, 8.885087798551993e-05, 9.208862473623851e-05, 9.445266790103988e-05, 9.478772907997445e-05, 9.458571365056718e-05, 9.472494808751163e-05, 9.49017703728695e-05, 9.324526686863765e-05, 9.106715768727418e-05, 9.092819690320685e-05, 9.255394754976412e-05, 9.562129941547304e-05, 9.794588672351232e-05, 9.84714881188813e-05, 9.878949192349672e-05, 9.938176554298036e-05, 9.920714522127633e-05, 9.825912795003023e-05, 9.747699463014996e-05, 9.63816591746295e-05, 9.597862900469453e-05, 9.648780714348215e-05, 9.604454934491587e-05, 9.268221636750131e-05, 9.213279434359801e-05, 9.316679609674806e-05, 9.53831622011988e-05, 9.484459124878046e-05, 9.319292978468959e-05, 9.297070512566002e-05, 9.235651848642413e-05, 9.096807046157483e-05, 8.674441817664152e-05, 8.824393320893298e-05, 8.384914739593793e-05, 8.54901796704747e-05, 8.288399465966291e-05, 8.166724655918393e-05, 8.098861556145111e-05, 8.010151513615556e-05, 7.797708939349067e-05, 7.755764482763052e-05, 7.929714164773701e-05, 8.154332559945391e-05, 8.411993891909712e-05, 8.662717628227484e-05, 8.919363287128343e-05, 9.079292651110279e-05, 8.993876108965719e-05, 8.723062341054295e-05, 8.533167500163938e-05, 8.335779357593769e-05, 8.307219720652473e-05, 8.37083465998306e-05, 8.584025525455422e-05, 8.750858844158973e-05, 8.734116184429402e-05, 8.628869904286946e-05, 8.496617200524303e-05, 8.36353058441732e-05, 8.41941318840874e-05, 8.564556376110007e-05, 8.776513726146588e-05, 9.011187319353426e-05, 9.08213217131406e-05, 9.307043885248867e-05, 7.950634668291466e-05, 9.465946830390662e-05, 9.211577068781655e-05, 9.321376579551411e-05, 9.199563098366235e-05, 9.472601697837944e-05, 9.041627207512757e-05, 8.676394920124568e-05, 9.425639294068399e-05, 9.629484540861866e-05, 9.667871882601728e-05, 9.722914985643172e-05, 8.987499200913838e-05, 9.518354927381228e-05, 8.818088328836794e-05, 8.410270381754387e-05, 9.207247983375562e-05, 9.44503663600385e-05, 9.478515825345145e-05, 9.56318718316163e-05, 9.479241222148951e-05, 9.177313440118265e-05, 9.195559866044237e-05, 9.215712301323064e-05, 9.464578366922207e-05, 9.529182826637873e-05, 9.464637256143892e-05, 9.978042615770912e-05, 9.925040801014641e-05, 9.78256787781069e-05, 9.517690409641257e-05, 9.310906920472048e-05, 9.646277712215287e-05, 0.00010201208818886083, 0.00010269109646809222, 0.0001009934192688208, 9.924757638705006e-05, 9.704859092811453e-05, 9.517626237826205e-05, 9.463017665286331e-05, 9.573769678599462e-05, 9.620004578296683e-05, 9.680375875376884e-05, 9.847510912786414e-05, 9.906070552086055e-05, 9.841074115003032e-05, 9.746104298676189e-05, 9.816080575964742e-05, 9.804363625542237e-05, 9.707497875421664e-05, 9.786835274416174e-05, 9.975282383778456e-05, 0.00010031530344859688, 9.811022602425469e-05, 9.582984537718298e-05, 9.553368870552934e-05, 9.67830811828214e-05, 9.760096118086401e-05, 9.549129676667838e-05, 9.405500374627614e-05, 9.308961032008823e-05, 9.293853907243327e-05, 9.23894616794964e-05, 9.340350573665773e-05, 9.482415235927962e-05, 9.378817476395776e-05, 9.498113683548667e-05, 9.6978488783483e-05, 9.971650687907636e-05, 0.00010283795326780068, 0.00010597276379471226, 0.00010497857213212168, 0.00010211822465069781, 9.985889037752097e-05, 9.78670763489053e-05, 9.650279753891317e-05, 9.607103299063645e-05, 9.532795929388828e-05, 9.511510029678777e-05, 9.705329864496375e-05, 9.819447846249925e-05, 9.78287007076411e-05, 9.755929035437718e-05, 9.749125821477372e-05, 9.575659612311689e-05, 9.065205089410447e-05, 8.578804146974126e-05, 8.525224650008273e-05, 8.972090874622538e-05, 9.165041016099217e-05, 8.983471498208618e-05, 8.865014027500912e-05, 8.93520010975324e-05, 8.975884712834085e-05, 8.892926685775757e-05, 8.979812846068569e-05, 9.10708349452524e-05, 9.220430718814055e-05, 9.015043823840773e-05, 8.781534735877857e-05, 8.837135766896259e-05, 8.655885358328529e-05, 8.302551004339681e-05, 7.933917170547692e-05, 7.6154743416358e-05, 7.421725309206302e-05, 7.393912677609178e-05, 7.443409397800195e-05, 7.488741395422993e-05, 7.620588796011105e-05, 7.484991699287165e-05, 7.457463639022784e-05, 7.239805462799372e-05, 7.144865327230996e-05, 7.202087171634461e-05, 7.835192261922305e-05, 8.51158331244032e-05, 8.751681953039394e-05, 8.462535954562276e-05, 8.1496614136763e-05, 8.089951626699836e-05, 8.024362662283108e-05, 7.883462905175106e-05, 7.704808841013061e-05, 7.475934907687919e-05, 7.358388265925775e-05, 7.262494027826917e-05, 7.585831157895935e-05, 8.026921059744106e-05, 7.709387643103625e-05, 7.07927767802096e-05, 6.934592760927022e-05, 7.489574725360076e-05, 7.957830804893414e-05, 8.071451814073819e-05, 7.807673642421637e-05, 7.68277369900263e-05, 7.610231752871321e-05, 7.412425550334316e-05, 7.383059072081638e-05, 7.499435680463984e-05, 7.619928853415662e-05, 7.771345523349717e-05, 7.891349720836761e-05, 7.814055124547894e-05, 7.571709202558096e-05, 7.578314476158555e-05, 7.320731825312141e-05, 7.119781674846011e-05, 6.958563553029678e-05, 6.976552269785893e-05, 7.449869102158355e-05, 7.606603586381443e-05, 7.286594911736553e-05, 6.814721365475338e-05, 6.746590373533901e-05, 6.826935071195382e-05, 6.79189798858125e-05, 6.691096869654086e-05, 6.622954830398619e-05, 6.864863559387446e-05, 7.060404629266172e-05, 7.413213226544701e-05, 7.765494896956992e-05, 7.678496401774995e-05, 7.302434902629362e-05, 7.048446644401792e-05, 7.66387635875776e-05, 7.760147287531671e-05, 7.974937965353559e-05, 8.048349593985695e-05, 7.867964151823443e-05, 7.608875741193176e-05, 7.540842983559807e-05, 7.645071722068242e-05, 7.53759103370523e-05, 7.529986768383247e-05, 7.456253046529961e-05, 7.302767251327897e-05, 6.955790577248741e-05, 6.694081395597264e-05, 6.629833415925502e-05, 6.817218554236188e-05, 6.997112130791682e-05, 7.216219711953337e-05, 7.331025798606311e-05, 7.297429174126752e-05, 7.232674685440632e-05, 7.29336499911258e-05, 7.381487232077308e-05, 7.197996318221753e-05, 7.219360136416068e-05, 7.486374087784328e-05, 7.825123387342382e-05, 7.965459784061929e-05, 8.198082540336974e-05, 8.669316897782063e-05, 8.699272861676177e-05, 8.617772560981746e-05, 8.761705366988325e-05, 8.66224516288637e-05, 8.459219351355786e-05, 8.448722123768573e-05, 8.12336720224956e-05, 7.842913346549734e-05, 7.598918132197385e-05, 7.360093718515165e-05, 6.963341190028187e-05, 6.812237431295537e-05, 6.855012366917768e-05, 6.853401052931118e-05, 6.675014714840304e-05, 6.27067948992541e-05, 5.72651008382953e-05, 6.614272578067337e-05, 8.057302603188401e-05, 9.44589058258389e-05, 9.549694204536668e-05, 8.841947791039482e-05, 8.692701979015273e-05, 9.2654864823897e-05, 0.00010469734303275368, 0.00011055430970149263, 0.000107558425612033, 0.00011007831625422349, 0.00011833061440134762, 0.0001263272840836137, 0.0001189599697213657, 9.424645336044506e-05, 6.537332956784453e-05, 5.477947932924698e-05, 5.4616339395274255e-05, 6.80154904451288e-05, 7.685238025390878e-05, 8.07151342567445e-05, 8.081771249328308e-05, 7.131496712287065e-05, 7.767044290082654e-05, 8.485101192457743e-05, 8.876596933065967e-05, 8.862827537624647e-05, 8.361493535410513e-05, 7.730243567397505e-05, 7.251961287231533e-05, 6.939463543419389e-05, 6.877388255757865e-05, 7.183640273810088e-05, 8.418887997171468e-05, 8.583457190722921e-05, 9.544691245605031e-05, 9.39483800200622e-05, 9.738619653719535e-05, 9.708655504376412e-05, 8.265715639947569e-05, 8.605112044580884e-05, 9.659635784707022e-05, 0.00011636309135481583, 0.0001222326547517313, 0.00011921787331759331, 0.00011240230643057395, 0.0001103228999472939, 0.00011734214029924075, 0.00012172479068983562, 0.00012520112225821245, 0.00011294413049161852, 0.0001059593840469343, 0.00011107232734904216, 0.00011397944426002288, 0.00010662526045392595, 9.571250621176419e-05, 9.80691349775069e-05, 0.0001002549605008912, 0.00010621488010442052, 0.00010600875430469997, 9.6247699055982e-05, 8.916240366591661e-05, 8.459409035875747e-05, 9.306886674032216e-05, 0.00010030680846450545, 0.00010069352735331251, 9.032973268910829e-05, 8.885242106841018e-05, 9.559496166608778e-05, 9.833843701714179e-05, 8.771486197880052e-05, 8.02801193183545e-05, 7.603812530586248e-05, 7.424681746050774e-05, 7.765850986342436e-05, 8.288390390505253e-05, 8.934077089157122e-05, 0.00010368242453096641, 0.00012724756217195643, 0.00014539326158269868, 0.00014318277206670131, 0.00013134490574911333, 0.00012450932642772312, 0.00011016761008828522, 9.940803365605251e-05, 0.00010071155595325959, 9.472636009560022e-05, 7.442761972887381e-05, 7.97422081521727e-05, 8.2610180993199e-05, 6.178343063123422e-05, 6.435942563099994e-05, 7.173873557367688e-05, 7.61967294884408e-05, 7.797487133318682e-05, 8.682575032308017e-05, 9.059211764727498e-05, 9.402520807113313e-05, 9.41440355977584e-05, 9.541134914601521e-05, 0.00010213586508238651, 0.00012093120432438192, 0.0001170168786873071, 9.726791914518172e-05, 7.37348171214253e-05, 7.556196813382107e-05, 9.507440720089703e-05, 0.00010616097418734196, 0.0001096578542522404, 0.00010209456133482388, 9.674647076519228e-05, 0.00010154267358248703, 9.656351354794819e-05, 9.170267349070182e-05, 8.026774126022049e-05, 7.387211870799644e-05, 8.333005428919176e-05, 0.00010218728879205166, 9.89010741973359e-05, 8.230686936030264e-05, 5.646845001642172e-05, 5.4584753902892017e-05, 6.566599230570373e-05, 7.60955796696845e-05, 9.469957704449774e-05, 8.149510997959469e-05, 7.951984275050158e-05, 7.759783822577108e-05, 6.98318452926763e-05, 6.641780529340803e-05, 6.61399737326373e-05, 6.508030629059073e-05, 6.267741472134751e-05, 6.0720552564879074e-05, 6.122189977705254e-05, 5.25346884104248e-05, 5.986145192928333e-05, 5.128281354848006e-05, 6.778147122952779e-05, 6.273957744208725e-05, 6.113571179262651e-05, 9.745989667264586e-05, 9.627027775427476e-05, 8.430380585932448e-05, 7.796089244813898e-05, 8.344602985647683e-05, 8.24498542847961e-05, 8.558842854378646e-05, 7.982851287133992e-05, 6.39951559004001e-05, 4.982735522774478e-05, 4.0461782829472325e-05, 4.005890146833535e-05, 4.997410545281803e-05, 3.444223805016167e-05, 2.9937365936692886e-05, 4.572234462886505e-05, 5.39818576417063e-05, 4.4786318492302994e-05, 4.2748144480662594e-05, 4.4072621406954946e-05, 4.409862209810305e-05, 4.699019028553061e-05, 5.1705138382218025e-05, 7.36526186082409e-05, 7.517306620082903e-05, 6.768861278718802e-05, 6.64061434005181e-05, 9.040348595330694e-05, 9.132844902360965e-05, 7.165556095689803e-05, 5.746028760741514e-05, 6.64868020292134e-05, 7.070297029431564e-05, 7.429757525405593e-05, 6.797545787210747e-05, 5.815881418334482e-05, 4.8936246081119986e-05, 5.146525174441116e-05, 5.3965985594304544e-05, 3.276313495709086e-05, 1.2800827049043724e-05, 2.3283206648600735e-05, 4.617489993119348e-05, 6.131709219914645e-05, 8.162251443794313e-05, 9.075813822413028e-05, 7.578086022380313e-05, 7.226108113557247e-05, 9.571932857710423e-05, 8.660671326940334e-05, 8.301528212323712e-05, 0.0001269819443556065, 0.000122229894398611, 0.00010814185160584833, 9.192710231682633e-05, 8.240870499768744e-05, 7.543293096175828e-05, 7.417560442007955e-05, 7.378979946174509e-05, 7.901491253949411e-05, 9.341299988347305e-05, 0.0001031346546612744, 9.185325985712937e-05, 7.767576540416844e-05, 8.334039731119857e-05, 0.00010302025921995756, 0.00011067902905266158, 9.844233571714666e-05, 8.484924595698454e-05, 7.97621718049084e-05, 8.256399176249034e-05, 8.779264076792649e-05, 7.144968782219642e-05, 6.811326273436911e-05, 5.840709882411855e-05, 5.090062735196181e-05, 5.5832681631529435e-05, 6.340463392016447e-05, 6.0250628589608845e-05, 6.63083600684016e-05, 7.461961326348096e-05, 8.234051413025989e-05, 7.725901662678022e-05, 6.686943263765529e-05, 5.0826381944729775e-05, 3.0896785424103906e-05, 3.264142288472572e-05, 3.427258150232013e-05, 4.805205820767729e-05, 6.333165059953893e-05, 6.353928986956713e-05, 6.339042065919975e-05, 7.057811361299655e-05, 6.966546933017935e-05, 7.006168060188567e-05, 6.438565292901552e-05, 6.992167566790777e-05, 6.937347443668097e-05, 7.614209287052672e-05, 6.243521615270176e-05, 5.8303996784862625e-05, 5.810879896755191e-05, 2.1118790894485327e-05, 1.6771864587171123e-05, 3.0332047266075626e-05, 2.679890086357643e-05, 2.5517392533262184e-05, 2.9308202201372455e-05, 2.7723987263619217e-05, 3.349563381476479e-05, 3.189422927884116e-05, 3.711513198500049e-05, 4.0908979003409735e-05, 6.105979927976244e-05, 5.091415600925209e-05, 6.110872115198887e-05, 6.783323480096511e-05, 6.876270304214832e-05, 6.649427490231842e-05, 6.547656661721385e-05, 5.231260967683469e-05, 3.86328322931836e-05, 4.328655765443041e-05, 6.249817779951076e-05, 8.670434882719523e-05, 8.224486948387347e-05, 7.207952320638863e-05, 6.776533290888844e-05, 6.812137228190731e-05, 4.708172468587039e-05, 5.8172018984315894e-05, 8.123815347064624e-05, 9.386885782572695e-05, 8.029976203992479e-05, 7.400609605347947e-05, 6.643937994884418e-05, 6.511021524893758e-05, 7.05936450934293e-05, 7.892626222673819e-05, 6.791882236505275e-05, 4.52368849377934e-05, 4.277766689921052e-05, 4.8138143701952267e-05, 4.766529388588104e-05, 4.973488811506767e-05, 4.0940305874640555e-05, 3.800329082674985e-05, 4.226326575435515e-05, 5.852442893813969e-05, 6.653530797171917e-05, 6.068197391978026e-05, 5.983951778646293e-05, 6.124245943793376e-05, 4.6850206935087854e-05, 4.9239341375339584e-05, 5.719152870363163e-05, 7.776473769064759e-05, 8.708352640943687e-05, 7.46300649353154e-05, 7.123169606730419e-05, 6.695602357499652e-05, 6.660217200113092e-05, 5.61351030179743e-05, 4.529434486503108e-05, 3.622793394750812e-05, 4.089641145362974e-05, 2.317694318191569e-05, 2.8375430883846067e-06, 8.151263455881886e-09, 2.7319799070571973e-11, 7.943760999093309e-12, 1.258062663485374e-09, 7.6279542623057e-08, 2.905579705497174e-06, 1.8824613419533445e-05, 3.1441841390472803e-05, 3.13941293594318e-05, 2.859505286340073e-05, 3.600886802034751e-05, 4.7281888122597834e-05, 6.485598125734713e-05, 6.630480945329826e-05, 7.800211527143818e-05, 7.977221662682188e-05, 7.027914061041319e-05, 5.7973677118078765e-05, 5.251021297572641e-05, 6.259581880080925e-05, 7.09073563806521e-05, 6.563940450822902e-05, 4.88798019158387e-05, 5.287073335183708e-05, 7.313806177347729e-05, 8.252800778295884e-05, 7.589774766994957e-05, 7.475123141115755e-05, 7.314517095248649e-05, 8.376717929411585e-05, 7.869154035020541e-05, 7.37526612753577e-05, 6.871758156675232e-05, 6.195921837814422e-05, 5.801325948924993e-05, 6.117862057248353e-05, 7.196030182288203e-05, 7.753504616234417e-05, 8.422907324254554e-05, 7.249506161364194e-05, 5.756613116316563e-05, 5.316461554848656e-05, 5.519170306757652e-05, 6.440685651299008e-05, 7.61673383649673e-05, 7.669212360585296e-05, 6.867051090337908e-05, 7.538355933110008e-05, 7.598499764422867e-05, 8.123132860512489e-05, 8.006190004622806e-05, 6.85830062521775e-05, 5.820810939679825e-05, 7.259579102748394e-05, 8.638324791809323e-05, 8.710101983773308e-05, 8.35299681357276e-05, 8.127893340992524e-05, 7.216290250654377e-05, 6.316570412529595e-05, 6.754843876287632e-05, 7.367373752900958e-05, 7.545241432000414e-05, 7.843620741450502e-05, 7.927996496166503e-05, 7.381215509577173e-05, 6.410178794935882e-05, 7.729308282026994e-05, 8.789017176906046e-05, 9.0463029273635e-05, 9.798296285126111e-05, 8.993031152090669e-05, 7.785821104704495e-05, 8.045334428409583e-05, 7.458685506922503e-05, 7.430564155611323e-05, 6.416772439413735e-05, 5.407096876630026e-05, 4.226287782160915e-05, 4.3810841184512354e-05, 4.580759814030004e-05, 3.9925318222777544e-05, 3.785706914056273e-05, 4.520428920782817e-05, 5.80147720806352e-05, 5.6194637331635734e-05, 5.409555166888032e-05, 4.3941454627104576e-05, 4.463467893817968e-05, 4.0622490239050755e-05, 2.994171323010033e-05, 2.7150381010275026e-05, 3.2039934260571835e-05, 3.555363265055344e-05, 4.3457648214995034e-05, 4.97417069147082e-05, 4.8617453643311066e-05, 4.542893992301612e-05, 4.267109646551685e-05, 5.0514145311467324e-05, 7.580421163776095e-05, 8.885554722176596e-05, 4.115953426720359e-05, 3.2081099322000535e-05, 4.7382333391819266e-05, 5.0639295268105085e-05, 4.4551052086529596e-05, 3.821823159196669e-05, 5.539586820891837e-05, 4.0617816487314724e-05, 3.218346585057998e-05, 4.0289628269158534e-05, 3.7556415358139556e-05, 3.938263167148043e-05, 4.867996363054835e-05, 4.811958523195964e-05, 5.7779027021124836e-05, 5.9636600136163823e-05, 4.9948229250289315e-05, 4.1126239312386726e-05, 4.07319875641398e-05, 5.15408270665803e-05, 7.035644618000844e-05, 6.509875004050118e-05, 6.469167577390426e-05, 6.817493590575103e-05, 6.518446076810191e-05, 6.520434837646649e-05, 6.886160980991626e-05, 8.532516314196428e-05, 9.509472971447017e-05, 8.84170836452709e-05, 8.145352313327541e-05, 7.255735175046051e-05, 6.684060293572296e-05, 5.822485451480168e-05, 6.881388227718964e-05, 6.858827218364952e-05, 6.274009088112063e-05, 6.618156377180216e-05, 6.665403138277603e-05, 5.276555410584497e-05, 3.936220783805127e-05, 5.212635288822288e-05, 6.39652974295617e-05, 6.105310641007761e-05, 6.805418510414769e-05, 7.032670515059863e-05, 6.778577833092205e-05, 6.001903641766161e-05, 5.982820054824102e-05, 5.397531067848789e-05, 4.951047698453651e-05, 6.194191136699937e-05, 6.356202699655983e-05, 6.772257951253398e-05, 7.132129160210038e-05, 7.190389213906844e-05, 6.768800793823036e-05, 7.036454456919568e-05, 5.530465435668912e-05, 3.9719976750422186e-05, 3.7545760335155975e-05, 4.0737277636036977e-05, 4.8593648682670364e-05, 5.681209654266353e-05, 3.916036729537232e-05, 4.4430660670414725e-05, 6.705988365591504e-05, 7.74237429791133e-05, 7.499711691056005e-05, 6.892984792379749e-05, 6.942398955905886e-05, 6.730323456904817e-05, 6.393950429094337e-05, 5.0680900388920285e-05, 4.321643053134411e-05, 4.32986821935837e-05, 3.9947113793742416e-05, 3.098234360769806e-05, 2.076413459824272e-05, 2.345089464899289e-05, 3.025420699112554e-05, 1.8243799630014145e-05, 2.0418174308864245e-05, 2.8094127311238584e-05, 3.5860191514902636e-05, 3.528650713999675e-05, 2.723894839441203e-05, 3.1869292816654085e-05, 3.7167525567603644e-05, 3.4358949557085283e-05, 2.5152928414845625e-05, 1.7570209028852088e-05, 1.904020408060975e-05, 2.4178281378833202e-05, 3.31585299505635e-05, 3.572061631105043e-05, 3.95478658541295e-05, 3.606069234884803e-05, 3.1972005658265345e-05, 1.556149351555091e-05, 8.214651879145803e-06, 1.8915821289299546e-05, 6.970088041913071e-05, 7.517229426073303e-05, 7.395363173941015e-05, 5.2480728825693033e-05, 3.659150484503311e-05, 2.5927798078595673e-05, 1.2963897674736158e-05, 1.810842734911895e-05, 2.6292194721014674e-05, 3.528028703564442e-05, 5.0669305365277985e-05, 5.918342269745514e-05, 5.253814501524727e-05, 5.9076033421498934e-05, 3.706111404105428e-05, 3.467707931065958e-05, 4.253235635050453e-05, 3.941179038980732e-05, 6.562733730362318e-05, 5.7006632132920684e-05, 4.476418404995119e-05, 4.79189605691693e-05, 5.6773668484939875e-05, 5.296730043179112e-05, 5.7747486442384896e-05, 5.5532965213340565e-05, 5.6695957079142e-05, 7.673318185184618e-05, 8.035784831684371e-05, 6.992401479292761e-05, 6.693511540871333e-05, 6.428839259583813e-05, 5.46430317625904e-05, 3.939605627710638e-05, 4.768685118254443e-05, 5.628833751852856e-05, 6.898872191155408e-05, 7.187923794123958e-05, 4.0254140551499656e-05, 3.664243309874273e-05, 4.8467352448617887e-05, 5.14012711855936e-05, 4.4252760673643014e-05, 4.106816608411273e-05, 2.959093346931618e-05, 2.8665529971567713e-05, 3.3953835750959925e-05, 4.7203760644379435e-05, 6.644496435950054e-05, 6.748006665328947e-05, 5.612184257215616e-05, 4.0124407023717e-05, 4.070167921839315e-05, 3.258313814001371e-05, 3.4336227814367574e-05, 4.74902527112989e-05, 5.109967235424328e-05, 3.260595459000275e-05, 1.5663257477019722e-05, 1.67033547340703e-05, 2.8557173364285985e-05, 4.3421507020881175e-05, 4.774934920719456e-05, 4.617199968450235e-05, 3.677638109594419e-05, 2.756891381375458e-05, 1.4286782251055566e-05, 9.96335723058123e-06, 1.1667471661709491e-05, 9.664446333852128e-06, 9.958708766523821e-06, 1.5629055486734208e-05, 2.825278117733319e-05, 4.448095553163838e-05, 7.017498938138664e-05, 6.783847063445717e-05, 8.144975681870348e-05, 8.312032513305632e-05, 7.218812474529548e-05, 6.373251885578933e-05, 3.854885746037011e-05, 5.4839393394173704e-05, 5.379400229454449e-05, 5.121950535847657e-05, 3.432764871181096e-05, 4.7867751315489275e-05, 7.278057655034674e-05, 4.372289759521849e-05, 3.089194136730544e-05, 2.9536413811435337e-05, 3.081480008618822e-05, 3.7339199364850315e-05, 3.319872005688696e-05, 1.0985035494310283e-05, 2.746012103319472e-06, 2.1654855180291548e-07, 1.2306501242881007e-06, 2.4084514315418017e-06, 3.624714020294795e-06, 1.1086317832699528e-06, 3.1172537572942767e-06, 9.019997129910265e-06, 2.817737265039125e-05, 4.4344739659698915e-05, 4.267785751060084e-05, 4.760598360709402e-05, 4.7335105322505545e-05, 3.466109904692015e-05, 2.4024624879583447e-05, 2.857437547178449e-05, 4.730455532858697e-05, 6.479571404644367e-05, 6.007086712443706e-05, 6.162790144355293e-05, 5.3971019126922284e-05, 5.4088347799400426e-05, 4.897404276597433e-05, 5.703604153088021e-05, 6.707733347636249e-05, 7.600969050717104e-05, 5.7713089033904545e-05, 5.722877037295738e-05, 5.1845138521024555e-05, 3.848887691916472e-05, 4.371841125967565e-05, 3.745466293263662e-05, 3.369917618755961e-05, 4.548339292127966e-05, 6.658083481776746e-05, 4.675503794692365e-05, 4.4468751503371056e-05, 5.4406091956969295e-05, 4.662578582479179e-05, 4.8005716049170626e-05, 4.9776380981039243e-05, 5.993900096009323e-05, 5.4883838067782296e-05, 4.5616400209201924e-05, 5.878043790540648e-05, 4.535561722183542e-05, 3.0053475253727802e-05, 4.459784911521172e-05, 4.335649434692922e-05, 2.6206692802806412e-05, 3.6708526770996365e-05, 3.475688584784546e-05, 4.4630410069319583e-05, 5.657423256922423e-05, 6.322797669221466e-05, 6.20593347009189e-05, 6.208769429527943e-05, 5.939302726596495e-05, 5.3749236009552664e-05, 6.735093063595243e-05, 5.1403276289480805e-05, 3.797921104552384e-05, 1.8121977639342353e-05, 1.5647613669254502e-05, 1.6919419047323214e-05, 1.0744468487484882e-05, 9.667469559341587e-06, 6.184339309177687e-06, 7.1182783085171074e-06, 5.686426065873233e-06, 9.193662135677604e-07, 1.200149505611985e-06, 2.4745020103209265e-06, 7.85280741876986e-06, 8.099992145848801e-06, 9.703912290650682e-06, 1.5485254099664936e-06, 1.9192237936382753e-06, 3.05243414608496e-06, 4.884256694047783e-06, 4.7297962024051076e-07, 2.771562282251753e-07, 5.887779140770667e-07, 2.7246860695342174e-07, 8.538106597528141e-08, 1.040879108486477e-06, 1.2004749941265213e-05, 2.0447887420982695e-05, 2.312074210091602e-05, 3.492337023866888e-05, 3.5362858526182896e-05, 2.7152053785004537e-05, 3.799685276421038e-06, 8.412627194555157e-06, 2.3746154418661332e-05, 2.5695384793280678e-05, 3.963064709327921e-05, 6.899018850199986e-05, 8.722144950525425e-05, 9.146364944727858e-05, 0.000102251707956708, 0.00011687914060088978, 0.00010123560165494542, 7.78679723623612e-05, 7.49514913817789e-05, 8.192915057667875e-05, 9.076256133276931e-05, 0.00010854986623144539, 9.399763358044499e-05, 6.268195214439647e-05, 2.0529787434177277e-05, 2.465079090418507e-06, 6.350423905687127e-07, 9.029434953118982e-06, 2.070465444794419e-05, 3.4383090972827794e-05, 4.741389076671492e-05, 6.380850312535286e-05, 7.63356404728684e-05, 9.233456656631268e-05, 9.895175306646705e-05, 7.413878273210286e-05, 5.258150143474376e-05, 3.904602922827275e-05, 2.0136994559417988e-05, 4.543567490984191e-05, 7.716198835735454e-05, 0.0001156864417966797, 0.00011598749948351425, 9.36601821966712e-05, 8.443318859253345e-05, 9.206181935546498e-05, 6.833130983005824e-05, 4.832150623268029e-05, 4.0506766914228136e-05, 4.323938295118473e-05, 2.7495134133990292e-05, 2.0764015634616323e-05, 2.7923593210357863e-05, 3.954809636569052e-05, 4.7652540203960215e-05, 4.224218847057251e-05, 5.028867152644429e-05, 7.366845827895809e-05, 8.405335949268194e-05, 7.01846052170438e-05, 5.297417300009048e-05, 3.0188045230277758e-05, 2.974756454226597e-05, 7.49759126625387e-05, 7.29299957109989e-05, 6.005855456384375e-05, 6.331681385729367e-05, 6.11778761648878e-05, 6.331187954409328e-05, 5.938193744536101e-05, 5.958490378477756e-05, 5.363494133432568e-05, 4.535503514364156e-05, 6.471141618541108e-05, 8.548680694461558e-05, 7.54207699155286e-05, 7.275813425912533e-05, 5.362645135567205e-05, 4.455856302835164e-05, 5.079450164696995e-05, 5.134090422809524e-05, 5.159387492354498e-05, 3.6102325759692436e-05, 2.60126232835498e-05, 2.5114818379876887e-05, 2.0875733477905097e-05, 9.469753248166481e-06, 3.1278186905797933e-07, 9.479198901844496e-10, 5.191993535772855e-08, 1.6856481421003166e-06, 1.0079369370834935e-05, 1.891873650858677e-05, 2.1345644866099183e-05, 1.8114718460921585e-05, 2.4469782739663506e-05, 2.9414187941849126e-05, 2.679159395335801e-05, 2.4935884509687157e-05, 4.708679559559439e-05, 6.823140683272715e-05, 6.926940502582174e-05, 5.064807384545727e-05, 3.099026649491591e-05, 2.3574460930225982e-05, 3.073792051200803e-05, 3.841772799727386e-05, 2.404515617204182e-05, 7.14810570956969e-06, 2.5466477143732192e-05, 5.036840968460461e-05, 3.346465885693846e-05, 3.4068025056039674e-05, 4.931914185841978e-05, 5.655655053023439e-05, 6.260632114699051e-05, 7.806756058339562e-05, 7.68669367157351e-05, 6.435495800470851e-05, 4.924105492855728e-05, 4.367637314465749e-05, 1.854346118908771e-05, 1.6601731162483215e-05, 4.428732909632196e-05, 6.469770298071514e-05, 5.20412121015971e-05, 1.543981869412153e-05, 4.7071081382335624e-06, 7.405793683433925e-06, 3.081456931828498e-05, 3.884939054311277e-05, 3.438143678740902e-05, 3.5024068326364175e-05, 4.0664127759193845e-05, 5.273145412311963e-05, 5.389834505659699e-05, 4.026756307175679e-05, 4.6131853540977056e-05, 4.433228515594504e-05, 3.970181688809385e-05, 3.0062868398431222e-05, 2.2846416994714875e-05, 1.4558617790777467e-05, 1.3965876795907779e-05, 2.04107389327787e-05, 1.145503665043069e-05, 9.787019872682015e-06, 2.279670936922951e-05, 2.9000461930197743e-05, 2.980953261434352e-05, 2.8138610241380208e-05, 1.903631007159603e-05, 7.187923580822174e-06, 2.0433916612754953e-06, 2.2688965292061693e-08, 5.995022242321322e-09, 2.0518494498475626e-10, 1.1629945995210087e-11, 1.9275099245894826e-11, 4.080130411135236e-15, 4.8712134737238625e-12, 2.0956042165872193e-09, 8.377136845492773e-08, 5.970955961621294e-06, 6.541889117977277e-06, 2.982886349282018e-06, 3.4081055416819874e-06, 7.331378735095023e-06, 2.80942822425657e-06, 3.2408773561339487e-06, 4.306940871016923e-06, 5.968702027436763e-06, 1.3591845159795316e-05, 1.7259062991654267e-05, 3.0284000971736794e-05, 1.8821288397240017e-05, 6.30553506346636e-06, 1.7201942635134306e-06, 2.3367167953539857e-07, 5.918685534995706e-12, 6.6279238955622965e-12, 9.900473876026708e-12, 1.1285835411843965e-11, 2.503298180389342e-13, 6.69299569691228e-12, 7.062184320636707e-12, 4.070318255159134e-15, 4.068940374722483e-15, 5.035948477033092e-12, 1.4015526709944186e-11, 1.7124240665802273e-13, 2.042219985134886e-12, 4.06260896293284e-15, 4.471842362679246e-12, 3.5433575785704503e-13, 4.061813651902271e-15, 1.1792096991515142e-11, 8.552305969548968e-12, 4.574368300688084e-12, 8.540972852066421e-12, 5.08821887849392e-12, 2.9296213496661924e-12, 4.0630445168583755e-15, 4.0639980692743286e-15, 6.854426536384632e-12, 3.4343908086603645e-12, 4.0620790843328344e-15, 9.039927066322943e-12, 3.7129046208029824e-12, 5.714083254026198e-12, 4.372527100778907e-12, 6.686977535613931e-12, 4.753708734735856e-13, 4.054338097173147e-15, 4.054270558558001e-15, 3.2890433446043847e-12, 5.202670229843967e-12, 4.053783835559369e-15, 2.771870669692216e-12, 4.055167054039052e-15, 2.5978509242737084e-12, 2.9325518925690576e-12, 3.972503440334066e-12, 7.346745539153636e-12, 4.0540623260255356e-15, 4.054564504669223e-15, 5.547454283697826e-13, 7.054688521370862e-12, 4.0537540451737696e-15, 4.054705790310904e-15, 5.738480675917049e-12, 3.5275757892412998e-12, 3.0211313791420557e-12, 4.055448727967553e-15, 1.5324812299518588e-12, 1.5290747752350604e-13, 4.053277634380045e-15, 4.051757907534445e-15, 4.050894358482307e-15, 4.049580307503538e-15, 1.068038620837109e-11, 6.124179899287792e-12, 3.1233670745168346e-12, 3.668154444747079e-12, 4.0509607464694985e-15, 4.0512711149127534e-15, 1.5951332245101765e-12, 5.244862136678397e-12, 4.049717612235475e-15, 4.049353418795489e-15, 4.048340862702836e-15, 4.047339905997075e-15, 4.257819010959019e-12, 1.320770040221588e-11, 4.046178109107975e-15, 4.045647756429385e-15, 4.0461219505898494e-15, 7.903763504487227e-13, 4.662819217568877e-12, 3.5050543086243587e-12, 4.048383458095318e-15, 6.775624573687262e-13, 4.04625584043334e-15, 4.0446256323349624e-15, 4.0454515761791995e-15, 4.045601714210344e-15, 4.044993902977809e-15, 4.0445171530661006e-15, 1.445734168233464e-12, 9.202562673222768e-12, 9.002501537592253e-12, 4.0420261312532545e-15, 4.0423315815882784e-15, 4.04004731934688e-15, 4.037927653914229e-15, 6.090066274877493e-12, 4.036308391211759e-15, 4.03799630826287e-15, 4.037988948786061e-15, 8.00553608474315e-12, 9.99784997681669e-12, 3.2484513517931417e-12, 4.0299346583100765e-15, 4.030862357291314e-15, 1.7675357094214348e-12, 3.2507565270835005e-12, 4.942692617950029e-12, 4.029465375748323e-15, 1.2440676292281365e-12, 3.2204962885908038e-12, 4.0284411122819705e-15, 2.4131188720133007e-12, 7.36402557142401e-12, 3.4582544546957503e-12, 4.2037887578443943e-13, 4.0274711929925964e-15, 4.028266428302711e-15, 4.029350781312727e-15, 3.8851600230460055e-12, 9.141978030340038e-12, 4.029614955297241e-15, 4.031972434276893e-15, 2.4563469875078182e-12, 8.822803280228976e-12, 1.944278502605025e-12, 6.500540782159492e-12, 4.375074204726161e-13, 4.635072382533045e-12, 2.139208373026384e-12, 1.5928325201452209e-12, 4.02989218374362e-15, 4.0288345935039115e-15, 4.029255832578672e-15, 6.2137930269205325e-12, 4.031710384040323e-15, 4.031745078879098e-15, 4.49655892182427e-12, 4.031992757180228e-15, 4.031924826657461e-15, 4.8717185125316224e-12, 4.0322416671104056e-15, 4.031227964002423e-15, 4.891451373641366e-12, 4.0301694208197676e-15, 4.031159814148096e-15, 4.0317693606906475e-15, 9.91544885896895e-12, 4.029439278885393e-15, 6.236249797494411e-12, 7.222297950076279e-12, 1.0081461994823476e-11, 4.0290419029090076e-15, 3.1862292392749787e-12, 9.77900718399558e-13, 1.1026994085141503e-11, 4.025222002676566e-15, 7.833012988423066e-12, 4.0257751653150645e-15, 4.08925730665453e-14, 2.1389233484673477e-12, 3.3339480691709827e-12, 4.021305185810752e-15, 6.14641266152248e-12, 2.1522053296859845e-12, 4.61031147053597e-13, 3.4961374513511323e-12, 2.4446418441692833e-12, 4.5434679886434175e-12, 2.6388557471467628e-12, 4.0179895774822055e-12, 4.0213428982196966e-15, 4.019517840741673e-15, 4.019759279485697e-15, 3.14854519869756e-13, 8.203382256028281e-12, 1.7603457169517233e-11, 4.018753241312816e-15, 4.0186509257330606e-15, 6.008448096556089e-12, 4.018930434057552e-15, 3.739524794471686e-12, 4.0193946594827455e-15, 3.5470316844646893e-12, 1.9553937579561438e-12, 6.010605733157339e-12, 5.330061439046271e-12, 3.629190338563561e-12, 7.095888902838237e-14, 4.0119006075569335e-15, 4.01081250324166e-15, 9.437230140043258e-13, 4.010301340887902e-15, 4.011069943812714e-15, 4.011397302779586e-15, 4.60524429978309e-12, 2.6991124857645387e-12, 2.862540556475984e-12, 4.008952971709967e-15, 2.434768520308838e-12, 4.008648612962837e-15, 2.232523805078638e-12, 3.913480550401573e-12, 6.277073146010135e-12, 1.8067412185572487e-12, 3.8700059818699116e-12, 4.0078090070004386e-15, 4.007981680681921e-15, 4.709377457696097e-12, 4.006478193793075e-15, 4.007353738632001e-15, 1.4049119358186294e-13, 4.3979613677049e-13, 4.838182393009733e-12, 4.0030546536999945e-15, 9.06073286600167e-12, 4.001306781624517e-15, 6.260413924036158e-12, 6.674107249678286e-13, 4.0003168696146376e-15, 3.999962268590396e-15, 5.531294210277738e-12, 3.90778903218233e-12, 4.002043223006192e-15, 6.604366724680904e-12, 3.4699884992803405e-12, 4.00407257175026e-15, 4.003251072410284e-15, 8.44159236607075e-12, 9.16143649321435e-12, 1.8171960116717712e-12, 4.005702495817161e-15, 4.005462610665255e-15, 1.0845705354656525e-11, 4.000089159719002e-15, 1.594637153763982e-12, 4.003233804351941e-15, 4.1675040441295885e-12, 5.44474022688797e-12, 4.003147628971349e-15, 3.789649491118853e-13, 5.795503039269733e-12, 4.003343160768778e-15, 6.206474570902225e-13, 2.6073127202530674e-12, 6.572074043536823e-12, 4.001413196668731e-15, 2.2625884942084965e-12, 3.4579209860419854e-13, 3.998607545095912e-15, 1.1168348790224242e-12, 1.8177678109228094e-11, 3.997507379360399e-15, 3.0867642971533202e-12, 3.994543852896724e-15, 3.9922076145725264e-15, 3.754048672120258e-12, 1.1603178763517802e-12, 3.9895997466355375e-15, 2.8269614738441584e-12, 3.866707441955734e-12, 3.740694280070051e-12, 8.532351886359074e-12, 6.426318633696482e-12, 3.988236106065517e-15, 6.1102776798455965e-12, 1.1144691012740115e-12, 4.207988530985439e-12, 1.3023936797876275e-13, 2.249536661263863e-12, 5.49931996563582e-12, 1.4311369983654307e-12, 7.871667316650725e-13, 3.4639869140172127e-12, 1.7027024946857443e-12, 3.986490848665034e-15, 8.744176348836518e-12, 1.740146780909756e-12, 2.8279039762859726e-12, 3.985181822293926e-15, 3.9854397954826365e-15, 3.984797089695162e-15, 1.2515714329270264e-11, 2.455609505446784e-11, 3.984578777962472e-15, 6.760356049174398e-12, 5.5017193179900265e-12, 1.4864682520922334e-12, 3.983271254054194e-15, 3.662238021448307e-12, 3.984141650861361e-15, 3.984188876942407e-15, 3.737242300300823e-13, 4.5291694549065913e-13, 2.027217640900817e-12, 3.987723022349252e-15, 3.98915655687341e-15, 2.02171661194803e-12, 3.989216088363262e-15, 9.122542296938831e-13, 3.988507516801638e-15, 2.4640402205978698e-12, 3.988325366591823e-15, 5.933197413541969e-12, 3.9871905903971645e-15, 3.985617361182576e-15, 3.9837744030622504e-15, 1.7016619957927712e-12, 8.320158524424281e-12, 2.997922555298114e-13, 1.0763294292700674e-11, 7.348707951378162e-12, 4.3432773675652705e-12, 6.28856997834642e-12, 5.042727204422263e-13, 1.5880595485850536e-12, 4.779255895168382e-13, 1.1612661520967724e-12, 2.848615263501248e-12, 1.6105131678508345e-12, 7.978335370171453e-12, 3.9861508771426316e-15, 4.380994044970129e-13, 5.992287164286581e-12, 3.985840311006895e-15, 3.986531795907568e-15, 3.987663088048208e-15, 3.988240497711543e-15, 3.986620233283412e-15, 4.033149316741178e-12, 3.984040052639233e-15, 2.898632167741078e-12, 3.985791290458182e-15, 3.9864877971081395e-15, 6.717205314518214e-12, 4.878340618708796e-12, 1.6736858670152788e-13, 7.963770634436806e-12, 2.354663630503959e-12, 3.9823767574393934e-15, 5.705342486671718e-12, 3.98377513529696e-15, 3.9836013839199485e-15, 2.1284473951547572e-12, 2.5519858064024776e-12, 3.984956747793405e-15, 3.9837151126505514e-15, 3.9818801751173224e-15, 3.981067408952921e-15, 3.9808351212962e-15, 3.491469967490555e-12, 6.799719598597281e-12, 2.8567029951698774e-12, 2.105942418722872e-12, 3.982003137005873e-15, 2.026080928838107e-11, 3.9790165891119354e-15, 3.0637393689436102e-12, 1.0235575389973072e-11, 8.107351974008456e-13, 1.499096816450886e-12, 1.0089532691503834e-12, 4.769154396447869e-12, 2.4228994187268805e-12, 3.9726366809555295e-15, 3.97292385437446e-15, 8.389135157371454e-13, 3.975459821236333e-15, 5.153881128384254e-13, 4.838186741121615e-12, 3.973788529052654e-15, 3.971960572380661e-15, 8.061196620503914e-13, 3.971477765749841e-15, 3.972371382566837e-15, 5.932961892745434e-12, 3.973289917582622e-15, 3.9727981139780754e-15, 2.632286813201014e-12, 3.899547257631312e-12, 5.496033696588683e-13, 1.9623086210298226e-12, 3.970855943627902e-15, 3.970724838156972e-15, 3.9718078913180025e-15, 1.86120768069056e-12, 7.78131142967973e-12, 3.9715267036874166e-15, 3.0425331483774894e-12, 3.510488260771946e-12, 1.812538602297107e-12, 7.08978823135146e-12, 3.9699001038278695e-15, 3.969737683981674e-15, 3.969579264934285e-15, 2.8391097365784734e-12, 3.9670396560341966e-15, 3.964835742089833e-15, 4.432190044643034e-12, 7.863228916596355e-12, 4.8391774367070296e-12, 3.965988064199309e-15, 4.307546273729464e-12, 1.7233485306438461e-12, 1.3668894376989993e-12, 7.922778353350164e-12, 4.749830365230949e-12, 6.2525296966160744e-12, 2.065144665063349e-12, 3.307964799939963e-12, 3.959907066757845e-15, 3.959768596155387e-15, 3.9610607600024206e-15, 3.962671809515445e-15, 3.963594546219699e-15, 8.830035005640035e-13, 3.963465460401218e-15, 3.830454985524861e-12, 7.394947083359901e-12, 3.9613926424929075e-15, 3.629472922869674e-12, 3.964057804909824e-15, 2.3909248756636215e-12, 3.964960737065145e-15, 3.9638861252282984e-15, 3.963627360489445e-15, 3.963366038896607e-15, 7.126744021855145e-14, 3.965483249550823e-15, 3.966035089427501e-15, 3.965707611790775e-15, 1.6037940202934395e-12, 3.3423927951131464e-12, 3.6148804675331563e-13, 3.967263338250402e-15, 3.968388970822433e-15, 3.968747764289158e-15, 3.969058540862276e-15, 8.679246052632655e-12, 3.967301490332424e-15, 3.96768742874863e-15, 3.9688706476759345e-15, 6.630497631390725e-14, 3.968789033509051e-15, 3.96971250426889e-15, 3.969990760795184e-15, 5.736339734094005e-13, 3.971915952092278e-15, 3.969894740347904e-15, 9.068172754632917e-12, 7.762909282733652e-12, 7.821463113714241e-12, 7.500307568878764e-12, 2.279315274859513e-12, 3.97118973838207e-15, 3.972227541166645e-15, 8.630230550488196e-15, 2.2114144208184823e-12, 3.9730835739897504e-15, 3.975285003690713e-15, 1.6652619575550527e-12, 1.6024717181990504e-12, 2.6535998921558098e-12, 7.149249695613269e-12, 3.976624095452393e-15, 6.294145672646432e-12, 1.518294217512966e-12, 3.977560246470904e-15, 9.00931644206965e-13, 3.98226141457035e-15, 3.5592589913392273e-12, 3.983116812453574e-15, 6.531370509190619e-12, 3.983776943899116e-15, 4.8223307410865616e-12, 3.984113002772957e-15, 3.986138694558378e-15, 6.252920014160043e-13, 4.897265629750295e-12, 5.50722183147452e-12, 1.6308447540005076e-12, 4.876535846771182e-12, 3.983701200592725e-15, 2.320980486763326e-12, 3.224147516952234e-12, 3.4301401086386557e-12, 3.9848336829762505e-15, 3.9850051544367885e-15, 9.935790303353585e-12, 2.6468839252351806e-12, 6.125816942374822e-12, 3.986098388463704e-15, 3.986158983822955e-15, 3.987930239281877e-15, 3.98950881639255e-15, 2.871972727469554e-12, 4.9169750234289064e-12, 1.318782830263428e-12, 3.995105310098949e-15, 4.56509065914462e-12, 3.994893457024246e-15, 3.996042403511424e-15, 3.484801943330936e-12, 1.9903950331847313e-12, 4.002334220406725e-15, 1.2856752530869235e-12, 4.001814876976241e-15, 4.0004850972912636e-15, 1.0497928911034794e-12, 1.012477396441039e-12, 4.0009934334351135e-15, 1.0672347489732025e-12, 4.002328102620109e-15, 5.542965479550399e-12, 1.6150833349303484e-12, 1.2430787062184944e-11, 2.7236121520038967e-12, 4.004137960450364e-15, 1.2054876286949443e-12, 1.0411792555379463e-12, 3.026785175626221e-12, 3.2990128634227048e-12, 1.4017818312538014e-11, 3.999963767318387e-15, 4.000482710748282e-15, 4.000206410066098e-15, 1.0946651546398389e-12, 4.000609765622249e-15, 1.2177784933202684e-12, 7.41548069647613e-12, 8.662457889522999e-14, 6.675588976531234e-12, 2.6053105107914886e-12, 3.611816754385866e-12, 4.741364095784488e-12, 4.001754304700515e-15, 3.035271478617319e-12, 7.486815722753186e-12, 4.322636018063556e-12, 3.4727816529729318e-12, 2.9144445223776646e-12, 4.000408772047083e-15, 2.4520225242418568e-12, 4.001048917502017e-15, 1.4570070569243587e-13, 3.2522602142145304e-12, 3.024377767806744e-12, 6.275760449268441e-12, 3.4295695695189236e-12, 4.0015694895745714e-15, 4.000881127546797e-15, 4.001299693399839e-15, 4.610798954098e-12, 4.003923434268994e-15, 2.6500248681403548e-12, 5.347380107443455e-12, 4.003957794453386e-15, 4.005909348155694e-15, 4.006133704053147e-15, 2.1786243530621685e-12, 4.004920791692722e-15, 4.004740946408741e-15, 5.936184584269207e-12, 4.990829012898073e-12, 3.0350438245425713e-12, 4.432158164378184e-12, 5.492716582700244e-12, 4.003048470720923e-15, 4.586631206512317e-12, 2.520756569614367e-12, 4.006127920464389e-15, 4.008289437663839e-15, 4.163311372919481e-12, 4.00910044375896e-15, 4.009229315088443e-15, 3.7330041749287085e-12, 4.6244386439084675e-12, 1.3589074212157976e-12, 7.999658213872285e-12, 4.014638531913429e-15, 4.014500671284244e-15, 4.012891838219276e-15, 2.3860370426297986e-12, 4.64927976259544e-12, 4.009979834529857e-15, 8.054421068252585e-12, 4.8997016800547e-12, 4.779222014450785e-12, 2.4824036873806494e-12, 4.009400641942481e-15, 4.011480223621793e-15, 4.0123195471918624e-15, 4.0121707462419484e-15, 4.979442282042017e-12, 2.1848298365365236e-12, 1.2003018059786171e-11, 2.978702597599858e-12, 4.013497978801977e-15, 8.089902894684609e-12, 4.293517004319994e-12, 2.301051158042023e-13, 4.013456356218807e-15, 2.9939602920604257e-12, 4.012443939313937e-15, 3.1113264565591963e-12, 4.013126123396036e-15, 4.012564485352739e-15, 8.023062048885504e-12, 1.0888316005240408e-13, 1.7901252636809236e-12, 3.134627800298956e-12, 4.012025047668942e-15, 4.57540815990085e-12, 4.013150901981052e-15, 4.012527914035345e-15, 1.0746079521924193e-11, 5.1720495938185315e-12, 2.950707524392967e-10, 6.792672497419589e-12, 5.3414098957891336e-12, 7.903466757139155e-12, 4.015512868475376e-12, 4.011281277873224e-15, 4.010096400188818e-15, 4.010471351660052e-15, 4.011707127899359e-15, 5.754193716934454e-12, 4.012525457908248e-15, 4.0107827619849834e-15, 6.374933346679504e-12, 4.0070558988009464e-15, 5.56599424971632e-12, 3.825304145988225e-12, 4.0050869202383404e-15, 1.7403215696046465e-12, 4.0072910767702815e-15, 4.007981596209157e-15, 7.58245131452109e-12, 2.407417253529508e-12, 6.765060180890048e-13, 3.8538601679901835e-12, 7.837064951918942e-13, 4.71132197084591e-12, 1.5096432462252934e-12, 7.162984620180797e-12, 5.658515700811323e-12, 4.007649293814343e-15, 4.007845359245708e-15, 1.452290517146016e-12, 2.837775088732932e-12, 4.011067672529476e-15, 4.012538014210856e-15, 4.014032327482069e-15, 4.014268756843734e-15, 4.014027437953793e-15, 4.014860130406741e-15, 6.342969291678272e-12, 4.1346496875385065e-12, 6.122807886750452e-13, 4.015594717769065e-15, 1.9989679901805587e-12, 6.769925817360465e-12, 4.957268746039214e-12, 1.2756685054888239e-11, 3.646012300672319e-12, 3.723660883772502e-12, 5.716344441481345e-12, 6.776287132333525e-13, 4.007827064468822e-15, 3.499003218349612e-12, 4.0113052387182274e-15, 8.471441204190979e-13, 5.157719635087451e-12, 4.01433301186307e-15, 4.221475871879028e-12, 4.016012212581083e-15, 9.842770923870343e-14, 4.017904370660029e-15, 4.0175546099492e-15, 4.0177433408767e-15, 9.309693149693014e-13, 2.0937960669952544e-12, 4.01866676924021e-15, 4.017944792530998e-15, 5.026611705609866e-12, 4.014610184043677e-15, 4.014398651357593e-15, 4.01619112215991e-15, 4.016233788570982e-15, 2.5620688439156835e-12, 2.498713701345476e-12, 4.01424357313498e-15, 4.015576796344916e-15, 6.877950822709251e-13, 4.639497913009076e-12, 4.017811120033755e-15, 4.0169802665005436e-15, 4.016344728529207e-15, 4.016480365383757e-15, 4.017175430899676e-15, 1.3341043765616641e-12, 3.091994655610593e-12, 4.017268694623424e-15, 4.017960217600844e-15, 4.279251611831617e-12, 5.4813820952271976e-12, 4.019009955231849e-15, 6.35856833216951e-12, 4.018620152897172e-15, 3.426885918399759e-11, 3.1572038372681965e-12, 4.0183119357940414e-15, 6.280277862977278e-12, 4.0214522665828244e-15, 4.1405761740632385e-13, 4.025229210158196e-15, 4.9203515980565976e-12, 1.9136734994648948e-12, 4.027784338054071e-15, 6.787203823207415e-12, 4.028195485067085e-15, 4.4488014593463576e-12, 2.609050883761911e-12, 2.479613152372175e-13, 1.0943931698807623e-12, 4.028402087278302e-15, 4.027455893594444e-15, 1.4596839421257642e-12, 3.618719476442912e-13, 7.799701971460704e-12, 4.027690541885346e-15, 4.720383745150533e-12, 4.595617218377949e-12, 4.023391578717714e-15, 4.023211288439982e-15, 1.329416028556599e-12, 1.6006150990789027e-11, 1.5707759647277363e-12, 4.026713569869975e-15, 4.5931413358730584e-12, 4.026215146938652e-15, 4.02538102719252e-15, 2.3367620069946423e-12, 2.1404068542982324e-12, 4.022688562195716e-15, 5.244699522837593e-12, 8.983867042761409e-12, 1.4330695826612416e-12, 4.026593345635444e-15, 1.9674709480436638e-12, 4.02768816908363e-15, 4.029124571832486e-15, 6.045736032219947e-12, 6.029811597493282e-12, 4.031442498107054e-15, 1.922145171921321e-12, 4.032103512653224e-15, 3.726116373673467e-12, 4.032431534185254e-15, 4.032406992822546e-15, 9.034830838101457e-13, 6.0960230757824525e-12, 4.0334419882277545e-15, 4.032956980985922e-15, 4.03248158359213e-15, 2.3868472045514746e-12, 8.34198653305007e-14, 3.621166064110163e-12, 4.0315516276947215e-15, 1.7541012767394929e-12, 4.032595028918775e-15, 4.033422639448517e-15, 4.034270469345106e-15, 8.121759858715039e-12, 4.0163141692171644e-12, 4.036924070829945e-15, 4.035889396576597e-15, 8.610602922656747e-12, 4.03444230173885e-15, 2.465636804838273e-12, 1.0085937059655853e-11, 1.1998147182431298e-11, 3.885996155156081e-12, 4.029880740610832e-15, 4.030198927930718e-15, 4.029683555573348e-15, 4.02969013598126e-15, 4.824906111917834e-13, 7.072336074162904e-12, 4.034528368014924e-15, 4.034093957582585e-15, 5.1516850061603e-13, 2.394077477455673e-13, 4.7243951865422795e-12, 4.0347440938184566e-15, 4.0365394975070654e-15, 4.038788361443411e-15, 4.0390214181238455e-15, 6.543207568958252e-12, 2.9121696933220598e-12, 4.404128034620622e-12, 2.090042587299439e-12, 4.035648597929982e-15, 4.0371034174056166e-15, 1.3641675074359484e-12, 4.037242560190362e-15, 4.034565679102255e-15, 1.9757718784048394e-12, 9.520251289335552e-13, 6.861736209242063e-12, 3.0246133575682295e-12, 7.27910067891452e-12, 4.032981425797037e-15, 3.4230436603107017e-12, 1.350176154964772e-12, 1.5825235355695325e-12, 4.0307487144011044e-15, 4.033015858190633e-15, 4.032914343323612e-15, 1.6041167725022146e-12, 2.696299957069846e-12, 4.0310581385886845e-15, 4.0315968070790335e-15, 3.551612331493092e-12, 4.0309895725195276e-15, 4.029167310583536e-15, 2.050388671271306e-12, 5.773890016868547e-12, 6.979995045475329e-12, 4.0244845382367565e-15, 3.3093332663294168e-12, 4.023889978659795e-15, 7.898063088323743e-12, 3.735567701458135e-12, 4.02019950643748e-15, 4.020201305244963e-15, 4.019802116919817e-15, 4.0191759990265566e-15, 1.8367116746387437e-12, 3.0971243646886182e-12, 4.178742283561902e-12, 4.020921163281265e-15, 4.021938453450896e-15, 4.022933374109637e-15, 4.023267621727393e-15, 4.0229050803160136e-15, 4.49534738443015e-12, 5.771860462179715e-12, 4.22222507372035e-12, 4.022147491720478e-15, 6.701995015533881e-12, 4.0225207520380636e-15, 9.467232159565874e-12, 2.0477727204413655e-12, 4.025193727032291e-15, 4.025462360375988e-15, 3.215011592266183e-12, 3.9288354254438295e-12, 4.027181990336075e-15, 8.197230062771074e-12, 4.026957280833522e-15, 2.037957124079826e-12, 4.028601951604832e-15, 3.525456706778152e-12, 2.2735511609590425e-12, 9.203946510913299e-12, 5.216897858056785e-12, 4.032796137932373e-15, 4.25775928308427e-12, 7.227674999338032e-13, 8.992485712032549e-13, 4.034828359893116e-15, 4.0362815612161986e-15, 4.0385369990462065e-15, 2.328462011058908e-12, 4.0406551395178685e-15, 5.66614767035921e-12, 5.34508933885582e-12, 4.042178961459918e-15, 4.04094503729355e-15, 4.040538737708705e-15, 4.041561148773197e-15, 4.042187261493983e-15, 2.12094612619736e-12, 4.043481801706067e-15, 4.665134134409748e-12, 4.0435262941614436e-15, 2.0573708393422498e-12, 9.74079462059063e-12, 2.2249919421279436e-12, 4.044555499268957e-15, 4.044317133934108e-15, 4.0421136978082895e-15, 8.482215769519498e-12, 3.534239491555837e-12, 1.270695399981386e-12, 9.986682516727941e-12, 4.04491365794641e-15, 9.422389471082485e-13, 4.044222326260831e-15, 3.5289437539279397e-12, 2.2636988631825845e-13, 2.1930232133473223e-12, 4.040368699623366e-15, 4.041559241927737e-15, 4.042289110469824e-15, 4.0416000876368986e-15, 4.0407188400568904e-15, 2.0003181859436696e-12, 4.0400546983741164e-15, 2.6661598684670713e-12, 9.093480592356175e-12, 4.040869642705352e-15, 9.547395168664097e-13, 4.039022649859468e-15, 4.037992768890736e-15, 4.037742200752289e-15, 2.993094771577354e-12, 1.3164954261445315e-11, 4.042100397069087e-15, 4.147181347099917e-13, 4.04230582397146e-15, 1.2679125748598421e-11, 4.260240864892046e-12, 8.975535290448046e-13, 4.041803504325292e-15, 1.1634073997024608e-11, 4.040464516834394e-15, 4.04045031481376e-15, 4.041816547276576e-15, 4.042472032601311e-15, 7.438725846427597e-13, 4.043628515466939e-15, 4.043697979019508e-15, 8.171479124678454e-12, 4.042486129254549e-15, 6.694067157592358e-12, 5.016951960698008e-12, 1.5751494895317213e-12, 8.758159770365584e-12, 4.0441432006069075e-15, 4.0456887833243726e-15, 2.7728873451073232e-12, 2.9099738027799143e-12, 6.797032920719428e-12, 8.445068016932486e-12, 1.095568374618594e-12, 4.053106245080793e-15, 9.005333145802944e-12, 4.052887133401417e-15, 4.761539767210375e-12, 6.824174298464183e-13, 8.287138861992383e-12, 4.05462212682237e-15, 3.945961615094926e-12, 4.058765619046042e-15, 2.0743486828319726e-12, 1.2883714043559472e-11, 1.206270840030978e-11, 2.7456811739673187e-12, 4.398320889845772e-12, 4.06124029779747e-15, 1.1137779811252387e-12, 4.061193296576325e-15, 4.06387094300102e-15, 4.065515060037141e-15, 4.065044608138198e-15, 4.063720532249395e-15, 2.285321513605083e-11, 5.913147793235173e-12, 4.067355554156829e-15, 4.068680925750391e-15, 6.4589167454835085e-12, 4.068436854064692e-15, 4.07036803411586e-15, 4.07053945910756e-15, 4.071785373164979e-15, 3.1782979996955977e-13, 1.1442938792820247e-11, 1.374282748691343e-11, 1.5381601395464546e-11, 1.5488255470064112e-09, 1.4223897091717594e-11, 4.080048185651016e-15, 4.954649170042341e-12, 6.556685262654626e-12, 3.3395412499249245e-12, 8.513115329959829e-13, 8.476619569301447e-12, 4.016054581260602e-11, 6.553678410224443e-13, 7.1414088397515655e-12, 1.494317580022092e-06, 2.160984987537974e-06, 2.543608546901103e-09, 8.21312020641979e-12, 4.080003370111288e-15, 7.603709400748636e-12, 4.082296222662901e-15, 2.222176046511412e-11, 3.273368622818733e-11, 3.469542674562674e-11, 5.1755683956761026e-12, 4.081114788735144e-15, 7.559701883057386e-11, 4.081397905929311e-15, 4.176468426533254e-12, 4.079558795734017e-15, 4.079079155857716e-15, 4.078655066744172e-15, 6.656617779182401e-12, 4.079994545895929e-15, 1.777635051478747e-10, 4.078924264894586e-15, 1.4279637751066583e-12, 4.474510802839447e-12, 1.4312026311605132e-09, 6.247534229266321e-12, 9.526929958918747e-12, 4.0783179939632616e-15, 2.8944125659193076e-11, 4.078739478571399e-15, 1.550362292047097e-11, 6.28597255786067e-12, 4.078617699013416e-15, 1.1289876125998794e-11, 1.28028825058143e-11, 4.0757330452822165e-15, 2.71808164858579e-12, 1.4243286931561871e-11, 4.074371351324056e-15, 1.1789426221673231e-11, 6.7779538710931295e-12, 4.0749307631361536e-15, 7.70050085278166e-12, 1.2684311222344115e-11, 2.0446158858593655e-12, 1.3848443580707173e-11, 8.61691706051432e-12, 4.070805534192329e-15, 9.120392612665192e-12, 8.17041839292069e-12, 4.069929255244276e-15, 3.490919713668055e-11, 2.207717614992305e-12, 9.032003345988179e-12, 2.0366360021368262e-12, 4.0731009142711e-15, 4.072271174916888e-15, 4.07058622326644e-15, 4.068419005281188e-15, 4.065852904595541e-15, 1.929015637737695e-13, 4.0628696291771295e-15, 4.061825578179052e-15, 9.618028291315336e-12, 2.0931473205663587e-12, 6.810424317900359e-12, 2.8493698106657242e-11, 4.0601572042678525e-15, 6.351397986798365e-12, 2.0949235065866935e-12, 9.745555957140291e-12, 5.212131967357768e-12, 4.056392917023152e-15, 4.055850357352724e-15, 8.710947057949596e-12, 1.1777137352785875e-11, 4.05613637079033e-15, 4.054561776020424e-15, 4.052361607623367e-15, 2.8527778815791267e-12, 7.339786405217936e-12, 2.4149969995909887e-12, 1.281847705570723e-10, 6.347492591565671e-12, 6.618089937785548e-12, 4.053494897844114e-15, 6.08652351957268e-12, 5.597893240306722e-12, 9.313156109396826e-12, 4.057728223431305e-15, 6.03242885739588e-13, 4.055249716270298e-15, 4.054220313059966e-15, 4.053543912850452e-15, 8.559013770486104e-13, 6.222095766592254e-13, 4.051503288389106e-15, 4.049963425322315e-15, 1.7112490475907652e-12, 5.431296925760548e-12, 2.980411401196096e-12, 1.7450971404682858e-12, 3.632368978311325e-12, 2.3199525263855803e-13, 6.7174544865005655e-12, 1.415486535568953e-12, 4.044990115989427e-15, 8.439499334002937e-12, 4.047069448256406e-15, 7.242177877498114e-12, 4.785040706442218e-13, 4.051493455292823e-15, 4.0522347807214416e-15, 3.824005592774541e-12, 4.050443515280458e-15, 4.048611311317041e-15, 1.8779116361273545e-12, 3.799493434095975e-12, 4.04865722579887e-15, 1.912259930270518e-12, 2.3981579878914224e-12, 4.0496530274321095e-15, 1.8530914779790645e-12, 4.050814258153005e-15, 1.4298266734552332e-13, 6.189546164544081e-12, 3.0256536832249442e-12, 4.054705691421648e-15, 4.056930085318565e-15, 4.057956190060719e-15, 3.497746121904403e-12, 2.0820501412421813e-12, 4.060728955369473e-15, 4.06038684621578e-15, 4.0622731848475186e-15, 4.061823988799968e-15, 4.060051861846689e-15, 4.059270333800397e-15, 4.060172639356243e-15, 4.0611095089053485e-15, 1.0524820341180106e-11, 9.106213126678872e-12, 6.088232601953778e-12, 1.2254766122390086e-12, 2.0738862364088187e-12, 5.993849195117405e-12, 1.198890536606936e-11, 9.466572728625745e-12, 2.6368067107907614e-12, 4.0642524717922455e-15, 4.065337062501673e-15, 4.0648201174035665e-15, 8.354775990872789e-12, 7.826086097626878e-12, 5.308959633917389e-11, 4.069554243275391e-15, 4.06995414976731e-15, 4.563166965456824e-12, 4.070845934223113e-15, 6.050085383025027e-12, 4.068203089305994e-15, 1.972320377447901e-12, 1.2823706912657991e-11, 4.066242164787018e-15, 4.065716791732713e-15, 4.064992887862617e-15, 9.942513528068004e-12, 4.066537887934253e-15, 4.066839683883715e-15, 4.066511080073483e-15, 4.065600545390502e-15, 4.064965725146987e-15, 3.8313151803392605e-12, 4.064597103794737e-15, 4.065640772352959e-15, 4.065969334061937e-15, 4.066162437335158e-15, 2.4982668473084724e-12, 2.2513174374450642e-13, 4.0634563929804504e-15, 6.3614686466883606e-12, 4.289900105042588e-12, 5.73930775187764e-12, 6.19765592785783e-12, 3.5651825549221716e-12, 4.064858164835136e-15, 4.065767603855813e-15, 4.067199637315178e-15, 2.993846197451798e-12, 1.5805554220198468e-12, 4.071481966038616e-15, 1.5163856008131961e-12, 1.5701297033952915e-11, 4.7270209371338925e-12, 1.3132768835005102e-11, 4.068670000428254e-15, 4.068159639052406e-15, 1.135515455166493e-11, 7.406416972982914e-12, 5.8254781442372795e-12, 6.064781432499221e-12, 4.070500452004609e-15, 4.07124689666308e-15, 2.563161213574093e-12, 4.069973507305061e-15, 9.656103985629752e-13, 3.3646192935753414e-12, 4.150003329965191e-12, 4.463337826292099e-12, 4.369194777881844e-13, 4.138268541475659e-12, 1.6945280344639234e-12, 4.073402354154474e-15, 6.4811309781331906e-12, 4.498924181949006e-12, 1.5229646747250894e-11, 1.2614659292769487e-11, 4.076086998196073e-15, 8.66727200015048e-12, 7.33183762059464e-10, 6.890440077612561e-12, 4.076338470321476e-15, 1.1205375415462127e-12, 4.076917354502552e-15, 4.0772431837215225e-15, 9.545892716953825e-12, 4.07760205641652e-15, 2.2650358467545547e-11, 1.0400075418399491e-11, 4.700636097383598e-11, 7.3072028871135665e-09, 3.763655484697513e-06, 8.588066542855207e-06, 5.368508752282311e-06, 1.6146350913001962e-07, 1.3124463697702611e-11, 9.111128402821954e-12, 4.074761799592082e-15, 2.1818804815119118e-12, 3.900114237131667e-12, 2.391864634147886e-12, 4.071375850988168e-15, 4.071147063275094e-15, 4.842239514661988e-12, 4.067603216401917e-15, 4.067061867872482e-15, 5.51051607063338e-12, 1.029112360429997e-10, 1.4081174652565802e-12, 7.11576597229158e-12, 4.066177648188081e-15, 8.816014166602628e-12, 4.066728109637288e-15, 4.065140335304657e-15, 8.843204164339845e-12, 6.208218721286992e-12, 4.069058783883508e-15, 4.06947318583077e-15, 5.749926044539975e-12, 4.554734103406052e-12, 1.179925570354824e-11, 4.0616737081623585e-15, 5.2514419420043074e-12, 1.9810341508835865e-12, 4.060776435846316e-15, 4.062345938129472e-15, 3.8197638635897984e-12, 6.695569571704429e-12, 4.0580479696414084e-15, 4.72352689332609e-12, 1.2555920659385867e-11, 2.6274856181201353e-12, 4.061952423056533e-15, 4.061423812009296e-15, 4.0585428839728575e-15, 4.0580625898899885e-15, 1.0899029349877515e-11, 4.058725098379169e-15, 4.058829265966908e-15, 4.0578519549581106e-15, 4.060226113094773e-15, 4.058954426361854e-15, 4.060199926305662e-15, 8.832503365968647e-12, 4.062299691157326e-15, 9.867053495767802e-12, 5.908853258578737e-13, 4.065436026517543e-15, 6.966007865384823e-12, 4.066756687182419e-15, 4.066741087865854e-15, 4.068737976919357e-15, 6.6339631607539586e-12, 4.033405821794138e-13, 4.063890264468465e-15, 4.064558223447906e-15, 4.065601404153199e-15, 3.358179427287118e-12, 1.559130210253964e-13, 4.063514449352329e-15, 4.062700588956313e-15, 4.062736214667544e-15, 1.3437286723397906e-11, 4.061120317416982e-15, 7.2376103869484544e-12, 8.923760971919267e-13, 4.059843588453505e-15, 4.058136752342084e-15, 4.056594697319534e-15, 9.270366203461798e-12, 8.980407740425643e-12, 4.05388350191937e-15, 1.1436425678206487e-11, 4.577654627342674e-12, 3.753137016040322e-12, 3.201796663271862e-12, 4.758131149006916e-12, 7.387491495557372e-12, 5.3655865158533154e-12, 1.0608062817445858e-13, 4.0516575354636756e-15, 4.050267211256375e-15, 3.1690057908546395e-12, 4.05075440712668e-15, 4.0499364379578524e-15, 1.0112376993560947e-12, 5.09873686054709e-12, 4.052526661012892e-15, 4.053159449704794e-15, 1.3364572422399505e-12, 4.052286805590784e-15, 4.431443272463414e-12, 4.81059120789017e-12, 4.279661959549482e-12, 4.054656236628276e-15, 7.161111958109789e-13, 6.898997284502518e-12, 1.988800928017229e-12, 4.053270828167638e-15, 3.4011425231364853e-12, 4.053343856915633e-15, 3.008904910038817e-12, 4.051380844649582e-15, 1.8098301180142742e-12, 4.057716142536856e-15, 4.057287690448657e-15, 9.625409961562644e-12, 4.054510135192002e-15, 1.1405713741203154e-11, 4.054770831474504e-15, 4.053549029395223e-15, 4.054268663563221e-15, 8.160931321528335e-13, 4.6381818345753185e-12, 4.0528078218664765e-15, 8.043927091564956e-12, 3.860615797114944e-12, 1.7937718498388397e-12, 6.261567382255097e-12, 4.055312176762878e-15, 4.060428457552231e-12, 4.055248507906345e-15, 4.054433405939285e-15, 2.959378115764631e-12, 4.054053314135285e-15, 2.0906877581298067e-12, 2.2831907641713593e-12, 3.5586631346870923e-12, 4.053675691277932e-15, 4.050923885467478e-15, 6.010987082820616e-12, 4.0531833548525314e-15, 4.052775746459734e-15, 4.052160590314215e-15, 7.838352180323659e-13, 3.757026434155448e-12, 4.04945575071554e-15, 7.353996011863973e-12, 5.5784000477384985e-12, 3.423901870124859e-12, 1.764455839625826e-12, 4.048408362358457e-15, 1.6644983626638806e-12, 4.050207372904766e-15, 2.0642901709176145e-12, 7.38004276336548e-12, 4.050392198844461e-15, 4.0515031619088816e-15, 4.052496341469286e-15, 1.2622172788216628e-12, 3.432785421495699e-12, 5.373200540165385e-12, 7.137236301483019e-13, 3.932227063977211e-12, 4.175534762878782e-12, 4.0591155806903815e-15, 4.0595223145713706e-15, 4.061413699032875e-15, 4.064680650042006e-15, 1.2800602141537991e-11, 4.90086169909209e-12, 1.171318157825279e-11, 2.9147782426193057e-12, 4.06893374480277e-15, 1.23356774344657e-12, 4.071385642946402e-15, 4.599737615603106e-12, 4.4864995675381967e-13, 4.072637159485379e-15, 2.374956355431552e-13, 4.071594501842202e-15, 3.5592964533643995e-13, 4.0721852873682635e-15, 4.074427931217638e-15, 4.075204898124986e-15, 4.075661141993638e-15, 1.497716574155846e-11, 8.547539707000735e-12, 1.4382391452162346e-11, 6.434822284676812e-11, 7.37130173642693e-08, 3.1964830259795124e-09, 1.800498651006362e-11, 2.185324387354786e-11, 3.823400127185539e-12, 1.2605917035985345e-11, 7.756600323771825e-12, 4.079380457452043e-15, 4.078583720054626e-15, 1.1138464986438963e-07, 8.539602810404421e-06, 1.0365965335305674e-05, 1.2190538056285441e-05, 2.745248129604399e-05, 5.143380580789713e-05, 5.9769296333848556e-05, 6.692086350187721e-05, 6.391218595949141e-05, 6.387745570342359e-05, 6.219045134971293e-05, 6.880186778290174e-05, 6.605346250567696e-05, 5.782098992474285e-05, 5.872021053858892e-05, 5.6529575149865424e-05, 5.4368838498986056e-05, 4.151637044150311e-05, 3.093822581812614e-05, 2.9246841608995735e-05, 3.0063900369556987e-05, 3.0622121441412007e-05, 2.632725431602459e-05, 2.3590338037524607e-05, 2.0116248620584964e-05, 2.417972066854495e-05, 2.0312032336743443e-05, 1.643403915545924e-05, 1.017002040298923e-05, 1.5695134734828232e-05, 1.4959693667872522e-05, 1.5512422745589663e-05, 1.2214367044138297e-05, 1.1097591517147117e-05, 1.0790889134162807e-05, 1.5702796616083746e-05, 2.6329795792047437e-05, 3.08441639314849e-05, 2.6418178438736436e-05, 3.8351705469426596e-05, 5.812290527254183e-05, 5.281089707682117e-05, 4.2144896002358336e-05, 3.839074011267719e-05, 3.964306595566367e-05, 4.553804111255577e-05, 4.836513749744621e-05, 4.005290165650049e-05, 4.895089629936078e-05, 4.2818994936176736e-05, 6.036322220185362e-05, 7.21219714879478e-05, 6.84407431182841e-05, 7.714764652830124e-05, 6.530697941511981e-05, 5.209883133248336e-05, 4.597376284170983e-05, 4.3789115656926084e-05, 5.236330870184015e-05, 6.484554515793806e-05, 6.541169143777021e-05, 6.565012565637322e-05, 6.666024764331214e-05, 7.404784690132007e-05, 7.020249119382502e-05, 6.024745562450036e-05, 5.8769786073074206e-05, 7.010126636043758e-05, 9.128500051797483e-05, 0.00010301392068384437, 0.0001069296408910718, 0.00011064023035092331, 0.00011672609223506755, 0.00011830678361186717, 0.00010393070534610692, 9.18255976567003e-05, 8.31194156958639e-05, 8.744897434196717e-05, 9.156768222009757e-05, 9.61538821996109e-05, 9.4860904516466e-05, 9.893116209938595e-05, 9.345591609130751e-05, 7.044789216119647e-05, 6.55167060219192e-05, 6.386136551947523e-05, 6.963277329583206e-05, 8.895868614679964e-05, 7.383281620316699e-05, 6.034753776906636e-05, 7.368998827792424e-05, 8.189152651647393e-05, 6.920913145497551e-05, 7.139551826332432e-05, 7.850772336861711e-05, 1.245485311029596e-05, 1.7736031620968212e-08, 4.075180945750694e-15, 1.9083196408038642e-11, 3.63086917933116e-07, 1.045886495654255e-05, 3.0814398811084214e-05, 4.558157404704529e-05, 2.1932751096292532e-05, 2.584716396816434e-07, 4.048111735088452e-10, 1.7817041557327604e-07, 1.605144265064039e-05, 8.598691885210731e-06, 6.77983741623034e-07, 4.345397729742169e-06, 1.4953249225991472e-05, 1.0803759340953515e-05, 1.4686836766354893e-06, 2.074036046554871e-06, 3.3788867501584053e-06, 8.747264389442933e-07, 6.2763047051472295e-06, 1.5151705410623614e-05, 3.652043494366838e-05, 4.9517929320275885e-05, 4.198070173368168e-05, 3.131359269991542e-05, 3.212589971623576e-05, 3.381195420092222e-05, 2.8279446973767567e-05, 2.844966800088065e-05, 2.2608033916090484e-05, 3.784793257224888e-05, 5.293654534900688e-05, 6.423057593082973e-05, 4.3235698609070274e-05, 5.036971448923809e-05, 5.524635440988538e-05, 5.3544570282068375e-05, 5.96383211792729e-05, 6.522873585671548e-05, 4.417593866144721e-05, 3.651621806270437e-05, 4.409546241546273e-05, 4.369806028247672e-05, 4.886540378224115e-05, 3.6348717476867873e-05, 3.757247722115875e-05, 5.261503881569896e-05, 5.767204313740435e-05, 5.543852332267204e-05, 6.224264865679361e-05, 6.7677251149279e-05, 7.710921666999855e-05, 6.475546791497898e-05, 7.984416965947622e-05, 5.326942570152456e-05, 4.982858569723551e-05, 6.519852751955161e-05, 5.4090525811966625e-05, 7.208703728619087e-05, 8.447244342308555e-05, 7.659465808648982e-05, 7.672479605459206e-05, 7.143185547359246e-05, 5.727533896292198e-05, 5.4713303018855785e-05, 4.92174775210947e-05, 2.550817151935181e-05, 1.6724678254306087e-05, 1.4555452558385425e-05, 2.5550952708140142e-05, 2.4251606747794526e-05, 1.2554475939006217e-05, 3.7970273856978124e-06, 4.2553001525347125e-07, 1.2681621167197118e-07, 3.994437930645753e-07, 4.7415165316312437e-07, 1.698178925723196e-06, 9.369126481317796e-06, 1.3510488416931435e-06, 3.1613311361297645e-08, 8.241638149983974e-09, 8.948823905135908e-08, 4.2152097705865826e-06, 7.207966808666071e-06, 1.9998460139973574e-06, 2.9671466647254105e-07, 4.643115781590332e-07, 6.373495560045184e-06, 4.21687661061249e-05, 7.458063047455427e-05, 5.51532830838971e-05, 2.7502320653381253e-05, 2.7456471714597626e-05, 1.0220167305773282e-05, 4.0228875835960414e-11, 4.076938144390073e-15, 1.1592867713896857e-11, 3.7900913252958625e-12, 4.078134765017676e-15, 1.2311642777559693e-12, 4.075335364479385e-15, 4.073691179411802e-15, 4.073268812461991e-15, 6.310546870803473e-12, 8.549991674081328e-12, 4.073981298490266e-15, 4.073915703261726e-15, 9.457271328214802e-12, 5.305477350751791e-12, 1.563855923498736e-10, 4.0724668628019356e-15, 8.364826357386762e-12, 4.07221844747955e-15, 4.0722830150154445e-15, 4.071527758959443e-15, 4.071636351789013e-15, 4.0721299438276495e-15, 2.170249950641944e-12, 1.8817962706967158e-11, 1.2192738209795584e-11, 3.3835306837450336e-12, 4.080153031507552e-15, 3.38391088592841e-11, 2.7562473617276155e-10, 2.776734654069604e-10, 9.016874276324736e-09, 8.812954099209506e-11, 6.956053287929863e-12, 2.190913900925221e-11, 1.7348904751181133e-11, 4.822649059594156e-12, 3.0484697147064163e-12, 1.9211697841984316e-12, 7.267938623937268e-13, 4.0762436327889636e-15, 6.463353983911514e-08, 7.4286684160622115e-06, 3.0157203700239517e-05, 3.0242306783999022e-05, 2.6250504134901337e-05, 4.420889239459501e-05, 3.551204464517365e-05, 3.271708522006706e-05, 5.700174425482128e-05, 3.45040542839608e-05, 5.522886129565226e-06, 9.585020966674319e-07, 4.926198449374366e-09, 4.078774199664341e-15, 4.077692633610399e-15, 4.103956428636978e-12, 4.076162213822998e-15, 4.92073854851686e-12, 1.1384348783842149e-10, 2.8269215896991476e-08, 2.087858090669817e-09, 9.90519449924596e-12, 2.8894462460298892e-11, 3.258618058379279e-12, 4.075432176923603e-15, 4.075381501087885e-15, 4.075532916373939e-15, 2.8477743856665968e-12, 2.4297866982222815e-11, 1.0816259684370749e-11, 3.7777336584622855e-12, 4.069472768326197e-15, 1.0835707901624756e-11, 4.068832299564582e-15, 1.3621247937378168e-11, 6.260468782633732e-12, 4.06599402028989e-15, 4.065465700654112e-15, 7.996886394916326e-12, 4.064958921908967e-15, 4.0634623860099135e-15, 4.064191582544854e-15, 4.0639346975909305e-15, 4.0635131360341855e-15, 1.0351353924047074e-11, 3.161325764969632e-12, 3.999225420804951e-12, 4.0626407328910316e-15, 2.051972396069769e-12, 4.061757085085398e-15, 1.0598989186880688e-09, 4.0590195415500505e-15, 4.057466765948979e-15, 6.445232699379534e-12, 1.486714604615244e-12, 4.056189964949551e-15, 3.0179697069791738e-12, 4.054442053827091e-15, 4.0541051636915275e-15, 4.054290240220104e-15, 2.5262650924660873e-12, 5.26909459718756e-12, 4.055179644023866e-15, 4.054710513945736e-15, 4.054805228968729e-15, 4.05451735955553e-15, 4.054827033979391e-15, 4.0547562283980266e-15, 1.093763051193362e-11, 4.055402019807838e-15, 3.8995878108300725e-13, 4.053255687368546e-15, 4.05413146127356e-15, 4.055312232069949e-15, 3.0512860204811484e-12, 8.026176245467711e-12, 8.949121014785447e-14, 6.781826995776369e-12, 4.051344247109548e-15, 4.128403899964517e-12, 4.052240073860941e-15, 3.5711303125877536e-12, 2.4766071345154193e-13, 5.0846676547717665e-12, 7.474157054858409e-13, 4.048988509109629e-15, 4.0499051049369744e-15, 6.047046762132255e-12, 4.0519023527319955e-15, 8.733298486995616e-13, 3.3335148171460396e-12, 3.4238809096391194e-12, 4.048693155106849e-15, 4.049863691507502e-15, 4.933356029379938e-12, 4.0467647326980915e-15, 4.046232563160147e-15, 4.046422303762371e-15, 4.046180440794641e-15, 4.0456407555689185e-15, 4.046567099040313e-15, 1.1951010322467661e-11, 9.1042326548426e-12, 1.1786103385460627e-12, 9.702874964529454e-13, 4.046916219697034e-15, 9.039148246363318e-12, 4.046311833291732e-15, 9.084783390651754e-12, 6.082375888951291e-12, 4.044518486341816e-15, 3.768553338722961e-13, 4.044195784815917e-15, 4.044135211154352e-15, 2.6487549754085606e-12, 5.637076447076423e-14, 2.1843674342978373e-12, 3.996341764601606e-12, 4.044332014310903e-15, 4.044756242779453e-15, 4.044885168355286e-15, 4.04485953989199e-15, 4.0444867498929565e-15, 4.045099152432577e-15, 4.045858728400658e-15, 1.6402871482234526e-12, 4.047333578708267e-15, 1.2183523913275999e-12, 1.3219694389508459e-12, 4.046200523608865e-15, 4.046943493601835e-15, 1.6551974245291185e-12, 5.83982197805566e-12, 4.050856290787601e-15, 4.051795949585369e-15, 5.284886697473364e-12, 6.842970831685436e-12, 2.97060540915268e-12, 7.862250258573051e-12, 1.0728549421072438e-11, 5.679302682660973e-12, 4.054922854936231e-15, 4.055147855337289e-15, 4.056366971903312e-15, 4.056572609089862e-15, 3.5154415487122336e-12, 5.960237221300917e-12, 4.058965461950675e-15, 6.180455771460851e-12, 4.0595618249305066e-15, 4.05875806985977e-15, 4.0592601817333534e-15, 4.060139567342827e-15, 7.750021486020775e-12, 4.060743751889961e-15, 4.059820725428906e-15, 4.0591565421214735e-15, 1.8678166793777663e-12, 4.063158762854001e-15, 4.065680267558233e-15, 4.067158673796863e-15, 2.3363384049692e-12, 4.0693811960054116e-15, 4.067720924394598e-15, 2.5986801300085836e-13, 1.5777508157364674e-11, 3.741860019634406e-12, 4.0696457156352896e-15, 1.5705500662219404e-12, 2.6623399997798756e-12, 4.070665305472834e-15, 2.129716422388763e-12, 5.258400317873724e-12, 4.070162974823119e-15, 2.5026480876074553e-12, 4.0707418751862674e-15, 5.279989806918884e-13, 4.0709985843155326e-15, 4.070627659542607e-15, 6.301078049043768e-12, 2.5191383715706788e-12, 4.0712662062378706e-15, 4.072268634270937e-15, 3.462626900237364e-12, 4.072243259066744e-15, 1.7990153838700058e-12, 4.070644013008381e-15, 1.2800815219837818e-11, 4.068378938696481e-15, 4.067401894835874e-15, 6.783074903900636e-12, 4.1863088433590595e-12, 2.329587522844477e-12, 4.064757818753949e-15, 4.0653391683394084e-15, 1.769260640084619e-12, 4.0665596716378184e-15, 4.067624104303517e-15, 4.1309476012627854e-12, 2.1187385894614645e-12, 4.066388019444751e-15, 4.065392572010338e-15, 2.1137069392088794e-12, 6.488011848116531e-13, 1.6915108916413135e-12, 4.067121491989128e-15, 8.613631225680223e-12, 5.3576701013468445e-12, 1.0478094612386509e-11, 8.730562432854819e-12, 3.301747175407288e-12, 4.063902488266064e-15, 2.397961522735166e-12, 5.49018655773012e-12, 1.014618152417498e-11, 7.694573859688255e-12, 8.267613621957666e-12, 4.06415349913057e-15, 4.439182350290706e-12, 1.079828104913857e-12, 4.066426931854691e-15, 8.943614300583385e-12, 6.472890105485747e-12, 4.064852570043304e-15, 1.1464629243407422e-11, 1.5870536680963626e-12, 3.918069985684352e-12, 4.062442522718936e-15, 4.062159581434116e-15, 4.191871390380022e-12, 1.7714006411829012e-12, 4.060081151148103e-15, 3.454790150102358e-12, 4.0593138449681925e-15, 1.2660729189119642e-11, 4.0580793323351e-15, 4.056711960545812e-15, 4.055656080381971e-15, 1.6693285039293101e-12, 8.464644721791892e-12, 1.3884891279721221e-12, 2.0297451890365215e-12, 5.9037599625321904e-12, 4.054597997788835e-15, 4.053454448047256e-15, 4.052714828651835e-15, 3.2203882547764122e-12, 1.7416233635011758e-12, 3.336135406147993e-12, 3.816990209922129e-12, 4.053597065238978e-15, 5.031011981905438e-12, 6.230265240340591e-12, 4.280850037240003e-12, 4.0515444850717464e-15, 4.051556194876614e-15, 4.051934836230848e-15, 5.386182453581059e-13, 4.050604548789722e-15, 4.633622300606828e-12, 8.501268122791779e-12, 1.1583677815661431e-12, 2.0037727954827696e-12, 5.564767615772373e-13, 4.0564120621482146e-15, 2.510247910902479e-12, 4.058493177401977e-15, 4.058238862962082e-15, 4.058036417338465e-15, 5.946525695795454e-13, 4.057838443473406e-15, 4.0585704892001565e-15, 4.058809138127742e-15, 4.059810462827116e-15, 3.441069235902778e-12, 4.059302137777867e-15, 1.976456428214771e-12, 1.9611485726077536e-11, 4.928593105166094e-12, 8.918505663114359e-12, 4.061132719513568e-15, 1.3277720055525517e-11, 1.1982700598711514e-11, 4.0664363821686454e-15, 4.0683188544065455e-15, 7.340779535533078e-12, 1.4167047751190939e-13, 4.457182877669913e-12, 4.194851293934451e-12, 7.737649276238911e-12, 8.412918931571012e-12, 2.1498780670552467e-12, 7.106798506914972e-12, 4.069326613861017e-15, 2.4474027844083925e-12, 5.014675964572969e-12, 4.068030940983096e-15, 4.066913448935906e-15, 6.368600539849728e-12, 4.064252237792622e-15, 4.064763993244719e-15, 1.8935426789162203e-12, 3.0700231167748036e-12, 1.2778444841029567e-12, 3.867816213224345e-12, 1.3465227913670747e-11, 1.712949050231756e-12, 4.06607767851166e-15, 4.067010540127744e-15, 3.2199781742918622e-12, 4.065153074547401e-15, 5.9111391454480725e-12, 4.061019093134782e-15, 4.061044213216319e-15, 4.063324454115013e-15, 1.7786743633807804e-12, 8.282762643695444e-12, 2.523156057404371e-12, 3.6507564442097e-12, 5.262160802211916e-12, 4.0718638506770225e-15, 4.073716272939485e-15, 4.842591922466586e-12, 4.2601728475950455e-12, 7.918089479788981e-12, 1.2386127656893008e-11, 4.0725633480292096e-15, 4.102366853921172e-12, 4.067797941497332e-15, 1.7940401848673055e-12, 2.1035936565102467e-13, 1.284535066272703e-11, 4.246452352027519e-12, 9.608341471645467e-12, 1.3200577989281445e-11, 4.071422091021095e-15, 5.06851470706893e-12, 4.934514357561467e-12, 2.6619828576743886e-12, 2.927076273624681e-12, 2.0965746377582973e-12, 4.063558159036236e-15, 9.94860701268816e-12, 4.813413680365153e-12, 4.063673039240378e-15, 1.0475219232605547e-11, 2.9655894908839327e-12, 6.723030962518098e-12, 7.059133767026558e-12, 5.993056217304234e-13, 6.533633921535268e-13, 4.0619573832748605e-15, 9.64134134429511e-13, 6.8536037464297176e-12, 6.129900000102465e-12, 7.495018959392783e-12, 4.056284663273732e-15, 3.525883722757118e-12, 3.647091156781732e-12, 4.058413574975941e-15, 4.05815544833634e-15, 7.665048744693447e-12, 4.252730058329397e-12, 4.682211327654041e-12, 9.697908788419154e-13, 8.55758057281757e-12, 6.233686580051353e-12, 8.135087046401354e-12, 4.05463738215224e-15, 1.7458297655716392e-12, 8.15611791401293e-12, 6.04026652369143e-12, 7.47805863958169e-13, 4.047285466999373e-15, 8.621278378134808e-12, 4.047626555479049e-15, 3.6287733323030823e-12, 2.1235722430385595e-12, 1.0714744136736598e-11, 3.0416021181662784e-12, 3.1193389351654335e-12, 5.685535645259099e-12, 4.046944120249516e-15, 4.0462369002224736e-15, 8.043013142127654e-12, 3.4731729751154817e-12, 7.57605511833238e-12, 4.0476150059068976e-15, 2.2237901053262735e-12, 4.047571495883331e-15, 1.0879901857611059e-11, 6.00267205685657e-12, 3.3781667394557067e-12, 4.682472089545967e-12, 5.011577393591323e-12, 6.66414338124806e-12, 7.492183667457622e-11, 5.052586004866941e-13, 4.0453158013840975e-15, 2.2162358340898064e-12, 4.0463881173279374e-15, 4.029225998669751e-12, 1.7991497020547604e-12, 4.048676605500138e-15, 4.048938469192743e-15, 3.541868921052103e-12, 5.257075468976565e-12, 6.323338997363045e-12, 1.39988944694999e-12, 3.325013420011289e-12, 4.042563456654244e-12, 3.611326946609277e-12, 6.535272469056951e-12, 6.968636773484343e-12, 4.06062471423815e-15, 7.325941347310555e-12, 1.5142026556444613e-11, 8.23871113045516e-12, 4.063971279420122e-15, 4.063407914514605e-15, 4.062988694794872e-15, 8.70464740622777e-12, 9.51383912466622e-12, 4.064362341492776e-15, 2.351049539765118e-12, 6.624873231426139e-12, 4.0632063188599594e-15, 4.062866758132833e-15, 4.0636006624190245e-15, 4.063814441716529e-15, 4.063337647981497e-15, 4.062927073067514e-15, 4.062772359945701e-15, 4.062640229472771e-15, 1.8422054098799272e-11, 4.062132191302737e-15, 4.06170092583384e-15, 2.3132895673755486e-12, 4.059486078024218e-15, 6.087632746415624e-12, 4.059625120566405e-15, 8.706308262011224e-12, 4.058417938581474e-15, 4.058381048241484e-15, 1.753552017446538e-11, 7.979793393074046e-12, 1.8290201469271766e-12, 4.0598761061712335e-15, 4.058346796769799e-15, 5.434574683041449e-12, 4.0582846537738065e-15, 4.059357794533768e-15, 7.715829345032716e-12, 4.059979496943395e-15, 4.060884086761139e-15, 4.059350829131978e-15, 4.06006449500384e-15, 4.0605253849445515e-15, 7.003216587741187e-12, 4.062987228864021e-15, 3.5571693347117223e-12, 6.272403803037856e-12, 4.063604794340378e-15, 3.4522633390943207e-12, 2.384843385655628e-12, 7.090868519689895e-12, 4.069716789959101e-15, 6.654923600435196e-12, 1.4571637961718288e-11, 4.071811780333855e-15, 4.071485342723323e-15, 4.071656215079525e-15, 1.5618969203114286e-11, 3.4351967622116596e-12, 5.976754984157675e-13, 4.074916063177382e-15, 3.836637173034561e-12, 5.435083704178376e-12, 8.395958318872162e-12, 5.096623578224861e-12, 4.071722424088711e-15, 3.126918910173035e-12, 6.1881532269667514e-12, 8.074542638331528e-12, 5.505729272936845e-12, 6.7933133423870325e-12, 1.0435513336360286e-11, 1.2600599398353955e-11, 4.073604363706828e-15, 1.0710806279861556e-11, 1.3191533212594028e-12, 4.0477487556758146e-12, 4.117819267851451e-12, 4.072769034814485e-15, 2.9711238885542855e-12, 4.0732870190471366e-15, 7.565813448950273e-12, 4.779026982227672e-12, 4.071289669894033e-15, 5.795566652303011e-12, 4.069467948910483e-15, 4.42772297281016e-12, 4.073075916570598e-15, 7.284592164439083e-12, 4.688020057007286e-12, 4.0739945891941965e-15, 4.074054322595212e-15, 1.9997407198175835e-11, 5.284230045888605e-12, 4.074128208978099e-15, 4.075381612744611e-15, 1.5687872724178544e-11, 3.848359967156196e-12, 2.229534984346709e-12, 4.074549529812737e-15, 1.4396139497906365e-12, 6.2001215615161896e-12, 9.958855005874727e-12, 4.2983870427085777e-13, 5.270667792656973e-10, 2.1986101667221358e-09, 1.0816126253731026e-07, 1.3742972335580329e-05, 4.0861541776318524e-05, 2.6666990345535202e-05, 4.132435088154654e-05, 4.965254669688024e-05, 3.692311740671441e-05, 1.403946902930089e-05, 1.0197049416183868e-05, 8.87850477839581e-05, 0.00011982512364142267, 0.00010078912215783136, 6.606979634028639e-05, 6.209710968198981e-05, 6.607003488961494e-05, 2.2414248247064333e-05, 1.6582475283217725e-06, 1.5320869184196337e-10, 2.5769249054372697e-12, 7.817187389307748e-06, 2.1069889284935415e-05, 1.697311502263773e-05, 4.2173755349119465e-05, 4.797981237992224e-05, 2.575026946116695e-07, 3.756393096673754e-10, 5.209444492779169e-06, 2.4670666907384666e-05, 5.4650349853937785e-05, 9.492121003393825e-05, 0.000101825798513959, 7.47441457017203e-05, 4.696899357656768e-05, 7.932903491182851e-07, 6.5445390755801345e-12, 1.2121535051094565e-12, 4.0775492409965864e-15, 3.9378384523987043e-13, 1.0209798889445274e-11, 1.4985868393110682e-11, 2.3586138866189168e-09, 6.280543636942696e-06, 3.0421045962228353e-05, 2.0055067676260053e-05, 1.1659986784578735e-05, 1.9747808798792276e-05, 3.0088843008429994e-05, 4.461543060438037e-05, 8.204621176501167e-05, 9.739006095195654e-05, 0.00010297715887170321, 0.00011513023677764894, 7.701544724804907e-05, 3.411139112315679e-06, 0.00011490015568024642, 8.919685479879054e-05, 2.2380991656508946e-05, 4.916044772146245e-05, 6.344149818355027e-05, 3.4997447816691665e-05, 6.042060226924624e-08, 1.0137650428440622e-11, 2.567123894682479e-12, 7.238559517305125e-12, 4.074936597477793e-15, 4.075322546293093e-15, 4.07569657576175e-15, 5.796324950249321e-13, 1.7030006592017141e-12, 4.07865585825652e-15, 4.078574761106889e-15, 4.078304246704808e-15, 5.620017729312793e-12, 4.077602897687383e-15, 4.076956659528106e-15, 5.527917318271838e-12, 4.076560535033142e-15, 6.015760806076859e-12, 5.866046317026418e-12, 4.075614849013146e-15, 6.527772907744422e-12, 4.0758610023917834e-15, 4.0755688444332976e-15, 4.076078518027462e-15, 4.0773696340995755e-15, 1.3614808583211194e-12, 3.238525181847268e-11, 4.077827836889725e-15, 8.431860313676072e-12, 5.2920504923001656e-12, 4.078372683220426e-15, 8.419174541807754e-12, 1.351098438384035e-11, 4.077352813142572e-15, 9.797274254224634e-12, 4.075179501277478e-15, 9.858283179122572e-12, 4.074408055809967e-15, 3.7583936378779825e-12, 4.076018002199413e-15, 1.0054369570115086e-11, 5.086418418335254e-13, 2.47015007483958e-12, 1.2827340206065438e-11, 4.349526688823601e-12, 2.269661577346693e-12, 4.073301015634935e-15, 4.07325009799889e-15, 4.073150351708521e-15, 4.073377986231332e-15, 4.074288894767772e-15, 1.5543637007796285e-11, 7.072970431253832e-12, 4.078307070495034e-15, 4.078613361878544e-15, 5.302763831970197e-08, 3.855485391068445e-06, 2.586262559028026e-06, 2.308340243079794e-09, 2.6105061586294868e-12, 1.3790687731710899e-11, 4.078798337973293e-15, 1.7910822356853913e-11, 7.07284747567424e-12, 5.1989012025243455e-12, 1.3854369523957628e-09, 4.074206096687719e-15, 4.655280292125782e-12, 8.297716849533368e-12, 8.691428444848673e-12, 8.721319345841613e-12, 7.0419726015151045e-12, 7.61235917214747e-12, 7.148333995281939e-11, 1.5101552379385828e-10, 8.05709228683409e-12, 9.040476551972471e-13, 9.44714790360732e-08, 1.0363879879437428e-05, 2.058199087755875e-05, 1.245003504952143e-05, 3.2963894306595467e-06, 5.612911002120746e-07, 6.792188974120464e-08, 9.211073976272805e-08, 4.629739549383642e-08, 2.8199988971157446e-10, 3.4119452749179415e-10, 6.526891010705162e-12, 7.456090082455558e-12, 4.077909286894251e-15, 5.787264188371029e-12, 4.076856260161103e-15, 4.185464856007635e-13, 1.046601355998116e-11, 1.6679984118749472e-11, 1.1340190914149294e-11, 1.4739025516931192e-12, 5.7148927779410294e-12, 7.564316489660507e-12, 4.071323959964581e-15, 6.062980401721727e-12, 1.2117921890574323e-13, 4.067952766904773e-15, 3.798853554572272e-12, 7.222030909975113e-12, 6.13233088538341e-12, 2.5727702604318097e-12, 4.070553763199496e-15, 4.070861322878927e-15, 4.072673110512915e-15, 6.896669188554358e-12, 2.7819041441365517e-12, 8.588587387344337e-12, 1.607555785770741e-11, 4.073840765554077e-15, 1.999417176428969e-12, 1.4515704844446638e-11, 1.7746811848314445e-11, 2.0941710614240072e-11, 3.1634446159783025e-12, 4.073464370929186e-15, 4.073076181561704e-15, 4.074338619812453e-15, 5.0281032416674315e-12, 4.075811799215772e-15, 9.673906421781968e-12, 9.106682514882088e-12, 1.307814104699151e-11, 1.3313695512747459e-11, 6.422417393761138e-06, 1.2667458664831988e-05, 2.9102233534707246e-07, 1.2669682483370794e-07, 3.459921215734285e-06, 2.4822864490185347e-05, 7.714499307562165e-06, 7.142107494199476e-07, 1.3724988217827417e-06, 1.8923830540772319e-07, 2.3979265294231998e-12, 6.814957023925232e-12, 4.075334964991564e-15, 4.074612398923357e-15, 4.07361962990535e-15, 4.0727417558827e-15, 1.1785862041658895e-12, 4.071972311391372e-15, 1.9697555979838318e-11, 4.074066950797062e-15, 1.3097065728485226e-11, 5.792780428982153e-12, 4.076432122689089e-15, 8.256347380193615e-12, 1.374497445587812e-05, 4.1868309000325144e-05, 3.608138590422765e-05, 3.442304035564481e-05, 2.210610632614296e-05, 1.8128507554913734e-05, 9.299098190049848e-06, 2.6760466997476e-06, 3.045188908844998e-06, 4.948695076772401e-06, 2.4867470216656083e-06, 1.5701478961679378e-07, 1.5568478795044225e-05, 3.1715305261410744e-05, 1.8466207291562163e-05, 2.9443551129100625e-05, 3.123065000796615e-05, 3.0864753164059346e-05, 3.090574619320638e-05, 3.17178764130682e-05, 3.107958479519086e-05, 3.210217813892893e-05, 3.7132893099797184e-05, 6.71468963444211e-07, 9.868643317941367e-09, 2.1350462849834137e-11, 1.0383283378594142e-11, 5.916170953939451e-13, 5.499114111697382e-12, 4.077666203151594e-15, 5.4637105013481326e-12, 1.2489522844522757e-11, 4.0765367030928155e-15, 3.873588646028907e-12, 2.0987079640755897e-12, 6.756140556414094e-09, 4.9853945742753515e-06, 1.3407912744636298e-05, 2.168410926333619e-05, 3.0341845188221053e-05, 3.2292915075350646e-05, 4.469534063875666e-05, 3.760985885926678e-05, 2.2812119224194093e-05, 4.203891598643407e-05, 4.1457212117704206e-05, 2.7613913607353698e-05, 2.648878501050969e-05, 3.7807035604057814e-05, 4.435682621000531e-05, 4.001593400839324e-05, 1.2589938386667195e-05, 1.6479614108387123e-06, 5.06844335822351e-06, 7.076183274783978e-06, 1.2447424526214251e-05, 5.959764306058895e-06, 3.363700525530394e-05, 6.787110439302893e-05, 1.822349389079542e-05, 9.385685246618931e-06, 2.1193850931398266e-05, 4.244900713218559e-05, 4.8768504731009745e-05, 5.008974806190836e-05, 6.833164911066162e-05, 6.815283773455167e-05, 6.143102898769812e-05, 5.0422627705554025e-05, 4.846309578552699e-05, 5.012028143623236e-05, 4.16694174168201e-05, 4.263603969309325e-05, 4.110869632121489e-05, 4.563474868559558e-05, 4.8601914338733285e-05, 4.414643473053061e-05, 2.8360410837127918e-05, 1.023959327583143e-05, 3.053741469454859e-09, 4.125811067839932e-09, 5.406761449565746e-09, 4.891832424242799e-11, 1.2021223571951727e-11, 3.887834213359978e-11, 2.370399422973104e-11, 3.429941078045958e-12, 7.28130838086166e-12, 2.2009946962808133e-11, 3.3946714102624313e-12, 1.8776841889503567e-12, 4.076869337285041e-15, 5.497009663321435e-12, 4.076053281030679e-15, 1.0128980132326365e-11, 1.0129711320327355e-12, 4.073336523502841e-15, 6.970903918390348e-11, 6.070038154421781e-12, 5.710789251608596e-12, 2.0020781559729737e-11, 1.2105550045582998e-11, 6.240414499664566e-10, 1.0740053749976924e-06, 1.7957439229838984e-05, 2.4092576451888833e-05, 2.560678540369451e-05, 2.459505797998402e-05, 2.4787638856515542e-05, 1.4185587589606417e-05, 1.7258226030362965e-05, 1.5969129904804486e-05, 1.060729935583189e-05, 1.5818143398709922e-05, 3.30746463888834e-05, 3.538458781638941e-05, 3.91564076868675e-05, 4.276028857790167e-05, 4.481170794761566e-05, 6.025022974538391e-05, 6.957452208920158e-05, 7.242839519413805e-05, 7.246681986782632e-05, 7.271149102052441e-05, 7.241094196960633e-05, 6.27929321300581e-05, 5.831382562395065e-05, 5.320515844095352e-05, 5.321706773098687e-05, 4.911637144253137e-05, 4.6469492389861724e-05, 4.6716363664690455e-05, 4.0808391380193465e-05, 5.142616764859821e-05, 6.3343289158716e-05, 6.585318761093489e-05, 6.752058314430759e-05, 6.754668671825479e-05, 5.8623887022315114e-05, 5.212980895648547e-05, 5.2282979371792864e-05, 5.31720970140521e-05, 5.28383627211937e-05, 4.9855584877069597e-05, 4.64118850914925e-05, 4.4064576952729506e-05, 4.670464853547769e-05, 4.018770475397245e-05, 3.31726729051615e-05, 4.312154744404937e-05, 4.593740480794022e-05, 3.9516377913068785e-05, 3.865982868281336e-05, 2.6955318093821003e-05, 2.944772349176145e-06, 1.266176875699957e-07, 4.049367283046869e-13, 1.458551344639007e-10, 1.1102479595823378e-08, 2.7234017516062326e-06, 1.100954498413089e-05, 1.73519845397941e-05, 1.994996405705235e-05, 7.402720146622957e-06, 2.87762109767892e-06, 2.572818754588896e-06, 3.48487071571241e-06, 7.578894572410786e-07, 8.183433384237582e-07, 8.848613636070016e-06, 2.145989402832275e-05, 2.2660064734328968e-05, 2.078929864534613e-05, 3.157692516946789e-05, 3.146505499001746e-05, 3.521844174575481e-05, 3.13939537540713e-05, 3.011377501936763e-05, 3.599080629779889e-05, 2.8862488139663008e-05, 3.268496505616638e-05, 2.6447978204842756e-05, 1.8345319467971765e-05, 1.3440389045435172e-05, 2.1324592888056576e-05, 2.8747796928054104e-05, 1.6271982122346076e-05, 6.227574870006231e-06, 7.048989258840486e-06, 1.1815863371205105e-05, 2.073120967722943e-05, 2.033834253374557e-05, 6.7069324175684416e-06, 3.816926553143807e-07, 1.8611994802205837e-05, 1.8591911513167905e-05, 1.6340767853218277e-05, 1.2545694241394969e-05, 1.4067022223623575e-05, 1.8294576840059268e-05, 1.8108837739552008e-05, 1.49203611190137e-05, 1.7264433524148867e-05, 1.7673782531165353e-05, 2.882674950011233e-05, 3.849396551837107e-05, 3.681473359543167e-05, 3.661320799268413e-05, 3.770009285924553e-05, 3.83670892519336e-05, 4.0845496475942503e-05, 3.631339149704021e-05, 3.05888877884895e-05, 3.0879582160207526e-05, 3.1872227812850604e-05, 3.618185833671852e-05, 2.338408285234235e-05, 1.9359217341045896e-05, 1.4545830372391238e-05, 1.9083787932065063e-05, 2.5418273837104694e-05, 6.391350705320586e-06, 2.8823090473799064e-10, 4.077164779143854e-15, 1.0320239003340034e-12, 5.8007143393271494e-11, 1.5711675592391208e-12, 4.079557209671884e-15, 3.692925780511735e-12, 9.002678479870422e-12, 9.50887136739411e-12, 3.367152973178044e-12, 1.5112358732672146e-11, 1.624294927490454e-11, 4.07700046863071e-15, 4.077805721814735e-15, 8.772372657421626e-13, 5.919131046664907e-11, 3.847978226141525e-12, 2.3793527268242183e-12, 1.9434271767837543e-12, 4.077696006818709e-15, 4.079168779709595e-15, 1.4421374492929867e-11, 4.0772791851169195e-15, 2.5219870379276865e-12, 4.077376616404629e-15, 4.0755524989710935e-15, 1.2776519689160483e-12, 8.100521835098429e-10, 2.3969634150277875e-12, 4.074641666559779e-15, 7.285055412542643e-12, 2.2614271346107065e-12, 9.872638864763019e-12, 7.41657644707195e-12, 4.0766747223912796e-15, 4.075405512456325e-15, 5.302361977892401e-12, 1.0880833148436176e-11, 8.145159665425167e-12, 1.4597249997176893e-11, 4.075632059213474e-15, 4.074978355368369e-15, 4.074219218836772e-15, 5.596370550053583e-12, 6.960055691153282e-13, 6.7344874364576725e-12, 2.33325568350632e-12, 3.30111839641125e-12, 1.1920251267723137e-11, 4.0730874383314824e-15, 1.1116872554050224e-11, 1.3088985144727354e-11, 6.849055038769644e-13, 4.0705113480289684e-15, 2.238230966703238e-12, 1.0384255492928854e-11, 4.069025514007184e-15, 4.0715472808605575e-15, 4.071040295142143e-15, 1.4452766421738075e-11, 4.068397708595979e-15, 4.0695518019131515e-15, 1.0041382977739365e-13, 4.066917438886361e-15, 3.897045745075054e-12, 4.06329639017214e-15, 4.0628712216855846e-15, 1.5266579184712877e-11, 9.755611134257328e-12, 4.035524356328087e-12, 8.857092739462612e-12, 4.055787067012529e-15, 4.46245134775606e-12, 8.076147028187866e-13, 4.063116676763887e-15, 8.262125999316486e-12, 4.062652149668729e-15, 7.79217487311969e-12, 1.1636129873086692e-11, 4.062320938005001e-15, 4.062847909919569e-15, 7.564039105291435e-12, 4.0643179904596615e-15, 4.066903184898267e-15, 7.0615579374212014e-12, 1.9762993305995895e-13, 5.8170816766441275e-12, 4.062324859887538e-15, 4.059998398910026e-15, 4.058932302284518e-15, 7.56166941189629e-12, 4.637897129088281e-12, 4.06019203992578e-15, 3.128925743747689e-12, 4.952606126986555e-13, 8.586448849041703e-12, 4.060323879685448e-15, 4.05925677762714e-15, 8.671085392240922e-12, 4.062422333194578e-15, 4.064438288330136e-15, 1.3796161368047954e-11, 3.5896065227960133e-12, 6.740639228207564e-12, 4.065616344804382e-15, 4.9482684330422395e-12, 6.781621856787201e-13, 4.0639521310128774e-15, 6.146016111677189e-12, 3.787483181196908e-12, 2.8653668948294186e-12, 8.372190067421232e-12, 1.9188946232464574e-12, 1.5371826680912334e-11, 4.067079017260285e-15, 4.0681564140277574e-15, 9.349210931277136e-12, 5.934976567101364e-12, 8.176054231015605e-12, 1.2677102962914813e-11, 2.6276812069814377e-12, 5.193387303795134e-12, 1.277444240138074e-11, 1.2410697657712363e-11, 4.074798783786136e-15, 8.241315153480309e-13, 1.0535558178396722e-11, 4.0781247129527955e-15, 4.080185630987548e-15, 2.5863067042397412e-11, 2.58896485279766e-12, 3.1366792908603296e-11, 4.45322737560835e-09, 4.288193310016924e-07, 5.133201938065132e-06, 5.1795798244794994e-06, 5.22112601170251e-06, 5.81681607983183e-06, 6.779991769560709e-06, 1.1138572216679876e-05, 7.178601514293048e-06, 8.92361584045577e-06, 3.335757055389842e-07, 3.855055595604021e-08, 1.5097161576561515e-06, 6.634951631737779e-06, 5.5167329574556504e-06, 4.49272443416709e-07, 1.0260092036928252e-07, 3.802539782905989e-08, 8.235204910764805e-10, 4.077573901673255e-15, 5.198105598035627e-12, 2.0246877582462852e-10, 5.515865926631644e-10, 1.8229846982827448e-10, 1.0131917608804872e-11, 1.5322368671190487e-11, 8.852417875616579e-12, 4.0774466891836605e-15, 1.1746477516600023e-11, 8.641507954554004e-12, 9.850411233289112e-12, 1.3244958956122493e-11, 2.1671385667354515e-13, 9.852426396717372e-07, 8.184488486098288e-06, 9.740979559295233e-06, 5.723201056874178e-06, 4.68468043680821e-06, 1.7968702446837717e-06, 9.912115345964845e-07, 3.507117896469549e-06, 1.548724531820041e-05, 1.8882027760775534e-05, 1.940128140343491e-05, 1.5103003193452246e-05, 5.916327794436206e-06, 1.683882801469261e-10, 3.6899787420626414e-13, 2.841367689207116e-08, 2.6892140033941165e-06, 5.7650602770337414e-06, 1.0810113326752547e-05, 2.0491243706577536e-05, 3.8969124877532976e-05, 2.001594731775616e-05, 1.137181189053897e-06, 4.204260395956452e-09, 5.5023098918478864e-12, 6.381373336966303e-12, 1.1400135671951227e-10, 2.54268004509306e-06, 1.2404483145000765e-05, 1.2192469194630193e-05, 1.841952269776041e-05, 2.854027096658182e-05, 2.562154426365928e-05, 2.0002294000584934e-05, 2.163498389000545e-05, 2.5062270449420503e-05, 1.574981795018085e-05, 3.529504993577901e-06, 1.3829162118347749e-06, 1.2732473202784958e-06, 8.13122720665981e-06, 1.9157176583636395e-05, 1.6067816339690135e-05, 8.685047238463537e-06, 2.091452431652438e-05, 2.373354529742089e-05, 3.29080591178425e-05, 1.753451075301348e-05, 1.1173234972316464e-06, 3.697057688751861e-12, 6.689889721779331e-12, 1.2066922516543922e-07, 2.5307153190483922e-06, 1.036751334770067e-08, 2.8712298314322786e-11, 2.908534018963448e-09, 3.2541136211748566e-07, 1.0993364636488162e-05, 1.3510610022314624e-05, 2.9875975918959663e-06, 6.614644012786649e-08, 7.362969626113516e-07, 2.2906923698675772e-05, 4.291546448174709e-05, 5.213000709533754e-05, 3.7859150349626633e-05, 3.6343078235382854e-05, 4.000936332162864e-05, 4.372632629048734e-05, 4.800240125776943e-05, 5.453194519854223e-05, 5.391550493301823e-05, 5.641760533683715e-05, 5.722706353989896e-05, 5.912392356428987e-05, 6.125630308074813e-05, 4.570307784362331e-05, 5.461995122492604e-05, 5.254873759314264e-05, 3.340194855031657e-05, 3.68256731550309e-05, 3.831765347921156e-05, 4.133642453812791e-05, 5.207080496957242e-05, 5.623520579968672e-05, 5.13757695269448e-05, 5.772483991785848e-05, 7.06658182622282e-05, 7.845288195640111e-05, 7.302695598380225e-05, 5.99370250220505e-05, 4.366825299998617e-05, 5.088125550414381e-05, 4.843273642380408e-05, 4.711027150178051e-05, 4.323028713514504e-05, 4.8592821290435527e-05, 5.036729282519011e-05, 5.507610523322068e-05, 5.2647291780360547e-05, 5.264940959132404e-05, 4.481648681240599e-05, 5.2216845654366224e-05, 5.620116277324913e-05, 5.015271069127513e-05, 4.9808549293481354e-05, 3.9511746967117115e-05, 4.520641533647378e-05, 4.611425471174575e-05, 3.666187320771619e-05, 2.1865096503459627e-05, 1.664267208550408e-05, 1.5256338572707011e-05, 1.8745344460449175e-05, 3.0093546840937185e-05, 3.877147342370496e-05, 5.958755010656077e-05, 6.537317943592861e-05, 5.2672252470302145e-05, 4.27364107757052e-05, 4.099918833594887e-05, 2.653002414208594e-05, 1.0735875920069629e-05, 6.2975084178579595e-06, 6.728721076902521e-06, 1.8795902294864837e-05, 2.208631077614413e-05, 2.3768020166591064e-05, 1.722321923535655e-05, 1.420965569030464e-05, 3.177711989229583e-05, 4.1589888046357775e-05, 4.050398898581497e-05, 3.775530318828096e-05, 4.22879009584469e-05, 2.4049773753432402e-05, 1.1031878433845342e-05, 1.762538672397986e-05, 1.3888124079696684e-05, 1.5215514552640887e-05, 3.303793491440279e-05, 2.3937871891026223e-05, 6.339627981666017e-07, 1.8608004934576712e-06, 1.1949357464188026e-05, 1.6626590243898536e-05, 3.913491784395557e-05, 3.331475186098773e-05, 3.504409445561251e-05, 4.1769603981326845e-05, 5.811002338647771e-05, 6.17725610105225e-05, 4.480563435965285e-05, 3.573509459960436e-05, 3.464032722188896e-05, 2.8022453582176163e-05, 2.2767033157117796e-05, 1.7316110957828566e-05, 2.7306466483599015e-05, 5.174285388746312e-05, 7.18030995180563e-05, 7.664031522667018e-05, 7.443657857853558e-05, 6.669189933620231e-05, 4.477309446608024e-05, 2.0111374590104826e-05, 6.753972878756482e-06, 2.002241925355905e-05, 2.116423611606514e-05, 1.8729372167978903e-05, 1.4267378771945094e-05, 9.790756152943004e-06, 2.257214369672951e-06, 3.392501781498614e-06, 7.089930895929909e-07, 4.283035429462157e-08, 1.0505584998199164e-09, 2.8046382471234773e-07, 9.168837608799654e-06, 1.0267441305540302e-05, 1.407183097569377e-05, 1.6758862874843765e-05, 2.8721856137379572e-05, 2.8456951944406362e-05, 2.4076764433481597e-05, 1.0622428340478065e-05, 9.006227282848273e-06, 1.960310487575978e-05, 1.8672004227588874e-05, 1.1416890245112544e-05, 4.361576338627422e-06, 1.8705409274827694e-05, 3.5331210229890175e-05, 5.327562508646217e-05, 4.101794158491472e-05, 4.38626060949318e-05, 4.4296629929655426e-05, 4.881534045766005e-05, 4.3349258688792556e-05, 4.636231934128742e-05, 4.0284721906479496e-05, 3.9085363060214294e-05, 4.344424459464243e-05, 6.454407413178801e-05, 5.6119294293050435e-05, 3.930540528858026e-05, 5.195445303239855e-05, 5.5837941142175844e-05, 7.217369134298812e-05, 6.944294407788332e-05, 6.912973633837407e-05, 7.592285447905221e-05, 6.94101401716885e-05, 7.503458726531177e-05, 7.314467494849689e-05, 7.32331632261404e-05, 7.011448835100204e-05, 6.243170353232025e-05, 3.970799611555665e-05, 2.7731057206432373e-05, 2.2316407779695557e-05, 3.067133027498434e-05, 3.801627002880624e-05, 3.504222205154398e-05, 3.0342209333109198e-05, 4.205356678242475e-05, 5.3095299683343536e-05, 5.918212369182202e-05, 5.9394643163970765e-05, 5.612469422722282e-05, 6.998440699212646e-05, 5.218239057745049e-05, 1.4950661974282132e-05, 2.369494614427621e-05, 1.0249406328137101e-05, 1.763349704974916e-08, 7.778164778393966e-08, 1.9321954043326813e-05, 2.6220925607408184e-05, 9.44932109722398e-06, 1.1908547347319787e-05, 1.3658478116530959e-05, 2.320122691221523e-05, 2.632570256448201e-05, 2.6341400367191085e-05, 4.7404908406619025e-06, 4.369331679263212e-07, 1.848185856113061e-06, 1.9312828070029875e-06, 1.1024432029453185e-07, 5.489071967098948e-07, 1.1756309618316588e-05, 2.4516894312657038e-05, 2.9662136733953033e-05, 2.1210824841717103e-05, 1.721410994331486e-05, 6.831848427825964e-07, 1.4553076837317507e-09, 1.0153104514844059e-11, 1.3747333287303315e-11, 7.468378076722816e-12, 2.219841521334724e-11, 5.770938915546513e-07, 9.614724051933523e-06, 1.4141953684232255e-05, 2.6534448439393004e-05, 1.7208525498770457e-05, 1.8662274071866424e-05, 1.9787622441775363e-05, 2.549774387246879e-05, 2.7345477855507574e-05, 2.7205920142661447e-05, 2.8715453630440468e-05, 2.984554505943181e-05, 2.8446495228006134e-05, 2.6168247989658906e-05, 2.310655681858331e-05, 2.5051984206571013e-05, 2.5656869329416897e-05, 2.591130489688163e-05, 2.3822266378764268e-05, 2.0600251615680778e-05, 1.911792828030876e-05, 1.860765522221711e-05, 1.6695679905329196e-05, 1.7714550333553892e-05, 1.9753209841529802e-05, 2.498093667498653e-05, 2.7967617290329467e-05, 2.8324313120826144e-05, 2.4172060226932353e-05, 1.427572224318737e-05, 1.1276864501713465e-05, 1.0811324902179573e-05, 1.3410587726608661e-05, 1.766159613682299e-05, 2.021930159738986e-05, 2.1197757560203662e-05, 2.3293264860826168e-05, 2.640050364664102e-05, 2.8693566685972413e-05, 2.887250163343759e-05, 2.6307202212477114e-05, 2.386153028225392e-05, 2.0847603263357737e-05, 1.1167578752456289e-05, 1.3849374088698187e-05, 1.8199115067914174e-05, 2.1273104711355615e-05, 2.9504432498627716e-05, 3.151946868486486e-05, 2.9570524743385256e-05, 3.04175479358136e-05, 2.980345028374958e-05, 2.469960106361843e-05, 1.9442973647070308e-05, 1.8707452938352788e-05, 1.8540180623900394e-05, 1.7356103041676507e-05, 1.5823098153822422e-05, 1.4928391241069175e-05, 1.1038369219532066e-05, 1.3187312626521443e-05, 1.52759222325385e-05, 1.7194063604740973e-05, 1.7991877949348598e-05, 1.7056645109311928e-05, 1.5979828019395332e-05, 1.63028111453824e-05, 1.836132575676834e-05, 1.9926627923526836e-05, 2.088981537350314e-05, 2.4790278748481455e-05, 2.6115048325755727e-05, 2.634552653517277e-05, 2.5226274891805172e-05, 2.2652533504444323e-05, 2.1715644938297853e-05, 2.087624386842902e-05, 1.883766416495168e-05, 1.5413119666504255e-05, 1.3156666486613553e-05, 1.3308942687468386e-05, 1.5943853268107676e-05, 1.7320335544327905e-05, 1.846857318869371e-05, 2.0199694978593413e-05, 1.9897342421710537e-05, 1.7907686117246934e-05, 1.556731298794049e-05, 1.4928203785636227e-05, 1.5095796154204043e-05, 1.4060716754772553e-05, 1.564362926513166e-05, 1.734642058689359e-05, 1.7084190521273475e-05, 1.6257743890382558e-05, 1.2510812944308625e-05, 1.2275526155083553e-05, 1.2555814382847489e-05, 1.4668059067534434e-05, 1.5951248469827463e-05, 1.4532648623528136e-05, 1.2961200378266766e-05, 1.1036077976093443e-05, 1.1589812626786209e-05, 1.502461595197844e-05, 1.8671110423966193e-05, 1.9249578391846036e-05, 1.7286397622806212e-05, 1.4570260665709194e-05, 1.3514601427584733e-05, 1.2134749236574393e-05, 1.2521204641903421e-05, 1.3053433709086217e-05, 1.5584199143395722e-05, 1.5911210246102667e-05, 1.3940513277545861e-05, 9.738145595092385e-06, 3.6635788010099882e-06, 2.542363718095056e-09, 4.07605447145816e-15, 9.274501493962609e-12, 6.886186225856726e-12, 3.3992617824899884e-12, 6.309513351946867e-09, 1.7045773381342822e-06, 1.7025631134184907e-06, 2.4061581450317396e-06, 3.434870490777341e-06, 5.371446836882194e-06, 3.674549498134302e-06, 7.030411744878588e-08, 5.69170450432116e-12, 4.062819938980066e-12, 2.4034737983845734e-12, 1.722378803932535e-11, 4.076051833683582e-15, 4.0578602037101185e-15, 3.9762599779118e-12, 1.6831689983266603e-12, 1.565663154665202e-12, 4.077437501636426e-15, 1.288184359502433e-09, 4.0751705755130335e-15, 4.741433900779583e-12, 4.0756775040759146e-15, 7.26509138998695e-12, 8.800942535892077e-12, 3.5615376693686078e-12, 3.006254289223103e-12, 2.082978588586476e-08, 7.842635638585176e-07, 4.25731709430855e-06, 1.3053142389412476e-06, 5.083479417874247e-10, 1.569213474891959e-11, 6.696040075848106e-12, 1.7985915050831258e-11, 6.374630740150368e-10, 2.5124794426297307e-06, 1.8840214455310861e-06, 1.6415299198081875e-06, 8.571318140106981e-07, 2.6030361854045346e-06, 3.3971513106685027e-07, 2.0619506812430768e-07, 1.2460129213128639e-06, 3.732540358818973e-06, 3.10706028766044e-06, 2.240277601732032e-06, 7.469325104070807e-07, 4.1475972105681275e-08, 4.56041836119348e-12, 5.981298001313773e-12, 1.083730927961404e-11, 1.0701259050491953e-09, 1.7292216191350412e-07, 3.385974093958872e-06, 6.60167184288574e-06, 6.6327476133390316e-06, 5.653022511162877e-06, 5.30919496811692e-06, 4.101290327430872e-06, 1.913944916229131e-06, 1.0219193606327525e-06, 1.5962014760002697e-06, 4.357427100051466e-06, 7.320798021295743e-06, 9.026819889030748e-06, 9.72793726888071e-06, 8.508634919997814e-06, 4.362986348442047e-06, 1.8233541164864044e-06, 1.5747078584254658e-06, 1.9055706717256957e-06, 3.5869153375823262e-06, 2.2896931090610873e-06, 3.3749001037554584e-07, 4.071080554261827e-15, 8.090457733369471e-13, 9.407816948705704e-12, 3.686615324291516e-13, 4.070915920497448e-15, 7.525222334470461e-12, 9.421903444346977e-12, 1.6416811770098122e-13, 8.447240527170363e-12, 6.324665011385305e-12, 7.279366816350233e-13, 8.17801831185619e-12, 4.1748758045257425e-13, 8.436749016795286e-12, 4.07537951198866e-15, 3.184344706839225e-12, 5.524053147260538e-12, 5.2930653753363155e-09, 2.5841981817481646e-10, 1.6715931861912977e-12, 4.54369321431737e-12, 3.6905516143502685e-10, 9.127526493549787e-08, 1.000575425134432e-06, 1.2354357338575482e-06, 1.6678807714442923e-06, 4.079519503173231e-15, 4.9627922685589395e-12, 4.5116150375893446e-13, 8.070813668064856e-12, 1.0358759099317737e-11, 2.5904339383495663e-08, 2.3522246172352426e-06, 2.998529666032619e-06, 3.7607516472485403e-06, 4.04973860378237e-06, 4.555213545377098e-07, 3.518032136733163e-09, 1.1342219245611649e-07, 2.717245430951848e-07, 1.3426879018627153e-11, 7.251587699155883e-12, 4.069616515052138e-15, 2.2691602281382076e-10, 8.348131870671891e-07, 2.8231624400275333e-06, 4.083146226287161e-06, 3.960138020328022e-06, 1.9667908396687087e-06, 4.0781461982765986e-15, 4.069383851786969e-15, 6.883806374498885e-12, 4.067617095773394e-15, 4.062158881194049e-15, 9.172153072370228e-12, 2.0394137811024305e-11, 4.072689986710108e-15, 4.065608611139749e-15, 1.8488234933650387e-12, 4.061760823883783e-15, 4.454007080871249e-12, 1.6213862867718734e-12, 4.0752523048090015e-15, 1.1679362924987948e-11, 2.6563939508542393e-12, 7.076911740331161e-12, 8.433201011456245e-12, 4.060552607751112e-15, 4.060419455294775e-15, 8.02298786693009e-12, 4.059047592947662e-15, 4.05986640722832e-15, 4.0607228416734175e-15, 8.821413086648011e-13, 4.058553508534881e-15, 4.272774178417365e-12, 2.0853335323007642e-14, 1.008244712515157e-11, 9.278362609018336e-13, 6.188993198722934e-12, 4.919436248449032e-12, 4.070216960831956e-15, 9.207285188563275e-13, 1.4524324132712767e-11, 1.187395332616176e-12, 8.388169532483767e-12, 4.480934025292732e-12, 7.407801384950564e-12, 4.066036723249894e-15, 4.066934934549444e-15, 1.192661455175923e-10, 1.2270239600750028e-11, 1.1050032487694604e-11, 4.069293310768199e-15, 4.0672410696819376e-15, 7.40825383415329e-11, 4.06946755404827e-15, 3.1602963683323137e-12, 5.934840269339176e-12, 4.067647622762557e-15, 4.069288644296069e-15, 2.0117491143094464e-12, 5.453928365744256e-12, 4.072795983949938e-15, 4.071391093434663e-15, 4.0765799617055414e-15, 2.31968826174578e-12, 3.959421231344936e-07, 9.064888298105538e-07, 5.192395791683836e-06, 2.441570266636246e-05, 3.226217775418156e-05, 3.438695381577577e-05, 3.5258840575644206e-05, 2.858252713882067e-05, 2.493798718768008e-05, 3.989029103585275e-05, 5.301382156723818e-05, 5.2385678436595945e-05, 3.710559695380502e-05, 1.9220168704632992e-05, 9.533746682397133e-06, 5.88135409698295e-06, 3.995634594454509e-06, 4.27104244787129e-06, 3.6117810322854665e-07, 3.2654669312836623e-06, 4.888493091012949e-06, 1.556138855459774e-05, 1.8751410619255507e-05, 1.0095538925071117e-05, 6.175478745303636e-06, 5.129360362029431e-06, 2.288621507923509e-06, 2.42032989904908e-09, 4.0761435281420355e-15, 9.105040357850194e-12, 1.7552234552001085e-11, 2.395554214550281e-12, 1.7066420629625184e-12, 1.330019545352223e-11, 4.075396057196017e-15, 4.076139047836424e-15, 3.630030612978525e-12, 6.832323432168323e-12, 4.07774402678038e-15, 4.075718452881933e-15, 7.264128906846316e-12, 2.06548993093209e-11, 4.019338966887269e-08, 1.2405562990828547e-05, 2.199614401024853e-05, 1.5890670985748665e-05, 4.29485723810737e-06, 1.0765460874711413e-10, 6.743957623206098e-10, 5.6640221052134564e-08, 2.755188882849519e-09, 2.5598167191068568e-12, 9.746588172525851e-14, 7.073662313629167e-12, 1.8041885358455525e-11, 8.477461096346657e-12, 4.071140887333271e-15, 5.524875918924566e-12, 4.073097175571594e-15, 4.071429521152865e-15, 3.731199083701184e-12, 1.143407892870978e-12, 7.230348626669392e-12, 7.910387898102293e-11, 3.1714793289773866e-12, 4.074378351497906e-15, 2.688590434998492e-12, 1.4926053535115132e-10, 1.4378659038601392e-11, 4.07163636425166e-15, 6.56185971384951e-12, 2.393873907525362e-09, 1.525714007265326e-08, 6.098420739914582e-10, 2.775876689069993e-10, 5.885058769741891e-09, 1.4863523687642264e-08, 9.019771616709446e-12, 8.060044626102342e-12, 4.0786139531354234e-15, 4.077988917327606e-15, 2.98716360359249e-11, 1.2679731033603881e-11, 2.729283851207215e-12, 6.74473449539714e-12, 4.0765325855359224e-15, 4.074596691939335e-15, 1.3027394910843098e-11, 4.690044820492385e-13, 7.955599140931068e-12, 4.073598465247728e-15, 4.073432591223616e-15, 2.908176924337299e-12, 1.0481033310146126e-11, 4.000236402166596e-12, 8.742483953484184e-11, 4.071811752087623e-15, 1.1413427623460797e-11, 4.0751179129768e-15, 1.637945658478652e-12, 8.480728242837863e-12, 4.074470961942238e-15, 4.0778652423628445e-15, 1.3824992809545818e-12, 7.362974268522998e-12, 1.3573197207360568e-11, 4.0815437619747884e-15, 4.081119163778532e-15, 4.080955121478515e-15, 2.666670309445004e-13, 4.306902312319738e-12, 1.4139900701421516e-11, 5.524375881726341e-12, 1.1544170006924498e-11, 9.145236550339881e-12, 1.7179102041485751e-12, 4.077197578002445e-15, 2.108850048719121e-12, 6.294423896868768e-12, 1.6074125185098534e-11, 4.0773625121128046e-15, 8.092697352961562e-13, 8.583508427183131e-12, 5.610463543257663e-12, 6.66292855474357e-12, 2.918565190750989e-12, 3.615725145332993e-12, 7.72245144608428e-12, 4.079170832649565e-15, 4.079105485143021e-15, 4.077550827299242e-15, 3.340064589899613e-08, 4.203331278915301e-05, 7.089427808344107e-05, 7.572751812238796e-05, 7.63969362119774e-05, 7.599866770591581e-05, 7.507454079531882e-05, 7.269429981141798e-05, 7.640912189845581e-05, 7.737243481795839e-05, 7.811749508004952e-05, 8.034426013601864e-05, 8.385203043301225e-05, 8.824000978258435e-05, 7.497548657458842e-05, 5.936780258282129e-05, 5.842956986159615e-05, 7.818928844116427e-05, 8.45255876213686e-05, 8.304599243946495e-05, 8.086186681766914e-05, 7.897857301413244e-05, 7.8729461436532e-05, 8.080055845468081e-05, 8.374182332161348e-05, 8.594626101461877e-05, 8.750570772694334e-05, 9.057974241041746e-05, 9.221077543351106e-05, 8.937163426289024e-05, 8.476410585791624e-05, 7.998898913720652e-05, 7.74754700512438e-05, 7.604133756679757e-05, 7.265871257878963e-05, 7.607543900685586e-05, 7.561567257146543e-05, 9.227471921125657e-05, 9.655421975947658e-05, 9.73725215502598e-05, 9.467410596353567e-05, 9.288560015487301e-05, 9.512525959807417e-05, 0.00010003341728899251, 0.00010075150523354864, 9.471980704800876e-05, 8.995323521914116e-05, 8.777422637169933e-05, 8.080269281881107e-05, 8.198027462176737e-05, 7.613904826286209e-05, 6.432291826676751e-05, 5.983851978028081e-05, 6.080828114044946e-05, 6.505386070454656e-05, 6.261482319189493e-05, 5.7574771784337714e-05, 5.663902841569916e-05, 6.0081297205430435e-05, 5.8505281839249065e-05, 5.502742287551153e-05, 5.846369468454367e-05, 5.955613216517721e-05, 6.181216580180148e-05, 6.615827384376666e-05, 7.301675799413765e-05, 7.436185854101286e-05, 7.229426360397507e-05, 7.022302345265022e-05, 6.419556668663759e-05, 7.198547621112276e-05, 7.639392680902674e-05, 7.803014764134695e-05, 7.364038650541638e-05, 6.560063046800621e-05, 6.0682641862157865e-05, 2.1409485648105055e-05, 2.126298991505174e-06, 5.857863099250317e-07, 2.133257593459336e-05, 5.460434863542566e-05, 7.4777287971398e-05, 4.968179298788644e-05, 2.924825227065473e-05, 3.469946263029475e-05, 6.689468717937357e-05, 9.181914903965727e-05, 9.495325312222022e-05, 8.971051802973348e-05, 8.725728497824533e-05, 8.105727670633377e-05, 8.659764605099094e-05, 8.08626141421131e-05, 8.804089119879596e-05, 7.30026605667986e-05, 6.376458829320669e-05, 8.13130552282566e-05, 8.436417499514547e-05, 8.720137034366385e-05, 9.900066434941032e-05, 0.00010655987123941624, 0.00010393757960605405, 0.00010424978754778587, 3.7905233351052874e-05, 1.3705662814739216e-07, 4.076148716148851e-15, 4.07583941374271e-15, 9.773764614935321e-11, 8.025320315461998e-08, 5.0933864132974085e-06, 1.181873391367664e-06, 2.1027622793805194e-10, 2.889726997317961e-12, 1.6449892009234888e-12, 4.076029184889833e-15, 4.0775856675358526e-15, 1.5037701540306885e-08, 5.113692827908558e-06, 1.831630932125252e-05, 5.594582274396071e-06, 4.076722180446484e-15, 1.002497774880256e-11, 4.076759352480001e-15, 7.8793526905395e-11, 3.356237157792781e-12, 1.7768210143334523e-11, 9.309772342476178e-12, 4.682436156730733e-12, 8.751432204263481e-12, 1.5743553479149778e-09, 4.076386733345631e-15, 7.458931431074392e-12, 4.076145939265412e-15, 2.903812671112102e-12, 1.1179891207950352e-08, 1.9697563985596755e-06, 9.720743822648232e-06, 8.937532946979335e-06, 2.167097723760511e-05, 3.461371419657439e-07, 3.4528117523774823e-10, 4.076480133096984e-15, 4.075820724949609e-15, 3.302489587728712e-11, 5.6693227776974276e-08, 2.0583147676646147e-07, 9.721727030259018e-08, 2.646823692569672e-07, 1.967023399067819e-06, 1.938534795287504e-06, 4.078226725794135e-15, 2.2370380285587968e-12, 4.0762513023526874e-15, 1.4318766631086548e-11, 4.0784231126587294e-15, 2.053411188697588e-11, 3.5192735682182514e-12, 9.68145626128446e-12, 1.2574066838104353e-11, 4.070480618943359e-15, 9.581772073222998e-12, 2.4043315196246146e-12, 1.3313430932008462e-12, 4.067222469473255e-15, 5.884105282985613e-12, 3.7510727468603056e-12, 4.067751625115158e-15, 3.3274617298812294e-12, 4.065910092743319e-15, 4.065814763577809e-15, 2.159490836608984e-11, 5.860728121512719e-12, 3.2380638586158347e-12, 3.843177023680802e-12, 4.062226222746863e-15, 4.062274250716742e-15, 5.080346055926559e-13, 7.451557710021674e-12, 1.4167295622337427e-12, 1.0519726879921002e-11, 4.061339365291439e-15, 4.060639821495268e-15, 1.3503581049289704e-12, 4.093422196007891e-12, 5.740922362861465e-12, 3.686858642388584e-12, 9.440449692836648e-12, 4.06104856254186e-15, 5.970347617018352e-12, 1.0421250862803372e-11, 1.0509999444989456e-12, 4.731285496890392e-13, 3.916986641952798e-12, 1.2180077489974262e-11, 6.189483135661258e-14, 4.062603953400703e-15, 8.963602280298715e-12, 4.062719668857842e-15, 4.0641511140705966e-15, 5.992099474340338e-12, 4.065867898204436e-15, 4.065812012644156e-15, 1.066497050834439e-12, 4.063310653238011e-15, 4.062107780395026e-15, 4.063387515339371e-15, 4.996007306509732e-12, 8.95597052534622e-12, 8.28868126640594e-12, 7.712444641817348e-12, 2.2762338077323903e-12, 2.923139672865992e-12, 4.336784279759082e-12, 4.06238685563549e-15, 4.061203458866187e-15, 4.7400387271354735e-12, 9.248258354886697e-12, 2.7457115348788657e-11, 4.5512082051411885e-12, 4.0636262510471805e-15, 4.064507412591071e-15, 5.640524393305002e-12, 4.0650145404394335e-15, 4.064989273289577e-15, 4.064904302094401e-15, 3.025470313316614e-12, 1.967081672887803e-12, 2.4116580826330534e-12, 7.905622333581725e-12, 4.069205816297218e-15, 7.990656721334058e-13, 4.0695096344234636e-15, 4.0703123587062145e-15, 4.070442556571898e-15, 4.071355429839468e-15, 3.8600338852973795e-12, 1.0817581086339499e-11, 1.2297986148257258e-12, 4.074355578679397e-15, 2.9010521277934467e-12, 6.8150484372387156e-12, 3.3932756732897893e-12, 2.943565000270145e-11, 1.3932078356480988e-12, 1.0499114057575545e-11, 4.0777536996476645e-15, 9.786049532641967e-12, 1.927659606844587e-13, 2.231403218058981e-06, 9.208735513317412e-06, 2.0800210370326535e-06, 8.921650819087509e-07, 3.695630975149798e-08, 3.939591225474007e-08, 2.4984938252471086e-08, 1.0007561827637335e-08, 2.774227329706034e-10, 4.07973319266031e-15, 2.8108512548998562e-11, 1.2304081178629245e-11, 1.690211231190947e-11, 1.1386093983316935e-11, 1.914963869961725e-11, 8.019044401286102e-11, 2.2209671502600417e-10, 6.904665124489209e-10, 1.0670458779417031e-08, 1.3601859697290764e-07, 3.5122857290336133e-06, 6.336301468842785e-07, 5.987971588830948e-10, 1.0138823782496435e-08, 4.878587327946593e-06, 4.378641365125265e-06, 1.5972396629233022e-07, 1.76785737113261e-11, 4.077400927172744e-15, 2.0792223985200986e-12, 7.491468282744162e-12, 2.4400783331183054e-09, 2.641794717475567e-06, 4.9807317851628894e-05, 8.132532760426835e-05, 3.979550026439496e-05, 1.0537078445763722e-05, 3.3351456103856164e-11, 1.2689836673850913e-11, 3.317726812184116e-11, 1.5199292569442328e-11, 2.9083754705942196e-12, 4.076558020607183e-15, 6.241740602516133e-12, 4.074865629372699e-15, 4.074679575172512e-15, 5.17024167166878e-12, 8.017016988075027e-12, 6.951333096741826e-12, 4.075221560449656e-15, 6.3062661210599595e-12, 4.393199246241718e-13, 6.263204638873638e-12, 2.707115163704608e-11, 1.6145824638154398e-11, 4.656187187053871e-12, 4.078178293524858e-15, 4.077854598257145e-15, 4.077633697704885e-15, 3.401625354559058e-12, 4.076377906122344e-15, 1.1210842310749063e-11, 1.2638174798280371e-11, 1.631218981947622e-12, 9.774854933509772e-11, 4.081622367051251e-15, 3.1182318077109915e-11, 2.649111555422661e-11, 8.298884421947692e-12, 9.141404625882953e-12, 1.2738837111170832e-11, 4.883179578298438e-12, 4.074657377478311e-15, 9.046281060817101e-12, 4.077315213383584e-15, 8.73420635751778e-12, 4.076197199557915e-15, 4.0772615935588466e-15, 1.544806579794584e-12, 3.712401086882799e-13, 1.462216650229112e-11, 3.468506388230043e-12, 4.070853895076657e-15, 4.069797613020659e-15, 2.5980979134375103e-12, 1.6994070255142485e-12, 8.18424007114967e-12, 1.467944014692427e-12, 4.069242458522159e-15, 2.911339118870016e-12, 4.070234593096084e-15, 7.63095276115623e-12, 1.1442242551778069e-11, 4.070704135521492e-15, 9.408907952131022e-12, 7.195581810065444e-10, 9.769234817005035e-12, 4.072156858718159e-15, 4.072618602301093e-15, 5.753278428136041e-12, 2.312600743830975e-12, 2.96404560987886e-12, 3.4553066666049216e-12, 1.5743216207641592e-11, 4.076983525594454e-15, 1.2151671725156564e-11, 4.011079901335458e-08, 1.1554062172825151e-05, 3.616975241649934e-05, 5.592835564593192e-05, 5.0429327069668876e-05, 4.092013578328401e-05, 1.945649269940328e-05, 1.8271979293856275e-05, 3.0003601471324952e-05, 4.347964737448875e-05, 5.0981378647276076e-05, 6.622594025171886e-05, 6.201780643344129e-05, 2.202362609184074e-05, 1.3189828840961873e-05, 1.626163138340995e-05, 1.2476855197602821e-05, 8.654507386997123e-07, 1.1947129532851768e-11, 4.076402544400523e-15, 1.7556264527211648e-11, 4.076246564416471e-15, 1.5168230703716194e-11, 1.1791188174458402e-11, 5.039977099024482e-12, 2.364108960412726e-10, 6.952893050879904e-06, 1.588196713166653e-05, 2.5988088283269762e-05, 2.0757254824292802e-05, 1.2575156773763646e-05, 4.1024420865805584e-05, 2.942766338622264e-05, 2.5400350043819663e-06, 2.832322084184511e-06, 8.813391623487715e-06, 1.3118158709484606e-05, 1.0398079110590903e-06, 5.797514769877949e-12, 2.8997320801805863e-12, 2.249259566477746e-11, 1.1185640949804882e-11, 7.858939181973037e-12, 8.156611323331478e-12, 5.976115043969791e-12, 4.725904661169769e-12, 5.8191727402847844e-12, 4.069810264551582e-15, 3.1043136475029382e-12, 7.515322546327484e-12, 1.1024882703534446e-11, 5.919288469026263e-13, 2.1940764862162862e-12, 1.3661311777290783e-12, 5.375257008305896e-12, 9.456733050014859e-12, 8.139026809683623e-12, 4.120361611786854e-13, 1.8420790956158984e-12, 7.53528073797081e-12, 4.0657824808313954e-15, 1.1832238266853444e-12, 3.3795358676818273e-12, 3.623202446357524e-12, 4.063963988329298e-15, 4.064815423650787e-15, 1.0198845966219306e-12, 4.066542080455247e-15, 4.065817816005431e-15, 4.06564561914373e-15, 4.065702474040267e-15, 4.196932609966784e-13, 2.991424964373495e-12, 1.915265520820439e-12, 4.066945010967757e-15, 1.167546447751256e-11, 5.30397835557048e-12, 4.067572862103643e-15, 5.313748557747732e-12, 4.0667596514795125e-15, 4.06593439416909e-15, 7.357161363632255e-12, 2.669840147073981e-12, 2.038283510968117e-12, 4.06295167539165e-12, 3.0581488705791466e-12, 4.062249384918521e-15, 4.833877194700858e-12, 1.4704367030524761e-10, 4.0616899001770274e-15, 3.097177594468591e-12, 4.062279310970564e-15, 4.064158727279968e-15, 3.3564514572752085e-12, 1.0318609008767723e-11, 4.061750128094883e-15, 3.2091570750253134e-12, 4.061895218722776e-15, 7.376965782039494e-13, 4.0625075861021786e-15, 4.062520869361552e-15, 4.0627120382520126e-15, 3.547597046589195e-12, 4.69923506927767e-12, 2.8549063689616186e-12, 4.450094169380279e-12, 1.779518846893592e-13, 3.613044016487836e-12, 7.626452183577556e-12, 9.40568896648233e-13, 4.0618161544100576e-15, 4.0623368049329715e-15, 4.2777071697033274e-12, 4.062118534680144e-15, 4.9892102665640915e-12, 4.0612099350391066e-15, 7.527699543346943e-12, 9.812538565284872e-12, 4.06059975543909e-15, 4.048885633463901e-12, 4.062487519239305e-15, 8.82541584081309e-12, 1.4448466141463256e-13, 6.396047476781562e-13, 4.060131165395709e-15, 2.9444004873412294e-13, 4.0613053967180765e-15, 5.51520652292445e-12, 2.279830141774482e-12, 3.738922504597203e-12, 4.060868603144495e-15, 4.229434156918638e-12, 4.060660003331388e-15, 9.884638113348344e-12, 4.064575466630666e-15, 6.260856364880048e-12, 1.1725225061221008e-12, 6.445598214428462e-12, 7.495603501647325e-12, 1.692180567182975e-12, 9.270020749102415e-12, 8.417684331646163e-10, 4.0729064086586225e-15, 4.073042504731333e-15, 4.07319895358136e-15, 4.6713385015635916e-12, 7.123890656492082e-12, 8.061152485288285e-12, 1.0251926534821319e-11, 1.0360449301504397e-11, 9.909580796172104e-12, 4.077022988416346e-15, 4.076865764555874e-15, 1.3970179105985065e-11, 2.78053804792357e-12, 4.0769276427620554e-15, 4.0767971378125495e-15, 4.077305419844515e-15, 6.154997875972539e-11, 1.0052230061868554e-11, 5.381119334166885e-12, 4.0798825303395225e-15, 4.079938569810012e-15, 4.6319892104947507e-10, 2.423200339743972e-11, 1.4741780707658162e-10, 3.069422430270012e-08, 4.512411971824487e-06, 6.679165511072046e-06, 8.095006644590915e-06, 1.8795429024976551e-07, 4.078779308859528e-15, 4.0788181899340566e-15, 2.098088864205657e-11, 4.077742813641313e-15, 8.74536675390765e-12, 4.077097689070595e-15, 4.074933467421132e-15, 1.1160353112374931e-11, 8.707093609038328e-13, 6.995613670393775e-12, 1.2339464766668583e-11, 9.789761001186869e-12, 6.929375283166024e-12, 2.6946375058638996e-12, 4.073904860497952e-15, 8.021206767893004e-12, 4.070843141936251e-15, 4.070985732809672e-15, 4.0723359544946496e-15, 5.455909791035752e-12, 4.071027439515218e-15, 4.071459672302915e-15, 1.695424520196957e-11, 6.510159772211853e-12, 5.704689730609271e-12, 2.372388107388857e-12, 5.655940108493538e-12, 5.882790851600316e-12, 4.069976480750615e-15, 4.068675570195785e-15, 8.257878303461075e-12, 2.6135197115939107e-12, 4.070574383573351e-15, 2.8613780007270095e-12, 4.881990915123173e-12, 2.000576572878575e-12, 6.1809711508489385e-12, 4.071011713161184e-15, 4.0716297505808615e-15, 4.0720323583056676e-15, 4.9511231430707074e-12, 6.1780618176911e-12, 4.068984014465628e-15, 8.932162181571916e-12, 1.5648977667112161e-12, 4.069222457950598e-15, 1.9501857004852516e-10, 3.965310179034175e-12, 4.072095243944975e-15, 3.992343256059041e-12, 4.071355289261553e-15, 3.037672156435283e-12, 1.5835891880180026e-11, 6.583212129547976e-12, 2.8881473477807237e-12, 4.073283483807e-15, 3.1768430319366786e-12, 3.799102525360356e-12, 3.254017236609434e-12, 4.075319314186231e-15, 1.856220416852573e-12, 4.078211054690563e-15, 1.3184406594730977e-11, 4.079228376265824e-15, 3.313240417794483e-11, 2.6321504154557433e-06, 1.018541702364866e-05, 1.0517087744326046e-05, 8.059009077261475e-06, 9.403904453017895e-06, 6.063042557122494e-06, 4.083998758148481e-06, 4.105489038052256e-06, 5.079281070699138e-06, 5.589273864634357e-06, 6.1717959288644585e-06, 9.076162889367216e-06, 1.3325165355385744e-05, 1.7277048276028907e-05, 1.8164281686535297e-05, 1.6556778760296147e-05, 1.4238756457452484e-05, 1.3516050504494491e-05, 1.3690617430759507e-05, 1.3633392701914123e-05, 1.2029350014985203e-07, 5.486634040102739e-11, 2.794791824737994e-10, 9.481702457335688e-12, 4.078273177311976e-15, 4.076269967806681e-15, 4.095411387346751e-12, 4.0783444374751764e-15, 4.272055611264343e-12, 6.3903427906222445e-12, 4.075578558036782e-15, 4.0765904203691066e-15, 7.351251331131916e-14, 2.7801763772717194e-12, 2.148653125122054e-11, 4.077859461186873e-15, 6.728159616310268e-10, 5.33528627758602e-12, 3.0695266742848873e-12, 1.2190343629342484e-11, 1.1699051796447652e-12, 2.672722708824582e-12, 8.926580122336347e-12, 4.0079849146565806e-10, 5.886067699454971e-12, 2.9879575293642976e-11, 2.0956743554655846e-08, 2.806886345948644e-06, 1.3523882134023575e-05, 4.210208881920657e-06, 7.974129753530155e-09, 6.81612642870072e-12, 5.838243732015584e-12, 4.079448958306529e-15, 6.7482687262613114e-12, 3.166384387191142e-11, 1.52112799906262e-09, 1.4766900557299332e-06, 1.370338302304173e-05, 1.5540992144104357e-05, 1.588631956488667e-05, 1.6711162705121616e-05, 1.5956303556744643e-05, 1.4578380484829227e-05, 1.4004617714111117e-05, 1.3527247188988167e-05, 1.3734682272918407e-05, 1.4048978285023502e-05, 1.3888535794663418e-05, 1.8253532279887277e-05, 7.93745775912307e-06, 5.181882417743812e-07, 1.3502325810226751e-09, 1.1699081587816452e-11, 7.40642516802362e-12, 1.7815096890828366e-11, 4.076574453581564e-15, 4.245809692506979e-12, 1.0905792235315e-11, 8.934867733610734e-13, 4.07511867239927e-15, 2.1738925102766035e-12, 4.077162993923402e-15, 1.0804373914439197e-12, 5.653397322817347e-12, 4.079053455047592e-15, 9.015766436722949e-12, 9.598373354680935e-12, 4.079038566507996e-15, 1.2974511527910501e-12, 1.97711451100709e-12, 1.685056770169773e-13, 2.4982038056769133e-12, 4.077730679372822e-15, 1.3220110723064636e-12, 5.100993676647974e-12, 1.7612255878152833e-11, 4.0774369114116295e-15, 3.4900861906905785e-12, 4.078169924486972e-15, 4.078286395215131e-15, 4.077213982372379e-12, 4.076410673477484e-15, 4.074259049191396e-15, 1.636214429986821e-12, 4.075445716305376e-15, 4.074516526981336e-15, 2.2895521499725343e-12, 4.072120494782947e-15, 4.3366680955882714e-12, 4.071208969962651e-15, 4.070634080303733e-15, 4.038905284241947e-10, 6.899808627971799e-12, 1.2550469640383853e-11, 4.283484423616864e-12, 4.073388198546839e-15, 4.071663453144237e-15, 5.605261742776131e-12, 4.06887084628642e-15, 1.8513713580022313e-12, 1.4970267144855824e-11, 4.395824355609493e-12, 5.052132555246648e-12, 4.0766978145729554e-15, 4.077342468119182e-15, 8.023916360807657e-11, 1.6956200494940165e-11, 1.114021386930278e-11, 1.0938036711854124e-11, 1.4019177628681387e-11, 1.9935436436196814e-08, 9.541280669121616e-07, 3.0297498002508294e-11, 1.1229485564287593e-10, 3.043443110893821e-12, 3.278978422530264e-11, 3.726594451116004e-08, 1.0093463285981793e-06, 1.9071108902387869e-06, 3.5540647303142735e-06, 9.77099886173152e-06, 1.5717522003864913e-05, 7.723888219034104e-06, 6.604876949739463e-06, 3.708018472711803e-06, 1.116654567639924e-07, 1.7636978004036144e-06, 5.79098275366677e-06, 7.098364316076327e-06, 7.756077754011276e-06, 7.153540703246017e-06, 3.529104979914554e-06, 3.4503341107417278e-06, 9.741571848106926e-06, 1.8614424522884932e-05, 2.0707549884681053e-05, 2.1302793473770735e-05, 2.49172648131448e-05, 2.610424529485079e-05, 2.9545850179999107e-05, 2.4475606806531958e-05, 1.9287438153271484e-05, 1.2227528685763576e-05, 1.5279727893480266e-05, 2.1640027742641846e-05, 2.564678218211867e-05, 2.7440167264960795e-05, 2.5654113140400994e-05, 1.8767025654305627e-05, 8.345415118743791e-06, 7.925593477579571e-06, 1.065748628655435e-05, 1.19492814707244e-05, 1.3627738615459888e-05, 1.611995687266234e-05, 1.8782850715019067e-05, 2.3890315658545282e-05, 2.931298262535906e-05, 3.522706913786952e-05, 3.533150353061001e-05, 3.3491837967019445e-05, 3.185151689565673e-05, 2.9954764766786172e-05, 2.862355000336984e-05, 2.9586195232526364e-05, 2.8027822833422517e-05, 2.0082403973346682e-05, 1.6832899148135898e-05, 1.8534068460810875e-05, 2.457319000804916e-05, 2.200716525297254e-05, 1.8847729967745576e-05, 2.2626983510474108e-05, 2.6804740793460848e-05, 2.2530304100496137e-05, 1.526351313389261e-05, 1.4719219103689232e-05, 1.7670653902827812e-05, 2.713213253435473e-05, 3.504822685405814e-05, 4.53303608950289e-05, 4.586520352298964e-05, 3.944960058835102e-05, 3.217724785347668e-05, 1.770020792921244e-05, 1.1157617007043993e-05, 9.922690853868554e-06, 9.337770031129454e-06, 6.213428655686707e-06, 8.948441120800269e-06, 1.467935459837662e-05, 2.1158991852806396e-05, 2.8249645502897526e-05, 3.393765327771081e-05, 3.3572519943005625e-05, 3.038951020062632e-05, 2.3790803460454402e-05, 2.0623105847158006e-05, 1.8962640660043644e-05, 2.0901759876024535e-05, 2.5009459288272593e-05, 3.132758226988915e-05, 3.473575982295905e-05, 3.593722583087918e-05, 3.15289557033354e-05, 3.151199467341097e-05, 3.468214409530465e-05, 4.362288864759249e-05, 4.9028912895260246e-05, 5.0641836834752046e-05, 5.1455522838235496e-05, 5.086005153854876e-05, 4.767158436350291e-05, 4.341195058793966e-05, 3.5410412311111524e-05, 3.9029635585691284e-05, 3.989055623126365e-05, 3.7829909371211186e-05, 3.071190711234109e-05, 2.3701967075765058e-05, 2.2913297172803637e-05, 2.4341945502106296e-05, 2.1350661430582157e-05, 1.62673456503316e-05, 2.3133502367613292e-05, 1.7670705817110685e-05, 1.3505540915752236e-05, 8.622023679930126e-06, 3.4192875413985324e-06, 7.715627401804111e-12, 4.073020570502015e-15, 3.5321944285180925e-11, 8.226979321990055e-12, 4.4919548702532285e-12, 4.072388573987261e-15, 2.70748988841539e-12, 1.9396563745073184e-12, 3.1102099025411965e-12, 4.738668435033922e-12, 4.708877924213119e-12, 7.19692007178448e-12, 2.7405567236481768e-12, 2.1807634531119137e-12, 7.325665909806925e-12, 7.953713811887303e-12, 9.8553453250547e-12, 4.067252340193488e-15, 8.496983412599012e-12, 4.064369325473812e-15, 4.060969917674499e-15, 5.497132367865406e-12, 4.0597927625483315e-15, 6.747090608082109e-12, 4.059402897255936e-15, 4.060661765534928e-15, 4.059611671439996e-15, 4.0589637246639596e-15, 4.058960024121322e-15, 7.971842479045664e-12, 4.057078903986759e-15, 1.6157625773485703e-11, 4.057600671116673e-15, 4.057884320538248e-15, 4.056828490346386e-15, 1.591306522182574e-11, 4.054594707975131e-15, 4.053325933346615e-15, 2.030860074019518e-12, 4.0481616607268245e-15, 1.0380194817793107e-11, 6.930615836411751e-12, 4.047148527309257e-15, 4.046384444905653e-15, 4.047465678188328e-15, 3.1519714436665297e-12, 4.339438694924357e-12, 4.047086692992053e-15, 7.35597946184168e-12, 3.863799219305442e-12, 4.050113838091176e-15, 4.052911714362722e-15, 4.055602643253805e-15, 4.0550703782135146e-15, 4.057060670498301e-15, 1.3299655200698039e-11, 4.060592137194858e-15, 4.060950331554493e-15, 6.432765254785141e-12, 4.061850179894589e-15, 2.8333539152201823e-12, 4.062028948770516e-15, 6.099397812988725e-12, 3.5399988836141862e-12, 5.405952878894998e-12, 4.061520352528266e-15, 4.801966392471029e-12, 4.0667866255672444e-15, 9.504326355749115e-13, 4.0698340239584995e-15, 6.7636366583370356e-12, 4.786418856172768e-12, 4.07141887776677e-15, 6.117836667637472e-12, 4.071188180558643e-15, 4.07141049945365e-15, 3.4431845049397595e-12, 4.919378695617486e-12, 1.662589436349946e-13, 9.037312185045448e-12, 1.9625624430703282e-12, 1.1711640967696026e-11, 5.504946340576709e-12, 4.077035619632333e-15, 4.079498083453541e-15, 6.556355006937054e-12, 8.117081811800685e-08, 3.947832665405853e-06, 4.926595098384808e-07, 3.222199890104517e-06, 2.748863888661426e-06, 1.272986993027825e-06, 6.52223562843612e-07, 1.2338637743560788e-08, 5.155889444454681e-09, 1.2233216289120854e-07, 1.407498585645179e-06, 4.537304323973634e-06, 1.72737435268146e-05, 3.555797325407031e-05, 4.460982167042698e-05, 4.157922583384705e-05, 3.1957021364533636e-05, 2.9329246645547366e-05, 3.172478716469187e-05, 3.604168616655379e-05, 4.1277610636500265e-05, 3.273148175380457e-05, 1.995238881343561e-05, 1.0717720059496489e-05, 1.2893541742028522e-05, 1.3334198090576806e-05, 1.0615176319069943e-05, 1.369185019461356e-05, 8.116583826060186e-06, 8.481323837555637e-06, 9.843985659784939e-06, 1.6959183625468646e-05, 1.3936980618305736e-05, 1.128032951945105e-05, 9.469969218932939e-06, 3.6601670513230094e-06, 1.5973326154552573e-06, 8.518448096130704e-06, 2.2723133126771843e-05, 1.8963405243467212e-05, 1.1812551636424583e-05, 7.727173639902364e-06, 6.986409405131993e-07, 2.8221503757984817e-11, 1.9101441685502686e-11, 5.513895224491632e-09, 4.2006450290091665e-12, 4.078339454518749e-15, 1.358471272714809e-11, 2.1179537544597003e-11, 1.7737769773443816e-11, 3.3576025559102156e-08, 1.3041500721049324e-07, 1.3005806393729622e-07, 3.340386074088692e-06, 1.5684470352431063e-05, 2.485728230438754e-05, 2.279368255878718e-05, 1.315828662943775e-05, 1.864828951368901e-05, 2.0444631150621732e-05, 9.19615296928036e-06, 9.275949831211718e-07, 2.572648102769067e-06, 9.487673904091458e-06, 7.054056340819586e-06, 5.163635394494138e-06, 9.960871166082065e-08, 1.8514924098011514e-10, 4.079520153416e-15, 1.889180907982775e-12, 9.159621508961604e-11, 1.2283124279136786e-06, 1.51843060178756e-05, 2.1537358083182298e-05, 1.743315522300825e-05, 1.2495572698499978e-05, 1.953046308158841e-05, 1.876792862739912e-05, 2.1711532066805707e-05, 2.1431472446287928e-05, 1.5156903147775986e-05, 8.651092156231731e-06, 5.5830195035762025e-06, 1.1302599381868238e-05, 2.4135702472642544e-05, 2.5667240754577556e-05, 2.8510445614323917e-05, 2.446929618334012e-05, 2.2066296045849387e-05, 1.1712801932675161e-05, 1.2648558563598779e-05, 1.6297340573335277e-05, 3.1196256973898335e-05, 3.108398545681537e-05, 2.7764762493962274e-05, 1.0744252701677288e-05, 3.447265852863461e-10, 4.515943706678778e-11, 6.093800660148576e-11, 7.40092274578738e-07, 7.365172694755867e-06, 1.3007456297877964e-05, 2.2725567544689078e-05, 1.8762822791960498e-05, 8.604436091249777e-06, 8.117072073633202e-06, 1.7332611897321477e-05, 2.4788510279580892e-05, 1.9383904210045834e-05, 8.830302831092446e-06, 1.4065049088012934e-06, 7.406203657773048e-09, 1.0632424387263752e-09, 7.122846610002231e-09, 4.6004930575880977e-07, 3.2826604937984846e-07, 2.0850554542075194e-06, 8.869897294614974e-06, 1.6870887911417666e-05, 1.6591941009977467e-05, 1.0660729753254828e-05, 1.2988541279522727e-06, 3.016029338686677e-07, 1.0023038185143653e-08, 1.5431764515443222e-12, 4.077674605612965e-15, 4.076759453898667e-15, 1.2983297770851507e-12, 6.643373529312796e-12, 1.4980571796700585e-09, 1.5392198538450628e-05, 1.4271746163930794e-05, 1.6777093359821276e-05, 1.1207103973741351e-05, 2.737461393426283e-07, 8.884314020170652e-12, 6.735952106721423e-12, 3.513636286549781e-12, 4.076603920789298e-15, 4.562411118489952e-12, 2.1432517146187827e-12, 5.39442266582139e-11, 6.161455259150471e-08, 1.2003364685420857e-05, 1.2315955175319483e-05, 1.030352997312401e-05, 1.1394434715409208e-05, 1.4968254003940124e-05, 1.5744963637436703e-06, 1.144336796564566e-09, 9.821824065286428e-09, 5.871561480693151e-07, 1.663925732117077e-07, 2.227549557011053e-09, 2.6004647846601074e-09, 2.280275686217653e-09, 1.2588462921045492e-08, 3.9161783403523883e-07, 9.74190849473826e-06, 1.198445643121944e-05, 1.492036757308755e-05, 1.7384517607792383e-05, 1.8299419533462494e-05, 1.4473619635202572e-05, 1.5411202671063734e-05, 1.5260769786998826e-05, 1.5178865704360417e-05, 1.4059610299455484e-05, 1.4034869448962899e-05, 1.7526933199938112e-05, 2.2131060914814852e-07, 1.1908624633656e-08, 6.116070058562414e-06, 6.913361200421811e-06, 1.90575481733836e-05, 1.7298015792535895e-05, 1.6305992579537484e-05, 1.521166702771596e-05, 1.4594519800698459e-05, 1.6542447311409496e-05, 8.705110489938888e-06, 5.26202198165039e-10, 4.078256493119052e-15, 4.07779829897092e-15, 4.0766222266871155e-15, 2.970575083492138e-12, 4.076182745568421e-15, 4.4886928285129537e-13, 3.1158645677646773e-12, 4.074032476586644e-15, 3.824836679621774e-12, 3.5444389716119187e-12, 1.9952990441927374e-12, 4.075772524667143e-15, 1.3866010991566815e-11, 1.076843624844363e-11, 4.075286417438177e-15, 9.38933829567327e-13, 4.4881359857893065e-12, 4.074836568438404e-15, 1.8232801974887834e-11, 5.857661621870848e-12, 4.074601091511713e-15, 1.9444912642199963e-13, 5.191552757499648e-12, 4.233750115558782e-13, 4.071105390427237e-15, 4.0708015749539616e-15, 5.021147134179619e-13, 1.5921522098921117e-12, 3.910501984145791e-12, 4.668200011516382e-11, 6.839782545112654e-12, 1.4549844107877341e-11, 1.368962458799937e-12, 6.389271433713376e-12, 3.2014305625177884e-12, 1.0191825862322286e-11, 4.0731929907803756e-15, 1.8311911139028167e-13, 7.0906562735725786e-12, 3.0028066465360046e-12, 3.4465471080012256e-12, 8.37223008168776e-12, 1.015762089134926e-12, 3.452880788914073e-13, 6.18719484879493e-12, 1.0131378102167475e-11, 1.082644107537007e-11, 5.29278671219437e-12, 4.066354520912623e-15, 8.838102401868739e-12, 1.8991863709254487e-10, 4.066250617914987e-15, 4.066214135705078e-15, 4.067144574354511e-15, 1.0910424462075336e-11, 2.919037898209484e-12, 4.067198002689391e-15, 4.067704297177907e-15, 4.068628988394582e-15, 4.069676458556367e-15, 4.0691975931165815e-15, 6.102940314604548e-12, 7.359074413759383e-12, 4.069973296943634e-15, 1.0108248774792555e-12, 1.1397725529440671e-11, 6.2051145742453425e-12, 2.2896547582754173e-12, 3.053333047522899e-12, 4.0628534944284264e-15, 4.062473447497312e-15, 4.695943873473277e-12, 4.061350965282351e-15, 4.0625769356719434e-15, 6.49786270432753e-13, 4.06193321418827e-15, 5.892605786987616e-13, 4.340215761045143e-12, 3.0822320040494876e-12, 4.052368815167969e-15, 3.012622607876908e-12, 4.05161719112899e-15, 4.0521836842238126e-15, 4.031674708696791e-15, 4.035713732593041e-15, 5.512560172136782e-12, 4.03358767704307e-15, 8.163907080380679e-12, 3.314151701394301e-12, 4.0277782179827585e-15, 2.065118317959881e-12, 1.6666892412598105e-11, 5.166275206733361e-12, 4.031871634135755e-15, 6.886055812604114e-12, 6.605374718686629e-12, 3.8810401553323365e-12, 4.029144326598386e-15, 4.04518379453248e-15, 6.529395942570417e-12, 4.0466936628224524e-15, 4.047000072559588e-15, 4.048068659965974e-15, 2.7268967396076604e-13, 8.534129747986627e-12, 4.053607225308017e-15, 6.833403239378416e-12, 4.0559812218390965e-15, 4.056317061437504e-15, 4.0414359649254885e-12, 5.205014250929661e-12, 6.282193938845104e-12, 4.0595905129390954e-15, 4.06033646333165e-15, 4.0612283812497405e-15, 4.062070839801877e-15, 4.062953104229502e-15, 4.166068358674431e-12, 3.966517079796832e-12, 4.066793471967049e-15, 4.066579171524083e-15, 8.936116882959588e-12, 3.945251888585845e-12, 7.2449705134221855e-12, 6.812985466129603e-12, 5.942289221922412e-12, 4.067382115269174e-15, 7.753066519455679e-12, 6.51937223736641e-12, 4.067564686692913e-15, 4.066696920130376e-15, 4.067308627087334e-15, 7.30226490080731e-12, 1.1447469316801154e-11, 2.806673310096609e-12, 4.0693859173264324e-15, 4.0715483009670575e-15, 7.358239960097296e-12, 3.5326476813557014e-12, 1.3057198474473523e-11, 1.3564900197723787e-11, 6.666134603977847e-12, 4.073889328768277e-15, 5.138587556853572e-12, 1.2166498094383201e-11, 1.925896210128696e-12, 5.869729403808632e-12, 3.4297381925861034e-12, 3.12792409462147e-12, 4.068983836327686e-15, 4.0697088440399474e-15, 4.069984196611279e-15, 4.450484362640688e-12, 3.345843018112661e-12, 4.070588981845055e-15, 6.029642485706053e-12, 7.492625820248727e-12, 2.3280199529250795e-12, 3.3226469169643847e-12, 2.1985486576995145e-12, 4.7846769545977633e-11, 4.047735647326944e-15, 4.138467416955813e-12, 4.06217624622442e-15, 4.054774932707445e-15, 4.0557010722229e-15, 4.057199570045945e-15, 3.2778609007468076e-12, 4.069614899770936e-15, 1.0746177119162476e-11, 4.06962338305904e-15, 4.061720187569813e-15, 1.5057341657190524e-12, 4.056251831505495e-15, 3.70237393123648e-13, 1.5579029417807258e-12, 4.0610462107032126e-15, 9.44563819529156e-12, 3.166871966611993e-13, 2.0151777583839826e-12, 5.528362268160787e-12, 1.1795274197318613e-11, 3.2957650023581585e-07, 6.415889483935167e-07, 6.550444750408053e-12, 3.208247499135132e-12, 4.0657608069347215e-15, 3.468512384413754e-12, 5.897963652696993e-12, 2.957482214378706e-12, 1.5205036133328172e-11, 2.934897543267536e-12, 5.3887840678721995e-12, 4.056894474970742e-15, 4.0560569637821365e-15, 1.641876561185922e-12, 4.062426283751248e-15, 5.271930068601918e-12, 4.070784648201326e-15, 3.557454134673574e-12, 5.9375268324739095e-12, 7.33007618220715e-12, 4.059398348803171e-15, 8.248879078371342e-12, 8.695567869257067e-12, 5.1709524668222046e-12, 4.052140542185931e-15, 7.171178854603295e-12, 4.049962408006054e-15, 4.050464203897028e-15, 4.052015906767401e-15, 4.051631038636567e-15, 1.9332926227614716e-12, 4.049798796466024e-15, 3.6092088931566365e-12, 6.6017101260959224e-12, 7.54864124354755e-12, 4.052343294792452e-15, 4.054564431276098e-15, 4.0541616249914055e-15, 2.904574868046049e-12, 2.700728967132659e-12, 1.4256301780549415e-12, 4.795371353010215e-12, 4.048845079642071e-15, 4.055700248696292e-15, 4.054188685983551e-15, 5.4321766734617596e-12, 4.0576457324490305e-15, 4.287120701112995e-13, 4.06042820697208e-15, 4.061265125973449e-15, 1.8894326159354873e-11, 4.065709088779443e-15, 6.243758977712496e-12, 1.5802808443802134e-12, 8.592702053968643e-12, 1.1689937048747726e-11, 4.066505356755682e-15, 5.188259032427376e-12, 4.069550787136248e-15, 5.672319306495156e-13, 4.069019964104238e-15, 4.069166594434896e-15, 4.069870097684886e-15, 8.05525124369091e-12, 4.069183874178613e-15, 4.071434896821361e-15, 1.000559642354594e-11, 4.0725976752239674e-15, 3.304646892856093e-12, 3.911044922822786e-12, 5.0379090226115226e-12, 4.070610426036064e-15, 8.731551821344103e-12, 6.77281510280712e-12, 1.0522861008360155e-11, 4.0747722142351e-15, 4.074781513710841e-12, 1.734898971699077e-11, 6.9554786375269235e-12, 5.863654959654372e-12, 1.1334265770106943e-11, 4.074135594569275e-15, 4.07685953370558e-15, 1.573463930974939e-11, 5.395956361377333e-12, 9.500685191183998e-07, 7.073753418466437e-06, 1.2808298986995205e-05, 1.2309887044182218e-05, 9.445789678899515e-06, 9.662955290393398e-06, 5.4720469801755375e-06, 4.406287282157114e-06, 3.705990044636411e-06, 3.2574760206307515e-06, 2.057092463998267e-06, 5.923871812623952e-06, 7.5593227673132445e-06, 7.248425537589051e-06, 1.1066527150350166e-05, 1.539656535422611e-05, 2.050798857714762e-05, 2.2295307164699592e-05, 2.2004113729125707e-05, 1.9628570125315463e-05, 1.800527224188524e-05, 1.740680442700111e-05, 1.2545699307657626e-05, 1.3734996455419962e-05, 1.4977345295428232e-05, 1.4289441337284223e-05, 1.3509372481629458e-05, 1.340666276453111e-05, 1.4180103056679494e-05, 1.593541469036183e-05, 1.7291456907402468e-05, 1.785333612516468e-05, 1.7895796002891135e-05, 1.745805409935603e-05, 1.7130137780046487e-05, 1.6980694340525953e-05, 1.74343804129847e-05, 1.7074735823080736e-05, 1.750617931185362e-05, 1.8672391900698437e-05, 1.9242885262462677e-05, 1.7819913350084278e-05, 1.741444845822785e-05, 1.8623774080243763e-05, 1.7964625470743947e-05, 1.821544273673193e-05, 1.8992409239929583e-05, 2.001370883525229e-05, 2.259848996640478e-05, 2.6243419622023157e-05, 2.7670097812885996e-05, 2.6195470868168288e-05, 2.180728044261905e-05, 1.687847082758444e-05, 1.1410722583259597e-05, 4.762917064824315e-06, 9.475807081493712e-07, 1.1401469102069318e-07, 6.073841973974702e-12, 4.58903304887062e-10, 7.380591359139242e-07, 3.286925851801189e-06, 5.7732736131020846e-06, 7.133256355863153e-06, 6.705372967280433e-06, 4.576411467121147e-06, 2.0990761841034595e-06, 7.095402947129978e-07, 1.2720410872245242e-06, 3.856658518773533e-06, 6.743091871303713e-06, 7.637327426074677e-06, 7.835533968343917e-06, 9.345881908426332e-06, 1.02103412003574e-05, 1.0932845914448753e-05, 1.1654374563774488e-05, 1.1217055184131713e-05, 9.329108439884564e-06, 6.049177490797745e-06, 1.2270117433522757e-06, 1.8000086268165913e-06, 8.261971640930258e-06, 1.602327577938894e-05, 2.0880607607354902e-05, 2.0635188631761827e-05, 1.8749634450556337e-05, 1.5354484097013705e-05, 1.2180119419741996e-05, 1.0802130299419689e-05, 6.994393209571283e-06, 2.172657563156747e-06, 2.8782740439475016e-06, 5.629826166404171e-06, 7.467359017376499e-06, 8.958971467313741e-06, 1.572428217209604e-05, 1.629596674755789e-05, 1.4823919103273334e-05, 1.259371447961722e-05, 1.1655513989018815e-05, 1.27430642212649e-05, 1.2346323817899778e-05, 6.1633679668498495e-06, 1.1281035063513284e-06, 1.7348488043696461e-06, 4.5582964501688066e-06, 3.206493462502171e-06, 6.7276267014170375e-06, 6.177827519435062e-06, 5.048130995523455e-06, 2.625797715249579e-06, 6.817174615366456e-11, 5.289053382754149e-12, 4.1480991267916667e-08, 3.4210022686866677e-06, 2.2189325795398977e-06, 1.3574486419199556e-06, 4.166087845247645e-12, 1.3294221379795558e-11, 4.0750964495456786e-15, 1.6660107727275937e-13, 8.523285691346264e-12, 4.0708360505740884e-15, 2.3988589723110196e-12, 4.072364517790395e-15, 4.071614281293658e-15, 5.234218037686408e-12, 4.0696093647701855e-15, 1.0613912300176743e-11, 4.072146435940711e-15, 8.201908560547044e-12, 9.423767306480589e-12, 4.068492095579132e-15, 8.51786987973554e-12, 2.240303857098523e-12, 3.5707475994025807e-12, 4.069572252251303e-15, 1.1531219897557613e-11, 2.5050503638339147e-12, 3.81685132046459e-12, 4.068532713854089e-15, 4.068112054881879e-15, 2.8845030565046226e-12, 2.072491858910546e-12, 4.065292806079599e-15, 2.1201079105294223e-12, 4.069060629643085e-15, 4.069319485486194e-15, 3.915441934800758e-12, 6.2822824173504614e-12, 4.071166648392726e-15, 4.071542566720351e-15, 4.0730981574883475e-15, 1.7152031802791706e-11, 3.5992630517168084e-12, 1.4299239512854017e-11, 7.861761002952445e-12, 2.358890619033639e-12, 4.06780579139348e-15, 8.377462241338136e-12, 1.2454768081413873e-12, 4.0673187575511125e-15, 7.385254243408534e-13, 4.066624608586068e-15, 1.0440788368112205e-12, 4.067412354254316e-15, 1.3111756620166088e-11, 6.316557931084101e-12, 9.758125805389777e-12, 4.069751212372461e-15, 2.2645887842587322e-12, 4.069125911061011e-15, 4.068972532436516e-15, 2.884782596701992e-12, 2.766411596283754e-12, 1.814657091906387e-11, 4.0689586428067955e-15, 9.917065048991656e-12, 1.0515003771077914e-11, 1.0803722914988619e-11, 4.069981966576896e-15, 7.2157416420062754e-12, 1.2790774003453611e-11, 7.630227682529672e-12, 4.071718806413767e-15, 4.073524653575526e-15, 4.074098093534262e-15, 3.0664049135604023e-12, 4.074682960102876e-15, 5.791456377050222e-11, 1.5386124597131962e-07, 2.2076349051457923e-06, 4.7417060515951e-06, 5.450901314277384e-07, 4.077814332850184e-15, 2.288274370781253e-06, 6.610137082739703e-06, 9.720545249875119e-08, 4.702456804057942e-09, 9.021136323451165e-13, 6.8399730348302044e-12, 4.076345563419941e-15, 2.0295119348638334e-12, 1.0741378170777168e-11, 1.60570282195255e-12, 4.074479838473276e-15, 4.074649794684004e-15, 4.074315784870073e-15, 3.2015332625819715e-12, 1.1440612185760428e-11, 8.580220872095582e-12, 4.077130204913682e-15, 3.6798945706220438e-06, 9.803967400433168e-06, 1.2308226753449338e-06, 2.143275766262895e-11, 4.075696712432038e-15, 8.616474820678713e-12, 4.073898669804731e-15, 4.073688663971188e-15, 1.809220023920894e-12, 7.624496397966061e-12, 4.075499997894717e-15, 4.077313452805439e-15, 9.113626583885778e-10, 1.052389187175994e-05, 9.072908947149378e-06, 8.067418958408794e-06, 7.128036537853412e-06, 4.744819507541706e-06, 3.7699595277145987e-06, 4.779337481584112e-06, 6.35772131161984e-06, 8.694194213205927e-06, 7.914192499539455e-06, 7.793704855325577e-06, 7.744537475099264e-06, 9.56972102187523e-06, 1.1058655714167495e-05, 1.2072145191853908e-05, 1.1248922506260532e-05, 9.775166393089125e-06, 7.806214556714214e-06, 5.35817523355108e-06, 2.5254662722095287e-06, 2.8042099750973097e-06, 3.046850286855249e-06, 4.628230712012633e-06, 4.216990483073552e-06, 2.2411145628509582e-06, 2.9972329914608474e-07, 9.581217254731828e-12, 5.443961454134381e-12, 8.693397304737898e-13, 1.2578570658230425e-06, 2.880673821567913e-06, 3.79877131778126e-06, 2.9836651916396356e-06, 1.1393237828233833e-06, 6.118489164679963e-07, 1.1486452890750234e-06, 1.4325323829203138e-06, 2.548878654420895e-06, 3.965257869246873e-06, 4.44218479965721e-06, 4.291734691588203e-06, 4.852381546588216e-06, 6.048612778046824e-06, 7.962373784634776e-06, 8.718151867204019e-06, 8.716332984693627e-06, 7.823200170910617e-06, 6.165497295679361e-06, 5.6058073811192565e-06, 6.110510740079309e-06, 5.229326354560888e-06, 4.234768080190657e-06, 4.229768313887399e-06, 4.732298072035457e-06, 5.761605825980972e-06, 6.345607896709355e-06, 5.713867845933696e-06, 4.789769761846215e-06, 4.090555559021049e-06, 4.520969533301555e-06, 6.64496550071189e-06, 8.197606799176113e-06, 8.538650569034291e-06, 6.8854443868894736e-06, 5.882970213379037e-06, 5.2112217683268365e-06, 5.640715063381695e-06, 6.424844106133868e-06, 6.87218362468429e-06, 6.8181846415407576e-06, 6.440434586008189e-06, 6.861456657958376e-06, 7.393983845072265e-06, 7.100849581665251e-06, 5.61740013551517e-06, 5.433333407834094e-06, 5.298114158988098e-06, 4.842900043557874e-06, 3.484541925255932e-06, 2.8954765380495953e-06, 5.251496949403745e-06, 7.958130538944026e-06, 9.67744548701161e-06, 9.952221238475828e-06, 1.0477679272441243e-05, 1.0965189163851322e-05, 1.1069847979312121e-05, 1.1651213924760057e-05, 1.2887483167082954e-05, 1.3158299314029977e-05, 1.2897606469786698e-05, 1.3325720672505994e-05, 1.29928066615443e-05, 1.200967867159751e-05, 9.589021707660637e-06, 7.629328519628108e-06, 7.807873603892644e-06, 8.663566716868396e-06, 7.69824885228596e-06, 5.891045368812407e-06, 5.073933983151503e-06, 4.553160791188444e-06, 4.482639152641782e-06, 3.657662740427003e-06, 2.6516408813229695e-06, 2.4939602486772524e-06, 2.7862736707205204e-06, 3.604358198210653e-06, 4.574134704921983e-06, 5.025808891222614e-06, 6.1156921785767455e-06, 6.318853683380653e-06, 5.901807991343394e-06, 5.423579650636368e-06, 4.179166153224593e-06, 4.6756654245128555e-06, 6.816419666977706e-06, 6.938196061940134e-06, 4.400792333491617e-06, 3.621447376554722e-06, 3.7757635677264896e-06, 4.617319720557519e-06, 4.62789201305209e-06, 4.393324501557836e-06, 4.073761744208751e-06, 4.481920087062729e-06, 4.814431181442056e-06, 6.671990731007983e-06, 9.478672996420131e-06, 1.2979926665273216e-05, 1.2884748872485445e-05, 1.1921860414369852e-05, 1.154057610846669e-05, 9.86609818008531e-06, 8.500117052411285e-06, 5.553013795981145e-06, 3.8175500270544885e-06, 5.671198185236842e-06, 4.332311890213783e-06, 4.073677115019508e-06, 5.371701357844248e-06, 6.777385206332827e-06, 8.349653855332507e-06, 9.820510711903714e-06, 1.067350737327992e-05, 1.2135931701691211e-05, 1.254255784526684e-05, 1.2194893044005793e-05, 1.0675857860268172e-05, 8.77117199278656e-06, 6.577501216483145e-06, 6.3208995963359855e-06, 8.468810991718275e-06, 9.032204169509567e-06, 9.865011588277116e-06, 1.168305768481066e-05, 1.4230404099222123e-05, 1.3752150196951483e-05, 1.0633821877932832e-05, 8.5440517304474e-06, 8.55987276076855e-06, 8.749375696802258e-06, 9.914554349581298e-06, 1.0623585724041017e-05, 1.036770718194952e-05, 7.3829293072090644e-06, 4.268955442095726e-06, 4.586247875216612e-06, 5.99004393686229e-06, 6.498164693602687e-06, 7.078543232134809e-06, 8.185168035878605e-06, 9.312408749754965e-06, 1.1494843065336382e-05, 1.309242416374982e-05, 1.3326991236044172e-05, 1.3084713351427286e-05, 1.2797013476675967e-05, 1.2398826259130201e-05, 1.1514069794736016e-05, 8.94330999210348e-06, 6.4544165403210965e-06, 6.382251395206381e-06, 7.893643040250527e-06, 9.707710081777022e-06, 9.696979059486732e-06, 8.667468467927092e-06, 7.42046445464492e-06, 7.232248419614559e-06, 7.64588187477674e-06, 8.375983102385688e-06, 9.724037803964344e-06, 1.1135105866860804e-05, 1.1602235698746812e-05, 1.054529398080243e-05, 8.85820744223091e-06, 7.1456157256588595e-06, 4.201177830509115e-06, 2.5022502733574162e-06, 2.7392791354577802e-06, 3.3357329712700383e-06, 3.6601640808383312e-06, 3.656491747777759e-06, 3.9414654090889915e-06, 4.325753213709034e-06, 4.749726021466008e-06, 5.0623225871791395e-06, 5.199210500900076e-06, 5.407935236037329e-06, 6.394006096631635e-06, 6.246454900743697e-06, 5.610355672183943e-06, 5.723610202415004e-06, 4.810495518028596e-06, 4.101024932088173e-06, 2.5001836814176857e-06, 1.903928802828222e-06, 3.2168394297606026e-06, 5.635472888850488e-06, 6.455745554997153e-06, 4.40539006835308e-06, 2.6986507218555164e-06, 3.184440164822787e-06, 5.220118658538381e-06, 7.960184219859916e-06, 1.0044962735295355e-05, 1.08265515808535e-05, 1.1754665335690242e-05, 1.3938002790684251e-05, 1.6725954285593848e-05, 1.8818569942213265e-05, 1.9022917811887087e-05, 1.8591742886027337e-05, 1.8442861700328602e-05, 1.772378530377542e-05, 1.576813924496653e-05, 1.3962274486168808e-05, 1.144070787891347e-05, 8.30862375274846e-06, 6.403919127337251e-06, 7.685973579625864e-06, 7.522981152134483e-06, 7.361655934631436e-06, 6.311024331438172e-06, 6.917557913881885e-06, 7.366729688625895e-06, 8.0802824035316e-06, 9.529939165550797e-06, 1.0026311438935845e-05, 8.756012723746006e-06, 6.3044464290840095e-06, 4.123477460783868e-06, 3.4392261820915955e-06, 3.0128578875404974e-06, 5.791611244056713e-07, 1.647850842285204e-10, 1.2569710716314936e-10, 1.8747848493021864e-07, 1.4021478388571514e-06, 2.2309665124996533e-06, 7.947631295792332e-07, 1.0385395509056361e-10, 1.2537029354972724e-06, 3.5668829977159607e-06, 6.250606986801713e-06, 7.535790001151416e-06, 6.644207180547404e-06, 5.242309286944102e-06, 5.000754809374427e-06, 6.183578285398491e-06, 6.997952846847892e-06, 6.630366064899108e-06, 6.224669689765614e-06, 5.423254422999235e-06, 5.859529807814441e-06, 8.064260562207274e-06, 1.1914871236480832e-05, 1.50219484398501e-05, 1.6938225796235123e-05, 1.9469847175914848e-05, 1.9842606434896085e-05, 1.9420219252158367e-05, 1.8238201778681163e-05, 1.7042385066298075e-05, 1.735518217034503e-05, 1.7962818594199626e-05, 1.83497847006714e-05, 1.7531423651163286e-05, 1.6041777275125134e-05, 1.7190811282146392e-05, 1.871598806395481e-05, 2.027847799318753e-05, 2.178263151615973e-05, 2.1852629760414085e-05, 2.0689963517115426e-05, 1.888236084790442e-05, 1.7955867368889823e-05, 1.855366062432028e-05, 1.746163856646825e-05, 1.5171573013866507e-05, 1.3881948091775147e-05, 1.4536189780319336e-05, 1.522027324138121e-05, 1.6150808161620727e-05, 1.680205267104879e-05, 1.7499680053892017e-05, 1.781628602002325e-05, 1.655891661496282e-05, 1.624618959554582e-05, 1.602981125470698e-05, 1.501130326378842e-05, 1.3693815645273843e-05, 1.4034204407079662e-05, 1.550994106580565e-05, 1.939115387681487e-05, 2.0233029658380465e-05, 1.836260120245442e-05, 1.9244727920894484e-05, 2.055510418491976e-05, 2.1555286043396088e-05, 2.116497847887157e-05, 1.977255307434188e-05, 1.634069784468369e-05, 1.5010905647706324e-05, 1.6389736762015988e-05, 2.0918487413096932e-05, 2.427460537817514e-05, 2.5205950215835154e-05, 2.3842423416355993e-05, 2.2680825349234747e-05, 2.1674340792845634e-05, 2.224855622844088e-05, 2.2650900386225364e-05, 2.1754089474920375e-05, 2.1088534240217503e-05, 2.0764698639718024e-05, 2.0213202781368812e-05, 1.8789712592241256e-05, 1.737748644561761e-05, 1.6534395546706047e-05, 1.8543859454990986e-05, 1.899836781815613e-05, 1.7470493730334178e-05, 1.4639731199328685e-05, 1.3185585795122808e-05, 1.3477099209571885e-05, 1.3819119914501674e-05, 1.3590003176399822e-05, 1.4432694464306684e-05, 1.6485063607146157e-05, 1.6685676365035103e-05, 1.584119509527025e-05, 1.365007921256631e-05, 9.975388221322426e-06, 6.0496188994535604e-06, 4.356071583133068e-06, 4.564174984225489e-06, 2.150851000041225e-06, 2.0435848169490358e-09, 4.0704430097450246e-15, 4.078501648965833e-15, 4.074399072684186e-15, 9.28389202224537e-12, 4.065144438025559e-15, 4.063599941865274e-15, 1.0457070325992575e-11, 5.030577683830227e-12, 1.7038817161934068e-11, 4.072200611041976e-15, 5.108263890807443e-11, 1.616510551668551e-08, 7.68492379344278e-07, 9.991437265777515e-07, 2.1409558065196016e-08, 4.066410928542287e-15, 7.66705067463858e-12, 8.765497419606886e-07, 5.025963648186978e-06, 8.126755225418268e-06, 9.411401521873032e-06, 8.541870494240757e-06, 1.0212154737907388e-05, 1.1026777614749221e-05, 1.181865099854042e-05, 1.1324683949394425e-05, 1.0907766701190133e-05, 1.4321030852304397e-05, 1.5924176469770988e-05, 1.4994654326938932e-05, 1.4377903581443922e-05, 1.3282928278466946e-05, 1.577512812792816e-05, 1.8050834773877944e-05, 1.9903548832527604e-05, 2.1622911975643156e-05, 2.1268170513866976e-05, 1.986797798985571e-05, 1.9478295408577183e-05, 1.6606016062324647e-05, 1.2394471687411291e-05, 7.986830259308271e-06, 3.437704834538994e-06, 2.5472992205568215e-06, 3.1699604460095753e-06, 3.789158700165841e-06, 5.6108172012980994e-06, 8.87866319734048e-06, 1.093321878176572e-05, 1.3066995107410003e-05, 1.145650561881611e-05, 1.1265217167291443e-05, 1.2500785786524398e-05, 1.099991339702462e-05, 1.0074951380642485e-05, 1.0002938149110932e-05, 1.1264658737243133e-05, 1.6704912147138404e-05, 2.0236372004431942e-05, 2.159375035903514e-05, 2.3874456470531067e-05, 2.6561260766606986e-05, 2.862245677107957e-05, 2.7665522926749984e-05, 2.238352387790453e-05, 1.5721517679954355e-05, 1.3323594574962137e-05, 1.4783028995757412e-05, 1.924705079033422e-05, 2.3190694365045744e-05, 2.487833470233593e-05, 2.3527433305228493e-05, 2.1917595633214443e-05, 2.186848012824816e-05, 2.2674324269459774e-05, 2.107307260204765e-05, 1.8401454969974454e-05, 1.6964672726395466e-05, 1.6363208527710282e-05, 1.595364508506655e-05, 1.4506325888173214e-05, 1.2708861034907777e-05, 1.2030457634975091e-05, 1.4230076562638005e-05, 1.6311294133167556e-05, 1.5785470529470654e-05, 1.1727204745230162e-05, 8.723456200064822e-06, 5.98618899771907e-06, 5.211864239498267e-06, 5.866322646401738e-06, 8.578559462562072e-06, 1.1785357010224748e-05, 1.424610673848331e-05, 1.629906439920346e-05, 1.566383270352332e-05, 1.4153526969656305e-05, 1.2724758890653197e-05, 1.157202884415504e-05, 1.0666870788622383e-05, 9.0615333076047e-06, 7.483624161942797e-06, 7.975456811330903e-06, 1.1291840223738946e-05, 1.5164625773668238e-05, 1.672031167377676e-05, 1.751385369337818e-05, 1.812123545851267e-05, 1.6297313755967737e-05, 1.647449213676299e-05, 1.547547670895049e-05, 1.3372196596103693e-05, 1.0243069913715877e-05, 1.1770655249377033e-05, 1.7098621891375014e-05, 1.8945605443601706e-05, 1.3648413530538179e-05, 9.637423061372287e-06, 1.0468111282458077e-05, 1.5951113403195007e-05, 2.1807895319487e-05, 2.3949769367662048e-05, 2.2993992327345493e-05, 2.2238031805029482e-05, 2.423453787883585e-05, 2.4843591095830156e-05, 2.5917442964031404e-05, 2.606366072555748e-05, 2.608832870798129e-05, 3.0730985594679816e-05, 3.477143995922099e-05, 3.604525465898286e-05, 3.480949877921246e-05, 3.163220506032933e-05, 3.32985785812187e-05, 3.5775706242766216e-05, 3.83475595171862e-05, 3.9749827402796114e-05, 3.9710943547833314e-05, 3.809893133670333e-05, 3.6583852739168894e-05, 3.261085404161596e-05, 2.7628753699875054e-05, 2.1638127520563098e-05, 1.3520478608858892e-05, 9.929123901415953e-06, 1.0560540311708876e-05, 1.3712025211933532e-05, 1.80222417165854e-05, 2.299646770160513e-05, 2.7940129306265335e-05, 3.024508793733906e-05, 2.6297868608362326e-05, 2.3677714095175153e-05, 2.5489985675266098e-05, 2.5247084568657284e-05, 2.2468339331502085e-05, 2.0368037251055046e-05, 2.0598941319429215e-05, 2.2117506122812994e-05, 2.3401673107920715e-05, 2.561273823726079e-05, 2.6569153698459216e-05, 2.875463834558401e-05, 3.082661043689347e-05, 3.09827955638343e-05, 2.5764959508723136e-05, 1.7035359622920658e-05, 1.0829965548088265e-05, 1.2038229317421701e-05, 2.118241126244484e-05, 2.7932250599174116e-05, 2.9744578314736707e-05, 2.7383381823644735e-05, 2.7090814140577247e-05, 2.983602431625587e-05, 3.15580683682123e-05, 3.194548646792083e-05, 3.081357213202131e-05, 2.838538869337121e-05, 2.649213479854741e-05, 2.683013385039158e-05, 2.8578548289308977e-05, 2.8610085868143473e-05, 2.705870108530194e-05, 2.8648894874380622e-05, 2.8662240839813212e-05, 2.5936743090667182e-05, 2.2656352869196334e-05, 2.2641522331444904e-05, 2.3747740080211315e-05, 2.5842439724481796e-05, 2.6811781857440205e-05, 2.8902887912943845e-05, 3.085414708250878e-05, 3.212438031581889e-05, 3.466977088943964e-05, 3.426929973486312e-05, 3.4133164860803326e-05, 3.2679332094872825e-05, 3.157794423265603e-05, 3.152908768978689e-05, 3.0519584174132025e-05, 2.9015650251966996e-05, 2.8245224382672414e-05, 2.9916253262744482e-05, 3.254565083363415e-05, 3.388876342365269e-05, 3.4527998780567464e-05, 3.41796587351318e-05, 3.1281334831568966e-05, 2.9928189664614305e-05, 2.9209608745395066e-05, 2.712821703572393e-05, 2.2128481702424557e-05, 2.2547555592007574e-05, 2.5554348954284786e-05, 2.7606135029184617e-05, 2.3349233715702437e-05, 1.901371579692828e-05, 1.948844471798973e-05, 2.3586592001311793e-05, 2.692475087830453e-05, 2.6180486335495255e-05, 2.3458024893165713e-05, 2.0776025767034918e-05, 2.145222037591561e-05, 2.2748750888078925e-05, 2.2876862565970692e-05, 2.073251681785915e-05, 1.7461564140187626e-05, 1.996354078038266e-05, 2.258559199870164e-05, 2.2570586523219813e-05, 2.3899031183660268e-05, 2.486266905403895e-05, 2.9284514065122098e-05, 3.364221579066815e-05, 3.468430093393563e-05, 3.4399054218832136e-05, 3.352258526511146e-05, 3.2268068599623496e-05, 3.220153193818353e-05, 2.953594337976773e-05, 2.4988477374032623e-05, 2.2228856058072673e-05, 1.9324395224720433e-05, 1.7570760236031147e-05, 1.8712170806127712e-05, 2.1517970164319937e-05, 2.684522299065878e-05, 3.1752605214777765e-05, 3.5316652985087306e-05, 3.665291245316624e-05, 3.338905399762175e-05, 3.121890889320464e-05, 3.4773683655899674e-05, 3.429747821857934e-05, 3.1944842843210126e-05, 2.9675824061506288e-05, 2.744830134056215e-05, 2.817701163355532e-05, 3.019127800322534e-05, 3.186237061468229e-05, 3.432068487536474e-05, 3.636542969479802e-05, 3.7194553184800494e-05, 3.8105831848052235e-05, 3.474249311150935e-05, 2.77996783282146e-05, 2.2557298062616182e-05, 2.3924783451744513e-05, 2.8904576751765995e-05, 3.442630517048082e-05, 3.507469685686635e-05, 3.5078977845327956e-05, 3.5228086579260304e-05, 3.921559725504863e-05, 3.954275985214932e-05, 3.7162674445238936e-05, 3.304940018168748e-05, 3.176355214008646e-05, 3.2090011765359214e-05, 3.359248876137755e-05, 3.5365356707751584e-05, 3.5359055621720044e-05, 3.595825136107329e-05, 3.805207689108135e-05, 4.040306202212769e-05, 4.419828669427286e-05, 4.052774907968295e-05, 4.008517888008926e-05, 4.178112235619369e-05, 4.517449681943026e-05, 4.616228303961762e-05, 4.99431485622557e-05, 5.264357281858398e-05, 5.5006592317162374e-05, 5.773590382213651e-05, 5.790564812187802e-05, 5.8047940019787516e-05, 5.968640445848759e-05, 5.968546370348756e-05, 5.966349630510403e-05, 6.022310129483006e-05, 5.560124254093036e-05, 5.373449923038371e-05, 5.5053634287211556e-05, 5.920414443591042e-05, 6.182374910577898e-05, 6.312486819913002e-05, 6.323776782833373e-05, 6.181796896507629e-05, 6.04095886220518e-05, 6.0643629123483285e-05, 5.820181169154052e-05, 5.4377623341583446e-05, 5.449951098760513e-05, 5.6272697203238874e-05, 5.817848799078369e-05, 5.729654791301403e-05, 5.7249897815616076e-05, 5.9505187360321045e-05, 6.502801101642097e-05, 6.950143442148324e-05, 6.983052708018355e-05, 6.467684835188877e-05, 6.503712057562419e-05, 6.870143223340975e-05, 6.96305834598639e-05, 6.805959340072578e-05, 6.649164104640522e-05, 6.291711844989381e-05, 6.188431862100173e-05, 6.232071814116589e-05, 6.090334603156954e-05, 6.168963917177861e-05, 6.198804444206395e-05, 6.547272437265714e-05, 6.947515864161704e-05, 7.209486404381912e-05, 7.270337300641174e-05, 7.141540763973771e-05, 7.067709706881519e-05, 7.172896934525447e-05, 6.983222869824887e-05, 7.073434014319008e-05, 6.658522328564174e-05, 6.312686884865323e-05, 5.983116737847805e-05, 6.0864331429141054e-05, 6.361187528408941e-05, 6.77782764012245e-05, 7.194694826418795e-05, 7.373417333088823e-05, 7.431927452723396e-05, 7.346150773622487e-05, 7.35579518371583e-05, 7.652545429458004e-05, 7.860703430919629e-05, 7.684959615958334e-05, 7.449415621888633e-05, 7.196766363539802e-05, 7.28554619293859e-05, 7.881079779372948e-05, 7.954054969073207e-05, 7.990111244433514e-05, 8.081552365200613e-05, 8.589646377214859e-05, 8.773812596986799e-05, 7.835425069905822e-05, 7.186720956478539e-05, 6.969480334872646e-05, 6.757890209644837e-05, 7.755214777968354e-05, 7.969536527401363e-05, 7.785871907889205e-05, 6.742083030827003e-05, 6.482544203904614e-05, 6.309819690846467e-05, 6.53166669302962e-05, 6.974762900646379e-05, 7.339570825003343e-05, 7.365567821704246e-05, 7.275093854215622e-05, 6.86077105433382e-05, 6.28874863628797e-05, 6.025651364436012e-05, 5.5925297877988e-05, 6.52038057490918e-05, 6.298750300365626e-05, 4.979334987415453e-05, 5.984162949111603e-05, 7.049565526826378e-05, 7.179855705423461e-05, 7.155457737018098e-05, 7.996985366110266e-05, 8.435093005558577e-05, 8.819915150835473e-05, 9.023995355244344e-05, 9.490721628080521e-05, 9.281403430088384e-05, 9.048894233948539e-05, 8.307929231487368e-05, 7.994119857491533e-05, 7.901193519646086e-05, 6.819080704707397e-05, 7.071466344742336e-05, 7.148223126537033e-05, 7.137281119878301e-05, 6.442487062039107e-05, 6.288824062435506e-05, 6.645160885144065e-05, 7.259810707568968e-05, 7.032474910436632e-05, 6.829836153231053e-05, 6.591931940437443e-05, 6.669616737124555e-05, 6.070553858126951e-05, 6.310022567600436e-05, 7.482270951086877e-05, 8.368230403083727e-05, 7.877599256629003e-05, 7.256307009087569e-05, 7.341730594140028e-05, 7.275761265674529e-05, 7.036224246272207e-05, 6.885487206045585e-05, 7.323731786291241e-05, 6.508910912219054e-05, 5.878969783980912e-05, 5.878478192282763e-05, 6.005376916145822e-05, 5.998116108222218e-05, 5.789168204526065e-05, 5.765676890587213e-05, 5.718019101796681e-05, 5.773234481439162e-05, 5.942990971101557e-05, 6.11869696451605e-05, 6.549241838447553e-05, 6.83187242643292e-05, 6.897373798177636e-05, 7.00678752120732e-05, 7.06186925901654e-05, 7.018738850126379e-05, 6.775578062323716e-05, 6.314819911767526e-05, 5.500091066464777e-05, 5.785988232879915e-05, 5.6728895386868934e-05, 5.425042806958508e-05, 5.355836758103974e-05, 6.086248328354818e-05, 6.820759041761028e-05, 7.498534655083168e-05, 7.934121247431043e-05, 8.005013348503652e-05, 7.720532478202459e-05, 7.568417244378354e-05, 7.80711571327326e-05, 7.619400880625054e-05, 7.502408244517381e-05, 7.319478562025084e-05, 7.250817411704061e-05, 7.398329712077102e-05, 7.524239949282033e-05, 7.904650350673556e-05, 8.226856331921959e-05, 8.560286101220916e-05, 8.180071853381445e-05, 7.94244183983961e-05, 8.2235731496215e-05, 7.872529256926703e-05, 7.440818921646385e-05, 7.810763552801454e-05, 7.626727706448677e-05, 7.917865215318059e-05, 7.939958179129671e-05, 8.580845252221443e-05, 8.387644659413832e-05, 8.541423166728305e-05, 8.158525014370099e-05, 7.476264715041766e-05, 6.722711369424006e-05, 6.647319481019521e-05, 6.805766047500733e-05, 7.126217893162032e-05, 7.818615116261769e-05, 7.72839687559295e-05, 7.960495108792001e-05, 7.017368376849376e-05, 7.161818716360725e-05, 8.588230782324856e-05, 6.991231426816906e-05, 5.8648640764400705e-05, 5.860355567426627e-05, 6.614988714757648e-05, 6.256792180484254e-05, 6.517463565466807e-05, 6.555875041200398e-05, 6.637114806820747e-05, 6.383001543464503e-05, 6.014481009937847e-05, 5.681462097545909e-05, 6.340134184885096e-05, 6.546584783942808e-05, 6.581813462252217e-05, 7.513397308201182e-05, 6.610040108099672e-05, 6.327828021976594e-05, 6.628482611888296e-05, 8.107613117850426e-05, 8.40566513806401e-05, 7.894220024722122e-05, 7.028505840717834e-05, 6.961991370941469e-05, 6.891083400392128e-05, 7.291027338296213e-05, 7.02667814416374e-05, 7.266212336598105e-05, 7.470319683302589e-05, 6.447223107675112e-05, 5.556527809445525e-05, 5.4543940495415247e-05, 5.592773278515243e-05, 5.540063360100044e-05, 6.442095793579286e-05, 7.186873137296631e-05, 6.944861804675793e-05, 5.499683221600485e-05, 6.18418362398551e-05, 7.396939322103154e-05, 7.683732478901966e-05, 7.698831614958737e-05, 7.678272563547664e-05, 7.433542452536797e-05, 7.240512617343958e-05, 7.030191810503277e-05, 6.951234619479666e-05, 6.991963420459351e-05, 7.008282625925096e-05, 7.142446710770837e-05, 7.196984028688001e-05, 7.246338766910226e-05, 7.277658639803645e-05, 7.323861275586668e-05, 7.296298755014642e-05, 7.066617710343588e-05, 6.867163430518574e-05, 6.499988519829339e-05, 6.31258814794476e-05, 6.207054371272665e-05, 6.002546855519863e-05, 5.963575835528747e-05, 6.510985297516185e-05, 7.155263132343335e-05, 7.687963015969943e-05, 7.887872249072168e-05, 7.83144721652585e-05, 7.597578352264338e-05, 7.66358155972686e-05, 8.030086944153827e-05, 8.105381039571033e-05, 7.858454648333114e-05, 7.465175054270392e-05, 7.208662977083241e-05, 7.265863836781845e-05, 7.554865378743767e-05, 7.734795663341028e-05, 7.84210985137116e-05, 7.906581874679321e-05, 7.81145035859941e-05, 7.636488100326584e-05, 7.345207348911884e-05, 7.043474621604732e-05, 6.920882827133844e-05, 6.915684486723845e-05, 7.10923000269747e-05, 7.230616153049943e-05, 7.113829292454368e-05, 6.758812418154668e-05, 6.564946185233868e-05, 6.588314298387404e-05, 6.705013682604198e-05, 6.796749913335789e-05, 6.765072702071112e-05, 6.677141396787094e-05, 6.463654538311325e-05, 6.297190138658894e-05, 6.48618277257316e-05, 6.658286531820081e-05, 6.649548068816121e-05, 6.835819782388001e-05, 6.727823662227095e-05, 6.521126195246795e-05, 6.57912689410545e-05, 6.79830241324453e-05, 6.881423301080707e-05, 7.076001413646254e-05, 7.388332590203173e-05, 7.7914052247644e-05, 8.098561950913618e-05, 8.31418455366843e-05, 8.656395231264022e-05, 8.719609676719698e-05, 8.662655503024225e-05, 8.440748443380577e-05, 8.278291077953875e-05, 8.117696427491886e-05, 7.858907443370023e-05, 7.731639161025988e-05, 7.852303602114162e-05, 8.186023091710565e-05, 8.55075623336736e-05, 8.766945734891707e-05, 8.874541306970175e-05, 8.886385735890649e-05, 8.60524931595859e-05, 8.238500567801034e-05, 8.12096414314901e-05, 8.024576962285602e-05, 7.557683526411872e-05, 7.508982826395558e-05, 7.647754895795272e-05, 7.751041208190303e-05, 7.510728632363782e-05, 7.504936523419207e-05, 7.99151781417857e-05, 8.638849356363934e-05, 8.860457707407395e-05, 8.538611942582092e-05, 7.953383180439705e-05, 7.631504006797443e-05, 7.841484639049081e-05, 8.055068595619281e-05, 8.184089337822847e-05, 8.20133868871612e-05, 7.944028812013731e-05, 7.91332485920898e-05, 7.94037348108831e-05, 7.856652953129017e-05, 8.019053257836578e-05, 8.181110684715377e-05, 8.307688381034174e-05, 8.369243351384045e-05, 8.386739470683819e-05, 8.506721786555733e-05, 8.672175714263147e-05, 8.669054659453569e-05, 8.69871268426966e-05, 8.790787059428722e-05, 8.752629904024946e-05, 8.89999595612718e-05, 9.055258786738152e-05, 8.946494827575978e-05, 8.963430673197713e-05, 9.374516903476434e-05, 9.852433531854357e-05, 0.00010227490661879796, 0.00010248478548313729, 0.00010384414530160089, 0.00010256685097959587, 0.00010127438123867436, 0.00010129792933064175, 9.982232318802469e-05, 9.677521169626468e-05, 9.504281123595916e-05, 9.349577690021765e-05, 9.295239288136676e-05, 9.389865754281046e-05, 9.548578542437056e-05, 9.72986437712951e-05, 9.842961375070047e-05, 9.761096266738196e-05, 9.693259683446512e-05, 9.612259766222329e-05, 9.36934329666122e-05, 9.376273045469383e-05, 9.557857910212624e-05, 9.781901466618529e-05, 9.805367856888146e-05, 9.544379956024497e-05, 9.245389700884289e-05, 9.2268891537744e-05, 9.495052211552257e-05, 9.672911714103868e-05, 9.688960234082755e-05, 9.477691233024454e-05, 9.53944352187774e-05, 9.520496902007767e-05, 9.254294171836588e-05, 9.078124229335339e-05, 9.073146630665405e-05, 8.965721630116532e-05, 9.009075317924765e-05, 9.006465849376686e-05, 9.096457099585504e-05, 9.180547011984315e-05, 9.212672780071256e-05, 9.402137776575619e-05, 9.685916752549123e-05, 9.968939679173455e-05, 0.00010337685520454959, 0.00010760696559543813, 0.0001111676135244885, 0.000114778593115884, 0.00011430626740664513, 0.00011490293676191719, 0.00012030472738758088, 0.00011873628385721655, 0.0001164127874077859, 0.00011207682019455132, 0.00010854807447296133, 0.00010736817528645684, 0.0001097039313871186, 0.00011217274649301089, 0.00011240877644613499, 0.00011167911001836733, 0.00011043120160770975, 0.00010865137292780996, 0.00010781445870756379, 0.00010705050157613112, 0.000106406340760506, 0.0001067466734579782, 0.0001092096880893179, 0.00010956064232078189, 0.00010775895959364452, 0.00010448525629833675, 0.00010431162924084058, 0.00010739080466834382, 0.00011230395702316532, 0.00011259277225822556, 0.00010801444621486427, 0.00010009108986070937, 9.481943878572443e-05, 9.362381378207941e-05, 9.3351474481569e-05, 9.369049175636456e-05, 9.577756981326583e-05, 9.378495236996782e-05, 9.300097699269476e-05, 9.276480834525383e-05, 9.549352322263266e-05, 9.708633483521543e-05, 9.637477849048319e-05, 9.499044651633642e-05, 9.443875326309657e-05, 9.384428940816317e-05, 9.43253438846205e-05, 9.391864007436338e-05, 9.213820241418066e-05, 8.929395516492753e-05, 8.679563841237705e-05, 8.766678924591912e-05, 8.991307927750179e-05, 9.202285570559135e-05, 9.03990652563617e-05, 8.843924171627434e-05, 8.978386148908659e-05, 9.158230132341687e-05, 9.29287819565186e-05, 9.239637870014863e-05, 9.351367096052902e-05, 9.20415390396999e-05, 9.217234138369868e-05, 9.307517491458263e-05, 9.256275443995518e-05, 9.066585444569332e-05, 8.433660134718098e-05, 8.228710458098907e-05, 8.331099947365819e-05, 8.801515694175205e-05, 8.855350237691218e-05, 8.709537321359132e-05, 8.677315121101032e-05, 8.749884148171899e-05, 8.832339528133294e-05, 8.792523975615648e-05, 8.998176714174511e-05, 9.244541751163724e-05, 9.312637740214816e-05, 9.427896261926454e-05, 9.124805219751852e-05, 9.009960791382581e-05, 8.864636079196647e-05, 8.93644551271435e-05, 8.815069979074788e-05, 8.712131085666615e-05, 8.60335240239105e-05, 8.613897201213743e-05, 8.61775841317803e-05, 8.48189909671086e-05, 8.421237114591236e-05, 8.803672994273021e-05, 9.021252336150597e-05, 8.950724533440483e-05, 8.791517038505757e-05, 8.544865871555492e-05, 8.70610334887396e-05, 8.93661791037261e-05, 9.16767157027313e-05, 9.409997030431321e-05, 9.679012468935393e-05, 9.820997107545976e-05, 9.87978175091007e-05, 0.0001006625257933206, 0.00010332054208912301, 0.00010712785463249138, 0.00010640714058349902, 0.0001053824244775189, 0.00010313668277118422, 0.00010610098957194677, 0.0001052645629898489, 0.0001012698610768887, 9.929355258936173e-05, 9.835347135134866e-05, 9.876107489924956e-05, 9.792628763548838e-05, 9.536543284194525e-05, 9.311257713584631e-05, 9.194099322910725e-05, 9.27134819526498e-05, 9.216912334368979e-05, 9.094949988272675e-05, 9.099782540753976e-05, 9.002687908892005e-05, 8.923467203969022e-05, 8.736475952535796e-05, 8.552511787148387e-05, 8.492099652291145e-05, 8.78285694801204e-05, 9.186156649918675e-05, 9.711804743609191e-05, 9.8119810024438e-05, 9.243595089490483e-05, 8.602875967011605e-05, 8.402313476613188e-05, 8.759288331573322e-05, 8.983883728974404e-05, 9.14988162160204e-05, 9.142423247235525e-05, 8.943308805759633e-05, 8.940707165929533e-05, 9.094435862239633e-05, 9.398507089665031e-05, 9.460050626204288e-05, 9.589694744533446e-05, 9.810342376317118e-05, 9.807953278814549e-05, 9.701617902129442e-05, 9.751791317051538e-05, 9.766244860726923e-05, 9.802825772566746e-05, 9.551987966807522e-05, 9.226328956077716e-05, 9.004697414732721e-05, 8.913510076234217e-05, 9.089597648825209e-05, 9.270279202597276e-05, 9.33203785670721e-05, 9.52740710599177e-05, 9.499904747494958e-05, 9.349515586799565e-05, 9.404064655096102e-05, 9.135402746049024e-05, 9.096145449545714e-05, 8.960743209697239e-05, 8.911071834840644e-05, 8.76651145122644e-05, 8.681988022280983e-05, 0.00010186509565733164, 0.00010387865916358438, 0.00010305746663160721, 9.590531523296112e-05, 9.761863979241458e-05, 0.0001030357326830352, 0.00010245341327365036, 0.00010027075483422029, 0.00010092905041868089, 0.00010830228527754256, 0.00010524158080435827, 0.00010158450981960676, 0.0001086688858469913, 0.00011162804179994192, 0.0001182703975849256, 0.00011860794345810565, 0.00012181041397214189, 0.00011936366817771238, 0.000116065963566636, 0.00010663216154969907, 9.966005651073948e-05, 9.071547939196142e-05, 9.671213432543574e-05, 0.00010699591826772538, 0.00011096909145590254, 9.850249351831337e-05, 9.939166526202442e-05, 9.719526834567841e-05, 0.00011080890270643165, 0.0001155520011053835, 0.00011590594853761531, 0.00011133856222239883, 0.00010608937677510757, 0.0001062945400249602, 0.00010713302351740629, 0.0001084261491261034, 0.00011056508020949116, 0.00011409871645604613, 0.00011576860256691445, 0.00011695139093599505, 0.0001157378095291559, 0.00011674903083935223, 0.00011556056633124102, 0.00011422382969016411, 0.00011134204645573266, 0.00010695700605493262, 0.00010273044167829522, 0.00010296139782855893, 0.00010562109197154327, 0.00010705408599167592, 0.00010653165820489724, 0.00010161485261748172, 9.207428674826364e-05, 8.081472518050588e-05, 7.357228077052268e-05, 7.265797729908551e-05, 7.209688746180098e-05, 7.203891844210193e-05, 7.083385106723885e-05, 6.849315096468709e-05, 6.438501602022504e-05, 6.226592858255034e-05, 6.472118303815892e-05, 6.91987473285174e-05, 7.290043363741894e-05, 7.478137627723904e-05, 7.21232697640442e-05, 6.669722260066692e-05, 6.72285370507132e-05, 6.968536857303872e-05, 7.361062495859961e-05, 6.867144624895076e-05, 6.879848886640508e-05, 6.968648340865513e-05, 6.971442093986954e-05, 7.002445941287597e-05, 6.982387205501263e-05, 6.65020685448577e-05, 6.244055624188224e-05, 6.141708573911936e-05, 6.287580182345489e-05, 6.347835773603703e-05, 6.364196813805521e-05, 6.375445804612371e-05, 6.523365876814224e-05, 6.741488130565576e-05, 6.55969859697252e-05, 6.058915774667651e-05, 5.545709886903621e-05, 5.355619103355869e-05, 5.4355843812588044e-05, 5.700228278649247e-05, 5.867085140439405e-05, 5.9075464626580787e-05, 5.844937072432777e-05, 5.334466609244833e-05, 5.3137181349835474e-05, 5.047288910100225e-05, 5.260780958528858e-05, 5.519708181147759e-05, 5.9442918060074276e-05, 6.290022184347383e-05, 4.339663403889711e-05, 4.0241260427625614e-05, 4.160582389465978e-05, 5.3924605021190815e-05, 5.297881369823203e-05, 4.499727941550522e-05, 4.385512560500784e-05, 4.467907500159651e-05, 4.331043725550972e-05, 3.422827985036698e-05, 3.891135941648799e-05, 4.4208816346138835e-05, 3.6244058915976245e-05, 3.113075798238549e-05, 2.1312995089905345e-05, 2.1777647333748276e-05, 1.6695697058449758e-05, 2.423780726249138e-05, 2.6344913444196845e-05, 3.2499194503975604e-05, 3.6281904527098655e-05, 4.381076241840206e-05, 3.738581605703106e-05, 2.9461490844500754e-05, 2.934327743183936e-05, 4.506784374970269e-05, 4.1141641118185584e-05, 4.153442480311245e-05, 3.0580773282923665e-05, 2.723062233536822e-05, 2.6535710024145367e-05, 2.932834623912386e-05, 2.9368999422715757e-05, 3.698841814283364e-05, 4.242378354664408e-05, 4.2783697547984774e-05, 3.994748360223323e-05, 3.6704007763905065e-05, 4.096041659494924e-05, 4.591521192649393e-05, 3.663597346164627e-05, 3.0251635496995595e-05, 2.879362638740639e-05, 2.631702947723958e-05, 2.3651800191962897e-05, 2.6017422617474848e-05, 3.041501526439177e-05, 3.0499605560290067e-05, 2.8417841597728962e-05, 2.3935090398788353e-05, 2.2895405925235205e-05, 2.702915607661618e-05, 3.792929105395671e-05, 5.408208826538925e-05, 6.607903440797034e-05, 6.82812058479854e-05, 6.997551438639877e-05, 7.03971687984144e-05, 7.011281794006745e-05, 6.975132844792573e-05, 6.675534714567516e-05, 6.447518696772763e-05, 6.683341177255594e-05, 7.194915803513813e-05, 7.503324442423814e-05, 7.50627208211763e-05, 6.918432112450128e-05, 6.415147114775867e-05, 5.7471123026940393e-05, 5.932845806726115e-05, 6.177037186767397e-05, 6.864845954772965e-05, 6.603469142174272e-05, 6.381860852712878e-05, 6.356562559414797e-05, 6.412842963982184e-05, 6.42957730758587e-05, 6.287984094243378e-05, 5.8438944150745485e-05, 5.577685099350893e-05, 5.456729694680048e-05, 5.1894336433018205e-05, 4.970337648275051e-05, 4.779781683039628e-05, 4.673525500009637e-05, 4.763007449686941e-05, 4.656287507727236e-05, 4.2960396306036065e-05, 3.951199001851987e-05, 3.986944477539923e-05, 4.1977070212334395e-05, 4.254212898036721e-05, 4.218256203495767e-05, 4.06386602457141e-05, 3.858301132127836e-05, 3.6170921047644445e-05, 3.471880301189892e-05, 3.282754812790691e-05, 3.178578298961779e-05, 3.2270626037567483e-05, 3.706882121510555e-05, 4.1816717161343536e-05, 4.365403189171313e-05, 4.2855693328006195e-05, 4.235659389132694e-05, 4.190164134548385e-05, 3.9497761975445615e-05, 3.7000551810912744e-05, 3.542584298961691e-05, 3.5287802545101667e-05, 3.56416048439799e-05, 3.695544832354952e-05, 3.723470074351164e-05, 3.625741621657326e-05, 3.3701601935076044e-05, 3.5102349401637984e-05, 3.14562374293269e-05, 3.044076898709142e-05, 2.9442438670364248e-05, 2.449985231593659e-05, 2.7915948407086328e-05, 2.99559273263398e-05, 2.540644809617889e-05, 2.597109687584081e-05, 3.728405410831289e-05, 4.13876560037797e-05, 4.1607686223363e-05, 3.605083933708316e-05, 3.06205611105623e-05, 2.667139273036625e-05, 2.324450151798002e-05, 2.535859733448297e-05, 3.043664053946118e-05, 2.9696600518922392e-05, 2.7474993674937084e-05, 1.0106200122389175e-05, 5.450421358967644e-06, 6.057980404428605e-06, 8.71627119548311e-06, 1.4949941356686138e-05, 1.1805141202903021e-05, 1.2261336828529605e-05, 2.6604941744387545e-05, 2.476234156589065e-05, 2.505896398742551e-05, 2.603058067674952e-05, 2.6310716400488354e-05, 2.6898950025703755e-05, 2.5940012493730164e-05, 2.5258963095375712e-05, 2.4888778908932395e-05, 2.056242771175527e-05, 1.8375598819594526e-05, 1.8802138996277708e-05, 2.170870926892467e-05, 2.664745532189237e-05, 3.0848924574831565e-05, 3.246766590623698e-05, 3.293038781843428e-05, 3.7449120095620237e-05, 4.027634859395578e-05, 3.886868031421213e-05, 3.504669294362232e-05, 3.467588812807508e-05, 3.7202982147672415e-05, 3.9946766719932396e-05, 4.319195604120434e-05, 4.3094401759412926e-05, 3.876787475692257e-05, 3.4868700960468684e-05, 3.474475972938639e-05, 3.751892834425709e-05, 4.013891654583714e-05, 3.7603487578281934e-05, 3.5537908875142785e-05, 3.379536128358557e-05, 3.319329795275114e-05, 3.4546845017082604e-05, 3.665753063637853e-05, 3.35341272981886e-05, 3.1931718753471227e-05, 3.2775026688084025e-05, 2.2185787516158085e-05, 1.624448184921582e-05, 1.3056846316110554e-05, 1.314274056805069e-05, 1.5049613027813157e-05, 1.728640189896092e-05, 1.854012661957804e-05, 1.4332992854656879e-05, 9.880740046498734e-06, 1.1806215591615237e-05, 1.3717652622033544e-05, 1.9978489376095695e-05, 1.8543871055307905e-05, 1.6723506826920946e-05, 1.7449712782752663e-05, 1.606478573406519e-05, 1.4944194358139562e-05, 1.565887117423493e-05, 2.385561453422161e-05, 3.222513822586096e-05, 2.9454733718393953e-05, 2.7597462982168903e-05, 2.944257802897155e-05, 2.8532836684558344e-05, 2.616121582865902e-05, 2.5824535581043923e-05, 2.201475811003203e-05, 2.109553933439211e-05, 2.2037277492201837e-05, 1.6163285789759568e-05, 1.6059291857310407e-05, 1.6521799693938805e-05, 1.9723614412408833e-05, 2.140851708677858e-05, 2.0568796942840635e-05, 1.992254269166519e-05, 2.529330591268888e-05, 2.2809005585720476e-05, 1.0757997492456127e-05, 9.505976333221748e-06, 1.4749845506596352e-05, 2.8381613850357126e-05, 3.634553624684742e-05, 3.948903068414334e-05, 3.8009840133638806e-05, 3.736723306333381e-05, 3.126396962230466e-05, 2.7708052161062666e-05, 2.3398410773275273e-05, 1.8486533103795062e-05, 1.7839102805118368e-05, 1.9116568356071656e-05, 2.0117220322475305e-05, 2.6089293780999033e-05, 2.4633862250622603e-05, 1.6433148795281885e-05, 1.0044762491348158e-05, 1.1251660132652129e-05, 1.3685112114113913e-05, 1.18927812860266e-05, 8.984075863135219e-06, 1.184712202828761e-05, 2.293139349564683e-05, 3.0341666986256922e-05, 3.200275887801502e-05, 2.977725303978903e-05, 1.9604748493071153e-05, 1.9867438758073782e-05, 2.0345615787707964e-05, 1.9205495396221627e-05, 1.9660849750702747e-05, 2.4909750237568283e-05, 2.827652635025189e-05, 3.0682785566552545e-05, 3.249581322194991e-05, 3.044044782885759e-05, 2.935048064569252e-05, 3.918227081793795e-05, 4.87705212017375e-05, 3.88604611348543e-05, 3.961812315291798e-05, 5.155304749682301e-05, 4.8130532377804975e-05, 3.89700013646703e-05, 3.618928693332068e-05, 4.240025181399075e-05, 4.326842913102343e-05, 3.500829974758076e-05, 3.131513552801132e-05, 3.146006048940283e-05, 3.305260807203322e-05, 3.509745793475829e-05, 3.6244390787440684e-05, 3.237503539277489e-05, 2.6042290506397898e-05, 2.215622318764377e-05, 2.4087181856348795e-05, 2.196668502083962e-05, 8.679765648752094e-06, 2.4724049443320708e-06, 8.744628795645912e-07, 7.989430098259832e-06, 1.5454959719784985e-05, 1.8861309222949517e-05, 2.008029310699509e-05, 2.0477355518470742e-05, 2.238798982129804e-05, 2.3513340948256075e-05, 3.7602616118038414e-05, 4.608091893269811e-05, 4.608616769771006e-05, 5.194203964963283e-05, 5.444060612656881e-05, 4.676652805465247e-05, 3.882115690692537e-05, 3.837560311583581e-05, 4.0629593065927355e-05, 4.464651221758711e-05, 4.585926997849923e-05, 4.9331520371959545e-05, 4.498045155849957e-05, 3.528198053354213e-05, 3.014925298474618e-05, 2.4064542329895465e-05, 3.250274455066645e-05, 4.247615261669546e-05, 4.061629896356732e-05, 3.377884659758247e-05, 3.7779580269406234e-05, 4.608389276906012e-05, 6.106875387861147e-05, 6.251630044019343e-05, 5.173304244430736e-05, 4.1869932366500475e-05, 2.5293315261742527e-05, 1.8299921619614333e-05, 1.9182593415940657e-05, 2.62596055307313e-05, 2.5021600891404132e-05, 2.0850203602248937e-05, 2.6380598051658504e-05, 2.54171842319651e-05, 3.323487301997018e-05, 3.670871400049057e-05, 3.524097037156127e-05, 2.4109992059214494e-05, 2.4351305477432535e-05, 2.1939425815324713e-05, 1.9528012739854405e-05, 6.714991366010745e-06, 1.488199608119343e-06, 1.8114359238543095e-06, 5.142976424549762e-06, 1.0286957324044384e-05, 1.8098655055948007e-05, 1.655874815075453e-05, 1.2118227292607876e-05, 1.4796393944288086e-05, 2.299052785355601e-05, 2.5183317110704828e-05, 2.2927082234098016e-05, 2.1302989916678123e-05, 1.5457504449505582e-05, 1.4338748730906982e-05, 6.947542018480668e-06, 1.1539294142001431e-05, 2.297620152163653e-05, 2.0741878718946436e-05, 1.986703686989252e-05, 1.4656729923220255e-05, 1.508304710534192e-05, 1.7358012861660236e-05, 2.449478196570098e-05, 1.759426212751414e-05, 1.4226496783560622e-05, 1.551851687038203e-05, 1.501505659017992e-05, 2.4257131981140323e-05, 3.563394354910353e-05, 3.3118677585750004e-05, 3.278678073383196e-05, 6.199100814103783e-05, 7.602700164234076e-05, 6.99990899432283e-05, 6.630911629584583e-05, 7.025398720095796e-05, 6.935965577053181e-05, 6.450154809615699e-05, 6.718913673092728e-05, 6.271606169248975e-05, 5.553701215954591e-05, 4.920994642308215e-05, 5.183231451223127e-05, 4.722989883786169e-05, 4.952515237678577e-05, 5.532951242144323e-05, 6.02546755786417e-05, 5.284194773393337e-05, 4.005188458453275e-05, 3.620854493220099e-05, 5.3161865630336665e-05, 6.105972396121011e-05, 5.522964484752764e-05, 3.4497556114719865e-05, 2.984000619537954e-05, 2.6877376530449632e-05, 2.5716966982631157e-05, 2.249272990750066e-05, 2.2043610471300666e-05, 2.378708330111164e-05, 1.4857708138946404e-05, 1.3046090433978792e-05, 1.7045659830795363e-05, 1.1587483507111325e-05, 9.948978841689242e-06, 1.4512391228350154e-05, 2.0346747237444384e-05, 1.713523556045099e-05, 8.749315903474371e-06, 7.349804696374102e-06, 1.2915154684901848e-05, 1.2608601003595788e-05, 9.711725460390473e-06, 1.8737209039424737e-05, 3.425850876287464e-05, 3.9269389771886594e-05, 3.0673643295911456e-05, 2.593823781617422e-05, 2.794071570764165e-05, 3.3622062900608324e-05, 2.8619708984013677e-05, 2.6587854150841807e-05, 1.8575248467162536e-05, 2.362119955907014e-05, 2.5468468042363995e-05, 3.1818466720491586e-05, 4.188528869632281e-05, 3.788194666664637e-05, 3.5805001285176345e-05, 4.170072597762944e-05, 2.9542982180382956e-05, 2.6803448180155474e-05, 4.28938881422101e-05, 4.5381967566357816e-05, 3.6457796047163754e-05, 1.9121787915205074e-05, 1.0604535622818058e-05, 1.0190421892451842e-05, 1.5556335353350248e-05, 1.0862517880075221e-05, 1.053380227180218e-05, 1.8854283895198266e-05, 2.868958873655152e-05, 3.605235125130495e-05, 3.7474762072171285e-05, 3.205810820896741e-05, 2.8500902366243974e-05, 1.4269529556555907e-05, 1.729414960672716e-05, 3.039049885737571e-05, 2.7988729446665414e-05, 1.5492748484005806e-05, 9.028411882650022e-06, 1.4768286690731647e-05, 2.181100504002398e-05, 2.510823716941545e-05, 2.275504124326059e-05, 1.6162705715017852e-05, 1.2551339085656044e-05, 1.9164507031135564e-05, 2.154358940490959e-05, 1.9192146053438676e-05, 1.2810884961825752e-05, 6.443386200458714e-06, 5.889122852256059e-07, 6.928983628691225e-08, 1.649094701460978e-07, 1.204852490540388e-09, 3.9784320783559866e-10, 9.553280510181074e-10, 7.3632543193201196e-09, 1.6482519102072488e-08, 2.3512544058147442e-07, 1.8875035763340697e-07, 4.117920043579389e-07, 1.2070480403012205e-07, 1.1476456136437427e-07, 6.447766055976344e-07, 4.030147587347922e-06, 3.841262115111143e-06, 7.854285436993281e-07, 6.740170535282221e-06, 4.987004315956295e-06, 6.5308139925864426e-06, 1.249404529780807e-05, 2.6656253782530215e-05, 3.094707707455264e-05, 2.0740338052714187e-05, 1.599484349439529e-05, 2.5005517150583118e-05, 3.217242811667681e-05, 3.4151162150591604e-05, 2.7695756586435847e-05, 1.963977024129531e-05, 1.6670561548824494e-05, 2.6598736585373545e-05, 3.291745804473561e-05, 2.5492030837608785e-05, 2.4903516283174827e-05, 2.6148613472593716e-05, 3.4099663309048265e-05, 4.185960424578437e-05, 4.1663250773261536e-05, 4.3038407600327585e-05, 4.1545542400668856e-05, 4.6483418368656154e-05, 4.998930213804313e-05, 4.0102221324207615e-05, 4.020427022812822e-05, 3.698488785725279e-05, 3.4413466247276875e-05, 3.093626612715469e-05, 3.633369440136998e-05, 4.454562772473011e-05, 5.6750227823106724e-05, 5.852417222661817e-05, 6.147497500571329e-05, 7.510103019461886e-05, 6.676934548332702e-05, 6.130868522318301e-05, 5.769197977204949e-05, 5.234501563064813e-05, 4.333600100191377e-05, 3.4158370291485856e-05, 3.141482199957866e-05, 4.23066133299685e-05, 4.398029539782995e-05, 4.125221261990933e-05, 4.576065706743618e-05, 5.456967209663621e-05, 5.176694882555335e-05, 3.884265968731136e-05, 2.9084212511545936e-05, 3.210721944052468e-05, 2.023455493099405e-05, 2.240469943109353e-05, 2.3602325754255475e-05, 2.5183340328827476e-05, 2.518330673805287e-05, 3.111465011919759e-05, 4.914844195872617e-05, 6.00799442156093e-05, 5.8510462402990844e-05, 4.412261118006938e-05, 3.967018246001715e-05, 3.898374536040554e-05, 4.747946931893384e-05, 5.4089478934289834e-05, 5.546472301032727e-05, 5.909310598052202e-05, 5.959688797202969e-05, 5.869228899815934e-05, 6.34128398502643e-05, 6.464740264698698e-05, 5.792360852977567e-05, 5.4913275808569195e-05, 5.6424370795325454e-05, 6.032380923065136e-05, 5.653467839956976e-05, 5.44681562637371e-05, 5.965923073536522e-05, 6.599152512495251e-05, 6.880832187858639e-05, 6.90935383959248e-05, 6.57088016255904e-05, 6.108134190480286e-05, 4.96810636138793e-05, 4.0829024789786257e-05, 3.670226953650188e-05, 3.0559352968162216e-05, 3.8358419642134316e-05, 4.535419725500751e-05, 5.5695068141541124e-05, 6.188563881380618e-05, 6.177241632439033e-05, 6.620320636466474e-05, 6.646912782676244e-05, 6.673076582383715e-05, 6.632820746791727e-05, 6.638022698071424e-05, 7.243391647092125e-05, 7.166416491067282e-05, 6.578874581714551e-05, 6.98186091097054e-05, 6.924460802221374e-05, 7.329580744957425e-05, 7.581900213357857e-05, 8.702926138765091e-05, 8.247124422939378e-05, 6.867236962224027e-05, 5.666615144373638e-05, 6.260677288960978e-05, 6.853067685474777e-05, 6.320969374001765e-05, 5.0726139036132917e-05, 4.162988237578769e-05, 4.3251117156439345e-05, 4.942912550141391e-05, 5.929543291895887e-05, 6.009693380193878e-05, 5.806254047140252e-05, 5.2974371684452637e-05, 5.147355994260021e-05, 5.7143603903525404e-05, 5.619735530150894e-05, 5.7994047354246196e-05, 6.627198415465622e-05, 6.888981354457224e-05, 7.162646852532792e-05, 6.0547845622248184e-05, 4.6196286006367816e-05, 4.1726680078542804e-05, 4.411351629526118e-05, 4.70856487130485e-05, 5.364729063778076e-05, 5.3237715742467775e-05, 5.3774864906134184e-05, 5.7546388343501224e-05, 7.333502023541038e-05, 8.79790808880597e-05, 8.834208954454038e-05, 7.441847682769348e-05, 7.288961602029028e-05, 6.245439394672349e-05, 5.447736471024071e-05, 4.710617592587671e-05, 3.627924240379356e-05, 4.641222939715935e-05, 6.259964800761498e-05, 5.504043054153565e-05, 5.383983627438198e-05, 5.811221419926616e-05, 6.258097135900648e-05, 6.309594312444131e-05, 5.577783710569159e-05, 4.4666494594593704e-05, 3.778977849525353e-05, 3.1450435950483414e-05, 2.814424917707154e-05, 2.7989125970777628e-05, 2.6960629311731855e-05, 3.8538240351979546e-05, 4.925695850015762e-05, 5.3608329800656395e-05, 5.05058628996098e-05, 4.314974083724313e-05, 3.315341365358644e-05, 3.043193406197387e-05, 3.54497837191043e-05, 4.305363622587354e-05, 4.2525144268246265e-05, 4.457131354007864e-05, 4.752258238590683e-05, 5.443985590347466e-05, 5.927382139096827e-05, 6.0001036897753906e-05, 5.3364866119901446e-05, 4.870308989046703e-05, 4.947815857072818e-05, 5.140480440946234e-05, 4.978865373643737e-05, 4.352044360965351e-05, 4.0540495260442705e-05, 5.539264238370166e-05, 6.215757050176192e-05, 6.601194459361427e-05, 5.865349137696787e-05, 5.3102485886488136e-05, 4.282037967167625e-05, 3.655686307875656e-05, 3.510092843162276e-05, 3.289947687988565e-05, 3.907742399112032e-05, 4.379885268811591e-05, 4.5693964148468357e-05, 5.0760225003290924e-05, 5.460326840262591e-05, 5.5668483521496594e-05, 6.0322288622466235e-05, 6.124839551370244e-05, 5.558531482849989e-05, 4.856388427560012e-05, 4.875266813227586e-05, 4.985706680869636e-05, 4.752918383144837e-05, 5.644386993348345e-05, 6.178768458204139e-05, 6.408976036037941e-05, 6.763768214044648e-05, 7.392307476591682e-05, 6.84293648673351e-05, 5.866785997863886e-05, 5.1352575385785335e-05, 5.815066815305171e-05, 6.371485729716163e-05, 5.964881129798593e-05, 4.945523361440857e-05, 4.026668495123362e-05, 3.836370691946441e-05, 5.0795137166162317e-05, 5.6861587501104857e-05, 4.7380251767452654e-05, 3.560726994805279e-05, 3.0504824458414064e-05, 2.99458409326969e-05, 4.0553299334628864e-05, 3.805215107586782e-05, 3.25603034058362e-05, 3.927445267686562e-05, 4.055763666801698e-05, 4.438047114829776e-05, 4.084877112787749e-05, 3.474357341513508e-05, 2.9192066640503565e-05, 2.835027822087534e-05, 3.371270027760027e-05, 3.816196068707355e-05, 3.306844137590146e-05, 4.657204142111182e-05, 6.248371764893287e-05, 7.373528265753223e-05, 8.785256379019516e-05, 9.217576174052013e-05, 7.69454236883763e-05, 6.723641216418488e-05, 5.277665598359668e-05, 3.36201270657959e-05, 2.7332580924938696e-05, 2.7744151005298442e-05, 3.4377524103060755e-05, 4.418595180160439e-05, 3.754807851268652e-05, 3.883399758055112e-05, 4.216370151929606e-05, 4.5466275824482816e-05, 5.4615572377896203e-05, 5.603559655875961e-05, 4.530006262184853e-05, 3.616843218174188e-05, 3.068262555835498e-05, 2.5804388522270595e-05, 2.388830457750093e-05, 2.3446459591152687e-05, 3.502412429819306e-05, 4.716887693033946e-05, 5.602409040745198e-05, 5.6061473979438445e-05, 4.6225225997356055e-05, 3.489673796422832e-05, 3.4371821009431244e-05, 4.218408697015964e-05, 5.101274777603501e-05, 4.999895563479553e-05, 5.342231066953042e-05, 5.723040649572559e-05, 6.214120617713263e-05, 7.019634134810862e-05, 7.204219165288218e-05, 6.692473859458402e-05, 5.991725153136171e-05, 6.021957045557355e-05, 5.8802883016084016e-05, 5.3917004714133224e-05, 5.525052401235209e-05, 5.316646153602919e-05, 6.819777089384261e-05, 7.607083253412151e-05, 7.986449161143007e-05, 7.327488590998536e-05, 6.947973067015935e-05, 5.999862026526951e-05, 5.633551286923593e-05, 5.5412065872225444e-05, 5.298921882714025e-05, 5.54163280067997e-05, 6.101692697380365e-05, 6.125057734088614e-05, 6.255418317984855e-05, 6.344352098079425e-05, 6.308554690220462e-05, 6.947557096435408e-05, 7.193541803217948e-05, 6.791393927397651e-05, 5.3232688634678484e-05, 4.572986340491577e-05, 4.5679899065036274e-05, 4.7882686501794654e-05, 5.078564807013381e-05, 5.632515800014278e-05, 5.675314589306608e-05, 6.045747241197392e-05, 7.045340631420263e-05, 6.86176670588982e-05, 6.698827298759736e-05, 6.477662439729101e-05, 7.182016290347357e-05, 7.663274287233666e-05, 7.519671256221471e-05, 6.068383000652547e-05, 4.968738084018077e-05, 5.671285628727546e-05, 6.89248766844718e-05, 7.013744253094297e-05, 6.432390573502687e-05, 6.384193686047475e-05, 6.0132718997224015e-05, 5.8223987146718414e-05, 5.9506568567503106e-05, 5.8257576757637887e-05, 5.88887135707514e-05, 6.235138724076568e-05, 6.286939070794157e-05, 6.868362920613445e-05, 5.8942862280662053e-05, 5.412531359552968e-05, 5.645918315200242e-05, 5.558530828577801e-05, 5.633765102311614e-05, 5.8643552710569825e-05, 5.2887358627232224e-05, 6.317654960797145e-05, 7.236765660092217e-05, 7.116062748173036e-05, 7.498658415729235e-05, 8.609317594640593e-05, 9.125097059341999e-05, 8.031744560784738e-05, 7.190461251423591e-05, 6.438118905089594e-05, 5.3697362301276346e-05, 5.367919208799737e-05, 5.8562315598998655e-05, 6.061466657817321e-05, 5.3678004559563275e-05, 5.5822811131194074e-05, 6.524398229940895e-05, 7.166689612015776e-05, 7.424396670474228e-05, 6.820156843359302e-05, 5.978479790058338e-05, 5.35999157801665e-05, 4.5907007764488996e-05, 4.0542166080894926e-05, 4.0406112099640144e-05, 4.1132574149257744e-05, 4.948149523627983e-05, 6.43884925982732e-05, 7.908750128130546e-05, 8.166203881361528e-05, 6.944500724420117e-05, 6.658615276873499e-05, 6.933877755447e-05, 7.258690239369308e-05, 7.233494593092086e-05, 6.602422929665336e-05, 6.472552508902341e-05, 6.60051428680555e-05, 7.256087838634002e-05, 7.777478080801317e-05, 8.151636729113657e-05, 8.332394078821429e-05, 8.105038469191698e-05, 8.020620116079489e-05, 8.456927859982684e-05, 7.766919078031885e-05, 8.07735082030238e-05, 8.7524008267081e-05, 9.261051250652556e-05, 9.077157963973694e-05, 9.474397725802339e-05, 8.951996112547964e-05, 8.145380048971558e-05, 7.121112881065738e-05, 6.388183491438515e-05, 6.156634043169668e-05, 5.764543188443317e-05, 6.217633058685608e-05, 6.138457797798433e-05, 6.089331272434603e-05, 6.541124839565882e-05, 6.765358079848533e-05, 7.42778994622776e-05, 8.162527945644165e-05, 8.155124360906644e-05, 7.438509274274535e-05, 6.567714580485993e-05, 6.407289685699567e-05, 6.473807134872954e-05, 6.168953167261006e-05, 6.062525430503735e-05, 6.359542280279437e-05, 6.783633358449812e-05, 7.447950101922836e-05, 8.376008548734783e-05, 7.75609327905303e-05, 6.787360363255515e-05, 5.8930430281830036e-05, 6.320221627622005e-05, 6.524529551203389e-05, 6.019224009164499e-05, 5.090245971167311e-05, 4.6244047976899546e-05, 5.0101933830367505e-05, 6.076213657734442e-05, 6.86269228175519e-05, 6.735371417941815e-05, 6.123662600962572e-05, 5.657012224985932e-05, 5.234020803798201e-05, 5.5348960428174916e-05, 4.999612621926596e-05, 4.8271444846127456e-05, 4.935324549814295e-05, 4.958227661385995e-05, 5.280689986757093e-05, 4.690386268666881e-05, 4.4703459871126804e-05, 4.708337811973591e-05, 5.035978125255963e-05, 4.917349142804634e-05, 4.453243428380309e-05, 5.358843360131717e-05, 5.51471269786792e-05, 6.45024966292236e-05, 6.227924831771583e-05, 6.180541311952163e-05, 7.019235819041003e-05, 8.077119755500957e-05, 7.300602614079354e-05, 6.38477619067427e-05, 5.712922509030882e-05, 5.1875101926174526e-05, 5.561616819372883e-05, 6.138591422294891e-05, 6.315325885416011e-05, 5.763674982744976e-05, 5.58812787626598e-05, 5.874713906804612e-05, 6.413664832516506e-05, 6.987296916857894e-05, 7.079679670708575e-05, 6.344501452748025e-05, 5.8375486717113427e-05, 5.317273726352539e-05, 4.723399676799362e-05, 4.4910976006682065e-05, 4.5732550007236914e-05, 5.453741272495373e-05, 6.717410887393822e-05, 7.44965297120397e-05, 7.90232226007443e-05, 6.913510091152918e-05, 6.59774686030324e-05, 6.8700243266357e-05, 7.555765979418056e-05, 7.608818910967153e-05, 7.351039466015004e-05, 7.439395177185499e-05, 7.449587286001224e-05, 7.574671143232796e-05, 7.464072390966023e-05, 7.563645666814284e-05, 7.956746705388792e-05, 7.551541438283662e-05, 7.280498136065958e-05, 7.461644633599504e-05, 6.767475167034214e-05, 7.06231845718039e-05, 7.72030684360696e-05, 8.083274501043185e-05, 7.658135118598579e-05, 7.796217954523078e-05, 7.435867045323185e-05, 7.019802558682183e-05, 6.35357962893887e-05, 5.322164465175106e-05, 4.947028753708559e-05, 4.61264322175839e-05, 5.5511447583309185e-05, 5.866961517111058e-05, 5.892149968709794e-05, 5.9313969672031336e-05, 5.945066147109889e-05, 6.815684528372927e-05, 7.543502852065135e-05, 7.627313123777417e-05, 7.242681133423938e-05, 6.860993769846021e-05, 7.020849915142209e-05, 7.212987314795788e-05, 6.836673365365117e-05, 7.112858581163615e-05, 7.79340484989279e-05, 8.028673784124947e-05, 7.991113021224348e-05, 8.520739014454384e-05, 7.634896088623638e-05, 6.849786184928021e-05, 6.259748629499337e-05, 6.987162762479598e-05, 7.618293611464986e-05, 7.250884927281085e-05, 6.816052867059441e-05, 6.71101340452439e-05, 7.200599077768563e-05, 7.805996156493203e-05, 8.395207350358409e-05, 8.01966185840584e-05, 7.377566514905924e-05, 6.945506169162798e-05, 6.680268762952556e-05, 6.653124191001997e-05, 6.661487077312221e-05, 6.667134130005321e-05, 7.61752955517114e-05, 6.882614333607236e-05, 6.328106044836178e-05, 6.521062412491852e-05, 6.576840816263056e-05, 6.449623309414945e-05, 6.58559559250362e-05, 7.063638013229175e-05, 7.767456836088451e-05, 6.971785503900429e-05, 6.880704238143646e-05, 7.645461770019173e-05, 7.465596923131226e-05, 7.338373698696196e-05, 8.085107289674047e-05, 8.293952273550327e-05, 7.192789251078555e-05, 6.229219626351827e-05, 5.368601435566912e-05, 6.0983290594918146e-05, 6.100852862788498e-05, 6.92355299938896e-05, 7.386391283699166e-05, 7.033335740917033e-05, 7.056772105758699e-05, 7.134602045105597e-05, 6.877652204314652e-05, 7.111531518660647e-05, 7.138545367498877e-05, 6.852869814922501e-05, 6.751484606896243e-05, 6.617579988657745e-05, 6.578575036959348e-05, 6.170360682995192e-05, 5.348634631890984e-05, 5.343802021683981e-05, 6.504236309118757e-05, 6.995949390841105e-05, 6.725733681723752e-05, 5.751642841621982e-05, 5.003790953627714e-05, 5.095312050895632e-05, 5.769470636561707e-05, 6.257120075554872e-05, 6.229572427479815e-05, 6.344295570951465e-05, 6.71459183260006e-05, 7.471000222262454e-05, 6.517935678642467e-05, 6.119330403067795e-05, 7.142540974149471e-05, 7.396449406027281e-05, 7.58760317083591e-05, 7.797833118017925e-05, 7.350121207561594e-05, 7.009977977032656e-05, 7.499494594741886e-05, 7.821728397029544e-05, 7.811699577841011e-05, 7.57713116711212e-05, 6.919995005083354e-05, 6.643896041622271e-05, 6.109923131487968e-05, 5.8574873720524856e-05, 6.093485576313272e-05, 5.960983529144998e-05, 6.30472607099745e-05, 6.484323040709658e-05, 6.402882403512183e-05, 6.383275875161017e-05, 6.314386426264969e-05, 6.744345346584915e-05, 7.260411693618083e-05, 7.251949835891212e-05, 6.535058676465202e-05, 5.856314238615853e-05, 5.804960750620842e-05, 6.305304603713783e-05, 7.039226020928038e-05, 8.106079605309344e-05, 8.455133497945582e-05, 8.245393933882266e-05, 7.826899563640187e-05, 8.32588126154973e-05, 7.977739707997587e-05, 7.569387512553529e-05, 7.164907043839862e-05, 7.763562767290521e-05, 8.38373316629238e-05, 7.985573054153909e-05, 6.761649373862926e-05, 6.744100389033953e-05, 7.51456702728767e-05, 8.954542024276581e-05, 9.583601445463864e-05, 8.292857411981314e-05, 7.090574250079903e-05, 6.972773434264396e-05, 6.483621847865154e-05, 7.845882301286362e-05, 8.53909485027266e-05, 9.591074377170729e-05, 9.22365204045937e-05, 7.937024668009426e-05, 7.267509851329345e-05, 6.681688641054645e-05, 6.383743999744473e-05, 7.373889958156735e-05, 7.52138130753373e-05, 7.000148705083451e-05, 6.868507447679119e-05, 7.594681764939202e-05, 8.45796444882744e-05, 8.989177494542144e-05, 8.594651481120904e-05, 7.646950856383292e-05, 8.791748497257082e-05, 0.0001032423926057983, 0.00010220709170952492, 9.841674465834746e-05, 9.74802155067119e-05, 9.867571101100634e-05, 8.918255381092163e-05, 9.804689475966061e-05, 0.00010393548606691094, 9.694571208122097e-05, 8.810270645381082e-05, 8.414580376954414e-05, 8.938419018975775e-05, 9.443840354785452e-05, 9.008089729858826e-05, 7.795683083122098e-05, 7.682975863087284e-05, 8.153563529731333e-05, 8.737781268544047e-05, 9.560167970418886e-05, 9.659966374303262e-05, 0.00010035249635733166, 0.00010198997962878681, 9.813427210304395e-05, 9.465906903082305e-05, 8.675630854956476e-05, 8.895338037791778e-05, 9.545577778358225e-05, 0.00010841242789352078, 0.00010979634431958081, 0.00010574607395916368, 9.95023427993549e-05, 9.596706967121904e-05, 9.788720146354937e-05, 8.827611352228484e-05, 7.818393457789896e-05, 8.409320468168818e-05, 9.239795001097777e-05, 8.75995713443105e-05, 8.679890027376495e-05, 7.61283159036661e-05, 8.261035920285875e-05, 8.541559780335124e-05, 8.613389184870948e-05, 8.481577301540781e-05, 7.97994483757368e-05, 7.433763074962183e-05, 7.22406404064876e-05, 7.377297382546028e-05, 7.339272268864796e-05, 7.085740850349172e-05, 6.525294139717231e-05, 7.919137224665258e-05, 9.029712229962847e-05, 9.219099435378946e-05, 9.455013861211873e-05, 9.06875111122238e-05, 9.516624705041069e-05, 9.815677648088628e-05, 9.529329726119614e-05, 8.577458560716242e-05, 7.64702206842696e-05, 7.51857124778645e-05, 7.718067361424708e-05, 8.061600158123532e-05, 7.933327591162835e-05, 7.701451052795316e-05, 7.292987937036527e-05, 7.144351104311765e-05, 7.74354171210338e-05, 7.089842048010207e-05, 6.99819403522832e-05, 7.080838888250158e-05, 7.155524442093941e-05, 6.10881213024678e-05, 5.996746799956531e-05, 5.327997805439286e-05, 5.039911561874504e-05, 5.287740435044474e-05, 6.292789665636983e-05, 5.783464361049397e-05, 4.4306225731696e-05, 5.1843451098241855e-05, 6.328450108550345e-05, 7.018258368871634e-05, 7.720579717179224e-05, 7.532299232902274e-05, 7.243432486775819e-05, 6.335640046953249e-05, 6.992535472907751e-05, 7.125407772073057e-05, 6.80920772554116e-05, 7.589962136139784e-05, 7.62552369627232e-05, 7.153871276648654e-05, 6.836506008299052e-05, 5.966718895360435e-05, 6.525773093505582e-05, 7.320208357053018e-05, 7.6878510511827e-05, 7.106774402130412e-05, 5.294935501519992e-05, 2.684344071501717e-05, 1.596853292511993e-05, 5.0638140304810325e-06, 2.3921536407032943e-11, 2.0457383570575483e-09, 4.076975479074753e-15, 1.0991395511188876e-11, 1.3009829059101154e-11, 4.074368827832873e-15, 4.073368248844673e-15, 4.070993381201213e-15, 4.068573123640357e-15, 4.06864019663877e-15, 1.2243392574312129e-12, 2.47157979284914e-12, 4.067177115524974e-15, 5.122859236008429e-12, 9.659215124856625e-12, 2.1136101211101105e-12, 4.067975031740873e-15, 1.2885708827377935e-11, 1.30696480060894e-12, 5.103915544935614e-12, 4.041041515362335e-12, 2.5128230832115976e-12, 4.069974510376713e-15, 2.7943028065893227e-12, 1.6944550614863116e-11, 4.068928648003425e-15, 1.8378064102032515e-11, 2.5545678225469487e-12, 4.065677198063991e-15, 1.758398930856769e-12, 2.5473988605087795e-12, 9.210265319579797e-12, 6.726644989607643e-12, 4.0650400816583815e-15, 4.065361536501424e-15, 4.0649077492193894e-15, 4.06482774753915e-15, 1.4852940554994558e-13, 1.2149882864600355e-12, 4.065795662002177e-15, 1.1072533456261934e-11, 8.715615744828183e-12, 4.0663032944237995e-15, 4.463948598534148e-12, 3.129349699244603e-12, 4.0674372268878224e-15, 6.1146746696221476e-12, 1.1696719421468612e-11, 3.718373871678984e-12, 3.80658179387285e-12, 4.066869761389301e-15, 8.15572863419993e-12, 4.06575206256454e-15, 5.412924655133082e-12, 1.2959531682593918e-12, 8.785686680682957e-12, 9.038414615587399e-12, 4.061945587382663e-15, 4.0623595082876055e-15, 4.062481461678761e-15, 4.061943413183921e-15, 2.2428476222658677e-13, 4.0621695189046015e-15, 4.062079149915072e-15, 4.063084813331229e-15, 3.98100461769892e-12, 4.065574195606663e-15, 4.0683503908051034e-15, 1.1765753139501076e-11, 9.942422502548738e-12, 1.353632355697412e-11, 4.071033838044856e-15, 4.0708858045894856e-15, 2.9758353498075017e-12, 1.2933750823860123e-11, 5.342509872385894e-12, 2.058259759273058e-12, 4.074468838734103e-15, 4.0744236053007065e-15, 3.168418595721159e-11, 4.073611570883196e-15, 2.993761518922828e-12, 4.075107815041082e-15, 3.694913412425472e-12, 1.1918387949797855e-11, 4.87830097104206e-12, 8.719502662140874e-12, 9.230678418303916e-12, 4.072417038034551e-15, 1.2684974545457246e-11, 1.1454669261692664e-11, 4.07282434167702e-15, 4.0717942614211375e-15, 4.9278343286797425e-12, 4.066505824669417e-15, 4.0644677394343204e-15, 4.0638864693280275e-15, 3.5092978102964324e-12, 6.498206498875969e-12, 6.595879504307847e-13, 8.208219181470181e-12, 4.061332605645024e-15, 2.667554092500075e-12, 1.8639039225958485e-13, 2.280103629859144e-12, 4.059248899254371e-15, 4.0587561944658966e-15, 1.4406617026934358e-11, 4.1399502611216284e-12, 1.1576175090898405e-11, 1.1338632684150684e-11, 8.36155194507738e-12, 9.806522734624463e-12, 4.057031013836396e-15, 4.056126213293211e-15, 5.35887722011728e-12, 7.33826293871243e-12, 4.0604319807117624e-15, 4.883886193125053e-12, 4.063914232600592e-15, 4.0657137566964056e-15, 4.065614922286551e-15, 1.7139779050402247e-12, 3.5229848561217456e-12, 6.09772720527343e-12, 4.069641961063401e-15, 4.071559830343352e-15, 6.8522832408065004e-12, 4.06626269866384e-12, 7.689239127857037e-12, 4.072407070133264e-15, 1.4295877700837592e-12, 5.2636179142032244e-12, 2.205660658465188e-11, 6.202908689675799e-12, 1.2464014896647003e-11, 4.07643361336535e-15, 8.763706482741068e-12, 6.695947577873118e-12, 2.6030432097023688e-11, 1.4674223538962682e-12, 3.649000570078626e-12, 1.4076386829456476e-11, 1.637988333678511e-11, 1.1772220609543365e-11, 4.609104988448709e-12, 8.695175743518286e-12, 4.072166908546343e-15, 4.335753187079491e-13, 1.0296588313764116e-12, 4.0703394278496416e-15, 7.093308626595386e-13, 4.069376342571578e-15, 2.5576637542558022e-12, 8.45406450372516e-12, 4.068244886295225e-15, 5.838322204688014e-12, 4.067951629276287e-15, 4.0681657282032415e-15, 4.068079553862349e-15, 4.06696552985701e-15, 3.268592360836083e-12, 1.1140363959702439e-11, 1.1030795987731577e-11, 7.843862407001579e-12, 4.065516607504157e-15, 4.067571330660828e-15, 4.2111429122365884e-12, 2.4104091100245795e-12, 4.074580460113831e-15, 5.424110907191579e-13, 1.6637234558739907e-07, 8.387387386944979e-06, 1.2149507735349917e-05, 7.150318993239338e-06, 7.789635068547903e-06, 1.8124417503003615e-06, 5.755171198255652e-09, 2.956191742890141e-07, 2.419981090170988e-06, 1.6172371869506665e-06, 1.9770847873147304e-07, 7.779539334370817e-07, 4.3174161223745175e-06, 1.1369432012075214e-06, 3.591149435566363e-08, 1.1412987391877843e-08, 1.3601762034550743e-07, 2.0654878872681184e-07, 2.786710187434342e-08, 1.9340254048101425e-09, 8.118932636815457e-11, 3.984052389263387e-11, 2.339409184472965e-10, 2.2364217983475568e-07, 7.308287332525983e-06, 2.795519116961254e-06, 4.3172653876733004e-08, 6.962488804940467e-12, 4.074507788708735e-15, 4.07451460806484e-15, 4.076384974107889e-15, 4.077441456125814e-15, 1.6622147208549734e-08, 5.221186675348763e-07, 7.545309075147093e-07, 3.070470448347294e-07, 1.0596889503937882e-07, 3.091824218513646e-08, 8.369758332231866e-09, 1.4096643190060578e-09, 6.855901683898447e-12, 1.0775403086287607e-11, 8.56540948710129e-08, 1.4530032907598088e-07, 1.9444609018002197e-08, 1.4086456534807048e-09, 1.604220629877842e-09, 9.131013287431173e-09, 3.3673868430377363e-09, 2.924455321430828e-10, 3.5886377723203482e-09, 1.434536565349606e-08, 4.996497709557588e-09, 1.160846650829598e-09, 1.25459272453545e-09, 2.7379843326056506e-08, 3.937013898091723e-06, 1.0737875868175363e-05, 2.5815058041883297e-05, 2.763419832246729e-05, 1.851527950514432e-05, 1.2392907728043862e-05, 1.8191363386138674e-05, 2.7639108856436866e-05, 3.3154875482134374e-05, 3.4678533699842474e-05, 2.4829841182702685e-05, 1.973283431792491e-05, 1.9725488804841738e-05, 2.9844839165140985e-05, 2.667967057785997e-05, 2.62530277962021e-05, 1.5631805389941892e-05, 7.808058111838863e-06, 3.731394158686511e-06, 7.983684835952078e-07, 1.6635934518685813e-08, 4.078251200152534e-15, 4.077923700977773e-15, 4.078413316360991e-15, 6.157146586870269e-12, 8.777174792553005e-13, 6.627769474799611e-10, 7.1858731692126524e-12, 2.3465957098577356e-12, 4.081318521744568e-15, 2.117365479591196e-11, 1.666826205835226e-11, 1.311351258566279e-11, 3.003863392148303e-11, 2.0500370327416783e-11, 3.0225350075243904e-12, 1.218043811918891e-11, 1.3077907194958538e-11, 4.1586362400684346e-11, 4.21628925578178e-09, 7.941415063903666e-08, 4.6034112372343083e-07, 1.2414834294342236e-07, 2.060130352400194e-08, 2.9391562509165238e-08, 3.991854790399635e-06, 1.478789040225328e-05, 2.0099834198587542e-05, 2.8684177482503048e-05, 2.916081404347686e-05, 1.8005590669544056e-05, 2.285411699993713e-05, 4.781871575152874e-05, 6.7100877862766e-05, 7.129780059588339e-05, 6.052404912679514e-05, 5.23967074988655e-05, 5.550107824772731e-05, 5.369274151751997e-05, 6.598211856226338e-05, 7.179357185376895e-05, 7.135442602706029e-05, 6.928692213106137e-05, 6.848033938699326e-05, 7.155785953589777e-05, 7.007679730550029e-05, 6.406653925522945e-05, 6.483391625581529e-05, 6.859580705282399e-05, 7.379972495649238e-05, 7.453235354006582e-05, 7.967658007789891e-05, 7.41116611279448e-05, 6.858830853486415e-05, 7.986341124500917e-05, 8.229163531158852e-05, 8.586322921133322e-05, 8.218186203097638e-05, 8.479370337730043e-05, 8.621505778056375e-05, 8.241510321106443e-05, 8.805752897904468e-05, 8.546563986162257e-05, 9.26329065940393e-05, 9.290877159252067e-05, 8.980259357189657e-05, 8.559667081069478e-05, 8.294680863147955e-05, 8.049469326776796e-05, 8.059604166389592e-05, 8.422367888137106e-05, 7.496983233748948e-05, 7.803234058188061e-05, 8.331311312549497e-05, 7.905769467824009e-05, 8.222530898763785e-05, 8.856297036915547e-05, 8.713475557571657e-05, 8.603634683965724e-05, 8.044278811782744e-05, 7.548087795766863e-05, 5.9474697947362204e-05, 6.720438862015053e-05, 6.745614316158815e-05, 6.268700205051716e-05, 5.085111300669102e-05, 5.141001240522397e-05, 5.0751742872381715e-05, 5.694173878891174e-05, 5.960394974580635e-05, 4.748827942808492e-05, 4.246420688881382e-05, 4.1526448877719034e-05, 4.064761954844574e-05, 3.724289345530841e-05, 4.492589201446702e-05, 4.9023800623300026e-05, 5.332423655863172e-05, 5.266558212128706e-05, 5.4646910108711184e-05, 6.825563272203243e-05, 6.856255768500125e-05, 6.515260827558237e-05, 6.26017509194253e-05, 6.52617639204627e-05, 6.967333043260415e-05, 7.231073007866513e-05, 6.484007350640223e-05, 7.424263934133184e-05, 8.139353797116714e-05, 7.607949033458137e-05, 7.744432753698149e-05, 8.108825613714049e-05, 7.717752487521309e-05, 7.686451554160874e-05, 8.177690280155568e-05, 7.930619191040033e-05, 8.758553291663795e-05, 9.092835894339882e-05, 9.166307885284781e-05, 8.243435174731699e-05, 6.974804017197181e-05, 6.956373102924712e-05, 7.074889630438888e-05, 6.402278391647097e-05, 4.6513876629587084e-05, 3.800623863907096e-05, 3.421588908204477e-05, 4.8297557822242026e-05, 5.831905304084798e-05, 5.282089754269437e-05, 5.326766910016227e-05, 5.440900772856491e-05, 5.69943872830771e-05, 6.16668357795276e-05, 6.301602081729767e-05, 5.450141405058926e-05, 4.913994856304758e-05, 4.142329006312715e-05, 4.575654382904052e-05, 4.850421285334732e-05, 5.272562960975342e-05, 6.11909418387191e-05, 6.548326116786865e-05, 5.850829485597659e-05, 5.9157419712329266e-05, 6.69709375731437e-05, 6.3510342976806e-05, 5.7755696191203494e-05, 6.132657314292204e-05, 6.491402316480713e-05, 6.741464971761466e-05, 6.483842805855515e-05, 5.609185463417177e-05, 5.883917082158013e-05, 6.723212209301722e-05, 7.256108319661203e-05, 7.302886225884534e-05, 7.57882693605261e-05, 6.668835122592952e-05, 5.754382716573715e-05, 5.9587764331391816e-05, 6.56709072100968e-05, 6.863015727497615e-05, 7.128288125176714e-05, 7.43778085550435e-05, 7.703149139126568e-05, 7.841570427664709e-05, 8.094990516084512e-05, 7.889192219757641e-05, 7.222241849986623e-05, 7.091603823611817e-05, 7.1430716124026e-05, 7.146619282426211e-05, 7.395666539344674e-05, 8.285919360455466e-05, 9.203033023785145e-05, 9.685824011949571e-05, 9.604558058870417e-05, 8.808184658811531e-05, 7.68036991611766e-05, 6.94174457194312e-05, 6.37307034263105e-05, 7.596846551920301e-05, 7.85119625612074e-05, 7.96496160905083e-05, 8.0193113908925e-05, 8.431941172536466e-05, 8.064976458491856e-05, 8.189333877690082e-05, 7.200087083413069e-05, 7.105242738274833e-05, 6.420380984191066e-05, 6.777685672837747e-05, 6.366783182749928e-05, 6.138990118886787e-05, 6.0877400153810796e-05, 6.291078121994687e-05, 5.949688630806014e-05, 5.41497812223871e-05, 5.579516059911264e-05, 5.419251556079309e-05, 6.49239900592067e-05, 7.336660831398924e-05, 7.706630818996272e-05, 7.400263064248034e-05, 7.353350632212678e-05, 6.875939221249519e-05, 8.06181702341142e-05, 7.479758057556676e-05, 7.505499479856619e-05, 8.379173256694815e-05, 8.539656091766797e-05, 9.06055096890691e-05, 9.754981395163336e-05, 9.443528537689753e-05, 8.663687532943491e-05, 8.159329731057335e-05, 7.433468777870267e-05, 7.198922253398486e-05, 7.504872091752537e-05, 7.670028881325857e-05, 9.362137980975167e-05, 9.08909464791285e-05, 8.416488767345405e-05, 8.28211010535589e-05, 7.485730590153042e-05, 7.361479227546793e-05, 7.51877566736595e-05, 6.545506706618624e-05, 7.700739560512631e-05, 8.877382227466821e-05, 8.451951096259073e-05, 7.316822551974688e-05, 6.478381706898836e-05, 6.161574019453097e-05, 6.67828172212759e-05, 6.727067875799466e-05, 6.58864076666961e-05, 6.109018296257299e-05, 5.7299378319491526e-05, 6.47113264646689e-05, 7.299805734118419e-05, 7.402282492221657e-05, 7.298556173861098e-05, 7.343484577468019e-05, 7.516359946845358e-05, 8.365375054094219e-05, 9.112956146216988e-05, 8.29499985258191e-05, 7.597537904145628e-05, 7.328015017560352e-05, 7.107435165583118e-05, 7.528985418722173e-05, 7.424548805660943e-05, 7.005369566377161e-05, 6.984893643305313e-05, 7.06046460974431e-05, 7.402294160125827e-05, 6.686371394201175e-05, 6.782759589129899e-05, 6.914517440863432e-05, 6.323636272161617e-05, 5.801242470167749e-05, 6.131762900663716e-05, 7.168516155305392e-05, 7.944641168315347e-05, 8.490234188307863e-05, 8.37165046681601e-05, 7.972937524741628e-05, 7.681414966502773e-05, 8.121514579052947e-05, 7.594380994390464e-05, 6.963953951090477e-05, 6.465838080711502e-05, 6.70784639312214e-05, 7.103144484801161e-05, 8.25570432446813e-05, 8.3687552658015e-05, 7.91708640948835e-05, 7.781003350617345e-05, 7.809275172369544e-05, 8.259025971775482e-05, 8.373348128356426e-05, 8.761290792547336e-05, 8.868281750157921e-05, 9.33723911980675e-05, 9.453972841249065e-05, 9.325766395482682e-05, 9.008626760008387e-05, 8.804090447671017e-05, 8.908076302951602e-05, 9.810132396156435e-05, 0.000109963645479874, 9.394261561511683e-05, 8.141827730623776e-05, 7.90286508634555e-05, 8.88359576538968e-05, 9.527199622082024e-05, 0.00010126417909698632, 9.62242258407413e-05, 9.622407489864628e-05, 9.413005650430051e-05, 9.606572703629908e-05, 9.405731189511916e-05, 8.726286300633987e-05, 7.809857989258116e-05, 8.460030219958266e-05, 9.562144477807332e-05, 9.405206214078059e-05, 9.649330866683952e-05, 9.855293525477747e-05, 0.00010303428646550575, 0.00010791660076985581, 0.00010561437159361316, 9.266408175364937e-05, 9.041001369884777e-05, 8.2667188873903e-05, 8.989680490324675e-05, 9.81310893336602e-05, 0.00010362023874738768, 0.000110120472590533, 0.0001095868633850399, 0.00011334838222641655, 0.00010618220206272539, 0.00010216521399616348, 9.648371791981717e-05, 9.181410766042323e-05, 9.18126279290396e-05, 8.327786052486325e-05, 7.715563331341589e-05, 7.536394466451675e-05, 8.114210300186606e-05, 8.405889873169998e-05, 8.631590239706815e-05, 8.89415885114888e-05, 9.13564482246144e-05, 9.596714968845573e-05, 9.480405643545057e-05, 9.24927708538516e-05, 8.591638911987118e-05, 7.821506405947026e-05, 6.990489660690344e-05, 7.858610341404838e-05, 8.692196507315533e-05, 8.924779068334347e-05, 9.149753924639804e-05, 9.698701301832426e-05, 0.0001038735454563625, 0.00010769463277867548, 0.00010922840609159581, 0.00010011991582238698, 9.547194870236441e-05, 9.509707484126458e-05, 0.00010297751187062728, 0.00011071009142806209, 0.00011135560985124534, 0.000105374705729241, 0.00010687867831050737, 0.00011075501058033994, 0.0001088511258851772, 0.00010432175427357775, 8.84227887915891e-05, 9.561532260199306e-05, 0.0001129813082334153, 0.00012391385539699268, 0.00012435837286601845, 0.0001202396085359447, 0.00011549953061622587, 0.00011675399426137347, 0.00011978358011171564, 0.00011572891215672988, 0.0001031018199140361, 9.075470912893638e-05, 9.52901601724364e-05, 0.00010538434557614456, 0.00010581423990372974, 0.00011462135472503229, 0.00012594329227234743, 0.0001251182301586917, 0.00012675714115008068, 0.00012394318086165907, 0.00011711786655409212, 0.00011980621570956738, 0.00012772955480691854, 0.00013309980214110126, 0.000137454251322052, 0.00012614326741092319, 0.00012463509954512163, 0.00012811212528277279, 0.00012857695190653817, 0.00012745398776262687, 0.00011748524541486952, 0.00011538452783280697, 0.0001222606597466743, 0.000131895635498713, 0.00012245505890370724, 0.00011098626397633763, 0.00011056317570912338, 0.00012220589390185655, 0.00013220060568977344, 0.00013452069582888356, 0.00012360083134022653, 0.00011837710832473489, 0.00011095926025868154, 0.00011395239008043183, 0.00011263979138111379, 0.0001080453723306853, 0.00010186249453535438, 0.00010116131516561857, 0.0001082980358021649, 0.00010491626778652476, 0.00010862297964393001, 0.00011150091266785702, 0.00011642805032853968, 0.00011773801263381973, 0.00011867718364213893, 0.00010599116559054632, 0.00010539152167668538, 0.0001002587003565961, 0.00010324006917193742, 0.0001071892819262495, 0.00011354174919961764, 0.00012329878304533792, 0.00012302803632779365, 0.00012050179192657583, 0.0001151437845441505, 0.00010811391998211776, 0.00010006890035789221, 9.407494415856399e-05, 9.386234350824948e-05, 8.962717127483374e-05, 8.150454663279492e-05, 7.61979610886394e-05, 7.913443064048187e-05, 8.87514371930228e-05, 8.968152618748456e-05, 9.084072322027919e-05, 9.316252403042585e-05, 9.433922616603327e-05, 9.5190012470174e-05, 9.704804988688746e-05, 9.242776605489325e-05, 9.212579998966154e-05, 8.359077155443341e-05, 8.683731319963858e-05, 9.263368247406953e-05, 9.539444912580643e-05, 9.900455860504075e-05, 9.851841530504016e-05, 0.00010323167236842496, 0.00010624434590273475, 0.0001060100447310262, 9.371348558131514e-05, 0.00010530125293089704, 0.00010614722827686765, 0.00010543709300626588, 0.00010870718520751767, 0.00010818067764938116, 0.00010796856130787864, 0.00010570154246260975, 0.00010771919287680765, 0.00010763856335292602, 9.493336541281556e-05, 7.343954027495848e-05, 7.750070117403844e-05, 9.034256376514066e-05, 9.915764714475605e-05, 9.887949184490199e-05, 9.437416963322733e-05, 8.810235549501575e-05, 8.079114869765839e-05, 7.444173745361184e-05, 7.147316133882725e-05, 7.112616837680154e-05, 6.993709332180516e-05, 7.085505955541226e-05, 7.082041154232607e-05, 6.931220937354314e-05, 7.086392761080597e-05, 7.684333055183235e-05, 7.665294357432242e-05, 7.634500570883297e-05, 7.906813554625975e-05, 7.954217053938726e-05, 7.760664532942473e-05, 8.476902896905617e-05, 8.738348865353437e-05, 8.685658636198048e-05, 7.190090996276757e-05, 7.325512938198218e-05, 7.70366014676969e-05, 7.702305768129088e-05, 7.813709466561464e-05, 7.720756224400863e-05, 7.559737233011624e-05, 8.481714652954402e-05, 9.049035806890716e-05, 8.207984303906668e-05, 6.848978277550869e-05, 6.308121197931302e-05, 7.361851597954113e-05, 7.596312626568585e-05, 7.164066546964383e-05, 6.642157703101396e-05, 6.459194357453015e-05, 5.627354561951614e-05, 6.07516455163005e-05, 6.258059354923274e-05, 6.160233497160662e-05, 5.711715361156968e-05, 5.5966694388712565e-05, 6.30601724648233e-05, 7.196598881377558e-05, 7.206268264193797e-05, 6.820599302503257e-05, 7.024635373843795e-05, 7.112554101140894e-05, 7.266425795345094e-05, 6.671750534133026e-05, 6.613724290957885e-05, 5.897094971015313e-05, 6.223661152314498e-05, 6.559359019640797e-05, 6.424398304935359e-05, 6.581229899884233e-05, 7.171044593698954e-05, 7.144697522454595e-05, 6.664685981930446e-05, 6.629900652511604e-05, 6.33304649637323e-05, 5.879930047504638e-05, 6.075548346760695e-05, 5.442937515292808e-05, 4.871897421993678e-05, 4.796059220065951e-05, 5.276215861227186e-05, 5.6651246030990635e-05, 6.130120079587173e-05, 5.917065130431932e-05, 5.849672515998698e-05, 6.253863424319128e-05, 6.003939348440429e-05, 5.9212976516163255e-05, 5.198516412320142e-05, 4.4850258265802935e-05, 4.824879361346247e-05, 5.3066142023533237e-05, 6.127080208238784e-05, 6.210495764458558e-05, 6.0094531397813276e-05, 6.74718569727125e-05, 7.399841236978076e-05, 7.885617240940304e-05, 7.889498875979688e-05, 8.491806110964434e-05, 7.799201048380566e-05, 7.949429152287453e-05, 7.595712843482596e-05, 7.477363834082983e-05, 7.149339834285199e-05, 7.518739293795104e-05, 6.947542957736193e-05, 6.467988602088999e-05, 6.020446946325864e-05, 5.6011576997862856e-05, 5.48545963391303e-05, 6.434688348202943e-05, 7.186151969852671e-05, 7.14007282803747e-05, 7.002286859725718e-05, 6.601238389420941e-05, 5.779248325960347e-05, 5.350175493729073e-05, 4.87281540644654e-05, 3.9359687707942005e-05, 3.241768584235705e-05, 2.6543228644459973e-05, 1.62694202174506e-05, 2.685338461390169e-05, 3.7444293582654074e-05, 3.699035515914993e-05, 4.344706843189352e-05, 4.6845226855803534e-05, 4.071241286361896e-05, 3.2671581576323794e-05, 3.504235869183688e-05, 4.7393495468590396e-05, 4.365891515880374e-05, 3.830108818288935e-05, 3.703301417726112e-05, 3.1355922721520116e-05, 3.4810428985236386e-05, 5.0633133759407984e-05, 5.020454122699732e-05, 6.436876797436748e-05, 7.304366359818665e-05, 6.811110814530696e-05, 6.367189667645511e-05, 6.257666956680838e-05, 5.1255237374236996e-05, 4.406689108447185e-05, 4.3555914409525996e-05, 5.3924922146946463e-05, 4.88310696430228e-05, 3.7803468730572135e-05, 3.229849905335735e-05, 2.9826207424715633e-05, 3.58864815581928e-05, 3.4902110872437695e-05, 3.334175648353772e-05, 2.7625888702627894e-05, 2.1375091903777392e-05, 2.0968392684442888e-05, 2.804781952743316e-05, 3.9252937115078146e-05, 4.361000180889171e-05, 4.257169160928187e-05, 4.562902915536537e-05, 4.4193936018948577e-05, 4.098965773052328e-05, 3.5270568361801755e-05, 3.8382041808967305e-05, 4.3771773203318834e-05, 4.0695695924970756e-05, 4.333275533983984e-05, 5.1401616785243035e-05, 5.293251948896233e-05, 5.152814489617261e-05, 5.085976047930981e-05, 4.522069190833105e-05, 4.446161030715198e-05, 4.633582816383796e-05, 4.3895312069682655e-05, 4.5310105226931963e-05, 3.190216838015636e-05, 2.1436684595217967e-05, 2.01792465220616e-05, 2.5759375647243036e-05, 2.5416385065960883e-05, 2.5632532781966265e-05, 2.3412986861285225e-05, 2.1538878974179977e-05, 2.2060883669520697e-05, 2.3011203315509523e-05, 2.277171182657197e-05, 1.616389812202448e-05, 1.0158526482985143e-05, 1.2691362974108882e-05, 1.8923510340053957e-05, 2.3361506527377173e-05, 1.8899357683488737e-05, 1.596317331523827e-05, 2.6465351639897926e-05, 3.640121043746989e-05, 4.201596220140699e-05, 3.903690844481119e-05, 2.4741639556739568e-05, 2.3147675221855737e-05, 2.3371440947380074e-05, 2.668477143562908e-05, 3.073527340097678e-05, 3.251122616081646e-05, 3.539857982719008e-05, 2.7577209054518346e-05, 2.9178184803316524e-05, 2.494538931467641e-05, 2.3460280819951523e-05, 2.591629035901156e-05, 2.665618001119352e-05, 2.8823263005513518e-05, 2.842677325631013e-05, 2.547070397518193e-05, 2.431919610500825e-05, 1.8736342260257616e-05, 2.1434206918846422e-05, 1.963592596421014e-05, 6.3583828617363354e-06, 6.209268921525335e-07, 1.338858875570827e-08, 5.2249652249611024e-08, 9.64785578380793e-07, 1.4219563100395941e-05, 3.106691144175663e-05, 4.2035324998925395e-05, 3.824173462192315e-05, 2.4503313418251393e-05, 1.7676501807183857e-05, 1.8672391345470393e-05, 2.794114236026843e-05, 2.809719474787296e-05, 3.2939037897022906e-05, 4.2572803922659174e-05, 3.668863531871444e-05, 3.5772414890195315e-05, 3.911440326963375e-05, 3.847910847021293e-05, 4.3995911994312075e-05, 4.9428971258564706e-05, 5.540611880508106e-05, 6.202157484826901e-05, 5.8437828707429945e-05, 4.8081997782995904e-05, 4.733530730110586e-05, 4.838345142038712e-05, 5.279853883110328e-05, 4.908508565382246e-05, 4.226029137039713e-05, 4.043986356892625e-05, 3.8786119300224475e-05, 4.0457787882748995e-05, 3.9461928129571056e-05, 3.382175355408724e-05, 2.8864369427792536e-05, 2.9646556265652322e-05, 3.183460060573636e-05, 3.4133678055431064e-05, 4.528544090894198e-05, 4.962327978541171e-05, 4.8636389081348594e-05, 5.064940408404674e-05, 4.563079731589082e-05, 3.879105468754561e-05, 3.7754015652582764e-05, 3.621657314580863e-05, 3.126245350953543e-05, 3.85898899252881e-05, 5.099440101317852e-05, 6.687601680777718e-05, 7.157057090972475e-05, 6.773968134616678e-05, 6.245542355797697e-05, 4.679546445219568e-05, 4.3034953499434236e-05, 4.588432542124655e-05, 4.68001700144418e-05, 4.8149223455838634e-05, 3.601600251592258e-05, 2.6410614758399365e-05, 2.8644626638056588e-05, 4.084395203779246e-05, 4.588014664712845e-05, 4.825392973361928e-05, 4.280027831614592e-05, 3.6179836517630956e-05, 3.2941060749734916e-05, 3.3966911142661116e-05, 3.304258622525644e-05, 2.4792752883800726e-05, 1.2391567936773416e-05, 2.669847897104958e-05, 3.907157378140935e-05, 4.5096390428282325e-05, 4.3924273707859805e-05, 3.614907092875941e-05, 3.8990029442326694e-05, 4.937117414006604e-05, 5.530751917182287e-05, 5.181312659618608e-05, 3.9296582940197766e-05, 3.592976296138682e-05, 4.3719762529879035e-05, 5.7322314300438903e-05, 5.766135570778219e-05, 6.0727941280108656e-05, 6.206321098829599e-05, 4.945349825812581e-05, 4.33302039570156e-05, 3.9126797715441484e-05, 4.2013537309496814e-05, 5.207077020152633e-05, 5.410497772142906e-05, 5.7632124696497336e-05, 5.7517458110182376e-05, 5.6517732002269964e-05, 5.699794557269753e-05, 4.9603348839820636e-05, 5.310079142935898e-05, 5.32608277713459e-05, 4.76403009130838e-05, 3.5402533397587496e-05, 3.5849004148925366e-05, 3.415855502664203e-05, 2.9711854233503077e-05, 3.4788947246541553e-05, 5.110788377365622e-05, 6.599936021855052e-05, 6.627543153616523e-05, 5.58007714819927e-05, 5.0604259733736104e-05, 4.3024738128047616e-05, 4.4315992732771874e-05, 4.8182576400954616e-05, 5.5203013746501394e-05, 6.182700798338005e-05, 5.543413555715155e-05, 5.5281183212139255e-05, 6.12737209045694e-05, 6.582764437699078e-05, 6.541407273466338e-05, 6.425730017106787e-05, 6.21345777322694e-05, 6.775986901161172e-05, 6.345389484885089e-05, 5.492342020169906e-05, 5.444491551544189e-05, 5.0832005864845736e-05, 5.1522109989776516e-05, 4.7066227829851196e-05, 4.2029629633451266e-05, 3.626597918375054e-05, 3.257799043384948e-05, 3.4776606187381494e-05, 3.937829175390269e-05, 3.7787491051900865e-05, 3.371437585769e-05, 4.025121088980693e-05, 4.66836308265852e-05, 4.637841003517344e-05, 4.8760494313552676e-05, 5.255217137258712e-05, 6.028207296576253e-05, 6.459839082005532e-05, 5.827077034078694e-05, 4.702232901876398e-05, 4.09963974887177e-05, 3.9135054060717834e-05, 4.2411432997325675e-05, 4.82560849336298e-05, 5.7126870404512607e-05, 6.321226829262526e-05, 5.782695241993755e-05, 5.900094078589243e-05, 5.918264640965957e-05, 4.692443560916707e-05, 3.932955437875966e-05, 3.920713378127798e-05, 3.7431371742495654e-05, 3.939241837294126e-05, 2.7011908314519105e-05, 2.372523705285335e-05, 2.641018487534928e-05, 3.3873766726418106e-05, 4.2038870722574886e-05, 4.2390351134726376e-05, 4.0313614859837305e-05, 3.939377916040622e-05, 4.124483510429484e-05, 4.205955839291121e-05, 4.2552547850781324e-05, 3.738445610763261e-05, 2.897681954404344e-05, 4.328883054462811e-05, 5.131957714164912e-05, 5.498741469726897e-05, 5.9750936655333104e-05, 6.29300190858127e-05, 6.648517171312539e-05, 7.495218962171587e-05, 7.744820754943115e-05, 7.627080518804214e-05, 5.997787951572539e-05, 6.249857066722639e-05, 6.9731464791281e-05, 7.334141455723822e-05, 6.47140116066647e-05, 6.237313511373598e-05, 6.572151576236399e-05, 5.002736471951717e-05, 4.399463198510863e-05, 4.520204271910095e-05, 3.969947289915263e-05, 4.902616817918162e-05, 5.231291588129202e-05, 4.949931099738184e-05, 4.3480291103621525e-05, 4.260757102632666e-05, 4.614406225797788e-05, 4.647960424234315e-05, 4.303626829051889e-05, 3.741232368749062e-05, 3.666208872768428e-05, 2.582641648556421e-05, 3.109761218901488e-05, 4.291754916151388e-05, 4.679073010257753e-05, 4.768185378921496e-05, 5.137382407510856e-05, 6.0972492936692283e-05, 6.602084009391587e-05, 5.592850767134955e-05, 6.065491115699362e-05, 5.79490217661509e-05, 5.6499277679847034e-05, 5.470904778541972e-05, 5.888410289803397e-05, 6.613922411636622e-05, 6.19434311452922e-05, 5.972412448092625e-05, 6.276236698565486e-05, 6.977973514337918e-05, 7.336792111081295e-05, 7.253319944567547e-05, 6.409223361418339e-05, 5.8532774062136154e-05, 5.413821766389172e-05, 5.600635556820846e-05, 6.307363400113752e-05, 6.409749949368785e-05, 5.9314785884239536e-05, 5.1346815678513366e-05, 4.872939180470033e-05, 5.210666277384123e-05, 5.165112051400177e-05, 5.0409531303614905e-05, 5.210592455744785e-05, 5.115771778040941e-05, 4.993410358738458e-05, 4.294201395577706e-05, 3.9345132662523616e-05, 4.4003146086463685e-05, 4.6501036074380205e-05, 4.7483021730256455e-05, 5.1592656220246806e-05, 4.879074892165552e-05, 4.2381528939568116e-05, 3.4929086420779946e-05, 3.552314322647963e-05, 3.384000724795354e-05, 3.662923686044648e-05, 4.045616534957963e-05, 5.097227869395762e-05, 5.992389011604345e-05, 5.374229658116116e-05, 5.278650902330217e-05, 4.800406044123604e-05, 3.904527348589711e-05, 3.401360380190801e-05, 3.5331871931580713e-05, 3.470256283555578e-05, 3.43446341247905e-05, 2.6913274167158074e-05, 2.7618526456768772e-05, 3.1079443181353844e-05, 3.090852269298519e-05, 3.3630108672173766e-05, 3.510449314381741e-05, 4.0282636727389447e-05, 4.4048751904070205e-05, 4.563637178166822e-05, 4.4779645286272725e-05, 3.999092727777011e-05, 2.9948778501392032e-05, 2.1523887428567304e-05, 3.2142024242206914e-05, 3.7634673136509524e-05, 3.5414139880633515e-05, 4.4864336710887534e-05, 4.915115657100596e-05, 4.885686440914522e-05, 4.803269847357655e-05, 5.128167874550949e-05, 5.319772834627588e-05, 4.666703248009379e-05, 4.7537225735692273e-05, 4.958554848742408e-05, 4.522263489144783e-05, 5.585316082709979e-05, 6.731601394932503e-05, 7.53786918288864e-05, 5.4838760196286616e-05, 4.28857951626123e-05, 5.7254146032618856e-05, 5.2752016251627084e-05, 4.776446464770965e-05, 4.49307572679573e-05, 3.936025948216706e-05, 3.9893005537253204e-05, 3.845309541320756e-05, 3.708939066543581e-05, 3.475139716646192e-05, 3.229954058810081e-05, 2.8961149635674764e-05, 2.7194090541766783e-05, 3.111379923841197e-05, 3.178393521522661e-05, 3.584294278653814e-05, 3.749295545423921e-05, 4.3644570159112087e-05, 4.991856716072657e-05, 5.0405010684793954e-05, 5.078620271238715e-05, 5.694498106174571e-05, 5.884960661125069e-05, 5.451937834185488e-05, 4.855452220751651e-05, 4.154428386452483e-05, 4.257189904149568e-05, 5.021445379823676e-05, 5.200142152228199e-05, 5.123468293598907e-05, 5.090429231428602e-05, 6.086540249293454e-05, 6.3811445326829e-05, 6.822048587768938e-05, 6.48714339232575e-05, 5.9854725939627245e-05, 5.850731262304233e-05, 6.322515727878881e-05, 7.309976844930962e-05, 7.305625133520928e-05, 6.327513120898169e-05, 5.560893084624592e-05, 5.573664791155154e-05, 6.401796053682738e-05, 6.069170766295563e-05, 5.270164211540221e-05, 4.891162572110554e-05, 5.149086491128799e-05, 5.865554974618842e-05, 5.64376376784277e-05, 5.1226474525316434e-05, 4.777871785677327e-05, 4.7803247901781944e-05, 5.1758993028134285e-05, 6.495246076851671e-05, 6.311971093134182e-05, 6.408620785821184e-05, 6.131550058063637e-05, 6.381184039576286e-05, 6.261326452885117e-05, 5.285215277869152e-05, 5.12050802720322e-05, 5.983095691084503e-05, 7.175540374252596e-05, 7.39389134515336e-05, 8.102284167678603e-05, 8.171029717697547e-05, 7.559001038298481e-05, 6.690030092321896e-05, 6.585901413753875e-05, 6.338474133100063e-05, 6.385197849268249e-05, 6.259950871707269e-05, 6.562553792940604e-05, 6.763607390387271e-05, 6.608392842444226e-05, 6.624623855475459e-05, 6.746424904022744e-05, 7.094851785203428e-05, 6.92959398053349e-05, 6.543509423110264e-05, 6.193857689744829e-05, 5.901224209080352e-05, 5.271793941406999e-05, 4.859714779397631e-05, 5.723911223252899e-05, 5.5803100892125086e-05, 5.5562604235693775e-05, 5.58633291237484e-05, 5.240755254668908e-05, 6.335095995078201e-05, 6.617446446965517e-05, 6.82811148756835e-05, 6.706725591390035e-05, 6.53526889840361e-05, 5.782752949404715e-05, 5.6546185036554516e-05, 6.0710551806852544e-05, 6.855838666645911e-05, 7.520626852024472e-05, 7.140764531182061e-05, 7.39047577463949e-05, 7.596696209827653e-05, 6.618324825036761e-05, 6.307078910005841e-05, 7.068292546759805e-05, 7.120017639499595e-05, 6.0474377570543465e-05, 6.162275191804474e-05, 6.123536836156699e-05, 6.25726524930208e-05, 5.961020759247105e-05, 6.449911776627325e-05, 6.347523570365783e-05, 6.188939787531966e-05, 6.21644480897038e-05, 6.388952316808452e-05, 6.44861985721694e-05, 6.671139975009322e-05, 6.718629457607671e-05, 6.692038900968826e-05, 6.786396108148611e-05, 6.77568189419443e-05, 7.129017487988362e-05, 7.155967567501161e-05, 7.100271136473732e-05, 7.02000899075279e-05, 6.737557330945916e-05, 7.00901434176528e-05, 7.587654406209204e-05, 7.267765813968498e-05, 7.52139775344852e-05, 7.921574162147768e-05, 8.903829742627406e-05, 8.744343650599569e-05, 8.678531355224843e-05, 8.523068169673069e-05, 8.551700597753687e-05, 8.290310773238291e-05, 8.134430417503382e-05, 8.696466787233779e-05, 9.134019541746162e-05, 7.744675545692182e-05, 6.307553516069605e-05, 5.4735466638656105e-05, 5.7186588314811436e-05, 5.813497230741849e-05, 5.866981414980443e-05, 6.217413449823944e-05, 6.190282437406844e-05, 6.352381368596856e-05, 6.0079092616677665e-05, 5.6146109867744596e-05, 6.277846189867023e-05, 6.421768379727871e-05, 6.373471109507213e-05, 6.235176646773299e-05, 6.921030248637916e-05, 7.059314856788208e-05, 7.639529963906443e-05, 7.392938050696748e-05, 7.102256120984499e-05, 6.379284194596607e-05, 6.52047892394923e-05, 7.001026867611367e-05, 7.625437843066366e-05, 7.54948935857793e-05, 7.554831831417297e-05, 7.409806542973262e-05, 6.938370659713578e-05, 6.536800155610182e-05, 6.992752590783323e-05, 7.032331624826393e-05, 7.366767651423959e-05, 7.065722972053038e-05, 6.89487321610287e-05, 7.410369998586396e-05, 7.588214659138386e-05, 7.549960549862629e-05, 7.583703865525104e-05, 8.2155395258811e-05, 9.355153964748829e-05, 9.78112033214086e-05, 9.716295891207392e-05, 9.522172780606329e-05, 9.100393969385122e-05, 8.626510684471362e-05, 8.450979547183925e-05, 8.399734365986602e-05, 8.840061545887133e-05, 7.75237349694498e-05, 7.109795842817158e-05, 7.566994782983859e-05, 8.45346432689596e-05, 8.848889041089723e-05, 8.381060662980823e-05, 7.56457264261155e-05, 6.378374433053136e-05, 6.253180240002594e-05, 6.457757239921036e-05, 6.945886525411614e-05, 7.571796110957404e-05, 6.957628457929698e-05, 6.999766740414276e-05, 6.729766377053848e-05, 6.361980918875223e-05, 6.272838579011547e-05, 5.953273681916096e-05, 5.5137669907843287e-05, 5.344527010101922e-05, 5.273102664900463e-05, 5.0529180234484194e-05, 5.080062527083027e-05, 4.630184967399022e-05, 4.419278894071258e-05, 4.6122036038539045e-05, 5.1153589962543834e-05, 5.023922149448296e-05, 5.180897515178351e-05, 4.6633444322947574e-05, 4.483558955505621e-05, 4.3043707233324185e-05, 4.325447319366634e-05, 4.71950479062418e-05, 4.573753939348601e-05, 4.6512423546338014e-05, 4.5487471457667035e-05, 4.73614477010929e-05, 4.5537053866400375e-05, 4.4389764841867125e-05, 4.54323016952081e-05, 4.249582835457149e-05, 4.635010021218754e-05, 4.5116537590513575e-05, 4.875970337555232e-05, 4.961838822506508e-05, 4.600935492676646e-05, 4.4179602885633735e-05, 3.728171033815357e-05, 3.410247114414004e-05, 3.879352687495048e-05, 3.9369349277921685e-05, 4.040585442848747e-05, 4.021459751325239e-05, 5.060163583162653e-05, 4.680210464700399e-05, 4.332630892473019e-05, 3.576083079153668e-05, 4.353943651111692e-05, 4.710014786266076e-05, 4.6477332251675346e-05, 4.0143440144617935e-05, 3.914405474949669e-05, 4.946606410480339e-05, 5.750076879514575e-05, 6.212871169125337e-05, 6.271927656972985e-05, 6.575321735416542e-05, 6.530004158509743e-05, 6.669104676056012e-05, 6.372305179784082e-05, 6.585197917859979e-05, 6.0899755259571274e-05, 5.8161905790183284e-05, 5.2898392991954965e-05, 5.139614886370004e-05, 4.737832645072971e-05, 4.830753950342171e-05, 5.1016077947294514e-05, 5.4047160070901405e-05, 6.0262675321948434e-05, 5.6927957217636696e-05, 5.2875788313434974e-05, 5.8307589719861644e-05, 5.3002652130507884e-05, 5.262212467155206e-05, 5.4053545501007564e-05, 5.447341214967867e-05, 5.125766566602609e-05, 4.450665932237571e-05, 3.725018219840732e-05, 3.64854297844093e-05, 4.239375237472226e-05, 5.3360519243317076e-05, 5.787624151334389e-05, 5.4265643541928924e-05, 5.2792328914520076e-05, 5.333989196169118e-05, 6.113671649623136e-05, 7.020955369885928e-05, 6.750892027929928e-05, 5.849225868413405e-05, 6.0178386262559425e-05, 6.054491042279086e-05, 6.266816666360747e-05, 6.378925514328634e-05, 5.4789930635786485e-05, 4.400817322477729e-05, 3.735001900195205e-05, 3.525342390897234e-05, 3.747308637122262e-05, 4.31753757267488e-05, 4.579293596669398e-05, 5.6615197810228313e-05, 6.0524044214549894e-05, 6.004674661319442e-05, 5.49731469407197e-05, 5.062428836474422e-05, 4.61839285578905e-05, 4.515352749822702e-05, 4.63618695237885e-05, 4.8058405735706385e-05, 4.562103731075897e-05, 4.0747859060773114e-05, 3.8323465308710384e-05, 4.284035750538882e-05, 4.3349526050233336e-05, 3.6855835750147275e-05, 3.095255401089253e-05, 3.0992880195511174e-05, 3.400389693000476e-05, 3.1173384822247074e-05, 3.5315999946051034e-05, 3.487972128734966e-05, 3.1651872211501726e-05, 2.8426193704627078e-05, 2.428055377026751e-05, 2.2712643253540266e-05, 2.1091393194441055e-05, 1.9982310613498145e-05, 1.4341735123922112e-05, 1.2841236803478518e-05, 1.8293287449965783e-05, 2.1869621041262667e-05, 1.9047440621893734e-05, 1.0932840921807326e-05, 8.826626930007994e-06, 1.0239130156635586e-06, 2.094287508323002e-09, 2.6381022279108077e-09, 8.317385883389258e-08, 6.120977656870049e-07, 1.9920725943640296e-06, 2.7882593306994892e-06, 4.379076405917985e-06, 7.912903715954295e-06, 1.7262487074254012e-05, 1.7346728377525374e-05, 1.3407794157459433e-05, 1.4326278660517224e-05, 1.707342015584358e-05, 1.2573096903031328e-05, 1.1051754307503066e-05, 1.3782311731876054e-05, 1.4009188336127805e-05, 2.2277707414018684e-05, 2.9868300727037866e-05, 3.8719946507774474e-05, 3.713301452704349e-05, 3.927550974243988e-05, 3.678396866738286e-05, 3.23483864051225e-05, 3.2555416441283776e-05, 3.2237683819741496e-05, 2.679768338998136e-05, 1.775721635153364e-05, 5.99883130502161e-06, 2.242943920478851e-06, 4.625376955141395e-07, 1.7117076121089962e-08, 1.0018836514642197e-11, 1.46076359133253e-11, 1.4799990777851762e-11, 1.5053445318917935e-12, 2.983485027136397e-12, 4.072188884618496e-15, 1.2560772844107585e-11, 8.626690619048644e-12, 1.1024687099831437e-11, 3.3067910063203684e-12, 4.066660519087782e-15, 4.0667847413801935e-15, 1.9842251471343746e-11, 4.072156766628773e-15, 1.9318416519958302e-12, 1.0193389999498329e-11, 4.0721352083331456e-15, 1.3415782402925198e-12, 5.990341738105565e-12, 1.1352162449175793e-12, 7.51974906835448e-10, 1.4296960417089896e-06, 6.468161072578835e-06, 1.0979754378153237e-06, 1.9313388186368153e-10, 4.072947202831966e-15, 4.0722426372285506e-15, 4.069928843630754e-15, 7.378130862573249e-12, 2.1177908023621448e-12, 4.969830000252587e-12, 4.0754852923480945e-15, 8.835956484056169e-12, 2.087393035309163e-09, 3.177769024767668e-06, 1.0252070435672554e-05, 1.4231107349738716e-05, 1.260704974898726e-05, 1.1079697565163593e-05, 1.4460609336572944e-05, 1.1545842677263974e-05, 1.0240513051699686e-05, 1.495176831974578e-05, 1.3825613131569213e-05, 9.074673274479262e-06, 8.410192449181495e-06, 5.95276005684375e-06, 7.003845257572942e-06, 1.2442146870545689e-05, 1.1953416496804699e-05, 1.1228000160252545e-05, 1.1090559914134062e-05, 9.859629177017049e-06, 7.239600629589258e-06, 1.1860534069767818e-05, 1.7249132887507486e-05, 1.6139138938220936e-05, 1.8854607099979297e-05, 1.7524214536824355e-05, 1.0644722410796563e-05, 1.1978627036947379e-05, 1.0507845384065885e-05, 9.88624197584239e-06, 8.734024688818408e-06, 5.267639965627682e-08, 4.078016856766758e-15, 4.0766882111056784e-15, 4.076808517175532e-15, 4.076858021952685e-15, 6.936383745972216e-12, 4.074558899203766e-15, 1.8714909282153365e-12, 3.865472201439603e-12, 6.695389234848431e-12, 6.766239350308658e-12, 5.286723490632851e-12, 1.879796542269537e-11, 1.2152778407723375e-11, 4.077450412639516e-15, 4.0788300972191344e-15, 4.079335722812712e-15, 1.4541324602455015e-12, 2.4804454472871543e-11, 2.7996844986062826e-11, 5.995399380067807e-10, 1.0303605487299424e-07, 1.451758971672663e-06, 4.8507702945737905e-06, 1.2254731481303485e-05, 1.7231032451893964e-05, 1.1045919663487822e-05, 8.902370368384033e-06, 1.7676522201470764e-05, 2.602341390728308e-05, 2.764783685155964e-05, 2.3031824257120342e-05, 2.0887646509886576e-05, 1.9119786501882276e-05, 1.6389920752761292e-05, 1.2144524814502336e-05, 4.970346475946866e-06, 2.176143946983671e-06, 6.1452268843214614e-06, 6.5331908067840775e-06, 6.954889203499616e-06, 8.125017111541098e-07, 3.6510487953656403e-10, 4.072791778955309e-15, 7.2703244386146305e-12, 4.073812061447483e-15, 4.0732745503184205e-15, 1.0357445257720395e-11, 4.199656074256904e-07, 4.342553355512215e-06, 5.53114297729377e-06, 1.882777658676609e-06, 4.626183433138732e-08, 1.0260104927212046e-08, 3.688646394473165e-09, 4.315279491862311e-09, 1.2239337993046932e-07, 1.2006076766507001e-06, 7.279676995320064e-06, 1.141900691583e-05, 1.0505951394925402e-05, 1.0606037789193173e-05, 1.360717289941608e-05, 7.127079944783309e-06, 5.417048457198292e-06, 4.718556468540067e-06, 2.6952548200231412e-06, 1.282889531715608e-06, 9.11287437450921e-06, 2.738201231973687e-05, 4.3279568847226746e-05, 5.0041823160138005e-05, 3.852562398001232e-05, 2.6457298284077455e-05, 2.7035138683452483e-05, 2.8532685472278257e-05, 2.4174150985206467e-05, 1.8308849028817427e-05, 1.566937352638392e-05, 1.4574248145829251e-05, 2.3127956524966032e-05, 2.571525648877294e-05, 2.1635034462898696e-05, 1.5657110784582177e-05, 1.4782054500126885e-05, 2.0209087047894177e-05, 2.916233341871618e-05, 3.12530579464881e-05, 2.9412392524642193e-05, 3.6524330402396934e-05, 4.3588214841298164e-05, 4.287201224953225e-05, 3.7514704847731214e-05, 3.1031557997552625e-05, 2.5939998584839736e-05, 2.0938623116024997e-05, 2.0872412576777747e-05, 2.7557956118811752e-05, 3.149029871982179e-05, 3.142848111717342e-05, 2.8046362872053287e-05, 3.3237996071876477e-05, 3.1448070230278144e-05, 3.64973665058291e-05, 3.481630212022429e-05, 3.5518797993335623e-05, 3.01124674388811e-05, 1.9576355531992535e-05, 1.0985358666863388e-05, 1.1869325762759054e-05, 1.7619277856491178e-05, 2.4137400210281184e-05, 2.2466715607171862e-05, 1.863358672678997e-05, 1.4759410597520602e-05, 8.688372972874963e-06, 9.459424643937332e-06, 4.63051595727015e-06, 2.1726095347446582e-06, 6.098546677346088e-06, 1.550578355422014e-05, 2.943595771164235e-05, 3.125933999325306e-05, 2.0914205197647533e-05, 1.1717868838139836e-05, 2.707050171071928e-05, 3.415774206034121e-05, 2.3013597515442023e-05, 1.670419847187004e-05, 1.2457458733230922e-05, 1.2869601259459914e-05, 2.653934414490151e-05, 3.2937674232161624e-05, 2.8376793293649047e-05, 3.331879958856117e-05, 3.5376351790355176e-05, 3.7978171663410945e-05, 3.490281333186572e-05, 2.6657246651506446e-05, 2.379252301752272e-05, 2.8566437174551538e-05, 3.508317935216309e-05, 2.598171975971776e-05, 2.1607879191927992e-05, 2.2011792399238114e-05, 2.004935700712177e-05, 2.555929407456106e-05, 3.1021626586981316e-05, 3.048297645027366e-05, 2.7984765796689762e-05, 2.5182865626815477e-05, 2.3119710643426846e-05, 1.475216384030007e-05, 1.0913547692591773e-05, 9.185787836848481e-06, 1.2601012523725975e-05, 1.5021417589593642e-05, 2.2212267389413928e-05, 2.673058649229444e-05, 2.077765522318003e-05, 2.4559017851803806e-05, 4.443995978569104e-05, 4.945619546606655e-05, 4.391217256768355e-05, 3.7110752930876266e-05, 3.2952645974373146e-05, 2.6738330032939776e-05, 2.1286984687823802e-05, 1.9777988534451254e-05, 2.503420527701222e-05, 3.382097478661292e-05, 4.265444785288926e-05, 4.621558101550445e-05, 4.78504536587655e-05, 4.452290474532163e-05, 4.410818935891607e-05, 4.443832553673176e-05, 3.804585181026681e-05, 3.581134718575539e-05, 3.275120613811867e-05, 2.8725968643007032e-05, 2.5488444464598793e-05, 3.0138718066174336e-05, 2.7781111836453866e-05, 2.7500768777067343e-05, 2.6917975370031626e-05, 3.037073743918635e-05, 3.609199107006479e-05, 4.2314659054790703e-05, 4.160963464200728e-05, 3.98577978073987e-05, 4.329853949136016e-05, 4.970167545398827e-05, 5.466015479412606e-05, 5.068562097744723e-05, 4.341523789630067e-05, 3.9719679141636405e-05, 3.381084447742149e-05, 3.2007871333339384e-05, 3.2090500790196807e-05, 2.7865301812208396e-05, 2.9667385905647836e-05, 2.9499399515449525e-05, 3.607462603240429e-05, 3.869277771487657e-05, 3.85357883278595e-05, 3.3187165936474094e-05, 3.3651819079583415e-05, 2.948782987534583e-05, 2.559758252810928e-05, 2.5812510674112213e-05, 2.5888238164813483e-05, 2.9864973870206226e-05, 3.3556797432469e-05, 3.1830204727730616e-05, 2.6152589795359385e-05, 2.290145490486837e-05, 1.8144053368122297e-05, 3.061585971759385e-05, 3.427156625191355e-05, 3.4123529070076905e-05, 3.6146883687051745e-05, 3.994481927527414e-05, 4.4552542293922024e-05, 3.817675925158591e-05, 2.111276820380352e-05, 1.3490758230358113e-05, 2.1035121997053208e-05, 3.1240480214757945e-05, 3.269250445127486e-05, 3.016052593846381e-05, 2.467771702646796e-05, 2.0938007508287796e-05, 2.6192655951034767e-05, 2.729358995892479e-05, 2.7167681516014025e-05, 2.7970393102949333e-05, 3.384283847182303e-05, 3.36877479157017e-05, 3.301672815395425e-05, 3.180458621099697e-05, 2.4999862785848116e-05, 2.9282984549007847e-05, 3.544617553640055e-05, 2.1760298364148456e-05, 1.1838265726203352e-05, 7.582146374814737e-06, 7.3256687462449e-06, 1.483801112044815e-05, 2.465650643927623e-05, 3.1664904480673335e-05, 2.4927010712517245e-05, 2.4542205898150543e-05, 1.24502279800255e-05, 8.312690209280606e-06, 9.353529590292144e-06, 1.665273022971957e-05, 2.679579510891457e-05, 3.707681289070205e-05, 3.7712995055589806e-05, 2.9193790254481875e-05, 3.43035453418976e-05, 3.710616510485233e-05, 3.4649914292071834e-05, 4.208442532537912e-05, 4.07127944855868e-05, 3.4499931915111414e-05, 3.0818116855369594e-05, 2.583905285799027e-05, 2.087592902621915e-05, 1.3895078356007336e-05, 1.14590231355438e-05, 2.1111956706554756e-05, 3.57422182516497e-05, 4.3860863894324346e-05, 4.190852481629345e-05, 3.532922961644801e-05, 3.350562752063986e-05, 3.502557396840093e-05, 3.1235354643340094e-05, 2.324415386868909e-05, 1.7909790843039284e-05, 1.759130015411117e-05, 2.1272611106386176e-05, 2.075751495635303e-05, 1.839225734909037e-05, 1.3982082719557516e-05, 1.3798904452780947e-05, 1.570837147165185e-05, 1.9044368283450065e-05, 2.2565459124065845e-05, 2.4410203847246613e-05, 3.114328541746731e-05, 3.653359512056048e-05, 4.183202037731469e-05, 4.347765514706606e-05, 4.091038589395211e-05, 4.059760952674189e-05, 4.024198717381755e-05, 4.001165950934749e-05, 3.899577948046892e-05, 4.089145695114278e-05, 4.2839158851528185e-05, 3.9612569872358564e-05, 4.0159713330968254e-05, 3.888588044171565e-05, 4.000925155507058e-05, 4.4949741267912476e-05, 4.1011683428353824e-05, 3.667560793612652e-05, 3.6846043781885194e-05, 3.6838888307871775e-05, 3.3354492725213826e-05, 3.388298796766746e-05, 3.7771197812899587e-05, 3.831860152978547e-05, 3.4149133522064635e-05, 3.196455108019797e-05, 3.5035670644258036e-05, 4.0847457517832014e-05, 4.294802534984251e-05, 4.07334141672032e-05, 3.2153491572234336e-05, 3.706962014366425e-05, 3.951054817378637e-05, 3.930904194521325e-05, 4.053673509842662e-05, 3.420649352419942e-05, 2.961030967733832e-05, 4.7733334786515966e-05, 4.886205588692069e-05, 4.41161874585175e-05, 5.0712537757429676e-05, 6.071838257597855e-05, 6.471493217559833e-05, 6.200218043716051e-05, 5.953469645065036e-05, 5.8534291473549295e-05, 5.518174893945884e-05, 5.220341579870569e-05, 5.11409451093558e-05, 5.138208001361656e-05, 5.598131741512248e-05, 5.501877620714621e-05, 4.562428638704526e-05, 3.12175322776376e-05, 2.360670802672964e-05, 2.2432316775641445e-05, 1.870144994277736e-05, 2.0939477839834043e-05, 3.364940894109733e-05, 4.2678382997359515e-05, 5.3119480575775386e-05, 5.2616812433274605e-05, 4.7959377414511826e-05, 3.622498812088026e-05, 3.138747620763118e-05, 3.2739748761198314e-05, 3.899159482104279e-05, 5.018893303996158e-05, 4.67948340942986e-05, 4.5270231800071405e-05, 5.045619254425914e-05, 5.361506894897636e-05, 5.83142707058816e-05, 6.68678717304237e-05, 6.623692227006644e-05, 5.9327687821558136e-05, 6.161371387217392e-05, 5.986681264116657e-05, 5.5948982437689286e-05, 5.133149772709553e-05, 4.8862522179145885e-05, 5.368401144564672e-05, 5.8613842020041585e-05, 6.867438024394125e-05, 7.339313769584478e-05, 6.391014758545447e-05, 5.773087747144174e-05, 5.46283296920106e-05, 5.836559376228808e-05, 5.9403551619340145e-05, 5.149211150794715e-05, 5.2681613289843774e-05, 5.48590885594666e-05, 6.389947703478725e-05, 6.621102021634136e-05, 6.902741740825225e-05, 7.494871001903024e-05, 7.668414432503836e-05, 7.58542370643309e-05, 7.20470185011247e-05, 6.39536811460665e-05, 6.30193059100486e-05, 7.63974135262172e-05, 9.047336488317547e-05, 9.040840673721851e-05, 7.655241767306465e-05, 7.631142670319754e-05, 7.560699417966118e-05, 7.632009725403988e-05, 7.195167877388373e-05, 6.793518770231287e-05, 6.478841568730826e-05, 6.43604986388906e-05, 7.135099934699303e-05, 8.508839755665763e-05, 8.566530141045148e-05, 8.752593227129586e-05, 9.142128595427426e-05, 8.891247942184359e-05, 8.033045217356072e-05, 6.98484336831848e-05, 6.440041960995134e-05, 6.001991838210838e-05, 7.007302310446927e-05, 8.385699079425784e-05, 8.827258128233334e-05, 8.40144799831172e-05, 8.17230401327367e-05, 7.964255826642295e-05, 7.915564394033024e-05, 8.115949087488592e-05, 7.448145480506765e-05, 6.807693628728515e-05, 7.464952407936902e-05, 7.305235275685009e-05, 7.060994620528771e-05, 7.302553855211539e-05, 7.369734431888983e-05, 7.60296483942516e-05, 7.06773465999342e-05, 6.914101558520277e-05, 6.783282814214532e-05, 6.0567381382033245e-05, 5.959139194785327e-05, 6.607522059861944e-05, 6.770369127546244e-05, 6.919556846870464e-05, 6.487008024491685e-05, 6.813031241313555e-05, 6.969483032188266e-05, 7.458112427168554e-05, 7.838160838878e-05, 8.174398579724728e-05, 7.94145919010074e-05, 7.103933581911463e-05, 6.4292366010026e-05, 5.7508741404582034e-05, 4.8556095733718825e-05, 4.603384732137996e-05, 5.09225942222247e-05, 6.208850352559686e-05, 7.549316124799197e-05, 8.549626240319135e-05, 8.633046174506076e-05, 7.661147211472458e-05, 6.134716661322913e-05, 7.16489933026778e-05, 8.037985510318963e-05, 8.245995881732913e-05, 8.594531831765796e-05, 8.038974460795776e-05, 7.98569981592304e-05, 8.062286847743602e-05, 8.433799322006136e-05, 8.12682901421182e-05, 9.359187764297309e-05, 9.089542974436327e-05, 8.317773868290986e-05, 8.317667127417536e-05, 8.054894596575682e-05, 8.018484977890461e-05, 8.122070880227471e-05, 8.521556537788115e-05, 9.009710954206276e-05, 9.219026787910464e-05, 9.826595678685639e-05, 0.0001027356406197383, 9.056856794635704e-05, 8.643269337400741e-05, 8.971440013224665e-05, 9.429106658937367e-05, 9.599434640710442e-05, 8.834667907395569e-05, 8.339040503391827e-05, 8.497936655892083e-05, 9.126284482543115e-05, 9.510459824044112e-05, 0.00010136638569630209, 0.00010168318884147967, 9.355153770945156e-05, 9.255739893068454e-05, 8.951439104099864e-05, 9.297136010310326e-05, 9.643763112231576e-05, 9.867630279564358e-05, 0.00010811984736835902, 0.00011362937167929423, 0.000126868211905631, 0.00011797085941114153, 0.0001088938311226155, 8.539184117578655e-05, 8.2780318101864e-05, 9.365416881328438e-05, 0.00010228169311194138, 9.953777241584315e-05, 0.00010008783827200653, 0.00010418541900180333, 0.00010384902440210545, 0.00010259413251939532, 0.00011000526075111702, 9.94635896608422e-05, 0.00010844386331123927, 9.912470564380234e-05, 8.830349595975639e-05, 7.956586246214128e-05, 8.586248380646237e-05, 9.749458318846033e-05, 0.00010539449267080095, 0.0001104334062103986, 0.00010672771125774355, 0.00010515476911335303, 0.00010802055809287149, 0.00010459742146830317, 9.991286363432373e-05, 9.414482944101927e-05, 8.877854288234007e-05, 8.897120246051776e-05, 9.087687364167447e-05, 9.13142253855e-05, 8.588164627806474e-05, 8.913611234753623e-05, 7.800159900324002e-05, 8.614585877711223e-05, 8.799746383483135e-05, 8.793640641659978e-05, 9.113963688551959e-05, 9.461158395280403e-05, 9.886640754541354e-05, 0.0001016915346653095, 9.946337624246263e-05, 0.00010049802231321776, 0.0001081336595673089, 0.00011191841597540665, 0.00010785097646289975, 0.00010497007636325978, 9.71696707305393e-05, 8.628997116268026e-05, 8.648776782773912e-05, 8.234393255750891e-05, 8.24395182530503e-05, 8.340978062803694e-05, 8.452663855882039e-05, 8.916809869192373e-05, 9.828779031121873e-05, 0.0001075102819149313, 0.00010707581397521992, 0.00010087001404333689, 8.750153575199507e-05, 8.933128775669475e-05, 9.048021955091171e-05, 9.358441549905858e-05, 9.213130104409716e-05, 0.00010883872266355978, 0.00010539892221866052, 0.00010366300719626791, 9.752342631748408e-05, 0.00011347520145808849, 0.00011325910391395155, 0.00010425755553758851, 8.69965353101709e-05, 7.695862391959023e-05, 7.84807971975954e-05, 8.301344259719908e-05, 8.871432060300731e-05, 9.189688079558816e-05, 9.589263277887159e-05, 9.784970962143294e-05, 0.00010279232080508503, 0.0001088698787454349, 9.387171447692349e-05, 8.737819342447765e-05, 8.475144101880476e-05, 8.221169750567228e-05, 8.616924022477408e-05, 8.704457845685497e-05, 8.363901803155252e-05, 8.100309953512096e-05, 7.81145208752899e-05, 8.517222380882132e-05, 8.64190803625541e-05, 8.301379682682955e-05, 7.815220858490555e-05, 8.265029046033625e-05, 8.038255515141222e-05, 8.274248818436416e-05, 7.798095947144047e-05, 7.550019078495212e-05, 8.263751171268083e-05, 8.891941353746308e-05, 0.00010276758738577721, 9.119738729742146e-05, 9.925213606565182e-05, 9.04421280969352e-05, 8.236862440296225e-05, 7.550536225357325e-05, 9.195850008747797e-05, 9.277619560545818e-05, 8.594792560559225e-05, 8.556723030633451e-05, 8.609878506455941e-05, 8.238309271748248e-05, 8.505754544048269e-05, 7.314335747111154e-05, 9.006234011242952e-05, 9.21517245095377e-05, 9.275041357098294e-05, 7.945894489281689e-05, 7.316867234635782e-05, 6.852556100068521e-05, 7.048873159120527e-05, 8.287992914610714e-05, 8.630187842854553e-05, 8.99091918888469e-05, 8.954493343577972e-05, 7.95674897030157e-05, 7.869861359899462e-05, 8.004822733034884e-05, 7.752104179372938e-05, 7.81638445387171e-05, 7.540472322698939e-05, 7.510866516210285e-05, 7.818677474124658e-05, 7.518051499546586e-05, 7.612099932173946e-05, 7.33244286210642e-05, 8.114937284633236e-05, 8.958857942386286e-05, 9.644467416536375e-05, 9.458900165819056e-05, 8.636589583802607e-05, 8.201933891896332e-05, 7.690325517392499e-05, 7.419171499554333e-05, 7.628099067824316e-05, 8.03373080694727e-05, 8.264323272814623e-05, 9.108802902719362e-05, 8.71231981011682e-05, 7.81329301386219e-05, 7.861716878854619e-05, 7.806050189095408e-05, 8.231852041852394e-05, 8.425783010948129e-05, 8.576196720088988e-05, 8.631223711830024e-05, 9.582560845036703e-05, 0.00010539156713043912, 0.00010620904742050173, 0.00010025616743845151, 8.787720214042439e-05, 9.43552098213844e-05, 9.636813574105492e-05, 8.719362081303541e-05, 9.800481207712749e-05, 0.00010356563566203614, 8.699499828678077e-05, 7.758635787159482e-05, 7.129019609503517e-05, 8.67058532470562e-05, 8.294549828907061e-05, 8.044813400711623e-05, 7.990355840603674e-05, 7.587949891489931e-05, 7.507460494326428e-05, 7.176514460948754e-05, 6.817110555467298e-05, 6.555682718084138e-05, 6.774854919297648e-05, 7.765587947175958e-05, 8.870441508968032e-05, 9.3332627117845e-05, 8.17549613518257e-05, 7.789008715918249e-05, 7.416158889556083e-05, 6.0017144930350746e-05, 5.605708751154179e-05, 6.281393429148064e-05, 6.682458762283536e-05, 6.80159870542352e-05, 6.144296808458556e-05, 6.322141917374894e-05, 6.653589577708739e-05, 6.798484997823385e-05, 7.202223404205346e-05, 7.093046635146375e-05, 6.160513286442525e-05, 5.810220564400322e-05, 4.977563711253794e-05, 5.594546270898132e-05, 5.708935572408877e-05, 5.4266143972998506e-05, 5.570945364689605e-05, 6.152624316172705e-05, 6.725210591392815e-05, 6.817108436381682e-05, 5.415841159365489e-05, 5.273140345640234e-05, 7.12809052379297e-05, 7.854333882533721e-05, 6.92704190502814e-05, 6.284618378931143e-05, 5.56088649791142e-05, 5.568772159673931e-05, 6.32713715814605e-05, 6.37112011969215e-05, 6.791928595633645e-05, 7.81030195012737e-05, 8.781473419010092e-05, 7.34180581550007e-05, 6.30637786350072e-05, 6.575905339367303e-05, 6.205811032745051e-05, 7.287626078357964e-05, 6.981819230861742e-05, 7.605097911250836e-05, 8.541849965866369e-05, 6.846428865553655e-05, 6.909888689642296e-05, 7.717576588770367e-05, 7.362767610426211e-05, 7.394484656421457e-05, 6.823616151699633e-05, 6.668185647960826e-05, 7.122091882997845e-05, 6.846711931469706e-05, 6.703946422178911e-05, 6.427455047302005e-05, 6.994297154195133e-05, 7.446352303618199e-05, 7.710979219797096e-05, 7.204813190050056e-05, 6.24791370972414e-05, 6.214748542391213e-05, 7.142854285638915e-05, 7.353032485073031e-05, 6.63687543331788e-05, 5.885626897654125e-05, 6.147098987286839e-05, 7.480628188547208e-05, 7.583447728439157e-05, 7.712713787852691e-05, 8.054835052196177e-05, 7.474903446426618e-05, 7.944338749621378e-05, 7.696328350181816e-05, 7.103779189600007e-05, 6.526860249717036e-05, 7.412300957868888e-05, 8.342020967191844e-05, 7.606735321854827e-05, 7.265553508668831e-05, 6.678203495877533e-05, 7.184951127821944e-05, 6.995706014417559e-05, 6.0457196668490454e-05, 6.714607439185731e-05, 7.489730137080338e-05, 6.650631614620212e-05, 5.6746842941329085e-05, 4.506341202643104e-05, 5.729381490456854e-05, 5.881324448602807e-05, 5.445595389486325e-05, 5.756866957173659e-05, 5.8391334417684236e-05, 5.8708418581165295e-05, 5.226434496609688e-05, 5.141825382451746e-05, 4.647300689950803e-05, 5.0426342899190035e-05, 6.66479820719526e-05, 7.454216620122041e-05, 7.365584259547425e-05, 6.622485814854869e-05, 6.730742369194413e-05, 6.850794351956541e-05, 5.854372458872001e-05, 5.61017484994725e-05, 6.0293965716946596e-05, 7.001165858370135e-05, 7.602526905323235e-05, 7.419080590465809e-05, 6.691356942650049e-05, 7.374829779006603e-05, 7.906853983217107e-05, 8.17986328165285e-05, 7.539684927679998e-05, 6.536768136919209e-05, 5.5985264232028896e-05, 5.610798345165151e-05, 5.734147660817984e-05, 5.738595020574293e-05, 6.48021294765183e-05, 6.383604229451411e-05, 6.38444143123042e-05, 7.642381167516811e-05, 8.802870912191758e-05, 0.00010795458756393277, 8.923829875751227e-05, 9.50355240149001e-05, 8.313584184563786e-05, 6.537018069641339e-05, 5.592046976314547e-05, 5.2651542289899375e-05, 6.067308704002028e-05, 5.703806472994188e-05, 5.6352717213727785e-05, 4.835751563171336e-05, 6.498593204080502e-05, 7.833918203636237e-05, 8.609707467771223e-05, 7.73015190572621e-05, 4.035804242839377e-05, 4.3658522807394254e-05, 4.978883231304624e-05, 5.260722667769593e-05, 6.136253982999738e-05, 5.3648135088337874e-05, 6.182974931630687e-05, 7.04890102228839e-05, 7.580389577013021e-05, 7.015433800924847e-05, 6.664928298057478e-05, 6.091647000152082e-05, 6.940906617458304e-05, 6.358149307768837e-05, 6.273327966743938e-05, 6.698880044175735e-05, 6.715583321829184e-05, 6.306095665169677e-05, 6.54735634000581e-05, 7.153398826212435e-05, 7.514268147686484e-05, 7.594611292878386e-05, 7.128557613319202e-05, 6.949663603312295e-05, 7.163727090091344e-05, 5.997019182403434e-05, 4.3756069619298044e-05, 4.65347302922915e-05, 5.5774572021702085e-05, 5.357091818455764e-05, 5.718140562560634e-05, 6.0911532595725416e-05, 5.9286505338367087e-05, 5.624195196030804e-05, 5.29698104492177e-05, 4.9165077755638456e-05, 5.120286608651082e-05, 5.560445830881392e-05, 6.908173101115338e-05, 7.054586173096649e-05, 6.953198672811002e-05, 6.86037522194203e-05, 7.754163757696573e-05, 7.676421799542126e-05, 7.33547352450385e-05, 7.536634439203997e-05, 7.665480012421261e-05, 6.724360421340891e-05, 5.3230739963392735e-05, 4.276917381093523e-05, 5.1683656161794176e-05, 4.8304816362869635e-05, 4.3611837047121055e-05, 4.6161106440748814e-05, 4.372628870492048e-05, 4.328472695581898e-05, 4.310400120831162e-05, 4.2485701872762056e-05, 4.006488274434265e-05, 4.066447582777171e-05, 4.241474454100435e-05, 3.827335659181002e-05, 3.723783499092912e-05, 4.818387662644771e-05, 5.2908597765643356e-05, 5.123920271744373e-05, 4.920724171135521e-05, 4.8277790419539295e-05, 5.139914284660476e-05, 5.154258246470159e-05, 4.747007142951895e-05, 4.997353363447776e-05, 5.9805907852946744e-05, 7.171414153229988e-05, 6.906807257017582e-05, 7.376142660992912e-05, 7.304135266237731e-05, 7.027771276520487e-05, 7.36309404460317e-05, 6.723144822255682e-05, 6.188022700488868e-05, 6.303653916504605e-05, 6.27509637703398e-05, 5.2858932022368043e-05, 4.4505110350441805e-05, 4.783324609941182e-05, 5.319813601627853e-05, 5.235226546888893e-05, 6.458021323062507e-05, 6.242825356362027e-05, 5.2670088792981135e-05, 5.17813287389366e-05, 6.479250495224034e-05, 5.6694750562018505e-05, 5.476647796728317e-05, 4.860658907441382e-05, 5.104453695825178e-05, 4.240541244929379e-05, 6.232746654043359e-05, 6.584937902685389e-05, 6.682097513284413e-05, 5.742944068489005e-05, 5.454016326476225e-05, 4.8676859299278874e-05, 5.661021978192257e-05, 5.812748881879969e-05, 5.590995007811343e-05, 4.7118116181289116e-05, 4.978095549756539e-05, 5.019496596463275e-05, 5.341442418028068e-05, 5.7774759485454175e-05, 6.495759600500518e-05, 6.510777539304968e-05, 5.797991635310149e-05, 5.986379359275432e-05, 6.186080125252908e-05, 5.7979065791933894e-05, 6.439546119562895e-05, 6.641978211383563e-05, 5.8042573623245926e-05, 5.216898198477332e-05, 5.736392385653631e-05, 6.155902563635609e-05, 6.0568304539514205e-05, 6.251360524861223e-05, 5.99549316265218e-05, 6.148292702960649e-05, 5.85736698363449e-05, 5.187236622416589e-05, 4.690620093438672e-05, 3.507000730762638e-05, 3.303304366915527e-05, 3.5835309964897016e-05, 4.1628779414882815e-05, 3.976902321388094e-05, 3.994010843342273e-05, 3.40699669912169e-05, 3.5498142017339415e-05, 4.184876842366574e-05, 5.1078409251998644e-05, 5.2733633663549846e-05, 5.822795206063474e-05, 6.124820363874415e-05, 6.051504785628712e-05, 5.326424892212208e-05, 4.906377711133687e-05, 5.472068415701585e-05, 5.6089923558756474e-05, 4.679509259454517e-05, 4.031916088565638e-05, 3.248180685643548e-05, 3.1748544329635126e-05, 3.0437500062910002e-05, 3.268024498818003e-05, 4.00057702557906e-05, 4.2909435599802524e-05, 3.914555875430365e-05, 3.6151124589633423e-05, 3.0491731614419224e-05, 2.8659233918112014e-05, 3.2353992487863094e-05, 3.798491274355961e-05, 3.355969718433892e-05, 1.976496956554286e-05, 1.9765917386504213e-05, 2.042680552892853e-05, 2.2406846416314782e-05, 3.061838708667284e-05, 4.147825816552673e-05, 4.166767886387657e-05, 4.024884803837362e-05, 4.7269511729134264e-05, 5.31827242821969e-05, 4.8431967642885494e-05, 4.6771122313944e-05, 4.199477050056828e-05, 3.9109299551809086e-05, 3.88268177994887e-05, 3.274034620481588e-05, 3.363398997774926e-05, 2.8855286601672337e-05, 2.7851309484997655e-05, 3.2656410260329995e-05, 3.614499947045438e-05, 3.6553949882826774e-05, 2.9745856026204566e-05, 2.599695882728278e-05, 3.1845574979279775e-05, 4.070164518520911e-05, 3.740623846566603e-05, 3.057572769332683e-05, 2.625399921849311e-05, 2.4683536262033373e-05, 2.646706936375755e-05, 3.4168441640892404e-05, 3.132739331133717e-05, 3.275762622549145e-05, 2.788182634938596e-05, 3.107371484666093e-05, 3.582513272309414e-05, 3.464185992855416e-05, 4.271913059489768e-05, 4.3718582158570466e-05, 3.84438465613286e-05, 3.979677049060114e-05, 4.929206612357291e-05, 5.321431434137926e-05, 5.2523555696444425e-05, 4.6558824018981464e-05, 4.3903622901886236e-05, 4.5962671544826845e-05, 5.3461741708994904e-05, 6.617951013048345e-05, 7.561489347305456e-05, 7.806580140819891e-05, 7.367500266551743e-05, 7.056658478551762e-05, 7.054664615680426e-05, 8.1362791172072e-05, 8.117578260957916e-05, 7.425122223221312e-05, 5.934406832693241e-05, 5.613794648072102e-05, 6.199972021250414e-05, 6.099006457372723e-05, 5.653315621060849e-05, 5.7376536053391055e-05, 5.919682657851495e-05, 6.08333217262761e-05, 5.9720121703266284e-05, 4.232990133167058e-05, 3.0052532661839353e-05, 2.242212258601431e-05, 2.761057125794477e-05, 2.894862990223188e-05, 2.8387630138516942e-05, 2.551021798190063e-05, 2.8859038254430096e-05, 3.1294128207451676e-05, 3.4352412042940836e-05, 3.7806061267423904e-05, 4.1490358496570867e-05, 3.9859334184666186e-05, 4.3566884362511095e-05, 4.4279995112040696e-05, 4.6232534757529444e-05, 4.38326236627726e-05, 4.062934877843749e-05, 3.796269955527007e-05, 3.467177671409046e-05, 2.9102385797983566e-05, 2.7465355378543493e-05, 2.738752346057219e-05, 2.762195803926553e-05, 3.323303336608438e-05, 3.747928596372612e-05, 4.0673535666592776e-05, 4.07518020206806e-05, 3.835303067750533e-05, 3.595822630949999e-05, 2.942235021990312e-05, 3.069313130901446e-05, 3.6324379564283825e-05, 3.97689478525233e-05, 3.371963492579343e-05, 1.958095331232911e-05, 2.0597144022315754e-05, 2.393078651261995e-05, 2.9139118297909774e-05, 3.167424705559749e-05, 3.5195789997595564e-05, 3.991346823009938e-05, 4.427750968785289e-05, 4.925256348788327e-05, 5.197709780865158e-05, 5.080541148535561e-05, 5.154731400818544e-05, 5.0738972758966085e-05, 4.9474493878893336e-05, 4.2548667754320195e-05, 3.20123461025272e-05, 3.066860825420085e-05, 2.968386390191657e-05, 2.9164334668731713e-05, 2.8384953482174513e-05, 2.84164623665122e-05, 2.7977639455532335e-05, 1.8918189414533694e-05, 1.8146607975100198e-05, 3.0068375855473525e-05, 4.021415717684233e-05, 3.714406076008472e-05, 2.712204704898887e-05, 1.7546931362219187e-05, 2.1191147157139397e-05, 2.4453577002499035e-05, 2.1295567001311847e-05, 1.92553819087209e-05, 2.7797685842947916e-05, 2.757387499137524e-05, 2.5419115530567123e-05, 2.56873151140902e-05, 2.5788606156413418e-05, 2.599098856853657e-05, 2.4876031396116684e-05, 2.428859204173657e-05, 2.6939921566451898e-05, 2.8678855836297114e-05, 2.9447239304218552e-05, 3.297575664787561e-05, 3.365886694390342e-05, 4.4353723650469314e-05, 4.965816656409354e-05, 5.653178692960307e-05, 6.775439688497897e-05, 6.983654362206293e-05, 6.80663879448703e-05, 6.264619517343569e-05, 5.556163470385781e-05, 5.51020425064149e-05, 6.299278510360803e-05, 6.815055189046058e-05, 6.969818789394388e-05, 5.859582368220881e-05, 5.29216036488103e-05, 5.342275301931325e-05, 5.201306263478303e-05, 4.674878287212759e-05, 4.844442104170442e-05, 4.8666952658957944e-05, 4.473670146468459e-05, 4.259860284300733e-05, 3.7101493927386014e-05, 3.746442089374287e-05, 3.7366452417258456e-05, 3.975334912336954e-05, 3.6409068146884975e-05, 3.119258577060722e-05, 2.6063671278924517e-05, 2.4611313281861917e-05, 2.6896690393152645e-05, 2.9612735651020512e-05, 3.576845871542919e-05, 4.2515069296925886e-05, 4.5105007416279954e-05, 5.1894639721230356e-05, 5.506675015576505e-05, 5.072832410221337e-05, 4.368022702693861e-05, 4.306190216429452e-05, 4.528235695162776e-05, 4.100693342423689e-05, 3.560906042632701e-05, 3.338469465426006e-05, 3.112256495511066e-05, 3.080422643805032e-05, 3.559052999221638e-05, 3.8792608613773315e-05, 3.7406925233145566e-05, 3.830331920392099e-05, 3.8963034113604024e-05, 3.698143929756363e-05, 3.702029094539267e-05, 4.1453855695361246e-05, 4.5077783422491466e-05, 4.5294565486159516e-05, 3.575097777749155e-05, 2.0134328775874978e-05, 2.327974408923479e-05, 2.5050145028626135e-05, 2.569336098396044e-05, 2.6254183182320796e-05, 3.0619322431488206e-05, 3.503052334286475e-05, 3.911239660449798e-05, 4.442891327458046e-05, 4.958994807969352e-05, 5.2991341512593136e-05, 4.8167911658469285e-05, 3.7607605185917e-05, 3.440505593601146e-05, 3.7733077879572074e-05, 3.747746118005111e-05, 3.381669568766925e-05, 3.0362758256149247e-05, 3.0258358580189813e-05, 3.3962990348914425e-05, 4.014312901389621e-05, 4.333468107346407e-05, 3.247598893505319e-05, 2.560614291245989e-05, 3.055228259611468e-05, 3.7211780335721875e-05, 3.751254901515685e-05, 3.19329843047937e-05, 2.6301224157845566e-05, 2.5114511934267242e-05, 2.277052322451873e-05, 1.511745140082914e-05, 1.1516157687273867e-05, 1.7029602842646142e-05, 1.8019955656405486e-05, 2.232729708486466e-05, 2.612096616158916e-05, 2.499873008899932e-05, 2.53160088773485e-05, 2.7019722535768456e-05, 2.5029724772338737e-05, 2.7416512628775122e-05, 2.917068408331542e-05, 2.5007419305278276e-05, 2.9984479375816315e-05, 3.564622023663244e-05, 4.504348560185623e-05, 4.785297100271653e-05, 5.233873506834438e-05, 6.0760747866655764e-05, 6.641913477564933e-05, 6.212260975444686e-05, 5.465205207407285e-05, 4.9078453406534336e-05, 5.141890973106769e-05, 6.0590236375040114e-05, 6.476544038378476e-05, 6.801479125352928e-05, 6.031478625708448e-05, 5.462909728098271e-05, 5.187195720385217e-05, 4.530634159861272e-05, 3.806400499466375e-05, 3.2287993386414534e-05, 3.645037548776012e-05, 4.16979732975617e-05, 4.540944015882712e-05, 3.344073610319549e-05, 2.6097228088402804e-05, 3.333476282002118e-05, 4.135770605836355e-05, 4.390955400787334e-05, 3.625158331903304e-05, 2.5374078300676125e-05, 2.294530008440864e-05, 2.6786807394631154e-05, 2.0775452121912368e-05, 1.3603525111694467e-05, 1.1007280496034907e-05, 1.3262153696237369e-05, 2.4942111169029083e-05, 3.52230496643613e-05, 3.924559770388398e-05, 3.754996023100873e-05, 3.560823041083539e-05, 3.0044997275296905e-05, 2.2304844769909707e-05, 2.1371945845502495e-05, 1.7060706744480934e-05, 1.1246836114072076e-05, 1.2368715464458175e-05, 1.9983357594755536e-05, 2.699305410889652e-05, 2.5747909022575904e-05, 2.8747850104834157e-05, 2.838204564162498e-05, 2.7721472345867316e-05, 2.853676212804927e-05, 2.5079378241507917e-05, 2.2842617205032497e-05, 1.8205902750527316e-05, 1.2448437992911625e-05, 3.77300511922166e-06, 8.350505778787858e-06, 8.193046878453828e-06, 1.1887031308324597e-05, 1.1609958202352421e-05, 1.5233599192200885e-05, 2.393798201271449e-05, 3.323455566040863e-05, 4.1467741829337394e-05, 4.583951958870728e-05, 4.013032682264217e-05, 3.229240175838172e-05, 2.8094652054635495e-05, 2.7201084982553546e-05, 3.226041668835337e-05, 3.552392308060424e-05, 3.328623789190636e-05, 3.559783111377278e-05, 3.382767641425407e-05, 3.252472867511974e-05, 3.6385681730870484e-05, 4.03166496751553e-05, 3.2503716564292864e-05, 3.2722505546183776e-05, 3.691999702336573e-05, 3.7542744674434774e-05, 3.305746567403303e-05, 2.472963177587347e-05, 1.805716487422091e-05, 1.3957707348321833e-05, 1.130665829985899e-05, 5.965608034598424e-06, 1.1843376891437477e-06, 3.187252947212356e-07, 3.496072708018536e-06, 9.920706122858562e-06, 1.9318311653456e-05, 2.5876041409027036e-05, 2.456292786156842e-05, 2.1729378936211878e-05, 2.502128896112437e-05, 2.6488176741685612e-05, 2.6378922326761305e-05, 1.8106087088806723e-05, 1.9921414332320075e-05, 2.521634419947785e-05, 3.469078279041104e-05, 4.340845698248408e-05, 5.2640334445277e-05, 5.521189199087328e-05, 4.5336983450807614e-05, 3.2566392676323755e-05, 2.6393185168998298e-05, 2.310643945455339e-05, 2.9289950668185185e-05, 4.069007177953802e-05, 4.8342687848123924e-05, 5.396894780976354e-05, 4.098501075744362e-05, 3.3528203762028234e-05, 2.9637956666833006e-05, 2.2322611406609563e-05, 1.6605826952327864e-05, 1.4190387721399464e-05, 2.1675200507845324e-05, 3.269139542016939e-05, 3.906265400416783e-05, 3.063643411733817e-05, 2.435069505425988e-05, 3.0248972106226525e-05, 3.2242877093731825e-05, 3.5598978207748893e-05, 3.8225848341790114e-05, 3.539501148708116e-05, 4.010832722661136e-05, 4.4401777923989004e-05, 3.7135418811105136e-05, 2.5102993166606408e-05, 1.8766776517004048e-05, 1.6169874218306294e-05, 2.1230901985844855e-05, 3.0432949450922925e-05, 3.0792148371266675e-05, 2.5612235780588987e-05, 3.042976638440885e-05, 2.8380352174872726e-05, 2.1265164547105336e-05, 1.8447051696820505e-05, 1.723178212051942e-05, 1.6307100473185596e-05, 1.2571423750165874e-05, 1.9886993582820622e-05, 2.3044826821203607e-05, 2.647781710740619e-05, 2.9463685811043743e-05, 2.4973356602656647e-05, 2.101336281658825e-05, 2.0124047670388554e-05, 1.6610540446734222e-05, 5.2648186559904276e-06, 3.526818987627846e-07, 5.877946966356348e-12, 4.0796803378540885e-15, 2.3637443119532894e-11, 4.0541207809327035e-13, 4.078246578371366e-15, 8.075439465315515e-10, 5.041659959899616e-06, 1.6793979947197654e-05, 2.9080942777609625e-05, 3.736641257534707e-05, 3.535446731568137e-05, 2.5098835853962656e-05, 1.806354910772109e-05, 1.4772803789701209e-05, 2.138406694913551e-05, 2.0435202720341473e-05, 1.941836383818407e-05, 2.3040000566318286e-05, 2.867493351707594e-05, 2.962927173020389e-05, 2.8836413096970747e-05, 2.7970684929210135e-05, 2.604884860294114e-05, 2.452043002957521e-05, 2.367486048141322e-05, 2.3793269300974343e-05, 2.2878982612140506e-05, 2.0926122406325147e-05, 1.5128100087898232e-05, 1.18542795527276e-05, 1.045957609178533e-05, 8.726687185219795e-06, 1.01274831861361e-05, 9.013716703894866e-06, 2.3484353410465657e-06, 2.5210352673637954e-06, 3.361433970621677e-06, 2.143764583703883e-06, 2.217549309502806e-06, 2.875394825771747e-06, 3.95059309001319e-06, 7.674314028649389e-06, 1.0747484204596615e-05, 1.1150848170061676e-05, 1.6004715604645183e-05, 1.757594162193066e-05, 1.972075926966703e-05, 2.2216400482816928e-05, 2.5453468771654132e-05, 2.9174801711218268e-05, 2.7963980420157392e-05, 2.632953241829837e-05, 1.9732503730025245e-05, 1.0277821421457332e-05, 5.967280025444676e-06, 1.3008375759284329e-05, 2.1579428512766786e-05, 2.3904628846782037e-05, 2.405890991264207e-05, 1.607807834380853e-05, 1.4910214337888922e-05, 1.5661469534920284e-05, 5.716859135718841e-06, 7.448104639302153e-08, 1.2164564615629247e-08, 2.802552530049625e-06, 1.0843972644700964e-05, 1.5754179037477862e-05, 9.94089873793737e-06, 6.721331352244259e-06, 1.162221509198514e-05, 1.316256621025949e-05, 7.062557928052439e-06, 5.3119832596077754e-06, 6.171278475991311e-06, 8.030716427428788e-06, 3.5880878998583788e-06, 4.581728065612643e-08, 2.415062147134547e-12, 3.918483692056293e-12, 9.362293309881577e-11, 1.6050763189161239e-09, 3.1184097315371864e-10, 1.4318559739796965e-09, 4.767867815470923e-07, 8.373493781647863e-06, 1.0953706219634152e-05, 1.768468870855347e-05, 2.275308741957528e-05, 2.0486101471953002e-05, 1.854849060640636e-05, 1.2772057906247196e-05, 1.8588586366034624e-05, 2.1247283854671032e-05, 2.397209055784527e-05, 2.8967092224372225e-05, 2.070705954993154e-05, 8.457505670933227e-06, 3.902284190448519e-06, 2.4091254963806377e-08, 4.0767798067958284e-15, 3.1087076637544556e-12, 4.209001529650497e-09, 1.0607721112812224e-08, 3.6398319223499654e-08, 2.892304747563485e-07, 4.699212678676401e-06, 1.0775584496341041e-05, 1.3430373329695595e-05, 1.6262833625479784e-05, 1.9516648592152778e-05, 2.4627922696315983e-05, 2.4999113758045954e-05, 1.908124039679332e-05, 1.4578223608807321e-05, 2.2704498510426357e-05, 2.5078667940257597e-05, 2.9544791553204388e-05, 2.8537270440736555e-05, 2.83797865133529e-05, 3.340033512452287e-05, 4.091570351794315e-05, 4.11637795757091e-05, 3.767415235568666e-05, 2.8868726604965813e-05, 2.8728112439018823e-05, 3.1473301589016796e-05, 3.2585167120847794e-05, 3.1903635005876945e-05, 2.8071373986084454e-05, 2.0716328587930888e-05, 2.2289175482793796e-05, 1.4498433711623086e-05, 2.9477982469680627e-06, 7.771727947330413e-08, 3.6468169728724438e-09, 5.688356468050273e-08, 1.1200676037874867e-06, 6.128114925694124e-06, 4.998140560754234e-06, 1.7229773076662808e-06, 3.7046871045926292e-06, 9.957214270176824e-06, 1.564186441600139e-05, 1.545237293725224e-05, 6.6333073416855105e-06, 7.673366633097643e-06, 1.141078639732691e-05, 1.3791204275421178e-05, 1.5045894882559525e-05, 2.901459701671962e-05, 3.207510259065365e-05, 2.5506076595178157e-05, 2.6744157226911076e-05, 2.1635304233412275e-05, 1.2859146043282622e-05, 7.731540738961721e-06, 4.2555783120585245e-06, 1.350449314986699e-07, 8.351130989234473e-12, 5.206793728436276e-12, 6.084578961312277e-12, 4.1370480835075576e-12, 5.869658625839197e-09, 9.132285346311459e-08, 3.0176524363885117e-06, 7.014394491147579e-06, 8.363080304191215e-06, 7.902570396598423e-06, 8.852395343386767e-06, 8.650961033922132e-06, 7.892163274537045e-06, 1.1878904717255516e-05, 1.23955447638813e-05, 9.336833561372286e-06, 4.650565743097843e-06, 4.667256518400628e-06, 3.315269597497729e-06, 2.370248419753805e-09, 3.486379185091522e-12, 8.790073100914008e-12, 8.895894360036387e-12, 1.1404179501477343e-12, 1.0734648214295542e-11, 4.074877391096441e-15, 1.2924624419101713e-11, 3.258194733127417e-08, 1.223216279173485e-06, 6.829347350471275e-06, 1.1962781327454684e-05, 1.2835312519636085e-05, 7.525059178336546e-06, 3.496673911980184e-06, 3.2764564628071877e-07, 7.57159269282065e-06, 2.0252329813946128e-05, 2.471004952771913e-05, 1.478756534924477e-05, 3.827423631188291e-06, 6.130452311386746e-07, 4.037597346736837e-07, 1.0814239088295282e-06, 6.74524001588648e-07, 5.003021574649911e-07, 4.3503936057937955e-06, 4.926452713925297e-06, 2.6197563653801135e-06, 9.313065700554777e-06, 7.4325108692110865e-06, 7.658840918298575e-07, 8.154571309304271e-10, 8.35128453667076e-12, 1.6064156638781726e-12, 3.6222413978336084e-12, 9.03995246882027e-12, 1.454024967911818e-11, 1.456673649251533e-06, 1.7249137483656777e-05, 3.150607009323375e-05, 3.362941844451751e-05, 2.2665339728344093e-05, 1.5855979000070017e-05, 1.2820471773382712e-05, 1.7609270583756976e-05, 2.0865507334967745e-05, 2.438714267897071e-05, 2.242157263695382e-05, 2.0626651635465265e-05, 1.4636116232300391e-05, 1.5091503531823306e-05, 1.9702267160433576e-05, 1.640504219798737e-05, 1.1488011608042748e-05, 1.4046993871162689e-05, 1.1337368437183831e-05, 7.581813468448262e-06, 7.399485488523158e-06, 9.683976284547354e-06, 1.0089320310790933e-05, 1.2273447503274135e-05, 2.1361370820854083e-05, 2.6755584879427016e-05, 1.533796437806627e-05, 4.484299149345414e-06, 5.511745488017474e-06, 1.3017417224419624e-05, 1.1627438040922646e-05, 1.1411751628874435e-06, 1.3050180724179156e-07, 6.392386515744074e-06, 1.982717155721661e-05, 2.0996396859687643e-05, 2.0966140963167668e-05, 2.497562415442845e-05, 2.961975788737388e-05, 3.7164861156749336e-05, 3.003469528480336e-05, 1.8452080602625278e-05, 8.802833710083007e-06, 1.2349604027553352e-06, 1.2470392953272506e-09, 1.1071696773845673e-11, 3.5430817568815147e-12, 7.634030207914012e-12, 1.1707615882542281e-11, 4.414453572573004e-11, 1.0869162483632486e-08, 1.136952558233584e-06, 3.969850991750812e-06, 9.031219953587325e-06, 7.566023023603848e-06, 5.241337964945953e-06, 2.321471470150942e-05, 2.6163592934767098e-05, 2.7641539967636727e-05, 3.314715950621754e-05, 3.054799163249085e-05, 2.0232714692591653e-05, 9.769149711014721e-06, 1.922963101963076e-06, 2.0944960852413478e-06, 7.179567505479933e-06, 4.494572524479438e-06, 3.6190434861650456e-06, 1.742559806185317e-06, 1.157643421296516e-06, 4.6125824068005635e-06, 1.2617784960177543e-05, 1.1086743559363116e-05, 8.931704736002255e-06, 1.1026760467202347e-05, 1.5761864821464906e-05, 2.0668026370248964e-05, 1.9368892241935773e-05, 1.4479037944631456e-05, 7.728354408657816e-06, 4.381059821856841e-06, 7.213906223433266e-06, 1.098222729241074e-05, 1.1454973796737002e-06, 7.462174712422983e-09, 6.575645446204856e-09, 1.7151786322350642e-07, 3.360011214230954e-07, 3.0281862415291e-08, 3.7621459621381833e-07, 8.35754447489525e-06, 8.430629848864391e-06, 6.266617050117648e-06, 1.1568338585890638e-05, 1.8962028414418244e-05, 2.401990029569875e-05, 2.1409283385730177e-05, 1.5484781893591813e-05, 7.306411694078583e-06, 7.1517300267597715e-06, 1.436590869713785e-05, 2.1668479965292855e-05, 3.179825519395028e-05, 3.651074294962954e-05, 4.536096652065221e-05, 3.906179155172062e-05, 2.976797092921499e-05, 2.7638432949243722e-05, 2.548353745709922e-05, 2.738420940306335e-05, 3.054708308635145e-05, 3.114873209448644e-05, 3.36836440739711e-05, 3.523401734411147e-05, 3.4083703473908966e-05, 3.8064811764375466e-05, 4.16764016871082e-05, 3.683533748726619e-05, 2.8567028272404775e-05, 2.6530903500762475e-05, 2.580249394699194e-05, 2.7374202759429417e-05, 2.9278238755685368e-05, 2.9318187670200858e-05, 1.998617121978188e-05, 2.2785189497502226e-05, 2.832003979432889e-05, 3.3641728663327944e-05, 2.951095727592683e-05, 2.5364470646485292e-05, 2.1583088749350164e-05, 2.2594981204980758e-05, 1.88678414394258e-05, 1.1432662642143532e-05, 1.0656377549504434e-05, 2.2124409469662157e-05, 3.483669610580074e-05, 3.3139995126643736e-05, 2.5472420933936178e-05, 2.6818543954870228e-05, 2.6111335990467763e-05, 2.8841345316064646e-05, 2.542814315908694e-05, 2.7668266704362625e-05, 2.633879950787126e-05, 1.4408263602932063e-05, 9.388676651225557e-06, 3.946863881849574e-06, 1.7034224927033576e-07, 3.6026782854150243e-06, 5.166189269669972e-06, 1.0892198018430027e-05, 1.8002048949519786e-05, 1.9535056761104123e-05, 2.1352159733668785e-05, 2.5017236969548667e-05, 1.713974827037043e-05, 9.1468166776042e-06, 2.6747069281350655e-05, 3.691188537101424e-05, 3.8481977392803444e-05, 3.6109453666874e-05, 3.142828336643484e-05, 2.5904175942209242e-05, 2.428964996352395e-05, 2.226568092901524e-05, 2.1595097662273748e-05, 1.815812609708096e-05, 1.4029086149078643e-05, 1.2574692435660715e-05, 1.2090650633184624e-05, 8.6696044823095e-06, 7.230539479367697e-06, 1.520326611711457e-05, 2.0202724128459317e-05, 1.7488650510894763e-05, 1.1745035733237687e-05, 6.501472006444787e-06, 4.572425822096312e-06, 1.1320164024185808e-05, 1.443593207843908e-05, 1.4697731179246662e-05, 9.2986393483451e-06, 1.6962180424895249e-06, 4.0827163923825856e-11, 1.445752620138886e-11, 2.1014543089799554e-11, 7.215584459324753e-10, 1.3096051831316354e-07, 4.1159949997495405e-06, 8.643676101941641e-06, 1.877458537052655e-05, 1.5997594509927483e-05, 1.01607889801843e-05, 2.61117883753819e-05, 3.0998760102479585e-05, 3.3025344082056484e-05, 3.938249187483178e-05, 3.432087497887698e-05, 2.5122816490752492e-05, 1.5017534288877874e-05, 1.2949752889258019e-05, 1.1742328523472392e-05, 1.5149502761564621e-05, 3.1542805579172546e-05, 4.273212543820568e-05, 4.760774163277116e-05, 3.664689775286765e-05, 3.072254969235543e-05, 4.562994304209716e-05, 5.401766505034299e-05, 5.020532459962574e-05, 4.0588133551888954e-05, 3.063480791243523e-05, 3.221296554732116e-05, 3.747850052703511e-05, 4.231583852933205e-05, 4.519715747159033e-05, 4.554927471141853e-05, 4.913496128892603e-05, 5.001700188928088e-05, 5.48039814621775e-05, 5.622772984722797e-05, 5.175163104503515e-05, 5.5060448848156835e-05, 6.154955863384303e-05, 5.624883179253967e-05, 4.739148162132091e-05, 4.415507204480239e-05, 4.017626093053035e-05, 3.758241215637945e-05, 3.722077004645624e-05, 3.6027602475773086e-05, 3.136548627006538e-05, 3.858523720011476e-05, 3.722402668958299e-05, 3.478377043945826e-05, 3.631645710187563e-05, 4.69957685401371e-05, 3.2932909351491896e-05, 3.400421927590454e-05, 2.7190123265478495e-05, 1.2782253381996651e-05, 1.491062199709891e-05, 2.2873529441947402e-05, 3.211224267283611e-05, 3.969498013698749e-05, 3.129235937889939e-05, 2.421146746006604e-05, 1.3715914194743842e-05, 8.870294485728537e-06, 2.238116776915251e-05, 2.1411360265872743e-05, 1.4571582660914474e-05, 1.8891760412538715e-05, 2.6626223243179855e-05, 3.72359116621918e-05, 4.717934208922064e-05, 3.548359412676483e-05, 2.491214612001477e-05, 3.0418214456478735e-05, 3.607255319145698e-05, 3.6063009519843806e-05, 3.200909236635762e-05, 3.046519420140037e-05, 3.406301626001044e-05, 4.340458543607128e-05, 4.088109271418929e-05, 3.714559539092663e-05, 3.999963729581619e-05, 3.819639380830317e-05, 3.3598985667766454e-05, 2.82433200093029e-05, 2.5325819690728845e-05, 2.4895552518492253e-05, 2.2058417297726225e-05, 2.011860380310766e-05, 1.7328323501459752e-05, 1.0346700752028889e-05, 6.7423914887271164e-06, 7.750854521556754e-06, 1.1948100309285251e-05, 2.367769418378591e-05, 3.2777003401654875e-05, 2.6617236804836973e-05, 2.6097432875508524e-05, 2.6520062826234473e-05, 2.2368228318950175e-05, 2.0552987961171964e-05, 1.5058139153219203e-05, 2.079472007349573e-05, 3.882532913761187e-05, 3.454619199043393e-05, 4.8299639519986006e-05, 5.588589038934467e-05, 7.382728750573719e-05, 6.584864449651949e-05, 5.547566428541042e-05, 5.050457845605676e-05, 4.208829650218171e-05, 3.3157824396396344e-05, 2.3131729912152407e-05, 1.52661211840183e-05, 2.0760167969885015e-05, 2.6762036360729808e-05, 3.0232348110113243e-05, 4.071719176241516e-05, 5.5320843907345005e-05, 5.6838024585961136e-05, 4.598998765787474e-05, 4.418208484164336e-05, 5.641460375392287e-05, 5.608896107345975e-05, 4.7274328297844884e-05, 3.9621937672506845e-05, 3.1627474179196654e-05, 3.564434679356448e-05, 5.079633114960172e-05, 5.609121738224654e-05, 5.2256652622920395e-05, 4.589733327129618e-05, 4.358261077804376e-05, 4.971271115487574e-05, 4.6315138131844416e-05, 4.060649025416535e-05, 3.972422167175159e-05, 4.7699839018147566e-05, 5.8633335613664375e-05, 7.012703683639253e-05, 5.752695716411809e-05, 4.5849231831617225e-05, 4.694225367911071e-05, 5.3465852079957824e-05, 6.237503021549486e-05, 4.4407660231947805e-05, 3.599845033897634e-05, 4.1487418608745884e-05, 5.59988712883568e-05, 5.5885153968197686e-05, 5.896295730254956e-05, 6.875472770836461e-05, 7.057255419065338e-05, 6.573855451406693e-05, 5.1550658024051595e-05, 3.5285437478981066e-05, 2.8693654335282742e-05, 2.7444435632733978e-05, 4.302384810404748e-05, 4.9942858864200277e-05, 5.363510341037612e-05, 5.683106510128369e-05, 4.9297899724660164e-05, 4.393909622218071e-05, 4.100863364402146e-05, 3.0800513668492984e-05, 2.9056499804777407e-05, 3.41489299784453e-05, 3.191720656327353e-05, 3.5312576112595486e-05, 3.6822183556295246e-05, 3.80602758649458e-05, 3.4399418028888733e-05, 2.7678809432370233e-05, 2.9242104024882755e-05, 3.301312809963485e-05, 3.9423710518211465e-05, 3.966165291855636e-05, 4.347058631816783e-05, 4.7952050669511987e-05, 4.423974559473287e-05, 3.5161879113507106e-05, 2.56746680372046e-05, 2.6767146336720502e-05, 3.229120606111736e-05, 3.2779349909408766e-05, 3.177399403624651e-05, 3.2800548350462284e-05, 2.3257677488598433e-05, 1.3112588879572442e-05, 7.060513460119949e-06, 2.9979866761283508e-06, 5.2165560462405e-07, 5.637987678159041e-07, 1.2472466349199842e-05, 2.5511463610623216e-05, 3.511350517177108e-05, 2.5078946417847066e-05, 2.0668832293860285e-05, 2.387132912474702e-05, 2.821486567929718e-05, 3.371522965800593e-05, 2.8954270094901246e-05, 3.0943479561572716e-05, 3.750936313372562e-05, 5.558091665922001e-05, 6.893500090990849e-05, 7.946905005924467e-05, 9.769971698448567e-05, 9.043072861582925e-05, 7.960777243307556e-05, 7.891864123616064e-05, 6.874813347698631e-05, 6.201566793231464e-05, 5.2633149068169317e-05, 4.638486084899233e-05, 5.593856018069276e-05, 6.820473159181798e-05, 7.850705302386813e-05, 9.703395492515362e-05, 0.00010800559377021471, 8.875574786875371e-05, 6.879512782149875e-05, 6.001736210732353e-05, 6.317778286423508e-05, 6.551253765146838e-05, 6.632665998596872e-05, 6.018824418394106e-05, 5.285894377612503e-05, 5.047801835322878e-05, 4.910214786541897e-05, 4.8112316809990815e-05, 4.961254471195726e-05, 4.097492733300501e-05, 3.885451020317485e-05, 4.5596744640734194e-05, 3.641655422656747e-05, 2.4603367625193594e-05, 2.1916275208015978e-05, 2.7472013164935654e-05, 4.5425983835253154e-05, 6.131944403860653e-05, 7.187905199798325e-05, 6.156454663890272e-05, 5.259678892128358e-05, 6.455735976617537e-05, 5.719935174487306e-05, 4.5412095831917304e-05, 3.4135257512353087e-05, 3.2940311241329835e-05, 4.154255631815253e-05, 5.2731735095761836e-05, 6.02748673841602e-05, 7.63789823967016e-05, 9.625441329598483e-05, 6.894228925938816e-05, 4.476430316122873e-05, 3.799924891471988e-05, 2.5211153343042765e-05, 2.4088988987401953e-05, 3.8317105347682556e-05, 4.6117852473850075e-05, 5.320852341996168e-05, 5.439810980400973e-05, 5.364896792422132e-05, 5.876304346646367e-05, 5.169681503039363e-05, 5.48151783721675e-05, 5.557214082661825e-05, 5.257990336410969e-05, 5.0300531773930096e-05, 5.309980762977501e-05, 5.357112932710361e-05, 5.5952388223107005e-05, 5.299399205126228e-05, 4.852582352090181e-05, 5.444673228176394e-05, 6.443313399356128e-05, 7.676884041587714e-05, 8.251718656932719e-05, 8.053509543321064e-05, 7.333845533868464e-05, 5.928647387422501e-05, 4.814746480141102e-05, 3.90749990954113e-05, 4.5230865439409304e-05, 5.978171723565456e-05, 6.473838122020456e-05, 5.862846183787709e-05, 5.7289260946487014e-05, 4.922496723636595e-05, 3.539284230129347e-05, 3.464030076017893e-05, 3.613756603261154e-05, 3.170076602942886e-05, 3.700031609090529e-05, 3.521107200366972e-05, 4.264800099646702e-05, 5.529035271311442e-05, 5.802571614835119e-05, 6.246311026444237e-05, 6.883395201920431e-05, 5.827580718906227e-05, 6.179154768905462e-05, 5.7242456527574816e-05, 4.7070996066527214e-05, 4.0753143539568084e-05, 5.1193233272632706e-05, 7.526695665301716e-05, 0.00010116183571019201, 9.428309903367421e-05, 0.00010044114539609494, 0.00010303153952522443, 8.180287580907706e-05, 7.283693915363796e-05, 6.512327068616776e-05, 5.6267377784186247e-05, 5.631754984875788e-05, 6.328577060797427e-05, 7.990214613767653e-05, 0.00010005882200054433, 0.00012394898244470927, 0.00014259021635429112, 0.0001241522973686491, 0.00010223663383061534, 9.244374254661158e-05, 8.906485262169284e-05, 8.02235301209384e-05, 7.894404336092489e-05, 8.178033602533193e-05, 7.631980070900767e-05, 6.654328849388731e-05, 6.484299036319065e-05, 6.641405740925544e-05, 7.554718950008073e-05, 7.757421750409655e-05, 7.180571334534561e-05, 6.7662640347523e-05, 6.10248606431029e-05, 6.0909522868007066e-05, 5.5352311311724244e-05, 5.5574737576908777e-05, 5.672134783448989e-05, 8.057842091845791e-05, 0.00010163266440730477, 0.00010955204669390066, 0.00011199351212370248, 0.0001048411761451537, 9.763972038382802e-05, 9.278971793475428e-05, 8.867761024366297e-05, 8.90039981453856e-05, 9.518222762435159e-05, 9.560298502618614e-05, 9.742051798846556e-05, 0.00010108756816037158, 0.00011054845035589575, 0.00010340447692756056, 9.692687130495665e-05, 9.239433301674697e-05, 8.087813597431948e-05, 7.981733805275862e-05, 8.117485594898482e-05, 8.463125244145807e-05, 8.038492750732453e-05, 8.175528455663057e-05, 8.18012222988588e-05, 8.725368473846576e-05, 8.636968908813211e-05, 8.762399926809874e-05, 8.585551122722517e-05, 7.654477561898515e-05, 6.059333810637794e-05, 6.334861918796707e-05, 7.619150468159537e-05, 6.886760001415749e-05, 5.73312293003844e-05, 4.8344995684092037e-05, 5.096646491161186e-05, 6.367592964255291e-05, 8.213005784724616e-05, 9.013621350702373e-05, 8.635968136339701e-05, 7.340195091405674e-05, 6.341915549267768e-05, 5.3448154126924345e-05, 4.766062053051457e-05, 4.707345967523473e-05, 5.279394387626078e-05, 6.177998894519031e-05, 5.9498594263085964e-05, 6.053089786856997e-05, 5.744824555071037e-05, 5.547985690655127e-05, 5.5499554520312255e-05, 5.718536765373006e-05, 5.51849898547042e-05, 5.9787823238737246e-05, 6.14079236991294e-05, 6.289645068767203e-05, 6.794337314712238e-05, 8.188086515245033e-05, 8.548023491063977e-05, 8.545363305198801e-05, 8.040456404868153e-05, 8.446097596664355e-05, 8.681818353488368e-05, 7.822639603674797e-05, 7.377287847780418e-05, 8.365445041203355e-05, 9.687563965255875e-05, 0.00011044225447055751, 0.00011791449896299798, 0.00011829057749492805, 0.00011265582612893754, 0.00010027511608498358, 8.941677100328983e-05, 8.066893422498296e-05, 7.629171503292068e-05, 7.547663141587513e-05, 7.69408991596435e-05, 8.59448411116825e-05, 0.00010208356418166676, 0.00012657165230595135, 0.00014916939301899305, 0.00012589180212097537, 0.00010018687109068909, 9.076973347965287e-05, 9.326259585960476e-05, 9.571071462206014e-05, 9.707813589561439e-05, 8.974952147069391e-05, 7.665000732395449e-05, 6.596437038827189e-05, 7.10176751805327e-05, 7.602363412325964e-05, 8.00109978931471e-05, 7.801134250065748e-05, 7.501558140032055e-05, 7.938584565550898e-05, 7.673997164995582e-05, 7.695811750989406e-05, 7.323944163431847e-05, 7.329583571657218e-05, 7.823895342700237e-05, 9.237535917776623e-05, 0.00011949241716398126, 0.00013574498887844113, 0.00013200878111594731, 0.00013085858358415073, 0.00011867080488845209, 9.943365097349487e-05, 9.751415639695852e-05, 0.00010775952056442944, 0.00010689987458691539, 0.00011978061855678006, 0.00012513208450428388, 0.00012080710295883303, 0.00012326353226090647, 0.00011616793808889332, 0.00010667658757890055, 0.00010571880433022782, 9.431316668568892e-05, 9.160762501141149e-05, 9.509353338609787e-05, 0.00010229892983096638, 0.00010462205737946986, 0.00010428093107987293, 0.00010254304915986663, 0.00010556586393247094, 0.0001000385335422521, 9.58707244403843e-05, 9.364573802848399e-05, 9.173133934321278e-05, 7.913926487140778e-05, 7.533887750224886e-05, 7.108596071605605e-05, 7.015964817876979e-05, 6.884799015281201e-05, 5.863478878876014e-05, 6.147602778946843e-05, 7.536360396824432e-05, 9.549521636431761e-05, 9.797443132664177e-05, 8.634248441196618e-05, 8.312989709999667e-05, 7.924311046954477e-05, 6.882075983186626e-05, 6.688768802404175e-05, 7.317110592381275e-05, 7.70985817454235e-05, 8.733186492451021e-05, 8.190505551867006e-05, 7.720637464807429e-05, 7.146297607550348e-05, 6.80564006781058e-05, 6.744913252614248e-05, 6.95873396249079e-05, 6.821229330496331e-05, 6.554158076858181e-05, 6.928961928705594e-05, 7.303880562972977e-05, 8.074951746234635e-05, 9.610579546508828e-05, 9.963362192423814e-05, 9.244024639891173e-05, 8.097884556303271e-05, 8.197943317125751e-05, 8.307506637883021e-05, 8.352495600594705e-05, 9.066397972697036e-05, 9.475597990940507e-05, 9.772793340354354e-05, 0.000105148580019505, 0.00010972416683667986, 0.00010738854503586638, 9.911626718779547e-05, 8.816019544621185e-05, 8.097049151395477e-05, 8.223492976403586e-05, 8.235112803961455e-05, 7.972331663660238e-05, 7.645187639549433e-05, 8.187055841480191e-05, 9.997649872250236e-05, 0.00012292379804217365, 0.0001427253461051793, 0.00012079071866241053, 9.738115895712231e-05, 9.001407415672684e-05, 9.509196447477663e-05, 9.694979271492378e-05, 9.233921236191998e-05, 8.389405888976541e-05, 7.866502242609647e-05, 7.321720880796005e-05, 6.892656721899267e-05, 7.386313034455967e-05, 7.97118823019926e-05, 7.640624790922966e-05, 7.384471112106876e-05, 7.67707527067321e-05, 7.292839361105959e-05, 6.9832674410315e-05, 6.938198548820629e-05, 7.051855424188252e-05, 7.391522242818965e-05, 8.158043451227497e-05, 0.00010612447008601001, 0.00012310359227781263, 0.00011784358630933472, 0.00011109775618786775, 0.00010526843706193476, 0.00010129217546421792, 0.00010672821219822816, 9.947423917501546e-05, 0.00010170664522526455, 0.00011147134985781965, 0.00011722399786911217, 0.00011268762988383999, 0.00011549508795519008, 0.00011638966242140595, 0.00011141532603661085, 0.0001085590485602695, 0.00010221169993728538, 9.402323191725523e-05, 9.518343050708751e-05, 9.913074468993513e-05, 0.0001052588907870855, 0.00010929439813020917, 0.00010587277479064492, 0.00010453993338720838, 9.651110360043132e-05, 9.462612525482806e-05, 9.04176254648706e-05, 8.304208808486741e-05, 7.601382779598697e-05, 7.507454670054807e-05, 7.794183144325149e-05, 8.091379572243445e-05, 7.515881912016817e-05, 6.171958879880048e-05, 6.761514267687594e-05, 8.269405443722847e-05, 9.727488096833931e-05, 9.857684159767297e-05, 9.318809452412024e-05, 8.988399939928987e-05, 8.537725078808066e-05, 7.665912368071157e-05, 7.091267686151013e-05, 7.47794521337923e-05, 7.730602661558279e-05, 8.510319227782782e-05, 8.781618527422066e-05, 8.543085624947452e-05, 7.96545982368289e-05, 7.389535150596973e-05, 7.563206567441977e-05, 8.286332980572195e-05, 7.843541210995198e-05, 7.166991047535187e-05, 7.881675286525772e-05, 8.953689236342434e-05, 9.895019578681868e-05, 0.00010942636557440219, 0.00010917165023069118, 0.00010295411413581625, 9.599312848565507e-05, 9.353326087107308e-05, 9.034980196183148e-05, 9.005187415172318e-05, 9.094829481618885e-05, 9.498450072194004e-05, 0.00010014728437784528, 0.00011165319614397211, 0.00012160511259490315, 0.00011717223564802407, 0.0001108881877147222, 0.00010403183696034109, 9.302657623591562e-05, 8.520045913306396e-05, 7.937337207490957e-05, 7.302621858809988e-05, 6.894605781306238e-05, 8.303811240914438e-05, 0.00010342812196495565, 0.00012059198780280541, 0.00014230616655086157, 0.00012940955661292717, 0.00011463855300993908, 0.00010766795393270695, 0.0001046218495214382, 0.0001016718543192446, 9.85802610384028e-05, 9.81923506871226e-05, 9.606540373901394e-05, 9.420398319747018e-05, 9.431824654494252e-05, 9.986093258715077e-05, 0.00010167511828657977, 9.318032041903677e-05, 8.468188231000653e-05, 8.373137781652903e-05, 7.87834453947756e-05, 6.999787835237533e-05, 7.012084521886579e-05, 7.349945788596907e-05, 7.478720123594596e-05, 8.048027473949857e-05, 0.00010098690474463616, 0.00011561195178426876, 0.00011491439662800423, 0.00011177852249870408, 0.00011053480140510445, 0.00010744489188166308, 9.881771464247803e-05, 9.662716029670596e-05, 0.0001058836247002665, 0.00011532779870001054, 0.00011863164680122222, 0.00011550219191385412, 0.00011030915298852879, 0.00010186788581329913, 9.242578882196887e-05, 9.375347335427874e-05, 9.440011914006845e-05, 8.602024363938095e-05, 7.784024176408049e-05, 7.39651777916514e-05, 7.983651474218936e-05, 9.576698904305143e-05, 9.829440914647843e-05, 9.465085941826814e-05, 8.548765909056692e-05, 8.025453138022401e-05, 7.97978292342247e-05, 8.439924420733814e-05, 8.074866489216125e-05, 8.279950149441142e-05, 8.712078273800704e-05, 9.205915614696685e-05, 9.004035130198683e-05, 8.542430096876884e-05, 8.683372530323766e-05, 8.969057442594635e-05, 9.874338839931145e-05, 9.803206523436222e-05, 9.790605996555759e-05, 0.00010418446571937629, 0.0001014255139079539, 8.875742437134211e-05, 7.66826823537651e-05, 7.470632672885548e-05, 7.448043460018962e-05, 8.208808298820896e-05, 8.414163818085486e-05, 7.363462985308522e-05, 7.038999006680708e-05, 7.397154175422899e-05, 8.06165153445139e-05, 8.665066183880287e-05, 8.100308681288991e-05, 7.786074102739971e-05, 8.386237843575108e-05, 9.234774972994225e-05, 9.864723479679e-05, 0.00010354595424361071, 0.00010148711081543568, 9.209351817547097e-05, 8.175932465854751e-05, 7.898413547836259e-05, 7.607069546423986e-05, 8.516801226153269e-05, 9.481967979132332e-05, 9.138193725530735e-05, 8.49787900107967e-05, 8.736679281311216e-05, 9.494316665709762e-05, 9.696086436631943e-05, 9.35826591356436e-05, 9.02206088607374e-05, 8.252583479485873e-05, 7.767786027720746e-05, 7.55041176354088e-05, 7.360019592471666e-05, 7.415379780071599e-05, 8.554621259332941e-05, 0.00010396169512594524, 0.00011478909730282707, 0.000124654532446279, 0.00011413296382179318, 0.00010555699501659099, 0.00010273439832030992, 0.00010484150103666799, 0.000102111343212138, 9.032284217701397e-05, 8.485910755925021e-05, 8.718776913857571e-05, 9.060384289051658e-05, 8.945180610740596e-05, 8.997144042119671e-05, 9.075139547905558e-05, 8.74382458847948e-05, 8.721171341345233e-05, 8.399747585168685e-05, 7.196308216461765e-05, 6.3591009669628e-05, 6.313398127599777e-05, 6.957905969074272e-05, 7.064644240944754e-05, 7.366194524922331e-05, 8.593359738599372e-05, 9.837666204548829e-05, 0.00010578672778410871, 0.00011014064903052094, 0.00010896849032421941, 0.00010071531030679537, 8.834373526106495e-05, 8.217707101985907e-05, 8.36619633815386e-05, 8.580178842405067e-05, 8.10098569693452e-05, 7.889157086057467e-05, 7.486621637123308e-05, 7.840000898321994e-05, 8.48793489978498e-05, 8.478097334632888e-05, 8.075373291759394e-05, 7.422592232630232e-05, 7.102004910434801e-05, 7.492152735690232e-05, 8.437650910463855e-05, 8.743088960331531e-05, 8.386373211238038e-05, 8.303931184333853e-05, 8.340737105454868e-05, 8.011388892415025e-05, 7.73691381908362e-05, 8.528773433980885e-05, 8.960252118248245e-05, 9.607204593014826e-05, 9.946754392286872e-05, 9.998423223516648e-05, 9.273135973076378e-05, 8.393554315950251e-05, 8.642768680486168e-05, 9.904575750325375e-05, 0.00010629591532225458, 0.00010691195212702266, 0.00010360130014474807, 9.81706319552523e-05, 9.223273143786462e-05, 8.806651895614575e-05, 8.371817235559867e-05, 7.889004766279056e-05, 7.85951526221123e-05, 8.66387031623356e-05, 8.355417943819584e-05, 7.138460555970697e-05, 7.141615441547205e-05, 7.376125588502796e-05, 7.578479980188853e-05, 7.786607768798512e-05, 7.253224342280218e-05, 7.241260167209086e-05, 7.322332641355715e-05, 7.820356142121745e-05, 8.75954630147499e-05, 9.367333211729612e-05, 9.383019377025394e-05, 8.794313565607784e-05, 8.158594482767795e-05, 8.187612696957563e-05, 7.973031667822176e-05, 8.10117635734839e-05, 7.44639512622405e-05, 6.420453222658305e-05, 5.784108611387821e-05, 5.678900070989431e-05, 6.392442129733852e-05, 5.858760569265946e-05, 6.0635703003622585e-05, 5.997592166834473e-05, 5.574123272706325e-05, 6.223919212710891e-05, 6.560049858204702e-05, 5.800763735540679e-05, 5.761282285273263e-05, 6.999589074966169e-05, 7.605059138759899e-05, 7.80707959397882e-05, 8.985401059315829e-05, 8.702153102061697e-05, 7.550148460678227e-05, 7.214381014914455e-05, 7.0701737336455e-05, 6.895514665459317e-05, 6.508421319068805e-05, 6.629738831535174e-05, 7.197421613088355e-05, 7.37926203333193e-05, 7.342022777127759e-05, 7.541190964341594e-05, 7.321915357918041e-05, 6.575698173837866e-05, 6.317327059471891e-05, 7.130709949491017e-05, 6.240735722120926e-05, 5.531426563185495e-05, 5.509044147314638e-05, 5.391642007045009e-05, 5.453922470685213e-05, 6.038241151830704e-05, 6.34859452163222e-05, 7.174976183008099e-05, 7.935079463240829e-05, 8.461856155030839e-05, 8.82768004172761e-05, 8.807189432561671e-05, 7.38961651746446e-05, 6.667321700312771e-05, 6.612116628650544e-05, 6.472244655307476e-05, 6.393715337487458e-05, 6.2865339301793e-05, 5.671605874240533e-05, 5.328041507062808e-05, 5.833283586220637e-05, 6.168400310903564e-05, 5.924733484184092e-05, 5.031702547611717e-05, 4.727382672407724e-05, 5.317858800305491e-05, 6.564221743984981e-05, 7.373924228284406e-05, 7.917881788355017e-05, 7.478012989281373e-05, 7.143181256585507e-05, 6.345085177018055e-05, 6.497354606300258e-05, 7.583801977017847e-05, 6.988610151352285e-05, 6.733117932871455e-05, 6.737902336290403e-05, 6.636450978905166e-05, 6.505730958469527e-05, 6.408290503744087e-05, 6.814423831927327e-05, 8.003574853062717e-05, 8.035179634681028e-05, 7.130747042297537e-05, 6.15488241638257e-05, 6.412197488713161e-05, 6.640548981979559e-05, 5.940630815565818e-05, 5.57326830776117e-05, 5.890374803552659e-05, 6.245060699237428e-05, 6.419056833124821e-05, 6.044510899740365e-05, 4.6138117393172045e-05, 3.750383218120116e-05, 4.218269086289199e-05, 5.115878977277878e-05, 5.3051962131419055e-05, 5.005965916202249e-05, 5.073068269361111e-05, 5.500161834895239e-05, 5.479138068138208e-05, 4.831895534413764e-05, 4.838311493291626e-05, 5.2904762589841975e-05, 4.938928876968496e-05, 4.474524390869276e-05, 4.014371069131179e-05, 3.956322701054602e-05, 4.310317882593721e-05, 3.788119600577369e-05, 3.444115061117141e-05, 3.8209829331830674e-05, 3.844096633693565e-05, 4.258723584381251e-05, 3.6032014659767e-05, 2.7960833130947802e-05, 2.6491384735220124e-05, 3.171618802204621e-05, 4.30967637156712e-05, 4.9927318711377776e-05, 5.1189588595993655e-05, 5.001183325333143e-05, 5.3373333275500376e-05, 5.255891443484739e-05, 4.8611905484159345e-05, 5.1163982380640375e-05, 4.7551534266947875e-05, 4.1535885170936875e-05, 4.0534169371788264e-05, 4.761437674182033e-05, 5.339614123259303e-05, 6.59588461848403e-05, 7.48257443071323e-05, 7.229708979220528e-05, 6.86874917985159e-05, 7.137607941405589e-05, 7.501141731662793e-05, 6.370782780082565e-05, 4.4235468511884e-05, 3.9831123415639205e-05, 4.781537704714042e-05, 4.909925534707095e-05, 5.169126006435912e-05, 5.01857679543822e-05, 5.252125441141264e-05, 5.494373209388571e-05, 5.999820657930378e-05, 5.898368036079127e-05, 5.6573301257022226e-05, 5.699062189179062e-05, 6.223079775787943e-05, 6.448677197304585e-05, 5.9053721614471647e-05, 4.410677667976057e-05, 4.360793236621692e-05, 4.9193231120581727e-05, 4.8558235079699025e-05, 4.773836714649421e-05, 4.870455400909053e-05, 4.125253425198381e-05, 3.9755470750253945e-05, 4.498780599470783e-05, 4.860942554190641e-05, 4.83425363873536e-05, 4.2518790116812535e-05, 4.145805380848147e-05, 4.119366516767784e-05, 4.860265579895313e-05, 4.8421086259497107e-05, 4.084796626001099e-05, 3.486567495659884e-05, 4.485000151287423e-05, 4.848105815569226e-05, 4.858590452725865e-05, 5.454903121017642e-05, 5.102230723150665e-05, 4.895409459616381e-05, 4.174119840637473e-05, 4.126233504893954e-05, 5.442262837567734e-05, 6.408121091167384e-05, 7.254789109780661e-05, 8.958762392951348e-05, 8.197328533942281e-05, 6.973846396870872e-05, 5.811662862885559e-05, 4.935560601499041e-05, 4.435434825169088e-05, 3.5920918300346126e-05, 4.2170895306266445e-05, 5.038765476445412e-05, 4.93873239473317e-05, 3.947778537727383e-05, 4.274355544165074e-05, 4.357174132454668e-05, 3.703104713983983e-05, 4.040579707427131e-05, 4.699688136107567e-05, 4.944733397467072e-05, 5.1069760575955774e-05, 5.355459101747432e-05, 4.6389068525928644e-05, 4.619896183862737e-05, 5.6171595363842646e-05, 6.190255078412945e-05, 6.237922653326671e-05, 5.821355935650666e-05, 5.256801947581984e-05, 5.009374375708748e-05, 4.6816389564833775e-05, 4.316115165010632e-05, 3.695302797144756e-05, 2.9299405756608046e-05, 2.2250356290056678e-05, 1.89768004481645e-05, 2.5343676545495456e-05, 3.0460540675032997e-05, 2.974552335903791e-05, 2.6685007313097843e-05, 3.8424283926509484e-05, 4.3526431250739136e-05, 4.089047450749454e-05, 3.774028313806093e-05, 3.6783018080425324e-05, 4.1960302491476486e-05, 3.800205315906402e-05, 2.2481675858590238e-05, 2.1478675447368335e-05, 2.2824257024866173e-05, 2.2138517900757447e-05, 2.671422296739356e-05, 3.640669869646903e-05, 3.7807629444494904e-05, 4.5464338032911216e-05, 5.638977914708744e-05, 6.22462520880179e-05, 5.815076094485841e-05, 5.115355473939847e-05, 4.921808796524374e-05, 5.014266572396228e-05, 4.888483146068556e-05, 4.984853307716405e-05, 4.473543531454654e-05, 2.7995417212082037e-05, 3.290058255089681e-05, 3.8582126433698734e-05, 4.231746763535661e-05, 4.6298729888981085e-05, 4.794239374370897e-05, 4.75743051282363e-05, 4.967152263816829e-05, 5.00648081856624e-05, 4.447573406036863e-05, 4.113331468838646e-05, 3.835654847467652e-05, 3.1670768665116136e-05, 2.543669741000136e-05, 2.1573167810348145e-05, 1.9195201946957504e-05, 1.5970834660585216e-05, 2.3553592037451093e-05, 3.169843098969971e-05, 3.205719623317684e-05, 3.032204576392519e-05, 3.221775906787912e-05, 3.765553961404427e-05, 2.782117379231277e-05, 1.85870333292434e-05, 2.3665832125773158e-05, 3.793900843964092e-05, 4.4719949660494845e-05, 4.408442240726878e-05, 3.3909637174847034e-05, 3.358971402814168e-05, 4.403065314994417e-05, 5.552925127586635e-05, 6.979105236464988e-05, 6.012581065883731e-05, 4.5842904304453354e-05, 3.476761211790599e-05, 3.450919620024995e-05, 4.6334432584637836e-05, 5.3943311732378357e-05, 6.634413755666602e-05, 8.42594926316665e-05, 6.756210114715063e-05, 5.330565725421809e-05, 4.3953414991582654e-05, 3.800133615221701e-05, 3.730570745336348e-05, 2.917236827581514e-05, 2.8642388695122914e-05, 4.733611629068957e-05, 6.049599738887735e-05, 4.5661495889758234e-05, 4.117566171158027e-05, 4.3916751599474516e-05, 3.817761945999077e-05, 3.4928221306197795e-05, 3.566185473861627e-05, 3.7244313894084056e-05, 3.3985244198327996e-05, 3.0921556966015264e-05, 2.7340356650406174e-05, 2.548214176165363e-05, 2.403655958456268e-05, 2.718964296351996e-05, 3.82310485126751e-05, 4.515593274061654e-05, 3.528695235500299e-05, 2.4070698934821235e-05, 1.994947145811697e-05, 1.9383700297190663e-05, 1.709623472650002e-05, 1.4378589983823245e-05, 1.2832798760947237e-05, 1.2786786661322657e-05, 1.816895915946975e-05, 2.5677071440852666e-05, 2.939160834495746e-05, 2.7527275073821115e-05, 3.386465859231424e-05, 3.7617080127775294e-05, 3.6371028133597693e-05, 2.926200540010942e-05, 2.7971463185434157e-05, 2.6768600715509124e-05, 9.199923745016026e-06, 5.789370018776375e-09, 4.073094332522828e-15, 4.072305159769987e-15, 8.103330563597742e-12, 1.7179542144979882e-10, 2.5481803554921247e-09, 2.865962331746012e-07, 1.145612729191272e-05, 3.362537756098977e-05, 5.224083970854518e-05, 5.521307413165075e-05, 5.073154583929909e-05, 4.506522318905798e-05, 4.602448953159016e-05, 4.377205596756527e-05, 4.4893513287014345e-05, 4.500523596880744e-05, 3.4719083502572415e-05, 2.988798950334582e-05, 2.8393316168633643e-05, 2.7935685203270838e-05, 3.0849531790722436e-05, 3.3453050908333335e-05, 3.637580005302105e-05, 3.778330818784666e-05, 3.0618671761937645e-05, 2.5405247731268386e-05, 2.4721365974642873e-05, 2.1100643318302398e-05, 1.0380620601754801e-05, 1.7573380494628183e-06, 4.254434651008307e-08, 9.759008898883033e-09, 7.751687384774076e-07, 5.344587055655634e-06, 7.2816366401208485e-06, 2.0620961286735304e-05, 2.9556379770968416e-05, 2.3051650241269988e-05, 2.0570151611091338e-05, 2.5093232136875415e-05, 2.7204315938929165e-05, 2.5629062168763486e-05, 2.6704195235313136e-05, 2.5509895486023308e-05, 2.326983896437022e-05, 1.4703673141630538e-05, 2.844632272592688e-05, 4.136005538612623e-05, 5.268606473722067e-05, 5.965974675032573e-05, 4.764966023597573e-05, 3.493368476561055e-05, 1.7274618187293714e-05, 1.1831825204767368e-05, 2.6549788470471045e-05, 3.711649410547525e-05, 4.845404013115864e-05, 7.037470077649133e-05, 5.3126723284601116e-05, 4.0233225811427255e-05, 3.2242091185443515e-05, 2.7201507170680757e-05, 2.0928437897131845e-05, 1.463604385270091e-05, 1.4374280699672488e-05, 3.165140222589019e-05, 4.8234280701488806e-05, 4.6033746242254335e-05, 3.9362425116262776e-05, 3.885519090108411e-05, 3.380216848648239e-05, 3.1861830967678034e-05, 3.2023540895674924e-05, 2.214494561212361e-05, 1.5459607443588433e-05, 1.4998632912324625e-05, 1.214343036928e-05, 9.279057409568084e-06, 5.300337598862562e-06, 1.345943367171787e-06, 3.51745962061805e-06, 1.0519374249046877e-05, 1.7764364868672654e-05, 1.769741818702584e-05, 1.5938992489094753e-05, 1.3485279133097413e-05, 1.0155624444330732e-05, 1.1884335387219878e-05, 9.749197766221413e-06, 4.522901925194476e-06, 6.144121077174319e-06, 1.9852069835905683e-05, 2.5821642242820028e-05, 2.5404911664311662e-05, 3.635730161545402e-05, 3.729566965255947e-05, 3.409012725585359e-05, 2.1599248249647677e-05, 7.28789277800754e-06, 9.800723944833462e-06, 9.677081145537093e-07, 4.075843141664154e-15, 4.0759060614015206e-15, 2.849439191795886e-09, 5.117734545950921e-06, 6.7753941324729915e-06, 5.02952038069487e-06, 6.079967564032782e-06, 1.0455184816285833e-05, 1.8787339544347223e-05, 3.109074902267263e-05, 3.520038673975459e-05, 3.238578425118568e-05, 3.399148048383703e-05, 3.573214520068952e-05, 3.1543089512953825e-05, 2.7902199346335e-05, 3.0233141425709563e-05, 2.051947222862949e-05, 2.025099105868209e-05, 2.218284973081406e-05, 2.5722422683536855e-05, 3.2013414186277953e-05, 3.0425309647458306e-05, 3.205841911000468e-05, 2.8513391341244007e-05, 3.0976094231468057e-05, 3.457312601224856e-05, 2.0057587807899615e-05, 5.634425863025186e-06, 1.1560832628111799e-05, 1.7685321389342363e-05, 1.7845859521537412e-05, 1.193690364980612e-05, 3.5835648797781815e-06, 1.9704936233648945e-06, 1.68479455337789e-05, 2.8689855799809317e-05, 2.7702457980060712e-05, 1.8723568524459478e-05, 8.309803072866502e-06, 1.2388507739594442e-05, 1.3374130822540586e-05, 6.035197127500989e-06, 1.4702445852590002e-07, 7.190015713678531e-07, 5.0202385075922554e-06, 5.379434329655344e-06, 2.1209106392522077e-05, 3.0498364799349096e-05, 3.90855369225887e-05, 4.632305973961083e-05, 4.1303571527649975e-05, 3.1523938482186315e-05, 1.7727744259577767e-05, 1.2525641035022557e-05, 1.6836463279744275e-05, 2.3846405836814724e-05, 3.270905182691942e-05, 3.940115176934142e-05, 3.876406093675811e-05, 3.112661709447516e-05, 3.067163915193925e-05, 2.9152341715833172e-05, 2.3131150890009352e-05, 1.8121049709091205e-05, 1.6945642737066143e-05, 2.4178276820476628e-05, 2.9677188637854463e-05, 3.716389910927143e-05, 4.054166202376988e-05, 4.29033288729828e-05, 3.484360229095358e-05, 2.8260546829261628e-05, 2.4177110537926904e-05, 1.853060025021797e-05, 1.528169172048776e-05, 2.0086988342251065e-05, 2.095744128982458e-05, 1.0160881480123883e-05, 2.5201269072594065e-06, 2.26084370028379e-06, 4.4259651656833144e-07, 2.1147510050116654e-06, 7.1153357748161584e-06, 8.741265615382941e-06, 1.2527237480969243e-05, 1.1496563322954526e-05, 1.6288833011847913e-05, 2.7390939847761415e-05, 2.553902646850564e-05, 1.7158106950645403e-05, 5.652600649670077e-06, 9.805590530778733e-06, 1.4673563895739913e-05, 1.8552496206382096e-05, 2.3549425179823347e-05, 2.2967920961971604e-05, 1.844373543548977e-05, 1.8579207749994202e-05, 2.48147016305559e-05, 2.1866496100365585e-05, 3.291139530894342e-06, 2.1339443208529413e-10, 1.324339544232177e-07, 1.2216501374434594e-05, 2.289486635738481e-05, 2.4143579095474084e-05, 2.3751307300361498e-05, 1.2648355665820115e-05, 1.5030390517889919e-05, 2.9114824855969057e-05, 3.234904286620254e-05, 2.784597426475527e-05, 2.3177482451922432e-05, 1.720551762432613e-05, 1.972185415622466e-05, 2.481552018103801e-05, 2.0707820422703258e-05, 2.7898507530489006e-05, 2.9670864025984005e-05, 3.280012672464708e-05, 3.476250463786828e-05, 3.1209355737750223e-05, 3.3734620225062063e-05, 4.053153262046767e-05, 3.932811677276599e-05, 3.189525271934196e-05, 2.655925651881232e-05, 2.3074801291588474e-05, 2.1284407376666165e-05, 1.2994593205714548e-05, 1.8606105880271172e-05, 2.0032565039477244e-05, 1.6966475183957056e-05, 2.071813035512727e-05, 2.9813253302200135e-05, 3.073932522063993e-05, 3.1619193270871404e-05, 5.0432313314411844e-05, 6.0940011165496265e-05, 3.5795634861873066e-05, 2.6986275658603324e-05, 3.347096225508219e-05, 3.608633567954734e-05, 3.653468104989003e-05, 2.909310468422797e-05, 3.0806664674617696e-05, 3.693540163791158e-05, 4.264840088617051e-05, 3.341043560801838e-05, 3.924673707711767e-05, 4.080962592817446e-05, 3.432208759732631e-05, 3.7689790956215486e-05, 3.496075684501461e-05, 2.877421987802454e-05, 3.347241822278197e-05, 3.590924161809671e-05, 3.8764231553642156e-05, 3.854723011066153e-05, 2.5382549274124385e-05, 3.104956405206784e-05, 3.049450068417495e-05, 2.8724656307094847e-05, 2.1327262901134366e-05, 1.8105336637567076e-05, 2.006501308707096e-05, 2.1900429101322014e-05, 1.6472119840268027e-05, 1.0304608310690768e-05, 2.5226142253179087e-05, 3.3200299849688496e-05, 3.349278364296091e-05, 1.855324147852894e-05, 1.8460950365316438e-05, 1.8531825071735318e-05, 8.543454779251209e-06, 1.6474130121147275e-06, 2.705138445170772e-06, 9.743901608939927e-06, 6.972393851934701e-06, 6.4416403597395104e-06, 1.329049953091136e-06, 1.928290945548011e-06, 7.453810294540475e-06, 1.6225915757127106e-05, 2.506838993634117e-05, 1.8455905640066106e-05, 1.0590735070016717e-05, 9.308161040950252e-06, 1.3172522471990202e-05, 2.403183386191665e-05, 2.5390653675597147e-05, 2.1793164921619824e-05, 2.0227934195124756e-05, 1.721788169709837e-05, 1.2770948461229238e-05, 1.1341095155845802e-05, 9.266434990083879e-06, 1.0935095816355788e-05, 2.0013237001187047e-05, 2.77063935815418e-05, 3.002435443144366e-05, 3.034921010373845e-05, 2.9577564694410347e-05, 3.867449458472788e-05, 3.35737299798365e-05, 3.1835272177728695e-05, 3.5957911108136536e-05, 4.4469230463667665e-05, 3.860345123945289e-05, 3.388703854983171e-05, 2.799441586285732e-05, 1.8073162384574552e-05, 5.873459449492963e-06, 1.0680367103824867e-05, 2.6930982552379368e-05, 4.811876280762485e-05, 4.953062195418863e-05, 4.457531470971789e-05, 3.9879420081852044e-05, 3.594243285067166e-05, 4.367492765032529e-05, 4.445197138429474e-05, 4.499164255228508e-05, 4.55510962714987e-05, 5.139070140323018e-05, 5.8881174325114295e-05, 6.040856244638181e-05, 5.738887729695982e-05, 4.756561462468531e-05, 3.636053677523066e-05, 2.6935581545228215e-05, 3.458247355086427e-05, 3.7778519921925753e-05, 3.660777712927297e-05, 3.739147448146924e-05, 4.722779666025551e-05, 4.496220528201628e-05, 2.9937981704620964e-05, 3.602606186077919e-05, 5.458288290470318e-05, 4.4535043963258374e-05, 3.388194230625767e-05, 2.5585277240251254e-05, 2.7562587333135944e-05, 3.207934163840315e-05, 2.9815737852168895e-05, 2.143660662890689e-05, 2.2228899714670148e-05, 3.509808349178834e-05, 2.906345310924486e-05, 4.1138057192340156e-05, 3.929408143108678e-05, 2.7858226979590457e-05, 3.277318490932773e-05, 3.106102580139088e-05, 2.8336241585438602e-05, 3.631003710500865e-05, 4.32163004274196e-05, 4.404498411516639e-05, 3.8306724233121115e-05, 1.458633505580259e-05, 1.162781884197933e-05, 9.876481430241735e-06, 1.1051812200182088e-05, 8.692136687958635e-06, 1.3910232594941495e-05, 2.0104437926270286e-05, 2.4097353841877632e-05, 2.7865104541956504e-05, 2.287824813421797e-05, 2.9320880248469117e-05, 3.0661844206180436e-05, 3.0388143728838338e-05, 1.133172404713578e-05, 8.461034673017972e-06, 1.3095143094577148e-05, 2.2689066541149925e-05, 2.2203164050297825e-05, 1.9506669435061356e-05, 1.6804507337915054e-05, 1.6878593383524327e-05, 2.1787642405321348e-05, 1.883482028264282e-05, 1.690435119559708e-05, 1.4052524691224796e-05, 1.6946757633762273e-05, 1.559135237528527e-05, 1.4281102421712878e-05, 5.319938050486354e-06, 4.596910557052242e-06, 1.2591027829647893e-05, 2.3757954947492863e-05, 3.040321604952197e-05, 3.526876898093197e-05, 2.9898220975539205e-05, 2.4254550575907082e-05, 1.774885106106184e-05, 1.2976400199377051e-05, 1.2201081164577152e-05, 8.950219554148119e-06, 1.2180966069695847e-05, 1.6661606206024606e-05, 2.196884174081543e-05, 1.9873889126667377e-05, 1.931039726816592e-05, 3.5625518407947834e-05, 2.811597224785083e-05, 2.0263158052772366e-05, 1.865844283102099e-05, 1.8601871118538784e-05, 1.5184281777917437e-05, 1.0239035026191804e-05, 1.4732477715010176e-06, 5.6859963302939605e-08, 2.6631779731895393e-07, 1.0120594899975935e-05, 3.545270345806294e-05, 6.595934799509059e-05, 5.342393510972252e-05, 3.4518093112526475e-05, 2.6961891132037816e-05, 3.362573291741411e-05, 4.3334500364885805e-05, 4.622951080332183e-05, 4.1811932129765406e-05, 4.5991585042644634e-05, 5.686990196062511e-05, 5.609603139748679e-05, 5.446669223102064e-05, 6.055690962036851e-05, 6.0997417228780285e-05, 5.2975367083390743e-05, 4.249511901380985e-05, 3.467809408880787e-05, 2.8456520285155396e-05, 2.9210360662415626e-05, 2.4811512722156297e-05, 2.970394059641397e-05, 3.833448429897563e-05, 3.765796604008436e-05, 4.26747975102641e-05, 5.317616611599881e-05, 4.479098768642241e-05, 3.259495610775721e-05, 2.495560621296442e-05, 1.6998154478307423e-05, 1.3622936496731786e-05, 1.4538278764591308e-05, 1.7102620702084918e-05, 3.112993198489575e-05, 4.5164393226447684e-05, 3.950723771295712e-05, 4.0180754954657205e-05, 3.320773865593479e-05, 2.241803678878414e-05, 2.3600132340969835e-05, 2.1345631615677342e-05, 3.0414670270187647e-05, 3.5002921079996435e-05, 3.682084524225818e-05, 2.9458006462744383e-05, 2.0488640150410214e-05, 4.740269371291365e-06, 1.1408315830006994e-05, 1.0809478247069633e-05, 8.836417282308836e-06, 9.34545494044647e-06, 1.677183813185907e-05, 2.079269652352623e-05, 2.3334704118267544e-05, 3.2270149445028687e-05, 3.731367389903062e-05, 4.9301133020677645e-05, 5.5050028955744225e-05, 5.930455999459159e-05, 5.008856824902701e-05, 4.4826342358097825e-05, 4.224512507921126e-05, 3.269497606983691e-05, 2.533145529350818e-05, 1.722397680202671e-05, 1.0217964500351053e-05, 1.3395827932620218e-05, 2.4517273913284306e-05, 2.4874710961701718e-05, 3.03292437009482e-05, 3.898543644492926e-05, 3.9720012772395404e-05, 3.9729545425395636e-05, 4.194288428486241e-05, 3.427365921944967e-05, 2.963332764082792e-05, 2.5574593971651706e-05, 2.837105403439185e-05, 3.133152398895356e-05, 3.4080666867416125e-05, 3.140562751101777e-05, 3.681046588391039e-05, 3.939641872621085e-05, 3.071986797344722e-05, 2.3944457255583857e-05, 1.5171730058303334e-05, 1.885723041948457e-05, 3.423368446256489e-05, 3.4075507672545646e-05, 4.6041334574219114e-05, 5.495707803443286e-05, 5.8824247340159114e-05, 4.938628190364951e-05, 4.3803238783933775e-05, 3.3102967585443485e-05, 3.4172569277927245e-05, 2.611372044751401e-05, 2.0783223751886652e-05, 1.5185191226707537e-05, 1.4851345152093222e-05, 1.7020968095876128e-05, 3.525501675821615e-05, 6.485887102676418e-05, 9.336117117527236e-05, 7.752767215055237e-05, 6.311365629723293e-05, 5.342989407786471e-05, 5.1767683607275544e-05, 5.599194082840089e-05, 5.8289570110659105e-05, 5.436803170335512e-05, 5.543530739046046e-05, 6.476014612906331e-05, 6.381815845896012e-05, 5.3907490473763936e-05, 5.6890677517006926e-05, 6.276562503710931e-05, 6.38326628129667e-05, 5.1799962831907515e-05, 3.5531705399401586e-05, 2.2377821056560607e-05, 2.2515289384122907e-05, 3.287158754018268e-05, 4.0451488154058804e-05, 5.219779789299883e-05, 5.4392734755109806e-05, 5.1720186248046926e-05, 5.408574977952069e-05, 4.246842591720744e-05, 2.840585161603609e-05, 2.2308219377204774e-05, 1.8566328461450887e-05, 1.9900379652738103e-05, 2.0598953623580714e-05, 1.4957660152533669e-05, 2.2547322820110886e-05, 3.8888581887944476e-05, 4.3369462861961274e-05, 4.712301505267165e-05, 3.822847437362439e-05, 2.2775509058261593e-05, 2.4037762044396986e-05, 3.136778671188768e-05, 3.543470411784166e-05, 3.897510639562886e-05, 3.188188285631245e-05, 2.44302600086261e-05, 1.812442781625434e-05, 6.547956067719409e-06, 1.47367984844904e-05, 9.540531807875278e-06, 8.873786529921352e-06, 1.2007221782074888e-05, 1.682379798120667e-05, 2.252070080706921e-05, 3.43941854945002e-05, 4.8888403997785716e-05, 5.605381113320418e-05, 6.637287522942112e-05, 6.409166324770316e-05, 6.741579796878972e-05, 6.016671768035203e-05, 5.4284811918408405e-05, 4.79214926610422e-05, 3.4780729552311164e-05, 2.5043864112475676e-05, 1.7041835212389225e-05, 1.875111648451498e-05, 2.478264025001146e-05, 2.9635546342959802e-05, 2.636200154228683e-05, 2.9938743656017114e-05, 3.321256508027761e-05, 3.473706101889261e-05, 3.31955801009651e-05, 2.5874748488864577e-05, 2.1224558053632627e-05, 2.512606850552439e-05, 3.113607247354575e-05, 3.1732624040097294e-05, 3.551552881737324e-05, 3.850601228035644e-05, 2.8702527920856502e-05, 2.1443078373363153e-05, 2.5970359615800595e-05, 3.406535699534033e-05, 3.4784780866274044e-05, 3.407394238431625e-05, 3.641394492017544e-05, 3.847840331997679e-05, 5.159464681002726e-05, 7.081996501775505e-05, 8.619826226277135e-05, 8.284006538164698e-05, 7.989458543881004e-05, 6.940278945327316e-05, 6.330830032265624e-05, 5.738466545480536e-05, 4.7698423277581174e-05, 3.833915782213666e-05, 3.57807313562159e-05, 4.3933638642773527e-05, 4.710681986996982e-05, 6.734995634533568e-05, 0.00011062396681932852, 0.00015605792637372111, 0.0001220894635155799, 9.549476473905045e-05, 8.716755512899606e-05, 8.669149389118235e-05, 8.545499752372597e-05, 8.153478046989476e-05, 8.181685634138583e-05, 8.059614733360319e-05, 7.9257577496974e-05, 8.012627876988487e-05, 7.37374126138094e-05, 7.463664044925885e-05, 8.113156011726916e-05, 7.908449866885995e-05, 6.806155203071623e-05, 5.572426227938094e-05, 4.79943768932074e-05, 4.839249347461648e-05, 5.613057882174602e-05, 6.464089716828753e-05, 7.244898360887959e-05, 7.258608497672685e-05, 7.429697224336728e-05, 7.949604986587372e-05, 7.452370136799788e-05, 6.131505947160145e-05, 5.2113048695796324e-05, 4.074565466403626e-05, 4.305608677866417e-05, 4.314472108699738e-05, 4.160241717529738e-05, 4.322895888574006e-05, 5.0668191813710176e-05, 6.146451668116996e-05, 7.058828802457676e-05, 7.529321791808784e-05, 7.163718813826634e-05, 6.147597189072795e-05, 5.510019602789934e-05, 5.415648255571459e-05, 5.897702759381679e-05, 5.877913946693835e-05, 5.634835142762984e-05, 5.2573989740301915e-05, 4.1772435994531784e-05, 4.131968764597026e-05, 3.60484075661901e-05, 3.801250039855264e-05, 3.857838353370869e-05, 4.043308073346207e-05, 4.2115428588153614e-05, 5.345356499179571e-05, 6.284851750057205e-05, 6.598178237716895e-05, 7.03212089644901e-05, 6.559048666594444e-05, 6.349289427281725e-05, 6.062767049838227e-05, 6.38781237232956e-05, 6.149552174484597e-05, 5.47362112466434e-05, 4.5914423686201724e-05, 3.837653516648909e-05, 3.72844918970434e-05, 3.695980427512554e-05, 4.431230730935328e-05, 4.8615939700430385e-05, 5.407706462517837e-05, 5.9311513002229206e-05, 5.3855522338113164e-05, 5.0715403201315676e-05, 5.15297664279181e-05, 4.852377715111526e-05, 4.612854928270517e-05, 4.45568667626296e-05, 4.592693661759033e-05, 5.0232069526983396e-05, 5.4882772079067435e-05, 5.32423143453375e-05, 4.641375579335295e-05, 4.323404402552625e-05, 4.540243177375568e-05, 4.556588898720416e-05, 4.6924440968882706e-05, 5.16175572730187e-05, 5.9971038626241514e-05, 7.192378937694803e-05, 8.955376886992523e-05, 0.00010357855645986132, 0.00010704698862735201, 9.857611075676495e-05, 8.724122920220187e-05, 7.211952392241689e-05, 6.17223655266759e-05, 5.117675538461115e-05, 4.474929867688343e-05, 5.1500293443406535e-05, 5.719115588480565e-05, 6.053406167319179e-05, 8.44527251690433e-05, 0.0001363117108336839, 0.00019828934087408418, 0.00014713823223742954, 0.0001039438786259327, 9.001625893620714e-05, 8.965399241811022e-05, 9.297030204390439e-05, 9.800633480903287e-05, 9.379743928421662e-05, 8.53848386828369e-05, 7.572533043003912e-05, 7.448797723488638e-05, 7.762980146695035e-05, 8.250647617720743e-05, 8.2878656890167e-05, 7.835019337728881e-05, 7.384190844349694e-05, 6.541766894986494e-05, 5.623112004317508e-05, 5.4497130197041716e-05, 6.225734542998336e-05, 6.709069166312178e-05, 7.596348630371615e-05, 8.254521778703089e-05, 8.414105190228791e-05, 8.807841630354596e-05, 8.434190065433879e-05, 7.628842821529475e-05, 6.668704804411077e-05, 5.769429836284654e-05, 5.950195284096336e-05, 5.9679964569689586e-05, 6.266891304312272e-05, 7.309589160494136e-05, 8.958305256149236e-05, 0.0001059095044976189, 0.00010736494107578697, 0.00010084013407903825, 8.942400911661002e-05, 7.332657849994427e-05, 6.334373560381162e-05, 5.892795508125225e-05, 6.18122916979006e-05, 6.600057898366172e-05, 6.765719280166295e-05, 6.76612590012981e-05, 6.363922448029943e-05, 6.465276186684585e-05, 5.9892340865594446e-05, 5.547124944153418e-05, 4.5046617071853225e-05, 4.1048626895874984e-05, 5.3056284275774e-05, 7.172215455605821e-05, 7.423910729471367e-05, 6.967251821143326e-05, 7.318031112078975e-05, 7.492050551144929e-05, 7.191856303798212e-05, 6.69306676499441e-05, 6.473489249384742e-05, 6.031563904814544e-05, 5.3278464619631316e-05, 4.599378248945585e-05, 3.693008100430272e-05, 2.6357745470498352e-05, 2.9214334394004672e-05, 4.1478603021885666e-05, 4.397322668386414e-05, 5.1567892241316755e-05, 6.161250402788627e-05, 5.4685425478331064e-05, 4.5238230483310134e-05, 4.2218658829208245e-05, 3.832170478250148e-05, 3.733616835852461e-05, 3.4320797928759176e-05, 3.830549599109014e-05, 4.5631833398168046e-05, 5.48662961788725e-05, 6.449605937143362e-05, 6.595186167689499e-05, 6.400091199221705e-05, 6.166831931914283e-05, 5.544585845200466e-05, 5.721490825058095e-05, 6.225506525102253e-05, 7.53966276802184e-05, 9.67511548116951e-05, 0.00011650951011007022, 0.00012852140366238424, 0.00013102622513649567, 0.00013003479489367495, 0.00011256289552347269, 9.156189974852684e-05, 7.579498531218986e-05, 5.643161218332961e-05, 4.369867878382704e-05, 4.9049051945571296e-05, 5.771602471568883e-05, 6.938318890293408e-05, 0.0001118785909652061, 0.00017777116321915316, 0.0002482298419557485, 0.0001676741822937886, 0.00010740073091888928, 8.859214488029744e-05, 9.704087253292432e-05, 0.00010390607078810626, 0.00011078990797213065, 0.00010238277737777204, 8.700104949022705e-05, 7.471418343763919e-05, 7.713358754804947e-05, 7.583112621990765e-05, 7.219978206466385e-05, 7.333370874891013e-05, 6.515366648265844e-05, 5.5339791824286274e-05, 5.7178054305137305e-05, 5.966951468261602e-05, 6.406593034525814e-05, 7.084106552067056e-05, 8.210759632644377e-05, 8.867180298309361e-05, 8.903621242725349e-05, 9.086655909747423e-05, 9.123037496046031e-05, 8.696425413114851e-05, 7.276142607933848e-05, 6.231241326439808e-05, 6.331083425729163e-05, 6.804282702346608e-05, 7.681770000108399e-05, 9.10531091821771e-05, 0.00010188565258531407, 0.0001086213091590179, 0.00012193858650281329, 0.00011810943919714327, 9.97199597997471e-05, 8.772148010681502e-05, 7.544308839785542e-05, 7.064835986929042e-05, 7.292412750651076e-05, 7.883797976283387e-05, 8.244571276013843e-05, 8.703359398121945e-05, 8.079895324183869e-05, 7.358977678389777e-05, 7.254713044734872e-05, 6.655842214033665e-05, 6.005044459785137e-05, 5.134699810642928e-05, 5.0337809932157484e-05, 5.961474845892973e-05, 7.979719538503592e-05, 9.051344587146947e-05, 8.423292688725634e-05, 7.850655969656119e-05, 7.361129292195036e-05, 6.944756107798918e-05, 7.055436706996077e-05, 7.316924706267153e-05, 7.005097476599895e-05, 5.854423640264966e-05, 4.717240923997158e-05, 3.629162598625074e-05, 3.211901184298314e-05, 3.568688093290934e-05, 4.1536438222794326e-05, 4.396219785587661e-05, 4.708413519750694e-05, 5.21099417393293e-05, 4.9209935052923615e-05, 4.3945958046138014e-05, 3.918960466915305e-05, 3.568249584256693e-05, 3.3543604375127866e-05, 3.40954936016781e-05, 4.266436372564787e-05, 5.4796905624764784e-05, 7.071701266709183e-05, 8.511620196908194e-05, 9.051099755128157e-05, 9.183671596338524e-05, 8.650617738990488e-05, 7.587367618641849e-05, 7.052501849846144e-05, 6.972509784030888e-05, 8.824219854395314e-05, 0.00010662475036956221, 0.0001164275177270625, 0.00012703749664171542, 0.0001271987249833981, 0.00012668360037345342, 0.00011639422035281114, 0.00010163080530320493, 8.355890461671272e-05, 5.935903957068388e-05, 4.53331272462746e-05, 4.866757698275059e-05, 5.6787072034893835e-05, 7.570260574079227e-05, 0.00013592378762285044, 0.00021162746016236195, 0.00029862936627359345, 0.00019600958049241566, 0.00012150598945914275, 9.498312341767263e-05, 9.909153527985536e-05, 0.00010318977796200462, 9.92160597668158e-05, 8.707225335577578e-05, 7.818407418332731e-05, 7.628334022245999e-05, 7.680971374949683e-05, 6.878052667342262e-05, 6.636932073194835e-05, 7.375025172030465e-05, 7.512641824966998e-05, 6.421311893605258e-05, 6.034686317309308e-05, 5.369794891297644e-05, 5.238414320648778e-05, 5.7593214677693166e-05, 6.86613542556806e-05, 8.06564533839746e-05, 9.816244132672769e-05, 0.00011830637033141778, 0.00011926454156828822, 9.808182543213871e-05, 7.812337406411171e-05, 6.555450463631768e-05, 6.468041959377975e-05, 6.954192264096275e-05, 8.131820369490676e-05, 9.242828757611244e-05, 0.00010086352612173404, 0.00011204842128669372, 0.0001264050940283251, 0.00012544669706540695, 0.0001111849346328793, 0.0001008331776400687, 8.942005071994732e-05, 8.257782659611e-05, 7.64893102002171e-05, 8.398816495831488e-05, 8.91895340200717e-05, 9.161354976866093e-05, 8.864704109210206e-05, 9.120508484376432e-05, 9.08244498265845e-05, 8.298951618389866e-05, 7.783158896156605e-05, 7.175762926825576e-05, 6.927053857937286e-05, 8.135425130765492e-05, 9.942152655459011e-05, 9.981740461361072e-05, 8.050436176574078e-05, 6.598348412628681e-05, 6.210803316510259e-05, 6.463255497999969e-05, 7.698986551022139e-05, 8.64179886458574e-05, 8.55877764928295e-05, 7.116644664450297e-05, 5.014839315804229e-05, 4.515869080731465e-05, 4.435072267513903e-05, 4.505276283548725e-05, 5.2896235975936196e-05, 5.899581621177046e-05, 5.9781360075349016e-05, 6.143604123842664e-05, 6.70106836421358e-05, 6.329705919626447e-05, 5.766211729019637e-05, 5.5120519319892733e-05, 5.752067117239784e-05, 5.912881708026283e-05, 6.323856182363002e-05, 7.354367273298134e-05, 8.722045450208309e-05, 0.00010275844912100553, 0.0001095572691292984, 0.0001056895481188162, 9.148577548783394e-05, 7.898612528313588e-05, 7.408143717138098e-05, 7.071805506068138e-05, 7.783353205703916e-05, 9.003752629063452e-05, 0.00010416574405489192, 0.0001204139174513801, 0.00011769394470144954, 0.00010130463443470713, 8.581199494468466e-05, 7.774328107178313e-05, 5.854390515459091e-05, 3.705949421441932e-05, 2.6357646667385383e-05, 2.7664663918976228e-05, 3.1505948781971565e-05, 5.722560115991648e-05, 0.00012423157978829592, 0.00020268652113383093, 0.00030871516689099716, 0.00018967797456273088, 0.00010826116542195384, 7.95103522936438e-05, 7.936426088155172e-05, 8.284866684016759e-05, 8.217399257714676e-05, 7.29861995670803e-05, 6.0188455205066444e-05, 5.104696966884476e-05, 5.358149520235304e-05, 5.2709002238694445e-05, 4.9321243217380444e-05, 5.0520909796854835e-05, 5.3281479932960446e-05, 5.5780219541722094e-05, 4.535881976606639e-05, 3.3950185909393205e-05, 4.1010821360715555e-05, 4.4653039515977554e-05, 5.0161056742481966e-05, 6.274371436542508e-05, 8.205801269937194e-05, 9.787708068588931e-05, 9.669718066853138e-05, 8.250061575487165e-05, 6.883241894609102e-05, 5.906305439173899e-05, 5.04188853877342e-05, 4.760810444348947e-05, 5.642867571400424e-05, 6.832874921783046e-05, 7.63514692338888e-05, 8.09277211162797e-05, 8.837751239291613e-05, 8.833139695901959e-05, 8.094145464578366e-05, 7.064719607480852e-05, 5.348309038304809e-05, 4.9791974355440946e-05, 5.6380831392012444e-05, 6.923401079920956e-05, 7.256187017265145e-05, 7.068778996424785e-05, 6.189066666295586e-05, 5.995549426799665e-05, 5.966459753572754e-05, 4.6132701668603704e-05, 3.8626892235365654e-05, 3.977769229240335e-05, 4.5998126794299265e-05, 6.532658946099375e-05, 8.250756883649696e-05, 8.273222435110553e-05, 5.8956013056958966e-05, 4.022918044748883e-05, 3.514181818889801e-05, 4.184401755575778e-05, 5.302285139700642e-05, 5.912533874856919e-05, 6.353270317602345e-05, 6.46997579856592e-05, 5.911783473045051e-05, 5.594794558757986e-05, 4.860326401680748e-05, 4.281761997849823e-05, 4.931667293401748e-05, 5.982204886133307e-05, 5.18546125362037e-05, 3.686977856523775e-05, 3.43605872461925e-05, 3.1316664953361426e-05, 2.8979429304752258e-05, 2.840029214195501e-05, 2.3091874244306698e-05, 2.0569492276609703e-05, 2.9495850345790182e-05, 4.4987499382394935e-05, 6.204852163243644e-05, 7.854008151940603e-05, 8.210504044696534e-05, 7.306632487372454e-05, 6.390186869834473e-05, 6.006129394124002e-05, 6.215174411946477e-05, 6.389445238401139e-05, 6.762822284004044e-05, 7.547553119125383e-05, 8.577881438720583e-05, 9.782565332888702e-05, 0.00010417289430061494, 9.865713256438892e-05, 8.877372991320765e-05, 8.477271648624283e-05, 6.275002102187607e-05, 4.536914566013772e-05, 4.0479795122771305e-05, 4.5001428340021945e-05, 5.266149204950731e-05, 7.909927051556936e-05, 0.00015409921478283956, 0.0002219997857360679, 0.0003314960132492142, 0.0001879697583113723, 0.00010106659293882422, 7.808859363587542e-05, 8.644498465130345e-05, 9.796085859290277e-05, 9.422998552416387e-05, 7.681339240033974e-05, 6.335274499774553e-05, 5.881931034594493e-05, 6.025027487436602e-05, 6.081641139668108e-05, 5.828803007013417e-05, 5.856069691193595e-05, 5.802903984783845e-05, 5.651601476854317e-05, 4.647216386564574e-05, 3.878165609614551e-05, 4.4181378561683726e-05, 5.2608321850332927e-05, 5.984806123775561e-05, 7.172623048629696e-05, 8.502114865971764e-05, 0.00010275933756963815, 0.00010798020516536012, 0.0001041134074915834, 9.153031584843967e-05, 7.923418860625843e-05, 6.888973933517668e-05, 6.831532610489439e-05, 7.63605511379874e-05, 8.055174939041379e-05, 8.24850242666232e-05, 8.62427207940245e-05, 9.92723085578597e-05, 9.943789344832225e-05, 8.865768705133057e-05, 8.00958689118249e-05, 6.104815821282988e-05, 4.975361446835799e-05, 5.512216375696132e-05, 6.826649985987436e-05, 7.642109077127668e-05, 8.098172543243961e-05, 7.714950890129785e-05, 7.925417607810817e-05, 7.715925706720422e-05, 5.9836585602342484e-05, 5.3799113107678996e-05, 5.740336634029867e-05, 5.7794216882236795e-05, 7.335590174434366e-05, 8.730615104053776e-05, 8.51029073860468e-05, 6.442708473143773e-05, 5.000020775223679e-05, 5.1661990916034135e-05, 5.788314271696928e-05, 6.698103001939622e-05, 6.455111745635845e-05, 5.667310130643081e-05, 5.140590595013511e-05, 4.7602142144694225e-05, 4.3966597227372224e-05, 3.776038625517679e-05, 3.571851844054832e-05, 3.5998404119050354e-05, 4.0421688140903883e-05, 3.898134645332147e-05, 3.0073021836589193e-05, 3.412072840580134e-05, 3.5587803850230585e-05, 3.606685657837827e-05, 3.91341739425234e-05, 3.9917472646949686e-05, 4.221052310293256e-05, 5.0660077720779925e-05, 6.950782168153835e-05, 9.127666241969647e-05, 0.00011070378595286776, 0.00011536235103129287, 0.00010279652186065421, 8.87431427837671e-05, 7.805350615942993e-05, 7.256200862862393e-05, 6.95767105494155e-05, 7.053551899452119e-05, 7.164000489988802e-05, 7.54764005200876e-05, 8.482306452983659e-05, 8.43104969522711e-05, 6.928254384690991e-05, 6.27724696968621e-05, 6.277432661381448e-05, 4.6653308057226553e-05, 3.3564354336464344e-05, 2.3265058821192595e-05, 3.086881009368005e-05, 4.3828293221122765e-05, 7.435184834800383e-05, 0.00014022146658506849, 0.00018856243844729434, 0.0003112431281207201, 0.00015685556739151175, 7.458126997958328e-05, 6.139270467262683e-05, 8.052229619980313e-05, 8.425893027327816e-05, 7.42751638431262e-05, 5.865783961647907e-05, 5.1787232985643945e-05, 4.3293017879046924e-05, 4.394029412502597e-05, 4.9358392255511585e-05, 4.358825677361186e-05, 3.384554085470467e-05, 3.720875150700785e-05, 4.374329873152051e-05, 3.065791098866238e-05, 2.713410910441866e-05, 3.572487040811515e-05, 4.4843077862785945e-05, 5.324838725181309e-05, 6.177607537732304e-05, 7.017789923514115e-05, 8.67699789466696e-05, 8.69146270097452e-05, 7.756108156679543e-05, 7.724831277954538e-05, 7.679290107915421e-05, 5.8225013310624554e-05, 5.333513408086628e-05, 6.280034144300575e-05, 7.064665930430538e-05, 7.468197555656791e-05, 7.282320748591126e-05, 7.32245758893003e-05, 7.089572609542211e-05, 6.829292964782704e-05, 6.427315089918249e-05, 5.2227985294908325e-05, 3.779691640621799e-05, 3.994508753010367e-05, 5.474912825861503e-05, 6.956235800464875e-05, 7.950368542754128e-05, 7.695837215594922e-05, 7.379222552060794e-05, 6.387991377666714e-05, 4.4515349411165843e-05, 3.195430541713033e-05, 3.7804741109437165e-05, 4.0336346907687446e-05, 5.665055843262541e-05, 6.892572199573929e-05, 6.807000259767262e-05, 5.844335791904505e-05, 4.8828340879051014e-05, 4.9772620633393484e-05, 7.100591870402312e-05, 7.439313333066522e-05, 7.018477328891446e-05, 5.56822324878069e-05, 3.8407019428460726e-05, 2.8932762400548702e-05, 2.420276369375063e-05, 2.650695516460678e-05, 3.118650717790012e-05, 3.694212832832227e-05, 2.9872911549342933e-05, 2.3310025078072484e-05, 1.0225995715910722e-05, 1.1100512269608291e-05, 1.9977042298429884e-05, 2.792227328629522e-05, 3.340648202984028e-05, 3.785413266538803e-05, 3.6730137270993884e-05, 4.079776925668934e-05, 5.496792658347016e-05, 6.983613889414162e-05, 8.567422219392002e-05, 9.798489887059489e-05, 9.447758162098364e-05, 7.702113532804081e-05, 6.487606101368502e-05, 5.92820073567009e-05, 6.0740750853867666e-05, 6.123560135362764e-05, 5.732531959815055e-05, 5.2444329921614464e-05, 5.5853299163255836e-05, 6.44127142755936e-05, 5.5042897928084025e-05, 4.308073146049062e-05, 4.344844119653515e-05, 3.778040547905059e-05, 2.8082489926454284e-05, 2.3652111693310162e-05, 2.5520378623727294e-05, 3.0261261128811212e-05, 5.720004938792464e-05, 0.00011495234755297042, 0.00014342504371867113, 0.00014126030146049016, 0.00010590525952354334, 8.59812496853883e-05, 6.663303251645525e-05, 5.218025300931493e-05, 5.5239604439551475e-05, 5.263363206581774e-05, 4.1673084071874515e-05, 3.9162637037419555e-05, 4.590399564968502e-05, 4.8742410380495396e-05, 4.939063288890568e-05, 4.151583827251102e-05, 2.8404138404406755e-05, 3.167000064913578e-05, 3.284868131391756e-05, 4.19926389064883e-05, 4.167666849616726e-05, 4.3057422502293566e-05, 4.8252461652003556e-05, 5.515236552328742e-05, 6.385842330769449e-05, 7.041808632334825e-05, 8.138219728459853e-05, 8.002209747313841e-05, 7.727981846170565e-05, 7.809157554545673e-05, 7.503352763884692e-05, 5.4238636262730265e-05, 3.9712241659566146e-05, 4.3980537606903794e-05, 4.642546321896049e-05, 3.9851184912618503e-05, 4.436176389950761e-05, 5.361182564289949e-05, 4.4334331273916494e-05, 3.437283005879484e-05, 4.5647336617779934e-05, 4.86822265693526e-05, 3.249293260881113e-05, 2.2739292453198753e-05, 3.28234850021619e-05, 4.928273282672233e-05, 5.508187530942311e-05, 4.9947607995985583e-05, 4.5280911633733394e-05, 4.625305424025339e-05, 3.779019806896327e-05, 3.4183951574684644e-05, 3.6863445816423657e-05, 2.87983741078582e-05, 3.6375973101102074e-05, 4.6459394575847646e-05, 4.46970293318681e-05, 4.4179686755312894e-05, 4.368626096602226e-05, 5.5568241126599746e-05, 8.618436678504212e-05, 7.557578658515203e-05, 6.19904044907234e-05, 4.713771716397125e-05, 3.939169663695535e-05, 2.998388203794307e-05, 1.8436597486748924e-05, 2.4350530329792355e-05, 4.600263962896715e-05, 6.067738421633454e-05, 3.675883033306265e-05, 2.032035574657849e-05, 1.3703969250653663e-05, 3.116266078345274e-05, 3.868386531357559e-05, 3.95289411032657e-05, 4.6683733311680015e-05, 5.281345152946047e-05, 5.3815748693727436e-05, 5.2823255232292955e-05, 5.910020580489587e-05, 6.868787382053111e-05, 8.357497450618783e-05, 9.544698724358976e-05, 8.918112853018264e-05, 7.076735778103704e-05, 5.126750954856383e-05, 4.5862898098875645e-05, 4.87091267926147e-05, 4.979990771779259e-05, 4.674829793999951e-05, 4.241058534690955e-05, 4.604861944734792e-05, 5.2203078956127804e-05, 5.196607609562855e-05, 4.7298577153976385e-05, 4.694304779528931e-05, 4.602311892939753e-05, 4.3810770054956353e-05, 4.344380461002793e-05, 3.720109687905158e-05, 3.354064066590867e-05, 5.5449253832387845e-05, 9.464453096693228e-05, 0.00010184216263332874, 6.957367031484899e-05, 6.287705741783388e-05, 5.54282640037713e-05, 4.7245411665368846e-05, 3.3018908013943895e-05, 3.532160364201013e-05, 3.378953462394203e-05, 2.9212407846600328e-05, 3.637442206085871e-05, 4.63815225454918e-05, 4.296462569457228e-05, 4.026060419007778e-05, 3.357599874559108e-05, 2.181729934087789e-05, 2.3256355192601337e-05, 2.5712480649546043e-05, 3.058237551047887e-05, 2.6716928642689862e-05, 2.763201276145366e-05, 3.607228312123446e-05, 4.1186118031090864e-05, 4.219853862697852e-05, 4.139685465640319e-05, 4.634242718654015e-05, 3.987766441922198e-05, 4.171575308715684e-05, 4.350371644078862e-05, 4.823710611046986e-05, 3.115366061917908e-05, 2.308238113555285e-05, 2.7182503559774816e-05, 2.3160571606915e-05, 1.5525201203505986e-05, 1.7294511225235075e-05, 3.1266553836417715e-05, 2.9934432167854205e-05, 1.948585770850493e-05, 3.414019264961827e-05, 4.578645353316808e-05, 3.9696230626916586e-05, 3.0017753666961997e-05, 3.204347371224627e-05, 3.5427920951132485e-05, 4.385097565887378e-05, 3.795754777481162e-05, 1.730606351454927e-05, 3.3541175912151595e-05, 3.27468894224654e-05, 3.744443214768637e-05, 5.0672929818061026e-05, 2.9300890813337535e-05, 3.170409928116473e-05, 3.140839017786483e-05, 2.159024976719277e-05, 2.2273156777821677e-05, 2.615804804190931e-05, 4.671917316374099e-05, 9.331395504764736e-05, 7.862503216204436e-05, 6.080156462182136e-05, 5.1076774473963365e-05, 4.9851670354328756e-05, 4.515123451041006e-05, 3.8339412457034544e-05, 4.438025520544471e-05, 5.8636145187825025e-05, 7.644528516866081e-05, 5.871333153537567e-05, 3.966025377873677e-05, 2.3192558269226028e-05, 3.08588226852566e-05, 3.6936398144913855e-05, 4.384614036827351e-05, 4.410526725144689e-05, 4.4149346019978546e-05, 3.925971513092195e-05, 3.764039369493329e-05, 4.610457896828075e-05, 4.8844937499692686e-05, 5.681519507911045e-05, 6.760400448253787e-05, 6.656993333320791e-05, 4.2500902963821e-05, 2.719350212473361e-05, 2.7370544239356527e-05, 3.131209645616142e-05, 3.271528106457877e-05, 2.710081483147993e-05, 1.697892891931746e-05, 1.3203869995207695e-05, 1.1288665547419793e-05, 1.4707824797723259e-05, 1.52961610526626e-05, 1.4940972744369544e-05, 1.6385592259857866e-05, 2.0646685615495965e-05, 2.7850371172628975e-05, 2.2906926628150083e-05, 2.3927344891213377e-05, 4.127714170104117e-05, 6.37120162419945e-05, 5.781167028262367e-05, 1.4532726811274943e-05, 2.1633909995702152e-05, 2.5755096966319526e-05, 2.3813188853469315e-05, 1.3886666384076223e-05, 1.1455560176560465e-05, 1.616279685358645e-05, 2.8486445990928733e-05, 3.6073539374737336e-05, 4.229364993437924e-05, 4.075520505538429e-05, 3.4435183622418064e-05, 2.3350702680615715e-05, 1.7954495022837694e-05, 2.2050494872478554e-05, 2.6715258484768038e-05, 2.9587294348961136e-05, 3.0312990217665328e-05, 3.731519112195659e-05, 4.502067644080767e-05, 4.3938329895495495e-05, 3.562692000918128e-05, 3.75207046504492e-05, 4.310447273787525e-05, 3.6713595011290685e-05, 3.1111181027922566e-05, 2.9311727196449675e-05, 2.5033151281255757e-05, 1.0558815495988483e-05, 4.62726461054894e-06, 7.72095803149499e-06, 1.811136776185243e-05, 1.5978838447637455e-05, 1.6712668341619307e-05, 3.4402253470959825e-05, 3.624765429470533e-05, 2.2437244009247746e-05, 2.010074282879552e-05, 2.5926575603202816e-05, 2.8478378482477304e-05, 2.598745965600974e-05, 3.52279939964466e-05, 4.0109547244649944e-05, 4.845560449654654e-05, 3.70185604141987e-05, 1.8960590250765858e-05, 3.0155492561020723e-05, 3.0814783648698463e-05, 3.99436055125999e-05, 4.794450002116369e-05, 2.8722132459225033e-05, 2.8390511586149875e-05, 1.5844311584538294e-05, 6.360492842562599e-06, 6.978136202991996e-06, 2.3273157751413836e-05, 5.630409615578763e-05, 0.00010476521231459565, 9.248878039121243e-05, 7.618014898986503e-05, 5.981154613033934e-05, 4.9342961698674556e-05, 3.631658485782394e-05, 2.904466175804874e-05, 3.155402821968679e-05, 3.7489347058580855e-05, 4.685335980140292e-05, 3.4004144701123325e-05, 2.061041862318297e-05, 4.435818374868844e-06, 5.7210133605471275e-06, 9.75931495916525e-06, 1.5024897974632207e-05, 1.7377496399892603e-05, 1.909401338236262e-05, 1.918664816945885e-05, 2.033593840337808e-05, 1.7906109271632376e-05, 1.7152716245969372e-05, 2.3000632128114105e-05, 2.489396886943729e-05, 2.5361265090143975e-05, 2.155617210102527e-05, 2.1308006410953372e-05, 1.497403065929085e-05, 1.4084726726206364e-05, 1.4494736021611643e-05, 1.4613873088445163e-05, 9.640283200142715e-06, 7.276659041882171e-06, 9.77721561879252e-06, 1.8398802101810358e-05, 1.849106313631765e-05, 1.586655232998483e-05, 1.968035264088358e-05, 2.2323309045666096e-05, 2.517269716877206e-05, 1.885176249248405e-05, 1.718050685910219e-05, 3.4646301449368485e-05, 4.964293964468506e-05, 4.252433463663783e-05, 4.47893260731065e-06, 8.782020249692604e-06, 1.3797647499407405e-05, 1.7727643007561548e-05, 1.5245493451184818e-05, 2.152841309717275e-05, 3.127181248812127e-05, 4.676012899675023e-05, 5.249309197545251e-05, 4.731359387490291e-05, 3.480330667436551e-05, 2.7528244963713012e-05, 1.8116475411569504e-05, 1.1470519549236468e-05, 1.4279045513031215e-05, 2.3848965210643158e-05, 3.207071688736812e-05, 3.5454802809072736e-05, 4.1528125501274364e-05, 4.408060267141838e-05, 3.273789674928871e-05, 2.0563787295980738e-05, 2.7393113341268215e-05, 4.1056963407221236e-05, 3.403672322819279e-05, 1.6584618003661852e-05, 3.0080430187367597e-06, 4.152786430590279e-08, 1.1683197532128046e-07, 2.269761668490928e-06, 7.308656505087534e-06, 1.2368302120681612e-05, 1.582734244424427e-05, 1.9198500727783172e-05, 3.167696957361559e-05, 3.568591725562841e-05, 2.6520538397544768e-05, 2.0439733979200137e-05, 2.2409066228234836e-05, 3.1436213685088486e-05, 3.447056540677996e-05, 4.3757872152157014e-05, 4.633781556005004e-05, 4.809882195661332e-05, 3.66106967465022e-05, 2.2519917215986396e-05, 2.1689525258557757e-05, 2.2140600451977627e-05, 3.1986179932554996e-05, 3.905958220295289e-05, 2.858665567405954e-05, 2.64645695690547e-05, 2.323517564168323e-05, 2.49327260916794e-05, 2.948064566687336e-05, 4.1130757187659965e-05, 6.520949249263449e-05, 0.00010164124083298605, 8.67770501393449e-05, 7.687565192705982e-05, 6.349092180155104e-05, 5.054384554826354e-05, 3.348015418889068e-05, 2.322377030033682e-05, 2.306703631537217e-05, 2.6867802722349775e-05, 3.5239367720396124e-05, 2.1214539661594194e-05, 1.2880303690325227e-05, 3.1456825921115692e-06, 1.6257106341448094e-06, 1.0430102619955065e-06, 5.9504558937728e-08, 1.183003683194229e-07, 6.753902705215929e-07, 4.451364332078195e-06, 4.6304350339822e-06, 5.804225569364726e-06, 8.12054279174395e-06, 1.671215232701385e-05, 2.0650653570195184e-05, 1.5767007541723776e-05, 8.807375170383616e-06, 5.562402056810966e-06, 3.272540882422429e-07, 3.08288183590757e-08, 6.22598002084e-09, 5.6625302511639e-09, 2.072943066336874e-08, 1.042320511805859e-06, 4.406668990956991e-06, 1.2461830027348605e-05, 8.148794350464426e-06, 6.916853440182843e-07, 8.084314966336949e-08, 1.6562900115900232e-06, 4.37285163505763e-06, 7.741863481041873e-06, 1.2429559175516956e-05, 2.4986104051513788e-05, 2.4241665884759154e-05, 8.602863279452087e-06, 9.407584510011953e-13, 1.4994111270540743e-08, 5.526398374992856e-06, 1.0874764670047127e-05, 4.1720385762348325e-06, 1.9055767763323555e-06, 7.047672759844164e-06, 2.122976048347218e-05, 2.625542388375872e-05, 2.166726844753748e-05, 8.144227368952008e-06, 1.4751613885428242e-06, 8.662821857902107e-07, 6.795979613538774e-06, 1.1919991865107775e-05, 1.3365192335750337e-05, 1.2142838118329107e-05, 1.0956588283761257e-05, 1.0735039076263246e-05, 1.1703714512995289e-05, 1.539867864886865e-05, 1.4192564540193468e-05, 1.5641357557239006e-05, 2.699478755749591e-05, 2.3632695041522156e-05, 5.787626740216084e-06, 4.377599283960608e-08, 1.0464942045522765e-12, 4.077365460590914e-15, 1.3028481456967478e-11, 6.678950284118251e-11, 2.279405035664957e-08, 4.196609630197922e-06, 3.3682512767024134e-06, 1.4935831827258284e-05, 2.4724548241029952e-05, 2.0150482483871634e-05, 4.070556523538541e-06, 3.0246113710979396e-08, 3.5971460915688406e-09, 1.9905726455035468e-08, 3.082411970350506e-07, 2.7525106258428408e-06, 1.5398606168576214e-05, 1.4136387247088784e-05, 5.187729204379954e-06, 1.5921761582616371e-06, 5.039288179492982e-07, 2.0242446602231745e-07, 4.953184146493297e-06, 9.379550361724069e-07, 9.409651878426059e-09, 3.425892614520208e-10, 1.9051177978372554e-07, 4.725688991145914e-06, 1.1295228954830646e-05, 3.0924767435594054e-05, 5.924788057874895e-05, 4.616266592764496e-05, 4.3384444151199905e-05, 3.8726329594139905e-05, 2.8693849508789642e-05, 1.5850411384444233e-05, 8.230844182175978e-06, 3.6940454949286363e-06, 4.3517130722617156e-06, 4.864458008069488e-06, 7.762675511885701e-08, 2.5084800501820575e-12, 5.689417879369494e-13, 3.3728973088804115e-12, 1.5499410113232906e-11, 5.235291463625106e-12, 4.42515124032459e-12, 4.0662735308593976e-15, 2.3614766988812074e-12, 1.0394442780649951e-11, 4.065801095805145e-15, 4.064939320739019e-15, 4.0652395779019004e-15, 4.063108324178804e-15, 4.061236705191001e-15, 4.062731157640437e-15, 4.061668851116692e-15, 6.742623054622718e-12, 1.873782880567273e-11, 5.727410024554299e-12, 5.5161314851314595e-12, 1.5138761404547094e-11, 1.4667012390540588e-12, 4.0604568294513775e-15, 4.0599075709620385e-15, 4.061708058140996e-15, 1.072564276223546e-11, 6.90593082455281e-12, 4.0636795987760956e-15, 3.5747029837922653e-12, 4.0632764691879015e-15, 4.143339583364424e-12, 1.0309806109731714e-11, 4.065162160187013e-15, 6.295285889421979e-12, 4.065075324349016e-15, 1.0242356527153624e-11, 1.9661393038319004e-12, 4.071161949629345e-15, 4.157673939993514e-12, 4.0743638194459675e-15, 7.902808338941848e-12, 3.990167461730804e-11, 3.8427079689756544e-08, 4.552501538197801e-07, 1.6474209026272892e-06, 7.524716885697358e-06, 1.723833974732749e-05, 1.639596705924386e-05, 1.8745798094848687e-05, 1.2143212048890801e-05, 5.193880626679127e-06, 6.7411814902344065e-06, 1.616548728700829e-05, 2.3122204768893536e-05, 2.8782849079154615e-05, 2.7849300568303276e-05, 2.225446597577591e-05, 2.7849806074586484e-05, 2.3701021215190258e-05, 7.5601052767857475e-06, 1.439113932316295e-07, 4.998936124359783e-09, 1.4833801006624065e-07, 5.741082360434111e-06, 9.88796288937814e-06, 5.663978670475139e-06, 5.434480353687522e-06, 1.209695588502064e-05, 1.9760475822860077e-05, 2.6742009323542246e-05, 1.7532610331373024e-05, 4.1091136588730466e-06, 2.429203398006937e-06, 6.683917042474388e-06, 1.0430102373469568e-05, 6.620523105087298e-06, 6.604886702882787e-06, 1.255173664365375e-05, 1.814114640533179e-05, 1.9493472460515136e-05, 4.729012760229312e-06, 1.0709348257686033e-08, 1.034063215634927e-10, 7.62507034282463e-09, 2.180934124892286e-07, 8.932056801384429e-07, 2.288743236526845e-06, 1.1943539870239945e-06, 1.2125761596475155e-06, 1.4210062198947506e-05, 2.7385641377934564e-05, 3.924328389794887e-05, 3.2072389433831354e-05, 2.5535964816213544e-05, 1.4501806998046967e-05, 1.3860481973673292e-05, 1.3665651371623528e-05, 9.651706972638661e-06, 9.408457281768887e-06, 1.19825522396846e-05, 1.5802822530405903e-05, 1.569520816686169e-05, 9.960583209750509e-06, 3.5558960403055525e-06, 5.557555514917441e-07, 2.0804245495373463e-06, 6.053312072646598e-06, 2.735896354574858e-06, 2.0977953064789317e-06, 6.689152465084335e-06, 2.0116481760414966e-05, 2.2215039278168764e-05, 1.6861273783694595e-05, 1.336328347682993e-05, 1.0276558389430412e-05, 6.063156300258754e-06, 9.037445109630997e-06, 1.5032682324116195e-05, 1.830265309397816e-05, 1.7476741102503743e-05, 9.413012940218502e-06, 1.578179537487656e-06, 1.1515620202034764e-06, 9.675762303243374e-07, 5.388832201909383e-06, 8.090281849093532e-06, 1.6006701007811554e-05, 1.4604112938706592e-05, 1.43820108225156e-05, 1.8316894328533558e-05, 1.558795997617699e-05, 1.2483599138848128e-05, 6.4218216374201585e-06, 6.61960317019927e-06, 1.830504226394993e-05, 2.275377551721663e-05, 2.094202452503676e-05, 1.153355477625271e-05, 2.4563693365712636e-06, 1.296926961490192e-11, 1.5285226960612526e-11, 2.520012869733019e-11, 1.6073799949935755e-11, 2.905597171577437e-12, 4.075907762895075e-15, 7.299063902099078e-12, 2.038193659758041e-10, 9.360703827390843e-07, 8.937600504317719e-06, 1.9376230221236652e-05, 2.5734271625319328e-05, 1.306741533395611e-05, 1.017786337709685e-05, 2.034378746083194e-05, 2.3657728838927088e-05, 2.8221132434150807e-05, 2.8176000200265212e-05, 2.6806331271923305e-05, 2.4987805119351952e-05, 2.5899037164959638e-05, 2.5921309627507584e-05, 2.0411466138377902e-05, 2.0305268756161334e-05, 2.3874918638965585e-05, 1.8725260408176462e-05, 1.225633509159651e-05, 3.491312567494941e-06, 2.7151510552486968e-06, 7.603290183375036e-06, 1.8104950031386152e-05, 3.0296871218794755e-05, 3.874656353813877e-05, 3.842009876498936e-05, 2.3524760286609382e-05, 1.496368391125349e-05, 1.5049446670492505e-05, 1.9554535518028728e-05, 1.859085110793143e-05, 1.6858257508777302e-05, 1.5997814931908054e-05, 1.3907612190664641e-05, 1.5771199563246183e-05, 2.4970569130850367e-06, 8.844677164533253e-07, 2.4834357687751346e-10, 3.667797093774035e-11, 1.93523509837941e-12, 4.12252707514181e-12, 3.096426327699335e-12, 4.075602135096551e-15, 5.7936870391069175e-12, 1.4265511882294773e-07, 2.8043970702277146e-06, 5.47156837234739e-06, 1.864157002127528e-06, 7.531288534105719e-07, 6.291820838255386e-09, 2.5196513998079697e-07, 4.538115754966491e-06, 8.084994575561027e-06, 6.168796234866899e-06, 5.3391124906493054e-06, 9.81264876982061e-07, 4.0198808831138685e-07, 5.730538792711589e-07, 2.5573825025592994e-07, 4.743187220571489e-06, 1.079836179261923e-05, 1.0363615935822523e-05, 7.33798220469777e-06, 6.946185019796508e-06, 1.4168512099547511e-05, 2.282441930544583e-05, 2.1899654531472595e-05, 1.6660246007989234e-05, 2.4019530331197192e-05, 2.883735306522054e-05, 2.4387687399415125e-05, 2.1299196728665602e-05, 1.9424580115367448e-05, 1.7724390947857822e-05, 1.2342040759974241e-05, 1.118751215015305e-05, 1.3777846212508706e-05, 1.1075628003002148e-05, 9.47029000035216e-06, 8.511276983565775e-06, 6.036339969471794e-06, 1.0735376477494e-05, 1.5058905040970715e-05, 1.2700331210391262e-05, 1.8953750814646044e-05, 2.2756616116675192e-05, 1.542625456624367e-05, 6.434703052524512e-06, 7.179609744984383e-06, 2.375410708000841e-05, 4.536260756347082e-05, 5.7267559396427494e-05, 3.5153451221095834e-05, 2.254500096466402e-05, 1.895674074386664e-05, 1.6552728569978165e-05, 2.0354520907945588e-05, 2.149323039107086e-05, 1.932807428925097e-05, 2.5346533693380617e-05, 2.9303706691795313e-05, 2.147582657675781e-05, 3.8617947032485106e-05, 7.094883841800161e-05, 6.204848017956454e-05, 5.791587496334741e-05, 4.470732613422407e-05, 4.046143064812591e-05, 4.977237124457892e-05, 5.500350746749992e-05, 5.1979918733012835e-05, 5.270992500077613e-05, 5.0770251949157565e-05, 4.7402370539349595e-05, 5.332374279271305e-05, 5.9768136626629235e-05, 5.72749572569021e-05, 5.461967859897962e-05, 5.723999389135461e-05, 4.2056153084433014e-05, 2.847603389615256e-05, 1.9842346260620234e-05, 1.8823630546444528e-05, 2.4999665508999667e-05, 3.539858571532593e-05, 4.27591682511094e-05, 4.895146512682879e-05, 5.2567090821983574e-05, 3.78366771905178e-05, 2.3751828010238052e-05, 1.591548445681195e-05, 1.0176499466854491e-05, 8.055327764028399e-06, 8.089091523186548e-06, 9.201215743960363e-06, 1.3860083730541997e-05, 2.0236544510021765e-05, 1.2155737995941906e-05, 9.240404873875875e-06, 1.883381443460435e-07, 1.1860169366312005e-07, 7.586941013537293e-07, 3.794297034463458e-06, 1.7646791929756178e-06, 1.7872219855294168e-06, 4.911210168337756e-06, 6.269666334540479e-06, 8.01553856860078e-06, 8.66929507208375e-06, 8.186573435799668e-07, 6.763138304530143e-13, 9.937370837460405e-12, 4.076424719704289e-15, 1.4885529112203344e-11, 8.401510728119534e-12, 5.6598940177688395e-12, 6.500250189512855e-11, 4.087480766763731e-09, 8.294903177153267e-07, 4.960657480698041e-06, 6.133682659397343e-06, 5.875150199413232e-06, 1.1204193377839454e-05, 1.4604099316962558e-05, 1.8278946073901563e-05, 2.265739306173132e-05, 2.7315235273304147e-05, 2.716757760794402e-05, 2.38420294443404e-05, 2.3623545376854084e-05, 3.0181127613030882e-05, 3.933335624567861e-05, 4.168828912069249e-05, 3.892717185163408e-05, 3.124835412700845e-05, 2.3471198074766386e-05, 2.8021258682392206e-05, 2.924152734889292e-05, 2.381790409901459e-05, 2.3322925695183547e-05, 2.3942312441342078e-05, 1.9825712793227316e-05, 6.413479650500497e-06, 8.207934097931456e-07, 3.1208245097703118e-06, 1.0303360505736458e-05, 1.3155608288568201e-05, 1.981116916968575e-05, 2.8374958258255345e-05, 2.7369315677340267e-05, 2.6772793707317796e-05, 4.112270786798617e-05, 6.107907470172167e-05, 7.728011675688326e-05, 5.703942455638895e-05, 3.9327578241269636e-05, 2.5924211504312082e-05, 2.3737667168322233e-05, 2.046440973569961e-05, 1.6130165065051627e-05, 2.0870473110419285e-05, 2.7908040344156965e-05, 2.892489012164278e-05, 3.443692914327876e-05, 7.634967290535223e-05, 0.0001288121498514858, 9.077798123832837e-05, 7.012129224929191e-05, 5.566694238993715e-05, 5.489507305156298e-05, 6.042689034270062e-05, 6.888165132695211e-05, 7.488257478734987e-05, 7.433200301208535e-05, 5.952588011530439e-05, 5.1543772835621485e-05, 5.312861088654249e-05, 5.3510459233320656e-05, 4.33504610902936e-05, 4.184451571442294e-05, 4.905429952076395e-05, 4.213295507857727e-05, 2.301129324723212e-05, 1.3520536083911753e-05, 2.132907668863781e-05, 2.5820785876975315e-05, 3.1038070671936656e-05, 3.4148105110886736e-05, 3.8825297173237266e-05, 4.3347762585634176e-05, 3.515471848873558e-05, 2.2745299043656425e-05, 1.1133955820855454e-05, 1.2928483734649372e-05, 1.8009115967633083e-05, 1.9788035661319103e-05, 1.855512827401924e-05, 2.7174237679878086e-05, 3.598896439141046e-05, 2.4066177543566684e-05, 1.785976304340771e-05, 1.4873248311769038e-05, 5.938579322411705e-06, 1.254222154579507e-06, 3.0142799556817085e-06, 1.0126917417400568e-05, 1.7067099555012598e-05, 2.174108279520813e-05, 3.077285550233166e-05, 3.757567192607677e-05, 3.099479806839185e-05, 1.759117024500279e-05, 1.4262802099410083e-05, 1.562077374033484e-05, 1.727598096663252e-05, 1.8864821809759615e-05, 1.803726858874628e-05, 1.9614900836013002e-05, 2.643853140665024e-05, 2.9125313491632718e-05, 3.6262513794961e-05, 3.859245072086809e-05, 3.495309660776602e-05, 2.9520201634952575e-05, 2.9562579458937155e-05, 2.988353177684862e-05, 2.3947927331791075e-05, 1.7282453269273445e-05, 9.791824899440247e-06, 8.193783839678568e-06, 8.965242588851466e-06, 1.3041325470632878e-05, 2.4576855435926264e-05, 3.456667449922471e-05, 3.8135934350633444e-05, 3.322675408399213e-05, 2.9037484308393628e-05, 2.7302184739358435e-05, 2.293501587726736e-05, 1.943649771404693e-05, 1.8394079247159708e-05, 1.638806008974953e-05, 1.7533843575549803e-05, 1.77253889149318e-05, 1.4787596968418782e-05, 1.1834349378029829e-05, 1.3248057906786624e-05, 2.1277734396676152e-05, 2.4417783663769917e-05, 2.176307741064821e-05, 2.3914862828975367e-05, 2.8244588570442136e-05, 3.705795536948211e-05, 6.165808156324223e-05, 8.11950530151066e-05, 8.91244722049863e-05, 7.378013751503407e-05, 5.277409843385312e-05, 3.8865235009437706e-05, 2.9439666340604663e-05, 1.6632629919763333e-05, 9.161479131607498e-06, 1.2837668200381705e-05, 1.6188623484603655e-05, 2.1309452569726604e-05, 4.776019865831615e-05, 0.00011879376033365527, 0.00020355952363515823, 0.00011759062761919818, 7.167478526460336e-05, 5.309757455014782e-05, 4.562124016498434e-05, 5.1299510422023134e-05, 6.686003664835821e-05, 6.70116299163493e-05, 4.980211201492797e-05, 3.786306541167171e-05, 3.62455333805169e-05, 3.452481278112803e-05, 3.520686316334107e-05, 3.529499527572631e-05, 3.215863698681854e-05, 3.618316289835133e-05, 4.259756071908784e-05, 3.2851027719618296e-05, 1.9073774226374582e-05, 1.4353039180877995e-05, 1.6623467603250605e-05, 2.6146435037024417e-05, 4.114032602617665e-05, 5.6882615545002144e-05, 6.938087866572688e-05, 5.801378278186356e-05, 3.811442652022254e-05, 2.448321667369419e-05, 2.6340899165440623e-05, 2.7573217424444702e-05, 2.5803523953806726e-05, 3.1034386489620874e-05, 4.3078069155213846e-05, 5.36278260091936e-05, 4.6360812607134776e-05, 3.938572988688961e-05, 3.615333451914307e-05, 3.214732340546884e-05, 3.0510197338269587e-05, 2.665621131810472e-05, 2.716989539146011e-05, 3.132676068148594e-05, 3.7152780405071884e-05, 4.86955261722966e-05, 5.517111977022472e-05, 5.180108343301063e-05, 4.4032984423838515e-05, 4.172997714978211e-05, 4.321135360057454e-05, 3.9961241591382864e-05, 3.824899847397633e-05, 4.6258969135743e-05, 5.803493044291618e-05, 6.516003749324461e-05, 6.471324525505624e-05, 5.7663608091485545e-05, 5.4663077296715125e-05, 4.942090835244296e-05, 4.896194157234411e-05, 5.596227566962662e-05, 6.145701475707399e-05, 5.616922163445589e-05, 4.0482676732532875e-05, 2.4765135887434586e-05, 1.6817786987500763e-05, 2.2613608883927922e-05, 3.3948280311176086e-05, 4.191635330056868e-05, 5.223178409908552e-05, 5.6730097878309e-05, 5.028748984831889e-05, 4.9669958701668855e-05, 4.867374055665229e-05, 4.0773556165056755e-05, 3.109168536332195e-05, 2.6110343943064366e-05, 3.311504458175168e-05, 4.157486417373494e-05, 4.0349627468311484e-05, 3.8681499392013376e-05, 3.89342574614064e-05, 4.829971749748864e-05, 5.846862224211614e-05, 5.5786710342718576e-05, 4.8078714843107305e-05, 4.523573496778812e-05, 5.370930071642583e-05, 6.915175646081063e-05, 9.477411673656392e-05, 0.00012217902183934466, 0.0001320755653875676, 0.00010990636329548838, 7.982748272287055e-05, 5.9055250419249034e-05, 4.658016989931081e-05, 3.0159506246818965e-05, 1.8096096938057083e-05, 2.480977798372301e-05, 3.876998714382153e-05, 4.596554330079098e-05, 8.769981846865564e-05, 0.0001924358242482289, 0.0003181209769273054, 0.00016789981799820487, 9.145449415178053e-05, 6.562585765603694e-05, 6.592963920520866e-05, 8.118731687831526e-05, 9.211095961908386e-05, 7.46399605173119e-05, 5.0236327603959454e-05, 4.309334922741805e-05, 4.623674397952323e-05, 4.723892978704798e-05, 5.0874125519819854e-05, 5.2366245147870977e-05, 4.947170700990537e-05, 4.903314807180065e-05, 5.7459391565573754e-05, 5.271501731841477e-05, 3.9994144805986365e-05, 3.104187398931509e-05, 3.1909961808502256e-05, 3.71602980553302e-05, 5.389179784593e-05, 6.857932737273452e-05, 7.935476951481737e-05, 6.88350268764889e-05, 5.569439521559537e-05, 4.449610412807584e-05, 4.5893863636498534e-05, 4.630744512196503e-05, 4.7133832524173194e-05, 6.156330106085838e-05, 8.167165148570728e-05, 9.297068456017435e-05, 8.163457340654841e-05, 7.211634614865676e-05, 5.5553888793736825e-05, 3.578923382260587e-05, 2.633679315792651e-05, 2.9234034829785786e-05, 3.45493571977249e-05, 4.579828237770939e-05, 5.3189342858094395e-05, 5.313655524162088e-05, 4.969153010066535e-05, 4.5793596349372844e-05, 4.3523861280845204e-05, 3.651201500852112e-05, 4.031273440861165e-05, 3.694422264709264e-05, 3.404161164123347e-05, 4.319777377031369e-05, 6.460833560654558e-05, 7.386355123579413e-05, 5.7823639748275214e-05, 4.961422287809307e-05, 5.3369620581832406e-05, 4.550314747012619e-05, 4.613659307681936e-05, 5.3958123766859e-05, 6.0702189653663456e-05, 6.0571454969044034e-05, 4.97531116321671e-05, 3.923262164675195e-05, 3.1212849845883836e-05, 3.060285433585999e-05, 3.792533632670579e-05, 4.2290364214969575e-05, 4.237391019298565e-05, 4.873751352065785e-05, 4.5706969526095264e-05, 4.323347526609955e-05, 3.986249450452047e-05, 3.380626257179794e-05, 2.8074852847026537e-05, 2.1127171393606924e-05, 2.072246187791337e-05, 2.0735653498710973e-05, 1.86027984149315e-05, 1.941023227103333e-05, 2.4388502967051896e-05, 3.1513342131146806e-05, 4.088004599223245e-05, 3.968256921873926e-05, 4.457271509893298e-05, 5.7384378503661564e-05, 6.73578466830918e-05, 8.601333568540175e-05, 0.00011800689564002343, 0.0001471802029891702, 0.00015396799285128626, 0.00012640953627514442, 9.679393526802082e-05, 7.96653666747201e-05, 6.915599692187169e-05, 5.049520386732105e-05, 3.74055649094288e-05, 4.73274175931646e-05, 6.179875014873548e-05, 7.967383915032194e-05, 0.00013666493847475515, 0.0002997824052282047, 0.000526036720965748, 0.0002403267942460958, 0.00011345430294970366, 9.085872643965881e-05, 0.00010763832925921897, 0.00011973083540367166, 0.00012380217745484973, 0.00010670816894194277, 7.70575680088069e-05, 6.0476000544765616e-05, 5.8276947097522196e-05, 6.005886238491326e-05, 6.955147196508161e-05, 8.232202458008161e-05, 7.929273476061944e-05, 7.583841801933937e-05, 7.411202446134367e-05, 6.228514801027488e-05, 4.9333614296387314e-05, 4.655102369000564e-05, 5.0017575359633274e-05, 5.624017633653514e-05, 8.935385294674218e-05, 0.00011772884639785887, 0.00012760235688828644, 0.00010358287833927687, 7.222275054718556e-05, 5.573147345510616e-05, 5.997365480397771e-05, 6.17347103267278e-05, 6.467564874253788e-05, 8.197166368035459e-05, 0.00010249071212360583, 0.00011687710038852333, 0.00011489382525813438, 0.00010560347515680867, 8.774411731822682e-05, 6.260925724849496e-05, 5.007014756074543e-05, 5.1521032564340645e-05, 5.731988887463701e-05, 6.258710911784525e-05, 6.621198547604157e-05, 7.173799904785197e-05, 7.360742949661164e-05, 7.673778694297177e-05, 6.82946753463158e-05, 5.6345260823981794e-05, 5.9117911827160215e-05, 5.588713634360481e-05, 5.5238488939805176e-05, 7.438099140099158e-05, 0.00011282161360183236, 0.0001238602490892075, 9.656039328185638e-05, 7.786587996097975e-05, 6.822815871943889e-05, 5.1970927400098894e-05, 7.004061962909483e-05, 8.71715158842378e-05, 8.877571609876495e-05, 7.770218467881357e-05, 7.301601131140736e-05, 7.585655151742064e-05, 5.843126793092832e-05, 3.582388033918139e-05, 3.064458536504936e-05, 5.294275144803899e-05, 7.164212528150871e-05, 6.81710924180566e-05, 5.20687546350309e-05, 5.083782096439875e-05, 5.4729552582021946e-05, 5.205051653129823e-05, 4.31780881926384e-05, 4.122699464313322e-05, 4.994917761603464e-05, 5.243519062391267e-05, 5.164483878080026e-05, 5.622614055328091e-05, 5.70415743577612e-05, 5.485619663908406e-05, 5.429289591302555e-05, 5.709758883750334e-05, 6.107080758019768e-05, 6.384811420894885e-05, 7.095090321226331e-05, 8.329549695796876e-05, 0.00012405154135574555, 0.00016036635835677934, 0.0001739005325395557, 0.0001459318201470399, 0.00011577071715079473, 9.895231015105832e-05, 7.374392910825206e-05, 4.022693150842576e-05, 2.2631657484147693e-05, 4.2918922502539206e-05, 6.429586941412492e-05, 8.959129779465123e-05, 0.00016046413569047305, 0.00039604411958345535, 0.0007421882078362745, 0.0002951998769896367, 0.00011743189258924296, 8.345841656854944e-05, 0.00010800404393430634, 0.0001279299221141521, 0.00013234152229180086, 0.000112461057645996, 8.562618995718038e-05, 5.697878055287145e-05, 5.185279077667108e-05, 4.615011951643616e-05, 4.179069453508037e-05, 6.311125845494709e-05, 7.254275526586132e-05, 7.222475760883727e-05, 6.58120626425893e-05, 6.494956782875996e-05, 6.301021285839971e-05, 6.470804366718662e-05, 6.510118886551764e-05, 6.870590111587997e-05, 9.045820201460876e-05, 0.00011828263225589348, 0.00013600698071051585, 0.00011437718889118785, 9.46748799402065e-05, 7.48239384192686e-05, 6.96540307380033e-05, 6.532449937680964e-05, 6.15760883633487e-05, 8.67531311575751e-05, 0.00011488554882118322, 0.00013026863346749106, 0.0001260045284355336, 0.00010630677442913206, 8.082322089512745e-05, 6.944318766496097e-05, 6.000764482696833e-05, 5.446619856722476e-05, 4.912377915656606e-05, 6.0136997881499296e-05, 7.169488858057335e-05, 7.31003108427777e-05, 6.662909099663852e-05, 4.961089965924097e-05, 5.0631319383093754e-05, 3.528111240889701e-05, 3.1698364936432304e-05, 4.2476836105393875e-05, 4.4547325058925915e-05, 6.207080926608838e-05, 8.757337278543879e-05, 0.00011148644124768734, 9.976045234321736e-05, 7.671931887797225e-05, 5.832196583683753e-05, 3.824941806507081e-05, 4.457336115220398e-05, 5.6519811190915864e-05, 6.593233966958311e-05, 6.240576930827439e-05, 5.046067068905541e-05, 4.0826111853875654e-05, 2.1183829792362054e-05, 5.564561600438826e-06, 2.8284502019769295e-07, 1.0282948416950707e-05, 2.106397985029296e-05, 2.9974202354815932e-05, 2.097526784001305e-05, 8.200021098174709e-06, 1.1666636733643795e-05, 2.7164092976767184e-05, 3.391939802635314e-05, 2.769116093744551e-05, 3.3634165227416306e-05, 4.005583546445775e-05, 5.0478037778119236e-05, 6.269327064015053e-05, 6.658280817805723e-05, 7.255116032977465e-05, 8.380661757300694e-05, 8.312626544314442e-05, 8.672293692974588e-05, 8.207205100027025e-05, 8.006388039667143e-05, 8.270926774294684e-05, 0.00011238858196566303, 0.00014360351543958784, 0.00015663575889685234, 0.0001266191953525452, 0.00010100854170086586, 9.332566211522772e-05, 6.748654129775267e-05, 3.7716316911940866e-05, 1.1029303829997354e-05, 2.1971079725137208e-05, 4.569987297522195e-05, 7.53552090215702e-05, 0.00016024173138022837, 0.0004361914667565175, 0.0008900771367761763, 0.00031297218132043464, 0.00011359029852588216, 8.392716332129008e-05, 0.0001055324367188071, 0.00011804727183801379, 0.0001204614399638924, 0.00010118430561268789, 7.971420322409883e-05, 5.181430940708951e-05, 4.02126053188458e-05, 2.8117710010733047e-05, 2.13429398284057e-05, 3.168974284954938e-05, 3.8305727678242736e-05, 4.7985970767040425e-05, 4.932255779934608e-05, 4.835856445486456e-05, 4.250203230815503e-05, 4.011481013405928e-05, 4.279036660707696e-05, 5.278070311390835e-05, 7.588308339397473e-05, 0.00010366662447712315, 0.00012044567963884132, 0.00011596762553837775, 0.00010542136140668264, 8.722504938203647e-05, 7.18140222406822e-05, 6.059072628249619e-05, 5.8798400604988305e-05, 7.324730600690567e-05, 9.630176560676836e-05, 0.00011217022155281742, 0.00010542433360259519, 9.548833361303428e-05, 7.295107218074459e-05, 6.596925759043572e-05, 5.042646623858108e-05, 3.8701599839854525e-05, 3.4690667454575525e-05, 3.9554796097528267e-05, 4.906279049858097e-05, 5.506335734995971e-05, 6.610317938634236e-05, 6.228860854212851e-05, 5.5050336911535586e-05, 3.426450525447627e-05, 2.17665669076118e-05, 3.018861225574365e-05, 4.1455976511677735e-05, 6.745206934080174e-05, 0.00011869146437642182, 0.00014591053689961978, 0.00011566386488455282, 7.73253809420067e-05, 5.030156872356827e-05, 2.9637260416426207e-05, 3.652267635403376e-05, 5.1397577100129365e-05, 6.449918990836038e-05, 5.70603535133347e-05, 3.3429586289196744e-05, 1.930774485234795e-05, 1.5924363285530932e-05, 1.4656640910365742e-05, 1.1666720996260026e-05, 1.263480306697737e-05, 2.4218631741763313e-05, 2.975168319649153e-05, 3.255841359439545e-05, 3.56329231655673e-05, 3.8870522658362464e-05, 4.8573391286451656e-05, 4.624275679480996e-05, 3.859345651918178e-05, 4.019393520308996e-05, 4.496456771843591e-05, 4.589939201728474e-05, 6.73066356349768e-05, 8.283051080373361e-05, 7.507421887515768e-05, 7.17325971470421e-05, 6.822295763041083e-05, 7.07971670953481e-05, 6.2136535003841e-05, 5.768834449609934e-05, 5.9407286852324374e-05, 8.48775720315792e-05, 0.00011894205854528882, 0.00013801330302297448, 0.00010874782080720467, 8.436836655781951e-05, 8.345886557203522e-05, 6.3674263743208e-05, 3.518868540863286e-05, 8.964934273388143e-06, 1.4611305150530347e-05, 2.2805522328031887e-05, 5.111019969244624e-05, 0.00014617021209518776, 0.0004043148846770408, 0.0008891460976211164, 0.00025114552487818365, 7.793586706058635e-05, 5.363091489964156e-05, 5.9040910838732377e-05, 7.158835245888488e-05, 7.837277860266913e-05, 5.0423183100946455e-05, 2.311353545152752e-05, 5.0439322480280234e-06, 3.6382259648168044e-06, 8.178907317660062e-07, 3.121305234580968e-07, 5.586600379074268e-07, 1.2266237154434704e-05, 2.586383491109701e-05, 1.8647553743025605e-05, 1.4450862393415025e-05, 1.2545857241451389e-05, 1.4304092722085154e-05, 1.9531753733852784e-05, 3.232026158892921e-05, 5.2408286388758496e-05, 7.184595001143703e-05, 8.341215084357318e-05, 8.303737317268421e-05, 8.543600176422161e-05, 7.726389839212521e-05, 5.7006389116939444e-05, 4.320713222428069e-05, 3.5788701579631e-05, 4.960845071871802e-05, 6.982811443565644e-05, 8.457950883230423e-05, 8.480987724098131e-05, 7.483840270195492e-05, 5.087334749643185e-05, 5.295269085391666e-05, 4.596784093726524e-05, 2.805766770524569e-05, 1.626481950955129e-05, 2.6801889782991065e-05, 4.559461817229135e-05, 5.6203319827464904e-05, 6.087022448936133e-05, 4.692942168309822e-05, 3.96390083977597e-05, 2.352647351724088e-05, 9.601841273410964e-06, 1.4897517283087419e-05, 2.2808620455735034e-05, 4.6500571699581324e-05, 8.916090397904995e-05, 0.00010687295470243682, 7.682384563834539e-05, 3.927458201262611e-05, 1.4446094543248613e-05, 3.1695397200059864e-06, 1.4997371256221582e-05, 2.3690068556471588e-05, 2.9019146950394146e-05, 2.7232115445843833e-05, 1.8724279496899e-05, 4.550727284357221e-06, 3.202715358131445e-07, 4.000922188384627e-10, 5.42525982502262e-10, 2.5065744593239014e-07, 1.707773375382076e-05, 1.9727971853308556e-05, 2.0630182711634428e-05, 2.0209842238379512e-05, 2.1949751897446495e-05, 3.725576691366048e-05, 4.318888272559699e-05, 3.7324505003684124e-05, 4.852589340869058e-05, 6.441923567600883e-05, 7.210272751458873e-05, 9.169935483326613e-05, 9.227271747133034e-05, 8.33924680410271e-05, 7.861508808219854e-05, 6.952493304658165e-05, 7.064442020542953e-05, 6.940393296232222e-05, 7.697767935840886e-05, 7.598983467478505e-05, 8.059524654138537e-05, 8.958801098716144e-05, 0.00010591331890545497, 8.756193477804272e-05, 7.002842646879034e-05, 7.531282227035196e-05, 6.784844881039558e-05, 5.1332498227602745e-05, 2.3154175856415624e-05, 1.4395145128036604e-05, 2.1462306913222954e-05, 5.721252927907778e-05, 0.00015157960760687963, 0.0003891947544335005, 0.000894105381850687, 0.00018847320312245897, 4.818949867096955e-05, 3.518075869062742e-05, 4.129433833516583e-05, 4.168701389638706e-05, 4.588627576642496e-05, 2.7147849253793184e-05, 1.2961476838557168e-05, 2.3207826587949373e-06, 9.265013938513379e-06, 1.1528482312079412e-05, 1.003870275489132e-05, 6.192618770747349e-06, 1.2981883655308355e-06, 1.438208379870067e-06, 2.06105472667938e-05, 2.4234020432543006e-05, 1.981460339942978e-05, 2.932122738851411e-05, 3.8873577666943873e-05, 4.4710233379725204e-05, 3.344616195193145e-05, 3.5787651376207877e-05, 4.6494619442915804e-05, 5.5169159634530644e-05, 6.820872093968235e-05, 7.047017186231024e-05, 4.315896785294296e-05, 1.923651304934349e-05, 1.0263031271343149e-05, 2.3467706328373764e-05, 4.123354693114245e-05, 5.626122841970862e-05, 6.251874719728633e-05, 6.581387197806098e-05, 4.7072080196165544e-05, 3.431268242557805e-05, 1.886440033089622e-05, 4.45466460968751e-06, 8.575438229115297e-06, 2.0703200219192284e-05, 3.496852917349642e-05, 4.00271432860312e-05, 4.215697159435182e-05, 3.3857893008683654e-05, 2.5026040371368094e-05, 8.644433732002665e-06, 1.3930302853787208e-06, 1.61818959941926e-05, 1.8145479996294024e-05, 3.1216369126239456e-05, 6.720467889821739e-05, 7.681716730121807e-05, 3.92367080304776e-05, 8.935186455326824e-06, 1.0568416564160052e-07, 1.3303628454366096e-09, 1.3250329010030384e-07, 5.7261370549036944e-06, 1.0695218727666423e-05, 1.2459278783744334e-05, 8.15573570878741e-06, 2.7353612418606574e-07, 6.213637249885887e-09, 4.076636162618698e-15, 4.075538711818613e-15, 1.6062352544734327e-11, 4.073403931864847e-15, 1.6000992379827922e-11, 9.383508013449664e-12, 1.2262744543418655e-11, 7.351162428460341e-11, 1.088062779357182e-08, 9.960674458170635e-07, 5.205664332281506e-06, 1.583524469659385e-05, 2.979567464806224e-05, 3.383216727549198e-05, 5.013872024491186e-05, 6.646736413786786e-05, 6.696730748109816e-05, 5.286035757453261e-05, 4.1213309098218334e-05, 3.9935953988922563e-05, 3.570055827640587e-05, 2.8506154060623746e-05, 2.7706954250917636e-05, 4.168288947872986e-05, 6.468417287411149e-05, 8.108506334058888e-05, 4.62350685172915e-05, 2.6829587353207697e-05, 2.852332250637745e-05, 2.533670693610155e-05, 2.0251071015768905e-05, 2.456344341114674e-06, 8.673911974251477e-06, 1.712116870627315e-05, 4.3039339573604444e-05, 0.00010868618306339635, 0.00030021929247126005, 0.0008254826513017984, 4.989816467991952e-05, 4.185816130123628e-07, 1.908079910445607e-06, 1.627731025813758e-05, 2.125619688472593e-05, 2.2957792858730083e-05, 1.6537001263622786e-05, 1.1219205324121938e-05, 8.825419752649522e-06, 1.835173465701631e-05, 2.1121456646914638e-05, 1.445955340088282e-05, 1.228186183751993e-05, 1.0736299754545596e-05, 9.891922192298178e-06, 1.2816857473888281e-05, 2.050443575774728e-05, 2.156610659700488e-05, 2.8467555391448825e-05, 3.034699979889152e-05, 2.3564574497683322e-05, 2.382008651321914e-05, 2.782174163582373e-05, 2.7084040179854984e-05, 2.137449048047412e-05, 1.8143617306639774e-05, 2.1613479540662392e-05, 1.4336088246614849e-05, 6.247901082776871e-06, 1.5373871327970078e-06, 1.2784699354795353e-05, 1.997098203248974e-05, 2.8768742063272104e-05, 2.647462523348332e-05, 3.738989251362901e-05, 3.452020687394841e-05, 9.295890727703914e-06, 1.2524500961732029e-08, 1.7428245640581274e-08, 4.8241571585642876e-06, 1.6931976895111033e-05, 3.41898426018487e-05, 3.243093934717496e-05, 2.5879803617210165e-05, 2.3279848302200903e-05, 8.578760455038158e-06, 8.449588844937423e-07, 1.0762173417894532e-06, 1.2641433517021234e-05, 1.3917177408012215e-05, 1.72042067746455e-05, 3.2720442547391296e-05, 4.093568220707377e-05, 2.852359271769311e-05, 2.1593220505952607e-05, 1.9488131290440163e-05, 2.5781185537737557e-05, 2.2483787054586226e-05, 2.4585847644999563e-05, 2.7376950393480427e-05, 2.0898593890401994e-05, 9.947589275254128e-06, 6.399513581969619e-07, 2.2709863484803557e-06, 2.543986909581246e-06, 3.805741113415601e-06, 1.4008688062305252e-06, 1.3739913053226556e-06, 1.5121003819988669e-06, 2.4360488541264117e-06, 6.562372903075334e-06, 5.581537616561244e-06, 1.5854771538424853e-07, 3.469398880066894e-08, 9.530428989679903e-07, 3.6095110674502386e-06, 8.991363489812857e-06, 1.936358065994688e-05, 5.417825803826509e-05, 8.245269473273853e-05, 7.895232854802215e-05, 4.7980368934209386e-05, 2.582532792850095e-05, 1.3054250506190585e-05, 5.765179106446351e-06, 4.676340965870251e-06, 8.015717971446653e-06, 2.090153448225943e-05, 4.0695215845504375e-05, 5.242842515284847e-05, 3.1088153368123056e-05, 6.712556890962681e-06, 1.5530196486579153e-11, 1.4649273610405537e-12, 4.075304936578766e-15, 4.073913035598895e-15, 4.040348324188814e-09, 4.390909269359591e-06, 2.5407974456186138e-05, 6.093178970266554e-05, 0.00018393437119692838, 0.0005900866305618868, 7.242241878554427e-06, 1.065988216266296e-11, 1.0675852319957629e-12, 6.288861957150775e-13, 4.072280038692028e-15, 4.071775450182665e-15, 4.0714860033397635e-15, 4.07263239871246e-15, 4.072267126917637e-15, 8.051826962237482e-12, 4.0747620494922556e-15, 1.5838462817027927e-09, 3.1417836862705724e-11, 2.7232697835829818e-12, 7.360962779374004e-13, 1.615660293885332e-11, 9.55034857900783e-12, 6.954874624550282e-12, 4.074123553043027e-15, 4.074383132010902e-15, 9.63397365579385e-12, 5.982643382260758e-12, 1.0825287922652294e-11, 4.076588029928895e-15, 3.699060469849871e-12, 4.465070197736849e-12, 3.9434254978346343e-13, 2.4380734559093604e-12, 4.075204673188566e-15, 4.075047032566053e-15, 2.9005003448087835e-12, 3.834216997247464e-10, 1.6569593290751202e-11, 3.335645923877984e-11, 4.078305135431331e-15, 9.374244369848641e-12, 1.4006462689498918e-11, 4.078654768604358e-15, 1.186595915165158e-11, 5.62475816097685e-12, 4.078979245149025e-15, 4.079142349160191e-15, 3.697275625160771e-12, 4.0798051089262045e-15, 1.8768093476288284e-11, 1.2476477536757855e-11, 1.8855898733357786e-12, 2.15234739468963e-11, 6.224177550458236e-11, 4.248064281644862e-08, 8.0488382844896e-08, 7.391889466919182e-08, 1.7074852957351367e-08, 2.40988140255559e-08, 9.5917322465139e-08, 5.956840052820274e-06, 2.1330480596321238e-05, 1.9075481489048447e-05, 1.9628385273989343e-05, 1.7913577827571336e-05, 1.2417361152509464e-05, 7.571525570521181e-06, 9.146559352471958e-09, 1.0814421133950582e-07, 1.247903165962189e-05, 3.0931220026666414e-05, 1.1741596420438314e-05, 1.4235727763596537e-09, 4.92129371970842e-14, 8.379753368147867e-12, 5.5258396762436976e-11, 7.411281774272949e-10, 8.190547435347825e-08, 1.1269702771396611e-07, 1.812467614597311e-08, 1.897514539579661e-07, 7.489983701963723e-07, 3.421619600398696e-06, 1.8437443406992313e-05, 4.0534857570716156e-05, 4.102527661351895e-05, 1.9117772111390923e-05, 3.374287265775708e-06, 3.6219328820982207e-10, 4.075835167362031e-15, 3.088158899612472e-11, 4.072022809348908e-15, 9.408377238658234e-12, 1.596209141320422e-11, 1.1772564470601987e-11, 4.0727854316011325e-15, 8.144833914263645e-12, 1.0918513507821683e-11, 3.3883957570131276e-12, 1.2205717891864982e-09, 2.7587168874572288e-09, 5.7623117302256746e-11, 4.57745409969207e-09, 6.4835970938105476e-09, 8.263546914217023e-06, 7.704526770445004e-05, 0.00012267654916655455, 8.491814297782294e-05, 3.359262903280828e-05, 1.1019280225531731e-08, 4.1570801347171703e-10, 9.005614356159695e-12, 7.734687820803685e-12, 3.605314910495286e-12, 2.435035099790971e-09, 1.8506369496522312e-08, 1.4849010213845148e-08, 2.8115990585633875e-06, 4.104547308265567e-06, 7.264997640977073e-06, 1.029608295636102e-05, 1.541191991388292e-05, 2.440325716122283e-05, 2.83636660330841e-05, 2.8048950726519134e-05, 3.074266064569162e-05, 1.8720339448949337e-05, 8.203383511440133e-09, 3.5532036499211205e-10, 1.61395613890568e-12, 5.587887474903942e-12, 4.072878466577021e-15, 9.653315309253898e-09, 2.2535138138261427e-06, 1.571322169545858e-05, 1.2490053245700037e-05, 3.46927658745856e-06, 2.299994661298657e-06, 6.723651083973345e-07, 1.6987297677251549e-09, 6.6897352344820775e-09, 2.1950970834517906e-09, 1.8882042022680978e-08, 1.2806200079236598e-05, 2.0305321906222675e-05, 5.791143211541832e-06, 1.7467861858718906e-07, 4.1687142091952813e-07, 6.30122967520237e-06, 1.7840075167534024e-05, 2.6334545812876618e-05, 1.9675316946357567e-05, 1.8216722221814972e-05, 8.872888286195058e-06, 8.360487017355892e-06, 1.7153382780707094e-05, 2.9252815335138692e-05, 3.805841433535983e-05, 5.342252827350293e-05, 6.32471652544125e-05, 5.562080495975131e-05, 4.256563271504068e-05, 2.725130833247284e-05, 1.281112930967629e-05, 2.754182022210005e-05, 3.848570513128334e-05, 4.914516863750037e-05, 5.903540850325083e-05, 5.891368907229342e-05, 5.1442933985149955e-05, 4.5084645664915424e-05, 4.052145202282997e-05, 4.9662975994663736e-05, 5.2632911737452334e-05, 5.026000177246743e-05, 5.101829312222549e-05, 4.014466223972749e-05, 2.9383515698643263e-05, 3.1410137529078545e-05, 2.8398636740842745e-05, 2.2362711733391773e-05, 1.624823851111901e-05, 1.4709624374729529e-05, 1.4294475917599547e-05, 2.247371424866503e-05, 3.994922521303294e-05, 4.822572096509232e-05, 4.3132565990415586e-05, 2.4782259193718613e-05, 1.1730137629710769e-05, 5.329235211027034e-06, 6.922368579960205e-06, 9.074061143334766e-06, 1.0050464852684085e-05, 1.3264627262081166e-05, 1.3896020146510722e-05, 1.833220937836843e-05, 1.262888523066431e-05, 3.387467946754108e-06, 3.1012131845575307e-06, 1.1438601967871398e-05, 1.6811164846798408e-05, 2.1242327894077935e-05, 1.561808817381099e-05, 7.186636655157256e-06, 4.3369341750760914e-06, 6.019950175036288e-06, 3.078746786944309e-05, 4.58937426501076e-05, 3.785485884174698e-05, 1.717435897673834e-05, 2.4297991353642427e-08, 2.2260846335172383e-07, 4.1536516771364165e-07, 5.743582289015045e-07, 1.3784638805625026e-06, 3.730886797621727e-06, 5.2358390274383854e-06, 1.829669321827642e-06, 8.966686929652616e-09, 4.780062062670481e-12, 1.007601729697384e-11, 6.118840250080627e-12, 4.0720142296006665e-15, 7.393655933359141e-12, 3.382688486249026e-12, 1.1495482180903904e-11, 9.900001876767568e-12, 9.544290930849792e-12, 1.295273890879146e-12, 3.3471809528920924e-12, 8.513394694329326e-12, 4.593408476203375e-13, 1.6293714677609008e-11, 7.465196901652208e-13, 4.074099112286471e-15, 3.0530003891236924e-12, 4.070435217036074e-15, 3.1755188943211183e-12, 4.0675170816593445e-15, 4.06864028350603e-15, 2.0340835488262132e-13, 4.07077212125737e-15, 9.393156392194411e-12, 7.222441502349427e-12, 1.5721251745838515e-11, 6.958180388676743e-08, 1.332998319383052e-06, 2.5956678146357646e-06, 6.702479583819849e-08, 4.762115750226348e-10, 4.665243460121298e-08, 5.088656185556396e-06, 5.785937596194122e-06, 3.7000110144698433e-06, 2.5669225799496607e-07, 9.330065588324242e-08, 3.652339945291599e-07, 6.732577138405176e-06, 1.635390246152317e-05, 1.7197725871385498e-05, 1.904915515083256e-05, 2.090067077592188e-05, 2.200973855121517e-05, 2.04427829046237e-05, 1.8159804788774166e-05, 2.084595914724251e-05, 2.070826236209868e-05, 1.3761024463411227e-05, 9.516411811700334e-06, 9.536742388001386e-06, 7.435673212896858e-06, 5.770246951142257e-06, 4.053267999608319e-06, 1.91985967154762e-06, 3.173942222194385e-06, 1.2241738903014792e-05, 1.979065129051221e-05, 1.545946147567914e-05, 1.2223290518612927e-05, 1.2838265542985902e-05, 1.107794859423256e-05, 9.324837842606821e-06, 6.1755257934702255e-06, 8.94408135842655e-06, 1.5151990813753535e-05, 2.062706177591668e-05, 2.476079838793001e-05, 2.3595639617307402e-05, 1.7613767591500106e-05, 1.3358511272737927e-05, 1.2435508083550986e-05, 9.956852245861987e-06, 4.4020921120613234e-06, 1.0239980440995983e-06, 8.444852977855634e-09, 3.9527680820091727e-07, 4.179147762535183e-06, 5.811775028932339e-06, 7.562073205713384e-06, 1.4489805345095573e-05, 2.108436321317649e-05, 1.787836000362973e-05, 1.34928884388498e-05, 1.0064929250610271e-05, 8.582848060188616e-06, 6.577567369837281e-06, 4.00512363145067e-06, 6.849247539570639e-06, 2.8498471419964094e-05, 4.533415607453792e-05, 1.5414674108967962e-05, 1.9200497919854576e-11, 4.076077417401613e-15, 6.225925787264715e-12, 9.311731434574118e-12, 5.694664024084863e-12, 4.444877763937388e-12, 2.1920695353041454e-12, 4.063926021129634e-15, 3.9744782752914936e-12, 4.0610156050727344e-15, 4.0593177783089996e-15, 4.0566916908870675e-15, 4.055200421700784e-15, 4.055479542850023e-15, 4.055268759363978e-15, 4.0523803478574275e-15, 8.68591269509029e-12, 9.149796571272317e-12, 4.047846379535483e-15, 1.50517989228333e-12, 1.324520299921663e-12, 4.043003794491278e-15, 5.191863557328243e-12, 5.2276437461836684e-12, 4.0358519968087176e-15, 9.54155102112727e-12, 1.5688161704349727e-12, 7.977424115119103e-12, 1.5767245275860172e-11, 4.032558649910294e-15, 5.239107191279628e-12, 6.9896092252305294e-12, 4.028645239415575e-15, 7.342078407341149e-12, 4.026653916623605e-15, 4.04005541063805e-13, 3.486701863379907e-13, 4.0217118013506964e-15, 9.30288636067922e-12, 1.326694085953741e-13, 4.01750871509617e-15, 4.0133350416691255e-15, 1.9753849446060825e-12, 2.8153948288724906e-12, 2.620031226991179e-12, 4.013883612365018e-15, 1.0131222471624048e-11, 6.396344952240143e-12, 4.012899154641613e-15, 3.1686930772891566e-12, 1.1065156540256736e-11, 4.011029094489891e-15, 4.811565095787411e-12, 4.006597193743289e-15, 4.00571387609424e-15, 1.1596690158032489e-13, 3.8719267398052687e-13, 8.399815010558976e-12, 4.003533253743823e-15, 4.0014482729836375e-15, 4.0001898034325926e-15, 5.8858483690297055e-12, 1.160718751111862e-11, 3.9986637272979095e-15, 3.995502148761713e-15, 5.542480000698782e-12, 3.235795734703001e-12, 2.6637651833158104e-12, 9.991719550710004e-12, 3.993444079627939e-15, 6.765860770763527e-12, 5.7205760861242145e-12, 4.95245149865141e-12, 3.991185830734822e-15, 3.9900420641011664e-15, 5.301201305395359e-12, 2.341178562189082e-13, 3.987683594216322e-15, 3.8020998993388844e-12, 7.170290343239444e-12, 3.986171972505821e-15, 3.984878181421242e-15, 3.779906974777342e-12, 1.1838401306697687e-11, 3.986242680975139e-15, 3.986974056705026e-15, 6.373211863350266e-12, 6.848472336600746e-13, 1.2768989927653927e-12, 8.247690796386457e-12, 3.002333947327236e-12, 9.732855425027724e-13, 3.9847405232113155e-15, 3.985215984465896e-15, 7.444109393458426e-12, 6.037160477594583e-12, 3.985546031570516e-15, 3.987410466826398e-15, 1.9305938127490253e-12, 3.985441016597683e-15, 3.986823665245579e-15, 3.985747825764778e-15, 1.2468153679335088e-11, 3.983087336812541e-15, 2.808969288405128e-12, 4.429276404361306e-12, 3.9798199657544185e-15, 3.979138527908992e-15, 3.977814202827187e-15, 3.979649574372624e-15, 3.979251956239227e-15, 3.9804121410381196e-15, 1.1076946802684378e-11, 1.5077558796238698e-12, 1.8828880189770087e-12, 4.4119166106157336e-12, 8.322740090205191e-12, 3.983503403398483e-15, 2.2534717586230807e-12, 3.9835837891641475e-15, 3.9851221080326045e-15, 2.2325394520208132e-13, 3.716668731434379e-12, 8.110278044144198e-12, 1.2723577122828703e-12, 1.3354394849556576e-12, 6.7150358041372925e-12, 1.1791101643982645e-11, 3.995999410685687e-15, 5.199039094646015e-12, 1.1405196971581615e-12, 9.126724961081213e-12, 3.386200035263878e-12, 5.930432438983182e-12, 7.094691591813569e-12, 8.897326799789576e-12, 3.2668139490281797e-12, 4.279596827217328e-12, 6.610132359759319e-13, 4.014238041292564e-15, 4.064536046001698e-12, 4.021570755214406e-15, 4.026787140601986e-15, 4.618382315447624e-12, 9.127046082700321e-12, 5.8432787702285026e-12, 5.63465913708432e-12, 4.035460367742347e-15, 4.036717269668818e-15, 9.213087026964698e-12, 4.416351159214823e-12, 2.773627491565384e-12, 4.380706574032118e-12, 4.0351921302663546e-15, 2.578115654005547e-12, 9.015987606162378e-12, 4.038207641967277e-15, 3.1020528188368696e-12, 9.14204881943276e-13, 4.038229505288031e-15, 1.972550114138861e-12, 4.043052687297985e-15, 4.044224244993198e-15, 4.043641599650242e-15, 2.3227359886270025e-13, 1.2812034697008635e-12, 4.049551470195453e-15, 4.05185341432367e-15, 2.0404835280148296e-12, 4.0554687596085505e-15, 3.474568617238161e-12, 4.0515724592942835e-15, 4.050716140830643e-15, 2.991048920639532e-12, 2.912112500652476e-12, 4.495876864147503e-12, 5.317471683193694e-12, 4.050937863207562e-15, 4.054886263224073e-15, 4.0570926484700076e-15, 7.708423703813099e-12, 1.615047593875896e-11, 4.067672152953423e-15, 6.678423627374097e-12, 9.03517198725691e-12, 1.2614565717800453e-11, 4.072465861423849e-15, 4.074349678959353e-15, 1.1665148210255173e-11, 1.0647030045250863e-07, 4.688149948901843e-06, 1.4111159878480153e-05, 1.648418463253228e-05, 1.0184903227549834e-05, 1.5567497998828378e-06, 1.2667835699770856e-06, 3.265269664686476e-06, 6.379820147590044e-07, 3.6223810334559564e-09, 1.0889388979523401e-11, 4.076497527079404e-15, 1.7910778449810198e-10, 1.3291123763752414e-10, 2.1385309518497277e-11, 1.7699438395681846e-11, 1.9864319837333985e-09, 6.0244592577115855e-12, 1.3422148451412734e-11, 1.2322261103702776e-12, 1.8689259620045605e-11, 3.262534524115364e-12, 4.075787716228254e-15, 1.430404213601357e-11, 4.072111320363476e-15, 7.694526309128762e-11, 7.771038316624024e-12, 4.0730251667685e-15, 4.072950344646732e-15, 4.072502548777829e-15, 2.8790693425780014e-12, 4.068599500416956e-15, 1.9763828543779462e-14, 4.068961393859838e-15, 4.0700872908467526e-15, 4.068876891160527e-15, 4.069873413091837e-15, 2.5956276198414272e-12, 4.06928592046145e-15, 2.021814670345082e-12, 9.019726343212547e-12, 8.123216552350314e-13, 4.068235150448139e-15, 1.2248570913238564e-11, 1.9227443968108212e-11, 4.4118719471976985e-12, 4.065153168896892e-15, 9.454212007802524e-12, 8.696019437659862e-13, 4.062598229975749e-15, 4.059785529566543e-15, 6.33517220088541e-13, 4.054718746767152e-15, 9.602606990485315e-13, 3.640704063782433e-12, 4.049951570260061e-15, 1.0585196124811865e-12, 1.4965577966648298e-12, 3.122136037288146e-12, 8.305122226492734e-12, 1.2168099473586423e-11, 6.568050190496367e-12, 2.7160045197101755e-12, 1.2953621140041288e-12, 4.06048241519157e-15, 4.062225335509132e-15, 7.202190455657407e-11, 4.062077683583226e-15, 4.061179170777291e-15, 4.273316083977517e-12, 1.4203475144404787e-11, 4.065636690382641e-15, 3.0410388227961993e-12, 9.036214075859915e-12, 3.6515939805344515e-12, 4.0660019776561695e-15, 8.068869984109065e-12, 1.7048291180234315e-12, 4.439914121750368e-12, 2.074711614509612e-12, 4.068173510264637e-15, 9.56216607061864e-12, 9.864408733483288e-13, 2.1967956744294324e-12, 1.270350159979184e-11, 4.074605326449712e-15, 6.869525478139062e-12, 1.071633927964489e-11, 4.074522713392951e-15, 4.072637988060728e-15, 6.762905753464581e-12, 4.074264788005321e-15, 9.08301979358966e-12, 6.301868313267318e-12, 1.0907769352649231e-11, 4.071039914527266e-15, 1.6051208413786033e-12, 1.4755648036228812e-11, 4.069688656453141e-15, 1.1419706145317902e-11, 4.071393998208298e-15, 6.884595458404283e-12, 4.070795623193371e-15, 4.0707861477991506e-15, 4.068953370733318e-15, 5.871683190073037e-12, 1.233768166412078e-11, 7.130930463539826e-12, 4.065938607980496e-15, 2.5315705817623e-12, 4.061916200479613e-15, 4.063392355346031e-15, 4.063555589326011e-15, 4.062537201021991e-15, 4.060980313459267e-15, 3.795556588310618e-12, 6.5688786459419515e-12, 5.794470605878942e-12, 4.053934218888097e-15, 9.002122052412724e-12, 6.7496226127469594e-12, 2.9980255705002136e-12, 4.0481851414773165e-15, 4.0466432489826006e-15, 8.389526156932642e-12, 4.044429018389384e-15, 3.952421075065761e-12, 1.6866214710557492e-12, 1.9191499820417774e-11, 4.038273489615008e-15, 1.5647668600832823e-13, 6.968273533646996e-11, 4.493951195709794e-12, 4.032637952071227e-15, 4.031846259152158e-15, 4.031566484969801e-15, 7.058985282081076e-12, 4.030793696737155e-15, 4.21102878630662e-12, 4.149627924325345e-12, 4.030298769532392e-15, 4.0281901851773506e-15, 4.023031643176692e-15, 4.0211338819516916e-15, 4.20030242694922e-12, 1.4003204598783125e-11, 2.9450331146589383e-13, 4.014699104154183e-15, 6.898863143217387e-12, 4.010583991989061e-15, 4.007734878306492e-15, 3.095868142877022e-12, 4.007504766158468e-15, 1.5050541467981819e-12, 1.436229688664539e-11, 6.089419880754875e-12, 4.013098590172834e-15, 3.7078486757341776e-12, 7.0149207366611155e-12, 4.526325997130519e-12, 4.514063908636294e-12, 5.840956398962906e-12, 4.0095218854912515e-15, 4.007600909833624e-15, 1.011783745669079e-11, 4.005322525021972e-15, 5.8800293883048665e-12, 4.0053024161548034e-15, 4.003979854364914e-15, 1.5216748186255667e-12, 4.006254595518428e-15, 3.021740540437679e-13, 1.0749120116567194e-11, 2.273288106214974e-12, 3.7714724777101875e-12, 4.010612446079635e-15, 3.719088405669803e-12, 3.919957949244103e-12, 6.437784544839425e-12, 4.012224994117239e-15, 1.3347738513947325e-12, 1.4811393048205498e-12, 4.016142908473407e-15, 6.671456312901171e-12, 4.019185760222113e-15, 4.020310422684732e-15, 5.453628776924712e-12, 5.59963799773605e-12, 6.307283256595977e-12, 4.018705520298426e-15, 1.0354207729671863e-11, 3.7302661676686625e-12, 8.416244607939664e-12, 4.016523721101383e-15, 4.014260842281141e-15, 5.839029594783075e-12, 7.946535519784349e-13, 5.537484726046539e-12, 4.0147151768002405e-15, 4.01723597822789e-15, 4.014749803011162e-15, 8.245986788804558e-13, 4.0112767658701914e-15, 2.3464560581967506e-12, 4.009663857906692e-15, 1.0098166098255578e-11, 1.05573746139151e-11, 6.940748562795913e-13, 2.252075552620883e-12, 3.1394361503965975e-13, 2.7492276497455384e-12, 8.560945211879324e-12, 4.017224816165318e-15, 4.2883017675968024e-11, 4.216120457669357e-12, 4.020181700063609e-15, 3.5616868898546352e-12, 4.0226475115959915e-15, 1.0099782034086675e-11, 4.02858980513986e-15, 7.76929694600046e-12, 4.815337835664457e-12, 4.036815126660619e-15, 4.03900822933949e-15, 6.575729775486824e-12, 4.4002431190568556e-12, 4.046380132776799e-15, 4.238391775011728e-12, 4.053782432417345e-15, 1.1184332715468435e-11, 3.691457004441343e-13, 6.44417100333507e-12, 4.573259234235802e-12, 1.122171285352808e-11, 6.126408137253746e-13, 1.2874148965972225e-11, 4.06146711451817e-15, 4.061077213571041e-15, 1.018412871521611e-11, 1.3764438699112252e-11, 4.059811003187714e-15, 5.754477139646414e-12, 4.058654302249731e-15, 4.0596591312250485e-15, 8.04266119003503e-12, 8.64737176838031e-11, 7.122491903569971e-12, 2.3593471995112155e-12, 4.069878222384225e-15, 4.070503516946853e-15, 9.590688138677195e-12, 6.36386406407684e-12, 4.0733398774537346e-15, 1.2710599613110106e-11, 6.6123433710858686e-12, 1.7329165193111475e-11, 4.074952991123903e-15, 4.074453069897114e-15, 7.1856389906346905e-12, 7.760538782371384e-12, 4.073022801946258e-15, 5.6956165371435735e-12, 2.4830222693816933e-12, 4.075755945725773e-15, 1.2452051232601687e-11, 1.828820384676608e-12, 1.924638458007943e-12, 4.0801950285242405e-15, 4.07975770077045e-15, 4.079381582779998e-15, 1.5860205273499761e-12, 2.56279328673818e-13, 3.763793094828775e-12, 4.077705897971699e-15, 1.5068603580091596e-11, 1.0357793409611787e-11, 4.0768967715141935e-15, 4.519892258681805e-11, 5.6728951652717815e-12, 4.0756755038492034e-15, 1.0548628283614327e-11, 5.886224719945918e-12, 4.0777305632205554e-15, 4.0770945004295625e-15, 1.853926750991982e-11, 4.077312648913631e-15, 1.7408745915053554e-11, 1.3867923721149854e-12, 1.6846459417863463e-11, 1.0540593243269394e-11, 4.0777323424026554e-15, 2.2543782911166947e-12, 1.280331212060386e-10, 3.17134313805542e-08, 1.3952347329948658e-06, 3.0235099640206253e-06, 1.0166146760476515e-05, 1.197348156612773e-05, 8.476942222414076e-06, 3.1441427089658175e-06, 1.0413201441555826e-05, 1.6824711969444555e-05, 1.4544531339266453e-05, 1.3241962440733993e-05, 9.116690702981318e-06, 4.442918878677712e-06, 5.712900877408054e-07, 7.773492481362448e-08, 7.565965836450263e-07, 3.969758708754517e-06, 1.1063131534251572e-05, 2.1204157619893336e-05, 2.0513112368697045e-05, 1.4428920296953142e-05, 1.5800820250417777e-05, 2.1855561451981207e-05, 2.6380424520852422e-05, 3.230161953620647e-05, 4.3800077529253546e-05, 5.997164832232543e-05, 6.808437106062792e-05, 5.807153359947199e-05, 4.55543567108886e-05, 3.485031438838148e-05, 2.393580334374552e-05, 2.0950995405312105e-05, 3.8812342535461516e-05, 6.528377935413677e-05, 7.480532389009962e-05, 7.379311759666833e-05, 0.00013103852257329685, 0.0004585855509937599, 0.00014002369784205408, 6.914998366262329e-05, 5.5580801770975885e-05, 6.499392896755076e-05, 7.233707922046849e-05, 7.421884610371132e-05, 6.796626467353284e-05, 6.324523353917154e-05, 5.8911603295665925e-05, 5.0532103016375835e-05, 3.869624541295355e-05, 3.352094182184459e-05, 3.997022896614221e-05, 4.0209552411457575e-05, 4.698033461315793e-05, 5.682667631668718e-05, 6.408283673876392e-05, 6.855210712612374e-05, 6.148282815424919e-05, 5.167389523794246e-05, 4.937194841781783e-05, 6.241454056144962e-05, 7.542378407960464e-05, 8.206353096195289e-05, 6.471695863234359e-05, 4.168669522734116e-05, 2.887581516044059e-05, 2.7750278738480356e-05, 3.272786706982419e-05, 3.976787252836879e-05, 5.155800615322331e-05, 6.234039792946695e-05, 6.777957737255488e-05, 6.0852288582717726e-05, 5.347564951378374e-05, 5.3595129097331543e-05, 4.7946764689896905e-05, 4.342751222945198e-05, 3.856172266747819e-05, 3.5472697717485765e-05, 3.722741804168479e-05, 3.495242569926915e-05, 3.282361003618613e-05, 3.784120966168739e-05, 4.052023913906583e-05, 4.2669070030096205e-05, 4.035620984555075e-05, 4.2901647483917497e-05, 4.006161912430773e-05, 4.2281191817726644e-05, 5.744875409097551e-05, 6.690428345846832e-05, 6.90145372259402e-05, 6.70430689206422e-05, 6.141711946053973e-05, 6.752538454828524e-05, 7.578727751702504e-05, 7.13989131310503e-05, 7.359178162545915e-05, 7.45372365544339e-05, 7.882149195391899e-05, 7.523641776794624e-05, 7.045539893995133e-05, 6.352417157613734e-05, 6.694364568484234e-05, 7.12717736427426e-05, 7.678497983494692e-05, 6.891247039733708e-05, 6.152712764387427e-05, 5.6761160036914386e-05, 6.439268086855863e-05, 7.52979832304798e-05, 7.267147258094262e-05, 6.050536861594773e-05, 4.767019988880057e-05, 4.059834916511694e-05, 4.251681214753137e-05, 5.2346992157652696e-05, 5.345043647082749e-05, 6.350360900238181e-05, 7.32756921208769e-05, 8.059337427178616e-05, 7.885710490479943e-05, 7.744438277012133e-05, 8.270791853708532e-05, 8.130906343559174e-05, 7.796431432308053e-05, 9.999810666404469e-05, 0.0001242504982689689, 0.00013483033037663494, 0.00011851650576202838, 0.00010205495722529006, 8.420881961760835e-05, 5.464330210943876e-05, 2.8727781753202098e-05, 1.707243439992653e-05, 5.114502905834818e-05, 7.752901902099486e-05, 7.759993166606235e-05, 9.468055843204783e-05, 0.00025976848527193614, 0.0008508604584078233, 0.0002333668232555075, 9.476619737272986e-05, 6.90316051206609e-05, 8.672207386089685e-05, 0.00010341978663661573, 0.00010237812859333862, 8.8390996228188e-05, 8.08423331439468e-05, 7.660495671380878e-05, 7.803803278063362e-05, 6.816478406995978e-05, 5.507247443725947e-05, 6.520036459132606e-05, 6.754771221424366e-05, 6.425317059493038e-05, 5.644320352657259e-05, 5.272206051903769e-05, 5.588543707279541e-05, 5.905567250487334e-05, 5.840789538105473e-05, 6.349160627966057e-05, 9.345116039172847e-05, 0.00012749070010047427, 0.00014056957221068487, 0.00011269702924122348, 8.35335786713054e-05, 6.230742898371545e-05, 6.346222988612764e-05, 6.738374190706377e-05, 7.7813763569455e-05, 8.919597875622939e-05, 9.396165741775788e-05, 9.820045887182221e-05, 8.98516793551807e-05, 7.409301680883805e-05, 6.175034596160044e-05, 6.38912266879837e-05, 6.775610909530643e-05, 6.0635258954371724e-05, 4.8916226344040337e-05, 4.900377036332889e-05, 4.950556066259176e-05, 5.248871796255517e-05, 5.6834442346304576e-05, 5.8738054954253624e-05, 7.942290553425512e-05, 7.662327860705873e-05, 7.832497778399168e-05, 7.558568337695682e-05, 6.457454087491286e-05, 7.425877959944344e-05, 7.967746429778803e-05, 8.298562272428064e-05, 8.608536193328654e-05, 9.804799965239589e-05, 0.00011707921895900006, 0.00012425401969638853, 0.00011282467696810191, 0.0001080829500985894, 0.00010242547533186017, 9.183111946200672e-05, 8.971176215149446e-05, 9.568566546310341e-05, 8.468825693073897e-05, 8.456784613922838e-05, 9.40891918869828e-05, 9.714650389505916e-05, 8.817232680910332e-05, 8.121104032159634e-05, 8.099401782896963e-05, 8.614719160877374e-05, 9.651682849649371e-05, 9.62683971349986e-05, 8.542698519840606e-05, 6.553856979355347e-05, 5.963031786153757e-05, 6.342647446710781e-05, 6.898288673302221e-05, 7.110823719878225e-05, 7.438093203207142e-05, 7.882105238139982e-05, 9.506333586312551e-05, 0.00010644895121918561, 0.00010655293236977857, 9.211843781773641e-05, 8.94831796328129e-05, 9.40112892323594e-05, 0.00011582546925821945, 0.00014185883702822776, 0.00016480192296461281, 0.00015674294988252447, 0.0001390786398923916, 0.00012727654278754945, 9.361428440071212e-05, 5.255217349977871e-05, 2.1450596670794864e-05, 4.5584302572499305e-05, 7.30688668501189e-05, 8.560638854047306e-05, 0.0001434795244132976, 0.0004139152002509608, 0.0013289724910432532, 0.0003306076514130096, 0.00012053931675652566, 7.795721771333073e-05, 9.33126958136368e-05, 0.0001164604972808053, 0.00012218709795239674, 9.897703106351313e-05, 8.13505805471374e-05, 6.820599217697295e-05, 6.706978469302512e-05, 5.6224277242782885e-05, 4.4353125257062704e-05, 5.1317705271400665e-05, 5.470624996138536e-05, 6.036984243210985e-05, 5.131544715752697e-05, 4.637274032207361e-05, 4.761158714599408e-05, 5.5746817622640414e-05, 6.829855651809237e-05, 8.041850789170263e-05, 0.00010966831189774101, 0.00013600004405072075, 0.0001517952186500455, 0.00013480374465882705, 0.00010994090355941169, 7.844754517639523e-05, 6.864999613963036e-05, 7.738141405831222e-05, 8.594568821789019e-05, 8.733261279248177e-05, 9.27518696060656e-05, 9.736357613632839e-05, 9.304222196680921e-05, 6.56711869935795e-05, 3.611972877703869e-05, 7.013123564181338e-05, 8.615213388810938e-05, 7.133909670598812e-05, 4.406353355801957e-05, 4.8703507314269374e-05, 6.457300829311543e-05, 7.700134811594729e-05, 8.00947818507305e-05, 5.26944862841488e-05, 7.482024316165973e-05, 5.973012810903456e-05, 5.801301447664533e-05, 7.37635395482621e-05, 5.7971348048234775e-05, 6.754070709739842e-05, 9.250985518856266e-05, 0.0001106409626297461, 9.963783749180866e-05, 9.56348063333784e-05, 0.00010678096867995398, 0.00010878040293529065, 9.891404875454979e-05, 8.330337068906743e-05, 6.845738835786609e-05, 6.765280922810532e-05, 6.41182048921048e-05, 6.710434564840873e-05, 6.882668782969031e-05, 7.480203411472743e-05, 7.961205899723373e-05, 7.468173149758173e-05, 7.378448585728753e-05, 6.234274558596225e-05, 5.607528426510457e-05, 6.194397897748338e-05, 7.636152978254385e-05, 8.550849078466127e-05, 7.925430913126948e-05, 5.823277048844432e-05, 5.415164198361705e-05, 6.18627972439852e-05, 6.608876167048331e-05, 5.904126907996631e-05, 5.2710942007229133e-05, 5.909596858638335e-05, 8.841913434789214e-05, 9.796409781416714e-05, 0.00010754001185184504, 0.00010599807016556692, 9.889333493910366e-05, 8.577655478676866e-05, 0.00010311217559870491, 0.00013050111855034103, 0.0001562353197275561, 0.0001493839402897504, 0.00014779143452081834, 0.00014973736178065748, 0.00011407019069777507, 7.22574571888421e-05, 3.560797389726914e-05, 5.939347416617311e-05, 8.685034637663116e-05, 0.0001006044378818663, 0.00017399057196307836, 0.0004445148437677233, 0.0019872184870793905, 0.00032998099724890293, 0.00010661834171691197, 6.799295553641755e-05, 7.480572397632029e-05, 9.066207497578926e-05, 0.00010259294983292668, 7.822579441787978e-05, 6.183097830141213e-05, 4.464508118995846e-05, 4.393033652991865e-05, 3.566254117094561e-05, 2.668418752055547e-05, 2.9682066497808248e-05, 3.461847712882693e-05, 4.8459113922293316e-05, 5.309680199769452e-05, 4.9762913811580424e-05, 5.468283696728826e-05, 6.789397175160145e-05, 7.427858237615397e-05, 8.11557815408687e-05, 0.0001041172650445048, 0.000138061038355448, 0.0001558006683236242, 0.00012457119867842646, 9.608630556846945e-05, 7.023324767590049e-05, 5.4660717135316146e-05, 5.0186352005979876e-05, 5.534130169269308e-05, 7.489783131030483e-05, 8.177789265763897e-05, 8.418450720444216e-05, 7.996458177490804e-05, 5.6246275935027855e-05, 2.5570298982623155e-05, 3.8058157923240186e-05, 5.8831140269316554e-05, 5.4277076540592416e-05, 3.944146210957903e-05, 4.3947358241010944e-05, 6.379464738748105e-05, 7.469155758856661e-05, 7.208966661089571e-05, 4.326403158116993e-05, 4.2428987041868386e-05, 3.34841939669851e-05, 3.060352144161952e-05, 4.712563684492946e-05, 4.750899242525289e-05, 5.89664904482853e-05, 8.21703091432304e-05, 0.00010998746860877456, 9.754895580357212e-05, 8.407708644089981e-05, 7.706202329096118e-05, 7.035886463916572e-05, 6.475143273518234e-05, 5.5257125424894405e-05, 4.6562564804765124e-05, 4.026082608850498e-05, 3.7741268694666184e-05, 5.1146209896726866e-05, 5.5722696313889746e-05, 6.0753118382835516e-05, 6.902175565384613e-05, 8.148558411210398e-05, 7.771377402553917e-05, 6.287845248919436e-05, 5.654008591405626e-05, 5.375783954868032e-05, 5.924557949859115e-05, 7.204755195042673e-05, 7.265418651133788e-05, 6.533286944462345e-05, 7.709568205189855e-05, 7.974222530924832e-05, 7.395128537097728e-05, 6.657016476302227e-05, 5.69173434610792e-05, 5.8780755043942235e-05, 8.768921223927363e-05, 0.00010528687137146367, 0.00011727069635280954, 0.00010982193664897713, 9.781725351872797e-05, 8.194451802666461e-05, 9.259899521730156e-05, 0.00011437963012029809, 0.0001446066839723951, 0.00013820945286033767, 0.0001443568461423454, 0.00015693343244988682, 0.0001293308827516323, 9.143099319443105e-05, 5.027271678500283e-05, 5.813921372090864e-05, 7.6633346996537e-05, 0.0001097606316575667, 0.00016049534516335924, 0.00037826574485727723, 0.0030247549255100056, 0.00017384093720462427, 3.095608591523488e-05, 1.764326432572223e-05, 2.6124599260641207e-05, 3.714218358817632e-05, 4.632680660430944e-05, 2.8350654305773236e-05, 2.2373158893352886e-05, 1.4440307390360613e-05, 2.046733893014437e-05, 1.5631560183805057e-05, 1.170347132550106e-05, 1.132817664352069e-05, 9.978803401305664e-06, 1.5779537686838808e-05, 2.3187435844935074e-05, 2.90860490787183e-05, 3.147374152726317e-05, 3.8763788745064204e-05, 4.282642837508508e-05, 5.08345657420735e-05, 7.516544645062106e-05, 9.893850381745732e-05, 0.00010376905581333849, 8.417343898194407e-05, 6.805166695615442e-05, 5.404269495196107e-05, 3.093598340919066e-05, 2.324807151008422e-05, 3.3854735731703206e-05, 4.952916741839992e-05, 5.917464087578994e-05, 6.370844689335137e-05, 5.768535500535781e-05, 3.8636681581693165e-05, 4.714857497019652e-05, 2.327071588980181e-05, 2.7554081378002153e-05, 3.3265489528425284e-05, 3.776628209118478e-05, 4.3100328922012136e-05, 5.885796460808312e-05, 6.197386399097269e-05, 5.434409575481636e-05, 5.266362809807043e-05, 3.1790196840541546e-05, 3.5897313506950996e-05, 3.392615455104314e-05, 2.8195621048952164e-05, 3.68057686045643e-05, 4.7143326771744435e-05, 6.116643520299204e-05, 7.672493362077605e-05, 6.564325963198104e-05, 4.4895638356546784e-05, 3.8342720179222715e-05, 6.435992599981887e-05, 5.462617597352854e-05, 4.7337583014054065e-05, 3.70800429057102e-05, 2.084909911324265e-05, 9.771037167684825e-06, 1.103856775437892e-05, 1.7524790284164803e-05, 3.678993582971535e-05, 5.0653318598248055e-05, 4.98792716349228e-05, 4.768273314171177e-05, 3.790302527273071e-05, 2.9762269378145282e-05, 3.2370874382539074e-05, 3.869134841771552e-05, 4.5236479998547784e-05, 4.89256591557294e-05, 4.98675369323716e-05, 5.589316521644329e-05, 6.148876940575709e-05, 5.72670656889753e-05, 6.036787990054452e-05, 6.0466652618119004e-05, 6.888082267289854e-05, 8.716480660909032e-05, 9.206056129242097e-05, 9.594949339172422e-05, 8.361143169543651e-05, 7.589308542723449e-05, 6.734100123095177e-05, 7.418051015141635e-05, 9.076489373432337e-05, 0.00011590201138056377, 0.00011033214796907344, 0.000117650749487373, 0.00013596302287705, 0.00010945070301139293, 8.927073625441885e-05, 7.040003955449563e-05, 7.949407242046349e-05, 9.432690615993019e-05, 0.00012960277886082784, 0.00018226032093539136, 0.0003709150293716709, 0.003718513596155081]} +RLMATH_EOF diff --git a/tasks/optimize-ea-first-autocorrelation/task.toml b/tasks/optimize-ea-first-autocorrelation/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..858b590f43b6e2cfff2458bdf09ad73ff7d4486d --- /dev/null +++ b/tasks/optimize-ea-first-autocorrelation/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-ea-first-autocorrelation" +version = "0.2.0" +description = "optimize/ea_first_autocorrelation" +authors = [] +keywords = ["rlmath", "optimize", "ea_first_autocorrelation"] + +[metadata] +subset = "optimize" +family = "ea_first_autocorrelation" +problem_key = "first_autocorrelation_inequality_upper" +domain = "analysis" +tier = "research" +level = "research" +source = "EinsteinArena/first-autocorrelation-inequality" +source_license = "MIT" +tags = ["float_objective"] +direction = "minimize" +baseline = 2.0 +best_known = 1.5028628587053106 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ea-first-autocorrelation/tests/check.py b/tasks/optimize-ea-first-autocorrelation/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..2c08b4ef2afb69e7113612f5da3fe62d83576de9 --- /dev/null +++ b/tasks/optimize-ea-first-autocorrelation/tests/check.py @@ -0,0 +1,24 @@ +"""First autocorrelation inequality, upper bound (EinsteinArena first-autocorrelation-inequality, MIT). + +C = max(conv(f, f) * dx) / (sum(f) * dx)^2 with dx = 0.5 / n, f >= 0 (minimize). Ported from the upstream +verifier (np.convolve). Change: the length is capped at inst["max_len"] so grading stays fast (upstream +has no cap), and NaN/inf are rejected explicitly.""" +import numpy as np + +from run import Invalid, float_list + + +def check(inst, ans): + v = ans.get("values") + if not isinstance(v, list) or not 1 <= len(v) <= inst["max_len"]: + raise Invalid(f"values must be a list of 1..{inst['max_len']} numbers") + f = np.array(float_list(v, None, "values")) + if np.any(f < 0): + raise Invalid("all values must be non-negative") + if np.sum(f) <= 0: + raise Invalid("the integral of f must be positive") + dx = 0.5 / len(f) + c = float(np.max(np.convolve(f, f) * dx) / (np.sum(f) * dx) ** 2) + if not np.isfinite(c): + raise Invalid("non-finite score") + return c, {} diff --git a/tasks/optimize-ea-first-autocorrelation/tests/instance.json b/tasks/optimize-ea-first-autocorrelation/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..ae276c4967a46b4bf63d21d43d73f90c3e4a8f03 --- /dev/null +++ b/tasks/optimize-ea-first-autocorrelation/tests/instance.json @@ -0,0 +1 @@ +{"max_len": 30000, "direction": "minimize", "best_known": 1.5028628587053106, "baseline": 2.0, "family": "ea_first_autocorrelation", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-ea-first-autocorrelation/tests/run.py b/tasks/optimize-ea-first-autocorrelation/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/optimize-ea-first-autocorrelation/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/optimize-ea-first-autocorrelation/tests/test.sh b/tasks/optimize-ea-first-autocorrelation/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/optimize-ea-first-autocorrelation/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/optimize-ea-kakeya-needle-n128/instruction.md b/tasks/optimize-ea-kakeya-needle-n128/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..75313002ec9182c2291ec3caef6b7bde08a278ca --- /dev/null +++ b/tasks/optimize-ea-kakeya-needle-n128/instruction.md @@ -0,0 +1,23 @@ +## Problem + +For $j = 1, \ldots, 128$ choose a real horizontal offset $x_j$ and define the triangle +$$T_j(x_j) = \operatorname{conv}\left\{ (x_j, 0),\ \left(x_j + \tfrac{1}{128}, 0\right),\ \left(x_j + \tfrac{j}{128}, 1\right) \right\}.$$ +**Minimize the area of the union** $\left| \bigcup_{j=1}^{128} T_j(x_j) \right|$ (finite Kakeya needle problem). + +The best known value is $0.10706663656\ldots$ (the Station, August 2026). + +## Scoring + +At height $y\in[0,1]$ the section of $T_j$ is $[x_j + \tfrac{j}{128}y,\ x_j + \tfrac{1}{128} + \tfrac{j-1}{128}y]$. +The grader reads every offset as an exact rational, finds every height where two section endpoints +cross, and integrates the (piecewise affine) union length exactly slab by slab. Only the final value is +converted to a float. A common translation of all offsets does not change the area. Lower is better. + +## Answer format + +`{"offsets": ["x_1", ..., "x_128"]}`: exactly 128 JSON **strings**, each a base-10 decimal with an +optional sign, at most 4 integer digits and at most 25 fractional digits (e.g. "-0.0123"). + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-ea-kakeya-needle-n128/task.toml b/tasks/optimize-ea-kakeya-needle-n128/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..f04aa81e123d168106903db7fb82c69c4ac881f7 --- /dev/null +++ b/tasks/optimize-ea-kakeya-needle-n128/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-ea-kakeya-needle-n128" +version = "0.2.0" +description = "optimize/ea_kakeya_needle_128" +authors = [] +keywords = ["rlmath", "optimize", "ea_kakeya_needle_128"] + +[metadata] +subset = "optimize" +family = "ea_kakeya_needle_128" +problem_key = "kakeya_needle_triangles_n128" +domain = "geometry" +tier = "research" +level = "research" +source = "EinsteinArena/kakeya-needle-128" +source_license = "MIT" +tags = ["ea_under_review", "exact_check"] +direction = "minimize" +baseline = 0.251953125 +best_known = 0.10706663656163481 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ea-spencer-discrepancy/environment/Dockerfile b/tasks/optimize-ea-spencer-discrepancy/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/optimize-ea-spencer-discrepancy/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/optimize-ea-spencer-discrepancy/environment/instance.json b/tasks/optimize-ea-spencer-discrepancy/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..e34c1283b8d80b48f13e5c030458b638a023bc79 --- /dev/null +++ b/tasks/optimize-ea-spencer-discrepancy/environment/instance.json @@ -0,0 +1 @@ +{"max_order": 20, "direction": "maximize", "family": "ea_spencer_discrepancy", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-ea-spencer-discrepancy/instruction.md b/tasks/optimize-ea-spencer-discrepancy/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..abddb0e5954c7ebdfbf94e9248bf380766eb9ea9 --- /dev/null +++ b/tasks/optimize-ea-spencer-discrepancy/instruction.md @@ -0,0 +1,23 @@ +## Problem + +For an $n\times n$ sign matrix $A\in\{-1,1\}^{n\times n}$ define +$\operatorname{disc}(A)=\min_{x\in\{-1,1\}^{n}}\lVert Ax\rVert_\infty$. + +**Maximize $\operatorname{disc}(A)/\sqrt n$** over sign matrices of order $1\le n\le20$. + +The best known witness in this range is a $17\times17$ matrix with discrepancy 7, proving +$C_{10c}\ge7/\sqrt{17}\approx1.697749$; the best proven asymptotic upper bound is +$\operatorname{disc}(A)\le4.1\sqrt n+O(1)$. + +## Verification + +The grader evaluates all $2^n$ sign vectors exactly with integer arithmetic. + +## Answer format + +`{"matrix": [[a_11, ..., a_1n], ..., [a_n1, ..., a_nn]]}`: a square matrix of order 1..20 whose entries +are the JSON integers 1 or -1. The score is disc(A)/sqrt(n). + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-ea-spencer-discrepancy/solution/solve.sh b/tasks/optimize-ea-spencer-discrepancy/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..2ee527b5278dcc6243506a91f1473e2641691042 --- /dev/null +++ b/tasks/optimize-ea-spencer-discrepancy/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"matrix": [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [-1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [-1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1], [1, 1, 1, -1, -1, -1, 1, -1, -1, -1, 1, -1, 1, 1, 1, 1, 1], [-1, 1, 1, -1, -1, 1, -1, -1, -1, 1, -1, 1, -1, 1, 1, 1, 1], [1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1, 1, 1, 1], [1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, 1, 1, 1], [-1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1], [1, -1, 1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, -1, 1, 1, 1], [-1, 1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, 1, -1, 1, 1, 1], [1, -1, -1, -1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1], [-1, 1, 1, -1, 1, 1, -1, 1, 1, -1, -1, -1, 1, -1, 1, 1, 1], [-1, -1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, 1], [1, 1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, 1, 1, 1], [1, 1, -1, -1, 1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, 1, 1], [-1, -1, 1, 1, -1, 1, 1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]} +RLMATH_EOF diff --git a/tasks/optimize-ea-spencer-discrepancy/task.toml b/tasks/optimize-ea-spencer-discrepancy/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..da5af65eb5e63c5e13cb6d08831a758a6522874c --- /dev/null +++ b/tasks/optimize-ea-spencer-discrepancy/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-ea-spencer-discrepancy" +version = "0.2.0" +description = "optimize/ea_spencer_discrepancy" +authors = [] +keywords = ["rlmath", "optimize", "ea_spencer_discrepancy"] + +[metadata] +subset = "optimize" +family = "ea_spencer_discrepancy" +problem_key = "spencer_discrepancy_square_n_le20" +domain = "combinatorics" +tier = "research" +level = "research" +source = "EinsteinArena/spencer-discrepancy" +source_license = "MIT" +tags = ["ea_under_review", "exact_check"] +direction = "maximize" +baseline = 1.0 +best_known = 1.697749375254331 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-ea-spencer-discrepancy/tests/check.py b/tasks/optimize-ea-spencer-discrepancy/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..7b5b2016ea7084a3d98b8cb89dadb432e60d0ce5 --- /dev/null +++ b/tasks/optimize-ea-spencer-discrepancy/tests/check.py @@ -0,0 +1,42 @@ +"""Spencer discrepancy constant witness (EinsteinArena spencer-discrepancy, MIT). +Score disc(A)/sqrt(n) with disc(A) = min_{x in {-1,1}^n} ||Ax||_inf (maximize). + +Audit: upstream verifier enumerates all 2^n sign vectors exactly; sound. Re-implemented with numpy +(vectorised popcounts; x and -x give the same value so half the vectors suffice).""" +import math + +import numpy as np + +from run import Invalid, int_list + + +def _popcount(a): + a = a - ((a >> 1) & 0x55555555) + a = (a & 0x33333333) + ((a >> 2) & 0x33333333) + a = (a + (a >> 4)) & 0x0F0F0F0F + return (a * 0x01010101 & 0xFFFFFFFF) >> 24 + + +def check(inst, ans): + m = ans.get("matrix") + cap = inst["max_order"] + if not isinstance(m, list) or not 1 <= len(m) <= cap: + raise Invalid(f"matrix order must be between 1 and {cap}") + n = len(m) + masks = [] + for row in m: + int_list(row, n, -1, 1, "matrix row") + if any(v == 0 for v in row): + raise Invalid("entries must be exactly -1 or 1") + masks.append(sum(1 << j for j, v in enumerate(row) if v == -1)) + disc = n + total = 1 << max(n - 1, 0) # fix the top sign (x ~ -x) + step = 1 << 18 + for s0 in range(0, total, step): + x = np.arange(s0, min(total, s0 + step), dtype=np.uint64) + worst = np.zeros(len(x), dtype=np.int64) + for r in masks: + pc = _popcount((x ^ np.uint64(r)) & np.uint64(0xFFFFFFFF)).astype(np.int64) + worst = np.maximum(worst, np.abs(n - 2 * pc)) + disc = min(disc, int(worst.min())) + return disc / math.sqrt(n), {"disc": disc, "order": n} diff --git a/tasks/optimize-ea-spencer-discrepancy/tests/instance.json b/tasks/optimize-ea-spencer-discrepancy/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..d665a44e4fc3700d337829d789cf6f4e80e830d8 --- /dev/null +++ b/tasks/optimize-ea-spencer-discrepancy/tests/instance.json @@ -0,0 +1 @@ +{"max_order": 20, "direction": "maximize", "best_known": 1.697749375254331, "baseline": 1.0, "family": "ea_spencer_discrepancy", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-ea-spencer-discrepancy/tests/run.py b/tasks/optimize-ea-spencer-discrepancy/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/optimize-ea-spencer-discrepancy/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/optimize-ea-spencer-discrepancy/tests/test.sh b/tasks/optimize-ea-spencer-discrepancy/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/optimize-ea-spencer-discrepancy/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/optimize-fs-cycle-indep-c11-n4/environment/Dockerfile b/tasks/optimize-fs-cycle-indep-c11-n4/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c11-n4/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/optimize-fs-cycle-indep-c11-n4/environment/instance.json b/tasks/optimize-fs-cycle-indep-c11-n4/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..1484765b9f2719e6d7224a421687b6d546427977 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c11-n4/environment/instance.json @@ -0,0 +1 @@ +{"m": 11, "n": 4, "direction": "maximize", "family": "fs_cycle_independent_set", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-fs-cycle-indep-c11-n4/instruction.md b/tasks/optimize-fs-cycle-indep-c11-n4/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..8468c73e0654f7a5bde25289018e0191ebbc2c80 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c11-n4/instruction.md @@ -0,0 +1,7 @@ +Let C_11 be the cycle graph on vertices 0..10 (i adjacent to i+1 mod 11). Its 4-th strong power C_11^4 has vertex set {0..10}^4; two distinct vertices x, y are adjacent iff for every coordinate i, x_i - y_i is -1, 0 or 1 modulo 11. Find an independent set in C_11^4 (no two of its vertices adjacent) that is as large as possible; this gives the Shannon capacity lower bound Theta(C_11) >= |S|^(1/4). The score is |S|. + +Answer format: {"vertices": [[x_1, ..., x_4], ...]}: a list of distinct length-4 lists with integer entries in 0..10. + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-fs-cycle-indep-c11-n4/solution/solve.sh b/tasks/optimize-fs-cycle-indep-c11-n4/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..9760ffae0c44c08108b84f54be9829d1fe3f0121 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c11-n4/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"vertices": [[0, 0, 0, 8], [0, 0, 0, 10], [0, 0, 1, 6], [0, 0, 2, 4], [0, 0, 3, 2], [0, 0, 4, 0], [0, 0, 5, 7], [0, 0, 6, 5], [0, 0, 7, 3], [0, 0, 8, 1], [0, 0, 9, 8], [0, 0, 9, 10], [0, 0, 10, 1], [0, 1, 0, 4], [0, 1, 1, 2], [0, 1, 2, 0], [0, 1, 3, 7], [0, 1, 4, 5], [0, 1, 5, 3], [0, 1, 6, 1], [0, 1, 7, 8], [0, 1, 7, 10], [0, 1, 8, 6], [0, 1, 9, 4], [0, 1, 10, 6], [0, 2, 0, 0], [0, 2, 1, 7], [0, 2, 2, 5], [0, 2, 3, 3], [0, 2, 4, 1], [0, 2, 5, 8], [0, 2, 5, 10], [0, 2, 6, 6], [0, 2, 7, 4], [0, 2, 8, 2], [0, 2, 9, 0], [0, 2, 10, 2], [0, 3, 0, 5], [0, 3, 1, 3], [0, 3, 2, 1], [0, 3, 3, 8], [0, 3, 3, 10], [0, 3, 4, 6], [0, 3, 5, 4], [0, 3, 6, 2], [0, 3, 7, 0], [0, 3, 8, 7], [0, 3, 9, 5], [0, 3, 10, 7], [0, 4, 0, 1], [0, 4, 1, 8], [0, 4, 1, 10], [0, 4, 2, 6], [0, 4, 3, 4], [0, 4, 4, 2], [0, 4, 5, 0], [0, 4, 6, 7], [0, 4, 7, 5], [0, 4, 8, 3], [0, 4, 9, 1], [0, 4, 10, 3], [0, 5, 0, 6], [0, 5, 1, 4], [0, 5, 2, 2], [0, 5, 3, 0], [0, 5, 4, 7], [0, 5, 5, 5], [0, 5, 6, 3], [0, 5, 7, 1], [0, 5, 8, 8], [0, 5, 8, 10], [0, 5, 9, 6], [0, 5, 10, 8], [0, 5, 10, 10], [0, 6, 0, 2], [0, 6, 1, 0], [0, 6, 2, 7], [0, 6, 3, 5], [0, 6, 4, 3], [0, 6, 5, 1], [0, 6, 6, 8], [0, 6, 6, 10], [0, 6, 7, 6], [0, 6, 8, 4], [0, 6, 9, 2], [0, 6, 10, 4], [0, 7, 0, 7], [0, 7, 1, 5], [0, 7, 2, 3], [0, 7, 3, 1], [0, 7, 4, 8], [0, 7, 4, 10], [0, 7, 5, 6], [0, 7, 6, 4], [0, 7, 7, 2], [0, 7, 8, 0], [0, 7, 9, 7], [0, 7, 10, 0], [0, 8, 0, 3], [0, 8, 1, 1], [0, 8, 2, 8], [0, 8, 2, 10], [0, 8, 3, 6], [0, 8, 4, 4], [0, 8, 5, 2], [0, 8, 6, 0], [0, 8, 7, 7], [0, 8, 8, 5], [0, 8, 9, 3], [0, 8, 10, 5], [0, 9, 0, 8], [0, 9, 0, 10], [0, 9, 1, 6], [0, 9, 2, 4], [0, 9, 3, 2], [0, 9, 4, 0], [0, 9, 5, 7], [0, 9, 6, 5], [0, 9, 7, 3], [0, 9, 8, 1], [0, 9, 9, 7], [0, 9, 10, 1], [0, 10, 0, 3], [0, 10, 1, 1], [0, 10, 2, 8], [0, 10, 2, 10], [0, 10, 3, 6], [0, 10, 4, 4], [0, 10, 5, 2], [0, 10, 6, 0], [0, 10, 7, 7], [0, 10, 8, 5], [0, 10, 9, 3], [0, 10, 10, 5], [1, 0, 5, 9], [1, 1, 3, 9], [1, 2, 1, 9], [1, 3, 8, 9], [1, 3, 10, 9], [1, 4, 6, 9], [1, 5, 4, 9], [1, 6, 2, 9], [1, 7, 0, 9], [1, 7, 9, 9], [1, 8, 7, 9], [1, 9, 5, 9], [1, 9, 9, 9], [1, 10, 7, 9], [2, 0, 0, 1], [2, 0, 1, 8], [2, 0, 1, 10], [2, 0, 2, 6], [2, 0, 3, 4], [2, 0, 4, 2], [2, 0, 5, 0], [2, 0, 6, 7], [2, 0, 7, 5], [2, 0, 8, 3], [2, 0, 9, 1], [2, 0, 10, 3], [2, 1, 0, 6], [2, 1, 1, 4], [2, 1, 2, 2], [2, 1, 3, 0], [2, 1, 4, 7], [2, 1, 5, 5], [2, 1, 6, 3], [2, 1, 7, 1], [2, 1, 8, 8], [2, 1, 8, 10], [2, 1, 9, 6], [2, 1, 10, 8], [2, 1, 10, 10], [2, 2, 0, 2], [2, 2, 1, 0], [2, 2, 2, 7], [2, 2, 3, 5], [2, 2, 4, 3], [2, 2, 5, 1], [2, 2, 6, 8], [2, 2, 6, 10], [2, 2, 7, 6], [2, 2, 8, 4], [2, 2, 9, 2], [2, 2, 10, 4], [2, 3, 0, 7], [2, 3, 1, 5], [2, 3, 2, 3], [2, 3, 3, 1], [2, 3, 4, 8], [2, 3, 4, 10], [2, 3, 5, 6], [2, 3, 6, 4], [2, 3, 7, 2], [2, 3, 8, 0], [2, 3, 9, 7], [2, 3, 10, 0], [2, 4, 0, 3], [2, 4, 1, 1], [2, 4, 2, 8], [2, 4, 2, 10], [2, 4, 3, 6], [2, 4, 4, 4], [2, 4, 5, 2], [2, 4, 6, 0], [2, 4, 7, 7], [2, 4, 8, 5], [2, 4, 9, 3], [2, 4, 10, 5], [2, 5, 0, 8], [2, 5, 0, 10], [2, 5, 1, 6], [2, 5, 2, 4], [2, 5, 3, 2], [2, 5, 4, 0], [2, 5, 5, 7], [2, 5, 6, 5], [2, 5, 7, 3], [2, 5, 8, 1], [2, 5, 9, 8], [2, 5, 9, 10], [2, 5, 10, 1], [2, 6, 0, 4], [2, 6, 1, 2], [2, 6, 2, 0], [2, 6, 3, 7], [2, 6, 4, 5], [2, 6, 5, 3], [2, 6, 6, 1], [2, 6, 7, 8], [2, 6, 7, 10], [2, 6, 8, 6], [2, 6, 9, 4], [2, 6, 10, 6], [2, 7, 0, 0], [2, 7, 1, 7], [2, 7, 2, 5], [2, 7, 3, 3], [2, 7, 4, 1], [2, 7, 5, 8], [2, 7, 5, 10], [2, 7, 6, 6], [2, 7, 7, 4], [2, 7, 8, 2], [2, 7, 9, 0], [2, 7, 10, 2], [2, 8, 0, 5], [2, 8, 1, 3], [2, 8, 2, 1], [2, 8, 3, 8], [2, 8, 3, 10], [2, 8, 4, 6], [2, 8, 5, 4], [2, 8, 6, 2], [2, 8, 7, 0], [2, 8, 8, 7], [2, 8, 9, 5], [2, 8, 10, 7], [2, 9, 0, 1], [2, 9, 1, 8], [2, 9, 1, 10], [2, 9, 2, 6], [2, 9, 3, 4], [2, 9, 4, 2], [2, 9, 5, 0], [2, 9, 6, 7], [2, 9, 7, 5], [2, 9, 8, 3], [2, 9, 9, 0], [2, 9, 10, 3], [2, 10, 0, 5], [2, 10, 1, 3], [2, 10, 2, 1], [2, 10, 3, 8], [2, 10, 3, 10], [2, 10, 4, 6], [2, 10, 5, 4], [2, 10, 6, 2], [2, 10, 7, 0], [2, 10, 8, 7], [2, 10, 9, 5], [2, 10, 10, 7], [3, 0, 6, 9], [3, 1, 4, 9], [3, 2, 2, 9], [3, 3, 0, 9], [3, 3, 9, 9], [3, 4, 7, 9], [3, 5, 5, 9], [3, 6, 3, 9], [3, 7, 1, 9], [3, 8, 8, 9], [3, 8, 10, 9], [3, 9, 6, 9], [3, 10, 8, 9], [3, 10, 10, 9], [4, 0, 0, 3], [4, 0, 1, 1], [4, 0, 2, 8], [4, 0, 2, 10], [4, 0, 3, 6], [4, 0, 4, 4], [4, 0, 5, 2], [4, 0, 6, 0], [4, 0, 7, 7], [4, 0, 8, 5], [4, 0, 9, 3], [4, 0, 10, 5], [4, 1, 0, 8], [4, 1, 0, 10], [4, 1, 1, 6], [4, 1, 2, 4], [4, 1, 3, 2], [4, 1, 4, 0], [4, 1, 5, 7], [4, 1, 6, 5], [4, 1, 7, 3], [4, 1, 8, 1], [4, 1, 9, 8], [4, 1, 9, 10], [4, 1, 10, 1], [4, 2, 0, 4], [4, 2, 1, 2], [4, 2, 2, 0], [4, 2, 3, 7], [4, 2, 4, 5], [4, 2, 5, 3], [4, 2, 6, 1], [4, 2, 7, 8], [4, 2, 7, 10], [4, 2, 8, 6], [4, 2, 9, 4], [4, 2, 10, 6], [4, 3, 0, 0], [4, 3, 1, 7], [4, 3, 2, 5], [4, 3, 3, 3], [4, 3, 4, 1], [4, 3, 5, 8], [4, 3, 5, 10], [4, 3, 6, 6], [4, 3, 7, 4], [4, 3, 8, 2], [4, 3, 9, 0], [4, 3, 10, 2], [4, 4, 0, 5], [4, 4, 1, 3], [4, 4, 2, 1], [4, 4, 3, 8], [4, 4, 3, 10], [4, 4, 4, 6], [4, 4, 5, 4], [4, 4, 6, 2], [4, 4, 7, 0], [4, 4, 8, 7], [4, 4, 9, 5], [4, 4, 10, 7], [4, 5, 0, 1], [4, 5, 1, 8], [4, 5, 1, 10], [4, 5, 2, 6], [4, 5, 3, 4], [4, 5, 4, 2], [4, 5, 5, 0], [4, 5, 6, 7], [4, 5, 7, 5], [4, 5, 8, 3], [4, 5, 9, 1], [4, 5, 10, 3], [4, 6, 0, 6], [4, 6, 1, 4], [4, 6, 2, 2], [4, 6, 3, 0], [4, 6, 4, 7], [4, 6, 5, 5], [4, 6, 6, 3], [4, 6, 7, 1], [4, 6, 8, 8], [4, 6, 8, 10], [4, 6, 9, 6], [4, 6, 10, 8], [4, 6, 10, 10], [4, 7, 0, 2], [4, 7, 1, 0], [4, 7, 2, 7], [4, 7, 3, 5], [4, 7, 4, 3], [4, 7, 5, 1], [4, 7, 6, 8], [4, 7, 6, 10], [4, 7, 7, 6], [4, 7, 8, 4], [4, 7, 9, 2], [4, 7, 10, 4], [4, 8, 0, 7], [4, 8, 1, 5], [4, 8, 2, 3], [4, 8, 3, 1], [4, 8, 4, 8], [4, 8, 4, 10], [4, 8, 5, 6], [4, 8, 6, 4], [4, 8, 7, 2], [4, 8, 8, 0], [4, 8, 9, 7], [4, 8, 10, 0], [4, 9, 0, 3], [4, 9, 1, 1], [4, 9, 2, 8], [4, 9, 2, 10], [4, 9, 3, 6], [4, 9, 4, 4], [4, 9, 5, 2], [4, 9, 6, 0], [4, 9, 7, 7], [4, 9, 8, 5], [4, 9, 9, 2], [4, 9, 10, 5], [4, 10, 0, 7], [4, 10, 1, 5], [4, 10, 2, 3], [4, 10, 3, 1], [4, 10, 4, 8], [4, 10, 4, 10], [4, 10, 5, 6], [4, 10, 6, 4], [4, 10, 7, 2], [4, 10, 8, 0], [4, 10, 9, 7], [4, 10, 10, 0], [5, 0, 7, 9], [5, 1, 5, 9], [5, 2, 3, 9], [5, 3, 1, 9], [5, 4, 8, 9], [5, 4, 10, 9], [5, 5, 6, 9], [5, 6, 4, 9], [5, 7, 2, 9], [5, 8, 0, 9], [5, 8, 9, 9], [5, 9, 7, 9], [5, 10, 0, 9], [5, 10, 9, 9], [6, 0, 0, 5], [6, 0, 1, 3], [6, 0, 2, 1], [6, 0, 3, 8], [6, 0, 3, 10], [6, 0, 4, 6], [6, 0, 5, 4], [6, 0, 6, 2], [6, 0, 7, 0], [6, 0, 8, 7], [6, 0, 9, 5], [6, 0, 10, 7], [6, 1, 0, 1], [6, 1, 1, 8], [6, 1, 1, 10], [6, 1, 2, 6], [6, 1, 3, 4], [6, 1, 4, 2], [6, 1, 5, 0], [6, 1, 6, 7], [6, 1, 7, 5], [6, 1, 8, 3], [6, 1, 9, 1], [6, 1, 10, 3], [6, 2, 0, 6], [6, 2, 1, 4], [6, 2, 2, 2], [6, 2, 3, 0], [6, 2, 4, 7], [6, 2, 5, 5], [6, 2, 6, 3], [6, 2, 7, 1], [6, 2, 8, 8], [6, 2, 8, 10], [6, 2, 9, 6], [6, 2, 10, 8], [6, 2, 10, 10], [6, 3, 0, 2], [6, 3, 1, 0], [6, 3, 2, 7], [6, 3, 3, 5], [6, 3, 4, 3], [6, 3, 5, 1], [6, 3, 6, 8], [6, 3, 6, 10], [6, 3, 7, 6], [6, 3, 8, 4], [6, 3, 9, 2], [6, 3, 10, 4], [6, 4, 0, 7], [6, 4, 1, 5], [6, 4, 2, 3], [6, 4, 3, 1], [6, 4, 4, 8], [6, 4, 4, 10], [6, 4, 5, 6], [6, 4, 6, 4], [6, 4, 7, 2], [6, 4, 8, 0], [6, 4, 9, 7], [6, 4, 10, 0], [6, 5, 0, 3], [6, 5, 1, 1], [6, 5, 2, 8], [6, 5, 2, 10], [6, 5, 3, 6], [6, 5, 4, 4], [6, 5, 5, 2], [6, 5, 6, 0], [6, 5, 7, 7], [6, 5, 8, 5], [6, 5, 9, 3], [6, 5, 10, 5], [6, 6, 0, 8], [6, 6, 0, 10], [6, 6, 1, 6], [6, 6, 2, 4], [6, 6, 3, 2], [6, 6, 4, 0], [6, 6, 5, 7], [6, 6, 6, 5], [6, 6, 7, 3], [6, 6, 8, 1], [6, 6, 9, 8], [6, 6, 9, 10], [6, 6, 10, 1], [6, 7, 0, 4], [6, 7, 1, 2], [6, 7, 2, 0], [6, 7, 3, 7], [6, 7, 4, 5], [6, 7, 5, 3], [6, 7, 6, 1], [6, 7, 7, 8], [6, 7, 7, 10], [6, 7, 8, 6], [6, 7, 9, 4], [6, 7, 10, 6], [6, 8, 0, 0], [6, 8, 1, 7], [6, 8, 2, 5], [6, 8, 3, 3], [6, 8, 4, 1], [6, 8, 5, 8], [6, 8, 5, 10], [6, 8, 6, 6], [6, 8, 7, 4], [6, 8, 8, 2], [6, 8, 9, 0], [6, 8, 10, 2], [6, 9, 0, 5], [6, 9, 1, 3], [6, 9, 2, 1], [6, 9, 3, 8], [6, 9, 3, 10], [6, 9, 4, 6], [6, 9, 5, 4], [6, 9, 6, 2], [6, 9, 7, 0], [6, 9, 8, 7], [6, 9, 9, 4], [6, 9, 10, 7], [6, 10, 0, 0], [6, 10, 1, 7], [6, 10, 2, 5], [6, 10, 3, 3], [6, 10, 4, 1], [6, 10, 5, 8], [6, 10, 5, 10], [6, 10, 6, 6], [6, 10, 7, 4], [6, 10, 8, 2], [6, 10, 9, 0], [6, 10, 10, 2], [7, 0, 8, 9], [7, 0, 10, 9], [7, 1, 6, 9], [7, 2, 4, 9], [7, 3, 2, 9], [7, 4, 0, 9], [7, 4, 9, 9], [7, 5, 7, 9], [7, 6, 5, 9], [7, 7, 3, 9], [7, 8, 1, 9], [7, 9, 8, 9], [7, 9, 10, 9], [7, 10, 1, 9], [8, 0, 0, 7], [8, 0, 1, 5], [8, 0, 2, 3], [8, 0, 3, 1], [8, 0, 4, 8], [8, 0, 4, 10], [8, 0, 5, 6], [8, 0, 6, 4], [8, 0, 7, 2], [8, 0, 8, 0], [8, 0, 9, 7], [8, 0, 10, 0], [8, 1, 0, 3], [8, 1, 1, 1], [8, 1, 2, 8], [8, 1, 2, 10], [8, 1, 3, 6], [8, 1, 4, 4], [8, 1, 5, 2], [8, 1, 6, 0], [8, 1, 7, 7], [8, 1, 8, 5], [8, 1, 9, 3], [8, 1, 10, 5], [8, 2, 0, 8], [8, 2, 0, 10], [8, 2, 1, 6], [8, 2, 2, 4], [8, 2, 3, 2], [8, 2, 4, 0], [8, 2, 5, 7], [8, 2, 6, 5], [8, 2, 7, 3], [8, 2, 8, 1], [8, 2, 9, 8], [8, 2, 9, 10], [8, 2, 10, 1], [8, 3, 0, 4], [8, 3, 1, 2], [8, 3, 2, 0], [8, 3, 3, 7], [8, 3, 4, 5], [8, 3, 5, 3], [8, 3, 6, 1], [8, 3, 7, 8], [8, 3, 7, 10], [8, 3, 8, 6], [8, 3, 9, 4], [8, 3, 10, 6], [8, 4, 0, 0], [8, 4, 1, 7], [8, 4, 2, 5], [8, 4, 3, 3], [8, 4, 4, 1], [8, 4, 5, 8], [8, 4, 5, 10], [8, 4, 6, 6], [8, 4, 7, 4], [8, 4, 8, 2], [8, 4, 9, 0], [8, 4, 10, 2], [8, 5, 0, 5], [8, 5, 1, 3], [8, 5, 2, 1], [8, 5, 3, 8], [8, 5, 3, 10], [8, 5, 4, 6], [8, 5, 5, 4], [8, 5, 6, 2], [8, 5, 7, 0], [8, 5, 8, 7], [8, 5, 9, 5], [8, 5, 10, 7], [8, 6, 0, 1], [8, 6, 1, 8], [8, 6, 1, 10], [8, 6, 2, 6], [8, 6, 3, 4], [8, 6, 4, 2], [8, 6, 5, 0], [8, 6, 6, 7], [8, 6, 7, 5], [8, 6, 8, 3], [8, 6, 9, 1], [8, 6, 10, 3], [8, 7, 0, 6], [8, 7, 1, 4], [8, 7, 2, 2], [8, 7, 3, 0], [8, 7, 4, 7], [8, 7, 5, 5], [8, 7, 6, 3], [8, 7, 7, 1], [8, 7, 8, 8], [8, 7, 8, 10], [8, 7, 9, 6], [8, 7, 10, 8], [8, 7, 10, 10], [8, 8, 0, 2], [8, 8, 1, 0], [8, 8, 2, 7], [8, 8, 3, 5], [8, 8, 4, 3], [8, 8, 5, 1], [8, 8, 6, 8], [8, 8, 6, 10], [8, 8, 7, 6], [8, 8, 8, 4], [8, 8, 9, 2], [8, 8, 10, 4], [8, 9, 0, 7], [8, 9, 1, 5], [8, 9, 2, 3], [8, 9, 3, 1], [8, 9, 4, 8], [8, 9, 4, 10], [8, 9, 5, 6], [8, 9, 6, 4], [8, 9, 7, 2], [8, 9, 8, 0], [8, 9, 9, 6], [8, 9, 10, 0], [8, 10, 0, 2], [8, 10, 1, 0], [8, 10, 2, 7], [8, 10, 3, 5], [8, 10, 4, 3], [8, 10, 5, 1], [8, 10, 6, 8], [8, 10, 6, 10], [8, 10, 7, 6], [8, 10, 8, 4], [8, 10, 9, 2], [8, 10, 10, 4], [9, 0, 0, 9], [9, 0, 9, 9], [9, 1, 7, 9], [9, 2, 5, 9], [9, 3, 3, 9], [9, 4, 1, 9], [9, 5, 8, 9], [9, 5, 10, 9], [9, 6, 6, 9], [9, 7, 4, 9], [9, 8, 2, 9], [9, 9, 0, 9], [9, 9, 8, 8], [9, 10, 2, 9], [10, 0, 4, 9], [10, 1, 2, 9], [10, 2, 0, 9], [10, 2, 9, 9], [10, 3, 7, 9], [10, 4, 5, 9], [10, 5, 3, 9], [10, 6, 1, 9], [10, 7, 8, 9], [10, 7, 10, 9], [10, 8, 6, 9], [10, 9, 4, 9], [10, 9, 8, 10], [10, 10, 6, 9]]} +RLMATH_EOF diff --git a/tasks/optimize-fs-cycle-indep-c11-n4/task.toml b/tasks/optimize-fs-cycle-indep-c11-n4/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..514f3ba127cc52eeed832098389789c68fca3a55 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c11-n4/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-fs-cycle-indep-c11-n4" +version = "0.2.0" +description = "optimize/fs_cycle_independent_set" +authors = [] +keywords = ["rlmath", "optimize", "fs_cycle_independent_set"] + +[metadata] +subset = "optimize" +family = "fs_cycle_independent_set" +problem_key = "independent_set_strong_power_odd_cycle" +domain = "graph_theory" +tier = "research" +level = "c11_n4" +source = "FunSearch/cyclic_graphs" +source_license = "Apache-2.0" +tags = ["integer_objective"] +direction = "maximize" +baseline = 625 +best_known = 754 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-fs-cycle-indep-c11-n4/tests/check.py b/tasks/optimize-fs-cycle-indep-c11-n4/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..18467766f4b39df02d00aad7ae384bd83e857320 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c11-n4/tests/check.py @@ -0,0 +1,38 @@ +"""Independent set in the strong product C_m^{⊠n}. Score = size. + +Two distinct vertices x, y of C_m^{⊠n} (n-tuples over Z_m) are adjacent iff x_i - y_i ∈ {-1, 0, 1} (mod m) +for every i. Check: mark the answer in a boolean table of size m^n and look up all 3^n - 1 neighbours of +every answer vertex (vectorised; 26244 vertices of C_9^7 take ~1 s). +""" +import itertools + +import numpy as np + +from run import Invalid, int_list + + +def check(inst, ans): + m, n = inst["m"], inst["n"] + vecs = ans.get("vertices") + # alpha(C_m^{⊠n}) <= (m/2)^n (fractional independence number is multiplicative under strong products), + # so longer lists are invalid; rejecting them early also bounds grading time + if not isinstance(vecs, list) or not vecs or 2 ** n * len(vecs) > m ** n: + raise Invalid(f"vertices must be a non-empty list of at most ({m}/2)^{n} tuples") + for v in vecs: + int_list(v, n, 0, m - 1, "vertex") + A = np.array(vecs, dtype=np.int64) + pw = m ** np.arange(n - 1, -1, -1, dtype=np.int64) + codes = A @ pw + if len(np.unique(codes)) != len(codes): + raise Invalid("duplicate vertices") + table = np.zeros(m ** n, bool) + table[codes] = True + for off in itertools.product((-1, 0, 1), repeat=n): + if not any(off): + continue + nb = ((A + np.array(off)) % m) @ pw + hit = table[nb] + if hit.any(): + k = int(np.nonzero(hit)[0][0]) + raise Invalid(f"vertices {vecs[k]} and {[(x + o) % m for x, o in zip(vecs[k], off)]} are adjacent") + return float(len(vecs)), {"size": len(vecs)} diff --git a/tasks/optimize-fs-cycle-indep-c11-n4/tests/instance.json b/tasks/optimize-fs-cycle-indep-c11-n4/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..ff924cd67488b471cc11152e2b91de3537218eba --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c11-n4/tests/instance.json @@ -0,0 +1 @@ +{"m": 11, "n": 4, "direction": "maximize", "best_known": 754, "baseline": 625, "family": "fs_cycle_independent_set", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-fs-cycle-indep-c11-n4/tests/run.py b/tasks/optimize-fs-cycle-indep-c11-n4/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c11-n4/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/optimize-fs-cycle-indep-c11-n4/tests/test.sh b/tasks/optimize-fs-cycle-indep-c11-n4/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c11-n4/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt diff --git a/tasks/optimize-fs-cycle-indep-c7-n5/environment/Dockerfile b/tasks/optimize-fs-cycle-indep-c7-n5/environment/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..06d0365485bd1fc9437a07fafe38cb8333e9ac65 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c7-n5/environment/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.11.16-slim +RUN apt-get update && apt-get install -y --no-install-recommends tmux curl git procps build-essential \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir numpy==2.4.6 scipy==1.17.1 sympy==1.14.0 networkx==3.6.1 \ + python-sat==1.9.dev15 z3-solver==5.1.0.0 PuLP==3.3.2 ortools==9.15.6755 +WORKDIR /workdir +COPY instance.json /workdir/instance.json diff --git a/tasks/optimize-fs-cycle-indep-c7-n5/environment/instance.json b/tasks/optimize-fs-cycle-indep-c7-n5/environment/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..0ae21f09a85667140d2893fbf833c4339b6cd7c3 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c7-n5/environment/instance.json @@ -0,0 +1 @@ +{"m": 7, "n": 5, "direction": "maximize", "family": "fs_cycle_independent_set", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-fs-cycle-indep-c7-n5/instruction.md b/tasks/optimize-fs-cycle-indep-c7-n5/instruction.md new file mode 100644 index 0000000000000000000000000000000000000000..9574e609853686fb15f45ac18b71d3bd76c9bf20 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c7-n5/instruction.md @@ -0,0 +1,7 @@ +Let C_7 be the cycle graph on vertices 0..6 (i adjacent to i+1 mod 7). Its 5-th strong power C_7^5 has vertex set {0..6}^5; two distinct vertices x, y are adjacent iff for every coordinate i, x_i - y_i is -1, 0 or 1 modulo 7. Find an independent set in C_7^5 (no two of its vertices adjacent) that is as large as possible; this gives the Shannon capacity lower bound Theta(C_7) >= |S|^(1/5). The score is |S|. + +Answer format: {"vertices": [[x_1, ..., x_5], ...]}: a list of distinct length-5 lists with integer entries in 0..6. + +Reward: 0 for an invalid answer; otherwise 0.1 plus up to 0.9 for progress from a trivial baseline toward the best known value. + +Write your final answer as JSON to `/workdir/answer.json`. The instance data is also in `/workdir/instance.json`. Only `/workdir/answer.json` is graded. There is no internet access. diff --git a/tasks/optimize-fs-cycle-indep-c7-n5/solution/solve.sh b/tasks/optimize-fs-cycle-indep-c7-n5/solution/solve.sh new file mode 100644 index 0000000000000000000000000000000000000000..1e6eb0fcc9d16535521f87ab749e9bf3acef5b33 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c7-n5/solution/solve.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# oracle: a known valid construction (planted witness or published solution) +cat > /workdir/answer.json <<'RLMATH_EOF' +{"vertices": [[1, 1, 1, 1, 1], [2, 3, 2, 2, 4], [2, 4, 2, 3, 2], [3, 2, 2, 4, 2], [2, 2, 4, 2, 3], [4, 2, 3, 2, 2], [1, 1, 2, 2, 3], [1, 2, 2, 3, 1], [2, 2, 3, 1, 1], [2, 3, 1, 1, 2], [3, 1, 1, 2, 2], [1, 2, 3, 4, 3], [3, 1, 2, 3, 4], [2, 3, 4, 3, 1], [3, 4, 3, 1, 2], [4, 3, 1, 2, 3], [2, 4, 3, 4, 4], [3, 4, 4, 2, 4], [4, 2, 4, 3, 4], [4, 3, 4, 4, 2], [4, 4, 2, 4, 3], [1, 1, 3, 3, 5], [1, 3, 3, 5, 1], [3, 3, 5, 1, 1], [3, 5, 1, 1, 3], [5, 1, 1, 3, 3], [0, 3, 1, 0, 1], [1, 0, 1, 0, 3], [0, 1, 0, 3, 1], [1, 0, 3, 1, 0], [3, 1, 0, 1, 0], [2, 5, 3, 5, 2], [3, 3, 6, 2, 3], [3, 5, 2, 2, 5], [2, 2, 5, 3, 5], [2, 3, 3, 3, 6], [3, 3, 3, 6, 2], [3, 6, 2, 3, 3], [5, 2, 2, 5, 3], [5, 3, 5, 2, 2], [6, 2, 3, 3, 3], [2, 3, 5, 4, 3], [3, 2, 3, 5, 4], [4, 3, 2, 3, 5], [5, 4, 3, 2, 3], [3, 5, 4, 3, 2], [0, 3, 2, 1, 3], [2, 1, 3, 0, 3], [3, 0, 3, 2, 1], [3, 2, 1, 3, 0], [1, 3, 0, 3, 2], [0, 0, 0, 2, 3], [0, 2, 3, 0, 0], [1, 3, 4, 6, 3], [2, 3, 0, 0, 0], [3, 0, 0, 0, 2], [0, 0, 2, 3, 0], [3, 1, 3, 4, 6], [3, 4, 6, 3, 1], [4, 6, 3, 1, 3], [6, 3, 1, 3, 4], [0, 2, 4, 1, 2], [1, 2, 0, 2, 4], [2, 0, 2, 4, 1], [2, 4, 1, 2, 0], [4, 1, 2, 0, 2], [1, 5, 1, 0, 2], [0, 2, 1, 5, 1], [1, 0, 2, 1, 5], [2, 1, 5, 1, 0], [5, 1, 0, 2, 1], [2, 4, 5, 5, 1], [4, 5, 5, 1, 2], [5, 5, 1, 2, 4], [1, 2, 4, 5, 5], [5, 1, 2, 4, 5], [1, 5, 2, 1, 4], [4, 1, 5, 2, 1], [4, 2, 2, 1, 0], [0, 4, 2, 2, 1], [1, 0, 4, 2, 2], [1, 4, 1, 5, 2], [2, 1, 0, 4, 2], [2, 2, 1, 0, 4], [5, 2, 1, 4, 1], [2, 1, 4, 1, 5], [0, 4, 3, 3, 3], [1, 4, 4, 1, 3], [3, 0, 4, 3, 3], [3, 1, 4, 4, 1], [3, 3, 0, 4, 3], [4, 1, 3, 1, 4], [4, 3, 3, 3, 0], [4, 4, 1, 3, 1], [1, 3, 1, 4, 4], [3, 3, 3, 0, 4], [2, 5, 2, 4, 0], [3, 0, 1, 1, 4], [4, 3, 0, 1, 1], [4, 5, 3, 6, 3], [5, 2, 4, 0, 2], [5, 3, 6, 3, 4], [0, 1, 1, 4, 3], [0, 2, 5, 2, 4], [1, 1, 4, 3, 0], [1, 4, 3, 0, 1], [1, 6, 2, 2, 2], [2, 1, 6, 2, 2], [2, 2, 1, 6, 2], [2, 2, 2, 1, 6], [2, 4, 0, 2, 5], [3, 6, 3, 4, 5], [3, 4, 5, 3, 6], [4, 0, 2, 5, 2], [6, 2, 2, 2, 1], [6, 3, 4, 5, 3], [5, 5, 5, 5, 5], [1, 3, 6, 1, 2], [2, 0, 0, 3, 4], [2, 1, 3, 6, 1], [4, 2, 0, 0, 3], [0, 0, 3, 4, 2], [0, 3, 3, 2, 5], [0, 3, 4, 2, 0], [1, 2, 1, 3, 6], [2, 5, 0, 3, 3], [2, 5, 4, 6, 4], [3, 2, 5, 0, 3], [3, 3, 2, 5, 0], [3, 4, 2, 0, 0], [3, 6, 1, 2, 1], [4, 2, 5, 4, 6], [4, 6, 4, 2, 5], [5, 4, 6, 4, 2], [5, 0, 3, 3, 2], [6, 1, 2, 1, 3], [6, 4, 2, 5, 4], [0, 1, 3, 5, 0], [1, 3, 5, 0, 0], [3, 5, 0, 0, 1], [0, 0, 1, 3, 5], [5, 0, 0, 1, 3], [0, 3, 5, 3, 2], [2, 0, 3, 5, 3], [3, 2, 0, 3, 5], [5, 3, 2, 0, 3], [3, 5, 3, 2, 0], [4, 3, 5, 5, 4], [4, 4, 3, 5, 5], [5, 4, 4, 3, 5], [5, 5, 4, 4, 3], [3, 5, 5, 4, 4], [0, 5, 3, 4, 1], [4, 4, 5, 6, 2], [5, 3, 4, 1, 0], [5, 6, 2, 4, 4], [1, 0, 5, 3, 4], [2, 4, 4, 5, 6], [3, 4, 1, 0, 5], [4, 5, 6, 2, 4], [6, 2, 4, 4, 5], [4, 1, 0, 5, 3], [4, 5, 2, 5, 1], [0, 4, 0, 1, 4], [1, 4, 0, 4, 0], [1, 5, 4, 2, 1], [2, 1, 1, 5, 4], [4, 0, 4, 0, 1], [4, 2, 1, 1, 5], [5, 2, 5, 1, 4], [5, 4, 2, 1, 1], [0, 1, 4, 0, 4], [1, 1, 5, 4, 2], [1, 4, 5, 2, 5], [2, 5, 1, 4, 5], [4, 0, 1, 4, 0], [5, 1, 4, 5, 2], [0, 4, 5, 4, 0], [2, 6, 3, 0, 2], [3, 0, 2, 2, 6], [5, 4, 0, 0, 4], [5, 5, 2, 3, 6], [6, 5, 5, 2, 3], [0, 0, 4, 5, 4], [0, 2, 2, 6, 3], [2, 2, 6, 3, 0], [2, 3, 6, 5, 5], [3, 6, 5, 5, 2], [4, 0, 0, 4, 5], [4, 5, 4, 0, 0], [5, 2, 3, 6, 5], [6, 3, 0, 2, 2], [2, 6, 4, 1, 4], [4, 1, 4, 2, 6], [4, 2, 6, 4, 1], [4, 4, 4, 5, 0], [4, 5, 0, 4, 4], [0, 4, 4, 4, 5], [1, 4, 2, 6, 4], [4, 4, 5, 0, 4], [5, 0, 4, 4, 4], [6, 4, 1, 4, 2], [2, 5, 5, 0, 1], [3, 2, 4, 6, 6], [5, 5, 0, 1, 2], [0, 1, 2, 5, 5], [1, 2, 5, 5, 0], [1, 5, 3, 2, 6], [2, 4, 6, 6, 3], [2, 6, 1, 5, 3], [3, 2, 6, 1, 5], [4, 6, 6, 3, 2], [5, 0, 1, 2, 5], [5, 3, 2, 6, 1], [6, 1, 5, 3, 2], [6, 3, 2, 4, 6], [6, 6, 3, 2, 4], [0, 2, 6, 3, 6], [2, 6, 3, 6, 0], [3, 6, 0, 2, 6], [6, 0, 2, 6, 3], [6, 3, 6, 0, 2], [0, 5, 0, 2, 2], [0, 5, 4, 5, 3], [1, 6, 3, 3, 4], [2, 0, 5, 0, 2], [2, 2, 0, 5, 0], [3, 0, 5, 4, 5], [3, 4, 1, 6, 3], [4, 1, 6, 3, 3], [5, 4, 5, 3, 0], [0, 2, 2, 0, 5], [3, 3, 4, 1, 6], [4, 5, 3, 0, 5], [5, 0, 2, 2, 0], [5, 3, 0, 5, 4], [6, 3, 3, 4, 1], [0, 1, 4, 6, 2], [1, 4, 6, 2, 0], [2, 0, 1, 4, 6], [4, 6, 2, 0, 1], [6, 2, 0, 1, 4], [0, 1, 6, 1, 1], [1, 0, 1, 6, 1], [1, 6, 1, 1, 0], [5, 6, 3, 5, 6], [5, 6, 5, 6, 3], [6, 5, 6, 3, 5], [1, 1, 0, 1, 6], [3, 5, 6, 5, 6], [6, 1, 1, 0, 1], [6, 3, 5, 6, 5], [1, 5, 5, 3, 3], [3, 1, 5, 5, 3], [3, 3, 1, 5, 5], [5, 3, 3, 1, 5], [5, 5, 3, 3, 1], [0, 6, 4, 6, 1], [6, 4, 6, 1, 0], [1, 0, 6, 4, 6], [4, 6, 1, 0, 6], [6, 1, 0, 6, 4], [2, 5, 6, 1, 3], [2, 6, 2, 6, 5], [2, 6, 5, 2, 6], [3, 2, 5, 6, 1], [5, 2, 6, 2, 6], [5, 6, 1, 3, 2], [6, 5, 2, 6, 2], [1, 3, 2, 5, 6], [6, 1, 3, 2, 5], [6, 2, 6, 5, 2], [1, 3, 5, 0, 5], [3, 5, 0, 5, 1], [5, 0, 5, 1, 3], [0, 5, 1, 3, 5], [5, 1, 3, 5, 0], [3, 0, 6, 4, 0], [4, 0, 3, 0, 6], [0, 3, 0, 6, 4], [0, 6, 4, 0, 3], [6, 4, 0, 3, 0], [0, 3, 6, 4, 4], [1, 2, 6, 6, 2], [2, 1, 2, 6, 6], [2, 6, 6, 2, 1], [3, 6, 4, 4, 0], [4, 4, 0, 3, 6], [6, 4, 4, 0, 3], [6, 6, 2, 1, 2], [4, 0, 3, 6, 4], [6, 2, 1, 2, 6], [1, 6, 0, 1, 5], [5, 1, 6, 0, 1], [0, 1, 5, 1, 6], [1, 5, 1, 6, 0], [6, 0, 1, 5, 1], [6, 4, 4, 6, 1], [1, 1, 6, 5, 4], [1, 6, 4, 4, 6], [1, 6, 5, 4, 1], [3, 6, 6, 6, 4], [4, 3, 6, 6, 6], [4, 6, 1, 6, 4], [5, 4, 1, 1, 6], [6, 1, 6, 4, 4], [6, 4, 3, 6, 6], [6, 5, 4, 1, 1], [6, 6, 4, 3, 6], [6, 6, 6, 4, 3], [4, 1, 1, 6, 5], [4, 4, 6, 1, 6], [2, 0, 5, 6, 0], [6, 0, 2, 0, 5], [0, 2, 0, 5, 6], [0, 5, 6, 0, 2], [5, 6, 0, 2, 0], [0, 5, 5, 6, 5], [0, 4, 6, 5, 2], [2, 0, 4, 6, 5], [4, 6, 5, 2, 0], [5, 0, 5, 5, 6], [5, 5, 6, 5, 0], [5, 6, 5, 0, 5], [6, 5, 0, 5, 5], [6, 5, 2, 0, 4], [5, 2, 0, 4, 6], [1, 5, 6, 4, 5], [4, 5, 1, 5, 6], [5, 1, 5, 6, 4], [5, 6, 4, 5, 1], [6, 4, 5, 1, 5], [5, 0, 6, 5, 1], [5, 1, 5, 0, 6], [6, 5, 1, 5, 0], [0, 6, 5, 1, 5], [1, 5, 0, 6, 5], [0, 0, 5, 6, 6], [0, 5, 6, 6, 0], [5, 6, 6, 0, 0], [6, 0, 0, 5, 6], [6, 6, 0, 0, 5], [3, 1, 6, 6, 5], [1, 6, 6, 5, 3], [5, 3, 1, 6, 6], [6, 6, 5, 3, 1], [6, 5, 3, 1, 6], [0, 6, 2, 5, 5], [5, 0, 6, 2, 5], [6, 2, 5, 5, 0], [2, 5, 5, 0, 6], [5, 5, 0, 6, 2], [0, 0, 6, 6, 1], [1, 0, 0, 6, 6], [0, 6, 6, 1, 0], [6, 1, 0, 0, 6], [6, 6, 1, 0, 0], [0, 6, 1, 4, 3], [3, 0, 6, 1, 4], [4, 3, 0, 6, 1], [6, 1, 4, 3, 0], [1, 4, 3, 0, 6], [1, 6, 0, 4, 1], [4, 1, 1, 6, 0], [6, 0, 4, 1, 1], [0, 4, 1, 1, 6], [1, 1, 6, 0, 4]]} +RLMATH_EOF diff --git a/tasks/optimize-fs-cycle-indep-c7-n5/task.toml b/tasks/optimize-fs-cycle-indep-c7-n5/task.toml new file mode 100644 index 0000000000000000000000000000000000000000..6764fbd2ee03ea6ab79d0f72899eae7440942bb6 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c7-n5/task.toml @@ -0,0 +1,43 @@ +schema_version = "1.4" +artifacts = [] + +[task] +name = "rlmath/optimize-fs-cycle-indep-c7-n5" +version = "0.2.0" +description = "optimize/fs_cycle_independent_set" +authors = [] +keywords = ["rlmath", "optimize", "fs_cycle_independent_set"] + +[metadata] +subset = "optimize" +family = "fs_cycle_independent_set" +problem_key = "independent_set_strong_power_odd_cycle" +domain = "graph_theory" +tier = "research" +level = "c7_n5" +source = "FunSearch/cyclic_graphs" +source_license = "Apache-2.0" +tags = ["integer_objective"] +direction = "maximize" +baseline = 243 +best_known = 367 + +[verifier] +timeout_sec = 300.0 + +[verifier.env] + +[agent] +timeout_sec = 900.0 + +[environment] +network_mode = "no-network" +build_timeout_sec = 600.0 +os = "linux" +cpus = 2 +memory_mb = 4096 +mcp_servers = [] + +[environment.env] + +[solution.env] diff --git a/tasks/optimize-fs-cycle-indep-c7-n5/tests/check.py b/tasks/optimize-fs-cycle-indep-c7-n5/tests/check.py new file mode 100644 index 0000000000000000000000000000000000000000..18467766f4b39df02d00aad7ae384bd83e857320 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c7-n5/tests/check.py @@ -0,0 +1,38 @@ +"""Independent set in the strong product C_m^{⊠n}. Score = size. + +Two distinct vertices x, y of C_m^{⊠n} (n-tuples over Z_m) are adjacent iff x_i - y_i ∈ {-1, 0, 1} (mod m) +for every i. Check: mark the answer in a boolean table of size m^n and look up all 3^n - 1 neighbours of +every answer vertex (vectorised; 26244 vertices of C_9^7 take ~1 s). +""" +import itertools + +import numpy as np + +from run import Invalid, int_list + + +def check(inst, ans): + m, n = inst["m"], inst["n"] + vecs = ans.get("vertices") + # alpha(C_m^{⊠n}) <= (m/2)^n (fractional independence number is multiplicative under strong products), + # so longer lists are invalid; rejecting them early also bounds grading time + if not isinstance(vecs, list) or not vecs or 2 ** n * len(vecs) > m ** n: + raise Invalid(f"vertices must be a non-empty list of at most ({m}/2)^{n} tuples") + for v in vecs: + int_list(v, n, 0, m - 1, "vertex") + A = np.array(vecs, dtype=np.int64) + pw = m ** np.arange(n - 1, -1, -1, dtype=np.int64) + codes = A @ pw + if len(np.unique(codes)) != len(codes): + raise Invalid("duplicate vertices") + table = np.zeros(m ** n, bool) + table[codes] = True + for off in itertools.product((-1, 0, 1), repeat=n): + if not any(off): + continue + nb = ((A + np.array(off)) % m) @ pw + hit = table[nb] + if hit.any(): + k = int(np.nonzero(hit)[0][0]) + raise Invalid(f"vertices {vecs[k]} and {[(x + o) % m for x, o in zip(vecs[k], off)]} are adjacent") + return float(len(vecs)), {"size": len(vecs)} diff --git a/tasks/optimize-fs-cycle-indep-c7-n5/tests/instance.json b/tasks/optimize-fs-cycle-indep-c7-n5/tests/instance.json new file mode 100644 index 0000000000000000000000000000000000000000..cc75642394f7b33c1176a8027e38a40712ee4d7a --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c7-n5/tests/instance.json @@ -0,0 +1 @@ +{"m": 7, "n": 5, "direction": "maximize", "best_known": 367, "baseline": 243, "family": "fs_cycle_independent_set", "subset": "optimize"} \ No newline at end of file diff --git a/tasks/optimize-fs-cycle-indep-c7-n5/tests/run.py b/tasks/optimize-fs-cycle-indep-c7-n5/tests/run.py new file mode 100644 index 0000000000000000000000000000000000000000..9f6db6107aa1f8132aeb1abdcf9bbf100792e48a --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c7-n5/tests/run.py @@ -0,0 +1,127 @@ +"""rlmath runtime grader. Copied into every task as /tests/run.py next to /tests/check.py. + +Deterministic; no LLM in the reward path. Runs with python3 + numpy/scipy/sympy/networkx only. + + python3 /tests/run.py /tests/instance.json /workdir/answer.json + +Prints the reward in [0, 1] and writes /logs/verifier/details.json when that directory exists. + +check.py must define check(inst, ans) -> (value, extra_dict) and raise Invalid for a bad answer. + construct : value is ignored; a returned check means the witness is valid -> reward 1.0 + optimize : value is the raw objective; reward = 0.1 + 0.9 * progress, where + progress = clip((s - baseline) / (best_known - baseline), 0, 1) (maximize) + clip((baseline - s) / (baseline - best_known), 0, 1) (minimize) + inst must carry "direction", "baseline", "best_known". +""" +import json +import math +import os +import sys + +VALID_FLOOR = 0.1 + + +class Invalid(Exception): + pass + + +# ------------------------------------------------------------ input helpers + +def int_list(v, n=None, lo=None, hi=None, name="list"): + if not isinstance(v, list): + raise Invalid(f"{name} must be a list") + if n is not None and len(v) != n: + raise Invalid(f"{name} must have length {n}, got {len(v)}") + for x in v: + if isinstance(x, bool) or not isinstance(x, int): + raise Invalid(f"{name} must contain integers only") + if (lo is not None and x < lo) or (hi is not None and x > hi): + raise Invalid(f"{name} entry {x} out of range [{lo}, {hi}]") + return v + + +def as_int(x, name="value", lo=None, hi=None): + return int_list([x], 1, lo, hi, name)[0] + + +def num(x, name="value"): + if isinstance(x, bool) or not isinstance(x, (int, float)): + raise Invalid(f"{name} must be a number") + if not math.isfinite(x): + raise Invalid(f"{name} is not finite") + return float(x) + + +def float_matrix(v, rows=None, cols=None, name="matrix"): + if not isinstance(v, list) or (rows is not None and len(v) != rows): + raise Invalid(f"{name} must be a list of {rows} rows") + out = [] + for r in v: + if not isinstance(r, list) or (cols is not None and len(r) != cols): + raise Invalid(f"each row of {name} must have {cols} numbers") + out.append([num(x, name) for x in r]) + return out + + +def float_list(v, n=None, name="list"): + if not isinstance(v, list) or (n is not None and len(v) != n): + raise Invalid(f"{name} must be a list of length {n}") + return [num(x, name) for x in v] + + +# ------------------------------------------------------------------ reward + +def optimize_reward(inst, s): + b, best = inst["baseline"], inst["best_known"] + if inst.get("progress_scale") == "log": + # for non-negative losses spanning orders of magnitude (e.g. overlap loss -> 0); + # progress is measured in log10(value + floor) + f = inst.get("log_floor", 1e-3) + b, best, s = (math.log10(max(x, 0.0) + f) for x in (b, best, s)) + if inst["direction"] == "maximize": + p = (s - b) / (best - b) + else: + p = (b - s) / (b - best) + return VALID_FLOOR + (1 - VALID_FLOOR) * max(0.0, min(1.0, p)) + + +def grade(inst, ans, check): + try: + if not isinstance(ans, dict): + raise Invalid("answer must be a JSON object") + value, extra = check(inst, ans) + if inst.get("subset") == "optimize": + s = float(value) + if not math.isfinite(s): + raise Invalid("non-finite score") + return optimize_reward(inst, s), {"valid": True, "raw_score": s, **(extra or {})} + return 1.0, {"valid": True, **(extra or {})} + except Invalid as e: + return 0.0, {"valid": False, "error": str(e)} + except Exception as e: # any malformed answer + return 0.0, {"valid": False, "error": f"{type(e).__name__}: {e}"} + + +def main(): + here = os.path.dirname(os.path.abspath(__file__)) + sys.path.insert(0, here) + # import ourselves as `run` so check.py's `from run import Invalid` is the same class + import run as R # noqa: E402 + import check as family # noqa: E402 + + inst = json.load(open(sys.argv[1])) + try: + ans = json.load(open(sys.argv[2])) + except Exception as e: + reward, det = 0.0, {"valid": False, "error": f"unreadable answer: {e}"} + else: + reward, det = R.grade(inst, ans, family.check) + det["reward"] = reward + if os.path.isdir("/logs/verifier"): + with open("/logs/verifier/details.json", "w") as f: + json.dump(det, f) + print(reward) + + +if __name__ == "__main__": + main() diff --git a/tasks/optimize-fs-cycle-indep-c7-n5/tests/test.sh b/tasks/optimize-fs-cycle-indep-c7-n5/tests/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..648521fa89684f62943a573f74ce3cb75cd3ae29 --- /dev/null +++ b/tasks/optimize-fs-cycle-indep-c7-n5/tests/test.sh @@ -0,0 +1,9 @@ +#!/bin/bash +mkdir -p /logs/verifier +if [ ! -s /workdir/answer.json ]; then + echo '{"valid": false, "error": "no /workdir/answer.json"}' > /logs/verifier/details.json + echo 0 > /logs/verifier/reward.txt + exit 0 +fi +timeout 290 python3 /tests/run.py /tests/instance.json /workdir/answer.json \ + > /logs/verifier/reward.txt 2> /logs/verifier/grader.log || echo 0 > /logs/verifier/reward.txt