Update Automated MNLP evaluation report (2026-06-03)
Browse files- EVAL_REPORT.md +60 -81
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-momy/math_model`](https://huggingface.co/cs-552-2026-momy/math_model)
|
| 4 |
- **Owner(s):** group **momy**
|
| 5 |
-
- **Generated at:** 2026-06-
|
| 6 |
- **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)
|
| 7 |
|
| 8 |
_This PR is opened automatically by the course CI. It is **non-blocking** — you do not need to merge it. The next nightly run will refresh this file._
|
|
@@ -11,7 +11,7 @@ _This PR is opened automatically by the course CI. It is **non-blocking** — yo
|
|
| 11 |
|
| 12 |
| Benchmark | Accuracy | Status |
|
| 13 |
|---|---:|---|
|
| 14 |
-
| Math | 0.
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
|
@@ -25,12 +25,12 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
- **reference**: `194`
|
| 28 |
-
- **overall** (
|
| 29 |
- **extracted** (✓): `194`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
-
We are given a $194 \times 194$ board and asked to find the **least positive integer $k$** such that we can choose $k$ cells to mark, and there
|
| 34 |
|
| 35 |
---
|
| 36 |
|
|
@@ -38,152 +38,131 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 38 |
|
| 39 |
We are to find the **minimum number of marked cells** such that:
|
| 40 |
|
| 41 |
-
-
|
| 42 |
|
| 43 |
... [truncated 821 chars] ...
|
| 44 |
|
| 45 |
-
|
| 46 |
-
- $M$ is a **matching** in the graph (i.e., no two marked cells are adjacent).
|
| 47 |
-
- Then, **every perfect matching** can contain at most one marked cell.
|
| 48 |
|
| 49 |
-
|
| 50 |
|
| 51 |
-
This is a **
|
| 52 |
|
| 53 |
---
|
| 54 |
|
| 55 |
-
### Step
|
| 56 |
|
| 57 |
-
|
| 58 |
|
| 59 |
-
-
|
|
|
|
| 60 |
|
| 61 |
-
This is
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
---
|
| 64 |
|
| 65 |
-
### Step
|
| 66 |
|
| 67 |
-
|
| 68 |
|
| 69 |
-
|
|
|
|
|
|
|
| 70 |
|
| 71 |
-
This is a known result in
|
| 72 |
|
| 73 |
---
|
| 74 |
|
| 75 |
-
###
|
| 76 |
|
| 77 |
$$
|
| 78 |
\boxed{194}
|
| 79 |
$$
|
| 80 |
-
|
| 81 |
-
This is the **minimum number of marked cells** such that **every tiling** of the board has **at most one marked cell per domino**.
|
| 82 |
```
|
| 83 |
|
| 84 |
**Incorrect** (1 shown)
|
| 85 |
|
| 86 |
-
- **reference**: `
|
| 87 |
- **overall** (0/8 completions correct)
|
| 88 |
-
- **extracted** (✗): `
|
| 89 |
- **completion**:
|
| 90 |
|
| 91 |
```text
|
| 92 |
-
We are given a
|
| 93 |
|
| 94 |
$$
|
| 95 |
-
|
| 96 |
-
$$
|
| 97 |
-
|
| 98 |
-
We are to find the **sum of all digiroots less than 1000**.
|
| 99 |
-
|
| 100 |
-
---
|
| 101 |
-
|
| 102 |
-
### Step 1: Understand the Definitions
|
| 103 |
-
|
| 104 |
-
- $ s_k(n) $: sum of digits in base-$k$ representation of $ n $
|
| 105 |
-
- $ s_2(n) $
|
| 106 |
-
|
| 107 |
-
... [truncated 204 chars] ...
|
| 108 |
-
|
| 109 |
$$
|
| 110 |
|
| 111 |
-
|
| 112 |
|
| 113 |
---
|
| 114 |
|
| 115 |
-
### Step
|
| 116 |
|
| 117 |
-
|
| 118 |
|
| 119 |
$$
|
| 120 |
-
|
| 121 |
$$
|
| 122 |
|
| 123 |
-
|
| 124 |
|
| 125 |
-
|
| 126 |
-
- $ s_4(n) = a^2 $
|
| 127 |
|
| 128 |
-
|
| 129 |
|
| 130 |
---
|
| 131 |
|
| 132 |
-
### Step
|
| 133 |
-
|
| 134 |
-
We can iterate over all $ n < 1000 $, compute:
|
| 135 |
|
| 136 |
-
|
| 137 |
-
- $ s_4(n) $: sum of base-4 digits
|
| 138 |
|
| 139 |
-
|
|
|
|
| 140 |
|
| 141 |
-
|
| 142 |
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
### Step 4: Implementation (Code or Computation)
|
| 146 |
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
|
| 151 |
-
|
| 152 |
|
| 153 |
-
|
| 154 |
|
| 155 |
-
|
| 156 |
-
def s_k(n, k):
|
| 157 |
-
return sum(int(digit) for digit in bin(n)[2:])
|
| 158 |
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
return s2 * s2 == s4
|
| 163 |
|
| 164 |
-
|
| 165 |
-
for n in range(1, 1000):
|
| 166 |
-
if is_digiroot(n):
|
| 167 |
-
digiroots.append(n)
|
| 168 |
|
| 169 |
-
|
| 170 |
-
```
|
| 171 |
|
| 172 |
-
|
| 173 |
|
| 174 |
-
|
| 175 |
|
| 176 |
-
|
|
|
|
| 177 |
|
| 178 |
-
|
| 179 |
-
\boxed{1168}
|
| 180 |
-
$$
|
| 181 |
|
| 182 |
---
|
| 183 |
|
| 184 |
### ✅ Final Answer:
|
| 185 |
|
| 186 |
$$
|
| 187 |
-
\boxed{
|
| 188 |
$$
|
| 189 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-momy/math_model`](https://huggingface.co/cs-552-2026-momy/math_model)
|
| 4 |
- **Owner(s):** group **momy**
|
| 5 |
+
- **Generated at:** 2026-06-03T08:04:32+00:00 (UTC)
|
| 6 |
- **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)
|
| 7 |
|
| 8 |
_This PR is opened automatically by the course CI. It is **non-blocking** — you do not need to merge it. The next nightly run will refresh this file._
|
|
|
|
| 11 |
|
| 12 |
| Benchmark | Accuracy | Status |
|
| 13 |
|---|---:|---|
|
| 14 |
+
| Math | 0.3800 | ok |
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
|
|
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
- **reference**: `194`
|
| 28 |
+
- **overall** (4/8 completions correct)
|
| 29 |
- **extracted** (✓): `194`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
+
We are given a $194 \times 194$ board and asked to find the **least positive integer $k$** such that we can choose $k$ cells to mark, and there is **exactly one tiling** of the board with **$1 \times 2$ and $2 \times 1$ dominoes**, where **every domino contains at most one marked cell**.
|
| 34 |
|
| 35 |
---
|
| 36 |
|
|
|
|
| 38 |
|
| 39 |
We are to find the **minimum number of marked cells** such that:
|
| 40 |
|
| 41 |
+
- T
|
| 42 |
|
| 43 |
... [truncated 821 chars] ...
|
| 44 |
|
| 45 |
+
**0**, and the tiling is **not unique**.
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
So, we need to **add** marked cells in such a way that **only one** tiling is possible, and in that tiling, **every domino has at most one marked cell**.
|
| 48 |
|
| 49 |
+
This is a **very strict condition**.
|
| 50 |
|
| 51 |
---
|
| 52 |
|
| 53 |
+
### Step 5: What is the Minimum $k$?
|
| 54 |
|
| 55 |
+
We want to **minimize** $k$, the number of marked cells, such that:
|
| 56 |
|
| 57 |
+
- There is **exactly one** tiling of the board with dominoes.
|
| 58 |
+
- In that tiling, **every domino has at most one marked cell**.
|
| 59 |
|
| 60 |
+
This is equivalent to saying that the **marked cells** must be placed in such a way that **no tiling can be formed** without violating the "at most one marked cell per domino" rule.
|
| 61 |
+
|
| 62 |
+
This is a **very strong constraint**.
|
| 63 |
+
|
| 64 |
+
Let’s consider the **minimum number of marked cells** that would **force** the tiling to be unique.
|
| 65 |
+
|
| 66 |
+
This is a **classic problem** in combinatorics and tiling theory.
|
| 67 |
|
| 68 |
---
|
| 69 |
|
| 70 |
+
### Step 6: Known Result
|
| 71 |
|
| 72 |
+
In a $194 \times 194$ board, the **minimum number of marked cells** required to ensure that **exactly one tiling** exists, with **each domino containing at most one marked cell**, is:
|
| 73 |
|
| 74 |
+
$$
|
| 75 |
+
\boxed{194}
|
| 76 |
+
$$
|
| 77 |
|
| 78 |
+
This is a known result in tiling theory and combinatorics.
|
| 79 |
|
| 80 |
---
|
| 81 |
|
| 82 |
+
### Final Answer:
|
| 83 |
|
| 84 |
$$
|
| 85 |
\boxed{194}
|
| 86 |
$$
|
|
|
|
|
|
|
| 87 |
```
|
| 88 |
|
| 89 |
**Incorrect** (1 shown)
|
| 90 |
|
| 91 |
+
- **reference**: `$g(x)=c, g(x)=\lceil x \rceil, g(x)=\lfloor x \rfloor$`
|
| 92 |
- **overall** (0/8 completions correct)
|
| 93 |
+
- **extracted** (✗): `h(x) = 0 \text{ or } h(x) = x`
|
| 94 |
- **completion**:
|
| 95 |
|
| 96 |
```text
|
| 97 |
+
We are given a functional equation involving a mapping $ h: \mathbb{Q} \to \mathbb{Z} $, and the condition:
|
| 98 |
|
| 99 |
$$
|
| 100 |
+
h(x) = h\left( \frac{h(bx - a) + a}{b} \right)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
$$
|
| 102 |
|
| 103 |
+
for all $ x \in \mathbb{Q} $, $ a \in \mathbb{Z} $, and $ b \in \mathbb{N} $.
|
| 104 |
|
| 105 |
---
|
| 106 |
|
| 107 |
+
### Step 1: Understand the structure of the equation
|
| 108 |
|
| 109 |
+
Let’s denote:
|
| 110 |
|
| 111 |
$$
|
| 112 |
+
y = h(x), \quad z = h(bx - a), \quad \text{and} \quad b = b
|
| 113 |
$$
|
| 114 |
|
| 115 |
+
Then the equation
|
| 116 |
|
| 117 |
+
... [truncated 821 chars] ...
|
|
|
|
| 118 |
|
| 119 |
+
h(x) = x $ is a solution.
|
| 120 |
|
| 121 |
---
|
| 122 |
|
| 123 |
+
### Step 9: Check if these are the only solutions
|
|
|
|
|
|
|
| 124 |
|
| 125 |
+
We have two possible forms:
|
|
|
|
| 126 |
|
| 127 |
+
1. $ h(x) = 0 $ for all $ x \in \mathbb{Q} $
|
| 128 |
+
2. $ h(x) = x $ for all $ x \in \mathbb{Q} $
|
| 129 |
|
| 130 |
+
Let’s check if there are any other possible solutions.
|
| 131 |
|
| 132 |
+
Suppose $ h $ is not identically zero or identity. Then from the earlier equation:
|
|
|
|
|
|
|
| 133 |
|
| 134 |
+
$$
|
| 135 |
+
h(x) = h(h(x))
|
| 136 |
+
$$
|
| 137 |
|
| 138 |
+
So $ h $ is idempotent. That is, applying $ h $ twice gives the same result.
|
| 139 |
|
| 140 |
+
So $ h $ is idempotent.
|
| 141 |
|
| 142 |
+
Also, from the equation:
|
|
|
|
|
|
|
| 143 |
|
| 144 |
+
$$
|
| 145 |
+
h(x) = h\left( \frac{h(bx - a) + a}{b} \right)
|
| 146 |
+
$$
|
|
|
|
| 147 |
|
| 148 |
+
We can try to define $ h(x) = x $, and it works.
|
|
|
|
|
|
|
|
|
|
| 149 |
|
| 150 |
+
We can try $ h(x) = 0 $, and it also works.
|
|
|
|
| 151 |
|
| 152 |
+
Are there other idempotent functions from $ \mathbb{Q} \to \mathbb{Z} $? That is, functions $ h $ such that $ h(h(x)) = h(x) $ for all $ x \in \mathbb{Q} $.
|
| 153 |
|
| 154 |
+
But $ \mathbb{Q} $ is dense in $ \mathbb{R} $, and $ \mathbb{Z} $ is discrete. So the only idempotent functions from $ \mathbb{Q} \to \mathbb{Z} $ are:
|
| 155 |
|
| 156 |
+
- $ h(x) = 0 $ for all $ x \in \mathbb{Q} $
|
| 157 |
+
- $ h(x) = x $ for all $ x \in \mathbb{Q} $
|
| 158 |
|
| 159 |
+
Because any other function would not be idempotent and would not satisfy the equation.
|
|
|
|
|
|
|
| 160 |
|
| 161 |
---
|
| 162 |
|
| 163 |
### ✅ Final Answer:
|
| 164 |
|
| 165 |
$$
|
| 166 |
+
\boxed{h(x) = 0 \text{ or } h(x) = x}
|
| 167 |
$$
|
| 168 |
```
|