ConductScience Sequences
Contents

Installation guide · Run the service

Usage

The usage page, which counts each account's searches and other work by day.

With sign-in on, the people named in BIOSEQUENCE_ADMINS find Usage under their account button. The usage page, /admin, counts searches and other work (alignments, imports and portfolio exports) for each account and day over the last 7, 30 or 90 days. A day is the UTC date a job started. The page names each account as the user claim named it at its last sign-in, which the service keeps in accounts.json on the data volume. For anyone else, the page does not exist. On a server that runs under a license, the page starts with the license's plan and last day, and with its message when the end is near or new work has stopped. See The license file.

The page also adds up what searches used to run, as each search records it (see What each search uses): the CPU time in all, the CPU time and data read for each account, and for each day the CPU time, run time, peak memory and data read by account and by set. Over the tables it states the server's compute limits. Download CSV saves one row for each day, account and set, with the columns day, account, account_ref, set, searches, cpu_seconds, wall_seconds, peak_memory_bytes and bytes_read. A program gets the same file from GET /api/admin/usage.csv?days=30, with 1 to 90 days.

The usage page also lists every API token: whose it is, its name, when it was made, last used and expires, and whether it is active, expired or revoked, and by whom. An admin can revoke any token there, and the person who made it then reads "Revoked by an admin". Searches a program starts with a token count for the token's account, as any search does.

An admin can also download a file of the decisions in every case on the server, to measure how well the claim rules and model prompts work: GET /api/admin/decisions.csv, or GET /api/admin/decisions.json, which adds totals. Each row is a claim feature, a call to the claims model, a dropped suggestion, or a decision on a drafted sentence. A row gives the case ID, the account by the first 8 characters of its ID (the ref that GET /api/admin/usage gives), the claims rules version, the feature's kind, rule, source and status and whether it was edited, the model and the prompt's ID and SHA-256, and a drop reason in fixed words. The file holds no claim words, quotes, notes or edits, since claims pasted into a case can be from an application that is not yet published. A case's own decisions, with its words, download from the case's Report step. See The decisions file.

The page's Queue section lists every account's work that waits or runs, and the work of the last 7 days that ended without finishing: each job's kind and method, owner, state and place in line, size, set, the memory it books under the search memory budget, CPU time, and how long it waited and ran. It shows no titles, sequences or file names. An admin can cancel any job, run again a search that failed or was cut off by a stop, as a new search for its owner, and run again every such search of the last 7 days at once, up to 100. A search runs again once. Each change goes into the service's audit log as job.cancelled or job.run_again. A program with an admin's API token reads the queue at GET /api/admin/queue and cannot change it.

On a coordinator, the page ends with its workers. See The Servers section.

Admins can also export the service's audit log with every case's log. See Audit export for a SIEM.

Guide version 1.63.0 · For Sequences 0.155.0