Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Provenance Guard

👋 Start here

New to this repo? Read RUNNING.md first.

Once python test.py passes, in one terminal:

python app.py

and in another:

curl -X POST http://127.0.0.1:5000/ping \
  -H "Content-Type: application/json" \
  -d '{"message": "hello"}'

That's a web service. Something sent it text and it sent something back. Everything this unit is filling in the middle.

The rest of this file is your submission. Fill it in as you go.


What This Does


Signals and Scoring

Signal one — the model signal

What it measures:

Why that might differ between human and AI writing:

What it can't see:

Signal two — the style signal

What it measures:

Why that might differ between human and AI writing:

What it can't see:

The combining rule

The rule:

The numbers:

Where it lives: scoring.py::combine_signals

A case where my two signals split, and what my rule does with it:


Label Variants

Label Score range The exact text a reader sees
high-confidence human
unsure
high-confidence AI

Why I worded the "unsure" one this way:


Sample Run

A submission

$ curl -X POST http://127.0.0.1:5000/submit \
  -H "Content-Type: application/json" \
  -d '{"text": "...", "creator_id": "..."}'

An appeal

$ curl -X POST http://127.0.0.1:5000/appeal \
  -H "Content-Type: application/json" \
  -d '{"content_id": "...", "reasoning": "..."}'

What the log shows afterwards

$ curl "http://127.0.0.1:5000/log?limit=3"

How I Used AI

Moment 1

  • What I asked for:
  • What came back:
  • What I changed:

Moment 2

  • What I asked for:
  • What came back:
  • What I changed:

Rate Limiting

My limits: ___ per minute, ___ per day

Why those numbers and not others:

What a caller counts as:

The run of status codes when I pushed past it:



Attack Run — Before

Ten audit log entries from the run

The single worst outcome — the one I'd least want to explain to a writer whose work got caught by it:


Run Log and Verdicts

Criterion Target Run 1 Run 2 Run 3 Verdict
1.
2.
3.
4.
5.

Real output from one trial, pasted as text, naming the file and function that produced it:

Diagnoses


The Improvement

What I changed:

Which diagnosis pointed at it:

Attack Run — After

Did it help, and how do I know:


What's Still Broken

The trade I'd make if this ran for real:


📖 How to run this project: RUNNING.md

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages