• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MITLibraries / transmogrifier-ab-diff
96%
main: 86%

Build:
Build:
LAST BUILD BRANCH: IN-1240-pip-audit
DEFAULT BRANCH: main
Repo Added 23 Aug 2024 03:58PM UTC
Token 6r0TebNNILlIHkde5uhHj86oMcAlPbU1P regen
Build 210 Last
Files 17
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH TIMX-367-json-viewer-renderings
branch: TIMX-367-json-viewer-renderings
CHANGE BRANCH
x
Reset
Sync Branches
  • TIMX-367-json-viewer-renderings
  • IN-1240-pip-audit
  • TIMX-338-init-job
  • TIMX-339-scaffold-project
  • TIMX-340-build-ab-images
  • TIMX-341-run-ab-transforms
  • TIMX-344-update-job-and-run-structures
  • TIMX-345-cli-init-job
  • TIMX-348-flask-app-scaffold
  • TIMX-349-collate-ab-transforms
  • TIMX-350-351-358-346-combined
  • TIMX-350-calc-ab-diffs
  • TIMX-353-download-extract-files
  • TIMX-354-no-job-name-docker-image
  • TIMX-356-limit-parallel-containers
  • TIMX-368-improve-log-display
  • TIMX-369-core-status-checks
  • TIMX-371-dedupe-records
  • TIMX-372-zero-diff-metrics-bug
  • TIMX-373-improve-diff-calculating
  • TIMX-379-input-files-options-and-helpers
  • TIMX-380-365-add-util-parser-and-use-source-slug
  • TIMX-382-write-container-logs-as-run-completes
  • TIMX-383-pipeline-tweaks-large-runs
  • TIMX-385-records-preview
  • TIMX-387-tmog-output-filename-bug
  • TIMX-388-TIMX-389-missing-records-and-final-records
  • TIMX-401-expect-v2-datasets
  • WIP-TIMX-383
  • dependabot/pip/boto3-1.35.54
  • dependabot/pip/boto3-1.35.55
  • dependabot/pip/boto3-1.35.56
  • dependabot/pip/boto3-1.35.57
  • dependabot/pip/boto3-1.35.58
  • dependabot/pip/boto3-1.35.59
  • dependabot/pip/boto3-1.35.60
  • dependabot/pip/boto3-1.35.61
  • dependabot/pip/boto3-1.35.63
  • dependabot/pip/boto3-1.35.65
  • dependabot/pip/boto3-1.35.66
  • dependabot/pip/boto3-1.35.68
  • dependabot/pip/boto3-stubs-1.35.56
  • dependabot/pip/boto3-stubs-1.35.57
  • dependabot/pip/boto3-stubs-1.35.58
  • dependabot/pip/boto3-stubs-1.35.59
  • dependabot/pip/boto3-stubs-1.35.60
  • dependabot/pip/boto3-stubs-1.35.61
  • dependabot/pip/boto3-stubs-1.35.63
  • dependabot/pip/boto3-stubs-1.35.65
  • dependabot/pip/boto3-stubs-1.35.66
  • dependabot/pip/boto3-stubs-1.35.68
  • dependabot/pip/duckdb-1.1.3
  • dependabot/pip/ipython-8.27.0
  • dependabot/pip/ipython-8.28.0
  • dependabot/pip/ipython-8.29.0
  • dependabot/pip/mypy-1.13.0
  • dependabot/pip/pre-commit-4.0.0
  • dependabot/pip/pre-commit-4.0.1
  • dependabot/pip/pyarrow-stubs-17.10
  • dependabot/pip/pyarrow-stubs-17.11
  • dependabot/pip/pyarrow-stubs-17.8
  • dependabot/pip/pytest-8.3.3
  • dependabot/pip/ruff-0.6.3
  • dependabot/pip/ruff-0.6.4
  • dependabot/pip/ruff-0.6.5
  • dependabot/pip/ruff-0.6.6
  • dependabot/pip/ruff-0.6.7
  • dependabot/pip/ruff-0.6.8
  • dependabot/pip/ruff-0.6.9
  • dependabot/pip/ruff-0.7.1
  • dependabot/pip/ruff-0.7.2
  • dependabot/pip/ruff-0.7.3
  • dependabot/pip/ruff-0.7.4
  • dependabot/pip/ruff-0.8.0
  • dependabot/pip/setuptools-74.1.0
  • dependabot/pip/setuptools-74.1.1
  • dependabot/pip/setuptools-74.1.2
  • dependabot/pip/setuptools-75.1.0
  • dependabot/pip/setuptools-75.2.0
  • dependabot/pip/setuptools-75.4.0
  • dependabot/pip/setuptools-75.5.0
  • dependabot/pip/setuptools-75.6.0
  • dependabot/pip/werkzeug-3.0.6
  • main
  • v1.0

17 Oct 2024 02:56PM UTC coverage: 95.826%. Remained the same
11387569442

push

github

ghukill
Template JSON directly to javascript objects

Why these changes are being introduced:

We were running into some encoding / serialization issues
when passing JSON strings to the HTML via templating, and
then parsing for the JSON viewer.  Looks as though there
was some redundant and unneeded serialization + parsing.

When JSON strings are templated directly to javascript
as objects, the json.dumps() encoding is sufficient and safe.

How this addresses that need:
* custom loadJSONData now expects an object vs a JSON string
* all invocations of loadJSONData receive an object
directly from jinja templating

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-367

574 of 599 relevant lines covered (95.83%)

0.96 hits per line

Relevant lines Covered
Build:
Build:
599 RELEVANT LINES 574 COVERED LINES
0.96 HITS PER LINE
Source Files on TIMX-367-json-viewer-renderings
  • Tree
  • List 14
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
11387569442 TIMX-367-json-viewer-renderings Template JSON directly to javascript objects Why these changes are being introduced: We were running into some encoding / serialization issues when passing JSON strings to the HTML via templating, and then parsing for the JSON viewer. Looks as ... push 17 Oct 2024 02:58PM UTC ghukill github
95.83
11387287746 TIMX-367-json-viewer-renderings Double serialize record JSON for webapp viewer Why these changes are being introduced: We were running into some serialization / encoding issues when templating JSON strings into the webapp HTML pages, then parsing with JSON.parse. How this add... push 17 Oct 2024 02:42PM UTC ghukill github
95.83
See All Builds (210)

Badge your Repo: transmogrifier-ab-diff

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc