Datasets:
|
Download interfaces/genomespy/documents/code-complete-index.md from flekschas/mcp-web-experiments: direct link, hf CLI and curl.
- Browser
- Download file 8.32 kB
-
https://huggingface.co/datasets/flekschas/mcp-web-experiments/resolve/main/interfaces/genomespy/documents/code-complete-index.md
- Command line
-
hf download hf://datasets/flekschas/mcp-web-experiments/interfaces/genomespy/documents/code-complete-index.md
-
curl -L -o code-complete-index.md https://huggingface.co/datasets/flekschas/mcp-web-experiments/resolve/main/interfaces/genomespy/documents/code-complete-index.md
8.32 kB
| # GenomeSpy 0.88.1 submission contract | |
| Author one complete GenomeSpy 0.88.1 specification for the task. The host renders it in a fixed 900 × 620 CSS-pixel viewport with hg38 assembly metadata supplied by the host. | |
| Submit a complete JavaScript program with the `code` tool. The program returns the complete specification as plain object literals; it does not print it or return a patch. The TypeScript declarations in the appendix are reference only: write plain JavaScript, with no type annotations. Imports, files, and network access are disabled. | |
| Bind the task rows by name with `data: { name: "table" }`. The host replaces each such reference with exactly the rows shown in the task before validation. Do not copy the rows into the specification: inline data is rejected. Views may filter or reuse the same rows. | |
| The program may also read the same rows, for example to compute domains: | |
| ```typescript | |
| declare function getData(): Promise<Array<Record<string, unknown>>>; | |
| ``` | |
| The host accepts a submission only after JSON-Schema validation, native compilation, and a render without console, page, or network errors all succeed. A rejected call returns its stage and error. Repair it by submitting another complete program. | |
| Each attempt is retained for evaluation. The latest submission, not the last accepted one, controls the final outcome: a later invalid submission makes the final outcome invalid even when an earlier accepted chart is retained for audit. Stop after acceptance. | |
| --- | |
| # Mechanically generated role-balanced name index | |
| Every unique schema property name appears exactly once in the complete stub section, including underscore-prefixed/internal names. `*` means required in at least one occurrence. The letter is the property's dominant declaring-definition role for navigation only: C=channels, D=data, I=interaction, L=layout-style, R=root, S=scale, M=track-mark, T=transforms, V=view-composition. Lines are alphabetized within roles and interleaved by lexical role in chunks of 12. | |
| ## Complete property-name stubs | |
| C: band*, condition, datum, description, domainInert, empty, field*, param*, resolutionChannel, scale, test*, title | |
| D: addChrPrefix, attach, channel*, chrom*, columns*, debounce, debounceDomainChange, debounceMode, delimiter*, dynamicCallbackSource*, indexUrl, lazy* | |
| I: clear, filter, handler*, initial, measure, on, or*, select*, toggle | |
| L: anchor, arcFadingDistance, arcHeightFactor, arrow, axisBottom, axisIndex, axisLeft, axisLocus, axisNominal, axisOrdinal, axisQuantitative, axisRight | |
| R: $schema, angle, annotate, autocomplete, axes, axis, background, baseUrl, bind, chromGrid, chromGridCap, chromGridColor | |
| S: align, assembly, backgroundFill, backgroundFillOpacity, backgroundStroke, backgroundStrokeOpacity, backgroundStrokeWidth, base, bins, bottom-left, bottom-right, clamp | |
| M: buildIndex, clip, cullByVisibleRange, cursor, expr*, includePlotMargin, legend, minLength, strokeCap, strokeDash, strokeDashOffset, tooltip | |
| T: as*, asChrom, asEnd, asKey, asMidpoint, asStart, asValue*, baseField, cardinality, chromLabelSpacing, chromLabelWidth, cigar | |
| V: continuousHeight, continuousWidth, discreteHeight, discreteWidth, import*, shadowBlur, shadowColor, shadowOffsetX, shadowOffsetY, shadowOpacity, strokeZindex | |
| C: value* | |
| D: maxValues, onLoadError, parse, pixelsPerBin, pos*, property, template*, url*, urlsFromFile*, windowSize | |
| L: axisTop, axisX, axisY, baseline, bottom, clampApex, cornerRadius, cornerRadiusBottomLeft, cornerRadiusBottomRight, cornerRadiusTopLeft, cornerRadiusTopRight, disabled | |
| R: chromGridDash, chromGridDashOffset, chromGridFillEven, chromGridFillOdd, chromGridOpacity, chromGridWidth, chromLabelAlign, chromLabelColor, chromLabelFont, chromLabelFontSize, chromLabelFontStyle, chromLabelFontWeight | |
| S: constant, disable, diverging, domainMax, domainMid, domainMin, domainTransition, exponent, fade, gradientLength, gradientOpacity, gradientStrokeColor | |
| M: x2Offset, y2Offset | |
| T: columnPadding, columnRegex*, copyFields, count, dataType, default, element*, ellipsis, end*, exons, extent, fields* | |
| L: display, encodings, filled, fillGradientStrength, fitToBand, flushX, flushY, font, fontStyle, fontWeight, frame, geometricZoomBound | |
| R: chromLabelPadding, chromLabels, chromTickColor, chromTickDash, chromTickDashOffset, chromTicks, chromTickSize, chromTickWidth, color, concat*, config, contigs* | |
| S: gradientStrokeWidth, gradientThickness, heatmap, interpolate, interval*, layout, locus, max, metric, min, nice, nominal | |
| T: fontSize*, from*, gamma, groupby*, ignorePeers, index, key*, labelFlushZoomExtent*, labelOffset*, labelVisible*, labelWidth*, lane | |
| L: hatch, headAngle, headNotchAngle, headPlacement, headShape, headSpacing, headWidth, inwardStroke, left, legendTrack, link, linkShape | |
| R: data*, datasets, direction, domain, domainCap, domainColor, domainDash, domainDashOffset, domainWidth, dx, dy, encoding | |
| S: nominalColorScheme, numberingOffset, ordinal, ordinalColorScheme, padding, paddingInner, paddingOuter, quantitative, quantitativeColorScheme, ramp, range, reverse | |
| T: length*, limit, md, membership, ops*, pos2, positionFactor, preference, preferredOrder, quality, regex*, rowPadding | |
| L: logoLetters, mark*, maxChordLength, minArcHeight, minHeight, minOpacity, minPickingSize, minSize, minStemLength, minWidth, noFadingOnPointSelection, noFadingOnSecondPass | |
| R: epsilon, extraValues, facetIndex, fill, fillOpacity, for, format, genome, genomes, grid, gridCap, gridColor | |
| S: round, scheme, step*, symbolBaseFillColor, symbolBaseStrokeColor, symbolFillColor, symbolOpacity, symbolSize, symbolStrokeColor, symbolStrokeWidth, symbolType, titleLimit | |
| T: score*, set*, sizeMode, skipInvalidInput, skipRegex, sort, start*, stop*, symbolOffset, type*, weight, yExtent | |
| L: paddingX, paddingY, point, rect, reserve, right, rule, sampleFacetPadding, segments, semanticScore, semanticZoomFraction, snap | |
| R: gridDash, gridDashOffset, gridOpacity, gridWidth, grow, halfLife, hconcat*, height, input*, labelAlign*, labelAngle*, labelBaseline* | |
| S: titleOrient, top-left, top-right, wrap, zero, zoom | |
| L: squeeze, startNotch, stem, subtitle, subtitleColor, subtitleFont, subtitleFontSize, subtitleFontStyle, subtitleFontWeight, subtitlePadding, text*, thickness | |
| R: labelColor, labelFlush*, labelFlushOffset*, labelFont, labelFontSize*, labelFontStyle, labelFontWeight, labelLimit, labelOverlap*, labelPadding, labels, labelSeparation* | |
| L: tick, top, viewportEdgeFadeDistanceBottom, viewportEdgeFadeDistanceLeft, viewportEdgeFadeDistanceRight, viewportEdgeFadeDistanceTop, viewportEdgeFadeWidthBottom, viewportEdgeFadeWidthLeft, viewportEdgeFadeWidthRight, viewportEdgeFadeWidthTop | |
| R: layer*, legends, maxExtent, maxPx, minExtent, minPx, multiscale*, name*, offset, opacity, options*, order | |
| R: orient, overhang, params, persist, placeholder, placement, push, px, resolve, ruler*, sample, scales | |
| R: search, separator*, sequence*, shape, size*, source*, spacing, stops*, stroke, strokeOpacity, strokeWidth, style | |
| R: templates, theme, tickCap, tickColor, tickCount, tickDash, tickDashOffset, tickMinStep, ticks, tickSize, tickWidth, titleColor | |
| R: titleFit, titleFont, titleFontSize, titleFontStyle, titleFontWeight, titleOpacity, titlePadding, transform, transition*, uniqueId, unitsPerPixel*, values* | |
| R: vconcat*, view, viewportHeight, viewportWidth, visible, width*, x, x2, xOffset, y, y2, yOffset | |
| R: zindex | |
| ## Safe contextual contracts | |
| The remaining budget follows the frozen 5A role-balanced order over (role, property) aliases. A contract appears only when every occurrence for that alias is byte-identical and the shared renderer preserves it safely. Ambiguous, intersected, open-constant, or oversized details remain name-only above; aggregated literal observations are never presented as exhaustive domains. | |
| ## Encoding.angle | |
| Object role: `channels`; authored property: `angle`. | |
| Schema pointer: `#/definitions/Encoding/properties/angle` | |
| ```typescript | |
| type channels_angle = NumericMarkPropDef; | |
| ``` | |
| Rotation angle of point and text marks. | |
| ## VcfData.addChrPrefix | |
| Object role: `data`; authored property: `addChrPrefix`. | |
| Schema pointer: `#/definitions/VcfData/properties/addChrPrefix` | |
| ```typescript | |
| type data_addChrPrefix = boolean | string; | |
| ``` | |
| Add a `chr` (boolean) or custom (string) prefix to the chromosome names in the Tabix file. | |
| __Default value:__ `false` |