Datasets:
Tasks:
Text Classification
Formats:
parquet
Sub-tasks:
semantic-similarity-classification
Languages:
code
Size:
1M - 10M
License:
sync EmbedEd artifacts (phase01-v6)
Browse files- artifacts/audit/audit_labels.csv +100 -100
- artifacts/audit/audit_result.json +50 -0
- report/measurements.md +9 -0
- sync_manifest.json +4 -2
artifacts/audit/audit_labels.csv
CHANGED
|
@@ -1,101 +1,101 @@
|
|
| 1 |
id,label,note
|
| 2 |
-
P001,,
|
| 3 |
-
P002,,
|
| 4 |
-
P003,,
|
| 5 |
-
P004,,
|
| 6 |
-
P005,,
|
| 7 |
-
P006,,
|
| 8 |
-
P007,,
|
| 9 |
-
P008,,
|
| 10 |
-
P009,,
|
| 11 |
-
P010,,
|
| 12 |
-
P011,,
|
| 13 |
-
P012,,
|
| 14 |
-
P013,,
|
| 15 |
-
P014,,
|
| 16 |
-
P015,,
|
| 17 |
-
P016,,
|
| 18 |
-
P017,,
|
| 19 |
-
P018,,
|
| 20 |
-
P019,,
|
| 21 |
-
P020,,
|
| 22 |
-
P021,,
|
| 23 |
-
P022,,
|
| 24 |
-
P023,,
|
| 25 |
-
P024,,
|
| 26 |
-
P025,,
|
| 27 |
-
P026,,
|
| 28 |
-
P027,,
|
| 29 |
-
P028,,
|
| 30 |
-
P029,,
|
| 31 |
-
P030,,
|
| 32 |
-
P031,,
|
| 33 |
-
P032,,
|
| 34 |
-
P033,,
|
| 35 |
-
P034,,
|
| 36 |
-
P035,,
|
| 37 |
-
P036,,
|
| 38 |
-
P037,,
|
| 39 |
-
P038,,
|
| 40 |
-
P039,,
|
| 41 |
-
P040,,
|
| 42 |
-
P041,,
|
| 43 |
-
P042,,
|
| 44 |
-
P043,,
|
| 45 |
-
P044,,
|
| 46 |
-
P045,,
|
| 47 |
-
P046,,
|
| 48 |
-
P047,,
|
| 49 |
-
P048,,
|
| 50 |
-
P049,,
|
| 51 |
-
P050,,
|
| 52 |
-
P051,,
|
| 53 |
-
P052,,
|
| 54 |
-
P053,,
|
| 55 |
-
P054,,
|
| 56 |
-
P055,,
|
| 57 |
-
P056,,
|
| 58 |
-
P057,,
|
| 59 |
-
P058,,
|
| 60 |
-
P059,,
|
| 61 |
-
P060,,
|
| 62 |
-
P061,,
|
| 63 |
-
P062,,
|
| 64 |
-
P063,,
|
| 65 |
-
P064,,
|
| 66 |
-
P065,,
|
| 67 |
-
P066,,
|
| 68 |
-
P067,,
|
| 69 |
-
P068,,
|
| 70 |
-
P069,,
|
| 71 |
-
P070,,
|
| 72 |
-
P071,,
|
| 73 |
-
P072,,
|
| 74 |
-
P073,,
|
| 75 |
-
P074,,
|
| 76 |
-
P075,,
|
| 77 |
-
P076,,
|
| 78 |
-
P077,,
|
| 79 |
-
P078,,
|
| 80 |
-
P079,,
|
| 81 |
-
P080,,
|
| 82 |
-
P081,,
|
| 83 |
-
P082,,
|
| 84 |
-
P083,,
|
| 85 |
-
P084,,
|
| 86 |
-
P085,,
|
| 87 |
-
P086,,
|
| 88 |
-
P087,,
|
| 89 |
-
P088,,
|
| 90 |
-
P089,,
|
| 91 |
-
P090,,
|
| 92 |
-
P091,,
|
| 93 |
-
P092,,
|
| 94 |
-
P093,,
|
| 95 |
-
P094,,
|
| 96 |
-
P095,,
|
| 97 |
-
P096,,
|
| 98 |
-
P097,,
|
| 99 |
-
P098,,
|
| 100 |
-
P099,,
|
| 101 |
-
P100,,
|
|
|
|
| 1 |
id,label,note
|
| 2 |
+
P001,clone,"both copy one file's bytes to another (temp+rename vs direct, force flag) - same functionality"
|
| 3 |
+
P002,not_clone,A copies file to file; B downloads a URL to a file - different source functionality
|
| 4 |
+
P003,not_clone,both JUnit tests but of unrelated subjects (StorageString vs image URL handler)
|
| 5 |
+
P004,not_clone,A is graph node weighting/layout; B extracts <body> from an html file
|
| 6 |
+
P005,clone,both copy file contents to a derived destination (project files vs .bak backup)
|
| 7 |
+
P006,not_clone,"B embeds A's handler body verbatim plus SSL/security/server setup - containment, not same functionality"
|
| 8 |
+
P007,not_clone,A converts an ascii map to binary; B extracts WordNet index tokens to gzip
|
| 9 |
+
P008,not_clone,"A derives a key and builds a BlowfishCBC cipher, B returns an MD5 digest string - different functionality for the caller"
|
| 10 |
+
P009,not_clone,A bzip2-compresses a file; B copies a file via FileChannel - shared API only
|
| 11 |
+
P010,clone,both copy a file's bytes to a destination (OutputStream vs file channel)
|
| 12 |
+
P011,not_clone,"A verifies a password (boolean, MD5 double-digest compare), B produces a digest string for storage"
|
| 13 |
+
P012,not_clone,A reads an HDFS file to stdout; B compresses stdin through a codec
|
| 14 |
+
P013,clone,both fetch a URL's text content into a string buffer
|
| 15 |
+
P014,not_clone,A reads a URL and discards the bytes; B downloads a URL to a local file
|
| 16 |
+
P015,not_clone,A pipes a stream through the tidy executable; B is a threaded log-writer integration test
|
| 17 |
+
P016,not_clone,A processes server-side includes/CGI; B performs an HTTP request and reads the response
|
| 18 |
+
P017,clone,both are GET handlers that proxy a remote URL's stream into the HTTP response
|
| 19 |
+
P018,clone,both copy a file and preserve the source lastModified
|
| 20 |
+
P019,not_clone,A launches a grid job (DRMAA/Globus/DB status); B pulls a file over FTP
|
| 21 |
+
P020,not_clone,A extracts WordNet compound words to gzip; B fetches a word list from a URL
|
| 22 |
+
P021,not_clone,"A inserts a user/agenda permission row, B updates a program path and re-reads it - shared JDBC boilerplate only"
|
| 23 |
+
P022,not_clone,"A copies a driver jar to the WebLogic lib dir, B reads a template resource to create a wiki page"
|
| 24 |
+
P023,not_clone,"A GETs and parses URL params for a session key, B POSTs a multipart image upload"
|
| 25 |
+
P024,not_clone,"A normalises line endings into a temp file then renames, B copies a file verbatim"
|
| 26 |
+
P025,not_clone,"A copies a weaving jar out of the bundle, B scans a package/jar for example classes"
|
| 27 |
+
P026,not_clone,"A adds a record + SMS + stores an attachment, B parses an uploaded XLS and re-imports a shipment"
|
| 28 |
+
P027,clone,both extract every entry of a zip archive into a directory
|
| 29 |
+
P028,not_clone,"A indexes a chosen document and copies it into the collection, B is a servlet search handler writing HTML"
|
| 30 |
+
P029,not_clone,"A asserts IOUtils.copy NPEs on a null stream, B prints an HDFS file"
|
| 31 |
+
P030,not_clone,"A builds a sparse matrix from a CSV stream, B posts and parses a JSON question payload"
|
| 32 |
+
P031,not_clone,"A is a multithreaded JDBC auto-increment stress test, B is an app self-updater that downloads and unzips"
|
| 33 |
+
P032,clone,both copy a file and preserve the source lastModified (IOUtils vs FileChannel)
|
| 34 |
+
P033,clone,both copy a file's bytes to a target path (temp+rename vs direct buffered)
|
| 35 |
+
P034,not_clone,"A copies dependent files/dirs, B reads META-INF manifests from the classpath"
|
| 36 |
+
P035,not_clone,"A checksums a whole file, B parses FASTA and hashes each contig into a map"
|
| 37 |
+
P036,unsure,"A registers a temp copy of a file (rename, copy fallback), B extracts an APK asset to disk - shared IOUtils.copy only"
|
| 38 |
+
P037,not_clone,"A inserts/updates an applicant row via SQLRenderer, B posts an OAuth-signed QZone share"
|
| 39 |
+
P038,clone,both are LengthDelimitedEncoder file-channel transfer tests with identical scaffolding
|
| 40 |
+
P039,clone,both one-way hash a string and return an encoded digest (SHA-1 hex vs MD5 base64)
|
| 41 |
+
P040,clone,"both return an MD5 digest of a string, differing only in encoding"
|
| 42 |
+
P041,not_clone,"A parses a host list from a URL into a combo box, B issues a raw HTTP GET/POST and returns the response"
|
| 43 |
+
P042,not_clone,"A copies an image into a collection and records it in the DB, B resizes/re-encodes an image"
|
| 44 |
+
P043,not_clone,"A updates a mote config row and re-reads it, B deletes a record and unindexes it"
|
| 45 |
+
P044,clone,"identical FileChannel transferFrom copy, differing only in try/finally placement"
|
| 46 |
+
P045,not_clone,"A copies a file verbatim, B instantiates a bundle resource into a workspace file with replacements"
|
| 47 |
+
P046,clone,both copy every file of a source directory into another directory
|
| 48 |
+
P047,not_clone,"A extracts an entry from an MSPack archive, B gzip-compresses then reads back a file"
|
| 49 |
+
P048,not_clone,"A writes generated Groovy source to a file, B exchanges a SOAP message over HttpURLConnection"
|
| 50 |
+
P049,clone,"same FileChannel copyFile, differing only in exception handling"
|
| 51 |
+
P050,not_clone,"A fetches and parses a session key over HTTP, B evaluates a SASL DIGEST-MD5 response"
|
| 52 |
+
P051,not_clone,"A hashes a login into an account token and registers a chat client, B obtains a Google auth cookie on Android"
|
| 53 |
+
P052,clone,both return a zero-padded 32-char MD5 hex of a string
|
| 54 |
+
P053,not_clone,"A writes an incoming stream under a computed nested path, B initialises torrent temp/state files"
|
| 55 |
+
P054,not_clone,"A copies a deduplicated file list to an output dir, B bubble-sorts an episode list in place"
|
| 56 |
+
P055,clone,both copy a file between channels (memory-mapped buffer vs transferFrom loop)
|
| 57 |
+
P056,clone,"same getRandomGUID MD5-of-seed construction, differing only in formatting and throws"
|
| 58 |
+
P057,clone,both return an MD5 hex string of the input
|
| 59 |
+
P058,clone,both derive an identifier string by hashing a seed (FNV-1a base64 vs MD5 hex)
|
| 60 |
+
P059,not_clone,"A downloads an image to a local file, B fetches an authenticated response body as text"
|
| 61 |
+
P060,clone,"both copy file bytes into a target directory, creating the destination file if absent"
|
| 62 |
+
P061,not_clone,"A templates and applies an XSL file, B downloads a URL to a local file"
|
| 63 |
+
P062,clone,both hash a string to a hex digest (SHA-1 vs salted MD5+SHA-512)
|
| 64 |
+
P063,clone,"both copy a source path to a destination path, creating parent directories"
|
| 65 |
+
P064,not_clone,"A converts html to xhtml between files, B converts an RSS feed to html on stdout"
|
| 66 |
+
P065,not_clone,"A rebuilds financial balance rows, B saves a shopping cart - shared JDBC transaction boilerplate only"
|
| 67 |
+
P066,not_clone,"A serves a local file to the response, B is a filter returning a loader SWF as a delay hack"
|
| 68 |
+
P067,clone,both copy a file's contents to a resolved destination path via file channels
|
| 69 |
+
P068,clone,both copy an input stream into a file with IOUtils.copy
|
| 70 |
+
P069,not_clone,"A loads a deduplicated keyword list from a classpath resource, B parses a remote concept file with local fallback"
|
| 71 |
+
P070,not_clone,"A builds a synth JAR with zip entries, B encodes a PNG to a temp file and uploads it to S3"
|
| 72 |
+
P071,not_clone,"A serialises a typed DB value to a binary stream, B loads a URL page into a string"
|
| 73 |
+
P072,not_clone,"A deletes a pedido row, B inserts a divisionxTorneo row - shared JDBC transaction boilerplate only"
|
| 74 |
+
P073,not_clone,"A tests PDF page cutting, B tests a T4C client reader/writer round trip"
|
| 75 |
+
P074,clone,both hash a string with SHA-1 and return an encoded digest (hex vs base64)
|
| 76 |
+
P075,clone,both return an MD5 hex digest of the input string
|
| 77 |
+
P076,not_clone,"A exports information-unit binaries to a chosen directory, B creates an Eclipse Java project"
|
| 78 |
+
P077,not_clone,"A GETs and returns the body text, B POSTs an XML message and reads the reply"
|
| 79 |
+
P078,not_clone,"A hashes a fixed password for display, B derives a random GUID from entropy"
|
| 80 |
+
P079,not_clone,"A round-trips bytes through StraightStreamReader on a temp file, B POSTs to a service URL"
|
| 81 |
+
P080,clone,both generate a GUID by MD5-hashing id+time+random entropy into hex
|
| 82 |
+
P081,not_clone,"A round-trips an MRSTK XML spectrum, B is a multi-action NMRShiftDB servlet"
|
| 83 |
+
P082,not_clone,"A archives a directory tree to tar/zip, B copies two known xml files into a report dir"
|
| 84 |
+
P083,not_clone,"A appends one file as a tar archive entry, B copies a file with an append option"
|
| 85 |
+
P084,clone,both build an identifier by hashing input plus random entropy (FNV-1a base64 vs MD5 hex)
|
| 86 |
+
P085,clone,"both copy a file between file channels, differing in loop and parent-dir handling"
|
| 87 |
+
P086,clone,both return an MD5 hex digest of a string (A truncates to 16 chars)
|
| 88 |
+
P087,clone,both fetch a URL's text content into a string (B adds a cookie header)
|
| 89 |
+
P088,not_clone,"A streams a BLOB out of the DB to a response, B serialises and stores an object into a blob column"
|
| 90 |
+
P089,not_clone,"A encodes a RenderedOp to PNG and uploads it to S3, B stores an uploaded image plus a thumbnail and records it"
|
| 91 |
+
P090,clone,both execute an arbitrary SQL update inside a transaction and report rows/rollback
|
| 92 |
+
P091,not_clone,"A hashes and stores a new password on a client bean, B parses a raw HTTP request off a socket"
|
| 93 |
+
P092,not_clone,"A tests quoted-printable binary round trip, B tests TeeOutputStream"
|
| 94 |
+
P093,not_clone,"A is a MySQL rollback/commit demo in a constructor, B inserts a sequencer row via a JNDI datasource"
|
| 95 |
+
P094,clone,"identical doCopyFile, differing only in close vs closeQuietly"
|
| 96 |
+
P095,not_clone,"A is the PSCafePOS startup routine, B is a multithreaded JDBC auto-increment stress test"
|
| 97 |
+
P096,not_clone,"A snapshots an incoming stream into the update set, B rewrites a file in place with token substitutions"
|
| 98 |
+
P097,not_clone,"A writes a file list into a jar, B scans a package for concrete subclasses"
|
| 99 |
+
P098,clone,"both copy a file with FileChannel.transferFrom, differing in destination naming and closer"
|
| 100 |
+
P099,not_clone,"A concatenates multi-part archive files with a progress UI, B materialises a word list then loads it into a map"
|
| 101 |
+
P100,clone,both hash a string and return a zero-padded hex digest (MD5 store name vs SHA-1 helper)
|
artifacts/audit/audit_result.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"C2": {
|
| 3 |
+
"n": 50,
|
| 4 |
+
"clone": 21,
|
| 5 |
+
"not_clone": 29,
|
| 6 |
+
"unsure": 0,
|
| 7 |
+
"fn_rate": 0.42,
|
| 8 |
+
"fn_rate_ci95": [
|
| 9 |
+
0.294,
|
| 10 |
+
0.558
|
| 11 |
+
],
|
| 12 |
+
"fn_rate_upper_incl_unsure": 0.42,
|
| 13 |
+
"fn_rate_upper_ci95": [
|
| 14 |
+
0.294,
|
| 15 |
+
0.558
|
| 16 |
+
]
|
| 17 |
+
},
|
| 18 |
+
"C3": {
|
| 19 |
+
"n": 50,
|
| 20 |
+
"clone": 15,
|
| 21 |
+
"not_clone": 34,
|
| 22 |
+
"unsure": 1,
|
| 23 |
+
"fn_rate": 0.3,
|
| 24 |
+
"fn_rate_ci95": [
|
| 25 |
+
0.191,
|
| 26 |
+
0.438
|
| 27 |
+
],
|
| 28 |
+
"fn_rate_upper_incl_unsure": 0.32,
|
| 29 |
+
"fn_rate_upper_ci95": [
|
| 30 |
+
0.208,
|
| 31 |
+
0.458
|
| 32 |
+
]
|
| 33 |
+
},
|
| 34 |
+
"_provenance": {
|
| 35 |
+
"key_matches_triples": {
|
| 36 |
+
"C2": {
|
| 37 |
+
"n": 50,
|
| 38 |
+
"not_in_current_triples": 0,
|
| 39 |
+
"examples": []
|
| 40 |
+
},
|
| 41 |
+
"C3": {
|
| 42 |
+
"n": 50,
|
| 43 |
+
"not_in_current_triples": 0,
|
| 44 |
+
"examples": []
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"version": "phase01-v6",
|
| 48 |
+
"n_labelled": 100
|
| 49 |
+
}
|
| 50 |
+
}
|
report/measurements.md
CHANGED
|
@@ -524,3 +524,12 @@ Label-noise floors (correction 5; proxies, not the audit): share of negatives th
|
|
| 524 |
| C3 negatives | 0.00% | 0.05% | 0.40 | 31.4% | 6.9% |
|
| 525 |
| labelled positives | — | — | 0.28 | 5.1% | 0.2% |
|
| 526 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 524 |
| C3 negatives | 0.00% | 0.05% | 0.40 | 31.4% | 6.9% |
|
| 525 |
| labelled positives | — | — | 0.28 | 5.1% | 0.2% |
|
| 526 |
|
| 527 |
+
## False-negative audit (50 + 50, blind; SCOPE P2-9)
|
| 528 |
+
|
| 529 |
+
`python -m scripts.audit_sample score` — version `phase01-v6`. Share of mined negatives judged to be clones (functional equivalence). Headline counts `unsure` as not_clone; the upper bound counts it as clone.
|
| 530 |
+
|
| 531 |
+
| condition | n | clone | not_clone | unsure | FN rate [95% CI] | upper bound incl. unsure |
|
| 532 |
+
|---|---|---|---|---|---|---|
|
| 533 |
+
| C2 | 50 | 21 | 29 | 0 | **42%** [29%, 56%] | 42% [29%, 56%] |
|
| 534 |
+
| C3 | 50 | 15 | 34 | 1 | **30%** [19%, 44%] | 32% [21%, 46%] |
|
| 535 |
+
|
sync_manifest.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"version": "phase01-v6",
|
| 3 |
-
"synced_at_utc": "2026-09-27T16:
|
| 4 |
"staged_files": [
|
| 5 |
"artifacts/audit/audit_key.csv",
|
| 6 |
"artifacts/audit/audit_labels.csv",
|
| 7 |
"artifacts/audit/audit_pairs.md",
|
|
|
|
| 8 |
"artifacts/codexglue_data.jsonl",
|
| 9 |
"artifacts/corpus_emb.meta.json",
|
| 10 |
"artifacts/corpus_emb.npy",
|
|
@@ -20,7 +21,8 @@
|
|
| 20 |
"artifacts/token_lengths.json",
|
| 21 |
"artifacts/triples_C1.jsonl",
|
| 22 |
"artifacts/triples_C2.jsonl",
|
| 23 |
-
"artifacts/triples_C3.jsonl"
|
|
|
|
| 24 |
],
|
| 25 |
"excluded_patterns": [
|
| 26 |
"sprime/*",
|
|
|
|
| 1 |
{
|
| 2 |
"version": "phase01-v6",
|
| 3 |
+
"synced_at_utc": "2026-09-27T16:45:33Z",
|
| 4 |
"staged_files": [
|
| 5 |
"artifacts/audit/audit_key.csv",
|
| 6 |
"artifacts/audit/audit_labels.csv",
|
| 7 |
"artifacts/audit/audit_pairs.md",
|
| 8 |
+
"artifacts/audit/audit_result.json",
|
| 9 |
"artifacts/codexglue_data.jsonl",
|
| 10 |
"artifacts/corpus_emb.meta.json",
|
| 11 |
"artifacts/corpus_emb.npy",
|
|
|
|
| 21 |
"artifacts/token_lengths.json",
|
| 22 |
"artifacts/triples_C1.jsonl",
|
| 23 |
"artifacts/triples_C2.jsonl",
|
| 24 |
+
"artifacts/triples_C3.jsonl",
|
| 25 |
+
"report/measurements.md"
|
| 26 |
],
|
| 27 |
"excluded_patterns": [
|
| 28 |
"sprime/*",
|