g | x | w | all
Bytes Lang Time Link
018Haskell250606T191910ZIbozz91
006APL+WIN250606T085956ZGraham
006Charcoal250606T070831ZNeil
026Desmos250606T000636ZLucenapo
017Google Sheets / Excel250605T144226Zz..
025PowerShell250605T142415Zuser3141
019Ruby250605T141548ZJordan
00305AB1E250605T135419ZKevin Cr
003Vyxal 3250605T121448ZThemooni
026Python 2250605T111525Zsquarero
027JavaScript Node.js250605T112818Zl4m2
063Python 3250605T093241ZNatelolz

Haskell, 18 bytes

f a=max(sum a)(-1)

Try it online!

APL+WIN, 6 bytes

Prompts for a vector of measurements and uses ¯1 to indicate tamper.

¯1⌈+/⎕

Try it online! Thanks to Dyalog Classic

Charcoal, 6 bytes

I⌈⟦±¹Σ

Try it online! No verbose version because it can't do implicit input. Uses -1 as the tamper value. Explanation: Same as everyone else.

        Implicit input
     Σ  Take the sum
    ¹   Literal integer `1`
   ±    Negated
 ⌈⟦     Take the maximum
I       Cast to string
        Implicitly print

Desmos, 26 bytes

f(a,b,c,d)=max(a+b+c+d,-1)

Try it online

Google Sheets / Excel, 17 bytes

Expects input in A:A

=MAX(SUM(A:A),-1)

PowerShell, 25 bytes

%{$s+=$_};($s,-1)[$s-lt0]

Try it online!

Sums the values in ForEach-Object (%) loop, then uses an array indexed with a truthy/falsy value to avoid if/else.
Input comes from the pipeline.

Ruby, 19 bytes

->a{[a.sum,-1].max}

Attempt This Online!

05AB1E, 3 bytes

O®M

Uses -1 as tamper value.

Try it online or verify all test cases.

Explanation:

O    # Take the sum of the (implicit) input-list
 ®   # Push -1
  M  # Push a copy of the maximum value on the stack
     # (after which the top value is output implicitly as result)

Vyxal 3, 3 bytes

∑⑧Ġ

Vyxal It Online!

∑⑧Ġ­⁡​‎⁠‎⁡⁠⁣‏‏​⁡⁠⁡‌⁢​‎‎⁡⁠⁢‏‏​⁡⁠⁡‌⁣​‎‎⁡⁠⁡‏‏​⁡⁠⁡‌­
  Ġ  # ‎⁡max(                      )
 ⑧   # ‎⁢    -1,
∑    # ‎⁣       sum(implicit input)
💎

Created with the help of Luminespire.

<script type="vyxal3">
∑⑧Ġ
</script>
<script>
    args=[["[10,10,10,-10]"],["[-5,-7,24,0]"],["[-10,100,-10,-10]"],["[10, -1, -5, -4]"],["[6, -7, 8, -8]"],["[6, -9, 8, -8]"]]
</script>
<script src="https://themoonisacheese.github.io/snippeterpreter/snippet.js" type="module"/>

Python 2,  29  26 bytes

-3 bytes by l4m2.

Uses -1 as the tamper value.

print max(sum(input()),-1)

You can do  27  23 bytes if functions are allowed.

Try it online!

JavaScript (Node.js), 27 bytes

x=>(e=eval(x.join`+`))<0||e

Try it online!

e

Python 3, 63 Bytes

a=sum(map(int,input().split()));print("T")if a<0 else print(a)

Breakdown:

a=sum(map(int,input().split())) - Get input, convert to integer, sum

print("T")if a<0 else print(a) - Check for tamper, otherwise print

Can definitely shorten, but a decent solution nonetheless